Undo Brian's last commit as it was broken (removes Linux support, ...)

This commit is contained in:
mainzelm 2006-03-02 21:32:31 +00:00
parent a3f0a3ffb9
commit 4702963425
1 changed files with 16 additions and 17 deletions

View File

@ -268,22 +268,18 @@ AC_INIT(c/scheme48vm.c)
AIX_P="exportlist.aix"
;;
## NetBSD, FreeBSD, OpenBSD, Darwin/MacOS X ( and maybe 386BSD also)
*-*-*bsd*|*-*-darwin* )
dir=bsd
SCSH_ELF
## Linux
*-*-linux* )
dir=linux
# gross, but needed for some older a.out systems for 0.4.x
LIBS=-lc
SCSH_ELF
;;
## interix (aka Microsoft Windows Services for Unix)
*-*-interix* )
dir=bsd
AC_DEFINE(_ALL_SOURCE, 1, [Define to 1 on interix to get MAXHOSTNAMELEN])
;;
## NetBSD, FreeBSD, OpenBSD, Darwin/MacOS X ( and maybe 386BSD also)
*-*-*bsd*|*-*-darwin* )
dir=bsd
SCSH_ELF
## NetBSD and FreeBSD ( and maybe 386BSD also)
*-*-*bsd*|*-*-darwin* )
dir=bsd
SCSH_ELF
;;
## NeXT
@ -308,6 +304,7 @@ AC_INIT(c/scheme48vm.c)
## Solaris - Sparc and i386
*-*-solaris* )
dir=solaris
AC_DEFINE(HAVE_NLIST)
;;
## NT - cygwin32
@ -347,8 +344,10 @@ esac
S48_POSIX_LIBC
AC_CONST
AC_RETSIGTYPE
AC_CHECK_HEADERS(sys/select.h crypt.h)
AC_CHECK_FUNCS(select sigaction vasprintf sync)
AC_CHECK_HEADERS(libgen.h sys/timeb.h posix/time.h sys/select.h nlist.h)
AC_CHECK_HEADERS(sys/un.h)
AC_CHECK_HEADERS(crypt.h)
AC_CHECK_FUNCS(gettimeofday ftime nlist select setitimer sigaction vasprintf)
SCSH_SOCKLEN_T
AC_CHECK_FUNC(dlopen, [AC_DEFINE(HAVE_DLOPEN,
1, [Define to 1 if the interface to the dynamic linker exists])
@ -356,7 +355,7 @@ esac
[AC_CHECK_FUNC(nlist, [AC_LIBOBJ([c/fake/libdl1])],
[AC_LIBOBJ([c/fake/libdl2])])
have_dlopen="no"])
AC_CHECK_FUNCS()
AC_CHECK_FUNCS(socket chroot)
AC_CHECK_FUNC(strerror, AC_DEFINE(HAVE_STRERROR,
1, [Define to 1 if you have the strerror function]),
[AC_LIBOBJ([c/fake/strerror])])