summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-05-03 00:37:25 +0000
committerNick Mathewson <nickm@torproject.org>2005-05-03 00:37:25 +0000
commit86e73d7005d6217d5a2eb4e656e81c54182b019d (patch)
tree24aa23b8609638d9471110c9c9448146d841a595
parent4666b801faf3e19f8919fab091f9881a516033a3 (diff)
downloadtor-86e73d7005d6217d5a2eb4e656e81c54182b019d.tar.gz
tor-86e73d7005d6217d5a2eb4e656e81c54182b019d.zip
Define LOCALSTATEDIR in orconfig.h
svn:r4171
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 543b334630..97893c364d 100644
--- a/configure.in
+++ b/configure.in
@@ -329,6 +329,8 @@ AC_SUBST(BINDIR)
LOCALSTATEDIR=`eval echo $localstatedir`
AC_SUBST(LOCALSTATEDIR)
+AC_DEFINE_UNQUOTED(LOCALSTATEDIR,"$LOCALSTATEDIR")
+AC_DEFINE([LOCALSTATEDIR], [], [Default location to store state files.])
# Set CFLAGS _after_ all the above checks, since our warnings are stricter
# than autoconf's macros like.