From a88cb47d5536022dda5f856e213de2df9c41f344 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Thu, 10 Jul 2003 15:03:55 +0000 Subject: [PATCH] * configure.ac: configure.ac: Check for sigset_t and struct sigaction. This is for Forte c89 on Solaris which seems to define only the function call half of the two pairs by default. --- ChangeLog | 4 ++++ configure.ac | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 537b34014..85aee01e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2003-07-10 David Shaw + * configure.ac: configure.ac: Check for sigset_t and struct + sigaction. This is for Forte c89 on Solaris which seems to define + only the function call half of the two pairs by default. + * THANKS: Updates from stable. * configure.ac: Include wsock32 in W32LIBS. This is different diff --git a/configure.ac b/configure.ac index 5ee47cea7..b0191b2cb 100644 --- a/configure.ac +++ b/configure.ac @@ -734,8 +734,12 @@ AC_CHECK_FUNCS(memmove gettimeofday getrusage setrlimit clock_gettime) AC_CHECK_FUNCS(atexit raise getpagesize strftime nl_langinfo setlocale) AC_CHECK_FUNCS(waitpid wait4 sigaction sigprocmask rand pipe stat) AC_REPLACE_FUNCS(mkdtemp) +AC_CHECK_TYPES([struct sigaction, sigset_t],,,[#include ]) + +# See if getopt is in libiberty. This is of course not optimal since +# it might be somewhere other than libiberty, but does cover the +# mingw32 case. -dnl see if getopt is in libiberty AC_CHECK_FUNC(getopt,,AC_CHECK_LIB(iberty,getopt,AC_SUBST(GETOPT,"-liberty"))) #