]> git.sur5r.net Git - kconfig-frontends/commitdiff
configure: enable all frontends if --enable-frontends has no list
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue, 14 Feb 2012 22:40:24 +0000 (23:40 +0100)
committerYann E. MORIN" <yann.morin.1998@free.fr>
Tue, 14 Feb 2012 22:40:24 +0000 (23:40 +0100)
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>
configure.ac

index 903487a3dd07b5908acd67a3239582821800ef33..b8d8894c8e161bea6cae172baa30119a4cdf80ac 100644 (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],