[Users] [PATCH] configure.ac: really use the specified GIT variable

Ricardo Mones ricardo at mones.org
Thu Nov 16 01:08:21 CET 2017


Hi Olaf,

On Tue, 14 Nov 2017 15:43:39 +0100
Olaf Hering <olaf at aepfle.de> wrote:

> With 'env GIT=/what/ever ./configure [options]' AC_CHECK_PROG receives a
> custom binary. Use this custom binary to set GIT_VERSION.

I don't know of much binaries which support git arguments, except commands
which ignore them, so I wonder... what's this useful for? funny version numbers?

regards,

> Signed-off-by: Olaf Hering <olaf at aepfle.de>
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 67c2a56d8..ffe3b5803 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -17,7 +17,7 @@ if test \( -d .git \); then
>      if test \( "$GIT" = "no" \); then
>  	AC_MSG_ERROR([*** git not found. See http://git-scm.com/])
>      else
> -	GIT_VERSION=`git describe --abbrev=6 --dirty --always`
> +	GIT_VERSION=`${GIT} describe --abbrev=6 --dirty --always`
>  	echo "echo ${GIT_VERSION}" > ./version
>      fi
>  else
> _______________________________________________
> Users mailing list
> Users at lists.claws-mail.org
> http://lists.claws-mail.org/cgi-bin/mailman/listinfo/users


-- 
  Ricardo Mones 
  ~
  15:14 <@mones> you're overconfident today :)                         
  15:14 <@claws> i will be this way forever now        Seen on #claws

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Firma digital OpenPGP
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20171116/b7490d21/attachment.sig>


More information about the Users mailing list