build dreammediathek on gnu stuff
[enigma2-plugins.git] / configure.ac
1 AC_INIT([enigma2-plugins],[3.0.0],[enigma2-devel@lists.elitedvb.net])
2 AM_INIT_AUTOMAKE([dist-bzip2 foreign no-define tar-pax])
3 AC_CONFIG_HEADERS([enigma2-plugins-config.h])
4
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])])
8
9 AC_USE_SYSTEM_EXTENSIONS
10 AC_SYS_LARGEFILE
11
12 AC_PROG_CC
13 AC_PROG_CXX
14 m4_ifdef([LT_INIT], [LT_INIT], [AC_PROG_LIBTOOL])
15 AC_CONFIG_MACRO_DIR([m4])
16
17 AC_PATH_PROG(MSGFMT, msgfmt, AC_MSG_ERROR(Could not find msgfmt))
18
19 AM_PATH_PYTHON
20 AX_PYTHON_DEVEL
21 AX_PTHREAD
22
23 TUXBOX_APPS_DVB
24
25 PKG_CHECK_MODULES(ENIGMA2, enigma2)
26 PKG_CHECK_MODULES(GSTREAMER, gstreamer-0.10 gstreamer-pbutils-0.10)
27 PKG_CHECK_MODULES(LIBCRYPTO, libcrypto)
28
29 AC_ARG_WITH(debug,
30         AS_HELP_STRING([--without-debug],[disable debugging code]),
31         [with_debug="$withval"],[with_debug="yes"])
32 if test "$with_debug" = "yes"; then
33         DEBUG_CFLAGS="-ggdb3"
34         AC_DEFINE([DEBUG],[1],[Define to 1 to enable debugging code])
35 fi
36
37 AC_ARG_WITH(po,
38         AS_HELP_STRING([--with-po],[enable updating of po files]),
39         [with_po="$withval"],[with_po="no"])
40 if test "$with_po" = "yes"; then
41         AC_PATH_PROG(MSGINIT, msginit)
42         AC_PATH_PROG(MSGMERGE, msgmerge)
43         AC_PATH_PROG(MSGUNIQ, msguniq)
44         AC_PATH_PROG(XGETTEXT, xgettext)
45         if test -z "$MSGINIT" -o -z "$MSGMERGE" -o -z "$MSGUNIQ" -o -z "$XGETTEXT"; then
46                 AC_MSG_ERROR([Could not find required gettext tools])
47         fi
48 fi
49 AM_CONDITIONAL(UPDATE_PO, test "$with_po" = "yes")
50
51 CPPFLAGS="$CPPFLAGS $PYTHON_CPPFLAGS -include Python.h -include enigma2-plugins-config.h"
52 CFLAGS="$CFLAGS $DEBUG_CFLAGS -Wall"
53 CXXFLAGS="$CXXFLAGS $DEBUG_CFLAGS -Wall $ENIGMA2_CFLAGS $PTHREAD_CFLAGS"
54
55 AC_CONFIG_FILES([
56 Makefile
57
58 aihdcontroler/Makefile
59 aihdcontroler/meta/Makefile
60 aihdcontroler/src/Makefile
61 aihdcontroler/src/comp/Makefile
62 aihdcontroler/src/data/Makefile
63
64 antiscrollbar/Makefile
65 antiscrollbar/meta/Makefile
66 antiscrollbar/src/Makefile
67
68 audiosync/Makefile
69 audiosync/img/Makefile
70 audiosync/meta/Makefile
71 audiosync/po/Makefile
72 audiosync/src/Makefile
73
74 automatictimerlistcleanup/Makefile
75 automatictimerlistcleanup/meta/Makefile
76 automatictimerlistcleanup/po/Makefile
77 automatictimerlistcleanup/src/Makefile
78
79 automaticvolumeadjustment/Makefile
80 automaticvolumeadjustment/meta/Makefile
81 automaticvolumeadjustment/src/Makefile
82
83 autoresolution/Makefile
84 autoresolution/meta/Makefile
85 autoresolution/src/Makefile
86
87 autotimer/Makefile
88 autotimer/meta/Makefile
89 autotimer/po/Makefile
90 autotimer/src/Makefile
91 autotimer/src/webinterface/Makefile
92
93 babelzapper/Makefile
94 babelzapper/etc/Makefile
95 babelzapper/meta/Makefile
96 babelzapper/src/Makefile
97
98 bitrateviewer/Makefile
99 bitrateviewer/meta/Makefile
100 bitrateviewer/src/Makefile
101 bitrateviewer/src/bitratecalc/Makefile
102
103 bonjour/Makefile
104 bonjour/meta/Makefile
105 bonjour/src/Makefile
106
107 cdinfo/Makefile
108 cdinfo/meta/Makefile
109 cdinfo/src/Makefile
110
111 dreamirc/Makefile
112 dreamirc/meta/Makefile
113 dreamirc/src/Makefile
114 dreamirc/src/protocols/Makefile
115
116 dreammediathek/Makefile
117 dreammediathek/src/Makefile
118
119 dvdbackup/Makefile
120 dvdbackup/meta/Makefile
121 dvdbackup/po/Makefile
122 dvdbackup/src/Makefile
123
124 dyndns/Makefile
125 dyndns/src/Makefile
126 dyndns/meta/Makefile
127
128 easymedia/Makefile
129 easymedia/meta/Makefile
130 easymedia/po/Makefile
131 easymedia/src/Makefile
132
133 eibox/Makefile
134 eibox/meta/Makefile
135 eibox/po/Makefile
136 eibox/src/Makefile
137 eibox/src/images/Makefile
138
139 elektro/Makefile
140 elektro/meta/Makefile
141 elektro/po/Makefile
142 elektro/src/Makefile
143
144 emailclient/Makefile
145 emailclient/meta/Makefile
146 emailclient/po/Makefile
147 emailclient/src/Makefile
148
149 epgrefresh/Makefile
150 epgrefresh/meta/Makefile
151 epgrefresh/po/Makefile
152 epgrefresh/src/Makefile
153 epgrefresh/src/webinterface/Makefile
154
155 epgsearch/Makefile
156 epgsearch/meta/Makefile
157 epgsearch/po/Makefile
158 epgsearch/src/Makefile
159
160 fancontrol2/Makefile
161 fancontrol2/meta/Makefile
162 fancontrol2/po/Makefile
163 fancontrol2/src/Makefile
164 fancontrol2/src/data/Makefile
165
166 filebrowser/Makefile
167 filebrowser/meta/Makefile
168 filebrowser/src/Makefile
169
170 fritzcall/Makefile
171 fritzcall/meta/Makefile
172 fritzcall/po/Makefile
173 fritzcall/src/Makefile
174 fritzcall/src/images/Makefile
175
176 ftpbrowser/Makefile
177 ftpbrowser/meta/Makefile
178 ftpbrowser/po/Makefile
179 ftpbrowser/src/Makefile
180 ftpbrowser/src/images/Makefile
181
182 genuinedreambox/Makefile
183 genuinedreambox/meta/Makefile
184 genuinedreambox/src/Makefile
185
186 googlemaps/Makefile
187 googlemaps/meta/Makefile
188 googlemaps/src/Makefile
189
190 growlee/Makefile
191 growlee/meta/Makefile
192 growlee/src/Makefile
193
194 httpproxy/Makefile
195 httpproxy/meta/Makefile
196 httpproxy/src/Makefile
197
198 imdb/Makefile
199 imdb/meta/Makefile
200 imdb/po/Makefile
201 imdb/src/Makefile
202
203 kiddytimer/Makefile
204 kiddytimer/img/Makefile
205 kiddytimer/meta/Makefile
206 kiddytimer/po/Makefile
207 kiddytimer/src/Makefile
208
209 lastfm/Makefile
210 lastfm/meta/Makefile
211 lastfm/src/Makefile
212
213 letterbox/Makefile
214 letterbox/src/Makefile
215 letterbox/meta/Makefile
216
217 logomanager/Makefile
218 logomanager/logodir_hdd/Makefile
219 logomanager/meta/Makefile
220 logomanager/src/Makefile
221
222 mediadownloader/Makefile
223 mediadownloader/meta/Makefile
224 mediadownloader/po/Makefile
225 mediadownloader/src/Makefile
226
227 merlinepg/Makefile
228 merlinepg/meta/Makefile
229 merlinepg/src/Makefile
230
231 merlinmusicplayer/Makefile
232 merlinmusicplayer/meta/Makefile
233 merlinmusicplayer/src/Makefile
234 merlinmusicplayer/src/images/Makefile
235 merlinmusicplayer/src/merlinmp3player/Makefile
236
237 meteoitalia/Makefile
238 meteoitalia/meta/Makefile
239 meteoitalia/src/Makefile
240
241 mosaic/Makefile
242 mosaic/meta/Makefile
243 mosaic/po/Makefile
244 mosaic/src/Makefile
245
246 moviecut/Makefile
247 moviecut/meta/Makefile
248 moviecut/src_cc/Makefile
249 moviecut/src_py/Makefile
250
251 movielistpreview/Makefile
252 movielistpreview/meta/Makefile
253 movielistpreview/po/Makefile
254 movielistpreview/src/Makefile
255
256 movieretitle/Makefile
257 movieretitle/meta/Makefile
258 movieretitle/po/Makefile
259 movieretitle/src/Makefile
260
261 movieselectionquickbutton/Makefile
262 movieselectionquickbutton/meta/Makefile
263 movieselectionquickbutton/po/Makefile
264 movieselectionquickbutton/src/Makefile
265
266 movietagger/Makefile
267 movietagger/etc/Makefile
268 movietagger/meta/Makefile
269 movietagger/src/Makefile
270
271 multirc/Makefile
272 multirc/src/Makefile
273 multirc/meta/Makefile
274
275 mytube/Makefile
276 mytube/meta/Makefile
277 mytube/src/Makefile
278
279 netcaster/Makefile
280 netcaster/meta/Makefile
281 netcaster/src/Makefile
282 netcaster/src/bin/Makefile
283 netcaster/src/bin/interface/Makefile
284 netcaster/src/etc/Makefile
285
286 networkbrowser/Makefile
287 networkbrowser/meta/Makefile
288 networkbrowser/src/Makefile
289 networkbrowser/src/icons/Makefile
290 networkbrowser/src/lib/Makefile
291
292 ncidclient/Makefile
293 ncidclient/meta/Makefile
294 ncidclient/po/Makefile
295 ncidclient/src/Makefile
296
297 ofdb/Makefile
298 ofdb/meta/Makefile
299 ofdb/po/Makefile
300 ofdb/src/Makefile
301
302 orfat/Makefile
303 orfat/meta/Makefile
304 orfat/src/Makefile
305
306 orfteletext/Makefile
307 orfteletext/meta/Makefile
308 orfteletext/src/Makefile
309
310 partnerbox/Makefile
311 partnerbox/meta/Makefile
312 partnerbox/po/Makefile
313 partnerbox/src/Makefile
314 partnerbox/src/icons/Makefile
315 partnerbox/src/servicewebts/Makefile
316
317 passwordchanger/Makefile
318 passwordchanger/meta/Makefile
319 passwordchanger/po/Makefile
320 passwordchanger/src/Makefile
321
322 permanentclock/Makefile
323 permanentclock/meta/Makefile
324 permanentclock/po/Makefile
325 permanentclock/src/Makefile
326
327 podcast/Makefile
328 podcast/etc/Makefile
329 podcast/meta/Makefile
330 podcast/po/Makefile
331 podcast/src/Makefile
332
333 porncenter/Makefile
334 porncenter/meta/Makefile
335 porncenter/po/Makefile
336 porncenter/src/Makefile
337 porncenter/src/Additions/Makefile
338
339 quickbutton/Makefile
340 quickbutton/meta/Makefile
341 quickbutton/po/Makefile
342 quickbutton/src/Makefile
343
344 reconstructapsc/Makefile
345 reconstructapsc/meta/Makefile
346 reconstructapsc/src_cc/Makefile
347 reconstructapsc/src_py/Makefile
348
349 remotetimer/Makefile
350 remotetimer/meta/Makefile
351 remotetimer/src/Makefile
352
353 rsdownloader/Makefile
354 rsdownloader/meta/Makefile
355 rsdownloader/po/Makefile
356 rsdownloader/src/Makefile
357 rsdownloader/src/container/Makefile
358
359 seekbar/Makefile
360 seekbar/meta/Makefile
361 seekbar/po/Makefile
362 seekbar/src/Makefile
363
364 setpasswd/Makefile
365 setpasswd/meta/Makefile
366 setpasswd/po/Makefile
367 setpasswd/src/Makefile
368
369 shoutcast/Makefile
370 shoutcast/meta/Makefile
371 shoutcast/po/Makefile
372 shoutcast/src/Makefile
373
374 simplerss/Makefile
375 simplerss/meta/Makefile
376 simplerss/po/Makefile
377 simplerss/src/Makefile
378
379 startupservice/Makefile
380 startupservice/meta/Makefile
381 startupservice/po/Makefile
382 startupservice/src/Makefile
383
384 startuptostandby/Makefile
385 startuptostandby/meta/Makefile
386 startuptostandby/src/Makefile
387
388 tageditor/Makefile
389 tageditor/meta/Makefile
390 tageditor/po/Makefile
391 tageditor/src/Makefile
392
393 trafficinfo/Makefile
394 trafficinfo/meta/Makefile
395 trafficinfo/src/Makefile
396
397 tvcharts/Makefile
398 tvcharts/meta/Makefile
399 tvcharts/src/Makefile
400 tvcharts/src/images/Makefile
401
402 unwetterinfo/Makefile
403 unwetterinfo/meta/Makefile
404 unwetterinfo/src/Makefile
405
406 valixdcontrol/Makefile
407 valixdcontrol/meta/Makefile
408 valixdcontrol/src/Makefile
409 valixdcontrol/src/comp/Makefile
410 valixdcontrol/src/data/Makefile
411
412 virtualzap/Makefile
413 virtualzap/meta/Makefile
414 virtualzap/po/Makefile
415 virtualzap/src/Makefile
416
417 vlcplayer/Makefile
418 vlcplayer/meta/Makefile
419 vlcplayer/po/Makefile
420 vlcplayer/src/Makefile
421 vlcplayer/src/servicets/Makefile
422
423 weatherplugin/Makefile
424 weatherplugin/meta/Makefile
425 weatherplugin/po/Makefile
426 weatherplugin/src/Makefile
427
428 webcamviewer/Makefile
429 webcamviewer/meta/Makefile
430 webcamviewer/src/Makefile
431
432 webinterface/Makefile
433 webinterface/meta/Makefile
434 webinterface/po/Makefile
435 webinterface/src/Makefile
436 webinterface/src/etc/Makefile
437 webinterface/src/mobile/Makefile
438 webinterface/src/web/Makefile
439 webinterface/src/web-data/Makefile
440 webinterface/src/web-data/gfx/Makefile
441 webinterface/src/web-data/img/Makefile
442 webinterface/src/web-data/lib/Makefile
443 webinterface/src/web-data/tpl/Makefile
444 webinterface/src/web-data/tpl/default/Makefile
445 webinterface/src/web-data/tpl/default/streaminterface/Makefile
446 webinterface/src/web-data/tpl/default/streaminterface/img/Makefile
447 webinterface/src/WebChilds/Makefile
448 webinterface/src/WebChilds/External/Makefile
449 webinterface/src/WebComponents/Makefile
450 webinterface/src/WebComponents/Converter/Makefile
451 webinterface/src/WebComponents/Sources/Makefile
452
453 werbezapper/Makefile
454 werbezapper/meta/Makefile
455 werbezapper/po/Makefile
456 werbezapper/src/Makefile
457
458 youtubeplayer/Makefile
459 youtubeplayer/meta/Makefile
460 youtubeplayer/src/Makefile
461 youtubeplayer/src/Nemesis.GlassLine_Mod/Makefile
462
463 zaphistorybrowser/Makefile
464 zaphistorybrowser/meta/Makefile
465 zaphistorybrowser/po/Makefile
466 zaphistorybrowser/src/Makefile
467
468 zapstatistic/Makefile
469 zapstatistic/meta/Makefile
470 zapstatistic/po/Makefile
471 zapstatistic/src/Makefile
472
473 zdfmediathek/Makefile
474 zdfmediathek/meta/Makefile
475 zdfmediathek/src/Makefile
476
477 ])
478 AC_OUTPUT