*** tcl.m4.orig	Mon Jul  5 12:18:06 2010
--- tcl.m4	Mon Jul  5 12:18:40 2010
***************
*** 1918,1923 ****
--- 1918,1924 ----
  	    AS_IF([test "$tcl_cv_cc_visibility_hidden" != yes], [
  		AC_DEFINE(MODULE_SCOPE, [__private_extern__],
  		    [Compiler support for module scope symbols])
+ 		tcl_cv_cc_visibility_hidden=yes
  	    ])
  	    CC_SEARCH_FLAGS=""
  	    LD_SEARCH_FLAGS=""
***************
*** 2290,2295 ****
--- 2291,2302 ----
  	    *) SHLIB_CFLAGS="-fPIC" ;;
  	esac])
  
+     AS_IF([test "$tcl_cv_cc_visibility_hidden" != yes], [
+ 	AC_DEFINE(MODULE_SCOPE, [extern],
+ 	    [No Compiler support for module scope symbols])
+ 	AC_DEFINE(NO_VIZ)
+     ])
+ 
      AS_IF([test "$SHARED_LIB_SUFFIX" = ""], [
  	# TEA specific: use PACKAGE_VERSION instead of VERSION
  	SHARED_LIB_SUFFIX='${PACKAGE_VERSION}${SHLIB_SUFFIX}'])
