changeset 8600:1e44ac68cfae

Declare ldexpl() when the system doesn't have it.
author Bruno Haible <bruno@clisp.org>
date Sat, 31 Mar 2007 20:36:47 +0000
parents 1ef5d8ed2636
children a5c2fa01c945
files ChangeLog m4/ldexpl.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/ldexpl.m4 (gl_FUNC_LDEXPL): Set HAVE_DECL_LDEXPL to 0 when
+	the function is not present.
+
 2007-03-31  Bruno Haible  <bruno@clisp.org>
 
 	* m4/iconv.m4 (AM_ICONV_LINK): Fix 2007-03-29 patch. Test also against
--- a/m4/ldexpl.m4
+++ b/m4/ldexpl.m4
@@ -54,6 +54,7 @@
     dnl MacOS X 10.3 has ldexpl() in libc but doesn't declare it in <math.h>.
     AC_CHECK_DECL([ldexpl], , [HAVE_DECL_LDEXPL=0], [#include <math.h>])
   else
+    HAVE_DECL_LDEXPL=0
     AC_LIBOBJ([ldexpl])
   fi
 ])