aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-02-27 09:08:18 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-02-27 09:08:18 +0100
commit5499fd420054c981acd24610a16ea9d45dea0bdb (patch)
tree681851e0f9764091e61326834eaf58fa2e7706a4 /configure.ac
parentf78661f84d8c0d7912b31a1b19c2a0cd4f85d061 (diff)
downloadPROJ-5499fd420054c981acd24610a16ea9d45dea0bdb.tar.gz
PROJ-5499fd420054c981acd24610a16ea9d45dea0bdb.zip
configure.ac: replace '==' by '=' to avoid Bashism (patch by Greg Troxel)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 1135b4a4..d0aecf75 100644
--- a/configure.ac
+++ b/configure.ac
@@ -326,7 +326,7 @@ AC_ARG_WITH(external-gtest,
AS_HELP_STRING([--with-external-gtest],
[Whether to use external Google Test]),,)
-if test "x$with_external_gtest" == "xyes" ; then
+if test "x$with_external_gtest" = "xyes" ; then
AC_MSG_RESULT([using external GTest.])
PKG_CHECK_MODULES([GTEST], [gtest >= 1.8.0])
else
@@ -334,7 +334,7 @@ else
GTEST_CFLAGS="-I\$(top_srcdir)/test/googletest/include"
GTEST_LIBS="\$(top_builddir)/test/googletest/libgtest.la"
fi
-AM_CONDITIONAL(USE_EXTERNAL_GTEST, [test "x$with_external_gtest" == "xyes"])
+AM_CONDITIONAL(USE_EXTERNAL_GTEST, [test "x$with_external_gtest" = "xyes"])
AC_SUBST(GTEST_CFLAGS,$GTEST_CFLAGS)
AC_SUBST(GTEST_LIBS,$GTEST_LIBS)