[Issue 248] incorrect build on Solaris 1 10

[email protected] 5 May 2005 17:27:30 -0000
Newsgroups gmane.comp.version-control.cvs.issuezilla
Message-ID <[email protected]>
https://ccvs.cvshome.org/issues/show_bug.cgi?id=248






------- Additional comments from [email protected] Thu May  5 10:27:30 -0700 2005 -------
Is there anything unique to Solaris we could use to detect that we had found the
Solaris getopt?  For instance, lack of getopt_long_only() is used to detect some
non-GNU getopts and the presence of the global optreset variable is used to
detect the broken BSD getopt.

This would be simpler than actually trying a test execution of getopt() with an
optoin string starting with "+".  Such test runs break when cross-compiling.