summaryrefslogtreecommitdiffstats
path: root/win/configure
diff options
context:
space:
mode:
authormdejong <mdejong>2001-06-23 02:05:05 (GMT)
committermdejong <mdejong>2001-06-23 02:05:05 (GMT)
commit0cd74165f6ff9c88b56ceb9fa36e735b63e53e92 (patch)
treefb0bbdbea2ef3b35557320cebcebf7e2e8accea1 /win/configure
parent8e8f33e912a857a24726b8ce00c16008db376cc9 (diff)
downloadtcl-0cd74165f6ff9c88b56ceb9fa36e735b63e53e92.zip
tcl-0cd74165f6ff9c88b56ceb9fa36e735b63e53e92.tar.gz
tcl-0cd74165f6ff9c88b56ceb9fa36e735b63e53e92.tar.bz2
* win/configure:
* win/configure.in: Add resource compiler fix from 8.3.3 to fix compiling with mingw.
Diffstat (limited to 'win/configure')
-rwxr-xr-xwin/configure12
1 files changed, 9 insertions, 3 deletions
diff --git a/win/configure b/win/configure
index 3f84afa..1c8d0d3 100755
--- a/win/configure
+++ b/win/configure
@@ -1490,15 +1490,21 @@ CFG_TCL_EXPORT_FILE_SUFFIX=${TCL_EXPORT_FILE_SUFFIX}
# on symbols and static vs. shared.
#--------------------------------------------------------------------
+if test "${GCC}" = "yes" ; then
+ RC_DEFINE_FLAG=--define
+else
+ RC_DEFINE_FLAG=-d
+fi
+
if test ${SHARED_BUILD} = 0 ; then
if test "${DBGX}" = "d"; then
- RC_DEFINES="-d STATIC_BUILD -d DEBUG"
+ RC_DEFINES="${RC_DEFINE_FLAG} STATIC_BUILD ${RC_DEFINE_FLAG} DEBUG"
else
- RC_DEFINES="-d STATIC_BUILD"
+ RC_DEFINES="${RC_DEFINE_FLAG} STATIC_BUILD"
fi
else
if test "${DBGX}" = "d"; then
- RC_DEFINES="-d DEBUG"
+ RC_DEFINES="${RC_DEFINE_FLAG} DEBUG"
else
RC_DEFINES=""
fi