From a76494aa870c1716aa0fbed275123a16646c7a93 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 26 Apr 2004 11:46:42 +0000 Subject: configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL. 2004-04-26 Paolo Bonzini * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL. * configure: Regenerate. * config/acx.m4: Mutuate ACX_PROG_CMP_IGNORE_INITIAL from gcc. * gcc/Makefile.tpl (compare): Use the result of the test. * gcc/Makefile.in: Regenerate. From-SVN: r81183 --- Makefile.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.tpl') diff --git a/Makefile.tpl b/Makefile.tpl index d380616..2d767a7 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -1539,8 +1539,8 @@ compare: all-stage3-gcc files=`find . -name "*$(objext)" -print` ; \ cd .. ; \ for file in $${files} ; do \ - cmp --ignore-initial=16 $$r/stage2-gcc/$$file $$r/stage3-gcc/$$file \ - > /dev/null 2>&1; \ + f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \ + @do_compare@ > /dev/null 2>&1; \ test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \ done ; \ if [ -f .bad_compare ]; then \ -- cgit v1.1