1 AC_INIT([enigma2],[2.8.0],[enigma2-devel@lists.elitedvb.net])
2 AM_INIT_AUTOMAKE([dist-bzip2 no-define tar-pax])
3 AC_CONFIG_HEADERS([enigma2_config.h])
5 # Silent rules are available since 1.11, but older versions
6 # are still in use. So don't use them unconditionally.
7 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
9 AC_USE_SYSTEM_EXTENSIONS
15 AC_CONFIG_MACRO_DIR([m4])
17 AC_CHECK_HEADERS([dbox/fp.h dbox/lcd-ks0713.h])
19 AC_PATH_PROG(MSGFMT,[msgfmt])
20 AC_PATH_PROG(MSGINIT,[msginit])
21 AC_PATH_PROG(MSGMERGE,[msgmerge])
22 AC_PATH_PROG(MSGUNIQ,[msguniq])
23 AC_PATH_PROG(XGETTEXT,[xgettext])
24 if test -z "$MSGFMT" -o -z "$MSGINIT" -o -z "$MSGMERGE" -o -z "$MSGUNIQ" -o -z "$XGETTEXT"; then
25 AC_MSG_ERROR([Could not find required gettext tools])
37 PKG_CHECK_MODULES(BASE, [freetype2 fribidi gstreamer-0.10 gstreamer-pbutils-0.10 libdvbsi++ libpng libxml-2.0 sigc++-1.2])
38 PKG_CHECK_MODULES(LIBDDVD, libdreamdvd, HAVE_LIBDDVD="yes", HAVE_LIBDDVD="no")
39 AM_CONDITIONAL(HAVE_LIBDDVD, test "$HAVE_LIBDDVD" = "yes")
41 AC_CHECK_LIB([dl], [dlopen], [LIBDL_LIBS="-ldl"], [AC_MSG_ERROR([Could not find libdl])])
43 AC_CHECK_LIB([jpeg], [jpeg_set_defaults], [LIBJPEG_LIBS="-ljpeg"], [AC_MSG_ERROR([Could not find libjpeg])])
44 AC_SUBST(LIBJPEG_LIBS)
45 AC_CHECK_LIB([ungif], [DGifOpen], [LIBGIF_LIBS="-lungif"], [AC_CHECK_LIB([gif], [DGifOpen], [LIBGIF_LIBS="-lgif"], [AC_MSG_ERROR([Could not find libgif or libungif])])])
49 AC_CHECK_LIB([xmlccwrap], [exit], [LIBXMLCCWRAP_LIBS="-lxmlccwrap"], [AC_MSG_ERROR([Could not find libxmlccwrap])])
50 AC_SUBST(LIBXMLCCWRAP_LIBS)
54 AS_HELP_STRING([--with-libsdl],[use libsdl, yes or no]),
55 [with_libsdl=$withval],[with_libsdl=no])
56 if test "$with_libsdl" = "yes"; then
57 PKG_CHECK_MODULES(LIBSDL, sdl)
58 AC_DEFINE([WITH_SDL],[1],[Define to 1 if you have libsdl])
60 AM_CONDITIONAL(HAVE_LIBSDL, test "$with_libsdl" = "yes")
63 AS_HELP_STRING([--with-libxine],[use libxine, yes or no]),
64 [with_libxine=$withval],[with_libxine=no])
65 if test "$with_libxine" = "yes"; then
66 PKG_CHECK_MODULES(LIBXINE, libxine)
67 AC_DEFINE([WITH_XINE],[1],[Define to 1 if you have libxine])
69 AM_CONDITIONAL(HAVE_LIBXINE, test "$with_libxine" = "yes")
72 AS_HELP_STRING([--without-debug],[disable debugging code]),
73 [with_debug="$withval"],[with_debug="yes"])
74 if test "$with_debug" = "yes"; then
76 AC_DEFINE([DEBUG],[1],[Define to 1 to enable debugging code])
80 AS_HELP_STRING([--with-memcheck],[enable memory leak checks]),
81 [with_memcheck="$withval"],[with_memcheck="no"])
82 if test "$with_memcheck" = "yes"; then
83 AC_DEFINE([MEMLEAK_CHECK],[1],[Define to 1 to enable memory leak checks])
86 CPPFLAGS="$CPPFLAGS $PYTHON_CPPFLAGS"
87 CXXFLAGS="$CXXFLAGS $BASE_CFLAGS $PTHREAD_CFLAGS $DEBUG_CFLAGS -fno-rtti -fno-exceptions -Wall"
93 data/countries/Makefile
94 data/defaults/Makefile
95 data/defaults/Dream/Makefile
96 data/defaults/Dream/hdbouquets/Makefile
97 data/defaults/Dream/sdbouquets/Makefile
98 data/extensions/Makefile
99 data/skin_default/Makefile
100 data/skin_default/menu/Makefile
101 data/skin_default/icons/Makefile
102 data/skin_default/buttons/Makefile
103 data/skin_default/spinner/Makefile
111 lib/dvb/lowlevel/Makefile
118 lib/python/Components/Makefile
119 lib/python/Components/Converter/Makefile
120 lib/python/Components/Renderer/Makefile
121 lib/python/Components/Sources/Makefile
122 lib/python/Screens/Makefile
123 lib/python/Plugins/Makefile
124 lib/python/Plugins/DemoPlugins/Makefile
125 lib/python/Plugins/DemoPlugins/TPMDemo/Makefile
126 lib/python/Plugins/DemoPlugins/TestPlugin/Makefile
127 lib/python/Plugins/Extensions/CutListEditor/Makefile
128 lib/python/Plugins/Extensions/CutListEditor/meta/Makefile
129 lib/python/Plugins/Extensions/DVDBurn/Makefile
130 lib/python/Plugins/Extensions/DVDBurn/meta/Makefile
131 lib/python/Plugins/Extensions/DVDPlayer/Makefile
132 lib/python/Plugins/Extensions/DVDPlayer/meta/Makefile
133 lib/python/Plugins/Extensions/DVDPlayer/src/Makefile
134 lib/python/Plugins/Extensions/GraphMultiEPG/Makefile
135 lib/python/Plugins/Extensions/GraphMultiEPG/meta/Makefile
136 lib/python/Plugins/Extensions/Makefile
137 lib/python/Plugins/Extensions/MediaPlayer/Makefile
138 lib/python/Plugins/Extensions/MediaPlayer/meta/Makefile
139 lib/python/Plugins/Extensions/MediaScanner/Makefile
140 lib/python/Plugins/Extensions/MediaScanner/meta/Makefile
141 lib/python/Plugins/Extensions/Modem/Makefile
142 lib/python/Plugins/Extensions/PicturePlayer/Makefile
143 lib/python/Plugins/Extensions/PicturePlayer/meta/Makefile
144 lib/python/Plugins/Extensions/PicturePlayer/data/Makefile
145 lib/python/Plugins/Extensions/SocketMMI/Makefile
146 lib/python/Plugins/Extensions/SocketMMI/meta/Makefile
147 lib/python/Plugins/Extensions/SocketMMI/src/Makefile
148 lib/python/Plugins/Extensions/TuxboxPlugins/Makefile
149 lib/python/Plugins/Extensions/TuxboxPlugins/meta/Makefile
150 lib/python/Plugins/SystemPlugins/CleanupWizard/Makefile
151 lib/python/Plugins/SystemPlugins/CleanupWizard/meta/Makefile
152 lib/python/Plugins/SystemPlugins/CommonInterfaceAssignment/Makefile
153 lib/python/Plugins/SystemPlugins/CommonInterfaceAssignment/meta/Makefile
154 lib/python/Plugins/SystemPlugins/CrashlogAutoSubmit/Makefile
155 lib/python/Plugins/SystemPlugins/CrashlogAutoSubmit/meta/Makefile
156 lib/python/Plugins/SystemPlugins/DefaultServicesScanner/Makefile
157 lib/python/Plugins/SystemPlugins/DefaultServicesScanner/meta/Makefile
158 lib/python/Plugins/SystemPlugins/DiseqcTester/Makefile
159 lib/python/Plugins/SystemPlugins/DiseqcTester/meta/Makefile
160 lib/python/Plugins/SystemPlugins/FrontprocessorUpgrade/Makefile
161 lib/python/Plugins/SystemPlugins/FrontprocessorUpgrade/meta/Makefile
162 lib/python/Plugins/SystemPlugins/Hotplug/Makefile
163 lib/python/Plugins/SystemPlugins/Hotplug/meta/Makefile
164 lib/python/Plugins/SystemPlugins/Makefile
165 lib/python/Plugins/SystemPlugins/TempFanControl/Makefile
166 lib/python/Plugins/SystemPlugins/TempFanControl/meta/Makefile
167 lib/python/Plugins/SystemPlugins/NetworkWizard/Makefile
168 lib/python/Plugins/SystemPlugins/NetworkWizard/meta/Makefile
169 lib/python/Plugins/SystemPlugins/NFIFlash/Makefile
170 lib/python/Plugins/SystemPlugins/NFIFlash/meta/Makefile
171 lib/python/Plugins/SystemPlugins/PositionerSetup/Makefile
172 lib/python/Plugins/SystemPlugins/PositionerSetup/meta/Makefile
173 lib/python/Plugins/SystemPlugins/SatelliteEquipmentControl/Makefile
174 lib/python/Plugins/SystemPlugins/SatelliteEquipmentControl/meta/Makefile
175 lib/python/Plugins/SystemPlugins/Satfinder/Makefile
176 lib/python/Plugins/SystemPlugins/Satfinder/meta/Makefile
177 lib/python/Plugins/SystemPlugins/SkinSelector/Makefile
178 lib/python/Plugins/SystemPlugins/SkinSelector/meta/Makefile
179 lib/python/Plugins/SystemPlugins/SoftwareManager/Makefile
180 lib/python/Plugins/SystemPlugins/SoftwareManager/meta/Makefile
181 lib/python/Plugins/SystemPlugins/VideoEnhancement/Makefile
182 lib/python/Plugins/SystemPlugins/VideoEnhancement/meta/Makefile
183 lib/python/Plugins/SystemPlugins/VideoTune/Makefile
184 lib/python/Plugins/SystemPlugins/VideoTune/meta/Makefile
185 lib/python/Plugins/SystemPlugins/Videomode/Makefile
186 lib/python/Plugins/SystemPlugins/Videomode/meta/Makefile
187 lib/python/Plugins/SystemPlugins/WirelessLan/Makefile
188 lib/python/Plugins/SystemPlugins/WirelessLan/meta/Makefile
189 lib/python/Tools/Makefile
191 lib/components/Makefile