Changeset 5737
- Timestamp:
- 11/07/09 12:17:40 (2 weeks ago)
- Location:
- mpich2/trunk
- Files:
-
- 3 modified
-
configure.in (modified) (2 diffs)
-
maint/Version (modified) (1 diff)
-
maint/updatefiles (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mpich2/trunk/configure.in
r5695 r5737 138 138 # Try to find the version 139 139 if test -s "$srcdir/maint/Version" ; then 140 MPICH2_VERSION="`cat $srcdir/maint/Version `"140 MPICH2_VERSION="`cat $srcdir/maint/Version | grep ^MPICH2_VERSION: | cut -f2 -d' '`" 141 141 export MPICH2_VERSION 142 142 else … … 202 202 # Makefile.sm to pass the ABIVERSION to the createshlib script. 203 203 # We use libtool-style version numbers (see --version-info in the 204 # libtool manual) 205 changequote(<<,>>) 206 V1=`expr $MPICH2_VERSION : '\([0-9]*\)\.[0-9]*\.*[0-9]*[a-zA-Z]*[0-9]*'` 207 V2=`expr $MPICH2_VERSION : '[0-9]*\.\([0-9]*\)\.*[0-9]*[a-zA-Z]*[0-9]*'` 208 changequote([,]) 209 ABIVERSION="${V1}:${V2}" 204 # libtool manual) 205 ABIVERSION="`cat $srcdir/maint/Version | grep ^MPICH2_ABIVERSION: | cut -f2 -d' '`" 210 206 AC_SUBST(ABIVERSION) 211 207 -
mpich2/trunk/maint/Version
r5726 r5737 1 1.2.1rc1 1 MPICH2_VERSION: 1.2.1rc1 2 MPICH2_ABIVERSION: 1:2 -
mpich2/trunk/maint/updatefiles
r5736 r5737 918 918 if [ "$do_smpdversion" = yes ] ; then 919 919 echo "Creating src/pm/smpd/smpd_version.h" 920 smpdVersion=`cat maint/Version `920 smpdVersion=`cat maint/Version | grep ^MPICH2_VERSION | cut -f2 -d' '` 921 921 cat >src/pm/smpd/smpd_version.h <<EOF 922 922 /* -*- Mode: C; c-basic-offset:4 ; -*- */ … … 929 929 fi 930 930 931 VERSION=`cat maint/Version `931 VERSION=`cat maint/Version | grep ^MPICH2_VERSION | cut -f2 -d' '` 932 932 if [ -f README.vin ] ; then 933 933 echo "Updating README's version ID."
