]> git.pld-linux.org Git - packages/apache-mod_suphp.git/blob - apache-mod_suphp-apache_version.patch
update to 0.7.2
[packages/apache-mod_suphp.git] / apache-mod_suphp-apache_version.patch
1 diff -uNr suphp-0.7.1.old/configure.ac suphp-0.7.1/configure.ac
2 --- suphp-0.7.1.old/configure.ac        2009-03-14 18:58:11.000000000 +0100
3 +++ suphp-0.7.1/configure.ac    2013-04-12 19:04:01.484478525 +0200
4 @@ -59,14 +59,15 @@
5  
6  if test -n "$APXS"; then
7      AC_SUBST(APXS)
8 -    
9 +    if test -z "$APACHE_VERSION"; then
10      APACHE_VERSION=`\`$APXS -q SBINDIR\`/\`$APXS -q TARGET\` -v \
11                      | grep "Server version" \
12                      | cut -f2 -d":" \
13                      | cut -f2 -d"/" \
14                      | cut -f1 -d" "`
15 +    fi
16      major_version=`echo $APACHE_VERSION|cut -f1,2 -d.`
17 -    if test "$major_version" = "2.0" -o "$major_version" = "2.2"; then
18 +    if test "$major_version" = "2.0" -o "$major_version" = "2.2" -o "$major_version" = "2.4"; then
19        APACHE_VERSION_2=true
20        APACHE_VERSION_1_3=false
21      else
This page took 0.078906 seconds and 3 git commands to generate.