]>
Commit | Line | Data |
---|---|---|
231897ad | 1 | #serial 6 |
a0f6b076 | 2 | |
f61aad93 PE |
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]). | |
231897ad | 7 | jm_PREREQ_ERROR |
f61aad93 | 8 | ]) |
a0f6b076 | 9 | |
f61aad93 | 10 | # Prerequisites of lib/error.c. |
4a0d8936 | 11 | AC_DEFUN([jm_PREREQ_ERROR], |
a0f6b076 | 12 | [ |
f61aad93 PE |
13 | AC_REQUIRE([AC_HEADER_STDC]) |
14 | AC_CHECK_FUNCS_ONCE(doprnt vprintf) | |
15 | AC_CHECK_FUNCS(strerror) | |
4a0d8936 | 16 | AC_CHECK_DECLS([strerror]) |
5141b016 | 17 | AC_FUNC_STRERROR_R |
a0f6b076 | 18 | ]) |