From 81ab78cddb440b504fb58bd0a11718bd933c406d Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Tue, 26 Dec 2006 22:40:49 +0000 Subject: Uh Oh: Fix to properly set SH_FLAGS with 'igncr' if required as part of the nmake; I violated Murphy's nth law: thou shalt test fixes in an 'out of the box' configuration *not* in one's customized configuration. :( svn path=/trunk/; revision=20221 --- config.nmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config.nmake') diff --git a/config.nmake b/config.nmake index 4efbeeac4b..036f053875 100644 --- a/config.nmake +++ b/config.nmake @@ -249,6 +249,9 @@ GETTEXT_DIR=$(WIRESHARK_LIBS)\gettext-0.14.5 # Set the following mandatory commands to find the tools. # The easiest way is to use the corresponding packages from cygwin. +# Set up the path to the cygwin binaries +CYGWIN_PATH=c:\cygwin\bin + # command for a shell (cygwin's bash package recommended) SH_PROG=bash @@ -257,7 +260,7 @@ SH_PROG=bash # The following !IF results in the option being used only if it is available # since using it on bash version 3.1.6 (or earlier) is not required and # will cause an error message. -!if "$(SH_PROG)"=="bash" && [bash -c "set -o igncr" 2>nul: ] == 0 +!if "$(SH_PROG)"=="bash" && [$(CYGWIN_PATH)\bash -c "set -o igncr" 2>nul: ] == 0 SH_FLAGS=-o igncr !endif @@ -342,9 +345,6 @@ LOCAL_LDFLAGS=/DEBUG # Set PDB_FILE according to your VC++ version PDB_FILE=vc*.pdb -# Set up the path to the cygwin binaries -CYGWIN_PATH=c:\cygwin\bin - # # Optional: Use the User's Guide as the online help system # (currently experimental). -- cgit v1.2.3