Revert "C++ bindings: disable generation by default (to follow the efl)."
authorTom Hacohen <tom@stosb.com>
Tue, 2 Sep 2014 09:19:57 +0000 (10:19 +0100)
committerTom Hacohen <tom@stosb.com>
Tue, 2 Sep 2014 09:29:07 +0000 (10:29 +0100)
I'll reintroduce this in a moment, was just easier this way in order to
merge Vincent's changes.

This reverts commit d46fa601ef45d579d1448b19887d02ff2dfbb576.

configure.ac

index 3d436e8..c076de5 100644 (file)
@@ -231,10 +231,11 @@ requirement_elm="\
     "
 
 EFL_CXX_COMPILE_STDCXX_11([ext])
+want_cxx11="yes"
 AC_ARG_ENABLE([cxx-bindings],
-   [AC_HELP_STRING([--enable-cxx-bindings],
-       [enable C++11 bindings. @<:@default=disabled@:>@])],
-   [want_cxx11="${enableval}"], [want_cxx11="no"])
+   [AC_HELP_STRING([--disable-cxx-bindings],
+       [disable C++11 bindings. @<:@default=enabled@:>@])],
+   [want_cxx11="${enableval}"])
 
 if test "x${HAVE_CXX11}" = "x1" -a "x${want_cxx11}" = "xyes"; then
    PKG_CHECK_MODULES([ELEMENTARY_CXX],