1
DRIZZLE_PLUGIN(auth_http,[HTTP Authentication Plugin],
2
[HTTP based authentications])
3
DRIZZLE_PLUGIN_DYNAMIC(auth_http, [libauth_http.la])
4
DRIZZLE_PLUGIN_STATIC(auth_http, [libauth_http.a])
5
DRIZZLE_PLUGIN_MANDATORY(auth_http) dnl Default
7
DRIZZLE_PLUGIN_ACTIONS(auth_http, [
8
AC_LIB_HAVE_LINKFLAGS(curl,,
9
[#include <curl/curl.h>],
12
handle=curl_easy_init();
14
AS_IF([test "x$ac_cv_libcurl" = "xno"],
15
AC_MSG_WARN([libcurl not working: not building auth_http plugin]))
16
DRIZZLED_PLUGIN_DEP_LIBS="${DRIZZLED_PLUGIN_DEP_LIBS} ${LIBCURL}"
17
AM_CONDITIONAL(BUILD_AUTH_HTTP,[test "${ac_cv_libcurl}" = "yes"])