Autoconf fixes for Net/FreeBSD (M. Dolze)

This commit is contained in:
marschap
2007-09-08 13:26:16 +00:00
parent 150b089d08
commit 04dbba2c7a
3 changed files with 10 additions and 2 deletions
+1
View File
@@ -22,6 +22,7 @@ v.0.5dev (ongoing development)
* serialPOS driver: input support, cleanup (Eric Pooch)
+ new driver shuttleVFD for USB-based Shuttle VFDs (Thien Vu)
* enable building lcdproc client on FreeBSD AMD64 platform (M. Dolze)
* Autoconf fixes for Net/FreeBSD (M. Dolze)
v.0.5.2
* fix switching on/off the Load screen in lcdproc client using the menu
+1 -1
View File
@@ -48,7 +48,7 @@
#include <sys/ucred.h>
#include <sys/mount.h>
#include <sys/dkstat.h>
#include <sys/sched.h>
#include <sched.h>
#include <uvm/uvm_extern.h>
#include <machine/apmvar.h>
#include <errno.h>
+8 -1
View File
@@ -107,10 +107,17 @@ AC_CHECK_LIB(kvm, kvm_open,[
])
dnl NetBSD, OpenBSD and FreeBSD
AC_CHECK_HEADERS(sched.h sys/sched.h machine/cpufunc.h sys/types.h machine/pio.h machine/sysarch.h sys/cpuvar.h machine/apm_bios.h)
AC_CHECK_HEADERS(sched.h sys/types.h machine/pio.h machine/sysarch.h sys/cpuvar.h machine/apm_bios.h)
ETR_SYSV_IPC
ETR_UNION_SEMUN
dnl machine/cpufunc.h needs additional header on FreeBSD
AC_CHECK_HEADERS([machine/cpufunc.h], [], [],
[[#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
]])
dnl sched_setscheduler on OpenBSD
AC_CHECK_FUNCS(sched_setscheduler)
AC_CHECK_LIB(posix4, sched_setscheduler, [