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



commit 838b49ead77c35d94fa16d48a6d7271bab082a71
Author: Patrick Welche <prlw1 cam ac uk>
Date:   Thu Nov 7 10:58:46 2013 +0000

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

 m4macros/glibtests.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/m4macros/glibtests.m4 b/m4macros/glibtests.m4
index 27e9024..7d5920a 100644
--- a/m4macros/glibtests.m4
+++ b/m4macros/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]