]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
automatic version number in AC_INIT
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 10 Jul 2002 08:31:38 +0000 (08:31 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 10 Jul 2002 08:31:38 +0000 (08:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@6241 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/configure.in

index c89ce7f8175668d6cd496b938d606f47a42f5243..a4fe487c6fc26bf911811b7fd484d13ac10ac7d3 100644 (file)
@@ -22,9 +22,13 @@ dnl you call ./configure subsequently on different systems without
 dnl clearing the cache 
 define([AC_CACHE_LOAD], )dnl
 define([AC_CACHE_SAVE], )dnl
+
+dnl Versionnumbers
+
+DEAL_II_VERSION="`cat Version`"
 AC_REVISION($Revision$)
 AC_PREREQ(2.50)
-AC_INIT(deal.II, 3.5, dealii@dealii.org)
+AC_INIT(deal.II, $DEAL_II_VERSION, dealii@dealii.org)
 
 dnl Where the output config file is located
 AC_CONFIG_HEADER(base/include/base/config.h)
@@ -45,7 +49,6 @@ AC_SUBST(DEAL2_DIR)
 
 dnl    Set major and minor version numbers of the deal.II library,
 dnl    both as preprocessor variables and in Makefiles
-DEAL_II_VERSION="`cat Version`"
 DEAL_II_MAJOR=`cat Version | perl -pi -e 's/^(\d+)\..*/$1/;'`
 DEAL_II_MINOR=`cat Version | perl -pi -e 's/^\d+\.(\d+).*/$1/;'`
 AC_DEFINE_UNQUOTED(DEAL_II_MAJOR, $DEAL_II_MAJOR, 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.