[sheepdog] [PATCH] configure: make sure that pkg-config is available

Liu Yuan namei.unix at gmail.com
Tue Jul 24 04:00:24 CEST 2012


On 07/24/2012 08:56 AM, MORITA Kazutaka wrote:
> Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
> ---
>  configure.ac |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 771b6cc..e45a259 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -38,6 +38,8 @@ AC_LANG([C])
>  
>  AM_SILENT_RULES([yes])
>  
> +m4_ifndef([PKG_PROG_PKG_CONFIG], AC_MSG_ERROR([pkg-config not found]))
> +
>  dnl Fix default variables - "prefix" variable if not specified
>  if test "$prefix" = "NONE"; then
>  	prefix="/usr"
> 

Applied thanks.

Yuan



More information about the sheepdog mailing list