crosstool-ng/config
Alexey Neyman 7a94c81e5b Rework configure logic wrt GNU autotools
Rather than requiring them of a certain version, detect if they are present
(and have sufficient version) and select an appropriate companion tool
otherwise. The reason is that, for example, most recent gettext requires
automake 1.15, but the newest available CentOS has 1.13. Hence, the option
to "upgrade your system" does not apply, and the warning comment above
the companion tools is rather scary.

With this approach, it will work out of the box - either by using the host's
tools, or by building them as needed. Note that the user can still change
the setting in the config.

While there, propagate the new version checking macro to awk/bash/host binutils,
and switch from --with-foo=xxx to officially blessed FOO=xxx: the latter
does not require checking for bogus values (i.e., --with-foo, --without-foo)
and AC_PROG_* macros recognize the corresponding settings without further
modifications. For now, I kept --with-foo=, if only to complain and steer
people to the new way. To be cleaned up after a release.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-27 20:40:47 -08:00
..
arch xtensa: fix endianness support 2016-11-22 10:48:34 -08:00
binutils Declare older versions obsolete. 2017-01-26 12:19:49 -08:00
cc Declare older versions obsolete. 2017-01-26 12:19:49 -08:00
companion_libs Add gettext 0.19.8.1 2017-01-26 12:19:49 -08:00
companion_tools Rework configure logic wrt GNU autotools 2017-01-27 20:40:47 -08:00
debug Fix handling of ltrace 0.5.3 peculiarity. 2017-01-26 12:19:49 -08:00
global Make build-all rely on kconfig options. 2017-01-19 18:08:29 -08:00
kernel Add Linux 4.9.5. 2017-01-26 12:19:49 -08:00
libc Declare older versions obsolete. 2017-01-26 12:19:49 -08:00
.gitignore repository: migrate old hg files over to git 2014-06-27 00:28:53 +02:00
backend.in Declare BACKEND obsolete. 2017-01-19 23:27:13 -08:00
binutils.in binutils: cleanup ELF/FLAT/FDPIC dependencies 2012-11-19 21:39:58 +01:00
cc.in config: Add config support for multiple compilers 2015-05-29 21:49:33 +01:00
companion_libs.in Select libintl from gettext we built. 2017-01-10 10:38:08 -08:00
companion_tools.in Rework configure logic wrt GNU autotools 2017-01-27 20:40:47 -08:00
config.in config: switch cc with libc in the config order 2014-05-11 13:38:12 +02:00
config.mk Give companion tools some love. 2016-11-21 23:03:03 -08:00
debug.in config: fix style issues when source-ing files 2010-03-29 20:24:50 +02:00
global.in Fix tristate Kconfig options 2015-09-07 13:30:18 +02:00
kernel.in libc/mingw: replace mingw32 with generic mingw 2012-11-14 14:05:49 +01:00
libc.in Typos in linuxthreads/posix config values. 2017-01-21 11:49:52 -08:00
target.in multilib: Determine which options may pass through. 2016-08-23 11:00:27 -07:00
test_suite.in all: unmark experimental features 2012-12-26 20:05:19 +01:00
toolchain.in Do not use sysroot in bare metal. 2017-01-12 23:00:20 -08:00