diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 73d09ee..d815137 100644 --- a/configure.in +++ b/configure.in @@ -52,6 +52,9 @@ AC_HEADER_TIME AC_CHECK_HEADERS(stdlib.h locale.h unistd.h limits.h fcntl.h string.h \ memory.h sys/param.h sys/time.h sys/timeb.h) +# Determine what kind of variadic function calls we support +AC_CHECK_HEADERS(stdarg.h varargs.h, break) + AM_PROG_CC_C_O AM_PROG_CC_STDC AC_C_CONST @@ -244,6 +247,12 @@ AC_CACHE_CHECK(for SA_RESTART, make_cv_sa_restart, [ [[return SA_RESTART;]])], [make_cv_sa_restart=yes], [make_cv_sa_restart=no])]) + +# enable make_cv_sa_restart for OS/2 +case "$host_os" in + os2*) make_cv_sa_restart=yes ;; +esac + if test "$make_cv_sa_restart" != no; then AC_DEFINE(HAVE_SA_RESTART, 1, [Define if <signal.h> defines the SA_RESTART constant.]) |