mirror of
https://github.com/MariaDB/server.git
synced 2026-04-18 14:25:32 +02:00
HAVE_STRNDUP check for pam plugin
This commit is contained in:
parent
c39877071a
commit
52108aa70c
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue