summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-04-27 18:35:38 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-04-27 18:35:38 +0000
commitac7b3ae54fad8c7cf9f6258af4af452aaa123af8 (patch)
tree88902c703e5df7b0e062a5fb90f1612a09e0615a /config.guess
parent0ef21fb71bb87a8b592cdbd9b220027ba36a0d88 (diff)
downloademacs-ac7b3ae54fad8c7cf9f6258af4af452aaa123af8.tar.gz
Support for pre-BFD versions of Linux ld.
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess9
1 files changed, 8 insertions, 1 deletions
diff --git a/config.guess b/config.guess
index d27eee7fd06..f002f48361e 100755
--- a/config.guess
+++ b/config.guess
@@ -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;