diff options
Diffstat (limited to 'gdb/configure')
-rwxr-xr-x | gdb/configure | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/configure b/gdb/configure index 54c2399..fd81609 100755 --- a/gdb/configure +++ b/gdb/configure @@ -1428,6 +1428,11 @@ _ACEOF cat <<\_ACEOF +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + X features: --x-includes=DIR X include files are in DIR --x-libraries=DIR X library files are in DIR @@ -4373,6 +4378,16 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# 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"` + # Dependency checking. rm -rf .tst 2>/dev/null |