diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-08-04 02:31:07 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-08-04 02:31:07 +0000 |
commit | 458ba9e4fbc7069252d98c37e344feb77d37f823 (patch) | |
tree | 151a37bb4c2b6753b78ab1bf931bf98172306ae6 /configure.ac | |
parent | 7ed90faa110ed6eb646f969bd6a3134c13ab4846 (diff) | |
download | xine-lib-458ba9e4fbc7069252d98c37e344feb77d37f823.tar.gz xine-lib-458ba9e4fbc7069252d98c37e344feb77d37f823.tar.bz2 |
vo for libstk
CVS patchset: 5240
CVS date: 2003/08/04 02:31:07
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 2a9a3eee0..cbcba6cb9 100644 --- a/configure.ac +++ b/configure.ac @@ -523,6 +523,29 @@ AM_CONDITIONAL(HAVE_SDL, [test x"$no_sdl" != x"yes"]) dnl --------------------------------------------- +dnl check for Libstk +dnl --------------------------------------------- +AC_MSG_CHECKING(for Libstk) +dnl do some actual testing here +if test x$PKG_CONFIG = xno ; then + echo "*** pkg-config not found. See http://pkgconfig.sourceforge.net" + echo "*** All of LIBSTK dependent parts will be disabled" +else + LIBSTK_REQUIRED_VERSION=0.2.0 + if $PKG_CONFIG --atleast-version $LIBSTK_REQUIRED_VERSION libstk ; then + LIBSTK_CFLAGS=`$PKG_CONFIG --cflags libstk` + LIBSTK_LIBS=`$PKG_CONFIG --libs libstk` + have_stk="yes" + else + AC_MSG_RESULT([*** All of Libstk dependent parts will be disabled ***]) + fi +fi +AC_SUBST(LIBSTK_CFLAGS) +AC_SUBST(LIBSTK_LIBS) +AM_CONDITIONAL(HAVE_STK, [test x"$have_stk" = x"yes"]) + + +dnl --------------------------------------------- dnl dxr3 / hollywood plus card dnl --------------------------------------------- case "$host_or_hostalias" in @@ -1625,6 +1648,9 @@ fi if test x"$no_sdl" != x"yes"; then echo " - sdl (Simple DirectMedia Layer)" fi +if test x"$have_stk" = "xyes"; then + echo " - stk (Libstk Set-top Toolkit)" +fi if test x"$have_directfb" = "xyes"; then echo " - directfb (DirectFB driver)" fi |