Simon Cozens (via RT) schrieb:
# New Ticket Created by Simon Cozens # Please include the string: [perl #49780] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=49780 >


There's some code in config to detect 'm4 --version' "hanging" on FreeBSD. It doesn't hang, it just silently ignores the option and starts preprocessing the input from stdin.

This is true for all BSD-derived m4s - I'm actually running on *cough* Minix, and the same behaviour is true there.

I think this patch will DTRT, but I'm not applying it because I'd like someone else who's done configure stuff to have a look at it first:
Looks good to me.
Under Linux it seems to still do the right thing.
BTW you can also get rid of:

-    my $archname = $conf->data->get_p5('archname');
-    my ( $cpuarch, $osname ) = split m/-/, $archname, 2;
-    if ( !defined $osname ) {
-        ( $osname, $cpuarch ) = ( $cpuarch, "" );
-    }

Regards,
 Bernhard

Reply via email to