diff options
author | etheisen <etheisen@cvs.openbsd.org> | 1996-03-16 04:20:22 +0000 |
---|---|---|
committer | etheisen <etheisen@cvs.openbsd.org> | 1996-03-16 04:20:22 +0000 |
commit | c96242f4b8d6ec9200c877ab81058c34eaaebda2 (patch) | |
tree | dc01ad7629dd79f56bc60aea08f7a60b7edeceea /gnu/lib | |
parent | 65d627bd038cc785592bcbbb1bba1d77d3e30b5d (diff) |
Allow standard GNU build with openbsd.
Diffstat (limited to 'gnu/lib')
-rw-r--r-- | gnu/lib/libg++/config.guess | 18 | ||||
-rw-r--r-- | gnu/lib/libg++/config.sub | 6 | ||||
-rw-r--r-- | gnu/lib/libg++/configure.in | 3 | ||||
-rw-r--r-- | gnu/lib/libg++/etc/Makefile.in | 4 | ||||
-rw-r--r-- | gnu/lib/libg++/etc/configure.1 (renamed from gnu/lib/libg++/etc/configure.man) | 0 | ||||
-rw-r--r-- | gnu/lib/libg++/libg++/src/CursesW.h | 2 |
6 files changed, 29 insertions, 4 deletions
diff --git a/gnu/lib/libg++/config.guess b/gnu/lib/libg++/config.guess index 2ff0eba28ac..985cae0ee93 100644 --- a/gnu/lib/libg++/config.guess +++ b/gnu/lib/libg++/config.guess @@ -65,6 +65,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in amiga:NetBSD:*:*) echo m68k-cbm-netbsd${UNAME_RELEASE} exit 0 ;; + amiga:OpenBSD:*:*) + echo m68k-cbm-openbsd${UNAME_RELEASE} + exit 0 ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit 0;; @@ -108,6 +111,15 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in mac68k:NetBSD:*:*) echo m68k-apple-netbsd${UNAME_RELEASE} exit 0 ;; + atari*:OpenBSD:*:*) + echo m68k-atari-openbsd${UNAME_RELEASE} + exit 0 ;; + sun3*:OpenBSD:*:*) + echo m68k-sun-openbsd${UNAME_RELEASE} + exit 0 ;; + mac68k:OpenBSD:*:*) + echo m68k-apple-openbsd${UNAME_RELEASE} + exit 0 ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit 0 ;; @@ -303,6 +315,9 @@ EOF hp3[0-9][05]:NetBSD:*:*) echo m68k-hp-netbsd${UNAME_RELEASE} exit 0 ;; + hp3[0-9][05]:OpenBSD:*:*) + echo m68k-hp-openbsd${UNAME_RELEASE} + exit 0 ;; i[34]86:BSD/386:*:* | *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit 0 ;; @@ -312,6 +327,9 @@ EOF *:NetBSD:*:*) echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` exit 0 ;; + *:OpenBSD:*:*) + echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + exit 0 ;; *:GNU:*:*) echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit 0 ;; diff --git a/gnu/lib/libg++/config.sub b/gnu/lib/libg++/config.sub index d731da06f7b..a1da2a9f0c2 100644 --- a/gnu/lib/libg++/config.sub +++ b/gnu/lib/libg++/config.sub @@ -461,6 +461,10 @@ case $basic_machine in basic_machine=i386-unknown # CYGNUS LOCAL os=-netbsd ;; + openbsd386) + basic_machine=i386-unknown # CYGNUS LOCAL + os=-openbsd + ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos @@ -809,7 +813,7 @@ case $os in | -amigados* | -msdos* | -moss* | -newsos* | -unicos* | -aos* \ | -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \ | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix* | -lites* \ + | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* | -lites* \ | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta | -udi | -eabi*) ;; diff --git a/gnu/lib/libg++/configure.in b/gnu/lib/libg++/configure.in index 5f665354b67..3032d10cc2b 100644 --- a/gnu/lib/libg++/configure.in +++ b/gnu/lib/libg++/configure.in @@ -446,6 +446,9 @@ case "${target}" in m68k-*-netbsd*) noconfigdirs="$noconfigdirs gdb" ;; + m68k-*-openbsd*) + noconfigdirs="$noconfigdirs gdb" + ;; m68k-apollo-*) noconfigdirs="$noconfigdirs ld binutils gprof" ;; diff --git a/gnu/lib/libg++/etc/Makefile.in b/gnu/lib/libg++/etc/Makefile.in index 699ada6ae9a..add43804f7d 100644 --- a/gnu/lib/libg++/etc/Makefile.in +++ b/gnu/lib/libg++/etc/Makefile.in @@ -43,8 +43,8 @@ DVIFILES = configure.dvi standards.dvi cfg-paper.dvi all: -install: $(srcdir)/configure.man - $(INSTALL_DATA) $(srcdir)/configure.man $(man1dir)/configure.1 +install: $(srcdir)/configure.1 + $(INSTALL_DATA) $(srcdir)/configure.1 $(man1dir)/configure.1 uninstall: cd $(infodir) && rm -f configure.info* standards.info* cfg-paper.info* diff --git a/gnu/lib/libg++/etc/configure.man b/gnu/lib/libg++/etc/configure.1 index 0761854dc43..0761854dc43 100644 --- a/gnu/lib/libg++/etc/configure.man +++ b/gnu/lib/libg++/etc/configure.1 diff --git a/gnu/lib/libg++/libg++/src/CursesW.h b/gnu/lib/libg++/libg++/src/CursesW.h index 5bff08df258..b2564699c46 100644 --- a/gnu/lib/libg++/libg++/src/CursesW.h +++ b/gnu/lib/libg++/libg++/src/CursesW.h @@ -25,7 +25,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include <_G_config.h> -#if defined(__bsdi__) || defined(__NetBSD__) || defined(__FreeBSD__) +#if defined(__bsdi__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) #define _begx begx #define _begy begy #define _maxx maxx |