[med-svn] [aghermann] 63/85: make configure.ac print g++ --version in summary
andrei zavada
hmmr-guest at alioth.debian.org
Thu Sep 26 23:46:33 UTC 2013
This is an automated email from the git hooks/post-receive script.
hmmr-guest pushed a commit to branch master
in repository aghermann.
commit a9944a0ae0ebef1b663b45c18dc7b1317558a66f
Author: Andrei Zavada <johnhommer at gmail.com>
Date: Sat Sep 21 14:38:01 2013 +0300
make configure.ac print g++ --version in summary
---
upstream/configure.ac | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/upstream/configure.ac b/upstream/configure.ac
index 4ef78c0..5967b1d 100644
--- a/upstream/configure.ac
+++ b/upstream/configure.ac
@@ -50,7 +50,9 @@ ac_cv_cxx_cpp11_features,
])
AC_CXX_STDCPP11_FEATURES()
test $ac_cv_cxx_cpp11_features = no && \
- AC_MSG_ERROR([g++ >= 4.6 is required to build $PACKAGE as we must use -std=c++11 features your compiler doesn't seem to support], 1)
+ AC_MSG_ERROR([g++ >= 4.7 is required to build $PACKAGE as we must use -std=c++11 features your compiler doesn't seem to support], 1)
+cxx_version=`$CXX --version | head -n1`
+
dnl AC_CXX_HAVE_STL # redundant: we check for STL implicitly in AC_CXX_STDCPP0X_FEATURES
@@ -228,7 +230,7 @@ AC_MSG_RESULT([
PREFIX: $prefix
- CXX: $CXX
+ CXX: $CXX (${cxx_version})
CXXFLAGS: $CXXFLAGS
LDFLAGS: $LDFLAGS
OPENMP_CXXFLAGS: $OPENMP_CXXFLAGS
--
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/aghermann.git
More information about the debian-med-commit
mailing list