Using $program_transform_name from ‘configure’

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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’.

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf





[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux