From patchwork Thu Mar 22 13:48:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JonY X-Patchwork-Id: 148253 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 57E9EB6EF3 for ; Fri, 23 Mar 2012 00:49:16 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1333028957; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=nibLjR4 WhKapyj7GmSKbWDGZspQ=; b=iqxC2iU53/gvabPqmVdJOTxU8Lp/l/4TbQ119rR hgZjd9ZJCFhJ508iC3zhAwiT+7E3FLCMuIOuPwMAcwjnPXNsiyWG6uxF37BsPXqc wqrx04/2mSofjIIkj6sCqpHmmAFvCYxq635vItpsvI3D0EpWAV74vQcrIyzh4Pan zdks= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=mGea/WdmqWRD8korywLmHImsvVNG8RP2IPpxt+zoIQqye3DjP49do0gw6TkuaX Ry8fa054nWWeGg6/AuFXHDTtWSBIgcIQ+2/DDDgVLj4o/WQeGhCZRX0eR7YdS4XA OyZGWKSw9FCiIbww6M4IYnkgeO/UvGfHhaekKWgp8RZo0=; Received: (qmail 25037 invoked by alias); 22 Mar 2012 13:49:11 -0000 Received: (qmail 25024 invoked by uid 22791); 22 Mar 2012 13:49:10 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-yw0-f47.google.com (HELO mail-yw0-f47.google.com) (209.85.213.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 22 Mar 2012 13:48:56 +0000 Received: by yhjj56 with SMTP id j56so1864976yhj.20 for ; Thu, 22 Mar 2012 06:48:56 -0700 (PDT) Received: by 10.68.221.10 with SMTP id qa10mr19938751pbc.139.1332424135855; Thu, 22 Mar 2012 06:48:55 -0700 (PDT) Received: from [175.142.6.177] ([175.142.6.177]) by mx.google.com with ESMTPS id a2sm3885762pbc.16.2012.03.22.06.48.54 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Mar 2012 06:48:55 -0700 (PDT) Message-ID: <4F6B2DBB.40200@users.sourceforge.net> Date: Thu, 22 Mar 2012 21:48:43 +0800 From: JonY User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: Gcc Patch List Subject: [Patch] mpfr headers check X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hi, Attached is a rebased copy of a patch from . This is mostly a ping reminder. Index: configure.ac =================================================================== --- configure.ac (revision 185692) +++ configure.ac (working copy) @@ -1271,10 +1271,12 @@ if test "x$with_mpfr_lib" != x; then gmplibs="-L$with_mpfr_lib $gmplibs" fi -if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then - gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs" - gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc" - extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir" +if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d "${srcdir}/mpfr"; then + sdir= + test -d "${srcdir}/mpfr/src" && sdir=/src + gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr'"$sdir/$lt_cv_objdir $gmplibs" + gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr'"$sdir "'-I$$s/mpfr'"$sdir $gmpinc" + extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr'"$sdir "'--with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr'"$sdir/$lt_cv_objdir" # Do not test the mpfr version. Assume that it is sufficient, since # it is in the source tree, and the library has not been built yet # but it would be included on the link line in the version check below