diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1998-12-04 11:07:55 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1998-12-04 11:07:55 +0000 |
commit | af95af9e7e56c7db3b71e2f428d6249c529b4d34 (patch) | |
tree | 526dc90a6984184ed111e3b12b6b027e0ef40f98 /lang/egcs | |
parent | Add OSREL to tail end of ${ARCH}-unknown-freebsd to get a properly formed (diff) |
Fix configure scripts to it correctly detects an ELF system w/o having to
be forced.
Submitted by: Niall Smart <nialls@euristix.ie> (w/changes by me)
Notes
Notes:
svn path=/head/; revision=15104
Diffstat (limited to 'lang/egcs')
-rw-r--r-- | lang/egcs/files/patch-aj | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/egcs/files/patch-aj b/lang/egcs/files/patch-aj new file mode 100644 index 000000000000..4f4d9f994ec7 --- /dev/null +++ b/lang/egcs/files/patch-aj @@ -0,0 +1,15 @@ +--- config.guess.orig Fri Oct 23 14:26:33 1998 ++++ config.guess Thu Dec 3 20:56:57 1998 +@@ -474,7 +474,11 @@ + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} + exit 0 ;; + *:FreeBSD:*:*) +- echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ++ if test -x /usr/bin/objformat -a "elf" = "`/usr/bin/objformat`"; then ++ echo ${UNAME_MACHINE}-unknown-freebsdelf`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ++ else ++ echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ++ fi + exit 0 ;; + *:NetBSD:*:*) + echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` |