[mosh-devel] Patch: display configure results at end

Luke Mewburn lukem-mosh at mewburn.net
Sat Oct 27 18:01:13 EDT 2012


Hey folks,

Another patch; this one displays various values determined by configure
(some of which are controlled by various --enable flags).
I find it helpful, your mileage may vary.

cheers,
Luke.
-------------- next part --------------
From 4adf72f78dff0bd6f93e9d1a8cb2ae1096016864 Mon Sep 17 00:00:00 2001
From: Luke Mewburn <luke at mewburn.net>
Date: Sun, 28 Oct 2012 08:53:59 +1100
Subject: [PATCH 2/2] Display results at end of configure.

Display configuration results at end of configure run,
including the version, c++ compiler, and various
compiler flag variables.

Signed-off-by: Luke Mewburn <luke at mewburn.net>
---
 configure.ac |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index c5f167c..d630acf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -318,3 +318,11 @@ AC_CONFIG_FILES([
   conf/Makefile
 ])
 AC_OUTPUT
+
+AC_MSG_NOTICE([ === Configuration results ===])
+AC_MSG_NOTICE([Version:             $PACKAGE_VERSION])
+AC_MSG_NOTICE([c++ compiler:        $CXX])
+AC_MSG_NOTICE([Warning CXXFLAGS:    $WARNING_CXXFLAGS])
+AC_MSG_NOTICE([Picky CXXFLAGS:      $PICKY_CXXFLAGS])
+AC_MSG_NOTICE([Harden CFLAGS:       $HARDEN_CFLAGS])
+AC_MSG_NOTICE([ =============================])
-- 
1.7.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/mosh-devel/attachments/20121027/a88922b9/attachment.bin


More information about the mosh-devel mailing list