diff options
| -rw-r--r-- | configure.in | 5 | ||||
| -rw-r--r-- | sapi/apache/config.m4 | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/configure.in b/configure.in index 9f4883bf39..c2a97df581 100644 --- a/configure.in +++ b/configure.in @@ -706,10 +706,7 @@ AC_SUBST(EXTRA_LIBS) # reading config stubs esyscmd(./scripts/config-stubs ext) -dnl if it's still the default choice, enable this implicitly -if test "$PHP_SAPI" = "cgi"; then - PHP_OUTPUT(sapi/cgi/Makefile) -fi +PHP_OUTPUT(sapi/$PHP_SAPI/Makefile) divert(4) diff --git a/sapi/apache/config.m4 b/sapi/apache/config.m4 index 4265f7f35c..2a1e66298c 100644 --- a/sapi/apache/config.m4 +++ b/sapi/apache/config.m4 @@ -29,7 +29,6 @@ AC_ARG_WITH(apxs, AC_DEFINE(HAVE_AP_CONFIG_H) AC_DEFINE(HAVE_AP_COMPAT_H) AC_MSG_RESULT(yes) - PHP_OUTPUT(sapi/apache/Makefile) ],[ AC_MSG_RESULT(no) ]) @@ -49,7 +48,6 @@ AC_ARG_WITH(apache, fi if test "$withval" != "no"; then APACHE_MODULE=yes - PHP_OUTPUT(sapi/apache/Makefile) AC_EXPAND_PATH($withval, withval) # For Apache 1.2.x if test -f $withval/src/httpd.h; then |
