[ofa-general] [PATCH] add pkgconfig support to ibverbs library

Jason Gunthorpe jgunthorpe at obsidianresearch.com
Mon Jul 20 11:43:51 PDT 2009


On Mon, Jul 20, 2009 at 11:17:29AM -0700, Steven Dake wrote:
> The attached patch adds support for pkgconfig to the ibverbs library.
> 
> Cloned from Roland's kernel.org git tree.

Erm, am I missing something? Shouldn't your patches include some use
of the .pc files for libraries downstream of libibverbs, like
librdmacm?

I often install all this stuff in a prefix and it sure would be nice
if the compilations didn't need as much hand holding beyond --prefix
to get it all setup.

> diff --git a/configure.in b/configure.in
> index 374aae7..c54ca4b 100644
> +++ b/configure.in
> @@ -6,6 +6,7 @@ AC_CONFIG_SRCDIR([src/ibverbs.h])
>  AC_CONFIG_AUX_DIR(config)
>  AM_CONFIG_HEADER(config.h)
>  AM_INIT_AUTOMAKE(libibverbs, 1.1.2)
> +AC_CHECK_PROGS([PKGCONFIG], [pkg-config])

Is that necessary, pkg-config is never called?

Jason



More information about the general mailing list