atomic: check if -latomic is required for std::atomic
* configure.ac, m4/l_atomic.m4, python/Makefile.am, tests/Makefile.am: Here.
This commit is contained in:
parent
6e0e6b923d
commit
e564dd1263
4 changed files with 50 additions and 7 deletions
|
|
@ -79,6 +79,9 @@ AX_CHECK_COMPILE_FLAG([-std=c11], [CFLAGS="$CFLAGS -std=c11"])
|
|||
|
||||
gl_INIT
|
||||
|
||||
dnl Check if -latomic is required for <std::atomic>
|
||||
CHECK_ATOMIC
|
||||
|
||||
# Use -Werror since using -fvisibility under MinGW is only a warning.
|
||||
# (The option is ignored anyway since this does not make sense under windows).
|
||||
AX_CHECK_COMPILE_FLAG([-Werror -fvisibility=hidden],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue