chiark / gitweb /
systemd-python: use python${PYTHON_VERSION}-config as python-config
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 1 Nov 2012 07:58:13 +0000 (08:58 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 13 Nov 2012 01:32:56 +0000 (02:32 +0100)
commit568c7e02372ff7b8eb41172ad7c3a426723512f8
treeb5b33c6d07f28a66c1d253845973c79c059d8045
parent0c0271841ab45595f71528c50bcf1904d4b841d5
systemd-python: use python${PYTHON_VERSION}-config as python-config

This is the usual setup, where pythonX.Y and pythonX.Y-config go
together. Using python-config with python3 will only lead to
confusion.

--libs is changed to --ldflags, since the latter also includes other
required flags like -L<dir>.

The tests for HAVE_PYTHON and HAVE_PYTHON_DEVEL are separated. It is
possible to have python development libraries installed without the
binary (or to want to build python modules without using python during
the build).

A line is added to the output, to show what flags will be used for
python.
configure.ac