diff options
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 6fadc21df4..d7cc05c098 100644 --- a/configure.ac +++ b/configure.ac @@ -1879,7 +1879,7 @@ AH_TEMPLATE([BUILDDIR],[tor's build directory]) AC_DEFINE_UNQUOTED(BUILDDIR,"$BUILDDIR") if test "x$SRCDIR" = "x"; then - SRCDIR=`pwd` + SRCDIR=$(cd "$srcdir"; pwd) fi AH_TEMPLATE([SRCDIR],[tor's sourcedir directory]) AC_DEFINE_UNQUOTED(SRCDIR,"$SRCDIR") |