Partial port of the server to OpenBSD and NetBSD/i386.
This commit is contained in:
+10
-4
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user