diff options
author | Nick Clifton <nickc@redhat.com> | 2010-11-23 13:39:56 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2010-11-23 13:39:56 +0000 |
commit | 1ea28f93096b52e567354608f1dadc6a40745c23 (patch) | |
tree | d5e54a237b2c80ed6c28cc11e15efa002ab4c8fc /ld/configure | |
parent | 08b3718ebbc98dd4abdb34b535ae180c93faa450 (diff) | |
download | binutils-redhat-1ea28f93096b52e567354608f1dadc6a40745c23.tar.gz |
* configure.ac: For --enable-gold, handle value `default' instead of
`both*'. New configure option --{en,dis}able-ld.
ld, gold/
* configure.ac: For --enable-gold, handle value `default' instead of
`both*'. Always install ld as ld.gold, install as ld if gold is
the default.
Diffstat (limited to 'ld/configure')
-rwxr-xr-x | ld/configure | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ld/configure b/ld/configure index 3367a88a32..088c721de7 100755 --- a/ld/configure +++ b/ld/configure @@ -1414,7 +1414,7 @@ Optional Features: (and sometimes confusing) to the casual installer --enable-targets alternative target configurations --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) - --enable-gold[=ARG] build gold [ARG={both}[/{gold,ld}]] + --enable-gold[=ARG] build gold [ARG={default,yes,no}] --enable-got=<type> GOT handling scheme (target, single, negative, multigot) --enable-werror treat compile warnings as errors @@ -4179,11 +4179,11 @@ fi # Check whether --enable-gold was given. if test "${enable_gold+set}" = set; then : enableval=$enable_gold; case "${enableval}" in - yes|both/gold) + default) install_as_default=no installed_linker=ld.bfd ;; - both|both/ld) + yes|no) install_as_default=yes installed_linker=ld.bfd ;; @@ -4192,8 +4192,8 @@ if test "${enable_gold+set}" = set; then : ;; esac else - install_as_default=ld - installed_linker=ld + install_as_default=yes + installed_linker=ld.bfd fi |