| @@ -1,15 +1,16 @@ | | | @@ -1,15 +1,16 @@ |
1 | $NetBSD: patch-gtest_configure,v 1.1 2013/03/17 14:50:14 wiz Exp $ | | 1 | $NetBSD: patch-gtest_configure,v 1.2 2013/03/17 14:54:36 wiz Exp $ |
2 | | | 2 | |
3 | Fix unportable test(1) construct. | | 3 | Fix unportable test(1) construct. |
| | | 4 | http://code.google.com/p/protobuf/issues/detail?id=483 |
4 | | | 5 | |
5 | --- gtest/configure.orig 2013-03-17 14:48:21.000000000 +0000 | | 6 | --- gtest/configure.orig 2013-03-17 14:48:21.000000000 +0000 |
6 | +++ gtest/configure | | 7 | +++ gtest/configure |
7 | @@ -15556,7 +15556,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | | 8 | @@ -15556,7 +15556,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
8 | | | 9 | |
9 | have_pthreads="$acx_pthread_ok" | | 10 | have_pthreads="$acx_pthread_ok" |
10 | fi | | 11 | fi |
11 | - if test "x$have_pthreads" == "xyes"; then | | 12 | - if test "x$have_pthreads" == "xyes"; then |
12 | + if test "x$have_pthreads" = "xyes"; then | | 13 | + if test "x$have_pthreads" = "xyes"; then |
13 | HAVE_PTHREADS_TRUE= | | 14 | HAVE_PTHREADS_TRUE= |
14 | HAVE_PTHREADS_FALSE='#' | | 15 | HAVE_PTHREADS_FALSE='#' |
15 | else | | 16 | else |