Use GParamSpecFlags for the flags property
[projects/chimara/chimara.git] / configure.ac
index c0f5e90e2ecb7d14e5b73396648a8e512a50fec7..06bb494b7d16e8845ac24364cd23851e0f2eff09 100644 (file)
@@ -75,14 +75,6 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
 
 GOBJECT_INTROSPECTION_CHECK([0.6.7])
 
-### ILIAD #####################################################################
-AC_ARG_ENABLE([iliad],
-       [AS_HELP_STRING([--enable-iliad=@<:@yes/no@:>@],
-               [Compiles Chimara for the iLiad @<:@default=no@:>@])],
-       [],
-       [enable_iliad=no])
-AM_CONDITIONAL(TARGET_ILIAD, $TEST "x$enable_iliad" = xyes)
-
 ### RPM CONFIGURATION ##########################################################
 # --enable-rpm requires rpm and rpmbuild
 AC_PATH_PROG([RPMBUILD], [rpmbuild], [notfound])
@@ -130,6 +122,13 @@ PKG_CHECK_MODULES([PLAYER], [
        gtk+-3.0 >= $GTK_REQUIRED_VERSION
        gmodule-2.0
 ])
+# Libraries needed to build interpreter plugins
+PKG_CHECK_MODULES([PLUGIN], [
+       glib-2.0  dnl Any version will do
+       gtk+-3.0
+       libpeas-1.0
+       libpeas-gtk-1.0
+])
 # Libraries needed to build test programs
 PKG_CHECK_MODULES([TEST], [
        gtk+-3.0 >= $GTK_REQUIRED_VERSION
@@ -158,7 +157,7 @@ AS_IF([$TEST "x$with_gstreamer" != xno], [
 # 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"'
+PLUGIN_LIBTOOL_FLAGS='-avoid-version -shared -export-symbols-regex "(^glk|peas_register_types)"'
 AC_SUBST(PLUGIN_LIBTOOL_FLAGS)
 
 ### OUTPUT ####################################################################
@@ -173,10 +172,6 @@ chimara-plugin.pc
 chimara.spec
 libchimara/Makefile
 interpreters/Makefile
-interpreters/frotz/Makefile
-interpreters/nitfol/Makefile
-interpreters/glulxe/Makefile
-interpreters/git/Makefile
 tests/Makefile
 player/Makefile
 player/config.py