From a78476fcb98e7dc6d7af9aa8c1fc5c4334049648 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 19 Apr 2009 15:47:40 +0200 Subject: [PATCH] Make configure print a configuration summary --- configure.ac | 8 +++++++- src/client/configure.ac | 6 ++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c5ca2ac5..dfe4ff1b 100644 --- a/configure.ac +++ b/configure.ac @@ -128,7 +128,6 @@ if test -z "$empthread"; then AC_MSG_ERROR([No usable thread package found]) fi AC_SUBST(empthread) -AC_MSG_NOTICE([Using $empthread threads]) case $empthread in LWP) AC_DEFINE([EMPTH_LWP], 1, [Define to use LWP threads]) ;; POSIX) AC_DEFINE([EMPTH_POSIX], 1, [Define to use POSIX threads]) ;; @@ -159,3 +158,10 @@ AC_CONFIG_COMMANDS([stamp-h], touch stamp-h], [revctrl=$revctrl]) AC_OUTPUT + +AC_MSG_NOTICE([]) +AC_MSG_NOTICE([-= Configuration summary =-]) +AC_MSG_NOTICE([Thread package: $empthread]) +AC_MSG_NOTICE([ terminfo: $with_terminfo]) +AC_MSG_NOTICE([ EMPIREHOST: $EMPIREHOST]) +AC_MSG_NOTICE([ EMPIREPORT: $EMPIREPORT]) diff --git a/src/client/configure.ac b/src/client/configure.ac index 733af2bc..911fbcb2 100644 --- a/src/client/configure.ac +++ b/src/client/configure.ac @@ -85,3 +85,9 @@ MY_WITH_TERMINFO AC_CONFIG_FILES([Makefile ipglob.c]) AC_OUTPUT + +AC_MSG_NOTICE([]) +AC_MSG_NOTICE([-= Configuration summary =-]) +AC_MSG_NOTICE([ terminfo: $with_terminfo]) +AC_MSG_NOTICE([ EMPIREHOST: $EMPIREHOST]) +AC_MSG_NOTICE([ EMPIREPORT: $EMPIREPORT])