Fix silent rules

Ensure that the SILENT_CMDS Makefile variable is always substituted.
pull/2/head
Stelios Bounanos 2009-09-30 13:25:31 +01:00
rodzic fc18f874a0
commit e4e1af2f91
2 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -273,7 +273,7 @@ AC_FLDIGI_DOCS
AC_FLDIGI_BUILD_INFO
### silent build rules
m4_ifdef([AM_SILENT_RULES], [AC_FLDIGI_BUILD_RULES])
AC_FLDIGI_BUILD_RULES
### output
AH_TOP([

Wyświetl plik

@ -94,7 +94,7 @@ $PULSEAUDIO_LIBS $HAMLIB_LIBS $PNG_LIBS $XMLRPC_LIBS $INTL_LIBS $PTW32_LIBS $BFD
# command output depending on the values of the variables
# $(AM_DEFAULT_VERBOSITY) and $(V). These variables affect the custom
# command output in the same way as they do for automake's build rules.
AC_DEFUN([AC_FLDIGI_BUILD_RULES], [
AC_DEFUN([AC_FLDIGI_BUILD_RULES_SILENT], [
m4_ifdef([AM_SUBST_NOTMAKE], [AM_SUBST_NOTMAKE([SILENT_CMDS])])
AC_SUBST([SILENT_CMDS],
['silent_cmd = @echo " $(1)" $(2);
@ -106,3 +106,7 @@ AC_DEFUN([AC_FLDIGI_BUILD_RULES], [
endif
endif'])
])
AC_DEFUN([AC_FLDIGI_BUILD_RULES],
[m4_ifdef([AM_SILENT_RULES], [AC_FLDIGI_BUILD_RULES_SILENT],
[AC_SUBST([SILENT_CMDS], [])])])