Revert "Use python-config to get Python cppflags (patch from Ubuntu, fd.o #11282)."
commita7b73b44ca3b86a0ccf0a58e2c1fdee205633657
authorSimon McVittie <smcv@carbon.pseudorandom.co.uk>
Tue, 31 Jul 2007 16:40:20 +0000 (31 17:40 +0100)
committerSimon McVittie <smcv@carbon.pseudorandom.co.uk>
Tue, 31 Jul 2007 16:40:20 +0000 (31 17:40 +0100)
tree21fca94de3a0a1c47d9b8596d1013da0e4987bb2
parent66ebaa801a13be7403e6ec47de1f322ccf310346
Revert "Use python-config to get Python cppflags (patch from Ubuntu, fd.o #11282)."

Python < 2.5 didn't have python-config (although some distributions, e.g.
Debian and Ubuntu, shipped it as an add-on). Even for 2.5, some distributions
install it under gratuitously different names (hi, Gentoo). As a result,
this patch needs replacing with one that doesn't rely on having python-config.

This reverts commit 7c9d08d1ba7f5b0a9aa4a37118e56b1725cdaef9.
m4/am-check-python-headers.m4