From: Adam Dickmeiss Date: Tue, 18 Nov 2008 11:23:46 +0000 (+0100) Subject: Use awk as found by configure X-Git-Tag: v3.0.40~44 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=19cf1d0612ee516241c2e4846756e47a16852b8e;p=yaz-moved-to-github.git Use awk as found by configure --- 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`