From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10321 invoked by alias); 8 Apr 2008 20:50:51 -0000 Received: (qmail 10291 invoked by uid 9702); 8 Apr 2008 20:50:51 -0000 Date: Tue, 08 Apr 2008 20:50:00 -0000 Message-ID: <20080408205051.10276.qmail@sourceware.org> From: fabbione@sourceware.org To: cluster-cvs@sources.redhat.com, cluster-devel@redhat.com Subject: Cluster Project branch, STABLE2, updated. cluster-2.02.00-38-g4a827a5 X-Git-Refname: refs/heads/STABLE2 X-Git-Reftype: branch X-Git-Oldrev: 0fe8d3648fd3e23828516c8f0346703b4d885739 X-Git-Newrev: 4a827a5defcc8c5a843b12442e1411beffe712f5 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2008-q2/txt/msg00035.txt.bz2 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project". http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=4a827a5defcc8c5a843b12442e1411beffe712f5 The branch, STABLE2 has been updated via 4a827a5defcc8c5a843b12442e1411beffe712f5 (commit) from 0fe8d3648fd3e23828516c8f0346703b4d885739 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 4a827a5defcc8c5a843b12442e1411beffe712f5 Author: Andrew Price Date: Tue Apr 8 22:48:05 2008 +0200 [[BUILD] Warn and continue if CONFIG_KERNELVERSION is not found Currently the configure script assumes that CONFIG_KERNELVERSION is defined in autoconf.h. This patch handles the case where it isn't defined there. Signed-off-by: Andrew Price Signed-off-by: Fabio M. Di Nitto ----------------------------------------------------------------------- Summary of changes: configure | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 44961b2..817ca4f 100755 --- a/configure +++ b/configure @@ -259,6 +259,11 @@ sub kernel_version { } } close AUTOCONF; + # Warn and continue if CONFIG_KERNELVERSION was not found + if (!$current_version) { + print " WARNING: Could not determine kernel version.\n"; + return 1; + } # leaving only the numbers from the lines # this is faster then split and doesn't alocate useless arrays $current_version =~ s/.*"(.*)"\n/$1/; hooks/post-receive -- Cluster Project