diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2013-01-03 04:38:45 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2013-01-03 04:38:45 +0000 |
commit | 69de140554757a091a2bbcb099b78cd6e3f19c2c (patch) | |
tree | 36a0cdf1118b8de6bbe636d303aa2fff05c64233 /configure.ac | |
parent | b6c230b2f203a1311ad4d3d83f7bc888df991b19 (diff) | |
download | mpfr-69de140554757a091a2bbcb099b78cd6e3f19c2c.tar.gz |
[configure.ac] Corrected comment on clock_gettime (from r8445).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8446 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index ec2b03b26..83cacd6bc 100644 --- a/configure.ac +++ b/configure.ac @@ -347,11 +347,11 @@ AC_C_BIGENDIAN([AC_DEFINE(HAVE_BIG_ENDIAN)],[AC_DEFINE(HAVE_LITTLE_ENDIAN)], MPFR_CONFIGS -# (From GMP 5.1) -# clock_gettime is in librt on *-*-osf5.1 and on glibc, so att -lrt to -# TUNE_LIBS if needed. On linux (tested on x86_32, 2.6.26), -# clock_getres reports ns accuracy, while in a quick test on osf -# clock_getres said only 1 millisecond. +# (Based on GMP 5.1) +# clock_gettime is in librt on *-*-osf5.1 and on glibc < 2.17, so add -lrt to +# TUNE_LIBS if needed (e.g. if clock_gettime is not already in the C library). +# On linux (tested on x86_32, 2.6.26), clock_getres reports ns accuracy, +# while in a quick test on osf, clock_getres said only 1 millisecond. old_LIBS="$LIBS" AC_SEARCH_LIBS(clock_gettime, rt, [ AC_DEFINE([HAVE_CLOCK_GETTIME],1,[Define to 1 if you have the `clock_gettime' function])]) |