md5, sha1, sha256, sha512: add gl_SET_CRYPTO_CHECK_DEFAULT
[gnulib.git] / m4 / frexpf.m4
index d8f58cd..431fdd3 100644 (file)
@@ -1,5 +1,5 @@
-# frexpf.m4 serial 3
-dnl Copyright (C) 2011 Free Software Foundation, Inc.
+# frexpf.m4 serial 5
+dnl Copyright (C) 2011-2013 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_FREXPF],
   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.
@@ -48,7 +51,7 @@ AC_DEFUN([gl_FUNC_FREXPF_WORKS],
 /* 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)