### 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
### TYPES #####################################################################
+AC_TYPE_UINT8_T
+AC_TYPE_UINT16_T
AC_TYPE_INT32_T
AC_TYPE_UINT32_T
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
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