]> git.pld-linux.org Git - packages/apache-mod_suphp.git/commitdiff
- allow build without httpd binary auto/ac/apache-mod_suphp-0_6_0-3
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 22 Dec 2005 00:53:11 +0000 (00:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- match also apache 2.2 as apache2 series

Changed files:
    apache-mod_suphp-apache_version.patch -> 1.1

apache-mod_suphp-apache_version.patch [new file with mode: 0644]

diff --git a/apache-mod_suphp-apache_version.patch b/apache-mod_suphp-apache_version.patch
new file mode 100644 (file)
index 0000000..a9eff6d
--- /dev/null
@@ -0,0 +1,19 @@
+--- suphp-0.6.0/configure.ac~  2005-12-22 02:37:52.000000000 +0200
++++ suphp-0.6.0/configure.ac   2005-12-22 02:37:54.000000000 +0200
+@@ -56,13 +56,15 @@
+ if test -n "$APXS"; then
+     AC_SUBST(APXS)
+     
++      if test -z "$APACHE_VERSION"; then
+     APACHE_VERSION=`\`$APXS -q SBINDIR\`/\`$APXS -q TARGET\` -v \
+                     | grep "Server version" \
+                     | cut -f2 -d":" \
+                     | cut -f2 -d"/" \
+                     | cut -f1 -d" "`
++      fi
+     major_version=`echo $APACHE_VERSION|cut -f1,2 -d.`
+-    if test "$major_version" = "2.0"; then
++    if test "$major_version" = "2.0" || test "$major_version" = "2.2"; then
+       APACHE_VERSION_2=true
+       APACHE_VERSION_1_3=false
+     else
This page took 0.047804 seconds and 4 git commands to generate.