diff options
author | KO Myung-Hun <komh78@gmail.com> | 2016-01-12 11:35:50 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2016-01-20 11:38:26 +0900 |
commit | 62d6e88d34695f76ca7de556d77810a2efd96dd6 (patch) | |
tree | 719d58e27a3cc35635fc65183304e290171d81df /gettext-tools/configure.ac | |
parent | 429e302f5215b78f65e833a87d76de71ca94696b (diff) | |
download | external_gettext-62d6e88d34695f76ca7de556d77810a2efd96dd6.zip external_gettext-62d6e88d34695f76ca7de556d77810a2efd96dd6.tar.gz external_gettext-62d6e88d34695f76ca7de556d77810a2efd96dd6.tar.bz2 |
gettext-tools: Use a short name for DLLs on OS/2
OS/2 does not support a DLL name longer than 8 characters.
* gettext-tools/configure.ac (OS2): Define on OS/2.
* gettext-tools/gnulib-lib/Makefile.am (libgettextlib_la_LDFLAGS):
Set a DLL name to gtlib on OS/2.
* gettext-tools/libgettextpo/Makefile.am (libgettextpo_la_LDFLAGS):
Set a DLL name to gtpo on OS/2.
* gettext-tools/src/Makefile.am (libgettextsrc_la_LDFLAGS): Set a DLL
name to gtsrc on OS/2.
Diffstat (limited to 'gettext-tools/configure.ac')
-rw-r--r-- | gettext-tools/configure.ac | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac index 037803f..02b69ab 100644 --- a/gettext-tools/configure.ac +++ b/gettext-tools/configure.ac @@ -100,10 +100,12 @@ LT_LANG([Windows Resource]) dnl On mingw and Cygwin, we can activate special Makefile rules which add dnl version information to the shared libraries and executables. case "$host_os" in - mingw* | cygwin*) is_woe32=yes ;; - *) is_woe32=no ;; + mingw* | cygwin*) special_makefile_rules=woe32 ;; + os2*) special_makefile_rules=os2 ;; + *) special_makefile_rules=none ;; esac -AM_CONDITIONAL([WOE32], [test $is_woe32 = yes]) +AM_CONDITIONAL([WOE32], [test $special_makefile_rules = woe32]) +AM_CONDITIONAL([OS2], [test $special_makefile_rules = os2]) dnl On Cygwin 1.7.10-1 or later, error_* variables are defined in the dnl Cygwin DLL. To avoid any conflict with gettext DLLs, always link |