summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-06-04 05:11:12 +0000
committerRoland McGrath <roland@redhat.com>1994-06-04 05:11:12 +0000
commitfff5a9ece03e2ebb7c299ffc342263c6399c3cef (patch)
tree274780335cf8d393f19726091979202babc9622f /configure.in
parente3a24fc596de3dfaed321a6fd5fea876d580998d (diff)
downloadgunmake-fff5a9ece03e2ebb7c299ffc342263c6399c3cef.tar.gz
Don't check for sys_siglist and _sys_siglist with AC_HAVE_FUNCS.
Instead use two AC_COMPILE_CHECKs.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 8e3afd5..bf63d7f 100644
--- a/configure.in
+++ b/configure.in
@@ -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