summaryrefslogtreecommitdiffstats
path: root/win/configure.in
diff options
context:
space:
mode:
authormdejong <mdejong>2001-06-26 00:56:44 (GMT)
committermdejong <mdejong>2001-06-26 00:56:44 (GMT)
commitd28dcbeb1eafcb1a59fb940457faf7de223b2dfd (patch)
treed5dd9a627c3357bf8895fa5c8d61d961ec820236 /win/configure.in
parent336e8436820ce00e27d90c50953c89e9e88e7246 (diff)
downloadtk-d28dcbeb1eafcb1a59fb940457faf7de223b2dfd.zip
tk-d28dcbeb1eafcb1a59fb940457faf7de223b2dfd.tar.gz
tk-d28dcbeb1eafcb1a59fb940457faf7de223b2dfd.tar.bz2
* win/configure: Regen.
* win/configure.in: Use RC_DEFINE flag from tcl.m4. * win/tcl.m4: Update from Tcl.
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 1dc0d76..ae8398f 100644
--- a/win/configure.in
+++ b/win/configure.in
@@ -2,7 +2,7 @@
# generate the file "configure", which is run during Tk installation
# to configure the system for the local environment.
#
-# RCS: @(#) $Id: configure.in,v 1.28 2001/06/23 02:10:28 mdejong Exp $
+# RCS: @(#) $Id: configure.in,v 1.29 2001/06/26 00:56:44 mdejong Exp $
AC_INIT(../generic/tk.h)
@@ -159,22 +159,16 @@ 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="${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
TK_RES=""
else
if test "${DBGX}" = "d"; then
- RC_DEFINES="${RC_DEFINE_FLAG} DEBUG"
+ RC_DEFINES="${RC_DEFINE} DEBUG"
else
RC_DEFINES=""
fi
@@ -237,6 +231,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(TK_RES)
AC_SUBST(RES)