[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/4] configure: add -Zargs-resp to LDFLAGS on OS/2
From: |
Eric Blake |
Subject: |
Re: [PATCH 3/4] configure: add -Zargs-resp to LDFLAGS on OS/2 |
Date: |
Wed, 19 Nov 2014 08:31:32 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 11/18/2014 08:54 PM, KO Myung-Hun wrote:
> -Zargs-resp enables a response file support on OS/2.
>
> * configure.ac (LDFLAGS): add -Zargs-resp on *-*-os2*.
> ---
> configure.ac | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index 6dca663..2ca1576 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -217,6 +217,8 @@ M4_WITH_DMALLOC
>
> AC_CONFIG_COMMANDS([stamp-h], [[test -z "$CONFIG_HEADERS" || date >
> stamp-h]])
>
> +AS_CASE([$host], [*-*-os2*], [LDFLAGS="$LDFLAGS -Zargs-resp"])
> +
You cannot assume $host is set unless you also guarantee that
AC_CANONICAL_HOST was called. Gnulib happens to call it, but I wonder
if we should also explicitly call it prior to this line so that someone
copying it to another file doesn't run into problems.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [PATCH] OS/2 patches for 1.4 branch, KO Myung-Hun, 2014/11/18
- [PATCH 1/4] bootstrap: set and use PATH_SEPARATOR, KO Myung-Hun, 2014/11/18
- [PATCH 2/4] configure: append $EXEEXT suffix to /bin/sh, KO Myung-Hun, 2014/11/18
- [PATCH 3/4] configure: add -Zargs-resp to LDFLAGS on OS/2, KO Myung-Hun, 2014/11/18
- Re: [PATCH 3/4] configure: add -Zargs-resp to LDFLAGS on OS/2,
Eric Blake <=
- [PATCH 4/4] m4_esyscmd: fdopen() with a text mode explicitly on OS/2, KO Myung-Hun, 2014/11/18
- Re: [PATCH] OS/2 patches for 1.4 branch, Gary V. Vaughan, 2014/11/19