Automatically add the SAPI target's Makefile to the list. This

frees us from doing this in each config.m4.
This commit is contained in:
Sascha Schumann 1999-09-30 12:56:24 +00:00
parent 16e1cbee07
commit 5320c897f5
2 changed files with 1 additions and 6 deletions

View File

@ -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)

View File

@ -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