]>
Commit | Line | Data |
---|---|---|
8b342dff ŁK |
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 | ||
e047e771 ER |
6 | if test -n "$APXS"; then |
7 | AC_SUBST(APXS) | |
8b342dff ŁK |
8 | - |
9 | + if test -z "$APACHE_VERSION"; then | |
e047e771 ER |
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" "` | |
8b342dff | 15 | + fi |
e047e771 | 16 | major_version=`echo $APACHE_VERSION|cut -f1,2 -d.` |
8b342dff ŁK |
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 | |
e047e771 | 19 | APACHE_VERSION_2=true |
8b342dff ŁK |
20 | APACHE_VERSION_1_3=false |
21 | else |