]> arthur.barton.de Git - netatalk.git/commitdiff
Properly add -lpam to LDFLAGS (thanks, Sebastian).
authorjmarcus <jmarcus>
Wed, 10 Oct 2001 20:19:18 +0000 (20:19 +0000)
committerjmarcus <jmarcus>
Wed, 10 Oct 2001 20:19:18 +0000 (20:19 +0000)
ChangeLog
configure.in
etc/uams/Makefile.am

index 15de1ce4d0105682bd72dab7513804197e875f1d..3c620da3db6e4fd780eb759b0397bd734a49dd22 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 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>
 
index 53b1b721a4315af328af4f2d64601c217032e0ae..fb785e9a83373dccacb47fc4d8b992bc53aed53a 100644 (file)
@@ -1,4 +1,4 @@
-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)
@@ -353,7 +353,7 @@ 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, 
-                               [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
index f046a01b3b444131fe24bb072595c0264fdeabfd..9c593d2b66cb7da4fd956515a767ab931d199b2a 100644 (file)
@@ -51,10 +51,10 @@ uams_dhx_pam_la_SOURCES    = uams_dhx_pam.c
 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