summaryrefslogtreecommitdiff
path: root/m4/am-check-python-headers.m4
Commit message (Collapse)AuthorAgeFilesLines
* Try ${PYTHON}-config before searching PATHSimon McVittie2015-12-051-4/+15
| | | | | This is helpful for Debian's special debug-build interpreters such as python3.4-dbg, each with an accompanying python3.4-dbg-config.
* Find `python-config` from PATH properlyYamashita, Yuu2015-12-041-2/+7
| | | | | Expecting `python-config` at the same directory as `python` executable would not be suitable if user is using virtualenv.
* Make AM_CHECK_PYTHON_HEADERS compatible with Python 3 in the absence of ↵Simon McVittie2012-05-021-2/+2
| | | | python3-config
* Let the user set PYTHON_INCLUDES on the configure command lineSimon McVittie2011-05-241-13/+19
| | | | | | This might be useful for cross-compilation or other strange setups. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=21017
* Re-fix checking for Python include paths. Use $PYTHON-config like in 0.82.1 ↵Simon McVittie2007-07-311-8/+19
| | | | if we can, use the hard-coded logic from versions prior to 0.82.0 if we can't.
* Revert "Use python-config to get Python cppflags (patch from Ubuntu, fd.o ↵Simon McVittie2007-07-311-1/+4
| | | | | | | | | | | #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.
* Use python-config to get Python cppflags (patch from Ubuntu, fd.o #11282).Simon McVittie2007-06-191-4/+1
| | | | Thanks to Sebastien Bacher.
* Refactor build system:Simon McVittie2007-04-241-0/+24
* Use autoreconf to simplify autogen.sh considerably * Use AC_CONFIG_MACRO_DIR and aclocal -I to pick up macros from m4/ * Drop acinclude.m4 in favour of putting our macros in m4/