diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-09-14 05:55:09 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-09-14 05:55:09 (GMT) |
commit | 37098cd5848558f092ae26978369590b993132c3 (patch) | |
tree | 48eb54c9b8237dc142b62e64a1a0c7ff563ac469 /configure.ac | |
parent | 54bb13bdfd59d68dcf0bfa2171b903695d9e9f87 (diff) | |
download | cpython-37098cd5848558f092ae26978369590b993132c3.zip cpython-37098cd5848558f092ae26978369590b993132c3.tar.gz cpython-37098cd5848558f092ae26978369590b993132c3.tar.bz2 |
more granular configure checks for clock_* functions (closes #28081)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 01d8d8a..0a140db 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) |