mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 05:03:43 +01:00
Define SRCDIR more correctly in configure.ac
Without this fix, we were just getting SRCDIR=`pwd`, which naturally was breaking out-of-tree builds. Bugfix on becae4c943969a4f4f14423cc897d39f41af7773; bug not in any released Tor.
This commit is contained in:
parent
bb9012c818
commit
398bef2592
@ -1879,7 +1879,7 @@ AH_TEMPLATE([BUILDDIR],[tor's build directory])
|
|||||||
AC_DEFINE_UNQUOTED(BUILDDIR,"$BUILDDIR")
|
AC_DEFINE_UNQUOTED(BUILDDIR,"$BUILDDIR")
|
||||||
|
|
||||||
if test "x$SRCDIR" = "x"; then
|
if test "x$SRCDIR" = "x"; then
|
||||||
SRCDIR=`pwd`
|
SRCDIR=$(cd "$srcdir"; pwd)
|
||||||
fi
|
fi
|
||||||
AH_TEMPLATE([SRCDIR],[tor's sourcedir directory])
|
AH_TEMPLATE([SRCDIR],[tor's sourcedir directory])
|
||||||
AC_DEFINE_UNQUOTED(SRCDIR,"$SRCDIR")
|
AC_DEFINE_UNQUOTED(SRCDIR,"$SRCDIR")
|
||||||
|
Loading…
Reference in New Issue
Block a user