Skip to contentSkip to conversation

configure doesn't accept --with-cards=powermac

DISCUSSION Giuliano Pochini 4 participants 9 messages Sep 12, 2004 – Sep 15, 2004

lore
Share & tools
lore
#0 lore raw

[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

#1 lore raw
Quoted 7 lines · Giuliano Pochini

[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 <[email protected]>
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

#2 lore raw
Quoted 8 lines · On Sun, 12 Sep 2004 13:30:17 +0200 (CEST) Jaroslav Kysela <[email protected]> wrote:
Quoted 5 lines

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

Quoted 1 line

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

#3 lore raw

At Mon, 13 Sep 2004 21:24:45 +0200,

Quoted 8 lines · Giuliano Pochini
Quoted 4 lines · On Sun, 12 Sep 2004 13:30:17 +0200 (CEST) Jaroslav Kysela <[email protected]> wrote:
Quoted 4 lines

[Giu@Jay alsa-driver-1.0.7rc1]$ ./configure --with-cards=powermac
[...]
checking for which soundcards to compile driver for... configure: error: Unsupported soundcard powermac

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

"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

#4 lore raw
Quoted 6 lines · Takashi Iwai
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

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

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

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

#5 lore raw

At Tue, 14 Sep 2004 11:14:47 +0200 (CEST),

Quoted 12 lines · Giuliano Pochini
Quoted 9 lines · Takashi Iwai
Quoted 9 lines
Quoted 8 lines
Quoted 5 lines

[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

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

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

Index: alsa-driver/configure.in
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-driver/configure.in,v retrieving revision 1.193

configure.in +8 -0
diff -u -r1.193 configure.in
@@ -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=""
#6 lore raw
Quoted 11 lines · On Tue, 14 Sep 2004 12:34:56 +0200 Takashi Iwai <[email protected]> wrote:
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

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

#7 lore raw
In reply to Giuliano Pochini
Quoted 7 lines · Giuliano Pochini
Quoted 4 lines · On Sun, 12 Sep 2004 13:30:17 +0200 (CEST) Jaroslav Kysela <[email protected]> wrote:
Quoted 4 lines

[Giu@Jay alsa-driver-1.0.7rc1]$ ./configure --with-cards=powermac
[...]
checking for which soundcards to compile driver for... configure: error: Unsupported soundcard powermac

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

"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

configure.in 15 Sep 2004 07:38:37 -0000 renamed from configure.in 8 Sep 2004 17:06:05 -0000 1.264 +4 -0
diff -u -r1.264 configure.in
@@ -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 <[email protected]>
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

#8 lore raw
Quoted 6 lines · On Wed, 15 Sep 2004 09:34:43 +0200 (CEST) Jaroslav Kysela <[email protected]> wrote:
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

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

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

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