summaryrefslogtreecommitdiff
path: root/net/ja-samba/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/ja-samba/patches/patch-ab')
-rw-r--r--net/ja-samba/patches/patch-ab15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/ja-samba/patches/patch-ab b/net/ja-samba/patches/patch-ab
new file mode 100644
index 00000000000..4b21ec1599b
--- /dev/null
+++ b/net/ja-samba/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.3 2003/03/29 08:18:48 taca Exp $
+
+--- configure.in.orig 2003-02-05 15:14:44.000000000 +0900
++++ configure.in
+@@ -2060,6 +2060,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)