comparison configure @ 9635:cc20a6dc9bc3

hebrew support using fribidi libs, patch by Raindel Shachar <raindel@techunix.technion.ac.il>
author alex
date Fri, 21 Mar 2003 16:54:03 +0000
parents 2e374f9df742
children 328744aee223
comparison
equal deleted inserted replaced
9634:8bb1a24ed0a8 9635:cc20a6dc9bc3
164 --disable-freetype Disable freetype2 font rendering support [autodetect] 164 --disable-freetype Disable freetype2 font rendering support [autodetect]
165 --disable-unrarlib Disable Unique RAR File Library [enabled] 165 --disable-unrarlib Disable Unique RAR File Library [enabled]
166 --disable-new-conf Disable new experimental config parser code [enabled] 166 --disable-new-conf Disable new experimental config parser code [enabled]
167 --enable-menu Enable osd menu support (needs new config) [disabled] 167 --enable-menu Enable osd menu support (needs new config) [disabled]
168 --disable-sortsub Disable subtitles sorting [enabled] 168 --disable-sortsub Disable subtitles sorting [enabled]
169 --enable-fribidi Enable using the FriBiDi libs [disabled]
169 --disable-macosx Disable Mac OS X specific features [autodetect] 170 --disable-macosx Disable Mac OS X specific features [autodetect]
170 171
171 Codecs: 172 Codecs:
172 --enable-gif enable gif support [autodetect] 173 --enable-gif enable gif support [autodetect]
173 --enable-png enable png input/output support [autodetect] 174 --enable-png enable png input/output support [autodetect]
291 --with-livelibdir=DIR path to LIVE.COM Streaming Media libraries 292 --with-livelibdir=DIR path to LIVE.COM Streaming Media libraries
292 --with-xmmsplugindir=DIR path to xmms plugins 293 --with-xmmsplugindir=DIR path to xmms plugins
293 --with-xmmslibdir=DIR path to libxmms.so.1 294 --with-xmmslibdir=DIR path to libxmms.so.1
294 --with-cdparanoiaincdir=DIR cdparanoia headers in DIR 295 --with-cdparanoiaincdir=DIR cdparanoia headers in DIR
295 --with-cdparanoialibdir=DIR cdparanoia libraries (libcdda_*) in DIR 296 --with-cdparanoialibdir=DIR cdparanoia libraries (libcdda_*) in DIR
297 --with-fribidi-config=PATH path to fribidi-config
298 (e.g. /opt/bin/fribidi-config)
296 299
297 EOF 300 EOF
298 exit 0 301 exit 0
299 fi 302 fi
300 done # for parm in ... 303 done # for parm in ...
1068 _menu=no 1071 _menu=no
1069 _qtx_codecs=auto 1072 _qtx_codecs=auto
1070 _macosx=auto 1073 _macosx=auto
1071 _sortsub=yes 1074 _sortsub=yes
1072 _freetypeconfig='freetype-config' 1075 _freetypeconfig='freetype-config'
1076 _fribidi=no
1077 _fribidiconfig='fribidi-config'
1073 1078
1074 for ac_option do 1079 for ac_option do
1075 case "$ac_option" in 1080 case "$ac_option" in
1076 # Skip 1st pass 1081 # Skip 1st pass
1077 --target=*) ;; 1082 --target=*) ;;
1255 --enable-freetype) _freetype=yes ;; 1260 --enable-freetype) _freetype=yes ;;
1256 --disable-freetype) _freetype=no ;; 1261 --disable-freetype) _freetype=no ;;
1257 --enable-unrarlib) _unrarlib=yes ;; 1262 --enable-unrarlib) _unrarlib=yes ;;
1258 --disable-unrarlib) _unrarlib=no ;; 1263 --disable-unrarlib) _unrarlib=no ;;
1259 1264
1265 --enable-fribidi) _fribidi=yes ;;
1266 --disable-fribidi) _fribidi=no ;;
1267
1260 --enable-dga) _dga=auto ;; # as we don't know if it's 1 or 2 1268 --enable-dga) _dga=auto ;; # as we don't know if it's 1 or 2
1261 --enable-dga=*) _dga=`echo $ac_option | cut -d '=' -f 2` ;; 1269 --enable-dga=*) _dga=`echo $ac_option | cut -d '=' -f 2` ;;
1262 --disable-dga) _dga=no ;; 1270 --disable-dga) _dga=no ;;
1263 1271
1264 --enable-shared-pp) _shared_pp=yes ;; 1272 --enable-shared-pp) _shared_pp=yes ;;
1372 --with-sdl-config=*) 1380 --with-sdl-config=*)
1373 _sdlconfig=`echo $ac_option | cut -d '=' -f 2` 1381 _sdlconfig=`echo $ac_option | cut -d '=' -f 2`
1374 ;; 1382 ;;
1375 --with-freetype-config=*) 1383 --with-freetype-config=*)
1376 _freetypeconfig=`echo $ac_option | cut -d '=' -f 2` 1384 _freetypeconfig=`echo $ac_option | cut -d '=' -f 2`
1385 ;;
1386 --with-fribidi-config=*)
1387 _fribidiconfig=`echo $ac_option | cut -d '=' -f 2`
1377 ;; 1388 ;;
1378 --with-gtk-config=*) 1389 --with-gtk-config=*)
1379 _gtkconfig=`echo $ac_option | cut -d '=' -f 2` 1390 _gtkconfig=`echo $ac_option | cut -d '=' -f 2`
1380 ;; 1391 ;;
1381 --with-glib-config=*) 1392 --with-glib-config=*)
3786 _ld_freetype=`$_freetypeconfig --libs` 3797 _ld_freetype=`$_freetypeconfig --libs`
3787 else 3798 else
3788 _def_freetype='#undef HAVE_FREETYPE' 3799 _def_freetype='#undef HAVE_FREETYPE'
3789 fi 3800 fi
3790 echores "$_freetype" 3801 echores "$_freetype"
3802
3803
3804 echocheck "fribidi with charsets"
3805 if test "$_fribidi" = yes ; then
3806 if ( $_fribidiconfig --version ) >/dev/null 2>&1 ; then
3807 cat > $TMPC << EOF
3808 #include <stdio.h>
3809 #include <fribidi/fribidi.h>
3810 int main()
3811 {
3812 if(fribidi_parse_charset("UTF-8") != FRIBIDI_CHARSET_UTF8) {
3813 printf("Fribidi headers are not consistents with the library!\n");
3814 exit(1);
3815 }
3816 return 0;
3817 }
3818 EOF
3819 _fribidi=no
3820 cc_check `$_fribidiconfig --cflags` `$_fribidiconfig --libs` && ( $TMPO >> "$TMPLOG" ) && _fribidi=yes
3821 else
3822 _fribidi=no
3823 fi
3824 fi
3825 if test "$_fribidi" = yes ; then
3826 _def_fribidi='#define USE_FRIBIDI'
3827 _inc_fribidi=`$_fribidiconfig --cflags`
3828 _ld_fribidi=`$_fribidiconfig --libs`
3829 else
3830 _def_fribidi='#undef USE_FRIBIDI'
3831 fi
3832 echores "$_fribidi"
3833
3791 3834
3792 echocheck "zlib" 3835 echocheck "zlib"
3793 cat > $TMPC << EOF 3836 cat > $TMPC << EOF
3794 #include <zlib.h> 3837 #include <zlib.h>
3795 int main(void) { (void) inflate(0, Z_NO_FLUSH); return 0; } 3838 int main(void) { (void) inflate(0, Z_NO_FLUSH); return 0; }
5042 DIRECTFB_LIB = $_ld_directfb 5085 DIRECTFB_LIB = $_ld_directfb
5043 CDPARANOIA_INC = $_inc_cdparanoia 5086 CDPARANOIA_INC = $_inc_cdparanoia
5044 CDPARANOIA_LIB = $_ld_cdparanoia 5087 CDPARANOIA_LIB = $_ld_cdparanoia
5045 FREETYPE_INC = $_inc_freetype 5088 FREETYPE_INC = $_inc_freetype
5046 FREETYPE_LIB = $_ld_freetype 5089 FREETYPE_LIB = $_ld_freetype
5090 FRIBIDI_INC = $_inc_fribidi
5091 FRIBIDI_LIB = $_ld_fribidi
5047 LIBLZO_LIB= $_ld_liblzo 5092 LIBLZO_LIB= $_ld_liblzo
5048 MAD_LIB = $_ld_mad 5093 MAD_LIB = $_ld_mad
5049 VORBIS_LIB = $_ld_vorbis $_ld_libdv 5094 VORBIS_LIB = $_ld_vorbis $_ld_libdv
5050 FAAD_LIB = $_ld_faad 5095 FAAD_LIB = $_ld_faad
5051 SMBSUPPORT_INC = $_inc_smb 5096 SMBSUPPORT_INC = $_inc_smb
5435 $_def_gif_4 5480 $_def_gif_4
5436 $_def_gif_tvt_hack 5481 $_def_gif_tvt_hack
5437 5482
5438 /* enable FreeType support */ 5483 /* enable FreeType support */
5439 $_def_freetype 5484 $_def_freetype
5485
5486 /* enable FriBiDi usage */
5487 $_def_fribidi
5440 5488
5441 /* liblzo support */ 5489 /* liblzo support */
5442 $_def_liblzo 5490 $_def_liblzo
5443 5491
5444 /* libmad support */ 5492 /* libmad support */