Declare ldexpl() when the system doesn't have it.
authorBruno Haible <bruno@clisp.org>
Sat, 31 Mar 2007 20:36:47 +0000 (20:36 +0000)
committerBruno Haible <bruno@clisp.org>
Sat, 31 Mar 2007 20:36:47 +0000 (20:36 +0000)
ChangeLog
m4/ldexpl.m4

index fd72aa2..31af9cb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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 bug in HP-UX iconv_open().
 
index b7ef580..6587d85 100644 (file)
@@ -54,6 +54,7 @@ AC_DEFUN([gl_FUNC_LDEXPL],
     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
 ])