Correct setversion to set the Windows version number string (and current gmp-h.in)
This commit is contained in:
parent
1d1de77a8d
commit
e813b1be1d
2
gmp-h.in
2
gmp-h.in
@ -2380,7 +2380,7 @@ enum
|
|||||||
#define __MPIR_VERSION_MINOR 1
|
#define __MPIR_VERSION_MINOR 1
|
||||||
#define __MPIR_VERSION_PATCHLEVEL 0
|
#define __MPIR_VERSION_PATCHLEVEL 0
|
||||||
#if defined( _MSC_VER )
|
#if defined( _MSC_VER )
|
||||||
#define _MSC_MPIR_VERSION "2.0.0"
|
#define _MSC_MPIR_VERSION "2.1.0"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* These are for programs like MPFR to use the same CC and CFLAGS as MPIR */
|
/* These are for programs like MPFR to use the same CC and CFLAGS as MPIR */
|
||||||
|
@ -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[[: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_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:]]\+__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
|
mv $TMPFILE gmp-h.in
|
||||||
|
|
||||||
#update build.vc9/config.*
|
#update build.vc9/config.*
|
||||||
|
Loading…
Reference in New Issue
Block a user