From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: configure doesn't accept --with-cards=powermac Date: Tue, 14 Sep 2004 12:34:56 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20040912113743.283b28be.pochini@shiny.it> <20040913212445.401b5917.pochini@shiny.it> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: multipart/mixed; boundary="Multipart_Tue_Sep_14_12:34:56_2004-1" Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Giuliano Pochini Cc: Jaroslav Kysela , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org --Multipart_Tue_Sep_14_12:34:56_2004-1 Content-Type: text/plain; charset=US-ASCII At Tue, 14 Sep 2004 11:14:47 +0200 (CEST), Giuliano Pochini wrote: > > On Tue, 14 Sep 2004, Takashi Iwai wrote: > > > > > > [Giu@Jay alsa-driver-1.0.7rc1]$ ./configure --with-cards=powermac > > > > > [...] > > > > > checking for which soundcards to compile driver for... configure: error: Unsupported soundcard powermac > > > > > > > > > > "powermac" is listed in the help. > > > > > > > > 1) Enable CONFIG_I2C in your kernel > > > > 2) Enable CONFIG_INPUT in your kernel > > > > > > Yes, they're both enabled, but config.log shows that CONFIG_INPUT is an > > > empty string ,8-/ ?? It's "y" in the kernel .config file. > > > > What about linux/autoconf.h? > > configure checks only this header file instead of .config. > > It was "1" IIRC. I can't verify right now because I'm not at home, but I'm > pretty sure it was 1. It looks like configure doesn't check CONFIG_INPUT indeed. Could you try the attached patch? Takashi --Multipart_Tue_Sep_14_12:34:56_2004-1 Content-Type: text/plain; charset=US-ASCII Index: alsa-driver/configure.in =================================================================== RCS file: /suse/tiwai/cvs/alsa/alsa-driver/configure.in,v retrieving revision 1.193 diff -u -r1.193 configure.in --- alsa-driver/configure.in 8 Sep 2004 17:55:40 -0000 1.193 +++ alsa-driver/configure.in 14 Sep 2004 09:34:07 -0000 @@ -432,6 +432,7 @@ ;; *) tristateres="unknown" + tristatechk="" ;; esac AC_MSG_RESULT($tristateres) @@ -587,6 +588,13 @@ CHECK_KERNEL_TRISTATE_CONFIG(CONFIG_I2C, [I2C driver in kernel]) AC_SUBST(CONFIG_I2C) +if test $kpatchlevel -le 2; then +CONFIG_INPUT="y" +else +CHECK_KERNEL_TRISTATE_CONFIG(CONFIG_INPUT, [Input driver in kernel]) +fi +AC_SUBST(CONFIG_INPUT) + dnl Check for SGI/MIPS (HAL2) support... AC_MSG_CHECKING(for SGI/MIPS (HAL2) architecture) CONFIG_SGI="" --Multipart_Tue_Sep_14_12:34:56_2004-1-- ------------------------------------------------------- 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. 13. Go here: http://sf.net/ppc_contest.php