[json-glib] configure: test(1) uses = to test for string equality



commit d82de8274ac1aa03138078f40f99ea1cc8ef3cd0
Author: Patrick Welche <prlw1 cam ac uk>
Date:   Fri Mar 13 11:07:54 2015 +0000

    configure: test(1) uses = to test for string equality
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711600
    https://bugzilla.gnome.org/show_bug.cgi?id=746143

 build/autotools/glibtests.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/build/autotools/glibtests.m4 b/build/autotools/glibtests.m4
index 27e9024..7d5920a 100644
--- a/build/autotools/glibtests.m4
+++ b/build/autotools/glibtests.m4
@@ -21,7 +21,7 @@ AC_DEFUN([GLIB_TESTS],
                   *) AC_MSG_ERROR([bad value ${enableval} for --enable-always-build-tests]) ;;
                  esac])
   AM_CONDITIONAL([ENABLE_ALWAYS_BUILD_TESTS], test "$ENABLE_ALWAYS_BUILD_TESTS" = "1")
-  if test "$ENABLE_INSTALLED_TESTS" == "1"; then
+  if test "$ENABLE_INSTALLED_TESTS" = "1"; then
     AC_SUBST(installed_test_metadir, [${datadir}/installed-tests/]AC_PACKAGE_NAME)
     AC_SUBST(installed_testdir, [${libexecdir}/installed-tests/]AC_PACKAGE_NAME)
   fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]