# HG changeset patch # User Jim Meyering # Date 960103807 0 # Node ID 28a60106490c88576cf913ae86f186e7264890c2 # Parent a3aef28bde56f3a1069431f219d3e691de93a18d Put kludge in if-then...fi block. diff --git a/m4/jm-glibc-io.m4 b/m4/jm-glibc-io.m4 --- a/m4/jm-glibc-io.m4 +++ b/m4/jm-glibc-io.m4 @@ -9,10 +9,11 @@ AC_DEFUN(jm_FUNC_GLIBC_UNLOCKED_IO, [ # Kludge (not executed) to make autoheader do the right thing. - test a = b && + if test a = b; then AC_CHECK_DECLS([clearerr_unlocked, feof_unlocked, ferror_unlocked, fflush_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked, getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked]) + fi io_functions='clearerr_unlocked feof_unlocked ferror_unlocked fflush_unlocked fputc_unlocked fread_unlocked fwrite_unlocked