From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30268 invoked by alias); 22 Dec 2012 09:50:15 -0000 Received: (qmail 30169 invoked by uid 22791); 22 Dec 2012 09:50:13 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 22 Dec 2012 09:50:06 +0000 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3YT24W6Hl9z3hhbX; Sat, 22 Dec 2012 10:50:02 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3YT24V6pCMzbbfQ; Sat, 22 Dec 2012 10:50:02 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id An1Zidk-SnD6; Sat, 22 Dec 2012 10:50:02 +0100 (CET) X-Auth-Info: pnZwPOaW7gYo+IXC52blrZ6GhhPhhGdjRqFzNUf3928= Received: from linux.local (ppp-88-217-127-54.dynamic.mnet-online.de [88.217.127.54]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 22 Dec 2012 10:50:02 +0100 (CET) Received: by linux.local (Postfix, from userid 501) id 9B5971E541F; Sat, 22 Dec 2012 10:49:57 +0100 (CET) From: Andreas Schwab To: Richard Biener Cc: Gerald Pfeifer , Dominique Dhumieres , gcc-patches@gcc.gnu.org, Jakub Jelinek Subject: Re: [PATCH] Fix PR54659, include gmp.h from system.h References: <20121221162631.46F3A3BE1B@mailhost.lps.ens.fr> X-Yow: C'MON, everybody!! I've flown in LESLIE GORE and two dozen KOSHER BUTCHERS! They'll be doing intricate MILITARY MANEUVERS to the soundtrack from "OKLAHOMA"!! Date: Sat, 22 Dec 2012 09:50:00 -0000 In-Reply-To: (Richard Biener's message of "Sat, 22 Dec 2012 09:54:46 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2012-12/txt/msg01355.txt.bz2 Richard Biener writes: > (I suppose somehow gmp.h is pulled in configure tests?) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include "ansidecl.h" #include "system.h" #ifdef HAVE_SYS_RESOURCE_H #include #endif ]], [[rlim_t l = 0;]])],[],[AC_DEFINE([rlim_t],[long], [Define to `long' if doesn't define.])]) Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."