prepare epg checking for already timered timers
[enigma2.git] / configure.ac
1 AC_INIT(tuxbox-enigma,0.0.1)
2 AM_INIT_AUTOMAKE(tuxbox-enigma,0.0.1)
3
4 TUXBOX_APPS
5 TUXBOX_APPS_DIRECTORY
6
7 AC_PROG_CC
8 AC_PROG_CXX
9 AC_PROG_RANLIB
10
11 AC_ARG_WITH(libsdl,
12         AC_HELP_STRING([--with-libsdl], [use sdl, yes or no]),
13         [[withsdl=$withval]],
14         [[withsdl=yes]]
15 )
16
17 AM_PATH_PYTHON(2.3)
18 AC_PYTHON_DEVEL
19
20 TUXBOX_APPS_DVB
21
22 TUXBOX_APPS_LIB_CONFIG(FREETYPE,freetype-config)
23 TUXBOX_APPS_LIB_PKGCONFIG(FRIBIDI,fribidi)
24 TUXBOX_APPS_LIB_PKGCONFIG(ID3TAG,id3tag)
25 TUXBOX_APPS_LIB_PKGCONFIG(MAD,mad)
26 #TUXBOX_APPS_LIB_PKGCONFIG(PLUGINS,tuxbox-plugins)
27 TUXBOX_APPS_LIB_PKGCONFIG(PNG,libpng)
28 TUXBOX_APPS_LIB_PKGCONFIG(SIGC,sigc++-1.2)
29 TUXBOX_APPS_LIB_PKGCONFIG(DVBSI,libdvbsi++)
30
31 if test "$withsdl" = "yes" ; then
32         TUXBOX_APPS_LIB_CONFIG(SDL,sdl-config)
33         AC_DEFINE_UNQUOTED([WITH_SDL],[$withsdl],[With SDL])
34 fi
35
36 CPPFLAGS="$CPPFLAGS "'-I$(top_srcdir)'
37 CPPFLAGS="$CPPFLAGS -D_REENTRANT $PYTHON_CPPFLAGS $MD5SUM_CFLAGS $FREETYPE_CFLAGS $FRIBIDI_CFLAGS $ID3TAG_CFLAGS $MAD_CFLAGS $PLUGINS_CFLAGS $PNG_CFLAGS $SDL_CFLAGS $SIGC_CFLAGS $XMLTREE_CFLAGS $DVBSI_CFLAGS"
38 CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions -Wall"
39 LDFLAGS="$LDFLAGS -pthread $PYTHON_LDFLAGS $SDL_LDFLAGS"
40
41 TUXBOX_APPS_GETTEXT
42
43 AC_OUTPUT([
44 Makefile
45 data/Makefile
46 data/fonts/Makefile
47 data/countries/Makefile
48 data/defaults/Makefile
49 data/extensions/Makefile
50 lib/Makefile
51 lib/actions/Makefile
52 lib/base/Makefile
53 lib/driver/Makefile
54 lib/dvb/Makefile
55 lib/dvb_ci/Makefile
56 lib/gdi/Makefile
57 lib/gui/Makefile
58 lib/nav/Makefile
59 lib/python/Makefile
60 lib/python/Components/Makefile
61 lib/python/Screens/Makefile
62 lib/python/Plugins/Makefile
63 lib/python/Plugins/SystemPlugins/Makefile
64 lib/python/Plugins/SystemPlugins/SoftwareUpdate/Makefile
65 lib/python/Plugins/SystemPlugins/OldSoftwareUpdate/Makefile
66 lib/python/Plugins/SystemPlugins/FrontprocessorUpgrade/Makefile
67 lib/python/Plugins/SystemPlugins/PositionerSetup/Makefile
68 lib/python/Plugins/DemoPlugins/Makefile
69 lib/python/Plugins/DemoPlugins/TestPlugin/Makefile
70 lib/python/Plugins/Extensions/Makefile
71 lib/python/Plugins/Extensions/TuxboxPlugins/Makefile
72 lib/python/Plugins/Extensions/WebInterface/Makefile
73 lib/python/Plugins/Extensions/FileManager/Makefile
74 lib/python/Plugins/Extensions/CutListEditor/Makefile
75 lib/python/Tools/Makefile
76 lib/service/Makefile
77 lib/components/Makefile
78 po/Makefile
79 main/Makefile
80 ])