[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch] Compiling tar-1.13.22 with bison-1.29
From: |
Adrian Bunk |
Subject: |
[patch] Compiling tar-1.13.22 with bison-1.29 |
Date: |
Wed, 12 Sep 2001 21:08:53 +0200 (CEST) |
Hi Paul,
I've found a problem when compiling tar-1.13.22 with bison-1.29 installed:
<-- snip -->
...
checking for bison... bison
checking version of bison... v. ?.??, bad
...
<-- snip -->
The problem is that the output of "bison --version" changed:
<-- snip -->
$ /usr/local/DIR/bison-1.28/bin/bison --version
GNU Bison version 1.28
$ bison --version
bison (GNU Bison) 1.29
Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$
<-- snip -->
The patch is simple:
--- aclocal.m4.old Wed Sep 12 20:50:43 2001
+++ aclocal.m4 Wed Sep 12 20:54:04 2001
@@ -1650,7 +1650,7 @@
dnl Found it, now check the version.
AC_MSG_CHECKING([version of bison])
changequote(<<,>>)dnl
- ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .*
\([0-9]*\.[0-9.]*\).*$/\1/p'`
+ ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.*
\([0-9]*\.[0-9.]*\).*$/\1/p'`
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
cu
Adrian
--
Get my GPG key: finger address@hidden | gpg --import
Fingerprint: B29C E71E FE19 6755 5C8A 84D4 99FC EA98 4F12 B400
- [patch] Compiling tar-1.13.22 with bison-1.29,
Adrian Bunk <=