- first step on installing enigma2 files
[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 TUXBOX_APPS_DVB
17 #TUXBOX_APPS_DRIVER
18
19 TUXBOX_APPS_LIB_CONFIG(FREETYPE,freetype-config)
20 #TUXBOX_APPS_LIB_PKGCONFIG(FRIBIDI,fribidi)
21 TUXBOX_APPS_LIB_PKGCONFIG(ID3TAG,id3tag)
22 TUXBOX_APPS_LIB_PKGCONFIG(MAD,mad)
23 #TUXBOX_APPS_LIB_PKGCONFIG(PLUGINS,tuxbox-plugins)
24 TUXBOX_APPS_LIB_PKGCONFIG(PNG,libpng)
25 TUXBOX_APPS_LIB_PKGCONFIG(SIGC,sigc++-1.2)
26 #TUXBOX_APPS_LIB_PKGCONFIG(XMLTREE,tuxbox-xmltree)
27 TUXBOX_APPS_LIB_CONFIG(SDL,sdl-config)
28
29 # fixme: decent python stuff
30 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"
31 CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions -Wall"
32 LDFLAGS="$LDFLAGS -rdynamic"
33
34 TUXBOX_APPS_GETTEXT
35
36 AC_OUTPUT([
37 Makefile
38 lib/Makefile
39 lib/actions/Makefile
40 lib/base/Makefile
41 lib/driver/Makefile
42 lib/dvb/Makefile
43 lib/dvb_si/Makefile
44 lib/gdi/Makefile
45 lib/gui/Makefile
46 lib/nav/Makefile
47 lib/network/Makefile
48 lib/python/Makefile
49 lib/python/Components/Makefile
50 lib/python/Screens/Makefile
51 lib/python/Tools/Makefile
52 lib/service/Makefile
53 lib/components/Makefile
54 main/Makefile
55 ])