summaryrefslogtreecommitdiff
path: root/configure
AgeCommit message (Collapse)AuthorFilesLines
2010-05-23configure: add path to libtool to pathlistTitus von Boxberg1-0/+1
forgot var=libtool
2010-05-17ct-ng: Add ability to configure and use some GNU toolsTitus von Boxberg1-0/+4
Make the paths to libtool, objcopy, objdump, readelf, patch configurable.
2010-05-17configure: make call to readlink portable to non-GNU (BSD) systemsTitus von Boxberg1-1/+1
The argument '-e' for readlink is a GNU extension. In setting the variable 'where' the argument '-e' is not necessary, thus eliminated.
2010-05-17configure: Do not require stat to be of GNU coreutilsTitus von Boxberg1-1/+1
calls to stat have been made portable, thus it is not necessary that the GNU version is present on the user's system.
2010-01-17configure: do not require hg when configuring in an hg cloneYann E. MORIN"1-4/+3
When configuring in an hg clone, we need hg to compute the version string. It can happen that users do not have Mercurial (eg. if they got a snapshot rather that they did a full clone). In this case, we can still run, of course, so simply fill the version string with a sufficiently explicit value, that does not require hg. The date is a good candidate.
2010-01-17configure: silently ignore auto-stuff options --build --host and friendsblueness1-0/+3
2009-12-30scripts/functions: add aria2, a powerfull downloaderYann E. MORIN"1-1/+1
aria2 is a powerfull downloader that is capable of chunking and parallel retrieval. Due to li;itations in crosstool-NG retrieval facilities, it's not possible to take fully advantage of aria2. It might happen that, in the future, those limitations get lifted away, so we can take use features such as parallel downloading from more than one server at the same time. For now, it should still speed up downloads thanks to parallel downloading of chunks.
2009-12-10configure: install in a sub-dir of --libdir and --docdirYann E. MORIN"1-2/+9
In case the user specifies the LIBDIR with --libdir , or DOCDIR with --docdir, install our support files in a sub-dir, so as not to mangle existing (potentially system) files/dirs.
2009-10-10Merge.Yann E. MORIN"1-1/+5
2009-10-10configure: force using the C locale to check messagesYann E. MORIN"1-1/+4
2009-10-10configure: fix --with-foo=/path/to/fooYann E. MORIN"1-0/+1
When a required tool is specified with --with-foo, store the variable in the list.
2009-10-10docs: get rid of any reference to the now long-gone svn repositoryYann E. MORIN"1-1/+1
2009-10-03configure: split has_or_abort in two: one to check, one to abortYann E. MORIN"1-9/+21
Split the has_or_abort function in two: - one that checks if the tool if found, - one that calls the above check, and aborts if not found The rational behind this is to be able to check for a tool and if not found, fallback to using our bundled version, should the need arise (and I get time).
2009-08-19Merge the bash_array branch.Yann E. MORIN"1-2/+2
For every components where it makes sense, use bash arrays (instead of a string with space-separated values) to store the options pased to ./configure.
2009-08-19configure: check for bash-3.1 or aboveYann E. MORIN"1-2/+2
This is required to use the array variables that came with bash-3.1.
2009-08-01[configure] Fix automake version check.Oron Peled"1-1/+1
The configure script fails on automake-1.11 (in Fedora-11) since it looks for 3-digit version number. Patch fixed by "Yann E. MORIN", with the added comment: The check for the automake version is not against a 3-digit number, but really against a 3-part version number, a-la 'x.y.z'. Versions such as 1.10 and 1.11 are also valid.
2009-07-22Require GNU awk at ./configure time.Yann E. MORIN"1-1/+1
Some components (specifically {,e}glibc) will not build when awk is not GNU awk. Make ./configure check for GNU awk.
2009-07-15Make it build again for non-local use.Yann E. MORIN"1-1/+1
Using colons (:) in the version string creates Makefile problems: Makefile:195: *** multiple target patterns. Stop. make: *** [build] Error 2
2009-06-17Merge the gcc-4.4 support.Yann E. MORIN"1-0/+1
2009-06-17[configure] Use hg to compute the version stringYann E. MORIN1-13/+5
Now that we have migrated to hg from svn, it does not make sense to keep using svn tools to compute the version string, so switch to using mercurial tools (that are much more flexible, BTW).
2009-06-02/devel/gcc-4.4:Yann E. MORIN"1-0/+1
- ./configure: check for 'stat', needing to install the tools wrapper - wrapper: make it a POSIX-compliant script, restore relocatability - don't install the wrapper for symlinks -------- diffstat follows -------- /devel/gcc-4.4/configure | 1 1 0 0 + /devel/gcc-4.4/scripts/build/internals.sh | 22 16 6 0 ++++++++++++++++------ /devel/gcc-4.4/scripts/wrapper.in | 5 2 3 0 ++--- 3 files changed, 19 insertions(+), 9 deletions(-)
2009-05-20/trunk:Yann E. MORIN"1-0/+1
- ./configure: require cvs, as retrieving recent glibc/eglibc is done as cvs checkouts. -------- diffstat follows -------- /trunk/configure | 1 1 0 0 + 1 file changed, 1 insertion(+)
2009-05-11configure:Yann E. MORIN"1-24/+22
- as per: http://www.opengroup.org/onlinepubs/009695399/utilities/echo.html section "application Usage", change all occurences of: echo "..." with: printf "...\n" -------- diffstat follows -------- /trunk/configure | 46 22 24 0 ++++++++++++++++++++++------------------------ 1 file changed, 22 insertions(+), 24 deletions(-)
2009-05-11configure:Yann E. MORIN"1-1/+7
- while checking for the ncurses library, remove bashisms, and make it POSIX compliant -------- diffstat follows -------- /trunk/configure | 8 7 1 0 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
2009-05-02Add check for the {n,}curses library.Yann E. MORIN"1-1/+14
Add check for readlink, needed to check for libraries. -------- diffstat follows -------- /trunk/configure | 15 14 1 0 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-)
2009-05-02When running ./configure, check for the {n,}curses headers.Yann E. MORIN"1-27/+39
-------- diffstat follows -------- /trunk/configure | 66 39 27 0 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 39 insertions(+), 27 deletions(-)
2009-05-01configure:Yann E. MORIN"1-156/+147
- replace the complex TOOLS_TO_CHECK infrastructure with a more versatile has_or_abort function - allows for more explicit error messages -------- diffstat follows -------- /trunk/configure | 301 146 155 0 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 146 insertions(+), 155 deletions(-)
2009-04-20Remove the last remnant of "awk" specifics in ./configure.Yann E. MORIN"1-1/+0
-------- diffstat follows -------- /trunk/configure | 1 0 1 0 - 1 file changed, 1 deletion(-)
2009-04-20There's no longer any reason to require GNU awk:Yann E. MORIN"1-3/+2
- the only part that required it (socks proxy settings) is gone, - all remaining awk scripts are POSIXly correct (or should be). -------- diffstat follows -------- /trunk/configure | 5 2 3 0 ++--- /trunk/Makefile.in | 2 0 2 0 -- /trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +- /trunk/scripts/build/internals.sh | 1 0 1 0 - /trunk/scripts/build/mpfr.sh | 2 1 1 0 +- /trunk/scripts/functions | 4 2 2 0 ++-- /trunk/scripts/saveSample.sh.in | 4 2 2 0 ++-- 7 files changed, 8 insertions(+), 12 deletions(-)
2009-04-20Fix inverted --local install test at end of configure.Yann E. MORIN"1-1/+1
-------- diffstat follows -------- /trunk/configure | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2009-04-20Set the execute bit on generated script at build time, not install time.Yann E. MORIN"1-3/+5
Do not advertise "make install" when ./configure-d with "--local". -------- diffstat follows -------- /trunk/configure | 8 5 3 0 +++++--- /trunk/Makefile.in | 10 3 7 0 +++------- 2 files changed, 8 insertions(+), 10 deletions(-)
2009-04-02Fix some simple typoes.Robert P. J. DAY"1-4/+4
2009-03-09Also recognise the libtool as packaged by Cygwin, when ./configure-ing.Yann E. MORIN"1-1/+1
/trunk/configure | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2009-02-17Recognise bash-4 as a usable bash.Yann E. MORIN"1-4/+3
Spotted by "Kim B. Heino" <Kim.Heino@bluegiga.com> /trunk/configure | 7 3 4 0 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
2009-02-01Checking for grep and sed has been rationalised, and now emit the same ↵Yann E. MORIN"1-17/+36
messages as for the other tools. /trunk/configure | 53 36 17 0 ++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 36 insertions(+), 17 deletions(-)
2009-01-25./configure: fix the tools pattern recognitionYann E. MORIN"1-3/+8
- when a variable name was given, with no regexp, the pattern did not correctly extract the variable name /trunk/configure | 11 8 3 0 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-)
2009-01-18./configure: enable user to specify path to some toolsYann E. MORIN"1-97/+108
/trunk/configure | 203 107 96 0 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 107 insertions(+), 96 deletions(-)
2009-01-07./configurei: make FORCE work again:Yann E. MORIN"1-7/+2
- removed the --force command line option - use FORCE from the environment /trunk/configure | 9 2 7 0 ++------- 1 file changed, 2 insertions(+), 7 deletions(-)
2008-12-23Further enhance the check for needed tools:Yann E. MORIN"1-62/+111
- update the tool_pattern to use ' || ' as a pattern separator - which allows using | in regexp - add checks for cut and xargs - manually check for grep and sed because they are needed when checking for tools - print why a test failed, with each tested tool and regexp - move tools checks before options parsing - apply conttibutions before computing the version string - inform user to run make && make install /trunk/configure | 173 111 62 0 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 111 insertions(+), 62 deletions(-)
2008-12-22Rationalise ./configureYann E. MORIN"1-116/+127
- borrow a lot of ideas from Michael ABBOTT ( http://sourceware.org/ml/crossgcc/2008-12/msg00030.html ) - should be conforming to POSIX 1003.1-2008, non compliance due to bashsims is to be considered a bug - as a result, it now works with dash - make a little easier to read in some places - enforce 4-space indentation - get rid of futile 'return $?' - quote all variables assignments - save and restore IFS prior to and after using alternate values - simplify the TOOLS_TO_CHECK listing What's left: - provide a mean to actually _compare_ version numbers - change the TOOLS_TO_CHECK pattern style to be able to use '|' in regexp /trunk/configure | 243 127 116 0 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 127 insertions(+), 116 deletions(-)
2008-12-19Fix testing the automake version:Yann E. MORIN"1-2/+2
- previously, only version with a more-than-two-digits minor would match - make versions starting with major in [2-9] also match /trunk/configure | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2008-12-16Better check for automake, check for either curl or wget:Yann E. MORIN"1-3/+4
- automake must be at least 1.10 to correctly setup MPFR - either one of curl or wget is needed to retrieve the tarballs /trunk/configure | 7 4 3 0 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
2008-11-16Honor the DESTDIR variable to install out-of-place (Eg. for packaging).Yann E. MORIN"1-0/+10
/trunk/configure | 10 10 0 0 +++++++++ /trunk/Makefile.in | 62 36 26 0 +++++++++++++++++++++++++++++++----------------------- /trunk/docs/overview.txt | 12 12 0 0 ++++++++++ 3 files changed, 58 insertions(+), 26 deletions(-)
2008-10-29Use 'gawk', not plain 'awk'.Yann E. MORIN"1-3/+4
We need GNU Awk? Then check for, and use 'gawk', not plain 'awk'. Be a little mre verbose if a tool was not found. /trunk/configure | 7 4 3 0 ++++--- /trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +- /trunk/scripts/functions | 16 8 8 0 ++++++++-------- /trunk/scripts/saveSample.sh | 4 2 2 0 ++-- 4 files changed, 15 insertions(+), 14 deletions(-)
2008-10-15Fix configure's --with-contrib option.Yann E. MORIN"1-2/+2
/trunk/configure | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2008-09-29Don't check for autoconf >= 2.50.Yann E. MORIN"1-1/+0
It was needed by glibc and eglibc to re-generate their 'configure' files, but they no longer do (in fact never did). /trunk/configure | 1 0 1 0 - 1 file changed, 1 deletion(-)
2008-09-26Enhance ./configure tools checking.Yann E. MORIN"1-34/+61
Add check for compatible autoconf. /trunk/configure | 95 61 34 0 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 61 insertions(+), 34 deletions(-)
2008-09-23Allow fully qulified file name in tools to check for.Yann E. MORIN"1-17/+13
Simplify checking for bash. /trunk/configure | 30 13 17 0 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-)
2008-08-09Merge #912 from branches/eglibc:Yann E. MORIN"1-1/+0
Don't check for readlink, it is no longer needed. /trunk/configure | 1 0 1 0 - 1 file changed, 1 deletion(-)
2008-08-04Michael ABBOTT reported that populate is not relocatable.Yann E. MORIN"1-0/+1
Fix this by determining both the cross-readelf and the sys-root at runtime, not at build time. /trunk/configure | 1 1 0 0 + /trunk/scripts/crosstool.sh | 14 6 8 0 ++++++-------- /trunk/tools/populate.in | 6 4 2 0 ++++-- 3 files changed, 11 insertions(+), 10 deletions(-)