Yann E. MORIN" [Tue, 14 Feb 2012 19:56:17 +0000 (20:56 +0100)]
configure: properly separate the ncurses libs into its own list
Currently, everything is linked against the ncurses libraries, but
only two frontends use them:
- mconf : libncurses
- nconf : libncurses, libpanel et libmenu
Fixup configure.ac to set the ncurses libs into their own lists,
so that only dependent frontends use them.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Yann E. MORIN" [Tue, 24 Jan 2012 21:47:38 +0000 (22:47 +0100)]
configure: if not explicitly enabled, disable frontends with missing deps
If the user does not explicitly enable a frontend, and the pre-requisites
for this frontned are missing, then disable this frontend.
By default, all frontends are enabled. But if (for example) the ncurses
library is missing, and the user did not explicitly enabled them, then
do not build these frontends.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Yann E. MORIN" [Sun, 22 Jan 2012 22:55:14 +0000 (23:55 +0100)]
ksync: handle names with double quotes
Some versions of the Linux kernel have double quotes, for example
linux-3.1 is named:
"Divemaster Edition"
while linux-3.2 is named:
Saber-toothed Squirrel
Just remove doubles quotes.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Yann E. MORIN" [Tue, 17 Jan 2012 20:01:01 +0000 (21:01 +0100)]
scripts: add autostuff stuff
To be noted:
- the lex/yacc/gperf generated files include one another, so it is
not possible to use proper automake constructs to generate the
lexer
- it is possible to tell bison and flex to change the prefix of the
generated symbols, different from the default 'yy'; but if one
does so, then the names of the generated files also include this
prefix instead of the default (here, we use 'zconf' instead of 'yy'
- autoconf has a /built-in/ check for lex, but has no way to know
that the output files is differently named
Because of all these mis-features, the autostuff files contain some
dubious constructs, as a palliative.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>