summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>1999-03-30 02:28:32 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>1999-03-30 02:28:32 +0000
commit75994ca3458b4d87274c699b9a723857f191ba0e (patch)
treeea43c3fd163dd5418e3993f10547dd17c572b759 /configure.in
parent6afa88903a53a3330ea2073531aa2a64825ca44b (diff)
downloadATCD-75994ca3458b4d87274c699b9a723857f191ba0e.tar.gz
* configure.in:
* m4/features.m4: Added new M4 macro include file, and moved asynchronous IO tests to `m4/features.m4'. The asynchronous IO tests were improved by making them run-time tests. Cross-compiled platforms will fall back to a compile-time test. Thanks to Alex for providing run-time tests. The tests are based on his AIO tests found in the examples/Reactor/Proactor directory.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in19
1 files changed, 1 insertions, 18 deletions
diff --git a/configure.in b/configure.in
index 5f320409919..5aab52caa7a 100644
--- a/configure.in
+++ b/configure.in
@@ -5503,24 +5503,7 @@ if test "$ace_user_enable_threads" = yes; then
fi
dnl Check for asynchronous IO calls
-if test "$ace_has_aio_funcs" = yes; then
- ACE_CACHE_CHECK(for asynchronous IO calls,
- ace_cv_feature_aio_calls,[
- AC_TRY_COMPILE(
- [
-#include <aio.h>
- ],
- [
- aiocb* aiocb_ptr (void);
- ],
- [
- ace_cv_feature_aio_calls=yes
- ],
- [
- ace_cv_feature_aio_calls=no
- ])
- ], AC_DEFINE(ACE_HAS_AIO_CALLS),)
-fi dnl test "$ace_has_aio_funcs" = yes
+ACE_CHECK_ASYNCH_IO
dnl Check for UNIX domain sockets
ACE_CACHE_CHECK(for UNIX domain sockets,