]> git.pld-linux.org Git - packages/cyrus-sasl.git/blame - cyrus-sasl-pam.patch
- add db 5.3 and 5.2 to the search list
[packages/cyrus-sasl.git] / cyrus-sasl-pam.patch
CommitLineData
d5f50d50
JR
1--- cyrus-sasl-2.1.23/configure.in~ 2011-08-03 14:03:05.002703513 +0200
2+++ cyrus-sasl-2.1.23/configure.in 2011-08-03 14:03:13.561703511 +0200
3@@ -263,27 +263,7 @@
4 with_pam=yes)
5 if test "$with_pam" != no; then
6 AC_CHECK_HEADERS(security/pam_appl.h pam/pam_appl.h)
7- cmu_save_LIBS="$LIBS"
8- AC_CHECK_FUNC(pam_start, :,
9- LIBS="-lpam $LIBS"
10- AC_TRY_LINK([[
11-#include <sys/types.h>
12-#ifdef HAVE_PAM_PAM_APPL_H
13-#include <pam/pam_appl.h>
14-#endif
15-#ifdef HAVE_SECURITY_PAM_H
16-#include <security/pam_appl.h>
17-#endif]],[[
18-const char *service="foo";
19-const char *user="bar";
20-pam_handle_t *pamh;
21-struct pam_conv *conv;
22-int baz;
23-baz = pam_start(service, user, conv, &pamh);
24-return 0;
25-]], LIBPAM="-lpam")
26-)
27- LIBS="$cmu_save_LIBS $LIBPAM"
28+ AC_CHECK_LIB(pam, pam_start, LIBS="$LIBS -lpam")
29 fi
30
31 AC_ARG_WITH(saslauthd, [ --with-saslauthd=DIR enable use of the saslauth daemon using state dir DIR ],
This page took 0.032415 seconds and 4 git commands to generate.