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
5 # Tell ltmain to make .lib files, not .a files.
7 # Tell ltmain to make .dll files, not .so files.
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.
15 libname_spec='lib$name'
24 cygwin* | mingw* | pw32*)
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"`
46 hardcode_into_libs=yes
47 dynamic_linker="$host_os dld.so"
48 shlibpath_var=LD_LIBRARY_PATH
50 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
55 hardcode_into_libs=yes
56 dynamic_linker="$host_os dld.sl"
57 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
59 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
64 dynamic_linker="$host_os dld.sl"
65 shlibpath_var=SHLIB_PATH
66 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
74 library_names_spec='$libname${shared_ext} $libname.a'
75 dynamic_linker='OS/2 ld.exe'
79 # Shared library suffix (normally ".so").
81 +shrext_cmds='$shrext_cmds'
83 # Executable file suffix (normally "").
85 @@ -11257,7 +11257,7 @@
87 libname_spec='lib$name'
94 @@ -11370,7 +11370,7 @@
96 cygwin* | mingw* | pw32*)
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 @@
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
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
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 @@
146 library_names_spec='$libname${shared_ext} $libname.a'
147 dynamic_linker='OS/2 ld.exe'
148 @@ -12751,7 +12751,7 @@
151 # Shared library suffix (normally ".so").
153 +shrext_cmds='$shrext_cmds'
155 # Executable file suffix (normally "").
157 @@ -13832,7 +13832,7 @@
158 # Tell ltmain to make .lib files, not .a files.
160 # Tell ltmain to make .dll files, not .so files.
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 @@
168 libname_spec='lib$name'
175 @@ -14472,7 +14472,7 @@
177 cygwin* | mingw* | pw32*)
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 @@
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
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
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 @@
227 library_names_spec='$libname${shared_ext} $libname.a'
228 dynamic_linker='OS/2 ld.exe'
229 @@ -15047,7 +15047,7 @@
232 # Shared library suffix (normally ".so").
234 +shrext_cmds='$shrext_cmds'
236 # Executable file suffix (normally "").
238 @@ -16130,7 +16130,7 @@
239 # Tell ltmain to make .lib files, not .a files.
241 # Tell ltmain to make .dll files, not .so files.
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 @@
249 libname_spec='lib$name'
256 @@ -16770,7 +16770,7 @@
258 cygwin* | mingw* | pw32*)
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 @@
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
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
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 @@
308 library_names_spec='$libname${shared_ext} $libname.a'
309 dynamic_linker='OS/2 ld.exe'
310 @@ -18151,7 +18151,7 @@
313 # Shared library suffix (normally ".so").
315 +shrext_cmds='$shrext_cmds'
317 # Executable file suffix (normally "").
319 @@ -18595,7 +18595,7 @@
322 # Shared library suffix (normally ".so").
324 +shrext_cmds='$shrext_cmds'
326 # Executable file suffix (normally "").