2011-07-18 11:24:23

by Slawomir Bochenski

[permalink] [raw]
Subject: [PATCH obexd] Fix quoting in readline checks

Readline check was underquoted causing not very helpful error message
when readline is missing.
---
acinclude.m4 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/acinclude.m4 b/acinclude.m4
index 2a824eb..fdd8a9e 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -12,10 +12,10 @@ AC_DEFUN([AC_PROG_CC_PIE], [

AC_DEFUN([AC_PATH_READLINE], [
AC_CHECK_HEADER(readline/readline.h,
- AC_CHECK_LIB(readline, main,
+ [AC_CHECK_LIB(readline, main,
[ readline_found=yes
AC_SUBST(READLINE_LIBS, "-lreadline")
- ], readline_found=no),
+ ], readline_found=no)],
[])
])

--
1.7.4.1



2011-07-18 14:43:17

by Johan Hedberg

[permalink] [raw]
Subject: Re: [PATCH obexd] Fix quoting in readline checks

Hi Slawek,

On Mon, Jul 18, 2011, Slawomir Bochenski wrote:
> Readline check was underquoted causing not very helpful error message
> when readline is missing.
> ---
> acinclude.m4 | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)

Applied. Thanks.

Johan