[PATCH] libtool: Empty old_archive_from_new_cmds on OS/2

2025-02-09 Thread KO Myung-Hun
old_archive_from_new_cmds is not used at all. In addition, if this is defined static libs are not generated. This is a regression of commit e60044. * m4/libtool.m4: Do not define old_archive_from_new_cmds on OS/2. --- m4/libtool.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) dif

Re: [PATCH 0/2] OS/2 patches

2025-01-24 Thread KO Myung-Hun
Hi/2. KO Myung-Hun wrote: > Hi/2. > > These are patches for OS/2. > > Review, please... > > [PATCH 1/2] libtool: replace : with $PATH_SEPARATOR > [PATCH 2/2] libtool: Limit a length of DLL name to 8.3 correctly > Here are the rebased patches. -- KO Myung-Hun

Re: [PATCH 1/2] libtool: replace : with $PATH_SEPARATOR

2024-01-22 Thread KO Myung-Hun
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi/2. Mike Frysinger wrote: > On 17 Jan 2024 22:44, KO Myung-Hun wrote: >> Mike Frysinger wrote: >>> On 16 Jan 2024 23:44, KO Myung-Hun wrote: >>>> Some OSes such as OS/2, uses ';' as a path separator. So &g

Re: [PATCH 1/2] libtool: replace : with $PATH_SEPARATOR

2024-01-17 Thread KO Myung-Hun
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Frysinger wrote: > On 16 Jan 2024 23:44, KO Myung-Hun wrote: >> Some OSes such as OS/2, uses ';' as a path separator. So using >> $PATH_SEPARATOR instead of hard-coded ':' is more proper. > > so we

Re: [PATCH 1/2] libtool: replace : with $PATH_SEPARATOR

2024-01-16 Thread KO Myung-Hun
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi/2. Mike Frysinger wrote: > On 15 Jan 2024 21:15, KO Myung-Hun wrote: >> Mike Frysinger wrote: >>> On 15 Oct 2023 02:04, KO Myung-Hun wrote: >>>> Some OSes such as OS/2, uses ';' as a path separator. So &g

Re: [PATCH 1/2] libtool: replace : with $PATH_SEPARATOR

2024-01-15 Thread KO Myung-Hun
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Frysinger wrote: > On 15 Oct 2023 02:04, KO Myung-Hun wrote: >> Some OSes such as OS/2, uses ';' as a path separator. So using >> $PATH_SEPARATOR instead of hard-coded ':' is more proper. >>

Re: [PATCH 1/2] libtool: replace : with $PATH_SEPARATOR

2024-01-14 Thread KO Myung-Hun
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi/2. Mike Frysinger wrote: > On 15 Oct 2023 02:04, KO Myung-Hun wrote: >> Some OSes such as OS/2, uses ';' as a path separator. So using >> $PATH_SEPARATOR instead of hard-coded ':' is more proper. >>

[PATCH 1/2] libtool: replace : with $PATH_SEPARATOR

2023-10-14 Thread KO Myung-Hun
Some OSes such as OS/2, uses ';' as a path separator. So using $PATH_SEPARATOR instead of hard-coded ':' is more proper. * build-aux-ltmain.in: replace : with $PATH_SEPARATOR. * m4/libtool.m4: Likewise. --- build-aux/ltmain.in | 76 ++--- m4/libtool.m4

[PATCH 2/2] libtool: Limit a length of DLL name to 8.3 correctly

2023-10-14 Thread KO Myung-Hun
If a length of $release and/or $versionsuffix is more than 8 bytes, a length of DLL name may be more than 8. Then, this corrupts a generated DLL on OS/2. * m4/libtool.m4 (soname_spec) [os2*]: Limit a length of DLL name to 8.3 correctly. --- m4/libtool.m4 | 11 --- 1 file changed, 8 inser

[PATCH 0/2] OS/2 patches

2023-10-14 Thread KO Myung-Hun
Hi/2. These are patches for OS/2. Review, please... [PATCH 1/2] libtool: replace : with $PATH_SEPARATOR [PATCH 2/2] libtool: Limit a length of DLL name to 8.3 correctly

[PATCH] libtool: use $PATH_SEPARATOR instead ':'

2020-10-11 Thread KO Myung-Hun
On OS/2, a path separator is ';' not ':'. So use $PATH_SEPARATOR. * build-aux/ltmain.in (func_exec_program) [shlibpath_var]: Replace ':' with $PATH_SEPARATOR. (func_mode_link) [shlib_search_path]: Likewise. * m4/libtool.m4 (func_munge_path_list): Likewise. --- build-aux/ltmain.in | 4 ++-- m4/li

Re: [PATCH 2/2] libtool: set file_list_spec to '@' on OS/2

2016-02-23 Thread KO Myung-Hun
Hi/2. Peter Rosin wrote: > Hi! > > On 2016-02-22 12:21, Pavel Raiskup wrote: >> KO Myung-Hun, thanks for this patch but I need to see a bit deeper >> reasoning for this change as I do not understand the code properly. >> >> As the $file_list_spec is used in li

Re: [PATCH 2/2] libtool: set file_list_spec to '@' on OS/2

2016-02-22 Thread KO Myung-Hun
Hi/2. Pavel Raiskup wrote: > KO Myung-Hun, thanks for this patch but I need to see a bit deeper > reasoning for this change as I do not understand the code properly. > Thanks a lot for your replying. > As the $file_list_spec is used in libtool under special circumstances, can &g

Re: [PATCH 1/2] edit-readme-alpha: do not edit again a file already edited

2016-02-19 Thread KO Myung-Hun
Pavel Raiskup wrote: > On Friday 19 of February 2016 15:56:15 KO Myung-Hun wrote: >> Pavel Raiskup wrote: >>> On Tuesday 29 of December 2015 23:55:08 KO Myung-Hun wrote: >>>> Ping ? >>> >>> Thanks, and sorry for the delay. Fixed by 40bc0628d

Re: [PATCH 1/2] edit-readme-alpha: do not edit again a file already edited

2016-02-18 Thread KO Myung-Hun
Hi/2. Pavel Raiskup wrote: > On Tuesday 29 of December 2015 23:55:08 KO Myung-Hun wrote: >> Ping ? > > Thanks, and sorry for the delay. Fixed by 40bc0628d5c8c979 as a part of > fix for bug#20196, this double-edit issue is fixed by reverting the order > of checks. Please

Re: [PATCH 2/2] libtool: set file_list_spec to '@' on OS/2

2016-01-13 Thread KO Myung-Hun
Ping ? KO Myung-Hun wrote: > Creating and linking reloadable objects sometimes fail. > > * m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) : > Set file_list_spec to '@'. > --- > m4/libtool.m4 | 3 +++ > 1 file changed, 3 insertions(+) > > diff

Re: [PATCH 1/2] edit-readme-alpha: do not edit again a file already edited

2015-12-29 Thread KO Myung-Hun
Ping ? KO Myung-Hun wrote: > No need to edit again a file already edited. In addition, if editing > the file, a zero-length file is generated. > > * build-aux-edit-readme-alpha: Skip a file already edited. > --- > build-aux/edit-readme-alpha | 15 +-- > 1 file

[PATCH 1/2] edit-readme-alpha: do not edit again a file already edited

2015-12-15 Thread KO Myung-Hun
No need to edit again a file already edited. In addition, if editing the file, a zero-length file is generated. * build-aux-edit-readme-alpha: Skip a file already edited. --- build-aux/edit-readme-alpha | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/build-aux/

[PATCH 2/2] libtool: set file_list_spec to '@' on OS/2

2015-12-15 Thread KO Myung-Hun
Creating and linking reloadable objects sometimes fail. * m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) : Set file_list_spec to '@'. --- m4/libtool.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 2e8c3cf..c01f8fb 100644 --- a/m4/libtool.m4 ++

Re: [PATCH] bootstrap: use $PATH_SEPARATOR instead of :

2015-01-20 Thread KO Myung-Hun
Hi/2. Gary V. Vaughan wrote: > Hi, > > On Jan 20, 2015, at 5:22 AM, KO Myung-Hun wrote: >> >> On OS/2, a path separator is ';' not ':'. >> >> * bootstrap (func_find_tool, func_check_tool): Use PATH_SEPARATOR. >> * gl/build-aux/bootstra

[PATCH] edit-readme-alpha: do not edit again a file already edited

2015-01-20 Thread KO Myung-Hun
No need to edit again a file already edited. In addition, if editing the file, a zero-length file is generated. * build-aux-edit-readme-alpha: Skip a file already edited. --- build-aux/edit-readme-alpha | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/build-aux/

[PATCH] bootstrap: use $PATH_SEPARATOR instead of :

2015-01-19 Thread KO Myung-Hun
On OS/2, a path separator is ';' not ':'. * bootstrap (func_find_tool, func_check_tool): Use PATH_SEPARATOR. * gl/build-aux/bootstrap.in (func_check_tool): Likewise. * gl/build-aux/extract-trace (fund_find_tool): Likewise. --- bootstrap | 4 ++-- gl/build-aux/bootstrap.in | 2 +-

Re: [PATCH] ltdl: set libltdl_cv_need_uscore to yes on OS/2

2014-11-27 Thread KO Myung-Hun
Hi/2. Gary V. Vaughan wrote: > Hi, > >> On Nov 27, 2014, at 4:53 AM, KO Myung-Hun wrote: >> Gary V. Vaughan wrote: >>> >>>> On 27 Nov 2014, at 02:47, KO Myung-Hun wrote: >>>> I agree. >>>> >>>> Gary V. Vaughan wrote:

Re: [PATCH] ltdl: set libltdl_cv_need_uscore to yes on OS/2

2014-11-26 Thread KO Myung-Hun
Hi/2. Gary V. Vaughan wrote: > Hi! > >> On 27 Nov 2014, at 02:47, KO Myung-Hun wrote: >> >> Hi/2. >> >> Gary V. Vaughan wrote: >>> Hi, >>> >>> Thanks for the report and the patch! >>> >>>> On Nov 22, 2014, at

Re: [PATCH] ltdl: set libltdl_cv_need_uscore to yes on OS/2

2014-11-26 Thread KO Myung-Hun
Hi/2. Gary V. Vaughan wrote: > Hi, > > Thanks for the report and the patch! > > On Nov 22, 2014, at 4:08 AM, KO Myung-Hun wrote: >> >> On OS/2, dlopen() does not support a program. So libltdl_cv_need_uscore >> is set to unknown, but dlsym() requ

[PATCH] ltdl: set libltdl_cv_need_uscore to yes on OS/2

2014-11-21 Thread KO Myung-Hun
On OS/2, dlopen() does not support a program. So libltdl_cv_need_uscore is set to unknown, but dlsym() requires an underscore prefix. So set libltdl_cv_need_uscore to yes on OS/2 if lt_cv_sys_symbol_underscore is yes and libltdl_cv_need_uscore is unknown. * m4/ltdl.m4 (LT_FUNC_DLSYM_USCORE): set l

Re: [PATCH] OS/2 patches

2014-11-04 Thread KO Myung-Hun
Hi/2. Gary V. Vaughan wrote: > Hi KO, > > Very sorry for the immense delay in getting to this. > Really. It took too a long time, about 4 years. >> On Nov 4, 2014, at 6:12 AM, KO Myung-Hun wrote: >> >> Hi/2. >> >> I've rebased to m

[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

[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 @@ -

[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

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

2014-09-17 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 7/8] libtool: support -Zxxx options used on OS/2

2014-09-17 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 48ae7fa..62c3564 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -5338,6 +

[PATCH 3/8] libtool: set lt_prog_compiler_static to -Bstatic on OS/2

2014-09-17 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 da29e57..f54c882 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -4068,6 +4068,11 @@ m4_if([$1], [C

[PATCH 8/8] libtool: create an import libraries instead of links to the real library on OS/2

2014-09-17 Thread KO Myung-Hun
Link is not supported on OS/2. * build-aux/ltmain.in (fund_mode_install): Create an import library. (fund_mode_link): Likewise. --- build-aux/ltmain.in | 23 --- 1 files changed, 20 insertions(+), 3 deletions(-) diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index 6

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

2014-09-17 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 cf72c66..48ae7fa 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -6

[PATCH 6/8] libtool: set lt_cv_deplibs_check_method to pass_all on OS/2

2014-09-17 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 f54c882..98da38c 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -3460,6 +3460,9 @@ sysv4 | sysv4.3*) tpf

[PATCH] OS/2 patches

2014-09-17 Thread KO Myung-Hun
Hi/2. I attach OS/2 patches. Review, please.

[PATCH 1/8] libtool: add -os2dllname option

2014-09-17 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. So the option to specify a OS/2 DLL name shorter than 8 characters is needed. As well as, OS/2 does not allow OS/2 DLL name to contain '.'. * NEWS: Add news f

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

2014-09-17 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 0dea055..cf72c66 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -

[PATCH 9/9] libtool: fix a problem that it fails to find proper libraries if .la is a dependency on OS/2

2012-11-04 Thread KO Myung-Hun
*build-aux/ltmain.in(func_mode_link): Same as the title. --- build-aux/ltmain.in | 103 +++ 1 files changed, 79 insertions(+), 24 deletions(-) diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index bf989d7..7de3676 100644 --- a/build-aux/ltma

[PATCH 8/9] libtool: create an import libraries instead of links to the real library on OS/2

2012-11-04 Thread KO Myung-Hun
Link is not supported on OS/2. *build-aux/ltmain.in(fund_mode_install): Create an import library. (fund_mode_link): Likewise. --- build-aux/ltmain.in | 23 --- 1 files changed, 20 insertions(+), 3 deletions(-) diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index 3fca

[PATCH 7/9] libtool: support -Zxxx options used on OS/2

2012-11-04 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 10396a7..3fcaed5 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -5272,6 +52

[PATCH 6/9] libtool: set lt_cv_deplibs_check_method to pass_all on OS/2

2012-11-04 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 3d36d5d..3a80989 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -3345,6 +3345,9 @@ sysv4 | sysv4.3*) tpf*)

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

2012-11-04 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 ede32eb..10396a7 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -609

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

2012-11-04 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 b129716..28beadb 100644 --- a/m4/ltdl.m4 +++ b/m4/ltdl.m4 @@ -703,7 +703,7 @@ darwin[[1567]].*) beos*) LT_DLLOADERS="$

[PATCH 3/9] libtool: set lt_prog_compiler_static to -Bstatic on OS/2

2012-11-04 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 f269fc4..3d36d5d 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -3901,6 +3901,11 @@ m4_if([$1], [CX

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

2012-11-04 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 4e53936..ede32eb 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -4

[PATCH 1/9] libtool: add -shortname option

2012-11-04 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. So the option to specify a short name is needed. * NEWS: Add news for -shortname. * build-aux/ltmain.in(func_mode_help): Add a description for -shortname. (fu

[PATCH] OS/2 patches

2012-11-04 Thread KO Myung-Hun
Hi/2. These are the patches for OS/2. Review, please.

[PATCH 10/10] Fix a problem that it fails to find proper libraries if .la is a dependency on OS/2

2012-02-22 Thread KO Myung-Hun
--- build-aux/ltmain.m4sh | 103 +--- 1 files changed, 79 insertions(+), 24 deletions(-) diff --git a/build-aux/ltmain.m4sh b/build-aux/ltmain.m4sh index 690b44b..c721be2 100644 --- a/build-aux/ltmain.m4sh +++ b/build-aux/ltmain.m4sh @@ -5479,33 +5479,

[PATCH 09/10] Create import libraries instead of links to the real library on OS/2

2012-02-22 Thread KO Myung-Hun
--- build-aux/ltmain.m4sh | 23 --- 1 files changed, 20 insertions(+), 3 deletions(-) diff --git a/build-aux/ltmain.m4sh b/build-aux/ltmain.m4sh index 8cae2c3..690b44b 100644 --- a/build-aux/ltmain.m4sh +++ b/build-aux/ltmain.m4sh @@ -2240,8 +2240,17 @@ func_mode_install ()

[PATCH 08/10] Support -Zxxx options used on OS/2

2012-02-22 Thread KO Myung-Hun
--- build-aux/ltmain.m4sh | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/build-aux/ltmain.m4sh b/build-aux/ltmain.m4sh index 5ec111d..8cae2c3 100644 --- a/build-aux/ltmain.m4sh +++ b/build-aux/ltmain.m4sh @@ -5114,6 +5114,17 @@ func_mode_link () contin

[PATCH 07/10] Set lt_cv_deplibs_check_method to pass_all on OS/2

2012-02-22 Thread KO Myung-Hun
--- m4/libtool.m4 |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 10bfb81..998ee9d 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -3373,6 +3373,9 @@ sysv4 | sysv4.3*) tpf*) lt_cv_deplibs_check_method=pass_all ;; +os2*) + lt_

[PATCH 06/10] There is no need to relink DLLs on OS/2

2012-02-22 Thread KO Myung-Hun
--- build-aux/ltmain.m4sh |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/build-aux/ltmain.m4sh b/build-aux/ltmain.m4sh index c3b02e6..5ec111d 100644 --- a/build-aux/ltmain.m4sh +++ b/build-aux/ltmain.m4sh @@ -5940,7 +5940,7 @@ func_mode_link () if test -n "$libra

[PATCH 04/10] OS/2 uses other APIs to load a DLL than LoadLibrary() on Windows.

2012-02-22 Thread KO Myung-Hun
--- m4/ltdl.m4 |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/m4/ltdl.m4 b/m4/ltdl.m4 index 6cb5727..7987c05 100644 --- a/m4/ltdl.m4 +++ b/m4/ltdl.m4 @@ -703,7 +703,7 @@ darwin[[1567]].*) beos*) LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.

[PATCH 05/10] OS/2 uses ld inherited from GNU ld

2012-02-22 Thread KO Myung-Hun
--- m4/libtool.m4 |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 94bddcb..10bfb81 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -4674,6 +4674,9 @@ dnl Note also adjust exclude_expsyms for C++ above. with_gnu_ld=no fi

[PATCH 03/10] Set lt_prog_compiler_static to -Bstatic on OS/2

2012-02-22 Thread KO Myung-Hun
--- m4/libtool.m4 | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/m4/libtool.m4 b/m4/libtool.m4 index a8c43c0..94bddcb 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -3923,6 +3923,11 @@ m4_if([$1], [CXX], [ # (--disable-auto-import) libraries

[PATCH 02/10] Don't eliminate duplications in $postdeps and $predeps on OS/2

2012-02-22 Thread KO Myung-Hun
--- build-aux/ltmain.m4sh |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/build-aux/ltmain.m4sh b/build-aux/ltmain.m4sh index 7017dc6..c3b02e6 100644 --- a/build-aux/ltmain.m4sh +++ b/build-aux/ltmain.m4sh @@ -384,7 +384,7 @@ M4SH_GETOPTS( test : = "$debug_cmd" || func

[PATCH 01/10] Add -shortname option.

2012-02-22 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. So the option to specify a short name is needed. --- NEWS |1 + build-aux/ltmain.m4sh | 11 +++ doc/libtool.texi |4 ++

[PATCH] OS/2 supports

2012-02-22 Thread KO Myung-Hun
Hi/2. I attach the patches for OS/2 supports. Review, please.

[PATCH 10/10] Fix a problem that it fails to find proper libraries if .la is a dependency on OS/2

2011-04-15 Thread KO Myung-Hun
--- libltdl/config/ltmain.m4sh | 103 +-- 1 files changed, 79 insertions(+), 24 deletions(-) diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 9052a9d..19b816a 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4s

[PATCH 09/10] Create import libraries instead of links to the real library on OS/2

2011-04-15 Thread KO Myung-Hun
--- libltdl/config/ltmain.m4sh | 23 --- 1 files changed, 20 insertions(+), 3 deletions(-) diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 3619343..9052a9d 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -,8 +,17

[PATCH 08/10] Support -Zxxx options used on OS/2

2011-04-15 Thread KO Myung-Hun
--- libltdl/config/ltmain.m4sh | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 03a4add..3619343 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -5083,6 +5083,17 @@ func_mod

[PATCH 05/10] OS/2 uses ld inherited from GNU ld

2011-04-15 Thread KO Myung-Hun
--- libltdl/m4/libtool.m4 |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 2361831..9f0e5d7 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -4656,6 +4656,9 @@ dnl Note also adjust exclude_expsyms for C+

[PATCH 07/10] Set lt_cv_deplibs_check_method to pass_all on OS/2

2011-04-15 Thread KO Myung-Hun
--- libltdl/m4/libtool.m4 |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 9f0e5d7..0dc1055 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -3369,6 +3369,9 @@ sysv4 | sysv4.3*) tpf*) lt_cv_deplibs_c

[PATCH 06/10] There is no need to relink DLLs on OS/2

2011-04-15 Thread KO Myung-Hun
--- libltdl/config/ltmain.m4sh |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 12e653f..03a4add 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -5910,7 +5910,7 @@ func_mode_link ()

[PATCH 03/10] Set lt_prog_compiler_static to -Bstatic on OS/2

2011-04-15 Thread KO Myung-Hun
--- libltdl/m4/libtool.m4 | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index c2814de..2361831 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -3919,6 +3919,11 @@ m4_if([$1], [CXX], [ #

[PATCH 04/10] OS/2 uses other APIs to load a DLL than LoadLibrary() on Windows.

2011-04-15 Thread KO Myung-Hun
--- libltdl/m4/ltdl.m4 |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libltdl/m4/ltdl.m4 b/libltdl/m4/ltdl.m4 index ea76f4d..76f9919 100644 --- a/libltdl/m4/ltdl.m4 +++ b/libltdl/m4/ltdl.m4 @@ -703,7 +703,7 @@ darwin[[1567]].*) beos*) LT_DLLOADERS="$LT_DLLOADERS ${lt

[PATCH 02/10] Don't eliminate duplications in $postdeps and $predeps on OS/2

2011-04-15 Thread KO Myung-Hun
--- libltdl/config/ltmain.m4sh |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 371a973..12e653f 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -395,7 +395,7 @@ M4SH_GETOPTS( test

[PATCH 01/10] Add -shortname option.

2011-04-15 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. So the option to specify a short name is needed. --- NEWS |1 + doc/libtool.texi |4 libltdl/config/ltmain.m4sh |

[PATCH 00/10] Enhanced OS/2 ports

2011-04-15 Thread KO Myung-Hun
Hi/2. I attach the enhanced OS/2 ports. Review, please. [PATCH 01/10] Add -shortname option. [PATCH 02/10] Don't eliminate duplications in $postdeps and $predeps on OS/2 [PATCH 03/10] Set lt_prog_compiler_static to -Bstatic on OS/2 [PATCH 04/10] OS/2 uses other APIs to load

[PATCH 10/10] Fix a problem that it fails to find proper libraries if .la is a dependency on OS/2

2011-04-15 Thread KO Myung-Hun
--- libltdl/config/ltmain.m4sh | 103 +-- 1 files changed, 79 insertions(+), 24 deletions(-) diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 9052a9d..19b816a 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4s

[PATCH 09/10] Create import libraries instead of links to the real library on OS/2

2011-04-15 Thread KO Myung-Hun
--- libltdl/config/ltmain.m4sh | 23 --- 1 files changed, 20 insertions(+), 3 deletions(-) diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 3619343..9052a9d 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -,8 +,17

[PATCH 08/10] Support -Zxxx options used on OS/2

2011-04-15 Thread KO Myung-Hun
--- libltdl/config/ltmain.m4sh | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 03a4add..3619343 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -5083,6 +5083,17 @@ func_mod

[PATCH 07/10] Set lt_cv_deplibs_check_method to pass_all on OS/2

2011-04-15 Thread KO Myung-Hun
--- libltdl/m4/libtool.m4 |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 9f0e5d7..0dc1055 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -3369,6 +3369,9 @@ sysv4 | sysv4.3*) tpf*) lt_cv_deplibs_c

[PATCH 06/10] There is no need to relink DLLs on OS/2

2011-04-15 Thread KO Myung-Hun
--- libltdl/config/ltmain.m4sh |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 12e653f..03a4add 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -5910,7 +5910,7 @@ func_mode_link ()

[PATCH 05/10] OS/2 uses ld inherited from GNU ld

2011-04-15 Thread KO Myung-Hun
--- libltdl/m4/libtool.m4 |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 2361831..9f0e5d7 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -4656,6 +4656,9 @@ dnl Note also adjust exclude_expsyms for C+

[PATCH 04/10] OS/2 uses other APIs to load a DLL than LoadLibrary() on Windows.

2011-04-15 Thread KO Myung-Hun
--- libltdl/m4/ltdl.m4 |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libltdl/m4/ltdl.m4 b/libltdl/m4/ltdl.m4 index ea76f4d..76f9919 100644 --- a/libltdl/m4/ltdl.m4 +++ b/libltdl/m4/ltdl.m4 @@ -703,7 +703,7 @@ darwin[[1567]].*) beos*) LT_DLLOADERS="$LT_DLLOADERS ${lt

[PATCH 03/10] Set lt_prog_compiler_static to -Bstatic on OS/2

2011-04-15 Thread KO Myung-Hun
--- libltdl/m4/libtool.m4 | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index c2814de..2361831 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -3919,6 +3919,11 @@ m4_if([$1], [CXX], [ #

  1   2   >