Work on systems without sa_sigaction.

This commit is contained in:
Ryan C. Gordon 2011-07-20 16:35:37 -07:00
parent 1a862ae6d3
commit 4b70200bf8
3 changed files with 12 additions and 0 deletions

View file

@ -236,6 +236,8 @@ if test x$enable_libc = xyes; then
AC_CHECK_LIB(iconv, iconv_open, [LIBS="$LIBS -liconv"; EXTRA_LDFLAGS="$EXTRA_LDFLAGS -liconv"])
AC_CHECK_FUNCS(iconv)
AC_CHECK_MEMBER(struct sigaction.sa_sigaction,[AC_DEFINE(HAVE_SA_SIGACTION)], ,[#include <signal.h>])
fi
AC_CHECK_SIZEOF(void*)