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

https://bugzilla.gnome.org/show_bug.cgi?id=711600
This commit is contained in:
Patrick Welche 2013-11-07 10:58:46 +00:00 committed by Colin Walters
parent 87e6db8deb
commit 838b49ead7

View File

@ -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