On 5 March 2016 at 17:38, Jack Howarth <[email protected]> wrote: > When building texinfo 6.1 on x86_64-apple-darwin15, the following > correction is required... > > --- tp/Texinfo/Convert/XSParagraph/configure.ac.orig 2016-03-05 > 12:31:24.000000000 -0500 > +++ tp/Texinfo/Convert/XSParagraph/configure.ac 2016-03-05 > 12:31:46.000000000 -0500 > @@ -42,7 +42,7 @@ > fetch_conf $1 > > # Remove any flags that aren't -I or -D > - conf_value=`echo $conf_value | sed -e 's/-@<:@^ID@:>@@<:@^ > @:>@*//g'` > + conf_value=`echo $conf_value | sed -e 's/-@<:@^aID@:>@@<:@^ > @:>@*//g'` > AC_MSG_RESULT([$conf_value]) > > AC_SUBST([PERL_CONF_$1], [$conf_value]) > > to prevent the instances of '-arch i386 -arch x86_64' in the perl > compiler flags from being turned into 'i386 x86_64' and breaking the > compilation of XSParagraph.
I can't remember why we wanted to remove these flags in the first place: I think it was so they would be compiler-independent, but we also look up which compiler to use, so that shouldn't be a problem. Does completely removing the line starting "conf_value=`echo ..." work? If we do need to remove some flags, we could remove an argument after each flag if it is present.
