diff options
| author | apnadkarni <apnmbx-wits@yahoo.com> | 2017-12-26 03:30:22 (GMT) |
|---|---|---|
| committer | apnadkarni <apnmbx-wits@yahoo.com> | 2017-12-26 03:30:22 (GMT) |
| commit | 82cd662f00327eb89fa2951c3f343112b6150e36 (patch) | |
| tree | de9461c938e6b302add11cb6f85fc25194a34ac5 | |
| parent | f2f7b85f8842e6ba235d539e1d3d53a2a83f549e (diff) | |
| download | tcl-82cd662f00327eb89fa2951c3f343112b6150e36.zip tcl-82cd662f00327eb89fa2951c3f343112b6150e36.tar.gz tcl-82cd662f00327eb89fa2951c3f343112b6150e36.tar.bz2 | |
Safer to compare TCLDIR against "" rather than ifdef as recursive nmakes
can pass TCLDIR as defined but with an empty value.
| -rw-r--r-- | win/rules-ext.vc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rules-ext.vc b/win/rules-ext.vc index 58c70fa..531e070 100644 --- a/win/rules-ext.vc +++ b/win/rules-ext.vc @@ -35,7 +35,7 @@ macro to the name of the project makefile. !endif
# First locate the Tcl directory that we are working with.
-!ifdef TCLDIR
+!if "$(TCLDIR)" != ""
_RULESDIR = $(TCLDIR:/=\)
|
