projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ccc20a
)
Changed AC_LANG from PROGRAM to SOURCE to prevent double definition of main
author
Vlad Buslov
<tailcall@icloud.com>
Fri, 9 Oct 2015 12:50:09 +0000
(15:50 +0300)
committer
Vlad Buslov
<tailcall@icloud.com>
Fri, 9 Oct 2015 12:50:09 +0000
(15:50 +0300)
folly/configure.ac
patch
|
blob
|
history
diff --git
a/folly/configure.ac
b/folly/configure.ac
index bceb1e5856e8fe53318a6eea9119b7c3e37a7c6f..bcfe9c9402e1df4c95fb98a01388f9cf91e7b967 100644
(file)
--- a/
folly/configure.ac
+++ b/
folly/configure.ac
@@
-235,7
+235,7
@@
AC_CACHE_CHECK(
[for c++11 atomic support without GNU Atomic library],
[folly_cv_lib_libatomic],
[AC_LINK_IFELSE(
- [AC_LANG_
PROGRAM
[
+ [AC_LANG_
SOURCE
[
#include <atomic>
int main() {
struct Test { int val; };