configure: Do comparisons in a portable way with = instead of ==

https://bugzilla.gnome.org/show_bug.cgi?id=740953
This commit is contained in:
Thomas Klausner 2014-12-01 09:48:41 +01:00 committed by Sebastian Dröge
parent df66909129
commit 655e6926bf

View file

@ -1750,9 +1750,9 @@ AG_GST_CHECK_FEATURE(UVCH264, [UVC H264], uvch264, [
AC_DEFINE([HAVE_LIBUSB], 1, [Define if libusb 1.x is installed])
HAVE_LIBUSB="yes" ],
[HAVE_LIBUSB="no"])
if test "x$HAVE_UVCVIDEO_H" == "xyes" && \
test "x$HAVE_GUDEV" == "xyes" && \
test "x$HAVE_LIBUSB" == "xyes"; then
if test "x$HAVE_UVCVIDEO_H" = "xyes" && \
test "x$HAVE_GUDEV" = "xyes" && \
test "x$HAVE_LIBUSB" = "xyes"; then
HAVE_UVCH264=yes
else
HAVE_UVCH264=no