the prepare phase for gcc-apple-4.2.1_p5647 fails with an autoconf error: configure.ac:113: error: m4_copy: won't overwrite defined macro: _AC_ARG_VAR_PRECIOUS configure.ac:113: the top level autom4te-2.65: /Volumes/Scratch/Gentoo/usr/bin/m4 failed with exit status: 1 autoconf version 2.63 works fine.
something here hints to use _force variants: http://ubuntuforums.org/showthread.php?t=1311495
Confirmed - gcc-apple will prepare with autoconf-2.63-r01.1, but not with autoconf-2.64 or autoconf-2.65.
Created attachment 222835 [details, diff] Missing m4_undefine This is how it was fixed in libffi (also in 3.0.9 release). If this is wrong, please let me know... that would mean it's wrong also in libffi's release now. :-(
(In reply to comment #3) > Created an attachment (id=222835) [details] > Missing m4_undefine > > This is how it was fixed in libffi (also in 3.0.9 release). If this is wrong, > please let me know... that would mean it's wrong also in libffi's release > now. :-( http://osdir.com/ml/bug-gnu-utils-gnu/2009-10/msg01692.html that comment by Ralf Wildenhaus would suggest that the suggested patch would be indeed the correct approach
Thanks, I applied the patch to all 4.2.1-based gcc-apple's.