equal
deleted
inserted
replaced
26 AC_PROG_MAKE_SET |
26 AC_PROG_MAKE_SET |
27 AC_PROG_RANLIB |
27 AC_PROG_RANLIB |
28 AC_PROG_AWK |
28 AC_PROG_AWK |
29 |
29 |
30 # Check bison version, we need a version great or equal than 2.4 to build matiec. |
30 # Check bison version, we need a version great or equal than 2.4 to build matiec. |
31 version_bison="$(bison --version | sed q | cut -d' ' -f4)" |
31 version_bison="$(bison --version | sed q | cut -d' ' -f4 | cut -d'.' -f1,2 )" |
32 version_bison=${version_bison:0:3} |
|
33 |
32 |
34 AS_IF([awk -v ver="$version_bison" 'BEGIN { if (ver < 2.4) exit 1; }'], |
33 AS_IF([awk -v ver="$version_bison" 'BEGIN { if (ver < 2.4) exit 1; }'], |
35 [have_bison_correct=yes], [have_bison_correct=no]) |
34 [have_bison_correct=yes], [have_bison_correct=no]) |
36 |
35 |
37 |
36 |