2001-10-10 joe c <marcus@marcuscom.com>
* configure.in: More PAM fixes
+ * etc/uams/Makefile.am: Properly add -lpam (thanks, Sebastian)
2001-10-09 joe c <marcus@marcuscom.com>
-dnl $Id: configure.in,v 1.112 2001-10-10 18:29:19 jmarcus Exp $
+dnl $Id: configure.in,v 1.113 2001-10-10 20:19:18 jmarcus Exp $
dnl configure.in for netatalk
AC_INIT(bin/adv1tov2/adv1tov2.c)
if test "x$ac_cv_header_security_pam_appl_h" = "xyes" ; then
AC_CHECK_LIB(pam, pam_set_item,
- [LIBS="$LIBS -lpam"; use_pam_so=yes; compile_pam=yes; AC_DEFINE(USE_PAM)],
+ [use_pam_so=yes; compile_pam=yes; AC_DEFINE(USE_PAM)],
[use_pam_so=no; compile_pam=no]
)
fi
uams_guest_la_LDFLAGS = -module -avoid-version
uams_randnum_la_LDFLAGS = -module -avoid-version
uams_passwd_la_LDFLAGS = -module -avoid-version
-uams_pam_la_LDFLAGS = -module -avoid-version
+uams_pam_la_LDFLAGS = -lpam -module -avoid-version
uams_pgp_la_LDFLAGS = -module -avoid-version
uams_dhx_passwd_la_LDFLAGS = -module -avoid-version
-uams_dhx_pam_la_LDFLAGS = -module -avoid-version
+uams_dhx_pam_la_LDFLAGS = -lpam -module -avoid-version
#
# module compilation