X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=configure.ac;h=17185929430b8600ab1759389e18d5d4129e949e;hb=b2786d791c97b51fee5f5c628d2819fc58c03d8e;hp=51a5cf2d215e65c4cf011cb6876a0bc866be4975;hpb=1410fe4a16ca30242deb8273a8c5867ebeb66b65;p=rodin%2Fchimara.git diff --git a/configure.ac b/configure.ac index 51a5cf2..1718592 100644 --- a/configure.ac +++ b/configure.ac @@ -26,8 +26,8 @@ AC_SUBST(LT_VERSION_INFO) ### DECLARE COMPILERS ######################################################### -AC_PROG_CC # C compiler AC_USE_SYSTEM_EXTENSIONS # Define _GNU_SOURCE if using GCC +AC_PROG_CC # C compiler AM_PROG_CC_C_O # Automake requires this for per-target CFLAGS AC_C_INLINE # Define inline keyword AC_PROG_YACC # Building nitfol requires yacc @@ -87,6 +87,12 @@ PKG_CHECK_MODULES([TEST], [ gmodule-2.0 ]) +# Plugin flags; include '-module' in each Makefile.am, because AC_SUBSTed +# variables are black boxes to Automake, so it has to know about it being a +# module in the makefile itself. +PLUGIN_LIBTOOL_FLAGS='-avoid-version -shared -export-symbols-regex "^glk"' +AC_SUBST(PLUGIN_LIBTOOL_FLAGS) + ### OUTPUT #################################################################### # Output platform-specific definitions to config.h