scripts: add script to sync from the kernel

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
ksync: fix error message when no kernel path is provided

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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>
configure: chnage help string for disabling frontends

As frontends are enabled by default, let the help string specify
the --disable-XXX variant of the option, so that autocomplete
always suggests it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
configure: only check for ncurses if either mconf or mconf is selected

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
ksync: also get kernel changeset

When syncing the parser+frontends, also grab the kernel changeset
we are syncing from, for later forensics, if needed.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
configure: print the enabled frontends

Signed-off-by:  "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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>
ksync: move to scripts/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
parser: build a shared library

A shared library allows for all frontends to share code.
It also allows third-party programs to use the parser.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
scripts/version: add option to output only the kernel version

We'll be using that to version the parser shared library, later.
Use '--plain' as argument to get the kernel version.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
parser: generate a versioned shared library

Use the kernel version to version the parser shared library.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
configure: pretty-print configuration

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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>
misc: update from linux-3.3-rc3

Not much beside updating the kernel version + hash.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
configure: add option to set the /package/ name

Allow users to define the package name at ./configure time.
The default "linux" is because kconfig comes from the Linux kernel.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
configure: default for frontends is "auto", not "enabled"

The default is to check for each frontends if the depndencies are
available. If so, the frontend is enabled, if not, it is disabled.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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>
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>
configure: add option to set the config option prefix

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>