tail-dont-use-dash-one-20031114

FIXES 2453

new tail axes -1 support
This commit is contained in:
Derrick Brashear 2003-11-15 03:02:23 +00:00
parent 79b67c7461
commit 423c279a49

View File

@ -110,10 +110,10 @@ case $system in
fi fi
fi fi
if test -f "$LINUX_KERNEL_PATH/include/linux/version.h"; then if test -f "$LINUX_KERNEL_PATH/include/linux/version.h"; then
linux_kvers=`fgrep UTS_RELEASE $LINUX_KERNEL_PATH/include/linux/version.h |awk 'BEGIN { FS="\"" } { print $[]2 }'|tail -1` linux_kvers=`fgrep UTS_RELEASE $LINUX_KERNEL_PATH/include/linux/version.h |awk 'BEGIN { FS="\"" } { print $[]2 }'|tail -n 1`
if test "x$linux_kvers" = "x"; then if test "x$linux_kvers" = "x"; then
if test -f "$LINUX_KERNEL_PATH/include/linux/version-up.h"; then if test -f "$LINUX_KERNEL_PATH/include/linux/version-up.h"; then
linux_kvers=`fgrep UTS_RELEASE $LINUX_KERNEL_PATH/include/linux/version-up.h |awk 'BEGIN { FS="\"" } { print $[]2 }'|tail -1` linux_kvers=`fgrep UTS_RELEASE $LINUX_KERNEL_PATH/include/linux/version-up.h |awk 'BEGIN { FS="\"" } { print $[]2 }'|tail -n 1`
if test "x$linux_kvers" = "x"; then if test "x$linux_kvers" = "x"; then
AC_MSG_ERROR(Linux headers lack version definition [2]) AC_MSG_ERROR(Linux headers lack version definition [2])