summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-14 05:55:19 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-09-14 05:55:19 (GMT)
commit40465ebc27ec4ec86de055d5de0fc23a4da1205a (patch)
tree8940de932dc6ab5fb0c5f84562f0e577856fe986 /configure.ac
parent3310c87d370573ee63cd3a49e610a338ed758ef2 (diff)
parent37098cd5848558f092ae26978369590b993132c3 (diff)
downloadcpython-40465ebc27ec4ec86de055d5de0fc23a4da1205a.zip
cpython-40465ebc27ec4ec86de055d5de0fc23a4da1205a.tar.gz
cpython-40465ebc27ec4ec86de055d5de0fc23a4da1205a.tar.bz2
merge 3.6 (#28081)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 51b122e..767eacc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3734,6 +3734,12 @@ AC_CHECK_FUNCS(clock_getres, [], [
])
])
+AC_CHECK_FUNCS(clock_settime, [], [
+ AC_CHECK_LIB(rt, clock_settime, [
+ AC_DEFINE(HAVE_CLOCK_SETTIME, 1)
+ ])
+])
+
AC_MSG_CHECKING(for major, minor, and makedev)
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#if defined(MAJOR_IN_MKDEV)