~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to config/pandora-plugin.ac

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    with_all_static=no
9
9
])
10
10
  
11
 
dnl Config for UDF Plugin for ASCII
 
11
dnl Config for 
12
12
 
13
13
AC_ARG_WITH([ascii-plugin],[
14
14
dnl indented wierd to make the help output correct
15
 
AS_HELP_STRING([--with-ascii-plugin],[Build UDF Plugin for ASCII. @<:@default=yes@:>@])
16
 
AS_HELP_STRING([--without-ascii-plugin],[Disable building UDF Plugin for ASCII])
 
15
AS_HELP_STRING([--with-ascii-plugin],[Build . @<:@default=yes@:>@])
 
16
AS_HELP_STRING([--without-ascii-plugin],[Disable building ])
17
17
  ],[
18
18
    with_ascii_plugin="$withval"
19
19
    AS_IF([test "x$with_ascii_plugin" = "xyes"],[
40
40
])
41
41
AC_ARG_ENABLE([ascii-plugin],[
42
42
dnl indented wierd to make the help output correct
43
 
AS_HELP_STRING([--enable-ascii-plugin],[Enable loading UDF Plugin for ASCII by default. @<:@default=yes@:>@])
44
 
AS_HELP_STRING([--disable-ascii-plugin],[Disable loading UDF Plugin for ASCII by default.])
 
43
AS_HELP_STRING([--enable-ascii-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
44
AS_HELP_STRING([--disable-ascii-plugin],[Disable loading  by default.])
45
45
  ],
46
46
  [enable_ascii_plugin="$enableval"],
47
47
  [enable_ascii_plugin=yes])
73
73
    ])
74
74
    ])
75
75
 
76
 
dnl Config for Allow All Authentication
 
76
dnl Config for 
77
77
 
78
78
AC_ARG_WITH([auth-all-plugin],[
79
79
dnl indented wierd to make the help output correct
80
 
AS_HELP_STRING([--with-auth-all-plugin],[Build Allow All Authentication. @<:@default=yes@:>@])
81
 
AS_HELP_STRING([--without-auth-all-plugin],[Disable building Allow All Authentication])
 
80
AS_HELP_STRING([--with-auth-all-plugin],[Build . @<:@default=yes@:>@])
 
81
AS_HELP_STRING([--without-auth-all-plugin],[Disable building ])
82
82
  ],[
83
83
    with_auth_all_plugin="$withval"
84
84
    AS_IF([test "x$with_auth_all_plugin" = "xyes"],[
105
105
])
106
106
AC_ARG_ENABLE([auth-all-plugin],[
107
107
dnl indented wierd to make the help output correct
108
 
AS_HELP_STRING([--enable-auth-all-plugin],[Enable loading Allow All Authentication by default. @<:@default=yes@:>@])
109
 
AS_HELP_STRING([--disable-auth-all-plugin],[Disable loading Allow All Authentication by default.])
 
108
AS_HELP_STRING([--enable-auth-all-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
109
AS_HELP_STRING([--disable-auth-all-plugin],[Disable loading  by default.])
110
110
  ],
111
111
  [enable_auth_all_plugin="$enableval"],
112
112
  [enable_auth_all_plugin=yes])
138
138
    ])
139
139
    ])
140
140
 
141
 
dnl Config for File-based Authentication
 
141
dnl Config for 
142
142
 
143
143
AC_ARG_WITH([auth-file-plugin],[
144
144
dnl indented wierd to make the help output correct
145
 
AS_HELP_STRING([--with-auth-file-plugin],[Build File-based Authentication. @<:@default=yes@:>@])
146
 
AS_HELP_STRING([--without-auth-file-plugin],[Disable building File-based Authentication])
 
145
AS_HELP_STRING([--with-auth-file-plugin],[Build . @<:@default=yes@:>@])
 
146
AS_HELP_STRING([--without-auth-file-plugin],[Disable building ])
147
147
  ],[
148
148
    with_auth_file_plugin="$withval"
149
149
    AS_IF([test "x$with_auth_file_plugin" = "xyes"],[
170
170
])
171
171
AC_ARG_ENABLE([auth-file-plugin],[
172
172
dnl indented wierd to make the help output correct
173
 
AS_HELP_STRING([--enable-auth-file-plugin],[Enable loading File-based Authentication by default. @<:@default=no@:>@])
174
 
AS_HELP_STRING([--disable-auth-file-plugin],[Disable loading File-based Authentication by default.])
 
173
AS_HELP_STRING([--enable-auth-file-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
174
AS_HELP_STRING([--disable-auth-file-plugin],[Disable loading  by default.])
175
175
  ],
176
176
  [enable_auth_file_plugin="$enableval"],
177
177
  [enable_auth_file_plugin=no])
205
205
    ])
206
206
    ])
207
207
 
208
 
dnl Config for HTTP Authentication Plugin
 
208
dnl Config for 
209
209
 
210
210
AC_ARG_WITH([auth-http-plugin],[
211
211
dnl indented wierd to make the help output correct
212
 
AS_HELP_STRING([--with-auth-http-plugin],[Build HTTP Authentication Plugin. @<:@default=yes@:>@])
213
 
AS_HELP_STRING([--without-auth-http-plugin],[Disable building HTTP Authentication Plugin])
 
212
AS_HELP_STRING([--with-auth-http-plugin],[Build . @<:@default=yes@:>@])
 
213
AS_HELP_STRING([--without-auth-http-plugin],[Disable building ])
214
214
  ],[
215
215
    with_auth_http_plugin="$withval"
216
216
    AS_IF([test "x$with_auth_http_plugin" = "xyes"],[
237
237
])
238
238
AC_ARG_ENABLE([auth-http-plugin],[
239
239
dnl indented wierd to make the help output correct
240
 
AS_HELP_STRING([--enable-auth-http-plugin],[Enable loading HTTP Authentication Plugin by default. @<:@default=no@:>@])
241
 
AS_HELP_STRING([--disable-auth-http-plugin],[Disable loading HTTP Authentication Plugin by default.])
 
240
AS_HELP_STRING([--enable-auth-http-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
241
AS_HELP_STRING([--disable-auth-http-plugin],[Disable loading  by default.])
242
242
  ],
243
243
  [enable_auth_http_plugin="$enableval"],
244
244
  [enable_auth_http_plugin=no])
280
280
    ])
281
281
    ])
282
282
 
283
 
dnl Config for LDAP Authentication
 
283
dnl Config for 
284
284
 
285
285
AC_ARG_WITH([auth-ldap-plugin],[
286
286
dnl indented wierd to make the help output correct
287
 
AS_HELP_STRING([--with-auth-ldap-plugin],[Build LDAP Authentication. @<:@default=yes@:>@])
288
 
AS_HELP_STRING([--without-auth-ldap-plugin],[Disable building LDAP Authentication])
 
287
AS_HELP_STRING([--with-auth-ldap-plugin],[Build . @<:@default=yes@:>@])
 
288
AS_HELP_STRING([--without-auth-ldap-plugin],[Disable building ])
289
289
  ],[
290
290
    with_auth_ldap_plugin="$withval"
291
291
    AS_IF([test "x$with_auth_ldap_plugin" = "xyes"],[
312
312
])
313
313
AC_ARG_ENABLE([auth-ldap-plugin],[
314
314
dnl indented wierd to make the help output correct
315
 
AS_HELP_STRING([--enable-auth-ldap-plugin],[Enable loading LDAP Authentication by default. @<:@default=no@:>@])
316
 
AS_HELP_STRING([--disable-auth-ldap-plugin],[Disable loading LDAP Authentication by default.])
 
315
AS_HELP_STRING([--enable-auth-ldap-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
316
AS_HELP_STRING([--disable-auth-ldap-plugin],[Disable loading  by default.])
317
317
  ],
318
318
  [enable_auth_ldap_plugin="$enableval"],
319
319
  [enable_auth_ldap_plugin=no])
355
355
    ])
356
356
    ])
357
357
 
358
 
dnl Config for PAM Authenication Plugin
 
358
dnl Config for 
359
359
 
360
360
AC_ARG_WITH([auth-pam-plugin],[
361
361
dnl indented wierd to make the help output correct
362
 
AS_HELP_STRING([--with-auth-pam-plugin],[Build PAM Authenication Plugin. @<:@default=yes@:>@])
363
 
AS_HELP_STRING([--without-auth-pam-plugin],[Disable building PAM Authenication Plugin])
 
362
AS_HELP_STRING([--with-auth-pam-plugin],[Build . @<:@default=yes@:>@])
 
363
AS_HELP_STRING([--without-auth-pam-plugin],[Disable building ])
364
364
  ],[
365
365
    with_auth_pam_plugin="$withval"
366
366
    AS_IF([test "x$with_auth_pam_plugin" = "xyes"],[
387
387
])
388
388
AC_ARG_ENABLE([auth-pam-plugin],[
389
389
dnl indented wierd to make the help output correct
390
 
AS_HELP_STRING([--enable-auth-pam-plugin],[Enable loading PAM Authenication Plugin by default. @<:@default=no@:>@])
391
 
AS_HELP_STRING([--disable-auth-pam-plugin],[Disable loading PAM Authenication Plugin by default.])
 
390
AS_HELP_STRING([--enable-auth-pam-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
391
AS_HELP_STRING([--disable-auth-pam-plugin],[Disable loading  by default.])
392
392
  ],
393
393
  [enable_auth_pam_plugin="$enableval"],
394
394
  [enable_auth_pam_plugin=no])
430
430
    ])
431
431
    ])
432
432
 
433
 
dnl Config for Authentication Test
 
433
dnl Config for 
 
434
 
 
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 ])
 
439
  ],[
 
440
    with_auth_schema_plugin="$withval"
 
441
    AS_IF([test "x$with_auth_schema_plugin" = "xyes"],[
 
442
      requested_auth_schema_plugin="yes"
 
443
    ],[
 
444
      requested_auth_schema_plugin="no"
 
445
    ])
 
446
  ],[
 
447
    with_auth_schema_plugin="yes"
 
448
    requested_auth_schema_plugin="no"
 
449
  ])
 
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])
 
453
  ],[
 
454
    with_static_auth_schema_plugin=${withval}
 
455
  ],[
 
456
    with_static_auth_schema_plugin=no
 
457
])
 
458
AS_IF([test "x${with_static_auth_schema_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
 
459
  shared_auth_schema_plugin=no
 
460
  ],[
 
461
  shared_auth_schema_plugin=yes
 
462
])
 
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.])
 
467
  ],
 
468
  [enable_auth_schema_plugin="$enableval"],
 
469
  [enable_auth_schema_plugin=no])
 
470
 
 
471
 
 
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"])
 
478
    
 
479
AS_IF([test "x$with_auth_schema_plugin" = "xyes"],[
 
480
 
 
481
      pandora_plugin_test_list="auth_schema,${pandora_plugin_test_list}"
 
482
    
 
483
      AS_IF([test "x${with_static_auth_schema_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
 
484
 
 
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} "
 
489
        ])
 
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"
 
493
     ],[
 
494
        AS_IF([test "x$enable_auth_schema_plugin" = "xyes"],[
 
495
          pandora_default_plugin_list="auth_schema,${pandora_default_plugin_list}"
 
496
        ])
 
497
    ])
 
498
    ])
 
499
 
 
500
dnl Config for 
434
501
 
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 ])
439
506
  ],[
440
507
    with_auth_test_plugin="$withval"
441
508
    AS_IF([test "x$with_auth_test_plugin" = "xyes"],[
462
529
])
463
530
AC_ARG_ENABLE([auth-test-plugin],[
464
531
dnl indented wierd to make the help output correct
465
 
AS_HELP_STRING([--enable-auth-test-plugin],[Enable loading Authentication Test by default. @<:@default=no@:>@])
466
 
AS_HELP_STRING([--disable-auth-test-plugin],[Disable loading Authentication Test by default.])
 
532
AS_HELP_STRING([--enable-auth-test-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
533
AS_HELP_STRING([--disable-auth-test-plugin],[Disable loading  by default.])
467
534
  ],
468
535
  [enable_auth_test_plugin="$enableval"],
469
536
  [enable_auth_test_plugin=no])
497
564
    ])
498
565
    ])
499
566
 
500
 
dnl Config for UDF Plugin for Benchmark
 
567
dnl Config for 
501
568
 
502
569
AC_ARG_WITH([benchmark-plugin],[
503
570
dnl indented wierd to make the help output correct
504
 
AS_HELP_STRING([--with-benchmark-plugin],[Build UDF Plugin for Benchmark. @<:@default=yes@:>@])
505
 
AS_HELP_STRING([--without-benchmark-plugin],[Disable building UDF Plugin for Benchmark])
 
571
AS_HELP_STRING([--with-benchmark-plugin],[Build . @<:@default=yes@:>@])
 
572
AS_HELP_STRING([--without-benchmark-plugin],[Disable building ])
506
573
  ],[
507
574
    with_benchmark_plugin="$withval"
508
575
    AS_IF([test "x$with_benchmark_plugin" = "xyes"],[
529
596
])
530
597
AC_ARG_ENABLE([benchmark-plugin],[
531
598
dnl indented wierd to make the help output correct
532
 
AS_HELP_STRING([--enable-benchmark-plugin],[Enable loading UDF Plugin for Benchmark by default. @<:@default=yes@:>@])
533
 
AS_HELP_STRING([--disable-benchmark-plugin],[Disable loading UDF Plugin for Benchmark by default.])
 
599
AS_HELP_STRING([--enable-benchmark-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
600
AS_HELP_STRING([--disable-benchmark-plugin],[Disable loading  by default.])
534
601
  ],
535
602
  [enable_benchmark_plugin="$enableval"],
536
603
  [enable_benchmark_plugin=yes])
562
629
    ])
563
630
    ])
564
631
 
565
 
dnl Config for Catalog related DDL functions.
 
632
dnl Config for 
566
633
 
567
634
AC_ARG_WITH([catalog-plugin],[
568
635
dnl indented wierd to make the help output correct
569
 
AS_HELP_STRING([--with-catalog-plugin],[Build Catalog related DDL functions.. @<:@default=yes@:>@])
570
 
AS_HELP_STRING([--without-catalog-plugin],[Disable building Catalog related DDL functions.])
 
636
AS_HELP_STRING([--with-catalog-plugin],[Build . @<:@default=yes@:>@])
 
637
AS_HELP_STRING([--without-catalog-plugin],[Disable building ])
571
638
  ],[
572
639
    with_catalog_plugin="$withval"
573
640
    AS_IF([test "x$with_catalog_plugin" = "xyes"],[
594
661
])
595
662
AC_ARG_ENABLE([catalog-plugin],[
596
663
dnl indented wierd to make the help output correct
597
 
AS_HELP_STRING([--enable-catalog-plugin],[Enable loading Catalog related DDL functions. by default. @<:@default=yes@:>@])
598
 
AS_HELP_STRING([--disable-catalog-plugin],[Disable loading Catalog related DDL functions. by default.])
 
664
AS_HELP_STRING([--enable-catalog-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
665
AS_HELP_STRING([--disable-catalog-plugin],[Disable loading  by default.])
599
666
  ],
600
667
  [enable_catalog_plugin="$enableval"],
601
668
  [enable_catalog_plugin=yes])
629
696
    ])
630
697
    ])
631
698
 
632
 
dnl Config for UDF Plugin for CharLength
 
699
dnl Config for 
633
700
 
634
701
AC_ARG_WITH([charlength-plugin],[
635
702
dnl indented wierd to make the help output correct
636
 
AS_HELP_STRING([--with-charlength-plugin],[Build UDF Plugin for CharLength. @<:@default=yes@:>@])
637
 
AS_HELP_STRING([--without-charlength-plugin],[Disable building UDF Plugin for CharLength])
 
703
AS_HELP_STRING([--with-charlength-plugin],[Build . @<:@default=yes@:>@])
 
704
AS_HELP_STRING([--without-charlength-plugin],[Disable building ])
638
705
  ],[
639
706
    with_charlength_plugin="$withval"
640
707
    AS_IF([test "x$with_charlength_plugin" = "xyes"],[
661
728
])
662
729
AC_ARG_ENABLE([charlength-plugin],[
663
730
dnl indented wierd to make the help output correct
664
 
AS_HELP_STRING([--enable-charlength-plugin],[Enable loading UDF Plugin for CharLength by default. @<:@default=yes@:>@])
665
 
AS_HELP_STRING([--disable-charlength-plugin],[Disable loading UDF Plugin for CharLength by default.])
 
731
AS_HELP_STRING([--enable-charlength-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
732
AS_HELP_STRING([--disable-charlength-plugin],[Disable loading  by default.])
666
733
  ],
667
734
  [enable_charlength_plugin="$enableval"],
668
735
  [enable_charlength_plugin=yes])
694
761
    ])
695
762
    ])
696
763
 
697
 
dnl Config for COERCIBILITY() Function
 
764
dnl Config for 
698
765
 
699
766
AC_ARG_WITH([coercibility-function-plugin],[
700
767
dnl indented wierd to make the help output correct
701
 
AS_HELP_STRING([--with-coercibility-function-plugin],[Build COERCIBILITY() Function. @<:@default=no@:>@])
702
 
AS_HELP_STRING([--without-coercibility-function-plugin],[Disable building COERCIBILITY() Function])
 
768
AS_HELP_STRING([--with-coercibility-function-plugin],[Build . @<:@default=no@:>@])
 
769
AS_HELP_STRING([--without-coercibility-function-plugin],[Disable building ])
703
770
  ],[
704
771
    with_coercibility_function_plugin="$withval"
705
772
    AS_IF([test "x$with_coercibility_function_plugin" = "xyes"],[
726
793
])
727
794
AC_ARG_ENABLE([coercibility-function-plugin],[
728
795
dnl indented wierd to make the help output correct
729
 
AS_HELP_STRING([--enable-coercibility-function-plugin],[Enable loading COERCIBILITY() Function by default. @<:@default=no@:>@])
730
 
AS_HELP_STRING([--disable-coercibility-function-plugin],[Disable loading COERCIBILITY() Function by default.])
 
796
AS_HELP_STRING([--enable-coercibility-function-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
797
AS_HELP_STRING([--disable-coercibility-function-plugin],[Disable loading  by default.])
731
798
  ],
732
799
  [enable_coercibility_function_plugin="$enableval"],
733
800
  [enable_coercibility_function_plugin=no])
761
828
    ])
762
829
    ])
763
830
 
764
 
dnl Config for Character And Collation Dictionary
 
831
dnl Config for 
765
832
 
766
833
AC_ARG_WITH([collation-dictionary-plugin],[
767
834
dnl indented wierd to make the help output correct
768
 
AS_HELP_STRING([--with-collation-dictionary-plugin],[Build Character And Collation Dictionary. @<:@default=yes@:>@])
769
 
AS_HELP_STRING([--without-collation-dictionary-plugin],[Disable building Character And Collation Dictionary])
 
835
AS_HELP_STRING([--with-collation-dictionary-plugin],[Build . @<:@default=yes@:>@])
 
836
AS_HELP_STRING([--without-collation-dictionary-plugin],[Disable building ])
770
837
  ],[
771
838
    with_collation_dictionary_plugin="$withval"
772
839
    AS_IF([test "x$with_collation_dictionary_plugin" = "xyes"],[
793
860
])
794
861
AC_ARG_ENABLE([collation-dictionary-plugin],[
795
862
dnl indented wierd to make the help output correct
796
 
AS_HELP_STRING([--enable-collation-dictionary-plugin],[Enable loading Character And Collation Dictionary by default. @<:@default=yes@:>@])
797
 
AS_HELP_STRING([--disable-collation-dictionary-plugin],[Disable loading Character And Collation Dictionary by default.])
 
863
AS_HELP_STRING([--enable-collation-dictionary-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
864
AS_HELP_STRING([--disable-collation-dictionary-plugin],[Disable loading  by default.])
798
865
  ],
799
866
  [enable_collation_dictionary_plugin="$enableval"],
800
867
  [enable_collation_dictionary_plugin=yes])
828
895
    ])
829
896
    ])
830
897
 
831
 
dnl Config for compression UDFs
 
898
dnl Config for 
832
899
 
833
900
AC_ARG_WITH([compression-plugin],[
834
901
dnl indented wierd to make the help output correct
835
 
AS_HELP_STRING([--with-compression-plugin],[Build compression UDFs. @<:@default=yes@:>@])
836
 
AS_HELP_STRING([--without-compression-plugin],[Disable building compression UDFs])
 
902
AS_HELP_STRING([--with-compression-plugin],[Build . @<:@default=yes@:>@])
 
903
AS_HELP_STRING([--without-compression-plugin],[Disable building ])
837
904
  ],[
838
905
    with_compression_plugin="$withval"
839
906
    AS_IF([test "x$with_compression_plugin" = "xyes"],[
860
927
])
861
928
AC_ARG_ENABLE([compression-plugin],[
862
929
dnl indented wierd to make the help output correct
863
 
AS_HELP_STRING([--enable-compression-plugin],[Enable loading compression UDFs by default. @<:@default=yes@:>@])
864
 
AS_HELP_STRING([--disable-compression-plugin],[Disable loading compression UDFs by default.])
 
930
AS_HELP_STRING([--enable-compression-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
931
AS_HELP_STRING([--disable-compression-plugin],[Disable loading  by default.])
865
932
  ],
866
933
  [enable_compression_plugin="$enableval"],
867
934
  [enable_compression_plugin=yes])
893
960
    ])
894
961
    ])
895
962
 
896
 
dnl Config for Connection ID UDF
 
963
dnl Config for 
897
964
 
898
965
AC_ARG_WITH([connection-id-plugin],[
899
966
dnl indented wierd to make the help output correct
900
 
AS_HELP_STRING([--with-connection-id-plugin],[Build Connection ID UDF. @<:@default=yes@:>@])
901
 
AS_HELP_STRING([--without-connection-id-plugin],[Disable building Connection ID UDF])
 
967
AS_HELP_STRING([--with-connection-id-plugin],[Build . @<:@default=yes@:>@])
 
968
AS_HELP_STRING([--without-connection-id-plugin],[Disable building ])
902
969
  ],[
903
970
    with_connection_id_plugin="$withval"
904
971
    AS_IF([test "x$with_connection_id_plugin" = "xyes"],[
925
992
])
926
993
AC_ARG_ENABLE([connection-id-plugin],[
927
994
dnl indented wierd to make the help output correct
928
 
AS_HELP_STRING([--enable-connection-id-plugin],[Enable loading Connection ID UDF by default. @<:@default=yes@:>@])
929
 
AS_HELP_STRING([--disable-connection-id-plugin],[Disable loading Connection ID UDF by default.])
 
995
AS_HELP_STRING([--enable-connection-id-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
996
AS_HELP_STRING([--disable-connection-id-plugin],[Disable loading  by default.])
930
997
  ],
931
998
  [enable_connection_id_plugin="$enableval"],
932
999
  [enable_connection_id_plugin=yes])
958
1025
    ])
959
1026
    ])
960
1027
 
961
 
dnl Config for Console Client
 
1028
dnl Config for 
962
1029
 
963
1030
AC_ARG_WITH([console-plugin],[
964
1031
dnl indented wierd to make the help output correct
965
 
AS_HELP_STRING([--with-console-plugin],[Build Console Client. @<:@default=yes@:>@])
966
 
AS_HELP_STRING([--without-console-plugin],[Disable building Console Client])
 
1032
AS_HELP_STRING([--with-console-plugin],[Build . @<:@default=yes@:>@])
 
1033
AS_HELP_STRING([--without-console-plugin],[Disable building ])
967
1034
  ],[
968
1035
    with_console_plugin="$withval"
969
1036
    AS_IF([test "x$with_console_plugin" = "xyes"],[
990
1057
])
991
1058
AC_ARG_ENABLE([console-plugin],[
992
1059
dnl indented wierd to make the help output correct
993
 
AS_HELP_STRING([--enable-console-plugin],[Enable loading Console Client by default. @<:@default=yes@:>@])
994
 
AS_HELP_STRING([--disable-console-plugin],[Disable loading Console Client by default.])
 
1060
AS_HELP_STRING([--enable-console-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
1061
AS_HELP_STRING([--disable-console-plugin],[Disable loading  by default.])
995
1062
  ],
996
1063
  [enable_console_plugin="$enableval"],
997
1064
  [enable_console_plugin=yes])
1023
1090
    ])
1024
1091
    ])
1025
1092
 
1026
 
dnl Config for crc32 UDF
 
1093
dnl Config for 
1027
1094
 
1028
1095
AC_ARG_WITH([crc32-plugin],[
1029
1096
dnl indented wierd to make the help output correct
1030
 
AS_HELP_STRING([--with-crc32-plugin],[Build crc32 UDF. @<:@default=yes@:>@])
1031
 
AS_HELP_STRING([--without-crc32-plugin],[Disable building crc32 UDF])
 
1097
AS_HELP_STRING([--with-crc32-plugin],[Build . @<:@default=yes@:>@])
 
1098
AS_HELP_STRING([--without-crc32-plugin],[Disable building ])
1032
1099
  ],[
1033
1100
    with_crc32_plugin="$withval"
1034
1101
    AS_IF([test "x$with_crc32_plugin" = "xyes"],[
1055
1122
])
1056
1123
AC_ARG_ENABLE([crc32-plugin],[
1057
1124
dnl indented wierd to make the help output correct
1058
 
AS_HELP_STRING([--enable-crc32-plugin],[Enable loading crc32 UDF by default. @<:@default=yes@:>@])
1059
 
AS_HELP_STRING([--disable-crc32-plugin],[Disable loading crc32 UDF by default.])
 
1125
AS_HELP_STRING([--enable-crc32-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
1126
AS_HELP_STRING([--disable-crc32-plugin],[Disable loading  by default.])
1060
1127
  ],
1061
1128
  [enable_crc32_plugin="$enableval"],
1062
1129
  [enable_crc32_plugin=yes])
1090
1157
    ])
1091
1158
    ])
1092
1159
 
1093
 
dnl Config for Kernel debugger utilities.
 
1160
dnl Config for 
1094
1161
 
1095
1162
AC_ARG_WITH([debug-plugin],[
1096
1163
dnl indented wierd to make the help output correct
1097
 
AS_HELP_STRING([--with-debug-plugin],[Build Kernel debugger utilities.. @<:@default=yes@:>@])
1098
 
AS_HELP_STRING([--without-debug-plugin],[Disable building Kernel debugger utilities.])
 
1164
AS_HELP_STRING([--with-debug-plugin],[Build . @<:@default=yes@:>@])
 
1165
AS_HELP_STRING([--without-debug-plugin],[Disable building ])
1099
1166
  ],[
1100
1167
    with_debug_plugin="$withval"
1101
1168
    AS_IF([test "x$with_debug_plugin" = "xyes"],[
1122
1189
])
1123
1190
AC_ARG_ENABLE([debug-plugin],[
1124
1191
dnl indented wierd to make the help output correct
1125
 
AS_HELP_STRING([--enable-debug-plugin],[Enable loading Kernel debugger utilities. by default. @<:@default=no@:>@])
1126
 
AS_HELP_STRING([--disable-debug-plugin],[Disable loading Kernel debugger utilities. by default.])
 
1192
AS_HELP_STRING([--enable-debug-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
1193
AS_HELP_STRING([--disable-debug-plugin],[Disable loading  by default.])
1127
1194
  ],
1128
1195
  [enable_debug_plugin="$enableval"],
1129
1196
  [enable_debug_plugin=no])
1157
1224
    ])
1158
1225
    ])
1159
1226
 
1160
 
dnl Config for Default Replicator
 
1227
dnl Config for 
1161
1228
 
1162
1229
AC_ARG_WITH([default-replicator-plugin],[
1163
1230
dnl indented wierd to make the help output correct
1164
 
AS_HELP_STRING([--with-default-replicator-plugin],[Build Default Replicator. @<:@default=yes@:>@])
1165
 
AS_HELP_STRING([--without-default-replicator-plugin],[Disable building Default Replicator])
 
1231
AS_HELP_STRING([--with-default-replicator-plugin],[Build . @<:@default=yes@:>@])
 
1232
AS_HELP_STRING([--without-default-replicator-plugin],[Disable building ])
1166
1233
  ],[
1167
1234
    with_default_replicator_plugin="$withval"
1168
1235
    AS_IF([test "x$with_default_replicator_plugin" = "xyes"],[
1189
1256
])
1190
1257
AC_ARG_ENABLE([default-replicator-plugin],[
1191
1258
dnl indented wierd to make the help output correct
1192
 
AS_HELP_STRING([--enable-default-replicator-plugin],[Enable loading Default Replicator by default. @<:@default=yes@:>@])
1193
 
AS_HELP_STRING([--disable-default-replicator-plugin],[Disable loading Default Replicator by default.])
 
1259
AS_HELP_STRING([--enable-default-replicator-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
1260
AS_HELP_STRING([--disable-default-replicator-plugin],[Disable loading  by default.])
1194
1261
  ],
1195
1262
  [enable_default_replicator_plugin="$enableval"],
1196
1263
  [enable_default_replicator_plugin=yes])
1222
1289
    ])
1223
1290
    ])
1224
1291
 
1225
 
dnl Config for Drizzle Protocol Module
 
1292
dnl Config for 
1226
1293
 
1227
1294
AC_ARG_WITH([drizzle-protocol-plugin],[
1228
1295
dnl indented wierd to make the help output correct
1229
 
AS_HELP_STRING([--with-drizzle-protocol-plugin],[Build Drizzle Protocol Module. @<:@default=yes@:>@])
1230
 
AS_HELP_STRING([--without-drizzle-protocol-plugin],[Disable building Drizzle Protocol Module])
 
1296
AS_HELP_STRING([--with-drizzle-protocol-plugin],[Build . @<:@default=yes@:>@])
 
1297
AS_HELP_STRING([--without-drizzle-protocol-plugin],[Disable building ])
1231
1298
  ],[
1232
1299
    with_drizzle_protocol_plugin="$withval"
1233
1300
    AS_IF([test "x$with_drizzle_protocol_plugin" = "xyes"],[
1254
1321
])
1255
1322
AC_ARG_ENABLE([drizzle-protocol-plugin],[
1256
1323
dnl indented wierd to make the help output correct
1257
 
AS_HELP_STRING([--enable-drizzle-protocol-plugin],[Enable loading Drizzle Protocol Module by default. @<:@default=yes@:>@])
1258
 
AS_HELP_STRING([--disable-drizzle-protocol-plugin],[Disable loading Drizzle Protocol Module by default.])
 
1324
AS_HELP_STRING([--enable-drizzle-protocol-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
1325
AS_HELP_STRING([--disable-drizzle-protocol-plugin],[Disable loading  by default.])
1259
1326
  ],
1260
1327
  [enable_drizzle_protocol_plugin="$enableval"],
1261
1328
  [enable_drizzle_protocol_plugin=yes])
1287
1354
    ])
1288
1355
    ])
1289
1356
 
1290
 
dnl Config for Error Message Plugin
 
1357
dnl Config for 
1291
1358
 
1292
1359
AC_ARG_WITH([errmsg-stderr-plugin],[
1293
1360
dnl indented wierd to make the help output correct
1294
 
AS_HELP_STRING([--with-errmsg-stderr-plugin],[Build Error Message Plugin. @<:@default=yes@:>@])
1295
 
AS_HELP_STRING([--without-errmsg-stderr-plugin],[Disable building Error Message Plugin])
 
1361
AS_HELP_STRING([--with-errmsg-stderr-plugin],[Build . @<:@default=yes@:>@])
 
1362
AS_HELP_STRING([--without-errmsg-stderr-plugin],[Disable building ])
1296
1363
  ],[
1297
1364
    with_errmsg_stderr_plugin="$withval"
1298
1365
    AS_IF([test "x$with_errmsg_stderr_plugin" = "xyes"],[
1305
1372
    requested_errmsg_stderr_plugin="no"
1306
1373
  ])
1307
1374
AC_ARG_WITH([static-errmsg-stderr-plugin],[
1308
 
AS_HELP_STRING([--with-static-errmsg-stderr-plugin],[Build Archive Storage Engine. @<:@default=no@:>@])
 
1375
AS_HELP_STRING([--with-static-errmsg-stderr-plugin],[Build Archive Storage Engine. @<:@default=yes@:>@])
1309
1376
AS_HELP_STRING([--without-static-errmsg-stderr-plugin],[Disable building Archive Storage Engine])
1310
1377
  ],[
1311
1378
    with_static_errmsg_stderr_plugin=${withval}
1312
1379
  ],[
1313
 
    with_static_errmsg_stderr_plugin=no
 
1380
    with_static_errmsg_stderr_plugin=yes
1314
1381
])
1315
1382
AS_IF([test "x${with_static_errmsg_stderr_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
1316
1383
  shared_errmsg_stderr_plugin=no
1319
1386
])
1320
1387
AC_ARG_ENABLE([errmsg-stderr-plugin],[
1321
1388
dnl indented wierd to make the help output correct
1322
 
AS_HELP_STRING([--enable-errmsg-stderr-plugin],[Enable loading Error Message Plugin by default. @<:@default=yes@:>@])
1323
 
AS_HELP_STRING([--disable-errmsg-stderr-plugin],[Disable loading Error Message Plugin by default.])
 
1389
AS_HELP_STRING([--enable-errmsg-stderr-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
1390
AS_HELP_STRING([--disable-errmsg-stderr-plugin],[Disable loading  by default.])
1324
1391
  ],
1325
1392
  [enable_errmsg_stderr_plugin="$enableval"],
1326
1393
  [enable_errmsg_stderr_plugin=yes])
1354
1421
    ])
1355
1422
    ])
1356
1423
 
1357
 
dnl Config for Error Code data dictionary tables.
 
1424
dnl Config for 
1358
1425
 
1359
1426
AC_ARG_WITH([error-dictionary-plugin],[
1360
1427
dnl indented wierd to make the help output correct
1361
 
AS_HELP_STRING([--with-error-dictionary-plugin],[Build Error Code data dictionary tables.. @<:@default=yes@:>@])
1362
 
AS_HELP_STRING([--without-error-dictionary-plugin],[Disable building Error Code data dictionary tables.])
 
1428
AS_HELP_STRING([--with-error-dictionary-plugin],[Build . @<:@default=yes@:>@])
 
1429
AS_HELP_STRING([--without-error-dictionary-plugin],[Disable building ])
1363
1430
  ],[
1364
1431
    with_error_dictionary_plugin="$withval"
1365
1432
    AS_IF([test "x$with_error_dictionary_plugin" = "xyes"],[
1386
1453
])
1387
1454
AC_ARG_ENABLE([error-dictionary-plugin],[
1388
1455
dnl indented wierd to make the help output correct
1389
 
AS_HELP_STRING([--enable-error-dictionary-plugin],[Enable loading Error Code data dictionary tables. by default. @<:@default=yes@:>@])
1390
 
AS_HELP_STRING([--disable-error-dictionary-plugin],[Disable loading Error Code data dictionary tables. by default.])
 
1456
AS_HELP_STRING([--enable-error-dictionary-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
1457
AS_HELP_STRING([--disable-error-dictionary-plugin],[Disable loading  by default.])
1391
1458
  ],
1392
1459
  [enable_error_dictionary_plugin="$enableval"],
1393
1460
  [enable_error_dictionary_plugin=yes])
1421
1488
    ])
1422
1489
    ])
1423
1490
 
1424
 
dnl Config for Filtered Replicator
 
1491
dnl Config for 
1425
1492
 
1426
1493
AC_ARG_WITH([filtered-replicator-plugin],[
1427
1494
dnl indented wierd to make the help output correct
1428
 
AS_HELP_STRING([--with-filtered-replicator-plugin],[Build Filtered Replicator. @<:@default=yes@:>@])
1429
 
AS_HELP_STRING([--without-filtered-replicator-plugin],[Disable building Filtered Replicator])
 
1495
AS_HELP_STRING([--with-filtered-replicator-plugin],[Build . @<:@default=no@:>@])
 
1496
AS_HELP_STRING([--without-filtered-replicator-plugin],[Disable building ])
1430
1497
  ],[
1431
1498
    with_filtered_replicator_plugin="$withval"
1432
1499
    AS_IF([test "x$with_filtered_replicator_plugin" = "xyes"],[
1435
1502
      requested_filtered_replicator_plugin="no"
1436
1503
    ])
1437
1504
  ],[
1438
 
    with_filtered_replicator_plugin="yes"
 
1505
    with_filtered_replicator_plugin="no"
1439
1506
    requested_filtered_replicator_plugin="no"
1440
1507
  ])
1441
1508
AC_ARG_WITH([static-filtered-replicator-plugin],[
1453
1520
])
1454
1521
AC_ARG_ENABLE([filtered-replicator-plugin],[
1455
1522
dnl indented wierd to make the help output correct
1456
 
AS_HELP_STRING([--enable-filtered-replicator-plugin],[Enable loading Filtered Replicator by default. @<:@default=no@:>@])
1457
 
AS_HELP_STRING([--disable-filtered-replicator-plugin],[Disable loading Filtered Replicator by default.])
 
1523
AS_HELP_STRING([--enable-filtered-replicator-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
1524
AS_HELP_STRING([--disable-filtered-replicator-plugin],[Disable loading  by default.])
1458
1525
  ],
1459
1526
  [enable_filtered_replicator_plugin="$enableval"],
1460
1527
  [enable_filtered_replicator_plugin=no])
1488
1555
    ])
1489
1556
    ])
1490
1557
 
1491
 
dnl Config for Function data dictionary tables.
 
1558
dnl Config for 
1492
1559
 
1493
1560
AC_ARG_WITH([function-dictionary-plugin],[
1494
1561
dnl indented wierd to make the help output correct
1495
 
AS_HELP_STRING([--with-function-dictionary-plugin],[Build Function data dictionary tables.. @<:@default=yes@:>@])
1496
 
AS_HELP_STRING([--without-function-dictionary-plugin],[Disable building Function data dictionary tables.])
 
1562
AS_HELP_STRING([--with-function-dictionary-plugin],[Build . @<:@default=yes@:>@])
 
1563
AS_HELP_STRING([--without-function-dictionary-plugin],[Disable building ])
1497
1564
  ],[
1498
1565
    with_function_dictionary_plugin="$withval"
1499
1566
    AS_IF([test "x$with_function_dictionary_plugin" = "xyes"],[
1520
1587
])
1521
1588
AC_ARG_ENABLE([function-dictionary-plugin],[
1522
1589
dnl indented wierd to make the help output correct
1523
 
AS_HELP_STRING([--enable-function-dictionary-plugin],[Enable loading Function data dictionary tables. by default. @<:@default=no@:>@])
1524
 
AS_HELP_STRING([--disable-function-dictionary-plugin],[Disable loading Function data dictionary tables. by default.])
 
1590
AS_HELP_STRING([--enable-function-dictionary-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
1591
AS_HELP_STRING([--disable-function-dictionary-plugin],[Disable loading  by default.])
1525
1592
  ],
1526
1593
  [enable_function_dictionary_plugin="$enableval"],
1527
1594
  [enable_function_dictionary_plugin=no])
1555
1622
    ])
1556
1623
    ])
1557
1624
 
1558
 
dnl Config for Data Engine
 
1625
dnl Config for 
1559
1626
 
1560
1627
AC_ARG_WITH([function-engine-plugin],[
1561
1628
dnl indented wierd to make the help output correct
1562
 
AS_HELP_STRING([--with-function-engine-plugin],[Build Data Engine. @<:@default=yes@:>@])
1563
 
AS_HELP_STRING([--without-function-engine-plugin],[Disable building Data Engine])
 
1629
AS_HELP_STRING([--with-function-engine-plugin],[Build . @<:@default=yes@:>@])
 
1630
AS_HELP_STRING([--without-function-engine-plugin],[Disable building ])
1564
1631
  ],[
1565
1632
    with_function_engine_plugin="$withval"
1566
1633
    AS_IF([test "x$with_function_engine_plugin" = "xyes"],[
1587
1654
])
1588
1655
AC_ARG_ENABLE([function-engine-plugin],[
1589
1656
dnl indented wierd to make the help output correct
1590
 
AS_HELP_STRING([--enable-function-engine-plugin],[Enable loading Data Engine by default. @<:@default=yes@:>@])
1591
 
AS_HELP_STRING([--disable-function-engine-plugin],[Disable loading Data Engine by default.])
 
1657
AS_HELP_STRING([--enable-function-engine-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
1658
AS_HELP_STRING([--disable-function-engine-plugin],[Disable loading  by default.])
1592
1659
  ],
1593
1660
  [enable_function_engine_plugin="$enableval"],
1594
1661
  [enable_function_engine_plugin=yes])
1620
1687
    ])
1621
1688
    ])
1622
1689
 
1623
 
dnl Config for Gearman Client UDFs
 
1690
dnl Config for 
1624
1691
 
1625
1692
AC_ARG_WITH([gearman-udf-plugin],[
1626
1693
dnl indented wierd to make the help output correct
1627
 
AS_HELP_STRING([--with-gearman-udf-plugin],[Build Gearman Client UDFs. @<:@default=yes@:>@])
1628
 
AS_HELP_STRING([--without-gearman-udf-plugin],[Disable building Gearman Client UDFs])
 
1694
AS_HELP_STRING([--with-gearman-udf-plugin],[Build . @<:@default=yes@:>@])
 
1695
AS_HELP_STRING([--without-gearman-udf-plugin],[Disable building ])
1629
1696
  ],[
1630
1697
    with_gearman_udf_plugin="$withval"
1631
1698
    AS_IF([test "x$with_gearman_udf_plugin" = "xyes"],[
1652
1719
])
1653
1720
AC_ARG_ENABLE([gearman-udf-plugin],[
1654
1721
dnl indented wierd to make the help output correct
1655
 
AS_HELP_STRING([--enable-gearman-udf-plugin],[Enable loading Gearman Client UDFs by default. @<:@default=no@:>@])
1656
 
AS_HELP_STRING([--disable-gearman-udf-plugin],[Disable loading Gearman Client UDFs by default.])
 
1722
AS_HELP_STRING([--enable-gearman-udf-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
1723
AS_HELP_STRING([--disable-gearman-udf-plugin],[Disable loading  by default.])
1657
1724
  ],
1658
1725
  [enable_gearman_udf_plugin="$enableval"],
1659
1726
  [enable_gearman_udf_plugin=no])
1695
1762
    ])
1696
1763
    ])
1697
1764
 
1698
 
dnl Config for HailDB storage engine
1699
 
 
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])
1704
 
  ],[
1705
 
    with_haildb_plugin="$withval"
1706
 
    AS_IF([test "x$with_haildb_plugin" = "xyes"],[
1707
 
      requested_haildb_plugin="yes"
1708
 
    ],[
1709
 
      requested_haildb_plugin="no"
1710
 
    ])
1711
 
  ],[
1712
 
    with_haildb_plugin="yes"
1713
 
    requested_haildb_plugin="no"
1714
 
  ])
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])
1718
 
  ],[
1719
 
    with_static_haildb_plugin=${withval}
1720
 
  ],[
1721
 
    with_static_haildb_plugin=no
1722
 
])
1723
 
AS_IF([test "x${with_static_haildb_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
1724
 
  shared_haildb_plugin=no
1725
 
  ],[
1726
 
  shared_haildb_plugin=yes
1727
 
])
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.])
1732
 
  ],
1733
 
  [enable_haildb_plugin="$enableval"],
1734
 
  [enable_haildb_plugin=no])
1735
 
 
1736
 
m4_sinclude([plugin/haildb/plugin.ac])
1737
 
 
1738
 
AS_IF([test "x${with_haildb_plugin}" = "xyes" -a "x${ac_cv_libhaildb}" = "xyes"],
1739
 
      [], dnl build_conditional can only negate
1740
 
      [
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
1744
 
      ])
1745
 
 
1746
 
 
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"])
1753
 
    
1754
 
AS_IF([test "x$with_haildb_plugin" = "xyes"],[
1755
 
 
1756
 
      AS_IF([test "x${with_static_haildb_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
1757
 
 
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} "
1762
 
        ])
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"
1766
 
     ],[
1767
 
        AS_IF([test "x$enable_haildb_plugin" = "xyes"],[
1768
 
          pandora_default_plugin_list="haildb,${pandora_default_plugin_list}"
1769
 
        ])
1770
 
    ])
1771
 
    ])
1772
 
 
1773
 
dnl Config for An example event observer Plugin
 
1765
dnl Config for 
1774
1766
 
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 ])
1779
1771
  ],[
1780
1772
    with_hello_events_plugin="$withval"
1781
1773
    AS_IF([test "x$with_hello_events_plugin" = "xyes"],[
1802
1794
])
1803
1795
AC_ARG_ENABLE([hello-events-plugin],[
1804
1796
dnl indented wierd to make the help output correct
1805
 
AS_HELP_STRING([--enable-hello-events-plugin],[Enable loading An example event observer Plugin by default. @<:@default=no@:>@])
1806
 
AS_HELP_STRING([--disable-hello-events-plugin],[Disable loading An example event observer Plugin by default.])
 
1797
AS_HELP_STRING([--enable-hello-events-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
1798
AS_HELP_STRING([--disable-hello-events-plugin],[Disable loading  by default.])
1807
1799
  ],
1808
1800
  [enable_hello_events_plugin="$enableval"],
1809
1801
  [enable_hello_events_plugin=no])
1837
1829
    ])
1838
1830
    ])
1839
1831
 
1840
 
dnl Config for Example Plugin
 
1832
dnl Config for 
1841
1833
 
1842
1834
AC_ARG_WITH([hello-world-plugin],[
1843
1835
dnl indented wierd to make the help output correct
1844
 
AS_HELP_STRING([--with-hello-world-plugin],[Build Example Plugin. @<:@default=yes@:>@])
1845
 
AS_HELP_STRING([--without-hello-world-plugin],[Disable building Example Plugin])
 
1836
AS_HELP_STRING([--with-hello-world-plugin],[Build . @<:@default=yes@:>@])
 
1837
AS_HELP_STRING([--without-hello-world-plugin],[Disable building ])
1846
1838
  ],[
1847
1839
    with_hello_world_plugin="$withval"
1848
1840
    AS_IF([test "x$with_hello_world_plugin" = "xyes"],[
1869
1861
])
1870
1862
AC_ARG_ENABLE([hello-world-plugin],[
1871
1863
dnl indented wierd to make the help output correct
1872
 
AS_HELP_STRING([--enable-hello-world-plugin],[Enable loading Example Plugin by default. @<:@default=no@:>@])
1873
 
AS_HELP_STRING([--disable-hello-world-plugin],[Disable loading Example Plugin by default.])
 
1864
AS_HELP_STRING([--enable-hello-world-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
1865
AS_HELP_STRING([--disable-hello-world-plugin],[Disable loading  by default.])
1874
1866
  ],
1875
1867
  [enable_hello_world_plugin="$enableval"],
1876
1868
  [enable_hello_world_plugin=no])
1904
1896
    ])
1905
1897
    ])
1906
1898
 
1907
 
dnl Config for HEX() and UNHEX() functions
 
1899
dnl Config for 
1908
1900
 
1909
1901
AC_ARG_WITH([hex-functions-plugin],[
1910
1902
dnl indented wierd to make the help output correct
1911
 
AS_HELP_STRING([--with-hex-functions-plugin],[Build HEX() and UNHEX() functions. @<:@default=yes@:>@])
1912
 
AS_HELP_STRING([--without-hex-functions-plugin],[Disable building HEX() and UNHEX() functions])
 
1903
AS_HELP_STRING([--with-hex-functions-plugin],[Build . @<:@default=yes@:>@])
 
1904
AS_HELP_STRING([--without-hex-functions-plugin],[Disable building ])
1913
1905
  ],[
1914
1906
    with_hex_functions_plugin="$withval"
1915
1907
    AS_IF([test "x$with_hex_functions_plugin" = "xyes"],[
1936
1928
])
1937
1929
AC_ARG_ENABLE([hex-functions-plugin],[
1938
1930
dnl indented wierd to make the help output correct
1939
 
AS_HELP_STRING([--enable-hex-functions-plugin],[Enable loading HEX() and UNHEX() functions by default. @<:@default=yes@:>@])
1940
 
AS_HELP_STRING([--disable-hex-functions-plugin],[Disable loading HEX() and UNHEX() functions by default.])
 
1931
AS_HELP_STRING([--enable-hex-functions-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
1932
AS_HELP_STRING([--disable-hex-functions-plugin],[Disable loading  by default.])
1941
1933
  ],
1942
1934
  [enable_hex_functions_plugin="$enableval"],
1943
1935
  [enable_hex_functions_plugin=yes])
1969
1961
    ])
1970
1962
    ])
1971
1963
 
1972
 
dnl Config for Information Schema Dictionary
 
1964
dnl Config for 
 
1965
 
 
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 ])
 
1970
  ],[
 
1971
    with_http_functions_plugin="$withval"
 
1972
    AS_IF([test "x$with_http_functions_plugin" = "xyes"],[
 
1973
      requested_http_functions_plugin="yes"
 
1974
    ],[
 
1975
      requested_http_functions_plugin="no"
 
1976
    ])
 
1977
  ],[
 
1978
    with_http_functions_plugin="yes"
 
1979
    requested_http_functions_plugin="no"
 
1980
  ])
 
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])
 
1984
  ],[
 
1985
    with_static_http_functions_plugin=${withval}
 
1986
  ],[
 
1987
    with_static_http_functions_plugin=no
 
1988
])
 
1989
AS_IF([test "x${with_static_http_functions_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
 
1990
  shared_http_functions_plugin=no
 
1991
  ],[
 
1992
  shared_http_functions_plugin=yes
 
1993
])
 
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.])
 
1998
  ],
 
1999
  [enable_http_functions_plugin="$enableval"],
 
2000
  [enable_http_functions_plugin=no])
 
2001
 
 
2002
m4_sinclude([plugin/http_functions/plugin.ac])
 
2003
 
 
2004
AS_IF([test "x${with_http_functions_plugin}" = "xyes" -a "${ac_cv_libcurl}" = "yes"],
 
2005
      [], dnl build_conditional can only negate
 
2006
      [
 
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
 
2010
      ])
 
2011
 
 
2012
 
 
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"])
 
2019
    
 
2020
AS_IF([test "x$with_http_functions_plugin" = "xyes"],[
 
2021
 
 
2022
      AS_IF([test "x${with_static_http_functions_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
 
2023
 
 
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} "
 
2028
        ])
 
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"
 
2032
     ],[
 
2033
        AS_IF([test "x$enable_http_functions_plugin" = "xyes"],[
 
2034
          pandora_default_plugin_list="http_functions,${pandora_default_plugin_list}"
 
2035
        ])
 
2036
    ])
 
2037
    ])
 
2038
 
 
2039
dnl Config for 
1973
2040
 
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 ])
1978
2045
  ],[
1979
2046
    with_information_schema_dictionary_plugin="$withval"
1980
2047
    AS_IF([test "x$with_information_schema_dictionary_plugin" = "xyes"],[
2001
2068
])
2002
2069
AC_ARG_ENABLE([information-schema-dictionary-plugin],[
2003
2070
dnl indented wierd to make the help output correct
2004
 
AS_HELP_STRING([--enable-information-schema-dictionary-plugin],[Enable loading Information Schema Dictionary by default. @<:@default=yes@:>@])
2005
 
AS_HELP_STRING([--disable-information-schema-dictionary-plugin],[Disable loading Information Schema Dictionary by default.])
 
2071
AS_HELP_STRING([--enable-information-schema-dictionary-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
2072
AS_HELP_STRING([--disable-information-schema-dictionary-plugin],[Disable loading  by default.])
2006
2073
  ],
2007
2074
  [enable_information_schema_dictionary_plugin="$enableval"],
2008
2075
  [enable_information_schema_dictionary_plugin=yes])
2036
2103
    ])
2037
2104
    ])
2038
2105
 
2039
 
dnl Config for InnoDB Storage Engine
 
2106
dnl Config for 
2040
2107
 
2041
2108
AC_ARG_WITH([innobase-plugin],[
2042
2109
dnl indented wierd to make the help output correct
2043
 
AS_HELP_STRING([--with-innobase-plugin],[Build InnoDB Storage Engine. @<:@default=yes@:>@])
2044
 
AS_HELP_STRING([--without-innobase-plugin],[Disable building InnoDB Storage Engine])
 
2110
AS_HELP_STRING([--with-innobase-plugin],[Build . @<:@default=yes@:>@])
 
2111
AS_HELP_STRING([--without-innobase-plugin],[Disable building ])
2045
2112
  ],[
2046
2113
    with_innobase_plugin="$withval"
2047
2114
    AS_IF([test "x$with_innobase_plugin" = "xyes"],[
2068
2135
])
2069
2136
AC_ARG_ENABLE([innobase-plugin],[
2070
2137
dnl indented wierd to make the help output correct
2071
 
AS_HELP_STRING([--enable-innobase-plugin],[Enable loading InnoDB Storage Engine by default. @<:@default=yes@:>@])
2072
 
AS_HELP_STRING([--disable-innobase-plugin],[Disable loading InnoDB Storage Engine by default.])
 
2138
AS_HELP_STRING([--enable-innobase-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
2139
AS_HELP_STRING([--disable-innobase-plugin],[Disable loading  by default.])
2073
2140
  ],
2074
2141
  [enable_innobase_plugin="$enableval"],
2075
2142
  [enable_innobase_plugin=yes])
2104
2171
    ])
2105
2172
    ])
2106
2173
 
2107
 
dnl Config for UDF Plugin for Length
 
2174
dnl Config for 
 
2175
 
 
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 ])
 
2180
  ],[
 
2181
    with_ipv6_function_plugin="$withval"
 
2182
    AS_IF([test "x$with_ipv6_function_plugin" = "xyes"],[
 
2183
      requested_ipv6_function_plugin="yes"
 
2184
    ],[
 
2185
      requested_ipv6_function_plugin="no"
 
2186
    ])
 
2187
  ],[
 
2188
    with_ipv6_function_plugin="no"
 
2189
    requested_ipv6_function_plugin="no"
 
2190
  ])
 
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])
 
2194
  ],[
 
2195
    with_static_ipv6_function_plugin=${withval}
 
2196
  ],[
 
2197
    with_static_ipv6_function_plugin=yes
 
2198
])
 
2199
AS_IF([test "x${with_static_ipv6_function_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
 
2200
  shared_ipv6_function_plugin=no
 
2201
  ],[
 
2202
  shared_ipv6_function_plugin=yes
 
2203
])
 
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.])
 
2208
  ],
 
2209
  [enable_ipv6_function_plugin="$enableval"],
 
2210
  [enable_ipv6_function_plugin=no])
 
2211
 
 
2212
 
 
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"])
 
2219
    
 
2220
AS_IF([test "x$with_ipv6_function_plugin" = "xyes"],[
 
2221
 
 
2222
      AS_IF([test "x${with_static_ipv6_function_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
 
2223
 
 
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} "
 
2228
        ])
 
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"
 
2232
     ],[
 
2233
        AS_IF([test "x$enable_ipv6_function_plugin" = "xyes"],[
 
2234
          pandora_default_plugin_list="ipv6_function,${pandora_default_plugin_list}"
 
2235
        ])
 
2236
    ])
 
2237
    ])
 
2238
 
 
2239
dnl Config for 
 
2240
 
 
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 ])
 
2245
  ],[
 
2246
    with_js_plugin="$withval"
 
2247
    AS_IF([test "x$with_js_plugin" = "xyes"],[
 
2248
      requested_js_plugin="yes"
 
2249
    ],[
 
2250
      requested_js_plugin="no"
 
2251
    ])
 
2252
  ],[
 
2253
    with_js_plugin="yes"
 
2254
    requested_js_plugin="no"
 
2255
  ])
 
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])
 
2259
  ],[
 
2260
    with_static_js_plugin=${withval}
 
2261
  ],[
 
2262
    with_static_js_plugin=no
 
2263
])
 
2264
AS_IF([test "x${with_static_js_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
 
2265
  shared_js_plugin=no
 
2266
  ],[
 
2267
  shared_js_plugin=yes
 
2268
])
 
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.])
 
2273
  ],
 
2274
  [enable_js_plugin="$enableval"],
 
2275
  [enable_js_plugin=yes])
 
2276
 
 
2277
m4_sinclude([plugin/js/plugin.ac])
 
2278
 
 
2279
AS_IF([test "x${with_js_plugin}" = "xyes" -a "$ac_cv_libv8" = "yes"],
 
2280
      [], dnl build_conditional can only negate
 
2281
      [
 
2282
        AS_IF([test "x${requested_js_plugin}" = "xyes"],
 
2283
              [AC_MSG_ERROR([Plugin js was explicitly requested, yet failed build dependency checks. Aborting!])])
 
2284
        with_js_plugin=no
 
2285
      ])
 
2286
 
 
2287
 
 
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"])
 
2294
    
 
2295
AS_IF([test "x$with_js_plugin" = "xyes"],[
 
2296
 
 
2297
      pandora_plugin_test_list="js,${pandora_plugin_test_list}"
 
2298
    
 
2299
      AS_IF([test "x${with_static_js_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
 
2300
 
 
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} "
 
2305
        ])
 
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"
 
2309
     ],[
 
2310
        AS_IF([test "x$enable_js_plugin" = "xyes"],[
 
2311
          pandora_default_plugin_list="js,${pandora_default_plugin_list}"
 
2312
        ])
 
2313
    ])
 
2314
    ])
 
2315
 
 
2316
dnl Config for 
 
2317
 
 
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 ])
 
2322
  ],[
 
2323
    with_json_server_plugin="$withval"
 
2324
    AS_IF([test "x$with_json_server_plugin" = "xyes"],[
 
2325
      requested_json_server_plugin="yes"
 
2326
    ],[
 
2327
      requested_json_server_plugin="no"
 
2328
    ])
 
2329
  ],[
 
2330
    with_json_server_plugin="yes"
 
2331
    requested_json_server_plugin="no"
 
2332
  ])
 
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])
 
2336
  ],[
 
2337
    with_static_json_server_plugin=${withval}
 
2338
  ],[
 
2339
    with_static_json_server_plugin=no
 
2340
])
 
2341
AS_IF([test "x${with_static_json_server_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
 
2342
  shared_json_server_plugin=no
 
2343
  ],[
 
2344
  shared_json_server_plugin=yes
 
2345
])
 
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.])
 
2350
  ],
 
2351
  [enable_json_server_plugin="$enableval"],
 
2352
  [enable_json_server_plugin=no])
 
2353
 
 
2354
m4_sinclude([plugin/json_server/plugin.ac])
 
2355
 
 
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
 
2358
      [
 
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
 
2362
      ])
 
2363
 
 
2364
 
 
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"])
 
2371
    
 
2372
AS_IF([test "x$with_json_server_plugin" = "xyes"],[
 
2373
 
 
2374
      pandora_plugin_test_list="json_server,${pandora_plugin_test_list}"
 
2375
    
 
2376
      AS_IF([test "x${with_static_json_server_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
 
2377
 
 
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} "
 
2382
        ])
 
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"
 
2386
     ],[
 
2387
        AS_IF([test "x$enable_json_server_plugin" = "xyes"],[
 
2388
          pandora_default_plugin_list="json_server,${pandora_default_plugin_list}"
 
2389
        ])
 
2390
    ])
 
2391
    ])
 
2392
 
 
2393
dnl Config for 
2108
2394
 
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 ])
2113
2399
  ],[
2114
2400
    with_length_plugin="$withval"
2115
2401
    AS_IF([test "x$with_length_plugin" = "xyes"],[
2136
2422
])
2137
2423
AC_ARG_ENABLE([length-plugin],[
2138
2424
dnl indented wierd to make the help output correct
2139
 
AS_HELP_STRING([--enable-length-plugin],[Enable loading UDF Plugin for Length by default. @<:@default=yes@:>@])
2140
 
AS_HELP_STRING([--disable-length-plugin],[Disable loading UDF Plugin for Length by default.])
 
2425
AS_HELP_STRING([--enable-length-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
2426
AS_HELP_STRING([--disable-length-plugin],[Disable loading  by default.])
2141
2427
  ],
2142
2428
  [enable_length_plugin="$enableval"],
2143
2429
  [enable_length_plugin=yes])
2169
2455
    ])
2170
2456
    ])
2171
2457
 
2172
 
dnl Config for Gearman Logging Plugin
 
2458
dnl Config for 
2173
2459
 
2174
2460
AC_ARG_WITH([logging-gearman-plugin],[
2175
2461
dnl indented wierd to make the help output correct
2176
 
AS_HELP_STRING([--with-logging-gearman-plugin],[Build Gearman Logging Plugin. @<:@default=yes@:>@])
2177
 
AS_HELP_STRING([--without-logging-gearman-plugin],[Disable building Gearman Logging Plugin])
 
2462
AS_HELP_STRING([--with-logging-gearman-plugin],[Build . @<:@default=yes@:>@])
 
2463
AS_HELP_STRING([--without-logging-gearman-plugin],[Disable building ])
2178
2464
  ],[
2179
2465
    with_logging_gearman_plugin="$withval"
2180
2466
    AS_IF([test "x$with_logging_gearman_plugin" = "xyes"],[
2201
2487
])
2202
2488
AC_ARG_ENABLE([logging-gearman-plugin],[
2203
2489
dnl indented wierd to make the help output correct
2204
 
AS_HELP_STRING([--enable-logging-gearman-plugin],[Enable loading Gearman Logging Plugin by default. @<:@default=no@:>@])
2205
 
AS_HELP_STRING([--disable-logging-gearman-plugin],[Disable loading Gearman Logging Plugin by default.])
 
2490
AS_HELP_STRING([--enable-logging-gearman-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
2491
AS_HELP_STRING([--disable-logging-gearman-plugin],[Disable loading  by default.])
2206
2492
  ],
2207
2493
  [enable_logging_gearman_plugin="$enableval"],
2208
2494
  [enable_logging_gearman_plugin=no])
2244
2530
    ])
2245
2531
    ])
2246
2532
 
2247
 
dnl Config for Query Logging Plugin
 
2533
dnl Config for 
2248
2534
 
2249
2535
AC_ARG_WITH([logging-query-plugin],[
2250
2536
dnl indented wierd to make the help output correct
2251
 
AS_HELP_STRING([--with-logging-query-plugin],[Build Query Logging Plugin. @<:@default=yes@:>@])
2252
 
AS_HELP_STRING([--without-logging-query-plugin],[Disable building Query Logging Plugin])
 
2537
AS_HELP_STRING([--with-logging-query-plugin],[Build . @<:@default=yes@:>@])
 
2538
AS_HELP_STRING([--without-logging-query-plugin],[Disable building ])
2253
2539
  ],[
2254
2540
    with_logging_query_plugin="$withval"
2255
2541
    AS_IF([test "x$with_logging_query_plugin" = "xyes"],[
2276
2562
])
2277
2563
AC_ARG_ENABLE([logging-query-plugin],[
2278
2564
dnl indented wierd to make the help output correct
2279
 
AS_HELP_STRING([--enable-logging-query-plugin],[Enable loading Query Logging Plugin by default. @<:@default=no@:>@])
2280
 
AS_HELP_STRING([--disable-logging-query-plugin],[Disable loading Query Logging Plugin by default.])
 
2565
AS_HELP_STRING([--enable-logging-query-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
2566
AS_HELP_STRING([--disable-logging-query-plugin],[Disable loading  by default.])
2281
2567
  ],
2282
2568
  [enable_logging_query_plugin="$enableval"],
2283
2569
  [enable_logging_query_plugin=no])
2309
2595
    ])
2310
2596
    ])
2311
2597
 
2312
 
dnl Config for Statistics Plugin for Drizzle
 
2598
dnl Config for 
2313
2599
 
2314
2600
AC_ARG_WITH([logging-stats-plugin],[
2315
2601
dnl indented wierd to make the help output correct
2316
 
AS_HELP_STRING([--with-logging-stats-plugin],[Build Statistics Plugin for Drizzle. @<:@default=yes@:>@])
2317
 
AS_HELP_STRING([--without-logging-stats-plugin],[Disable building Statistics Plugin for Drizzle])
 
2602
AS_HELP_STRING([--with-logging-stats-plugin],[Build . @<:@default=yes@:>@])
 
2603
AS_HELP_STRING([--without-logging-stats-plugin],[Disable building ])
2318
2604
  ],[
2319
2605
    with_logging_stats_plugin="$withval"
2320
2606
    AS_IF([test "x$with_logging_stats_plugin" = "xyes"],[
2341
2627
])
2342
2628
AC_ARG_ENABLE([logging-stats-plugin],[
2343
2629
dnl indented wierd to make the help output correct
2344
 
AS_HELP_STRING([--enable-logging-stats-plugin],[Enable loading Statistics Plugin for Drizzle by default. @<:@default=yes@:>@])
2345
 
AS_HELP_STRING([--disable-logging-stats-plugin],[Disable loading Statistics Plugin for Drizzle by default.])
 
2630
AS_HELP_STRING([--enable-logging-stats-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
2631
AS_HELP_STRING([--disable-logging-stats-plugin],[Disable loading  by default.])
2346
2632
  ],
2347
2633
  [enable_logging_stats_plugin="$enableval"],
2348
2634
  [enable_logging_stats_plugin=yes])
2376
2662
    ])
2377
2663
    ])
2378
2664
 
2379
 
dnl Config for Math Functions
 
2665
dnl Config for 
2380
2666
 
2381
2667
AC_ARG_WITH([math-functions-plugin],[
2382
2668
dnl indented wierd to make the help output correct
2383
 
AS_HELP_STRING([--with-math-functions-plugin],[Build Math Functions. @<:@default=yes@:>@])
2384
 
AS_HELP_STRING([--without-math-functions-plugin],[Disable building Math Functions])
 
2669
AS_HELP_STRING([--with-math-functions-plugin],[Build . @<:@default=yes@:>@])
 
2670
AS_HELP_STRING([--without-math-functions-plugin],[Disable building ])
2385
2671
  ],[
2386
2672
    with_math_functions_plugin="$withval"
2387
2673
    AS_IF([test "x$with_math_functions_plugin" = "xyes"],[
2408
2694
])
2409
2695
AC_ARG_ENABLE([math-functions-plugin],[
2410
2696
dnl indented wierd to make the help output correct
2411
 
AS_HELP_STRING([--enable-math-functions-plugin],[Enable loading Math Functions by default. @<:@default=yes@:>@])
2412
 
AS_HELP_STRING([--disable-math-functions-plugin],[Disable loading Math Functions by default.])
 
2697
AS_HELP_STRING([--enable-math-functions-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
2698
AS_HELP_STRING([--disable-math-functions-plugin],[Disable loading  by default.])
2413
2699
  ],
2414
2700
  [enable_math_functions_plugin="$enableval"],
2415
2701
  [enable_math_functions_plugin=yes])
2441
2727
    ])
2442
2728
    ])
2443
2729
 
2444
 
dnl Config for UDF Plugin for MD5
 
2730
dnl Config for 
2445
2731
 
2446
2732
AC_ARG_WITH([md5-plugin],[
2447
2733
dnl indented wierd to make the help output correct
2448
 
AS_HELP_STRING([--with-md5-plugin],[Build UDF Plugin for MD5. @<:@default=yes@:>@])
2449
 
AS_HELP_STRING([--without-md5-plugin],[Disable building UDF Plugin for MD5])
 
2734
AS_HELP_STRING([--with-md5-plugin],[Build . @<:@default=yes@:>@])
 
2735
AS_HELP_STRING([--without-md5-plugin],[Disable building ])
2450
2736
  ],[
2451
2737
    with_md5_plugin="$withval"
2452
2738
    AS_IF([test "x$with_md5_plugin" = "xyes"],[
2473
2759
])
2474
2760
AC_ARG_ENABLE([md5-plugin],[
2475
2761
dnl indented wierd to make the help output correct
2476
 
AS_HELP_STRING([--enable-md5-plugin],[Enable loading UDF Plugin for MD5 by default. @<:@default=yes@:>@])
2477
 
AS_HELP_STRING([--disable-md5-plugin],[Disable loading UDF Plugin for MD5 by default.])
 
2762
AS_HELP_STRING([--enable-md5-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
2763
AS_HELP_STRING([--disable-md5-plugin],[Disable loading  by default.])
2478
2764
  ],
2479
2765
  [enable_md5_plugin="$enableval"],
2480
2766
  [enable_md5_plugin=yes])
2518
2804
    ])
2519
2805
    ])
2520
2806
 
2521
 
dnl Config for Memcached Client UDFs
 
2807
dnl Config for 
2522
2808
 
2523
2809
AC_ARG_WITH([memcached-functions-plugin],[
2524
2810
dnl indented wierd to make the help output correct
2525
 
AS_HELP_STRING([--with-memcached-functions-plugin],[Build Memcached Client UDFs. @<:@default=no@:>@])
2526
 
AS_HELP_STRING([--without-memcached-functions-plugin],[Disable building Memcached Client UDFs])
 
2811
AS_HELP_STRING([--with-memcached-functions-plugin],[Build . @<:@default=no@:>@])
 
2812
AS_HELP_STRING([--without-memcached-functions-plugin],[Disable building ])
2527
2813
  ],[
2528
2814
    with_memcached_functions_plugin="$withval"
2529
2815
    AS_IF([test "x$with_memcached_functions_plugin" = "xyes"],[
2550
2836
])
2551
2837
AC_ARG_ENABLE([memcached-functions-plugin],[
2552
2838
dnl indented wierd to make the help output correct
2553
 
AS_HELP_STRING([--enable-memcached-functions-plugin],[Enable loading Memcached Client UDFs by default. @<:@default=no@:>@])
2554
 
AS_HELP_STRING([--disable-memcached-functions-plugin],[Disable loading Memcached Client UDFs by default.])
 
2839
AS_HELP_STRING([--enable-memcached-functions-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
2840
AS_HELP_STRING([--disable-memcached-functions-plugin],[Disable loading  by default.])
2555
2841
  ],
2556
2842
  [enable_memcached_functions_plugin="$enableval"],
2557
2843
  [enable_memcached_functions_plugin=no])
2595
2881
    ])
2596
2882
    ])
2597
2883
 
2598
 
dnl Config for Query Cache
2599
 
 
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])
2604
 
  ],[
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"
2608
 
    ],[
2609
 
      requested_memcached_query_cache_plugin="no"
2610
 
    ])
2611
 
  ],[
2612
 
    with_memcached_query_cache_plugin="no"
2613
 
    requested_memcached_query_cache_plugin="no"
2614
 
  ])
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])
2618
 
  ],[
2619
 
    with_static_memcached_query_cache_plugin=${withval}
2620
 
  ],[
2621
 
    with_static_memcached_query_cache_plugin=no
2622
 
])
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
2625
 
  ],[
2626
 
  shared_memcached_query_cache_plugin=yes
2627
 
])
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.])
2632
 
  ],
2633
 
  [enable_memcached_query_cache_plugin="$enableval"],
2634
 
  [enable_memcached_query_cache_plugin=no])
2635
 
 
2636
 
 
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
2639
 
      [
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
2643
 
      ])
2644
 
 
2645
 
 
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"])
2652
 
    
2653
 
AS_IF([test "x$with_memcached_query_cache_plugin" = "xyes"],[
2654
 
 
2655
 
      pandora_plugin_test_list="memcached_query_cache,${pandora_plugin_test_list}"
2656
 
    
2657
 
      AS_IF([test "x${with_static_memcached_query_cache_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
2658
 
 
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} "
2663
 
        ])
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"
2667
 
     ],[
2668
 
        AS_IF([test "x$enable_memcached_query_cache_plugin" = "xyes"],[
2669
 
          pandora_default_plugin_list="memcached_query_cache,${pandora_default_plugin_list}"
2670
 
        ])
2671
 
    ])
2672
 
    ])
2673
 
 
2674
 
dnl Config for Memcached Stats in DATA_DICTIONARY tables
 
2884
dnl Config for 
2675
2885
 
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 ])
2680
2890
  ],[
2681
2891
    with_memcached_stats_plugin="$withval"
2682
2892
    AS_IF([test "x$with_memcached_stats_plugin" = "xyes"],[
2703
2913
])
2704
2914
AC_ARG_ENABLE([memcached-stats-plugin],[
2705
2915
dnl indented wierd to make the help output correct
2706
 
AS_HELP_STRING([--enable-memcached-stats-plugin],[Enable loading Memcached Stats in DATA_DICTIONARY tables by default. @<:@default=no@:>@])
2707
 
AS_HELP_STRING([--disable-memcached-stats-plugin],[Disable loading Memcached Stats in DATA_DICTIONARY tables by default.])
 
2916
AS_HELP_STRING([--enable-memcached-stats-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
2917
AS_HELP_STRING([--disable-memcached-stats-plugin],[Disable loading  by default.])
2708
2918
  ],
2709
2919
  [enable_memcached_stats_plugin="$enableval"],
2710
2920
  [enable_memcached_stats_plugin=no])
2748
2958
    ])
2749
2959
    ])
2750
2960
 
2751
 
dnl Config for Memory Storage Engine
 
2961
dnl Config for 
2752
2962
 
2753
2963
AC_ARG_WITH([memory-plugin],[
2754
2964
dnl indented wierd to make the help output correct
2755
 
AS_HELP_STRING([--with-memory-plugin],[Build Memory Storage Engine. @<:@default=yes@:>@])
2756
 
AS_HELP_STRING([--without-memory-plugin],[Disable building Memory Storage Engine])
 
2965
AS_HELP_STRING([--with-memory-plugin],[Build . @<:@default=yes@:>@])
 
2966
AS_HELP_STRING([--without-memory-plugin],[Disable building ])
2757
2967
  ],[
2758
2968
    with_memory_plugin="$withval"
2759
2969
    AS_IF([test "x$with_memory_plugin" = "xyes"],[
2780
2990
])
2781
2991
AC_ARG_ENABLE([memory-plugin],[
2782
2992
dnl indented wierd to make the help output correct
2783
 
AS_HELP_STRING([--enable-memory-plugin],[Enable loading Memory Storage Engine by default. @<:@default=yes@:>@])
2784
 
AS_HELP_STRING([--disable-memory-plugin],[Disable loading Memory Storage Engine by default.])
 
2993
AS_HELP_STRING([--enable-memory-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
2994
AS_HELP_STRING([--disable-memory-plugin],[Disable loading  by default.])
2785
2995
  ],
2786
2996
  [enable_memory_plugin="$enableval"],
2787
2997
  [enable_memory_plugin=yes])
2815
3025
    ])
2816
3026
    ])
2817
3027
 
2818
 
dnl Config for Multi-Thread Scheduler
 
3028
dnl Config for 
2819
3029
 
2820
3030
AC_ARG_WITH([multi-thread-plugin],[
2821
3031
dnl indented wierd to make the help output correct
2822
 
AS_HELP_STRING([--with-multi-thread-plugin],[Build Multi-Thread Scheduler. @<:@default=yes@:>@])
2823
 
AS_HELP_STRING([--without-multi-thread-plugin],[Disable building Multi-Thread Scheduler])
 
3032
AS_HELP_STRING([--with-multi-thread-plugin],[Build . @<:@default=yes@:>@])
 
3033
AS_HELP_STRING([--without-multi-thread-plugin],[Disable building ])
2824
3034
  ],[
2825
3035
    with_multi_thread_plugin="$withval"
2826
3036
    AS_IF([test "x$with_multi_thread_plugin" = "xyes"],[
2847
3057
])
2848
3058
AC_ARG_ENABLE([multi-thread-plugin],[
2849
3059
dnl indented wierd to make the help output correct
2850
 
AS_HELP_STRING([--enable-multi-thread-plugin],[Enable loading Multi-Thread Scheduler by default. @<:@default=yes@:>@])
2851
 
AS_HELP_STRING([--disable-multi-thread-plugin],[Disable loading Multi-Thread Scheduler by default.])
 
3060
AS_HELP_STRING([--enable-multi-thread-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
3061
AS_HELP_STRING([--disable-multi-thread-plugin],[Disable loading  by default.])
2852
3062
  ],
2853
3063
  [enable_multi_thread_plugin="$enableval"],
2854
3064
  [enable_multi_thread_plugin=yes])
2880
3090
    ])
2881
3091
    ])
2882
3092
 
2883
 
dnl Config for MyISAM Storage Engine
 
3093
dnl Config for 
2884
3094
 
2885
3095
AC_ARG_WITH([myisam-plugin],[
2886
3096
dnl indented wierd to make the help output correct
2887
 
AS_HELP_STRING([--with-myisam-plugin],[Build MyISAM Storage Engine. @<:@default=yes@:>@])
2888
 
AS_HELP_STRING([--without-myisam-plugin],[Disable building MyISAM Storage Engine])
 
3097
AS_HELP_STRING([--with-myisam-plugin],[Build . @<:@default=yes@:>@])
 
3098
AS_HELP_STRING([--without-myisam-plugin],[Disable building ])
2889
3099
  ],[
2890
3100
    with_myisam_plugin="$withval"
2891
3101
    AS_IF([test "x$with_myisam_plugin" = "xyes"],[
2912
3122
])
2913
3123
AC_ARG_ENABLE([myisam-plugin],[
2914
3124
dnl indented wierd to make the help output correct
2915
 
AS_HELP_STRING([--enable-myisam-plugin],[Enable loading MyISAM Storage Engine by default. @<:@default=yes@:>@])
2916
 
AS_HELP_STRING([--disable-myisam-plugin],[Disable loading MyISAM Storage Engine by default.])
 
3125
AS_HELP_STRING([--enable-myisam-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
3126
AS_HELP_STRING([--disable-myisam-plugin],[Disable loading  by default.])
2917
3127
  ],
2918
3128
  [enable_myisam_plugin="$enableval"],
2919
3129
  [enable_myisam_plugin=yes])
2947
3157
    ])
2948
3158
    ])
2949
3159
 
2950
 
dnl Config for MySQL Protocol Module
 
3160
dnl Config for 
2951
3161
 
2952
3162
AC_ARG_WITH([mysql-protocol-plugin],[
2953
3163
dnl indented wierd to make the help output correct
2954
 
AS_HELP_STRING([--with-mysql-protocol-plugin],[Build MySQL Protocol Module. @<:@default=yes@:>@])
2955
 
AS_HELP_STRING([--without-mysql-protocol-plugin],[Disable building MySQL Protocol Module])
 
3164
AS_HELP_STRING([--with-mysql-protocol-plugin],[Build . @<:@default=yes@:>@])
 
3165
AS_HELP_STRING([--without-mysql-protocol-plugin],[Disable building ])
2956
3166
  ],[
2957
3167
    with_mysql_protocol_plugin="$withval"
2958
3168
    AS_IF([test "x$with_mysql_protocol_plugin" = "xyes"],[
2979
3189
])
2980
3190
AC_ARG_ENABLE([mysql-protocol-plugin],[
2981
3191
dnl indented wierd to make the help output correct
2982
 
AS_HELP_STRING([--enable-mysql-protocol-plugin],[Enable loading MySQL Protocol Module by default. @<:@default=yes@:>@])
2983
 
AS_HELP_STRING([--disable-mysql-protocol-plugin],[Disable loading MySQL Protocol Module by default.])
 
3192
AS_HELP_STRING([--enable-mysql-protocol-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
3193
AS_HELP_STRING([--disable-mysql-protocol-plugin],[Disable loading  by default.])
2984
3194
  ],
2985
3195
  [enable_mysql_protocol_plugin="$enableval"],
2986
3196
  [enable_mysql_protocol_plugin=yes])
3014
3224
    ])
3015
3225
    ])
3016
3226
 
3017
 
dnl Config for MySQL Unix Socket Protocol Module
 
3227
dnl Config for 
3018
3228
 
3019
3229
AC_ARG_WITH([mysql-unix-socket-protocol-plugin],[
3020
3230
dnl indented wierd to make the help output correct
3021
 
AS_HELP_STRING([--with-mysql-unix-socket-protocol-plugin],[Build MySQL Unix Socket Protocol Module. @<:@default=yes@:>@])
3022
 
AS_HELP_STRING([--without-mysql-unix-socket-protocol-plugin],[Disable building MySQL Unix Socket Protocol Module])
 
3231
AS_HELP_STRING([--with-mysql-unix-socket-protocol-plugin],[Build . @<:@default=yes@:>@])
 
3232
AS_HELP_STRING([--without-mysql-unix-socket-protocol-plugin],[Disable building ])
3023
3233
  ],[
3024
3234
    with_mysql_unix_socket_protocol_plugin="$withval"
3025
3235
    AS_IF([test "x$with_mysql_unix_socket_protocol_plugin" = "xyes"],[
3046
3256
])
3047
3257
AC_ARG_ENABLE([mysql-unix-socket-protocol-plugin],[
3048
3258
dnl indented wierd to make the help output correct
3049
 
AS_HELP_STRING([--enable-mysql-unix-socket-protocol-plugin],[Enable loading MySQL Unix Socket Protocol Module by default. @<:@default=yes@:>@])
3050
 
AS_HELP_STRING([--disable-mysql-unix-socket-protocol-plugin],[Disable loading MySQL Unix Socket Protocol Module by default.])
 
3259
AS_HELP_STRING([--enable-mysql-unix-socket-protocol-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
3260
AS_HELP_STRING([--disable-mysql-unix-socket-protocol-plugin],[Disable loading  by default.])
3051
3261
  ],
3052
3262
  [enable_mysql_unix_socket_protocol_plugin="$enableval"],
3053
3263
  [enable_mysql_unix_socket_protocol_plugin=yes])
3079
3289
    ])
3080
3290
    ])
3081
3291
 
3082
 
dnl Config for PrimeBase Media Stream Daemon
3083
 
 
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])
3088
 
  ],[
3089
 
    with_pbms_plugin="$withval"
3090
 
    AS_IF([test "x$with_pbms_plugin" = "xyes"],[
3091
 
      requested_pbms_plugin="yes"
3092
 
    ],[
3093
 
      requested_pbms_plugin="no"
3094
 
    ])
3095
 
  ],[
3096
 
    with_pbms_plugin="yes"
3097
 
    requested_pbms_plugin="no"
3098
 
  ])
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])
3102
 
  ],[
3103
 
    with_static_pbms_plugin=${withval}
3104
 
  ],[
3105
 
    with_static_pbms_plugin=no
3106
 
])
3107
 
AS_IF([test "x${with_static_pbms_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
3108
 
  shared_pbms_plugin=no
3109
 
  ],[
3110
 
  shared_pbms_plugin=yes
3111
 
])
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.])
3116
 
  ],
3117
 
  [enable_pbms_plugin="$enableval"],
3118
 
  [enable_pbms_plugin=no])
3119
 
 
3120
 
m4_sinclude([plugin/pbms/plugin.ac])
3121
 
 
3122
 
AS_IF([test "x${with_pbms_plugin}" = "xyes" -a "${ac_cv_libcurl}" = "yes"],
3123
 
      [], dnl build_conditional can only negate
3124
 
      [
3125
 
        AS_IF([test "x${requested_pbms_plugin}" = "xyes"],
3126
 
              [AC_MSG_ERROR([Plugin pbms was explicitly requested, yet failed build dependency checks. Aborting!])])
3127
 
        with_pbms_plugin=no
3128
 
      ])
3129
 
 
3130
 
 
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"])
3137
 
    
3138
 
AS_IF([test "x$with_pbms_plugin" = "xyes"],[
3139
 
 
3140
 
      pandora_plugin_test_list="pbms,${pandora_plugin_test_list}"
3141
 
    
3142
 
      AS_IF([test "x${with_static_pbms_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
3143
 
 
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} "
3148
 
        ])
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"
3152
 
     ],[
3153
 
        AS_IF([test "x$enable_pbms_plugin" = "xyes"],[
3154
 
          pandora_default_plugin_list="pbms,${pandora_default_plugin_list}"
3155
 
        ])
3156
 
    ])
3157
 
    ])
3158
 
 
3159
 
dnl Config for Performance Dictionary
 
3292
dnl Config for 
3160
3293
 
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 ])
3165
3298
  ],[
3166
3299
    with_performance_dictionary_plugin="$withval"
3167
3300
    AS_IF([test "x$with_performance_dictionary_plugin" = "xyes"],[
3188
3321
])
3189
3322
AC_ARG_ENABLE([performance-dictionary-plugin],[
3190
3323
dnl indented wierd to make the help output correct
3191
 
AS_HELP_STRING([--enable-performance-dictionary-plugin],[Enable loading Performance Dictionary by default. @<:@default=no@:>@])
3192
 
AS_HELP_STRING([--disable-performance-dictionary-plugin],[Disable loading Performance Dictionary by default.])
 
3324
AS_HELP_STRING([--enable-performance-dictionary-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
3325
AS_HELP_STRING([--disable-performance-dictionary-plugin],[Disable loading  by default.])
3193
3326
  ],
3194
3327
  [enable_performance_dictionary_plugin="$enableval"],
3195
3328
  [enable_performance_dictionary_plugin=no])
3223
3356
    ])
3224
3357
    ])
3225
3358
 
3226
 
dnl Config for Protocol Dictionary
 
3359
dnl Config for 
3227
3360
 
3228
3361
AC_ARG_WITH([protocol-dictionary-plugin],[
3229
3362
dnl indented wierd to make the help output correct
3230
 
AS_HELP_STRING([--with-protocol-dictionary-plugin],[Build Protocol Dictionary. @<:@default=yes@:>@])
3231
 
AS_HELP_STRING([--without-protocol-dictionary-plugin],[Disable building Protocol Dictionary])
 
3363
AS_HELP_STRING([--with-protocol-dictionary-plugin],[Build . @<:@default=yes@:>@])
 
3364
AS_HELP_STRING([--without-protocol-dictionary-plugin],[Disable building ])
3232
3365
  ],[
3233
3366
    with_protocol_dictionary_plugin="$withval"
3234
3367
    AS_IF([test "x$with_protocol_dictionary_plugin" = "xyes"],[
3255
3388
])
3256
3389
AC_ARG_ENABLE([protocol-dictionary-plugin],[
3257
3390
dnl indented wierd to make the help output correct
3258
 
AS_HELP_STRING([--enable-protocol-dictionary-plugin],[Enable loading Protocol Dictionary by default. @<:@default=yes@:>@])
3259
 
AS_HELP_STRING([--disable-protocol-dictionary-plugin],[Disable loading Protocol Dictionary by default.])
 
3391
AS_HELP_STRING([--enable-protocol-dictionary-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
3392
AS_HELP_STRING([--disable-protocol-dictionary-plugin],[Disable loading  by default.])
3260
3393
  ],
3261
3394
  [enable_protocol_dictionary_plugin="$enableval"],
3262
3395
  [enable_protocol_dictionary_plugin=yes])
3288
3421
    ])
3289
3422
    ])
3290
3423
 
3291
 
dnl Config for RabbitMQ Replicator
 
3424
dnl Config for 
 
3425
 
 
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 ])
 
3430
  ],[
 
3431
    with_query_log_plugin="$withval"
 
3432
    AS_IF([test "x$with_query_log_plugin" = "xyes"],[
 
3433
      requested_query_log_plugin="yes"
 
3434
    ],[
 
3435
      requested_query_log_plugin="no"
 
3436
    ])
 
3437
  ],[
 
3438
    with_query_log_plugin="yes"
 
3439
    requested_query_log_plugin="no"
 
3440
  ])
 
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])
 
3444
  ],[
 
3445
    with_static_query_log_plugin=${withval}
 
3446
  ],[
 
3447
    with_static_query_log_plugin=no
 
3448
])
 
3449
AS_IF([test "x${with_static_query_log_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
 
3450
  shared_query_log_plugin=no
 
3451
  ],[
 
3452
  shared_query_log_plugin=yes
 
3453
])
 
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.])
 
3458
  ],
 
3459
  [enable_query_log_plugin="$enableval"],
 
3460
  [enable_query_log_plugin=no])
 
3461
 
 
3462
 
 
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"])
 
3469
    
 
3470
AS_IF([test "x$with_query_log_plugin" = "xyes"],[
 
3471
 
 
3472
      pandora_plugin_test_list="query_log,${pandora_plugin_test_list}"
 
3473
    
 
3474
      AS_IF([test "x${with_static_query_log_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
 
3475
 
 
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} "
 
3480
        ])
 
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"
 
3484
     ],[
 
3485
        AS_IF([test "x$enable_query_log_plugin" = "xyes"],[
 
3486
          pandora_default_plugin_list="query_log,${pandora_default_plugin_list}"
 
3487
        ])
 
3488
    ])
 
3489
    ])
 
3490
 
 
3491
dnl Config for 
3292
3492
 
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 ])
3297
3497
  ],[
3298
3498
    with_rabbitmq_plugin="$withval"
3299
3499
    AS_IF([test "x$with_rabbitmq_plugin" = "xyes"],[
3320
3520
])
3321
3521
AC_ARG_ENABLE([rabbitmq-plugin],[
3322
3522
dnl indented wierd to make the help output correct
3323
 
AS_HELP_STRING([--enable-rabbitmq-plugin],[Enable loading RabbitMQ Replicator by default. @<:@default=no@:>@])
3324
 
AS_HELP_STRING([--disable-rabbitmq-plugin],[Disable loading RabbitMQ Replicator by default.])
 
3523
AS_HELP_STRING([--enable-rabbitmq-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
3524
AS_HELP_STRING([--disable-rabbitmq-plugin],[Disable loading  by default.])
3325
3525
  ],
3326
3526
  [enable_rabbitmq_plugin="$enableval"],
3327
3527
  [enable_rabbitmq_plugin=no])
3365
3565
    ])
3366
3566
    ])
3367
3567
 
3368
 
dnl Config for RAND() function
 
3568
dnl Config for 
3369
3569
 
3370
3570
AC_ARG_WITH([rand-function-plugin],[
3371
3571
dnl indented wierd to make the help output correct
3372
 
AS_HELP_STRING([--with-rand-function-plugin],[Build RAND() function. @<:@default=yes@:>@])
3373
 
AS_HELP_STRING([--without-rand-function-plugin],[Disable building RAND() function])
 
3572
AS_HELP_STRING([--with-rand-function-plugin],[Build . @<:@default=yes@:>@])
 
3573
AS_HELP_STRING([--without-rand-function-plugin],[Disable building ])
3374
3574
  ],[
3375
3575
    with_rand_function_plugin="$withval"
3376
3576
    AS_IF([test "x$with_rand_function_plugin" = "xyes"],[
3397
3597
])
3398
3598
AC_ARG_ENABLE([rand-function-plugin],[
3399
3599
dnl indented wierd to make the help output correct
3400
 
AS_HELP_STRING([--enable-rand-function-plugin],[Enable loading RAND() function by default. @<:@default=yes@:>@])
3401
 
AS_HELP_STRING([--disable-rand-function-plugin],[Disable loading RAND() function by default.])
 
3600
AS_HELP_STRING([--enable-rand-function-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
3601
AS_HELP_STRING([--disable-rand-function-plugin],[Disable loading  by default.])
3402
3602
  ],
3403
3603
  [enable_rand_function_plugin="$enableval"],
3404
3604
  [enable_rand_function_plugin=yes])
3432
3632
    ])
3433
3633
    ])
3434
3634
 
3435
 
dnl Config for Regex Policy
 
3635
dnl Config for 
3436
3636
 
3437
3637
AC_ARG_WITH([regex-policy-plugin],[
3438
3638
dnl indented wierd to make the help output correct
3439
 
AS_HELP_STRING([--with-regex-policy-plugin],[Build Regex Policy. @<:@default=yes@:>@])
3440
 
AS_HELP_STRING([--without-regex-policy-plugin],[Disable building Regex Policy])
 
3639
AS_HELP_STRING([--with-regex-policy-plugin],[Build . @<:@default=yes@:>@])
 
3640
AS_HELP_STRING([--without-regex-policy-plugin],[Disable building ])
3441
3641
  ],[
3442
3642
    with_regex_policy_plugin="$withval"
3443
3643
    AS_IF([test "x$with_regex_policy_plugin" = "xyes"],[
3464
3664
])
3465
3665
AC_ARG_ENABLE([regex-policy-plugin],[
3466
3666
dnl indented wierd to make the help output correct
3467
 
AS_HELP_STRING([--enable-regex-policy-plugin],[Enable loading Regex Policy by default. @<:@default=no@:>@])
3468
 
AS_HELP_STRING([--disable-regex-policy-plugin],[Disable loading Regex Policy by default.])
 
3667
AS_HELP_STRING([--enable-regex-policy-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
3668
AS_HELP_STRING([--disable-regex-policy-plugin],[Disable loading  by default.])
3469
3669
  ],
3470
3670
  [enable_regex_policy_plugin="$enableval"],
3471
3671
  [enable_regex_policy_plugin=no])
3499
3699
    ])
3500
3700
    ])
3501
3701
 
3502
 
dnl Config for Registry Dictionary
 
3702
dnl Config for 
3503
3703
 
3504
3704
AC_ARG_WITH([registry-dictionary-plugin],[
3505
3705
dnl indented wierd to make the help output correct
3506
 
AS_HELP_STRING([--with-registry-dictionary-plugin],[Build Registry Dictionary. @<:@default=yes@:>@])
3507
 
AS_HELP_STRING([--without-registry-dictionary-plugin],[Disable building Registry Dictionary])
 
3706
AS_HELP_STRING([--with-registry-dictionary-plugin],[Build . @<:@default=yes@:>@])
 
3707
AS_HELP_STRING([--without-registry-dictionary-plugin],[Disable building ])
3508
3708
  ],[
3509
3709
    with_registry_dictionary_plugin="$withval"
3510
3710
    AS_IF([test "x$with_registry_dictionary_plugin" = "xyes"],[
3531
3731
])
3532
3732
AC_ARG_ENABLE([registry-dictionary-plugin],[
3533
3733
dnl indented wierd to make the help output correct
3534
 
AS_HELP_STRING([--enable-registry-dictionary-plugin],[Enable loading Registry Dictionary by default. @<:@default=yes@:>@])
3535
 
AS_HELP_STRING([--disable-registry-dictionary-plugin],[Disable loading Registry Dictionary by default.])
 
3734
AS_HELP_STRING([--enable-registry-dictionary-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
3735
AS_HELP_STRING([--disable-registry-dictionary-plugin],[Disable loading  by default.])
3536
3736
  ],
3537
3737
  [enable_registry_dictionary_plugin="$enableval"],
3538
3738
  [enable_registry_dictionary_plugin=yes])
3566
3766
    ])
3567
3767
    ])
3568
3768
 
3569
 
dnl Config for Registry Dictionary
3570
 
 
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])
3575
 
  ],[
3576
 
    with_replication_dictionary_plugin="$withval"
3577
 
    AS_IF([test "x$with_replication_dictionary_plugin" = "xyes"],[
3578
 
      requested_replication_dictionary_plugin="yes"
3579
 
    ],[
3580
 
      requested_replication_dictionary_plugin="no"
3581
 
    ])
3582
 
  ],[
3583
 
    with_replication_dictionary_plugin="yes"
3584
 
    requested_replication_dictionary_plugin="no"
3585
 
  ])
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])
3589
 
  ],[
3590
 
    with_static_replication_dictionary_plugin=${withval}
3591
 
  ],[
3592
 
    with_static_replication_dictionary_plugin=yes
3593
 
])
3594
 
AS_IF([test "x${with_static_replication_dictionary_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
3595
 
  shared_replication_dictionary_plugin=no
3596
 
  ],[
3597
 
  shared_replication_dictionary_plugin=yes
3598
 
])
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.])
3603
 
  ],
3604
 
  [enable_replication_dictionary_plugin="$enableval"],
3605
 
  [enable_replication_dictionary_plugin=yes])
3606
 
 
3607
 
 
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"])
3614
 
    
3615
 
AS_IF([test "x$with_replication_dictionary_plugin" = "xyes"],[
3616
 
 
3617
 
      pandora_plugin_test_list="replication_dictionary,${pandora_plugin_test_list}"
3618
 
    
3619
 
      AS_IF([test "x${with_static_replication_dictionary_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
3620
 
 
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} "
3625
 
        ])
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"
3629
 
     ],[
3630
 
        AS_IF([test "x$enable_replication_dictionary_plugin" = "xyes"],[
3631
 
          pandora_default_plugin_list="replication_dictionary,${pandora_default_plugin_list}"
3632
 
        ])
3633
 
    ])
3634
 
    ])
3635
 
 
3636
 
dnl Config for REVERSE function
 
3769
dnl Config for 
3637
3770
 
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 ])
3642
3775
  ],[
3643
3776
    with_reverse_function_plugin="$withval"
3644
3777
    AS_IF([test "x$with_reverse_function_plugin" = "xyes"],[
3665
3798
])
3666
3799
AC_ARG_ENABLE([reverse-function-plugin],[
3667
3800
dnl indented wierd to make the help output correct
3668
 
AS_HELP_STRING([--enable-reverse-function-plugin],[Enable loading REVERSE function by default. @<:@default=yes@:>@])
3669
 
AS_HELP_STRING([--disable-reverse-function-plugin],[Disable loading REVERSE function by default.])
 
3801
AS_HELP_STRING([--enable-reverse-function-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
3802
AS_HELP_STRING([--disable-reverse-function-plugin],[Disable loading  by default.])
3670
3803
  ],
3671
3804
  [enable_reverse_function_plugin="$enableval"],
3672
3805
  [enable_reverse_function_plugin=yes])
3698
3831
    ])
3699
3832
    ])
3700
3833
 
3701
 
dnl Config for ROT 13
3702
 
 
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])
3707
 
  ],[
3708
 
    with_rot13_plugin="$withval"
3709
 
    AS_IF([test "x$with_rot13_plugin" = "xyes"],[
3710
 
      requested_rot13_plugin="yes"
3711
 
    ],[
3712
 
      requested_rot13_plugin="no"
3713
 
    ])
3714
 
  ],[
3715
 
    with_rot13_plugin="yes"
3716
 
    requested_rot13_plugin="no"
3717
 
  ])
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])
3721
 
  ],[
3722
 
    with_static_rot13_plugin=${withval}
3723
 
  ],[
3724
 
    with_static_rot13_plugin=no
3725
 
])
3726
 
AS_IF([test "x${with_static_rot13_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
3727
 
  shared_rot13_plugin=no
3728
 
  ],[
3729
 
  shared_rot13_plugin=yes
3730
 
])
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.])
3735
 
  ],
3736
 
  [enable_rot13_plugin="$enableval"],
3737
 
  [enable_rot13_plugin=yes])
3738
 
 
3739
 
 
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"])
3746
 
    
3747
 
AS_IF([test "x$with_rot13_plugin" = "xyes"],[
3748
 
 
3749
 
      pandora_plugin_test_list="rot13,${pandora_plugin_test_list}"
3750
 
    
3751
 
      AS_IF([test "x${with_static_rot13_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
3752
 
 
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} "
3757
 
        ])
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"
3761
 
     ],[
3762
 
        AS_IF([test "x$enable_rot13_plugin" = "xyes"],[
3763
 
          pandora_default_plugin_list="rot13,${pandora_default_plugin_list}"
3764
 
        ])
3765
 
    ])
3766
 
    ])
3767
 
 
3768
 
dnl Config for Schema Dictionary
 
3834
dnl Config for 
3769
3835
 
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 ])
3774
3840
  ],[
3775
3841
    with_schema_dictionary_plugin="$withval"
3776
3842
    AS_IF([test "x$with_schema_dictionary_plugin" = "xyes"],[
3797
3863
])
3798
3864
AC_ARG_ENABLE([schema-dictionary-plugin],[
3799
3865
dnl indented wierd to make the help output correct
3800
 
AS_HELP_STRING([--enable-schema-dictionary-plugin],[Enable loading Schema Dictionary by default. @<:@default=yes@:>@])
3801
 
AS_HELP_STRING([--disable-schema-dictionary-plugin],[Disable loading Schema Dictionary by default.])
 
3866
AS_HELP_STRING([--enable-schema-dictionary-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
3867
AS_HELP_STRING([--disable-schema-dictionary-plugin],[Disable loading  by default.])
3802
3868
  ],
3803
3869
  [enable_schema_dictionary_plugin="$enableval"],
3804
3870
  [enable_schema_dictionary_plugin=yes])
3832
3898
    ])
3833
3899
    ])
3834
3900
 
3835
 
dnl Config for Schema Engine
 
3901
dnl Config for 
3836
3902
 
3837
3903
AC_ARG_WITH([schema-engine-plugin],[
3838
3904
dnl indented wierd to make the help output correct
3839
 
AS_HELP_STRING([--with-schema-engine-plugin],[Build Schema Engine. @<:@default=yes@:>@])
3840
 
AS_HELP_STRING([--without-schema-engine-plugin],[Disable building Schema Engine])
 
3905
AS_HELP_STRING([--with-schema-engine-plugin],[Build . @<:@default=yes@:>@])
 
3906
AS_HELP_STRING([--without-schema-engine-plugin],[Disable building ])
3841
3907
  ],[
3842
3908
    with_schema_engine_plugin="$withval"
3843
3909
    AS_IF([test "x$with_schema_engine_plugin" = "xyes"],[
3864
3930
])
3865
3931
AC_ARG_ENABLE([schema-engine-plugin],[
3866
3932
dnl indented wierd to make the help output correct
3867
 
AS_HELP_STRING([--enable-schema-engine-plugin],[Enable loading Schema Engine by default. @<:@default=yes@:>@])
3868
 
AS_HELP_STRING([--disable-schema-engine-plugin],[Disable loading Schema Engine by default.])
 
3933
AS_HELP_STRING([--enable-schema-engine-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
3934
AS_HELP_STRING([--disable-schema-engine-plugin],[Disable loading  by default.])
3869
3935
  ],
3870
3936
  [enable_schema_engine_plugin="$enableval"],
3871
3937
  [enable_schema_engine_plugin=yes])
3899
3965
    ])
3900
3966
    ])
3901
3967
 
3902
 
dnl Config for Session Dictionary
 
3968
dnl Config for 
3903
3969
 
3904
3970
AC_ARG_WITH([session-dictionary-plugin],[
3905
3971
dnl indented wierd to make the help output correct
3906
 
AS_HELP_STRING([--with-session-dictionary-plugin],[Build Session Dictionary. @<:@default=yes@:>@])
3907
 
AS_HELP_STRING([--without-session-dictionary-plugin],[Disable building Session Dictionary])
 
3972
AS_HELP_STRING([--with-session-dictionary-plugin],[Build . @<:@default=yes@:>@])
 
3973
AS_HELP_STRING([--without-session-dictionary-plugin],[Disable building ])
3908
3974
  ],[
3909
3975
    with_session_dictionary_plugin="$withval"
3910
3976
    AS_IF([test "x$with_session_dictionary_plugin" = "xyes"],[
3931
3997
])
3932
3998
AC_ARG_ENABLE([session-dictionary-plugin],[
3933
3999
dnl indented wierd to make the help output correct
3934
 
AS_HELP_STRING([--enable-session-dictionary-plugin],[Enable loading Session Dictionary by default. @<:@default=yes@:>@])
3935
 
AS_HELP_STRING([--disable-session-dictionary-plugin],[Disable loading Session Dictionary by default.])
 
4000
AS_HELP_STRING([--enable-session-dictionary-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
4001
AS_HELP_STRING([--disable-session-dictionary-plugin],[Disable loading  by default.])
3936
4002
  ],
3937
4003
  [enable_session_dictionary_plugin="$enableval"],
3938
4004
  [enable_session_dictionary_plugin=yes])
3966
4032
    ])
3967
4033
    ])
3968
4034
 
3969
 
dnl Config for Show Dictionary
 
4035
dnl Config for 
3970
4036
 
3971
4037
AC_ARG_WITH([show-dictionary-plugin],[
3972
4038
dnl indented wierd to make the help output correct
3973
 
AS_HELP_STRING([--with-show-dictionary-plugin],[Build Show Dictionary. @<:@default=yes@:>@])
3974
 
AS_HELP_STRING([--without-show-dictionary-plugin],[Disable building Show Dictionary])
 
4039
AS_HELP_STRING([--with-show-dictionary-plugin],[Build . @<:@default=yes@:>@])
 
4040
AS_HELP_STRING([--without-show-dictionary-plugin],[Disable building ])
3975
4041
  ],[
3976
4042
    with_show_dictionary_plugin="$withval"
3977
4043
    AS_IF([test "x$with_show_dictionary_plugin" = "xyes"],[
3998
4064
])
3999
4065
AC_ARG_ENABLE([show-dictionary-plugin],[
4000
4066
dnl indented wierd to make the help output correct
4001
 
AS_HELP_STRING([--enable-show-dictionary-plugin],[Enable loading Show Dictionary by default. @<:@default=yes@:>@])
4002
 
AS_HELP_STRING([--disable-show-dictionary-plugin],[Disable loading Show Dictionary by default.])
 
4067
AS_HELP_STRING([--enable-show-dictionary-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
4068
AS_HELP_STRING([--disable-show-dictionary-plugin],[Disable loading  by default.])
4003
4069
  ],
4004
4070
  [enable_show_dictionary_plugin="$enableval"],
4005
4071
  [enable_show_dictionary_plugin=yes])
4033
4099
    ])
4034
4100
    ])
4035
4101
 
4036
 
dnl Config for SHOW_SCHEMA_PROTO(db) Function
 
4102
dnl Config for 
4037
4103
 
4038
4104
AC_ARG_WITH([show-schema-proto-plugin],[
4039
4105
dnl indented wierd to make the help output correct
4040
 
AS_HELP_STRING([--with-show-schema-proto-plugin],[Build SHOW_SCHEMA_PROTO(db) Function. @<:@default=yes@:>@])
4041
 
AS_HELP_STRING([--without-show-schema-proto-plugin],[Disable building SHOW_SCHEMA_PROTO(db) Function])
 
4106
AS_HELP_STRING([--with-show-schema-proto-plugin],[Build . @<:@default=yes@:>@])
 
4107
AS_HELP_STRING([--without-show-schema-proto-plugin],[Disable building ])
4042
4108
  ],[
4043
4109
    with_show_schema_proto_plugin="$withval"
4044
4110
    AS_IF([test "x$with_show_schema_proto_plugin" = "xyes"],[
4065
4131
])
4066
4132
AC_ARG_ENABLE([show-schema-proto-plugin],[
4067
4133
dnl indented wierd to make the help output correct
4068
 
AS_HELP_STRING([--enable-show-schema-proto-plugin],[Enable loading SHOW_SCHEMA_PROTO(db) Function by default. @<:@default=yes@:>@])
4069
 
AS_HELP_STRING([--disable-show-schema-proto-plugin],[Disable loading SHOW_SCHEMA_PROTO(db) Function by default.])
 
4134
AS_HELP_STRING([--enable-show-schema-proto-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
4135
AS_HELP_STRING([--disable-show-schema-proto-plugin],[Disable loading  by default.])
4070
4136
  ],
4071
4137
  [enable_show_schema_proto_plugin="$enableval"],
4072
4138
  [enable_show_schema_proto_plugin=yes])
4100
4166
    ])
4101
4167
    ])
4102
4168
 
4103
 
dnl Config for Shutdown function
 
4169
dnl Config for 
4104
4170
 
4105
4171
AC_ARG_WITH([shutdown-function-plugin],[
4106
4172
dnl indented wierd to make the help output correct
4107
 
AS_HELP_STRING([--with-shutdown-function-plugin],[Build Shutdown function. @<:@default=yes@:>@])
4108
 
AS_HELP_STRING([--without-shutdown-function-plugin],[Disable building Shutdown function])
 
4173
AS_HELP_STRING([--with-shutdown-function-plugin],[Build . @<:@default=yes@:>@])
 
4174
AS_HELP_STRING([--without-shutdown-function-plugin],[Disable building ])
4109
4175
  ],[
4110
4176
    with_shutdown_function_plugin="$withval"
4111
4177
    AS_IF([test "x$with_shutdown_function_plugin" = "xyes"],[
4132
4198
])
4133
4199
AC_ARG_ENABLE([shutdown-function-plugin],[
4134
4200
dnl indented wierd to make the help output correct
4135
 
AS_HELP_STRING([--enable-shutdown-function-plugin],[Enable loading Shutdown function by default. @<:@default=no@:>@])
4136
 
AS_HELP_STRING([--disable-shutdown-function-plugin],[Disable loading Shutdown function by default.])
 
4201
AS_HELP_STRING([--enable-shutdown-function-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
4202
AS_HELP_STRING([--disable-shutdown-function-plugin],[Disable loading  by default.])
4137
4203
  ],
4138
4204
  [enable_shutdown_function_plugin="$enableval"],
4139
4205
  [enable_shutdown_function_plugin=no])
4165
4231
    ])
4166
4232
    ])
4167
4233
 
4168
 
dnl Config for Default Signal Handler
 
4234
dnl Config for 
4169
4235
 
4170
4236
AC_ARG_WITH([signal-handler-plugin],[
4171
4237
dnl indented wierd to make the help output correct
4172
 
AS_HELP_STRING([--with-signal-handler-plugin],[Build Default Signal Handler. @<:@default=yes@:>@])
4173
 
AS_HELP_STRING([--without-signal-handler-plugin],[Disable building Default Signal Handler])
 
4238
AS_HELP_STRING([--with-signal-handler-plugin],[Build . @<:@default=yes@:>@])
 
4239
AS_HELP_STRING([--without-signal-handler-plugin],[Disable building ])
4174
4240
  ],[
4175
4241
    with_signal_handler_plugin="$withval"
4176
4242
    AS_IF([test "x$with_signal_handler_plugin" = "xyes"],[
4197
4263
])
4198
4264
AC_ARG_ENABLE([signal-handler-plugin],[
4199
4265
dnl indented wierd to make the help output correct
4200
 
AS_HELP_STRING([--enable-signal-handler-plugin],[Enable loading Default Signal Handler by default. @<:@default=yes@:>@])
4201
 
AS_HELP_STRING([--disable-signal-handler-plugin],[Disable loading Default Signal Handler by default.])
 
4266
AS_HELP_STRING([--enable-signal-handler-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
4267
AS_HELP_STRING([--disable-signal-handler-plugin],[Disable loading  by default.])
4202
4268
  ],
4203
4269
  [enable_signal_handler_plugin="$enableval"],
4204
4270
  [enable_signal_handler_plugin=yes])
4230
4296
    ])
4231
4297
    ])
4232
4298
 
4233
 
dnl Config for Simple User Policy
 
4299
dnl Config for 
4234
4300
 
4235
4301
AC_ARG_WITH([simple-user-policy-plugin],[
4236
4302
dnl indented wierd to make the help output correct
4237
 
AS_HELP_STRING([--with-simple-user-policy-plugin],[Build Simple User Policy. @<:@default=yes@:>@])
4238
 
AS_HELP_STRING([--without-simple-user-policy-plugin],[Disable building Simple User Policy])
 
4303
AS_HELP_STRING([--with-simple-user-policy-plugin],[Build . @<:@default=yes@:>@])
 
4304
AS_HELP_STRING([--without-simple-user-policy-plugin],[Disable building ])
4239
4305
  ],[
4240
4306
    with_simple_user_policy_plugin="$withval"
4241
4307
    AS_IF([test "x$with_simple_user_policy_plugin" = "xyes"],[
4262
4328
])
4263
4329
AC_ARG_ENABLE([simple-user-policy-plugin],[
4264
4330
dnl indented wierd to make the help output correct
4265
 
AS_HELP_STRING([--enable-simple-user-policy-plugin],[Enable loading Simple User Policy by default. @<:@default=no@:>@])
4266
 
AS_HELP_STRING([--disable-simple-user-policy-plugin],[Disable loading Simple User Policy by default.])
 
4331
AS_HELP_STRING([--enable-simple-user-policy-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
4332
AS_HELP_STRING([--disable-simple-user-policy-plugin],[Disable loading  by default.])
4267
4333
  ],
4268
4334
  [enable_simple_user_policy_plugin="$enableval"],
4269
4335
  [enable_simple_user_policy_plugin=no])
4297
4363
    ])
4298
4364
    ])
4299
4365
 
4300
 
dnl Config for Replication Slave
 
4366
dnl Config for 
4301
4367
 
4302
4368
AC_ARG_WITH([slave-plugin],[
4303
4369
dnl indented wierd to make the help output correct
4304
 
AS_HELP_STRING([--with-slave-plugin],[Build Replication Slave. @<:@default=yes@:>@])
4305
 
AS_HELP_STRING([--without-slave-plugin],[Disable building Replication Slave])
 
4370
AS_HELP_STRING([--with-slave-plugin],[Build . @<:@default=yes@:>@])
 
4371
AS_HELP_STRING([--without-slave-plugin],[Disable building ])
4306
4372
  ],[
4307
4373
    with_slave_plugin="$withval"
4308
4374
    AS_IF([test "x$with_slave_plugin" = "xyes"],[
4329
4395
])
4330
4396
AC_ARG_ENABLE([slave-plugin],[
4331
4397
dnl indented wierd to make the help output correct
4332
 
AS_HELP_STRING([--enable-slave-plugin],[Enable loading Replication Slave by default. @<:@default=no@:>@])
4333
 
AS_HELP_STRING([--disable-slave-plugin],[Disable loading Replication Slave by default.])
 
4398
AS_HELP_STRING([--enable-slave-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
4399
AS_HELP_STRING([--disable-slave-plugin],[Disable loading  by default.])
4334
4400
  ],
4335
4401
  [enable_slave_plugin="$enableval"],
4336
4402
  [enable_slave_plugin=no])
4352
4418
        AS_IF([test "x$enable_slave_plugin" = "xyes"],[
4353
4419
          pandora_builtin_load_list="slave,${pandora_builtin_load_list}"
4354
4420
          pandora_builtin_load_symbols_list="_drizzled_slave_plugin_,${pandora_builtin_load_symbols_list}"
4355
 
          PANDORA_PLUGIN_DEP_LIBS="${PANDORA_PLUGIN_DEP_LIBS} \${top_builddir}/${top_builddir}/libdrizzle/libdrizzle.la"
 
4421
          PANDORA_PLUGIN_DEP_LIBS="${PANDORA_PLUGIN_DEP_LIBS} \${top_builddir}/${top_builddir}/libdrizzle-2.0/libdrizzle-2.0.la"
4356
4422
        ])
4357
4423
        pandora_builtin_list="slave,${pandora_builtin_list}"
4358
4424
        pandora_builtin_symbols_list="_drizzled_slave_plugin_,${pandora_builtin_symbols_list}"
4364
4430
    ])
4365
4431
    ])
4366
4432
 
4367
 
dnl Config for Sleep Function
 
4433
dnl Config for 
4368
4434
 
4369
4435
AC_ARG_WITH([sleep-plugin],[
4370
4436
dnl indented wierd to make the help output correct
4371
 
AS_HELP_STRING([--with-sleep-plugin],[Build Sleep Function. @<:@default=yes@:>@])
4372
 
AS_HELP_STRING([--without-sleep-plugin],[Disable building Sleep Function])
 
4437
AS_HELP_STRING([--with-sleep-plugin],[Build . @<:@default=yes@:>@])
 
4438
AS_HELP_STRING([--without-sleep-plugin],[Disable building ])
4373
4439
  ],[
4374
4440
    with_sleep_plugin="$withval"
4375
4441
    AS_IF([test "x$with_sleep_plugin" = "xyes"],[
4396
4462
])
4397
4463
AC_ARG_ENABLE([sleep-plugin],[
4398
4464
dnl indented wierd to make the help output correct
4399
 
AS_HELP_STRING([--enable-sleep-plugin],[Enable loading Sleep Function by default. @<:@default=yes@:>@])
4400
 
AS_HELP_STRING([--disable-sleep-plugin],[Disable loading Sleep Function by default.])
 
4465
AS_HELP_STRING([--enable-sleep-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
4466
AS_HELP_STRING([--disable-sleep-plugin],[Disable loading  by default.])
4401
4467
  ],
4402
4468
  [enable_sleep_plugin="$enableval"],
4403
4469
  [enable_sleep_plugin=yes])
4431
4497
    ])
4432
4498
    ])
4433
4499
 
4434
 
dnl Config for Status Dictionary
 
4500
dnl Config for 
4435
4501
 
4436
4502
AC_ARG_WITH([status-dictionary-plugin],[
4437
4503
dnl indented wierd to make the help output correct
4438
 
AS_HELP_STRING([--with-status-dictionary-plugin],[Build Status Dictionary. @<:@default=yes@:>@])
4439
 
AS_HELP_STRING([--without-status-dictionary-plugin],[Disable building Status Dictionary])
 
4504
AS_HELP_STRING([--with-status-dictionary-plugin],[Build . @<:@default=yes@:>@])
 
4505
AS_HELP_STRING([--without-status-dictionary-plugin],[Disable building ])
4440
4506
  ],[
4441
4507
    with_status_dictionary_plugin="$withval"
4442
4508
    AS_IF([test "x$with_status_dictionary_plugin" = "xyes"],[
4463
4529
])
4464
4530
AC_ARG_ENABLE([status-dictionary-plugin],[
4465
4531
dnl indented wierd to make the help output correct
4466
 
AS_HELP_STRING([--enable-status-dictionary-plugin],[Enable loading Status Dictionary by default. @<:@default=yes@:>@])
4467
 
AS_HELP_STRING([--disable-status-dictionary-plugin],[Disable loading Status Dictionary by default.])
 
4532
AS_HELP_STRING([--enable-status-dictionary-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
4533
AS_HELP_STRING([--disable-status-dictionary-plugin],[Disable loading  by default.])
4468
4534
  ],
4469
4535
  [enable_status_dictionary_plugin="$enableval"],
4470
4536
  [enable_status_dictionary_plugin=yes])
4498
4564
    ])
4499
4565
    ])
4500
4566
 
4501
 
dnl Config for Storage Engine API Tester
 
4567
dnl Config for 
4502
4568
 
4503
4569
AC_ARG_WITH([storage-engine-api-tester-plugin],[
4504
4570
dnl indented wierd to make the help output correct
4505
 
AS_HELP_STRING([--with-storage-engine-api-tester-plugin],[Build Storage Engine API Tester. @<:@default=yes@:>@])
4506
 
AS_HELP_STRING([--without-storage-engine-api-tester-plugin],[Disable building Storage Engine API Tester])
 
4571
AS_HELP_STRING([--with-storage-engine-api-tester-plugin],[Build . @<:@default=yes@:>@])
 
4572
AS_HELP_STRING([--without-storage-engine-api-tester-plugin],[Disable building ])
4507
4573
  ],[
4508
4574
    with_storage_engine_api_tester_plugin="$withval"
4509
4575
    AS_IF([test "x$with_storage_engine_api_tester_plugin" = "xyes"],[
4530
4596
])
4531
4597
AC_ARG_ENABLE([storage-engine-api-tester-plugin],[
4532
4598
dnl indented wierd to make the help output correct
4533
 
AS_HELP_STRING([--enable-storage-engine-api-tester-plugin],[Enable loading Storage Engine API Tester by default. @<:@default=no@:>@])
4534
 
AS_HELP_STRING([--disable-storage-engine-api-tester-plugin],[Disable loading Storage Engine API Tester by default.])
 
4599
AS_HELP_STRING([--enable-storage-engine-api-tester-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
4600
AS_HELP_STRING([--disable-storage-engine-api-tester-plugin],[Disable loading  by default.])
4535
4601
  ],
4536
4602
  [enable_storage_engine_api_tester_plugin="$enableval"],
4537
4603
  [enable_storage_engine_api_tester_plugin=no])
4565
4631
    ])
4566
4632
    ])
4567
4633
 
4568
 
dnl Config for String Functions
 
4634
dnl Config for 
4569
4635
 
4570
4636
AC_ARG_WITH([string-functions-plugin],[
4571
4637
dnl indented wierd to make the help output correct
4572
 
AS_HELP_STRING([--with-string-functions-plugin],[Build String Functions. @<:@default=yes@:>@])
4573
 
AS_HELP_STRING([--without-string-functions-plugin],[Disable building String Functions])
 
4638
AS_HELP_STRING([--with-string-functions-plugin],[Build . @<:@default=yes@:>@])
 
4639
AS_HELP_STRING([--without-string-functions-plugin],[Disable building ])
4574
4640
  ],[
4575
4641
    with_string_functions_plugin="$withval"
4576
4642
    AS_IF([test "x$with_string_functions_plugin" = "xyes"],[
4597
4663
])
4598
4664
AC_ARG_ENABLE([string-functions-plugin],[
4599
4665
dnl indented wierd to make the help output correct
4600
 
AS_HELP_STRING([--enable-string-functions-plugin],[Enable loading String Functions by default. @<:@default=yes@:>@])
4601
 
AS_HELP_STRING([--disable-string-functions-plugin],[Disable loading String Functions by default.])
 
4666
AS_HELP_STRING([--enable-string-functions-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
4667
AS_HELP_STRING([--disable-string-functions-plugin],[Disable loading  by default.])
4602
4668
  ],
4603
4669
  [enable_string_functions_plugin="$enableval"],
4604
4670
  [enable_string_functions_plugin=yes])
4632
4698
    ])
4633
4699
    ])
4634
4700
 
4635
 
dnl Config for SUBSTRING() and SUBSTRING_INDEX() functions
 
4701
dnl Config for 
4636
4702
 
4637
4703
AC_ARG_WITH([substr-functions-plugin],[
4638
4704
dnl indented wierd to make the help output correct
4639
 
AS_HELP_STRING([--with-substr-functions-plugin],[Build SUBSTRING() and SUBSTRING_INDEX() functions. @<:@default=yes@:>@])
4640
 
AS_HELP_STRING([--without-substr-functions-plugin],[Disable building SUBSTRING() and SUBSTRING_INDEX() functions])
 
4705
AS_HELP_STRING([--with-substr-functions-plugin],[Build . @<:@default=yes@:>@])
 
4706
AS_HELP_STRING([--without-substr-functions-plugin],[Disable building ])
4641
4707
  ],[
4642
4708
    with_substr_functions_plugin="$withval"
4643
4709
    AS_IF([test "x$with_substr_functions_plugin" = "xyes"],[
4664
4730
])
4665
4731
AC_ARG_ENABLE([substr-functions-plugin],[
4666
4732
dnl indented wierd to make the help output correct
4667
 
AS_HELP_STRING([--enable-substr-functions-plugin],[Enable loading SUBSTRING() and SUBSTRING_INDEX() functions by default. @<:@default=yes@:>@])
4668
 
AS_HELP_STRING([--disable-substr-functions-plugin],[Disable loading SUBSTRING() and SUBSTRING_INDEX() functions by default.])
 
4733
AS_HELP_STRING([--enable-substr-functions-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
4734
AS_HELP_STRING([--disable-substr-functions-plugin],[Disable loading  by default.])
4669
4735
  ],
4670
4736
  [enable_substr_functions_plugin="$enableval"],
4671
4737
  [enable_substr_functions_plugin=yes])
4697
4763
    ])
4698
4764
    ])
4699
4765
 
4700
 
dnl Config for Syslog
 
4766
dnl Config for 
4701
4767
 
4702
4768
AC_ARG_WITH([syslog-plugin],[
4703
4769
dnl indented wierd to make the help output correct
4704
 
AS_HELP_STRING([--with-syslog-plugin],[Build Syslog. @<:@default=yes@:>@])
4705
 
AS_HELP_STRING([--without-syslog-plugin],[Disable building Syslog])
 
4770
AS_HELP_STRING([--with-syslog-plugin],[Build . @<:@default=yes@:>@])
 
4771
AS_HELP_STRING([--without-syslog-plugin],[Disable building ])
4706
4772
  ],[
4707
4773
    with_syslog_plugin="$withval"
4708
4774
    AS_IF([test "x$with_syslog_plugin" = "xyes"],[
4715
4781
    requested_syslog_plugin="no"
4716
4782
  ])
4717
4783
AC_ARG_WITH([static-syslog-plugin],[
4718
 
AS_HELP_STRING([--with-static-syslog-plugin],[Build Archive Storage Engine. @<:@default=no@:>@])
 
4784
AS_HELP_STRING([--with-static-syslog-plugin],[Build Archive Storage Engine. @<:@default=yes@:>@])
4719
4785
AS_HELP_STRING([--without-static-syslog-plugin],[Disable building Archive Storage Engine])
4720
4786
  ],[
4721
4787
    with_static_syslog_plugin=${withval}
4722
4788
  ],[
4723
 
    with_static_syslog_plugin=no
 
4789
    with_static_syslog_plugin=yes
4724
4790
])
4725
4791
AS_IF([test "x${with_static_syslog_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
4726
4792
  shared_syslog_plugin=no
4729
4795
])
4730
4796
AC_ARG_ENABLE([syslog-plugin],[
4731
4797
dnl indented wierd to make the help output correct
4732
 
AS_HELP_STRING([--enable-syslog-plugin],[Enable loading Syslog by default. @<:@default=yes@:>@])
4733
 
AS_HELP_STRING([--disable-syslog-plugin],[Disable loading Syslog by default.])
 
4798
AS_HELP_STRING([--enable-syslog-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
4799
AS_HELP_STRING([--disable-syslog-plugin],[Disable loading  by default.])
4734
4800
  ],
4735
4801
  [enable_syslog_plugin="$enableval"],
4736
4802
  [enable_syslog_plugin=yes])
4762
4828
    ])
4763
4829
    ])
4764
4830
 
4765
 
dnl Config for Table Cached and Table Definition Dictionary
 
4831
dnl Config for 
4766
4832
 
4767
4833
AC_ARG_WITH([table-cache-dictionary-plugin],[
4768
4834
dnl indented wierd to make the help output correct
4769
 
AS_HELP_STRING([--with-table-cache-dictionary-plugin],[Build Table Cached and Table Definition Dictionary. @<:@default=yes@:>@])
4770
 
AS_HELP_STRING([--without-table-cache-dictionary-plugin],[Disable building Table Cached and Table Definition Dictionary])
 
4835
AS_HELP_STRING([--with-table-cache-dictionary-plugin],[Build . @<:@default=yes@:>@])
 
4836
AS_HELP_STRING([--without-table-cache-dictionary-plugin],[Disable building ])
4771
4837
  ],[
4772
4838
    with_table_cache_dictionary_plugin="$withval"
4773
4839
    AS_IF([test "x$with_table_cache_dictionary_plugin" = "xyes"],[
4794
4860
])
4795
4861
AC_ARG_ENABLE([table-cache-dictionary-plugin],[
4796
4862
dnl indented wierd to make the help output correct
4797
 
AS_HELP_STRING([--enable-table-cache-dictionary-plugin],[Enable loading Table Cached and Table Definition Dictionary by default. @<:@default=yes@:>@])
4798
 
AS_HELP_STRING([--disable-table-cache-dictionary-plugin],[Disable loading Table Cached and Table Definition Dictionary by default.])
 
4863
AS_HELP_STRING([--enable-table-cache-dictionary-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
4864
AS_HELP_STRING([--disable-table-cache-dictionary-plugin],[Disable loading  by default.])
4799
4865
  ],
4800
4866
  [enable_table_cache_dictionary_plugin="$enableval"],
4801
4867
  [enable_table_cache_dictionary_plugin=yes])
4829
4895
    ])
4830
4896
    ])
4831
4897
 
4832
 
dnl Config for Table Proto Message Tester
 
4898
dnl Config for 
4833
4899
 
4834
4900
AC_ARG_WITH([tableprototester-plugin],[
4835
4901
dnl indented wierd to make the help output correct
4836
 
AS_HELP_STRING([--with-tableprototester-plugin],[Build Table Proto Message Tester. @<:@default=yes@:>@])
4837
 
AS_HELP_STRING([--without-tableprototester-plugin],[Disable building Table Proto Message Tester])
 
4902
AS_HELP_STRING([--with-tableprototester-plugin],[Build . @<:@default=yes@:>@])
 
4903
AS_HELP_STRING([--without-tableprototester-plugin],[Disable building ])
4838
4904
  ],[
4839
4905
    with_tableprototester_plugin="$withval"
4840
4906
    AS_IF([test "x$with_tableprototester_plugin" = "xyes"],[
4861
4927
])
4862
4928
AC_ARG_ENABLE([tableprototester-plugin],[
4863
4929
dnl indented wierd to make the help output correct
4864
 
AS_HELP_STRING([--enable-tableprototester-plugin],[Enable loading Table Proto Message Tester by default. @<:@default=no@:>@])
4865
 
AS_HELP_STRING([--disable-tableprototester-plugin],[Disable loading Table Proto Message Tester by default.])
 
4930
AS_HELP_STRING([--enable-tableprototester-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
4931
AS_HELP_STRING([--disable-tableprototester-plugin],[Disable loading  by default.])
4866
4932
  ],
4867
4933
  [enable_tableprototester_plugin="$enableval"],
4868
4934
  [enable_tableprototester_plugin=no])
4896
4962
    ])
4897
4963
    ])
4898
4964
 
4899
 
dnl Config for Transaction Log
4900
 
 
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])
4905
 
  ],[
4906
 
    with_transaction_log_plugin="$withval"
4907
 
    AS_IF([test "x$with_transaction_log_plugin" = "xyes"],[
4908
 
      requested_transaction_log_plugin="yes"
4909
 
    ],[
4910
 
      requested_transaction_log_plugin="no"
4911
 
    ])
4912
 
  ],[
4913
 
    with_transaction_log_plugin="yes"
4914
 
    requested_transaction_log_plugin="no"
4915
 
  ])
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])
4919
 
  ],[
4920
 
    with_static_transaction_log_plugin=${withval}
4921
 
  ],[
4922
 
    with_static_transaction_log_plugin=yes
4923
 
])
4924
 
AS_IF([test "x${with_static_transaction_log_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
4925
 
  shared_transaction_log_plugin=no
4926
 
  ],[
4927
 
  shared_transaction_log_plugin=yes
4928
 
])
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.])
4933
 
  ],
4934
 
  [enable_transaction_log_plugin="$enableval"],
4935
 
  [enable_transaction_log_plugin=yes])
4936
 
 
4937
 
 
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"])
4944
 
    
4945
 
AS_IF([test "x$with_transaction_log_plugin" = "xyes"],[
4946
 
 
4947
 
      pandora_plugin_test_list="transaction_log,${pandora_plugin_test_list}"
4948
 
    
4949
 
      AS_IF([test "x${with_static_transaction_log_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
4950
 
 
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"
4955
 
        ])
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"
4959
 
     ],[
4960
 
        AS_IF([test "x$enable_transaction_log_plugin" = "xyes"],[
4961
 
          pandora_default_plugin_list="transaction_log,${pandora_default_plugin_list}"
4962
 
        ])
4963
 
    ])
4964
 
    ])
4965
 
 
4966
 
dnl Config for Trigger Dictionary
 
4965
dnl Config for 
4967
4966
 
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 ])
4972
4971
  ],[
4973
4972
    with_trigger_dictionary_plugin="$withval"
4974
4973
    AS_IF([test "x$with_trigger_dictionary_plugin" = "xyes"],[
4995
4994
])
4996
4995
AC_ARG_ENABLE([trigger-dictionary-plugin],[
4997
4996
dnl indented wierd to make the help output correct
4998
 
AS_HELP_STRING([--enable-trigger-dictionary-plugin],[Enable loading Trigger Dictionary by default. @<:@default=no@:>@])
4999
 
AS_HELP_STRING([--disable-trigger-dictionary-plugin],[Disable loading Trigger Dictionary by default.])
 
4997
AS_HELP_STRING([--enable-trigger-dictionary-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
4998
AS_HELP_STRING([--disable-trigger-dictionary-plugin],[Disable loading  by default.])
5000
4999
  ],
5001
5000
  [enable_trigger_dictionary_plugin="$enableval"],
5002
5001
  [enable_trigger_dictionary_plugin=no])
5030
5029
    ])
5031
5030
    ])
5032
5031
 
5033
 
dnl Config for User Locks.
 
5032
dnl Config for 
5034
5033
 
5035
5034
AC_ARG_WITH([user-locks-plugin],[
5036
5035
dnl indented wierd to make the help output correct
5037
 
AS_HELP_STRING([--with-user-locks-plugin],[Build User Locks.. @<:@default=yes@:>@])
5038
 
AS_HELP_STRING([--without-user-locks-plugin],[Disable building User Locks.])
 
5036
AS_HELP_STRING([--with-user-locks-plugin],[Build . @<:@default=yes@:>@])
 
5037
AS_HELP_STRING([--without-user-locks-plugin],[Disable building ])
5039
5038
  ],[
5040
5039
    with_user_locks_plugin="$withval"
5041
5040
    AS_IF([test "x$with_user_locks_plugin" = "xyes"],[
5062
5061
])
5063
5062
AC_ARG_ENABLE([user-locks-plugin],[
5064
5063
dnl indented wierd to make the help output correct
5065
 
AS_HELP_STRING([--enable-user-locks-plugin],[Enable loading User Locks. by default. @<:@default=yes@:>@])
5066
 
AS_HELP_STRING([--disable-user-locks-plugin],[Disable loading User Locks. by default.])
 
5064
AS_HELP_STRING([--enable-user-locks-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
5065
AS_HELP_STRING([--disable-user-locks-plugin],[Disable loading  by default.])
5067
5066
  ],
5068
5067
  [enable_user_locks_plugin="$enableval"],
5069
5068
  [enable_user_locks_plugin=yes])
5097
5096
    ])
5098
5097
    ])
5099
5098
 
5100
 
dnl Config for Utility data dictionary tables.
 
5099
dnl Config for 
5101
5100
 
5102
5101
AC_ARG_WITH([utility-dictionary-plugin],[
5103
5102
dnl indented wierd to make the help output correct
5104
 
AS_HELP_STRING([--with-utility-dictionary-plugin],[Build Utility data dictionary tables.. @<:@default=yes@:>@])
5105
 
AS_HELP_STRING([--without-utility-dictionary-plugin],[Disable building Utility data dictionary tables.])
 
5103
AS_HELP_STRING([--with-utility-dictionary-plugin],[Build . @<:@default=yes@:>@])
 
5104
AS_HELP_STRING([--without-utility-dictionary-plugin],[Disable building ])
5106
5105
  ],[
5107
5106
    with_utility_dictionary_plugin="$withval"
5108
5107
    AS_IF([test "x$with_utility_dictionary_plugin" = "xyes"],[
5129
5128
])
5130
5129
AC_ARG_ENABLE([utility-dictionary-plugin],[
5131
5130
dnl indented wierd to make the help output correct
5132
 
AS_HELP_STRING([--enable-utility-dictionary-plugin],[Enable loading Utility data dictionary tables. by default. @<:@default=no@:>@])
5133
 
AS_HELP_STRING([--disable-utility-dictionary-plugin],[Disable loading Utility data dictionary tables. by default.])
 
5131
AS_HELP_STRING([--enable-utility-dictionary-plugin],[Enable loading  by default. @<:@default=no@:>@])
 
5132
AS_HELP_STRING([--disable-utility-dictionary-plugin],[Disable loading  by default.])
5134
5133
  ],
5135
5134
  [enable_utility_dictionary_plugin="$enableval"],
5136
5135
  [enable_utility_dictionary_plugin=no])
5164
5163
    ])
5165
5164
    ])
5166
5165
 
5167
 
dnl Config for Utility Functions
 
5166
dnl Config for 
5168
5167
 
5169
5168
AC_ARG_WITH([utility-functions-plugin],[
5170
5169
dnl indented wierd to make the help output correct
5171
 
AS_HELP_STRING([--with-utility-functions-plugin],[Build Utility Functions. @<:@default=yes@:>@])
5172
 
AS_HELP_STRING([--without-utility-functions-plugin],[Disable building Utility Functions])
 
5170
AS_HELP_STRING([--with-utility-functions-plugin],[Build . @<:@default=yes@:>@])
 
5171
AS_HELP_STRING([--without-utility-functions-plugin],[Disable building ])
5173
5172
  ],[
5174
5173
    with_utility_functions_plugin="$withval"
5175
5174
    AS_IF([test "x$with_utility_functions_plugin" = "xyes"],[
5196
5195
])
5197
5196
AC_ARG_ENABLE([utility-functions-plugin],[
5198
5197
dnl indented wierd to make the help output correct
5199
 
AS_HELP_STRING([--enable-utility-functions-plugin],[Enable loading Utility Functions by default. @<:@default=yes@:>@])
5200
 
AS_HELP_STRING([--disable-utility-functions-plugin],[Disable loading Utility Functions by default.])
 
5198
AS_HELP_STRING([--enable-utility-functions-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
5199
AS_HELP_STRING([--disable-utility-functions-plugin],[Disable loading  by default.])
5201
5200
  ],
5202
5201
  [enable_utility_functions_plugin="$enableval"],
5203
5202
  [enable_utility_functions_plugin=yes])
5231
5230
    ])
5232
5231
    ])
5233
5232
 
5234
 
dnl Config for UUID() plugin
 
5233
dnl Config for 
5235
5234
 
5236
5235
AC_ARG_WITH([uuid-function-plugin],[
5237
5236
dnl indented wierd to make the help output correct
5238
 
AS_HELP_STRING([--with-uuid-function-plugin],[Build UUID() plugin. @<:@default=yes@:>@])
5239
 
AS_HELP_STRING([--without-uuid-function-plugin],[Disable building UUID() plugin])
 
5237
AS_HELP_STRING([--with-uuid-function-plugin],[Build . @<:@default=yes@:>@])
 
5238
AS_HELP_STRING([--without-uuid-function-plugin],[Disable building ])
5240
5239
  ],[
5241
5240
    with_uuid_function_plugin="$withval"
5242
5241
    AS_IF([test "x$with_uuid_function_plugin" = "xyes"],[
5263
5262
])
5264
5263
AC_ARG_ENABLE([uuid-function-plugin],[
5265
5264
dnl indented wierd to make the help output correct
5266
 
AS_HELP_STRING([--enable-uuid-function-plugin],[Enable loading UUID() plugin by default. @<:@default=yes@:>@])
5267
 
AS_HELP_STRING([--disable-uuid-function-plugin],[Disable loading UUID() plugin by default.])
 
5265
AS_HELP_STRING([--enable-uuid-function-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
5266
AS_HELP_STRING([--disable-uuid-function-plugin],[Disable loading  by default.])
5268
5267
  ],
5269
5268
  [enable_uuid_function_plugin="$enableval"],
5270
5269
  [enable_uuid_function_plugin=yes])
5306
5305
    ])
5307
5306
    ])
5308
5307
 
5309
 
dnl Config for version UDF
 
5308
dnl Config for 
5310
5309
 
5311
5310
AC_ARG_WITH([version-plugin],[
5312
5311
dnl indented wierd to make the help output correct
5313
 
AS_HELP_STRING([--with-version-plugin],[Build version UDF. @<:@default=yes@:>@])
5314
 
AS_HELP_STRING([--without-version-plugin],[Disable building version UDF])
 
5312
AS_HELP_STRING([--with-version-plugin],[Build . @<:@default=yes@:>@])
 
5313
AS_HELP_STRING([--without-version-plugin],[Disable building ])
5315
5314
  ],[
5316
5315
    with_version_plugin="$withval"
5317
5316
    AS_IF([test "x$with_version_plugin" = "xyes"],[
5338
5337
])
5339
5338
AC_ARG_ENABLE([version-plugin],[
5340
5339
dnl indented wierd to make the help output correct
5341
 
AS_HELP_STRING([--enable-version-plugin],[Enable loading version UDF by default. @<:@default=yes@:>@])
5342
 
AS_HELP_STRING([--disable-version-plugin],[Disable loading version UDF by default.])
 
5340
AS_HELP_STRING([--enable-version-plugin],[Enable loading  by default. @<:@default=yes@:>@])
 
5341
AS_HELP_STRING([--disable-version-plugin],[Disable loading  by default.])
5343
5342
  ],
5344
5343
  [enable_version_plugin="$enableval"],
5345
5344
  [enable_version_plugin=yes])
5370
5369
        ])
5371
5370
    ])
5372
5371
    ])
 
5372
 
 
5373
dnl Config for 
 
5374
 
 
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 ])
 
5379
  ],[
 
5380
    with_zeromq_plugin="$withval"
 
5381
    AS_IF([test "x$with_zeromq_plugin" = "xyes"],[
 
5382
      requested_zeromq_plugin="yes"
 
5383
    ],[
 
5384
      requested_zeromq_plugin="no"
 
5385
    ])
 
5386
  ],[
 
5387
    with_zeromq_plugin="yes"
 
5388
    requested_zeromq_plugin="no"
 
5389
  ])
 
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])
 
5393
  ],[
 
5394
    with_static_zeromq_plugin=${withval}
 
5395
  ],[
 
5396
    with_static_zeromq_plugin=no
 
5397
])
 
5398
AS_IF([test "x${with_static_zeromq_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
 
5399
  shared_zeromq_plugin=no
 
5400
  ],[
 
5401
  shared_zeromq_plugin=yes
 
5402
])
 
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.])
 
5407
  ],
 
5408
  [enable_zeromq_plugin="$enableval"],
 
5409
  [enable_zeromq_plugin=no])
 
5410
 
 
5411
m4_sinclude([plugin/zeromq/plugin.ac])
 
5412
 
 
5413
AS_IF([test "x${with_zeromq_plugin}" = "xyes" -a "$ac_cv_libzmq" = "yes"],
 
5414
      [], dnl build_conditional can only negate
 
5415
      [
 
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
 
5419
      ])
 
5420
 
 
5421
 
 
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"])
 
5428
    
 
5429
AS_IF([test "x$with_zeromq_plugin" = "xyes"],[
 
5430
 
 
5431
      AS_IF([test "x${with_static_zeromq_plugin}" = "xyes" -o "x${with_all_static}" = "xyes"],[
 
5432
 
 
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} "
 
5437
        ])
 
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"
 
5441
     ],[
 
5442
        AS_IF([test "x$enable_zeromq_plugin" = "xyes"],[
 
5443
          pandora_default_plugin_list="zeromq,${pandora_default_plugin_list}"
 
5444
        ])
 
5445
    ])
 
5446
    ])