fix: gstreamer is supposed to be optional.
[enigma2.git] / configure.ac
index b5a19aad22b2ec65fa44dc14da86cc27629b5068..59e7c539fc48ed881648b0c863f5a4d2dd52bd55 100644 (file)
@@ -27,6 +27,7 @@ TUXBOX_APPS_LIB_PKGCONFIG(MAD,mad)
 TUXBOX_APPS_LIB_PKGCONFIG(PNG,libpng)
 TUXBOX_APPS_LIB_PKGCONFIG(SIGC,sigc++-1.2)
 TUXBOX_APPS_LIB_PKGCONFIG(DVBSI,libdvbsi++)
+_TUXBOX_APPS_LIB_PKGCONFIG_OPTIONAL(GSTREAMER,gstreamer >= 0.10,HAVE_GSTREAMER)
 
 if test "$withsdl" = "yes" ; then
        TUXBOX_APPS_LIB_CONFIG(SDL,sdl-config)
@@ -34,9 +35,9 @@ if test "$withsdl" = "yes" ; then
 fi
 
 CPPFLAGS="$CPPFLAGS "'-I$(top_srcdir)'
-CPPFLAGS="$CPPFLAGS $PYTHON_CPPFLAGS $MD5SUM_CFLAGS $FREETYPE_CFLAGS $FRIBIDI_CFLAGS $ID3TAG_CFLAGS $MAD_CFLAGS $PLUGINS_CFLAGS $PNG_CFLAGS $SDL_CFLAGS $SIGC_CFLAGS $XMLTREE_CFLAGS $DVBSI_CFLAGS"
+CPPFLAGS="$CPPFLAGS -D_REENTRANT $PYTHON_CPPFLAGS $MD5SUM_CFLAGS $FREETYPE_CFLAGS $FRIBIDI_CFLAGS $ID3TAG_CFLAGS $MAD_CFLAGS $PLUGINS_CFLAGS $PNG_CFLAGS $SDL_CFLAGS $SIGC_CFLAGS $XMLTREE_CFLAGS $DVBSI_CFLAGS $GSTREAMER_CFLAGS"
 CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions -Wall"
-LDFLAGS="$LDFLAGS $PYTHON_LDFLAGS $SDL_LDFLAGS"
+LDFLAGS="$LDFLAGS -pthread $PYTHON_LDFLAGS $SDL_LDFLAGS $GSTREAMER_LDFLAGS"
 
 TUXBOX_APPS_GETTEXT
 
@@ -60,15 +61,24 @@ lib/python/Makefile
 lib/python/Components/Makefile
 lib/python/Screens/Makefile
 lib/python/Plugins/Makefile
-lib/python/Plugins/update/Makefile
-lib/python/Plugins/FileManager/Makefile
-lib/python/Plugins/fpupgrade/Makefile
-lib/python/Plugins/test/Makefile
-lib/python/Plugins/tuxboxplugins/Makefile
-lib/python/Plugins/web/Makefile
+lib/python/Plugins/SystemPlugins/Makefile
+lib/python/Plugins/SystemPlugins/SoftwareUpdate/Makefile
+lib/python/Plugins/SystemPlugins/OldSoftwareUpdate/Makefile
+lib/python/Plugins/SystemPlugins/FrontprocessorUpgrade/Makefile
+lib/python/Plugins/SystemPlugins/PositionerSetup/Makefile
+lib/python/Plugins/SystemPlugins/ConfigurationBackup/Makefile
+lib/python/Plugins/DemoPlugins/Makefile
+lib/python/Plugins/DemoPlugins/TestPlugin/Makefile
+lib/python/Plugins/Extensions/Makefile
+lib/python/Plugins/Extensions/TuxboxPlugins/Makefile
+lib/python/Plugins/Extensions/WebInterface/Makefile
+lib/python/Plugins/Extensions/FileManager/Makefile
+lib/python/Plugins/Extensions/CutListEditor/Makefile
+lib/python/Plugins/Extensions/ZappingAlternatives/Makefile
 lib/python/Tools/Makefile
 lib/service/Makefile
 lib/components/Makefile
 po/Makefile
 main/Makefile
 ])
+#lib/python/Plugins/Extensions/SimpleRSS/Makefile