[PATCH 02/10] libtool: set lt_prog_compiler_static to -Bstatic on OS/2

2014-10-12 Thread KO Myung-Hun
* m4/libtool.m4 (_LT_COMPILER_PIC): Same as the title. --- m4/libtool.m4 | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 320d8b3..248d423 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -4060,6 +4060,11 @@ m4_if([$1], [C

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

2014-10-12 Thread KO Myung-Hun
With splitting very long archive_cmds into multi-lines. * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Set archive_expsym_cmds. --- m4/libtool.m4 | 63 ++-- 1 files changed, 60 insertions(+), 3 deletions(-) diff --git a/m4/

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

2014-10-12 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 65b5a2d..58e2e34 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -

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

2014-10-12 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 03/10] ltdl: OS/2 uses other APIs to load a DLL than LoadLibrary() on Windows

2014-10-12 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 7f30925..04729bf 100644 --- a/m4/ltdl.m4 +++ b/m4/ltdl.m4 @@ -706,7 +706,7 @@ darwin[[1567]].*) beos*) LT_DLLOADERS="

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

2014-10-12 Thread KO Myung-Hun
* build-aux/ltmain.in (func_mode_link): Append major to soname_spec. Set major and versuffix. * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Set version_type to windows. Append major to soname_spec. --- build-aux/ltmain.in |4 ++-- m4/libtool.m4 |4 +++- 2 files changed, 5 insertions(+),

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

2014-10-12 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 05/10] libtool: set lt_cv_deplibs_check_method to pass_all on OS/2

2014-10-12 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 248d423..0713c29 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -3452,6 +3452,9 @@ sysv4 | sysv4.3*) tpf

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

2014-10-12 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 ed92684..5829cf2 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -5327,6 +

[PATCH] OS/2 patches, retry

2014-10-12 Thread KO Myung-Hun
Hi/2. These are the patches for OS/2. And these are more cleaned up and enhanced than before. Review, please...

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

2014-10-12 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 58e2e34..ed92684 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -6

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

2014-10-12 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