]> code.delx.au - gnu-emacs/commitdiff
Support for pre-BFD versions of Linux ld.
authorMichael Meissner <gnu@the-meissners.org>
Thu, 27 Apr 1995 18:35:38 +0000 (18:35 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Thu, 27 Apr 1995 18:35:38 +0000 (18:35 +0000)
config.guess

index d27eee7fd061fef44e509736e59848c979f256ba..f002f48361e1eadf3512e53d837e9875ab896d32 100755 (executable)
@@ -300,7 +300,14 @@ EOF
        echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
        exit 0 ;;
     *:Linux:*:*)
-       # Determine whether the default compiler is a.out or elf
+       # Systems without a BFD linker
+       if test -d /usr/lib/ldscripts/. ; then
+         :
+       else
+         echo "${UNAME_MACHINE}-unknown-linuxoldld"
+         exit 0
+       fi
+       # Determine whether the default compiler is a.out or elf
        cat >dummy.c <<EOF
 main(argc, argv)
 int argc;