getopt_long not found, even though it is present
pfeifer at dbai.tuwien.ac.at
Tue Apr 22 08:21:26 CDT 2003
On Thu, 17 Apr 2003, Gerald Pfeifer wrote:
> Assume we are on a system which does have /usr/local/include/getopt.h,
> and support for getopt_long, but where getopt_long is _not_ in libc.
> Our configure then diagnoses
> #define HAVE_GETOPT_H 1
> /* #undef HAVE_GETOPT_LONG */
> which leads a compilation error for tools/wrc/wrc.c which includes
> "wine/port.h" and <getopt.h>, for _both_ define struct option.
I noticed the following fix by Alexandre, which is much nicer than the
original hack of mine:
date: 2003/04/20 02:56:14; author: julliard; state: Exp; lines: +3 -0
Check for struct option independently of the getopt_long check.
Gerald "Jerry" pfeifer at dbai.tuwien.ac.at http://www.pfeifer.com/gerald/
More information about the wine-devel