From 5ac7a821bd96ca5e531d5127f66ab6a258cd7fcb Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 31 Jan 2008 00:25:53 +0100 Subject: [PATCH] Fix autoconf test bug introduced on 2008-01-15. --- ChangeLog | 6 ++++++ m4/frexpl.m4 | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index dbf97997ed..7929dcd856 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-01-30 Andreas Schwab + Bruno Haible + + * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Include and ensure a + correct definition of LDBL_MIN_EXP. + 2008-01-30 Karl Berry * config/srclist-update: try to preserve x bit on updates. diff --git a/m4/frexpl.m4 b/m4/frexpl.m4 index a4f2bd8cc6..c6bdff6c23 100644 --- a/m4/frexpl.m4 +++ b/m4/frexpl.m4 @@ -1,4 +1,4 @@ -# frexpl.m4 serial 7 +# frexpl.m4 serial 8 dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -106,7 +106,13 @@ AC_DEFUN([gl_FUNC_FREXPL_WORKS], AC_CACHE_CHECK([whether frexpl works], [gl_cv_func_frexpl_works], [ AC_TRY_RUN([ +#include #include +/* Override the values of , like done in float.in.h. */ +#if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__) +# undef LDBL_MIN_EXP +# define LDBL_MIN_EXP (-16381) +#endif extern long double frexpl (long double, int *); int main() { -- 2.30.2