]> git.openfabrics.org - ~shefty/ibacm.git/commit
Ibacm: Check the presence of header files for netlink support master
authorKaike Wan <kaike.wan@intel.com>
Mon, 4 Jan 2016 18:36:33 +0000 (13:36 -0500)
committerSean Hefty <sean.hefty@intel.com>
Fri, 22 Jan 2016 18:38:53 +0000 (10:38 -0800)
commit41c762997ac56f735d20d5f67b81006637596ad7
tree7b7d9dfba23fb655a2df89b6fdf04c4e94869572
parent76c7e5a385af8823898ef21cb4a8d953cf9d951c
Ibacm: Check the presence of header files for netlink support

It was found that the latest ibacm will not build in old distros that
don't have the two header files rdma/rdma_netlink.h and rdma/ib_user_sa.h.
To be backward compatible, the netlink support should be disabled if
the header files were absent. This patch will address the issue.

Reported-by: Hal Rosenstock <hal@mellanox.com>
Signed-off-by: Kaike Wan <kaike.wan@intel.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
configure.ac
src/acm.c