build: really disable fusermount if you say so

There is no logic in configure.ac that provides a $disable_fusermount
variable. So, use the $enable_fusermount variable instead.

Follow-up-for: http://review.gluster.org/4773
Change-Id: I81cdbd0045409d0036438d542ca6dc1934f784e4
BUG: 948205
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/4803
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Reviewed-by: Sachidananda Urs <sacchi@gmail.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
This commit is contained in:
Niels de Vos 2013-04-10 17:51:37 +02:00 committed by Anand Avati
parent a216f5f446
commit 432ce7e60f

View File

@ -305,7 +305,7 @@ AC_ARG_ENABLE([fusermount],
[Use system's fusermount]))
BUILD_FUSERMOUNT="yes"
if test "x$disable_fusermount" = "xyes"; then
if test "x$enable_fusermount" = "xno"; then
BUILD_FUSERMOUNT="no"
else
AC_DEFINE(GF_FUSERMOUNT, 1, [Use our own fusermount])