[Xapian-tickets] [Xapian] #412: Better socketpair checking for Solaris systems

Xapian nobody at xapian.org
Mon Nov 2 17:11:19 GMT 2009


#412: Better socketpair checking for Solaris systems
--------------------+-------------------------------------------------------
 Reporter:  xaka    |       Owner:  olly   
     Type:  defect  |      Status:  new    
 Priority:  normal  |   Milestone:  1.0.17 
Component:  Omega   |     Version:  1.0.16 
 Severity:  normal  |    Keywords:         
Blockedby:          |    Platform:  Solaris
 Blocking:          |  
--------------------+-------------------------------------------------------

Comment(by richard):

 Thanks for the patch.

 I wonder if using:

 {{{
 AC_SEARCH_LIBS([socketpair], [xnet], [AC_DEFINE(HAVE_SOCKETPAIR, 1,
 [Define to 1 if you have the 'socketpair' function])])
 }}}

 instead of your case clause would work? (possibly after fixing some
 obvious errors - I've not tested this at all).  If so, it would be nicer
 than hardcoding some behaviour for solaris.  It's plausible that other
 environments will have another library that we need to look for socketpair
 in.

 Olly's better at this sort of stuff than me, so I'll wait for him to wake
 up and comment on this.

-- 
Ticket URL: <http://trac.xapian.org/ticket/412#comment:1>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list