diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-04-27 16:59:04 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-04-27 16:59:04 +0000 |
commit | 4be75984ba825889cd6f16f952a0f44cd39688ac (patch) | |
tree | 1851642375ec56e7a24163a90a21b210bad57dca /m4 | |
parent | dc668592183fce4b63112bc89a59405a66d6ed0c (diff) | |
download | ATCD-4be75984ba825889cd6f16f952a0f44cd39688ac.tar.gz |
* m4/threads.m4:
Added KAI C++ thread flag check.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/threads.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/m4/threads.m4 b/m4/threads.m4 index 7b9a7a6d3c0..b0446d08935 100644 --- a/m4/threads.m4 +++ b/m4/threads.m4 @@ -50,7 +50,11 @@ dnl Check if compiler accepts specific flag to enable threads dnl so search for a usable compiler flag to enable thread support. dnl If no thread flag is found then the remaining tests should still dnl figure out how to enable thread support via library checks. - ACE_SEARCH_THREAD_FLAGS(mt pthread pthreads mthreads threads Kthread,,) + ACE_SEARCH_THREAD_FLAGS( + [mt pthread pthreads mthreads threads Kthread -thread_safe],,) + dnl NOTE: "-thread_safe" is correct, not "thread_safe." + dnl KAI C++ uses the flag "--thread_safe" which is why + dnl "-thread_safe" is passed as the flag to test. ], [ dnl Do nothing |