Issue #15819: use standard autoconf preset output variables.

Reported by: Roumen Petrov
This commit is contained in:
Trent Nelson 2012-10-17 04:32:49 -04:00
parent eadca1defa
commit abf205149c
3 changed files with 4 additions and 8 deletions

View file

@ -854,10 +854,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 make sure Include (in the current dir)
# gets picked up before its $srcdir counterpart in order for Python-ast.h
# and graminit.h to get picked up from the correct directory.