Add --enable-c++11 configure flag.

And try to detect that compiler version is sufficient for C++11 support.
--enable-broker implies --enable-c++11
This commit is contained in:
Jon Siwek 2015-02-10 12:34:47 -06:00
parent bdf21c054a
commit fc36777e66
4 changed files with 11 additions and 3 deletions

5
configure vendored
View file

@ -41,6 +41,7 @@ Usage: $0 [OPTION]... [VAR=VALUE]...
--enable-perftools-debug use Google's perftools for debugging
--enable-jemalloc link against jemalloc
--enable-ruby build ruby bindings for broccoli (deprecated)
--enable-c++11 build using the C++11 standard
--enable-broker enable use of the Broker communication library
(requires C++ Actor Framework and C++11)
--disable-broccoli don't build or install the Broccoli library
@ -182,7 +183,11 @@ while [ $# -ne 0 ]; do
--enable-jemalloc)
append_cache_entry ENABLE_JEMALLOC BOOL true
;;
--enable-c++11)
append_cache_entry ENABLE_CXX11 BOOL true
;;
--enable-broker)
append_cache_entry ENABLE_CXX11 BOOL true
append_cache_entry ENABLE_BROKER BOOL true
;;
--disable-broccoli)