From 1b7a806bb621dc2f6c46296a1b12804284b146d6 Mon Sep 17 00:00:00 2001 From: Kamil Rytarowski Date: Sat, 6 Aug 2016 11:19:31 +0200 Subject: [PATCH] Fix unportable shell construct (fixes NetBSD) --- googlemock/configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/googlemock/configure.ac b/googlemock/configure.ac index d268d5d..53b1405 100644 --- a/googlemock/configure.ac +++ b/googlemock/configure.ac @@ -52,7 +52,7 @@ AS_IF([test "x$with_pthreads" != "xno"], [AC_MSG_FAILURE( [--with-pthreads was specified, but unable to be used])])]) have_pthreads="$acx_pthread_ok"]) -AM_CONDITIONAL([HAVE_PTHREADS],[test "x$have_pthreads" == "xyes"]) +AM_CONDITIONAL([HAVE_PTHREADS],[test "x$have_pthreads" = "xyes"]) AC_SUBST(PTHREAD_CFLAGS) AC_SUBST(PTHREAD_LIBS) @@ -76,7 +76,7 @@ AC_ARG_ENABLE([external-gtest], installed or user provided gtest. Any option to '--with-gtest' is ignored. (Default is enabled.)]) ], [], [enable_external_gtest=yes]) -AS_IF([test "x$with_gtest" == "xno"], +AS_IF([test "x$with_gtest" = "xno"], [AC_MSG_ERROR([dnl Support for GoogleTest was explicitly disabled. Currently GoogleMock has a hard dependency upon GoogleTest to build, please provide a version, or allow