]> git.ipfire.org Git - ipfire-3.x.git/blob - libdnet/patches/libdnet-1.12-shrext.patch
git: Update to 2.23.0
[ipfire-3.x.git] / libdnet / patches / libdnet-1.12-shrext.patch
1 diff -urN libdnet-1.12/configure libdnet-1.12-patched/configure
2 --- libdnet-1.12/configure 2007-01-20 05:39:54.000000000 -0600
3 +++ libdnet-1.12-patched/configure 2007-02-15 09:06:27.000000000 -0600
4 @@ -7053,7 +7053,7 @@
5 # Tell ltmain to make .lib files, not .a files.
6 libext=lib
7 # Tell ltmain to make .dll files, not .so files.
8 - shrext=".dll"
9 + shrext_cmds=".dll"
10 # FIXME: Setting linknames here is a bad hack.
11 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames='
12 # The linker will automatically build a .lib file if we build a DLL.
13 @@ -7580,7 +7580,7 @@
14 library_names_spec=
15 libname_spec='lib$name'
16 soname_spec=
17 -shrext=".so"
18 +shrext_cmds=".so"
19 postinstall_cmds=
20 postuninstall_cmds=
21 finish_cmds=
22 @@ -7693,7 +7693,7 @@
23
24 cygwin* | mingw* | pw32*)
25 version_type=windows
26 - shrext=".dll"
27 + shrext_cmds=".dll"
28 need_version=no
29 need_lib_prefix=no
30
31 @@ -7761,7 +7761,7 @@
32 soname_spec='${libname}${release}${major}$shared_ext'
33 shlibpath_overrides_runpath=yes
34 shlibpath_var=DYLD_LIBRARY_PATH
35 - shrext='$(test .$module = .yes && echo .so || echo .dylib)'
36 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
37 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
38 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
39 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
40 @@ -7830,7 +7830,7 @@
41 need_version=no
42 case "$host_cpu" in
43 ia64*)
44 - shrext='.so'
45 + shrext_cmds='.so'
46 hardcode_into_libs=yes
47 dynamic_linker="$host_os dld.so"
48 shlibpath_var=LD_LIBRARY_PATH
49 @@ -7845,7 +7845,7 @@
50 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
51 ;;
52 hppa*64*)
53 - shrext='.sl'
54 + shrext_cmds='.sl'
55 hardcode_into_libs=yes
56 dynamic_linker="$host_os dld.sl"
57 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
58 @@ -7856,7 +7856,7 @@
59 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
60 ;;
61 *)
62 - shrext='.sl'
63 + shrext_cmds='.sl'
64 dynamic_linker="$host_os dld.sl"
65 shlibpath_var=SHLIB_PATH
66 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
67 @@ -7992,7 +7992,7 @@
68
69 os2*)
70 libname_spec='$name'
71 - shrext=".dll"
72 + shrext_cmds=".dll"
73 need_lib_prefix=no
74 library_names_spec='$libname${shared_ext} $libname.a'
75 dynamic_linker='OS/2 ld.exe'
76 @@ -9201,7 +9201,7 @@
77 libext="$libext"
78
79 # Shared library suffix (normally ".so").
80 -shrext='$shrext'
81 +shrext_cmds='$shrext_cmds'
82
83 # Executable file suffix (normally "").
84 exeext="$exeext"
85 @@ -11257,7 +11257,7 @@
86 library_names_spec=
87 libname_spec='lib$name'
88 soname_spec=
89 -shrext=".so"
90 +shrext_cmds=".so"
91 postinstall_cmds=
92 postuninstall_cmds=
93 finish_cmds=
94 @@ -11370,7 +11370,7 @@
95
96 cygwin* | mingw* | pw32*)
97 version_type=windows
98 - shrext=".dll"
99 + shrext_cmds=".dll"
100 need_version=no
101 need_lib_prefix=no
102
103 @@ -11438,7 +11438,7 @@
104 soname_spec='${libname}${release}${major}$shared_ext'
105 shlibpath_overrides_runpath=yes
106 shlibpath_var=DYLD_LIBRARY_PATH
107 - shrext='$(test .$module = .yes && echo .so || echo .dylib)'
108 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
109 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
110 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
111 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
112 @@ -11507,7 +11507,7 @@
113 need_version=no
114 case "$host_cpu" in
115 ia64*)
116 - shrext='.so'
117 + shrext_cmds='.so'
118 hardcode_into_libs=yes
119 dynamic_linker="$host_os dld.so"
120 shlibpath_var=LD_LIBRARY_PATH
121 @@ -11522,7 +11522,7 @@
122 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
123 ;;
124 hppa*64*)
125 - shrext='.sl'
126 + shrext_cmds='.sl'
127 hardcode_into_libs=yes
128 dynamic_linker="$host_os dld.sl"
129 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
130 @@ -11533,7 +11533,7 @@
131 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
132 ;;
133 *)
134 - shrext='.sl'
135 + shrext_cmds='.sl'
136 dynamic_linker="$host_os dld.sl"
137 shlibpath_var=SHLIB_PATH
138 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
139 @@ -11669,7 +11669,7 @@
140
141 os2*)
142 libname_spec='$name'
143 - shrext=".dll"
144 + shrext_cmds=".dll"
145 need_lib_prefix=no
146 library_names_spec='$libname${shared_ext} $libname.a'
147 dynamic_linker='OS/2 ld.exe'
148 @@ -12751,7 +12751,7 @@
149 libext="$libext"
150
151 # Shared library suffix (normally ".so").
152 -shrext='$shrext'
153 +shrext_cmds='$shrext_cmds'
154
155 # Executable file suffix (normally "").
156 exeext="$exeext"
157 @@ -13832,7 +13832,7 @@
158 # Tell ltmain to make .lib files, not .a files.
159 libext=lib
160 # Tell ltmain to make .dll files, not .so files.
161 - shrext=".dll"
162 + shrext_cmds=".dll"
163 # FIXME: Setting linknames here is a bad hack.
164 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames='
165 # The linker will automatically build a .lib file if we build a DLL.
166 @@ -14359,7 +14359,7 @@
167 library_names_spec=
168 libname_spec='lib$name'
169 soname_spec=
170 -shrext=".so"
171 +shrext_cmds=".so"
172 postinstall_cmds=
173 postuninstall_cmds=
174 finish_cmds=
175 @@ -14472,7 +14472,7 @@
176
177 cygwin* | mingw* | pw32*)
178 version_type=windows
179 - shrext=".dll"
180 + shrext_cmds=".dll"
181 need_version=no
182 need_lib_prefix=no
183
184 @@ -14540,7 +14540,7 @@
185 soname_spec='${libname}${release}${major}$shared_ext'
186 shlibpath_overrides_runpath=yes
187 shlibpath_var=DYLD_LIBRARY_PATH
188 - shrext='$(test .$module = .yes && echo .so || echo .dylib)'
189 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
190 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
191 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
192 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
193 @@ -14609,7 +14609,7 @@
194 need_version=no
195 case "$host_cpu" in
196 ia64*)
197 - shrext='.so'
198 + shrext_cmds='.so'
199 hardcode_into_libs=yes
200 dynamic_linker="$host_os dld.so"
201 shlibpath_var=LD_LIBRARY_PATH
202 @@ -14624,7 +14624,7 @@
203 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
204 ;;
205 hppa*64*)
206 - shrext='.sl'
207 + shrext_cmds='.sl'
208 hardcode_into_libs=yes
209 dynamic_linker="$host_os dld.sl"
210 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
211 @@ -14635,7 +14635,7 @@
212 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
213 ;;
214 *)
215 - shrext='.sl'
216 + shrext_cmds='.sl'
217 dynamic_linker="$host_os dld.sl"
218 shlibpath_var=SHLIB_PATH
219 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
220 @@ -14771,7 +14771,7 @@
221
222 os2*)
223 libname_spec='$name'
224 - shrext=".dll"
225 + shrext_cmds=".dll"
226 need_lib_prefix=no
227 library_names_spec='$libname${shared_ext} $libname.a'
228 dynamic_linker='OS/2 ld.exe'
229 @@ -15047,7 +15047,7 @@
230 libext="$libext"
231
232 # Shared library suffix (normally ".so").
233 -shrext='$shrext'
234 +shrext_cmds='$shrext_cmds'
235
236 # Executable file suffix (normally "").
237 exeext="$exeext"
238 @@ -16130,7 +16130,7 @@
239 # Tell ltmain to make .lib files, not .a files.
240 libext=lib
241 # Tell ltmain to make .dll files, not .so files.
242 - shrext=".dll"
243 + shrext_cmds=".dll"
244 # FIXME: Setting linknames here is a bad hack.
245 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames='
246 # The linker will automatically build a .lib file if we build a DLL.
247 @@ -16657,7 +16657,7 @@
248 library_names_spec=
249 libname_spec='lib$name'
250 soname_spec=
251 -shrext=".so"
252 +shrext_cmds=".so"
253 postinstall_cmds=
254 postuninstall_cmds=
255 finish_cmds=
256 @@ -16770,7 +16770,7 @@
257
258 cygwin* | mingw* | pw32*)
259 version_type=windows
260 - shrext=".dll"
261 + shrext_cmds=".dll"
262 need_version=no
263 need_lib_prefix=no
264
265 @@ -16838,7 +16838,7 @@
266 soname_spec='${libname}${release}${major}$shared_ext'
267 shlibpath_overrides_runpath=yes
268 shlibpath_var=DYLD_LIBRARY_PATH
269 - shrext='$(test .$module = .yes && echo .so || echo .dylib)'
270 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
271 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
272 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
273 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
274 @@ -16907,7 +16907,7 @@
275 need_version=no
276 case "$host_cpu" in
277 ia64*)
278 - shrext='.so'
279 + shrext_cmds='.so'
280 hardcode_into_libs=yes
281 dynamic_linker="$host_os dld.so"
282 shlibpath_var=LD_LIBRARY_PATH
283 @@ -16922,7 +16922,7 @@
284 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
285 ;;
286 hppa*64*)
287 - shrext='.sl'
288 + shrext_cmds='.sl'
289 hardcode_into_libs=yes
290 dynamic_linker="$host_os dld.sl"
291 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
292 @@ -16933,7 +16933,7 @@
293 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
294 ;;
295 *)
296 - shrext='.sl'
297 + shrext_cmds='.sl'
298 dynamic_linker="$host_os dld.sl"
299 shlibpath_var=SHLIB_PATH
300 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
301 @@ -17069,7 +17069,7 @@
302
303 os2*)
304 libname_spec='$name'
305 - shrext=".dll"
306 + shrext_cmds=".dll"
307 need_lib_prefix=no
308 library_names_spec='$libname${shared_ext} $libname.a'
309 dynamic_linker='OS/2 ld.exe'
310 @@ -18151,7 +18151,7 @@
311 libext="$libext"
312
313 # Shared library suffix (normally ".so").
314 -shrext='$shrext'
315 +shrext_cmds='$shrext_cmds'
316
317 # Executable file suffix (normally "").
318 exeext="$exeext"
319 @@ -18595,7 +18595,7 @@
320 libext="$libext"
321
322 # Shared library suffix (normally ".so").
323 -shrext='$shrext'
324 +shrext_cmds='$shrext_cmds'
325
326 # Executable file suffix (normally "").
327 exeext="$exeext"