bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bison: new module


From: Bruno Haible
Subject: Re: bison: new module
Date: Sun, 03 May 2020 14:17:00 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-177-generic; KDE/5.18.0; x86_64; ; )

Hi Akim,

> > After you pushed it, I'll test it from within GNU gettext.
> 
> Pushed.

I tested it, and it failed to set VARIABLE to ':' if an old bison
version is in $PATH.

This patch fixes it.


2020-05-03  Bruno Haible  <address@hidden>

        bison: Fix today's commit.
        * m4/bison.m4 (gl_PROG_BISON): Set ac_verc_fail to 'yes', not 'true'.

diff --git a/m4/bison.m4 b/m4/bison.m4
index 76b62ba..3f18960 100644
--- a/m4/bison.m4
+++ b/m4/bison.m4
@@ -1,4 +1,4 @@
-# serial 9
+# serial 10
 
 # Copyright (C) 2002-2006, 2008-2020 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
@@ -57,13 +57,13 @@ _ACEOF
     : ${ac_prog_version:='v. ?.??'}
     if $$1 conftest.y -o conftest.c 2>/dev/null; then
       ac_prog_version="$ac_prog_version, ok"
-      ac_verc_fail=false
+      ac_verc_fail=no
     else
       ac_prog_version="$ac_prog_version, bad"
-      ac_verc_fail=true
+      ac_verc_fail=yes
     fi
-    AC_MSG_RESULT([$ac_prog_version])
     rm -f conftest.y conftest.c
+    AC_MSG_RESULT([$ac_prog_version])
   fi
   if test $ac_verc_fail = yes; then
     [$1]=:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]