]> granicus.if.org Git - php/commitdiff
Oops, extra pipe snuck in
authorRasmus Lerdorf <rasmus@php.net>
Sat, 29 Jun 2002 00:12:46 +0000 (00:12 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Sat, 29 Jun 2002 00:12:46 +0000 (00:12 +0000)
sapi/apache/config.m4

index 999d5d091d32696017f398b3fe4743d4ee00c1a6..200ace1f06e77d86ffea8a598410fffd1ab62bf6 100644 (file)
@@ -37,7 +37,7 @@ AC_ARG_WITH(apxs,
 
   # Test that we're trying to configure with apache 1.x
 dnl  APACHE_VERSION=`$APXS_HTTPD -v | head -1 | cut -f3 -d' ' | cut -f2 -d'/' | cut -f1 -d'-' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
-  APACHE_VERSION=`$APXS_HTTPD -v | head -1 | awk 'BEGIN { RS=" "; } /Apache/ { print $0; }' | cut -f2 -d'/' | cut -f1 -d'-' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
+  APACHE_VERSION=`$APXS_HTTPD -v | head -1 | awk 'BEGIN { RS=" "; } /Apache/ { print $0; }' | cut -f2 -d'/' | cut -f1 -d'-' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
   if test "$APACHE_VERSION" -ge 2000000; then
     AC_MSG_ERROR([You have enabled Apache 1.3 support while your server is Apache 2.  Please use the appropiate switch --with-apxs2]) 
   fi