This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix [perl #116523] Configure is confused by '=' in output from uname -a
authorAndy Dougherty <doughera@lafayete.edu>
Tue, 19 Feb 2013 14:23:11 +0000 (09:23 -0500)
committerAndy Dougherty <doughera@lafayete.edu>
Tue, 19 Feb 2013 14:23:11 +0000 (09:23 -0500)
commit08c552f3a1c2f0c124396e75a936d3a26682e6ec
treec244c4fb7f19a94d0396c986e2b04e089a971e5d
parenta4afc8002f3e33253022dfbbc51b2fee8a0f9aad
Fix [perl #116523] Configure is confused by '=' in output from uname -a

Previously, Configure used to try to post-process the output of uname -a.
This was to support Xenix, which gave output like this:

     sysname=XENIX
     nodename=whatever
     release=2.3.2 .. etc...

Configure attempted to parse that output and build up a $myuname variable
that resembled those generated on traditional Unix systems.

More recently, a user reported uname -a output on a CVS checkout of
NetBSD that also included information such as

    root=username@hostname:/dirname module=src branch=HEAD

The Configure code misparsed that and ended up throwing most of it away.

This patch takes the simplest approach and just skips the attempt to
process the Xenix output.
U/modified/Oldconfig.U