summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGES3
-rwxr-xr-xconfig5
2 files changed, 8 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 0f457c0c31..f69e6ed152 100644
--- a/CHANGES
+++ b/CHANGES
@@ -5,6 +5,9 @@
Changes between 0.9.01c and 0.9.1d
+ *) Autodetect FreeBSD3.
+ [Ben Laurie]
+
*) Fix various bugs in Configure. This affects the following platforms:
nextstep
ncr-scde
diff --git a/config b/config
index f403a22451..0416a5ad88 100755
--- a/config
+++ b/config
@@ -125,6 +125,10 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in
echo "${MACHINE}-whatever-bsdi"; exit 0
;;
+ FreeBSD:3*:*:*)
+ echo "${MACHINE}-whatever-freebsd3"; exit 0
+ ;;
+
FreeBSD:*:*:*486*)
echo "i486-whatever-freebsd"; exit 0
;;
@@ -304,6 +308,7 @@ case "$GUESSOS" in
sun4*-sun-solaris2) OUT="solaris-sparc-$CC" ;;
*86*-sun-solaris2) OUT="solaris-x86-$CC" ;;
*-*-sunos4) OUT="sunos-$CC" ;;
+ *-freebsd3) OUT="FreeBSD-elf" ;;
*-freebsd) OUT="FreeBSD" ;;
*86*-*-netbsd) OUT="NetBSD-x86" ;;
sun3*-*-netbsd) OUT="NetBSD-m68" ;;