[Python-checkins] cpython: configure: use AC_MSG_NOTICE() instead of AC_MSG_WARN() to inform user about

christian.heimes python-checkins at python.org
Wed Nov 20 01:18:34 CET 2013


http://hg.python.org/cpython/rev/1300d94d6e88
changeset:   87287:1300d94d6e88
user:        Christian Heimes <christian at cheimes.de>
date:        Wed Nov 20 01:18:26 2013 +0100
summary:
  configure: use AC_MSG_NOTICE() instead of AC_MSG_WARN() to inform user about C++ compiler.
Now './configure --silent && make -s' doesn't print any message to stdout or stderr.

files:
  configure    |  6 +++---
  configure.ac |  2 +-
  2 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -4803,16 +4803,16 @@
 fi
 if test "$preset_cxx" != "$CXX"
 then
-        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
+        { $as_echo "$as_me:${as_lineno-$LINENO}:
 
   By default, distutils will build C++ extension modules with \"$CXX\".
   If this is not intended, then set CXX on the configure command line.
   " >&5
-$as_echo "$as_me: WARNING:
+$as_echo "$as_me:
 
   By default, distutils will build C++ extension modules with \"$CXX\".
   If this is not intended, then set CXX on the configure command line.
-  " >&2;}
+  " >&6;}
 fi
 
 
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -693,7 +693,7 @@
 fi
 if test "$preset_cxx" != "$CXX"
 then
-        AC_MSG_WARN([
+        AC_MSG_NOTICE([
 
   By default, distutils will build C++ extension modules with "$CXX".
   If this is not intended, then set CXX on the configure command line.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list