summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
Commit message (Collapse)AuthorAgeFilesLines
...
* Standardize help messages for 'configure --help' using AC_HELP_STRINGdkf2005-05-311-49/+82
|
* * macosx/Makefile:das2005-05-231-2/+1
| | | | | | | | | | | | | * macosx/README: * macosx/Tcl-Info.plist.in (new file): * unix/Makefile.in: * unix/configure.in: * unix/tcl.m4: * unix/tclUnixInit.c: moved all Darwin framework build support from macosx/Makefile into the standard unix configure/make buildsystem, the macosx/Makefile is no longer required to build Tcl.framework (but its functionality is still available for backwards compatibility). * unix/configure: autoconf-2.59
* * generic/tclInt.decls:das2005-05-141-5/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclTest.c: * generic/tclUtil.c: * win/tclWin32Dll.c: fixed link error due to direct access by tclTest.c to the MODULE_SCOPE tclPlatform global: renamed existing TclWinGetPlatform() accessor to TclGetPlatform() and moved it to generic code so that it can be used by on all platforms where MODULE_SCOPE is enforced. * macosx/tclMacOSXBundle.c: * unix/tclUnixInit.c: * unix/tcl.m4 (Darwin): made use of CoreFoundation API configurable and added test of CoreFoundation availablility to allow building on ppc64, replaced HAVE_CFBUNDLE by HAVE_COREFOUNDATION; test for availability of Tiger or later OSSpinLockLock API. * unix/tclUnixNotfy.c: * unix/Makefile.in: * macosx/tclMacOSXNotify.c (new file): when CoreFoundation is available, use new CFRunLoop based notifier: allows easy integration with other event loops on Mac OS X, in particular the TkAqua Carbon event loop is now integrated via a standard tcl event source (instead of TkAqua upon loading having to finalize the exsting notifier and replace it with its custom version). [Patch 1202052] * tests/unixNotfy.test: don't run unthreaded tests on Darwin since notifier may be using threads even in unthreaded core. * unix/tclUnixPort.h: * unix/tcl.m4 (Darwin): test for thread-unsafe realpath durning configure, as Darwin 7 and later realpath is threadsafe. * macosx/Makefile: enable configure caching. * unix/configure.in: wrap tclConfig.h header in #ifndef _TCLCONFIG so that it can be included more than once without warnings from gcc4.0 (as happens e.g. when including both tclInt.h and tclPort.h) * macosx/tclMacOSXBundle.c: * unix/tclUnixChan.c: * unix/tclLoadDyld.c: * unix/tclUnixInit.c: fixed gcc 4.0 warnings. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59 * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: make genstubs
* * unix/tcl.m4, unix/configure: correct Solaris 10 (5.10) check andhobbs2005-05-071-3/+11
| | | | add support for x86_64 Solaris cc builds.
* * compat/string.h: fixed memchr() protoype for __APPLE__ so that wedas2005-04-261-8/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | build on Mac OS X 10.1 again. * generic/tclNotify.c (TclFinalizeNotifier): fixed notifier not being finalized in unthreaded core (was testing for notifier initialization in current thread by checking thread id != 0 but thread id is always 0 in untreaded core). * win/tclWinNotify.c (Tcl_WaitForEvent): * unix/tclUnixNotfy.c (Tcl_WaitForEvent): don't call ScaleTimeProc for zero wait times (as specified in TIP 233). * unix/Makefile.in: added @PLAT_SRCS@ to SRCS and split out NOTIFY_SRCS from UNIX_SRCS for parity with UNIX_OBJS & NOTIFY_OBJS. * unix/tcl.m4 (Darwin): added configure checks for recently added linker flags -single_module and -search_paths_first to allow building with older tools (and on Mac OS X 10.1), use -single_module in SHLIB_LD and not just T{CL,K}_SHLIB_LD_EXTRAS, added unexporting from Tk of symbols from libtclstub to avoid duplicate symbol warnings, added PLAT_SRCS definition for Mac OS X, defined MODULE_SCOPE to __private_extern__. (SC_MISSING_POSIX_HEADERS): added caching of dirent.h check. * unix/configure: autoconf-2.59
* * unix/tcl.m4 (Darwin): added -single_module linker flag todas2005-04-091-2/+2
| | | | | TCL_SHLIB_LD_EXTRAS and TK_SHLIB_LD_EXTRAS. * unix/configure: autoconf-2.59
* Updated the OpenBSD configuration and regenerated the configure script.patthoyts2005-03-151-15/+39
|
* * unix/Makefile.in: remove SHLIB_LD_FLAGS (only for AIX, inlinedhobbs2005-02-111-53/+15
| | | | | | * unix/tcl.m4: into SHLIB_LD). Combine AIX-* and AIX-5 * unix/configure: branches in SC_CONFIG_CFLAGS. Correct gcc builds for AIX-4+ and HP-UX-11. autoconf-2.59 gen'd.
* * unix/configure, unix/tcl.m4: add solaris 64-bit gcc buildhobbs2005-01-291-4/+21
| | | | support. [Bug 1021871]
* * unix/tcl.m4 (Darwin): fixed bug with static build linking todas2005-01-251-3/+3
| | | | | | | dynamic library in /usr/lib etc instead of linking to static library earlier in search path. [Tcl Bug 956908] Removed obsolete references to Rhapsody. * unix/configure: autoconf-2.57
* Make --with-tcl and --with-tk options more robust. [FRQ 951247]dkf2005-01-121-0/+14
|
* Remove ${DBGX}, ${TCL_DBGX} from Tcl build system [Patch 1081595].jenglish2005-01-101-19/+20
|
* Remove readdir_r() and related #ifdeffery (see #1095909).jenglish2005-01-091-37/+0
| | | | Don't check for HAVE_READDIR_R. Regenerated configure script.
* Oops! Got the test sense wrong.dkf2004-11-261-1/+1
|
* Spread the goodness of AC_CACHE_VAL a bit further. [Patch 1073524]dkf2004-11-261-0/+36
|
* Fix ordering of AC_MSG_RESULT/AC_CHECK_FUNCS so messages are simpler.dkf2004-11-251-1/+1
|
* * unix/tcl.m4 (SC_ENABLE_THREADS): Corrected failure to determinedgp2004-11-251-2/+18
| | | | | | the number of arguments for readdir_r on SunOS systems. [Bug 1071701] * unix/configure: autoconf-2.57
* * unix/tcl.m4 (SC_ENABLE_THREADS): Corrected bad check forKevin B Kenny2004-11-241-2/+7
| | | | | | | | | 3-argument readdir_r [Bug 1001325]. * unix/configure: Regenerated. * unix/tclUnixNotfy.c: Corrected all uses of 'select' to manage their masks using the FD_CLR, FD_ISSET, FD_SET, and FD_ZERO macros rather than bit-whacking that failed under Solaris-Sparc-64. [Bug 1071807]
* * unix/configure: Regen.mdejong2004-11-221-2/+9
| | | | | | | * unix/tcl.m4 (SC_TCL_64BIT_FLAGS): Define HAVE_TYPE_OFF64_T only when off64_t, open64(), and lseek64() are defined. IRIX 5.3 is known to not include an open64 function. [Bug 1030465]
* * unix/configure: Regen.mdejong2004-11-221-0/+19
| | | | | | | | | * unix/tcl.m4 (SC_ENABLE_THREADS): Check for a 2 argument version of readdir_r that is known to exists under IRIX 5.3. * unix/tclUnixThrd.c (TclpReaddir): Use either 2 arg or 3 arg version of readdir_r. [Bug 1001325]
* generated configure and fixed manpage installatonrmax2004-11-181-3/+3
|
* 2004-11-18 Reinhard Max <max@suse.de>rmax2004-11-181-12/+36
| | | | | | | | | | * unix/tcl.m4 (SC_CONFIG_MANPAGES): Applied an improved version of * unix/configure.in: patch #996085, that introduces * unix/Makefile.in: --enable-man-suffix. * unix/installManPage: added * unix/mkLinks.tcl: removed * unix/mkLinks: removed
* Stop architecture flags to 'ld' from going missing when [load] is disabled.dkf2004-11-161-6/+11
|
* Adapt Tcl so it uses a config.h header instead of stuffing all #defs on thedkf2004-11-121-64/+88
| | | | | command line. Third parties using generic/tclInt.h, unix/tclAppInit.c or unix/tcl.m4 should be unaffected. Part of the general TIP#34 project.
* * unix/tcl.m4, unix/tclUnixPort.h: Check for pthread_attr_get_npdkf2004-11-121-9/+26
| | | | | in <pthread.h> before forcing the use of <pthread_np.h> to make things work on NetBSD 2.0. [Bug 1064882]
* TIP #173 and #209 implementation - see ChangeLog for detailsKevin B Kenny2004-08-181-1/+1
|
* * unix/configure:das2004-07-301-2/+2
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS to explict object files in tcl.m4, refer to MAC_OSX_OBJS makefile var. * unix/Makefile.in: added MAC_OSX_OBJS variable.
* * unix/Makefile.in, unix/tcl.m4: move (C|LD)FLAGS after theirhobbs2004-07-161-9/+11
| | | | | | | | | * unix/configure.in, unix/configure: _DEFAULT to allow for env setting to override m4 switches. Move SC_MISSING_POSIX_HEADERS up and consolidate calls to limit redundancy in configure. (CFLAGS_WARNING): Remove -Wconversion (SC_ENABLE_THREADS): Set m4 to force threaded build when built against a threaded Tcl core.
* Version 5 of [Patch 976496]Joe Mistachkin2004-06-241-0/+3
|
* Version of [Patch 746578] that works with Linux and is likely to work elsewheredkf2004-06-231-0/+10
|
* * unix/tcl.m4: autoconf 2.5 fixes in Darwin section.das2004-06-181-3/+4
| | | | * unix/configure: autoconf-2.57
* * unix/Makefile.in: Rework configure ordering to TCL_LINK_LIBS,hobbs2004-05-261-86/+52
| | | | | | | | | | | | * unix/tcl.m4: ENABLE_SHARED, CONFIG_CFLAGS, & ENABLE_SYMBOLS * unix/configure: before TCL_EARLY_FLAGS and TCL_64BIT_FLAGS * unix/configure.in: (about 400 lines earlier) in configure.in. This forces CFLAGS configuration to be done before many tests, which is needed for 64-bit builds and may affect other builds. Also make CONFIG_CFLAGS append to CFLAGS directly instead of using EXTRA_CFLAGS, and have LDFLAGS append to any existing value. [Bug #874058] * unix/dltest/Makefile.in: change EXTRA_CFLAGS to DEFS
* * unix/tcl.m4: Removed -Wno-strict-aliasing.rmax2004-03-181-1/+1
|
* * unix/configure, unix/tcl.m4: add -Wno-strict-aliasing for GCC tohobbs2004-03-161-1/+1
| | | | suppress useless type puning warnings.
* update HP-11 build libs setuphobbs2004-03-021-1/+7
|
* * unix/tcl.m4 (SC_CONFIG_CFLAGS): Allow 64-bit enabling ondgp2004-03-011-1/+1
| | | | | IRIX64-6.5* systems. [Bug 218561] * unix/configure: autoconf-2.57
* Whitespace policedgp2004-02-181-28/+29
|
* * unix/configure:hobbs2003-12-091-3/+29
| | | | | * unix/tcl.m4: updated OpenBSD build configuration based on [Patch #775246] (cassoff)
* * unix/configure:hobbs2003-11-121-40/+39
| | | | | | * unix/tcl.m4: improve AIX --enable-64bit handling remove -D__NO_STRING_INLINES -D__NO_MATH_INLINES from CFLAGS_OPTIMIZE on Linux. Make default opt -O2 (was -O).
* * unix/tcl.m4 (SC_PATH_TCLCONFIG): Corrected search path sodgp2003-10-061-13/+28
| | | | that alpha and beta releases of Tcl are not favored. [Bug 608698]
* Added note that frameworks are a MacOSX feature [Bug 619440]dkf2003-09-291-1/+1
|
* 2003-06-25 Mo DeJong <mdejong@users.sourceforge.net>mdejong2003-06-251-2/+4
| | | | | | | | * unix/configure: Regen. * unix/tcl.m4 (SC_CONFIG_CFLAGS): Add -ieee when compiling with cc and add -mieee when compiling with gcc under OSF1-V5 "Tru64" systems. [Bug 748957]
* * generic/tcl.decls: Ported the changes from theandreas_kupries2003-06-091-0/+32
| | | | | | | | | | | | | | | | | * generic/tcl.h: 'tip-59-implementation' branch into the CVS * generic/tclBasic.c: head. Regenerated stub table. Regenerated * generic/tclInt.h: the configure's scripts, with help from Joe * generic/tclDecls.h English. * generic/tclStubInit.c: * generic/tclConfig.c: * generic/tclPkgConfig.c: * unix/Makefile.in: * unix/configure.in: The changes in the windows section are not * unix/tcl.m4: yet committed, they await feedback from * unix/mkLinks: David Gravereaux. * doc/RegConfig.3: * mac/tclMacPkgConfig.c: * tests/config.test:
* Implementation of TIP 118:das2003-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclFCmd.c (TclFileAttrsCmd): return the list of attributes that can be retrieved without error for a given file, instead of aborting the whole command when any error occurs. * unix/tclUnixFCmd.c: added support for new file attributes and for copying Mac OS X file attributes & resource fork during [file copy]. * generic/tclInt.decls: added declarations of new external commands needed by new file attributes support in tclUnixFCmd.c. * macosx/tclMacOSXFCmd.c (new): Mac OS X specific implementation of new file attributes and of attribute & resource fork copying. * mac/tclMacFCmd.c: added implementation of -rsrclength attribute & fixes to other attributes for consistency with OSX implementation. * mac/tclMacResource.c: fixes to OSType handling. * doc/file.n: documentation of [file attributes] changes. * unix/configure.in: check for APIs needed by new file attributes. * unix/Makefile.in: * unix/tcl.m4: added new platform specifc tclMacOSXFCmd.c source. * unix/configure: * generic/tclStubInit.c: * generic/tclIntPlatDecls.h: regen. * tools/genStubs.tcl: fixes to completely broken code trying to prevent overlap of "aqua", "macosx", "x11" and "unix" stub entries. * tests/unixFCmd.test: added tests of -readonly attribute. * tests/macOSXFCmd.test (new): tests of macosx file attributes and of preservation of attributes & resource fork during [file copy]. * tests/macFCmd.test: restore -readonly attribute of test dir, as otherwise its removal can fail on unices supporting -readonly.
* * unix/configure:mdejong2003-04-041-1/+6
| | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Don't set TCL_LIBS if it is already set to support use of TCL_LIBS var from tclConfig.sh in the Tk configure script.
* * unix/Makefile.in: Don't subst MATH_LIBS,mdejong2003-04-031-15/+11
| | | | | | | | | | | | | LIBS, and DL_LIBS separately. Instead, just subst TCL_LIBS since it includes the others. * unix/configure: Regen. * unix/tcl.m4 (SC_CONFIG_CFLAGS, SC_TCL_LINK_LIBS): Set and subst TCL_LIBS in SC_CONFIG_CFLAGS instead of SC_TCL_LINK_LIBS. Don't subst MATH_LIBS since it is now covered by TCL_LIBS. * unix/tclConfig.sh.in: Use TCL_LIBS instead of DL_LIBS, LIBS, and MATH_LIBS. * unix/dltest/Makefile.in: Ditto.
* * unix/configure: Regen.mdejong2003-04-021-7/+7
| | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Check for inet_ntoa in -lbind inside the BeOS block since doing it later broke the build under SuSE 7.3. [Bug 713128]
* * unix/configure: Regen.mdejong2003-03-281-2/+2
| | | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Use -Wl,--export-dynamic instead of -rdynamic for LDFLAGS. The -rdynamic is not documented so it seems better to pass the --export-dynamic flag to the linker. [Patch 573395]
* * unix/configure: Regen.mdejong2003-03-271-0/+16
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS, SC_TCL_LINK_LIBS): Add BeOS system to SC_CONFIG_CFLAGS. Check for inet_ntoa in -lbind, needed for BeOS.
* Require autoconf 2.57 or newer, see TIP 34mdejong2003-03-131-3/+4
| | | | | | | | | | | | | | | | | for a detailed explanation of why this is good. This will no doubt break the build on some platforms, let the flaming begin. * tools/configure: Regen with autoconf 2.57. * tools/configure.in: Require autoconf 2.57. * unix/configure: Regen with autoconf 2.57. * unix/configure.in: Require autoconf 2.57. Apply AC_LIBOBJ changes from patch 529884. * unix/tcl.m4: Ditto. * win/configure: Regen with autoconf 2.57. * win/configure.in: Require autoconf 2.57. Don't subst LIBOBJS since this happens by default, this avoids an autoconf error.