From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: Fix --with-kernel for libnfnetlink Date: Thu, 20 Apr 2006 20:51:37 +0200 Message-ID: <4447D839.804@trash.net> References: <859616420604200825o71f81878lbbb45251f1e0330d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: netfilter-devel@lists.netfilter.org, Amin Azez , pablo@netfilter.org, David Vogt Return-path: To: Sven-Haegar Koch In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Sven-Haegar Koch wrote: >> + if test "$with_kernel" = ""; then >> + KERNEL="`uname -r`" >> + else >> + KERNEL="$with_kernel" >> + fi > > > Shouldn't --with-kernel let me specify a kernel source directory, > instead of a kernel version and then using some heuristicts to find the > source directory? (The heuristic for the default using > /lib/modules/`uname -r`/build is fine) I agree, if someone sends me a patch to change it I'll apply it.