From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: How to build alsa-driver for sparc? Date: Tue, 28 Sep 2004 18:51:57 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20040927191437.GA436@palantir8> <20040928002520.GA8552@palantir8> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from Cantor.suse.de (cantor.suse.de [195.135.220.2]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id 95884316 for ; Tue, 28 Sep 2004 18:51:57 +0200 (MEST) In-Reply-To: <20040928002520.GA8552@palantir8> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Martin Habets Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 28 Sep 2004 01:25:21 +0100, Martin Habets wrote: > > Takashi, > > Yes this works (and in record-breaking time!), but revealed another problem > when running configure: > > checking for which soundcards to compile driver for... ./configure: line 8479: ((: ( test y = y -o y = m ) || > ( test = y -o = m ): missing `)' (error token is "y = y -o y = m ) || > ( test = y -o = m )") > ./configure: line 8491: ((: ( test y = y -o y = m ) || > ( test = y -o = m ): missing `)' (error token is "y = y -o y = m ) || > ( test = y -o = m )") > ./configure: line 8502: ((: ( test y = y -o y = m ) || > ( test = y -o = m ): missing `)' (error token is "y = y -o y = m ) || > ( test = y -o = m )") > all > > configure has: > if test "$card" = "all" -o "$card" = "sun-amd7930"; then > if ((( test "$CONFIG_SPARC32" = "y" -o "$CONFIG_SPARC32" = "m" ) || > ( test "$CONFIG_SPARC64" = "y" -o "$CONFIG_SPARC64" = "m" ))) && > ( test "$CONFIG_SBUS" = "y" -o "$CONFIG_SBUS" = "m" ); then > > The "((" puts bash into math mode... The first patch attached circumvents > this problem. > After that it turned out CONFIG_SBUS was not set either in toplevel.config, > and the 2nd patch is my attempt to resolve that. Thanks, I applied all patches to CVS. I changed slightly that CONFIG_SBUS is checked only when CONFIG_SPARC32 or CONFIG_SPARC64 is set. Takashi ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php