summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Coddington <bcodding@redhat.com>2014-12-08 15:16:48 -0500
committerSteve Dickson <steved@redhat.com>2015-01-23 14:08:18 -0500
commitee80d0aacecb79ba653ac8599338627981079604 (patch)
treecc2644e5a7ff68c730a9c8d4bf74754290e8462a
parent6efdb0440daf3ed304a3c1115f01e76e89d792a7 (diff)
downloadnfs-utils-ee80d0aacecb79ba653ac8599338627981079604.tar.gz
nfs-utils-ee80d0aacecb79ba653ac8599338627981079604.tar.xz
nfs-utils-ee80d0aacecb79ba653ac8599338627981079604.zip
mount.nfs: default enable mount config file (nfsmount.conf)
Signed-off-by: Benjamin Coddington <bcodding@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--configure.ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index a8b1fc3..cc30b96 100644
--- a/configure.ac
+++ b/configure.ac
@@ -186,10 +186,12 @@ AC_ARG_ENABLE(ipv6,
if test "$enable_mount" = yes; then
AC_ARG_ENABLE(mountconfig,
[AC_HELP_STRING([--enable-mountconfig],
- [enable mount to use a configuration file])],
+ [enable mount to use a configuration file @<:@default=yes@:>@])],
mountconfig=$enableval,
- mountconfig=no)
- if test "$enable_mountconfig" = yes; then
+ mountconfig=yes)
+ if test "$enable_mountconfig" = no; then
+ enable_mountconfig=
+ else
AC_DEFINE(MOUNT_CONFIG, 1,
[Define this if you want mount to read a configuration file])
AC_ARG_WITH(mountfile,
@@ -201,8 +203,6 @@ if test "$enable_mount" = yes; then
AC_SUBST(mountfile)
AC_DEFINE_UNQUOTED(MOUNTOPTS_CONFFILE, "$mountfile",
[This defines the location of the NFS mount configuration file])
- else
- enable_mountconfig=
fi
AC_SUBST(enable_mountconfig)
AM_CONDITIONAL(MOUNT_CONFIG, [test "$enable_mountconfig" = "yes"])