diff options
author | Andreas Schneider <asn@samba.org> | 2017-03-29 15:51:06 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2017-04-06 08:35:36 +0200 |
commit | cccdca57f275799ee86e189196f0b2642243c763 (patch) | |
tree | b10a067cb61d2abbbd94fc2627d01c4384d34820 | |
parent | 247260d3f944c3dade6c52a18d18ccd248659380 (diff) | |
download | pam_wrapper-cccdca57f275799ee86e189196f0b2642243c763.tar.gz pam_wrapper-cccdca57f275799ee86e189196f0b2642243c763.tar.xz pam_wrapper-cccdca57f275799ee86e189196f0b2642243c763.zip |
cmake: Do not check for pam_(v)syslog twice
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jakub Hrozek <jakub.hrozek@posteo.se>
Reviewed-by: Ralph Boehme <slow@samba.org>
-rw-r--r-- | ConfigureChecks.cmake | 5 | ||||
-rw-r--r-- | config.h.cmake | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index f3383f9..2fdd296 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -46,11 +46,6 @@ check_function_exists(strncpy HAVE_STRNCPY) check_function_exists(vsnprintf HAVE_VSNPRINTF) check_function_exists(snprintf HAVE_SNPRINTF) -set(CMAKE_REQUIRED_LIBRARIES pam) -check_function_exists(pam_vsyslog HAVE_PAM_VSYSLOG) -check_function_exists(pam_syslog HAVE_PAM_SYSLOG) -set(CMAKE_REQUIRED_LIBRARIES) - check_prototype_definition(pam_vprompt "int pam_vprompt(const pam_handle_t *_pamh, int _style, char **_resp, const char *_fmt, va_list _ap)" "-1" diff --git a/config.h.cmake b/config.h.cmake index 9888219..513b885 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -20,8 +20,6 @@ #cmakedefine HAVE_SECURITY_PAM_MODULES_H 1 #cmakedefine HAVE_SECURITY_PAM_EXT_H 1 #cmakedefine HAVE_OPENPAM ${HAVE_OPENPAM} -#cmakedefine HAVE_PAM_SYSLOG 1 -#cmakedefine HAVE_PAM_VSYSLOG 1 /*************************** FUNCTIONS ***************************/ |