summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2014-05-06 22:19:47 +0200
committerCedric Bail <cedric.bail@free.fr>2014-05-06 23:21:38 +0200
commitdaddab4c52d91c83444ccef8eeefdc6d4c54cdcc (patch)
tree62eb29314d24f8baedb8d55c4987832fb7ba8a6c /configure.ac
parent564cd48a246653d229738b75ebf632809a9d9e3c (diff)
autotools: make it possible to disable support for C++11.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ed1e97f..9dc0a05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -952,7 +952,13 @@ EFL_LIB_END([Eina])
952EFL_LIB_START([Eina_Cxx]) 952EFL_LIB_START([Eina_Cxx])
953 953
954EFL_CXX_COMPILE_STDCXX_11([ext]) 954EFL_CXX_COMPILE_STDCXX_11([ext])
955if test "x${HAVE_CXX11}" = "x1"; then 955want_cxx11="yes"
956AC_ARG_ENABLE([c++11],
957 [AC_HELP_STRING([--disable-c++11],
958 [disable C++11 bindings. @<:@default=enabled@:>@])],
959 [want_cxx11="${enableval}"])
960
961if test "x${HAVE_CXX11}" = "x1" -a "x${want_cxx11}" = "xyes"; then
956 have_cxx11="yes" 962 have_cxx11="yes"
957else 963else
958 have_cxx11="no" 964 have_cxx11="no"