FreeBSD's i386_get_ioperm implemented.

This commit is contained in:
gfk
2002-04-29 23:24:14 +00:00
parent cfe1bd1a1e
commit ca70ceb048
2 changed files with 52 additions and 4 deletions
+11 -1
View File
@@ -83,10 +83,20 @@ AC_CHECK_LIB(kvm, kvm_open,[
dnl NetBSD, OpenBSD and FreeBSD
AC_CHECK_HEADERS(sched.h sys/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 i386_get_ioperm on NetBSD&OpenBSD
AC_CHECK_LIB(i386, i386_get_ioperm,
AC_DEFINE([HAVE_I386_IOPERM_NETBSD],[1],
[Define if you have the NetBSD&OpenBSD version of i386_ioperm functions.]),[
dnl i386_get_ioperm on FreeBSD
AC_CHECK_LIB(c, i386_get_ioperm,
AC_DEFINE([HAVE_I386_IOPERM_FREEBSD],[1],
[Define if you have the FreeBSD version of the i386_ioperm functions.]),
[])]
)
dnl Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC