diff options
author | Bruno Haible <bruno@clisp.org> | 2012-02-27 14:19:01 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-02-27 14:19:01 +0100 |
commit | f7689fa092730638d75ad42b055aa8572ee92907 (patch) | |
tree | e01f27e507e46cad28e865da2d60d7792230997c /m4/fmodl-ieee.m4 | |
parent | 6a43f7b2199b69e39f804fd7b432f86f10c66e0e (diff) | |
download | gnulib-f7689fa092730638d75ad42b055aa8572ee92907.tar.gz |
fmodl-ieee: Work around test failures on OSF/1, MSVC 9.
* m4/fmodl-ieee.m4: New file.
* m4/fmodl.m4 (gl_FUNC_FMODL): If gl_FUNC_FMODL_IEEE is present, test
whether fmodl works with zero arguments. Replace it if not.
* modules/fmodl-ieee (Files): Add m4/fmodl-ieee.m4.
(Depends-on): Add fmod-ieee.
(configure.ac): Invoke gl_FUNC_FMODL_IEEE.
* doc/posix-functions/fmodl.texi: Mention the fmodl-ieee module.
Diffstat (limited to 'm4/fmodl-ieee.m4')
-rw-r--r-- | m4/fmodl-ieee.m4 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/m4/fmodl-ieee.m4 b/m4/fmodl-ieee.m4 new file mode 100644 index 0000000000..f5c3d7bfa5 --- /dev/null +++ b/m4/fmodl-ieee.m4 @@ -0,0 +1,15 @@ +# fmodl-ieee.m4 serial 1 +dnl Copyright (C) 2012 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +dnl This macro is in a separate file (not in fmodl.m4 and not inlined in the +dnl module description), so that gl_FUNC_FMODL can test whether 'aclocal' has +dnl found uses of this macro. + +AC_DEFUN([gl_FUNC_FMODL_IEEE], +[ + m4_divert_text([INIT_PREPARE], [gl_fmodl_required=ieee]) + AC_REQUIRE([gl_FUNC_FMODL]) +]) |