mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
build: support --disable-silent-rules
Add support for standardized option for have verbose builds. Useful for distro builds where more details can be useful.
This commit is contained in:
parent
c728d88e11
commit
fa58fc3257
@ -1,5 +1,6 @@
|
||||
Version 3.0.0
|
||||
=============
|
||||
Configure supports --disable-silent-rules for verbose builds.
|
||||
Fix unmonitoring of merging snapshots.
|
||||
Cache can uses metadata format 2 with cleaner policy.
|
||||
Fix check if resized PV can also fit metadata area.
|
||||
|
17
configure
vendored
17
configure
vendored
@ -643,6 +643,7 @@ DMEVENTD_PIDFILE
|
||||
WRITE_INSTALL
|
||||
VALGRIND_POOL
|
||||
USRSBINDIR
|
||||
SILENT_RULES
|
||||
USE_TRACKING
|
||||
UDEV_HAS_BUILTIN_BLKID
|
||||
UDEV_RULE_EXEC_DETECTION
|
||||
@ -885,6 +886,7 @@ ac_subst_files=''
|
||||
ac_user_opts='
|
||||
enable_option_checking
|
||||
enable_dependency_tracking
|
||||
enable_silent_rules
|
||||
enable_static_link
|
||||
with_user
|
||||
with_group
|
||||
@ -1622,6 +1624,7 @@ Optional Features:
|
||||
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
||||
--disable-dependency-tracking
|
||||
speeds up one-time build.
|
||||
--disable-silent-rules disable silent building
|
||||
--enable-static_link use this to link the tools to their libraries
|
||||
statically (default is dynamic linking
|
||||
--disable-thin_check_needs_check
|
||||
@ -8043,6 +8046,20 @@ fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_TRACKING" >&5
|
||||
$as_echo "$USE_TRACKING" >&6; }
|
||||
|
||||
################################################################################
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build silently" >&5
|
||||
$as_echo_n "checking whether to build silently... " >&6; }
|
||||
# Check whether --enable-silent-rules was given.
|
||||
if test "${enable_silent_rules+set}" = set; then :
|
||||
enableval=$enable_silent_rules; SILENT_RULES=$enableval
|
||||
else
|
||||
SILENT_RULES=yes
|
||||
fi
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SILENT_RULES" >&5
|
||||
$as_echo "$SILENT_RULES" >&6; }
|
||||
|
||||
|
||||
################################################################################
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use static linking" >&5
|
||||
$as_echo_n "checking whether to use static linking... " >&6; }
|
||||
|
10
configure.ac
10
configure.ac
@ -170,6 +170,15 @@ AC_ARG_ENABLE(dependency-tracking,
|
||||
USE_TRACKING=$enableval, USE_TRACKING=yes)
|
||||
AC_MSG_RESULT($USE_TRACKING)
|
||||
|
||||
################################################################################
|
||||
dnl -- Disable silence rules
|
||||
AC_MSG_CHECKING(whether to build silently)
|
||||
AC_ARG_ENABLE(silent-rules,
|
||||
AC_HELP_STRING([--disable-silent-rules], [disable silent building]),
|
||||
SILENT_RULES=$enableval, SILENT_RULES=yes)
|
||||
AC_MSG_RESULT($SILENT_RULES)
|
||||
|
||||
|
||||
################################################################################
|
||||
dnl -- Enables statically-linked tools
|
||||
AC_MSG_CHECKING(whether to use static linking)
|
||||
@ -1726,6 +1735,7 @@ AC_SUBST(UDEV_SYSTEMD_BACKGROUND_JOBS)
|
||||
AC_SUBST(UDEV_RULE_EXEC_DETECTION)
|
||||
AC_SUBST(UDEV_HAS_BUILTIN_BLKID)
|
||||
AC_SUBST(USE_TRACKING)
|
||||
AC_SUBST(SILENT_RULES)
|
||||
AC_SUBST(USRSBINDIR)
|
||||
AC_SUBST(VALGRIND_POOL)
|
||||
AC_SUBST(WRITE_INSTALL)
|
||||
|
@ -13,6 +13,10 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
ifneq ("@SILENT_RULES@","yes")
|
||||
V ?= 1
|
||||
endif
|
||||
|
||||
ifeq ($(V),1)
|
||||
Q=
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user