Use GParamSpecFlags for the flags property
[projects/chimara/chimara.git] / configure.ac
index 6299c4d11d34c4e7b0e2fd12afd5414849ed32a5..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])
@@ -129,8 +121,13 @@ PKG_CHECK_MODULES([PLAYER], [
        glib-2.0 >= $GLIB_REQUIRED_VERSION
        gtk+-3.0 >= $GTK_REQUIRED_VERSION
        gmodule-2.0
-       dnl libgda-4.0
-       libsoup-2.4
+])
+# 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], [
@@ -160,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 ####################################################################
@@ -175,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
@@ -187,7 +180,6 @@ docs/reference/Makefile
 docs/reference/version.xml
 docs/reference/build-selector-table.pl
 po/Makefile.in
-babel/Makefile
 ])
 
 # Do it