use head -n syntax

Original commit message from CVS:
use head -n syntax
parent 4eb02711
2004-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
patch by: Stephane Loeuillet
* m4/ax_create_stdint_h.m4:
use head -n instead of head - (#136500)
2004-03-05 Thomas Vander Stichele <thomas at apestaart dot org>
* m4/gst-doc.m4: don't build PS without dvips binary
......
......@@ -178,7 +178,7 @@ AC_CHECK_TYPE(intmax_t,,,[#include <$ac_cv_header_stdint>])
fi # shortcircut to system "stdint.h"
# ------------------ PREPARE VARIABLES ------------------------------
if test "$GCC" = "yes" ; then
ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
ac_cv_stdint_message="using gnu compiler "`$CC --version | head -n 1`
else
ac_cv_stdint_message="using $CC"
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment