Restore missing check for flockfile and getc_unlocked

This commit is contained in:
Ondřej Surý
2019-03-07 13:32:30 +01:00
parent a6bb44493c
commit 7eea756858
4 changed files with 28 additions and 1 deletions

View File

@@ -675,6 +675,11 @@ AC_CHECK_FUNCS([pthread_setaffinity_np cpuset_setaffinity processor_bind sched_s
AC_CHECK_FUNCS([pthread_setname_np pthread_set_name_np])
AC_CHECK_HEADERS([pthread_np.h], [], [], [#include <pthread.h>])
#
# flockfile is usually provided by pthreads
#
AC_CHECK_FUNCS([flockfile getc_unlocked])
#
# Look for sysconf to allow detection of the number of processors.
#