Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add status of build features

  • Loading branch information...
commit a21b20ed5d96e2dfefbcb73299668f4a64438667 1 parent cb71dc5
@b4n b4n authored
Showing with 16 additions and 2 deletions.
  1. +12 −1 build/status.m4
  2. +4 −1 build/unittests.m4
View
13 build/status.m4
@@ -12,6 +12,14 @@ AC_DEFUN([GP_STATUS_FEATURE_ADD],
"
])
+dnl add build feature status message, e.g.
+dnl GP_STATUS_BUIL_FEATURE_ADD(build_feature,yes)
+AC_DEFUN([GP_STATUS_BUILD_FEATURE_ADD],
+[
+ build_feature_statusmsg+="$1:$2
+"
+])
+
dnl indent $1_statusmsg with RHS at col $2
AC_DEFUN([_GP_STATUS_PRINT_INDENT_],
[
@@ -49,9 +57,12 @@ ${PACKAGE}-${VERSION}
Docdir: ${expanded_docdir}
Plugins path: ${geanypluginsdir}
- Plugins:
+ Build Features:
GPEOF
+ _GP_STATUS_PRINT_INDENT_(build_feature, 34)
+ echo
+ echo " Plugins:"
_GP_STATUS_PRINT_INDENT_(plugins, 34)
echo
echo " Features:"
View
5 build/unittests.m4
@@ -1,7 +1,10 @@
AC_DEFUN([GP_CHECK_UNITTESTS],
[
+ gp_have_unittests=no
PKG_CHECK_MODULES([CHECK], [check >= $1],
- [AM_CONDITIONAL(UNITTESTS, true)],
+ [AM_CONDITIONAL(UNITTESTS, true)
+ gp_have_unittests=yes],
[AM_CONDITIONAL(UNITTESTS, false)])
+ GP_STATUS_BUILD_FEATURE_ADD([Unit tests], [$gp_have_unittests])
])
Please sign in to comment.
Something went wrong with that request. Please try again.