- add getLength() call to iStaticServiceInformation
[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(pythonincdir,
12         [  --with-pythonincdir=NAME dir [[...]]],
13         [PYTHON_INCDIR="$withval"],[PYTHON_INCDIR="/usr/include/python2.3"])
14 AC_SUBST(PYTHON_INCDIR)
15
16 AC_ARG_WITH(libsdl,
17         AC_HELP_STRING([--with-libsdl], [use sdl, yes or no]),
18         [[withsdl=$withval]],
19         [[withsdl=yes]]
20 )
21                 
22 TUXBOX_APPS_DVB
23 #TUXBOX_APPS_DRIVER
24
25 TUXBOX_APPS_LIB_CONFIG(FREETYPE,freetype-config)
26 #TUXBOX_APPS_LIB_PKGCONFIG(FRIBIDI,fribidi)
27 TUXBOX_APPS_LIB_PKGCONFIG(ID3TAG,id3tag)
28 TUXBOX_APPS_LIB_PKGCONFIG(MAD,mad)
29 #TUXBOX_APPS_LIB_PKGCONFIG(PLUGINS,tuxbox-plugins)
30 TUXBOX_APPS_LIB_PKGCONFIG(PNG,libpng)
31 TUXBOX_APPS_LIB_PKGCONFIG(SIGC,sigc++-1.2)
32 #TUXBOX_APPS_LIB_PKGCONFIG(XMLTREE,tuxbox-xmltree)
33
34 if test "$withsdl" = "yes" ; then
35         TUXBOX_APPS_LIB_CONFIG(SDL,sdl-config)
36         AC_DEFINE_UNQUOTED([WITH_SDL],[$withsdl],[With SDL])
37 fi
38
39 # fixme: decent python stuff
40 CPPFLAGS="$CPPFLAGS $MD5SUM_CFLAGS $FREETYPE_CFLAGS $FRIBIDI_CFLAGS $ID3TAG_CFLAGS $MAD_CFLAGS $PLUGINS_CFLAGS $PNG_CFLAGS $SIGC_CFLAGS $XMLTREE_CFLAGS $SDL_CFLAGS -I$PYTHON_INCDIR -DHAVE_CPP_FILT -DMEMLEAK_CHECK"
41 CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions -Wall"
42 LDFLAGS="$LDFLAGS -rdynamic"
43
44 TUXBOX_APPS_GETTEXT
45
46 AC_OUTPUT([
47 Makefile
48 lib/Makefile
49 lib/actions/Makefile
50 lib/base/Makefile
51 lib/driver/Makefile
52 lib/dvb/Makefile
53 lib/dvb_si/Makefile
54 lib/dvb_ci/Makefile
55 lib/gdi/Makefile
56 lib/gui/Makefile
57 lib/nav/Makefile
58 lib/network/Makefile
59 lib/python/Makefile
60 lib/python/Components/Makefile
61 lib/python/Screens/Makefile
62 lib/python/Tools/Makefile
63 lib/service/Makefile
64 lib/components/Makefile
65 main/Makefile
66 ])