[Xapian-tickets] [Xapian] #412: Better socketpair checking for Solaris systems
Xapian
nobody at xapian.org
Wed Nov 11 12:42:49 GMT 2009
#412: Better socketpair checking for Solaris systems
--------------------+-------------------------------------------------------
Reporter: xaka | Owner: olly
Type: defect | Status: assigned
Priority: normal | Milestone: 1.0.17
Component: Omega | Version: 1.0.16
Severity: normal | Keywords:
Blockedby: | Platform: Solaris
Blocking: |
--------------------+-------------------------------------------------------
Changes (by olly):
* milestone: 1.1.3 => 1.0.17
Comment:
The checks on $host_os in aclocal.m4 are from libtool, which sadly is
closely coupled to details of different OSes and compilers (probably by
necessity, or at least practicality), and because of that sometimes needs
updating for new major OS and compiler releases.
The ideal for configure tests is not to key off the OS or version numbers
but to test features instead. Other platforms besides Solaris may also
need -lxnet, and it's possible some versions of Solaris may not
(particular future versions) so it's more robust to just check if
socketpair() is found with no extra libraries and if not to retry with
-lxnet, regardless of the current value of $host_os.
Richard's suggestion looks good, so I've gone with that, and committed to
trunk as r13580. I tested 13582 configures and builds on Solaris with
socketpair enabled.
Marking for backporting for 1.0.17.
--
Ticket URL: <http://trac.xapian.org/ticket/412#comment:4>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list