On 09/22/2010 07:16 PM, Blue Swirl wrote:
gnulib's submodule is never built directly. It only lives in the build tree
so that it can be consulted by gnulib-tool, but it doesn't even make it to
the release tarballs. Instead, gnulib-tool should be invoked after checking
out superproject.git, and copies selected gnulib files into superproject's
checkout (these files are .gitignore'd).
gnulib-tool wants to patch configure.ac. After adding an empty one and
running "gnulib-tool --import getaddrinfo inet_ntop", it still remains
empty. Not very clever. There are a lot of .c files, some .h files and
also a lot of .m4 files.
I agree that your posted patch is the best way---also considering that
the path to autotools (autoconf, at least) is laden with deprecation
periods and flamewars.
Paolo