From: Ma Jiang Date: Thu, 1 Dec 2016 23:02:51 +0000 (+0000) Subject: acx.m4: Change "tail +16c" to "tail -c +17". X-Git-Tag: releases/gcc-7.1.0~2661 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b55e6680dec27409fe0e6dc800500564f1a06b53;p=thirdparty%2Fgcc.git acx.m4: Change "tail +16c" to "tail -c +17". * config/acx.m4: Change "tail +16c" to "tail -c +17". * configure: Regenerated. From-SVN: r243142 --- diff --git a/ChangeLog b/ChangeLog index a3320f1c7f0e..bd2ad55f66d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-12-01 Ma Jiang + + * config/acx.m4: Change "tail +16c" to "tail -c +17". + * configure: Regenerated. + 2016-12-01 Matthias Klose * configure.ac: Don't use pkg-config to check for bdw-gc. diff --git a/config/acx.m4 b/config/acx.m4 index 9ff31eb85f3d..ab42972f4a0f 100644 --- a/config/acx.m4 +++ b/config/acx.m4 @@ -404,7 +404,7 @@ AC_DEFUN([ACX_PROG_CMP_IGNORE_INITIAL], [AC_CACHE_CHECK([how to compare bootstrapped objects], gcc_cv_prog_cmp_skip, [ echo abfoo >t1 echo cdfoo >t2 - gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2' + gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2' if cmp t1 t2 2 2 > /dev/null 2>&1; then if cmp t1 t2 1 1 > /dev/null 2>&1; then : diff --git a/configure b/configure index fb79e7381cd9..b6389e4718d7 100755 --- a/configure +++ b/configure @@ -5273,7 +5273,7 @@ if test "${gcc_cv_prog_cmp_skip+set}" = set; then : else echo abfoo >t1 echo cdfoo >t2 - gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2' + gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2' if cmp t1 t2 2 2 > /dev/null 2>&1; then if cmp t1 t2 1 1 > /dev/null 2>&1; then :