Commit bb733f43 authored by Vlad Buslov's avatar Vlad Buslov

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

parent 1ccc20a4
......@@ -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; };
......
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