aboutsummaryrefslogtreecommitdiff
path: root/libX11/cpprules.in
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/cpprules.in')
-rw-r--r--libX11/cpprules.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/libX11/cpprules.in b/libX11/cpprules.in
index 52e34a012..e49341f09 100644
--- a/libX11/cpprules.in
+++ b/libX11/cpprules.in
@@ -25,5 +25,13 @@ CPP_SED_MAGIC = $(SED) -e '/^\# *[0-9][0-9]* *.*$$/d' \
-e 's,X11_LOCALEDATADIR,$(X11_LOCALEDATADIR),g' \
-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
+
.pre:
- $(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $< | $(CPP_SED_MAGIC) > $@
+ $(cpp_verbose)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $< | $(CPP_SED_MAGIC) > $@