changeset 8601:a5c2fa01c945

Declare frexpl() when the system doesn't have it.
author Bruno Haible <bruno@clisp.org>
date Sat, 31 Mar 2007 20:38:34 +0000
parents 1e44ac68cfae
children 14e648f874bb
files ChangeLog m4/frexpl.m4
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-31  Bruno Haible  <bruno@clisp.org>
+
+	* m4/frexpl.m4 (gl_FUNC_FREXPL): Set HAVE_DECL_FREXPL to 0 when
+	the function is not present.
+
 2007-03-31  Bruno Haible  <bruno@clisp.org>
 
 	* m4/ldexpl.m4 (gl_FUNC_LDEXPL): Set HAVE_DECL_LDEXPL to 0 when
--- a/m4/frexpl.m4
+++ b/m4/frexpl.m4
@@ -54,6 +54,7 @@
     dnl MacOS X 10.3 has frexpl() in libc but doesn't declare it in <math.h>.
     AC_CHECK_DECL([frexpl], , [HAVE_DECL_FREXPL=0], [#include <math.h>])
   else
+    HAVE_DECL_FREXPL=0
     AC_LIBOBJ([frexpl])
   fi
 ])