Commit 2d14fafe authored by Orvid King's avatar Orvid King

Revert "Changed AC_LANG from PROGRAM to SOURCE to prevent double definition of main"

This reverts commit bb733f43.
parent 0eb9fa39
...@@ -236,7 +236,7 @@ AC_CACHE_CHECK( ...@@ -236,7 +236,7 @@ AC_CACHE_CHECK(
[for c++11 atomic support without GNU Atomic library], [for c++11 atomic support without GNU Atomic library],
[folly_cv_lib_libatomic], [folly_cv_lib_libatomic],
[AC_LINK_IFELSE( [AC_LINK_IFELSE(
[AC_LANG_SOURCE[ [AC_LANG_PROGRAM[
#include <atomic> #include <atomic>
int main() { int main() {
struct Test { int val; }; struct Test { int val; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment