-----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 [EMAIL PROTECTED] -----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-----