[gnote] Inform about C++11 usage



commit 518a29c3d975c5898fa5e4d10e1ba7c1c16456cd
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sat Aug 3 00:50:47 2013 +0300

    Inform about C++11 usage

 configure.ac |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a4d6f35..9e2b355 100644
--- a/configure.ac
+++ b/configure.ac
@@ -98,6 +98,12 @@ AC_CHECK_HEADER(tr1/memory,,[
        AC_MSG_NOTICE([using boost tr1 implementation.])
 ])
 
+if test $HAVE_CXX11 == 1; then
+  cxx11_support="yes";
+else
+  cxx11_support="no";
+fi
+
 
 AC_LANG_PUSH(C++)
 if test "$GCC" = "yes"; then
@@ -192,6 +198,7 @@ AC_OUTPUT
 echo "
 Options:
 
+  C++11 support:               ${cxx11_support}
   Spellchecking support:       ${FIXED_GTKSPELL}
   X11 support:                 ${with_x11_support}
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]