be a bit more verbose about what is wrong
authorSascha Schumann <sas@php.net>
Fri, 26 Apr 2002 21:26:47 +0000 (21:26 +0000)
committerSascha Schumann <sas@php.net>
Fri, 26 Apr 2002 21:26:47 +0000 (21:26 +0000)
sapi/apache/config.m4
sapi/apache2filter/config.m4

index c38bd4940e97c16734057b38cb3168581a1fc0bf..cb56d9c24e2ee4a150a908deb78d33a273d6f459 100644 (file)
@@ -38,7 +38,7 @@ AC_ARG_WITH(apxs,
   # Test that we're trying to configure with apache 1.x
   APACHE_VERSION=`$APXS_HTTPD -v | head -1 | cut -f3 -d' ' | cut -f2 -d'/' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
   if test "$APACHE_VERSION" -ge 2000000; then
-    AC_MSG_ERROR([Use --with-apxs2 with Apache 2.x!]) 
+    AC_MSG_ERROR([You have enabled Apache 1.3 support while your server is Apache 2.  Please use the appropiate switch --with-apxs2]) 
   fi
 
   for flag in $APXS_CFLAGS; do
index 921b2ab8a481b1a91136b1fd9a75704ec4df9889..396f29186c8a2c7f73c00033f1299569f53bc616 100644 (file)
@@ -44,9 +44,9 @@ AC_ARG_WITH(apxs2,
   # Test that we're trying to configure with apache 2.x
   APACHE_VERSION=`$APXS_HTTPD -v | head -1 | cut -f3 -d' ' | cut -f2 -d'/' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
   if test "$APACHE_VERSION" -le 2000000; then
-    AC_MSG_ERROR([Use --with-apxs with Apache 1.3.x!])
+    AC_MSG_ERROR([You have enabled Apache 2 support while your server is Apache 1.3.  Please use the appropiate switch --with-apxs (without the 2)])
   elif test "$APACHE_VERSION" -lt 2000035; then
-    AC_MSG_ERROR([Apache version >= 2.0.35 required.])
+    AC_MSG_ERROR([Please note that Apache version >= 2.0.35 is required.])
   fi
 
   case $host_alias in