Skip to contentSkip to conversation

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

Cluster-devel [email protected] 1 participant 1 message Apr 8, 2008

lore
Share & tools
lore
#0 lore raw

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 <[email protected]>
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.

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

Summary of changes:

 configure |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
configure +5 -0
index 44961b2..817ca4f 100755
@@ -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