blob: a74da301d492ed424ef7edd2d019a1e73e651c20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ab,v 1.5 2003/08/30 01:31:13 taca Exp $
--- configure.in.orig 2003-08-22 17:45:59.000000000 +0900
+++ configure.in
@@ -2328,6 +2328,10 @@ AC_ARG_WITH(pam,
# we can't build a pam module if we don't have pam.
AC_CHECK_LIB(pam, pam_get_data, [AC_DEFINE(HAVE_LIBPAM)])
+dnl Checks for libraries.
+AC_CHECK_LIB(c, __libc_sched_setscheduler, PAM_NEEDS_LIBC=, PAM_NEEDS_LIBC=-lc)
+AC_SUBST(PAM_NEEDS_LIBC)
+
#################################################
# check for pam_smbpass support
AC_MSG_CHECKING(whether to use pam_smbpass)
|