mirror of
https://github.com/MariaDB/server.git
synced 2025-02-23 13:53:10 +01:00
12 lines
423 B
Text
12 lines
423 B
Text
MYSQL_PLUGIN(auth, [Collection of Authentication Plugins],
|
|
[Collection of Authentication Plugins])
|
|
MYSQL_PLUGIN_DYNAMIC(auth, [dialog.la auth_test_plugin.la])
|
|
AC_COMPILE_IFELSE([
|
|
AC_LANG_PROGRAM([[
|
|
#define _GNU_SOURCE
|
|
#include <sys/socket.h>
|
|
]],[
|
|
struct ucred cred;
|
|
getsockopt(0, SOL_SOCKET, SO_PEERCRED, &cred, 0);
|
|
])],have_peercred=yes)
|
|
AM_CONDITIONAL(HAVE_PEERCRED, test x$have_peercred = xyes)
|