From ed90f0f643eeb0b51a2bd62989828b1dafdbc226 Mon Sep 17 00:00:00 2001 From: marschap Date: Mon, 28 Feb 2005 11:18:47 +0000 Subject: [PATCH] check only once for sched_setscheduler and i386_get_ioperm in the same lib --- configure.in | 4 ---- 1 file changed, 4 deletions(-) diff --git a/configure.in b/configure.in index 744052f..3e7b724 100644 --- a/configure.in +++ b/configure.in @@ -94,24 +94,20 @@ ETR_UNION_SEMUN dnl sched_setscheduler on OpenBSD AC_CHECK_FUNCS(sched_setscheduler) -AC_CHECK_LIB(posix4, sched_setscheduler) AC_CHECK_LIB(posix4, sched_setscheduler, [ AC_DEFINE([HAVE_SCHED_SETSCHEDULER],[1], [Define if you have the sched_setscheduler function.]) ]) -AC_CHECK_LIB(rt, sched_setscheduler) AC_CHECK_LIB(rt, sched_setscheduler, [ AC_DEFINE([HAVE_SCHED_SETSCHEDULER],[1], [Define if you have the sched_setscheduler function.]) ]) dnl i386_get_ioperm on NetBSD&OpenBSD -AC_CHECK_LIB(i386, i386_get_ioperm) 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_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.]),