summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
Diffstat (limited to 'unix')
-rwxr-xr-xunix/configure1
-rw-r--r--unix/tkConfig.h.in3
2 files changed, 4 insertions, 0 deletions
diff --git a/unix/configure b/unix/configure
index 4022a1f..654b67d 100755
--- a/unix/configure
+++ b/unix/configure
@@ -3962,6 +3962,7 @@ echo "$as_me: WARNING: Don't know how to find pthread lib on your system - you m
ac_saved_libs=$LIBS
LIBS="$LIBS $THREADS_LIBS"
+
for ac_func in pthread_attr_setstacksize pthread_atfork
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
diff --git a/unix/tkConfig.h.in b/unix/tkConfig.h.in
index 986609b..732bf94 100644
--- a/unix/tkConfig.h.in
+++ b/unix/tkConfig.h.in
@@ -43,6 +43,9 @@
/* Define to 1 if you have the `open64' function. */
#undef HAVE_OPEN64
+/* Define to 1 if you have the `pthread_atfork' function. */
+#undef HAVE_PTHREAD_ATFORK
+
/* Do we want a BSD-like thread-attribute interface? */
#undef HAVE_PTHREAD_ATTR_GET_NP