Mercurial > hg > octave-shane > gnulib-hg
annotate m4/truncl-ieee.m4 @ 14022:d7ccab3aa576
truncl-ieee: Make it work on OSF/1 5.1 with cc.
* doc/posix-functions/truncl.texi: Mention the OSF/1 5.1 bug.
* m4/truncl.m4 (gl_FUNC_TRUNCL): If gl_FUNC_TRUNCL_IEEE is also used,
test whether truncl works according to ISO C 99 with IEC 60559.
* m4/truncl-ieee.m4: New file.
* modules/truncl-ieee (Files): Add it and m4/minus-zero.m4,
m4/signbit.m4.
(configure.ac): Invoke gl_FUNC_TRUNCL_IEEE.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 25 Dec 2010 12:06:28 +0100 |
parents | |
children | 97fc9a21a8fb |
rev | line source |
---|---|
14022
d7ccab3aa576
truncl-ieee: Make it work on OSF/1 5.1 with cc.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1 # truncl-ieee.m4 serial 1 |
d7ccab3aa576
truncl-ieee: Make it work on OSF/1 5.1 with cc.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
2 dnl Copyright (C) 2010 Free Software Foundation, Inc. |
d7ccab3aa576
truncl-ieee: Make it work on OSF/1 5.1 with cc.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
3 dnl This file is free software; the Free Software Foundation |
d7ccab3aa576
truncl-ieee: Make it work on OSF/1 5.1 with cc.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
4 dnl gives unlimited permission to copy and/or distribute it, |
d7ccab3aa576
truncl-ieee: Make it work on OSF/1 5.1 with cc.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
5 dnl with or without modifications, as long as this notice is preserved. |
d7ccab3aa576
truncl-ieee: Make it work on OSF/1 5.1 with cc.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
6 |
d7ccab3aa576
truncl-ieee: Make it work on OSF/1 5.1 with cc.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
7 dnl This macro is in a separate file (not in truncl.m4 and not inlined in the |
d7ccab3aa576
truncl-ieee: Make it work on OSF/1 5.1 with cc.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
8 dnl module description), so that gl_FUNC_TRUNCL can test whether 'aclocal' has |
d7ccab3aa576
truncl-ieee: Make it work on OSF/1 5.1 with cc.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
9 dnl found uses of this macro. |
d7ccab3aa576
truncl-ieee: Make it work on OSF/1 5.1 with cc.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
10 |
d7ccab3aa576
truncl-ieee: Make it work on OSF/1 5.1 with cc.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
11 AC_DEFUN([gl_FUNC_TRUNCL_IEEE], |
d7ccab3aa576
truncl-ieee: Make it work on OSF/1 5.1 with cc.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
12 [ |
d7ccab3aa576
truncl-ieee: Make it work on OSF/1 5.1 with cc.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
13 m4_divert_text([INIT_PREPARE], [gl_truncl_required=ieee]) |
d7ccab3aa576
truncl-ieee: Make it work on OSF/1 5.1 with cc.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
14 AC_REQUIRE([gl_FUNC_TRUNCL]) |
d7ccab3aa576
truncl-ieee: Make it work on OSF/1 5.1 with cc.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
15 ]) |