Partial port of the server to OpenBSD and NetBSD/i386.

This commit is contained in:
gfk
2001-12-25 19:28:54 +00:00
parent 1778464b0f
commit 09b4ff9271
4 changed files with 212 additions and 45 deletions
+10 -4
View File
@@ -23,10 +23,10 @@ AC_ARG_ENABLE(debug,
AC_MSG_RESULT($debug)
if test $debug = "yes"; then
dnl Enable debugging information
CFLAGS="-g"
dnl Enable debugging information with minimal optimisation
CFLAGS="-g -O"
else
dnl Maximum optimization
dnl Maximum optimisation
CFLAGS="-O3"
fi
CFLAGS="-Wall $CFLAGS"
@@ -65,10 +65,16 @@ AC_CHECK_LIB(kvm, kvm_open,[
fi
])
dnl NetBSD, OpenBSD and FreeBSD
AC_CHECK_HEADERS(sched.h sys/types.h machine/pio.h machine/sysarch.h)
AC_CHECK_LIB(i386, i386_get_ioperm)
ETR_SYSV_IPC
ETR_UNION_SEMUN
dnl Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h)
AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h sys/io.h)
dnl Check for particular preprocessor macros