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 fd72aa25922b96e3511af862fffad5d6081ca78b..31af9cb3cb79afccc8411d668d176c301cb1f745 100644 (file)
--- 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
index b7ef5807c064601bc37a091fc3ba3cfb8e763fa3..6587d85c304aa68d5194a561f035c7a8172b1e61 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
 ])