summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.