[Mplayer-cvslog] CVS: main configure,1.33,1.34

Felix Buenemann atmosfear at users.sourceforge.net
Sun Apr 29 21:14:45 CEST 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv22742

Modified Files:
	configure 
Log Message:
Added simple libcss autodetect.


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -r1.33 -r1.34
*** configure	2001/04/29 17:39:09	1.33
--- configure	2001/04/29 19:14:43	1.34
***************
*** 112,115 ****
--- 112,116 ----
          --with-csslibdir=DIR    directory contains libcss.so shared library
          --with-cssincdir=DIR    directory contains libcss header file (css.h)
+ 				(--with-css* only needed, if libCSS autodetect fails)
  
  	--size-x=SIZE		default screen width
***************
*** 416,419 ****
--- 417,447 ----
  fi	
  
+ # Atmosfear: added libcss autodetect
+ _css=no
+ if test -e "/usr/local/lib/libcss.so" ; then
+ 	_csslibdir="/usr/local/lib/"
+ 	if test -e "/usr/local/include/css.h" ; then
+ 		_cssincdir="/usr/local/include"
+ 		_css=yes
+ 	else
+ 		if test -e "/usr/include/css.h" ; then
+ 			_cssincdir="/usr/include/"
+ 			_css=yes
+ 		fi	
+ 	fi	
+ fi
+ if test -e "/usr/lib/libcss.so" ; then
+ 	_csslibdir="/usr/lib/"
+ 	if test -e "/usr/include/css.h" ; then
+ 		_cssincdir="/usr/include/"
+ 		_css=yes
+ 	else	
+ 		if test -e "/usr/local/include/css.h" ; then
+ 			_cssincdir="/usr/local/include"
+ 			_css=yes
+ 		fi	
+ 	fi	
+ fi
+ 	
  _termcap=no
  $_cc $TMPC -o $TMPO -ltermcap &> /dev/null && _termcap=yes


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list