summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKO Myung-Hun <komh@chollian.net>2014-11-19 14:58:22 +0000
committerGary V. Vaughan <gary@gnu.org>2014-11-20 20:52:01 +0000
commit0ea9ccbb6e77ade9956d951cd2d206ef67acd2c3 (patch)
tree5175146449dc2ff6765e72bbd06bca2ff982e8c1 /configure.ac
parent2590c2dcf1db82aa46e5f81a8de214c21fb9a8a9 (diff)
downloadm4-0ea9ccbb6e77ade9956d951cd2d206ef67acd2c3.tar.gz
configury: add -Zargs-resp to LDFLAGS on OS/2.
-Zargs-resp enables a response file support on OS/2. * configure.ac (OS2_LDFLAGS): Add -Zargs-resp on *-*-os2*. * Makefile.am (AM_LDFLAGS): Add OS2_LDFLAGS. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 2fe6d9e8..a219665f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -164,6 +164,7 @@ case "$CFLAGS" in
;;
esac
+
## ------------------------------- ##
## Preloaded module configuration. ##
## ------------------------------- ##
@@ -213,7 +214,6 @@ AM_GNU_GETTEXT_VERSION([0.16])
M4_GNU_GETTEXT
-
## --------------- ##
## Gnulib support. ##
## --------------- ##
@@ -235,6 +235,8 @@ M4_RENAME
AC_TYPE_SIZE_T
AC_CHECK_SIZEOF([long long int])
+AS_CASE([$host], [*-*-os2*], [OS2_LDFLAGS=-Zargs-resp])
+AC_SUBST([OS2_LDFLAGS])
## ------------------------- ##
@@ -250,7 +252,6 @@ fi
AC_SUBST([INCLUDE_STDBOOL_H])
-
## --------------------------------- ##
## Library functions required by M4. ##
## --------------------------------- ##