[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] git-version-gen: allow empty string as --prefix
From: |
Eric Blake |
Subject: |
Re: [PATCH] git-version-gen: allow empty string as --prefix |
Date: |
Mon, 13 Feb 2017 11:26:36 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
On 02/12/2017 02:47 AM, Sami Kerola wrote:
>
> Using --prefix '' works fine when runnign from command line, but I could not
> make empty string and AC_INIT to play together without the macro starting
> to throw warnings. Here is how that turns out:
>
> $ head -1 configure.ac
> AC_INIT([logrotate],[m4_esyscmd([build-aux/git-version-gen --prefix ''
> .tarball-version])],
Too much quoting. This is one case where you WANT to expand the
m4_esyscmd early, as in:
AC_INIT([logrotate],
m4_esyscmd([build-aux/git-version-gen --prefix ''
.tarball-version]))
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature