--- configure.old 2006-10-17 10:49:47.000000000 +0200 +++ configure 2006-10-17 10:54:16.000000000 +0200 @@ -78,7 +78,7 @@ UTS_RELEASE="`awk '/UTS_RELEASE/ {print $3}' $kernel/include/linux/version.h | sed -e 's/\\"//g' | sed -n '$p'`" MAJOR=`echo $UTS_RELEASE | cut -nb 1,3 -` -if test `expr $MAJOR` -ge 24; then +if test `expr $MAJOR` >= 24; then echo "yes [$UTS_RELEASE]" else echo "no" @@ -86,10 +86,10 @@ echo "*** Linux kernel 2.4.0 or higher required" FAILS=`expr $FAILS + 1` fi - +echo "MAJOR = $MAJOR" echo -n "Using bttv sources in... " -if test `expr $MAJOR` -ge 26; then +if test `expr $MAJOR` >= 26; then bttvdir="bttv-2.6" else bttvdir="bttv-2.4" @@ -152,7 +152,7 @@ if [ -r $kernel/.depend ]; then echo "found" else - if test `expr $MAJOR` -ge 26; then + if test `expr $MAJOR` >= 26; then echo "not needed for 2.6.x kernels" else echo "not found"