Blob Blame History Raw
--- configure.ac.orig	2016-03-20 15:09:28.000000000 -0600
+++ configure.ac	2016-04-04 09:38:54.877195924 -0600
@@ -54,7 +54,7 @@ AS_IF([test "$with_gtest" = "download"],
     fi
   ])],
   [test "$with_gtest" = "yes"], [
-    AC_CHECK_FILE([$GTEST_PATH/src/gtest-all.cc], [], [
+    AC_CHECK_FILE([$GTEST_PATH/include/gtest/gtest.h], [], [
       AC_MSG_ERROR([could not find gtest source at path $GTEST_PATH.])
     ])
   ],
@@ -62,7 +62,7 @@ AS_IF([test "$with_gtest" = "download"],
   [AC_MSG_ERROR([invalid value $with_gtest for with_gtest.])]
 )
 AS_IF([test "$with_gtest" = "yes"],
-  [CPPFLAGS="-I$GTEST_PATH/include -I$GTEST_PATH $CPPFLAGS"]);
+  [CPPFLAGS="-I$GTEST_PATH/include/gtest -I$GTEST_PATH $CPPFLAGS"]);
 AM_CONDITIONAL(with_gtest, test "$with_gtest" = "yes")
 
 DEPS_CFLAGS="$MEMTAILOR_CFLAGS $GTEST_CFLAGS"
--- src/test/gtestInclude.cpp.orig	2016-03-20 15:09:28.000000000 -0600
+++ src/test/gtestInclude.cpp	2016-04-04 09:40:32.501325088 -0600
@@ -7,4 +7,4 @@
 
 // the .. goes back from the include/ directory of gtest so we can
 // enter the src directory.
-#include "src/gtest-all.cc"
+#include <gtest/gtest.h>