From: Jim Meyering Date: Sun, 4 Jun 2000 07:30:07 +0000 (+0000) Subject: Put kludge in if-then...fi block. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1489b4931bc419fe50d0ca5e8b5911cd17a03e96;p=pspp Put kludge in if-then...fi block. --- diff --git a/m4/jm-glibc-io.m4 b/m4/jm-glibc-io.m4 index ca59ca5d1a..d485b103bf 100644 --- a/m4/jm-glibc-io.m4 +++ b/m4/jm-glibc-io.m4 @@ -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