comparison configure @ 18937:9e95ac641e77

Initial libass release (without mencoder support).
author eugeni
date Fri, 07 Jul 2006 18:26:51 +0000
parents 4d4ecbaa9f54
children 7040a3bc84c9
comparison
equal deleted inserted replaced
18936:b80b0c115a24 18937:9e95ac641e77
243 --disable-gethostbyname2 gethostbyname() function is not provided by the C 243 --disable-gethostbyname2 gethostbyname() function is not provided by the C
244 library [autodetect] 244 library [autodetect]
245 --disable-ftp Disable ftp support [enabled] 245 --disable-ftp Disable ftp support [enabled]
246 --disable-vstream Disable tivo vstream client support [autodetect] 246 --disable-vstream Disable tivo vstream client support [autodetect]
247 --disable-pthreads Disable Posix threads support [autodetect] 247 --disable-pthreads Disable Posix threads support [autodetect]
248 --disable-ass Disable internal SSA/ASS subtitles support [autodetect]
248 --enable-rpath Enable runtime linker path for extra libs [disabled] 249 --enable-rpath Enable runtime linker path for extra libs [disabled]
249 250
250 Codecs: 251 Codecs:
251 --enable-gif enable gif support [autodetect] 252 --enable-gif enable gif support [autodetect]
252 --enable-png enable png input/output support [autodetect] 253 --enable-png enable png input/output support [autodetect]
1689 _gethostbyname2=auto 1690 _gethostbyname2=auto
1690 _ftp=yes 1691 _ftp=yes
1691 _musepack=auto 1692 _musepack=auto
1692 _vstream=auto 1693 _vstream=auto
1693 _pthreads=yes 1694 _pthreads=yes
1695 _ass=auto
1694 _rpath=no 1696 _rpath=no
1695 for ac_option do 1697 for ac_option do
1696 case "$ac_option" in 1698 case "$ac_option" in
1697 # Skip 1st pass 1699 # Skip 1st pass
1698 --target=*) ;; 1700 --target=*) ;;
1973 --disable-ftp) _ftp=no ;; 1975 --disable-ftp) _ftp=no ;;
1974 --enable-vstream) _vstream=yes ;; 1976 --enable-vstream) _vstream=yes ;;
1975 --disable-vstream) _vstream=no ;; 1977 --disable-vstream) _vstream=no ;;
1976 --enable-pthreads) _pthreads=yes ;; 1978 --enable-pthreads) _pthreads=yes ;;
1977 --disable-pthreads) _pthreads=no ;; 1979 --disable-pthreads) _pthreads=no ;;
1980 --enable-ass) _ass=yes ;;
1981 --disable-ass) _ass=no ;;
1978 --enable-rpath) _rpath=yes ;; 1982 --enable-rpath) _rpath=yes ;;
1979 --disable-rpath) _rpath=no ;; 1983 --disable-rpath) _rpath=no ;;
1980 1984
1981 --enable-fribidi) _fribidi=yes ;; 1985 --enable-fribidi) _fribidi=yes ;;
1982 --disable-fribidi) _fribidi=no ;; 1986 --disable-fribidi) _fribidi=no ;;
5387 _def_fontconfig='#define HAVE_FONTCONFIG' 5391 _def_fontconfig='#define HAVE_FONTCONFIG'
5388 else 5392 else
5389 _def_fontconfig='#undef HAVE_FONTCONFIG' 5393 _def_fontconfig='#undef HAVE_FONTCONFIG'
5390 fi 5394 fi
5391 echores "$_fontconfig" 5395 echores "$_fontconfig"
5396
5397 echocheck "SSA/ASS support"
5398 # libass depends on freetype
5399 if test "$_freetype" = no ; then
5400 _ass=no
5401 _res_comment="FreeType support needed"
5402 fi
5403
5404 if test "$_ass" = auto ; then
5405 cat > $TMPC << EOF
5406 #include <ft2build.h>
5407 #include FT_FREETYPE_H
5408 #if ((FREETYPE_MAJOR < 2) || (FREETYPE_MINOR < 1) || ((FREETYPE_MINOR == 1) && (FREETYPE_PATCH < 8)))
5409 #error "Need FreeType 2.1.8 or newer"
5410 #endif
5411 int main() { return 0; }
5412 EOF
5413 _ass=no
5414 cc_check `$_freetypeconfig --cflags` `$_freetypeconfig --libs` && tmp_run && _ass=yes
5415 if test "$_ass" = no ; then
5416 _res_comment="FreeType >= 2.1.8 needed"
5417 fi
5418 fi
5419 if test "$_ass" = yes ; then
5420 _def_ass='#define USE_ASS'
5421 else
5422 _def_ass='#undef USE_ASS'
5423 fi
5424 echores "$_ass"
5392 5425
5393 echocheck "fribidi with charsets" 5426 echocheck "fribidi with charsets"
5394 if test "$_fribidi" = auto ; then 5427 if test "$_fribidi" = auto ; then
5395 if ( $_fribidiconfig --version ) >/dev/null 2>&1 ; then 5428 if ( $_fribidiconfig --version ) >/dev/null 2>&1 ; then
5396 cat > $TMPC << EOF 5429 cat > $TMPC << EOF
7515 FREETYPE = $_freetype 7548 FREETYPE = $_freetype
7516 FREETYPE_INC = $_inc_freetype 7549 FREETYPE_INC = $_inc_freetype
7517 FREETYPE_LIB = $_ld_freetype 7550 FREETYPE_LIB = $_ld_freetype
7518 FONTCONFIG_INC = $_inc_fontconfig 7551 FONTCONFIG_INC = $_inc_fontconfig
7519 FONTCONFIG_LIB = $_ld_fontconfig 7552 FONTCONFIG_LIB = $_ld_fontconfig
7553 CONFIG_ASS = $_ass
7520 FRIBIDI_INC = $_inc_fribidi 7554 FRIBIDI_INC = $_inc_fribidi
7521 FRIBIDI_LIB = $_ld_fribidi 7555 FRIBIDI_LIB = $_ld_fribidi
7522 LIBCDIO_INC = $_inc_libcdio 7556 LIBCDIO_INC = $_inc_libcdio
7523 LIBCDIO_LIB = $_ld_libcdio 7557 LIBCDIO_LIB = $_ld_libcdio
7524 LIBLZO_LIB= $_ld_liblzo 7558 LIBLZO_LIB= $_ld_liblzo
8115 /* enable FreeType support */ 8149 /* enable FreeType support */
8116 $_def_freetype 8150 $_def_freetype
8117 8151
8118 /* enable Fontconfig support */ 8152 /* enable Fontconfig support */
8119 $_def_fontconfig 8153 $_def_fontconfig
8154
8155 /* enable SSA/ASS support */
8156 $_def_ass
8120 8157
8121 /* enable FriBiDi usage */ 8158 /* enable FriBiDi usage */
8122 $_def_fribidi 8159 $_def_fribidi
8123 8160
8124 /* enable ENCA usage */ 8161 /* enable ENCA usage */