]>
Commit | Line | Data |
---|---|---|
cd11838c MM |
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 @@ | |
e047e771 ER |
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.` | |
cd11838c | 15 | if test "$major_version" = "2.0" -o "$major_version" = "2.2"; then |
e047e771 | 16 | APACHE_VERSION_2=true |