-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


_______________________________________________
M4-patches mailing list
M4-patches@gnu.org
https://lists.gnu.org/mailman/listinfo/m4-patches

Reply via email to