[PATCH app-xdm 9/9] config: use AM_V_GEN instead of customized macros for AM_SILENT_RULES
Alan Coopersmith
alan.coopersmith at oracle.com
Mon Nov 22 10:41:53 PST 2010
Gaetan Nadon wrote:
> Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
> ---
> config/Makefile.am | 2 +-
> configure.ac | 3 ---
> cpprules.in | 9 +--------
> 3 files changed, 2 insertions(+), 12 deletions(-)
>
> diff --git a/config/Makefile.am b/config/Makefile.am
> index d13645f..30e22ea 100644
> --- a/config/Makefile.am
> +++ b/config/Makefile.am
> @@ -59,4 +59,4 @@ CPP_FILES_FLAGS = -DBINDIR="$(bindir)" -DDEFAULTVT="$(DEFAULTVT)" \
> -DSHELL_CMD="$(SHELL_CMD)" $(MKTEMP_DEFINES)
>
> Xservers.ws: $(srcdir)/Xservers.ws.cpp
> - $(cpp_verbose)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $(srcdir)/Xservers.ws.cpp | $(CPP_SED_MAGIC) > $@
> + $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $(srcdir)/Xservers.ws.cpp | $(CPP_SED_MAGIC) > $@
> diff --git a/configure.ac b/configure.ac
> index 7781034..66ea73a 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -101,9 +101,6 @@ AC_FUNC_FORK
> AC_CHECK_FUNCS([daemon sigaction openlog asprintf setproctitle setusercontext \
> mkstemp getifaddrs getspnam arc4random])
>
> -m4_ifdef([AM_SILENT_RULES],[HAVE_AM_SILENT_RULES=yes])
> -AM_CONDITIONAL(HAVE_AM_SILENT_RULES, test x$HAVE_AM_SILENT_RULES != x)
> -
> XDM_CFLAGS="$XDM_CFLAGS"
> GREETER_CFLAGS="$GREETER_CFLAGS"
> CHOOSER_CFLAGS="$CHOOSER_CFLAGS"
> diff --git a/cpprules.in b/cpprules.in
> index eb7ef5e..c6daca3 100644
> --- a/cpprules.in
> +++ b/cpprules.in
> @@ -22,12 +22,5 @@ CPP_SED_MAGIC = $(SED) -e '/^\# *[0-9][0-9]* *.*$$/d' \
> -e '/^[ ]*XHASH/s/XHASH/\#/' \
> -e '/\@\@$$/s/\@\@$$/\\/'
>
> -if HAVE_AM_SILENT_RULES
> -# Support for automake 1.11 AM_SILENT_RULES
> -cpp_verbose = $(cpp_verbose_$(V))
> -cpp_verbose_ = $(cpp_verbose_$(AM_DEFAULT_VERBOSITY))
> -cpp_verbose_0 = @echo " CPP " $@;
> -endif HAVE_AM_SILENT_RULES
> -
> .cpp:
> - $(cpp_verbose)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $< | $(CPP_SED_MAGIC) > $@
> + $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $< | $(CPP_SED_MAGIC) > $@
Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Platform Engineering: X Window System
More information about the xorg-devel
mailing list