[PPL-devel] [GIT] ppl/ppl(master): Added checks for the availability of `siginfo_t'.
Roberto Bagnara
bagnara at cs.unipr.it
Thu Mar 26 08:15:50 CET 2009
Module: ppl/ppl
Branch: master
Commit: 7252a07fd2e3368fee8e798b03671377f23cad2b
URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=7252a07fd2e3368fee8e798b03671377f23cad2b
Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date: Thu Mar 26 08:15:46 2009 +0100
Added checks for the availability of `siginfo_t'.
---
Watchdog/configure.ac | 6 ++++++
configure.ac | 3 +++
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/Watchdog/configure.ac b/Watchdog/configure.ac
index f8a29f2..7b3e967 100644
--- a/Watchdog/configure.ac
+++ b/Watchdog/configure.ac
@@ -355,9 +355,15 @@ then
# Checks for header files.
AC_HEADER_TIME
AC_CHECK_HEADERS([fenv.h sys/time.h])
+
# Checks for the availability of C library functions in C++.
AC_CHECK_DECLS([getenv], , , [#include <cstdlib>])
+ # Checks for typedefs, structures, and compiler characteristics.
+ AC_CHECK_TYPES([siginfo_t], [], [], [[
+#include <signal.h>
+ ]])
+
# Checks for library fuctions.
# The following invocations of AC_LANG_PUSH(C) and AC_LANG_POP(C)
# are to work around a bug in AC_CHECK_FUNCS. For more information,
diff --git a/configure.ac b/configure.ac
index f6dbd1c..1843376 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1434,6 +1434,9 @@ AC_CHECK_DECLS([getrusage],
# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_TYPES([timeval])
+AC_CHECK_TYPES([siginfo_t], [], [], [[
+#include <signal.h>
+]])
# Check whether the IEEE inexact flag is supported and available to
# C++ programs.
More information about the PPL-devel
mailing list