Re: [PATCH 1/6] Include check to readline lib on acinlude.m4

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

 



Hi Sheldon,

On Thu, Jan 27, 2011 at 04:08:57PM -0300, ext Sheldon Demario wrote:
> ---
>  acinclude.m4 |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
> 
> diff --git a/acinclude.m4 b/acinclude.m4
> index ecf4b4b..f27d4eb 100644
> --- a/acinclude.m4
> +++ b/acinclude.m4
> @@ -153,6 +153,13 @@ AC_DEFUN([AC_PATH_SNDFILE], [
>  	AC_SUBST(SNDFILE_LIBS)
>  ])
>  
> +AC_DEFUN([AC_PATH_READLINE], [
> +	AC_CHECK_LIB(readline, main,
> +		[ readline_found=yes
> +		 AC_SUBST(READLINE_LIBS, "-lreadline")
> +		], readline_found=no)
> +])
> +

This doesn't check if header files exists.

>  AC_DEFUN([AC_PATH_OUI], [
>  	AC_ARG_WITH(ouifile,
>  		    AS_HELP_STRING([--with-ouifile=PATH],[Path to the oui.txt file @<:@auto@:>@]),

-- 
Ville
--
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