Salome HOME
Improvement of configure.ac files:
authorabd <abd@opencascade.com>
Tue, 24 Jul 2007 04:40:42 +0000 (04:40 +0000)
committerabd <abd@opencascade.com>
Tue, 24 Jul 2007 04:40:42 +0000 (04:40 +0000)
- calculation of XVERSION
- correct mail address of support

configure.ac

index b4585ccc731cae29107e9678c77b540590d8038e..b2799afe11365831a172c2881c8f82af19517a47 100644 (file)
@@ -9,18 +9,13 @@
 #
 
 
-AC_INIT([Salome2 Project SMESH module], [4.0.0], [gboulant@CS], [salome])
+AC_INIT([Salome2 Project SMESH 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.)