diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2012-04-27 18:30:20 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2012-04-27 18:30:20 +0000 |
commit | 9009e1ae5f13e12f572907c251f503fba53c9966 (patch) | |
tree | 4ac8fa068f65348d73cdd4a77795595d352ca738 /gdb/configure | |
parent | 58004e23c9b5405fa07f4fbf63cc88d5ad710f66 (diff) | |
download | gdb-9009e1ae5f13e12f572907c251f503fba53c9966.zip gdb-9009e1ae5f13e12f572907c251f503fba53c9966.tar.gz gdb-9009e1ae5f13e12f572907c251f503fba53c9966.tar.bz2 |
* configure.ac: Add AC_ARG_PROGRAM.
* configure: Regenerate.
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 |