From: Sascha Schumann Date: Fri, 26 Apr 2002 21:26:47 +0000 (+0000) Subject: be a bit more verbose about what is wrong X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~414 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=12ba44827aec2be63e25de142e9bda5c97b36cae;p=php be a bit more verbose about what is wrong --- diff --git a/sapi/apache/config.m4 b/sapi/apache/config.m4 index c38bd4940e..cb56d9c24e 100644 --- a/sapi/apache/config.m4 +++ b/sapi/apache/config.m4 @@ -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 diff --git a/sapi/apache2filter/config.m4 b/sapi/apache2filter/config.m4 index 921b2ab8a4..396f29186c 100644 --- a/sapi/apache2filter/config.m4 +++ b/sapi/apache2filter/config.m4 @@ -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