Re: Enhanced OS/2 port

2010-12-16 Thread KO Myung-Hun
Hi/2. Ralf Wildenhues wrote: > [ adding libtool-patches@; followups can remove libtool@ ] > > * KO Myung-Hun wrote on Sun, Nov 28, 2010 at 07:20:32AM CET: >> I've enhanced and fixed libtool 2.4 for OS/2. > > Thanks again for working on this. > > Generally,

Re: OS/2: command-line length limit

2010-12-17 Thread KO Myung-Hun
Hi/2. Ralf Wildenhues wrote: > Hello again, > > * KO Myung-Hun wrote on Sun, Nov 28, 2010 at 07:20:32AM CET: >> --- libltdl/m4/libtool.m4.org2010-09-22 17:41:18.0 +0900 >> +++ libltdl/m4/libtool.m42010-11-27 16:03:50.0 +0900

Re: OS/2: command-line length limit

2010-12-18 Thread KO Myung-Hun
Hi/2. Ralf Wildenhues wrote: > * KO Myung-Hun wrote on Fri, Dec 17, 2010 at 01:20:38PM CET: >> Ralf Wildenhues wrote: >>> * KO Myung-Hun wrote on Sun, Nov 28, 2010 at 07:20:32AM CET: >>>> --- libltdl/m4/libtool.m4.org 2010-09-22 17:41:18.0 +0900 >&g

Re: OS/2: command-line length limit

2010-12-18 Thread KO Myung-Hun
Hi/2, again. Ralf Wildenhues wrote: > * KO Myung-Hun wrote on Fri, Dec 17, 2010 at 01:20:38PM CET: >> Ralf Wildenhues wrote: >>> * KO Myung-Hun wrote on Sun, Nov 28, 2010 at 07:20:32AM CET: >>>> --- libltdl/m4/libtool.m4.org 2010-09-22 17:41:18.0 +0900

[PATCH] Add -shortname option

2011-01-15 Thread KO Myung-Hun
Hi/2. This patch adds -shortname option for OS/2. -- KO Myung-Hun Using Mozilla SeaMonkey 2.0.11 Under OS/2 Warp 4 for Korean with FixPak #15 On Intel Core2Duo T5500 1.66 GHz with 2 GB RAM Korean OS/2 User Community : http://www.ecomstation.co.kr From c620c5dd4af864f8d70bbf78eaf0cb4743ca5594

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

2011-01-15 Thread KO Myung-Hun
Hi/2. Subject says all. -- KO Myung-Hun Using Mozilla SeaMonkey 2.0.11 Under OS/2 Warp 4 for Korean with FixPak #15 On Intel Core2Duo T5500 1.66 GHz with 2 GB RAM Korean OS/2 User Community : http://www.ecomstation.co.kr From dafc620b7684e0847d40c0e97479a521a74f7eb6 Mon Sep 17 00:00:00 2001

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

2011-01-15 Thread KO Myung-Hun
Hi/2. Subject says all. -- KO Myung-Hun Using Mozilla SeaMonkey 2.0.11 Under OS/2 Warp 4 for Korean with FixPak #15 On Intel Core2Duo T5500 1.66 GHz with 2 GB RAM Korean OS/2 User Community : http://www.ecomstation.co.kr From ea574c972441d6c834924016cecdaa03a4a3c52a Mon Sep 17 00:00:00 2001

[PATCH] OS/2 uses other APIs than on Win32

2011-01-15 Thread KO Myung-Hun
Hi/2. OS/2 uses other APIs to load a DLL than LoadLibrary() on Win32. -- KO Myung-Hun Using Mozilla SeaMonkey 2.0.11 Under OS/2 Warp 4 for Korean with FixPak #15 On Intel Core2Duo T5500 1.66 GHz with 2 GB RAM Korean OS/2 User Community : http://www.ecomstation.co.kr From

[PATCH] OS/2 uses ld compatible GNU ld

2011-01-15 Thread KO Myung-Hun
Hi/2. I think, it's fine to set with_gnu_ld to yes on OS/2 because OS/2 ld was modified from GNU ld. -- KO Myung-Hun Using Mozilla SeaMonkey 2.0.11 Under OS/2 Warp 4 for Korean with FixPak #15 On Intel Core2Duo T5500 1.66 GHz with 2 GB RAM Korean OS/2 User Community :

[PATCH] Do not relink on OS/2

2011-01-15 Thread KO Myung-Hun
Hi/2. There is no need to relink DLLs on OS/2. -- KO Myung-Hun Using Mozilla SeaMonkey 2.0.11 Under OS/2 Warp 4 for Korean with FixPak #15 On Intel Core2Duo T5500 1.66 GHz with 2 GB RAM Korean OS/2 User Community : http://www.ecomstation.co.kr From 772507b0125f5901a098500b5fef0e689ecbdce3

[PATCH] Set lt_cv_deplibs_check_method to pass_all on OS/2

2011-01-15 Thread KO Myung-Hun
Hi/2. Subject says all. -- KO Myung-Hun Using Mozilla SeaMonkey 2.0.11 Under OS/2 Warp 4 for Korean with FixPak #15 On Intel Core2Duo T5500 1.66 GHz with 2 GB RAM Korean OS/2 User Community : http://www.ecomstation.co.kr From 72d7751940160035ebf6457468efb349258a2274 Mon Sep 17 00:00:00 2001

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

2011-01-15 Thread KO Myung-Hun
Hi/2. -Zxxx is used to specify OS/2-specific options on OS/2. -- KO Myung-Hun Using Mozilla SeaMonkey 2.0.11 Under OS/2 Warp 4 for Korean with FixPak #15 On Intel Core2Duo T5500 1.66 GHz with 2 GB RAM Korean OS/2 User Community : http://www.ecomstation.co.kr From

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

2011-01-15 Thread KO Myung-Hun
Hi/2. OS/2 does not support links, so it's better to create import libraries instead. -- KO Myung-Hun Using Mozilla SeaMonkey 2.0.11 Under OS/2 Warp 4 for Korean with FixPak #15 On Intel Core2Duo T5500 1.66 GHz with 2 GB RAM Korean OS/2 User Community : http://www.ecomstation.co.kr

[PATCH] .la dependency fails on OS/2

2011-01-15 Thread KO Myung-Hun
Hi/2. If .la is listed as dependency_libs, libtool does not find a proper library from it on OS/2. -- KO Myung-Hun Using Mozilla SeaMonkey 2.0.11 Under OS/2 Warp 4 for Korean with FixPak #15 On Intel Core2Duo T5500 1.66 GHz with 2 GB RAM Korean OS/2 User Community : http

[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

[PATCH] OS/2 supports

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

[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 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 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 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 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 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 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 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 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 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] OS/2 patches

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

[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 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 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 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 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 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 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 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 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 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 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] OS/2 patches

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

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

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

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

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

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

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

  1   2   >