summaryrefslogtreecommitdiffstats
path: root/win/configure.in
diff options
context:
space:
mode:
authormdejong <mdejong>2001-06-26 00:53:01 (GMT)
committermdejong <mdejong>2001-06-26 00:53:01 (GMT)
commit8f2d7d9c0c6cc1877c74aba39be24687c6791c32 (patch)
treeb1c5417a7814a3a65e5e28a3bb1f444c0d87b32f /win/configure.in
parent76c470b4acca3995b035a2d9443db97489aeb75e (diff)
downloadtcl-8f2d7d9c0c6cc1877c74aba39be24687c6791c32.zip
tcl-8f2d7d9c0c6cc1877c74aba39be24687c6791c32.tar.gz
tcl-8f2d7d9c0c6cc1877c74aba39be24687c6791c32.tar.bz2
* win/configure: Regen.
* win/configure.in: Use RC_DEFINE flag from tcl.m4. * win/tcl.m4 (SC_CONFIG_CFLAGS): Set RC_DEFINE flag based on the compiler in use.
Diffstat (limited to 'win/configure.in')
-rw-r--r--win/configure.in15
1 files changed, 5 insertions, 10 deletions
diff --git a/win/configure.in b/win/configure.in
index 7b7cb53..e763dae 100644
--- a/win/configure.in
+++ b/win/configure.in
@@ -2,7 +2,7 @@
# generate the file "configure", which is run during Tcl installation
# to configure the system for the local environment.
#
-# RCS: @(#) $Id: configure.in,v 1.33 2001/06/23 02:05:05 mdejong Exp $
+# RCS: @(#) $Id: configure.in,v 1.34 2001/06/26 00:53:01 mdejong Exp $
AC_INIT(../generic/tcl.h)
@@ -143,21 +143,15 @@ 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="${RC_DEFINE_FLAG} STATIC_BUILD ${RC_DEFINE_FLAG} DEBUG"
+ RC_DEFINES="${RC_DEFINE} STATIC_BUILD ${RC_DEFINE} DEBUG"
else
- RC_DEFINES="${RC_DEFINE_FLAG} STATIC_BUILD"
+ RC_DEFINES="${RC_DEFINE} STATIC_BUILD"
fi
else
if test "${DBGX}" = "d"; then
- RC_DEFINES="${RC_DEFINE_FLAG} DEBUG"
+ RC_DEFINES="${RC_DEFINE} DEBUG"
else
RC_DEFINES=""
fi
@@ -212,6 +206,7 @@ AC_SUBST(RC)
AC_SUBST(RC_OUT)
AC_SUBST(RC_TYPE)
AC_SUBST(RC_INCLUDE)
+AC_SUBST(RC_DEFINE)
AC_SUBST(RC_DEFINES)
AC_SUBST(RES)
AC_SUBST(LIBS)