[Gmp-commit] /var/hg/gmp: Display summary at end of configure.

mercurial at gmplib.org mercurial at gmplib.org
Mon Feb 13 12:38:16 CET 2012


details:   /var/hg/gmp/rev/b856752462ac
changeset: 14629:b856752462ac
user:      Niels M?ller <nisse at lysator.liu.se>
date:      Mon Feb 13 12:38:05 2012 +0100
description:
Display summary at end of configure.

diffstat:

 ChangeLog    |   4 ++++
 configure.in |  23 +++++++++++++++++++++++
 2 files changed, 27 insertions(+), 0 deletions(-)

diffs (41 lines):

diff -r beb71a65699c -r b856752462ac ChangeLog
--- a/ChangeLog	Sun Feb 12 17:39:11 2012 +0100
+++ b/ChangeLog	Mon Feb 13 12:38:05 2012 +0100
@@ -1,3 +1,7 @@
+2012-02-13  Niels Möller  <nisse at lysator.liu.se>
+
+	* configure.in: Display summary of options.
+
 2012-02-11  Torbjorn Granlund  <tege at gmplib.org>
 
 	* tests/tests.h (TESTS_REPS): Print any non-standard repetitions.
diff -r beb71a65699c -r b856752462ac configure.in
--- a/configure.in	Sun Feb 12 17:39:11 2012 +0100
+++ b/configure.in	Mon Feb 13 12:38:05 2012 +0100
@@ -3590,3 +3590,26 @@
   doc/Makefile tune/Makefile						\
   demos/Makefile demos/calc/Makefile demos/expr/Makefile		\
   gmp.h:gmp-h.in)
+
+AC_MSG_NOTICE([summary of build options:
+
+  Version:           ${PACKAGE_STRING}
+  Host type:         ${host}
+  ABI:               ${ABI}
+  Install prefix:    ${prefix}
+  Compiler:          ${CC}
+  Static libraries:  ${enable_static}
+  Shared libraries:  ${enable_shared}
+])
+
+if test x$cross_compiling = xyes ; then	
+   case "$host" in
+     *-*-mingw* | *-*-cygwin)
+     if test x$ABI = x64 ; then
+     	AC_MSG_NOTICE([If wine64 is installed, use make check TESTS_ENVIRONMENT=wine64.])
+     else
+     	AC_MSG_NOTICE([If wine is installed, use make check TESTS_ENVIRONMENT=wine.])
+     fi
+     ;;
+   esac
+fi


More information about the gmp-commit mailing list