[PATCH 4/6] configure: add -Zargs-resp and -no-undefined to LDFLAGS on OS/2

KO Myung-Hun <[email protected]> Wed, 19 Nov 2014 13:06:49 +0900
Newsgroups gmane.comp.gnu.m4.patches
Message-ID <[email protected]>
-Zargs-resp enables a response file support. And -no-undefined enables
to build DLLs on OS/2.

* configure.ac (LDFLAGS): add -Zargs-resp and -no-undefined on OS/2.
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 2fe6d9e..81894c3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -275,6 +275,9 @@ AM_CONDITIONAL([USE_GMP], [test "x$USE_GMP" = xyes])
 M4_SYSCMD
 
 
+AS_CASE([$host], [*-*-os2*], [LDFLAGS="$LDFLAGS -Zargs-resp -no-undefined"])
+
+
 ## -------- ##
 ## Outputs. ##
 ## -------- ##
-- 
1.8.5.2