-# frexpf.m4 serial 3
+# frexpf.m4 serial 5
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_REQUIRE([gl_MATH_H_DEFAULTS])
AC_REQUIRE([gl_FUNC_FREXP])
+ dnl Persuade glibc <math.h> to declare frexpf().
+ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
+
dnl Test whether frexpf() exists. We cannot assume that frexpf(), if it
dnl exists, is defined in the same library as frexp(). This is not the case
dnl on NetBSD, OpenBSD.
/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
ICC 10.0 has a bug when optimizing the expression -zero.
The expression -FLT_MIN * FLT_MIN does not work when cross-compiling
- to PowerPC on MacOS X 10.5. */
+ to PowerPC on Mac OS X 10.5. */
#if defined __hpux || defined __sgi || defined __ICC
static float
compute_minus_zero (void)