From 5ffe62cf0bb2f36a50c37dcb2ac32559aca6ba51 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:43:04 +0000 Subject: [PATCH] lilypond-0.0.62 --- configure | 21 +++++++++++++-------- configure.in | 7 ++++++- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/configure b/configure index 9e35706c4f..a803ba3e29 100755 --- a/configure +++ b/configure @@ -1152,7 +1152,12 @@ fi if test $BISON = "error" then - echo "configure: warning: can't find bison. Please install Bison (1.24 or better)" 1>&2 + echo "configure: warning: can't find bison. Please install Bison (1.25 or better)" 1>&2 +else + bison_version=`$BISON --version| sed 's/^.*version 1.//g' ` + if test $bison_version -lt 25; then + echo "configure: warning: Your bison is too old (1.$bison_version). Please install 1.25" 1>&2 + fi fi if test $PODMAN = "error" @@ -1173,7 +1178,7 @@ else fi echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 -echo "configure:1177: checking how to run the C++ preprocessor" >&5 +echo "configure:1182: checking how to run the C++ preprocessor" >&5 if test -z "$CXXCPP"; then if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1186,12 +1191,12 @@ ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $L cross_compiling=$ac_cv_prog_cxx_cross CXXCPP="${CXX-g++} -E" cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : @@ -1211,17 +1216,17 @@ echo "$ac_t""$CXXCPP" 1>&6 ac_safe=`echo "FlexLexer.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for FlexLexer.h""... $ac_c" 1>&6 -echo "configure:1215: checking for FlexLexer.h" >&5 +echo "configure:1220: checking for FlexLexer.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -1625,7 +1630,7 @@ fi eval "DIR_DATADIR=$datadir" DIR_DATADIR="$DIR_DATADIR/lilypond" echo $ac_n "checking ""... $ac_c" 1>&6 -echo "configure:1629: checking " >&5 +echo "configure:1634: checking " >&5 cat << EOF > lib/out/config.hh diff --git a/configure.in b/configure.in index fbf2c3d8d8..f8f095502d 100644 --- a/configure.in +++ b/configure.in @@ -196,7 +196,12 @@ fi if test $BISON = "error" then - AC_MSG_WARN(can't find bison. Please install Bison (1.24 or better)) + AC_MSG_WARN(can't find bison. Please install Bison (1.25 or better)) +else + bison_version=`$BISON --version| sed 's/^.*version 1.//g' ` + if test $bison_version -lt 25; then + AC_MSG_WARN(Your bison is too old (1.$bison_version). Please install 1.25) + fi fi if test $PODMAN = "error" -- 2.39.5