--- configure.ac +++ configure.ac @@ -1307,6 +1307,7 @@ AC_CHECK_LIB(pam, pam_start, [ alpine_c_client_target="lnp" + LIBS="$LIBS -lpam" ], [ if test -f /etc/shadow ; then