mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-21 08:29:53 +02:00
b80f2368ad
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10698 3c298f89-4303-0410-b956-a3cf2f4a3e73
15 lines
1.1 KiB
Diff
15 lines
1.1 KiB
Diff
diff -Nru fuse-2.7.3.orig/kernel/configure fuse-2.7.3/kernel/configure
|
|
--- fuse-2.7.3.orig/kernel/configure 2008-02-19 15:00:19.000000000 -0500
|
|
+++ fuse-2.7.3/kernel/configure 2008-03-17 14:10:14.000000000 -0400
|
|
@@ -1851,7 +1851,9 @@
|
|
|
|
{ echo "$as_me:$LINENO: checking kernel source version" >&5
|
|
echo $ECHO_N "checking kernel source version... $ECHO_C" >&6; }
|
|
- if test -r $kernelbuild/include/linux/version.h && fgrep -q UTS_RELEASE $kernelbuild/include/linux/version.h; then
|
|
+ if [ -n "$kernsrcver" ]; then
|
|
+ echo "$kernsrcver (cached)"
|
|
+ elif test -r $kernelbuild/include/linux/version.h && fgrep -q UTS_RELEASE $kernelbuild/include/linux/version.h; then
|
|
kernsrcver=`(echo "#include <linux/version.h>"; echo "kernsrcver=UTS_RELEASE") | cpp -I $kernelbuild/include | grep "^kernsrcver=" | cut -d \" -f 2`
|
|
elif test -r $kernelbuild/include/linux/utsrelease.h && fgrep -q UTS_RELEASE $kernelbuild/include/linux/utsrelease.h; then
|
|
kernsrcver=`(echo "#include <linux/utsrelease.h>"; echo "kernsrcver=UTS_RELEASE") | cpp -I $kernelbuild/include | grep "^kernsrcver=" | cut -d \" -f 2`
|