--- coreutils-8.21.orig/m4/fseeko.m4	2013-01-02 13:34:46.000000000 +0100
+++ coreutils-8.21/m4/fseeko.m4	2013-11-04 20:32:38.000000000 +0100
@@ -37,7 +37,7 @@ AC_DEFUN([gl_FUNC_FSEEKO],
     fi
     m4_ifdef([gl_FUNC_FFLUSH_STDIN], [
       gl_FUNC_FFLUSH_STDIN
-      if test $gl_cv_func_fflush_stdin = no; then
+      if test $gl_cv_func_fflush_stdin != yes; then
         REPLACE_FSEEKO=1
       fi
     ])
