Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-updates-src > by-pkgid > f02a219e763503fa4a8f188e63fd5e9a > files > 11

python-2.7.9-2.5.mga5.src.rpm

diff -Naurp Python-2.7.2/configure.ac Python-2.7.2.oden/configure.ac
--- Python-2.7.2/configure.ac	2012-06-19 11:47:59.000000000 +0000
+++ Python-2.7.2.oden/configure.ac	2012-06-19 11:48:40.000000000 +0000
@@ -2180,6 +2180,13 @@ else
 fi])
 AC_MSG_RESULT($with_dbmliborder)
 
+dnl Verify that XML_SetHashSalt is present in the expat library
+dnl We use AC_CHECK_LIB rather than AC_SEARCH_LIBS, and provide a non-empty
+dnl action-if-found to avoid -lexpat being added to LIBS= in the Makefile:
+AC_CHECK_LIB([expat], [XML_SetHashSalt],
+             [AC_MSG_RESULT(found)],
+             [AC_MSG_ERROR([XML_SetHashSalt not found])])
+
 # Determine if signalmodule should be used.
 AC_SUBST(USE_SIGNAL_MODULE)
 AC_SUBST(SIGNAL_OBJS)