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 | |
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')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rwxr-xr-x | gdb/configure | 15 | ||||
-rw-r--r-- | gdb/configure.ac | 1 |
3 files changed, 21 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 31b207f..3c692a5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-04-26 Maciej W. Rozycki <macro@codesourcery.com> + + * configure.ac: Add AC_ARG_PROGRAM. + * configure: Regenerate. + 2012-04-26 Jan Kratochvil <jan.kratochvil@redhat.com> Fix DW_AT_lower_bound defaults for DWARF-4+. 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 diff --git a/gdb/configure.ac b/gdb/configure.ac index a40c2e5..0f5d651 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -30,6 +30,7 @@ AM_PROG_CC_STDC AC_CONFIG_AUX_DIR(..) AC_CANONICAL_SYSTEM +AC_ARG_PROGRAM # Dependency checking. ZW_CREATE_DEPDIR |