diff options
| author | Csaba Henk <csaba@gluster.com> | 2009-08-11 18:26:11 -0700 | 
|---|---|---|
| committer | Csaba Henk <csaba@gluster.com> | 2009-08-12 06:26:31 -0700 | 
| commit | 901ba842cd6c42ff24e0539a1b8231b3e802e1ce (patch) | |
| tree | f7dfe8eccefff0836a06c810fbfb69b3a31be4c8 /configure.ac | |
| parent | fbb636390fe51dc6aa52ec7523a36b183434a28c (diff) | |
bring in fusermount
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 24 | 
1 files changed, 24 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 0347eb075c6..6a951096822 100644 --- a/configure.ac +++ b/configure.ac @@ -124,6 +124,8 @@ AC_CONFIG_FILES([Makefile                  extras/init.d/glusterfsd-Redhat                  extras/init.d/glusterfsd-SuSE  		extras/benchmarking/Makefile +		contrib/Makefile +		contrib/fuse-util/Makefile  		glusterfs.spec])  AC_CANONICAL_HOST @@ -216,6 +218,24 @@ AC_SUBST(FUSE_CLIENT_SUBDIR)  # end FUSE section +# FUSERMOUNT section +AC_ARG_ENABLE([fusermount], +              AC_HELP_STRING([--enable-fusermount], +                             [Build fusermount]), +              [], [enable_fusermount=no]) + +BUILD_FUSERMOUNT="no" + +if test "x$enable_fusermount" != "xno"; then +  FUSERMOUNT_SUBDIR="contrib" +  BUILD_FUSERMOUNT="yes" +  AC_DEFINE(GF_FUSERMOUNT, 1, [Use our own fusermount]) +fi + +AC_SUBST(FUSERMOUNT_SUBDIR) +#end FUSERMOUNT section + +  # EPOLL section  AC_ARG_ENABLE([epoll],  	      AC_HELP_STRING([--disable-epoll], @@ -454,6 +474,9 @@ AC_SUBST(GF_LDADD)  AC_SUBST(GF_FUSE_LDADD)  AC_SUBST(GF_BOOSTER_SUBDIR) +CONTRIBDIR='$(top_srcdir)/contrib' +AC_SUBST(CONTRIBDIR) +  AM_CONDITIONAL([GF_DARWIN_HOST_OS], test "${GF_HOST_OS}" = "GF_DARWIN_HOST_OS")	  AC_OUTPUT @@ -467,4 +490,5 @@ echo "epoll IO multiplex : $BUILD_EPOLL"  echo "Berkeley-DB        : $BUILD_BDB"  echo "libglusterfsclient : $BUILD_LIBGLUSTERFSCLIENT"  echo "argp-standalone    : $BUILD_ARGP_STANDALONE" +echo "fusermount         : $BUILD_FUSERMOUNT"  echo  | 
