Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-updates-src > by-pkgid > 0424a5e18ab1fcfe75d9b326135c0a7f > files > 12

python-2.7.15-1.3.mga6.src.rpm

commit 3bc16df00bf4aeb679b55124bae47fa7f4a2603e
Author: philippem <philippem@mageia.org>
Date:   Mon Jul 4 16:04:57 2016 +0200

    check-for-XML_SetHashSalt

diff --git a/configure.ac b/configure.ac
index 7aa7cf2..9a1d59b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2556,6 +2556,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)