summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-03-31 20:38:34 +0000
committerBruno Haible <bruno@clisp.org>2007-03-31 20:38:34 +0000
commit49964f556b4b48faa22c9ca770a54fd61bec01cb (patch)
treecfc7c3ad8ae19d601a163ff9ba950c8578282ac6
parent2d2de4fae4048a89a37a8decee71dabbf8881015 (diff)
downloadgnulib-49964f556b4b48faa22c9ca770a54fd61bec01cb.tar.gz
Declare frexpl() when the system doesn't have it.
-rw-r--r--ChangeLog5
-rw-r--r--m4/frexpl.m41
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 31af9cb3cb..014c59042d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
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
the function is not present.
diff --git a/m4/frexpl.m4 b/m4/frexpl.m4
index cb864997dc..ab70e6ec8c 100644
--- a/m4/frexpl.m4
+++ b/m4/frexpl.m4
@@ -54,6 +54,7 @@ AC_DEFUN([gl_FUNC_FREXPL],
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
])