From ebcacd406ef3cc9e41e653b341f718d5b36ede1b Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 10 Sep 2025 22:59:23 +0200 Subject: [PATCH] frexpl: Remove support for IRIX. * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Remove code for IRIX. Remove IRIX workaround. --- ChangeLog | 4 ++++ m4/frexpl.m4 | 12 +++--------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index dbf2d4fce8..9a955cf468 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2025-09-10 Bruno Haible + frexpl: Remove support for IRIX. + * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Remove code for IRIX. Remove IRIX + workaround. + frexpf: Remove support for IRIX. * m4/frexpf.m4 (gl_FUNC_FREXPF_WORKS): Remove code for IRIX. diff --git a/m4/frexpl.m4 b/m4/frexpl.m4 index f829be9df4..06895eb6ec 100644 --- a/m4/frexpl.m4 +++ b/m4/frexpl.m4 @@ -1,5 +1,5 @@ # frexpl.m4 -# serial 24 +# serial 25 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -117,7 +117,7 @@ AC_DEFUN([gl_CHECK_FREXPL_NO_LIBM], dnl Test whether frexpl() works on finite numbers (this fails on dnl Mac OS X 10.4/PowerPC, on AIX 5.1, and on BeOS), on denormalized numbers dnl (this fails on Mac OS X 10.5/i386), and also on infinite numbers (this -dnl fails e.g. on IRIX 6.5 and mingw). +dnl fails e.g. on mingw). AC_DEFUN([gl_FUNC_FREXPL_WORKS], [ AC_REQUIRE([AC_PROG_CC]) @@ -141,12 +141,6 @@ AC_DEFUN([gl_FUNC_FREXPL_WORKS], # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP #endif -#if defined __sgi && (LDBL_MANT_DIG >= 106) -# if defined __GNUC__ -# undef LDBL_MIN_EXP -# define LDBL_MIN_EXP DBL_MIN_EXP -# endif -#endif extern #ifdef __cplusplus "C" @@ -225,7 +219,7 @@ int main() [ changequote(,)dnl case "$host_os" in - aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | windows* | pw*) + aix | aix[3-6]* | beos* | darwin* | mingw* | windows* | pw*) gl_cv_func_frexpl_works="guessing no";; *) gl_cv_func_frexpl_works="guessing yes";; esac -- 2.47.3