Yann E. MORIN" [Thu, 22 Mar 2012 22:22:47 +0000 (23:22 +0100)]
configure: advertise the MOC variable
If the user has moc installed in a weird place, he/she can use the
MOC variable to set the path to moc. Advertise this variable in
the ./configure help.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Yann E. MORIN" [Thu, 22 Mar 2012 11:03:51 +0000 (12:03 +0100)]
configure: detect moc properly
The moc executable used for Qt may be installed under different names
in different places. Try to identify one that matches the version of
Qt that is being used.
Signed-off-by: Peter Kjellerstedt <pkj@axis.com>
[yann.morin.1998@free.fr: fix MOC under-quotation, fix code layout] Signed-off-by: "Yann E. MORIN" <yann.morin@orange.com>
Makefile.am-s: allow building outside of the source tree
Hi,
I saw your announcement about kconfig-frontends to uclibc@uclibc.org
the other day, and thought I would try it out for our own project
where we use an old derivative of the kconfig system.
However, to make it build with our build system I needed to apply
the patch below to allow building outside the source tree.
After that all worked fine, and the generated .config file is
still the same as with the old config system. :)
Yann E. MORIN" [Mon, 5 Mar 2012 22:28:36 +0000 (23:28 +0100)]
configure: allow passing extra libs per-frontend
When building statically, it might be necessary to pass extra
libraries to some frontends. For example:
nconf frontend, using ncursesw
ncursesw is linked against libgpm
Because static dependencies do not follow (no they don't even
with libtool's .la libraries!), we have to set them manually.
Recognise xxx_LIBS as a list of extra libraries (in the form
-lyyy) to pass to frontend xxx.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
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>