summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-11-22 18:41:35 +0000
committerYang Tse <yangsita@gmail.com>2006-11-22 18:41:35 +0000
commit7f7d2ad5c69b1feca96ab68e18a635079d190d0b (patch)
treeb6a5a43ab88df69156fb811aec94344d054c35ee /configure.ac
parent4a23aef23c1cc3f958b381bac54c31d67744e8e6 (diff)
downloadc-ares-7f7d2ad5c69b1feca96ab68e18a635079d190d0b.tar.gz
c-ares-7f7d2ad5c69b1feca96ab68e18a635079d190d0b.tar.bz2
c-ares-7f7d2ad5c69b1feca96ab68e18a635079d190d0b.zip
Added a check in configure that verifies if <signal.h> is available,
defining HAVE_SIGNAL_H if the header is available. Added a check in configure that tests if the sig_atomic_t type is available, defining HAVE_SIG_ATOMIC_T if it is available. Providing a suitable default in setup_once.h if not available. Added a check in configure that tests if the sig_atomic_t type is already defined as volatile, defining HAVE_SIG_ATOMIC_T_VOLATILE if it is available and already defined as volatile.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 79292ce..71d4a01 100644
--- a/configure.ac
+++ b/configure.ac
@@ -297,6 +297,8 @@ TYPE_IN_ADDR_T
TYPE_SOCKADDR_STORAGE
+TYPE_SIG_ATOMIC_T
+
CURL_CHECK_FUNC_RECV
CURL_CHECK_FUNC_SEND