From: Owen Yamauchi Date: Tue, 30 Apr 2013 21:33:21 +0000 (-0700) Subject: Fail the configure script if you don't have boost X-Git-Tag: v0.22.0~986 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9345f46ef16cd087960997f436b42233aa85053d;p=folly.git Fail the configure script if you don't have boost Summary: Discovered this while trying to build folly on OS X. It would print a warning about Boost being missing that got drowned out in the rest of the configure output, and then the build would fail. This makes the failure more friendly. Test Plan: `autoreconf; ./configure` on a system without boost installed; make sure configure fails and the last thing it prints is the boost error message. Reviewed By: delong.j@fb.com FB internal diff: D797389 --- diff --git a/folly/configure.ac b/folly/configure.ac index 267fae39..21d8f4ad 100644 --- a/folly/configure.ac +++ b/folly/configure.ac @@ -30,7 +30,8 @@ AC_CHECK_LIB([gflags],[getenv],[],[AC_MSG_ERROR( [Please install google-gflags library])]) # check for boost libs -AX_BOOST_BASE +AX_BOOST_BASE([1.20.0], [], [AC_MSG_ERROR( + [Please install boost >= 1.20.0 (thread, regex, and system)])]) AX_BOOST_THREAD AX_BOOST_REGEX AX_BOOST_SYSTEM