From alsa-devel-owner@alsa.jcu.cz  Fri Oct 30 18:57:55 1998
Received: from umr.edu (hermes.cc.umr.edu [131.151.1.68])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id SAA10744
	for <alsa-devel@jcu.cz>; Fri, 30 Oct 1998 18:56:05 +0100
Received: from AeroSpace.fries.net (dfries.student.umr.edu [131.151.188.49]) via ESMTP by hermes.cc.umr.edu (8.8.7/R.4.20) id LAA24689; Fri, 30 Oct 1998 11:56:03 -0600 (CST)
Received: (from david@localhost)
	by AeroSpace.fries.net (8.9.1a/8.9.1/Debian/GNU) id LAA07557
	for alsa-devel@jcu.cz; Fri, 30 Oct 1998 11:56:02 -0600
Message-ID: <19981030115602.A4264@AeroSpace.miango.com>
Date: Fri, 30 Oct 1998 11:56:02 -0600
From: David Fries <dfries@umr.edu>
To: alsa-devel@jcu.cz
Subject: Re: configure install directory
References: <19981029094340.B3720@AeroSpace.miango.com> <Pine.LNX.3.96.981029205059.29903H-100000@entry.jcu.cz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
In-Reply-To: <Pine.LNX.3.96.981029205059.29903H-100000@entry.jcu.cz>; from Jaroslav Kysela on Thu, Oct 29, 1998 at 08:58:21PM +0100
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

On Thu, Oct 29, 1998 at 08:58:21PM +0100, Jaroslav Kysela wrote:
> It looks good, but in the [] are default values, not help for user.
> There was a little problem that in "run" time isn't $kaversion set, thus
> I replaced kernel version with <KVER> string which should instruct user
> that default path will be constructed with current kernel version.
> I didn't assume that someone need replace KVER with current version of
> symbol, you can simply use:
> 
> ./configure --with-moddir=/lib/modules/mymodules/$(uname -r)/alsa
> 
> without any change of current configure script... If you have some
> suggestion to replace <KVER> with some more intuitive string - I will
> include change of this string in configure.in rather.
> 
> 							Jaroslav

That wouldn't be too bad except I usually compile the kernel and alsa
before I boot into that kernel.

how about,
  moddir=`echo $withval | sed s/detectedkernelversion/$kaversion/`

I'm working on automating my upgrade process because I have three computers
running different configurations.  Theoretically everything is setup right
now so I patch the kernel, go to a directory I created type, `./cc
aerospace spacedout slowpoke` which is a script and it builds kernels,
modules, and sets up everything for the new kernel except when it runs make
oldconfig I have to respond to that.  It even is re-compiling alsa for the
new kernel.  So all I have to do is patch the kernel, run the script, and
reboot.

-- 
		+---------------------------------+
		|      David Fries                |
		|      dfries@umr.edu             |
		+---------------------------------+

