diff options
| author | Jani Taskinen <jani@php.net> | 2010-11-19 08:26:47 +0000 |
|---|---|---|
| committer | Jani Taskinen <jani@php.net> | 2010-11-19 08:26:47 +0000 |
| commit | caf792940ff1d5f072f3bd8060ee4b33ce2167f8 (patch) | |
| tree | 9c42601b218d171fbec2fa59a238030750593341 /acinclude.m4 | |
| parent | 64f21f63add836acf13c3787d59940944b7610fd (diff) | |
| download | php-git-caf792940ff1d5f072f3bd8060ee4b33ce2167f8.tar.gz | |
- Merged check from trunk to prevent building multiple SAPIs (bug #52419)
Diffstat (limited to 'acinclude.m4')
| -rw-r--r-- | acinclude.m4 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index a94dd6c23b..2e8ebb7ccc 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -878,6 +878,17 @@ dnl and optionally also the source-files for the SAPI-specific dnl objects. dnl AC_DEFUN([PHP_SELECT_SAPI],[ + if test "$PHP_SAPI" != "default"; then +AC_MSG_ERROR([ ++--------------------------------------------------------------------+ +| *** ATTENTION *** | +| | +| You've configured multiple SAPIs to be build. You can build only | +| one SAPI module and CLI binary at the same time. | ++--------------------------------------------------------------------+ +]) + fi + PHP_SAPI=$1 case "$2" in |
