]> code.delx.au - gnu-emacs/blobdiff - nt/configure.bat
Merge from emacs--devo--0
[gnu-emacs] / nt / configure.bat
index a88cd5df413500f2ecde414ebd9a13c4b031a2ab..9f51e1dc57e96cce5e1d9da69f87fc930b6bd5b8 100755 (executable)
@@ -108,6 +108,7 @@ if "%1" == "--without-jpeg" goto withoutjpeg
 if "%1" == "--without-gif" goto withoutgif\r
 if "%1" == "--without-tiff" goto withouttiff\r
 if "%1" == "--without-xpm" goto withoutxpm\r
+if "%1" == "--enable-font-backend" goto withfont\r
 if "%1" == "" goto checkutils\r
 :usage\r
 echo Usage: configure [options]\r
@@ -125,6 +126,7 @@ echo.   --without-jpeg          do not use jpeg-6b
 echo.   --without-gif           do not use giflib or libungif\r
 echo.   --without-tiff          do not use libtiff\r
 echo.   --without-xpm           do not use libXpm\r
+echo.   --enable-font-backend   build with font backend support\r
 goto end\r
 rem ----------------------------------------------------------------------\r
 :setprefix\r
@@ -211,6 +213,13 @@ set HAVE_XPM=
 shift\r
 goto again\r
 \r
+:withfont\r
+set usercflags=%usercflags%%sep1%-DUSE_FONT_BACKEND\r
+set sep1= %nothing%\r
+set usefontbackend=Y\r
+shift\r
+goto again\r
+\r
 rem ----------------------------------------------------------------------\r
 rem    Check that necessary utilities (cp and rm) are present.\r
 :checkutils\r
@@ -481,6 +490,7 @@ for %%v in (%usercflags%) do if not (%%v)==() set docflags=Y
 if (%docflags%)==(Y) echo USER_CFLAGS=%usercflags%>>config.settings\r
 for %%v in (%userldflags%) do if not (%%v)==() set doldflags=Y\r
 if (%doldflags%)==(Y) echo USER_LDFLAGS=%userldflags%>>config.settings\r
+if (%usefontbackend%) == (Y) echo USE_FONTBACKEND=1 >>config.settings\r
 echo # End of settings from configure.bat>>config.settings\r
 echo. >>config.settings\r
 \r