summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-08-29 13:41:08 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-08-29 13:41:08 (GMT)
commit7efb83393cbe08924682c6852e94d3c4a4033c34 (patch)
treeb8ac264faa3d2470659df159932d27adcf9cd9ce /configure
parent0dc10e0d1c96c39602ae08403ed758fa72b6d547 (diff)
downloadcpython-7efb83393cbe08924682c6852e94d3c4a4033c34.zip
cpython-7efb83393cbe08924682c6852e94d3c4a4033c34.tar.gz
cpython-7efb83393cbe08924682c6852e94d3c4a4033c34.tar.bz2
Issue #22287: On UNIX, _PyTime_gettimeofday() now uses
clock_gettime(CLOCK_REALTIME) if available. As a side effect, Python now depends on the librt library on Solaris and on Linux (only with glibc older than 2.17).
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index c4c5b7b..4247a78 100755
--- a/configure
+++ b/configure
@@ -11904,6 +11904,7 @@ fi
$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
+ LIBS="$LIBS -lrt"
$as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h