]> arthur.barton.de Git - netatalk.git/blobdiff - configure.in
Properly add -lpam to LDFLAGS (thanks, Sebastian).
[netatalk.git] / configure.in
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