From: John Millaway Date: Tue, 14 Feb 2006 05:22:25 +0000 (+0000) Subject: Minor patch to call to head in configure script. X-Git-Tag: flex-2-5-33~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4eab7877db57873e1ec24e7dd215c051cb64920;p=flex Minor patch to call to head in configure script. --- diff --git a/configure.in b/configure.in index 819de5f..a6bbd93 100644 --- a/configure.in +++ b/configure.in @@ -63,7 +63,7 @@ AC_PATH_PROG(INDENT, indent, indent) dnl if INDENT is set to 'indent' then we didn't find indent if test "$INDENT" != indent ; then AC_MSG_CHECKING(if $INDENT is GNU indent) - if $INDENT --version 2>/dev/null | head -1|grep "GNU indent" > /dev/null ; then + if $INDENT --version 2>/dev/null | head -n 1|grep "GNU indent" > /dev/null ; then AC_MSG_RESULT(yes) else AC_MSG_RESULT(no)