1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2025-01-31 16:52:19 +01:00

Look for libykpers-1, which we will need for challenge-response

This commit is contained in:
Tollef Fog Heen 2011-03-12 15:47:22 +01:00
parent 49c923a99d
commit e143afb050
2 changed files with 4 additions and 1 deletions

View File

@ -34,8 +34,9 @@ lib_LTLIBRARIES = pam_yubico.la
pam_yubico_la_SOURCES = pam_yubico.c
# XXX add -Wl,-x too? PAM documentation suggests it.
pam_yubico_la_LIBADD = @LTLIBYKCLIENT@ @LIBLDAP@
pam_yubico_la_LIBADD = @LTLIBYKCLIENT@ @LIBLDAP@ @YKPERS_LIBS@
pam_yubico_la_LDFLAGS = -module -avoid-version
pam_yubico_la_CPPFLAGS = @YKPERS_CFLAGS@
DEFS = -DDEBUG_PAM -DPAM_DEBUG @DEFS@

View File

@ -64,6 +64,8 @@ if test "$ac_cv_libykclient" != yes; then
AC_MSG_ERROR([[Libykclient v2.4+ required, see http://code.google.com/p/yubico-c-client/]])
fi
PKG_CHECK_MODULES([YKPERS], [ykpers-1]);
AC_SUBST(PAMDIR, "\$(exec_prefix)/lib/security")
AC_ARG_WITH(pam-dir,
AC_HELP_STRING([--with-pam-dir=DIR],