diff options
| author | foobar <sniper@php.net> | 2002-04-12 22:59:07 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2002-04-12 22:59:07 +0000 |
| commit | f81166f34e104753121bc65a6448727692a70f6c (patch) | |
| tree | b6a89701cab6530553d45d3b495e889fc7d477a5 /sapi/apache | |
| parent | bf8bb929ac947e1fc2a2b15d057982f9f1501c8a (diff) | |
| download | php-git-f81166f34e104753121bc65a6448727692a70f6c.tar.gz | |
- Added checks to prevent building the DSO with wrong configure option.
Diffstat (limited to 'sapi/apache')
| -rw-r--r-- | sapi/apache/config.m4 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sapi/apache/config.m4 b/sapi/apache/config.m4 index 57f1236520..cd5dbebb45 100644 --- a/sapi/apache/config.m4 +++ b/sapi/apache/config.m4 @@ -55,6 +55,12 @@ AC_ARG_WITH(apxs, PHP_SELECT_SAPI(apache, shared, sapi_apache.c mod_php4.c php_apache.c) ;; esac + + # Test that we're trying to configure with apache 1.x + if test -f "$APXS_INCLUDEDIR/ap_mpm.h"; then + AC_MSG_ERROR([Use --with-apxs2 with Apache 2.x!]) + fi + PHP_ADD_INCLUDE($APXS_INCLUDEDIR) # Test whether apxs support -S option |
