diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-02-23 07:50:43 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-02-23 07:50:43 +0100 |
commit | 52108aa70c968d8a75adcbd66d8a88aaa3e1b0ad (patch) | |
tree | 51057283f445c8a72a080104d0c5490cfa4dd8d2 /plugin | |
parent | c39877071a5ce8ba3c8dc7a1963e3c542e6cc83b (diff) | |
download | mariadb-git-52108aa70c968d8a75adcbd66d8a88aaa3e1b0ad.tar.gz |
HAVE_STRNDUP check for pam plugin
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/auth_pam/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/auth_pam/CMakeLists.txt b/plugin/auth_pam/CMakeLists.txt index 74ad76de78b..f75c2f01f06 100644 --- a/plugin/auth_pam/CMakeLists.txt +++ b/plugin/auth_pam/CMakeLists.txt @@ -1,6 +1,8 @@ INCLUDE (CheckIncludeFiles) +INCLUDE (CheckFunctionExists) CHECK_INCLUDE_FILES (security/pam_appl.h HAVE_PAM_APPL_H) +CHECK_FUNCTION_EXISTS (strndup HAVE_STRNDUP) IF(HAVE_PAM_APPL_H) MYSQL_ADD_PLUGIN(auth_pam auth_pam.c LINK_LIBRARIES pam MODULE_ONLY) |