aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2004-04-26 11:46:42 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2004-04-26 11:46:42 +0000
commita76494aa870c1716aa0fbed275123a16646c7a93 (patch)
treea79ba615cea18ead926b64a359c911e21b8433e2 /Makefile.tpl
parent51143a4312720b0eee2e27c0ff50b654849228b8 (diff)
downloadgcc-a76494aa870c1716aa0fbed275123a16646c7a93.zip
gcc-a76494aa870c1716aa0fbed275123a16646c7a93.tar.gz
gcc-a76494aa870c1716aa0fbed275123a16646c7a93.tar.bz2
configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
2004-04-26 Paolo Bonzini <bonzini@gnu.org> * 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
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl4
1 files changed, 2 insertions, 2 deletions
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 \