]> git.openfabrics.org - ~shefty/librdmacm.git/commit
librdmacm: Add a check for libpthread during librdmacm configure.
authorRoland Dreier <rolandd@cisco.com>
Wed, 15 Dec 2010 20:29:27 +0000 (12:29 -0800)
committerSean Hefty <sean.hefty@intel.com>
Wed, 15 Dec 2010 20:29:27 +0000 (12:29 -0800)
commit384bfc1fb1bcb292904376efc13a1db84971ee6c
tree41cd9874efef3ba00cf214d3e30d4c9410fe1eee
parent5dd3b9b9f6a9cfb4c26032b5d40195b0188f2c5b
librdmacm: Add a check for libpthread during librdmacm configure.

Add a check for libpthread during librdmacm configure.  This will add
libpthread to the list of libraries that librdmacm is linked to.
Currently librdmacm gets libpthread implicitly through libibverbs, but
this breaks when using a linker that does not implicitly link with such
dependencies; eg the new gold linker is such a linker:

<http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-
02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking>

Addresses: http://bugs.debian.org/555380
Addresses: https://bugs.launchpad.net/ubuntu/+source/librdmacm/+bug/687983

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
configure.in