configure: enable all frontends if --enable-frontends has no list

If the user passes '--enable-frontends' without a list of frontends
to enable, interpret this as enabling all frontends.

Note, this is different from '--enable-frontends=', where the list
exists, but is empty.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
Yann E. MORIN" 2012-02-14 23:40:24 +01:00 committed by Yann E. MORIN"
parent f10edb6405
commit 91bdc37f53

View File

@ -102,6 +102,7 @@ AC_ARG_ENABLE(
[for f in conf mconf nconf gconf qconf; do
AS_CASE(
["$enableval"],
[yes], [eval enable_$f=yes],
["$f"], [eval enable_$f=yes],
["$f",*], [eval enable_$f=yes],
[*,"$f"], [eval enable_$f=yes],