Ludovic Courtès
2014-04-23 16:40:58 UTC
Hello,
$program_transform_name is apparently meant to be used in makefiles
only, as suggested in the manual and in this comment from ‘configure’:
--8<---------------cut here---------------start------------->8---
# Double any \ or $.
# By default was `s,x,x', remove it if useless.
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
--8<---------------cut here---------------end--------------->8---
The doubled $ and \ make it impossible to use it directly within
configure.ac.
What’s the recommended way to use it in configure.ac?
Thanks,
Ludo’.
$program_transform_name is apparently meant to be used in makefiles
only, as suggested in the manual and in this comment from ‘configure’:
--8<---------------cut here---------------start------------->8---
# Double any \ or $.
# By default was `s,x,x', remove it if useless.
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
--8<---------------cut here---------------end--------------->8---
The doubled $ and \ make it impossible to use it directly within
configure.ac.
What’s the recommended way to use it in configure.ac?
Thanks,
Ludo’.