2 AM_INIT_AUTOMAKE(enigma2,2.4)
12 AC_HELP_STRING([--with-libsdl], [use sdl, yes or no]),
17 AC_CHECK_HEADER(dreamdvd/ddvdlib.h,have_ddvdlib="yes",have_ddvdlib="no")
18 if test x"${have_ddvdlib}" = xyes ; then
19 AC_DEFINE(HAVE_DDVDLIB, 1,[Define if ddvdlib is available])
21 AC_MSG_NOTICE([ddvdlib not found... dont build dvd plugin])
23 AM_CONDITIONAL(HAVE_DDVDLIB, test "$have_ddvdlib" = "yes")
27 #AM_PATH_XINE(1.1.0,, AC_MSG_ERROR([*** Please install xine-lib (devel) first ***]))
31 _TUXBOX_APPS_LIB_PKGCONFIG_OPTIONAL(FREETYPE, freetype2, HAVE_FREETYPE2)
32 if test "$HAVE_FREETYPE2" = "no" ; then
33 TUXBOX_APPS_LIB_CONFIG(FREETYPE, freetype-config)
35 TUXBOX_APPS_LIB_PKGCONFIG(FRIBIDI,fribidi)
36 TUXBOX_APPS_LIB_PKGCONFIG(ID3TAG,id3tag)
37 TUXBOX_APPS_LIB_PKGCONFIG(MAD,mad)
38 #TUXBOX_APPS_LIB_PKGCONFIG(PLUGINS,tuxbox-plugins)
39 TUXBOX_APPS_LIB_PKGCONFIG(PNG,libpng)
40 TUXBOX_APPS_LIB_PKGCONFIG(SIGC,sigc++-1.2)
41 TUXBOX_APPS_LIB_PKGCONFIG(DVBSI,libdvbsi++)
42 _TUXBOX_APPS_LIB_PKGCONFIG_OPTIONAL(GSTREAMER,gstreamer,HAVE_GSTREAMER)
43 _TUXBOX_APPS_LIB_PKGCONFIG_OPTIONAL(GSTREAMERPBUTILS,gstreamer-pbutils,HAVE_GSTSTREAMERPBUTILS)
44 AC_CHECK_LIB(jpeg, jpeg_set_defaults, HAVE_JPEG="yes", HAVE_JPEG="no")
48 AC_SUBST(LIBUNGIF_LIBS,"")
49 AC_CHECK_HEADERS(gif_lib.h,
50 AC_CHECK_LIB(ungif,DGifOpen,
51 [AC_DEFINE(HAVE_LIBUNGIF,1,[Define if you have libgif/libungif including devel headers])
52 LIBUNGIF_LIBS="-lungif"],
53 [AC_CHECK_LIB(gif,DGifOpen,
54 [AC_DEFINE(HAVE_LIUNBGIF,1)
55 LIBUNGIF_LIBS="-lgif"])]))
57 TUXBOX_APPS_LIB_PKGCONFIG(XML2,libxml-2.0)
59 # ok, we are in trouble: XMLCCWRAP only defines C++ symbols. So let's just check if linking works,
60 # and assume everything will be ok. Then just check for the "exit" symbol, which should be always there.
63 TUXBOX_APPS_LIB_SYMBOL(XMLCCWRAP, xmlccwrap, exit)
66 if test "$withsdl" = "yes" ; then
67 _TUXBOX_APPS_LIB_PKGCONFIG_OPTIONAL(SDL,sdl,WITH_SDL)
68 if test "$WITH_SDL" = "no" ; then
69 TUXBOX_APPS_LIB_CONFIG(SDL,sdl-config)
70 AC_DEFINE_UNQUOTED([WITH_SDL],[$withsdl],[With SDL])
73 # allow 'if WITH_SDL' conditionals in Makefile.am
74 AM_CONDITIONAL(WITH_SDL, test "$WITH_SDL" = "yes")
76 CPPFLAGS="$CPPFLAGS "'-I$(top_srcdir)'
77 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 $LIBUNGIF_CLFAGS"
78 #CPPFLAGS="$CPPFLAGS -DMEMLEAK_CHECK"
79 CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions -Wall"
80 LDFLAGS="$LDFLAGS -pthread $PYTHON_LDFLAGS $SDL_LDFLAGS $GSTREAMER_LDFLAGS $GSTREAMERPBUTILS_LDFLAGS $LIBUNGIF_LDFLAGS"
81 #LDFLAGS="-rdynamic $LDFLAGS"
89 data/countries/Makefile
90 data/defaults/Makefile
91 data/defaults/Dream/Makefile
92 data/extensions/Makefile
93 data/skin_default/Makefile
94 data/skin_default/menu/Makefile
95 data/skin_default/icons/Makefile
96 data/skin_default/buttons/Makefile
97 data/skin_default/spinner/Makefile
109 lib/python/Components/Makefile
110 lib/python/Components/Converter/Makefile
111 lib/python/Components/Renderer/Makefile
112 lib/python/Components/Sources/Makefile
113 lib/python/Screens/Makefile
114 lib/python/Plugins/Makefile
115 lib/python/Plugins/SystemPlugins/Makefile
116 lib/python/Plugins/SystemPlugins/SoftwareManager/Makefile
117 lib/python/Plugins/SystemPlugins/FrontprocessorUpgrade/Makefile
118 lib/python/Plugins/SystemPlugins/PositionerSetup/Makefile
119 lib/python/Plugins/SystemPlugins/Hotplug/Makefile
120 lib/python/Plugins/SystemPlugins/DefaultServicesScanner/Makefile
121 lib/python/Plugins/SystemPlugins/NFIFlash/Makefile
122 lib/python/Plugins/SystemPlugins/Satfinder/Makefile
123 lib/python/Plugins/SystemPlugins/SkinSelector/Makefile
124 lib/python/Plugins/SystemPlugins/SatelliteEquipmentControl/Makefile
125 lib/python/Plugins/SystemPlugins/Videomode/Makefile
126 lib/python/Plugins/SystemPlugins/VideoTune/Makefile
127 lib/python/Plugins/SystemPlugins/DiseqcTester/Makefile
128 lib/python/Plugins/DemoPlugins/Makefile
129 lib/python/Plugins/DemoPlugins/TestPlugin/Makefile
130 lib/python/Plugins/Extensions/Makefile
131 lib/python/Plugins/Extensions/TuxboxPlugins/Makefile
132 lib/python/Plugins/Extensions/FileManager/Makefile
133 lib/python/Plugins/Extensions/CutListEditor/Makefile
134 lib/python/Plugins/Extensions/MediaScanner/Makefile
135 lib/python/Plugins/Extensions/MediaPlayer/Makefile
136 lib/python/Plugins/Extensions/DVDBurn/Makefile
137 lib/python/Plugins/Extensions/DVDPlayer/Makefile
138 lib/python/Plugins/Extensions/DVDPlayer/src/Makefile
139 lib/python/Plugins/Extensions/PicturePlayer/Makefile
140 lib/python/Plugins/Extensions/PicturePlayer/data/Makefile
141 lib/python/Plugins/Extensions/GraphMultiEPG/Makefile
142 lib/python/Plugins/Extensions/SocketMMI/Makefile
143 lib/python/Plugins/Extensions/SocketMMI/src/Makefile
144 lib/python/Tools/Makefile
146 lib/components/Makefile
153 #lib/python/Plugins/Extensions/SimpleRSS/Makefile