Files
pkgsrc-ng/net/synergy/patches/patch-tools_gmock-1.6.0_configure
2016-01-21 23:40:00 +01:00

25 lines
850 B
Plaintext

$NetBSD: patch-tools_gmock-1.6.0_configure,v 1.2 2015/02/03 18:49:34 tnn Exp $
Fix wrong usage of test(1).
--- ext/gmock-1.6.0/configure.orig 2011-05-07 02:25:30.000000000 +0000
+++ ext/gmock-1.6.0/configure
@@ -14896,7 +14896,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
@@ -14926,7 +14926,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