autotools: disable C++ bindings by default (use --enable-cxx-bindings to enable)

This commit is contained in:
Daniel Kolesa 2014-08-29 10:32:18 +01:00
parent 607901fb0e
commit 19a6c265b6
1 changed files with 2 additions and 3 deletions

View File

@ -977,10 +977,9 @@ EFL_LIB_END([Eina])
EFL_LIB_START([Eina_Cxx])
EFL_CXX_COMPILE_STDCXX_11([ext])
want_cxx11="yes"
AC_ARG_ENABLE([cxx-bindings],
[AS_HELP_STRING([--disable-cxx-bindings],[disable C++11 bindings. @<:@default=enabled@:>@])],
[want_cxx11="${enableval}"])
[AS_HELP_STRING([--enable-cxx-bindings],[enable C++11 bindings. @<:@default=disabledd@:>@])],
[want_cxx11="${enableval}"], [want_cxx11="no"])
if test "x${HAVE_CXX11}" = "x1" -a "x${want_cxx11}" = "xyes"; then
have_cxx11="yes"