From 6f8336a8bc137ef544ecc1a8fe012f94e173bde1 Mon Sep 17 00:00:00 2001 From: Krisztian Litkey Date: Thu, 18 Apr 2013 17:26:36 +0300 Subject: [PATCH] build-sys: added igb pkg-config file. --- configure.ac | 3 ++- igb.pc.in | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 igb.pc.in diff --git a/configure.ac b/configure.ac index 011afd2..73dc344 100644 --- a/configure.ac +++ b/configure.ac @@ -63,5 +63,6 @@ AC_FUNC_STRNLEN AC_CHECK_FUNCS([ftruncate gettimeofday isascii memset munmap pow select socket strchr strdup strerror strstr strtol]) AC_CONFIG_FILES([Makefile - kmod/Makefile]) + kmod/Makefile + igb.pc]) AC_OUTPUT diff --git a/igb.pc.in b/igb.pc.in new file mode 100644 index 0000000..434707f --- /dev/null +++ b/igb.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: igb +Description: Intel IGB library. +Requires: libpci zlib +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -ligb @PCIUTILS_LIBS@ @ZLIB_LIBS@ +Cflags: -I${includedir}/igb -- 2.7.4