diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-03-28 11:44:25 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-03-28 11:44:25 (GMT) |
commit | 3d4f035971accd19235c75811291ce1f150798de (patch) | |
tree | 1d172f235cb7256e46fd1eb63cf260a34c7e8804 /win | |
parent | 7387fa79447f5c555210e792e3365b5044f2615f (diff) | |
download | tk-3d4f035971accd19235c75811291ce1f150798de.zip tk-3d4f035971accd19235c75811291ce1f150798de.tar.gz tk-3d4f035971accd19235c75811291ce1f150798de.tar.bz2 |
set default MODULE_SCOPE=extern, in case no other value is determined
Diffstat (limited to 'win')
-rwxr-xr-x | win/configure | 5 | ||||
-rw-r--r-- | win/tcl.m4 | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/win/configure b/win/configure index 271bc3a..8bc626f 100755 --- a/win/configure +++ b/win/configure @@ -3239,6 +3239,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 @@ -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) |