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