pidgin: 6e31dbb9: Make Python compile check look a little ...

qulogic at pidgin.im qulogic at pidgin.im
Wed Mar 10 00:25:54 EST 2010


-----------------------------------------------------------------
Revision: 6e31dbb93d77f7fe079712d2320b785ce0260f67
Ancestor: 707318cf7fd3669b778c217764745f4249300fbb
Author: qulogic at pidgin.im
Date: 2010-03-08T05:11:06
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/6e31dbb93d77f7fe079712d2320b785ce0260f67

Modified files:
        configure.ac

ChangeLog: 

Make Python compile check look a little nicer.

-------------- next part --------------
============================================================
--- configure.ac	d1b2d4a32d69c2df4d23a37aa546b2c8321d9e14
+++ configure.ac	4aed2e4b3820217886380caea17fa458a56ae216
@@ -1476,12 +1476,15 @@ if test "_$pythonpath" != _ ; then
 	PY_MAJOR=`$pythonpath -c 'import sys ; print sys.version[0:2]'`
 	changequote([, ])dnl
 	if test -f $PY_PREFIX/include/python$PY_VERSION/Python.h -a "$PY_MAJOR" = "2."; then
+		AC_MSG_RESULT()
 		AC_CHECK_LIB(pthread, pthread_create, )
 		AC_CHECK_LIB(util, openpty, )
 		AC_CHECK_LIB(db, dbopen, )
 		PY_LIBS="-L$PY_EXEC_PREFIX/lib/python$PY_VERSION/config -lpython$PY_VERSION"
 		PY_CFLAGS="-I$PY_PREFIX/include/python$PY_VERSION"
 		AC_DEFINE(USE_PYTHON, [1], [Define if python headers are available.])
+		dnl Because the above AC_CHECK_LIB get in the way...
+		AC_MSG_CHECKING(for Python compile flags)
 		AC_MSG_RESULT(ok)
 	else
 		AC_MSG_RESULT([Can't find Python.h])


More information about the Commits mailing list