]>
Commit | Line | Data |
---|---|---|
112c3ff4 JB |
1 | --- php-4.3.8/sapi/apache2handler/config.m4.orig 2003-07-16 07:46:46.000000000 +0200 |
2 | +++ php-4.3.8/sapi/apache2handler/config.m4 2004-07-30 00:45:48.301382112 +0200 | |
3 | @@ -52,9 +52,9 @@ | |
4 | ||
5 | # Test that we're trying to configure with apache 2.x | |
6 | PHP_AP_EXTRACT_VERSION($APXS_HTTPD) | |
7 | - if test "$APACHE_VERSION" -le 2000000; then | |
8 | + if test "$APACHE_VERSION" -gt 0 -a "$APACHE_VERSION" -le 2000000; then | |
9 | 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)]) | |
10 | - elif test "$APACHE_VERSION" -lt 2000044; then | |
11 | + elif test "$APACHE_VERSION" -gt 0 -a "$APACHE_VERSION" -lt 2000044; then | |
12 | AC_MSG_ERROR([Please note that Apache version >= 2.0.44 is required.]) | |
13 | fi | |
14 |