Mercurial > mplayer.hg
comparison configure @ 661:f87dc2cc16a8
Added simple libcss autodetect.
author | atmosfear |
---|---|
date | Sun, 29 Apr 2001 19:14:43 +0000 |
parents | 29c9635aa144 |
children | b796e4b6063c |
comparison
equal
deleted
inserted
replaced
660:29c9635aa144 | 661:f87dc2cc16a8 |
---|---|
109 | 109 |
110 --with-x11libdir=DIR X library files are in DIR | 110 --with-x11libdir=DIR X library files are in DIR |
111 --with-win32libdir=DIR windows codec files | 111 --with-win32libdir=DIR windows codec files |
112 --with-csslibdir=DIR directory contains libcss.so shared library | 112 --with-csslibdir=DIR directory contains libcss.so shared library |
113 --with-cssincdir=DIR directory contains libcss header file (css.h) | 113 --with-cssincdir=DIR directory contains libcss header file (css.h) |
114 (--with-css* only needed, if libCSS autodetect fails) | |
114 | 115 |
115 --size-x=SIZE default screen width | 116 --size-x=SIZE default screen width |
116 --size-y=SIZE default screen height | 117 --size-y=SIZE default screen height |
117 EOF | 118 EOF |
118 exit 0 | 119 exit 0 |
413 else | 414 else |
414 _sdl=outdated | 415 _sdl=outdated |
415 fi | 416 fi |
416 fi | 417 fi |
417 | 418 |
419 # Atmosfear: added libcss autodetect | |
420 _css=no | |
421 if test -e "/usr/local/lib/libcss.so" ; then | |
422 _csslibdir="/usr/local/lib/" | |
423 if test -e "/usr/local/include/css.h" ; then | |
424 _cssincdir="/usr/local/include" | |
425 _css=yes | |
426 else | |
427 if test -e "/usr/include/css.h" ; then | |
428 _cssincdir="/usr/include/" | |
429 _css=yes | |
430 fi | |
431 fi | |
432 fi | |
433 if test -e "/usr/lib/libcss.so" ; then | |
434 _csslibdir="/usr/lib/" | |
435 if test -e "/usr/include/css.h" ; then | |
436 _cssincdir="/usr/include/" | |
437 _css=yes | |
438 else | |
439 if test -e "/usr/local/include/css.h" ; then | |
440 _cssincdir="/usr/local/include" | |
441 _css=yes | |
442 fi | |
443 fi | |
444 fi | |
445 | |
418 _termcap=no | 446 _termcap=no |
419 $_cc $TMPC -o $TMPO -ltermcap &> /dev/null && _termcap=yes | 447 $_cc $TMPC -o $TMPO -ltermcap &> /dev/null && _termcap=yes |
420 | 448 |
421 _png=no | 449 _png=no |
422 $_cc $TMPC -o $TMPO -lpng -lz&> /dev/null && _png=yes | 450 $_cc $TMPC -o $TMPO -lpng -lz&> /dev/null && _png=yes |