bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updating FreeBSD port


From: Eric Blake
Subject: Re: Updating FreeBSD port
Date: Thu, 21 Sep 2006 13:14:45 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Mikhail Teterin on 9/21/2006 12:48 PM:
> середа 20 вересень 2006 21:24, Eric Blake написав:
>> Yes.  This program demonstrates why the m4 testsuite fails when compiled
>> with a BSD-flavored getopt_long:
> 
> You mean, `gmake check'? That did not fail here, when I built it with the 
> BSD's getopt_long...

Of course it didn't, because the m4 1.4.6 testsuite is not complete and
doesn't exercise this functionality.  I did, however, check into CVS head
a patch that would fail if you ran 'make check' with BSD semantics of
getopt_long.  Also, try using 'make', not 'gmake' - m4 is one of the GNU
projects that would like to be portable to more than just GNU make, and
any failures encountered with BSD make are worth trying to fix.

> 
> This program is calling getopt(), not the getopt_long(), that gm4 uses. Is 
> there a similar difference between GNU and BSD getopt_long() implementations?

It shouldn't be too hard to modify the example to find out for sure...

- --
Life is short - so eat dessert first!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFEuSk84KuGfSFAYARAv7WAKCUotvM/gYMSU93333+/ufc94thegCfaLzt
0PTELUH36v44s7TqX+HnKAY=
=p1i5
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]