summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-11-04 20:49:02 +0000
committerNick Mathewson <nickm@torproject.org>2007-11-04 20:49:02 +0000
commit446c3513939f6257b2f880154e209861260f4e55 (patch)
tree30f267d5ff4f8a71299624423ff2bb9fb62d26a1 /configure.in
parent735498cb27b7defbdce3ade21378417534395189 (diff)
downloadtor-446c3513939f6257b2f880154e209861260f4e55.tar.gz
tor-446c3513939f6257b2f880154e209861260f4e55.zip
r14702@tombo: nickm | 2007-11-04 15:48:56 -0500
Define SHARE_DATADIR, LOCALSTATEDIR, and BINDIR in Makefile.am as autoconf recommends. Do not move CONFDIR yet, since we seem to support overriding it in a weird way. Resolves bug 542. svn:r12376
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in15
1 files changed, 0 insertions, 15 deletions
diff --git a/configure.in b/configure.in
index b465ad5bef..13ac3429da 100644
--- a/configure.in
+++ b/configure.in
@@ -617,21 +617,6 @@ AC_SUBST(CONFDIR)
AH_TEMPLATE([CONFDIR],[tor's configuration directory])
AC_DEFINE_UNQUOTED(CONFDIR,"$CONFDIR")
-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")
-
-dnl Note: this is not the same as Tor's "DataDir" config option.
-dnl We'd call it 'DATADIR', except that's a symbol in MinGW's objidl.h.
-SHARE_DATADIR=`eval echo $datadir`
-AC_SUBST(SHARE_DATADIR)
-AH_TEMPLATE([SHARE_DATADIR], [Default location for platform-independent read-only data.])
-AC_DEFINE_UNQUOTED(SHARE_DATADIR,"$SHARE_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