[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] Cluster Project branch, STABLE2, updated. cluster-2.02.00-38-g4a827a5



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 <andy andrewprice me uk>
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 <andy andrewprice me uk>
    Signed-off-by: Fabio M. Di Nitto <fabbione fabbione net>

-----------------------------------------------------------------------

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]