aboutsummaryrefslogtreecommitdiff
path: root/m4/error.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/error.m4')
-rw-r--r--m4/error.m415
1 files changed, 15 insertions, 0 deletions
diff --git a/m4/error.m4 b/m4/error.m4
new file mode 100644
index 00000000..0bc2e689
--- /dev/null
+++ b/m4/error.m4
@@ -0,0 +1,15 @@
+#serial 9
+
+AC_DEFUN([gl_ERROR],
+[
+ AC_FUNC_ERROR_AT_LINE
+ dnl Note: AC_FUNC_ERROR_AT_LINE does AC_LIBSOURCES([error.h, error.c]).
+ jm_PREREQ_ERROR
+])
+
+# Prerequisites of lib/error.c.
+AC_DEFUN([jm_PREREQ_ERROR],
+[
+ AC_REQUIRE([AC_FUNC_STRERROR_R])
+ :
+])