+2003-10-08 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: Invoke gt_SIG_ATOMIC_T.
+ * Makefile.am (config.h_vms, config.h.msvc): Define HAVE_SIG_ATOMIC_T.
+
2003-10-04 Bruno Haible <bruno@clisp.org>
* configure.ac: Remove gt_PROG_LEX invocation.
-e 's/#undef HAVE_SELECT$$/#define HAVE_SELECT 1/' \
-e 's/#undef HAVE_SETENV$$/#define HAVE_SETENV 1/' \
-e 's/#undef HAVE_SETLOCALE$$/#define HAVE_SETLOCALE 1/' \
+ -e 's/#undef HAVE_SIG_ATOMIC_T$$/#define HAVE_SIG_ATOMIC_T 1/' \
-e 's/#undef HAVE_STDBOOL_H$$/#define HAVE_STDBOOL_H 1/' \
-e 's/#undef HAVE_STDDEF_H$$/#define HAVE_STDDEF_H 1/' \
-e 's/#undef HAVE_STDLIB_H$$/#define HAVE_STDLIB_H 1/' \
-e 's/#undef HAVE_RAISE$$/#define HAVE_RAISE 1/' \
-e 's/#undef HAVE_SEARCH_H$$/#define HAVE_SEARCH_H 1/' \
-e 's/#undef HAVE_SETLOCALE$$/#define HAVE_SETLOCALE 1/' \
+ -e 's/#undef HAVE_SIG_ATOMIC_T$$/#define HAVE_SIG_ATOMIC_T 1/' \
-e 's/#undef HAVE_STDDEF_H$$/#define HAVE_STDDEF_H 1/' \
-e 's/#undef HAVE_STDLIB_H$$/#define HAVE_STDLIB_H 1/' \
-e 's/#undef HAVE_STRCSPN$$/#define HAVE_STRCSPN 1/' \
gt_TYPE_SSIZE_T
AC_TYPE_PID_T
AC_TYPE_MODE_T
+gt_TYPE_SIG_ATOMIC_T
dnl Checks for library functions.
gl_FUNC_ALLOCA
+2003-10-14 Bruno Haible <bruno@clisp.org>
+
+ * sig_atomic_t.m4: New file.
+ * Makefile.am (EXTRA_DIST): Add it.
+
2003-10-04 Bruno Haible <bruno@clisp.org>
* flex.m4: Remove file.
relocatable.m4 \
setenv.m4 \
setlocale.m4 \
+sig_atomic_t.m4 \
siginfo.m4 \
signalblocking.m4 \
ssize_t.m4 \
--- /dev/null
+# sig_atomic_t.m4 serial 1 (gettext-0.12.2)
+dnl Copyright (C) 2003 Free Software Foundation, Inc.
+dnl This file is free software, distributed under the terms of the GNU
+dnl General Public License. As a special exception to the GNU General
+dnl Public License, this file may be distributed as part of a program
+dnl that contains a configuration script generated by Autoconf, under
+dnl the same distribution terms as the rest of that program.
+
+AC_DEFUN([gt_TYPE_SIG_ATOMIC_T],
+[
+ AC_CHECK_TYPES(sig_atomic_t, ,
+ [AC_DEFINE(sig_atomic_t, int,
+ [Define as an integer type suitable for memory locations that can be
+ accessed atomically even in the presence of asynchnonous signals.])],
+ [#include <signal.h>])
+])