build: Changing default to **not use** C++11 feature and **use** boost libraries, unless specifically instructed by ./configure options
refs #1126 (http://redmine.named-data.net/issues/1126)
Change-Id: Ic80bea8c37a63e58ea7ed46232e91b10ffc7df4e
diff --git a/m4/ax_cxx_compile_stdcxx_11.m4 b/m4/ax_cxx_compile_stdcxx_11.m4
index 40c94b6..2d40ac1 100644
--- a/m4/ax_cxx_compile_stdcxx_11.m4
+++ b/m4/ax_cxx_compile_stdcxx_11.m4
@@ -58,14 +58,14 @@
AC_ARG_WITH([c++11],
AS_HELP_STRING(
[--with-c++11=@<:@ARG@:>@],
- [use C++11 when available @<:@default=yes@:>@]
+ [use C++11 when available @<:@default=no@:>@]
),
[
- if test "$withval" = "no"; then
- WANT_CXX11="no"
+ if test "$withval" = "yes"; then
+ WANT_CXX11="yes"
fi
],
- [WANT_CXX11="yes"]
+ [WANT_CXX11="no"]
)
if test "x$WANT_CXX11" = "xyes"; then