X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=configure.ac;h=17185929430b8600ab1759389e18d5d4129e949e;hb=7eacd0b32678c070af3c6b22892099f054ecb424;hp=231c8b4bf81030b0bd34027072403203e9102184;hpb=b3548bdd49a58692f6648b04248056d10a3d5a23;p=rodin%2Fchimara.git diff --git a/configure.ac b/configure.ac index 231c8b4..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 @@ -51,6 +51,8 @@ AC_PATH_PROG([PERL], [perl]) # Perl ### TYPES ##################################################################### +AC_TYPE_UINT8_T +AC_TYPE_UINT16_T AC_TYPE_INT32_T AC_TYPE_UINT32_T @@ -85,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 @@ -98,10 +106,13 @@ libchimara/Makefile interpreters/Makefile interpreters/frotz/Makefile interpreters/nitfol/Makefile +interpreters/glulxe/Makefile +interpreters/git/Makefile tests/Makefile docs/Makefile docs/reference/Makefile docs/reference/version.xml +docs/reference/build-selector-table.pl po/Makefile.in ]) # Do it