build: Re-add still needed custom changes to Python autoconf macro
* m4/ax_python_devel.m4: Do not emit 'HAVE_PYTHON'.
--
This reapplies the changes made with 5189c08
that are still needed for
detecting multiple Python versions.
This commit is contained in:
parent
e3ae88267f
commit
cc1f2b5acb
@ -274,8 +274,11 @@ EOD`
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Make the versioning information available to the compiler
|
# Make the versioning information available to the compiler
|
||||||
AC_DEFINE_UNQUOTED([HAVE_PYTHON], ["$ac_python_version"],
|
|
||||||
[If available, contains the Python version number currently in use.])
|
# JW: We don't need it and it interferes with the hack
|
||||||
|
# to detect multiple Python versions
|
||||||
|
#AC_DEFINE_UNQUOTED([HAVE_PYTHON], ["$ac_python_version"],
|
||||||
|
# [If available, contains the Python version number currently in use.])
|
||||||
|
|
||||||
# First, the library directory:
|
# First, the library directory:
|
||||||
ac_python_libdir=`cat<<EOD | $PYTHON -
|
ac_python_libdir=`cat<<EOD | $PYTHON -
|
||||||
|
Loading…
Reference in New Issue
Block a user