All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lucas De Marchi <lucas.demarchi@intel.com>
To: Bart Van Assche <bvanassche@acm.org>
Cc: <linux-modules@vger.kernel.org>
Subject: Re: [PATCH] Fix a test in the configure script
Date: Sun, 23 Mar 2014 18:45:45 -0300	[thread overview]
Message-ID: <20140323214542.GA959@intel.com> (raw)
In-Reply-To: <532D8178.1030201@acm.org>

Hi Bart,

On Sat, Mar 22, 2014 at 01:26:32PM +0100, Bart Van Assche wrote:
> Avoid that the configure script prints the following error message:
> ./configure: line 14049: xyes: command not found
> 
> Signed-off-by: Bart Van Assche <bvanassche@acm.org>
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 54a52ea..7ef151e 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -112,7 +112,7 @@ AC_ARG_ENABLE([manpages],
>          AS_HELP_STRING([--disable-manpages], [disable manpages @<:@default=enabled@:>@]),
>  	[], enable_manpages=yes)
>  AM_CONDITIONAL([BUILD_MANPAGES], [test "x$enable_manpages" = "xyes"])
> -AS_IF(["x$enable_manpages" != "xno"], ["have_manpages=yes"])
> +AS_IF([test "x$enable_manpages" != "xno"], ["have_manpages=yes"])
>  
>  AC_ARG_ENABLE([logging],
>  	AS_HELP_STRING([--disable-logging], [disable system logging @<:@default=enabled@:>@]),
> -- 

I had another patch applied but not yet pushed:


>From 092d9448e0d46df135db0f6a6c48719e030e6477 Mon Sep 17 00:00:00 2001
From: Lucas De Marchi <lucas.demarchi@intel.com>
Date: Thu, 20 Mar 2014 09:50:12 -0300
Subject: [PATCH] build-sys: Remove bogus line causing warning

./configure: line 14316: xyes: command not found

We are not using have_manpages, so remove it.
---
 configure.ac | 1 -
 1 file changed, 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 54a52ea..e95942a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -112,7 +112,6 @@ AC_ARG_ENABLE([manpages],
         AS_HELP_STRING([--disable-manpages], [disable manpages @<:@default=enabled@:>@]),
 	[], enable_manpages=yes)
 AM_CONDITIONAL([BUILD_MANPAGES], [test "x$enable_manpages" = "xyes"])
-AS_IF(["x$enable_manpages" != "xno"], ["have_manpages=yes"])
 
 AC_ARG_ENABLE([logging],
 	AS_HELP_STRING([--disable-logging], [disable system logging @<:@default=enabled@:>@]),
-- 
1.9.0


The difference is that we can completely remove this line since we are
not using it anymore. It was wrongly introduced in 
bccb4b2 ("build-sys: Do not require xsltproc for installation of man pages")



-- 
Lucas De Marchi

      reply	other threads:[~2014-03-23 21:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-22 12:26 [PATCH] Fix a test in the configure script Bart Van Assche
2014-03-23 21:45 ` Lucas De Marchi [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=20140323214542.GA959@intel.com \
    --to=lucas.demarchi@intel.com \
    --cc=bvanassche@acm.org \
    --cc=linux-modules@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.