diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-03-31 05:34:14 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-03-31 05:34:14 +0000 |
commit | 1a627bb00490c61755bd4280d9d25b90ebc38436 (patch) | |
tree | 3ec2ee46afabb3925da4c1287f4d438f68e56d71 /m4/features.m4 | |
parent | 3531f378f8a0b208fde834486dda9d249986870c (diff) | |
download | ATCD-1a627bb00490c61755bd4280d9d25b90ebc38436.tar.gz |
* m4/features.m4:
* m4/threads.m4:
Updated several library checks to use a single call of my
re/implementation of the new autoconf AC_SEARCH_LIBS test instead
of having several AC_CHECK_LIB calls in a row. Nice!
The thread detection tests were overhauled. They are now
simpler but retain the same functionality as the previous
tests. They were greatly reduced in size so debugging, updating
and enhancing should be much easier now.
* m4/acinclude.m4:
Reimplemented Autoconf's AC_SEARCH_LIBS into ACE_SEARCH_LIBS.
The functionality is the same but the ACE reimplementation
actually works when C++ is the test language. For some reason
Autoconf's test isn't being generated properly by GNU M4.
Diffstat (limited to 'm4/features.m4')
-rw-r--r-- | m4/features.m4 | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/m4/features.m4 b/m4/features.m4 index 9960cb8c26d..7e81c3b25e1 100644 --- a/m4/features.m4 +++ b/m4/features.m4 @@ -41,11 +41,8 @@ AC_DEFUN(ACE_CHECK_ASYNCH_IO, dnl dnl In some cases, the thread library must be linked to in addition to the dnl real-time support library. As such, make sure these checks are done dnl after the thread library checks. - ace_has_aio_funcs=yes - AC_CHECK_FUNC(aio_read, , dnl - AC_CHECK_LIB(aio, aio_read, , - AC_CHECK_LIB(posix4, aio_read, , - AC_CHECK_LIB(rt, aio_read, , ace_has_aio_funcs=no)))) + ACE_SEARCH_LIBS(aio_read, aio posix4 rt, dnl + ace_has_aio_funcs=yes, ace_has_aio_funcs=no) if test "$ace_has_aio_funcs" = yes; then ACE_CACHE_CHECK(for working asynchronous IO, |