projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Disable dtrace by default for build issue.
[m6w6/libmemcached]
/
m4
/
pandora_have_gcc_atomics.m4
diff --git
a/m4/pandora_have_gcc_atomics.m4
b/m4/pandora_have_gcc_atomics.m4
index 5b3b21a6125bfc1030c046bfbcf6e5c79ccc7baa..47257d6ab64930a8a9b42dab06f665dfd48bf686 100644
(file)
--- a/
m4/pandora_have_gcc_atomics.m4
+++ b/
m4/pandora_have_gcc_atomics.m4
@@
-13,7
+13,7
@@
AC_DEFUN([PANDORA_HAVE_GCC_ATOMICS],[
AC_CACHE_CHECK(
[whether the compiler provides atomic builtins],
[ac_cv_gcc_atomic_builtins],
AC_CACHE_CHECK(
[whether the compiler provides atomic builtins],
[ac_cv_gcc_atomic_builtins],
- [AC_
RUN
_IFELSE(
+ [AC_
LINK
_IFELSE(
[AC_LANG_PROGRAM([],[[
int foo= -10; int bar= 10;
if (!__sync_fetch_and_add(&foo, bar) || foo)
[AC_LANG_PROGRAM([],[[
int foo= -10; int bar= 10;
if (!__sync_fetch_and_add(&foo, bar) || foo)
@@
-34,4
+34,4
@@
AC_DEFUN([PANDORA_HAVE_GCC_ATOMICS],[
[Define to 1 if compiler provides atomic builtins.])
])
[Define to 1 if compiler provides atomic builtins.])
])
-])
\ No newline at end of file
+])