summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-28 23:44:53 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-28 23:44:53 +0000
commitf09d53bbf1ceeb71a028943037190336b69bb3c6 (patch)
tree852f36a6589a6ce89d8c0aa163e53687912e6b00 /configure.in
parent20b108598993ecc2ec420288ebf9b995b519f9db (diff)
downloadtor-f09d53bbf1ceeb71a028943037190336b69bb3c6.tar.gz
tor-f09d53bbf1ceeb71a028943037190336b69bb3c6.zip
r16246@catbus: nickm | 2007-10-28 19:34:58 -0400
Implement a FallbackNetworkstatusFile (default to $prefix/share/tor/fallback-consensus) to that we know about lots of directory servers and routers when we start up the first time. svn:r12259
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index dbeb756ce9..08adf087df 100644
--- a/configure.in
+++ b/configure.in
@@ -619,6 +619,12 @@ AC_SUBST(LOCALSTATEDIR)
AH_TEMPLATE([LOCALSTATEDIR], [Default location to store state files.])
AC_DEFINE_UNQUOTED(LOCALSTATEDIR,"$LOCALSTATEDIR")
+dnl Note: this is not the same as Tor's "DataDir" config option.
+DATADIR=`eval echo $datadir`
+AC_SUBST(DATADIR)
+AH_TEMPLATE([DATADIR], [Default location for platform-independent read-only data.])
+AC_DEFINE_UNQUOTED(DATADIR,"$DATADIR")
+
# Set CFLAGS _after_ all the above checks, since our warnings are stricter
# than autoconf's macros like.
if test $ac_cv_c_compiler_gnu = yes; then