]> git.pld-linux.org Git - packages/apache-mod_suphp.git/blob - apache-mod_suphp-apache_version.patch
- updated to 0.7.0
[packages/apache-mod_suphp.git] / apache-mod_suphp-apache_version.patch
1 --- x/configure.ac~     2006-11-19 13:52:30.000000000 +0000
2 +++ x/configure.ac      2007-09-17 14:38:43.000000000 +0000
3 @@ -60,11 +60,13 @@
4  if test -n "$APXS"; then
5      AC_SUBST(APXS)
6      
7 +       if test -z "$APACHE_VERSION"; then
8      APACHE_VERSION=`\`$APXS -q SBINDIR\`/\`$APXS -q TARGET\` -v \
9                      | grep "Server version" \
10                      | cut -f2 -d":" \
11                      | cut -f2 -d"/" \
12                      | cut -f1 -d" "`
13 +       fi
14      major_version=`echo $APACHE_VERSION|cut -f1,2 -d.`
15      if test "$major_version" = "2.0" -o "$major_version" = "2.2"; then
16        APACHE_VERSION_2=true
This page took 0.059533 seconds and 3 git commands to generate.