]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
1994-04-06 Ben Elliston <bje@cygnus.com>
authorBen Elliston <bje+keyword+gnu.7caf74@air.net.au>
Mon, 5 Apr 1999 07:05:59 +0000 (07:05 +0000)
committerBen Elliston <bje+keyword+gnu.7caf74@air.net.au>
Mon, 5 Apr 1999 07:05:59 +0000 (07:05 +0000)
* config.guess: Avoid the possibility of `ld' on GNU/Linux
systems being something other than the GNU linker (such as a
directory, in the case of GNU binutils).

ChangeLog
config.guess

index 83eb05b11ac7d30368fe770fbecd828a4ea3d23b..b4315d04507fc8c039a8118fb856cf99f61586bd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,12 @@
+1994-04-06  Ben Elliston  <bje@cygnus.com>
+
+       * config.guess: Avoid the possibility of `ld' on GNU/Linux systems
+       being something other than the GNU linker (such as a directory, in
+       the case of GNU binutils).
+
 1999-04-05  Ben Elliston  <bje@cygnus.com>
 
-       * config.sub: Add modern Alpha processors.
+       * config.sub: Add modern Alpha processors. Reorganise.
 
        * acspecific.m4 (AC_CYGWIN): Do not remove conftest*; let
        AC_TRY_COMPILE clean up after itself.
index bb6276ce5cfc4cf26e45cbcac51b5439d5565f1b..244b0a4051c5fb26cc45bc1b5a47f4e4ea70d9a6 100755 (executable)
@@ -607,8 +607,9 @@ EOF
        esac
 
        # The BFD linker knows what the default object file format is, so
-       # first see if it will tell us.
-       ld_help_string=`ld --help 2>&1`
+       # first see if it will tell us. cd to the root directory to prevent
+       # problems with other programs or directories called `ld' in the path.
+       ld_help_string=`cd /; ld --help 2>&1`
        ld_supported_emulations=`echo $ld_help_string \
                         | sed -ne '/supported emulations:/!d
                                    s/[         ][      ]*/ /g