]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Sun, 28 Jun 1998 21:40:12 +0000 (21:40 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 28 Jun 1998 21:40:12 +0000 (21:40 +0000)
m4/jm-glibc-io.m4 [new file with mode: 0644]

diff --git a/m4/jm-glibc-io.m4 b/m4/jm-glibc-io.m4
new file mode 100644 (file)
index 0000000..e6ff4da
--- /dev/null
@@ -0,0 +1,24 @@
+#serial 1
+
+dnl From Jim Meyering.
+dnl
+dnl See if the glibc *_unlocked I/O macros are available.
+dnl
+
+AC_DEFUN(jm_FUNC_GLIBC_UNLOCKED_IO,
+  [AC_CHECK_FUNCS(                             \
+    clearerr_unlocked                          \
+    fclose_unlocked                            \
+    feof_unlocked                              \
+    ferror_unlocked                            \
+    fflush_unlocked                            \
+    fputc_unlocked                             \
+    fread_unlocked                             \
+    fwrite_unlocked                            \
+    getc_unlocked                              \
+    getchar_unlocked                           \
+    putc_unlocked                              \
+    putchar_unlocked                           \
+   )
+  ]
+)