zbyszek / rpms / nfs-utils

Forked from rpms/nfs-utils 6 years ago
Clone
f461dd8
diff --git a/.gitignore b/.gitignore
f461dd8
index 540737d..f17db9c 100644
f461dd8
--- a/.gitignore
f461dd8
+++ b/.gitignore
f461dd8
@@ -35,6 +35,7 @@ support/include/stamp-h1
f461dd8
 *.o
f461dd8
 *.lo
f461dd8
 *.la
f461dd8
+*.pc
f461dd8
 .libs
f461dd8
 lib*.a
f461dd8
 test-driver
f461dd8
diff --git a/configure.ac b/configure.ac
f461dd8
index 9b2a502..c7651f2 100644
f461dd8
--- a/configure.ac
f461dd8
+++ b/configure.ac
f461dd8
@@ -441,6 +441,8 @@ if test -n "$path_plugins" ; then
f461dd8
 fi
f461dd8
 AM_CONDITIONAL(PATH_PLUGINS, test -n "$path_plugins")
f461dd8
 
f461dd8
+AC_SUBST(AM_CPPFLAGS, "$AM_CPPFLAGS -I../../support/nfsidmap")
f461dd8
+
f461dd8
 dnl Check for IPv6 support
f461dd8
 AC_IPV6
f461dd8
 
f461dd8
diff --git a/support/nfsidmap/libnfsidmap.pc b/support/nfsidmap/libnfsidmap.pc
f461dd8
deleted file mode 100644
f461dd8
index 5ec28ae..0000000
f461dd8
--- a/support/nfsidmap/libnfsidmap.pc
f461dd8
+++ /dev/null
f461dd8
@@ -1,11 +0,0 @@
f461dd8
-prefix=/usr
f461dd8
-exec_prefix=${prefix}
f461dd8
-libdir=${exec_prefix}/lib64
f461dd8
-includedir=${prefix}/include
f461dd8
-
f461dd8
-Name: libnfsidmap
f461dd8
-Description: Library that handles mapping between names and ids for NFSv4.
f461dd8
-Requires:
f461dd8
-Version: 2.1.1
f461dd8
-Libs: -L${exec_prefix}/lib64 -lnfsidmap
f461dd8
-Cflags: -I${prefix}/include