diff options
| author | Karoly Lorentey | 2005-06-15 12:57:51 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-06-15 12:57:51 +0000 |
| commit | ef85512e51f043d73788f00a2aed13cccde0682c (patch) | |
| tree | fc1fa1378533250f260ef8eaa9a84ae882d9df84 /nt/configure.bat | |
| parent | 8736257554f49445f7b4402ac7a9436b38ce6452 (diff) | |
| parent | ef88a9999004e6c26148c8d280d6a41f623d7249 (diff) | |
| download | emacs-ef85512e51f043d73788f00a2aed13cccde0682c.tar.gz emacs-ef85512e51f043d73788f00a2aed13cccde0682c.zip | |
Merged from miles@gnu.org--gnu-2005 (patch 80-82, 350-422)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-350
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-351
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-352
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-353
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-354
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-355
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-356
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-357
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-358
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-359
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-360
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-361
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-362
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-363
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-364
Remove "-face" suffix from widget faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-365
Remove "-face" suffix from custom faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-366
Remove "-face" suffix from change-log faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-367
Remove "-face" suffix from compilation faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-368
Remove "-face" suffix from diff-mode faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-369
lisp/longlines.el (longlines-visible-face): Face removed
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-370
Remove "-face" suffix from woman faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-371
Remove "-face" suffix from whitespace-highlight face
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-372
Remove "-face" suffix from ruler-mode faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-373
Remove "-face" suffix from show-paren faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-374
Remove "-face" suffix from log-view faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-375
Remove "-face" suffix from smerge faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-376
Remove "-face" suffix from show-tabs faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-377
Remove "-face" suffix from highlight-changes faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-378
Remove "-face" suffix from and downcase info faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-379
Remove "-face" suffix from pcvs faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-380
Update uses of renamed pcvs faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-381
Tweak ChangeLog
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-382
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-383
Remove "-face" suffix from strokes-char face
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-384
Remove "-face" suffix from compare-windows face
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-385
Remove "-face" suffix from calendar faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-386
Remove "-face" suffix from diary-button face
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-387
Remove "-face" suffix from testcover faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-388
Remove "-face" suffix from viper faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-389
Remove "-face" suffix from org faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-390
Remove "-face" suffix from sgml-namespace face
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-391
Remove "-face" suffix from table-cell face
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-392
Remove "-face" suffix from tex-mode faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-393
Remove "-face" suffix from texinfo-heading face
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-394
Remove "-face" suffix from flyspell faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-395
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-396
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-397
Remove "-face" suffix from gomoku faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-398
Remove "-face" suffix from mpuz faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-399
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-400
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-401
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-402
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-403
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-404
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-405
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-406
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-407
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-408
Remove "-face" suffix from Buffer-menu-buffer face
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-409
Remove "-face" suffix from antlr-mode faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-410
Remove "-face" suffix from ebrowse faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-411
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-412
Remove "-face" suffix from flymake faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-413
Remove "-face" suffix from idlwave faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-414
Remove "-face" suffix from sh-script faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-415
Remove "-face" suffix from vhdl-mode faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-416
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-417
Remove "-face" suffix from which-func face
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-418
Remove "-face" suffix from cperl-mode faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-419
Remove "-face" suffix from ld-script faces
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-420
Fix cperl-mode font-lock problem
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-421
Tweak which-func face
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-422
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-80
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-81
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-82
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-350
Diffstat (limited to 'nt/configure.bat')
| -rwxr-xr-x | nt/configure.bat | 101 |
1 files changed, 79 insertions, 22 deletions
diff --git a/nt/configure.bat b/nt/configure.bat index 216420873c7..8433cacc317 100755 --- a/nt/configure.bat +++ b/nt/configure.bat | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | @echo off | 1 | @echo off |
| 2 | rem ---------------------------------------------------------------------- | 2 | rem ---------------------------------------------------------------------- |
| 3 | rem Configuration script for MS Windows 95/98/Me and NT/2000/XP | 3 | rem Configuration script for MS Windows 95/98/Me and NT/2000/XP |
| 4 | rem Copyright (C) 1999-2003 Free Software Foundation, Inc. | 4 | rem Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
| 5 | rem Free Software Foundation, Inc. | ||
| 5 | 6 | ||
| 6 | rem This file is part of GNU Emacs. | 7 | rem This file is part of GNU Emacs. |
| 7 | 8 | ||
| @@ -47,6 +48,8 @@ rem [3] requires LC_MESSAGES support to build; maybe 2.95.x update to | |||
| 47 | rem cygwin provides this? | 48 | rem cygwin provides this? |
| 48 | rem | 49 | rem |
| 49 | 50 | ||
| 51 | if exist config.log del config.log | ||
| 52 | |||
| 50 | rem ---------------------------------------------------------------------- | 53 | rem ---------------------------------------------------------------------- |
| 51 | rem See if the environment is large enough. We need 43 (?) bytes. | 54 | rem See if the environment is large enough. We need 43 (?) bytes. |
| 52 | set $foo$=123456789_123456789_123456789_123456789_123 | 55 | set $foo$=123456789_123456789_123456789_123456789_123 |
| @@ -236,13 +239,17 @@ if (%nocygwin%) == (Y) goto chkapi | |||
| 236 | echo Checking whether gcc requires '-mno-cygwin'... | 239 | echo Checking whether gcc requires '-mno-cygwin'... |
| 237 | echo #include "cygwin/version.h" >junk.c | 240 | echo #include "cygwin/version.h" >junk.c |
| 238 | echo main(){} >>junk.c | 241 | echo main(){} >>junk.c |
| 239 | gcc -c junk.c | 242 | echo gcc -c junk.c >>config.log |
| 243 | gcc -c junk.c >>config.log 2>&1 | ||
| 240 | if not exist junk.o goto chkapi | 244 | if not exist junk.o goto chkapi |
| 241 | gcc -mno-cygwin -c junk.c | 245 | echo gcc -mno-cygwin -c junk.c >>config.log |
| 246 | gcc -mno-cygwin -c junk.c >>config.log 2>&1 | ||
| 242 | if exist junk.o set nocygwin=Y | 247 | if exist junk.o set nocygwin=Y |
| 243 | rm -f junk.c junk.o | 248 | rm -f junk.c junk.o |
| 244 | 249 | ||
| 245 | :chkapi | 250 | :chkapi |
| 251 | echo The failed program was: >>config.log | ||
| 252 | type junk.c >>config.log | ||
| 246 | rem ---------------------------------------------------------------------- | 253 | rem ---------------------------------------------------------------------- |
| 247 | rem Older versions of the Windows API headers either don't have any of | 254 | rem Older versions of the Windows API headers either don't have any of |
| 248 | rem the IMAGE_xxx definitions (the headers that come with Cygwin b20.1 | 255 | rem the IMAGE_xxx definitions (the headers that come with Cygwin b20.1 |
| @@ -263,9 +270,13 @@ set cf=%usercflags% -mno-cygwin | |||
| 263 | :chkapi2 | 270 | :chkapi2 |
| 264 | echo on | 271 | echo on |
| 265 | gcc %cf% -c junk.c | 272 | gcc %cf% -c junk.c |
| 266 | echo off | 273 | @echo off |
| 274 | @echo gcc %cf% -c junk.c >>config.log | ||
| 275 | gcc %cf% -c junk.c >>config.log 2>&1 | ||
| 267 | set cf= | 276 | set cf= |
| 268 | if exist junk.o goto gccOk | 277 | if exist junk.o goto gccOk |
| 278 | echo The failed program was: >>config.log | ||
| 279 | type junk.c >>config.log | ||
| 269 | 280 | ||
| 270 | :nocompiler | 281 | :nocompiler |
| 271 | echo. | 282 | echo. |
| @@ -278,8 +289,23 @@ goto end | |||
| 278 | 289 | ||
| 279 | :gccOk | 290 | :gccOk |
| 280 | set COMPILER=gcc | 291 | set COMPILER=gcc |
| 281 | rm -f junk.c junk.o | ||
| 282 | echo Using 'gcc' | 292 | echo Using 'gcc' |
| 293 | rm -f junk.c junk.o | ||
| 294 | Rem It is not clear what GCC version began supporting -mtune | ||
| 295 | Rem and pentium4 on x86, so check this explicitly. | ||
| 296 | echo main(){} >junk.c | ||
| 297 | echo gcc -c -O2 -mtune=pentium4 junk.c >>config.log | ||
| 298 | gcc -c -O2 -mtune=pentium4 junk.c >>config.log 2>&1 | ||
| 299 | if not errorlevel 1 goto gccMtuneOk | ||
| 300 | echo The failed program was: >>config.log | ||
| 301 | type junk.c >>config.log | ||
| 302 | set mf=-mcpu=i686 | ||
| 303 | rm -f junk.c junk.o | ||
| 304 | goto compilercheckdone | ||
| 305 | :gccMtuneOk | ||
| 306 | echo GCC supports -mtune=pentium4 >>config.log | ||
| 307 | set mf=-mtune=pentium4 | ||
| 308 | rm -f junk.c junk.o | ||
| 283 | goto compilercheckdone | 309 | goto compilercheckdone |
| 284 | 310 | ||
| 285 | :clOk | 311 | :clOk |
| @@ -307,10 +333,13 @@ echo Checking for libpng... | |||
| 307 | echo #include "png.h" >junk.c | 333 | echo #include "png.h" >junk.c |
| 308 | echo main (){} >>junk.c | 334 | echo main (){} >>junk.c |
| 309 | rem -o option is ignored with cl, but allows result to be consistent. | 335 | rem -o option is ignored with cl, but allows result to be consistent. |
| 310 | %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >junk.out 2>junk.err | 336 | echo %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >>config.log |
| 337 | %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >junk.out 2>>config.log | ||
| 311 | if exist junk.obj goto havePng | 338 | if exist junk.obj goto havePng |
| 312 | 339 | ||
| 313 | echo ...png.h not found, building without PNG support. | 340 | echo ...png.h not found, building without PNG support. |
| 341 | echo The failed program was: >>config.log | ||
| 342 | type junk.c >>config.log | ||
| 314 | set HAVE_PNG= | 343 | set HAVE_PNG= |
| 315 | goto :pngDone | 344 | goto :pngDone |
| 316 | 345 | ||
| @@ -327,10 +356,13 @@ echo Checking for jpeg-6b... | |||
| 327 | echo #include "jconfig.h" >junk.c | 356 | echo #include "jconfig.h" >junk.c |
| 328 | echo main (){} >>junk.c | 357 | echo main (){} >>junk.c |
| 329 | rem -o option is ignored with cl, but allows result to be consistent. | 358 | rem -o option is ignored with cl, but allows result to be consistent. |
| 330 | %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >junk.out 2>junk.err | 359 | echo %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >>config.log |
| 360 | %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >junk.out 2>>config.log | ||
| 331 | if exist junk.obj goto haveJpeg | 361 | if exist junk.obj goto haveJpeg |
| 332 | 362 | ||
| 333 | echo ...jconfig.h not found, building without JPEG support. | 363 | echo ...jconfig.h not found, building without JPEG support. |
| 364 | echo The failed program was: >>config.log | ||
| 365 | type junk.c >>config.log | ||
| 334 | set HAVE_JPEG= | 366 | set HAVE_JPEG= |
| 335 | goto :jpegDone | 367 | goto :jpegDone |
| 336 | 368 | ||
| @@ -347,10 +379,13 @@ echo Checking for libgif... | |||
| 347 | echo #include "gif_lib.h" >junk.c | 379 | echo #include "gif_lib.h" >junk.c |
| 348 | echo main (){} >>junk.c | 380 | echo main (){} >>junk.c |
| 349 | rem -o option is ignored with cl, but allows result to be consistent. | 381 | rem -o option is ignored with cl, but allows result to be consistent. |
| 350 | %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >junk.out 2>junk.err | 382 | echo %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >>config.log |
| 383 | %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >junk.out 2>>config.log | ||
| 351 | if exist junk.obj goto haveGif | 384 | if exist junk.obj goto haveGif |
| 352 | 385 | ||
| 353 | echo ...gif_lib.h not found, building without GIF support. | 386 | echo ...gif_lib.h not found, building without GIF support. |
| 387 | echo The failed program was: >>config.log | ||
| 388 | type junk.c >>config.log | ||
| 354 | set HAVE_GIF= | 389 | set HAVE_GIF= |
| 355 | goto :gifDone | 390 | goto :gifDone |
| 356 | 391 | ||
| @@ -367,10 +402,13 @@ echo Checking for tiff... | |||
| 367 | echo #include "tiffio.h" >junk.c | 402 | echo #include "tiffio.h" >junk.c |
| 368 | echo main (){} >>junk.c | 403 | echo main (){} >>junk.c |
| 369 | rem -o option is ignored with cl, but allows result to be consistent. | 404 | rem -o option is ignored with cl, but allows result to be consistent. |
| 370 | %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >junk.out 2>junk.err | 405 | echo %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >>config.log |
| 406 | %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >junk.out 2>>config.log | ||
| 371 | if exist junk.obj goto haveTiff | 407 | if exist junk.obj goto haveTiff |
| 372 | 408 | ||
| 373 | echo ...tiffio.h not found, building without TIFF support. | 409 | echo ...tiffio.h not found, building without TIFF support. |
| 410 | echo The failed program was: >>config.log | ||
| 411 | type junk.c >>config.log | ||
| 374 | set HAVE_TIFF= | 412 | set HAVE_TIFF= |
| 375 | goto :tiffDone | 413 | goto :tiffDone |
| 376 | 414 | ||
| @@ -388,10 +426,13 @@ echo #define FOR_MSW 1 >junk.c | |||
| 388 | echo #include "X11/xpm.h" >>junk.c | 426 | echo #include "X11/xpm.h" >>junk.c |
| 389 | echo main (){} >>junk.c | 427 | echo main (){} >>junk.c |
| 390 | rem -o option is ignored with cl, but allows result to be consistent. | 428 | rem -o option is ignored with cl, but allows result to be consistent. |
| 391 | %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >junk.out 2>junk.err | 429 | echo %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >>config.log |
| 430 | %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >junk.out 2>>config.log | ||
| 392 | if exist junk.obj goto haveXpm | 431 | if exist junk.obj goto haveXpm |
| 393 | 432 | ||
| 394 | echo ...X11/xpm.h not found, building without XPM support. | 433 | echo ...X11/xpm.h not found, building without XPM support. |
| 434 | echo The failed program was: >>config.log | ||
| 435 | type junk.c >>config.log | ||
| 395 | set HAVE_XPM= | 436 | set HAVE_XPM= |
| 396 | goto :xpmDone | 437 | goto :xpmDone |
| 397 | 438 | ||
| @@ -414,6 +455,7 @@ rem except when there is a preceding digit, when a space is required. | |||
| 414 | rem | 455 | rem |
| 415 | echo # Start of settings from configure.bat >config.settings | 456 | echo # Start of settings from configure.bat >config.settings |
| 416 | echo COMPILER=%COMPILER%>>config.settings | 457 | echo COMPILER=%COMPILER%>>config.settings |
| 458 | if not "(%mf%)" == "()" echo MCPU_FLAG=%mf%>>config.settings | ||
| 417 | if (%nodebug%) == (Y) echo NODEBUG=1 >>config.settings | 459 | if (%nodebug%) == (Y) echo NODEBUG=1 >>config.settings |
| 418 | if (%noopt%) == (Y) echo NOOPT=1 >>config.settings | 460 | if (%noopt%) == (Y) echo NOOPT=1 >>config.settings |
| 419 | if (%nocygwin%) == (Y) echo NOCYGWIN=1 >>config.settings | 461 | if (%nocygwin%) == (Y) echo NOCYGWIN=1 >>config.settings |
| @@ -423,20 +465,34 @@ if not "(%userldflags%)" == "()" echo USER_LDFLAGS=%userldflags%>>config.setting | |||
| 423 | echo # End of settings from configure.bat>>config.settings | 465 | echo # End of settings from configure.bat>>config.settings |
| 424 | echo. >>config.settings | 466 | echo. >>config.settings |
| 425 | 467 | ||
| 426 | copy config.nt ..\src\config.h | 468 | copy config.nt config.tmp |
| 427 | echo. >>..\src\config.h | 469 | echo. >>config.tmp |
| 428 | echo /* Start of settings from configure.bat. */ >>..\src\config.h | 470 | echo /* Start of settings from configure.bat. */ >>config.tmp |
| 429 | if not "(%usercflags%)" == "()" echo #define USER_CFLAGS " %usercflags%">>..\src\config.h | 471 | if not "(%usercflags%)" == "()" echo #define USER_CFLAGS " %usercflags%">>config.tmp |
| 430 | if not "(%userldflags%)" == "()" echo #define USER_LDFLAGS " %userldflags%">>..\src\config.h | 472 | if not "(%userldflags%)" == "()" echo #define USER_LDFLAGS " %userldflags%">>config.tmp |
| 431 | if not "(%HAVE_PNG%)" == "()" echo #define HAVE_PNG 1 >>..\src\config.h | 473 | if not "(%HAVE_PNG%)" == "()" echo #define HAVE_PNG 1 >>config.tmp |
| 432 | if not "(%HAVE_JPEG%)" == "()" echo #define HAVE_JPEG 1 >>..\src\config.h | 474 | if not "(%HAVE_JPEG%)" == "()" echo #define HAVE_JPEG 1 >>config.tmp |
| 433 | if not "(%HAVE_GIF%)" == "()" echo #define HAVE_GIF 1 >>..\src\config.h | 475 | if not "(%HAVE_GIF%)" == "()" echo #define HAVE_GIF 1 >>config.tmp |
| 434 | if not "(%HAVE_TIFF%)" == "()" echo #define HAVE_TIFF 1 >>..\src\config.h | 476 | if not "(%HAVE_TIFF%)" == "()" echo #define HAVE_TIFF 1 >>config.tmp |
| 435 | if not "(%HAVE_XPM%)" == "()" echo #define HAVE_XPM 1 >>..\src\config.h | 477 | if not "(%HAVE_XPM%)" == "()" echo #define HAVE_XPM 1 >>config.tmp |
| 436 | echo /* End of settings from configure.bat. */ >>..\src\config.h | 478 | echo /* End of settings from configure.bat. */ >>config.tmp |
| 437 | 479 | ||
| 480 | Rem See if fc.exe returns a meaningful exit status. If it does, we | ||
| 481 | Rem might as well avoid unnecessary overwriting of config.h and epaths.h, | ||
| 482 | Rem since this forces recompilation of every source file. | ||
| 483 | if exist foo.bar del foo.bar | ||
| 484 | fc /b foo.bar foo.bar >nul 2>&1 | ||
| 485 | if not errorlevel 2 goto doCopy | ||
| 486 | fc /b config.tmp ..\src\config.h >nul 2>&1 | ||
| 487 | if errorlevel 1 goto doCopy | ||
| 488 | fc /b paths.h ..\src\epaths.h >nul 2>&1 | ||
| 489 | if errorlevel 0 goto dontCopy | ||
| 490 | :doCopy | ||
| 491 | copy config.tmp ..\src\config.h | ||
| 438 | copy paths.h ..\src\epaths.h | 492 | copy paths.h ..\src\epaths.h |
| 439 | 493 | ||
| 494 | :dontCopy | ||
| 495 | if exist config.tmp del config.tmp | ||
| 440 | copy /b config.settings+%MAKECMD%.defs+..\nt\makefile.w32-in ..\nt\makefile | 496 | copy /b config.settings+%MAKECMD%.defs+..\nt\makefile.w32-in ..\nt\makefile |
| 441 | copy /b config.settings+%MAKECMD%.defs+..\lib-src\makefile.w32-in ..\lib-src\makefile | 497 | copy /b config.settings+%MAKECMD%.defs+..\lib-src\makefile.w32-in ..\lib-src\makefile |
| 442 | copy /b config.settings+%MAKECMD%.defs+..\src\makefile.w32-in ..\src\makefile | 498 | copy /b config.settings+%MAKECMD%.defs+..\src\makefile.w32-in ..\src\makefile |
| @@ -474,6 +530,7 @@ set MAKECMD= | |||
| 474 | set usercflags= | 530 | set usercflags= |
| 475 | set userldflags= | 531 | set userldflags= |
| 476 | set mingwflag= | 532 | set mingwflag= |
| 533 | set mf= | ||
| 477 | 534 | ||
| 478 | goto skipArchTag | 535 | goto skipArchTag |
| 479 | arch-tag: 300d20a4-1675-4e75-b615-7ce1a8c5376c | 536 | arch-tag: 300d20a4-1675-4e75-b615-7ce1a8c5376c |