# HG changeset patch # User Jason Rumney # Date 1180574684 0 # Node ID 371f110b33695ce84df269686a8768507c0f3987 # Parent 5aaf01af8883e0990dc08ae629c0c0482e20479f Add --with-font-backend option. diff -r 5aaf01af8883 -r 371f110b3369 nt/configure.bat --- a/nt/configure.bat Thu May 31 01:19:51 2007 +0000 +++ b/nt/configure.bat Thu May 31 01:24:44 2007 +0000 @@ -106,6 +106,7 @@ if "%1" == "--without-gif" goto withoutgif if "%1" == "--without-tiff" goto withouttiff if "%1" == "--without-xpm" goto withoutxpm +if "%1" == "--with-font-backend" goto withfont if "%1" == "" goto checkutils :usage echo Usage: configure [options] @@ -123,6 +124,7 @@ echo. --without-gif do not use libungif even if it is installed echo. --without-tiff do not use libtiff even if it is installed echo. --without-xpm do not use libXpm even if it is installed +echo. --with-font-backend use the experimental font backend goto end rem ---------------------------------------------------------------------- :setprefix @@ -209,6 +211,12 @@ shift goto again +:withfont +set usercflags=%usercflags%%sep1%-DUSE_FONT_BACKEND +set usefontbackend=Y +shift +goto again + rem ---------------------------------------------------------------------- rem Check that necessary utilities (cp and rm) are present. :checkutils @@ -475,6 +483,7 @@ if not "(%prefix%)" == "()" echo INSTALL_DIR=%prefix%>>config.settings if not "(%usercflags%)" == "()" echo USER_CFLAGS=%usercflags%>>config.settings if not "(%userldflags%)" == "()" echo USER_LDFLAGS=%userldflags%>>config.settings +if (%usefontbackend%) == (Y) echo USE_FONTBACKEND=1 >>config.settings echo # End of settings from configure.bat>>config.settings echo. >>config.settings