Use pkg-config for Python

At least libpython2.7-dev and libpython3.3-dev on current
Debian/unstable ship with pkg-config files. As with the pkg-config
check for Lua, we check for versioned and an unversioned .pc files.
This commit is contained in:
Hilko Bengen
2013-05-16 22:13:50 +02:00
committed by Richard W.M. Jones
parent 7865f82537
commit e5f0dfb6e3
2 changed files with 21 additions and 16 deletions

View File

@@ -43,7 +43,7 @@ libguestfsmod_la_SOURCES = guestfs-py.c guestfs-py.h guestfs-py-byhand.c
libguestfsmod_la_CPPFLAGS = \
-DGUESTFS_PRIVATE=1 \
-I$(PYTHON_INCLUDEDIR) \
$(PYTHON_CFLAGS) \
-I$(top_srcdir)/src -I$(top_builddir)/src
libguestfsmod_la_CFLAGS = \