From 40bcde3c9ec30dcf374bf79a61cb2e258bd89fa5 Mon Sep 17 00:00:00 2001 From: Liam Girdwood Date: Sun, 26 Nov 2017 08:15:04 +0800 Subject: [PATCH] git-version: echo version for AC_INIT AC_INIT needs version information for building shared libraries. Signed-off-by: Liam Girdwood --- git-version.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-version.sh b/git-version.sh index c6beb403d..faa0daaeb 100755 --- a/git-version.sh +++ b/git-version.sh @@ -20,3 +20,5 @@ fi echo $num > .build echo "#define REEF_BUILD $num" >> src/include/version.h +#echo version for AC_INIT +echo -n `cat .version | cut -dv -f2 | cut -d. -f1`:`cat .version | cut -d. -f2 | cut -d- -f1`