diff --git a/configure.ac b/configure.ac index 179f538f23dd0f81f823b17097138626490fa709..4375d5395b59382213acb1ad4cfa9b13a8d90500 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,11 @@ #! /bin/bash # $Id$ # Process this file with autoconf to produce a configure script. -AC_INIT(dune-common, 0.0, dune@dune-project.org) + +# get module version from dune.module file +m4_define([DUNE_MOD_VERSION], + [m4_esyscmd([grep ^Version: dune.module | sed -e 's/^.*://' -e 's/\s*//'])]) +AC_INIT(dune-common, DUNE_MOD_VERSION, dune@dune-project.org) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([common/stdstreams.cc]) AM_CONFIG_HEADER([config.h]) diff --git a/dune.module b/dune.module index edd437bd7836e1c0e5ba0f3898ba2771ada8374c..05e0fcc25fc223710e2cf2e25fe55c221b53e0b7 100644 --- a/dune.module +++ b/dune.module @@ -1 +1,2 @@ Module: dune-common +Version: 1.1svn