On 13/03/2022 20:44, Adam Dinwoodie wrote:
configure="${confdir}/configure"
        confver=$(grep -m 1 'GNU Autoconf' ${configure} | cut -d ' ' -f 6)
+       confver_maj=${confver%%.*}
+       confver_min=${confver##*.}
+       if [ $confver_maj -ne 2 ]
+       then
+               error "unexpected autoconf version";
+       fi
# AC_CONFIG_FILES should not be dist'ed, but it sometimes happens anyway
        eval $(grep -h '^ac_config_files=' ${configure})

When I test this locally, it fails, as (note the full stop at the end of the line):

$ grep -m1 Autoconf configure
# Generated by GNU Autoconf 2.71.

Reply via email to