From: Jaroslav Kysela Date: Thu, 4 Oct 2001 07:55:24 +0000 (+0000) Subject: Fixed SUBMINOR generation X-Git-Tag: v1.0.3~656 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=c0d8173bf8823027d7f9cbb24d5998a6119593fa;p=alsa-lib.git Fixed SUBMINOR generation --- diff --git a/acinclude.m4 b/acinclude.m4 index 289bf25a..b827f864 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -32,6 +32,6 @@ SND_LIB_MAJOR=`echo $VERSION | cut -d . -f 1` AC_SUBST(SND_LIB_MAJOR) SND_LIB_MINOR=`echo $VERSION | cut -d . -f 2` AC_SUBST(SND_LIB_MINOR) -SND_LIB_SUBMINOR=`echo $VERSION | cut -d . -f 3 | sed -e 's/pre[[0-9]]*//g' -e 's/[[[:alpha:]]]*//g'` +SND_LIB_SUBMINOR=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([[^[:alpha:]]]*\)\(.*\)$/\1/g'` AC_SUBST(SND_LIB_SUBMINOR) ])