AC_CHECK_LIB(python${PyVERSION}, Py_NewInterpreter,
[ PyPYTHONLIBS="-lpython${PyVERSION}" ],
[ LDFLAGS="$save_LDFLAGS"
+@@ -267,10 +267,7 @@
+ AC_MSG_CHECKING(linker flags used to link Python)
+ AC_SUBST(LDFLAGS)
+ PyLFS=`grep "^LINKFORSHARED=" ${PyLIBPL}/Makefile | cut -f2 -d= | tr '\011\012\015' ' '`
+-PyLDFLAGS=`grep "^LDFLAGS=" ${PyLIBPL}/Makefile | cut -f2 -d= | tr '\011\012\015' ' '`
+-LDFLAGS="${LDFLAGS} ${PyLFS} ${PyLDFLAGS}"
+-LDFLAGS="${LDFLAGS} ${PY_LDFLAGS}"
+-AC_MSG_RESULT($PY_LDFLAGS)
++LDFLAGS="${LDFLAGS} ${PyLFS}"
+
+ AC_MSG_CHECKING(where Python include files are)
+ AC_SUBST(INCLUDES)
Summary(sv.UTF-8): En inbyggd Python-interpretator för webbservern Apache
Name: apache-mod_%{mod_name}
Version: 3.3.1
-Release: 17
+Release: 18
License: Apache
Group: Networking/Daemons/HTTP
Source0: http://www.apache.org/dist/httpd/modpython/mod_%{mod_name}-%{version}.tgz