2011-08-22configure: fix --with-prog=[...]
Titus von Boxberg <titus@v9g.de> [Mon, 22 Aug 2011 09:41:35 +0200] rev 2625
configure: fix --with-prog=[...]

check_for didn't set variable 'where' when the path to a prog
was passed manually "(cached)".

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>

2011-08-21complibs/libelf: use target ranlib
Titus von Boxberg <titus@v9g.de> [Sun, 21 Aug 2011 17:54:12 +0200] rev 2624
complibs/libelf: use target ranlib

For portability, the right ranlib for the target must be passed to
libelf's configure.

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>

2011-08-21configure: recognise and handle --program-transform-name
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 21 Aug 2011 23:11:26 +0200] rev 2623
configure: recognise and handle --program-transform-name

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

2011-08-19configure: recognise and handle --program-suffix
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 19 Aug 2011 22:43:01 +0200] rev 2622
configure: recognise and handle --program-suffix

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

2011-08-17configure: handle --program-prefix
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 17 Aug 2011 23:05:01 +0200] rev 2621
configure: handle --program-prefix

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

2011-08-19Makefile: introduce PROG_NAME to contain the 'ct-ng' executable name
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 19 Aug 2011 22:53:48 +0200] rev 2620
Makefile: introduce PROG_NAME to contain the 'ct-ng' executable name

With the upcomming --program-{prefix,suffix,transform-name} options,
we'll have a need to centralise the actual executable name, that is
now no longer be a constant.

Rather than spread the prefix/suffix through-out the code, just
centralise the name setting in one place. Beside, transform-name
would not be possible without setting the name at a single location.

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

2011-08-17configure: document ignored switches
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 17 Aug 2011 22:23:21 +0200] rev 2619
configure: document ignored switches

Autostuff tradiotionnally have some switches to set host, build and
target systems, static or shared libs, and a bunch of others...

In the crosstool-NG case, they do not matter, as crosstool-NG is
just a set of scripts (there are C files, but they are compiled
after installation, at runtime, so it does not count).

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

2011-08-21libc/glibc: change default of "forced unwind" to 'y'
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 21 Aug 2011 22:14:39 +0200] rev 2618
libc/glibc: change default of "forced unwind" to 'y'

Virtually all our targets do support stack unwinding. For some of
them, ./configure can't detect that, and the build fails later on.

So, default to force unwind, and let the user disable it if it
breaks in his/her case.

The previous changeset (f44286235a07) was empty, as spotted by Benoît.

Reported-by: Benoît THÉBAUDEAU <benoit.thebaudeau@advansee.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-08-17debug/gdb: we don't care if the host tic is shared or static
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 17 Aug 2011 23:53:49 +0200] rev 2617
debug/gdb: we don't care if the host tic is shared or static

Because we need our own host tic, we have to build it; and we do build
it statically for now.

But as MacOS/Darwin/Whatever-you-call-it does not support static linking
(what a shame!), it fails.

Anyway, we don't really care it being shared, in the end.

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

2011-08-18debug/gdb: use ncurses-5.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 18 Aug 2011 23:52:47 +0200] rev 2616
debug/gdb: use ncurses-5.9

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