fix DVB-T manual scan
[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 $PYTHON_CPPFLAGS $MD5SUM_CFLAGS $FREETYPE_CFLAGS $FRIBIDI_CFLAGS $ID3TAG_CFLAGS $MAD_CFLAGS $PLUGINS_CFLAGS $PNG_CFLAGS $SDL_CFLAGS $SIGC_CFLAGS $XMLTREE_CFLAGS $DVBSI_CFLAGS"
37 CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions -Wall"
38 LDFLAGS="$LDFLAGS $PYTHON_LDFLAGS $SDL_LDFLAGS"
39
40 TUXBOX_APPS_GETTEXT
41
42 AC_OUTPUT([
43 Makefile
44 data/Makefile
45 data/fonts/Makefile
46 data/countries/Makefile
47 data/defaults/Makefile
48 lib/Makefile
49 lib/actions/Makefile
50 lib/base/Makefile
51 lib/driver/Makefile
52 lib/dvb/Makefile
53 lib/dvb_ci/Makefile
54 lib/gdi/Makefile
55 lib/gui/Makefile
56 lib/nav/Makefile
57 lib/python/Makefile
58 lib/python/Components/Makefile
59 lib/python/Screens/Makefile
60 lib/python/Plugins/Makefile
61 lib/python/Plugins/update/Makefile
62 lib/python/Plugins/test/Makefile
63 lib/python/Plugins/tuxboxplugins/Makefile
64 lib/python/Plugins/web/Makefile
65 lib/python/Tools/Makefile
66 lib/service/Makefile
67 lib/components/Makefile
68 po/Makefile
69 main/Makefile
70 ])