Fix recent commit of moving python to pkg-config.

This commit is contained in:
Alexey Sokolov
2011-03-31 20:27:23 +07:00
parent b8043c3aac
commit 63250c2b47
+1 -1
View File
@@ -333,7 +333,7 @@ if test "x$PYTHON" != "xno"; then
fi
PKG_CHECK_MODULES([python], [$PYTHON >= 3.0],, AC_MSG_ERROR([$PYTHON.pc not found or is wrong. Try --disable-python or install python3.]))
my_saved_LIBS="$LIBS"
my_saved_CXXFLAGS="CXXFLAGS"
my_saved_CXXFLAGS="$CXXFLAGS"
appendLib $python_LIBS
appendCXX $python_CFLAGS
AC_CHECK_FUNC([Py_Initialize], [], [PYTHON="no"])