Hello Eric, On 08/20/14 18:10, Eric Blake wrote: >> - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` + eval >> `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^LIBC/{s/LIBC *= >> *\(.*\)$/LIBC='"'"'\1'"'"'/;p;}'` > > Thanks for the patch. We like to keep to 80-column lines where possible; > also, that sed expression is rather verbose, when compared to the > equivalent: > > eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null \ | sed -n 's/^LIBC *= > */LIBC=/p'` > > I'll apply the shortened version in your name, if you agree that it still > works. I'm okay with that. I verified that your shorter version still works as intended. Regards, Thomas -- Thomas Jahns DKRZ GmbH, Department: Application software Deutsches Klimarechenzentrum Bundesstraße 45a D-20146 Hamburg Phone: +49-40-460094-151 Fax: +49-40-460094-270 Email: Thomas Jahns <jahns@xxxxxxx>
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf