This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [patch] Fix configure glitch on Solaris
- From: Andrew Haley <aph at redhat dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: Mon, 07 Dec 2009 09:25:43 +0000
- Subject: Re: [patch] Fix configure glitch on Solaris
- References: <200912061648.16539.ebotcazou@adacore.com>
Eric Botcazou wrote:
> Hi,
>
> natVMNetworkInterfacePosix.cc fails to compile under Solaris because 'struct
> ifconf' is not defined because net/if.h is not included, the root problem
> being that net/if.h requires sys/socket.h and the configure machinery doesn't
> provide it.
>
> Hence the attached patch, tested on SPARC/Solaris 9 and AMD64/Linux. OK for
> mainline?
>
>
> 2009-12-06 Eric Botcazou <ebotcazou@adacore.com>
>
> * configure.ac (net/if.h check): Include sys/socket.h if present.
> * configure: Regenerate.
Sure.
Thanks,
Andrew.