X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/9ae469143c29c19ee24c0ffc9f91f4dcb252eaf3..ecb8af1618dc7f2b2be41ca2bd1667aa693d777a:/configure.ac diff --git a/configure.ac b/configure.ac old mode 100644 new mode 100755 index 50e30aad..d1b1d279 --- a/configure.ac +++ b/configure.ac @@ -14,6 +14,14 @@ AC_ARG_WITH(libsdl, [[withsdl=yes]] ) +AC_CHECK_HEADER(dreamdvd/ddvdlib.h,have_ddvdlib="yes",have_ddvdlib="no") +if test x"${have_ddvdlib}" = xyes ; then + AC_DEFINE(HAVE_DDVDLIB, 1,[Define if ddvdlib is available]) +else + AC_MSG_NOTICE([ddvdlib not found... dont build dvd plugin]) +fi +AM_CONDITIONAL(HAVE_DDVDLIB, test "$have_ddvdlib" = "yes") + AM_PATH_PYTHON() AC_PYTHON_DEVEL #AM_PATH_XINE(1.1.0,, AC_MSG_ERROR([*** Please install xine-lib (devel) first ***])) @@ -32,19 +40,29 @@ 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,HAVE_GSTREAMER) +_TUXBOX_APPS_LIB_PKGCONFIG_OPTIONAL(GSTREAMERPBUTILS,gstreamer-pbutils,HAVE_GSTSTREAMERPBUTILS) +_TUXBOX_APPS_LIB_PKGCONFIG_OPTIONAL(LIBXINE,libxine,HAVE_LIBXINE) AC_CHECK_LIB(jpeg, jpeg_set_defaults, HAVE_JPEG="yes", HAVE_JPEG="no") JPEG_LIBS="-ljpeg" AC_SUBST(JPEG_LIBS) -AC_CHECK_LIB(ungif, DGifOpenFileName, HAVE_LIBUNGIF="yes", HAVE_LIBUNGIF="no") -LIBUNGIF_LIBS="-lungif" -AC_SUBST(LIBUNGIF_LIBS) +AC_SUBST(LIBUNGIF_LIBS,"") +AC_CHECK_HEADERS(gif_lib.h, + AC_CHECK_LIB(ungif,DGifOpen, + [AC_DEFINE(HAVE_LIBUNGIF,1,[Define if you have libgif/libungif including devel headers]) + LIBUNGIF_LIBS="-lungif"], + [AC_CHECK_LIB(gif,DGifOpen, + [AC_DEFINE(HAVE_LIUNBGIF,1) + LIBUNGIF_LIBS="-lgif"])])) TUXBOX_APPS_LIB_PKGCONFIG(XML2,libxml-2.0) # ok, we are in trouble: XMLCCWRAP only defines C++ symbols. So let's just check if linking works, # and assume everything will be ok. Then just check for the "exit" symbol, which should be always there. +AC_LANG_SAVE +AC_LANG_CPLUSPLUS TUXBOX_APPS_LIB_SYMBOL(XMLCCWRAP, xmlccwrap, exit) +AC_LANG_RESTORE if test "$withsdl" = "yes" ; then _TUXBOX_APPS_LIB_PKGCONFIG_OPTIONAL(SDL,sdl,WITH_SDL) @@ -57,10 +75,10 @@ fi AM_CONDITIONAL(WITH_SDL, test "$WITH_SDL" = "yes") CPPFLAGS="$CPPFLAGS "'-I$(top_srcdir)' -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 $LIBUNGIF_CLFAGS" +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 $GSTREAMERPBUTILS_CFLAGS $LIBXINE_CFLAGS $LIBUNGIF_CFLAGS" #CPPFLAGS="$CPPFLAGS -DMEMLEAK_CHECK" CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions -Wall" -LDFLAGS="$LDFLAGS -pthread $PYTHON_LDFLAGS $SDL_LDFLAGS $GSTREAMER_LDFLAGS $LIBUNGIF_LDFLAGS" +LDFLAGS="$LDFLAGS -pthread $PYTHON_LDFLAGS $SDL_LDFLAGS $GSTREAMER_LDFLAGS $GSTREAMERPBUTILS_LDFLAGS $LIBXINE_LDFLAGS $LIBUNGIF_LDFLAGS" #LDFLAGS="-rdynamic $LDFLAGS" TUXBOX_APPS_GETTEXT @@ -71,17 +89,22 @@ data/Makefile data/fonts/Makefile data/countries/Makefile data/defaults/Makefile +data/defaults/Dream/Makefile +data/defaults/Dream/hdbouquets/Makefile +data/defaults/Dream/sdbouquets/Makefile data/extensions/Makefile data/skin_default/Makefile data/skin_default/menu/Makefile data/skin_default/icons/Makefile data/skin_default/buttons/Makefile data/skin_default/spinner/Makefile +include/Makefile lib/Makefile lib/actions/Makefile lib/base/Makefile lib/driver/Makefile lib/dvb/Makefile +lib/dvb/lowlevel/Makefile lib/dvb_ci/Makefile lib/gdi/Makefile lib/gui/Makefile @@ -94,38 +117,77 @@ lib/python/Components/Renderer/Makefile lib/python/Components/Sources/Makefile lib/python/Screens/Makefile lib/python/Plugins/Makefile -lib/python/Plugins/SystemPlugins/Makefile -lib/python/Plugins/SystemPlugins/SoftwareUpdate/Makefile -lib/python/Plugins/SystemPlugins/FrontprocessorUpgrade/Makefile -lib/python/Plugins/SystemPlugins/PositionerSetup/Makefile -lib/python/Plugins/SystemPlugins/Hotplug/Makefile -lib/python/Plugins/SystemPlugins/ConfigurationBackup/Makefile -lib/python/Plugins/SystemPlugins/Satfinder/Makefile -lib/python/Plugins/SystemPlugins/SkinSelector/Makefile -lib/python/Plugins/SystemPlugins/SatelliteEquipmentControl/Makefile -lib/python/Plugins/SystemPlugins/Videomode/Makefile -lib/python/Plugins/SystemPlugins/VideoTune/Makefile lib/python/Plugins/DemoPlugins/Makefile lib/python/Plugins/DemoPlugins/TestPlugin/Makefile -lib/python/Plugins/Extensions/Makefile -lib/python/Plugins/Extensions/IpkgInstaller/Makefile -lib/python/Plugins/Extensions/TuxboxPlugins/Makefile -lib/python/Plugins/Extensions/FileManager/Makefile lib/python/Plugins/Extensions/CutListEditor/Makefile -lib/python/Plugins/Extensions/MediaScanner/Makefile -lib/python/Plugins/Extensions/MediaPlayer/Makefile +lib/python/Plugins/Extensions/CutListEditor/meta/Makefile +lib/python/Plugins/Extensions/DVDBurn/Makefile +lib/python/Plugins/Extensions/DVDBurn/meta/Makefile lib/python/Plugins/Extensions/DVDPlayer/Makefile +lib/python/Plugins/Extensions/DVDPlayer/meta/Makefile lib/python/Plugins/Extensions/DVDPlayer/src/Makefile +lib/python/Plugins/Extensions/GraphMultiEPG/Makefile +lib/python/Plugins/Extensions/GraphMultiEPG/meta/Makefile +lib/python/Plugins/Extensions/Makefile +lib/python/Plugins/Extensions/MediaPlayer/Makefile +lib/python/Plugins/Extensions/MediaPlayer/meta/Makefile +lib/python/Plugins/Extensions/MediaScanner/Makefile +lib/python/Plugins/Extensions/MediaScanner/meta/Makefile +lib/python/Plugins/Extensions/Modem/Makefile lib/python/Plugins/Extensions/PicturePlayer/Makefile +lib/python/Plugins/Extensions/PicturePlayer/meta/Makefile lib/python/Plugins/Extensions/PicturePlayer/data/Makefile -lib/python/Plugins/Extensions/GraphMultiEPG/Makefile lib/python/Plugins/Extensions/SocketMMI/Makefile +lib/python/Plugins/Extensions/SocketMMI/meta/Makefile +lib/python/Plugins/Extensions/SocketMMI/src/Makefile +lib/python/Plugins/Extensions/TuxboxPlugins/Makefile +lib/python/Plugins/Extensions/TuxboxPlugins/meta/Makefile +lib/python/Plugins/SystemPlugins/CleanupWizard/Makefile +lib/python/Plugins/SystemPlugins/CleanupWizard/meta/Makefile +lib/python/Plugins/SystemPlugins/CommonInterfaceAssignment/Makefile +lib/python/Plugins/SystemPlugins/CommonInterfaceAssignment/meta/Makefile +lib/python/Plugins/SystemPlugins/CrashlogAutoSubmit/Makefile +lib/python/Plugins/SystemPlugins/CrashlogAutoSubmit/meta/Makefile +lib/python/Plugins/SystemPlugins/DefaultServicesScanner/Makefile +lib/python/Plugins/SystemPlugins/DefaultServicesScanner/meta/Makefile +lib/python/Plugins/SystemPlugins/DiseqcTester/Makefile +lib/python/Plugins/SystemPlugins/DiseqcTester/meta/Makefile +lib/python/Plugins/SystemPlugins/FrontprocessorUpgrade/Makefile +lib/python/Plugins/SystemPlugins/FrontprocessorUpgrade/meta/Makefile +lib/python/Plugins/SystemPlugins/Hotplug/Makefile +lib/python/Plugins/SystemPlugins/Hotplug/meta/Makefile +lib/python/Plugins/SystemPlugins/Makefile +lib/python/Plugins/SystemPlugins/TempFanControl/Makefile +lib/python/Plugins/SystemPlugins/NetworkWizard/Makefile +lib/python/Plugins/SystemPlugins/NetworkWizard/meta/Makefile +lib/python/Plugins/SystemPlugins/NFIFlash/Makefile +lib/python/Plugins/SystemPlugins/NFIFlash/meta/Makefile +lib/python/Plugins/SystemPlugins/PositionerSetup/Makefile +lib/python/Plugins/SystemPlugins/PositionerSetup/meta/Makefile +lib/python/Plugins/SystemPlugins/SatelliteEquipmentControl/Makefile +lib/python/Plugins/SystemPlugins/SatelliteEquipmentControl/meta/Makefile +lib/python/Plugins/SystemPlugins/Satfinder/Makefile +lib/python/Plugins/SystemPlugins/Satfinder/meta/Makefile +lib/python/Plugins/SystemPlugins/SkinSelector/Makefile +lib/python/Plugins/SystemPlugins/SkinSelector/meta/Makefile +lib/python/Plugins/SystemPlugins/SoftwareManager/Makefile +lib/python/Plugins/SystemPlugins/SoftwareManager/meta/Makefile +lib/python/Plugins/SystemPlugins/VideoEnhancement/Makefile +lib/python/Plugins/SystemPlugins/VideoEnhancement/meta/Makefile +lib/python/Plugins/SystemPlugins/VideoTune/Makefile +lib/python/Plugins/SystemPlugins/VideoTune/meta/Makefile +lib/python/Plugins/SystemPlugins/Videomode/Makefile +lib/python/Plugins/SystemPlugins/Videomode/meta/Makefile +lib/python/Plugins/SystemPlugins/WirelessLan/Makefile +lib/python/Plugins/SystemPlugins/WirelessLan/meta/Makefile lib/python/Tools/Makefile lib/service/Makefile lib/components/Makefile po/Makefile main/Makefile tools/Makefile +enigma2.pc ]) #lib/python/Plugins/Extensions/SimpleRSS/Makefile +#lib/python/Plugins/Extensions/FileManager/Makefile