From: Adam Dickmeiss Date: Mon, 17 Nov 2008 19:00:15 +0000 (+0100) Subject: Fixed awk stmt - which was apparently gawk only X-Git-Tag: v3.0.40~58 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=f1ddcf0aca55660d122a40046a13483c4a06f922;p=yaz-moved-to-github.git Fixed awk stmt - which was apparently gawk only --- diff --git a/configure.ac b/configure.ac index b8b1e37..9ed29e0 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]) dnl dnl ------ Makefiles