On 04/26/2010 07:16 AM, Steve Goetze wrote: > The following line in m4-1.4.14/build-aux/git-version-gen causes a build > failure on z/OS (EBCDIC codeset): > > # Omit the trailing newline, so that m4_esyscmd can use the result directly. > echo "$v" | tr -d '\012' > > Octal 12 does not represent new line in EBCDIC. Is there a reason that this > can't be: > > # Omit the trailing newline, so that m4_esyscmd can use the result directly. > echo "$v" | tr -d '\n' Superficially, because /bin/tr on Solaris does not understand '\n'. But that's not a fatal limitation, as Solaris does ship with other tr that do understand it. It's just more work to make sure you are using a working tr. -- Eric Blake eblake@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf