[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Broken frexpl test
From: |
Andreas Schwab |
Subject: |
Broken frexpl test |
Date: |
Wed, 30 Jan 2008 15:53:12 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) |
The frexpl test always fails because it uses LDBL_MIN_EXP without
including <float.h>.
Andreas.
2008-01-30 Andreas Schwab <address@hidden>
* 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, address@hidden
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."
- Broken frexpl test,
Andreas Schwab <=