Blame SOURCES/libdnet-shrext.patch

f46281
diff -urN libdnet-1.12/configure libdnet-1.12-patched/configure
f46281
--- libdnet-1.12/configure	2007-01-20 05:39:54.000000000 -0600
f46281
+++ libdnet-1.12-patched/configure	2007-02-15 09:06:27.000000000 -0600
f46281
@@ -7053,7 +7053,7 @@
f46281
       # Tell ltmain to make .lib files, not .a files.
f46281
       libext=lib
f46281
       # Tell ltmain to make .dll files, not .so files.
f46281
-      shrext=".dll"
f46281
+      shrext_cmds=".dll"
f46281
       # FIXME: Setting linknames here is a bad hack.
f46281
       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames='
f46281
       # The linker will automatically build a .lib file if we build a DLL.
f46281
@@ -7580,7 +7580,7 @@
f46281
 library_names_spec=
f46281
 libname_spec='lib$name'
f46281
 soname_spec=
f46281
-shrext=".so"
f46281
+shrext_cmds=".so"
f46281
 postinstall_cmds=
f46281
 postuninstall_cmds=
f46281
 finish_cmds=
f46281
@@ -7693,7 +7693,7 @@
f46281
 
f46281
 cygwin* | mingw* | pw32*)
f46281
   version_type=windows
f46281
-  shrext=".dll"
f46281
+  shrext_cmds=".dll"
f46281
   need_version=no
f46281
   need_lib_prefix=no
f46281
 
f46281
@@ -7761,7 +7761,7 @@
f46281
   soname_spec='${libname}${release}${major}$shared_ext'
f46281
   shlibpath_overrides_runpath=yes
f46281
   shlibpath_var=DYLD_LIBRARY_PATH
f46281
-  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
f46281
+  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
f46281
   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
f46281
   if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
f46281
   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"`
f46281
@@ -7830,7 +7830,7 @@
f46281
   need_version=no
f46281
   case "$host_cpu" in
f46281
   ia64*)
f46281
-    shrext='.so'
f46281
+    shrext_cmds='.so'
f46281
     hardcode_into_libs=yes
f46281
     dynamic_linker="$host_os dld.so"
f46281
     shlibpath_var=LD_LIBRARY_PATH
f46281
@@ -7845,7 +7845,7 @@
f46281
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
f46281
     ;;
f46281
    hppa*64*)
f46281
-     shrext='.sl'
f46281
+     shrext_cmds='.sl'
f46281
      hardcode_into_libs=yes
f46281
      dynamic_linker="$host_os dld.sl"
f46281
      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
f46281
@@ -7856,7 +7856,7 @@
f46281
      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
f46281
      ;;
f46281
    *)
f46281
-    shrext='.sl'
f46281
+    shrext_cmds='.sl'
f46281
     dynamic_linker="$host_os dld.sl"
f46281
     shlibpath_var=SHLIB_PATH
f46281
     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
f46281
@@ -7992,7 +7992,7 @@
f46281
 
f46281
 os2*)
f46281
   libname_spec='$name'
f46281
-  shrext=".dll"
f46281
+  shrext_cmds=".dll"
f46281
   need_lib_prefix=no
f46281
   library_names_spec='$libname${shared_ext} $libname.a'
f46281
   dynamic_linker='OS/2 ld.exe'
f46281
@@ -9201,7 +9201,7 @@
f46281
 libext="$libext"
f46281
 
f46281
 # Shared library suffix (normally ".so").
f46281
-shrext='$shrext'
f46281
+shrext_cmds='$shrext_cmds'
f46281
 
f46281
 # Executable file suffix (normally "").
f46281
 exeext="$exeext"
f46281
@@ -11257,7 +11257,7 @@
f46281
 library_names_spec=
f46281
 libname_spec='lib$name'
f46281
 soname_spec=
f46281
-shrext=".so"
f46281
+shrext_cmds=".so"
f46281
 postinstall_cmds=
f46281
 postuninstall_cmds=
f46281
 finish_cmds=
f46281
@@ -11370,7 +11370,7 @@
f46281
 
f46281
 cygwin* | mingw* | pw32*)
f46281
   version_type=windows
f46281
-  shrext=".dll"
f46281
+  shrext_cmds=".dll"
f46281
   need_version=no
f46281
   need_lib_prefix=no
f46281
 
f46281
@@ -11438,7 +11438,7 @@
f46281
   soname_spec='${libname}${release}${major}$shared_ext'
f46281
   shlibpath_overrides_runpath=yes
f46281
   shlibpath_var=DYLD_LIBRARY_PATH
f46281
-  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
f46281
+  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
f46281
   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
f46281
   if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
f46281
   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"`
f46281
@@ -11507,7 +11507,7 @@
f46281
   need_version=no
f46281
   case "$host_cpu" in
f46281
   ia64*)
f46281
-    shrext='.so'
f46281
+    shrext_cmds='.so'
f46281
     hardcode_into_libs=yes
f46281
     dynamic_linker="$host_os dld.so"
f46281
     shlibpath_var=LD_LIBRARY_PATH
f46281
@@ -11522,7 +11522,7 @@
f46281
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
f46281
     ;;
f46281
    hppa*64*)
f46281
-     shrext='.sl'
f46281
+     shrext_cmds='.sl'
f46281
      hardcode_into_libs=yes
f46281
      dynamic_linker="$host_os dld.sl"
f46281
      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
f46281
@@ -11533,7 +11533,7 @@
f46281
      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
f46281
      ;;
f46281
    *)
f46281
-    shrext='.sl'
f46281
+    shrext_cmds='.sl'
f46281
     dynamic_linker="$host_os dld.sl"
f46281
     shlibpath_var=SHLIB_PATH
f46281
     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
f46281
@@ -11669,7 +11669,7 @@
f46281
 
f46281
 os2*)
f46281
   libname_spec='$name'
f46281
-  shrext=".dll"
f46281
+  shrext_cmds=".dll"
f46281
   need_lib_prefix=no
f46281
   library_names_spec='$libname${shared_ext} $libname.a'
f46281
   dynamic_linker='OS/2 ld.exe'
f46281
@@ -12751,7 +12751,7 @@
f46281
 libext="$libext"
f46281
 
f46281
 # Shared library suffix (normally ".so").
f46281
-shrext='$shrext'
f46281
+shrext_cmds='$shrext_cmds'
f46281
 
f46281
 # Executable file suffix (normally "").
f46281
 exeext="$exeext"
f46281
@@ -13832,7 +13832,7 @@
f46281
       # Tell ltmain to make .lib files, not .a files.
f46281
       libext=lib
f46281
       # Tell ltmain to make .dll files, not .so files.
f46281
-      shrext=".dll"
f46281
+      shrext_cmds=".dll"
f46281
       # FIXME: Setting linknames here is a bad hack.
f46281
       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames='
f46281
       # The linker will automatically build a .lib file if we build a DLL.
f46281
@@ -14359,7 +14359,7 @@
f46281
 library_names_spec=
f46281
 libname_spec='lib$name'
f46281
 soname_spec=
f46281
-shrext=".so"
f46281
+shrext_cmds=".so"
f46281
 postinstall_cmds=
f46281
 postuninstall_cmds=
f46281
 finish_cmds=
f46281
@@ -14472,7 +14472,7 @@
f46281
 
f46281
 cygwin* | mingw* | pw32*)
f46281
   version_type=windows
f46281
-  shrext=".dll"
f46281
+  shrext_cmds=".dll"
f46281
   need_version=no
f46281
   need_lib_prefix=no
f46281
 
f46281
@@ -14540,7 +14540,7 @@
f46281
   soname_spec='${libname}${release}${major}$shared_ext'
f46281
   shlibpath_overrides_runpath=yes
f46281
   shlibpath_var=DYLD_LIBRARY_PATH
f46281
-  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
f46281
+  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
f46281
   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
f46281
   if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
f46281
   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"`
f46281
@@ -14609,7 +14609,7 @@
f46281
   need_version=no
f46281
   case "$host_cpu" in
f46281
   ia64*)
f46281
-    shrext='.so'
f46281
+    shrext_cmds='.so'
f46281
     hardcode_into_libs=yes
f46281
     dynamic_linker="$host_os dld.so"
f46281
     shlibpath_var=LD_LIBRARY_PATH
f46281
@@ -14624,7 +14624,7 @@
f46281
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
f46281
     ;;
f46281
    hppa*64*)
f46281
-     shrext='.sl'
f46281
+     shrext_cmds='.sl'
f46281
      hardcode_into_libs=yes
f46281
      dynamic_linker="$host_os dld.sl"
f46281
      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
f46281
@@ -14635,7 +14635,7 @@
f46281
      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
f46281
      ;;
f46281
    *)
f46281
-    shrext='.sl'
f46281
+    shrext_cmds='.sl'
f46281
     dynamic_linker="$host_os dld.sl"
f46281
     shlibpath_var=SHLIB_PATH
f46281
     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
f46281
@@ -14771,7 +14771,7 @@
f46281
 
f46281
 os2*)
f46281
   libname_spec='$name'
f46281
-  shrext=".dll"
f46281
+  shrext_cmds=".dll"
f46281
   need_lib_prefix=no
f46281
   library_names_spec='$libname${shared_ext} $libname.a'
f46281
   dynamic_linker='OS/2 ld.exe'
f46281
@@ -15047,7 +15047,7 @@
f46281
 libext="$libext"
f46281
 
f46281
 # Shared library suffix (normally ".so").
f46281
-shrext='$shrext'
f46281
+shrext_cmds='$shrext_cmds'
f46281
 
f46281
 # Executable file suffix (normally "").
f46281
 exeext="$exeext"
f46281
@@ -16130,7 +16130,7 @@
f46281
       # Tell ltmain to make .lib files, not .a files.
f46281
       libext=lib
f46281
       # Tell ltmain to make .dll files, not .so files.
f46281
-      shrext=".dll"
f46281
+      shrext_cmds=".dll"
f46281
       # FIXME: Setting linknames here is a bad hack.
f46281
       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames='
f46281
       # The linker will automatically build a .lib file if we build a DLL.
f46281
@@ -16657,7 +16657,7 @@
f46281
 library_names_spec=
f46281
 libname_spec='lib$name'
f46281
 soname_spec=
f46281
-shrext=".so"
f46281
+shrext_cmds=".so"
f46281
 postinstall_cmds=
f46281
 postuninstall_cmds=
f46281
 finish_cmds=
f46281
@@ -16770,7 +16770,7 @@
f46281
 
f46281
 cygwin* | mingw* | pw32*)
f46281
   version_type=windows
f46281
-  shrext=".dll"
f46281
+  shrext_cmds=".dll"
f46281
   need_version=no
f46281
   need_lib_prefix=no
f46281
 
f46281
@@ -16838,7 +16838,7 @@
f46281
   soname_spec='${libname}${release}${major}$shared_ext'
f46281
   shlibpath_overrides_runpath=yes
f46281
   shlibpath_var=DYLD_LIBRARY_PATH
f46281
-  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
f46281
+  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
f46281
   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
f46281
   if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
f46281
   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"`
f46281
@@ -16907,7 +16907,7 @@
f46281
   need_version=no
f46281
   case "$host_cpu" in
f46281
   ia64*)
f46281
-    shrext='.so'
f46281
+    shrext_cmds='.so'
f46281
     hardcode_into_libs=yes
f46281
     dynamic_linker="$host_os dld.so"
f46281
     shlibpath_var=LD_LIBRARY_PATH
f46281
@@ -16922,7 +16922,7 @@
f46281
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
f46281
     ;;
f46281
    hppa*64*)
f46281
-     shrext='.sl'
f46281
+     shrext_cmds='.sl'
f46281
      hardcode_into_libs=yes
f46281
      dynamic_linker="$host_os dld.sl"
f46281
      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
f46281
@@ -16933,7 +16933,7 @@
f46281
      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
f46281
      ;;
f46281
    *)
f46281
-    shrext='.sl'
f46281
+    shrext_cmds='.sl'
f46281
     dynamic_linker="$host_os dld.sl"
f46281
     shlibpath_var=SHLIB_PATH
f46281
     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
f46281
@@ -17069,7 +17069,7 @@
f46281
 
f46281
 os2*)
f46281
   libname_spec='$name'
f46281
-  shrext=".dll"
f46281
+  shrext_cmds=".dll"
f46281
   need_lib_prefix=no
f46281
   library_names_spec='$libname${shared_ext} $libname.a'
f46281
   dynamic_linker='OS/2 ld.exe'
f46281
@@ -18151,7 +18151,7 @@
f46281
 libext="$libext"
f46281
 
f46281
 # Shared library suffix (normally ".so").
f46281
-shrext='$shrext'
f46281
+shrext_cmds='$shrext_cmds'
f46281
 
f46281
 # Executable file suffix (normally "").
f46281
 exeext="$exeext"
f46281
@@ -18595,7 +18595,7 @@
f46281
 libext="$libext"
f46281
 
f46281
 # Shared library suffix (normally ".so").
f46281
-shrext='$shrext'
f46281
+shrext_cmds='$shrext_cmds'
f46281
 
f46281
 # Executable file suffix (normally "").
f46281
 exeext="$exeext"