Mercurial > hg > octave-nkf > gnulib-hg
view m4/log2-ieee.m4 @ 16688:ff618f17a176
log2-ieee: Work around test failure on NetBSD 5.1 and Solaris 10.
* m4/log2-ieee.m4: New file.
* m4/log2.m4 (gl_FUNC_LOG2): If gl_FUNC_LOG2_IEEE is present, test
whether log2 works with a minus zero argument. Replace it if not.
* modules/log2-ieee (Files): Add m4/log2-ieee.m4.
(configure.ac): Invoke gl_FUNC_LOG2_IEEE.
* doc/posix-functions/log2.texi: Mention the log2-ieee module.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 11 Mar 2012 22:12:34 +0100 |
parents | |
children | e542fd46ad6f |
line wrap: on
line source
# log2-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 remainder.m4 and not inlined in the dnl module description), so that gl_FUNC_LOG2 can test whether 'aclocal' has dnl found uses of this macro. AC_DEFUN([gl_FUNC_LOG2_IEEE], [ m4_divert_text([INIT_PREPARE], [gl_log2_required=ieee]) AC_REQUIRE([gl_FUNC_LOG2]) ])