$NetBSD: patch-ab,v 1.3 2016/02/16 08:46:01 leot Exp $ Check for sched_get_priority_max being in -lrt. --- configure.in.orig 2014-08-30 02:32:27.000000000 +0000 +++ configure.in @@ -95,7 +95,10 @@ AC_CHECK_HEADERS([fcntl.h string.h strin AC_MSG_ERROR([Can't find required header files.])) AC_CHECK_HEADERS([sys/select.h byteswap.h]) -AC_CHECK_FUNCS([sched_get_priority_max]) +AC_CHECK_FUNCS([sched_get_priority_max], , + [AC_CHECK_LIB([rt], + [sched_get_priority_max], + [EXTRA_LIBS="$EXTRA_LIBS -lrt"])]) dnl langinfo AC_CHECK_HEADERS([langinfo.h])