make the location of the mount utility tunable at configure time

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
This commit is contained in:
Csaba Henk 2009-03-25 02:19:14 +01:00 committed by Anand V. Avati
parent ec5a5fa208
commit a2d44f8cd3
2 changed files with 7 additions and 1 deletions

View File

@ -133,6 +133,12 @@ AC_CANONICAL_HOST
AC_PROG_CC
AC_PROG_LIBTOOL
AC_ARG_WITH(mountutildir,
[ --with-mountutildir=DIR mount helper utility in DIR @<:@/sbin@:>@],
[mountutildir=$withval],
[mountutildir='/sbin'])
AC_SUBST(mountutildir)
# LEX needs a check
AC_PROG_LEX
if test "x${LEX}" != "xflex" -a "x${FLEX}" != "xlex"; then

View File

@ -1,4 +1,4 @@
utildir = $(destdir)/sbin
utildir = @mountutildir@
if GF_DARWIN_HOST_OS
util_SCRIPTS = mount_glusterfs