comparison configure @ 11580:90953d955165

Fontconfig support based on patch by Arwed von Merkatz <v.merkatz@gmx.net>, but slightly reworked
author alex
date Mon, 08 Dec 2003 12:14:32 +0000
parents a6e12f49eaef
children bbf3898360e7
comparison
equal deleted inserted replaced
11579:2f96ed23c71b 11580:90953d955165
173 --disable-dvdread Disable libdvdread support [autodetect] 173 --disable-dvdread Disable libdvdread support [autodetect]
174 --disable-mpdvdkit Disable mpdvdkit/mpdvdkit2 support [autodetect] 174 --disable-mpdvdkit Disable mpdvdkit/mpdvdkit2 support [autodetect]
175 --disable-css Disable old-style libcss DVD support [autodetect] 175 --disable-css Disable old-style libcss DVD support [autodetect]
176 --disable-cdparanoia Disable cdparanoia support [autodetect] 176 --disable-cdparanoia Disable cdparanoia support [autodetect]
177 --disable-freetype Disable freetype2 font rendering support [autodetect] 177 --disable-freetype Disable freetype2 font rendering support [autodetect]
178 --disable-fontconfig Disable fontconfig font lookup support [autodetect]
178 --disable-unrarlib Disable Unique RAR File Library [enabled] 179 --disable-unrarlib Disable Unique RAR File Library [enabled]
179 --enable-menu Enable OSD menu support (NOT DVD MENU) [disabled] 180 --enable-menu Enable OSD menu support (NOT DVD MENU) [disabled]
180 --disable-sortsub Disable subtitles sorting [enabled] 181 --disable-sortsub Disable subtitles sorting [enabled]
181 --enable-fribidi Enable using the FriBiDi libs [disabled] 182 --enable-fribidi Enable using the FriBiDi libs [disabled]
182 --disable-macosx Disable Mac OS X specific features [autodetect] 183 --disable-macosx Disable Mac OS X specific features [autodetect]
1183 _sighandler=yes 1184 _sighandler=yes
1184 _libdv=auto 1185 _libdv=auto
1185 _cdparanoia=auto 1186 _cdparanoia=auto
1186 _big_endian=auto 1187 _big_endian=auto
1187 _freetype=auto 1188 _freetype=auto
1189 _fontconfig=auto
1188 _shared_pp=no 1190 _shared_pp=no
1189 _menu=no 1191 _menu=no
1190 _qtx=auto 1192 _qtx=auto
1191 _macosx=auto 1193 _macosx=auto
1192 _sortsub=yes 1194 _sortsub=yes
1398 --disable-cdparanoia) _cdparanoia=no ;; 1400 --disable-cdparanoia) _cdparanoia=no ;;
1399 --enable-big-endian) _big_endian=yes ;; 1401 --enable-big-endian) _big_endian=yes ;;
1400 --disable-big-endian) _big_endian=no ;; 1402 --disable-big-endian) _big_endian=no ;;
1401 --enable-freetype) _freetype=yes ;; 1403 --enable-freetype) _freetype=yes ;;
1402 --disable-freetype) _freetype=no ;; 1404 --disable-freetype) _freetype=no ;;
1405 --enable-fontconfig) _fontconfig=yes ;;
1406 --disable-fontconfig) _fontconfig=no ;;
1403 --enable-unrarlib) _unrarlib=yes ;; 1407 --enable-unrarlib) _unrarlib=yes ;;
1404 --disable-unrarlib) _unrarlib=no ;; 1408 --disable-unrarlib) _unrarlib=no ;;
1405 --enable-ftp) _ftp=yes ;; 1409 --enable-ftp) _ftp=yes ;;
1406 --disable-ftp) _ftp=no ;; 1410 --disable-ftp) _ftp=no ;;
1407 1411
4272 else 4276 else
4273 _def_freetype='#undef HAVE_FREETYPE' 4277 _def_freetype='#undef HAVE_FREETYPE'
4274 fi 4278 fi
4275 echores "$_freetype" 4279 echores "$_freetype"
4276 4280
4281 if test "$_freetype" = no ; then
4282 _fontconfig=no
4283 fi
4284 echocheck "fontconfig"
4285 if test "$_fontconfig" = auto ; then
4286 if ( pkg-config fontconfig --modversion) > /dev/null 2>&1 ; then
4287 cat > $TMPC << EOF
4288 #include <stdio.h>
4289 #include <fontconfig/fontconfig.h>
4290 int main()
4291 {
4292 int err = FcInit();
4293 if(err == FcFalse){
4294 printf("Couldn't initialize fontconfig lib\n");
4295 exit(err);
4296 }
4297 return 0;
4298
4299 }
4300 EOF
4301 _fontconfig=no
4302 cc_check `pkg-config fontconfig --cflags --libs` && ( $TMPO >> "$TMPLOG" ) && _fontconfig=yes
4303 else
4304 _fontconfig=no
4305 fi
4306 fi
4307 if test "$_fontconfig" = yes ; then
4308 _def_fontconfig='#define HAVE_FONTCONFIG'
4309 _inc_fontconfig=`pkg-config fontconfig --cflags`
4310 _ld_fontconfig=`pkg-config fontconfig --libs`
4311 else
4312 _def_fontconfig='#undef HAVE_FONTCONFIG'
4313 fi
4314 echores "$_fontconfig"
4277 4315
4278 echocheck "fribidi with charsets" 4316 echocheck "fribidi with charsets"
4279 if test "$_fribidi" = yes ; then 4317 if test "$_fribidi" = yes ; then
4280 if ( $_fribidiconfig --version ) >/dev/null 2>&1 ; then 4318 if ( $_fribidiconfig --version ) >/dev/null 2>&1 ; then
4281 cat > $TMPC << EOF 4319 cat > $TMPC << EOF
5885 DIRECTFB_LIB = $_ld_directfb 5923 DIRECTFB_LIB = $_ld_directfb
5886 CDPARANOIA_INC = $_inc_cdparanoia 5924 CDPARANOIA_INC = $_inc_cdparanoia
5887 CDPARANOIA_LIB = $_ld_cdparanoia 5925 CDPARANOIA_LIB = $_ld_cdparanoia
5888 FREETYPE_INC = $_inc_freetype 5926 FREETYPE_INC = $_inc_freetype
5889 FREETYPE_LIB = $_ld_freetype 5927 FREETYPE_LIB = $_ld_freetype
5928 FONTCONFIG_INC = $_inc_fontconfig
5929 FONTCONFIG_LIB = $_ld_fontconfig
5890 FRIBIDI_INC = $_inc_fribidi 5930 FRIBIDI_INC = $_inc_fribidi
5891 FRIBIDI_LIB = $_ld_fribidi 5931 FRIBIDI_LIB = $_ld_fribidi
5892 LIBLZO_LIB= $_ld_liblzo 5932 LIBLZO_LIB= $_ld_liblzo
5893 MAD_LIB = $_ld_mad 5933 MAD_LIB = $_ld_mad
5894 VORBIS_LIB = $_ld_vorbis $_ld_libdv 5934 VORBIS_LIB = $_ld_vorbis $_ld_libdv
6338 $_def_gif_4 6378 $_def_gif_4
6339 $_def_gif_tvt_hack 6379 $_def_gif_tvt_hack
6340 6380
6341 /* enable FreeType support */ 6381 /* enable FreeType support */
6342 $_def_freetype 6382 $_def_freetype
6383
6384 /* enable Fontconfig support */
6385 $_def_fontconfig
6343 6386
6344 /* enable FriBiDi usage */ 6387 /* enable FriBiDi usage */
6345 $_def_fribidi 6388 $_def_fribidi
6346 6389
6347 /* liblzo support */ 6390 /* liblzo support */