annotate modules/exp2f-ieee-tests @ 17176:fe213f3f2c57
gethrxtime: better 'inline'
* lib/xtime.c: New file.
* lib/gethrxtime.c, lib/gethrxtime.h (GETHRXTIME_INLINE):
* lib/xtime.h (XTIME_INCLUDE):
New macros. Replace all uses of 'static inline' with them.
* lib/gethrxtime.c (gethrxtime): Define only if
! (HAVE_ARITHMETIC_HRTIME_T && HAVE_DECL_GETHRTIME), since
this source file is now always compiled, because of the extern inline.
* lib/gethrxtime.h, lib/xtime.h:
Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END.
* m4/gethrxtime.m4 (gl_GETHRXTIME): Do not check for clock macros
if gethrtime works, as they're not needed in that case.
(gl_XTIME): Do not require AC_C_INLINE.
(gl_PREREQ_GETHRXTIME): Remove; all uses removed, as it's always
compiled now. Move the check into gl_GETHRXTIME.
* modules/gethrxtime (Files, lib_SOURCES): Add lib/xtime.c.
(Depends-on): Add extern-inline.
(configure.ac): gethrxtime is always compiled now.
(lib_SOURCES): Add gethrxtime.c.
author |
Paul Eggert <eggert@cs.ucla.edu> |
date |
Tue, 20 Nov 2012 22:25:07 -0800 |
parents |
898d3c91bae4 |
children |
|
rev |
line source |
16623
|
1 Files: |
|
2 tests/test-exp2f-ieee.c |
|
3 tests/test-exp2-ieee.h |
|
4 tests/minus-zero.h |
|
5 tests/infinity.h |
|
6 tests/nan.h |
|
7 tests/macros.h |
|
8 |
|
9 Depends-on: |
|
10 isnanf-nolibm |
|
11 float |
|
12 signbit |
|
13 |
|
14 configure.ac: |
|
15 |
|
16 Makefile.am: |
|
17 TESTS += test-exp2f-ieee |
|
18 check_PROGRAMS += test-exp2f-ieee |
|
19 test_exp2f_ieee_LDADD = $(LDADD) @EXP2F_LIBM@ |