diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2009-01-08 09:37:46 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2009-01-08 09:37:46 +0000 |
commit | 5c7eed5a48870bcd4435c00d168beb146dd41835 (patch) | |
tree | bf76b8c996f613768d79aefe25772431bc34e810 /patches/mod_python-3.3.1/generic/configure.in-apache-version.diff | |
parent | 66cb2ab08c0400b0a78eef82a5057fce9d5c8923 (diff) | |
download | ptxdist-5c7eed5a48870bcd4435c00d168beb146dd41835.tar.gz ptxdist-5c7eed5a48870bcd4435c00d168beb146dd41835.tar.xz |
* mod_python: add compile fix to build on 64 bit machines for 32
bit targets. While being there, update to a newer version of
mod_python.
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9451 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'patches/mod_python-3.3.1/generic/configure.in-apache-version.diff')
-rw-r--r-- | patches/mod_python-3.3.1/generic/configure.in-apache-version.diff | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/patches/mod_python-3.3.1/generic/configure.in-apache-version.diff b/patches/mod_python-3.3.1/generic/configure.in-apache-version.diff new file mode 100644 index 000000000..3fe95f1e4 --- /dev/null +++ b/patches/mod_python-3.3.1/generic/configure.in-apache-version.diff @@ -0,0 +1,27 @@ +--- + configure.in | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +Index: mod_python-3.3.1/configure.in +=================================================================== +--- mod_python-3.3.1.orig/configure.in ++++ mod_python-3.3.1/configure.in +@@ -108,6 +108,7 @@ else + + # check Apache version + AC_MSG_CHECKING(Apache version) ++ if test "x$cross_compiling" = "xno"; then + HTTPD="`${APXS} -q SBINDIR`/`${APXS} -q TARGET`" + ver=`$HTTPD -v | awk '/version/ {print $3}' | awk -F/ '{print $2}'` + AC_MSG_RESULT($ver) +@@ -126,7 +127,9 @@ else + AC_MSG_CHECKING([for Apache include directory]) + AP_INCLUDES="-I`${APXS} -q INCLUDEDIR`" + AC_MSG_RESULT($AP_INCLUDES) +- ++ else ++ AC_MSG_RESULT([cross_compiling, assuming recent new version...]) ++ fi + dnl Small hack to work around _eprintf.o problem on Solaris + if test "`uname`" = "SunOS"; then + AC_MSG_CHECKING([for gcc on Solaris possible missing _eprintf problem]) |