summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorCsaba Henk <csaba@zresearch.com>2009-03-25 02:19:14 +0100
committerAnand V. Avati <avati@amp.gluster.com>2009-03-26 16:31:07 +0530
commita2d44f8cd32988ad52ad924b61a2ef5fc41e4b0e (patch)
tree270d1ec5a96c4883cb6cc4693d05e3d62534359c /configure.ac
parentec5a5fa20823aed3127bdbea4e754ef308d81d89 (diff)
make the location of the mount utility tunable at configure time
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 76e9d7efa..aee4dd07e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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