summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-28 11:40:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-28 11:40:35 (GMT)
commit8c516639abe302098e2202d7824bd9a23f8ca532 (patch)
tree21f56eae1643f8e1d52c3cdc18d3d0cc9cae1f13 /win
parentaff97042289b6c2c5fd35cb8413deca7054ab0a7 (diff)
downloadtcl-8c516639abe302098e2202d7824bd9a23f8ca532.zip
tcl-8c516639abe302098e2202d7824bd9a23f8ca532.tar.gz
tcl-8c516639abe302098e2202d7824bd9a23f8ca532.tar.bz2
set default MODULE_SCOPE=extern, in case no other value is determined
Diffstat (limited to 'win')
-rwxr-xr-xwin/configure5
-rw-r--r--win/tcl.m41
2 files changed, 6 insertions, 0 deletions
diff --git a/win/configure b/win/configure
index e505fb2..d1d50e2 100755
--- a/win/configure
+++ b/win/configure
@@ -3932,6 +3932,11 @@ echo "${ECHO_T}$CELIB_DIR" >&6
# Set some defaults (may get changed below)
EXTRA_CFLAGS=""
+cat >>confdefs.h <<\_ACEOF
+#define MODULE_SCOPE extern
+_ACEOF
+
+
# Extract the first word of "cygpath", so it can be a program name with args.
set dummy cygpath; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
diff --git a/win/tcl.m4 b/win/tcl.m4
index 51498d6..6e3f3f9 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -402,6 +402,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
# Set some defaults (may get changed below)
EXTRA_CFLAGS=""
+ AC_DEFINE(MODULE_SCOPE, [extern], [No need to mark inidividual symbols as hidden])
AC_CHECK_PROG(CYGPATH, cygpath, cygpath -w, echo)