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:
parent
49c923a99d
commit
e143afb050
@ -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@
|
||||
|
||||
|
@ -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],
|
||||
|
Loading…
x
Reference in New Issue
Block a user