diff configure @ 2093:d2bed9c43e3b

compile and install fibmap_mplayer ofly if libcss is used. gmplayer link is created
author arpi
date Fri, 05 Oct 2001 13:39:43 +0000
parents a19a4711bf1a
children d68fd805b104
line wrap: on
line diff
--- a/configure	Fri Oct 05 10:56:01 2001 +0000
+++ b/configure	Fri Oct 05 13:39:43 2001 +0000
@@ -1681,13 +1681,14 @@
    fi
 fi
 
+_cssdef='#undef HAVE_LIBCSS'
 _csslib=''
 _cssinc=''
 
 if [ $_dvdread = yes ]; then
-   _css='#undef HAVE_LIBCSS'
    _csslib='-ldvdread'
    _dvdreaddef='#define USE_DVDREAD'
+   _css='no'
 else
    _dvdreaddef='#undef USE_DVDREAD'
 
@@ -1697,14 +1698,12 @@
    else
      _csslib='-lcss'
    fi
-   _css='#define HAVE_LIBCSS'
+   _cssdef='#define HAVE_LIBCSS'
    if [ ! -z "$_cssincdir" ]; then
      _cssinc="-I${_cssincdir}"
    else
      _cssinc=""
    fi
-else
-   _css='#undef HAVE_LIBCSS'
 fi
 
 fi
@@ -2148,6 +2147,7 @@
 TERMCAP_LIB=$_libtermcap
 XMM_LIBS = $_xmmplibs
 LIRC_LIBS = $_lirclibs
+CSS_USE=$_css
 CSS_LIB = $_csslib
 CSS_INC = $_cssinc
 SDL_INC = $_sdlcflags
@@ -2274,7 +2274,7 @@
 $_lircdefs
 
 /* DeCSS support using libcss */
-$_css
+$_cssdef
 
 /* Define this to enable MPEG 1/2 image postprocessing (requires FAST cpu!) */
 #define MPEG12_POSTPROC