[PATCH v5 1/1] configure.ac: configurable tooldir install path

Frager, Neal neal.frager@amd.com
Mon Jan 22 09:31:19 GMT 2024


Hello Mike, Jeff,

Just a friendly reminder regarding this patch.  Have you had
a chance to review v5 yet?

Thank you for your support.

Best regards,
Neal Frager
AMD

> ---
> configure.ac | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index f1bb72100..0badf1d30 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -2599,7 +2599,15 @@ esac
> 
> # Some systems (e.g., one of the i386-aix systems the gas testers are
> # using) don't handle "\$" correctly, so don't use it here.
> -tooldir='${exec_prefix}'/${target_noncanonical}
> +AC_ARG_WITH([tooldir], 
> +  [AS_HELP_STRING([--with-tooldir=PATH],
> +		[use given path to install target tools after build])],
> +  [AS_CASE([x"$withval"],
> +	[x/*],,
> +	[AC_MSG_ERROR([argument to --with-tooldir must be an absolute path])])
> +  ],
> +  [with_tooldir='${exec_prefix}'/${target_noncanonical}])
> +tooldir=${with_tooldir}
> build_tooldir=${tooldir}
> 
> # Create a .gdbinit file which runs the one in srcdir
> -- 
> 2.25.1



More information about the Newlib mailing list