From 9009e1ae5f13e12f572907c251f503fba53c9966 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Fri, 27 Apr 2012 18:30:20 +0000 Subject: * configure.ac: Add AC_ARG_PROGRAM. * configure: Regenerate. --- gdb/configure | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'gdb/configure') 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 -- cgit v1.1