]> granicus.if.org Git - python/commitdiff
drop unused configure check for pthread_atfork (#4046)
authorBenjamin Peterson <benjamin@python.org>
Thu, 19 Oct 2017 06:39:01 +0000 (23:39 -0700)
committerGitHub <noreply@github.com>
Thu, 19 Oct 2017 06:39:01 +0000 (23:39 -0700)
configure
configure.ac
pyconfig.h.in

index 324c03470601a5b74fe30749b841f1dd54b9e893..aa605d2f69446fb81a458c5caa8e92841565e8cb 100755 (executable)
--- a/configure
+++ b/configure
@@ -10538,17 +10538,6 @@ $as_echo "#define HAVE_BROKEN_PTHREAD_SIGMASK 1" >>confdefs.h
 
             ;;
         esac
-fi
-done
-
-      for ac_func in pthread_atfork
-do :
-  ac_fn_c_check_func "$LINENO" "pthread_atfork" "ac_cv_func_pthread_atfork"
-if test "x$ac_cv_func_pthread_atfork" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_PTHREAD_ATFORK 1
-_ACEOF
-
 fi
 done
 
index bf2b7c0753467cfbc0c0c87952bd5c42ad339393..a5b9967a5e6f5051c2d3052d5c870e093843d1b0 100644 (file)
@@ -3043,7 +3043,6 @@ if test "$posix_threads" = "yes"; then
             [Define if pthread_sigmask() does not work on your system.])
             ;;
         esac])
-      AC_CHECK_FUNCS(pthread_atfork)
       AC_CHECK_FUNCS(pthread_getcpuclockid)
 fi
 
index 7f0c6b33a95b2d33e30da3505930407320444de4..662c42e047c85b939063f1d1c8b85504e8c2f86e 100644 (file)
 /* Define if your compiler supports function prototype */
 #undef HAVE_PROTOTYPES
 
-/* Define to 1 if you have the `pthread_atfork' function. */
-#undef HAVE_PTHREAD_ATFORK
-
 /* Defined for Solaris 2.6 bug in pthread header. */
 #undef HAVE_PTHREAD_DESTRUCTOR