Commit 94476828 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Check for sig_atomic_t.

parent 0f4e301e
dnl $Id: configure.in,v 1.66 1999/06/23 21:57:28 ceder Exp $
dnl $Id: configure.in,v 1.67 1999/06/25 21:21:02 ceder Exp $
dnl Configuration for LysKOM
dnl Copyright (C) 1993-1999 Lysator Academic Computer Association.
dnl
......@@ -18,7 +18,7 @@ dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
dnl
dnl Please mail bug reports to bug-lyskom@lysator.liu.se.
dnl
AC_REVISION($Revision: 1.66 $)
AC_REVISION($Revision: 1.67 $)
AC_INIT(src/server/lyskomd.h)
AM_CONFIG_HEADER(config.h)
AC_CONFIG_AUX_DIR(scripts)
......@@ -186,6 +186,19 @@ AC_C_INLINE
CMOD_C_ATTRIBUTE_UNUSED
AC_HEADER_STDC
AC_TYPE_PID_T
dnl
dnl Check for sig_atomic_t
dnl
AC_CACHE_CHECK([if sig_atomic_t exists], kom_cv_type_sig_atomic_t,
[AC_TRY_COMPILE([#include <signal.h>],
[sig_atomic_t t;],
[kom_cv_type_sig_atomic_t=yes],
[kom_cv_type_sig_atomic_t=no])])
[if test $kom_cv_type_sig_atomic_t = no
then]
AC_DEFINE(sig_atomic_t, int)
[fi]
dnl
# FIXME: is this needed now that we use AM_C_PROTOTYPES?
AC_MSG_CHECKING([if _HPUX_SOURCE needs to be defined])
AC_CACHE_VAL([kom_cv_sys_hpux_source],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment