[Nice] libnice on system without ifaddrs.h ?

Youness Alaoui youness.alaoui at collabora.co.uk
Mon Dec 12 15:53:43 PST 2011

On 12/12/2011 06:35 PM, Piotr Gluszenia Slawinski wrote:
> Hello. configure seems to fail on all tests related with iffaddrs.h,
> according to config.log , just not finding any headers.
> still HAVE_GETIFADDRS is set in config.status and config.h :/
> after disabling it manually it does compile :)
> i have no idea where configure makes mistake :/
Ok, I see where I made the error, it was checking for ifaddrs.h and net/in.h and
arpa/inet.h and I thought AC_CHECK_HEADERS would only set the HAVE_GETIFADDRS if
all 3 headers were found. It seems only one of them needs to be found for it to
set the define.
I've just tried it by removing the /usr/include/ifaddrs.h file, and testing
configure and you're right, I was now able to test and make sure it works properly.
So here's the patch that should fix it :
Just apply it and run ./autogen.sh then it should fix your problem.

Thank you for reporting this issue. The fix will be available in the next release.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/nice/attachments/20111212/325f8996/attachment-0001.pgp>

More information about the nice mailing list