summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-03-15 15:21:34 +0100
committerNick Mathewson <nickm@torproject.org>2018-03-15 15:21:34 +0100
commitbecae4c943969a4f4f14423cc897d39f41af7773 (patch)
treec408b6afe4e310daaf78aa4df9b6a7538a41caa9 /configure.ac
parent1debe575638411e5f50ab1a9e2a2f8f7579cfc39 (diff)
downloadtor-becae4c943969a4f4f14423cc897d39f41af7773.tar.gz
tor-becae4c943969a4f4f14423cc897d39f41af7773.zip
Add a test for geoip_load_file().
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0b9733cdb9..53024abe39 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1885,6 +1885,12 @@ AC_SUBST(BUILDDIR)
AH_TEMPLATE([BUILDDIR],[tor's build directory])
AC_DEFINE_UNQUOTED(BUILDDIR,"$BUILDDIR")
+if test "x$SRCDIR" = "x"; then
+ SRCDIR=`pwd`
+fi
+AH_TEMPLATE([SRCDIR],[tor's sourcedir directory])
+AC_DEFINE_UNQUOTED(SRCDIR,"$SRCDIR")
+
if test "x$CONFDIR" = "x"; then
CONFDIR=`eval echo $sysconfdir/tor`
fi