mirror of
https://github.com/HEYAHONG/kconfig-frontends.git
synced 2025-05-09 02:01:14 +08:00
configure enable/disable frontends by list
Add a configure --{en,dis}able-frontends=(list) option, to enable or disable all or the specified list of frontends. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
98491e16d2
commit
f10edb6405
18
configure.ac
18
configure.ac
@ -92,6 +92,24 @@ AC_ARG_ENABLE(
|
||||
[qconf, the QT-based frontend (default=auto)])])
|
||||
AC_SUBST([enable_qconf], [${enable_qconf:-auto}])
|
||||
|
||||
AC_ARG_ENABLE(
|
||||
[frontends],
|
||||
[AS_HELP_STRING(
|
||||
[--enable-frontends=list],
|
||||
[enables only the set of frontends in comma-separated 'list'
|
||||
(default: auto selection), takes precedence over all
|
||||
--enable-*conf, above])],
|
||||
[for f in conf mconf nconf gconf qconf; do
|
||||
AS_CASE(
|
||||
["$enableval"],
|
||||
["$f"], [eval enable_$f=yes],
|
||||
["$f",*], [eval enable_$f=yes],
|
||||
[*,"$f"], [eval enable_$f=yes],
|
||||
[*,"$f",*], [eval enable_$f=yes],
|
||||
[eval enable_$f=no])
|
||||
done])
|
||||
AC_SUBST([enable_frontends])
|
||||
|
||||
#----------------------------------------
|
||||
# Some program checks
|
||||
AC_PROG_LEX
|
||||
|
Loading…
x
Reference in New Issue
Block a user