Subject: Re: bug#19374: [PATCH 2/4] build: configure.ac: support a response file on OS/2

From: Pádraig Brady <[email-masked]>
Date: Sun, 14 Dec 2014 13:12:43 +0000

forcemerge 19374 19377
stop

On 14/12/14 03:47, KO Myung-Hun wrote:
> * configure.ac (LDFLAGS): Add -Zargs-resp on os2*.

This imparts no information.  Please comment as to the "why"
rather than the "what".

> ---
>  configure.ac | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/configure.ac b/configure.ac
> index 0744964..7cb1085 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -589,6 +589,9 @@ AM_GNU_GETTEXT_VERSION([0.18.1])
>  # For a test of uniq: it uses the $LOCALE_FR envvar.
>  gt_LOCALE_FR
>  
> +# In order to support a response file on OS/2
> +AS_CASE([$host_os], [os2*], [LDFLAGS="$LDFLAGS -Zargs-resp"])

This relies on an implicit AC_CANONICAL_HOST which seems brittle.

thanks,
Pádraig