On Thu, May 20, 2010 at 4:04 PM, Doug Evans wrote: > Hi. > > Building with a private copy of python, or even the system copy, > sometimes requires linking with extra libraries. > These libraries are listed with `python-config --ldflags'. > [or --libs, but --ldflags also includes any needed -L's] > > I will check this in in a few days if there are no objections. > > 2010-05-20  Doug Evans   > >        * configure.ac: Try to use python-config to get python include and lib >        parameters. >        * configure: Regenerate. python-config is a python script so it won't work when build != host. 2010-05-20 Doug Evans * configure.ac: For non-canadian-cross builds (build == host), try to use python-config to get python include and lib parameters. * configure: Regenerate. Tested with build=host=target=amd64-linux [with/without python] build=host=amd64-linux target=arm-eabi [with/without python] build=amd64-linux host=i386-linux target=arm-eabi [without python]