summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-12-04 11:07:55 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-12-04 11:07:55 +0000
commitaf95af9e7e56c7db3b71e2f428d6249c529b4d34 (patch)
tree526dc90a6984184ed111e3b12b6b027e0ef40f98 /lang
parentAdd 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')
-rw-r--r--lang/egcs/files/patch-aj15
-rw-r--r--lang/gcc295/files/patch-aj15
2 files changed, 30 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/[-_].*/\./'`
diff --git a/lang/gcc295/files/patch-aj b/lang/gcc295/files/patch-aj
new file mode 100644
index 000000000000..4f4d9f994ec7
--- /dev/null
+++ b/lang/gcc295/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/[-_].*/\./'`