All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix a test in the configure script
@ 2014-03-22 12:26 Bart Van Assche
  2014-03-23 21:45 ` Lucas De Marchi
  0 siblings, 1 reply; 2+ messages in thread
From: Bart Van Assche @ 2014-03-22 12:26 UTC (permalink / raw)
  To: linux-modules

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@:>@]),
-- 
1.8.4.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix a test in the configure script
  2014-03-22 12:26 [PATCH] Fix a test in the configure script Bart Van Assche
@ 2014-03-23 21:45 ` Lucas De Marchi
  0 siblings, 0 replies; 2+ messages in thread
From: Lucas De Marchi @ 2014-03-23 21:45 UTC (permalink / raw)
  To: Bart Van Assche; +Cc: linux-modules

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-23 21:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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.