Correct setversion to set the Windows version number string (and current gmp-h.in)

This commit is contained in:
gladman 2010-05-26 08:23:02 +00:00
parent 1d1de77a8d
commit e813b1be1d
2 changed files with 2 additions and 2 deletions

View File

@ -2380,7 +2380,7 @@ enum
#define __MPIR_VERSION_MINOR 1
#define __MPIR_VERSION_PATCHLEVEL 0
#if defined( _MSC_VER )
#define _MSC_MPIR_VERSION "2.0.0"
#define _MSC_MPIR_VERSION "2.1.0"
#endif
/* These are for programs like MPFR to use the same CC and CFLAGS as MPIR */

View File

@ -42,7 +42,7 @@ cat gmp-h.in \
| sed s/"#define[[:space:]]\+__MPIR_VERSION[[:space:]]\+.*"/"#define __MPIR_VERSION "$VERSION/ \
| sed s/"#define[[:space:]]\+__MPIR_VERSION_MINOR[[:space:]]\+.*"/"#define __MPIR_VERSION_MINOR "$VERSION_MINOR/ \
| sed s/"#define[[:space:]]\+__MPIR_VERSION_PATCHLEVEL[[:space:]]\+.*"/"#define __MPIR_VERSION_PATCHLEVEL "$VERSION_PATCHLEVEL/ \
| sed s/"#define[[:space:]]\+VERSION[[:space:]]\+.*"/"#define _MSC_MPIR_VERSION "\"$VERSION_STR\"/ > $TMPFILE
| sed s/"#define[[:space:]]\+_MSC_MPIR_VERSION[[:space:]]\+.*"/"#define _MSC_MPIR_VERSION "\"$VERSION_STR\"/ > $TMPFILE
mv $TMPFILE gmp-h.in
#update build.vc9/config.*