All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Coddington <bcodding@redhat.com>
To: linux-nfs@vger.kernel.org
Subject: [PATCH 1/6] mount.nfs: default enable mount config file (nfsmount.conf)
Date: Tue, 18 Nov 2014 09:06:39 -0500	[thread overview]
Message-ID: <63a58a49d14a76829a1892e104251cf288140add.1416319371.git.bcodding@redhat.com> (raw)
In-Reply-To: <cover.1416319371.git.bcodding@redhat.com>
In-Reply-To: <cover.1416319371.git.bcodding@redhat.com>

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
---
 configure.ac |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index e3af723..c13e7ee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -178,8 +178,10 @@ if test "$enable_mount" = yes; then
 	[AC_HELP_STRING([--enable-mountconfig],
                         [enable mount to use a configuration file])],
 	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,
@@ -191,8 +193,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"])
-- 
1.7.1


  reply	other threads:[~2014-11-18 14:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-18 14:06 [PATCH v2 0/6] mount.nfs default version Benjamin Coddington
2014-11-18 14:06 ` Benjamin Coddington [this message]
2014-11-18 14:06 ` [PATCH 2/6] mount.nfs: fix a comment typo in parse options Benjamin Coddington
2014-11-18 14:06 ` [PATCH 3/6] mount.nfs: parse options - add helper po_contains_prefix Benjamin Coddington
2014-11-18 14:06 ` [PATCH 4/6] mount.nfs: Add struct nfs_version and generalize version parsing Benjamin Coddington
2014-11-18 14:06 ` [PATCH 5/6] nfsmount.conf: Always parse versions Benjamin Coddington
2014-11-18 14:06 ` [PATCH 6/6] mount.nfs: configurable minor version defaults Benjamin Coddington
2015-01-28 21:29 ` [PATCH v2 0/6] mount.nfs default version Steve Dickson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=63a58a49d14a76829a1892e104251cf288140add.1416319371.git.bcodding@redhat.com \
    --to=bcodding@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.