Oops, don't use 'long double' here.
authorBruno Haible <bruno@clisp.org>
Thu, 22 Mar 2007 11:35:12 +0000 (11:35 +0000)
committerBruno Haible <bruno@clisp.org>
Thu, 22 Mar 2007 11:35:12 +0000 (11:35 +0000)
m4/frexp.m4

index b0f0d73..60d897b 100644 (file)
@@ -12,7 +12,7 @@ AC_DEFUN([gl_FUNC_FREXP],
     [gl_cv_func_frexp_no_libm],
     [
       AC_TRY_LINK([#include <math.h>
-                   long double x;],
+                   double x;],
                   [int e; return frexp (x, &e) > 0;],
         [gl_cv_func_frexp_no_libm=yes],
         [gl_cv_func_frexp_no_libm=no])
@@ -24,7 +24,7 @@ AC_DEFUN([gl_FUNC_FREXP],
         save_LIBS="$LIBS"
         LIBS="$LIBS -lm"
         AC_TRY_LINK([#include <math.h>
-                     long double x;],
+                     double x;],
                     [int e; return frexp (x, &e) > 0;],
           [gl_cv_func_frexp_in_libm=yes],
           [gl_cv_func_frexp_in_libm=no])