Centralize AM_C.*FLAGS. C.*FLAGS may now be overridden on the command-line.
[enigma2-plugins.git] / configure.ac
1 AC_INIT([enigma2-plugins],[3.2.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 AC_SUBST(DEBUG_CFLAGS)
37
38 AC_ARG_WITH(po,
39         AS_HELP_STRING([--with-po],[enable updating of po files]),
40         [with_po="$withval"],[with_po="no"])
41 if test "$with_po" = "yes"; then
42         AC_PATH_PROG(MSGINIT, msginit)
43         AC_PATH_PROG(MSGMERGE, msgmerge)
44         AC_PATH_PROG(MSGUNIQ, msguniq)
45         AC_PATH_PROG(XGETTEXT, xgettext)
46         if test -z "$MSGINIT" -o -z "$MSGMERGE" -o -z "$MSGUNIQ" -o -z "$XGETTEXT"; then
47                 AC_MSG_ERROR([Could not find required gettext tools])
48         fi
49 fi
50 AM_CONDITIONAL(UPDATE_PO, test "$with_po" = "yes")
51
52 AC_CONFIG_FILES([
53 Makefile
54
55 aihdcontroler/Makefile
56 aihdcontroler/meta/Makefile
57 aihdcontroler/src/Makefile
58 aihdcontroler/src/comp/Makefile
59 aihdcontroler/src/data/Makefile
60
61 antiscrollbar/Makefile
62 antiscrollbar/meta/Makefile
63 antiscrollbar/src/Makefile
64
65 audiosync/Makefile
66 audiosync/img/Makefile
67 audiosync/meta/Makefile
68 audiosync/po/Makefile
69 audiosync/src/Makefile
70
71 automaticcleanup/Makefile
72 automaticcleanup/meta/Makefile
73 automaticcleanup/po/Makefile
74 automaticcleanup/src/Makefile
75
76 automatictimerlistcleanup/Makefile
77 automatictimerlistcleanup/meta/Makefile
78 automatictimerlistcleanup/po/Makefile
79 automatictimerlistcleanup/src/Makefile
80
81 automaticvolumeadjustment/Makefile
82 automaticvolumeadjustment/meta/Makefile
83 automaticvolumeadjustment/src/Makefile
84
85 autoresolution/Makefile
86 autoresolution/meta/Makefile
87 autoresolution/src/Makefile
88 autoresolution/po/Makefile
89
90 autotimer/Makefile
91 autotimer/meta/Makefile
92 autotimer/po/Makefile
93 autotimer/src/Makefile
94 autotimer/src/webinterface/Makefile
95
96 babelzapper/Makefile
97 babelzapper/etc/Makefile
98 babelzapper/meta/Makefile
99 babelzapper/src/Makefile
100
101 bitrateviewer/Makefile
102 bitrateviewer/meta/Makefile
103 bitrateviewer/src/Makefile
104 bitrateviewer/src/bitratecalc/Makefile
105
106 bonjour/Makefile
107 bonjour/meta/Makefile
108 bonjour/src/Makefile
109
110 cdinfo/Makefile
111 cdinfo/meta/Makefile
112 cdinfo/src/Makefile
113
114 dreamirc/Makefile
115 dreamirc/meta/Makefile
116 dreamirc/src/Makefile
117 dreamirc/src/protocols/Makefile
118
119 dreammediathek/Makefile
120 dreammediathek/src/Makefile
121
122 dvdbackup/Makefile
123 dvdbackup/meta/Makefile
124 dvdbackup/po/Makefile
125 dvdbackup/src/Makefile
126
127 dyndns/Makefile
128 dyndns/src/Makefile
129 dyndns/meta/Makefile
130
131 easyinfo/Makefile
132 easyinfo/meta/Makefile
133 easyinfo/src/Makefile
134
135 easymedia/Makefile
136 easymedia/meta/Makefile
137 easymedia/po/Makefile
138 easymedia/src/Makefile
139
140 ecasa/Makefile
141 ecasa/meta/Makefile
142 ecasa/src/Makefile
143
144 eibox/Makefile
145 eibox/meta/Makefile
146 eibox/po/Makefile
147 eibox/src/Makefile
148 eibox/src/images/Makefile
149
150 elektro/Makefile
151 elektro/meta/Makefile
152 elektro/po/Makefile
153 elektro/src/Makefile
154
155 emailclient/Makefile
156 emailclient/meta/Makefile
157 emailclient/po/Makefile
158 emailclient/src/Makefile
159
160 epgrefresh/Makefile
161 epgrefresh/meta/Makefile
162 epgrefresh/po/Makefile
163 epgrefresh/src/Makefile
164 epgrefresh/src/webinterface/Makefile
165
166 epgsearch/Makefile
167 epgsearch/meta/Makefile
168 epgsearch/po/Makefile
169 epgsearch/src/Makefile
170
171 fancontrol2/Makefile
172 fancontrol2/meta/Makefile
173 fancontrol2/po/Makefile
174 fancontrol2/src/Makefile
175 fancontrol2/src/data/Makefile
176
177 filebrowser/Makefile
178 filebrowser/meta/Makefile
179 filebrowser/src/Makefile
180
181 fritzcall/Makefile
182 fritzcall/meta/Makefile
183 fritzcall/po/Makefile
184 fritzcall/src/Makefile
185 fritzcall/src/images/Makefile
186
187 fstabeditor/Makefile
188 fstabeditor/meta/Makefile
189 fstabeditor/src/Makefile
190
191 ftpbrowser/Makefile
192 ftpbrowser/meta/Makefile
193 ftpbrowser/po/Makefile
194 ftpbrowser/src/Makefile
195 ftpbrowser/src/images/Makefile
196
197 genuinedreambox/Makefile
198 genuinedreambox/meta/Makefile
199 genuinedreambox/src/Makefile
200
201 googlemaps/Makefile
202 googlemaps/meta/Makefile
203 googlemaps/src/Makefile
204
205 growlee/Makefile
206 growlee/meta/Makefile
207 growlee/src/Makefile
208
209 httpproxy/Makefile
210 httpproxy/meta/Makefile
211 httpproxy/src/Makefile
212
213 imdb/Makefile
214 imdb/meta/Makefile
215 imdb/po/Makefile
216 imdb/src/Makefile
217
218 kiddytimer/Makefile
219 kiddytimer/img/Makefile
220 kiddytimer/meta/Makefile
221 kiddytimer/po/Makefile
222 kiddytimer/src/Makefile
223
224 lastfm/Makefile
225 lastfm/meta/Makefile
226 lastfm/po/Makefile
227 lastfm/src/Makefile
228
229 letterbox/Makefile
230 letterbox/src/Makefile
231 letterbox/meta/Makefile
232
233 logomanager/Makefile
234 logomanager/logodir_hdd/Makefile
235 logomanager/meta/Makefile
236 logomanager/src/Makefile
237
238 mediadownloader/Makefile
239 mediadownloader/meta/Makefile
240 mediadownloader/po/Makefile
241 mediadownloader/src/Makefile
242
243 menusort/Makefile
244 menusort/meta/Makefile
245 menusort/src/Makefile
246
247 merlinepg/Makefile
248 merlinepg/meta/Makefile
249 merlinepg/src/Makefile
250
251 merlinmusicplayer/Makefile
252 merlinmusicplayer/meta/Makefile
253 merlinmusicplayer/src/Makefile
254 merlinmusicplayer/src/images/Makefile
255 merlinmusicplayer/src/merlinmp3player/Makefile
256
257 meteoitalia/Makefile
258 meteoitalia/meta/Makefile
259 meteoitalia/src/Makefile
260
261 mosaic/Makefile
262 mosaic/meta/Makefile
263 mosaic/po/Makefile
264 mosaic/src/Makefile
265
266 moviecut/Makefile
267 moviecut/meta/Makefile
268 moviecut/src_cc/Makefile
269 moviecut/src_py/Makefile
270
271 movielistpreview/Makefile
272 movielistpreview/meta/Makefile
273 movielistpreview/po/Makefile
274 movielistpreview/src/Makefile
275
276 movieretitle/Makefile
277 movieretitle/meta/Makefile
278 movieretitle/po/Makefile
279 movieretitle/src/Makefile
280
281 moviesearch/Makefile
282 moviesearch/meta/Makefile
283 moviesearch/src/Makefile
284
285 movieselectionquickbutton/Makefile
286 movieselectionquickbutton/meta/Makefile
287 movieselectionquickbutton/po/Makefile
288 movieselectionquickbutton/src/Makefile
289
290 movietagger/Makefile
291 movietagger/etc/Makefile
292 movietagger/meta/Makefile
293 movietagger/po/Makefile
294 movietagger/src/Makefile
295
296 movieepg/Makefile
297 movieepg/meta/Makefile
298 movieepg/src/Makefile
299
300 mphelp/Makefile
301 mphelp/meta/Makefile
302 mphelp/src/Makefile
303
304 multirc/Makefile
305 multirc/src/Makefile
306 multirc/meta/Makefile
307
308 mytube/Makefile
309 mytube/meta/Makefile
310 mytube/src/Makefile
311
312 namezap/Makefile
313 namezap/meta/Makefile
314 namezap/po/Makefile
315 namezap/src/Makefile
316
317 netcaster/Makefile
318 netcaster/meta/Makefile
319 netcaster/src/Makefile
320 netcaster/src/bin/Makefile
321 netcaster/src/bin/interface/Makefile
322 netcaster/src/etc/Makefile
323
324 networkbrowser/Makefile
325 networkbrowser/meta/Makefile
326 networkbrowser/src/Makefile
327 networkbrowser/src/icons/Makefile
328 networkbrowser/src/lib/Makefile
329
330 ncidclient/Makefile
331 ncidclient/meta/Makefile
332 ncidclient/po/Makefile
333 ncidclient/src/Makefile
334
335 ofdb/Makefile
336 ofdb/meta/Makefile
337 ofdb/po/Makefile
338 ofdb/src/Makefile
339
340 orfat/Makefile
341 orfat/meta/Makefile
342 orfat/src/Makefile
343
344 orfteletext/Makefile
345 orfteletext/meta/Makefile
346 orfteletext/src/Makefile
347
348 partnerbox/Makefile
349 partnerbox/meta/Makefile
350 partnerbox/po/Makefile
351 partnerbox/src/Makefile
352 partnerbox/src/icons/Makefile
353 partnerbox/src/servicewebts/Makefile
354
355 passwordchanger/Makefile
356 passwordchanger/meta/Makefile
357 passwordchanger/po/Makefile
358 passwordchanger/src/Makefile
359
360 permanentclock/Makefile
361 permanentclock/meta/Makefile
362 permanentclock/po/Makefile
363 permanentclock/src/Makefile
364
365 pipzap/Makefile
366 pipzap/meta/Makefile
367 pipzap/src/Makefile
368
369 pluginhider/Makefile
370 pluginhider/meta/Makefile
371 pluginhider/po/Makefile
372 pluginhider/src/Makefile
373
374 pluginsort/Makefile
375 pluginsort/meta/Makefile
376 pluginsort/po/Makefile
377 pluginsort/src/Makefile
378
379 podcast/Makefile
380 podcast/etc/Makefile
381 podcast/meta/Makefile
382 podcast/po/Makefile
383 podcast/src/Makefile
384
385 porncenter/Makefile
386 porncenter/meta/Makefile
387 porncenter/po/Makefile
388 porncenter/src/Makefile
389 porncenter/src/Additions/Makefile
390
391 quickbutton/Makefile
392 quickbutton/meta/Makefile
393 quickbutton/po/Makefile
394 quickbutton/src/Makefile
395
396 reconstructapsc/Makefile
397 reconstructapsc/meta/Makefile
398 reconstructapsc/src_cc/Makefile
399 reconstructapsc/src_py/Makefile
400
401 remotetimer/Makefile
402 remotetimer/meta/Makefile
403 remotetimer/src/Makefile
404
405 rsdownloader/Makefile
406 rsdownloader/meta/Makefile
407 rsdownloader/po/Makefile
408 rsdownloader/src/Makefile
409 rsdownloader/src/container/Makefile
410
411 seekbar/Makefile
412 seekbar/meta/Makefile
413 seekbar/po/Makefile
414 seekbar/src/Makefile
415
416 serienfilm/Makefile
417 serienfilm/meta/Makefile
418 serienfilm/po/Makefile
419 serienfilm/src/Makefile
420 serienfilm/src/icons/Makefile
421
422 setpasswd/Makefile
423 setpasswd/meta/Makefile
424 setpasswd/po/Makefile
425 setpasswd/src/Makefile
426
427 shoutcast/Makefile
428 shoutcast/meta/Makefile
429 shoutcast/po/Makefile
430 shoutcast/src/Makefile
431
432 showclock/Makefile
433 showclock/meta/Makefile
434 showclock/po/Makefile
435 showclock/src/Makefile
436
437 simplerss/Makefile
438 simplerss/meta/Makefile
439 simplerss/po/Makefile
440 simplerss/src/Makefile
441
442 startupservice/Makefile
443 startupservice/meta/Makefile
444 startupservice/po/Makefile
445 startupservice/src/Makefile
446
447 startuptostandby/Makefile
448 startuptostandby/meta/Makefile
449 startuptostandby/src/Makefile
450
451 svdrp/Makefile
452 svdrp/meta/Makefile
453 svdrp/src/Makefile
454
455 tageditor/Makefile
456 tageditor/meta/Makefile
457 tageditor/po/Makefile
458 tageditor/src/Makefile
459
460 trafficinfo/Makefile
461 trafficinfo/meta/Makefile
462 trafficinfo/src/Makefile
463
464 tvcharts/Makefile
465 tvcharts/meta/Makefile
466 tvcharts/src/Makefile
467
468 unwetterinfo/Makefile
469 unwetterinfo/meta/Makefile
470 unwetterinfo/src/Makefile
471
472 valixdcontrol/Makefile
473 valixdcontrol/meta/Makefile
474 valixdcontrol/src/Makefile
475 valixdcontrol/src/comp/Makefile
476 valixdcontrol/src/data/Makefile
477
478 virtualzap/Makefile
479 virtualzap/meta/Makefile
480 virtualzap/po/Makefile
481 virtualzap/src/Makefile
482
483 vlcplayer/Makefile
484 vlcplayer/meta/Makefile
485 vlcplayer/po/Makefile
486 vlcplayer/src/Makefile
487 vlcplayer/src/servicets/Makefile
488
489 vps/Makefile
490 vps/meta/Makefile
491 vps/po/Makefile
492 vps/src_cc/Makefile
493 vps/src_py/Makefile
494
495 weatherplugin/Makefile
496 weatherplugin/meta/Makefile
497 weatherplugin/po/Makefile
498 weatherplugin/src/Makefile
499
500 webcamviewer/Makefile
501 webcamviewer/meta/Makefile
502 webcamviewer/src/Makefile
503
504 webbouqueteditor/Makefile
505 webbouqueteditor/src/Makefile
506 webbouqueteditor/meta/Makefile
507 webbouqueteditor/src/web/Makefile
508 webbouqueteditor/src/web-data/Makefile
509 webbouqueteditor/src/WebChilds/Makefile
510 webbouqueteditor/src/WebComponents/Makefile
511 webbouqueteditor/src/WebComponents/Sources/Makefile
512 webbouqueteditor/src/WebScreens/Makefile
513
514 webinterface/Makefile
515 webinterface/meta/Makefile
516 webinterface/po/Makefile
517 webinterface/src/Makefile
518 webinterface/src/etc/Makefile
519 webinterface/src/mobile/Makefile
520 webinterface/src/web/Makefile
521 webinterface/src/web-data/Makefile
522 webinterface/src/web-data/gfx/Makefile
523 webinterface/src/web-data/img/Makefile
524 webinterface/src/web-data/lib/Makefile
525 webinterface/src/web-data/tpl/Makefile
526 webinterface/src/web-data/tpl/default/Makefile
527 webinterface/src/web-data/tpl/default/streaminterface/Makefile
528 webinterface/src/WebChilds/Makefile
529 webinterface/src/WebChilds/External/Makefile
530 webinterface/src/WebComponents/Makefile
531 webinterface/src/WebComponents/Converter/Makefile
532 webinterface/src/WebComponents/Sources/Makefile
533
534 werbezapper/Makefile
535 werbezapper/meta/Makefile
536 werbezapper/po/Makefile
537 werbezapper/src/Makefile
538
539 youtubeplayer/Makefile
540 youtubeplayer/meta/Makefile
541 youtubeplayer/src/Makefile
542 youtubeplayer/src/Nemesis.GlassLine_Mod/Makefile
543
544 yttrailer/Makefile
545 yttrailer/meta/Makefile
546 yttrailer/po/Makefile
547 yttrailer/src/Makefile
548
549 zaphistorybrowser/Makefile
550 zaphistorybrowser/meta/Makefile
551 zaphistorybrowser/po/Makefile
552 zaphistorybrowser/src/Makefile
553
554 zapstatistic/Makefile
555 zapstatistic/meta/Makefile
556 zapstatistic/po/Makefile
557 zapstatistic/src/Makefile
558
559 zdfmediathek/Makefile
560 zdfmediathek/meta/Makefile
561 zdfmediathek/src/Makefile
562
563 ])
564 AC_OUTPUT