[PATCH 00/10] Enhanced OS/2 ports

2011-04-15 Thread KO Myung-Hun
Hi/2. I attach the patches to enhance 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 API

[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 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 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 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 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 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 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 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 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 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 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], [ #

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

Re: [PATCH 01/10] Add -shortname option.

2011-04-15 Thread Eric Blake
On 04/15/2011 06:59 AM, KO Myung-Hun wrote: > 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.

Re: [PATCH 01/10] Add -shortname option.

2011-04-15 Thread Ralf Wildenhues
Hello, * Eric Blake wrote on Fri, Apr 15, 2011 at 03:46:33PM CEST: > On 04/15/2011 06:59 AM, KO Myung-Hun wrote: > > 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