php: make sure either CLI or CGI is selected
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 9 May 2010 14:19:08 +0000 (16:19 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 9 May 2010 21:25:06 +0000 (23:25 +0200)
commitfcdc9f891d28af2c81fc3f74d4054895b8f228ae
treee83b773ddf0da9de32e348e38c53854881e73f99
parentaf850ce10fc490036247a8c0dd92c79f18b2281a
php: make sure either CLI or CGI is selected

When neither CLI nor CGI is selected, PHP's configure script fails
with:

checking whether to build CGI binary... configure: error: No SAPIs selected.

Of couse, the help text of the options says that at least one of them
should be selected, but when doing testing with randpackageconfig,
noone is reading these help texts.

Therefore, based on the suggestion of Yann E. Morin, modify the
Config.in organization so that at least one of the option is selected.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/php/Config.in