Bwidget Source Code
Check-in [3aa1e4f1af]
Not logged in
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Updated to reflect recent TEA changes
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3aa1e4f1afc1cbb1d8ed4028c9cd546ebcafc252
User & Date: wart 2000-01-24 22:38:01
Context
2000-01-25
01:00
Added support for building under Win95/98 using cygwin check-in: a3b649673d user: wart tags: trunk
2000-01-24
22:38
Updated to reflect recent TEA changes check-in: 3aa1e4f1af user: wart tags: trunk
22:24
Updated to reflect recent TEA changes check-in: 7c8eeb5052 user: wart tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to tcl.m4.

   387    387   
   388    388       if test "$tcl_ok" = "yes"; then
   389    389   	TCL_THREADS=1
   390    390   	AC_DEFINE(TCL_THREADS)
   391    391   	AC_DEFINE(_REENTRANT)
   392    392   
   393    393   	case "`uname -s`" in
   394         -	    *win32* | *WIN32* | *CYGWIN_NT*)
          394  +	    *win32* | *WIN32* | *CYGWIN_NT* | *CYGWIN_98* | *CYGWIN_95*)
   395    395   		    AC_MSG_RESULT(yes)
   396    396   		;;
   397    397   	    *)
   398    398   		AC_CHECK_LIB(pthread,pthread_mutex_init,tcl_ok=yes,tcl_ok=no)
   399    399   		if test "$tcl_ok" = "yes"; then
   400    400   		    # The space is needed
   401    401   		    THREADS_LIBS=" -lpthread"
................................................................................
   440    440   #				Sets to LDFLAGS_OPTIMIZE if false
   441    441   #		DBGX		Debug library extension
   442    442   #
   443    443   #------------------------------------------------------------------------
   444    444   
   445    445   AC_DEFUN(SC_ENABLE_SYMBOLS, [
   446    446       case "`uname -s`" in
   447         -	*win32* | *WIN32* | *CYGWIN_NT*)
          447  +	*win32* | *WIN32* | *CYGWIN_NT* | *CYGWIN_98* | *CYGWIN_95*)
   448    448   	    tcl_dbgx=d
   449    449   	;;
   450    450   	*)
   451    451   	    tcl_dbgx=g
   452    452   	;;
   453    453       esac
   454    454   
................................................................................
   658    658   	    SHLIB_LD_LIBS='${LIBS}'
   659    659   	    SHLIB_SUFFIX=".so"
   660    660   	    DL_OBJS="tclLoadDl.o"
   661    661   	    DL_LIBS="-ldl"
   662    662   	    LDFLAGS="-export-dynamic"
   663    663   	    LD_SEARCH_FLAGS=""
   664    664   	    ;;
   665         -	*win32*|*WIN32*|CYGWIN_NT*|cygwin_nt*)
          665  +	*win32*|*WIN32*|CYGWIN_NT*|cygwin_nt*|*CYGWIN_98*|*CYGWIN_95*)
   666    666   	    CFLAGS_DEBUG="-nologo -Z7 -Od -WX ${runtime}d"
   667    667   	    CFLAGS_OPTIMIZE="-nologo -Oti -Gs -GD ${runtime}"
   668    668   	    LDFLAGS_CONSOLE="-subsystem:console"
   669    669   	    LDFLAGS_WINDOW="-subsystem:windows"
   670    670   	    LDFLAGS_DEBUG="-debug:full -debugtype:cv"
   671    671   	    LDFLAGS_OPTIMIZE="-release"
   672    672   	    EXTRA_CFLAGS="-YX"
................................................................................
  1788   1788   #		MAKE_SHARED_LIB	Makefile rule for building a shared library
  1789   1789   #		MAKE_UNSHARED_LIB	Makefile rule for building a static
  1790   1790   #				library
  1791   1791   #------------------------------------------------------------------------
  1792   1792   
  1793   1793   AC_DEFUN(SC_MAKE_LIB, [
  1794   1794       case "`uname -s`" in
  1795         -	*win32* | *WIN32* | *CYGWIN_NT*)
         1795  +	*win32* | *WIN32* | *CYGWIN_NT* |*CYGWIN_98*|*CYGWIN_95*)
  1796   1796   	    if test "${CC-cc}" = "cl"; then
  1797   1797   		MAKE_STATIC_LIB="\${STLIB_LD} -out:\[$]@ \$(\[$]@_OBJECTS) "
  1798   1798   		MAKE_SHARED_LIB="\${SHLIB_LD} \${SHLIB_LDFLAGS} \${SHLIB_LD_LIBS} \$(LDFLAGS) -out:\[$]@ \$(\[$]@_OBJECTS) "
  1799   1799   	    fi
  1800   1800   	    ;;
  1801   1801   	*)
  1802   1802   	    MAKE_STATIC_LIB="\${STLIB_LD} \[$]@ \$(\[$]@_OBJECTS)"
................................................................................
  1875   1875   	    $1_LIB_NAME=`basename $i`
  1876   1876   	    $1_LIB_PATH_NAME=$i
  1877   1877   	    break
  1878   1878   	fi
  1879   1879       done
  1880   1880   
  1881   1881       case "`uname -s`" in
  1882         -	*win32* | *WIN32* | *CYGWIN_NT*)
         1882  +	*win32* | *WIN32* | *CYGWIN_NT* |*CYGWIN_98*|*CYGWIN_95*)
  1883   1883   	    $1_LIB_SPEC=\"`${CYGPATH} ${$1_LIB_PATH_NAME}`\"
  1884   1884   	    ;;
  1885   1885   	*)
  1886   1886   	    # Strip off the leading "lib" and trailing ".a" or ".so"
  1887   1887   
  1888   1888   	    sc_lib_name_lib=`echo ${$1_LIB_NAME}|sed -e 's/^lib//' -e 's/\.[[^.]]*$//'`
  1889   1889   	    $1_LIB_SPEC="-L${sc_lib_name_dir} -l${sc_lib_name_lib}"
................................................................................
  1921   1921   #		TCL_INCLUDES
  1922   1922   #------------------------------------------------------------------------
  1923   1923   
  1924   1924   AC_DEFUN(SC_PRIVATE_TCL_HEADERS, [
  1925   1925       AC_MSG_CHECKING(for Tcl private include files)
  1926   1926   
  1927   1927       case "`uname -s`" in
  1928         -	*win32* | *WIN32* | *CYGWIN_NT*)
         1928  +	*win32* | *WIN32* | *CYGWIN_NT* |*CYGWIN_98*|*CYGWIN_95*)
  1929   1929   	    TCL_TOP_DIR_NATIVE=\"`${CYGPATH} ${TCL_SRC_DIR}/..`\"
  1930   1930   	    TCL_GENERIC_DIR_NATIVE=\"`${CYGPATH} ${TCL_SRC_DIR}/../generic`\"
  1931   1931   	    TCL_UNIX_DIR_NATIVE=\"`${CYGPATH} ${TCL_SRC_DIR}/../unix`\"
  1932   1932   	    TCL_WIN_DIR_NATIVE=\"`${CYGPATH} ${TCL_SRC_DIR}/../win`\"
  1933   1933   	    TCL_BMAP_DIR_NATIVE=\"`${CYGPATH} ${TCL_SRC_DIR}/../bitmaps`\"
  1934   1934   	    TCL_TOOL_DIR_NATIVE=\"`${CYGPATH} ${TCL_SRC_DIR}/../tools`\"
  1935   1935   	    TCL_COMPAT_DIR_NATIVE=\"`${CYGPATH} ${TCL_SRC_DIR}/../compat`\"
................................................................................
  2047   2047   #		TK_INCLUDES
  2048   2048   #------------------------------------------------------------------------
  2049   2049   
  2050   2050   AC_DEFUN(SC_PRIVATE_TK_HEADERS, [
  2051   2051       AC_MSG_CHECKING(for Tk private include files)
  2052   2052   
  2053   2053       case "`uname -s`" in
  2054         -	*win32* | *WIN32* | *CYGWIN_NT*)
         2054  +	*win32* | *WIN32* | *CYGWIN_NT* |*CYGWIN_98*|*CYGWIN_95*)
  2055   2055   	    TK_UNIX_DIR_NATIVE=\"`${CYGPATH} ${TK_SRC_DIR}/../unix`\"
  2056   2056   	    TK_WIN_DIR_NATIVE=\"`${CYGPATH} ${TK_SRC_DIR}/../win`\"
  2057   2057   	    TK_GENERIC_DIR_NATIVE=\"`${CYGPATH} ${TK_SRC_DIR}/../generic`\"
  2058   2058   	    TK_XLIB_DIR_NATIVE=\"`${CYGPATH} ${TK_SRC_DIR}/../xlib`\"
  2059   2059   	    TK_PLATFORM_DIR_NATIVE=${TK_WIN_DIR_NATIVE}
  2060   2060   
  2061   2061   	    TK_INCLUDES="-I${TK_GENERIC_DIR_NATIVE} -I${TK_PLATFORM_DIR_NATIVE} -I${TK_XLIB_DIR_NATIVE}"
................................................................................
  2164   2164   #		EXEEXT
  2165   2165   #------------------------------------------------------------------------
  2166   2166   
  2167   2167   AC_DEFUN(SC_SIMPLE_EXEEXT, [
  2168   2168       AC_MSG_CHECKING(executable extension based on host type)
  2169   2169   
  2170   2170       case "`uname -s`" in
  2171         -	*win32* | *WIN32* | *CYGWIN_NT*)
         2171  +	*win32* | *WIN32* | *CYGWIN_NT* |*CYGWIN_98*|*CYGWIN_95*)
  2172   2172   	    EXEEXT=".exe"
  2173   2173   	;;
  2174   2174   	*)
  2175   2175   	    EXEEXT=""
  2176   2176   	;;
  2177   2177       esac
  2178   2178