On 04/07/2011 04:02 AM, Bruno Haible wrote: > Hi Paul, > >> the gnulib code added quite a bit of of unnecessary work >> to configure and build vasnprintf.o, printf-parse.o, printf-args.o, >> and asnprintf.o. None of these object files were needed: they were put >> into libgnu.a but were not used by anybody. > > Additionally, when a shared library is built from libgnu.a, vasnprintf.o > gets included and installed in public locations although it's not needed. > >> If an application uses vsnprintf, but does not use vasnprintf >> directly, then there's no need to configure and build those .o files >> on hosts that have a working vsnprintf. I'd like to fix gnulib to >> avoid this work. > > Yes, this is a long-standing deficiency of gnulib.
Another case I just hit: pipe2 requires the nonblocking module for proper testing. But the nonblocking module currently drags in socket dependencies that must be reflected in pipe2-tests LDADD, even if sockets are not otherwise in use (pipe2 certainly isn't using sockets, it's just that nonblocking is useful for more than pipe2 and drags in extras). It would be nice to cut that dependency, but I'm not sure how. -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature