Browse Source

m4/ax_atomic.m4: fix conflicting macro definition for HAVE_C___ATOMIC.

Daniel Pouzzner 1 year ago
parent
commit
5e6005a1a3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      m4/ax_atomic.m4

+ 1 - 1
m4/ax_atomic.m4

@@ -31,6 +31,6 @@ AC_DEFUN([AC_C___ATOMIC],
 if test $ac_cv_c___atomic = yes; then
   AC_DEFINE([HAVE_C___ATOMIC], 1,
            [Define to 1 if __atomic operations work.])
-  AM_CFLAGS="$AM_CFLAGS -DHAVE_C___ATOMIC"
+  AM_CFLAGS="$AM_CFLAGS -DHAVE_C___ATOMIC=1"
 fi
 ])# AC_C___ATOMIC