linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steve Dickson <SteveD@redhat.com>
To: Kinglong Mee <kinglongmee@gmail.com>
Cc: "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>,
	Eino Juhani Oltedal <e.j.oltedal@fys.uio.no>
Subject: Re: [PATCH 2/3] configure.ac: fix configure fail with --disable-mount
Date: Thu, 07 May 2015 10:15:09 -0400	[thread overview]
Message-ID: <554B736D.90608@RedHat.com> (raw)
In-Reply-To: <552E8FDF.8020104@gmail.com>



On 04/15/2015 12:20 PM, Kinglong Mee wrote:
> Configure fail as,
> # ./configure --disable-mount
> ... ...
> checking for suitable libblkid version... yes
> checking for mnt_context_do_mount in -lmount... no
> configure: error: libmount needed
> 
> It is caused by $enable_libmount is "" (not "yes" and "no")
> with --disable-mount.
> 
> Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
Committed...

steved.

> 
> diff --git a/configure.ac b/configure.ac
> index 21be2bd..d4301a2 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -346,7 +346,7 @@ AC_SUBST(LIBBSD)
>  AC_SUBST(LIBBLKID)
>  AC_SUBST(LIBDL)
>  
> -if test "$enable_libmount" != no; then
> +if test "$enable_libmount" == yes; then
>     AC_CHECK_LIB(mount, mnt_context_do_mount, [LIBMOUNT="-lmount"], AC_MSG_ERROR([libmount needed]))
>     AC_CHECK_HEADER(libmount/libmount.h, , AC_MSG_ERROR([Cannot find libmount header file libmount/libmount.h]))
>  fi
> 

      reply	other threads:[~2015-05-07 14:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-15 16:20 [PATCH 2/3] configure.ac: fix configure fail with --disable-mount Kinglong Mee
2015-05-07 14:15 ` Steve Dickson [this message]

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=554B736D.90608@RedHat.com \
    --to=steved@redhat.com \
    --cc=e.j.oltedal@fys.uio.no \
    --cc=kinglongmee@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).