AC_SUBST(CAMEL_PKGCONFIG)
-AC_CHECK_PROG(PYTHON_CFLAGS, [python-config], `python-config --cflags`, [-I/c/Python26/include])
-AC_CHECK_PROG(PYTHON_LIBS, [python-config], `python-config --libs`, [-lpthread -lm -L/c/Python26/libs -lpython26])
+PKG_CHECK_MODULES(PYTHON, [python])
AC_SUBST(PYTHON_CFLAGS)
AC_SUBST(PYTHON_LIBS)
Name: @PACKAGE_NAME@
Description: Classe con funzioni varie di utilità - Supporto per l'interfacciamento a OpenOffice.org.
Version: @PACKAGE_VERSION@
-Requires: libsolipa
+Requires: libsolipa python
Libs: -L${libdir} -lsolipaooo
Cflags: -I${includedir}