[gnome-session] [build] Add more information to configure summary



commit 385bf595a97e08bc8ac3081b20fad357a264e2d7
Author: Vincent Untz <vuntz gnome org>
Date:   Tue Mar 9 13:09:10 2010 +0100

    [build] Add more information to configure summary

 configure.in |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/configure.in b/configure.in
index 0b52268..75a665b 100644
--- a/configure.in
+++ b/configure.in
@@ -257,7 +257,11 @@ dnl check for backtrace support
 dnl ====================================================================
 
 AC_CHECK_HEADERS(execinfo.h)
-AC_CHECK_LIB(execinfo, backtrace, [EXECINFO_LIBS="-lexecinfo"], [EXECINFO_LIBS=""])
+AC_CHECK_LIB(execinfo, backtrace, [have_backtrace="yes"], [have_backtrace="no"])
+EXECINFO_LIBS=""
+if test "x$have_backtrace" = "xyes"; then
+        EXECINFO_LIBS="-lexecinfo"
+fi
 AC_SUBST(EXECINFO_LIBS)
 
 dnl ====================================================================
@@ -275,6 +279,7 @@ AC_MSG_CHECKING([whether to enable ipv6])
 AC_ARG_ENABLE(ipv6,
               AC_HELP_STRING([--enable-ipv6], [enable IPv6 extensions]),,
               [enable_ipv6=yes])
+have_full_ipv6=no
 if test $enable_ipv6 = yes; then
 
   dnl ====================================================================
@@ -304,6 +309,7 @@ if test $enable_ipv6 = yes; then
     fi
     if test $have_getaddrinfo=yes; then
       AC_DEFINE(ENABLE_IPV6, 1, [Define if IPV6 is supported])
+      have_full_ipv6=yes
     fi
   fi
 fi
@@ -363,7 +369,7 @@ dnl ---------------------------------------------------------------------------
 
 echo "
               gnome-session $VERSION
-              =====================
+              `echo gnome-session $VERSION | sed "s/./=/g"`
 
         prefix:                   ${prefix}
         exec_prefix:              ${exec_prefix}
@@ -374,11 +380,14 @@ echo "
         localstatedir:            ${localstatedir}
         datadir:                  ${datadir}
         source code location:     ${srcdir}
-        compiler:	          ${CC}
-        cflags:	                  ${CFLAGS}
+        compiler:                 ${CC}
+        cflags:                   ${CFLAGS}
         Maintainer mode:          ${USE_MAINTAINER_MODE}
+        Warn about deprecations:  ${enable_deprecations}
 
         Default WM:               ${with_default_wm}
+        IPv6 support:             ${have_full_ipv6}
+        Backtrace support:        ${have_backtrace}
         XRender support:          ${have_xrender}
         XSync support:            ${have_xsync}
         XTest support:            ${have_xtest}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]