summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpdox <pdox@alum.mit.edu>2017-10-05 07:01:56 (GMT)
committerBenjamin Peterson <benjamin@python.org>2017-10-05 07:01:56 (GMT)
commite14679c78464d1e0e16786c2a0e9bcebe49e842b (patch)
tree066f524eae0f2de963387477482575462393a6c8 /configure
parent55fd06605b5d4fb6442645f1532aa05953bd93bc (diff)
downloadcpython-e14679c78464d1e0e16786c2a0e9bcebe49e842b.zip
cpython-e14679c78464d1e0e16786c2a0e9bcebe49e842b.tar.gz
cpython-e14679c78464d1e0e16786c2a0e9bcebe49e842b.tar.bz2
closes bpo-31596: Add an interface for pthread_getcpuclockid(3) (#3756)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure b/configure
index 8a763ef..2d1bed2 100755
--- a/configure
+++ b/configure
@@ -10483,6 +10483,17 @@ _ACEOF
fi
done
+ for ac_func in pthread_getcpuclockid
+do :
+ ac_fn_c_check_func "$LINENO" "pthread_getcpuclockid" "ac_cv_func_pthread_getcpuclockid"
+if test "x$ac_cv_func_pthread_getcpuclockid" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_PTHREAD_GETCPUCLOCKID 1
+_ACEOF
+
+fi
+done
+
fi