From 31e9b972c51bd17132fcc179ff7a917e1c2ec066 Mon Sep 17 00:00:00 2001 From: srittau Date: Sat, 24 Nov 2001 18:32:31 +0000 Subject: [PATCH] PAM cleanups, removed unused USE_SHADOWPW conditional. --- configure.in | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/configure.in b/configure.in index af642f3a..fb8940d1 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.130 2001-11-23 22:45:23 srittau Exp $ +dnl $Id: configure.in,v 1.131 2001-11-24 18:32:31 srittau Exp $ dnl configure.in for netatalk AC_INIT(bin/adv1tov2/adv1tov2.c) @@ -305,20 +305,19 @@ AC_ARG_WITH(pam, [PAM_MSG="yes"] ) AC_MSG_RESULT($PAM_MSG) + use_pam_so=no compile_pam=no - if test "x$PAM_MSG" = "xyes"; then if test "x$ac_cv_header_security_pam_appl_h" = "xyes" ; then - - AC_CHECK_LIB(pam, pam_set_item, - [PAPD_LIBS="$PAPD_LIBS -lpam"; AFPD_LIBS="$AFPD_LIBS -lpam"; use_pam_so=yes; compile_pam=yes; AC_DEFINE(USE_PAM)], - [use_pam_so=no; compile_pam=no] - ) + AC_CHECK_LIB(pam, pam_set_item, [ + PAPD_LIBS="$PAPD_LIBS -lpam" + AFPD_LIBS="$AFPD_LIBS -lpam" + use_pam_so=yes + compile_pam=yes + AC_DEFINE(USE_PAM) + ]) fi -else - use_pam_so=no - compile_pam=no fi AC_MSG_CHECKING([whether shadow support should be enabled]) @@ -659,7 +658,6 @@ AM_CONDITIONAL(USE_PGP, test x$compile_pgp = xyes) AM_CONDITIONAL(USE_COBALT, test x$sysv_style = xcobalt) AM_CONDITIONAL(USE_REDHAT, test x$sysv_style = xredhat) AM_CONDITIONAL(USE_SUSE, test x$sysv_style = xsuse) -AM_CONDITIONAL(USE_SHADOWPW, test x$shadowpw = xyes) AM_CONDITIONAL(USE_TRU64, test x$sysv_style = xtru64) dnl --------------------- generate files -- 2.39.2