[PATCH 10/11] libtool: support versioning on OS/2

2014-11-03 Thread KO Myung-Hun
* build-aux/ltmain.in (func_mode_link): Set major and versuffix. * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Set version_type to windows. Add a version information to soname_spec. --- build-aux/ltmain.in |2 +- m4/libtool.m4 |7 ++- 2 files changed, 7 insertions(+), 2 deletions(-)

[PATCH 08/11] libtool: add -os2dllname option

2014-11-03 Thread KO Myung-Hun
OS/2 limits a length of a DLL base name up to 8 characters. Because of this, if there are many DLLs whose prefix is same and very long, the result DLLs are overwritten. So to avoid this, the option to specify a OS/2 DLL name is needed. * NEWS: Add news for -os2dllname. * build-aux/ltmain.in (func_

[PATCH 07/11] libtool: fix DLL creation/installation/uninstallation on OS/2

2014-11-03 Thread KO Myung-Hun
OS/2 limits a length of a DLL base name up to 8 characters. If a name of a shared library is longer than 8 characters, OS/2 cannot load it. And fix install/uninstall process using link which is not supported OS/2. * build-aux/ltmain.in: Do not strip an import lib. * m4/libtool.m4: Set variables to

[PATCH 11/11] bootstrap: double quote an expression with a wildcard

2014-11-03 Thread KO Myung-Hun
This prevents from expansion of a wildcard, and find from failing with the following error. find: paths must precede expression * bootstrap (require_buildreq_patch): Double quote *.diff * gl/build-aux/bootstrap.in (require_buildreq_patch): Likewise. --- bootstrap |2 +- g

[PATCH 09/11] libtool: support -export-symbols and -export-symbols-regex on OS/2

2014-11-03 Thread KO Myung-Hun
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Set archive_expsym_cmds. --- m4/libtool.m4 | 36 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 7d58420..76bc96c 100644 --- a/m4/libtool.m4

[PATCH 05/11] libtool: set lt_cv_deplibs_check_method to pass_all on OS/2

2014-11-03 Thread KO Myung-Hun
* m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Same as the title. --- m4/libtool.m4 |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/m4/libtool.m4 b/m4/libtool.m4 index b281341..c4d7619 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -3452,6 +3452,9 @@ sysv4 | sysv4.3*) tpf

[PATCH 06/11] libtool: support -Zxxx options used on OS/2

2014-11-03 Thread KO Myung-Hun
* build-aux/ltmain.in (fund_mode_link): Add -Z* case. --- build-aux/ltmain.in | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index e216611..3851e69 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -5328,6 +

[PATCH 02/11] libtool: support to link against static libraries on OS/2

2014-11-03 Thread KO Myung-Hun
From: KO Myung-Hun * m4/libtool.m4 (_LT_COMPILER_PIC): Set lt_prog_compiler_static to ${wl}-static. --- m4/libtool.m4 | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 1c6166b..b281341 100644 --- a/m4/libtool.m4 +++ b/m4/l

[PATCH] OS/2 patches

2014-11-03 Thread KO Myung-Hun
Hi/2. I've rebased to master. Review, please... [PATCH 01/11] libtool: don't eliminate duplications in $postdeps and $predeps on OS/2 [PATCH 02/11] libtool: support to link against static libraries on OS/2 [PATCH 03/11] ltdl: OS/2 uses other APIs to load a DLL than LoadLibrary() on Windows [PA

[PATCH 03/11] ltdl: OS/2 uses other APIs to load a DLL than LoadLibrary() on Windows

2014-11-03 Thread KO Myung-Hun
* m4/ltdl.m4: Remove os2* from a list for loadlibrary.la. --- m4/ltdl.m4 |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/m4/ltdl.m4 b/m4/ltdl.m4 index 7264d19..eeb37ac 100644 --- a/m4/ltdl.m4 +++ b/m4/ltdl.m4 @@ -706,7 +706,7 @@ darwin[[1567]].*) beos*) LT_DLLOADERS="

[PATCH 04/11] libtool: there is no need to relink DLLs on OS/2

2014-11-03 Thread KO Myung-Hun
* build-aux/ltmain.in (func_mode_link): Set need_relink to no on OS/2. --- build-aux/ltmain.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index e9d0877..e216611 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -6

[PATCH 01/11] libtool: don't eliminate duplications in $postdeps and $predeps on OS/2

2014-11-03 Thread KO Myung-Hun
* build-aux/ltmain.h (libtool_validate_options): Add *os2* to the list. --- build-aux/ltmain.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index 8b5945b..e9d0877 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -