comparison nt/configure.bat @ 90874:371f110b3369

Add --with-font-backend option.
author Jason Rumney <jasonr@gnu.org>
date Thu, 31 May 2007 01:24:44 +0000
parents d7172f202ab8
children 89d84c7c96af
comparison
equal deleted inserted replaced
90873:5aaf01af8883 90874:371f110b3369
104 if "%1" == "--without-png" goto withoutpng 104 if "%1" == "--without-png" goto withoutpng
105 if "%1" == "--without-jpeg" goto withoutjpeg 105 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]
112 echo Options: 113 echo Options:
113 echo. --prefix PREFIX install Emacs in directory PREFIX 114 echo. --prefix PREFIX install Emacs in directory PREFIX
121 echo. --without-png do not use libpng even if it is installed 122 echo. --without-png do not use libpng even if it is installed
122 echo. --without-jpeg do not use jpeg-6b even if it is installed 123 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
129 shift 131 shift
130 set prefix=%1 132 set prefix=%1
204 rem ---------------------------------------------------------------------- 206 rem ----------------------------------------------------------------------
205 207
206 :withoutxpm 208 :withoutxpm
207 set xpmsupport=N 209 set xpmsupport=N
208 set HAVE_XPM= 210 set HAVE_XPM=
211 shift
212 goto again
213
214 :withfont
215 set usercflags=%usercflags%%sep1%-DUSE_FONT_BACKEND
216 set usefontbackend=Y
209 shift 217 shift
210 goto again 218 goto again
211 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.
473 if (%noopt%) == (Y) echo NOOPT=1 >>config.settings 481 if (%noopt%) == (Y) echo NOOPT=1 >>config.settings
474 if (%nocygwin%) == (Y) echo NOCYGWIN=1 >>config.settings 482 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
481 copy config.nt config.tmp 490 copy config.nt config.tmp
482 echo. >>config.tmp 491 echo. >>config.tmp