mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
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:
parent
16e1cbee07
commit
5320c897f5
@ -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)
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user