Changeset 4220 for trunk/nt/configure.bat
- Timestamp:
- 04/04/08 22:04:40 (8 months ago)
- Files:
-
- trunk/nt/configure.bat (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/nt/configure.bat
r4207 r4220 3 3 rem Configuration script for MS Windows 95/98/Me and NT/2000/XP 4 4 rem Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 5 rem 2006, 2007 Free Software Foundation, Inc.5 rem 2006, 2007, 2008 Free Software Foundation, Inc. 6 6 7 7 rem This file is part of GNU Emacs. … … 9 9 rem GNU Emacs is free software; you can redistribute it and/or modify 10 10 rem it under the terms of the GNU General Public License as published by 11 rem the Free Software Foundation; either version 2, or (at your option)11 rem the Free Software Foundation; either version 3, or (at your option) 12 12 rem any later version. 13 13 … … 85 85 set COMPILER= 86 86 set usercflags= 87 set docflags= 87 88 set userldflags= 89 set doldflags= 88 90 set sep1= 89 91 set sep2= … … 119 121 echo. --cflags FLAG pass FLAG to compiler 120 122 echo. --ldflags FLAG pass FLAG to compiler when linking 121 echo. --without-png do not use libpngeven if it is installed122 echo. --without-jpeg do not use jpeg-6beven if it is installed123 echo. --without-gif do not use libungifeven if it is installed124 echo. --without-tiff do not use libtiffeven if it is installed125 echo. --without-xpm do not use libXpmeven if it is installed123 echo. --without-png do not use PNG library even if it is installed 124 echo. --without-jpeg do not use JPEG library even if it is installed 125 echo. --without-gif do not use GIF library even if it is installed 126 echo. --without-tiff do not use TIFF library even if it is installed 127 echo. --without-xpm do not use XPM library even if it is installed 126 128 goto end 127 129 rem ---------------------------------------------------------------------- … … 474 476 if (%nocygwin%) == (Y) echo NOCYGWIN=1 >>config.settings 475 477 if not "(%prefix%)" == "()" echo INSTALL_DIR=%prefix%>>config.settings 476 if not "(%usercflags%)" == "()" echo USER_CFLAGS=%usercflags%>>config.settings 477 if not "(%userldflags%)" == "()" echo USER_LDFLAGS=%userldflags%>>config.settings 478 rem We go thru docflags because usercflags could be "-DFOO=bar" -something 479 rem and the if command cannot cope with this 480 for %%v in (%usercflags%) do if not (%%v)==() set docflags=Y 481 if (%docflags%)==(Y) echo USER_CFLAGS=%usercflags%>>config.settings 482 for %%v in (%userldflags%) do if not (%%v)==() set doldflags=Y 483 if (%doldflags%)==(Y) echo USER_LDFLAGS=%userldflags%>>config.settings 478 484 echo # End of settings from configure.bat>>config.settings 479 485 echo. >>config.settings … … 482 488 echo. >>config.tmp 483 489 echo /* Start of settings from configure.bat. */ >>config.tmp 484 if not "(%usercflags%)" == "()"echo #define USER_CFLAGS " %usercflags%">>config.tmp485 if not "(%userldflags%)" == "()"echo #define USER_LDFLAGS " %userldflags%">>config.tmp490 if (%docflags%) == (Y) echo #define USER_CFLAGS " %usercflags%">>config.tmp 491 if (%doldflags%) == (Y) echo #define USER_LDFLAGS " %userldflags%">>config.tmp 486 492 if not "(%HAVE_PNG%)" == "()" echo #define HAVE_PNG 1 >>config.tmp 487 493 if not "(%HAVE_JPEG%)" == "()" echo #define HAVE_JPEG 1 >>config.tmp
