Lines 1-6
Link Here
|
1 |
--- configure.ac.orig 2016-02-02 11:35:23 UTC |
1 |
--- configure.ac.orig 2016-10-14 17:11:57 UTC |
2 |
+++ configure.ac |
2 |
+++ configure.ac |
3 |
@@ -83,9 +83,7 @@ AC_CHECK_HEADER([gtest/gtest.h],, [missi |
3 |
@@ -84,9 +84,7 @@ AC_CHECK_HEADER([gtest/gtest.h],, [missi |
4 |
AS_VAR_APPEND([CPPFLAGS], [" -I$GMOCK_DIR/include"]) |
4 |
AS_VAR_APPEND([CPPFLAGS], [" -I$GMOCK_DIR/include"]) |
5 |
AC_CHECK_HEADER([gmock/gmock.h],, [missing_gmock=1]) |
5 |
AC_CHECK_HEADER([gmock/gmock.h],, [missing_gmock=1]) |
6 |
AS_VAR_APPEND([CPPFLAGS], [" -I$GTEST_DIR"]) |
6 |
AS_VAR_APPEND([CPPFLAGS], [" -I$GTEST_DIR"]) |
Lines 10-25
Link Here
|
10 |
CPPFLAGS="$saved_CPPFLAGS" |
10 |
CPPFLAGS="$saved_CPPFLAGS" |
11 |
AS_IF([test -n "$missing_gtest"], |
11 |
AS_IF([test -n "$missing_gtest"], |
12 |
[AC_MSG_ERROR([could not find a working Google Test])]) |
12 |
[AC_MSG_ERROR([could not find a working Google Test])]) |
13 |
@@ -105,7 +103,7 @@ AC_SEARCH_LIBS([clock_gettime], [rt],,, |
13 |
@@ -106,7 +104,7 @@ AC_SEARCH_LIBS([clock_gettime], [rt],,, |
14 |
|
14 |
|
15 |
AC_MSG_CHECKING([checking for gflags library]) |
15 |
AC_MSG_CHECKING([checking for gflags library]) |
16 |
LIBS="-lgflags $LIBS" |
16 |
LIBS="-lgflags $LIBS" |
17 |
-AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <gflags/gflags.h>], [google::ParseCommandLineFlags(NULL, NULL, true)])], [have_gflags=yes], [have_gflags=no]) |
17 |
-AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <gflags/gflags.h>]], [[google::ParseCommandLineFlags(NULL, NULL, true)]])], [have_gflags=yes], [have_gflags=no]) |
18 |
+AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <gflags/gflags.h>], [gflags::ParseCommandLineFlags(NULL, NULL, true)])], [have_gflags=yes], [have_gflags=no]) |
18 |
+AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <gflags/gflags.h>]], [[gflags::ParseCommandLineFlags(NULL, NULL, true)]])], [have_gflags=yes], [have_gflags=no]) |
19 |
AC_MSG_RESULT([$have_gflags]) |
19 |
AC_MSG_RESULT([$have_gflags]) |
20 |
AS_IF([test "x$have_gflags" = "xno"], |
20 |
AS_IF([test "x$have_gflags" = "xno"], |
21 |
[AC_MSG_ERROR([gflags library could not be found])]) |
21 |
[AC_MSG_ERROR([gflags library could not be found])]) |
22 |
@@ -117,6 +115,9 @@ AC_MSG_RESULT([$have_glog]) |
22 |
@@ -118,6 +116,9 @@ AC_MSG_RESULT([$have_glog]) |
23 |
AS_IF([test "x$have_glog" = "xno"], |
23 |
AS_IF([test "x$have_glog" = "xno"], |
24 |
[AC_MSG_ERROR([glog library could not be found])]) |
24 |
[AC_MSG_ERROR([glog library could not be found])]) |
25 |
|
25 |
|