]>
Commit | Line | Data |
---|---|---|
1 | #serial 6 | |
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_CHECK_FUNCS_ONCE(doprnt vprintf) | |
15 | AC_CHECK_FUNCS(strerror) | |
16 | AC_CHECK_DECLS([strerror]) | |
17 | AC_FUNC_STRERROR_R | |
18 | ]) |