#13290: Upgrade MPC to version 1.0
----------------------------------+-----------------------------------------
       Reporter:  jdemeyer        |         Owner:  tbd           
           Type:  enhancement     |        Status:  needs_review  
       Priority:  minor           |     Milestone:  sage-5.3      
      Component:  packages        |    Resolution:                
       Keywords:                  |   Work issues:                
Report Upstream:  N/A             |     Reviewers:  Leif Leonhardy
        Authors:  Jeroen Demeyer  |     Merged in:                
   Dependencies:                  |      Stopgaps:                
----------------------------------+-----------------------------------------

Comment (by leif):

 Not clear to me what's causing this; the change to `configure.ac` looks
 harmless, but they're also using newer autotools.

 {{{
 #!diff

 --- mpc-1.0.0dev1126.p1/src/configure.ac        2012-02-21
 15:21:29.000000000 +0100
 +++ mpc-1.0/src/configure.ac    2012-07-19 14:33:51.000000000 +0200
 @@ -1,4 +1,4 @@
 -# Copyright (C) 2008, 2009, 2010, 2011 INRIA
 +# Copyright (C) 2008, 2009, 2010, 2011, 2012 INRIA
  #
  # This file is part of GNU MPC.
  #
 @@ -20,16 +20,23 @@
  # Process this file with autoconf to produce a configure script.

  AC_PREREQ(2.61)
 -AC_INIT(mpc, 1.0.0dev, [email protected])
 +AC_INIT(mpc, 1.0, [email protected])
  AC_CONFIG_SRCDIR([src/mpc-impl.h])
  AC_CONFIG_HEADER([config.h])

  AM_INIT_AUTOMAKE([1.9 -Wall -Werror])
  AM_MAINTAINER_MODE

 +USER_CC=$CC
 +USER_CFLAGS=$CFLAGS
 +
 +# automake 1.12 seems to require this, but automake 1.11 doesn't
 recognize it
 +m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 +
  AC_CANONICAL_HOST
  AC_CONFIG_MACRO_DIR([m4])

 +
  # Extra arguments to configure
  AC_ARG_WITH([mpfr_include],
              [AC_HELP_STRING([--with-mpfr-include=DIR],
 @@ -96,7 +103,7 @@
  # at http://lists.gforge.inria.fr/pipermail/mpc-
 discuss/2012-January/001056.html
  AC_PROG_EGREP
  AC_PROG_SED
 -if test -z "$CC" && test -z "$CFLAGS"; then
 +if test -z "$USER_CC" && test -z "$USER_CFLAGS"; then
     MPC_GMP_CC_CFLAGS
  fi

 @@ -105,7 +112,7 @@
  AC_LANG(C)

  # Set up LibTool
 -AC_PROG_LIBTOOL
 +LT_INIT

 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13290#comment:17>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to