Add CVS checkout update instructions.
[gnulib.git] / m4 / frexp.m4
index 88d5be6..8e93322 100644 (file)
@@ -1,4 +1,4 @@
-# frexp.m4 serial 2
+# frexp.m4 serial 3
 dnl Copyright (C) 2007 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -53,6 +53,7 @@ AC_DEFUN([gl_FUNC_FREXP],
   else
     AC_LIBOBJ([frexp])
   fi
+  AC_SUBST([FREXP_LIBM])
 ])
 
 dnl Test whether frexp() works also on denormalized numbers (this fails e.g. on
@@ -83,8 +84,8 @@ int main()
         return 1;
     }
   /* Test on infinite numbers.  */
+  x = 1.0 / 0.0;
   {
-    x = 1.0 / 0.0;
     int exp;
     double y = frexp (x, &exp);
     if (y != x)