Blame acinclude.m4

Packit Service a9274b
AC_DEFUN([SAVE_UTIL_VERSION], [
Packit Service a9274b
SND_UTIL_VERSION=$VERSION
Packit Service a9274b
echo $VERSION > $srcdir/version
Packit Service a9274b
AC_DEFINE_UNQUOTED(VERSION, "$SND_UTIL_VERSION", [ALSA util version])
Packit Service a9274b
AC_SUBST(SND_UTIL_VERSION)
Packit Service a9274b
SND_UTIL_MAJOR=`echo $VERSION | cut -d . -f 1`
Packit Service a9274b
AC_SUBST(SND_UTIL_MAJOR)
Packit Service a9274b
SND_UTIL_MINOR=`echo $VERSION | cut -d . -f 2`
Packit Service a9274b
AC_SUBST(SND_UTIL_MINOR)
Packit Service a9274b
SND_UTIL_SUBMINOR=`echo $VERSION | cut -d . -f 3 | sed -e 's/pre[[0-9]]*//g'`
Packit Service a9274b
AC_SUBST(SND_UTIL_SUBMINOR)
Packit Service a9274b
])