This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Allow "make compare" to use "make gnucompare" automatically


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]