From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31315 invoked by alias); 9 Jan 2007 10:40:59 -0000 Received: (qmail 31296 invoked by uid 22791); 9 Jan 2007 10:40:58 -0000 X-Spam-Check-By: sourceware.org Received: from ns.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 09 Jan 2007 10:40:52 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 8B67012098; Tue, 9 Jan 2007 11:40:49 +0100 (CET) From: Andreas Schwab To: =?iso-8859-1?Q?Fran=E7ois-Xavier_Coudert?= Cc: "Paolo Bonzini" , bonzini@gnu.org, dj@redhat.com, neroden@gcc.gnu.org, aoliva@redhat.com, gcc-patches , GFortran Subject: Re: [libgfortran,patch] New autoconf test References: <19c433eb0701082354iefe2eahc6a41cc74fd03622@mail.gmail.com> <45A34B7E.8050900@lu.unisi.ch> <19c433eb0701090147l4f311893w2d429aec4c616d6f@mail.gmail.com> X-Yow: It don't mean a THING if you ain't got that SWING!! Date: Tue, 09 Jan 2007 10:40:00 -0000 In-Reply-To: <19c433eb0701090147l4f311893w2d429aec4c616d6f@mail.gmail.com> (=?iso-8859-1?Q?Fran=E7ois-Xavier?= Coudert's message of "Tue, 9 Jan 2007 10:47:48 +0100") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes 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: 2007-01/txt/msg00654.txt.bz2 "François-Xavier Coudert" writes: > dnl Check that we have a working GNU Fortran compiler > AC_DEFUN([LIBGFOR_WORKING_GFORTRAN], [ > AC_MSG_CHECKING([whether the GNU Fortran compiler is working]) > AC_LANG_PUSH([Fortran]) > AC_COMPILE_IFELSE([[ > program foo > real, parameter :: bar = sin (12.34 / 2.5) > end program foo]], , > [AC_MSG_RESULT([yes])], > [AC_MSG_RESULT([no]) > AC_MSG_ERROR([GNU Fortran is not working; please report a bug in > http://gcc.gnu.org/bugzilla, attaching `pwd`/config.log]) > ] ^ Missing paren. > AC_LANG_POP([Fortran]) > ]) Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."