diff options
| author | Michael Meissner | 1995-04-27 18:35:38 +0000 |
|---|---|---|
| committer | Michael Meissner | 1995-04-27 18:35:38 +0000 |
| commit | c40b6c821117cd8090fbe17cd319fcb5c6386ff0 (patch) | |
| tree | 4f543bb5b365004b1d61411035a36defc63a178e | |
| parent | e301e82eb8c9a7fb27c76419a2730a36c10259eb (diff) | |
| download | emacs-c40b6c821117cd8090fbe17cd319fcb5c6386ff0.tar.gz emacs-c40b6c821117cd8090fbe17cd319fcb5c6386ff0.zip | |
Support for pre-BFD versions of Linux ld.
| -rwxr-xr-x | config.guess | 9 |
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 | |||
| 300 | echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` | 300 | echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` |
| 301 | exit 0 ;; | 301 | exit 0 ;; |
| 302 | *:Linux:*:*) | 302 | *:Linux:*:*) |
| 303 | # Determine whether the default compiler is a.out or elf | 303 | # Systems without a BFD linker |
| 304 | if test -d /usr/lib/ldscripts/. ; then | ||
| 305 | : | ||
| 306 | else | ||
| 307 | echo "${UNAME_MACHINE}-unknown-linuxoldld" | ||
| 308 | exit 0 | ||
| 309 | fi | ||
| 310 | # Determine whether the default compiler is a.out or elf | ||
| 304 | cat >dummy.c <<EOF | 311 | cat >dummy.c <<EOF |
| 305 | main(argc, argv) | 312 | main(argc, argv) |
| 306 | int argc; | 313 | int argc; |