From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4445 invoked by alias); 10 Aug 2004 22:53:02 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 4428 invoked from network); 10 Aug 2004 22:53:02 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sourceware.org with SMTP; 10 Aug 2004 22:53:02 -0000 Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 98F1EA26CB5 for ; Wed, 11 Aug 2004 00:53:01 +0200 (CEST) To: libc-hacker@sources.redhat.com Subject: Fix configure check for source locations From: Andreas Schwab X-Yow: Where's my SOCIAL WORKER? Date: Tue, 10 Aug 2004 22:53:00 -0000 Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-08/txt/msg00028.txt.bz2 On ia64 the nop instruction is spelled "nop 0". Also fixes a missing pair of parens. Andreas. 2004-08-11 Andreas Schwab * configure.in: Fix libc_cv_cpp_asm_debuginfo test for ia64 and add missing parens. --- configure.in 09 Aug 2004 11:13:44 +0200 1.419 +++ configure.in 11 Aug 2004 00:46:18 +0200 @@ -1669,16 +1669,19 @@ foo: /* Unfortunately this test only works for a real instruction, not for any of the machine-independent pseudo-ops. So we just have to assume everybody has a "nop". */ +#ifdef __ia64__ +#define nop nop 0 +#endif nop /* comment */ nop /* comment */ nop EOF -if AC_TRY_COMMAND([${CC-cc} $CPPFLAGS $ASFLAGS -g -c conftest.S 1>&AS_MESSAGE_LOG_FD]) && +if AC_TRY_COMMAND([${CC-cc} $CPPFLAGS $ASFLAGS -g -c conftest.S 1>&AS_MESSAGE_LOG_FD]) && { ac_pattern='conftest\.S' AC_TRY_COMMAND([readelf --debug-dump=line conftest.o | - grep $ac_pattern 1>&AS_MESSAGE_LOG_FD]); then + grep $ac_pattern 1>&AS_MESSAGE_LOG_FD]); }; then libc_cv_cpp_asm_debuginfo=yes else libc_cv_cpp_asm_debuginfo=no -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."