~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

Moved InnoDB specific code to InnoDB.
Removed unused variables.

Show diffs side-by-side

added added

removed removed

Lines of Context:
673
673
AC_SUBST(drizzled_plugin_test_list)
674
674
AC_SUBST(drizzled_plugin_libs)
675
675
 
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)
 
678
 
680
679
AC_SUBST(DRIZZLED_PLUGIN_DEP_LIBS)
681
 
 
682
 
dnl Must be done once we turn on warnings and such
683
 
AC_CACHE_CHECK(
684
 
  [whether __attribute__ visibility "hidden" is supported],
685
 
  [ac_cv_can_use_hidden_],[
686
 
    AC_LANG_PUSH(C++)
687
 
    save_CXXFLAGS="${CXXFLAGS}"
688
 
    CXXFLAGS="${AM_CXXFLAGS}"
689
 
    AC_LINK_IFELSE([
690
 
      AC_LANG_PROGRAM(
691
 
        [[
692
 
__attribute__((visibility ("hidden")))
693
 
void testme() {  }
694
 
        ]],[[testme()]]
695
 
      )],  
696
 
      [ac_cv_can_use_hidden_=yes],
697
 
      [ac_cv_can_use_hidden_=no])
698
 
    CXXFLAGS="${save_CXXFLAGS}"
699
 
    AC_LANG_POP()])
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")))])
703
 
])
704
 
 
705
 
 
706
680
AC_SUBST(pkgplugindir,"\$(pkglibdir)/plugin")
707
681
 
 
682
 
708
683
dnl GCC Precompiled Header Support
709
684
dnl re-enable later
710
685
dnl AM_CONDITIONAL([BUILD_GCC_PCH],[test "$GCC" = "yes"])