diff options
| author | Jason Rumney | 2007-05-31 01:24:44 +0000 |
|---|---|---|
| committer | Jason Rumney | 2007-05-31 01:24:44 +0000 |
| commit | 2cd47384df6f933d2ab9661e9345154f9d247357 (patch) | |
| tree | 7093c402444d320f66dcbfc71121462ee71b7175 | |
| parent | b380397af6775fd3aef8b96e3abb5a416beb9a3d (diff) | |
| download | emacs-2cd47384df6f933d2ab9661e9345154f9d247357.tar.gz emacs-2cd47384df6f933d2ab9661e9345154f9d247357.zip | |
Add --with-font-backend option.
| -rwxr-xr-x | nt/configure.bat | 9 |
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 | |||
| 106 | if "%1" == "--without-gif" goto withoutgif | 106 | if "%1" == "--without-gif" goto withoutgif |
| 107 | if "%1" == "--without-tiff" goto withouttiff | 107 | if "%1" == "--without-tiff" goto withouttiff |
| 108 | if "%1" == "--without-xpm" goto withoutxpm | 108 | if "%1" == "--without-xpm" goto withoutxpm |
| 109 | if "%1" == "--with-font-backend" goto withfont | ||
| 109 | if "%1" == "" goto checkutils | 110 | if "%1" == "" goto checkutils |
| 110 | :usage | 111 | :usage |
| 111 | echo Usage: configure [options] | 112 | echo Usage: configure [options] |
| @@ -123,6 +124,7 @@ echo. --without-jpeg do not use jpeg-6b even if it is installed | |||
| 123 | echo. --without-gif do not use libungif even if it is installed | 124 | echo. --without-gif do not use libungif even if it is installed |
| 124 | echo. --without-tiff do not use libtiff even if it is installed | 125 | echo. --without-tiff do not use libtiff even if it is installed |
| 125 | echo. --without-xpm do not use libXpm even if it is installed | 126 | echo. --without-xpm do not use libXpm even if it is installed |
| 127 | echo. --with-font-backend use the experimental font backend | ||
| 126 | goto end | 128 | goto end |
| 127 | rem ---------------------------------------------------------------------- | 129 | rem ---------------------------------------------------------------------- |
| 128 | :setprefix | 130 | :setprefix |
| @@ -209,6 +211,12 @@ set HAVE_XPM= | |||
| 209 | shift | 211 | shift |
| 210 | goto again | 212 | goto again |
| 211 | 213 | ||
| 214 | :withfont | ||
| 215 | set usercflags=%usercflags%%sep1%-DUSE_FONT_BACKEND | ||
| 216 | set usefontbackend=Y | ||
| 217 | shift | ||
| 218 | goto again | ||
| 219 | |||
| 212 | rem ---------------------------------------------------------------------- | 220 | rem ---------------------------------------------------------------------- |
| 213 | rem Check that necessary utilities (cp and rm) are present. | 221 | rem 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 | |||
| 475 | if not "(%prefix%)" == "()" echo INSTALL_DIR=%prefix%>>config.settings | 483 | if not "(%prefix%)" == "()" echo INSTALL_DIR=%prefix%>>config.settings |
| 476 | if not "(%usercflags%)" == "()" echo USER_CFLAGS=%usercflags%>>config.settings | 484 | if not "(%usercflags%)" == "()" echo USER_CFLAGS=%usercflags%>>config.settings |
| 477 | if not "(%userldflags%)" == "()" echo USER_LDFLAGS=%userldflags%>>config.settings | 485 | if not "(%userldflags%)" == "()" echo USER_LDFLAGS=%userldflags%>>config.settings |
| 486 | if (%usefontbackend%) == (Y) echo USE_FONTBACKEND=1 >>config.settings | ||
| 478 | echo # End of settings from configure.bat>>config.settings | 487 | echo # End of settings from configure.bat>>config.settings |
| 479 | echo. >>config.settings | 488 | echo. >>config.settings |
| 480 | 489 | ||