12010-08-16 Jeff Hobbs <jeffh@ActiveState.com> 2 3 *** Bump to TEA_VERSION 3.9 *** 4 If upgrading from TEA_VERSION 3.8, copy over tcl.m4, change 5 TEA_INIT to use 3.9 and reconfigure (ac-2.59+). 6 BUILD_${PACKAGE_NAME} will be auto-defined on Windows for 7 correct setting of TCL_STORAGE_CLASS. 8 TEA_LOAD_CONFIG users should remove the SHLIB_LD_LIBS setting done 9 in configure.in (LIBS will be automagically populated by 10 TEA_LOAD_CONFIG). 11 TEA_EXPORT_CONFIG has been added for ${pkg}Config.sh creators 12 SHLIB_LD_FLAGS was deprecated a while ago, remove it if it is 13 still in your Makefile.in. 14 15 * tcl.m4: add /usr/lib64 to set of auto-search dirs. [Bug 1230554] 16 Auto-define BUILD_$PACKAGE_NAME so users don't need to. This 17 needs to correspond with $pkg.h define magic for TCL_STORAGE_CLASS. 18 Auto-define CLEANFILES. Users can expand it. 19 (SHLIB_LD_LIBS): define to '${LIBS}' default and change it only if 20 necessary. Platforms not using this may simply not work or have 21 very funky linkers. 22 (TEA_LOAD_CONFIG): When loading config for another extension, 23 auto-add stub libraries found with TEA_ADD_LIBS. Eases 24 configure.in for modules like itk and img::*. 25 (TEA_EXPORT_CONFIG): Add standardized function for exporting a 26 ${pkg}Config.sh. See use by img::* and itcl. 27 282010-08-12 Jeff Hobbs <jeffh@ActiveState.com> 29 30 *** Bump to TEA_VERSION 3.8 *** 31 If upgrading from TEA_VERSION 3.7, copy over tcl.m4, change 32 TEA_INIT to use 3.8 and reconfigure (ac-2.59+). 33 No other changes should be necessary. 34 35 * tcl.m4: remove more vestigial bits from removed platforms. 36 Add back SCO_SV-3.2*. 37 Remove use of DL_LIBS and DL_OBJS and related baggage - these are 38 only needed by the core to support 'load'. 39 Allow for macosx in TEA_ADD_SOURCES. 40 Correct check for found_xincludes=no in TEA_PATH_UNIX_X. 41 422010-08-11 Jeff Hobbs <jeffh@ActiveState.com> 43 44 * tcl.m4: remove the following old platform configurations: 45 UNIX_SV*|UnixWare-5*, SunOS-4.*, SINIX*5.4*, SCO_SV-3.2*<readded>, 46 OSF1-1.*, NEXTSTEP-*, NetBSD-1.*|FreeBSD-[[1-2]].*, MP-RAS-*, 47 IRIX-5.*, HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*, dgux*, 48 BSD/OS-2.1*|BSD/OS-3* 49 (AIX): drop AIX-pre4 support and use of ldAix, use -bexpall/-brtl 50 512010-07-05 Jan Nijtmans <nijtmans@users.sf.net> 52 53 * tcl.m4: [Patch #1055668] removal of exported internals from 54 tclInt.h (EXTERN macro) 55 562010-04-14 Jan Nijtmans <nijtmans@users.sf.net> 57 58 * tcl.m4 - Backport a lot of quoting fixes from tcl8.6/unix/tcl.m4 59 - Fix determination of CYGPATH for CYGWIN 60 With those fixes, itcl and tdbc compile fine with CYGWIN 61 622010-04-06 Jan Nijtmans <nijtmans@users.sf.net> 63 64 * install-sh [Bug 2982540] configure and install* script files 65 should always have LF 66 672010-02-19 Stuart Cassoff <stwo@users.sourceforge.net> 68 69 * tcl.m4: Correct compiler/linker flags for threaded builds on 70 OpenBSD. 71 722010-01-19 Jan Nijtmans <nijtmans@users.sf.net> 73 74 * tcl.m4: Detect CYGWIN variant: win32 or unix 75 762010-01-03 Donal K. Fellows <dkf@users.sf.net> 77 78 * unix/tcl.m4 (TEA_CONFIG_CFLAGS): [Tcl Bug 1636685]: Use the 79 configuration for modern FreeBSD suggested by the FreeBSD porter. 80 812009-10-22 Jan Nijtmans <nijtmans@users.sf.net> 82 83 * tcl.m4: [Tcl Patch #2883533] tcl.m4 support for Haiku OS 84 852009-04-27 Jeff Hobbs <jeffh@ActiveState.com> 86 87 * tcl.m4 (TEA_CONFIG_CFLAGS): harden the check to add _r to CC on 88 AIX with threads. 89 902009-04-10 Daniel Steffen <das@users.sourceforge.net> 91 92 * tcl.m4 (Darwin): check for 64-bit TkAqua. 93 942009-03-26 Jan Nijtmans <nijtmans@users.sf.net> 95 96 * tclconfig/tcl.m4: Adapt LDFLAGS and LD_SEARCH_FLAGS 97 together with SHLIB_LD definition to unbreak building on HPUX. 98 992009-03-20 Andreas Kupries <andreask@activestate.com> 100 101 * tclconfig/tcl.m4: Changed SHLIB_LD definition to unbreak 102 building on HPUX. 103 1042009-03-16 Joe English <jenglish@users.sourceforge.net> 105 106 * tcl.m4(TEA_PUBLIC_TK_HEADERS): Look at ${TK_INCLUDE_SPEC} 107 (found in tkConfig.sh) when trying to guess where tk.h might be 108 [Patch 1960628]. 109 1102009-03-11 Joe English <jenglish@users.sourceforge.net> 111 112 * tcl.m4: Allow ${SHLIB_SUFFIX} to be overridden at 113 configure-time [Patch 1960628]. Also fix some comment typos, 114 and an uninitialized variable bug-waiting-to-happen. 115 1162008-12-21 Jan Nijtmans <nijtmans@users.sf.net> 117 118 * tcl.m4: [Bug 2073255] Tcl_GetString(NULL) doesn't crash on HP-UX 119 (this bug report was for Tcl, but holds for TEA as well.) 120 1212008-12-20 Daniel Steffen <das@users.sourceforge.net> 122 123 * tcl.m4: sync with tdbc tcl.m4 changes 124 (SunOS-5.11): Sun cc SHLIB_LD: use LDFLAGS_DEFAULT instead of LDFLAGS 125 1262008-12-02 Jeff Hobbs <jeffh@ActiveState.com> 127 128 *** Bump to TEA_VERSION 3.7 *** 129 130 * tcl.m4: in private header check, check for <plat>Port.h instead 131 of Int.h to ensure all private headers are available. 132 1332008-11-04 Daniel Steffen <das@users.sourceforge.net> 134 135 * tcl.m4 (Darwin): sync TEA_PRIVATE_TK_HEADERS handling of 136 Tk.framework PrivateHeaders with TEA_PRIVATE_TCL_HEADERS. 137 1382008-11-04 Jeff Hobbs <jeffh@ActiveState.com> 139 140 * tcl.m4 (TEA_PATH_TCLCONFIG, TEA_PATH_TKCONFIG): exit with error 141 when tclConfig.sh cannot be found. [Bug #1997760] 142 (TEA_PRIVATE_TCL_HEADERS, TEA_PRIVATE_TK_HEADERS): allow for 143 finding the headers installed in the public areas, e.g. a result of 144 make install-private-headers. [Bug #1631922] 145 1462008-08-12 Daniel Steffen <das@users.sourceforge.net> 147 148 * tcl.m4 (Darwin): link shlib with current and compatiblity version 149 flags; look for libX11.dylib when searching for X11 libraries. 150 1512008-06-12 Daniel Steffen <das@users.sourceforge.net> 152 153 * tcl.m4 (SunOS-5.11): fix 64bit amd64 support with gcc & Sun cc. 154 1552008-03-27 Daniel Steffen <das@users.sourceforge.net> 156 157 * tcl.m4 (SunOS-5.1x): fix 64bit support for Sun cc. [Bug 1921166] 158 1592008-02-01 Donal K. Fellows <donal.k.fellows@man.ac.uk> 160 161 * tcl.m4 (TEA_CONFIG_CFLAGS): Updated to work at least in part with 162 more modern VC versions. Currently just made the linker flags more 163 flexible; more work may be needed. 164 1652007-10-26 Daniel Steffen <das@users.sourceforge.net> 166 167 * tcl.m4 (Darwin): add support for 64-bit X11. 168 1692007-10-23 Jeff Hobbs <jeffh@ActiveState.com> 170 171 *** Tagged tea-3-branch to start TEA 4 development on HEAD *** 172 1732007-09-17 Joe English <jenglish@users.sourceforge.net> 174 175 * tcl.m4: use '${CC} -shared' instead of 'ld -Bshareable' 176 to build shared libraries on current NetBSDs [Bug 1749251]. 177 1782007-09-15 Daniel Steffen <das@users.sourceforge.net> 179 180 * tcl.m4: replace all direct references to compiler by ${CC} to 181 enable CC overriding at configure & make time. 182 (SunOS-5.1x): replace direct use of '/usr/ccs/bin/ld' in SHLIB_LD by 183 'cc' compiler driver. 184 1852007-08-08 Jeff Hobbs <jeffh@ActiveState.com> 186 187 * tcl.m4: check Ttk dir for Tk private headers (8.5). 188 Add some comments to other bits. 189 1902007-06-25 Jeff Hobbs <jeffh@ActiveState.com> 191 192 * tcl.m4 (TEA_PROG_TCLSH, TEA_PROG_WISH): move where / is added. 193 1942007-06-13 Jeff Hobbs <jeffh@ActiveState.com> 195 196 * tcl.m4: fix --with-tkinclude alignment. [Bug 1506111] 197 1982007-06-06 Daniel Steffen <das@users.sourceforge.net> 199 200 * tcl.m4 (Darwin): fix 64bit arch removal in fat 32&64bit builds. 201 2022007-05-18 Donal K. Fellows <donal.k.fellows@man.ac.uk> 203 204 * tcl.m4: Added quoting so that paths with spaces cause fewer 205 problems. 206 2072007-03-07 Daniel Steffen <das@users.sourceforge.net> 208 209 * tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in -mmacosx-version-min check. 210 2112007-02-15 Jeff Hobbs <jeffh@ActiveState.com> 212 213 * tcl.m4: correct private header check to search in generic subdir 214 2152007-02-09 Jeff Hobbs <jeffh@ActiveState.com> 216 217 *** Bump to TEA_VERSION 3.6 *** 218 219 * tcl.m4: correct -d to -f 220 (TEA_CONFIG_CFLAGS): SHLIB_SUFFIX is .so on HP ia64 [Bug 1615058] 221 2222007-02-08 Jeff Hobbs <jeffh@ActiveState.com> 223 224 * tcl.m4 (TEA_PRIVATE_TCL_HEADERS, TEA_PRIVATE_TK_HEADERS): check 225 that the dirs actually have private headers. [Bug 1631922] 226 2272007-02-04 Daniel Steffen <das@users.sourceforge.net> 228 229 * tcl.m4: add caching to -pipe check. 230 2312007-01-25 Daniel Steffen <das@users.sourceforge.net> 232 233 * tcl.m4: integrate CPPFLAGS into CFLAGS as late as possible and 234 move (rather than duplicate) -isysroot flags from CFLAGS to CPPFLAGS to 235 avoid errors about multiple -isysroot flags from some older gcc builds. 236 2372006-01-19 Daniel Steffen <das@users.sourceforge.net> 238 239 * tcl.m4: ensure CPPFLAGS env var is used when set. [Bug 1586861] 240 (Darwin): add -isysroot and -mmacosx-version-min flags to CPPFLAGS when 241 present in CFLAGS to avoid discrepancies between what headers configure 242 sees during preprocessing tests and compiling tests. 243 2442006-12-19 Daniel Steffen <das@users.sourceforge.net> 245 246 * tcl.m4 (Darwin): --enable-64bit: verify linking with 64bit -arch flag 247 succeeds before enabling 64bit build. 248 2492006-12-16 Daniel Steffen <das@users.sourceforge.net> 250 251 * tcl.m4 (Linux): fix previous change to use makefile variable 252 LDFLAGS_DEFAULT instead of LDFLAGS in SHLIB_LD, to ensure linker 253 flags in sampleextension Makefile are picked up. 254 2552006-11-26 Daniel Steffen <das@users.sourceforge.net> 256 257 * tcl.m4 (Linux): --enable-64bit support. [Patch 1597389], [Bug 1230558] 258 2592006-08-18 Daniel Steffen <das@users.sourceforge.net> 260 261 * tcl.m4 (Darwin): add support for --enable-64bit on x86_64, for 262 universal builds including x86_64 and for use of -mmacosx-version-min 263 instead of MACOSX_DEPLOYMENT_TARGET. For Tk extensions, remove 64-bit 264 arch flags from CFLAGS like in the Tk configure, as neither TkAqua nor 265 TkX11 can be built for 64-bit at present. 266 2672006-03-28 Jeff Hobbs <jeffh@ActiveState.com> 268 269 * tcl.m4: []-quote AC_DEFUN functions. 270 (TEA_PATH_TKCONFIG): Fixed Windows-specific check for tkConfig.sh. 271 (TEA_MAKE_LIB): Prepend 'lib' for Windows-gcc configs. 272 2732006-03-07 Joe English <jenglish@users.sourceforge.net> 274 275 * tcl.m4: Set SHLIB_LD_FLAGS='${LIBS}' on NetBSD, 276 as per the other *BSD variants [Bug 1334613]. 277 2782006-01-25 Jeff Hobbs <jeffh@ActiveState.com> 279 280 *** Bump to TEA version 3.5 *** 281 282 * tcl.m4: keep LD_SEARCH_FLAGS and CC_SEARCH_FLAGS synchronous 283 with core tcl.m4 meaning. 284 2852006-01-24 Daniel Steffen <das@users.sourceforge.net> 286 287 * tcl.m4 (Darwin): use makefile variable LDFLAGS_DEFAULT instead of 288 LDFLAGS in SHLIB_LD, to ensure linker flags in sampleextension Makefile 289 are picked up. [Bug 1403343] 290 2912006-01-23 Jeff Hobbs <jeffh@ActiveState.com> 292 293 * tcl.m4: add C:/Tcl/lib and C:/Progra~1/Tcl/lib dirs to check for 294 *Config.sh on Windows. [Bug 1407544] 295 2962006-01-23 Daniel Steffen <das@users.sourceforge.net> 297 298 * tcl.m4 (Darwin): for Tk extensions, remove -arch ppc64 from CFLAGS 299 like in the Tk configure, as neither TkAqua nor TkX11 can be built for 300 64bit at present (no 64bit GUI libraries). 301 3022006-01-22 Jeff Hobbs <jeffh@ActiveState.com> 303 304 * tcl.m4: restore system=windows on Windows. 305 Remove error if 'ar' isn't found (it may not be on Windows). 306 Do not add -lxnet or define _XOPEN_SOURCE on HP-UX by default. 307 Ensure the C|LDFLAGS_DEFAULT gets the fully sub'd value at 308 configure time. 309 3102006-01-10 Daniel Steffen <das@users.sourceforge.net> 311 312 * tcl.m4: add caching, use AC_CACHE_CHECK instead of AC_CACHE_VAL 313 where possible, consistent message quoting, sync relevant 314 tcl/unix/tcl.m4 HEAD changes and gratuitous formatting differences 315 (notably sunc removal of support for for ancient BSD's, IRIX 4, 316 RISCos and Ultrix by kennykb), Darwin improvements to 317 TEA_LOAD_*CONFIG to make linking work against Tcl/Tk frameworks 318 installed in arbitrary location, change TEA_PROG_* search order 319 (look in *_BIN_DIR parents before *_PREFIX). 320 3212006-01-05 Jeff Hobbs <jeffh@ActiveState.com> 322 323 * tcl.m4: add dkf's system config refactor 324 3252006-01-04 Jeff Hobbs <jeffh@ActiveState.com> 326 327 * tcl.m4: remove extraneous ' that causes bash 3.1 to choke 328 3292005-12-19 Joe English <jenglish@users.sourceforge.net> 330 331 * tcl.m4 (TEA_PATH_TCLCONFIG &c): Look for tclConfig.sh &c 332 in ${libdir}, where they are installed by default [Patch #1377407]. 333 3342005-12-05 Don Porter <dgp@users.sf.net> 335 336 * tcl.m4 (TEA_PUBLIC_*_HEADERS): Better support for finding 337 header files for uninstalled Tcl and Tk. 338 3392005-12-02 Jeff Hobbs <jeffh@ActiveState.com> 340 341 * tcl.m4: correctly bump TEA_VERSION var to 3.4 342 3432005-12-01 Daniel Steffen <das@users.sourceforge.net> 344 345 * unix/tcl.m4 (Darwin): fixed error when MACOSX_DEPLOYMENT_TARGET unset 346 3472005-11-29 Jeff Hobbs <jeffh@ActiveState.com> 348 349 * tcl.m4: *** Bump to TEA version 3.4 *** 350 Add Windows x64 build support. 351 Remove TEA_PATH_NOSPACE and handle the problem with ""s where 352 necessary - the macro relied on TCLSH_PROG which didn't work for 353 cross-compiles. 354 3552005-11-27 Daniel Steffen <das@users.sourceforge.net> 356 357 * tcl.m4 (Darwin): add 64bit support, add CFLAGS to SHLIB_LD to 358 support passing -isysroot in env(CFLAGS) to configure (flag can't 359 be present twice, so can't be in both CFLAGS and LDFLAGS during 360 configure), don't use -prebind when deploying on 10.4. 361 (TEA_ENABLE_LANGINFO, TEA_TIME_HANDLER): add/fix caching. 362 3632005-10-30 Daniel Steffen <das@users.sourceforge.net> 364 365 * tcl.m4: fixed two tests for TEA_WINDOWINGSYSTEM = "aqua" that 366 should have been for `uname -s` = "Darwin" instead; added some 367 missing quoting. 368 (TEA_PROG_TCLSH, TEA_PROG_WISH): fix incorrect assumption that 369 install location of tclConfig.sh/tkConfig.sh allows to determine 370 the tclsh/wish install dir via ../bin. Indeed tcl/tk can be 371 configured with arbitrary --libdir and --bindir (independent of 372 prefix) and such a configuration is in fact standard with Darwin 373 framework builds. At least now also check ${TCL_PREFIX}/bin 374 resp. ${TK_PREFIX}/bin for presence of tclsh resp. wish (if tcl/tk 375 have been configured with arbitrary --bindir, this will still not 376 find them, for a general solution *Config.sh would need to contain 377 the values of bindir/libdir/includedir passed to configure). 378 3792005-10-07 Jeff Hobbs <jeffh@ActiveState.com> 380 381 * tcl.m4: Fix Solaris 5.10 check and Solaris AMD64 64-bit builds. 382 3832005-10-04 Jeff Hobbs <jeffh@ActiveState.com> 384 385 * tcl.m4 (TEA_PRIVATE_TCL_HEADERS): add / to finish sed macro 386 (TEA_ENABLE_THREADS): don't check for pthread_attr_setstacksize func 387 3882005-09-13 Jeff Hobbs <jeffh@ActiveState.com> 389 390 * tcl.m4: *** Update to TEA version 3.3 *** 391 define TEA_WINDOWINGSYSTEM in TEA_LOAD_TKCONFIG. 392 Make --enable-threads the default (users can --disable-threads). 393 Improve AIX ${CC}_r fix to better check existing ${CC} value. 394 Do the appropriate evals to not require the *TOP_DIR_NATIVE vars 395 be set for extensions that use private headers. 396 Make aqua check for Xlib compat headers the same as win32. 397 3982005-07-26 Mo DeJong <mdejong@users.sourceforge.net> 399 400 * tcl.m4 (TEA_PROG_TCLSH, TEA_BUILD_TCLSH, 401 TEA_PROG_WISH, TEA_BUILD_WISH): Remove 402 TEA_BUILD_TCLSH and TEA_BUILD_WISH because 403 of complaints that it broke the build when 404 only an installed version of Tcl was available 405 at extension build time. The TEA_PROG_TCLSH and 406 TEA_PROG_WISH macros will no longer search the 407 path at all. The build tclsh or installed 408 tclsh shell will now be found by TEA_PROG_TCLSH. 409 4102005-07-24 Mo DeJong <mdejong@users.sourceforge.net> 411 412 * tcl.m4 (TEA_PROG_TCLSH, TEA_BUILD_TCLSH, 413 TEA_PROG_WISH, TEA_BUILD_WISH): 414 Split confused search for tclsh on PATH and 415 build and install locations into two macros. 416 TEA_PROG_TCLSH and TEA_PROG_WISH search the 417 system PATH for an installed tclsh or wish. 418 The TEA_BUILD_TCLSH and TEA_BUILD_WISH 419 macros determine the name of tclsh or 420 wish in the Tcl or Tk build directory even 421 if tclsh or wish has not yet been built. 422 [Tcl bug 1160114] 423 [Tcl patch 1244153] 424 4252005-06-23 Daniel Steffen <das@users.sourceforge.net> 426 427 * tcl.m4 (TEA_PRIVATE_TK_HEADERS): add ${TK_SRC_DIR}/macosx to 428 TK_INCLUDES when building against TkAqua. 429 430 * tcl.m4 (TEA_PATH_X): fixed missing comma in AC_DEFINE 431 432 * tcl.m4: changes to better support framework builds of Tcl and Tk out 433 of the box: search framework install locations for *Config.sh, and if in 434 presence of a framework build, use the framework's Headers and 435 PrivateHeaders directories for public and private includes. [FR 947735] 436 4372005-06-18 Daniel Steffen <das@users.sourceforge.net> 438 439 * tcl.m4 (Darwin): add -headerpad_max_install_names to LDFLAGS to 440 ensure we can always relocate binaries with install_name_tool. 441 4422005-06-04 Daniel Steffen <das@users.sourceforge.net> 443 444 * tcl.m4 (TEA_PATH_X): for TEA_WINDOWINGSYSTEM == aqua, check if xlib 445 compat headers are available in tkheaders location, otherwise add xlib 446 sourcedir to TK_XINCLUDES. 447 4482005-04-25 Daniel Steffen <das@users.sourceforge.net> 449 450 * tcl.m4: added AC_DEFINE* descriptions (from core tcl.m4) to allow 451 use with autoheader. 452 (Darwin): added configure checks for recently added linker flags 453 -single_module and -search_paths_first to allow building with older 454 tools (and on Mac OS X 10.1), use -single_module in SHLIB_LD. 455 (TEA_MISSING_POSIX_HEADERS): added caching of dirent.h check. 456 (TEA_BUGGY_STRTOD): added caching (sync with core tcl.m4). 457 4582005-03-24 Jeff Hobbs <jeffh@ActiveState.com> 459 460 * tcl.m4 (TEA_TCL_64BIT_FLAGS): use Tcl header defaults for wide 461 int type only on Windows when __int64 is detected as valid. 462 4632005-03-24 Don Porter <dgp@users.sf.net> 464 465 * README.txt: Update reference to "SC_* macros" to "TEA_* macros". 466 * tcl.m4: Incorporated recent improvements in SC_PATH_TCLCONFIG 467 and SC_PATH_TKCONFIG into TEA_PATH_TCLCONFIG and TEA_PATH_TKCONFIG. 468 Corrected search path in TEA_PATH_CONFIG and added 469 AC_SUBST($1_BIN_DIR) to TEA_LOAD_CONFIG so that packages that load 470 the configuration of another package can know where they loaded 471 it from. 472 4732005-03-18 Jeff Hobbs <jeffh@ActiveState.com> 474 475 * tcl.m4 (TEA_CONFIG_CFLAGS): correct 2005-03-17 change to have 476 variant LD_SEARCH_FLAGS for gcc and cc builds. 477 478 * tcl.m4 (TEA_PROG_TCLSH, TEA_PROG_WISH): correct x-compile check. 479 4802005-03-17 Jeff Hobbs <jeffh@ActiveState.com> 481 482 * tcl.m4: Correct gcc build and HP-UX-11. 483 4842005-02-08 Jeff Hobbs <jeffh@ActiveState.com> 485 486 * tcl.m4 (TEA_ADD_LIBS): don't touch lib args starting with -. 487 (TEA_CONFIG_CFLAGS): only define _DLL for CE in shared build. 488 (TEA_MAKE_LIB): set RANLIB* to : on Windows (it's not needed). 489 4902005-02-01 Jeff Hobbs <jeffh@ActiveState.com> 491 492 * tcl.m4: redo of 2005-01-27 changes to correctly handle paths 493 with spaces. Win/CE and Win/64 builds now require a prebuilt 494 tclsh to handle conversion to short pathnames. This is done in 495 the new TEA_PATH_NOSPACE macro. For Win/CE|64, make CC just the 496 compiler and move the necessary includes to CFLAGS. 497 (TEA_CONFIG_CFLAGS): Add Solaris 64-bit gcc build support. 498 (TEA_PROG_TCLSH, TEA_PROG_WISH): Allow TCLSH_PROG and WISH_PROG to 499 be set in the env and prevent resetting. 500 (TEA_ADD_LIBS): On Windows using GCC (mingw), convert foo.lib 501 args to -lfoo, for use with mingw. 502 *** POTENTIAL INCOMPATABILITY *** 503 (TEA_CONFIG_CFLAGS): Fix AIX gcc builds to work out-of-box. 504 Bumped TEA to 3.2. 505 5062005-01-27 Jeff Hobbs <jeffh@ActiveState.com> 507 508 * tcl.m4: remove cygpath calls to support msys. 509 Update base CE build assumption to "420,ARMV4,ARM,Pocket PC 2003". 510 Make STLIB_LD use $LINKBIN -lib. 511 5122005-01-25 Daniel Steffen <das@users.sourceforge.net> 513 514 * tcl.m4 (Darwin): fixed bug with static build linking to dynamic 515 library in /usr/lib etc instead of linking to static library earlier 516 in search path. [Tcl Bug 956908] 517 Removed obsolete references to Rhapsody. 518 5192004-12-29 Jeff Hobbs <jeffh@ActiveState.com> 520 521 * tcl.m4: Updates for VC7 compatibility, fixing CFLAGS and LDFLAGS 522 options, using better default -O levels. [Bug 1092952, 1091967] 523 5242004-12-29 Joe English <jenglish@users.sourceforge.net> 525 526 * tcl.m4: Do not use ${DBGX} suffix when building 527 shared libraries [patch #1081595, TIP #34] 528 5292004-09-07 Jeff Hobbs <jeffh@ActiveState.com> 530 531 * tcl.m4 (TEA_CONFIG_CFLAGS): support eVC4 Win/CE builds 532 5332004-08-10 Jeff Hobbs <jeffh@ActiveState.com> 534 535 * tcl.m4 (TEA_INIT, TEA_PREFIX): update handling of exec_prefix to 536 work around subdir configures since autoconf only propagates the 537 prefix (not exec_prefix). 538 5392004-07-23 Daniel Steffen <das@users.sourceforge.net> 540 541 * tcl.m4 (TEA_CONFIG_CFLAGS): Darwin section: brought inline with 542 Tcl 8.5 HEAD config, removed core specific & obsolete settings. 543 5442004-07-22 Jeff Hobbs <jeffh@ActiveState.com> 545 546 * tcl.m4 (TEA_PATH_X): check in TK_DEFS for MAC_OSX_TK to see if 547 we are compiling on Aqua. Add TEA_WINDOWINGSYSTEM var that 548 reflects 'tk windowingsystem' value. 549 5502004-07-16 Jeff Hobbs <jeffh@ActiveState.com> 551 552 * tcl.m4 (TEA_ENABLE_THREADS): force a threaded build when 553 building against a threaded core. 554 (CFLAGS_WARNING): Remove -Wconversion for gcc builds 555 (TEA_CONFIG_CFLAGS): Reorder configure.in for better 64-bit build 556 configuration, replacing EXTRA_CFLAGS with CFLAGS. [Bug #874058] 557 Update to latest Tcl 8.5 head config settings. 558 Call this TEA version 3.1. 559 5602004-04-29 Jeff Hobbs <jeffh@ActiveState.com> 561 562 * tcl.m4 (TEA_TCL_64BIT_FLAGS): replace AC_TRY_RUN test with 563 AC_TRY_COMPILE for the long vs. long long check. (kenny) 564 5652004-04-26 Jeff Hobbs <jeffh@ActiveState.com> 566 567 * tcl.m4 (TEA_TCL_64BIT_FLAGS): update against core tcl.m4 to 568 define TCL_WIDE_INT_IS_LONG if 'using long'. 569 5702004-03-19 Jeff Hobbs <jeffh@ActiveState.com> 571 572 * tcl.m4: correct Windows builds getting LDFLAGS info in MAKE_LIB 573 5742004-02-11 Jeff Hobbs <jeffh@ActiveState.com> 575 576 * tcl.m4: correct TCL_INCLUDES for private headers on Windows - it 577 doesn't need the eval. 578 5792004-02-10 Jeff Hobbs <jeffh@ActiveState.com> 580 581 * tcl.m4: don't require TK_INCLUDES and TCL_INCLUDES to have the 582 DIR_NATIVE vars defined when using private headers on unix. 583 Allow $... to TEA_ADD_SOURCES for constructs like 584 TEA_ADD_SOURCES([\$(WIN_OBJECTS)]), that allow the developer to 585 place more in the Makefile.in. 586 tkUnixPort.h checks for HAVE_LIMITS_H, so do both HAVE and 587 CHECK on limits.h 588 5892003-12-10 Jeff Hobbs <jeffh@ActiveState.com> 590 591 * Makefile.in: added TEA_ADD_LIBS, TEA_ADD_INCLUDES and 592 * configure: TEA_ADD_CFLAGS to configurable parameters with 593 * configure.in: PKG_* equivs in the Makefile. This allows the 594 * tclconfig/tcl.m4: user to worry less about actual magic VAR names. 595 Corrected Makefile.in to note that TEA_ADD_TCL_SOURCES requires 596 exact file names. 597 5982003-12-09 Jeff Hobbs <jeffh@ActiveState.com> 599 600 * tcl.m4: updated OpenBSD support based on [Patch #775246] (cassoff) 601 6022003-12-05 Jeff Hobbs <jeffh@ActiveState.com> 603 604 * configure: 605 * configure.in: 606 * Makefile.in (VPATH): readd $(srcdir) to front of VPATH as the 607 first part of VPATH can get chopped off. 608 Change .c.$(OBJEXT) rule to .c.@OBJEXT@ to support more makes. 609 * tclconfig/tcl.m4: add TEA_ADD_STUB_SOURCES to support libstub 610 generation and TEA_ADD_TCL_SOURCES to replace RUNTIME_SOURCES as 611 the way the user specifies library files. 612 6132003-12-03 Jeff Hobbs <jeffh@ActiveState.com> 614 615 * configure: Update of TEA spec to (hopefully) simplify 616 * configure.in: some aspects of TEA by making use of more 617 * Makefile.in: AC 2.5x features. Use PACKAGE_NAME (instead 618 * generic/tclsample.c: of PACKAGE) and PACKAGE_VERSION (instead of 619 * tclconfig/tcl.m4: VERSION) arguments to AC_INIT as the TEA 620 package name and version. 621 Provide a version argument to TEA_INIT - starting with 3.0. 622 Drop all use of interior shell substs that older makefiles didn't 623 like. Use PKG_* naming convention instead. 624 Move specification of source files and public headers into 625 configure.in with TEA_ADD_SOURCES and TEA_ADD_HEADERS. These will 626 be munged during ./configure into the right obj file names (no 627 $(SOURCES:.c=.obj) needed). 628 There is almost nothing that should be touched in Makefile.in now 629 for the developer. May want to add a TEA_ADD_TCL_SOURCES for the 630 RUNTIME_SOURCES that remains. 631 Use SHLID_LD_FLAGS (instead of SHLID_LDFLAGS) as Tcl does. 632 Only specify the user requested LDFLAGS/CFLAGS in the Makefile, 633 don't mention the _OPTIMIZE/_DEBUG variants. 634 6352003-10-15 Jeff Hobbs <jeffh@ActiveState.com> 636 637 * tcl.m4: create a TEA_SETUP_COMPILER_CC the precedes the 638 TEA_SETUP_COMPILER macro. They are split so the check for CC 639 occurs before any use of CC. Also add AC_PROG_CPP to the compiler 640 checks. 641 6422003-10-06 Jeff Hobbs <jeffh@ActiveState.com> 643 644 * tcl.m4: Updated for autoconf 2.5x prereq. 645 Where TCL_WIDE_INT_TYPE would be __int64, defer to the code checks 646 in tcl.h, which also handles TCL_LL_MODIFIER* properly. 647 6482003-04-22 Jeff Hobbs <jeffh@ActiveState.com> 649 650 * tcl.m4: correct default setting of ARCH for WinCE builds. 651 Correct \ escaping for CE sed macros. 652 6532003-04-10 Jeff Hobbs <jeffh@ActiveState.com> 654 655 * tcl.m4: replace $(syscal) construct with older `syscall` for 656 systems where sh != bash. 657 6582003-04-09 Jeff Hobbs <jeffh@ActiveState.com> 659 660 * tcl.m4 (TEA_WITH_CELIB): add --enable-wince and --with-celib 661 options for Windows/CE compilation support. Requires the 662 Microsoft eMbedded SDK and Keuchel's celib emulation layer. 663 6642003-02-18 Jeff Hobbs <jeffh@ActiveState.com> 665 666 * tcl.m4 (TEA_ENABLE_THREADS): Make sure -lpthread gets passed on 667 the link line when checking for the pthread_attr_setstacksize 668 symbol. (dejong) 669 670 * tcl.m4 (TEA_SETUP_COMPILER): added default calls to 671 TEA_TCL_EARLY_FLAGS, TEA_TCL_64BIT_FLAGS, 672 TEA_MISSING_POSIX_HEADERS and TEA_BUGGY_STRTOD. 673 6742003-02-14 Jeff Hobbs <jeffh@ActiveState.com> 675 676 * tcl.m4: correct HP-UX ia64 --enable-64bit build flags 677 6782003-01-29 Jeff Hobbs <jeffh@ActiveState.com> 679 680 * tcl.m4: check $prefix/lib as well as $exec_prefix/lib when 681 looking for tcl|tkConfig.sh, as this check is done before we would 682 set exec_prefix when the user does not define it. 683 6842003-01-21 Mo DeJong <mdejong@users.sourceforge.net> 685 686 * tcl.m4 (TEA_CONFIG_CFLAGS): Fix build support 687 for mingw, the previous implementation would 688 use VC++ when compiling with mingw gcc. Don't 689 pass -fPIC since gcc always compiles pic code 690 under win32. Change some hard coded cases 691 of gcc to ${CC}. 692 6932002-10-15 Jeff Hobbs <jeffh@ActiveState.com> 694 695 * tcl.m4: move the CFLAGS definition from TEA_ENABLE_SHARED to 696 TEA_MAKE_LIB because setting too early confuses other AC_* macros. 697 Correct the HP-11 SHLIB_LD_LIBS setting. 698 699 * tcl.m4: add the CFLAGS definition into TEA_ENABLE_SHARED and 700 make it pick up the env CFLAGS at configure time. 701 7022002-10-09 Jeff Hobbs <jeffh@ActiveState.com> 703 704 * tcl.m4: add --enable-symbols=mem option to enable TCL_MEM_DEBUG. 705 Improved AIX 64-bit build support, allow it on AIX-4 as well. 706 Enable 64-bit HP-11 compilation with gcc. 707 Enable 64-bit IRIX64-6 cc build support. 708 Correct FreeBSD thread library linkage. 709 Add OSF1 static build support. 710 Improve SunOS-5 shared build SHLIB_LD macro. 711 7122002-07-20 Zoran Vasiljevic <zoran@archiware.com> 713 714 * tcl.m4: Added MINGW32 to list of systems checked for Windows build. 715 Also, fixes some indentation issues with "--with-XXX" options. 716 7172002-04-23 Jeff Hobbs <jeffh@ActiveState.com> 718 719 * tcl.m4 (TEA_ENABLE_THREADS): added USE_THREAD_ALLOC define to 720 use new threaded allocatory by default on Unix for Tcl 8.4. 721 (TEA_CONFIG_CFLAGS): corrected LD_SEARCH_FLAGS for FreeBSD-3+. 722 7232002-04-22 Jeff Hobbs <jeffh@ActiveState.com> 724 725 * tcl.m4 (TEA_SETUP_COMPILER): removed call to AC_CYGWIN so that 726 we can use autoconf 2.5x as well as 2.13. This prevents us from 727 being able to warn against the use of cygwin gcc at configure 728 time, but allows autoconf 2.5x, which is what is shipped with most 729 newer systems. 730 7312002-04-11 Jeff Hobbs <jeffh@ActiveState.com> 732 733 * tcl.m4: Enabled COFF as well as CV style debug info with 734 --enable-symbols to allow Dr. Watson users to see function info. 735 More info on debugging levels can be obtained at: 736 http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp 737 7382002-04-03 Jeff Hobbs <jeffh@ActiveState.com> 739 740 * tcl.m4: change all SC_* macros to TEA_*. The SC_ was for 741 Scriptics, which is no more. TEA represents a better, independent 742 prefix that won't need changing. 743 Added preliminary mingw gcc support. [Patch #538772] 744 Added TEA_PREFIX macro that handles defaulting the prefix and 745 exec_prefix vars to those used by Tcl if none were specified. 746 Added TEA_SETUP_COMPILER macro that encompasses the AC_PROG_CC 747 check and several other basic AC_PROG checks needed for making 748 executables. This greatly simplifies user's configure.in files. 749 Collapsed AIX-5 defines into AIX-* with extra checks for doing the 750 ELF stuff on AIX-5-ia64. 751 Updated TEA_ENABLE_THREADS to take an optional arg to allow 752 switching it on by default (for Thread) and add sanity checking to 753 warn the user if configuring threads incompatibly. 754 7552002-03-29 Jeff Hobbs <jeffh@ActiveState.com> 756 757 * tcl.m4: made sure that SHLIB_LDFLAGS was set to LDFLAGS_DEFAULT. 758 Removed --enable-64bit support for AIX-4 because it wasn't correct. 759 Added -MT or -MD Windows linker switches to properly support 760 symbols-enabled builds. 761 7622002-03-28 Jeff Hobbs <jeffh@ActiveState.com> 763 764 * tcl.m4: called AC_MSG_ERROR when SC_TEA_INIT wasn't called first 765 instead of calling it as that inlines it each time in shell code. 766 Changed Windows CFLAGS_OPTIMIZE to use -O2 instead of -Oti. 767 Noted TCL_LIB_VERSIONS_OK=nodots for Windows builds. 768 A few changes to support itcl (and perhaps others): 769 Added support for making your own stub libraries to SC_MAKE_LIB. 770 New SC_PATH_CONFIG and SC_LOAD_CONFIG that take a package name arg 771 and find that ${pkg}Config.sh file. itk uses this for itcl. 772 7732002-03-27 Jeff Hobbs <jeffh@ActiveState.com> 774 775 * tcl.m4: made SC_LOAD_TKCONFIG recognize when working with a Tk 776 build dir setup. 777 Added EXTRA_CFLAGS and SHLIB_LD_LIBS substs to SC_CONFIG_CFLAGS. 778 Added XLIBSW onto LIBS when it is defined. 779 Remove TCL_LIBS from MAKE_LIB and correctly use SHLIB_LD_LIBS 780 instead to not rely as much on tclConfig.sh cached info. 781 Add TK_BIN_DIR to paths to find wish in SC_PROG_WISH. 782 These move towards making TEA much more independent of *Config.sh. 783 7842002-03-19 Jeff Hobbs <jeffh@ActiveState.com> 785 786 * tcl.m4: corrected forgotten (UN)SHARED_LIB_SUFFIX and 787 SHLIB_SUFFIX defines for Win. 788 (SC_PATH_X): made this only do the check on unix platforms. 789 7902002-03-12 Jeff Hobbs <jeffh@ActiveState.com> 791 792 * README.txt: updated to reflect fewer files 793 7942002-03-06 Jeff Hobbs <jeffh@ActiveState.com> 795 796 * config.guess (removed): 797 * config.sub (removed): removed unnecessary files 798 799 * installFile.tcl (removed): 800 * mkinstalldirs (removed): these aren't really necessary for 801 making TEA work 802 803 * tcl.m4 (SC_PUBLIC_TCL_HEADERS, SC_PUBLIC_TK_HEADERS): don't 804 check /usr(/local)/include for includes on Windows when not using 805 gcc 806 8072002-03-05 Jeff Hobbs <jeffh@ActiveState.com> 808 809 * tcl.m4: added warnings on Windows, removed RELPATH define and 810 added TCL_LIBS to MAKE_LIB macro. 811 812 This import represents 2.0.0, or a new start at attempting to 813 make TEA much easier for C extension developers. 814 815 **** moved from tclpro project to core tcl project, **** 816 **** renamed to 'tclconfig' **** 817 8182001-03-15 Karl Lehenbauer <karl@procplace.com> 819 820 * installFile.tcl: Added updating of the modification time of 821 the target file whether we overwrote it or decided that it 822 hadn't changed. This was necessary for us to be able to 823 determine whether or not a module install touched the file. 824 8252001-03-08 Karl Lehenbauer <karl@procplace.com> 826 827 * installFile.tcl: Added support for converting new-style (1.1+) 828 Cygnus drive paths to Tcl-style. 829 8302001-01-15 <brent.welch@interwoven.com> 831 832 * tcl.m4: Added FreeBSD clause. 833 8342001-01-03 <brent.welch@interwoven.com> 835 836 * tcl.m4: Fixed typo in SC_LIB_SPEC where it is checking 837 for exec-prefix. 838 8392000-12-01 <brent.welch@interwoven.com> 840 841 * tcl.m4: Concatenated most of the Ajuba acsite.m4 file 842 so we don't need to modify the autoconf installation. 843 * config.guess: 844 * config.sub: 845 * installFile.tcl: 846 Added files from the itcl config subdirectory, 847 which should go away. 848 8492000-7-29 <welch@ajubasolutions.com> 850 851 * Fixed the use of TCL_SRC_DIR and TK_SRC_DIR within 852 TCL_PRIVATE_INCLUDES and TK_PRIVATE_INCLUDES to match their recent 853 change from $(srcdir) to $(srcdir)/.. 854