diff options
| author | Glenn Morris | 2011-03-25 00:14:31 -0700 |
|---|---|---|
| committer | Glenn Morris | 2011-03-25 00:14:31 -0700 |
| commit | f6ca84c095f29a92f5e651c7ec4f7abec7e5bc43 (patch) | |
| tree | 0348c42a278c6327cf133ce5a70e2031b4568824 | |
| parent | 577c4ec0579864e6e2e243e64cc6662c9fcc8bce (diff) | |
| download | emacs-f6ca84c095f29a92f5e651c7ec4f7abec7e5bc43.tar.gz emacs-f6ca84c095f29a92f5e651c7ec4f7abec7e5bc43.zip | |
Remove some files that autoreconf can supply.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00863.html
* compile, config.guess, config.sub, depcomp, install-sh, missing:
Remove; autoreconf can supply them.
* Makefile.in (sync-from-gnulib): Don't sync config.sub,
config.guess, install-sh. Pass -i to autoreconf.
* autogen/update_autogen (genfiles): Add compile, config.guess,
config.sub, depcomp, install-sh, missing. Pass -i to autoreconf.
Discard non-error output from autoreconf in -q case.
* autogen/compile, autogen/config.guess, autogen/config.sub:
* autogen/depcomp, autogen/install-sh, autogen/missing: New files.
* autogen/copy_autogen: Add compile, config.guess, config.sub, depcomp,
install-sh, missing.
* autogen/README: Add compile, config.guess, config.sub, depcomp,
install-sh, missing.
* INSTALL.BZR, admin/make-tarball.txt: Add -i to autoreconf args.
* .bzrignore: Add compile, config.guess, config.sub, depcomp,
install-sh, missing.
| -rw-r--r-- | ChangeLog | 14 | ||||
| -rw-r--r-- | INSTALL.BZR | 2 | ||||
| -rw-r--r-- | Makefile.in | 5 | ||||
| -rw-r--r-- | admin/make-tarball.txt | 2 | ||||
| -rwxr-xr-x | autogen.sh | 4 | ||||
| -rw-r--r-- | autogen/README | 6 | ||||
| -rwxr-xr-x | autogen/compile (renamed from compile) | 0 | ||||
| -rwxr-xr-x | autogen/config.guess (renamed from config.guess) | 352 | ||||
| -rwxr-xr-x | autogen/config.sub (renamed from config.sub) | 142 | ||||
| -rwxr-xr-x | autogen/copy_autogen | 1 | ||||
| -rwxr-xr-x | autogen/depcomp (renamed from depcomp) | 0 | ||||
| -rwxr-xr-x | autogen/install-sh (renamed from install-sh) | 29 | ||||
| -rwxr-xr-x | autogen/missing (renamed from missing) | 0 | ||||
| -rwxr-xr-x | autogen/update_autogen | 15 |
14 files changed, 285 insertions, 287 deletions
| @@ -1,3 +1,17 @@ | |||
| 1 | 2011-03-25 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * compile, config.guess, config.sub, depcomp, install-sh, missing: | ||
| 4 | Remove; autoreconf can supply them. | ||
| 5 | * Makefile.in (sync-from-gnulib): Don't sync config.sub, | ||
| 6 | config.guess, install-sh. Pass -i to autoreconf. | ||
| 7 | * autogen/update_autogen (genfiles): Add compile, config.guess, | ||
| 8 | config.sub, depcomp, install-sh, missing. Pass -i to autoreconf. | ||
| 9 | Discard non-error output from autoreconf in -q case. | ||
| 10 | * autogen/compile, autogen/config.guess, autogen/config.sub: | ||
| 11 | * autogen/depcomp, autogen/install-sh, autogen/missing: New. | ||
| 12 | * autogen/copy_autogen: Add compile, config.guess, config.sub, depcomp, | ||
| 13 | install-sh, missing. | ||
| 14 | |||
| 1 | 2011-03-23 Glenn Morris <rgm@gnu.org> | 15 | 2011-03-23 Glenn Morris <rgm@gnu.org> |
| 2 | 16 | ||
| 3 | * autogen/update_autogen: Fix typo. | 17 | * autogen/update_autogen: Fix typo. |
diff --git a/INSTALL.BZR b/INSTALL.BZR index 3859e3cd4fc..abb98fd796b 100644 --- a/INSTALL.BZR +++ b/INSTALL.BZR | |||
| @@ -21,7 +21,7 @@ First, generate the `configure' script: | |||
| 21 | 21 | ||
| 22 | $ ./autogen.sh | 22 | $ ./autogen.sh |
| 23 | 23 | ||
| 24 | (or you can just run `autoreconf -I m4'). | 24 | (or you can just run `autoreconf -i -I m4'). |
| 25 | 25 | ||
| 26 | You can then configure your build (use `./configure --help' to see | 26 | You can then configure your build (use `./configure --help' to see |
| 27 | options you can set): | 27 | options you can set): |
diff --git a/Makefile.in b/Makefile.in index c94d7a5445a..699589c6920 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -344,12 +344,9 @@ sync-from-gnulib: $(gnulib_srcdir) | |||
| 344 | cd $(srcdir)/m4 && mv gnulib-comp.m4 $(DOS_gnulib_comp.m4) | 344 | cd $(srcdir)/m4 && mv gnulib-comp.m4 $(DOS_gnulib_comp.m4) |
| 345 | cp $(gnulib_srcdir)/build-aux/texinfo.tex $(srcdir)/doc/misc | 345 | cp $(gnulib_srcdir)/build-aux/texinfo.tex $(srcdir)/doc/misc |
| 346 | cp \ | 346 | cp \ |
| 347 | $(gnulib_srcdir)/build-aux/config.sub \ | ||
| 348 | $(gnulib_srcdir)/build-aux/config.guess \ | ||
| 349 | $(gnulib_srcdir)/build-aux/install-sh \ | ||
| 350 | $(gnulib_srcdir)/build-aux/move-if-change \ | 347 | $(gnulib_srcdir)/build-aux/move-if-change \ |
| 351 | $(srcdir) | 348 | $(srcdir) |
| 352 | cd $(srcdir) && autoreconf -I m4 | 349 | cd $(srcdir) && autoreconf -i -I m4 |
| 353 | .PHONY: sync-from-gnulib | 350 | .PHONY: sync-from-gnulib |
| 354 | 351 | ||
| 355 | # These targets should be "${SUBDIR} without `src'". | 352 | # These targets should be "${SUBDIR} without `src'". |
diff --git a/admin/make-tarball.txt b/admin/make-tarball.txt index 9c47d6e1fa2..9a556520070 100644 --- a/admin/make-tarball.txt +++ b/admin/make-tarball.txt | |||
| @@ -31,7 +31,7 @@ For each step, check for possible errors. | |||
| 31 | 5. Edit configure.in so that maintainer-mode is off by default. | 31 | 5. Edit configure.in so that maintainer-mode is off by default. |
| 32 | (FIXME - need to find a better way of dealing with this). | 32 | (FIXME - need to find a better way of dealing with this). |
| 33 | 33 | ||
| 34 | autoreconf -I m4 --force | 34 | autoreconf -i -I m4 --force |
| 35 | make bootstrap | 35 | make bootstrap |
| 36 | 36 | ||
| 37 | 6. Commit etc/AUTHORS, all the files changed by M-x set-version, and | 37 | 6. Commit etc/AUTHORS, all the files changed by M-x set-version, and |
diff --git a/autogen.sh b/autogen.sh index 03c39ee9456..ce742a9c18a 100755 --- a/autogen.sh +++ b/autogen.sh | |||
| @@ -177,7 +177,7 @@ this script. | |||
| 177 | If you know that the required versions are in your PATH, but this | 177 | If you know that the required versions are in your PATH, but this |
| 178 | script has made an error, then you can simply run | 178 | script has made an error, then you can simply run |
| 179 | 179 | ||
| 180 | autoreconf -I m4 | 180 | autoreconf -i -I m4 |
| 181 | 181 | ||
| 182 | instead of this script. | 182 | instead of this script. |
| 183 | 183 | ||
| @@ -198,7 +198,7 @@ echo "Your system has the required tools, running autoreconf..." | |||
| 198 | 198 | ||
| 199 | 199 | ||
| 200 | ## Let autoreconf figure out what, if anything, needs doing. | 200 | ## Let autoreconf figure out what, if anything, needs doing. |
| 201 | autoreconf -I m4 || exit $? | 201 | autoreconf -i -I m4 || exit $? |
| 202 | 202 | ||
| 203 | echo "You can now run \`./configure'." | 203 | echo "You can now run \`./configure'." |
| 204 | 204 | ||
diff --git a/autogen/README b/autogen/README index a16dc93c48a..fd574c41cd6 100644 --- a/autogen/README +++ b/autogen/README | |||
| @@ -7,6 +7,12 @@ configure ../ autoconf | |||
| 7 | config.in ../src autoheader * also used by MSDOS bzr build | 7 | config.in ../src autoheader * also used by MSDOS bzr build |
| 8 | aclocal.m4 ../ aclocal | 8 | aclocal.m4 ../ aclocal |
| 9 | Makefile.in ../lib automake | 9 | Makefile.in ../lib automake |
| 10 | compile ../ automake | ||
| 11 | config.guess ../ automake | ||
| 12 | config.sub ../ automake | ||
| 13 | depcomp ../ automake | ||
| 14 | install-sh ../ automake | ||
| 15 | missing ../ automake | ||
| 10 | 16 | ||
| 11 | There are also some scripts: | 17 | There are also some scripts: |
| 12 | 18 | ||
diff --git a/compile b/autogen/compile index c0096a7b563..c0096a7b563 100755 --- a/compile +++ b/autogen/compile | |||
diff --git a/config.guess b/autogen/config.guess index 187cd54edd2..e3a2116a7dc 100755 --- a/config.guess +++ b/autogen/config.guess | |||
| @@ -1,10 +1,10 @@ | |||
| 1 | #! /bin/sh | 1 | #! /bin/sh |
| 2 | # Attempt to guess a canonical system name. | 2 | # Attempt to guess a canonical system name. |
| 3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | 3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
| 4 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | 4 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 |
| 5 | # 2011 Free Software Foundation, Inc. | 5 | # Free Software Foundation, Inc. |
| 6 | 6 | ||
| 7 | timestamp='2011-02-02' | 7 | timestamp='2009-06-10' |
| 8 | 8 | ||
| 9 | # This file is free software; you can redistribute it and/or modify it | 9 | # This file is free software; you can redistribute it and/or modify it |
| 10 | # under the terms of the GNU General Public License as published by | 10 | # under the terms of the GNU General Public License as published by |
| @@ -27,16 +27,16 @@ timestamp='2011-02-02' | |||
| 27 | # the same distribution terms that you use for the rest of that program. | 27 | # the same distribution terms that you use for the rest of that program. |
| 28 | 28 | ||
| 29 | 29 | ||
| 30 | # Originally written by Per Bothner. Please send patches (context | 30 | # Originally written by Per Bothner <per@bothner.com>. |
| 31 | # diff format) to <config-patches@gnu.org> and include a ChangeLog | 31 | # Please send patches to <config-patches@gnu.org>. Submit a context |
| 32 | # entry. | 32 | # diff and a properly formatted ChangeLog entry. |
| 33 | # | 33 | # |
| 34 | # This script attempts to guess a canonical system name similar to | 34 | # This script attempts to guess a canonical system name similar to |
| 35 | # config.sub. If it succeeds, it prints the system name on stdout, and | 35 | # config.sub. If it succeeds, it prints the system name on stdout, and |
| 36 | # exits with 0. Otherwise, it exits with 1. | 36 | # exits with 0. Otherwise, it exits with 1. |
| 37 | # | 37 | # |
| 38 | # You can get the latest version of this script from: | 38 | # The plan is that this can be called by configure scripts if you |
| 39 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD | 39 | # don't specify an explicit build system type. |
| 40 | 40 | ||
| 41 | me=`echo "$0" | sed -e 's,.*/,,'` | 41 | me=`echo "$0" | sed -e 's,.*/,,'` |
| 42 | 42 | ||
| @@ -56,9 +56,8 @@ version="\ | |||
| 56 | GNU config.guess ($timestamp) | 56 | GNU config.guess ($timestamp) |
| 57 | 57 | ||
| 58 | Originally written by Per Bothner. | 58 | Originally written by Per Bothner. |
| 59 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | 59 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, |
| 60 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free | 60 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 61 | Software Foundation, Inc. | ||
| 62 | 61 | ||
| 63 | This is free software; see the source for copying conditions. There is NO | 62 | This is free software; see the source for copying conditions. There is NO |
| 64 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | 63 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
| @@ -181,7 +180,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |||
| 181 | fi | 180 | fi |
| 182 | ;; | 181 | ;; |
| 183 | *) | 182 | *) |
| 184 | os=netbsd | 183 | os=netbsd |
| 185 | ;; | 184 | ;; |
| 186 | esac | 185 | esac |
| 187 | # The OS release | 186 | # The OS release |
| @@ -224,7 +223,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |||
| 224 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` | 223 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` |
| 225 | ;; | 224 | ;; |
| 226 | *5.*) | 225 | *5.*) |
| 227 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` | 226 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` |
| 228 | ;; | 227 | ;; |
| 229 | esac | 228 | esac |
| 230 | # According to Compaq, /usr/sbin/psrinfo has been available on | 229 | # According to Compaq, /usr/sbin/psrinfo has been available on |
| @@ -270,10 +269,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |||
| 270 | # A Xn.n version is an unreleased experimental baselevel. | 269 | # A Xn.n version is an unreleased experimental baselevel. |
| 271 | # 1.2 uses "1.2" for uname -r. | 270 | # 1.2 uses "1.2" for uname -r. |
| 272 | echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` | 271 | echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
| 273 | # Reset EXIT trap before exiting to avoid spurious non-zero exit code. | 272 | exit ;; |
| 274 | exitcode=$? | ||
| 275 | trap '' 0 | ||
| 276 | exit $exitcode ;; | ||
| 277 | Alpha\ *:Windows_NT*:*) | 273 | Alpha\ *:Windows_NT*:*) |
| 278 | # How do we know it's Interix rather than the generic POSIX subsystem? | 274 | # How do we know it's Interix rather than the generic POSIX subsystem? |
| 279 | # Should we change UNAME_MACHINE based on the output of uname instead | 275 | # Should we change UNAME_MACHINE based on the output of uname instead |
| @@ -299,7 +295,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |||
| 299 | echo s390-ibm-zvmoe | 295 | echo s390-ibm-zvmoe |
| 300 | exit ;; | 296 | exit ;; |
| 301 | *:OS400:*:*) | 297 | *:OS400:*:*) |
| 302 | echo powerpc-ibm-os400 | 298 | echo powerpc-ibm-os400 |
| 303 | exit ;; | 299 | exit ;; |
| 304 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) | 300 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
| 305 | echo arm-acorn-riscix${UNAME_RELEASE} | 301 | echo arm-acorn-riscix${UNAME_RELEASE} |
| @@ -337,9 +333,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |||
| 337 | sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) | 333 | sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) |
| 338 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | 334 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
| 339 | exit ;; | 335 | exit ;; |
| 340 | i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) | ||
| 341 | echo i386-pc-auroraux${UNAME_RELEASE} | ||
| 342 | exit ;; | ||
| 343 | i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) | 336 | i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) |
| 344 | eval $set_cc_for_build | 337 | eval $set_cc_for_build |
| 345 | SUN_ARCH="i386" | 338 | SUN_ARCH="i386" |
| @@ -398,23 +391,23 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |||
| 398 | # MiNT. But MiNT is downward compatible to TOS, so this should | 391 | # MiNT. But MiNT is downward compatible to TOS, so this should |
| 399 | # be no problem. | 392 | # be no problem. |
| 400 | atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) | 393 | atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) |
| 401 | echo m68k-atari-mint${UNAME_RELEASE} | 394 | echo m68k-atari-mint${UNAME_RELEASE} |
| 402 | exit ;; | 395 | exit ;; |
| 403 | atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) | 396 | atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) |
| 404 | echo m68k-atari-mint${UNAME_RELEASE} | 397 | echo m68k-atari-mint${UNAME_RELEASE} |
| 405 | exit ;; | 398 | exit ;; |
| 406 | *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) | 399 | *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) |
| 407 | echo m68k-atari-mint${UNAME_RELEASE} | 400 | echo m68k-atari-mint${UNAME_RELEASE} |
| 408 | exit ;; | 401 | exit ;; |
| 409 | milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) | 402 | milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) |
| 410 | echo m68k-milan-mint${UNAME_RELEASE} | 403 | echo m68k-milan-mint${UNAME_RELEASE} |
| 411 | exit ;; | 404 | exit ;; |
| 412 | hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) | 405 | hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) |
| 413 | echo m68k-hades-mint${UNAME_RELEASE} | 406 | echo m68k-hades-mint${UNAME_RELEASE} |
| 414 | exit ;; | 407 | exit ;; |
| 415 | *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) | 408 | *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) |
| 416 | echo m68k-unknown-mint${UNAME_RELEASE} | 409 | echo m68k-unknown-mint${UNAME_RELEASE} |
| 417 | exit ;; | 410 | exit ;; |
| 418 | m68k:machten:*:*) | 411 | m68k:machten:*:*) |
| 419 | echo m68k-apple-machten${UNAME_RELEASE} | 412 | echo m68k-apple-machten${UNAME_RELEASE} |
| 420 | exit ;; | 413 | exit ;; |
| @@ -484,8 +477,8 @@ EOF | |||
| 484 | echo m88k-motorola-sysv3 | 477 | echo m88k-motorola-sysv3 |
| 485 | exit ;; | 478 | exit ;; |
| 486 | AViiON:dgux:*:*) | 479 | AViiON:dgux:*:*) |
| 487 | # DG/UX returns AViiON for all architectures | 480 | # DG/UX returns AViiON for all architectures |
| 488 | UNAME_PROCESSOR=`/usr/bin/uname -p` | 481 | UNAME_PROCESSOR=`/usr/bin/uname -p` |
| 489 | if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] | 482 | if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] |
| 490 | then | 483 | then |
| 491 | if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ | 484 | if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ |
| @@ -498,7 +491,7 @@ EOF | |||
| 498 | else | 491 | else |
| 499 | echo i586-dg-dgux${UNAME_RELEASE} | 492 | echo i586-dg-dgux${UNAME_RELEASE} |
| 500 | fi | 493 | fi |
| 501 | exit ;; | 494 | exit ;; |
| 502 | M88*:DolphinOS:*:*) # DolphinOS (SVR3) | 495 | M88*:DolphinOS:*:*) # DolphinOS (SVR3) |
| 503 | echo m88k-dolphin-sysv3 | 496 | echo m88k-dolphin-sysv3 |
| 504 | exit ;; | 497 | exit ;; |
| @@ -555,7 +548,7 @@ EOF | |||
| 555 | echo rs6000-ibm-aix3.2 | 548 | echo rs6000-ibm-aix3.2 |
| 556 | fi | 549 | fi |
| 557 | exit ;; | 550 | exit ;; |
| 558 | *:AIX:*:[4567]) | 551 | *:AIX:*:[456]) |
| 559 | IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` | 552 | IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` |
| 560 | if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then | 553 | if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then |
| 561 | IBM_ARCH=rs6000 | 554 | IBM_ARCH=rs6000 |
| @@ -598,52 +591,52 @@ EOF | |||
| 598 | 9000/[678][0-9][0-9]) | 591 | 9000/[678][0-9][0-9]) |
| 599 | if [ -x /usr/bin/getconf ]; then | 592 | if [ -x /usr/bin/getconf ]; then |
| 600 | sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` | 593 | sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` |
| 601 | sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` | 594 | sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` |
| 602 | case "${sc_cpu_version}" in | 595 | case "${sc_cpu_version}" in |
| 603 | 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 | 596 | 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 |
| 604 | 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 | 597 | 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 |
| 605 | 532) # CPU_PA_RISC2_0 | 598 | 532) # CPU_PA_RISC2_0 |
| 606 | case "${sc_kernel_bits}" in | 599 | case "${sc_kernel_bits}" in |
| 607 | 32) HP_ARCH="hppa2.0n" ;; | 600 | 32) HP_ARCH="hppa2.0n" ;; |
| 608 | 64) HP_ARCH="hppa2.0w" ;; | 601 | 64) HP_ARCH="hppa2.0w" ;; |
| 609 | '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 | 602 | '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 |
| 610 | esac ;; | 603 | esac ;; |
| 611 | esac | 604 | esac |
| 612 | fi | 605 | fi |
| 613 | if [ "${HP_ARCH}" = "" ]; then | 606 | if [ "${HP_ARCH}" = "" ]; then |
| 614 | eval $set_cc_for_build | 607 | eval $set_cc_for_build |
| 615 | sed 's/^ //' << EOF >$dummy.c | 608 | sed 's/^ //' << EOF >$dummy.c |
| 616 | 609 | ||
| 617 | #define _HPUX_SOURCE | 610 | #define _HPUX_SOURCE |
| 618 | #include <stdlib.h> | 611 | #include <stdlib.h> |
| 619 | #include <unistd.h> | 612 | #include <unistd.h> |
| 620 | 613 | ||
| 621 | int main () | 614 | int main () |
| 622 | { | 615 | { |
| 623 | #if defined(_SC_KERNEL_BITS) | 616 | #if defined(_SC_KERNEL_BITS) |
| 624 | long bits = sysconf(_SC_KERNEL_BITS); | 617 | long bits = sysconf(_SC_KERNEL_BITS); |
| 625 | #endif | 618 | #endif |
| 626 | long cpu = sysconf (_SC_CPU_VERSION); | 619 | long cpu = sysconf (_SC_CPU_VERSION); |
| 627 | 620 | ||
| 628 | switch (cpu) | 621 | switch (cpu) |
| 629 | { | 622 | { |
| 630 | case CPU_PA_RISC1_0: puts ("hppa1.0"); break; | 623 | case CPU_PA_RISC1_0: puts ("hppa1.0"); break; |
| 631 | case CPU_PA_RISC1_1: puts ("hppa1.1"); break; | 624 | case CPU_PA_RISC1_1: puts ("hppa1.1"); break; |
| 632 | case CPU_PA_RISC2_0: | 625 | case CPU_PA_RISC2_0: |
| 633 | #if defined(_SC_KERNEL_BITS) | 626 | #if defined(_SC_KERNEL_BITS) |
| 634 | switch (bits) | 627 | switch (bits) |
| 635 | { | 628 | { |
| 636 | case 64: puts ("hppa2.0w"); break; | 629 | case 64: puts ("hppa2.0w"); break; |
| 637 | case 32: puts ("hppa2.0n"); break; | 630 | case 32: puts ("hppa2.0n"); break; |
| 638 | default: puts ("hppa2.0"); break; | 631 | default: puts ("hppa2.0"); break; |
| 639 | } break; | 632 | } break; |
| 640 | #else /* !defined(_SC_KERNEL_BITS) */ | 633 | #else /* !defined(_SC_KERNEL_BITS) */ |
| 641 | puts ("hppa2.0"); break; | 634 | puts ("hppa2.0"); break; |
| 642 | #endif | 635 | #endif |
| 643 | default: puts ("hppa1.0"); break; | 636 | default: puts ("hppa1.0"); break; |
| 644 | } | 637 | } |
| 645 | exit (0); | 638 | exit (0); |
| 646 | } | 639 | } |
| 647 | EOF | 640 | EOF |
| 648 | (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` | 641 | (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` |
| 649 | test -z "$HP_ARCH" && HP_ARCH=hppa | 642 | test -z "$HP_ARCH" && HP_ARCH=hppa |
| @@ -734,22 +727,22 @@ EOF | |||
| 734 | exit ;; | 727 | exit ;; |
| 735 | C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) | 728 | C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) |
| 736 | echo c1-convex-bsd | 729 | echo c1-convex-bsd |
| 737 | exit ;; | 730 | exit ;; |
| 738 | C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) | 731 | C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) |
| 739 | if getsysinfo -f scalar_acc | 732 | if getsysinfo -f scalar_acc |
| 740 | then echo c32-convex-bsd | 733 | then echo c32-convex-bsd |
| 741 | else echo c2-convex-bsd | 734 | else echo c2-convex-bsd |
| 742 | fi | 735 | fi |
| 743 | exit ;; | 736 | exit ;; |
| 744 | C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) | 737 | C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) |
| 745 | echo c34-convex-bsd | 738 | echo c34-convex-bsd |
| 746 | exit ;; | 739 | exit ;; |
| 747 | C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) | 740 | C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) |
| 748 | echo c38-convex-bsd | 741 | echo c38-convex-bsd |
| 749 | exit ;; | 742 | exit ;; |
| 750 | C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) | 743 | C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) |
| 751 | echo c4-convex-bsd | 744 | echo c4-convex-bsd |
| 752 | exit ;; | 745 | exit ;; |
| 753 | CRAY*Y-MP:*:*:*) | 746 | CRAY*Y-MP:*:*:*) |
| 754 | echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | 747 | echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
| 755 | exit ;; | 748 | exit ;; |
| @@ -773,14 +766,14 @@ EOF | |||
| 773 | exit ;; | 766 | exit ;; |
| 774 | F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) | 767 | F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) |
| 775 | FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` | 768 | FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
| 776 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | 769 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` |
| 777 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` | 770 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` |
| 778 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | 771 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
| 779 | exit ;; | 772 | exit ;; |
| 780 | 5000:UNIX_System_V:4.*:*) | 773 | 5000:UNIX_System_V:4.*:*) |
| 781 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | 774 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` |
| 782 | FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` | 775 | FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` |
| 783 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | 776 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
| 784 | exit ;; | 777 | exit ;; |
| 785 | i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) | 778 | i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) |
| 786 | echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} | 779 | echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} |
| @@ -808,18 +801,18 @@ EOF | |||
| 808 | echo ${UNAME_MACHINE}-pc-mingw32 | 801 | echo ${UNAME_MACHINE}-pc-mingw32 |
| 809 | exit ;; | 802 | exit ;; |
| 810 | i*:windows32*:*) | 803 | i*:windows32*:*) |
| 811 | # uname -m includes "-pc" on this system. | 804 | # uname -m includes "-pc" on this system. |
| 812 | echo ${UNAME_MACHINE}-mingw32 | 805 | echo ${UNAME_MACHINE}-mingw32 |
| 813 | exit ;; | 806 | exit ;; |
| 814 | i*:PW*:*) | 807 | i*:PW*:*) |
| 815 | echo ${UNAME_MACHINE}-pc-pw32 | 808 | echo ${UNAME_MACHINE}-pc-pw32 |
| 816 | exit ;; | 809 | exit ;; |
| 817 | *:Interix*:*) | 810 | *:Interix*:[3456]*) |
| 818 | case ${UNAME_MACHINE} in | 811 | case ${UNAME_MACHINE} in |
| 819 | x86) | 812 | x86) |
| 820 | echo i586-pc-interix${UNAME_RELEASE} | 813 | echo i586-pc-interix${UNAME_RELEASE} |
| 821 | exit ;; | 814 | exit ;; |
| 822 | authenticamd | genuineintel | EM64T) | 815 | EM64T | authenticamd | genuineintel) |
| 823 | echo x86_64-unknown-interix${UNAME_RELEASE} | 816 | echo x86_64-unknown-interix${UNAME_RELEASE} |
| 824 | exit ;; | 817 | exit ;; |
| 825 | IA64) | 818 | IA64) |
| @@ -861,20 +854,6 @@ EOF | |||
| 861 | i*86:Minix:*:*) | 854 | i*86:Minix:*:*) |
| 862 | echo ${UNAME_MACHINE}-pc-minix | 855 | echo ${UNAME_MACHINE}-pc-minix |
| 863 | exit ;; | 856 | exit ;; |
| 864 | alpha:Linux:*:*) | ||
| 865 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in | ||
| 866 | EV5) UNAME_MACHINE=alphaev5 ;; | ||
| 867 | EV56) UNAME_MACHINE=alphaev56 ;; | ||
| 868 | PCA56) UNAME_MACHINE=alphapca56 ;; | ||
| 869 | PCA57) UNAME_MACHINE=alphapca56 ;; | ||
| 870 | EV6) UNAME_MACHINE=alphaev6 ;; | ||
| 871 | EV67) UNAME_MACHINE=alphaev67 ;; | ||
| 872 | EV68*) UNAME_MACHINE=alphaev68 ;; | ||
| 873 | esac | ||
| 874 | objdump --private-headers /bin/sh | grep -q ld.so.1 | ||
| 875 | if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi | ||
| 876 | echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} | ||
| 877 | exit ;; | ||
| 878 | arm*:Linux:*:*) | 857 | arm*:Linux:*:*) |
| 879 | eval $set_cc_for_build | 858 | eval $set_cc_for_build |
| 880 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | 859 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
| @@ -895,18 +874,7 @@ EOF | |||
| 895 | echo crisv32-axis-linux-gnu | 874 | echo crisv32-axis-linux-gnu |
| 896 | exit ;; | 875 | exit ;; |
| 897 | frv:Linux:*:*) | 876 | frv:Linux:*:*) |
| 898 | echo frv-unknown-linux-gnu | 877 | echo frv-unknown-linux-gnu |
| 899 | exit ;; | ||
| 900 | i*86:Linux:*:*) | ||
| 901 | LIBC=gnu | ||
| 902 | eval $set_cc_for_build | ||
| 903 | sed 's/^ //' << EOF >$dummy.c | ||
| 904 | #ifdef __dietlibc__ | ||
| 905 | LIBC=dietlibc | ||
| 906 | #endif | ||
| 907 | EOF | ||
| 908 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` | ||
| 909 | echo "${UNAME_MACHINE}-pc-linux-${LIBC}" | ||
| 910 | exit ;; | 878 | exit ;; |
| 911 | ia64:Linux:*:*) | 879 | ia64:Linux:*:*) |
| 912 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 880 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
| @@ -933,18 +901,39 @@ EOF | |||
| 933 | #endif | 901 | #endif |
| 934 | #endif | 902 | #endif |
| 935 | EOF | 903 | EOF |
| 936 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` | 904 | eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' |
| 905 | /^CPU/{ | ||
| 906 | s: ::g | ||
| 907 | p | ||
| 908 | }'`" | ||
| 937 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } | 909 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } |
| 938 | ;; | 910 | ;; |
| 939 | or32:Linux:*:*) | 911 | or32:Linux:*:*) |
| 940 | echo or32-unknown-linux-gnu | 912 | echo or32-unknown-linux-gnu |
| 941 | exit ;; | 913 | exit ;; |
| 914 | ppc:Linux:*:*) | ||
| 915 | echo powerpc-unknown-linux-gnu | ||
| 916 | exit ;; | ||
| 917 | ppc64:Linux:*:*) | ||
| 918 | echo powerpc64-unknown-linux-gnu | ||
| 919 | exit ;; | ||
| 920 | alpha:Linux:*:*) | ||
| 921 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in | ||
| 922 | EV5) UNAME_MACHINE=alphaev5 ;; | ||
| 923 | EV56) UNAME_MACHINE=alphaev56 ;; | ||
| 924 | PCA56) UNAME_MACHINE=alphapca56 ;; | ||
| 925 | PCA57) UNAME_MACHINE=alphapca56 ;; | ||
| 926 | EV6) UNAME_MACHINE=alphaev6 ;; | ||
| 927 | EV67) UNAME_MACHINE=alphaev67 ;; | ||
| 928 | EV68*) UNAME_MACHINE=alphaev68 ;; | ||
| 929 | esac | ||
| 930 | objdump --private-headers /bin/sh | grep -q ld.so.1 | ||
| 931 | if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi | ||
| 932 | echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} | ||
| 933 | exit ;; | ||
| 942 | padre:Linux:*:*) | 934 | padre:Linux:*:*) |
| 943 | echo sparc-unknown-linux-gnu | 935 | echo sparc-unknown-linux-gnu |
| 944 | exit ;; | 936 | exit ;; |
| 945 | parisc64:Linux:*:* | hppa64:Linux:*:*) | ||
| 946 | echo hppa64-unknown-linux-gnu | ||
| 947 | exit ;; | ||
| 948 | parisc:Linux:*:* | hppa:Linux:*:*) | 937 | parisc:Linux:*:* | hppa:Linux:*:*) |
| 949 | # Look for CPU level | 938 | # Look for CPU level |
| 950 | case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in | 939 | case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in |
| @@ -953,17 +942,14 @@ EOF | |||
| 953 | *) echo hppa-unknown-linux-gnu ;; | 942 | *) echo hppa-unknown-linux-gnu ;; |
| 954 | esac | 943 | esac |
| 955 | exit ;; | 944 | exit ;; |
| 956 | ppc64:Linux:*:*) | 945 | parisc64:Linux:*:* | hppa64:Linux:*:*) |
| 957 | echo powerpc64-unknown-linux-gnu | 946 | echo hppa64-unknown-linux-gnu |
| 958 | exit ;; | ||
| 959 | ppc:Linux:*:*) | ||
| 960 | echo powerpc-unknown-linux-gnu | ||
| 961 | exit ;; | 947 | exit ;; |
| 962 | s390:Linux:*:* | s390x:Linux:*:*) | 948 | s390:Linux:*:* | s390x:Linux:*:*) |
| 963 | echo ${UNAME_MACHINE}-ibm-linux | 949 | echo ${UNAME_MACHINE}-ibm-linux |
| 964 | exit ;; | 950 | exit ;; |
| 965 | sh64*:Linux:*:*) | 951 | sh64*:Linux:*:*) |
| 966 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 952 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 967 | exit ;; | 953 | exit ;; |
| 968 | sh*:Linux:*:*) | 954 | sh*:Linux:*:*) |
| 969 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 955 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
| @@ -971,9 +957,6 @@ EOF | |||
| 971 | sparc:Linux:*:* | sparc64:Linux:*:*) | 957 | sparc:Linux:*:* | sparc64:Linux:*:*) |
| 972 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 958 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 973 | exit ;; | 959 | exit ;; |
| 974 | tile*:Linux:*:*) | ||
| 975 | echo ${UNAME_MACHINE}-tilera-linux-gnu | ||
| 976 | exit ;; | ||
| 977 | vax:Linux:*:*) | 960 | vax:Linux:*:*) |
| 978 | echo ${UNAME_MACHINE}-dec-linux-gnu | 961 | echo ${UNAME_MACHINE}-dec-linux-gnu |
| 979 | exit ;; | 962 | exit ;; |
| @@ -981,8 +964,60 @@ EOF | |||
| 981 | echo x86_64-unknown-linux-gnu | 964 | echo x86_64-unknown-linux-gnu |
| 982 | exit ;; | 965 | exit ;; |
| 983 | xtensa*:Linux:*:*) | 966 | xtensa*:Linux:*:*) |
| 984 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 967 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 985 | exit ;; | 968 | exit ;; |
| 969 | i*86:Linux:*:*) | ||
| 970 | # The BFD linker knows what the default object file format is, so | ||
| 971 | # first see if it will tell us. cd to the root directory to prevent | ||
| 972 | # problems with other programs or directories called `ld' in the path. | ||
| 973 | # Set LC_ALL=C to ensure ld outputs messages in English. | ||
| 974 | ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | ||
| 975 | | sed -ne '/supported targets:/!d | ||
| 976 | s/[ ][ ]*/ /g | ||
| 977 | s/.*supported targets: *// | ||
| 978 | s/ .*// | ||
| 979 | p'` | ||
| 980 | case "$ld_supported_targets" in | ||
| 981 | elf32-i386) | ||
| 982 | TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" | ||
| 983 | ;; | ||
| 984 | esac | ||
| 985 | # Determine whether the default compiler is a.out or elf | ||
| 986 | eval $set_cc_for_build | ||
| 987 | sed 's/^ //' << EOF >$dummy.c | ||
| 988 | #include <features.h> | ||
| 989 | #ifdef __ELF__ | ||
| 990 | # ifdef __GLIBC__ | ||
| 991 | # if __GLIBC__ >= 2 | ||
| 992 | LIBC=gnu | ||
| 993 | # else | ||
| 994 | LIBC=gnulibc1 | ||
| 995 | # endif | ||
| 996 | # else | ||
| 997 | LIBC=gnulibc1 | ||
| 998 | # endif | ||
| 999 | #else | ||
| 1000 | #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) | ||
| 1001 | LIBC=gnu | ||
| 1002 | #else | ||
| 1003 | LIBC=gnuaout | ||
| 1004 | #endif | ||
| 1005 | #endif | ||
| 1006 | #ifdef __dietlibc__ | ||
| 1007 | LIBC=dietlibc | ||
| 1008 | #endif | ||
| 1009 | EOF | ||
| 1010 | eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' | ||
| 1011 | /^LIBC/{ | ||
| 1012 | s: ::g | ||
| 1013 | p | ||
| 1014 | }'`" | ||
| 1015 | test x"${LIBC}" != x && { | ||
| 1016 | echo "${UNAME_MACHINE}-pc-linux-${LIBC}" | ||
| 1017 | exit | ||
| 1018 | } | ||
| 1019 | test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } | ||
| 1020 | ;; | ||
| 986 | i*86:DYNIX/ptx:4*:*) | 1021 | i*86:DYNIX/ptx:4*:*) |
| 987 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. | 1022 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
| 988 | # earlier versions are messed up and put the nodename in both | 1023 | # earlier versions are messed up and put the nodename in both |
| @@ -990,11 +1025,11 @@ EOF | |||
| 990 | echo i386-sequent-sysv4 | 1025 | echo i386-sequent-sysv4 |
| 991 | exit ;; | 1026 | exit ;; |
| 992 | i*86:UNIX_SV:4.2MP:2.*) | 1027 | i*86:UNIX_SV:4.2MP:2.*) |
| 993 | # Unixware is an offshoot of SVR4, but it has its own version | 1028 | # Unixware is an offshoot of SVR4, but it has its own version |
| 994 | # number series starting with 2... | 1029 | # number series starting with 2... |
| 995 | # I am not positive that other SVR4 systems won't match this, | 1030 | # I am not positive that other SVR4 systems won't match this, |
| 996 | # I just have to hope. -- rms. | 1031 | # I just have to hope. -- rms. |
| 997 | # Use sysv4.2uw... so that sysv4* matches it. | 1032 | # Use sysv4.2uw... so that sysv4* matches it. |
| 998 | echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} | 1033 | echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} |
| 999 | exit ;; | 1034 | exit ;; |
| 1000 | i*86:OS/2:*:*) | 1035 | i*86:OS/2:*:*) |
| @@ -1026,7 +1061,7 @@ EOF | |||
| 1026 | fi | 1061 | fi |
| 1027 | exit ;; | 1062 | exit ;; |
| 1028 | i*86:*:5:[678]*) | 1063 | i*86:*:5:[678]*) |
| 1029 | # UnixWare 7.x, OpenUNIX and OpenServer 6. | 1064 | # UnixWare 7.x, OpenUNIX and OpenServer 6. |
| 1030 | case `/bin/uname -X | grep "^Machine"` in | 1065 | case `/bin/uname -X | grep "^Machine"` in |
| 1031 | *486*) UNAME_MACHINE=i486 ;; | 1066 | *486*) UNAME_MACHINE=i486 ;; |
| 1032 | *Pentium) UNAME_MACHINE=i586 ;; | 1067 | *Pentium) UNAME_MACHINE=i586 ;; |
| @@ -1054,13 +1089,13 @@ EOF | |||
| 1054 | exit ;; | 1089 | exit ;; |
| 1055 | pc:*:*:*) | 1090 | pc:*:*:*) |
| 1056 | # Left here for compatibility: | 1091 | # Left here for compatibility: |
| 1057 | # uname -m prints for DJGPP always 'pc', but it prints nothing about | 1092 | # uname -m prints for DJGPP always 'pc', but it prints nothing about |
| 1058 | # the processor, so we play safe by assuming i586. | 1093 | # the processor, so we play safe by assuming i586. |
| 1059 | # Note: whatever this is, it MUST be the same as what config.sub | 1094 | # Note: whatever this is, it MUST be the same as what config.sub |
| 1060 | # prints for the "djgpp" host, or else GDB configury will decide that | 1095 | # prints for the "djgpp" host, or else GDB configury will decide that |
| 1061 | # this is a cross-build. | 1096 | # this is a cross-build. |
| 1062 | echo i586-pc-msdosdjgpp | 1097 | echo i586-pc-msdosdjgpp |
| 1063 | exit ;; | 1098 | exit ;; |
| 1064 | Intel:Mach:3*:*) | 1099 | Intel:Mach:3*:*) |
| 1065 | echo i386-pc-mach3 | 1100 | echo i386-pc-mach3 |
| 1066 | exit ;; | 1101 | exit ;; |
| @@ -1095,8 +1130,8 @@ EOF | |||
| 1095 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ | 1130 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
| 1096 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | 1131 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; |
| 1097 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) | 1132 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |
| 1098 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | 1133 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
| 1099 | && { echo i486-ncr-sysv4; exit; } ;; | 1134 | && { echo i486-ncr-sysv4; exit; } ;; |
| 1100 | NCR*:*:4.2:* | MPRAS*:*:4.2:*) | 1135 | NCR*:*:4.2:* | MPRAS*:*:4.2:*) |
| 1101 | OS_REL='.3' | 1136 | OS_REL='.3' |
| 1102 | test -r /etc/.relid \ | 1137 | test -r /etc/.relid \ |
| @@ -1139,10 +1174,10 @@ EOF | |||
| 1139 | echo ns32k-sni-sysv | 1174 | echo ns32k-sni-sysv |
| 1140 | fi | 1175 | fi |
| 1141 | exit ;; | 1176 | exit ;; |
| 1142 | PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort | 1177 | PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort |
| 1143 | # says <Richard.M.Bartel@ccMail.Census.GOV> | 1178 | # says <Richard.M.Bartel@ccMail.Census.GOV> |
| 1144 | echo i586-unisys-sysv4 | 1179 | echo i586-unisys-sysv4 |
| 1145 | exit ;; | 1180 | exit ;; |
| 1146 | *:UNIX_System_V:4*:FTX*) | 1181 | *:UNIX_System_V:4*:FTX*) |
| 1147 | # From Gerald Hewes <hewes@openmarket.com>. | 1182 | # From Gerald Hewes <hewes@openmarket.com>. |
| 1148 | # How about differentiating between stratus architectures? -djm | 1183 | # How about differentiating between stratus architectures? -djm |
| @@ -1168,11 +1203,11 @@ EOF | |||
| 1168 | exit ;; | 1203 | exit ;; |
| 1169 | R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) | 1204 | R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) |
| 1170 | if [ -d /usr/nec ]; then | 1205 | if [ -d /usr/nec ]; then |
| 1171 | echo mips-nec-sysv${UNAME_RELEASE} | 1206 | echo mips-nec-sysv${UNAME_RELEASE} |
| 1172 | else | 1207 | else |
| 1173 | echo mips-unknown-sysv${UNAME_RELEASE} | 1208 | echo mips-unknown-sysv${UNAME_RELEASE} |
| 1174 | fi | 1209 | fi |
| 1175 | exit ;; | 1210 | exit ;; |
| 1176 | BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. | 1211 | BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. |
| 1177 | echo powerpc-be-beos | 1212 | echo powerpc-be-beos |
| 1178 | exit ;; | 1213 | exit ;; |
| @@ -1212,16 +1247,6 @@ EOF | |||
| 1212 | *:Darwin:*:*) | 1247 | *:Darwin:*:*) |
| 1213 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown | 1248 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
| 1214 | case $UNAME_PROCESSOR in | 1249 | case $UNAME_PROCESSOR in |
| 1215 | i386) | ||
| 1216 | eval $set_cc_for_build | ||
| 1217 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | ||
| 1218 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ | ||
| 1219 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | ||
| 1220 | grep IS_64BIT_ARCH >/dev/null | ||
| 1221 | then | ||
| 1222 | UNAME_PROCESSOR="x86_64" | ||
| 1223 | fi | ||
| 1224 | fi ;; | ||
| 1225 | unknown) UNAME_PROCESSOR=powerpc ;; | 1250 | unknown) UNAME_PROCESSOR=powerpc ;; |
| 1226 | esac | 1251 | esac |
| 1227 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} | 1252 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |
| @@ -1237,9 +1262,6 @@ EOF | |||
| 1237 | *:QNX:*:4*) | 1262 | *:QNX:*:4*) |
| 1238 | echo i386-pc-qnx | 1263 | echo i386-pc-qnx |
| 1239 | exit ;; | 1264 | exit ;; |
| 1240 | NEO-?:NONSTOP_KERNEL:*:*) | ||
| 1241 | echo neo-tandem-nsk${UNAME_RELEASE} | ||
| 1242 | exit ;; | ||
| 1243 | NSE-?:NONSTOP_KERNEL:*:*) | 1265 | NSE-?:NONSTOP_KERNEL:*:*) |
| 1244 | echo nse-tandem-nsk${UNAME_RELEASE} | 1266 | echo nse-tandem-nsk${UNAME_RELEASE} |
| 1245 | exit ;; | 1267 | exit ;; |
| @@ -1285,13 +1307,13 @@ EOF | |||
| 1285 | echo pdp10-unknown-its | 1307 | echo pdp10-unknown-its |
| 1286 | exit ;; | 1308 | exit ;; |
| 1287 | SEI:*:*:SEIUX) | 1309 | SEI:*:*:SEIUX) |
| 1288 | echo mips-sei-seiux${UNAME_RELEASE} | 1310 | echo mips-sei-seiux${UNAME_RELEASE} |
| 1289 | exit ;; | 1311 | exit ;; |
| 1290 | *:DragonFly:*:*) | 1312 | *:DragonFly:*:*) |
| 1291 | echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` | 1313 | echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` |
| 1292 | exit ;; | 1314 | exit ;; |
| 1293 | *:*VMS:*:*) | 1315 | *:*VMS:*:*) |
| 1294 | UNAME_MACHINE=`(uname -p) 2>/dev/null` | 1316 | UNAME_MACHINE=`(uname -p) 2>/dev/null` |
| 1295 | case "${UNAME_MACHINE}" in | 1317 | case "${UNAME_MACHINE}" in |
| 1296 | A*) echo alpha-dec-vms ; exit ;; | 1318 | A*) echo alpha-dec-vms ; exit ;; |
| 1297 | I*) echo ia64-dec-vms ; exit ;; | 1319 | I*) echo ia64-dec-vms ; exit ;; |
| @@ -1331,11 +1353,11 @@ main () | |||
| 1331 | #include <sys/param.h> | 1353 | #include <sys/param.h> |
| 1332 | printf ("m68k-sony-newsos%s\n", | 1354 | printf ("m68k-sony-newsos%s\n", |
| 1333 | #ifdef NEWSOS4 | 1355 | #ifdef NEWSOS4 |
| 1334 | "4" | 1356 | "4" |
| 1335 | #else | 1357 | #else |
| 1336 | "" | 1358 | "" |
| 1337 | #endif | 1359 | #endif |
| 1338 | ); exit (0); | 1360 | ); exit (0); |
| 1339 | #endif | 1361 | #endif |
| 1340 | #endif | 1362 | #endif |
| 1341 | 1363 | ||
diff --git a/config.sub b/autogen/config.sub index 0ef29b072ed..eb0389a693f 100755 --- a/config.sub +++ b/autogen/config.sub | |||
| @@ -1,10 +1,10 @@ | |||
| 1 | #! /bin/sh | 1 | #! /bin/sh |
| 2 | # Configuration validation subroutine script. | 2 | # Configuration validation subroutine script. |
| 3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | 3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
| 4 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | 4 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 |
| 5 | # 2011 Free Software Foundation, Inc. | 5 | # Free Software Foundation, Inc. |
| 6 | 6 | ||
| 7 | timestamp='2011-02-24' | 7 | timestamp='2009-06-11' |
| 8 | 8 | ||
| 9 | # This file is (in principle) common to ALL GNU software. | 9 | # This file is (in principle) common to ALL GNU software. |
| 10 | # The presence of a machine in this file suggests that SOME GNU software | 10 | # The presence of a machine in this file suggests that SOME GNU software |
| @@ -32,16 +32,13 @@ timestamp='2011-02-24' | |||
| 32 | 32 | ||
| 33 | 33 | ||
| 34 | # Please send patches to <config-patches@gnu.org>. Submit a context | 34 | # Please send patches to <config-patches@gnu.org>. Submit a context |
| 35 | # diff and a properly formatted GNU ChangeLog entry. | 35 | # diff and a properly formatted ChangeLog entry. |
| 36 | # | 36 | # |
| 37 | # Configuration subroutine to validate and canonicalize a configuration type. | 37 | # Configuration subroutine to validate and canonicalize a configuration type. |
| 38 | # Supply the specified configuration type as an argument. | 38 | # Supply the specified configuration type as an argument. |
| 39 | # If it is invalid, we print an error message on stderr and exit with code 1. | 39 | # If it is invalid, we print an error message on stderr and exit with code 1. |
| 40 | # Otherwise, we print the canonical config type on stdout and succeed. | 40 | # Otherwise, we print the canonical config type on stdout and succeed. |
| 41 | 41 | ||
| 42 | # You can get the latest version of this script from: | ||
| 43 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD | ||
| 44 | |||
| 45 | # This file is supposed to be the same for all GNU packages | 42 | # This file is supposed to be the same for all GNU packages |
| 46 | # and recognize all the CPU types, system types and aliases | 43 | # and recognize all the CPU types, system types and aliases |
| 47 | # that are meaningful with *any* GNU software. | 44 | # that are meaningful with *any* GNU software. |
| @@ -75,9 +72,8 @@ Report bugs and patches to <config-patches@gnu.org>." | |||
| 75 | version="\ | 72 | version="\ |
| 76 | GNU config.sub ($timestamp) | 73 | GNU config.sub ($timestamp) |
| 77 | 74 | ||
| 78 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | 75 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, |
| 79 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free | 76 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 80 | Software Foundation, Inc. | ||
| 81 | 77 | ||
| 82 | This is free software; see the source for copying conditions. There is NO | 78 | This is free software; see the source for copying conditions. There is NO |
| 83 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | 79 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
| @@ -124,9 +120,8 @@ esac | |||
| 124 | # Here we must recognize all the valid KERNEL-OS combinations. | 120 | # Here we must recognize all the valid KERNEL-OS combinations. |
| 125 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | 121 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
| 126 | case $maybe_os in | 122 | case $maybe_os in |
| 127 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ | 123 | nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ |
| 128 | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ | 124 | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ |
| 129 | knetbsd*-gnu* | netbsd*-gnu* | \ | ||
| 130 | kopensolaris*-gnu* | \ | 125 | kopensolaris*-gnu* | \ |
| 131 | storm-chaos* | os2-emx* | rtmk-nova*) | 126 | storm-chaos* | os2-emx* | rtmk-nova*) |
| 132 | os=-$maybe_os | 127 | os=-$maybe_os |
| @@ -154,12 +149,12 @@ case $os in | |||
| 154 | -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ | 149 | -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
| 155 | -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ | 150 | -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
| 156 | -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ | 151 | -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
| 157 | -apple | -axis | -knuth | -cray | -microblaze) | 152 | -apple | -axis | -knuth | -cray) |
| 158 | os= | 153 | os= |
| 159 | basic_machine=$1 | 154 | basic_machine=$1 |
| 160 | ;; | 155 | ;; |
| 161 | -bluegene*) | 156 | -bluegene*) |
| 162 | os=-cnk | 157 | os=-cnk |
| 163 | ;; | 158 | ;; |
| 164 | -sim | -cisco | -oki | -wec | -winbond) | 159 | -sim | -cisco | -oki | -wec | -winbond) |
| 165 | os= | 160 | os= |
| @@ -175,10 +170,10 @@ case $os in | |||
| 175 | os=-chorusos | 170 | os=-chorusos |
| 176 | basic_machine=$1 | 171 | basic_machine=$1 |
| 177 | ;; | 172 | ;; |
| 178 | -chorusrdb) | 173 | -chorusrdb) |
| 179 | os=-chorusrdb | 174 | os=-chorusrdb |
| 180 | basic_machine=$1 | 175 | basic_machine=$1 |
| 181 | ;; | 176 | ;; |
| 182 | -hiux*) | 177 | -hiux*) |
| 183 | os=-hiuxwe2 | 178 | os=-hiuxwe2 |
| 184 | ;; | 179 | ;; |
| @@ -283,38 +278,26 @@ case $basic_machine in | |||
| 283 | | moxie \ | 278 | | moxie \ |
| 284 | | mt \ | 279 | | mt \ |
| 285 | | msp430 \ | 280 | | msp430 \ |
| 286 | | nds32 | nds32le | nds32be \ | ||
| 287 | | nios | nios2 \ | 281 | | nios | nios2 \ |
| 288 | | ns16k | ns32k \ | 282 | | ns16k | ns32k \ |
| 289 | | or32 \ | 283 | | or32 \ |
| 290 | | pdp10 | pdp11 | pj | pjl \ | 284 | | pdp10 | pdp11 | pj | pjl \ |
| 291 | | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | 285 | | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
| 292 | | pyramid \ | 286 | | pyramid \ |
| 293 | | rx \ | ||
| 294 | | score \ | 287 | | score \ |
| 295 | | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | 288 | | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ |
| 296 | | sh64 | sh64le \ | 289 | | sh64 | sh64le \ |
| 297 | | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | 290 | | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
| 298 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | 291 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
| 299 | | spu | strongarm \ | 292 | | spu | strongarm \ |
| 300 | | tahoe | thumb | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | 293 | | tahoe | thumb | tic4x | tic80 | tron \ |
| 301 | | ubicom32 \ | ||
| 302 | | v850 | v850e \ | 294 | | v850 | v850e \ |
| 303 | | we32k \ | 295 | | we32k \ |
| 304 | | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | 296 | | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ |
| 305 | | z8k | z80) | 297 | | z8k | z80) |
| 306 | basic_machine=$basic_machine-unknown | 298 | basic_machine=$basic_machine-unknown |
| 307 | ;; | 299 | ;; |
| 308 | c54x) | 300 | m6811 | m68hc11 | m6812 | m68hc12) |
| 309 | basic_machine=tic54x-unknown | ||
| 310 | ;; | ||
| 311 | c55x) | ||
| 312 | basic_machine=tic55x-unknown | ||
| 313 | ;; | ||
| 314 | c6x) | ||
| 315 | basic_machine=tic6x-unknown | ||
| 316 | ;; | ||
| 317 | m6811 | m68hc11 | m6812 | m68hc12 | picochip) | ||
| 318 | # Motorola 68HC11/12. | 301 | # Motorola 68HC11/12. |
| 319 | basic_machine=$basic_machine-unknown | 302 | basic_machine=$basic_machine-unknown |
| 320 | os=-none | 303 | os=-none |
| @@ -345,7 +328,7 @@ case $basic_machine in | |||
| 345 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | 328 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
| 346 | | avr-* | avr32-* \ | 329 | | avr-* | avr32-* \ |
| 347 | | bfin-* | bs2000-* \ | 330 | | bfin-* | bs2000-* \ |
| 348 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ | 331 | | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ |
| 349 | | clipper-* | craynv-* | cydra-* \ | 332 | | clipper-* | craynv-* | cydra-* \ |
| 350 | | d10v-* | d30v-* | dlx-* \ | 333 | | d10v-* | d30v-* | dlx-* \ |
| 351 | | elxsi-* \ | 334 | | elxsi-* \ |
| @@ -357,7 +340,7 @@ case $basic_machine in | |||
| 357 | | lm32-* \ | 340 | | lm32-* \ |
| 358 | | m32c-* | m32r-* | m32rle-* \ | 341 | | m32c-* | m32r-* | m32rle-* \ |
| 359 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | 342 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
| 360 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | 343 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ |
| 361 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | 344 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
| 362 | | mips16-* \ | 345 | | mips16-* \ |
| 363 | | mips64-* | mips64el-* \ | 346 | | mips64-* | mips64el-* \ |
| @@ -379,24 +362,21 @@ case $basic_machine in | |||
| 379 | | mmix-* \ | 362 | | mmix-* \ |
| 380 | | mt-* \ | 363 | | mt-* \ |
| 381 | | msp430-* \ | 364 | | msp430-* \ |
| 382 | | nds32-* | nds32le-* | nds32be-* \ | ||
| 383 | | nios-* | nios2-* \ | 365 | | nios-* | nios2-* \ |
| 384 | | none-* | np1-* | ns16k-* | ns32k-* \ | 366 | | none-* | np1-* | ns16k-* | ns32k-* \ |
| 385 | | orion-* \ | 367 | | orion-* \ |
| 386 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | 368 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
| 387 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | 369 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
| 388 | | pyramid-* \ | 370 | | pyramid-* \ |
| 389 | | romp-* | rs6000-* | rx-* \ | 371 | | romp-* | rs6000-* \ |
| 390 | | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | 372 | | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ |
| 391 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | 373 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
| 392 | | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | 374 | | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
| 393 | | sparclite-* \ | 375 | | sparclite-* \ |
| 394 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | 376 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ |
| 395 | | tahoe-* | thumb-* \ | 377 | | tahoe-* | thumb-* \ |
| 396 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | 378 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ |
| 397 | | tile-* | tilegx-* \ | ||
| 398 | | tron-* \ | 379 | | tron-* \ |
| 399 | | ubicom32-* \ | ||
| 400 | | v850-* | v850e-* | vax-* \ | 380 | | v850-* | v850e-* | vax-* \ |
| 401 | | we32k-* \ | 381 | | we32k-* \ |
| 402 | | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | 382 | | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ |
| @@ -424,7 +404,7 @@ case $basic_machine in | |||
| 424 | basic_machine=a29k-amd | 404 | basic_machine=a29k-amd |
| 425 | os=-udi | 405 | os=-udi |
| 426 | ;; | 406 | ;; |
| 427 | abacus) | 407 | abacus) |
| 428 | basic_machine=abacus-unknown | 408 | basic_machine=abacus-unknown |
| 429 | ;; | 409 | ;; |
| 430 | adobe68k) | 410 | adobe68k) |
| @@ -494,20 +474,11 @@ case $basic_machine in | |||
| 494 | basic_machine=powerpc-ibm | 474 | basic_machine=powerpc-ibm |
| 495 | os=-cnk | 475 | os=-cnk |
| 496 | ;; | 476 | ;; |
| 497 | c54x-*) | ||
| 498 | basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
| 499 | ;; | ||
| 500 | c55x-*) | ||
| 501 | basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
| 502 | ;; | ||
| 503 | c6x-*) | ||
| 504 | basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
| 505 | ;; | ||
| 506 | c90) | 477 | c90) |
| 507 | basic_machine=c90-cray | 478 | basic_machine=c90-cray |
| 508 | os=-unicos | 479 | os=-unicos |
| 509 | ;; | 480 | ;; |
| 510 | cegcc) | 481 | cegcc) |
| 511 | basic_machine=arm-unknown | 482 | basic_machine=arm-unknown |
| 512 | os=-cegcc | 483 | os=-cegcc |
| 513 | ;; | 484 | ;; |
| @@ -539,7 +510,7 @@ case $basic_machine in | |||
| 539 | basic_machine=craynv-cray | 510 | basic_machine=craynv-cray |
| 540 | os=-unicosmp | 511 | os=-unicosmp |
| 541 | ;; | 512 | ;; |
| 542 | cr16 | cr16-*) | 513 | cr16) |
| 543 | basic_machine=cr16-unknown | 514 | basic_machine=cr16-unknown |
| 544 | os=-elf | 515 | os=-elf |
| 545 | ;; | 516 | ;; |
| @@ -755,9 +726,6 @@ case $basic_machine in | |||
| 755 | basic_machine=ns32k-utek | 726 | basic_machine=ns32k-utek |
| 756 | os=-sysv | 727 | os=-sysv |
| 757 | ;; | 728 | ;; |
| 758 | microblaze) | ||
| 759 | basic_machine=microblaze-xilinx | ||
| 760 | ;; | ||
| 761 | mingw32) | 729 | mingw32) |
| 762 | basic_machine=i386-pc | 730 | basic_machine=i386-pc |
| 763 | os=-mingw32 | 731 | os=-mingw32 |
| @@ -862,12 +830,6 @@ case $basic_machine in | |||
| 862 | np1) | 830 | np1) |
| 863 | basic_machine=np1-gould | 831 | basic_machine=np1-gould |
| 864 | ;; | 832 | ;; |
| 865 | neo-tandem) | ||
| 866 | basic_machine=neo-tandem | ||
| 867 | ;; | ||
| 868 | nse-tandem) | ||
| 869 | basic_machine=nse-tandem | ||
| 870 | ;; | ||
| 871 | nsr-tandem) | 833 | nsr-tandem) |
| 872 | basic_machine=nsr-tandem | 834 | basic_machine=nsr-tandem |
| 873 | ;; | 835 | ;; |
| @@ -1102,10 +1064,17 @@ case $basic_machine in | |||
| 1102 | basic_machine=t90-cray | 1064 | basic_machine=t90-cray |
| 1103 | os=-unicos | 1065 | os=-unicos |
| 1104 | ;; | 1066 | ;; |
| 1105 | # This must be matched before tile*. | 1067 | tic54x | c54x*) |
| 1106 | tilegx*) | 1068 | basic_machine=tic54x-unknown |
| 1107 | basic_machine=tilegx-unknown | 1069 | os=-coff |
| 1108 | os=-linux-gnu | 1070 | ;; |
| 1071 | tic55x | c55x*) | ||
| 1072 | basic_machine=tic55x-unknown | ||
| 1073 | os=-coff | ||
| 1074 | ;; | ||
| 1075 | tic6x | c6x*) | ||
| 1076 | basic_machine=tic6x-unknown | ||
| 1077 | os=-coff | ||
| 1109 | ;; | 1078 | ;; |
| 1110 | tile*) | 1079 | tile*) |
| 1111 | basic_machine=tile-unknown | 1080 | basic_machine=tile-unknown |
| @@ -1275,12 +1244,9 @@ esac | |||
| 1275 | if [ x"$os" != x"" ] | 1244 | if [ x"$os" != x"" ] |
| 1276 | then | 1245 | then |
| 1277 | case $os in | 1246 | case $os in |
| 1278 | # First match some system type aliases | 1247 | # First match some system type aliases |
| 1279 | # that might get confused with valid system types. | 1248 | # that might get confused with valid system types. |
| 1280 | # -solaris* is a basic system type, with this one exception. | 1249 | # -solaris* is a basic system type, with this one exception. |
| 1281 | -auroraux) | ||
| 1282 | os=-auroraux | ||
| 1283 | ;; | ||
| 1284 | -solaris1 | -solaris1.*) | 1250 | -solaris1 | -solaris1.*) |
| 1285 | os=`echo $os | sed -e 's|solaris1|sunos4|'` | 1251 | os=`echo $os | sed -e 's|solaris1|sunos4|'` |
| 1286 | ;; | 1252 | ;; |
| @@ -1302,8 +1268,8 @@ case $os in | |||
| 1302 | # -sysv* is not here because it comes later, after sysvr4. | 1268 | # -sysv* is not here because it comes later, after sysvr4. |
| 1303 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | 1269 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
| 1304 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | 1270 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
| 1305 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | 1271 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ |
| 1306 | | -sym* | -kopensolaris* \ | 1272 | | -kopensolaris* \ |
| 1307 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | 1273 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
| 1308 | | -aos* | -aros* \ | 1274 | | -aos* | -aros* \ |
| 1309 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | 1275 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
| @@ -1316,8 +1282,7 @@ case $os in | |||
| 1316 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | 1282 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
| 1317 | | -chorusos* | -chorusrdb* | -cegcc* \ | 1283 | | -chorusos* | -chorusrdb* | -cegcc* \ |
| 1318 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | 1284 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
| 1319 | | -mingw32* | -linux-gnu* | -linux-android* \ | 1285 | | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ |
| 1320 | | -linux-newlib* | -linux-uclibc* \ | ||
| 1321 | | -uxpv* | -beos* | -mpeix* | -udk* \ | 1286 | | -uxpv* | -beos* | -mpeix* | -udk* \ |
| 1322 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | 1287 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
| 1323 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | 1288 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
| @@ -1325,7 +1290,7 @@ case $os in | |||
| 1325 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | 1290 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
| 1326 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | 1291 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
| 1327 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | 1292 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
| 1328 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) | 1293 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) |
| 1329 | # Remember, each alternative MUST END IN *, to match a version number. | 1294 | # Remember, each alternative MUST END IN *, to match a version number. |
| 1330 | ;; | 1295 | ;; |
| 1331 | -qnx*) | 1296 | -qnx*) |
| @@ -1364,7 +1329,7 @@ case $os in | |||
| 1364 | -opened*) | 1329 | -opened*) |
| 1365 | os=-openedition | 1330 | os=-openedition |
| 1366 | ;; | 1331 | ;; |
| 1367 | -os400*) | 1332 | -os400*) |
| 1368 | os=-os400 | 1333 | os=-os400 |
| 1369 | ;; | 1334 | ;; |
| 1370 | -wince*) | 1335 | -wince*) |
| @@ -1413,7 +1378,7 @@ case $os in | |||
| 1413 | -sinix*) | 1378 | -sinix*) |
| 1414 | os=-sysv4 | 1379 | os=-sysv4 |
| 1415 | ;; | 1380 | ;; |
| 1416 | -tpf*) | 1381 | -tpf*) |
| 1417 | os=-tpf | 1382 | os=-tpf |
| 1418 | ;; | 1383 | ;; |
| 1419 | -triton*) | 1384 | -triton*) |
| @@ -1458,8 +1423,6 @@ case $os in | |||
| 1458 | -dicos*) | 1423 | -dicos*) |
| 1459 | os=-dicos | 1424 | os=-dicos |
| 1460 | ;; | 1425 | ;; |
| 1461 | -nacl*) | ||
| 1462 | ;; | ||
| 1463 | -none) | 1426 | -none) |
| 1464 | ;; | 1427 | ;; |
| 1465 | *) | 1428 | *) |
| @@ -1482,10 +1445,10 @@ else | |||
| 1482 | # system, and we'll never get to this point. | 1445 | # system, and we'll never get to this point. |
| 1483 | 1446 | ||
| 1484 | case $basic_machine in | 1447 | case $basic_machine in |
| 1485 | score-*) | 1448 | score-*) |
| 1486 | os=-elf | 1449 | os=-elf |
| 1487 | ;; | 1450 | ;; |
| 1488 | spu-*) | 1451 | spu-*) |
| 1489 | os=-elf | 1452 | os=-elf |
| 1490 | ;; | 1453 | ;; |
| 1491 | *-acorn) | 1454 | *-acorn) |
| @@ -1497,17 +1460,8 @@ case $basic_machine in | |||
| 1497 | arm*-semi) | 1460 | arm*-semi) |
| 1498 | os=-aout | 1461 | os=-aout |
| 1499 | ;; | 1462 | ;; |
| 1500 | c4x-* | tic4x-*) | 1463 | c4x-* | tic4x-*) |
| 1501 | os=-coff | 1464 | os=-coff |
| 1502 | ;; | ||
| 1503 | tic54x-*) | ||
| 1504 | os=-coff | ||
| 1505 | ;; | ||
| 1506 | tic55x-*) | ||
| 1507 | os=-coff | ||
| 1508 | ;; | ||
| 1509 | tic6x-*) | ||
| 1510 | os=-coff | ||
| 1511 | ;; | 1465 | ;; |
| 1512 | # This must come before the *-dec entry. | 1466 | # This must come before the *-dec entry. |
| 1513 | pdp10-*) | 1467 | pdp10-*) |
| @@ -1534,7 +1488,7 @@ case $basic_machine in | |||
| 1534 | m68*-cisco) | 1488 | m68*-cisco) |
| 1535 | os=-aout | 1489 | os=-aout |
| 1536 | ;; | 1490 | ;; |
| 1537 | mep-*) | 1491 | mep-*) |
| 1538 | os=-elf | 1492 | os=-elf |
| 1539 | ;; | 1493 | ;; |
| 1540 | mips*-cisco) | 1494 | mips*-cisco) |
| @@ -1561,7 +1515,7 @@ case $basic_machine in | |||
| 1561 | *-ibm) | 1515 | *-ibm) |
| 1562 | os=-aix | 1516 | os=-aix |
| 1563 | ;; | 1517 | ;; |
| 1564 | *-knuth) | 1518 | *-knuth) |
| 1565 | os=-mmixware | 1519 | os=-mmixware |
| 1566 | ;; | 1520 | ;; |
| 1567 | *-wec) | 1521 | *-wec) |
diff --git a/autogen/copy_autogen b/autogen/copy_autogen index 2096636c38b..a0daf9f02e5 100755 --- a/autogen/copy_autogen +++ b/autogen/copy_autogen | |||
| @@ -16,6 +16,7 @@ if test ! -e config.in; then | |||
| 16 | fi | 16 | fi |
| 17 | 17 | ||
| 18 | ## Order implied by top-level Makefile's rules, for time-stamps. | 18 | ## Order implied by top-level Makefile's rules, for time-stamps. |
| 19 | cp compile config.guess config.sub depcomp install-sh missing ../ | ||
| 19 | cp aclocal.m4 ../ | 20 | cp aclocal.m4 ../ |
| 20 | cp configure ../ | 21 | cp configure ../ |
| 21 | touch ../src/stamp-h.in | 22 | touch ../src/stamp-h.in |
diff --git a/depcomp b/autogen/depcomp index df8eea7e4ce..df8eea7e4ce 100755 --- a/depcomp +++ b/autogen/depcomp | |||
diff --git a/install-sh b/autogen/install-sh index a9244eb0786..6781b987bdb 100755 --- a/install-sh +++ b/autogen/install-sh | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | # install - install a program, script, or datafile | 2 | # install - install a program, script, or datafile |
| 3 | 3 | ||
| 4 | scriptversion=2011-01-19.21; # UTC | 4 | scriptversion=2009-04-28.21; # UTC |
| 5 | 5 | ||
| 6 | # This originates from X11R5 (mit/util/scripts/install.sh), which was | 6 | # This originates from X11R5 (mit/util/scripts/install.sh), which was |
| 7 | # later released in X11R6 (xc/config/util/install.sh) with the | 7 | # later released in X11R6 (xc/config/util/install.sh) with the |
| @@ -156,10 +156,6 @@ while test $# -ne 0; do | |||
| 156 | -s) stripcmd=$stripprog;; | 156 | -s) stripcmd=$stripprog;; |
| 157 | 157 | ||
| 158 | -t) dst_arg=$2 | 158 | -t) dst_arg=$2 |
| 159 | # Protect names problematic for `test' and other utilities. | ||
| 160 | case $dst_arg in | ||
| 161 | -* | [=\(\)!]) dst_arg=./$dst_arg;; | ||
| 162 | esac | ||
| 163 | shift;; | 159 | shift;; |
| 164 | 160 | ||
| 165 | -T) no_target_directory=true;; | 161 | -T) no_target_directory=true;; |
| @@ -190,10 +186,6 @@ if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then | |||
| 190 | fi | 186 | fi |
| 191 | shift # arg | 187 | shift # arg |
| 192 | dst_arg=$arg | 188 | dst_arg=$arg |
| 193 | # Protect names problematic for `test' and other utilities. | ||
| 194 | case $dst_arg in | ||
| 195 | -* | [=\(\)!]) dst_arg=./$dst_arg;; | ||
| 196 | esac | ||
| 197 | done | 189 | done |
| 198 | fi | 190 | fi |
| 199 | 191 | ||
| @@ -208,11 +200,7 @@ if test $# -eq 0; then | |||
| 208 | fi | 200 | fi |
| 209 | 201 | ||
| 210 | if test -z "$dir_arg"; then | 202 | if test -z "$dir_arg"; then |
| 211 | do_exit='(exit $ret); exit $ret' | 203 | trap '(exit $?); exit' 1 2 13 15 |
| 212 | trap "ret=129; $do_exit" 1 | ||
| 213 | trap "ret=130; $do_exit" 2 | ||
| 214 | trap "ret=141; $do_exit" 13 | ||
| 215 | trap "ret=143; $do_exit" 15 | ||
| 216 | 204 | ||
| 217 | # Set umask so as not to create temps with too-generous modes. | 205 | # Set umask so as not to create temps with too-generous modes. |
| 218 | # However, 'strip' requires both read and write access to temps. | 206 | # However, 'strip' requires both read and write access to temps. |
| @@ -240,9 +228,9 @@ fi | |||
| 240 | 228 | ||
| 241 | for src | 229 | for src |
| 242 | do | 230 | do |
| 243 | # Protect names problematic for `test' and other utilities. | 231 | # Protect names starting with `-'. |
| 244 | case $src in | 232 | case $src in |
| 245 | -* | [=\(\)!]) src=./$src;; | 233 | -*) src=./$src;; |
| 246 | esac | 234 | esac |
| 247 | 235 | ||
| 248 | if test -n "$dir_arg"; then | 236 | if test -n "$dir_arg"; then |
| @@ -264,7 +252,12 @@ do | |||
| 264 | echo "$0: no destination specified." >&2 | 252 | echo "$0: no destination specified." >&2 |
| 265 | exit 1 | 253 | exit 1 |
| 266 | fi | 254 | fi |
| 255 | |||
| 267 | dst=$dst_arg | 256 | dst=$dst_arg |
| 257 | # Protect names starting with `-'. | ||
| 258 | case $dst in | ||
| 259 | -*) dst=./$dst;; | ||
| 260 | esac | ||
| 268 | 261 | ||
| 269 | # If destination is a directory, append the input filename; won't work | 262 | # If destination is a directory, append the input filename; won't work |
| 270 | # if double slashes aren't ignored. | 263 | # if double slashes aren't ignored. |
| @@ -392,7 +385,7 @@ do | |||
| 392 | 385 | ||
| 393 | case $dstdir in | 386 | case $dstdir in |
| 394 | /*) prefix='/';; | 387 | /*) prefix='/';; |
| 395 | [-=\(\)!]*) prefix='./';; | 388 | -*) prefix='./';; |
| 396 | *) prefix='';; | 389 | *) prefix='';; |
| 397 | esac | 390 | esac |
| 398 | 391 | ||
| @@ -410,7 +403,7 @@ do | |||
| 410 | 403 | ||
| 411 | for d | 404 | for d |
| 412 | do | 405 | do |
| 413 | test X"$d" = X && continue | 406 | test -z "$d" && continue |
| 414 | 407 | ||
| 415 | prefix=$prefix$d | 408 | prefix=$prefix$d |
| 416 | if test -d "$prefix"; then | 409 | if test -d "$prefix"; then |
diff --git a/missing b/autogen/missing index 28055d2ae6f..28055d2ae6f 100755 --- a/missing +++ b/autogen/missing | |||
diff --git a/autogen/update_autogen b/autogen/update_autogen index de525a9f4a2..795d5295939 100755 --- a/autogen/update_autogen +++ b/autogen/update_autogen | |||
| @@ -68,7 +68,7 @@ quiet= | |||
| 68 | 68 | ||
| 69 | ## Parameters. | 69 | ## Parameters. |
| 70 | sources="configure.in lib/Makefile.am" | 70 | sources="configure.in lib/Makefile.am" |
| 71 | genfiles="configure aclocal.m4 src/config.in lib/Makefile.in" | 71 | genfiles="configure aclocal.m4 src/config.in lib/Makefile.in compile config.guess config.sub depcomp install-sh missing" |
| 72 | 72 | ||
| 73 | for g in $genfiles; do | 73 | for g in $genfiles; do |
| 74 | basegen="$basegen ${g##*/}" | 74 | basegen="$basegen ${g##*/}" |
| @@ -126,7 +126,18 @@ done < $tempfile | |||
| 126 | 126 | ||
| 127 | echo "Running autoreconf..." | 127 | echo "Running autoreconf..." |
| 128 | 128 | ||
| 129 | autoreconf -I m4 || die "autoreconf error" | 129 | autoreconf -i -I m4 2>| $tempfile |
| 130 | |||
| 131 | retval=$? | ||
| 132 | |||
| 133 | ## Annoyingly, autoreconf puts the "installing `./foo' messages on stderr. | ||
| 134 | if [ "$quiet" ]; then | ||
| 135 | grep -v 'installing `\.' $tempfile 1>&2 | ||
| 136 | else | ||
| 137 | cat "$tempfile" 1>&2 | ||
| 138 | fi | ||
| 139 | |||
| 140 | [ $retval -ne 0 ] && die "autoreconf error" | ||
| 130 | 141 | ||
| 131 | 142 | ||
| 132 | cp $genfiles autogen/ | 143 | cp $genfiles autogen/ |