673
673
AC_SUBST(drizzled_plugin_test_list)
674
674
AC_SUBST(drizzled_plugin_libs)
676
AC_SUBST(mysql_plugin_dirs)
677
AC_SUBST(mysql_plugin_libs)
678
676
drizzled_plugin_defs=`echo $drizzled_plugin_defs | sed 's/, *$//'`
679
677
AC_SUBST(drizzled_plugin_defs)
680
679
AC_SUBST(DRIZZLED_PLUGIN_DEP_LIBS)
682
dnl Must be done once we turn on warnings and such
684
[whether __attribute__ visibility "hidden" is supported],
685
[ac_cv_can_use_hidden_],[
687
save_CXXFLAGS="${CXXFLAGS}"
688
CXXFLAGS="${AM_CXXFLAGS}"
692
__attribute__((visibility ("hidden")))
696
[ac_cv_can_use_hidden_=yes],
697
[ac_cv_can_use_hidden_=no])
698
CXXFLAGS="${save_CXXFLAGS}"
700
AS_IF([test "$ac_cv_can_use_hidden_" = "yes"],[
701
AC_DEFINE(HAVE_ATTR_HIDDEN, 1,
702
[Define to 1 if you have support for __attribute__((visibility("hidden")))])
706
680
AC_SUBST(pkgplugindir,"\$(pkglibdir)/plugin")
708
683
dnl GCC Precompiled Header Support
709
684
dnl re-enable later
710
685
dnl AM_CONDITIONAL([BUILD_GCC_PCH],[test "$GCC" = "yes"])