On 09/10/2014 03:08 PM, Nick Bowler wrote:
> On 2014-09-10 10:22 +0100, Pádraig Brady wrote:
>> I was able to work around the issue here as there is only a single
>> item in libexec in my project which I excluded from $(transform) like:
>>
>>   transform = /myprog/!$(program_transform_name)
> 
> This seems like a reasonable solution.  But be careful: the above
> won't work if program_transform_name (which is set by the user) contains
> nontrivial sed commands.  For example, it will fail if it contains a
> semicolon.
> 
> Something like this should be more robust (but untested):
> 
>   transform = /myprog/q;$(program_transform_name)

Good suggestion.
The above is more robust and portable according to my testing and:
http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Limitations-of-Usual-Tools.html#Limitations-of-Usual-Tools

thanks,
Pádraig.

Reply via email to