summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--gphoto-m4/gp-byteorder.m42
-rw-r--r--libgphoto2_port/configure.ac4
-rw-r--r--libgphoto2_port/gphoto-m4/gp-byteorder.m42
4 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 0b15d0762..ac0f69f32 100644
--- a/configure.ac
+++ b/configure.ac
@@ -205,7 +205,7 @@ dnl AC_CHECK_FUNC(gettext, gettext_without_libintl=true)
# if gettext() doesn't require linking against libintl,
# we don't have to check for gettext in libintl. Otherwise
# we may even require libintl.
-dnl if test "$gettext_without_libintl" != "true" -a "$USE_NLS" = "yes"; then
+dnl if test "x$gettext_without_libintl" != xtrue && test "x$USE_NLS" = xyes; then
dnl AC_CHECK_LIB([intl], [gettext], [INTLLIBS="$INTLLIBS -lintl"])
dnl fi
diff --git a/gphoto-m4/gp-byteorder.m4 b/gphoto-m4/gp-byteorder.m4
index 2f2ce0be4..95d7435bf 100644
--- a/gphoto-m4/gp-byteorder.m4
+++ b/gphoto-m4/gp-byteorder.m4
@@ -40,7 +40,7 @@ fi
# We're only interested in the target CPU, but it's not always set
effective_target="$target"
-if test "x$effective_target" = xNONE -o "x$effective_target" = x ; then
+if test "x$effective_target" = xNONE || test "x$effective_target" = x ; then
effective_target="$host"
fi
AC_SUBST(effective_target)
diff --git a/libgphoto2_port/configure.ac b/libgphoto2_port/configure.ac
index aacdd47e7..af698723a 100644
--- a/libgphoto2_port/configure.ac
+++ b/libgphoto2_port/configure.ac
@@ -137,7 +137,7 @@ AC_CHECK_FUNC(gettext, gettext_without_libintl=true)
# we don't have to check for gettext in libintl. Otherwise
# we may even require libintl.
dnl AC_CHECK_LIB(intl, gettext, [LIBS="$LIBS -lintl"])
-if test "$gettext_without_libintl" != "true" -a "$USE_NLS" = "yes"; then
+if test "x$gettext_without_libintl" != xtrue && test "x$USE_NLS" = xyes; then
AC_CHECK_LIB(intl, gettext, [INTLLIBS="$INTLLIBS -lintl"])
fi
@@ -425,7 +425,7 @@ GP_CHECK_LIBRARY([LIBUSB],[libusb],[>= 0.1.5],
[http://libusb.sourceforge.net/]
)
dnl depends on libusb's availability
-GP_UDEV([test "x$have_LIBUSB" = xyes -o "x$have_LIBUSB1" = xyes])
+GP_UDEV([test "x$have_LIBUSB" = xyes || test "x$have_LIBUSB1" = xyes])
AC_ARG_ENABLE([disk],
diff --git a/libgphoto2_port/gphoto-m4/gp-byteorder.m4 b/libgphoto2_port/gphoto-m4/gp-byteorder.m4
index 2f2ce0be4..95d7435bf 100644
--- a/libgphoto2_port/gphoto-m4/gp-byteorder.m4
+++ b/libgphoto2_port/gphoto-m4/gp-byteorder.m4
@@ -40,7 +40,7 @@ fi
# We're only interested in the target CPU, but it's not always set
effective_target="$target"
-if test "x$effective_target" = xNONE -o "x$effective_target" = x ; then
+if test "x$effective_target" = xNONE || test "x$effective_target" = x ; then
effective_target="$host"
fi
AC_SUBST(effective_target)