1 AC_INIT([enigma2],[3.0.0],[enigma2-devel@lists.elitedvb.net])
2 AM_INIT_AUTOMAKE([dist-bzip2 no-define tar-pax -Wno-portability])
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
14 m4_ifdef([LT_INIT], [LT_INIT], [AC_PROG_LIBTOOL])
15 AC_CONFIG_MACRO_DIR([m4])
17 AC_CHECK_HEADERS([dbox/fp.h dbox/lcd-ks0713.h])
19 AC_PATH_PROG(MSGFMT, msgfmt, AC_MSG_ERROR(Could not find msgfmt))
30 AM_CONDITIONAL(HAVE_GIT_DIR, test -d "$srcdir/.git")
31 AM_CONDITIONAL(HAVE_FAKE_GIT_DIR, test -f "$srcdir/.git/last_commit_info")
33 PKG_CHECK_MODULES(BASE, [freetype2 fribidi gstreamer-0.10 gstreamer-pbutils-0.10 libdvbsi++ libpng libxml-2.0 sigc++-1.2])
34 PKG_CHECK_MODULES(LIBDDVD, libdreamdvd, HAVE_LIBDDVD="yes", HAVE_LIBDDVD="no")
35 AM_CONDITIONAL(HAVE_LIBDDVD, test "$HAVE_LIBDDVD" = "yes")
37 AC_CHECK_LIB([dl], [dlopen], [LIBDL_LIBS="-ldl"], [AC_MSG_ERROR([Could not find libdl])])
39 AC_CHECK_LIB([jpeg], [jpeg_set_defaults], [LIBJPEG_LIBS="-ljpeg"], [AC_MSG_ERROR([Could not find libjpeg])])
40 AC_SUBST(LIBJPEG_LIBS)
41 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])])])
45 AC_CHECK_LIB([xmlccwrap], [exit], [LIBXMLCCWRAP_LIBS="-lxmlccwrap"], [AC_MSG_ERROR([Could not find libxmlccwrap])])
46 AC_SUBST(LIBXMLCCWRAP_LIBS)
49 AC_ARG_WITH(remote-keyboard,
50 AC_HELP_STRING([--with-remote-keyboard], [use remote keyboard on dvbapp, yes or no]),
51 [[withrckbd=$withval]],
54 if test x"$withrckbd" != xno ; then
55 AC_DEFINE(VUPLUS_USE_RCKBD, 1,[Define when using a rc-keyboard on dvbapp])
58 AC_ARG_WITH(set-right-half-vfd-skin,
59 AC_HELP_STRING([--with-set-right-half-vfd-skin], [display right_half_vfd_icons from skin(for ultimo), yes or no]),
60 [[setrighthalfvfdskin=$withval]],
61 [[setrighthalfvfdskin=no]]
63 if test x"$setrighthalfvfdskin" != xno ; then
64 AC_DEFINE(SET_RIGHT_HALF_VFD_SKIN, 1,[Define when display right_half_vfd_icons from skin, for ultimo])
66 AM_CONDITIONAL(SET_RIGHT_HALF_VFD_SKIN, test x"$setrighthalfvfdskin" != xno)
69 AS_HELP_STRING([--with-libsdl],[use libsdl, yes or no]),
70 [with_libsdl=$withval],[with_libsdl=no])
71 if test "$with_libsdl" = "yes"; then
72 PKG_CHECK_MODULES(LIBSDL, sdl)
74 AM_CONDITIONAL(HAVE_LIBSDL, test "$with_libsdl" = "yes")
77 AS_HELP_STRING([--with-libxine],[use libxine, yes or no]),
78 [with_libxine=$withval],[with_libxine=no])
79 if test "$with_libxine" = "yes"; then
80 PKG_CHECK_MODULES(LIBXINE, libxine)
81 AC_DEFINE([WITH_XINE],[1],[Define to 1 if you have libxine])
83 AM_CONDITIONAL(HAVE_LIBXINE, test "$with_libxine" = "yes")
86 AS_HELP_STRING([--without-debug],[disable debugging code]),
87 [with_debug="$withval"],[with_debug="yes"])
88 if test "$with_debug" = "yes"; then
90 AC_DEFINE([DEBUG],[1],[Define to 1 to enable debugging code])
94 AS_HELP_STRING([--with-memcheck],[enable memory leak checks]),
95 [with_memcheck="$withval"],[with_memcheck="no"])
96 if test "$with_memcheck" = "yes"; then
97 AC_DEFINE([MEMLEAK_CHECK],[1],[Define to 1 to enable memory leak checks])
101 AS_HELP_STRING([--with-po],[enable updating of po files]),
102 [with_po="$withval"],[with_po="no"])
103 if test "$with_po" = "yes"; then
104 AC_PATH_PROG(MSGINIT, msginit)
105 AC_PATH_PROG(MSGMERGE, msgmerge)
106 AC_PATH_PROG(MSGUNIQ, msguniq)
107 AC_PATH_PROG(XGETTEXT, xgettext)
108 if test -z "$MSGINIT" -o -z "$MSGMERGE" -o -z "$MSGUNIQ" -o -z "$XGETTEXT"; then
109 AC_MSG_ERROR([Could not find required gettext tools])
112 AM_CONDITIONAL(UPDATE_PO, test "$with_po" = "yes")
114 ENIGMA2_CFLAGS="-fno-rtti -fno-exceptions"
115 AC_SUBST(ENIGMA2_CFLAGS)
117 CPPFLAGS="$CPPFLAGS $PYTHON_CPPFLAGS"
118 CFLAGS="$CFLAGS $DEBUG_CFLAGS -Wall"
119 CXXFLAGS="$CXXFLAGS $DEBUG_CFLAGS -Wall $BASE_CFLAGS $ENIGMA2_CFLAGS $PTHREAD_CFLAGS"
125 data/countries/Makefile
126 data/defaults/Makefile
127 data/defaults/Dream/Makefile
128 data/defaults/Dream/hdbouquets/Makefile
129 data/defaults/Dream/sdbouquets/Makefile
130 data/extensions/Makefile
131 data/keymaps/Makefile
132 data/skin_default/Makefile
133 data/skin_default/menu/Makefile
134 data/skin_default/icons/Makefile
135 data/skin_default/buttons/Makefile
136 data/skin_default/spinner/Makefile
144 lib/dvb/lowlevel/Makefile
151 lib/python/Components/Makefile
152 lib/python/Components/Converter/Makefile
153 lib/python/Components/Renderer/Makefile
154 lib/python/Components/Sources/Makefile
155 lib/python/Screens/Makefile
156 lib/python/Plugins/Makefile
157 lib/python/Plugins/DemoPlugins/Makefile
158 lib/python/Plugins/DemoPlugins/TPMDemo/Makefile
159 lib/python/Plugins/DemoPlugins/TestPlugin/Makefile
160 lib/python/Plugins/Extensions/CutListEditor/Makefile
161 lib/python/Plugins/Extensions/CutListEditor/meta/Makefile
162 lib/python/Plugins/Extensions/DVDBurn/Makefile
163 lib/python/Plugins/Extensions/DVDBurn/meta/Makefile
164 lib/python/Plugins/Extensions/DVDPlayer/Makefile
165 lib/python/Plugins/Extensions/DVDPlayer/meta/Makefile
166 lib/python/Plugins/Extensions/DVDPlayer/src/Makefile
167 lib/python/Plugins/Extensions/GraphMultiEPG/Makefile
168 lib/python/Plugins/Extensions/GraphMultiEPG/meta/Makefile
169 lib/python/Plugins/Extensions/Makefile
170 lib/python/Plugins/Extensions/MediaPlayer/Makefile
171 lib/python/Plugins/Extensions/MediaPlayer/meta/Makefile
172 lib/python/Plugins/Extensions/MediaScanner/Makefile
173 lib/python/Plugins/Extensions/MediaScanner/meta/Makefile
174 lib/python/Plugins/Extensions/Modem/Makefile
175 lib/python/Plugins/Extensions/PicturePlayer/Makefile
176 lib/python/Plugins/Extensions/PicturePlayer/meta/Makefile
177 lib/python/Plugins/Extensions/PicturePlayer/data/Makefile
178 lib/python/Plugins/Extensions/SocketMMI/Makefile
179 lib/python/Plugins/Extensions/SocketMMI/meta/Makefile
180 lib/python/Plugins/Extensions/SocketMMI/src/Makefile
181 lib/python/Plugins/Extensions/TuxboxPlugins/Makefile
182 lib/python/Plugins/Extensions/TuxboxPlugins/meta/Makefile
183 lib/python/Plugins/Extensions/WebBrowser/Makefile
184 lib/python/Plugins/Extensions/WebBrowser/meta/Makefile
185 lib/python/Plugins/Extensions/WebBrowser/keymap/Makefile
186 lib/python/Plugins/Extensions/WebBrowser/desc/Makefile
187 lib/python/Plugins/Extensions/VuplusEvent/Makefile
188 lib/python/Plugins/Extensions/VuplusEvent/meta/Makefile
189 lib/python/Plugins/Extensions/StreamTV/Makefile
190 lib/python/Plugins/Extensions/StreamTV/meta/Makefile
191 lib/python/Plugins/Extensions/StreamTV/icons/Makefile
192 lib/python/Plugins/Extensions/DLNAServer/Makefile
193 lib/python/Plugins/Extensions/DLNAServer/meta/Makefile
194 lib/python/Plugins/Extensions/DLNABrowser/Makefile
195 lib/python/Plugins/Extensions/DLNABrowser/meta/Makefile
196 lib/python/Plugins/Extensions/HbbTV/Makefile
197 lib/python/Plugins/Extensions/HbbTV/meta/Makefile
198 lib/python/Plugins/SystemPlugins/CleanupWizard/Makefile
199 lib/python/Plugins/SystemPlugins/CleanupWizard/meta/Makefile
200 lib/python/Plugins/SystemPlugins/CommonInterfaceAssignment/Makefile
201 lib/python/Plugins/SystemPlugins/CommonInterfaceAssignment/meta/Makefile
202 lib/python/Plugins/SystemPlugins/CrashlogAutoSubmit/Makefile
203 lib/python/Plugins/SystemPlugins/CrashlogAutoSubmit/meta/Makefile
204 lib/python/Plugins/SystemPlugins/DefaultServicesScanner/Makefile
205 lib/python/Plugins/SystemPlugins/DefaultServicesScanner/meta/Makefile
206 lib/python/Plugins/SystemPlugins/DiseqcTester/Makefile
207 lib/python/Plugins/SystemPlugins/DiseqcTester/meta/Makefile
208 lib/python/Plugins/SystemPlugins/FrontprocessorUpgrade/Makefile
209 lib/python/Plugins/SystemPlugins/FrontprocessorUpgrade/meta/Makefile
210 lib/python/Plugins/SystemPlugins/Hotplug/Makefile
211 lib/python/Plugins/SystemPlugins/Hotplug/meta/Makefile
212 lib/python/Plugins/SystemPlugins/Makefile
213 lib/python/Plugins/SystemPlugins/TempFanControl/Makefile
214 lib/python/Plugins/SystemPlugins/TempFanControl/meta/Makefile
215 lib/python/Plugins/SystemPlugins/NetworkWizard/Makefile
216 lib/python/Plugins/SystemPlugins/NetworkWizard/meta/Makefile
217 lib/python/Plugins/SystemPlugins/NFIFlash/Makefile
218 lib/python/Plugins/SystemPlugins/NFIFlash/meta/Makefile
219 lib/python/Plugins/SystemPlugins/PositionerSetup/Makefile
220 lib/python/Plugins/SystemPlugins/PositionerSetup/meta/Makefile
221 lib/python/Plugins/SystemPlugins/SatelliteEquipmentControl/Makefile
222 lib/python/Plugins/SystemPlugins/SatelliteEquipmentControl/meta/Makefile
223 lib/python/Plugins/SystemPlugins/Satfinder/Makefile
224 lib/python/Plugins/SystemPlugins/Satfinder/meta/Makefile
225 lib/python/Plugins/SystemPlugins/SkinSelector/Makefile
226 lib/python/Plugins/SystemPlugins/SkinSelector/meta/Makefile
227 lib/python/Plugins/SystemPlugins/SoftwareManager/Makefile
228 lib/python/Plugins/SystemPlugins/SoftwareManager/meta/Makefile
229 lib/python/Plugins/SystemPlugins/VideoEnhancement/Makefile
230 lib/python/Plugins/SystemPlugins/VideoEnhancement/meta/Makefile
231 lib/python/Plugins/SystemPlugins/VideoTune/Makefile
232 lib/python/Plugins/SystemPlugins/VideoTune/meta/Makefile
233 lib/python/Plugins/SystemPlugins/Videomode/Makefile
234 lib/python/Plugins/SystemPlugins/Videomode/meta/Makefile
235 lib/python/Plugins/SystemPlugins/WirelessLan/Makefile
236 lib/python/Plugins/SystemPlugins/WirelessLan/meta/Makefile
237 lib/python/Plugins/SystemPlugins/FactoryTest/Makefile
238 lib/python/Plugins/SystemPlugins/Fancontrol/Makefile
239 lib/python/Plugins/SystemPlugins/Fancontrol/meta/Makefile
240 lib/python/Plugins/SystemPlugins/FPGAUpgrade/Makefile
241 lib/python/Plugins/SystemPlugins/FPGAUpgrade/meta/Makefile
242 lib/python/Plugins/SystemPlugins/WirelessLanSetup/Makefile
243 lib/python/Plugins/SystemPlugins/WirelessLanSetup/meta/Makefile
244 lib/python/Plugins/SystemPlugins/ManualFancontrol/Makefile
245 lib/python/Plugins/SystemPlugins/ManualFancontrol/meta/Makefile
246 lib/python/Plugins/SystemPlugins/Blindscan/Makefile
247 lib/python/Plugins/SystemPlugins/Blindscan/meta/Makefile
248 lib/python/Plugins/SystemPlugins/RemoteControlCode/Makefile
249 lib/python/Plugins/SystemPlugins/RemoteControlCode/meta/Makefile
250 lib/python/Plugins/SystemPlugins/UI3DSetup/Makefile
251 lib/python/Plugins/SystemPlugins/UI3DSetup/meta/Makefile
252 lib/python/Plugins/SystemPlugins/UIPositionSetup/Makefile
253 lib/python/Plugins/SystemPlugins/UIPositionSetup/meta/Makefile
254 lib/python/Plugins/SystemPlugins/HDMICEC/Makefile
255 lib/python/Plugins/SystemPlugins/HDMICEC/components/Makefile
256 lib/python/Plugins/SystemPlugins/HDMICEC/meta/Makefile
257 lib/python/Plugins/SystemPlugins/LEDBrightnessSetup/Makefile
258 lib/python/Plugins/SystemPlugins/LEDBrightnessSetup/meta/Makefile
259 lib/python/Plugins/SystemPlugins/FirmwareUpgrade/Makefile
260 lib/python/Plugins/SystemPlugins/FirmwareUpgrade/meta/Makefile
261 lib/python/Plugins/SystemPlugins/CrashReport/Makefile
262 lib/python/Plugins/SystemPlugins/CrashReport/meta/Makefile
263 lib/python/Plugins/SystemPlugins/3GModemManager/Makefile
264 lib/python/Plugins/SystemPlugins/3GModemManager/meta/Makefile
265 lib/python/Plugins/SystemPlugins/3GModemManager/script/Makefile
266 lib/python/Plugins/SystemPlugins/WirelessAccessPoint/Makefile
267 lib/python/Plugins/SystemPlugins/WirelessAccessPoint/meta/Makefile
268 lib/python/Plugins/SystemPlugins/ZappingModeSelection/Makefile
269 lib/python/Plugins/SystemPlugins/ZappingModeSelection/meta/Makefile
270 lib/python/Plugins/SystemPlugins/DeviceManager/Makefile
271 lib/python/Plugins/SystemPlugins/DeviceManager/meta/Makefile
272 lib/python/Plugins/SystemPlugins/DeviceManager/locale/Makefile
273 lib/python/Tools/Makefile
275 lib/components/Makefile
282 AC_DEFINE(BUILD_VUPLUS,1,[Define to 1 for vuplus])