All of lore.kernel.org
 help / color / mirror / Atom feed
* configure doesn't accept --with-cards=powermac
@ 2004-09-12  9:37 Giuliano Pochini
  2004-09-12 11:30 ` Jaroslav Kysela
  0 siblings, 1 reply; 9+ messages in thread
From: Giuliano Pochini @ 2004-09-12  9:37 UTC (permalink / raw)
  To: Alsa-devel



[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.


--
Giuliano.


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: configure doesn't accept --with-cards=powermac
  2004-09-12  9:37 configure doesn't accept --with-cards=powermac Giuliano Pochini
@ 2004-09-12 11:30 ` Jaroslav Kysela
  2004-09-13 19:24   ` Giuliano Pochini
  0 siblings, 1 reply; 9+ messages in thread
From: Jaroslav Kysela @ 2004-09-12 11:30 UTC (permalink / raw)
  To: Giuliano Pochini; +Cc: Alsa-devel

On Sun, 12 Sep 2004, Giuliano Pochini 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

Or do you use a 2.4 kernel?

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: configure doesn't accept --with-cards=powermac
  2004-09-12 11:30 ` Jaroslav Kysela
@ 2004-09-13 19:24   ` Giuliano Pochini
  2004-09-14  9:08     ` Takashi Iwai
  2004-09-15  7:34     ` Jaroslav Kysela
  0 siblings, 2 replies; 9+ messages in thread
From: Giuliano Pochini @ 2004-09-13 19:24 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: alsa-devel

On Sun, 12 Sep 2004 13:30:17 +0200 (CEST)
Jaroslav Kysela <perex@suse.cz> 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.


> Or do you use a 2.4 kernel?

No, 2.6.8.1



--
Giuliano.


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: configure doesn't accept --with-cards=powermac
  2004-09-13 19:24   ` Giuliano Pochini
@ 2004-09-14  9:08     ` Takashi Iwai
  2004-09-14  9:14       ` Giuliano Pochini
  2004-09-15  7:34     ` Jaroslav Kysela
  1 sibling, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2004-09-14  9:08 UTC (permalink / raw)
  To: Giuliano Pochini; +Cc: Jaroslav Kysela, alsa-devel

At Mon, 13 Sep 2004 21:24:45 +0200,
Giuliano Pochini wrote:
> 
> On Sun, 12 Sep 2004 13:30:17 +0200 (CEST)
> Jaroslav Kysela <perex@suse.cz> 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.


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. 13. Go here: http://sf.net/ppc_contest.php

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: configure doesn't accept --with-cards=powermac
  2004-09-14  9:08     ` Takashi Iwai
@ 2004-09-14  9:14       ` Giuliano Pochini
  2004-09-14 10:34         ` Takashi Iwai
  0 siblings, 1 reply; 9+ messages in thread
From: Giuliano Pochini @ 2004-09-14  9:14 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Jaroslav Kysela, alsa-devel



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.


--
Giuliano.


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: configure doesn't accept --with-cards=powermac
  2004-09-14  9:14       ` Giuliano Pochini
@ 2004-09-14 10:34         ` Takashi Iwai
  2004-09-14 17:40           ` Giuliano Pochini
  0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2004-09-14 10:34 UTC (permalink / raw)
  To: Giuliano Pochini; +Cc: Jaroslav Kysela, alsa-devel

[-- Attachment #1: Type: text/plain, Size: 932 bytes --]

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

[-- Attachment #2: Type: text/plain, Size: 823 bytes --]

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=""

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: configure doesn't accept --with-cards=powermac
  2004-09-14 10:34         ` Takashi Iwai
@ 2004-09-14 17:40           ` Giuliano Pochini
  0 siblings, 0 replies; 9+ messages in thread
From: Giuliano Pochini @ 2004-09-14 17:40 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: pochini, perex, alsa-devel

On Tue, 14 Sep 2004 12:34:56 +0200
Takashi Iwai <tiwai@suse.de> wrote:

> > > > 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?

Yes, it works. Tnx.


--
Giuliano.


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: configure doesn't accept --with-cards=powermac
  2004-09-13 19:24   ` Giuliano Pochini
  2004-09-14  9:08     ` Takashi Iwai
@ 2004-09-15  7:34     ` Jaroslav Kysela
  2004-09-15 21:07       ` Giuliano Pochini
  1 sibling, 1 reply; 9+ messages in thread
From: Jaroslav Kysela @ 2004-09-15  7:34 UTC (permalink / raw)
  To: Giuliano Pochini; +Cc: alsa-devel

On Mon, 13 Sep 2004, Giuliano Pochini wrote:

> On Sun, 12 Sep 2004 13:30:17 +0200 (CEST)
> Jaroslav Kysela <perex@suse.cz> 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.

Does this patch help?

Index: configure.in
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/configure.in,v
retrieving revision 1.264
diff -u -r1.264 configure.in
--- configure.in        8 Sep 2004 17:06:05 -0000       1.264
+++ configure.in        15 Sep 2004 07:38:37 -0000
@@ -587,6 +587,10 @@
 CHECK_KERNEL_TRISTATE_CONFIG(CONFIG_I2C, [I2C driver in kernel])
 AC_SUBST(CONFIG_I2C)
 
+dnl Check for input subsystem...
+CHECK_KERNEL_TRISTATE_CONFIG(CONFIG_INPUT, [input subsystem in kernel])
+AC_SUBST(CONFIG_INPUT)
+
 dnl Check for SGI/MIPS (HAL2) support...
 AC_MSG_CHECKING(for SGI/MIPS (HAL2) architecture)
 CONFIG_SGI=""

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: configure doesn't accept --with-cards=powermac
  2004-09-15  7:34     ` Jaroslav Kysela
@ 2004-09-15 21:07       ` Giuliano Pochini
  0 siblings, 0 replies; 9+ messages in thread
From: Giuliano Pochini @ 2004-09-15 21:07 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: alsa-devel

On Wed, 15 Sep 2004 09:34:43 +0200 (CEST)
Jaroslav Kysela <perex@suse.cz> 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.
> 
> Does this patch help?

Yes, also this one works fine.


--
Giuliano.


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-09-15 21:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-12  9:37 configure doesn't accept --with-cards=powermac Giuliano Pochini
2004-09-12 11:30 ` Jaroslav Kysela
2004-09-13 19:24   ` Giuliano Pochini
2004-09-14  9:08     ` Takashi Iwai
2004-09-14  9:14       ` Giuliano Pochini
2004-09-14 10:34         ` Takashi Iwai
2004-09-14 17:40           ` Giuliano Pochini
2004-09-15  7:34     ` Jaroslav Kysela
2004-09-15 21:07       ` Giuliano Pochini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.