Commit 739fc541 authored by Trent Nelson's avatar Trent Nelson

Issue #15819: use standard autoconf preset output variables.

Reported by: Roumen Petrov
parent 3ed2cb55
......@@ -27,7 +27,8 @@ MODLIBS= _MODLIBS_
VERSION= @VERSION@
srcdir= @srcdir@
VPATH= @srcdir@
BUILDDIR= @BUILDDIR@
abs_srcdir= @abs_srcdir@
abs_builddir= @abs_builddir@
CC= @CC@
......
......@@ -652,7 +652,6 @@ HGBRANCH
HGTAG
HGVERSION
BASECPPFLAGS
BUILDDIR
SVNVERSION
ARFLAGS
AR
......@@ -5207,10 +5206,8 @@ else
SVNVERSION="echo Unversioned directory"
fi
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
......
......@@ -830,10 +830,8 @@ else
SVNVERSION="echo Unversioned directory"
fi
BUILDDIR="`pwd`"
AC_SUBST(BUILDDIR)
AC_SUBST(BASECPPFLAGS)
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment