Don't check for sys_siglist and _sys_siglist with AC_HAVE_FUNCS.
authorRoland McGrath <roland@redhat.com>
Sat, 4 Jun 1994 05:11:12 +0000 (05:11 +0000)
committerRoland McGrath <roland@redhat.com>
Sat, 4 Jun 1994 05:11:12 +0000 (05:11 +0000)
Instead use two AC_COMPILE_CHECKs.

configure.in

index 8e3afd576fe49cb64b925afaae16493f78461b02..bf63d7fe69a9d98669533b1d748131f10cc39711 100644 (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