[Gluster-users] compile glusterfs for debian squeeze
Marco Agostini
comunelevico at gmail.com
Fri Jun 29 20:46:39 UTC 2012
2012/6/29 Brian Candler <B.Candler at pobox.com>:
>
> You just read configure.ac
>
> dnl Check for argp
> AC_CHECK_HEADER([argp.h], AC_DEFINE(HAVE_ARGP, 1, [have argp]))
> AC_CONFIG_SUBDIRS(argp-standalone)
> BUILD_ARGP_STANDALONE=no
> if test "x${ac_cv_header_argp_h}" = "xno"; then
> BUILD_ARGP_STANDALONE=yes
> ARGP_STANDALONE_CPPFLAGS='-I${top_srcdir}/argp-standalone'
> ARGP_STANDALONE_LDADD='${top_builddir}/argp-standalone/libargp.a'
> fi
>
> Translation: it defaults to no. Only if your system does not have a usable
> argp then use the bundled one. (So you don't need this)
>
> # FUSERMOUNT section
> AC_ARG_ENABLE([fusermount],
> AC_HELP_STRING([--enable-fusermount],
> [Build fusermount]))
>
> BUILD_FUSERMOUNT="no"
> if test "x$enable_fusermount" = "xyes"; then
> FUSERMOUNT_SUBDIR="contrib/fuse-util"
> BUILD_FUSERMOUNT="yes"
> AC_DEFINE(GF_FUSERMOUNT, 1, [Use our own fusermount])
> fi
>
> AC_SUBST(FUSERMOUNT_SUBDIR)
> #end FUSERMOUNT section
>
> Translation: if you want this, add --enable-fusermount to the command line.
Thank you very much.
More information about the Gluster-users
mailing list