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