summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorNicolas FRANCOIS <nekral-guest@users.alioth.debian.org>2007-03-28 21:32:23 +0000
committerNicolas FRANCOIS <nekral-guest@users.alioth.debian.org>2007-03-28 21:32:23 +0000
commit10e84d929aa16b0ce76dc1cb2772533faffa412a (patch)
tree9ea8749244e27fafcc7521bd77d6e5f5e2bd8af6 /m4
parent64a3f7c8065d439d8a859bb79113713a0d392e3a (diff)
downloaddpkg-10e84d929aa16b0ce76dc1cb2772533faffa412a.tar.gz
Revert revision 691 (Add support for PAM sessions in start-stop-daemon.)
With daemons (i.e. except when --background is used), the session is closed too early. #376165 and #406942 will be tagged wontfix. Thanks to Guillem Jover for noticing.
Diffstat (limited to 'm4')
-rw-r--r--m4/libs.m431
1 files changed, 0 insertions, 31 deletions
diff --git a/m4/libs.m4 b/m4/libs.m4
index 1cbfd60a0..3a1531b35 100644
--- a/m4/libs.m4
+++ b/m4/libs.m4
@@ -108,34 +108,3 @@ AC_CHECK_LIB([ps], [proc_stat_list_create], [SSD_LIBS="${SSD_LIBS:+$SSD_LIBS }-l
AC_CHECK_LIB([shouldbeinlibc], [fmt_past_time], [SSD_LIBS="${SSD_LIBS:+$SSD_LIBS }-lshouldbeinlibc"])
AC_CHECK_LIB([kvm], [kvm_openfiles], [SSD_LIBS="${SSD_LIBS:+$SSD_LIBS }-lkvm"])
])# DPKG_LIB_SSD
-
-# DPKG_LIB_PAM
-# ------------
-# Check for pam library.
-AC_DEFUN([DPKG_LIB_PAM],
-[AC_ARG_VAR([PAM_LIBS], [linker flags for pam library])dnl
-AC_ARG_WITH(pam,
- AS_HELP_STRING([--with-pam],
- [use pam library for opening PAM sessions with start-stop-daemon]))
-if test "x$with_pam" != "xno"; then
- AC_CHECK_LIB([pam], [pam_start],
- [AC_DEFINE(WITH_PAM, 1,
- [Define to 1 to use PAM sessions in start-stop-daemon])
- if test "x$with_pam" = "xstatic"; then
- dpkg_pam_libs="-Wl,-Bstatic -lpam -lpam_misc -Wl,-Bdynamic"
- else
- dpkg_pam_libs="-lpam -lpam_misc"
- fi
- PAM_LIBS="${PAM_LIBS:+$PAM_LIBS }$dpkg_pam_libs"
- with_pam="yes"],
- [if test -n "$with_pam"; then
- AC_MSG_FAILURE([pam library not found])
- fi])
-
- AC_CHECK_HEADER([security/pam_appl.h],,
- [if test -n "$with_pam"; then
- AC_MSG_FAILURE([pam header not found])
- fi])
-fi
-])# DPKG_LIB_PAM
-