433
dnl Config for Authentication Test
435
AC_ARG_WITH([auth-schema-plugin],[
436
dnl indented wierd to make the help output correct
437
AS_HELP_STRING([--with-auth-schema-plugin],[Build . @<:@default=yes@:>@])
438
AS_HELP_STRING([--without-auth-schema-plugin],[Disable building ])
440
with_auth_schema_plugin="$withval"
441
AS_IF([test "x$with_auth_schema_plugin" = "xyes"],[
442
requested_auth_schema_plugin="yes"
444
requested_auth_schema_plugin="no"
447
with_auth_schema_plugin="yes"
448
requested_auth_schema_plugin="no"
450
AC_ARG_WITH([static-auth-schema-plugin],[
451
AS_HELP_STRING([--with-static-auth-schema-plugin],[Build Archive Storage Engine. @<:@default=no@:>@])
452
AS_HELP_STRING([--without-static-auth-schema-plugin],[Disable building Archive Storage Engine])
454
with_static_auth_schema_plugin=${withval}
456
with_static_auth_schema_plugin=no
458
AS_IF([test "x${with_static_auth_schema_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
459
shared_auth_schema_plugin=no
461
shared_auth_schema_plugin=yes
463
AC_ARG_ENABLE([auth-schema-plugin],[
464
dnl indented wierd to make the help output correct
465
AS_HELP_STRING([--enable-auth-schema-plugin],[Enable loading by default. @<:@default=no@:>@])
466
AS_HELP_STRING([--disable-auth-schema-plugin],[Disable loading by default.])
468
[enable_auth_schema_plugin="$enableval"],
469
[enable_auth_schema_plugin=no])
472
AM_CONDITIONAL([BUILD_AUTH_SCHEMA_PLUGIN_STATIC],
473
[test "x${with_auth_schema_plugin}" = "xyes" -a ! "x${shared_auth_schema_plugin}" = "xyes"])
474
AM_CONDITIONAL([BUILD_AUTH_SCHEMA_PLUGIN_SHARED],
475
[test "x${with_auth_schema_plugin}" = "xyes" -a "x${shared_auth_schema_plugin}" = "xyes"])
476
AM_CONDITIONAL([BUILD_AUTH_SCHEMA_PLUGIN],
477
[test "x${with_auth_schema_plugin}" = "xyes"])
479
AS_IF([test "x$with_auth_schema_plugin" = "xyes"],[
481
pandora_plugin_test_list="auth_schema,${pandora_plugin_test_list}"
483
AS_IF([test "x${with_static_auth_schema_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
485
AS_IF([test "x$enable_auth_schema_plugin" = "xyes"],[
486
pandora_builtin_load_list="auth_schema,${pandora_builtin_load_list}"
487
pandora_builtin_load_symbols_list="_drizzled_auth_schema_plugin_,${pandora_builtin_load_symbols_list}"
488
PANDORA_PLUGIN_DEP_LIBS="${PANDORA_PLUGIN_DEP_LIBS} "
490
pandora_builtin_list="auth_schema,${pandora_builtin_list}"
491
pandora_builtin_symbols_list="_drizzled_auth_schema_plugin_,${pandora_builtin_symbols_list}"
492
pandora_plugin_libs="${pandora_plugin_libs} \${top_builddir}/plugin/libauth_schema_plugin.la"
494
AS_IF([test "x$enable_auth_schema_plugin" = "xyes"],[
495
pandora_default_plugin_list="auth_schema,${pandora_default_plugin_list}"
435
502
AC_ARG_WITH([auth-test-plugin],[
436
503
dnl indented wierd to make the help output correct
437
AS_HELP_STRING([--with-auth-test-plugin],[Build Authentication Test. @<:@default=yes@:>@])
438
AS_HELP_STRING([--without-auth-test-plugin],[Disable building Authentication Test])
504
AS_HELP_STRING([--with-auth-test-plugin],[Build . @<:@default=yes@:>@])
505
AS_HELP_STRING([--without-auth-test-plugin],[Disable building ])
440
507
with_auth_test_plugin="$withval"
441
508
AS_IF([test "x$with_auth_test_plugin" = "xyes"],[
1698
dnl Config for HailDB storage engine
1700
AC_ARG_WITH([haildb-plugin],[
1701
dnl indented wierd to make the help output correct
1702
AS_HELP_STRING([--with-haildb-plugin],[Build HailDB storage engine. @<:@default=yes@:>@])
1703
AS_HELP_STRING([--without-haildb-plugin],[Disable building HailDB storage engine])
1705
with_haildb_plugin="$withval"
1706
AS_IF([test "x$with_haildb_plugin" = "xyes"],[
1707
requested_haildb_plugin="yes"
1709
requested_haildb_plugin="no"
1712
with_haildb_plugin="yes"
1713
requested_haildb_plugin="no"
1715
AC_ARG_WITH([static-haildb-plugin],[
1716
AS_HELP_STRING([--with-static-haildb-plugin],[Build Archive Storage Engine. @<:@default=no@:>@])
1717
AS_HELP_STRING([--without-static-haildb-plugin],[Disable building Archive Storage Engine])
1719
with_static_haildb_plugin=${withval}
1721
with_static_haildb_plugin=no
1723
AS_IF([test "x${with_static_haildb_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
1724
shared_haildb_plugin=no
1726
shared_haildb_plugin=yes
1728
AC_ARG_ENABLE([haildb-plugin],[
1729
dnl indented wierd to make the help output correct
1730
AS_HELP_STRING([--enable-haildb-plugin],[Enable loading HailDB storage engine by default. @<:@default=no@:>@])
1731
AS_HELP_STRING([--disable-haildb-plugin],[Disable loading HailDB storage engine by default.])
1733
[enable_haildb_plugin="$enableval"],
1734
[enable_haildb_plugin=no])
1736
m4_sinclude([plugin/haildb/plugin.ac])
1738
AS_IF([test "x${with_haildb_plugin}" = "xyes" -a "x${ac_cv_libhaildb}" = "xyes"],
1739
[], dnl build_conditional can only negate
1741
AS_IF([test "x${requested_haildb_plugin}" = "xyes"],
1742
[AC_MSG_ERROR([Plugin haildb was explicitly requested, yet failed build dependency checks. Aborting!])])
1743
with_haildb_plugin=no
1747
AM_CONDITIONAL([BUILD_HAILDB_PLUGIN_STATIC],
1748
[test "x${with_haildb_plugin}" = "xyes" -a "x${ac_cv_libhaildb}" = "xyes" -a ! "x${shared_haildb_plugin}" = "xyes"])
1749
AM_CONDITIONAL([BUILD_HAILDB_PLUGIN_SHARED],
1750
[test "x${with_haildb_plugin}" = "xyes" -a "x${ac_cv_libhaildb}" = "xyes" -a "x${shared_haildb_plugin}" = "xyes"])
1751
AM_CONDITIONAL([BUILD_HAILDB_PLUGIN],
1752
[test "x${with_haildb_plugin}" = "xyes" -a "x${ac_cv_libhaildb}" = "xyes"])
1754
AS_IF([test "x$with_haildb_plugin" = "xyes"],[
1756
AS_IF([test "x${with_static_haildb_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
1758
AS_IF([test "x$enable_haildb_plugin" = "xyes"],[
1759
pandora_builtin_load_list="haildb,${pandora_builtin_load_list}"
1760
pandora_builtin_load_symbols_list="_drizzled_haildb_plugin_,${pandora_builtin_load_symbols_list}"
1761
PANDORA_PLUGIN_DEP_LIBS="${PANDORA_PLUGIN_DEP_LIBS} "
1763
pandora_builtin_list="haildb,${pandora_builtin_list}"
1764
pandora_builtin_symbols_list="_drizzled_haildb_plugin_,${pandora_builtin_symbols_list}"
1765
pandora_plugin_libs="${pandora_plugin_libs} \${top_builddir}/plugin/libhaildb_plugin.la"
1767
AS_IF([test "x$enable_haildb_plugin" = "xyes"],[
1768
pandora_default_plugin_list="haildb,${pandora_default_plugin_list}"
1773
dnl Config for An example event observer Plugin
1775
1767
AC_ARG_WITH([hello-events-plugin],[
1776
1768
dnl indented wierd to make the help output correct
1777
AS_HELP_STRING([--with-hello-events-plugin],[Build An example event observer Plugin. @<:@default=yes@:>@])
1778
AS_HELP_STRING([--without-hello-events-plugin],[Disable building An example event observer Plugin])
1769
AS_HELP_STRING([--with-hello-events-plugin],[Build . @<:@default=yes@:>@])
1770
AS_HELP_STRING([--without-hello-events-plugin],[Disable building ])
1780
1772
with_hello_events_plugin="$withval"
1781
1773
AS_IF([test "x$with_hello_events_plugin" = "xyes"],[
1972
dnl Config for Information Schema Dictionary
1966
AC_ARG_WITH([http-functions-plugin],[
1967
dnl indented wierd to make the help output correct
1968
AS_HELP_STRING([--with-http-functions-plugin],[Build . @<:@default=yes@:>@])
1969
AS_HELP_STRING([--without-http-functions-plugin],[Disable building ])
1971
with_http_functions_plugin="$withval"
1972
AS_IF([test "x$with_http_functions_plugin" = "xyes"],[
1973
requested_http_functions_plugin="yes"
1975
requested_http_functions_plugin="no"
1978
with_http_functions_plugin="yes"
1979
requested_http_functions_plugin="no"
1981
AC_ARG_WITH([static-http-functions-plugin],[
1982
AS_HELP_STRING([--with-static-http-functions-plugin],[Build Archive Storage Engine. @<:@default=no@:>@])
1983
AS_HELP_STRING([--without-static-http-functions-plugin],[Disable building Archive Storage Engine])
1985
with_static_http_functions_plugin=${withval}
1987
with_static_http_functions_plugin=no
1989
AS_IF([test "x${with_static_http_functions_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
1990
shared_http_functions_plugin=no
1992
shared_http_functions_plugin=yes
1994
AC_ARG_ENABLE([http-functions-plugin],[
1995
dnl indented wierd to make the help output correct
1996
AS_HELP_STRING([--enable-http-functions-plugin],[Enable loading by default. @<:@default=no@:>@])
1997
AS_HELP_STRING([--disable-http-functions-plugin],[Disable loading by default.])
1999
[enable_http_functions_plugin="$enableval"],
2000
[enable_http_functions_plugin=no])
2002
m4_sinclude([plugin/http_functions/plugin.ac])
2004
AS_IF([test "x${with_http_functions_plugin}" = "xyes" -a "${ac_cv_libcurl}" = "yes"],
2005
[], dnl build_conditional can only negate
2007
AS_IF([test "x${requested_http_functions_plugin}" = "xyes"],
2008
[AC_MSG_ERROR([Plugin http_functions was explicitly requested, yet failed build dependency checks. Aborting!])])
2009
with_http_functions_plugin=no
2013
AM_CONDITIONAL([BUILD_HTTP_FUNCTIONS_PLUGIN_STATIC],
2014
[test "x${with_http_functions_plugin}" = "xyes" -a "${ac_cv_libcurl}" = "yes" -a ! "x${shared_http_functions_plugin}" = "xyes"])
2015
AM_CONDITIONAL([BUILD_HTTP_FUNCTIONS_PLUGIN_SHARED],
2016
[test "x${with_http_functions_plugin}" = "xyes" -a "${ac_cv_libcurl}" = "yes" -a "x${shared_http_functions_plugin}" = "xyes"])
2017
AM_CONDITIONAL([BUILD_HTTP_FUNCTIONS_PLUGIN],
2018
[test "x${with_http_functions_plugin}" = "xyes" -a "${ac_cv_libcurl}" = "yes"])
2020
AS_IF([test "x$with_http_functions_plugin" = "xyes"],[
2022
AS_IF([test "x${with_static_http_functions_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
2024
AS_IF([test "x$enable_http_functions_plugin" = "xyes"],[
2025
pandora_builtin_load_list="http_functions,${pandora_builtin_load_list}"
2026
pandora_builtin_load_symbols_list="_drizzled_http_functions_plugin_,${pandora_builtin_load_symbols_list}"
2027
PANDORA_PLUGIN_DEP_LIBS="${PANDORA_PLUGIN_DEP_LIBS} "
2029
pandora_builtin_list="http_functions,${pandora_builtin_list}"
2030
pandora_builtin_symbols_list="_drizzled_http_functions_plugin_,${pandora_builtin_symbols_list}"
2031
pandora_plugin_libs="${pandora_plugin_libs} \${top_builddir}/plugin/libhttp_functions_plugin.la"
2033
AS_IF([test "x$enable_http_functions_plugin" = "xyes"],[
2034
pandora_default_plugin_list="http_functions,${pandora_default_plugin_list}"
1974
2041
AC_ARG_WITH([information-schema-dictionary-plugin],[
1975
2042
dnl indented wierd to make the help output correct
1976
AS_HELP_STRING([--with-information-schema-dictionary-plugin],[Build Information Schema Dictionary. @<:@default=yes@:>@])
1977
AS_HELP_STRING([--without-information-schema-dictionary-plugin],[Disable building Information Schema Dictionary])
2043
AS_HELP_STRING([--with-information-schema-dictionary-plugin],[Build . @<:@default=yes@:>@])
2044
AS_HELP_STRING([--without-information-schema-dictionary-plugin],[Disable building ])
1979
2046
with_information_schema_dictionary_plugin="$withval"
1980
2047
AS_IF([test "x$with_information_schema_dictionary_plugin" = "xyes"],[
2107
dnl Config for UDF Plugin for Length
2176
AC_ARG_WITH([ipv6-function-plugin],[
2177
dnl indented wierd to make the help output correct
2178
AS_HELP_STRING([--with-ipv6-function-plugin],[Build . @<:@default=no@:>@])
2179
AS_HELP_STRING([--without-ipv6-function-plugin],[Disable building ])
2181
with_ipv6_function_plugin="$withval"
2182
AS_IF([test "x$with_ipv6_function_plugin" = "xyes"],[
2183
requested_ipv6_function_plugin="yes"
2185
requested_ipv6_function_plugin="no"
2188
with_ipv6_function_plugin="no"
2189
requested_ipv6_function_plugin="no"
2191
AC_ARG_WITH([static-ipv6-function-plugin],[
2192
AS_HELP_STRING([--with-static-ipv6-function-plugin],[Build Archive Storage Engine. @<:@default=yes@:>@])
2193
AS_HELP_STRING([--without-static-ipv6-function-plugin],[Disable building Archive Storage Engine])
2195
with_static_ipv6_function_plugin=${withval}
2197
with_static_ipv6_function_plugin=yes
2199
AS_IF([test "x${with_static_ipv6_function_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
2200
shared_ipv6_function_plugin=no
2202
shared_ipv6_function_plugin=yes
2204
AC_ARG_ENABLE([ipv6-function-plugin],[
2205
dnl indented wierd to make the help output correct
2206
AS_HELP_STRING([--enable-ipv6-function-plugin],[Enable loading by default. @<:@default=no@:>@])
2207
AS_HELP_STRING([--disable-ipv6-function-plugin],[Disable loading by default.])
2209
[enable_ipv6_function_plugin="$enableval"],
2210
[enable_ipv6_function_plugin=no])
2213
AM_CONDITIONAL([BUILD_IPV6_FUNCTION_PLUGIN_STATIC],
2214
[test "x${with_ipv6_function_plugin}" = "xyes" -a ! "x${shared_ipv6_function_plugin}" = "xyes"])
2215
AM_CONDITIONAL([BUILD_IPV6_FUNCTION_PLUGIN_SHARED],
2216
[test "x${with_ipv6_function_plugin}" = "xyes" -a "x${shared_ipv6_function_plugin}" = "xyes"])
2217
AM_CONDITIONAL([BUILD_IPV6_FUNCTION_PLUGIN],
2218
[test "x${with_ipv6_function_plugin}" = "xyes"])
2220
AS_IF([test "x$with_ipv6_function_plugin" = "xyes"],[
2222
AS_IF([test "x${with_static_ipv6_function_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
2224
AS_IF([test "x$enable_ipv6_function_plugin" = "xyes"],[
2225
pandora_builtin_load_list="ipv6_function,${pandora_builtin_load_list}"
2226
pandora_builtin_load_symbols_list="_drizzled_ipv6_function_plugin_,${pandora_builtin_load_symbols_list}"
2227
PANDORA_PLUGIN_DEP_LIBS="${PANDORA_PLUGIN_DEP_LIBS} "
2229
pandora_builtin_list="ipv6_function,${pandora_builtin_list}"
2230
pandora_builtin_symbols_list="_drizzled_ipv6_function_plugin_,${pandora_builtin_symbols_list}"
2231
pandora_plugin_libs="${pandora_plugin_libs} \${top_builddir}/plugin/libipv6_function_plugin.la"
2233
AS_IF([test "x$enable_ipv6_function_plugin" = "xyes"],[
2234
pandora_default_plugin_list="ipv6_function,${pandora_default_plugin_list}"
2241
AC_ARG_WITH([js-plugin],[
2242
dnl indented wierd to make the help output correct
2243
AS_HELP_STRING([--with-js-plugin],[Build . @<:@default=yes@:>@])
2244
AS_HELP_STRING([--without-js-plugin],[Disable building ])
2246
with_js_plugin="$withval"
2247
AS_IF([test "x$with_js_plugin" = "xyes"],[
2248
requested_js_plugin="yes"
2250
requested_js_plugin="no"
2253
with_js_plugin="yes"
2254
requested_js_plugin="no"
2256
AC_ARG_WITH([static-js-plugin],[
2257
AS_HELP_STRING([--with-static-js-plugin],[Build Archive Storage Engine. @<:@default=no@:>@])
2258
AS_HELP_STRING([--without-static-js-plugin],[Disable building Archive Storage Engine])
2260
with_static_js_plugin=${withval}
2262
with_static_js_plugin=no
2264
AS_IF([test "x${with_static_js_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
2267
shared_js_plugin=yes
2269
AC_ARG_ENABLE([js-plugin],[
2270
dnl indented wierd to make the help output correct
2271
AS_HELP_STRING([--enable-js-plugin],[Enable loading by default. @<:@default=yes@:>@])
2272
AS_HELP_STRING([--disable-js-plugin],[Disable loading by default.])
2274
[enable_js_plugin="$enableval"],
2275
[enable_js_plugin=yes])
2277
m4_sinclude([plugin/js/plugin.ac])
2279
AS_IF([test "x${with_js_plugin}" = "xyes" -a "$ac_cv_libv8" = "yes"],
2280
[], dnl build_conditional can only negate
2282
AS_IF([test "x${requested_js_plugin}" = "xyes"],
2283
[AC_MSG_ERROR([Plugin js was explicitly requested, yet failed build dependency checks. Aborting!])])
2288
AM_CONDITIONAL([BUILD_JS_PLUGIN_STATIC],
2289
[test "x${with_js_plugin}" = "xyes" -a "$ac_cv_libv8" = "yes" -a ! "x${shared_js_plugin}" = "xyes"])
2290
AM_CONDITIONAL([BUILD_JS_PLUGIN_SHARED],
2291
[test "x${with_js_plugin}" = "xyes" -a "$ac_cv_libv8" = "yes" -a "x${shared_js_plugin}" = "xyes"])
2292
AM_CONDITIONAL([BUILD_JS_PLUGIN],
2293
[test "x${with_js_plugin}" = "xyes" -a "$ac_cv_libv8" = "yes"])
2295
AS_IF([test "x$with_js_plugin" = "xyes"],[
2297
pandora_plugin_test_list="js,${pandora_plugin_test_list}"
2299
AS_IF([test "x${with_static_js_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
2301
AS_IF([test "x$enable_js_plugin" = "xyes"],[
2302
pandora_builtin_load_list="js,${pandora_builtin_load_list}"
2303
pandora_builtin_load_symbols_list="_drizzled_js_plugin_,${pandora_builtin_load_symbols_list}"
2304
PANDORA_PLUGIN_DEP_LIBS="${PANDORA_PLUGIN_DEP_LIBS} "
2306
pandora_builtin_list="js,${pandora_builtin_list}"
2307
pandora_builtin_symbols_list="_drizzled_js_plugin_,${pandora_builtin_symbols_list}"
2308
pandora_plugin_libs="${pandora_plugin_libs} \${top_builddir}/plugin/libjs_plugin.la"
2310
AS_IF([test "x$enable_js_plugin" = "xyes"],[
2311
pandora_default_plugin_list="js,${pandora_default_plugin_list}"
2318
AC_ARG_WITH([json-server-plugin],[
2319
dnl indented wierd to make the help output correct
2320
AS_HELP_STRING([--with-json-server-plugin],[Build . @<:@default=yes@:>@])
2321
AS_HELP_STRING([--without-json-server-plugin],[Disable building ])
2323
with_json_server_plugin="$withval"
2324
AS_IF([test "x$with_json_server_plugin" = "xyes"],[
2325
requested_json_server_plugin="yes"
2327
requested_json_server_plugin="no"
2330
with_json_server_plugin="yes"
2331
requested_json_server_plugin="no"
2333
AC_ARG_WITH([static-json-server-plugin],[
2334
AS_HELP_STRING([--with-static-json-server-plugin],[Build Archive Storage Engine. @<:@default=no@:>@])
2335
AS_HELP_STRING([--without-static-json-server-plugin],[Disable building Archive Storage Engine])
2337
with_static_json_server_plugin=${withval}
2339
with_static_json_server_plugin=no
2341
AS_IF([test "x${with_static_json_server_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
2342
shared_json_server_plugin=no
2344
shared_json_server_plugin=yes
2346
AC_ARG_ENABLE([json-server-plugin],[
2347
dnl indented wierd to make the help output correct
2348
AS_HELP_STRING([--enable-json-server-plugin],[Enable loading by default. @<:@default=no@:>@])
2349
AS_HELP_STRING([--disable-json-server-plugin],[Disable loading by default.])
2351
[enable_json_server_plugin="$enableval"],
2352
[enable_json_server_plugin=no])
2354
m4_sinclude([plugin/json_server/plugin.ac])
2356
AS_IF([test "x${with_json_server_plugin}" = "xyes" -a "x${ac_cv_libevent}" = "xyes" -a "x${ac_cv_libcurl}" = "xyes"],
2357
[], dnl build_conditional can only negate
2359
AS_IF([test "x${requested_json_server_plugin}" = "xyes"],
2360
[AC_MSG_ERROR([Plugin json_server was explicitly requested, yet failed build dependency checks. Aborting!])])
2361
with_json_server_plugin=no
2365
AM_CONDITIONAL([BUILD_JSON_SERVER_PLUGIN_STATIC],
2366
[test "x${with_json_server_plugin}" = "xyes" -a "x${ac_cv_libevent}" = "xyes" -a "x${ac_cv_libcurl}" = "xyes" -a ! "x${shared_json_server_plugin}" = "xyes"])
2367
AM_CONDITIONAL([BUILD_JSON_SERVER_PLUGIN_SHARED],
2368
[test "x${with_json_server_plugin}" = "xyes" -a "x${ac_cv_libevent}" = "xyes" -a "x${ac_cv_libcurl}" = "xyes" -a "x${shared_json_server_plugin}" = "xyes"])
2369
AM_CONDITIONAL([BUILD_JSON_SERVER_PLUGIN],
2370
[test "x${with_json_server_plugin}" = "xyes" -a "x${ac_cv_libevent}" = "xyes" -a "x${ac_cv_libcurl}" = "xyes"])
2372
AS_IF([test "x$with_json_server_plugin" = "xyes"],[
2374
pandora_plugin_test_list="json_server,${pandora_plugin_test_list}"
2376
AS_IF([test "x${with_static_json_server_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
2378
AS_IF([test "x$enable_json_server_plugin" = "xyes"],[
2379
pandora_builtin_load_list="json_server,${pandora_builtin_load_list}"
2380
pandora_builtin_load_symbols_list="_drizzled_json_server_plugin_,${pandora_builtin_load_symbols_list}"
2381
PANDORA_PLUGIN_DEP_LIBS="${PANDORA_PLUGIN_DEP_LIBS} "
2383
pandora_builtin_list="json_server,${pandora_builtin_list}"
2384
pandora_builtin_symbols_list="_drizzled_json_server_plugin_,${pandora_builtin_symbols_list}"
2385
pandora_plugin_libs="${pandora_plugin_libs} \${top_builddir}/plugin/libjson_server_plugin.la"
2387
AS_IF([test "x$enable_json_server_plugin" = "xyes"],[
2388
pandora_default_plugin_list="json_server,${pandora_default_plugin_list}"
2109
2395
AC_ARG_WITH([length-plugin],[
2110
2396
dnl indented wierd to make the help output correct
2111
AS_HELP_STRING([--with-length-plugin],[Build UDF Plugin for Length. @<:@default=yes@:>@])
2112
AS_HELP_STRING([--without-length-plugin],[Disable building UDF Plugin for Length])
2397
AS_HELP_STRING([--with-length-plugin],[Build . @<:@default=yes@:>@])
2398
AS_HELP_STRING([--without-length-plugin],[Disable building ])
2114
2400
with_length_plugin="$withval"
2115
2401
AS_IF([test "x$with_length_plugin" = "xyes"],[
2598
dnl Config for Query Cache
2600
AC_ARG_WITH([memcached-query-cache-plugin],[
2601
dnl indented wierd to make the help output correct
2602
AS_HELP_STRING([--with-memcached-query-cache-plugin],[Build Query Cache. @<:@default=no@:>@])
2603
AS_HELP_STRING([--without-memcached-query-cache-plugin],[Disable building Query Cache])
2605
with_memcached_query_cache_plugin="$withval"
2606
AS_IF([test "x$with_memcached_query_cache_plugin" = "xyes"],[
2607
requested_memcached_query_cache_plugin="yes"
2609
requested_memcached_query_cache_plugin="no"
2612
with_memcached_query_cache_plugin="no"
2613
requested_memcached_query_cache_plugin="no"
2615
AC_ARG_WITH([static-memcached-query-cache-plugin],[
2616
AS_HELP_STRING([--with-static-memcached-query-cache-plugin],[Build Archive Storage Engine. @<:@default=no@:>@])
2617
AS_HELP_STRING([--without-static-memcached-query-cache-plugin],[Disable building Archive Storage Engine])
2619
with_static_memcached_query_cache_plugin=${withval}
2621
with_static_memcached_query_cache_plugin=no
2623
AS_IF([test "x${with_static_memcached_query_cache_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
2624
shared_memcached_query_cache_plugin=no
2626
shared_memcached_query_cache_plugin=yes
2628
AC_ARG_ENABLE([memcached-query-cache-plugin],[
2629
dnl indented wierd to make the help output correct
2630
AS_HELP_STRING([--enable-memcached-query-cache-plugin],[Enable loading Query Cache by default. @<:@default=no@:>@])
2631
AS_HELP_STRING([--disable-memcached-query-cache-plugin],[Disable loading Query Cache by default.])
2633
[enable_memcached_query_cache_plugin="$enableval"],
2634
[enable_memcached_query_cache_plugin=no])
2637
AS_IF([test "x${with_memcached_query_cache_plugin}" = "xyes" -a "${ac_cv_libmemcached}" = "yes" -a "x${MEMCACHED_BINARY}" != "xno"],
2638
[], dnl build_conditional can only negate
2640
AS_IF([test "x${requested_memcached_query_cache_plugin}" = "xyes"],
2641
[AC_MSG_ERROR([Plugin memcached_query_cache was explicitly requested, yet failed build dependency checks. Aborting!])])
2642
with_memcached_query_cache_plugin=no
2646
AM_CONDITIONAL([BUILD_MEMCACHED_QUERY_CACHE_PLUGIN_STATIC],
2647
[test "x${with_memcached_query_cache_plugin}" = "xyes" -a "${ac_cv_libmemcached}" = "yes" -a "x${MEMCACHED_BINARY}" != "xno" -a ! "x${shared_memcached_query_cache_plugin}" = "xyes"])
2648
AM_CONDITIONAL([BUILD_MEMCACHED_QUERY_CACHE_PLUGIN_SHARED],
2649
[test "x${with_memcached_query_cache_plugin}" = "xyes" -a "${ac_cv_libmemcached}" = "yes" -a "x${MEMCACHED_BINARY}" != "xno" -a "x${shared_memcached_query_cache_plugin}" = "xyes"])
2650
AM_CONDITIONAL([BUILD_MEMCACHED_QUERY_CACHE_PLUGIN],
2651
[test "x${with_memcached_query_cache_plugin}" = "xyes" -a "${ac_cv_libmemcached}" = "yes" -a "x${MEMCACHED_BINARY}" != "xno"])
2653
AS_IF([test "x$with_memcached_query_cache_plugin" = "xyes"],[
2655
pandora_plugin_test_list="memcached_query_cache,${pandora_plugin_test_list}"
2657
AS_IF([test "x${with_static_memcached_query_cache_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
2659
AS_IF([test "x$enable_memcached_query_cache_plugin" = "xyes"],[
2660
pandora_builtin_load_list="memcached_query_cache,${pandora_builtin_load_list}"
2661
pandora_builtin_load_symbols_list="_drizzled_memcached_query_cache_plugin_,${pandora_builtin_load_symbols_list}"
2662
PANDORA_PLUGIN_DEP_LIBS="${PANDORA_PLUGIN_DEP_LIBS} "
2664
pandora_builtin_list="memcached_query_cache,${pandora_builtin_list}"
2665
pandora_builtin_symbols_list="_drizzled_memcached_query_cache_plugin_,${pandora_builtin_symbols_list}"
2666
pandora_plugin_libs="${pandora_plugin_libs} \${top_builddir}/plugin/libmemcached_query_cache_plugin.la"
2668
AS_IF([test "x$enable_memcached_query_cache_plugin" = "xyes"],[
2669
pandora_default_plugin_list="memcached_query_cache,${pandora_default_plugin_list}"
2674
dnl Config for Memcached Stats in DATA_DICTIONARY tables
2676
2886
AC_ARG_WITH([memcached-stats-plugin],[
2677
2887
dnl indented wierd to make the help output correct
2678
AS_HELP_STRING([--with-memcached-stats-plugin],[Build Memcached Stats in DATA_DICTIONARY tables. @<:@default=no@:>@])
2679
AS_HELP_STRING([--without-memcached-stats-plugin],[Disable building Memcached Stats in DATA_DICTIONARY tables])
2888
AS_HELP_STRING([--with-memcached-stats-plugin],[Build . @<:@default=no@:>@])
2889
AS_HELP_STRING([--without-memcached-stats-plugin],[Disable building ])
2681
2891
with_memcached_stats_plugin="$withval"
2682
2892
AS_IF([test "x$with_memcached_stats_plugin" = "xyes"],[
3082
dnl Config for PrimeBase Media Stream Daemon
3084
AC_ARG_WITH([pbms-plugin],[
3085
dnl indented wierd to make the help output correct
3086
AS_HELP_STRING([--with-pbms-plugin],[Build PrimeBase Media Stream Daemon. @<:@default=yes@:>@])
3087
AS_HELP_STRING([--without-pbms-plugin],[Disable building PrimeBase Media Stream Daemon])
3089
with_pbms_plugin="$withval"
3090
AS_IF([test "x$with_pbms_plugin" = "xyes"],[
3091
requested_pbms_plugin="yes"
3093
requested_pbms_plugin="no"
3096
with_pbms_plugin="yes"
3097
requested_pbms_plugin="no"
3099
AC_ARG_WITH([static-pbms-plugin],[
3100
AS_HELP_STRING([--with-static-pbms-plugin],[Build Archive Storage Engine. @<:@default=no@:>@])
3101
AS_HELP_STRING([--without-static-pbms-plugin],[Disable building Archive Storage Engine])
3103
with_static_pbms_plugin=${withval}
3105
with_static_pbms_plugin=no
3107
AS_IF([test "x${with_static_pbms_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
3108
shared_pbms_plugin=no
3110
shared_pbms_plugin=yes
3112
AC_ARG_ENABLE([pbms-plugin],[
3113
dnl indented wierd to make the help output correct
3114
AS_HELP_STRING([--enable-pbms-plugin],[Enable loading PrimeBase Media Stream Daemon by default. @<:@default=no@:>@])
3115
AS_HELP_STRING([--disable-pbms-plugin],[Disable loading PrimeBase Media Stream Daemon by default.])
3117
[enable_pbms_plugin="$enableval"],
3118
[enable_pbms_plugin=no])
3120
m4_sinclude([plugin/pbms/plugin.ac])
3122
AS_IF([test "x${with_pbms_plugin}" = "xyes" -a "${ac_cv_libcurl}" = "yes"],
3123
[], dnl build_conditional can only negate
3125
AS_IF([test "x${requested_pbms_plugin}" = "xyes"],
3126
[AC_MSG_ERROR([Plugin pbms was explicitly requested, yet failed build dependency checks. Aborting!])])
3131
AM_CONDITIONAL([BUILD_PBMS_PLUGIN_STATIC],
3132
[test "x${with_pbms_plugin}" = "xyes" -a "${ac_cv_libcurl}" = "yes" -a ! "x${shared_pbms_plugin}" = "xyes"])
3133
AM_CONDITIONAL([BUILD_PBMS_PLUGIN_SHARED],
3134
[test "x${with_pbms_plugin}" = "xyes" -a "${ac_cv_libcurl}" = "yes" -a "x${shared_pbms_plugin}" = "xyes"])
3135
AM_CONDITIONAL([BUILD_PBMS_PLUGIN],
3136
[test "x${with_pbms_plugin}" = "xyes" -a "${ac_cv_libcurl}" = "yes"])
3138
AS_IF([test "x$with_pbms_plugin" = "xyes"],[
3140
pandora_plugin_test_list="pbms,${pandora_plugin_test_list}"
3142
AS_IF([test "x${with_static_pbms_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
3144
AS_IF([test "x$enable_pbms_plugin" = "xyes"],[
3145
pandora_builtin_load_list="pbms,${pandora_builtin_load_list}"
3146
pandora_builtin_load_symbols_list="_drizzled_pbms_plugin_,${pandora_builtin_load_symbols_list}"
3147
PANDORA_PLUGIN_DEP_LIBS="${PANDORA_PLUGIN_DEP_LIBS} "
3149
pandora_builtin_list="pbms,${pandora_builtin_list}"
3150
pandora_builtin_symbols_list="_drizzled_pbms_plugin_,${pandora_builtin_symbols_list}"
3151
pandora_plugin_libs="${pandora_plugin_libs} \${top_builddir}/plugin/libpbms_plugin.la"
3153
AS_IF([test "x$enable_pbms_plugin" = "xyes"],[
3154
pandora_default_plugin_list="pbms,${pandora_default_plugin_list}"
3159
dnl Config for Performance Dictionary
3161
3294
AC_ARG_WITH([performance-dictionary-plugin],[
3162
3295
dnl indented wierd to make the help output correct
3163
AS_HELP_STRING([--with-performance-dictionary-plugin],[Build Performance Dictionary. @<:@default=yes@:>@])
3164
AS_HELP_STRING([--without-performance-dictionary-plugin],[Disable building Performance Dictionary])
3296
AS_HELP_STRING([--with-performance-dictionary-plugin],[Build . @<:@default=yes@:>@])
3297
AS_HELP_STRING([--without-performance-dictionary-plugin],[Disable building ])
3166
3299
with_performance_dictionary_plugin="$withval"
3167
3300
AS_IF([test "x$with_performance_dictionary_plugin" = "xyes"],[
3291
dnl Config for RabbitMQ Replicator
3426
AC_ARG_WITH([query-log-plugin],[
3427
dnl indented wierd to make the help output correct
3428
AS_HELP_STRING([--with-query-log-plugin],[Build . @<:@default=yes@:>@])
3429
AS_HELP_STRING([--without-query-log-plugin],[Disable building ])
3431
with_query_log_plugin="$withval"
3432
AS_IF([test "x$with_query_log_plugin" = "xyes"],[
3433
requested_query_log_plugin="yes"
3435
requested_query_log_plugin="no"
3438
with_query_log_plugin="yes"
3439
requested_query_log_plugin="no"
3441
AC_ARG_WITH([static-query-log-plugin],[
3442
AS_HELP_STRING([--with-static-query-log-plugin],[Build Archive Storage Engine. @<:@default=no@:>@])
3443
AS_HELP_STRING([--without-static-query-log-plugin],[Disable building Archive Storage Engine])
3445
with_static_query_log_plugin=${withval}
3447
with_static_query_log_plugin=no
3449
AS_IF([test "x${with_static_query_log_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
3450
shared_query_log_plugin=no
3452
shared_query_log_plugin=yes
3454
AC_ARG_ENABLE([query-log-plugin],[
3455
dnl indented wierd to make the help output correct
3456
AS_HELP_STRING([--enable-query-log-plugin],[Enable loading by default. @<:@default=no@:>@])
3457
AS_HELP_STRING([--disable-query-log-plugin],[Disable loading by default.])
3459
[enable_query_log_plugin="$enableval"],
3460
[enable_query_log_plugin=no])
3463
AM_CONDITIONAL([BUILD_QUERY_LOG_PLUGIN_STATIC],
3464
[test "x${with_query_log_plugin}" = "xyes" -a ! "x${shared_query_log_plugin}" = "xyes"])
3465
AM_CONDITIONAL([BUILD_QUERY_LOG_PLUGIN_SHARED],
3466
[test "x${with_query_log_plugin}" = "xyes" -a "x${shared_query_log_plugin}" = "xyes"])
3467
AM_CONDITIONAL([BUILD_QUERY_LOG_PLUGIN],
3468
[test "x${with_query_log_plugin}" = "xyes"])
3470
AS_IF([test "x$with_query_log_plugin" = "xyes"],[
3472
pandora_plugin_test_list="query_log,${pandora_plugin_test_list}"
3474
AS_IF([test "x${with_static_query_log_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
3476
AS_IF([test "x$enable_query_log_plugin" = "xyes"],[
3477
pandora_builtin_load_list="query_log,${pandora_builtin_load_list}"
3478
pandora_builtin_load_symbols_list="_drizzled_query_log_plugin_,${pandora_builtin_load_symbols_list}"
3479
PANDORA_PLUGIN_DEP_LIBS="${PANDORA_PLUGIN_DEP_LIBS} "
3481
pandora_builtin_list="query_log,${pandora_builtin_list}"
3482
pandora_builtin_symbols_list="_drizzled_query_log_plugin_,${pandora_builtin_symbols_list}"
3483
pandora_plugin_libs="${pandora_plugin_libs} \${top_builddir}/plugin/libquery_log_plugin.la"
3485
AS_IF([test "x$enable_query_log_plugin" = "xyes"],[
3486
pandora_default_plugin_list="query_log,${pandora_default_plugin_list}"
3293
3493
AC_ARG_WITH([rabbitmq-plugin],[
3294
3494
dnl indented wierd to make the help output correct
3295
AS_HELP_STRING([--with-rabbitmq-plugin],[Build RabbitMQ Replicator. @<:@default=yes@:>@])
3296
AS_HELP_STRING([--without-rabbitmq-plugin],[Disable building RabbitMQ Replicator])
3495
AS_HELP_STRING([--with-rabbitmq-plugin],[Build . @<:@default=yes@:>@])
3496
AS_HELP_STRING([--without-rabbitmq-plugin],[Disable building ])
3298
3498
with_rabbitmq_plugin="$withval"
3299
3499
AS_IF([test "x$with_rabbitmq_plugin" = "xyes"],[
3569
dnl Config for Registry Dictionary
3571
AC_ARG_WITH([replication-dictionary-plugin],[
3572
dnl indented wierd to make the help output correct
3573
AS_HELP_STRING([--with-replication-dictionary-plugin],[Build Registry Dictionary. @<:@default=yes@:>@])
3574
AS_HELP_STRING([--without-replication-dictionary-plugin],[Disable building Registry Dictionary])
3576
with_replication_dictionary_plugin="$withval"
3577
AS_IF([test "x$with_replication_dictionary_plugin" = "xyes"],[
3578
requested_replication_dictionary_plugin="yes"
3580
requested_replication_dictionary_plugin="no"
3583
with_replication_dictionary_plugin="yes"
3584
requested_replication_dictionary_plugin="no"
3586
AC_ARG_WITH([static-replication-dictionary-plugin],[
3587
AS_HELP_STRING([--with-static-replication-dictionary-plugin],[Build Archive Storage Engine. @<:@default=yes@:>@])
3588
AS_HELP_STRING([--without-static-replication-dictionary-plugin],[Disable building Archive Storage Engine])
3590
with_static_replication_dictionary_plugin=${withval}
3592
with_static_replication_dictionary_plugin=yes
3594
AS_IF([test "x${with_static_replication_dictionary_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
3595
shared_replication_dictionary_plugin=no
3597
shared_replication_dictionary_plugin=yes
3599
AC_ARG_ENABLE([replication-dictionary-plugin],[
3600
dnl indented wierd to make the help output correct
3601
AS_HELP_STRING([--enable-replication-dictionary-plugin],[Enable loading Registry Dictionary by default. @<:@default=yes@:>@])
3602
AS_HELP_STRING([--disable-replication-dictionary-plugin],[Disable loading Registry Dictionary by default.])
3604
[enable_replication_dictionary_plugin="$enableval"],
3605
[enable_replication_dictionary_plugin=yes])
3608
AM_CONDITIONAL([BUILD_REPLICATION_DICTIONARY_PLUGIN_STATIC],
3609
[test "x${with_replication_dictionary_plugin}" = "xyes" -a ! "x${shared_replication_dictionary_plugin}" = "xyes"])
3610
AM_CONDITIONAL([BUILD_REPLICATION_DICTIONARY_PLUGIN_SHARED],
3611
[test "x${with_replication_dictionary_plugin}" = "xyes" -a "x${shared_replication_dictionary_plugin}" = "xyes"])
3612
AM_CONDITIONAL([BUILD_REPLICATION_DICTIONARY_PLUGIN],
3613
[test "x${with_replication_dictionary_plugin}" = "xyes"])
3615
AS_IF([test "x$with_replication_dictionary_plugin" = "xyes"],[
3617
pandora_plugin_test_list="replication_dictionary,${pandora_plugin_test_list}"
3619
AS_IF([test "x${with_static_replication_dictionary_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
3621
AS_IF([test "x$enable_replication_dictionary_plugin" = "xyes"],[
3622
pandora_builtin_load_list="replication_dictionary,${pandora_builtin_load_list}"
3623
pandora_builtin_load_symbols_list="_drizzled_replication_dictionary_plugin_,${pandora_builtin_load_symbols_list}"
3624
PANDORA_PLUGIN_DEP_LIBS="${PANDORA_PLUGIN_DEP_LIBS} "
3626
pandora_builtin_list="replication_dictionary,${pandora_builtin_list}"
3627
pandora_builtin_symbols_list="_drizzled_replication_dictionary_plugin_,${pandora_builtin_symbols_list}"
3628
pandora_plugin_libs="${pandora_plugin_libs} \${top_builddir}/plugin/libreplication_dictionary_plugin.la"
3630
AS_IF([test "x$enable_replication_dictionary_plugin" = "xyes"],[
3631
pandora_default_plugin_list="replication_dictionary,${pandora_default_plugin_list}"
3636
dnl Config for REVERSE function
3638
3771
AC_ARG_WITH([reverse-function-plugin],[
3639
3772
dnl indented wierd to make the help output correct
3640
AS_HELP_STRING([--with-reverse-function-plugin],[Build REVERSE function. @<:@default=yes@:>@])
3641
AS_HELP_STRING([--without-reverse-function-plugin],[Disable building REVERSE function])
3773
AS_HELP_STRING([--with-reverse-function-plugin],[Build . @<:@default=yes@:>@])
3774
AS_HELP_STRING([--without-reverse-function-plugin],[Disable building ])
3643
3776
with_reverse_function_plugin="$withval"
3644
3777
AS_IF([test "x$with_reverse_function_plugin" = "xyes"],[
3701
dnl Config for ROT 13
3703
AC_ARG_WITH([rot13-plugin],[
3704
dnl indented wierd to make the help output correct
3705
AS_HELP_STRING([--with-rot13-plugin],[Build ROT 13. @<:@default=yes@:>@])
3706
AS_HELP_STRING([--without-rot13-plugin],[Disable building ROT 13])
3708
with_rot13_plugin="$withval"
3709
AS_IF([test "x$with_rot13_plugin" = "xyes"],[
3710
requested_rot13_plugin="yes"
3712
requested_rot13_plugin="no"
3715
with_rot13_plugin="yes"
3716
requested_rot13_plugin="no"
3718
AC_ARG_WITH([static-rot13-plugin],[
3719
AS_HELP_STRING([--with-static-rot13-plugin],[Build Archive Storage Engine. @<:@default=no@:>@])
3720
AS_HELP_STRING([--without-static-rot13-plugin],[Disable building Archive Storage Engine])
3722
with_static_rot13_plugin=${withval}
3724
with_static_rot13_plugin=no
3726
AS_IF([test "x${with_static_rot13_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
3727
shared_rot13_plugin=no
3729
shared_rot13_plugin=yes
3731
AC_ARG_ENABLE([rot13-plugin],[
3732
dnl indented wierd to make the help output correct
3733
AS_HELP_STRING([--enable-rot13-plugin],[Enable loading ROT 13 by default. @<:@default=yes@:>@])
3734
AS_HELP_STRING([--disable-rot13-plugin],[Disable loading ROT 13 by default.])
3736
[enable_rot13_plugin="$enableval"],
3737
[enable_rot13_plugin=yes])
3740
AM_CONDITIONAL([BUILD_ROT13_PLUGIN_STATIC],
3741
[test "x${with_rot13_plugin}" = "xyes" -a ! "x${shared_rot13_plugin}" = "xyes"])
3742
AM_CONDITIONAL([BUILD_ROT13_PLUGIN_SHARED],
3743
[test "x${with_rot13_plugin}" = "xyes" -a "x${shared_rot13_plugin}" = "xyes"])
3744
AM_CONDITIONAL([BUILD_ROT13_PLUGIN],
3745
[test "x${with_rot13_plugin}" = "xyes"])
3747
AS_IF([test "x$with_rot13_plugin" = "xyes"],[
3749
pandora_plugin_test_list="rot13,${pandora_plugin_test_list}"
3751
AS_IF([test "x${with_static_rot13_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
3753
AS_IF([test "x$enable_rot13_plugin" = "xyes"],[
3754
pandora_builtin_load_list="rot13,${pandora_builtin_load_list}"
3755
pandora_builtin_load_symbols_list="_drizzled_rot13_plugin_,${pandora_builtin_load_symbols_list}"
3756
PANDORA_PLUGIN_DEP_LIBS="${PANDORA_PLUGIN_DEP_LIBS} "
3758
pandora_builtin_list="rot13,${pandora_builtin_list}"
3759
pandora_builtin_symbols_list="_drizzled_rot13_plugin_,${pandora_builtin_symbols_list}"
3760
pandora_plugin_libs="${pandora_plugin_libs} \${top_builddir}/plugin/librot13_plugin.la"
3762
AS_IF([test "x$enable_rot13_plugin" = "xyes"],[
3763
pandora_default_plugin_list="rot13,${pandora_default_plugin_list}"
3768
dnl Config for Schema Dictionary
3770
3836
AC_ARG_WITH([schema-dictionary-plugin],[
3771
3837
dnl indented wierd to make the help output correct
3772
AS_HELP_STRING([--with-schema-dictionary-plugin],[Build Schema Dictionary. @<:@default=yes@:>@])
3773
AS_HELP_STRING([--without-schema-dictionary-plugin],[Disable building Schema Dictionary])
3838
AS_HELP_STRING([--with-schema-dictionary-plugin],[Build . @<:@default=yes@:>@])
3839
AS_HELP_STRING([--without-schema-dictionary-plugin],[Disable building ])
3775
3841
with_schema_dictionary_plugin="$withval"
3776
3842
AS_IF([test "x$with_schema_dictionary_plugin" = "xyes"],[
4899
dnl Config for Transaction Log
4901
AC_ARG_WITH([transaction-log-plugin],[
4902
dnl indented wierd to make the help output correct
4903
AS_HELP_STRING([--with-transaction-log-plugin],[Build Transaction Log. @<:@default=yes@:>@])
4904
AS_HELP_STRING([--without-transaction-log-plugin],[Disable building Transaction Log])
4906
with_transaction_log_plugin="$withval"
4907
AS_IF([test "x$with_transaction_log_plugin" = "xyes"],[
4908
requested_transaction_log_plugin="yes"
4910
requested_transaction_log_plugin="no"
4913
with_transaction_log_plugin="yes"
4914
requested_transaction_log_plugin="no"
4916
AC_ARG_WITH([static-transaction-log-plugin],[
4917
AS_HELP_STRING([--with-static-transaction-log-plugin],[Build Archive Storage Engine. @<:@default=yes@:>@])
4918
AS_HELP_STRING([--without-static-transaction-log-plugin],[Disable building Archive Storage Engine])
4920
with_static_transaction_log_plugin=${withval}
4922
with_static_transaction_log_plugin=yes
4924
AS_IF([test "x${with_static_transaction_log_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
4925
shared_transaction_log_plugin=no
4927
shared_transaction_log_plugin=yes
4929
AC_ARG_ENABLE([transaction-log-plugin],[
4930
dnl indented wierd to make the help output correct
4931
AS_HELP_STRING([--enable-transaction-log-plugin],[Enable loading Transaction Log by default. @<:@default=yes@:>@])
4932
AS_HELP_STRING([--disable-transaction-log-plugin],[Disable loading Transaction Log by default.])
4934
[enable_transaction_log_plugin="$enableval"],
4935
[enable_transaction_log_plugin=yes])
4938
AM_CONDITIONAL([BUILD_TRANSACTION_LOG_PLUGIN_STATIC],
4939
[test "x${with_transaction_log_plugin}" = "xyes" -a ! "x${shared_transaction_log_plugin}" = "xyes"])
4940
AM_CONDITIONAL([BUILD_TRANSACTION_LOG_PLUGIN_SHARED],
4941
[test "x${with_transaction_log_plugin}" = "xyes" -a "x${shared_transaction_log_plugin}" = "xyes"])
4942
AM_CONDITIONAL([BUILD_TRANSACTION_LOG_PLUGIN],
4943
[test "x${with_transaction_log_plugin}" = "xyes"])
4945
AS_IF([test "x$with_transaction_log_plugin" = "xyes"],[
4947
pandora_plugin_test_list="transaction_log,${pandora_plugin_test_list}"
4949
AS_IF([test "x${with_static_transaction_log_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
4951
AS_IF([test "x$enable_transaction_log_plugin" = "xyes"],[
4952
pandora_builtin_load_list="transaction_log,${pandora_builtin_load_list}"
4953
pandora_builtin_load_symbols_list="_drizzled_transaction_log_plugin_,${pandora_builtin_load_symbols_list}"
4954
PANDORA_PLUGIN_DEP_LIBS="${PANDORA_PLUGIN_DEP_LIBS} \${top_builddir}/${top_builddir}/drizzled/algorithm/libhash.la"
4956
pandora_builtin_list="transaction_log,${pandora_builtin_list}"
4957
pandora_builtin_symbols_list="_drizzled_transaction_log_plugin_,${pandora_builtin_symbols_list}"
4958
pandora_plugin_libs="${pandora_plugin_libs} \${top_builddir}/plugin/libtransaction_log_plugin.la"
4960
AS_IF([test "x$enable_transaction_log_plugin" = "xyes"],[
4961
pandora_default_plugin_list="transaction_log,${pandora_default_plugin_list}"
4966
dnl Config for Trigger Dictionary
4968
4967
AC_ARG_WITH([trigger-dictionary-plugin],[
4969
4968
dnl indented wierd to make the help output correct
4970
AS_HELP_STRING([--with-trigger-dictionary-plugin],[Build Trigger Dictionary. @<:@default=yes@:>@])
4971
AS_HELP_STRING([--without-trigger-dictionary-plugin],[Disable building Trigger Dictionary])
4969
AS_HELP_STRING([--with-trigger-dictionary-plugin],[Build . @<:@default=yes@:>@])
4970
AS_HELP_STRING([--without-trigger-dictionary-plugin],[Disable building ])
4973
4972
with_trigger_dictionary_plugin="$withval"
4974
4973
AS_IF([test "x$with_trigger_dictionary_plugin" = "xyes"],[
5375
AC_ARG_WITH([zeromq-plugin],[
5376
dnl indented wierd to make the help output correct
5377
AS_HELP_STRING([--with-zeromq-plugin],[Build . @<:@default=yes@:>@])
5378
AS_HELP_STRING([--without-zeromq-plugin],[Disable building ])
5380
with_zeromq_plugin="$withval"
5381
AS_IF([test "x$with_zeromq_plugin" = "xyes"],[
5382
requested_zeromq_plugin="yes"
5384
requested_zeromq_plugin="no"
5387
with_zeromq_plugin="yes"
5388
requested_zeromq_plugin="no"
5390
AC_ARG_WITH([static-zeromq-plugin],[
5391
AS_HELP_STRING([--with-static-zeromq-plugin],[Build Archive Storage Engine. @<:@default=no@:>@])
5392
AS_HELP_STRING([--without-static-zeromq-plugin],[Disable building Archive Storage Engine])
5394
with_static_zeromq_plugin=${withval}
5396
with_static_zeromq_plugin=no
5398
AS_IF([test "x${with_static_zeromq_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
5399
shared_zeromq_plugin=no
5401
shared_zeromq_plugin=yes
5403
AC_ARG_ENABLE([zeromq-plugin],[
5404
dnl indented wierd to make the help output correct
5405
AS_HELP_STRING([--enable-zeromq-plugin],[Enable loading by default. @<:@default=no@:>@])
5406
AS_HELP_STRING([--disable-zeromq-plugin],[Disable loading by default.])
5408
[enable_zeromq_plugin="$enableval"],
5409
[enable_zeromq_plugin=no])
5411
m4_sinclude([plugin/zeromq/plugin.ac])
5413
AS_IF([test "x${with_zeromq_plugin}" = "xyes" -a "$ac_cv_libzmq" = "yes"],
5414
[], dnl build_conditional can only negate
5416
AS_IF([test "x${requested_zeromq_plugin}" = "xyes"],
5417
[AC_MSG_ERROR([Plugin zeromq was explicitly requested, yet failed build dependency checks. Aborting!])])
5418
with_zeromq_plugin=no
5422
AM_CONDITIONAL([BUILD_ZEROMQ_PLUGIN_STATIC],
5423
[test "x${with_zeromq_plugin}" = "xyes" -a "$ac_cv_libzmq" = "yes" -a ! "x${shared_zeromq_plugin}" = "xyes"])
5424
AM_CONDITIONAL([BUILD_ZEROMQ_PLUGIN_SHARED],
5425
[test "x${with_zeromq_plugin}" = "xyes" -a "$ac_cv_libzmq" = "yes" -a "x${shared_zeromq_plugin}" = "xyes"])
5426
AM_CONDITIONAL([BUILD_ZEROMQ_PLUGIN],
5427
[test "x${with_zeromq_plugin}" = "xyes" -a "$ac_cv_libzmq" = "yes"])
5429
AS_IF([test "x$with_zeromq_plugin" = "xyes"],[
5431
AS_IF([test "x${with_static_zeromq_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
5433
AS_IF([test "x$enable_zeromq_plugin" = "xyes"],[
5434
pandora_builtin_load_list="zeromq,${pandora_builtin_load_list}"
5435
pandora_builtin_load_symbols_list="_drizzled_zeromq_plugin_,${pandora_builtin_load_symbols_list}"
5436
PANDORA_PLUGIN_DEP_LIBS="${PANDORA_PLUGIN_DEP_LIBS} "
5438
pandora_builtin_list="zeromq,${pandora_builtin_list}"
5439
pandora_builtin_symbols_list="_drizzled_zeromq_plugin_,${pandora_builtin_symbols_list}"
5440
pandora_plugin_libs="${pandora_plugin_libs} \${top_builddir}/plugin/libzeromq_plugin.la"
5442
AS_IF([test "x$enable_zeromq_plugin" = "xyes"],[
5443
pandora_default_plugin_list="zeromq,${pandora_default_plugin_list}"