add a small wrapper lib for call modified versions of open/open64/fopen/fopen64/socke...
[vuplus_dvbapp] / 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 AM_PROG_LIBTOOL
11
12 AC_ARG_WITH(libsdl,
13         AC_HELP_STRING([--with-libsdl], [use sdl, yes or no]),
14         [[withsdl=$withval]],
15         [[withsdl=yes]]
16 )
17
18 AM_PATH_PYTHON(2.3)
19 AC_PYTHON_DEVEL
20
21 TUXBOX_APPS_DVB
22
23 TUXBOX_APPS_LIB_CONFIG(FREETYPE,freetype-config)
24 TUXBOX_APPS_LIB_PKGCONFIG(FRIBIDI,fribidi)
25 TUXBOX_APPS_LIB_PKGCONFIG(ID3TAG,id3tag)
26 TUXBOX_APPS_LIB_PKGCONFIG(MAD,mad)
27 #TUXBOX_APPS_LIB_PKGCONFIG(PLUGINS,tuxbox-plugins)
28 TUXBOX_APPS_LIB_PKGCONFIG(PNG,libpng)
29 TUXBOX_APPS_LIB_PKGCONFIG(SIGC,sigc++-1.2)
30 TUXBOX_APPS_LIB_PKGCONFIG(DVBSI,libdvbsi++)
31 _TUXBOX_APPS_LIB_PKGCONFIG_OPTIONAL(GSTREAMER,gstreamer,HAVE_GSTREAMER)
32
33 if test "$withsdl" = "yes" ; then
34         TUXBOX_APPS_LIB_CONFIG(SDL,sdl-config)
35         AC_DEFINE_UNQUOTED([WITH_SDL],[$withsdl],[With SDL])
36 fi
37
38 CPPFLAGS="$CPPFLAGS "'-I$(top_srcdir)'
39 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 $GSTREAMER_CFLAGS"
40 CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions -Wall"
41 LDFLAGS="$LDFLAGS -pthread $PYTHON_LDFLAGS $SDL_LDFLAGS $GSTREAMER_LDFLAGS"
42
43 TUXBOX_APPS_GETTEXT
44
45 AC_OUTPUT([
46 Makefile
47 data/Makefile
48 data/fonts/Makefile
49 data/countries/Makefile
50 data/defaults/Makefile
51 data/extensions/Makefile
52 lib/Makefile
53 lib/actions/Makefile
54 lib/base/Makefile
55 lib/driver/Makefile
56 lib/dvb/Makefile
57 lib/dvb_ci/Makefile
58 lib/gdi/Makefile
59 lib/gui/Makefile
60 lib/nav/Makefile
61 lib/python/Makefile
62 lib/python/Components/Makefile
63 lib/python/Components/Converter/Makefile
64 lib/python/Components/Renderer/Makefile
65 lib/python/Components/Sources/Makefile
66 lib/python/Screens/Makefile
67 lib/python/Plugins/Makefile
68 lib/python/Plugins/SystemPlugins/Makefile
69 lib/python/Plugins/SystemPlugins/SoftwareUpdate/Makefile
70 lib/python/Plugins/SystemPlugins/FrontprocessorUpgrade/Makefile
71 lib/python/Plugins/SystemPlugins/PositionerSetup/Makefile
72 lib/python/Plugins/SystemPlugins/ConfigurationBackup/Makefile
73 lib/python/Plugins/SystemPlugins/Satfinder/Makefile
74 lib/python/Plugins/SystemPlugins/SkinSelector/Makefile
75 lib/python/Plugins/DemoPlugins/Makefile
76 lib/python/Plugins/DemoPlugins/TestPlugin/Makefile
77 lib/python/Plugins/Extensions/Makefile
78 lib/python/Plugins/Extensions/TuxboxPlugins/Makefile
79 lib/python/Plugins/Extensions/WebInterface/Makefile
80 lib/python/Plugins/Extensions/WebInterface/web/Makefile
81 lib/python/Plugins/Extensions/WebInterface/web-data/Makefile
82 lib/python/Plugins/Extensions/FileManager/Makefile
83 lib/python/Plugins/Extensions/FritzCall/Makefile
84 lib/python/Plugins/Extensions/CutListEditor/Makefile
85 lib/python/Plugins/Extensions/ZappingAlternatives/Makefile
86 lib/python/Tools/Makefile
87 lib/service/Makefile
88 lib/components/Makefile
89 po/Makefile
90 main/Makefile
91 tools/Makefile
92 ])
93 #lib/python/Plugins/Extensions/SimpleRSS/Makefile