diff options
| author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-07-22 10:57:44 (GMT) |
|---|---|---|
| committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-07-22 10:57:44 (GMT) |
| commit | df8c9343d950267a4f466f8ca9cd5069354b75a9 (patch) | |
| tree | 06dde2f69b720970ae28b8cfb0195ac37990253f /unix/configure.in | |
| parent | ea232b3489a3f6a93a1323c8aa25a997f50436a4 (diff) | |
| download | tcl-df8c9343d950267a4f466f8ca9cd5069354b75a9.zip tcl-df8c9343d950267a4f466f8ca9cd5069354b75a9.tar.gz tcl-df8c9343d950267a4f466f8ca9cd5069354b75a9.tar.bz2 | |
Use pthread_atfork() when available.
Diffstat (limited to 'unix/configure.in')
| -rw-r--r-- | unix/configure.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/unix/configure.in b/unix/configure.in index e22a7d3..f47b882 100644 --- a/unix/configure.in +++ b/unix/configure.in @@ -491,6 +491,12 @@ SC_ENABLE_LANGINFO AC_CHECK_FUNCS(chflags) #-------------------------------------------------------------------- +# Check for support of pthread_atfork function +#-------------------------------------------------------------------- + +AC_CHECK_FUNCS(pthread_atfork) + +#-------------------------------------------------------------------- # Check for support of isnan() function or macro #-------------------------------------------------------------------- @@ -513,7 +519,6 @@ if test "`uname -s`" = "Darwin" ; then if test $tcl_corefoundation = yes; then AC_CHECK_HEADERS(libkern/OSAtomic.h) AC_CHECK_FUNCS(OSSpinLockLock) - AC_CHECK_FUNCS(pthread_atfork) fi AC_DEFINE(USE_VFORK, 1, [Should we use vfork() instead of fork()?]) AC_DEFINE(TCL_DEFAULT_ENCODING, "utf-8", |
