From 2a083b76a72eed5c3a1d24c76e99503de53d6317 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Wed, 15 Jan 2025 20:27:34 -0800 Subject: [PATCH] libgmp-mpz: Respect Automake's silent-rules. * modules/libgmp-mpz (Depends-on): Depend on gen-header. (Makefile.am): Prefix commands with $(AM_V_GEN), $(gl_V_at), and $(AM_V_at). --- ChangeLog | 7 +++++++ modules/libgmp-mpz | 19 ++++++++++--------- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index bef68432ee..b195f7f80b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2025-01-15 Collin Funk + + libgmp-mpz: Respect Automake's silent-rules. + * modules/libgmp-mpz (Depends-on): Depend on gen-header. + (Makefile.am): Prefix commands with $(AM_V_GEN), $(gl_V_at), and + $(AM_V_at). + 2025-01-14 Bruno Haible assert-h: Fix compilation error with gcc >= 13 on Solaris 11. diff --git a/modules/libgmp-mpz b/modules/libgmp-mpz index bdc14e5ff6..0aeb75271a 100644 --- a/modules/libgmp-mpz +++ b/modules/libgmp-mpz @@ -9,6 +9,7 @@ lib/mini-gmp.h m4/libgmp.m4 Depends-on: +gen-header configure.ac: gl_LIBGMP @@ -23,19 +24,19 @@ if GL_GENERATE_GMP_H if GL_GENERATE_MINI_GMP_H # Build gmp.h as a wrapper for mini-gmp.h when using mini-gmp. gmp.h: $(top_builddir)/config.status -@NMD@ $(MKDIR_P) '%reldir%' - echo '#include "mini-gmp.h"' > $@-t - echo '#if GNULIB_LIBGMP_MPQ' >> $@-t - echo '# include "mini-mpq.h"' >> $@-t - echo '#endif' >> $@-t - mv $@-t $@ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)echo '#include "mini-gmp.h"' > $@-t + $(AM_V_at)echo '#if GNULIB_LIBGMP_MPQ' >> $@-t + $(AM_V_at)echo '# include "mini-mpq.h"' >> $@-t + $(AM_V_at)echo '#endif' >> $@-t + $(AM_V_at)mv $@-t $@ endif if GL_GENERATE_GMP_GMP_H # Build gmp.h as a wrapper for gmp/gmp.h. gmp.h: $(top_builddir)/config.status -@NMD@ $(MKDIR_P) '%reldir%' - echo '#include ' > $@-t - mv $@-t $@ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)echo '#include ' > $@-t + $(AM_V_at)mv $@-t $@ endif else gmp.h: $(top_builddir)/config.status -- 2.39.5