php: rework selection of interfaces
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 12 Sep 2016 21:31:07 +0000 (23:31 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 24 Oct 2016 12:46:43 +0000 (14:46 +0200)
commitc457213fbca5f3493544c8a4335b623620458b0c
treea944f656c24c78737d8637b2d48ccc2c0fe1b773
parent8740f321fcd2b245e3585b319e2a87aa361656cd
php: rework selection of interfaces

Following suggestion of Yann Morin, rework selection of php
interfaces: use booleans instead of choice to be able to select
multiple interfaces as they are not exclusive. We make sure at least
one of the options is selected.

It should be noted that previously CGI and FPM could not be selected
at the same time. This is now possible. Bug that prevented compilation
of CGI and FPM binaries at the same time has been fixed since PHP 5.4
(https://github.com/php-build/php-build/issues/101).

Legacy handling is added for the two options that are removed, and the
appropriate new options are selected.

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Config.in.legacy
package/php/Config.in
package/php/php.mk