1 --- libtool-1.5.22/libtool.m4 2007-02-27 01:08:40.913016408 +0200
2 +++ libtool-1.5.22.cegcc/libtool.m4 2007-02-27 01:08:22.212594364 +0200
3 @@ -595,7 +595,7 @@ sparc*-*solaris*)
6 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
7 -[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
8 +[*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-wince*-*)
9 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
10 AC_CHECK_TOOL(AS, as, false)
11 AC_CHECK_TOOL(OBJDUMP, objdump, false)
12 @@ -715,7 +715,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [d
13 lt_cv_sys_max_cmd_len=-1;
17 + cygwin* | mingw* | cegcc*)
18 # On Win9x/ME, this test blows up -- it succeeds, but takes
19 # about 5 minutes as the teststring grows exponentially.
20 # Worse, since 9x/ME are not pre-emptively multitasking,
21 @@ -922,7 +922,7 @@ else
26 + mingw* | pw32* | cegcc*)
27 lt_cv_dlopen="LoadLibrary"
30 @@ -1315,14 +1315,14 @@ bsdi[[45]]*)
31 # libtool to hard-code these into programs
34 -cygwin* | mingw* | pw32*)
35 +cygwin* | mingw* | pw32* | cegcc*)
42 - yes,cygwin* | yes,mingw* | yes,pw32*)
43 + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
44 library_names_spec='$libname.dll.a'
45 # DLL is installed to $(libdir)/../bin by postinstall_cmds
46 postinstall_cmds='base_file=`basename \${file}`~
47 @@ -1342,7 +1342,7 @@ cygwin* | mingw* | pw32*)
48 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
49 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
53 # MinGW DLLs use traditional 'lib' prefix
54 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
55 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
56 @@ -2335,6 +2335,13 @@ mingw* | pw32*)
57 lt_cv_file_magic_cmd='$OBJDUMP -f'
61 + # ?? shouldn't this be based no build_os, not host_os?
62 + # use the weaker test based on 'objdump'. See mingw*.
63 + lt_cv_deplibs_check_method='file_magic file format pei*-arm-little(.*architecture: arm)?'
64 + lt_cv_file_magic_cmd='$OBJDUMP -f'
68 lt_cv_deplibs_check_method=pass_all
70 @@ -3039,7 +3046,7 @@ case $host_os in
74 - cygwin* | mingw* | pw32*)
75 + cygwin* | mingw* | pw32* | cegcc*)
76 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
77 # as there is no search path for DLLs.
78 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
79 @@ -4673,7 +4680,7 @@ case $host_os in
83 -cygwin* | mingw* | pw32*)
84 +cygwin* | mingw* | pw32* | cegcc*)
85 symcode='[[ABCDGISTW]]'
87 hpux*) # Its linker distinguishes data from code symbols
88 @@ -4876,7 +4883,7 @@ AC_MSG_CHECKING([for $compiler option to
89 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
90 # PIC is the default for these OSes.
92 - mingw* | cygwin* | os2* | pw32*)
93 + mingw* | cygwin* | os2* | pw32* | cegcc*)
94 # This hack is so that the source file can tell whether it is being
95 # built for inclusion in a dll (and should export symbols for example).
96 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
97 @@ -5150,7 +5157,7 @@ AC_MSG_CHECKING([for $compiler option to
98 # PIC is the default for these OSes.
101 - mingw* | cygwin* | pw32* | os2*)
102 + mingw* | cygwin* | pw32* | os2* | cegcc*)
103 # This hack is so that the source file can tell whether it is being
104 # built for inclusion in a dll (and should export symbols for example).
105 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
106 @@ -5220,7 +5227,7 @@ AC_MSG_CHECKING([for $compiler option to
110 - mingw* | cygwin* | pw32* | os2*)
111 + mingw* | cygwin* | pw32* | os2* | cegcc*)
112 # This hack is so that the source file can tell whether it is being
113 # built for inclusion in a dll (and should export symbols for example).
114 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
115 @@ -5391,7 +5398,7 @@ ifelse([$1],[CXX],[
117 _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
120 + cygwin* | mingw* | cegcc*)
121 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
124 @@ -5438,7 +5445,7 @@ ifelse([$1],[CXX],[
125 # Just being paranoid about ensuring that cc_basename is set.
126 _LT_CC_BASENAME([$compiler])
128 - cygwin* | mingw* | pw32*)
129 + cygwin* | mingw* | pw32* | cegcc*)
130 # FIXME: the MSVC++ port hasn't been tested in a loooong time
131 # When not using gcc, we currently assume that we are using
132 # Microsoft Visual C++.
133 @@ -5524,7 +5531,7 @@ EOF
137 - cygwin* | mingw* | pw32*)
138 + cygwin* | mingw* | pw32* | cegcc*)
139 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
140 # as there is no search path for DLLs.
141 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
142 @@ -5824,7 +5831,7 @@ _LT_EOF
143 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
146 - cygwin* | mingw* | pw32*)
147 + cygwin* | mingw* | pw32* | cegcc*)
148 # When not using gcc, we currently assume that we are using
149 # Microsoft Visual C++.
150 # hardcode_libdir_flag_spec is actually meaningless, as there is