diff options
Diffstat (limited to '')
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index 8d47e6127..72a235234 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,7 +1,7 @@ #! /bin/sh # Check Autoconf version if [ -x `which autoconf` ]; then - AC_VER=`autoconf --version | head -1 | sed 's/^[^0-9]*//'` + AC_VER=`autoconf --version | head -n 1 | sed 's/^[^0-9]*//'` AC_VER_MAJOR=`echo $AC_VER | cut -f1 -d'.'` AC_VER_MINOR=`echo $AC_VER | cut -f2 -d'.' | sed 's/[^0-9]*$//'` |