summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
author <shinichiro.hamaji@gmail.com>2010-05-28 03:56:29 +0000
committer <shinichiro.hamaji@gmail.com>2010-05-28 03:56:29 +0000
commit1f8dac87fc254001a688c0dad7b294380cbc34cf (patch)
treeaaf785968f03607337849fff1cfc789cf4c3550e /configure.ac
parentf31f51085c0bc0e4f61880d6032128afc31b1199 (diff)
downloadglog-1f8dac87fc254001a688c0dad7b294380cbc34cf.tar.gz
glog-1f8dac87fc254001a688c0dad7b294380cbc34cf.tar.bz2
glog-1f8dac87fc254001a688c0dad7b294380cbc34cf.zip
Move TEST_SRC_DIR from googletest.h to config.h.
Now test passes out side tree. git-svn-id: https://google-glog.googlecode.com/svn/trunk@85 eb4d4688-79bd-11dd-afb4-1d65580434c0
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 13a2681..fd3a123 100644
--- a/configure.ac
+++ b/configure.ac
@@ -176,6 +176,8 @@ AC_CXX_USING_OPERATOR
AC_PC_FROM_UCONTEXT(AC_MSG_WARN(Could not find the PC. Will not output failed addresses...))
+AC_DEFINE_UNQUOTED(TEST_SRC_DIR, "$srcdir", [location of source code])
+
# These are what's needed by logging.h.in and raw_logging.h.in
AC_SUBST(ac_google_start_namespace)
AC_SUBST(ac_google_end_namespace)