diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-03-30 02:41:24 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-03-30 02:41:24 +0000 |
commit | 5efccdff94f6f55dab357f3f7af1ab3591b68d04 (patch) | |
tree | fc4882cf50e6bd6060ceb8560175b1ec1f352500 /m4 | |
parent | 8fd08b711c9da8b560b4af0436c6b1bdc0272734 (diff) | |
download | ATCD-5efccdff94f6f55dab357f3f7af1ab3591b68d04.tar.gz |
Forgot to finish modifying some of the asynch IO test reorganization.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/features.m4 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/m4/features.m4 b/m4/features.m4 index b247ff6e97a..9960cb8c26d 100644 --- a/m4/features.m4 +++ b/m4/features.m4 @@ -29,6 +29,13 @@ AC_DEFUN(ACE_CHECK_ASYNCH_IO, dnl AC_REQUIRE([AC_PROG_CXXCPP]) AC_REQUIRE([AC_LANG_CPLUSPLUS]) + dnl In case a library with the asynchronous libraries is found but + dnl the asynchronous IO support is not functional then save a copy + dnl of the list of libraries before the asynch IO function library + dnl is added to the list so that we can revert the list to its + dnl pre-asynch-IO check state. + ace_save_LIBS="$LIBS" + dnl Asynchronous IO library check dnl Some platforms, such as Solaris puts aio_read in -lposix4, for example. dnl In some cases, the thread library must be linked to in addition to the @@ -540,6 +547,6 @@ main (int, char *[]) ace_cv_feature_aio_calls=no ]) ]) - ], AC_DEFINE(ACE_HAS_AIO_CALLS),) + ], AC_DEFINE(ACE_HAS_AIO_CALLS), LIBS="$ace_save_LIBS") fi dnl test "$ace_has_aio_funcs" = yes ]) |