This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Allow "make compare" to use "make gnucompare" automatically
- From: Phil Edwards <phil at jaj dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 27 Apr 2003 23:26:56 -0400
- Subject: Re: [PATCH] Allow "make compare" to use "make gnucompare" automatically
- References: <35CA560E-78B5-11D7-BA53-000393A6D2F2@physics.uc.edu>
On Sun, Apr 27, 2003 at 09:36:11AM -0400, Andrew Pinski wrote:
> I have a small problem, with your patch, it does not match the version I
> have on my machine (running powerpc-apple-darwin6.5, Mac OS X 10.2.5
> with
> the December Developer tools), 2.7.
>
> Here is the output of cmp --version:
> cmp - GNU diffutils version 2.7
Hm. That seems easy enough to fix. Could you try applying this patch,
regenerating gcc/configure, and seeing whether it helps?
Index: configure.in
===================================================================
RCS file: /home/pme/Repositories/GCC/gcc/gcc/configure.in,v
retrieving revision 1.663
diff -u -3 -r1.663 configure.in
--- configure.in 25 Apr 2003 21:15:00 -0000 1.663
+++ configure.in 28 Apr 2003 03:24:16 -0000
@@ -648,7 +648,7 @@
# If GNU cmp is present and recent enough, 'make compare' can be
# significantly faster.
gcc_AC_CHECK_PROG_VER(gnucmp, cmp, --version,
- [(GNU diffutils) \([0-9][0-9.]*\)], [2.[4-9]*])
+ [GNU diffutils.*\([0-9][0-9.]*\)], [2.[4-9]*])
if test $gcc_cv_prog_cmp_modern = yes; then
make_compare_target=gnucompare
else