]> granicus.if.org Git - php/commitdiff
now this works (thanks Rasmus)
authorGeorge Schlossnagle <gschlossnagle@php.net>
Tue, 19 Nov 2002 01:20:42 +0000 (01:20 +0000)
committerGeorge Schlossnagle <gschlossnagle@php.net>
Tue, 19 Nov 2002 01:20:42 +0000 (01:20 +0000)
Note:  the correct line is --with-apache-hooks

sapi/apache_hooks/config.m4

index f127613ed5c3ab8a6cd6df741d7829dc717c5dbc..d0f329cd4b8277f98cb1a59e4ea9fb21fcd04e8f 100644 (file)
@@ -3,8 +3,8 @@ dnl $Id$
 dnl
 
 AC_MSG_CHECKING(for Apache 1.x module support via DSO through APXS)
-AC_ARG_WITH(apache_hooks,
-[  --with-apache_hooks[=FILE]      Build shared Apache 1.x module. FILE is the optional
+AC_ARG_WITH(apache-hooks,
+[  --with-apache-hooks[=FILE]      Build shared Apache 1.x module. FILE is the optional
                           pathname to the Apache apxs tool; defaults to "apxs".],[
   if test "$withval" = "yes"; then
     APXS=apxs
@@ -14,6 +14,7 @@ AC_ARG_WITH(apache_hooks,
       APXS=/usr/sbin/apxs
     fi
   else
+    AC_DEFINE(APACHE_HOOKS,1,[ ])
     PHP_EXPAND_PATH($withval, APXS)
   fi
 
@@ -89,8 +90,9 @@ APACHE_INSTALL_FILES="\$(srcdir)/sapi/apache_hooks/mod_php4.* sapi/apache_hooks/
 if test "$PHP_SAPI" != "apache_hooks"; then
 AC_MSG_CHECKING(for Apache 1.x module support)
 AC_ARG_WITH(apache,
-[  --with-apache_hooks_static[=DIR]     Build Apache 1.x module. DIR is the top-level Apache
+[  --with-apache_hooks-static[=DIR]     Build Apache 1.x module. DIR is the top-level Apache
                           build directory, defaults to /usr/local/apache.],[
+   AC_DEFINE(APACHE_HOOKS,1,[ ])
   if test "$withval" = "yes"; then
     # Apache's default directory
     withval=/usr/local/apache