'pwrite' was being replaced on all platforms, since 2011-01-02.
This fixes it.


2012-04-22  Bruno Haible  <br...@clisp.org>

        pwrite: Don't replace on all platforms.
        * m4/pwrite.m4 (gl_FUNC_PWRITE): Fix syntax error in test program.

--- m4/pwrite.m4.orig   Sun Apr 22 15:22:58 2012
+++ m4/pwrite.m4        Sun Apr 22 15:21:57 2012
@@ -1,4 +1,4 @@
-# pwrite.m4 serial 4
+# pwrite.m4 serial 5
 dnl Copyright (C) 2010-2012 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -82,10 +82,6 @@
       return 13;
   }
   return 0;
-}
-
-
-  return 0;
 }]])],
           [gl_cv_func_pwrite_works=yes],
           [gl_cv_func_pwrite_works=no],


Reply via email to