]> git.eshelyaron.com Git - emacs.git/commitdiff
Add --with-font-backend option.
authorJason Rumney <jasonr@gnu.org>
Thu, 31 May 2007 01:24:44 +0000 (01:24 +0000)
committerJason Rumney <jasonr@gnu.org>
Thu, 31 May 2007 01:24:44 +0000 (01:24 +0000)
nt/configure.bat

index 2ff901864455a99bb06846c93e2bbff759c64ca7..10d45f76682c4b5ce16f97a5a3ac37b857af2e8f 100755 (executable)
@@ -106,6 +106,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" == "--with-font-backend" goto withfont\r
 if "%1" == "" goto checkutils\r
 :usage\r
 echo Usage: configure [options]\r
@@ -123,6 +124,7 @@ echo.   --without-jpeg          do not use jpeg-6b even if it is installed
 echo.   --without-gif           do not use libungif even if it is installed\r
 echo.   --without-tiff          do not use libtiff even if it is installed\r
 echo.   --without-xpm           do not use libXpm even if it is installed\r
+echo.   --with-font-backend     use the experimental font backend\r
 goto end\r
 rem ----------------------------------------------------------------------\r
 :setprefix\r
@@ -209,6 +211,12 @@ set HAVE_XPM=
 shift\r
 goto again\r
 \r
+:withfont\r
+set usercflags=%usercflags%%sep1%-DUSE_FONT_BACKEND\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
@@ -475,6 +483,7 @@ if (%nocygwin%) == (Y) echo NOCYGWIN=1 >>config.settings
 if not "(%prefix%)" == "()" echo INSTALL_DIR=%prefix%>>config.settings\r
 if not "(%usercflags%)" == "()" echo USER_CFLAGS=%usercflags%>>config.settings\r
 if not "(%userldflags%)" == "()" 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