]>
Commit | Line | Data |
---|---|---|
33b6b062 JB |
1 | --- libtool-2.2/libltdl/m4/libtool.m4.orig 2008-03-08 16:55:22.650763650 +0100 |
2 | +++ libtool-2.2/libltdl/m4/libtool.m4 2008-03-08 17:01:23.855347526 +0100 | |
3 | @@ -1501,7 +1501,7 @@ | |
d1878325 ER |
4 | lt_cv_sys_max_cmd_len=-1; |
5 | ;; | |
6 | ||
7 | - cygwin* | mingw*) | |
8 | + cygwin* | mingw* | cegcc*) | |
9 | # On Win9x/ME, this test blows up -- it succeeds, but takes | |
10 | # about 5 minutes as the teststring grows exponentially. | |
11 | # Worse, since 9x/ME are not pre-emptively multitasking, | |
33b6b062 | 12 | @@ -1727,7 +1727,7 @@ |
d1878325 ER |
13 | lt_cv_dlopen_self=yes |
14 | ;; | |
15 | ||
16 | - mingw* | pw32*) | |
17 | + mingw* | pw32* | cegcc*) | |
18 | lt_cv_dlopen="LoadLibrary" | |
19 | lt_cv_dlopen_libs= | |
33b6b062 JB |
20 | ;; |
21 | @@ -2199,14 +2199,14 @@ | |
d1878325 ER |
22 | # libtool to hard-code these into programs |
23 | ;; | |
24 | ||
25 | -cygwin* | mingw* | pw32*) | |
26 | +cygwin* | mingw* | pw32* | cegcc*) | |
27 | version_type=windows | |
28 | shrext_cmds=".dll" | |
29 | need_version=no | |
30 | need_lib_prefix=no | |
31 | ||
32 | case $GCC,$host_os in | |
33 | - yes,cygwin* | yes,mingw* | yes,pw32*) | |
34 | + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) | |
35 | library_names_spec='$libname.dll.a' | |
36 | # DLL is installed to $(libdir)/../bin by postinstall_cmds | |
37 | postinstall_cmds='base_file=`basename \${file}`~ | |
33b6b062 | 38 | @@ -2229,7 +2229,7 @@ |
d1878325 ER |
39 | soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' |
40 | sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" | |
41 | ;; | |
42 | - mingw*) | |
43 | + mingw* | cegcc*) | |
44 | # MinGW DLLs use traditional 'lib' prefix | |
45 | soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' | |
33b6b062 JB |
46 | sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
47 | @@ -3026,6 +3026,13 @@ | |
48 | fi | |
d1878325 ER |
49 | ;; |
50 | ||
51 | +cegcc*) | |
52 | + # ?? shouldn't this be based no build_os, not host_os? | |
53 | + # use the weaker test based on 'objdump'. See mingw*. | |
54 | + lt_cv_deplibs_check_method='file_magic file format pei*-arm-little(.*architecture: arm)?' | |
55 | + lt_cv_file_magic_cmd='$OBJDUMP -f' | |
56 | + ;; | |
57 | + | |
58 | darwin* | rhapsody*) | |
59 | lt_cv_deplibs_check_method=pass_all | |
60 | ;; | |
33b6b062 | 61 | @@ -3339,7 +3346,7 @@ |
d1878325 ER |
62 | aix*) |
63 | symcode='[[BCDT]]' | |
64 | ;; | |
65 | -cygwin* | mingw* | pw32*) | |
66 | +cygwin* | mingw* | pw32* | cegcc*) | |
67 | symcode='[[ABCDGISTW]]' | |
68 | ;; | |
33b6b062 JB |
69 | hpux*) |
70 | @@ -3577,7 +3584,7 @@ | |
71 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | |
d1878325 ER |
72 | # PIC is the default for these OSes. |
73 | ;; | |
ca23febc AM |
74 | - mingw* | cygwin* | os2* | pw32*) |
75 | + mingw* | cygwin* | os2* | pw32* | cegcc*) | |
d1878325 ER |
76 | # This hack is so that the source file can tell whether it is being |
77 | # built for inclusion in a dll (and should export symbols for example). | |
33b6b062 JB |
78 | # Although the cygwin gcc ignores -fPIC, still need this for old-style |
79 | @@ -3870,7 +3877,7 @@ | |
d1878325 ER |
80 | # PIC is the default for these OSes. |
81 | ;; | |
82 | ||
ca23febc AM |
83 | - mingw* | cygwin* | pw32* | os2*) |
84 | + mingw* | cygwin* | pw32* | os2* | cegcc*) | |
d1878325 ER |
85 | # This hack is so that the source file can tell whether it is being |
86 | # built for inclusion in a dll (and should export symbols for example). | |
33b6b062 JB |
87 | # Although the cygwin gcc ignores -fPIC, still need this for old-style |
88 | @@ -3939,7 +3946,7 @@ | |
89 | fi | |
90 | ;; | |
d1878325 | 91 | |
ca23febc AM |
92 | - mingw* | cygwin* | pw32* | os2*) |
93 | + mingw* | cygwin* | pw32* | os2* | cegcc*) | |
d1878325 ER |
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). | |
33b6b062 JB |
96 | m4_if([$1], [GCJ], [], |
97 | @@ -4156,7 +4163,7 @@ | |
d1878325 | 98 | pw32*) |
33b6b062 | 99 | _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" |
d1878325 ER |
100 | ;; |
101 | - cygwin* | mingw*) | |
102 | + cygwin* | mingw* | cegcc*) | |
33b6b062 | 103 | _LT_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' |
d1878325 ER |
104 | ;; |
105 | *) | |
33b6b062 JB |
106 | @@ -4208,7 +4215,7 @@ |
107 | extract_expsyms_cmds= | |
108 | ||
d1878325 ER |
109 | case $host_os in |
110 | - cygwin* | mingw* | pw32*) | |
111 | + cygwin* | mingw* | pw32* | cegcc*) | |
112 | # FIXME: the MSVC++ port hasn't been tested in a loooong time | |
113 | # When not using gcc, we currently assume that we are using | |
114 | # Microsoft Visual C++. | |
33b6b062 | 115 | @@ -4296,7 +4303,7 @@ |
d1878325 ER |
116 | fi |
117 | ;; | |
118 | ||
119 | - cygwin* | mingw* | pw32*) | |
120 | + cygwin* | mingw* | pw32* | cegcc*) | |
33b6b062 | 121 | # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, |
d1878325 | 122 | # as there is no search path for DLLs. |
33b6b062 JB |
123 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
124 | @@ -4642,7 +4649,7 @@ | |
125 | _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic | |
d1878325 ER |
126 | ;; |
127 | ||
128 | - cygwin* | mingw* | pw32*) | |
129 | + cygwin* | mingw* | pw32* | cegcc*) | |
130 | # When not using gcc, we currently assume that we are using | |
131 | # Microsoft Visual C++. | |
132 | # hardcode_libdir_flag_spec is actually meaningless, as there is | |
33b6b062 JB |
133 | @@ -5589,7 +5596,7 @@ |
134 | esac | |
135 | ;; | |
136 | ||
137 | - cygwin* | mingw* | pw32*) | |
138 | + cygwin* | mingw* | pw32* | cegcc*) | |
139 | # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, | |
140 | # as there is no search path for DLLs. | |
141 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' | |
142 | --- libtool-2.2/libltdl/m4/ltoptions.m4.orig 2008-02-12 10:36:44.000000000 +0100 | |
143 | +++ libtool-2.2/libltdl/m4/ltoptions.m4 2008-03-08 17:01:45.976608144 +0100 | |
144 | @@ -125,7 +125,7 @@ LT_OPTION_DEFINE([LT_INIT], [win32-dll], | |
145 | [enable_win32_dll=yes | |
146 | ||
147 | case $host in | |
148 | -*-*-cygwin* | *-*-mingw* | *-*-pw32*) | |
149 | +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) | |
150 | AC_CHECK_TOOL(AS, as, false) | |
151 | AC_CHECK_TOOL(DLLTOOL, dlltool, false) | |
152 | AC_CHECK_TOOL(OBJDUMP, objdump, false) |