From alsa-devel-owner@alsa.jcu.cz  Tue Feb 16 20:44:27 1999
Received: from vipunen.hut.fi (vipunen-a.hut.fi [130.233.249.7])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id UAA18259
	for <alsa-devel@alsa.jcu.cz>; Tue, 16 Feb 1999 20:43:10 +0100
Received: from alpha.hut.fi (iheino@alpha.hut.fi [130.233.224.50])
	by vipunen.hut.fi (8.9.2/8.9.1) with SMTP id VAA246958;
	Tue, 16 Feb 1999 21:43:01 +0200
Date: Tue, 16 Feb 1999 21:43:00 +0200 (EET)
From: Tuomas Heino <iheino@cc.hut.fi>
To: Franklin Belew <frb@umr.edu>
cc: alsa-devel@alsa.jcu.cz
Subject: Re: alsa-util: configure version check incorrect? (aclocal?)
In-Reply-To: <19990216112459.A622@asylum.umr.edu>
Message-ID: <Pine.OSF.3.96.990216213717.25287B-100000@alpha.hut.fi>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

On Tue, 16 Feb 1999, Franklin Belew wrote:

> On Tue, Feb 16, 1999 at 07:02:40PM +0200, Tuomas Heino wrote:
> > On Mon, 15 Feb 1999, Jaroslav Kysela wrote:
> > 
> > > On Mon, 15 Feb 1999, Tuomas Heino wrote:
> > > 
> > > > On Mon, 15 Feb 1999, Jaroslav Kysela wrote:
> > > >
> > > > > You have probably old m4 macro file in /usr/share/aclocal directory.
> > > > > Remove file /usr/share/aclocal/alsa-lib.m4.
> > > > > 
> > > > Hmm... is this documented somewhere? the next error: (result of aclocal after rm alsa-lib.m4)
> > > > aclocal: configure.in: 13: macro `AM_PATH_ALSA' not found in library
> > > 
> > > There should be alsa.m4 file in /usr/share/aclocal directory (the alsa-lib
> > > package should install this file to this location).
> > > 
> > Thanks... "aclocal -I /usr/local/share/aclocal" did it for me ;)
> > [hmm should alsa-lib's configure --prefix=/usr/local do something to this situation?]
> configure can't do anything about this, since it isn't created until after aclocal and autoconf are run.
[snip]
I guess you didn't read it carefully enough to realize we're talking about
multiple "packages" and dependancies between them...
installation of alsa-lib generates alsa.m4 in $(prefix)/share/aclocal/
alsa-utils' aclocal depends on the location of the file...
so I guess we need a script (cvscompile or ../build ?) to handle the
parameters... (yes some people want to use --prefix and --with-cards;)


