fix build error
[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 autoresolution/po/Makefile
87
88 autotimer/Makefile
89 autotimer/meta/Makefile
90 autotimer/po/Makefile
91 autotimer/src/Makefile
92 autotimer/src/webinterface/Makefile
93
94 babelzapper/Makefile
95 babelzapper/etc/Makefile
96 babelzapper/meta/Makefile
97 babelzapper/src/Makefile
98
99 bitrateviewer/Makefile
100 bitrateviewer/meta/Makefile
101 bitrateviewer/src/Makefile
102 bitrateviewer/src/bitratecalc/Makefile
103
104 bonjour/Makefile
105 bonjour/meta/Makefile
106 bonjour/src/Makefile
107
108 cdinfo/Makefile
109 cdinfo/meta/Makefile
110 cdinfo/src/Makefile
111
112 dreamirc/Makefile
113 dreamirc/meta/Makefile
114 dreamirc/src/Makefile
115 dreamirc/src/protocols/Makefile
116
117 dreammediathek/Makefile
118 dreammediathek/src/Makefile
119
120 dvdbackup/Makefile
121 dvdbackup/meta/Makefile
122 dvdbackup/po/Makefile
123 dvdbackup/src/Makefile
124
125 dyndns/Makefile
126 dyndns/src/Makefile
127 dyndns/meta/Makefile
128
129 easyinfo/Makefile
130 easyinfo/meta/Makefile
131 easyinfo/src/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 moviesearch/Makefile
267 moviesearch/meta/Makefile
268 moviesearch/src/Makefile
269
270 movieselectionquickbutton/Makefile
271 movieselectionquickbutton/meta/Makefile
272 movieselectionquickbutton/po/Makefile
273 movieselectionquickbutton/src/Makefile
274
275 movietagger/Makefile
276 movietagger/etc/Makefile
277 movietagger/meta/Makefile
278 movietagger/src/Makefile
279
280 multirc/Makefile
281 multirc/src/Makefile
282 multirc/meta/Makefile
283
284 mytube/Makefile
285 mytube/meta/Makefile
286 mytube/src/Makefile
287
288 netcaster/Makefile
289 netcaster/meta/Makefile
290 netcaster/src/Makefile
291 netcaster/src/bin/Makefile
292 netcaster/src/bin/interface/Makefile
293 netcaster/src/etc/Makefile
294
295 networkbrowser/Makefile
296 networkbrowser/meta/Makefile
297 networkbrowser/src/Makefile
298 networkbrowser/src/icons/Makefile
299 networkbrowser/src/lib/Makefile
300
301 ncidclient/Makefile
302 ncidclient/meta/Makefile
303 ncidclient/po/Makefile
304 ncidclient/src/Makefile
305
306 ofdb/Makefile
307 ofdb/meta/Makefile
308 ofdb/po/Makefile
309 ofdb/src/Makefile
310
311 orfat/Makefile
312 orfat/meta/Makefile
313 orfat/src/Makefile
314
315 orfteletext/Makefile
316 orfteletext/meta/Makefile
317 orfteletext/src/Makefile
318
319 partnerbox/Makefile
320 partnerbox/meta/Makefile
321 partnerbox/po/Makefile
322 partnerbox/src/Makefile
323 partnerbox/src/icons/Makefile
324 partnerbox/src/servicewebts/Makefile
325
326 passwordchanger/Makefile
327 passwordchanger/meta/Makefile
328 passwordchanger/po/Makefile
329 passwordchanger/src/Makefile
330
331 permanentclock/Makefile
332 permanentclock/meta/Makefile
333 permanentclock/po/Makefile
334 permanentclock/src/Makefile
335
336 podcast/Makefile
337 podcast/etc/Makefile
338 podcast/meta/Makefile
339 podcast/po/Makefile
340 podcast/src/Makefile
341
342 porncenter/Makefile
343 porncenter/meta/Makefile
344 porncenter/po/Makefile
345 porncenter/src/Makefile
346 porncenter/src/Additions/Makefile
347
348 quickbutton/Makefile
349 quickbutton/meta/Makefile
350 quickbutton/po/Makefile
351 quickbutton/src/Makefile
352
353 reconstructapsc/Makefile
354 reconstructapsc/meta/Makefile
355 reconstructapsc/src_cc/Makefile
356 reconstructapsc/src_py/Makefile
357
358 remotetimer/Makefile
359 remotetimer/meta/Makefile
360 remotetimer/src/Makefile
361
362 rsdownloader/Makefile
363 rsdownloader/meta/Makefile
364 rsdownloader/po/Makefile
365 rsdownloader/src/Makefile
366 rsdownloader/src/container/Makefile
367
368 seekbar/Makefile
369 seekbar/meta/Makefile
370 seekbar/po/Makefile
371 seekbar/src/Makefile
372
373 serienfilm/Makefile
374 serienfilm/meta/Makefile
375 serienfilm/po/Makefile
376 serienfilm/src/Makefile
377 serienfilm/src/icons/Makefile
378
379 setpasswd/Makefile
380 setpasswd/meta/Makefile
381 setpasswd/po/Makefile
382 setpasswd/src/Makefile
383
384 shoutcast/Makefile
385 shoutcast/meta/Makefile
386 shoutcast/po/Makefile
387 shoutcast/src/Makefile
388
389 simplerss/Makefile
390 simplerss/meta/Makefile
391 simplerss/po/Makefile
392 simplerss/src/Makefile
393
394 startupservice/Makefile
395 startupservice/meta/Makefile
396 startupservice/po/Makefile
397 startupservice/src/Makefile
398
399 startuptostandby/Makefile
400 startuptostandby/meta/Makefile
401 startuptostandby/src/Makefile
402
403 svdrp/Makefile
404 svdrp/meta/Makefile
405 svdrp/src/Makefile
406
407 tageditor/Makefile
408 tageditor/meta/Makefile
409 tageditor/po/Makefile
410 tageditor/src/Makefile
411
412 trafficinfo/Makefile
413 trafficinfo/meta/Makefile
414 trafficinfo/src/Makefile
415
416 tvcharts/Makefile
417 tvcharts/meta/Makefile
418 tvcharts/src/Makefile
419
420 unwetterinfo/Makefile
421 unwetterinfo/meta/Makefile
422 unwetterinfo/src/Makefile
423
424 valixdcontrol/Makefile
425 valixdcontrol/meta/Makefile
426 valixdcontrol/src/Makefile
427 valixdcontrol/src/comp/Makefile
428 valixdcontrol/src/data/Makefile
429
430 virtualzap/Makefile
431 virtualzap/meta/Makefile
432 virtualzap/po/Makefile
433 virtualzap/src/Makefile
434
435 vlcplayer/Makefile
436 vlcplayer/meta/Makefile
437 vlcplayer/po/Makefile
438 vlcplayer/src/Makefile
439 vlcplayer/src/servicets/Makefile
440
441 weatherplugin/Makefile
442 weatherplugin/meta/Makefile
443 weatherplugin/po/Makefile
444 weatherplugin/src/Makefile
445
446 webcamviewer/Makefile
447 webcamviewer/meta/Makefile
448 webcamviewer/src/Makefile
449
450 webbouqueteditor/Makefile
451 webbouqueteditor/src/Makefile
452 webbouqueteditor/meta/Makefile
453 webbouqueteditor/src/web/Makefile
454 webbouqueteditor/src/web-data/Makefile
455 webbouqueteditor/src/WebChilds/Makefile
456 webbouqueteditor/src/WebComponents/Makefile
457 webbouqueteditor/src/WebComponents/Sources/Makefile
458 webbouqueteditor/src/WebScreens/Makefile
459
460 webinterface/Makefile
461 webinterface/meta/Makefile
462 webinterface/po/Makefile
463 webinterface/src/Makefile
464 webinterface/src/etc/Makefile
465 webinterface/src/mobile/Makefile
466 webinterface/src/web/Makefile
467 webinterface/src/web-data/Makefile
468 webinterface/src/web-data/gfx/Makefile
469 webinterface/src/web-data/img/Makefile
470 webinterface/src/web-data/lib/Makefile
471 webinterface/src/web-data/tpl/Makefile
472 webinterface/src/web-data/tpl/default/Makefile
473 webinterface/src/web-data/tpl/default/streaminterface/Makefile
474 webinterface/src/web-data/tpl/default/streaminterface/img/Makefile
475 webinterface/src/WebChilds/Makefile
476 webinterface/src/WebChilds/External/Makefile
477 webinterface/src/WebComponents/Makefile
478 webinterface/src/WebComponents/Converter/Makefile
479 webinterface/src/WebComponents/Sources/Makefile
480
481 werbezapper/Makefile
482 werbezapper/meta/Makefile
483 werbezapper/po/Makefile
484 werbezapper/src/Makefile
485
486 youtubeplayer/Makefile
487 youtubeplayer/meta/Makefile
488 youtubeplayer/src/Makefile
489 youtubeplayer/src/Nemesis.GlassLine_Mod/Makefile
490
491 zaphistorybrowser/Makefile
492 zaphistorybrowser/meta/Makefile
493 zaphistorybrowser/po/Makefile
494 zaphistorybrowser/src/Makefile
495
496 zapstatistic/Makefile
497 zapstatistic/meta/Makefile
498 zapstatistic/po/Makefile
499 zapstatistic/src/Makefile
500
501 zdfmediathek/Makefile
502 zdfmediathek/meta/Makefile
503 zdfmediathek/src/Makefile
504
505 ])
506 AC_OUTPUT