+2025-01-15 Collin Funk <collin.funk1@gmail.com>
+
+ 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 <bruno@clisp.org>
assert-h: Fix compilation error with gcc >= 13 on Solaris 11.
m4/libgmp.m4
Depends-on:
+gen-header
configure.ac:
gl_LIBGMP
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 <gmp/gmp.h>' > $@-t
- mv $@-t $@
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)echo '#include <gmp/gmp.h>' > $@-t
+ $(AM_V_at)mv $@-t $@
endif
else
gmp.h: $(top_builddir)/config.status