path: root/
diff options
authorAnand Avati <>2013-04-24 00:51:12 -0700
committerVijay Bellur <>2013-05-25 11:39:41 -0700
commitc04a0ca7cf3a9775e21d51f9bdaa113b0f19f051 (patch)
treeb5814f194823fcc2a0a1216975dca53cc358162c /
parented11e88b77fe45acd1181728435bb644607a2b22 (diff)
pkg-config: present API version and not package version
This way PKG_MODULE() autoconf test checks for required API rather than release version (e.g required API could be in all all of 3.4.5, 3.5.1, 3.6.4 etc.) With the first "release" of gfapi, the current version (4) will be frozen. Version 3 is sufficient for QEMU's requirement. Version 4 is necessary for Samba VFS Change-Id: Iada3a4c88b9c67413dcd57004fd8a62926a21b42 BUG: 953694 Signed-off-by: Anand Avati <> Reviewed-on: Reviewed-by: Vijay Bellur <> Tested-by: Gluster Build System <>
Diffstat (limited to '')
1 files changed, 2 insertions, 1 deletions
diff --git a/ b/
index be46bb3d9..dfdb8ae68 100644
--- a/
+++ b/
@@ -6,6 +6,7 @@ includedir=@includedir@
Name: glusterfs-api
Description: GlusterFS API
-Version: @VERSION@
+/* This is the API version, NOT package version */
+Version: 4
Libs: -Wl,-R${libdir} -L${libdir} -lgfapi -lglusterfs -lgfrpc -lgfxdr
Cflags: -I${includedir}/glusterfs -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64