From 90f0d9952c5bcd96b63995d580f92ff1fb89c284 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Mon, 4 May 2015 15:00:48 -0700 Subject: [PATCH] Set gmock_root to gmock_src_path if the latter is detected. Otherwise configure thinks gmock isn't installed. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 493e94af2c..f9ffa16b40 100644 --- a/configure.ac +++ b/configure.ac @@ -879,8 +879,9 @@ if test x$enable_google_test = xyes; then elif test "x$ac_cv_file__usr_src_gmock_gmock_all_cc" = xyes; then ac_cv_gmock_src_path="/usr/src/gmock" else - ac_cv_gmock_root="" + ac_cv_gmock_src_path="" fi + ac_cv_gmock_root="$ac_cv_gmock_src_path" else ac_cv_gmock_root="" fi