diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2013-03-13 01:00:16 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2013-03-13 01:00:16 +0000 |
commit | 8801192430b8f4fbf7d683c44f7aea1762986c1a (patch) | |
tree | e95c0330b64b323a8ee156bbffd48ef50308a2da | |
parent | aa4d4b4ec0b8019ff9ebd5bba6c86c23990f42f2 (diff) | |
download | mpfr-8801192430b8f4fbf7d683c44f7aea1762986c1a.tar.gz |
[configure.ac] Corrected comment on clock_gettime.
(merged changeset r8446 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@8480 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | configure.ac | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 53b502954..5ac32abb3 100644 --- a/configure.ac +++ b/configure.ac @@ -320,11 +320,11 @@ AC_C_CONST AC_C_VOLATILE 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])]) |