Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configury: Fix mm aware atomic test (2nd try)
The previous attempt to fix this test was wrong because AC_TRY_COMPILE succeeded in compiling the test case if implicit function declaration was allowed. Now the strategy is: 1. Use AC_SEARCH_LIBS to detect if atomic symbols are internal to the compiler, or provided by -latomic. Set LIBS accordingly. 2. Use AC_LINK_IFELSE to build the main test case. If the test is unsuccessful, restore LIBS to its prior state. Signed-off-by: Ken Raffenetti <raffenet@mcs.anl.gov>
- Loading branch information