From: Takashi Iwai <tiwai@suse.de>
To: Giuliano Pochini <pochini@denise.shiny.it>
Cc: Jaroslav Kysela <perex@suse.cz>, alsa-devel@lists.sourceforge.net
Subject: Re: configure doesn't accept --with-cards=powermac
Date: Tue, 14 Sep 2004 12:34:56 +0200 [thread overview]
Message-ID: <s5hpt4prve7.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.58.0409141112410.17743@denise.shiny.it>
[-- 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=""
next prev parent reply other threads:[~2004-09-14 10:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2004-09-14 17:40 ` Giuliano Pochini
2004-09-15 7:34 ` Jaroslav Kysela
2004-09-15 21:07 ` Giuliano Pochini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hpt4prve7.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=perex@suse.cz \
--cc=pochini@denise.shiny.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.