Mercurial > hg > octave-kai > gnulib-hg
changeset 14706:e3c1ba4083ba
fclose: Simplify autoconf macro.
* m4/fclose.m4 (gl_FUNC_FCLOSE): Assume gl_FUNC_FFLUSH_STDIN is
defined.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 07 May 2011 13:05:51 +0200 |
parents | 1d22c0ab5f83 |
children | 5cd365083be8 |
files | ChangeLog m4/fclose.m4 |
diffstat | 2 files changed, 11 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-05-07 Bruno Haible <bruno@clisp.org> + + fclose: Simplify autoconf macro. + * m4/fclose.m4 (gl_FUNC_FCLOSE): Assume gl_FUNC_FFLUSH_STDIN is + defined. + 2011-05-07 Bruno Haible <bruno@clisp.org> canonicalize-lgpl: Fix autoconf macro ordering bug.
--- a/m4/fclose.m4 +++ b/m4/fclose.m4 @@ -1,4 +1,4 @@ -# fclose.m4 serial 3 +# fclose.m4 serial 4 dnl Copyright (C) 2008-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,12 +6,10 @@ AC_DEFUN([gl_FUNC_FCLOSE], [ - m4_ifdef([gl_FUNC_FFLUSH_STDIN], [ - gl_FUNC_FFLUSH_STDIN - if test $gl_cv_func_fflush_stdin = no; then - gl_REPLACE_FCLOSE - fi - ]) + gl_FUNC_FFLUSH_STDIN + if test $gl_cv_func_fflush_stdin = no; then + gl_REPLACE_FCLOSE + fi ]) AC_DEFUN([gl_REPLACE_FCLOSE],