build: Fix --disable-silent-rules. Thanks ng0!
authorJan Nieuwenhuizen <janneke@gnu.org>
Wed, 29 May 2019 14:55:57 +0000 (16:55 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 29 May 2019 14:55:57 +0000 (16:55 +0200)
* configure (main): Substitute V as string value.
* build-aux/trace.sh: Typo.  Fixes using V=0.
* build-aux/config.status.in (V): New substitute.
* build-aux/config.make.in (V): New substiute.

build-aux/config.make.in
build-aux/config.status.in
build-aux/trace.sh
configure

index 19ad218d2ec2b309a866b6edd33331d560d05c83..0e9b3650a9efc9107de742dc13ce502710ff86e7 100644 (file)
@@ -40,6 +40,7 @@ PACKAGE:=@PACKAGE@
 PERL:=@PERL@
 TINYCC_PREFIX:=@TINYCC_PREFIX@
 VERSION:=@VERSION@
+V:=@V@
 
 abs_top_builddir:=@abs_top_builddir@
 abs_top_srcdir:=@abs_top_srcdir@
index cbe88d404543237fc89f3b1f93a8c2c6bdedc21b..baa15d91b4be07430f1cf8c072357556ef722cea 100644 (file)
@@ -40,6 +40,7 @@ PACKAGE="@PACKAGE@"
 PERL="@PERL@"
 TINYCC_PREFIX="@TINYCC_PREFIX@"
 VERSION="@VERSION@"
+V="@V@"
 
 abs_top_builddir="@abs_top_builddir@"
 abs_top_srcdir="@abs_top_srcdir@"
index b4277505fdbbf8c3558e1af2bb334be26e320b69..9573d788205670fabb2dac269426344d72eff99d 100644 (file)
@@ -16,7 +16,7 @@
 # You should have received a copy of the GNU General Public License
 # along with GNU Mes.  If not, see <http://www.gnu.org/licenses/>.
 
-if [ -z "$V" -o "$V0" = 0 ]; then
+if [ -z "$V" -o "$V" = 0 ]; then
     trace () {
         echo "  $1"
         shift
index 4f81c7acad21b7159e52ca4f6c3b12a374b7f656..5b3c52e78c93b5088e428d6825fc59aa3f51655d 100755 (executable)
--- a/configure
+++ b/configure
@@ -557,7 +557,7 @@ Some influential environment variables:
                      ("@sysconfdir@" . ,sysconfdir)
 
                      ("@GUILE_EFFECTIVE_VERSION@" . ,(effective-version))
-                     ("@V@" . ,(if disable-silent-rules? 1 0))
+                     ("@V@" . ,(if disable-silent-rules? "1" "0"))
 
                      ("@AR@" . ,(or (file-name "ar" deps) ""))
                      ("@BASH@" . ,(or (file-name "bash" deps) ""))