[gnome-menus] [build] Add configure summary
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-menus] [build] Add configure summary
- Date: Tue, 9 Mar 2010 13:06:35 +0000 (UTC)
commit 87f03667154f5c77548506218c57020e37d04c81
Author: Vincent Untz <vuntz gnome org>
Date: Tue Mar 9 14:06:21 2010 +0100
[build] Add configure summary
configure.in | 39 ++++++++++++++++++++++++++++++++++++---
1 files changed, 36 insertions(+), 3 deletions(-)
---
diff --git a/configure.in b/configure.in
index 74a60f9..af51d21 100644
--- a/configure.in
+++ b/configure.in
@@ -49,7 +49,7 @@ GNOME_COMPILE_WARNINGS(yes)
AC_ARG_ENABLE(deprecations,
[AC_HELP_STRING([--enable-deprecations],
- [warn about deprecated usages [default=no]])],,
+ [warn about deprecated usages @<:@default=no@:>@])],,
[enable_deprecations=no])
DISABLE_DEPRECATED_CFLAGS=
@@ -59,7 +59,10 @@ fi
AC_SUBST(DISABLE_DEPRECATED_CFLAGS)
dnl --enable-debug=(yes|minimum|no)
-AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging [default=no]],,enable_debug=yes)
+AC_ARG_ENABLE(debug,
+ [AC_HELP_STRING([--enable-debug],
+ [turn on debugging @<:@default=minimum@:>@])],,
+ [enable_debug=minimum])
if test "$enable_debug" = "yes"; then
DEBUG_CFLAGS="-DG_ENABLE_DEBUG"
else
@@ -67,13 +70,15 @@ else
DEBUG_CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
else
DEBUG_CFLAGS=""
+ # make sure we have the right string for the configure summary
+ enable_debug="minimum"
fi
fi
AC_SUBST(DEBUG_CFLAGS)
AC_ARG_ENABLE(python,
[AC_HELP_STRING([--enable-python],
- [build python bindings [default=auto]])],
+ [build python bindings @<:@default=auto@:>@])],
[enable_deprecations=$enableval],
[enable_deprecations=auto])
@@ -140,3 +145,31 @@ simple-editor/Makefile
simple-editor/GMenuSimpleEditor/Makefile
po/Makefile.in
])
+
+dnl ---------------------------------------------------------------------------
+dnl - Show summary
+dnl ---------------------------------------------------------------------------
+
+echo "
+ gnome-menus $VERSION
+ `echo gnome-menus $VERSION | sed "s/./=/g"`
+
+ prefix: ${prefix}
+ exec_prefix: ${exec_prefix}
+ libdir: ${libdir}
+ bindir: ${bindir}
+ sbindir: ${sbindir}
+ sysconfdir: ${sysconfdir}
+ localstatedir: ${localstatedir}
+ datadir: ${datadir}
+ source code location: ${srcdir}
+ compiler: ${CC}
+ cflags: ${CFLAGS}
+ Maintainer mode: ${USE_MAINTAINER_MODE}
+ Warn about deprecations: ${enable_deprecations}
+
+ Turn on debugging: ${enable_debug}
+ Build python bindings: ${have_python}
+ Build introspection support: ${found_introspection}
+
+"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]