diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-08-21 23:19:11 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-08-21 23:19:11 +0000 |
commit | e8f5c06e76c47113cee16fc2a1fede24e5c3facf (patch) | |
tree | 3a3a54ec82505899d2a6aca0134066f82809e9b4 /configure | |
parent | 6e2e1a80e7713a9e1da2bf50ee5661c6d69d48a3 (diff) | |
download | mpv-e8f5c06e76c47113cee16fc2a1fede24e5c3facf.tar.bz2 mpv-e8f5c06e76c47113cee16fc2a1fede24e5c3facf.tar.xz |
support for disabling/enabling bitmap font support from configure
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19491 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -228,6 +228,7 @@ Optional features: --disable-dvdread Disable libdvdread support [autodetect] --disable-mpdvdkit Disable mpdvdkit2 support [autodetect] --disable-cdparanoia Disable cdparanoia support [autodetect] + --disable-bitmap-font Disable bitmap font support [enable] --disable-freetype Disable freetype2 font rendering support [autodetect] --disable-fontconfig Disable fontconfig font lookup support [autodetect] --disable-unrarlib Disable Unique RAR File Library [enabled] @@ -1684,6 +1685,7 @@ _sighandler=yes _libdv=auto _cdparanoia=auto _big_endian=auto +_bitmap_font=yes _freetype=auto _fontconfig=auto _menu=no @@ -1987,6 +1989,8 @@ for ac_option do --disable-cdparanoia) _cdparanoia=no ;; --enable-big-endian) _big_endian=yes ;; --disable-big-endian) _big_endian=no ;; + --enable-bitmap-font) _bitmap_font=yes ;; + --disable-bitmap-font) _bitmap_font=no ;; --enable-freetype) _freetype=yes ;; --disable-freetype) _freetype=no ;; --enable-fontconfig) _fontconfig=yes ;; @@ -5256,6 +5260,15 @@ fi echores "$_libcdio" +echocheck "bitmap font support" +if test "$_bitmap_font" = yes ; then + _def_bitmap_font="#define HAVE_BITMAP_FONT 1" +else + _def_bitmap_font="#undef HAVE_BITMAP_FONT" +fi +echores "$_bitmap_font" + + echocheck "freetype >= 2.0.9" # freetype depends on iconv @@ -7394,6 +7407,7 @@ ENCORE_LIB = $_ld_mp3lame DIRECTFB_LIB = $_ld_directfb CDDA = $_cdda CDPARANOIA_LIB = $_ld_cdparanoia +BITMAP_FONT = $_bitmap_font FREETYPE = $_freetype FREETYPE_LIB = $_ld_freetype FONTCONFIG_LIB = $_ld_fontconfig @@ -7993,6 +8007,9 @@ $_def_gif $_def_gif_4 $_def_gif_tvt_hack +/* enable bitmap font support */ +$_def_bitmap_font + /* enable FreeType support */ $_def_freetype |