summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@xs4all.nl>2002-02-10 23:28:34 +0100
committerHan-Wen Nienhuys <hanwen@xs4all.nl>2002-02-10 23:28:34 +0100
commitce1ca7d20617d7ba113d975468feff9baa419b90 (patch)
treea082f0cbde8f5ac9049fc49e0c2f774d5897f720 /aclocal.m4
parent2804f8f79e01dc606ce067bffda2d966524e6e36 (diff)
patch::: 1.5.30.uu1
2002-02-07 Han-Wen Nienhuys <hanwen@cs.uu.nl> * stepmake/aclocal.m4: fixed bison version check to be more robust. * lily/stem.cc (position_noteheads): fix for cluster chords. * mf/*.mf: many blotting/pixel rounding fixes by Rune Zedeler * python 2.2 support.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m48
1 files changed, 5 insertions, 3 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 082312d741..0c3c31bd78 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -482,10 +482,12 @@ AC_DEFUN(AC_STEPMAKE_LEXYACC, [
AC_CHECK_SEARCH_RESULT($BISON, bison, Please install Bison, 1.25 or newer)
AC_CHECK_SEARCH_RESULT($FLEX, flex, Please install Flex, 2.5 or newer)
+
+## Urg. We should fix this configure test. -- so clumsy
if test $BISON != "error"; then
- bison_version=`$BISON --version | sed 's/^.*version 1.//g'`
- if test `echo $bison_version | sed 's/\..*$//g'` -lt 25; then
- AC_STEPMAKE_WARN(Your bison is a bit old (1.$bison_version). You might have to install 1.25)
+ bison_version=`$BISON --version | head -1 | sed 's/^.* 1\.//g'`
+ if test $bison_version -lt 25; then
+ AC_STEPMAKE_WARN(The bison installed might be too old (1.$bison_version). You might have to install 1.25)
fi
fi