summaryrefslogtreecommitdiff
path: root/gnu/dist/diffutils/m4/error.m4
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2003-01-26 00:43:02 +0000
committerwiz <wiz@NetBSD.org>2003-01-26 00:43:02 +0000
commitb8ffffc7d9d0669c0c11591e108943d9f0af97d5 (patch)
treeedfd730e7deb5e72331af706e54fb4986ce34a09 /gnu/dist/diffutils/m4/error.m4
parent488efef5d4aa3d69ffdaeb4e0efd106c5fdbcf8a (diff)
Import of diffutils-2.8.1 (converted with to-be-committed
diffutils2netbsd script).
Diffstat (limited to 'gnu/dist/diffutils/m4/error.m4')
-rw-r--r--gnu/dist/diffutils/m4/error.m413
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/dist/diffutils/m4/error.m4 b/gnu/dist/diffutils/m4/error.m4
new file mode 100644
index 00000000000..3fddb5c1115
--- /dev/null
+++ b/gnu/dist/diffutils/m4/error.m4
@@ -0,0 +1,13 @@
+#serial 4
+
+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 vprintf doprnt)
+ AC_CHECK_DECLS([strerror])
+ AC_FUNC_STRERROR_R
+ AC_HEADER_STDC
+])