Merge branch 'refs/heads/master' of ssh://sreichholf@scm.schwerkraft.elitedvb.net...
[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 ac3lipsync/Makefile
59 ac3lipsync/img/Makefile
60 ac3lipsync/meta/Makefile
61 ac3lipsync/po/Makefile
62 ac3lipsync/src/Makefile
63
64 aihdcontrol/Makefile
65 aihdcontrol/meta/Makefile
66 aihdcontrol/src/Makefile
67 aihdcontrol/src/comp/Makefile
68 aihdcontrol/src/data/Makefile
69
70 antiscrollbar/Makefile
71 antiscrollbar/meta/Makefile
72 antiscrollbar/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 dvdbackup/Makefile
117 dvdbackup/meta/Makefile
118 dvdbackup/po/Makefile
119 dvdbackup/src/Makefile
120
121 dyndns/Makefile
122 dyndns/src/Makefile
123 dyndns/meta/Makefile
124
125 easymedia/Makefile
126 easymedia/meta/Makefile
127 easymedia/po/Makefile
128 easymedia/src/Makefile
129
130 eibox/Makefile
131 eibox/meta/Makefile
132 eibox/po/Makefile
133 eibox/src/Makefile
134 eibox/src/images/Makefile
135
136 elektro/Makefile
137 elektro/meta/Makefile
138 elektro/po/Makefile
139 elektro/src/Makefile
140
141 emailclient/Makefile
142 emailclient/meta/Makefile
143 emailclient/po/Makefile
144 emailclient/src/Makefile
145
146 epgrefresh/Makefile
147 epgrefresh/meta/Makefile
148 epgrefresh/po/Makefile
149 epgrefresh/src/Makefile
150 epgrefresh/src/webinterface/Makefile
151
152 epgsearch/Makefile
153 epgsearch/meta/Makefile
154 epgsearch/po/Makefile
155 epgsearch/src/Makefile
156
157 fancontrol2/Makefile
158 fancontrol2/meta/Makefile
159 fancontrol2/po/Makefile
160 fancontrol2/src/Makefile
161 fancontrol2/src/data/Makefile
162
163 filebrowser/Makefile
164 filebrowser/meta/Makefile
165 filebrowser/src/Makefile
166
167 fritzcall/Makefile
168 fritzcall/meta/Makefile
169 fritzcall/po/Makefile
170 fritzcall/src/Makefile
171 fritzcall/src/images/Makefile
172
173 ftpbrowser/Makefile
174 ftpbrowser/meta/Makefile
175 ftpbrowser/po/Makefile
176 ftpbrowser/src/Makefile
177 ftpbrowser/src/images/Makefile
178
179 genuinedreambox/Makefile
180 genuinedreambox/meta/Makefile
181 genuinedreambox/src/Makefile
182
183 googlemaps/Makefile
184 googlemaps/meta/Makefile
185 googlemaps/src/Makefile
186
187 growlee/Makefile
188 growlee/meta/Makefile
189 growlee/src/Makefile
190
191 httpproxy/Makefile
192 httpproxy/meta/Makefile
193 httpproxy/src/Makefile
194
195 imdb/Makefile
196 imdb/meta/Makefile
197 imdb/po/Makefile
198 imdb/src/Makefile
199
200 kiddytimer/Makefile
201 kiddytimer/img/Makefile
202 kiddytimer/meta/Makefile
203 kiddytimer/po/Makefile
204 kiddytimer/src/Makefile
205
206 lastfm/Makefile
207 lastfm/meta/Makefile
208 lastfm/src/Makefile
209
210 letterbox/Makefile
211 letterbox/src/Makefile
212 letterbox/meta/Makefile
213
214 logomanager/Makefile
215 logomanager/logodir_hdd/Makefile
216 logomanager/meta/Makefile
217 logomanager/src/Makefile
218
219 mediadownloader/Makefile
220 mediadownloader/meta/Makefile
221 mediadownloader/po/Makefile
222 mediadownloader/src/Makefile
223
224 merlinepg/Makefile
225 merlinepg/meta/Makefile
226 merlinepg/src/Makefile
227
228 merlinmusicplayer/Makefile
229 merlinmusicplayer/meta/Makefile
230 merlinmusicplayer/src/Makefile
231 merlinmusicplayer/src/images/Makefile
232 merlinmusicplayer/src/merlinmp3player/Makefile
233
234 meteoitalia/Makefile
235 meteoitalia/meta/Makefile
236 meteoitalia/src/Makefile
237
238 mosaic/Makefile
239 mosaic/meta/Makefile
240 mosaic/po/Makefile
241 mosaic/src/Makefile
242
243 moviecut/Makefile
244 moviecut/meta/Makefile
245 moviecut/src_cc/Makefile
246 moviecut/src_py/Makefile
247
248 movielistpreview/Makefile
249 movielistpreview/meta/Makefile
250 movielistpreview/po/Makefile
251 movielistpreview/src/Makefile
252
253 movieretitle/Makefile
254 movieretitle/meta/Makefile
255 movieretitle/po/Makefile
256 movieretitle/src/Makefile
257
258 movieselectionquickbutton/Makefile
259 movieselectionquickbutton/meta/Makefile
260 movieselectionquickbutton/po/Makefile
261 movieselectionquickbutton/src/Makefile
262
263 movietagger/Makefile
264 movietagger/etc/Makefile
265 movietagger/meta/Makefile
266 movietagger/src/Makefile
267
268 multirc/Makefile
269 multirc/src/Makefile
270 multirc/meta/Makefile
271
272 mytube/Makefile
273 mytube/meta/Makefile
274 mytube/src/Makefile
275
276 netcaster/Makefile
277 netcaster/meta/Makefile
278 netcaster/src/Makefile
279 netcaster/src/bin/Makefile
280 netcaster/src/bin/interface/Makefile
281 netcaster/src/etc/Makefile
282
283 networkbrowser/Makefile
284 networkbrowser/meta/Makefile
285 networkbrowser/po/Makefile
286 networkbrowser/src/Makefile
287 networkbrowser/src/icons/Makefile
288 networkbrowser/src/lib/Makefile
289
290 ncidclient/Makefile
291 ncidclient/meta/Makefile
292 ncidclient/po/Makefile
293 ncidclient/src/Makefile
294
295 ofdb/Makefile
296 ofdb/meta/Makefile
297 ofdb/po/Makefile
298 ofdb/src/Makefile
299
300 orfat/Makefile
301 orfat/meta/Makefile
302 orfat/src/Makefile
303
304 orfteletext/Makefile
305 orfteletext/meta/Makefile
306 orfteletext/src/Makefile
307
308 partnerbox/Makefile
309 partnerbox/meta/Makefile
310 partnerbox/po/Makefile
311 partnerbox/src/Makefile
312 partnerbox/src/icons/Makefile
313 partnerbox/src/servicewebts/Makefile
314
315 passwordchanger/Makefile
316 passwordchanger/meta/Makefile
317 passwordchanger/po/Makefile
318 passwordchanger/src/Makefile
319
320 permanentclock/Makefile
321 permanentclock/meta/Makefile
322 permanentclock/po/Makefile
323 permanentclock/src/Makefile
324
325 podcast/Makefile
326 podcast/etc/Makefile
327 podcast/meta/Makefile
328 podcast/po/Makefile
329 podcast/src/Makefile
330
331 porncenter/Makefile
332 porncenter/meta/Makefile
333 porncenter/po/Makefile
334 porncenter/src/Makefile
335 porncenter/src/Additions/Makefile
336
337 quickbutton/Makefile
338 quickbutton/meta/Makefile
339 quickbutton/po/Makefile
340 quickbutton/src/Makefile
341
342 reconstructapsc/Makefile
343 reconstructapsc/meta/Makefile
344 reconstructapsc/src_cc/Makefile
345 reconstructapsc/src_py/Makefile
346
347 remotetimer/Makefile
348 remotetimer/meta/Makefile
349 remotetimer/src/Makefile
350
351 rsdownloader/Makefile
352 rsdownloader/meta/Makefile
353 rsdownloader/po/Makefile
354 rsdownloader/src/Makefile
355 rsdownloader/src/container/Makefile
356
357 seekbar/Makefile
358 seekbar/meta/Makefile
359 seekbar/po/Makefile
360 seekbar/src/Makefile
361
362 setpasswd/Makefile
363 setpasswd/meta/Makefile
364 setpasswd/po/Makefile
365 setpasswd/src/Makefile
366
367 shoutcast/Makefile
368 shoutcast/meta/Makefile
369 shoutcast/po/Makefile
370 shoutcast/src/Makefile
371
372 simplerss/Makefile
373 simplerss/meta/Makefile
374 simplerss/po/Makefile
375 simplerss/src/Makefile
376
377 startupservice/Makefile
378 startupservice/meta/Makefile
379 startupservice/po/Makefile
380 startupservice/src/Makefile
381
382 startuptostandby/Makefile
383 startuptostandby/meta/Makefile
384 startuptostandby/src/Makefile
385
386 tageditor/Makefile
387 tageditor/meta/Makefile
388 tageditor/po/Makefile
389 tageditor/src/Makefile
390
391 trafficinfo/Makefile
392 trafficinfo/meta/Makefile
393 trafficinfo/src/Makefile
394
395 tvcharts/Makefile
396 tvcharts/meta/Makefile
397 tvcharts/src/Makefile
398 tvcharts/src/images/Makefile
399
400 unwetterzentrale/Makefile
401 unwetterzentrale/meta/Makefile
402 unwetterzentrale/src/Makefile
403
404 virtualzap/Makefile
405 virtualzap/meta/Makefile
406 virtualzap/po/Makefile
407 virtualzap/src/Makefile
408
409 vlcplayer/Makefile
410 vlcplayer/meta/Makefile
411 vlcplayer/po/Makefile
412 vlcplayer/src/Makefile
413 vlcplayer/src/servicets/Makefile
414
415 vxdcontrol/Makefile
416 vxdcontrol/meta/Makefile
417 vxdcontrol/src/Makefile
418 vxdcontrol/src/comp/Makefile
419 vxdcontrol/src/data/Makefile
420
421 weatherplugin/Makefile
422 weatherplugin/meta/Makefile
423 weatherplugin/po/Makefile
424 weatherplugin/src/Makefile
425
426 webcamviewer/Makefile
427 webcamviewer/meta/Makefile
428 webcamviewer/src/Makefile
429
430 webinterface/Makefile
431 webinterface/meta/Makefile
432 webinterface/po/Makefile
433 webinterface/src/Makefile
434 webinterface/src/etc/Makefile
435 webinterface/src/mobile/Makefile
436 webinterface/src/web/Makefile
437 webinterface/src/web-data/Makefile
438 webinterface/src/web-data/gfx/Makefile
439 webinterface/src/web-data/img/Makefile
440 webinterface/src/web-data/lib/Makefile
441 webinterface/src/web-data/tpl/Makefile
442 webinterface/src/web-data/tpl/default/Makefile
443 webinterface/src/web-data/tpl/default/streaminterface/Makefile
444 webinterface/src/web-data/tpl/default/streaminterface/img/Makefile
445 webinterface/src/WebChilds/Makefile
446 webinterface/src/WebChilds/External/Makefile
447 webinterface/src/WebComponents/Makefile
448 webinterface/src/WebComponents/Converter/Makefile
449 webinterface/src/WebComponents/Sources/Makefile
450
451 werbezapper/Makefile
452 werbezapper/meta/Makefile
453 werbezapper/po/Makefile
454 werbezapper/src/Makefile
455
456 youtubeplayer/Makefile
457 youtubeplayer/meta/Makefile
458 youtubeplayer/src/Makefile
459 youtubeplayer/src/Nemesis.GlassLine_Mod/Makefile
460
461 zaphistorybrowser/Makefile
462 zaphistorybrowser/meta/Makefile
463 zaphistorybrowser/po/Makefile
464 zaphistorybrowser/src/Makefile
465
466 zapstatistic/Makefile
467 zapstatistic/meta/Makefile
468 zapstatistic/po/Makefile
469 zapstatistic/src/Makefile
470
471 zdfmediathek/Makefile
472 zdfmediathek/meta/Makefile
473 zdfmediathek/src/Makefile
474
475 ])
476 AC_OUTPUT