]> git.pld-linux.org Git - packages/apache-mod_suphp.git/blob - apache-mod_suphp-apache_version.patch
- allow build without httpd binary
[packages/apache-mod_suphp.git] / apache-mod_suphp-apache_version.patch
1 --- suphp-0.6.0/configure.ac~   2005-12-22 02:37:52.000000000 +0200
2 +++ suphp-0.6.0/configure.ac    2005-12-22 02:37:54.000000000 +0200
3 @@ -56,13 +56,15 @@
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"; then
16 +    if test "$major_version" = "2.0" || test "$major_version" = "2.2"; then
17        APACHE_VERSION_2=true
18        APACHE_VERSION_1_3=false
19      else
This page took 0.049618 seconds and 3 git commands to generate.