GNOME Bugzilla – Bug 725554
xdmcp: unbreak build on OpenBSD
Last modified: 2014-03-03 16:06:38 UTC
Created attachment 270760 [details] [review] check for ipv4->v6 definitions Hi. OpenBSD has no support for IPv4 to IPv6 mapping, so make check for the required definitions before using them. Thank you.
Review of attachment 270760 [details] [review]: This is probably okay and if you want to push it go ahead. I have an alternative idea that you could try if you want, that might leave the code a little easier to read: AC_DEFINE AI_V4MAPPED and AI_ALL to 0 if they are unavailable at configure time.
> This is probably okay and if you want to push it go ahead. > I have an alternative idea that you could try if you want, that might leave the > code a little easier to read: > > AC_DEFINE AI_V4MAPPED and AI_ALL to 0 if they are unavailable at configure > time. Thanks Ray. I committed it for the time being (it will help my jhbuild on OpenBSD WIP): 446d061 I have no clue how to check for existing pre-processor definitions with autoconf so I went the lazy way ;-)