isfinite: Fix syntax error in configure test.
authorBruno Haible <bruno@clisp.org>
Sat, 1 Oct 2011 09:58:48 +0000 (11:58 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 1 Oct 2011 09:58:48 +0000 (11:58 +0200)
* m4/isfinite.m4 (gl_ISFINITEL_WORKS): Fix syntax error.

ChangeLog
m4/isfinite.m4

index 6486bac..0d2bc0d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-10-01  Bruno Haible  <bruno@clisp.org>
 
+       isfinite: Fix syntax error in configure test.
+       * m4/isfinite.m4 (gl_ISFINITEL_WORKS): Fix syntax error.
+
        isfinite: Fix typo.
        * m4/isfinite.m4 (gl_ISFINITEL_WORKS): When cross-compiling, set
        gl_cv_func_isfinitel_works, not gl_cv_func_isnanl_works.
index 1fca56a..9bc8c4d 100644 (file)
@@ -148,7 +148,7 @@ int main ()
     static memory_long_double x =
       { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     if (isfinite (x.value))
-      return |= 64;
+      result |= 64;
   }
 #endif