[xml] libxml2-2.6.11 -- detection of Python in configure


I just noticed a peculiarity in the way configure detects the presence of
Python (pyhon2.3 is installed under /usr/local):

with "configure" I get
        checking for python... /usr/local/bin/python
        Found Python version 2.3
        could not find python2.3/Python.h
whereas with "configure --prefix=/usr/local" python2.3/Python.h is found in
/usr/local/include and consequently the python bindings are built and
installed (not that I really need them).

Why this different behaviour when prefix defaults to /usr/local or is
explicitly specified as such?

Peter Breitenlohner <peb mppmu mpg de>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]