--- configure.ORG 2003-10-11 01:08:45.000000000 +0200 +++ configure 2003-10-11 01:09:42.000000000 +0200 @@ -194,7 +194,7 @@ echo -n "Checking for kernel gcc... " kgcc=`cat /proc/version | sed 's/\(.*\)gcc version \([0-9.]*\).*/\2/'` -bgcc=`gcc -v 2>&1|tail -1|sed 's/\(.*\) \([0-9.]*\).*/\2/'` +bgcc=`gcc -v 2>&1 | tail -n 1 | sed 's/\(.*\)gcc version \([0-9.]*\).*/\2/'` if test -z $bgcc; then bgcc=`gcc --version` fi