dnl Check for declaration of sys_errlist in one of stdio.h and errno.h. dnl Declaration of sys_errlist on BSD4.4 interferes with our declaration. dnl Reported by Keith Bostic. AC_DEFUN([CF_SYS_ERRLIST], [ AC_MSG_CHECKING([declaration of sys_errlist]) AC_CACHE_VAL(cf_cv_dcl_sys_errlist,[ AC_TRY_COMPILE([ #include #include #include ], [char *c = (char *) *sys_errlist], [cf_cv_dcl_sys_errlist=yes], [cf_cv_dcl_sys_errlist=no])]) AC_MSG_RESULT($cf_cv_dcl_sys_errlist) test $cf_cv_dcl_sys_errlist = no || AC_DEFINE([DECL_SYS_ERRLIST],1,[Define when sys_errlist is defined in the standard include files]) ])dnl dnl