summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure b/configure
index 3cbeaf3..c44c8b6 100755
--- a/configure
+++ b/configure
@@ -735,7 +735,6 @@ HGBRANCH
HGTAG
HGVERSION
BASECPPFLAGS
-BUILDDIR
target_alias
host_alias
build_alias
@@ -2747,10 +2746,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
-BUILDDIR="`pwd`"
-
-if test "$srcdir" != "." -a "$srcdir" != "$BUILDDIR"; then
+if test "$abs_srcdir" != "$abs_builddir"; then
# If we're building out-of-tree, we need to make sure the following
# resources get picked up before their $srcdir counterparts.
# Objects/ -> typeslots.inc