diff options
author | Anand Avati <avati@redhat.com> | 2012-07-12 15:51:41 -0700 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-07-18 12:11:37 -0700 |
commit | dbd7aa2d6b4128faa771d616c429b3a315740cec (patch) | |
tree | 59babeff1ac4e87a0dd780a28a4b97b22530316a /configure.ac | |
parent | 2475e0193c4b4a37028bd8168113d6cd6949fe0e (diff) | |
download | glusterfs-dbd7aa2d6b4128faa771d616c429b3a315740cec.tar.gz glusterfs-dbd7aa2d6b4128faa771d616c429b3a315740cec.tar.xz glusterfs-dbd7aa2d6b4128faa771d616c429b3a315740cec.zip |
glusterfs-api.pc: pkgconfig for API consumers
Change-Id: I08c60ff9ec5d336077c39f903720f8850d4ddc72
BUG: 839950
Signed-off-by: Anand Avati <avati@redhat.com>
Reviewed-on: http://review.gluster.com/3665
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 0b07c6c1f3..cef8634c04 100644 --- a/configure.ac +++ b/configure.ac @@ -142,6 +142,7 @@ AC_CONFIG_FILES([Makefile xlators/mgmt/Makefile xlators/mgmt/glusterd/Makefile xlators/mgmt/glusterd/src/Makefile + glusterfs-api.pc api/Makefile api/src/Makefile glusterfs.spec]) @@ -151,6 +152,12 @@ AC_CANONICAL_HOST AC_PROG_CC AC_PROG_LIBTOOL +AC_ARG_WITH(pkgconfigdir, + [ --with-pkgconfigdir=DIR pkgconfig file in DIR @<:@LIBDIR/pkgconfig@:>@], + [pkgconfigdir=$withval], + [pkgconfigdir='${libdir}/pkgconfig']) +AC_SUBST(pkgconfigdir) + AC_ARG_WITH(mountutildir, [ --with-mountutildir=DIR mount helper utility in DIR @<:@/sbin@:>@], [mountutildir=$withval], |