diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-09-29 10:55:22 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-09-29 10:55:22 +0300 |
commit | 6853a952565c5a7c7efcd7cb2d7924f80be26c1f (patch) | |
tree | ad8bcb192abbabe3ed3ed1dd67313cb5bcd51a1d /m4/ax_c___atomic.m4 | |
parent | 29d06d416bd24f470e90063a6a4482597605da35 (diff) |
make sure atomic operations are linkable; fixes #860
Diffstat (limited to 'm4/ax_c___atomic.m4')
-rw-r--r-- | m4/ax_c___atomic.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ax_c___atomic.m4 b/m4/ax_c___atomic.m4 index 046a5514b8..131929ae18 100644 --- a/m4/ax_c___atomic.m4 +++ b/m4/ax_c___atomic.m4 @@ -4,7 +4,7 @@ AN_IDENTIFIER([__atomic], [AC_C___ATOMIC]) AC_DEFUN([AC_C___ATOMIC], [AC_CACHE_CHECK([for __atomic], ac_cv_c___atomic, -[AC_COMPILE_IFELSE( +[AC_LINK_IFELSE( [AC_LANG_SOURCE( [[int main (int argc, char **argv) |