aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2006-06-16 02:04:04 +0000
committerPeter Palfrader <peter@palfrader.org>2006-06-16 02:04:04 +0000
commit4baeeae614233b6edf7d71890b9d6bdd608f1c77 (patch)
treeed16c65e04221ad2d4e9d05bc9886c1ea3cd4923 /configure.in
parent726021bb60083c66294ff1e446582bedfbdf6604 (diff)
downloadtor-4baeeae614233b6edf7d71890b9d6bdd608f1c77.tar
tor-4baeeae614233b6edf7d71890b9d6bdd608f1c77.tar.gz
Fix configure.in to not produce broken configure files with more recent
versions of autoconf. Thanks to Clint for his auto* voodoo. svn:r6632
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 967e4ed08..8f0f54361 100644
--- a/configure.in
+++ b/configure.in
@@ -584,16 +584,16 @@ fi
CONFDIR=`eval echo $sysconfdir/tor`
AC_SUBST(CONFDIR)
+AH_TEMPLATE([CONFDIR],[tor's configuration directory])
AC_DEFINE_UNQUOTED(CONFDIR,"$CONFDIR")
-AC_DEFINE([CONFDIR], [], [tor's configuration directory])
BINDIR=`eval echo $bindir`
AC_SUBST(BINDIR)
LOCALSTATEDIR=`eval echo $localstatedir`
AC_SUBST(LOCALSTATEDIR)
+AH_TEMPLATE([LOCALSTATEDIR], [Default location to store state files.])
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.