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