From 4a47a768c65926272bd5c4b8911148d9390c20b7 Mon Sep 17 00:00:00 2001 From: bdc Date: Sat, 4 Nov 1995 21:10:51 +0000 Subject: [PATCH] *** empty log message *** --- Makefile.in | 6 +++--- configure | 2 +- dynload.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile.in b/Makefile.in index d18895b..665b74e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -56,7 +56,7 @@ distdir = /users/ftp/pub/s48 # really needed if you want to build the linker or rebuild initial.image. include $(srcdir)/filenames.make # -#NetBSD make wants to see this instead: (or use GNU make on BSD. -bri) +# Berkeley make wants to see this instead: (or use GNU make on BSD. -bri) #.include "$(srcdir)/filenames.make" @@ -103,7 +103,7 @@ SCSHVMHACKS = proc2.o # postgcstub.o SCSHOBJS = \ scsh/dirstuff1.o \ scsh/fdports1.o \ - scsh/flock.o scsh/flock1.o \ + scsh/flock.o scsh/flock1.o \ scsh/jcontrol2.o scsh/jcontrol1.o \ scsh/machine/stdio_dep.o \ scsh/machine/time_dep1.o \ @@ -171,7 +171,7 @@ scsh/syscalls.o: scsh/syscalls1.h scsh/dirstuff1.h scsh/fdports1.h \ scsh/select1.h scsh/userinfo1.h include $(srcdir)/scsh/machine/Makefile.inc -#NetBSD make wants to see this instead: (or use GNU make on BSD. -bri) +# Berkeley make wants to see this instead: (or use GNU make on BSD. -bri) #.include "$(srcdir)/scsh/machine/Makefile.inc" $(VM): main.o $(OBJS) $(AIX_P) diff --git a/configure b/configure index a49764c..5a5ab5d 100755 --- a/configure +++ b/configure @@ -923,7 +923,7 @@ fi ;; - ## NetBSD and FreeBSD( and maybe 386BSD also) + ## NetBSD and FreeBSD ( and maybe 386BSD also) *-*-*bsd* ) dir=bsd ;; diff --git a/dynload.c b/dynload.c index b519fb0..bc962c7 100644 --- a/dynload.c +++ b/dynload.c @@ -29,7 +29,7 @@ #include #include -#ifdef __NetBSD__ +#if defined(__NetBSD__) || defined(__FreeBSD__) #include #include #else @@ -96,7 +96,7 @@ dynamic_load(char*sharedobjname) return -1; }; newhandle=dlopen(pathname, S48_DLOPEN_MODE); -#if defined(__NetBSD__) +#if defined(__NetBSD__) || defined(__FreeBSD__) if (newhandle == -1) { fprintf(stderr, " dynamic_load of %s can't dlopen %s", sharedobjname, pathname);