diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
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 <signal.h>]) + +# 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"))) # |