]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
acx.m4: Change "tail +16c" to "tail -c +17".
authorMa Jiang <ma.jiang@zte.com.cn>
Thu, 1 Dec 2016 23:02:51 +0000 (23:02 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 1 Dec 2016 23:02:51 +0000 (16:02 -0700)
* config/acx.m4: Change "tail +16c" to "tail -c +17".
* configure: Regenerated.

From-SVN: r243142

ChangeLog
config/acx.m4
configure

index a3320f1c7f0ef2cfabd284a343682ee785c70c66..bd2ad55f66d0ded102b5b9797a8a22b4c662e826 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-12-01  Ma Jiang  <ma.jiang@zte.com.cn>
+
+       * config/acx.m4: Change "tail +16c" to "tail -c +17".
+       * configure: Regenerated.
+
 2016-12-01  Matthias Klose  <doko@ubuntu.com>
 
        * configure.ac: Don't use pkg-config to check for bdw-gc.
index 9ff31eb85f3d4375a784d266953cfeaf8808f413..ab42972f4a0ff09f0e8344e356f2e0bb43e7a4ac 100644 (file)
@@ -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
       :
index fb79e7381cd9ba393c3d6283769a0efac489d674..b6389e4718d7c763d481445576a27a07f2d8b8ad 100755 (executable)
--- 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
       :