aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-05-07 07:52:19 +0000
committerKalle Wallin <kaw@linux.se>2004-05-07 07:52:19 +0000
commit677eb1ad30321d83f6196672ea1798c0e1712870 (patch)
treee59bd568fd197b46da0779b1c43642c6bf6ae0e6 /autogen.sh
parentab032e2b5a5499f783c034eeb64a1dd3f3387a1c (diff)
downloadmpd-677eb1ad30321d83f6196672ea1798c0e1712870.tar.gz
mpd-677eb1ad30321d83f6196672ea1798c0e1712870.tar.xz
mpd-677eb1ad30321d83f6196672ea1798c0e1712870.zip
Redesigned ncmpc's color support
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@937 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
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]*$//'`