configure.ac
changeset 1066 29735e347716
parent 1027 675ee2eeb3ff
equal deleted inserted replaced
1065:0066fe31a034 1066:29735e347716
    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