Put kludge in if-then...fi block.
authorJim Meyering <jim@meyering.net>
Sun, 4 Jun 2000 07:30:07 +0000 (07:30 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 4 Jun 2000 07:30:07 +0000 (07:30 +0000)
m4/jm-glibc-io.m4

index ca59ca5..d485b10 100644 (file)
@@ -9,10 +9,11 @@ dnl
 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