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