FreeBSD's i386_get_ioperm implemented.
This commit is contained in:
+11
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user