Skip to content

Commit 24c4d04

Browse files
authored
drop unused configure check for pthread_atfork (#4046)
1 parent 20faa68 commit 24c4d04

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

configure

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10538,17 +10538,6 @@ $as_echo "#define HAVE_BROKEN_PTHREAD_SIGMASK 1" >>confdefs.h
1053810538

1053910539
;;
1054010540
esac
10541-
fi
10542-
done
10543-
10544-
for ac_func in pthread_atfork
10545-
do :
10546-
ac_fn_c_check_func "$LINENO" "pthread_atfork" "ac_cv_func_pthread_atfork"
10547-
if test "x$ac_cv_func_pthread_atfork" = xyes; then :
10548-
cat >>confdefs.h <<_ACEOF
10549-
#define HAVE_PTHREAD_ATFORK 1
10550-
_ACEOF
10551-
1055210541
fi
1055310542
done
1055410543

configure.ac

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3043,7 +3043,6 @@ if test "$posix_threads" = "yes"; then
30433043
[Define if pthread_sigmask() does not work on your system.])
30443044
;;
30453045
esac])
3046-
AC_CHECK_FUNCS(pthread_atfork)
30473046
AC_CHECK_FUNCS(pthread_getcpuclockid)
30483047
fi
30493048

pyconfig.h.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -688,9 +688,6 @@
688688
/* Define if your compiler supports function prototype */
689689
#undef HAVE_PROTOTYPES
690690

691-
/* Define to 1 if you have the `pthread_atfork' function. */
692-
#undef HAVE_PTHREAD_ATFORK
693-
694691
/* Defined for Solaris 2.6 bug in pthread header. */
695692
#undef HAVE_PTHREAD_DESTRUCTOR
696693

0 commit comments

Comments
 (0)