fixes for sunos brokenness
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2875 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
16
acinclude.m4
16
acinclude.m4
@@ -580,3 +580,19 @@ LN_S="$ac_cv_prog_LN_S"
|
||||
AC_MSG_RESULT($ac_cv_prog_LN_S)
|
||||
AC_SUBST(LN_S)dnl
|
||||
])
|
||||
|
||||
dnl test for sig_atomic_t
|
||||
|
||||
AC_DEFUN(AC_TYPE_SIG_ATOMIC_T,
|
||||
[AC_MSG_CHECKING(for sig_atomic_t)
|
||||
AC_CACHE_VAL(ac_cv_type_sig_atomic_t,
|
||||
AC_TRY_COMPILE(
|
||||
[#include <signal.h>],
|
||||
[sig_atomic_t foo = 1;],
|
||||
ac_cv_type_sig_atomic_t=yes,
|
||||
ac_cv_type_sig_atomic_t=no))
|
||||
if test "$ac_cv_type_sig_atomic_t" = no; then
|
||||
AC_DEFINE(sig_atomic_t, int)dnl
|
||||
fi
|
||||
AC_MSG_RESULT($ac_cv_type_sig_atomic_t)
|
||||
])
|
||||
|
Reference in New Issue
Block a user