mariadb/plugin/auth/plug.in
Georgi Kodinov 881a76699e WL#1054: Pluggable authentication support
Merged the implementation to a new base tree.
2010-08-09 11:32:50 +03:00

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)