Hello, OKUJI!
> > You may want to wait until I write optional getopt.c inclusion (will be
> > ready in 24 hours), otherwise we can be overflooded with reports from *BSD
> > folks.
>
> That's quite easy, but there are other problems in *BSD. I will fix
> the problems after 0.5.93.
Indeed, there are more serious problems than getopt, but nevertheless:
* configure.in: Add checks for getopt_long(), string.h
and strings.h
* grub/Makefile.am: Use getopt.c, getopt1.c and getopt.h
if getopt_long() is not found
* grub/getopt.c, grub/getopt1.c, grub/getopt.h: New files
* grub/asmstub.c (grub_stage2): Fix warning detected
by gcc-2.95 (constraint `=' not at the beginning)
Pavel Roskin
getopt.diff.gz