]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
improve configure.ac : XVERSION BR_QT4_Dev1
authorvsr <vsr@opencascade.com>
Tue, 8 Jul 2008 07:44:59 +0000 (07:44 +0000)
committervsr <vsr@opencascade.com>
Tue, 8 Jul 2008 07:44:59 +0000 (07:44 +0000)
configure.ac

index 86d0aa5339b2accbcfb341a232482b3ebd0a3dd7..fddf33135f0867bf1b8f2d5d90d2c74a2433540a 100644 (file)
@@ -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.)