summaryrefslogtreecommitdiff
path: root/m4/jm-glibc-io.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-06-04 07:30:07 +0000
committerJim Meyering <jim@meyering.net>2000-06-04 07:30:07 +0000
commit3962d775bf70a0a09cbd7b39baf41040b6c236a6 (patch)
tree5931f4d1f2e80b54eb055a32fea81e7860a2e0c1 /m4/jm-glibc-io.m4
parent1faa6a399a8e623f023b84ab1a8a787e574a6dfe (diff)
downloadcoreutils-3962d775bf70a0a09cbd7b39baf41040b6c236a6.tar.xz
Put kludge in if-then...fi block.
Diffstat (limited to 'm4/jm-glibc-io.m4')
-rw-r--r--m4/jm-glibc-io.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/jm-glibc-io.m4 b/m4/jm-glibc-io.m4
index ca59ca5d1..d485b103b 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