mirror of
https://github.com/mirror/make.git
synced 2025-01-06 02:10:35 +08:00
Don't check for sys_siglist and _sys_siglist with AC_HAVE_FUNCS.
Instead use two AC_COMPILE_CHECKs.
This commit is contained in:
parent
e3a24fc596
commit
fff5a9ece0
@ -29,9 +29,15 @@ AC_STAT_MACROS_BROKEN
|
|||||||
|
|
||||||
AC_SUBST(LIBOBJS)
|
AC_SUBST(LIBOBJS)
|
||||||
|
|
||||||
AC_HAVE_FUNCS(getdtablesize sys_siglist _sys_siglist psignal \
|
AC_HAVE_FUNCS(getdtablesize psignal \
|
||||||
dup2 getcwd sigsetmask getgroups setlinebuf \
|
dup2 getcwd sigsetmask getgroups setlinebuf \
|
||||||
seteuid setegid setreuid setregid strerror)
|
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_ALLOCA
|
||||||
AC_VFORK
|
AC_VFORK
|
||||||
AC_SETVBUF_REVERSED
|
AC_SETVBUF_REVERSED
|
||||||
|
Loading…
Reference in New Issue
Block a user