[lvm-devel] [PATCH] configure: Search for (a possibly prefixed) ar

Heiko Becker heirecka at exherbo.org
Fri Jun 2 12:29:07 UTC 2017


Ping? Not sure if the mailing list is the right place to submit patches.
Would be nice if somebody could point me to the proper place otherwise.

Regards,
Heiko

On 04/13/17 09:07, Heiko Becker wrote:
> e.g. when cross compiling.
> 
> Signed-off-by: Heiko Becker <heirecka at exherbo.org>
> ---
>  configure.in | 1 +
>  make.tmpl.in | 2 +-
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/configure.in b/configure.in
> index 42ec52f95..d99a6e7b4 100644
> --- a/configure.in
> +++ b/configure.in
> @@ -84,6 +84,7 @@ AC_PROG_LN_S
>  AC_PROG_MAKE_SET
>  AC_PROG_MKDIR_P
>  AC_PROG_RANLIB
> +AC_CHECK_TOOL(AR, ar)
>  AC_PATH_TOOL(CFLOW_CMD, cflow)
>  AC_PATH_TOOL(CSCOPE_CMD, cscope)
>  AC_PATH_TOOL(CHMOD, chmod)
> diff --git a/make.tmpl.in b/make.tmpl.in
> index 8148fb551..5eeda2869 100644
> --- a/make.tmpl.in
> +++ b/make.tmpl.in
> @@ -44,7 +44,7 @@ EGREP = @EGREP@
>  GREP = @GREP@
>  SORT = @SORT@
>  WC = @WC@
> -AR = ar
> +AR = @AR@
>  RM = rm -f
>  
>  PYTHON2 = @PYTHON2@
> 




More information about the lvm-devel mailing list