Hi. With php-4.3.0-dev from CVS I allways get:
checking for Apache 2.0 module support via DSO through APXS... ./configure: line 3107: syntax error near unexpected token `$APXS_HTTPD' ./configure: line 3107: ` PHP_AP_EXTRACT_VERSION($APXS_HTTPD)' The attached patch reverts back to a state where this worked as in the older php versions. Thanks. -- Regards // Oden Eriksson Deserve-IT Networks -> http://d-srv.com
--- configure 2002-07-24 10:44:20.000000000 +0200 +++ configure.oden 2002-07-24 10:47:31.000000000 +0200 @@ -3104,7 +3104,7 @@ done # Test that we're trying to configure with apache 2.x - PHP_AP_EXTRACT_VERSION($APXS_HTTPD) + APACHE_VERSION=`$APXS_HTTPD -v | head -1 | awk 'BEGIN { RS=" "; } /Apache/ { print $1; }' | cut -f2 -d'/' | cut -f1 -d'-' | awk 'BEGIN { FS ="."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` if test "$APACHE_VERSION" -le 2000000; then { echo "configure: error: You have enabled Apache 2 support while your server is Apache 1.3. Please use the appropiate switch --with-apxs (without the 2)" 1>&2; exit 1; } elif test "$APACHE_VERSION" -lt 2000040; then
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php