]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fixed SUBMINOR generation
authorJaroslav Kysela <perex@perex.cz>
Thu, 4 Oct 2001 07:55:24 +0000 (07:55 +0000)
committerJaroslav Kysela <perex@perex.cz>
Thu, 4 Oct 2001 07:55:24 +0000 (07:55 +0000)
acinclude.m4

index 289bf25ac5276e04517c96853e5e289c07476823..b827f864b8f9985b72f0410239ca559cb8086aac 100644 (file)
@@ -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)
 ])