summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-12-11 07:21:14 +0000
committerJim Meyering <jim@meyering.net>2002-12-11 07:21:14 +0000
commit6e041727185d44b3c5a657a6902cee53c2a99956 (patch)
tree05d69a4738af806196ae4c687a1b5838a2e337fa
parent8e5b4e9c2bb787af474eb58a841bf99dc22f01fe (diff)
downloadcoreutils-6e041727185d44b3c5a657a6902cee53c2a99956.tar.xz
Maintain this file manually rather than generating it.
Generating it caused too much trouble. From gnulib.
-rw-r--r--m4/jm-glibc-io.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/m4/jm-glibc-io.m4 b/m4/jm-glibc-io.m4
new file mode 100644
index 000000000..e8054f0bd
--- /dev/null
+++ b/m4/jm-glibc-io.m4
@@ -0,0 +1,14 @@
+#serial 7 -*- autoconf -*-
+
+dnl From Jim Meyering.
+dnl
+dnl See if the glibc *_unlocked I/O macros are available.
+dnl Use only those *_unlocked macros that are declared.
+dnl
+
+AC_DEFUN([jm_FUNC_GLIBC_UNLOCKED_IO],
+ [AC_CHECK_DECLS(
+ [clearerr_unlocked, feof_unlocked, ferror_unlocked,
+ fflush_unlocked, fgets_unlocked, fputc_unlocked, fputs_unlocked,
+ fread_unlocked, fwrite_unlocked, getc_unlocked,
+ getchar_unlocked, putc_unlocked, putchar_unlocked])])