From: vsr Date: Tue, 8 Jul 2008 07:44:59 +0000 (+0000) Subject: improve configure.ac : XVERSION X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e6862e50d884b52692d4950408ed8ee2c91586b9;p=modules%2Fkernel.git improve configure.ac : XVERSION --- diff --git a/configure.ac b/configure.ac index 86d0aa533..fddf33135 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ AC_CANONICAL_TARGET AM_INIT_AUTOMAKE([tar-pax]) #AC_CONFIG_HEADER([config.h]) -XVERSION=0x050000 +XVERSION=`echo $VERSION | awk -F. '{printf("0x%02x%02x%02x",$1,$2,$3)}'` AC_SUBST(XVERSION) # set up MODULE_NAME variable for dynamic construction of directories (resources, etc.)