(jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
[gnulib.git] / m4 / error.m4
1 #serial 2
2
3 dnl FIXME: put these prerequisite-only *.m4 files in a separate
4 dnl directory -- otherwise, they'll conflict with existing files.
5
6 dnl These are the prerequisite macros for GNU's error.c file.
7 AC_DEFUN(jm_PREREQ_ERROR,
8 [
9   AC_CHECK_FUNCS(strerror strerror_r vprintf doprnt)
10   AC_FUNC_STRERROR_R
11   AC_HEADER_STDC
12 ])