[Open-FCoE] [RFC PATCH 3/5] fcoe-utils: autotools build system

Chris Leech christopher.leech at intel.com
Thu Feb 26 00:30:29 UTC 2009


On Wed, 2009-02-25 at 16:26 -0800, Leech, Christopher wrote:
> +exec autoreconf --install -s
> diff --git a/configure.ac b/configure.ac
> new file mode 100644
> index 0000000..0c8e790
> --- /dev/null
> +++ b/configure.ac
> @@ -0,0 +1,16 @@
> +AC_INIT([fcoe-utils], [1.0.6], [devel at open-fcoe.org])
> +AM_INIT_AUTOMAKE([-Wall -Werror foreign])
> +
> +AC_PROG_CC
> +AM_PROG_CC_C_O
> +
> +PKG_CHECK_MODULES(HBAAPI, HBAAPI)
> +AC_SUBST(HBAAPI_CFLAGS)
> +AC_SUBST(HBAAPI_LIBS)
> +
> +PKG_CHECK_MODULES(DCBD, dcbd)
> +AC_SUBST(DCBD_CFLAGS)

This will obviously require dcbd to install a pkgconfig file along with
the exported header files for the client interface.  I'm working with
the dcbd maintainer to make that happen and get a new release up on
sourceforge.

> +AC_CONFIG_FILES([Makefile])
> +AC_OUTPUT
> +
> diff --git a/fcoemon.c b/fcoemon.c
> index 376405e..c10bd9d 100644





More information about the devel mailing list