summaryrefslogtreecommitdiffstats
path: root/win/configure
diff options
context:
space:
mode:
authormdejong <mdejong>2001-06-23 02:10:28 (GMT)
committermdejong <mdejong>2001-06-23 02:10:28 (GMT)
commit4c83ad4f720faff0d1019bc4461b661a7d055b54 (patch)
tree4b75fd0e4755e4e618468bf032b3d66ecfa32ae6 /win/configure
parentecab41351347902bbdedb9e57931f7b7ff02abea (diff)
downloadtk-4c83ad4f720faff0d1019bc4461b661a7d055b54.zip
tk-4c83ad4f720faff0d1019bc4461b661a7d055b54.tar.gz
tk-4c83ad4f720faff0d1019bc4461b661a7d055b54.tar.bz2
* win/configure: Regen.
* win/configure.in: Add resource compiler fix from 8.3.3 to fix compiling with mingw.
Diffstat (limited to 'win/configure')
-rwxr-xr-xwin/configure14
1 files changed, 10 insertions, 4 deletions
diff --git a/win/configure b/win/configure
index 9599c9a..1ac97d1 100755
--- a/win/configure
+++ b/win/configure
@@ -1587,20 +1587,26 @@ CFG_TK_EXPORT_FILE_SUFFIX=${TK_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 -o $TCL_NEEDS_EXP_FILE = 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
TK_RES=""
else
if test "${DBGX}" = "d"; then
- RC_DEFINES="-d DEBUG"
+ RC_DEFINES="${RC_DEFINE_FLAG} DEBUG"
else
RC_DEFINES=""
fi
- TK_RES=tk.res
+ TK_RES='tk.$(RES)'
fi