X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=configure.ac;h=17185929430b8600ab1759389e18d5d4129e949e;hb=72902bf6d07de938b87213f60b9aafd6ce1fcbfe;hp=1c1d5e17a4f15a85a4532a85cbc17ad469f3c026;hpb=147a8cbf17f2b3379277bf7d37cda9866510f16c;p=rodin%2Fchimara.git diff --git a/configure.ac b/configure.ac index 1c1d5e1..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 @@ -106,6 +112,7 @@ tests/Makefile docs/Makefile docs/reference/Makefile docs/reference/version.xml +docs/reference/build-selector-table.pl po/Makefile.in ]) # Do it