On 06/04/2010 08:05 AM, Richard W.M. Jones wrote: > > On Fri, Jun 04, 2010 at 03:16:38PM +0200, Bruno Haible wrote: >> The first one is fine. The second one should not be there. > > Yes, I see now that gnulib/lib/getopt.h is present on the machine > which fails and absent on the other one. > >> Conclusion: You had a getopt.h that was necessary for one platform, and you >> transported it to another platform where it is not needed. > > Obviously I wouldn't have done that, but I'll see if make distclean > will fix it.
Meanwhile, gnulib could help the situation, by splitting a portion of the current getopt{,-gnu} module out into a new header getopt-h that guarantees a valid getopt.h wrapper even for glibc, allowing us to implement GNULIB_POSIXCHECK semantics. It's not my highest priority, but I might be able to help with that task. -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature