aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2024-01-16 08:58:33 +0000
committerIngo Klöcker <[email protected]>2024-01-16 08:58:33 +0000
commitcc1f2b5acb8484edf0a722dcccac435687576a44 (patch)
treec3866cf4c15f0667e96b633ad5b80b37633dfd28 /m4
parentbuild: Update Python autoconf macro (diff)
downloadgpgme-cc1f2b5acb8484edf0a722dcccac435687576a44.tar.gz
gpgme-cc1f2b5acb8484edf0a722dcccac435687576a44.zip
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.
Diffstat (limited to 'm4')
-rw-r--r--m4/ax_python_devel.m47
1 files changed, 5 insertions, 2 deletions
diff --git a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4
index 1f480db6..8116028a 100644
--- a/m4/ax_python_devel.m4
+++ b/m4/ax_python_devel.m4
@@ -274,8 +274,11 @@ EOD`
fi
# 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:
ac_python_libdir=`cat<<EOD | $PYTHON -