Commit 151beb17 authored by Michael Steinert's avatar Michael Steinert Committed by Facebook Github Bot

Fix the --disable-follytestmain option

Summary:
This option is useful when compiling on systems that do not want to
include libunwind.
Closes https://github.com/facebook/folly/pull/558

Reviewed By: andrewjcg

Differential Revision: D4701878

Pulled By: yfeldblum

fbshipit-source-id: 61765e2e04ea1da510f06d7805c2c54381aa771e
parent acbd8f4f
......@@ -558,9 +558,8 @@ AC_CHECK_HEADER([linux/membarrier.h], AC_DEFINE([HAVE_LINUX_MEMBARRIER_H], [1],
AC_ARG_ENABLE([follytestmain],
AS_HELP_STRING([--enable-follytestmain], [enables using main function from folly for tests]),
[follytestmain=${enableval}], [follytestmain=no])
[use_follytestmain=${enableval}], [use_follytestmain=yes])
use_follytestmain=yes
# libdwarf used to install in /usr/include, now installs in /usr/include/libdwarf.
AC_CHECK_HEADERS([libdwarf/dwarf.h dwarf.h], [break])
# Check whether we have both the library and the header
......
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