Don't check for sys_siglist and _sys_siglist with AC_HAVE_FUNCS.

Instead use two AC_COMPILE_CHECKs.
This commit is contained in:
Roland McGrath 1994-06-04 05:11:12 +00:00
parent e3a24fc596
commit fff5a9ece0

View file

@ -29,9 +29,15 @@ AC_STAT_MACROS_BROKEN
AC_SUBST(LIBOBJS)
AC_HAVE_FUNCS(getdtablesize sys_siglist _sys_siglist psignal \
AC_HAVE_FUNCS(getdtablesize psignal \
dup2 getcwd sigsetmask getgroups setlinebuf \
seteuid setegid setreuid setregid strerror)
AC_COMPILE_CHECK(sys_siglist, ,
[extern char *sys_siglist[]; puts(*sys_siglist);],
AC_DEFINE(HAVE_SYS_SIGLIST))
AC_COMPILE_CHECK(_sys_siglist, ,
[extern char *_sys_siglist[]; puts(*_sys_siglist);],
AC_DEFINE(HAVE__SYS_SIGLIST))
AC_ALLOCA
AC_VFORK
AC_SETVBUF_REVERSED