Re: [PATCH] autoconf: make the test for prctl have an effect

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

 




On 05/17/2012 11:14 AM, Jeff Layton wrote:
> We currently test to ensure that prctl() is available, but the results
> of that test are a no-op either way. statd calls prctl()
> unconditionally, so make configure bail out if prctl() isn't available
> since the build will fail in that event anyway.
> 
> Cc: Chuck Lever <chuck.lever@xxxxxxxxxx>
> Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
Committed....

steved.
> ---
>  aclocal/libcap.m4 |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/aclocal/libcap.m4 b/aclocal/libcap.m4
> index 68a624c..f8a0ed1 100644
> --- a/aclocal/libcap.m4
> +++ b/aclocal/libcap.m4
> @@ -3,7 +3,7 @@ dnl
>  AC_DEFUN([AC_LIBCAP], [
>  
>    dnl look for prctl
> -  AC_CHECK_FUNC([prctl], , )
> +  AC_CHECK_FUNC([prctl], , AC_MSG_ERROR([prctl syscall is not available]))
>  
>    AC_ARG_ENABLE([caps],
>      [AS_HELP_STRING([--disable-caps], [Disable capabilities support])])
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux