(error): Use __strerror_r's return value only if HAVE_WORKING_STRERROR_R.
[gnulib.git] / m4 / error.m4
1 #serial 1
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_HEADER_STDC
11 ])