diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-03-24 02:47:11 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-03-24 02:47:11 +0000 |
commit | b772ce733d2a36fa5da14be595087b98cabb2e7e (patch) | |
tree | c169e2f23b91d350dc31e06ede3854a775f047cb /m4/threads.m4 | |
parent | b5cabaa7615910775cdb562d63f9c8fa5a2ffdfb (diff) | |
download | ATCD-b772ce733d2a36fa5da14be595087b98cabb2e7e.tar.gz |
* m4/threads.m4: Modified UNIX International threads check to include
check for rwlock_destroy() in -lthread since thr_create() was
found without explicitly linking to -lthread on Solaris 2.5.1.
rwlock_destroy() should be found only by linking to -lthread which
will cause the configure script to add -lthread to the library link
list.
Diffstat (limited to 'm4/threads.m4')
-rw-r--r-- | m4/threads.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/threads.m4 b/m4/threads.m4 index 60b91c02afa..d88b4fface7 100644 --- a/m4/threads.m4 +++ b/m4/threads.m4 @@ -202,6 +202,10 @@ dnl So, we have to add it manually. ],) ]) + dnl Sometimes thr_create is actually found with explicitly linking against + dnl -lthread, so try a more "exotic" function. + AC_CHECK_FUNC(rwlock_destroy, , AC_CHECK_LIB(thread, rwlock_destroy,,))dnl + dnl Check for POSIX threads dnl Check if platform provides pthreads backward compatibility macros |