Use the updated config.guess and config.sub instead of patching.

ok pvalchev@
This commit is contained in:
drahn 2002-03-08 06:06:21 +00:00
parent e16438647f
commit ca8cd1593c
3 changed files with 9 additions and 30 deletions

View File

@ -1,13 +0,0 @@
$OpenBSD: patch-configure_guess,v 1.1.1.1 2000/09/21 16:07:22 espie Exp $
--- configure.guess.orig Tue Sep 19 16:17:51 2000
+++ configure.guess Tue Sep 19 16:16:35 2000
@@ -319,6 +319,9 @@ EOF
*:FreeBSD:*:*)
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
exit 0 ;;
+ *:OpenBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+ exit 0 ;;
*:NetBSD:*:*)
echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
exit 0 ;;

View File

@ -1,8 +1,12 @@
$OpenBSD: patch-configure_in,v 1.3 2001/12/31 09:40:44 espie Exp $
--- configure.in.orig Mon Aug 16 00:29:43 1999
+++ configure.in Sat Dec 29 22:21:07 2001
@@ -5,24 +5,22 @@ cp $srcdir/configure.sub $srcdir/config.
$OpenBSD: patch-configure_in,v 1.4 2002/03/08 06:06:21 drahn Exp $
--- configure.in.orig Sun Aug 15 17:29:43 1999
+++ configure.in Thu Mar 7 23:31:11 2002
@@ -1,28 +1,23 @@
AC_INIT(interface/interface.c)
-cp $srcdir/configure.guess $srcdir/config.guess
-cp $srcdir/configure.sub $srcdir/config.sub
-
AC_CANONICAL_HOST
-if test -z "$CC"; then
@ -31,7 +35,7 @@ $OpenBSD: patch-configure_in,v 1.3 2001/12/31 09:40:44 espie Exp $
esac
fi
@@ -63,11 +61,14 @@ fi
@@ -63,11 +58,14 @@ fi
AC_CHECK_HEADERS(linux/sbpcd.h, SBPCD_H="-DSBPCD_H='1' ")
AC_CHECK_HEADERS(linux/ucdrom.h, UCDROM_H="-DUCDROM_H='1' ")

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-configure_sub,v 1.1.1.1 2000/09/21 16:07:22 espie Exp $
--- configure.sub.orig Tue Sep 19 16:18:13 2000
+++ configure.sub Tue Sep 19 16:16:35 2000
@@ -638,7 +638,7 @@ case $os in
| -amigados* | -msdos* | -newsos* | -unicos* | -aos* \
| -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \
| -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \
- | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix* \
+ | -hiux* | -386bsd* | -openbsd* | -netbsd* | -freebsd* | -riscix* \
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
| -udi* | -eabi* | -lites* )