X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/ddc3964ed95d01e72229dc9af968a327cd84e56c..d25cc68147eac7b8e7628a9abdffe55a758612a3:/configure.ac?ds=inline diff --git a/configure.ac b/configure.ac index 7768a973..7c4c2cd9 100644 --- a/configure.ac +++ b/configure.ac @@ -8,8 +8,16 @@ AC_PROG_CC AC_PROG_CXX AC_PROG_RANLIB +AC_ARG_WITH(libsdl, + AC_HELP_STRING([--with-libsdl], [use sdl, yes or no]), + [[withsdl=$withval]], + [[withsdl=yes]] +) + +AM_PATH_PYTHON(2.3) +AC_PYTHON_DEVEL + TUXBOX_APPS_DVB -#TUXBOX_APPS_DRIVER TUXBOX_APPS_LIB_CONFIG(FREETYPE,freetype-config) #TUXBOX_APPS_LIB_PKGCONFIG(FRIBIDI,fribidi) @@ -18,27 +26,42 @@ TUXBOX_APPS_LIB_PKGCONFIG(MAD,mad) #TUXBOX_APPS_LIB_PKGCONFIG(PLUGINS,tuxbox-plugins) TUXBOX_APPS_LIB_PKGCONFIG(PNG,libpng) TUXBOX_APPS_LIB_PKGCONFIG(SIGC,sigc++-1.2) -TUXBOX_APPS_LIB_PKGCONFIG(XMLTREE,tuxbox-xmltree) +TUXBOX_APPS_LIB_PKGCONFIG(DVBSI,libdvbsi++) -CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS $FRIBIDI_CFLAGS $ID3TAG_CFLAGS $MAD_CFLAGS $PLUGINS_CFLAGS $PNG_CFLAGS $SIGC_CFLAGS $XMLTREE_CFLAGS" +if test "$withsdl" = "yes" ; then + TUXBOX_APPS_LIB_CONFIG(SDL,sdl-config) + AC_DEFINE_UNQUOTED([WITH_SDL],[$withsdl],[With SDL]) +fi + +# fixme: decent python stuff +CPPFLAGS="$CPPFLAGS $PYTHON_CPPFLAGS $MD5SUM_CFLAGS $FREETYPE_CFLAGS $FRIBIDI_CFLAGS $ID3TAG_CFLAGS $MAD_CFLAGS $PLUGINS_CFLAGS $PNG_CFLAGS $SIGC_CFLAGS $XMLTREE_CFLAGS $DVBSI_CFLAGS" CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions -Wall" +LDFLAGS="$LDFLAGS $PYTHON_LDFLAGS" TUXBOX_APPS_GETTEXT AC_OUTPUT([ Makefile +data/Makefile +data/fonts/Makefile +data/countries/Makefile +data/defaults/Makefile lib/Makefile +lib/actions/Makefile lib/base/Makefile -lib/content/Makefile lib/driver/Makefile lib/dvb/Makefile -lib/dvb_si/Makefile +lib/dvb_ci/Makefile lib/gdi/Makefile lib/gui/Makefile lib/nav/Makefile -lib/network/Makefile lib/python/Makefile +lib/python/Components/Makefile +lib/python/Screens/Makefile +lib/python/Plugins/Makefile +lib/python/Tools/Makefile lib/service/Makefile +lib/components/Makefile +po/Makefile main/Makefile ]) -