From 19cf1d0612ee516241c2e4846756e47a16852b8e Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 18 Nov 2008 12:23:46 +0100 Subject: [PATCH] Use awk as found by configure --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index bee8d0f..4b2343b 100644 --- a/configure.ac +++ b/configure.ac @@ -390,9 +390,9 @@ YAZ_BUILD_ROOT=`pwd` dnl dnl ------ versioning dnl -WIN_FILEVERSION=`echo $PACKAGE_VERSION | awk 'BEGIN { FS = "."; } { m = $4; printf("%d,%d,%d,%d", $1, $2, $3 == "" ? "0" : $3, $4 == "" ? "1" : $4);}'` +WIN_FILEVERSION=`echo $PACKAGE_VERSION | $AWK 'BEGIN { FS = "."; } { m = $4; printf("%d,%d,%d,%d", $1, $2, $3 == "" ? "0" : $3, $4 == "" ? "1" : $4);}'` AC_SUBST([WIN_FILEVERSION]) -YAZ_VERSION_HEX=`echo $PACKAGE_VERSION | awk 'BEGIN { FS = "."; } { printf("%x", ($1 * 256 + $2) * 256 + $3);}'` +YAZ_VERSION_HEX=`echo $PACKAGE_VERSION | $AWK 'BEGIN { FS = "."; } { printf("%x", ($1 * 256 + $2) * 256 + $3);}'` AC_SUBST([YAZ_VERSION_HEX]) if test ${srcdir}/.git; then VERSION_SHA1=`git show --pretty=format:%H|head -1` -- 1.7.10.4