The frexpl test always fails because it uses LDBL_MIN_EXP without
including <float.h>.

Andreas.

2008-01-30  Andreas Schwab  <[EMAIL PROTECTED]>

        * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Include <float.h>.

diff --git a/m4/frexpl.m4 b/m4/frexpl.m4
index a4f2bd8..a931049 100644
--- a/m4/frexpl.m4
+++ b/m4/frexpl.m4
@@ -106,6 +106,7 @@ AC_DEFUN([gl_FUNC_FREXPL_WORKS],
   AC_CACHE_CHECK([whether frexpl works], [gl_cv_func_frexpl_works],
     [
       AC_TRY_RUN([
+#include <float.h>
 #include <math.h>
 extern long double frexpl (long double, int *);
 int main()

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Reply via email to