@cryptotaxi247 / netdata-1 / commits / 6853a9525

make sure atomic operations are linkable; fixes #860

Costa Tsaousis (ktsaou) committed Sep 29, 2016 at 10:55 UTC 6853a952565c5a7c7efcd7cb2d7924f80be26c1f
1 file changed +1 -1
m4/ax_c___atomic.m4
+1 -1
@@ -4,7 +4,7 @@
4 AN_IDENTIFIER([__atomic], [AC_C___ATOMIC])
5 AC_DEFUN([AC_C___ATOMIC],
6 [AC_CACHE_CHECK([for __atomic], ac_cv_c___atomic,
7 -[AC_COMPILE_IFELSE(
7 +[AC_LINK_IFELSE(
8 [AC_LANG_SOURCE(
9 [[int
10 main (int argc, char **argv)