summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorAdam Lopez <alopez@inf.ed.ac.uk>2009-12-05 15:57:34 +0000
committerAdam Lopez <alopez@inf.ed.ac.uk>2009-12-05 15:57:34 +0000
commit8abcb4ee980ffc51baca079e2247c13eda96790f (patch)
tree2be45eb1ccf5527d5bacb2ee9177f0917b1e1649 /m4
parent8780a924a060ced3468b71a088409d5ef83fc985 (diff)
Hacked configure to avoid gtest dependence on libtool
Diffstat (limited to 'm4')
-rw-r--r--m4/gtest.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/gtest.m4 b/m4/gtest.m4
index ebb488a8..b015ddeb 100644
--- a/m4/gtest.m4
+++ b/m4/gtest.m4
@@ -45,7 +45,7 @@ AS_IF([test "x$enable_gtest" != "xno"],
[GTEST_CPPFLAGS=$($GTEST_CONFIG --cppflags)
GTEST_CXXFLAGS=$($GTEST_CONFIG --cxxflags)
GTEST_LDFLAGS=$($GTEST_CONFIG --ldflags)
- GTEST_LIBS=$($GTEST_CONFIG --libs)
+ GTEST_LIBS=$($GTEST_CONFIG --libs | sed 's/la/a/')
GTEST_VERSION=$($GTEST_CONFIG --version)
AC_DEFINE([HAVE_GTEST],[1],[Defined when Google Test is available.])],
[AS_IF([test "x$enable_gtest" = "xyes"],