summaryrefslogtreecommitdiff
path: root/acm4/error.m4
diff options
context:
space:
mode:
Diffstat (limited to 'acm4/error.m4')
-rw-r--r--acm4/error.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/acm4/error.m4 b/acm4/error.m4
new file mode 100644
index 00000000..eb0f776b
--- /dev/null
+++ b/acm4/error.m4
@@ -0,0 +1,11 @@
+#serial 1
+
+dnl FIXME: put these prerequisite-only *.m4 files in a separate
+dnl directory -- otherwise, they'll conflict with existing files.
+
+dnl These are the prerequisite macros for GNU's error.c file.
+AC_DEFUN(jm_PREREQ_ERROR,
+[
+ AC_CHECK_FUNCS(strerror strerror_r vprintf doprnt)
+ AC_HEADER_STDC
+])