[Libguestfs] [PATCH 08/10] configure.ac: Check for <netinet/in.h> and <arpa/inet.h>
Jim Meyering
jim at meyering.net
Tue Sep 22 08:38:22 UTC 2009
Richard W.M. Jones wrote:
...
> -AC_CHECK_HEADERS([errno.h sys/types.h sys/un.h sys/wait.h sys/socket.h])
> +AC_CHECK_HEADERS([errno.h sys/types.h sys/un.h sys/wait.h sys/socket.h netinet/in.h arpa/inet.h])
>
> dnl Check for rpcgen and XDR library. rpcgen is optional.
> AC_CHECK_PROG([RPCGEN],[rpcgen],[rpcgen],[no])
you probably want to use gnulib's netinet_in module instead.
Then you can #include <netinet/in.h> unconditionally.
More information about the Libguestfs
mailing list