]> git.saurik.com Git - bison.git/blob - m4/error.m4
Sync from automake 1.7.5.
[bison.git] / m4 / error.m4
1 #serial 7
2
3 AC_DEFUN([gl_ERROR],
4 [
5 AC_FUNC_ERROR_AT_LINE
6 dnl Note: AC_FUNC_ERROR_AT_LINE does AC_LIBSOURCES([error.h, error.c]).
7 jm_PREREQ_ERROR
8 ])
9
10 # Prerequisites of lib/error.c.
11 AC_DEFUN([jm_PREREQ_ERROR],
12 [
13 AC_REQUIRE([AC_HEADER_STDC])
14 AC_REQUIRE([AC_FUNC_VPRINTF])
15 AC_CHECK_FUNCS(strerror)
16 AC_CHECK_DECLS([strerror])
17 AC_FUNC_STRERROR_R
18 ])