1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2024-11-29 00:24:11 +01:00

Merge branch 'pr-203'

This commit is contained in:
Klas Lindfors 2019-12-09 08:40:29 +01:00
commit 5803e4e578
No known key found for this signature in database
GPG Key ID: BCA00FD4B2168C0A
2 changed files with 11 additions and 0 deletions

View File

@ -58,6 +58,7 @@ endif
ykpamcfg_SOURCES = ykpamcfg.c
ykpamcfg_LDADD = libpam_util.la
if ENABLE_DOC
if YKPERS
dist_man1_MANS = ykpamcfg.1
endif
@ -78,6 +79,8 @@ SUFFIXES = .1.txt .1 .8.txt .8
$(A2X) -L --format=manpage -a revdate="Version $(VERSION)" $<
endif
if ENABLE_COV
AM_CFLAGS += --coverage
AM_LDFLAGS = --coverage

View File

@ -50,6 +50,14 @@ AC_CHECK_LIB([pam], [pam_start], [AC_SUBST([LIBPAM], ["-lpam"])])
AC_SEARCH_LIBS([pam_modutil_drop_priv], ["pam"], [AC_DEFINE([HAVE_PAM_MODUTIL_DROP_PRIV], [1])])
# --disable-documentation
AC_ARG_ENABLE([documentation],
[AS_HELP_STRING([--disable-documentation],
[do not build documentation])],
[enable_doc="${enableval}" ],
[enable_doc="yes"])
AM_CONDITIONAL(ENABLE_DOC, test "$enable_doc" != "no")
AC_ARG_WITH([ldap],
[AS_HELP_STRING([--without-ldap],
[disable support for ldap])],