[PATCH obexd] Fix quoting in readline checks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux