Differences From Artifact [dc978c2df4]:
- File unix/configure.in — part of check-in [ee3df4e647] at 2023-04-12 09:35:08 on branch core-8-6-branch — Correct spelling errors in comments and documentation, but also non-comment corrections in history.tcl and tcltest.test. (user: pooryorick size: 37410)
To Artifact [31a8e63439]:
- File unix/configure.in — part of check-in [c72559e8b2] at 2023-06-30 09:49:08 on branch ticket-c54e4a1aeb-use_vfork — Removed automated setting of USE_VFORK for macOS The automatic setting of USE_VFORK in unix/configure.in is useless, confusing, and deprecated. Background: configure.in had a section, where it sets automatically USE_VFORK for macOS. if test "`uname -s`" = "Darwin" ; then ... AC_DEFINE(USE_VFORK, 1, [Should we use vfork() instead of fork()?]) ... However, Daniel Steffen has added the following section 17 years ago which effectively deactivated USE_VFORK for the x86_64 platform, when it is set, due to a bug report in RDAR (Apple's bug tracking system). 16 years ago a section was added to deactivate USE_VFORK for all platforms with llvm-gcc-4.2 or newer. /* *--------------------------------------------------------------------------- * At present, using vfork() instead of fork() causes execve() to fail * intermittently on Darwin x86_64. rdar://4685553 *--------------------------------------------------------------------------- */ /* Workaround problems with vfork() when building with llvm-gcc-4.2 */ (__GNUC__ > 4 || (__GNUC__ == 4 && (__GNUC_MINOR__ > 2 || \ (__GNUC_MINOR__ == 2 && __GNUC_PATCHLEVEL__ > 0)))) This means, that the last 17 years, USE_VFORK was not doing anything on macOS. Furthermore, macOS 12 (Monterey, released 2021) deprecated vfork() officially. Therefore, it is safe to remove the setting of USE_VFORK from the default configuration for macOS. It is still possible to set USE_VFORK manually for certain platform if needed. (user: neumann size: 37338) [more...]
| ︙ | ︙ | |||
559 560 561 562 563 564 565 |
AC_CHECK_FUNCS(getattrlist)
AC_CHECK_HEADERS(copyfile.h)
AC_CHECK_FUNCS(copyfile)
if test $tcl_corefoundation = yes; then
AC_CHECK_HEADERS(libkern/OSAtomic.h)
AC_CHECK_FUNCS(OSSpinLockLock)
fi
| < | 559 560 561 562 563 564 565 566 567 568 569 570 571 572 |
AC_CHECK_FUNCS(getattrlist)
AC_CHECK_HEADERS(copyfile.h)
AC_CHECK_FUNCS(copyfile)
if test $tcl_corefoundation = yes; then
AC_CHECK_HEADERS(libkern/OSAtomic.h)
AC_CHECK_FUNCS(OSSpinLockLock)
fi
AC_DEFINE(TCL_DEFAULT_ENCODING, "utf-8",
[Are we to override what our default encoding is?])
AC_DEFINE(TCL_LOAD_FROM_MEMORY, 1,
[Can this platform load code from memory?])
AC_DEFINE(TCL_WIDE_CLICKS, 1,
[Does this platform have wide high-resolution clicks?])
AC_CHECK_HEADERS(AvailabilityMacros.h)
|
| ︙ | ︙ |