pkgsrc-ng/textproc/yaml-cpp/patches/patch-test_gmock-1.7.0_configure
2016-11-18 22:39:22 +01:00

25 lines
842 B
Plaintext

$NetBSD: patch-test_gmock-1.7.0_configure,v 1.1 2016/09/19 09:52:21 fhajny Exp $
Portability.
--- test/gmock-1.7.0/configure.orig 2016-01-10 18:11:40.000000000 +0000
+++ test/gmock-1.7.0/configure
@@ -15591,7 +15591,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
have_pthreads="$acx_pthread_ok"
fi
- if test "x$have_pthreads" == "xyes"; then
+ if test "x$have_pthreads" = "xyes"; then
HAVE_PTHREADS_TRUE=
HAVE_PTHREADS_FALSE='#'
else
@@ -15621,7 +15621,7 @@ else
enable_external_gtest=yes
fi
-if test "x$with_gtest" == "xno"; then :
+if test "x$with_gtest" = "xno"; then :
as_fn_error $? "Support for GoogleTest was explicitly disabled. Currently GoogleMock has a hard
dependency upon GoogleTest to build, please provide a version, or allow
GoogleMock to use any installed version and fall back upon its internal