1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-06 13:54:12 +01:00

configure: Remove --disable-verbose-compile hack

Instead of using the --disable-verbose-compile hack, let's
use the standard option --enable-silent-rules (or 'make V=0' directly)
available with autoconf 1.11 and higher.

This is enabled in autoconf by using 'silent-rules' in AM_INIT_AUTOMAKE.
The verbosity of compilation is reduced in a similar manner as using
the --disable-verbose-compile option, so we can remove all that ugly
hackery.
This commit is contained in:
Carlos R. Mafra
2010-08-24 17:06:27 +02:00
parent 48044feb29
commit 5c8eb580b3
12 changed files with 16 additions and 139 deletions

View File

@@ -15,6 +15,7 @@ AC_INIT(WindowMaker, 0.94.0-crm)
AC_CONFIG_SRCDIR(src/WindowMaker.h)
AC_CONFIG_MACRO_DIR([m4])
AM_CONFIG_HEADER(src/config.h)
AM_INIT_AUTOMAKE([1.11 silent-rules])
dnl Checks for host/os name
dnl =======================
@@ -361,25 +362,6 @@ AC_SUBST(UTILMOFILES)
AC_SUBST(WINGSMOFILES)
AC_SUBST(supported_locales)
dnl Support for various hint things
dnl ===============================
dnl Beautify compilation messages
dnl =============================
AC_ARG_ENABLE(verbose-compile, AS_HELP_STRING([--disable-verbose-compile],
[Streamline compilation messages]),
[
QUIET='@echo " CC" $@;'
QUIET_AR='@echo " AR" $@;'
LIBTOOL_ARG="--silent"
MAKEFLAGS="-s"
AC_SUBST(QUIET)
AC_SUBST(QUIET_AR)
AC_SUBST(LIBTOOL_ARG)
AC_SUBST(MAKEFLAGS)
])
dnl ===========================================
dnl Stuff that uses X
dnl ===========================================