aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney2007-05-31 01:24:44 +0000
committerJason Rumney2007-05-31 01:24:44 +0000
commit2cd47384df6f933d2ab9661e9345154f9d247357 (patch)
tree7093c402444d320f66dcbfc71121462ee71b7175
parentb380397af6775fd3aef8b96e3abb5a416beb9a3d (diff)
downloademacs-2cd47384df6f933d2ab9661e9345154f9d247357.tar.gz
emacs-2cd47384df6f933d2ab9661e9345154f9d247357.zip
Add --with-font-backend option.
-rwxr-xr-xnt/configure.bat9
1 files changed, 9 insertions, 0 deletions
diff --git a/nt/configure.bat b/nt/configure.bat
index 2ff90186445..10d45f76682 100755
--- a/nt/configure.bat
+++ b/nt/configure.bat
@@ -106,6 +106,7 @@ if "%1" == "--without-jpeg" goto withoutjpeg
106if "%1" == "--without-gif" goto withoutgif 106if "%1" == "--without-gif" goto withoutgif
107if "%1" == "--without-tiff" goto withouttiff 107if "%1" == "--without-tiff" goto withouttiff
108if "%1" == "--without-xpm" goto withoutxpm 108if "%1" == "--without-xpm" goto withoutxpm
109if "%1" == "--with-font-backend" goto withfont
109if "%1" == "" goto checkutils 110if "%1" == "" goto checkutils
110:usage 111:usage
111echo Usage: configure [options] 112echo Usage: configure [options]
@@ -123,6 +124,7 @@ echo. --without-jpeg do not use jpeg-6b even if it is installed
123echo. --without-gif do not use libungif even if it is installed 124echo. --without-gif do not use libungif even if it is installed
124echo. --without-tiff do not use libtiff even if it is installed 125echo. --without-tiff do not use libtiff even if it is installed
125echo. --without-xpm do not use libXpm even if it is installed 126echo. --without-xpm do not use libXpm even if it is installed
127echo. --with-font-backend use the experimental font backend
126goto end 128goto end
127rem ---------------------------------------------------------------------- 129rem ----------------------------------------------------------------------
128:setprefix 130:setprefix
@@ -209,6 +211,12 @@ set HAVE_XPM=
209shift 211shift
210goto again 212goto again
211 213
214:withfont
215set usercflags=%usercflags%%sep1%-DUSE_FONT_BACKEND
216set usefontbackend=Y
217shift
218goto again
219
212rem ---------------------------------------------------------------------- 220rem ----------------------------------------------------------------------
213rem Check that necessary utilities (cp and rm) are present. 221rem Check that necessary utilities (cp and rm) are present.
214:checkutils 222:checkutils
@@ -475,6 +483,7 @@ if (%nocygwin%) == (Y) echo NOCYGWIN=1 >>config.settings
475if not "(%prefix%)" == "()" echo INSTALL_DIR=%prefix%>>config.settings 483if not "(%prefix%)" == "()" echo INSTALL_DIR=%prefix%>>config.settings
476if not "(%usercflags%)" == "()" echo USER_CFLAGS=%usercflags%>>config.settings 484if not "(%usercflags%)" == "()" echo USER_CFLAGS=%usercflags%>>config.settings
477if not "(%userldflags%)" == "()" echo USER_LDFLAGS=%userldflags%>>config.settings 485if not "(%userldflags%)" == "()" echo USER_LDFLAGS=%userldflags%>>config.settings
486if (%usefontbackend%) == (Y) echo USE_FONTBACKEND=1 >>config.settings
478echo # End of settings from configure.bat>>config.settings 487echo # End of settings from configure.bat>>config.settings
479echo. >>config.settings 488echo. >>config.settings
480 489