-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Eric Blake on 9/24/2009 11:19 AM: > The solution? ./optarg.h MUST do a split inclusion guard use of include_next > <optarg.h>, if the system has a native <optarg.h>, then not bother to include > <unistd.h> in that case. I could played with a change to unistd.in.h to > check > for __UNISTD_GETOPT__, similar to how stdio.in.h checks for __need_FILE, but > since the getopt.in.h change in isolation was enough, I didn't do it for now.
> diff --git a/m4/getopt.m4 b/m4/getopt.m4 > index 7443dfe..53a1a7e 100644 > --- a/m4/getopt.m4 > +++ b/m4/getopt.m4 > @@ -54,6 +54,15 @@ AC_DEFUN([gl_GETOPT_CHECK_HEADERS], I forgot to bump the serial number of getopt.m4; now complete. - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkrEng8ACgkQ84KuGfSFAYD7zwCePYUjJsaRF6HO9kdwp0T75Aj7 xCEAoIqu2i/3EStwi9iIbCVDoNpNSygh =9gjz -----END PGP SIGNATURE-----