From: Taylor R. Campbell Date: Fri, 22 Jun 2007 08:09:25 +0000 (+0000) Subject: Add initial trivial configuration for OpenBSD. X-Git-Tag: 20090517-FFI~508 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=e96c53f02d9b614c944f4a411aa8ded20a239fec;p=mit-scheme.git Add initial trivial configuration for OpenBSD. This works well enough to build Scheme with liarc; whether there are other bugs lurking, I don't know, but I imagine that it is probably OK. --- diff --git a/v7/src/microcode/configure.ac b/v7/src/microcode/configure.ac index 6ff27515b..66bab9c80 100644 --- a/v7/src/microcode/configure.ac +++ b/v7/src/microcode/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT([MIT/GNU Scheme microcode], [15.1], [bug-mit-scheme@gnu.org], [mit-scheme]) -AC_REVISION([$Id: configure.ac,v 1.51 2007/06/22 02:31:20 cph Exp $]) +AC_REVISION([$Id: configure.ac,v 1.52 2007/06/22 08:09:25 riastradh Exp $]) AC_CONFIG_SRCDIR([boot.c]) AC_CONFIG_HEADERS([config.h]) AC_PROG_MAKE_SET @@ -836,6 +836,10 @@ netbsd*) LDFLAGS="${LDFLAGS} ${FOO}" fi ;; +openbsd*) + M4_FLAGS="${M4_FLAGS} -P SUPPRESS_LEADING_UNDERSCORE,1" + DO_GCC_TEST=yes + ;; solaris*) if test ${GCC} = yes; then DO_GCC_TESTS=yes diff --git a/v7/src/microcode/ux.h b/v7/src/microcode/ux.h index f4caa52f9..ad141423c 100644 --- a/v7/src/microcode/ux.h +++ b/v7/src/microcode/ux.h @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: ux.h,v 1.83 2007/04/22 16:31:23 cph Exp $ +$Id: ux.h,v 1.84 2007/06/22 08:09:25 riastradh Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -76,6 +76,10 @@ USA. # define SYSTEM_VARIANT "NeXT" #endif +#ifdef __OpenBSD__ +# define SYSTEM_VARIANT "OpenBSD" +#endif + #ifdef __osf__ # define SYSTEM_VARIANT "OSF" #endif