changeset 2572:28a60106490c

Put kludge in if-then...fi block.
author Jim Meyering <jim@meyering.net>
date Sun, 04 Jun 2000 07:30:07 +0000
parents a3aef28bde56
children 189381bf2e09
files m4/jm-glibc-io.m4
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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