fixed trac 176 version number have 3 parts

This commit is contained in:
jasonmoxham 2009-08-02 01:54:38 +00:00
parent c7c3bc33cf
commit fb1e89f96f
2 changed files with 12 additions and 14 deletions

View File

@ -159,14 +159,12 @@ ifelse(m4_eval(GMP_HEADER_GETVAL(__GNU_MP_VERSION_PATCHLEVEL,gmp-h.in) > 0),1,
dnl MPIR_VERSION
dnl -----------
dnl The mpir version number, extracted from the #defines in gmp-h.in at
dnl autoconf time. Two digits like 3.0 if patchlevel <= 0, or three digits
dnl like 3.0.1 if patchlevel > 0.
dnl autoconf time.
define(MPIR_VERSION,
[GMP_HEADER_GETVAL(__MPIR_VERSION,gmp-h.in)[]dnl
.GMP_HEADER_GETVAL(__MPIR_VERSION_MINOR,gmp-h.in)[]dnl
ifelse(m4_eval(GMP_HEADER_GETVAL(__MPIR_VERSION_PATCHLEVEL,gmp-h.in) > 0),1,
[.GMP_HEADER_GETVAL(__MPIR_VERSION_PATCHLEVEL,gmp-h.in)])])
.GMP_HEADER_GETVAL(__MPIR_VERSION_PATCHLEVEL,gmp-h.in)])
dnl GMP_SUBST_CHECK_FUNCS(func,...)

20
configure vendored
View File

@ -1,7 +1,7 @@
#! /bin/sh
# From configure.in Revision: 1.11 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for MPIR 1.2.
# Generated by GNU Autoconf 2.61 for MPIR 1.2.0.
#
# Report bugs to <http://groups.google.co.uk/group/mpir-devel/>.
#
@ -754,8 +754,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='MPIR'
PACKAGE_TARNAME='mpir'
PACKAGE_VERSION='1.2'
PACKAGE_STRING='MPIR 1.2'
PACKAGE_VERSION='1.2.0'
PACKAGE_STRING='MPIR 1.2.0'
PACKAGE_BUGREPORT='http://groups.google.co.uk/group/mpir-devel/'
ac_unique_file="gmp-impl.h"
@ -1474,7 +1474,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures MPIR 1.2 to adapt to many kinds of systems.
\`configure' configures MPIR 1.2.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1544,7 +1544,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of MPIR 1.2:";;
short | recursive ) echo "Configuration of MPIR 1.2.0:";;
esac
cat <<\_ACEOF
@ -1669,7 +1669,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
MPIR configure 1.2
MPIR configure 1.2.0
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@ -1708,7 +1708,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by MPIR $as_me 1.2, which was
It was created by MPIR $as_me 1.2.0, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@ -2507,7 +2507,7 @@ fi
# Define the identity of the package.
PACKAGE='mpir'
VERSION='1.2'
VERSION='1.2.0'
cat >>confdefs.h <<_ACEOF
@ -34770,7 +34770,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by MPIR $as_me 1.2, which was
This file was extended by MPIR $as_me 1.2.0, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@ -34823,7 +34823,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
MPIR config.status 1.2
MPIR config.status 1.2.0
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"