From 5499fd420054c981acd24610a16ea9d45dea0bdb Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 27 Feb 2019 09:08:18 +0100 Subject: configure.ac: replace '==' by '=' to avoid Bashism (patch by Greg Troxel) --- configure.ac | 4 ++-- 1 file 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) -- cgit v1.2.3 From 58fc8bb041bc804342eae09a5c3139069e182f19 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 27 Feb 2019 10:25:22 +0100 Subject: data/Makefile.am: remove trailing whitespace to suppress autogen.sh warning --- data/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/Makefile.am b/data/Makefile.am index 7594fd8d..98f3557a 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -72,7 +72,7 @@ proj.db: $(DATAPATH)/sql/*.sql fi; \ echo "" | head -c1; \ if [ $$? -eq 0 ] ; then \ - echo "Running foreign_key_check"; \ + echo "Running foreign_key_check"; \ if [[ $$(echo "pragma foreign_key_check;" | sqlite3 proj.db | head -c1 | wc -c) -ne 0 ]]; then \ echo "Foreign key check failed"; \ $(RM) proj.db; \ -- cgit v1.2.3