changeset 92475:f59e2a810db3

* gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag. (EMACS_EXTRA_C_FLAGS): Include it. * configure.bat (usefontbackend): Default to Y. (--enable-font-backend): Replace with --disable-font-backend. (:withfont): Replace with :withoutfont.
author Jason Rumney <jasonr@gnu.org>
date Tue, 04 Mar 2008 17:58:36 +0000
parents 170e1f16533d
children 61be4b6febb2
files nt/configure.bat
diffstat 1 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/nt/configure.bat	Tue Mar 04 17:34:22 2008 +0000
+++ b/nt/configure.bat	Tue Mar 04 17:58:36 2008 +0000
@@ -89,6 +89,7 @@
 set doldflags=
 set sep1=
 set sep2=
+set usefontbackend=Y
 
 rem ----------------------------------------------------------------------
 rem   Handle arguments.
@@ -108,7 +109,7 @@
 if "%1" == "--without-gif" goto withoutgif
 if "%1" == "--without-tiff" goto withouttiff
 if "%1" == "--without-xpm" goto withoutxpm
-if "%1" == "--enable-font-backend" goto withfont
+if "%1" == "--disable-font-backend" goto withoutfont
 if "%1" == "" goto checkutils
 :usage
 echo Usage: configure [options]
@@ -126,7 +127,7 @@
 echo.   --without-gif           do not use GIF library even if it is installed
 echo.   --without-tiff          do not use TIFF library even if it is installed
 echo.   --without-xpm           do not use XPM library even if it is installed
-echo.   --enable-font-backend   build with font backend support
+echo.   --disable-font-backend  build without font backend support
 goto end
 rem ----------------------------------------------------------------------
 :setprefix
@@ -213,10 +214,8 @@
 shift
 goto again
 
-:withfont
-set usercflags=%usercflags%%sep1%-DUSE_FONT_BACKEND
-set sep1= %nothing%
-set usefontbackend=Y
+:withoutfont
+set usefontbackend=N
 shift
 goto again