]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Improvement of configure.ac files:
authorabd <abd@opencascade.com>
Tue, 24 Jul 2007 04:40:58 +0000 (04:40 +0000)
committerabd <abd@opencascade.com>
Tue, 24 Jul 2007 04:40:58 +0000 (04:40 +0000)
- calculation of XVERSION
- correct mail address of support

configure.ac

index cb5d6e3215a488c8d529e7e7c2dbbb1b86b91b00..ccb755e85823bf53fac71e42690350ff346d0cca 100644 (file)
@@ -6,18 +6,13 @@
 #
 
 
-AC_INIT([Salome2 Project VISU module], [4.0.0], [gboulant@CS], [salome])
+AC_INIT([Salome2 Project VISU module], [4.0.0], [webmaster.salome@opencascade.com], [salome])
 AC_CONFIG_AUX_DIR(salome_adm/unix/config_files)
 AC_CANONICAL_HOST
 AC_CANONICAL_TARGET
 AM_INIT_AUTOMAKE
 
-PACKAGE=salome
-AC_SUBST(PACKAGE)
-
-VERSION=4.0.0
-XVERSION=0x040000
-AC_SUBST(VERSION)
+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.)