update libtool to 1.4.2
[freeradius.git] / ltconfig
index 7250f24..a01334f 100755 (executable)
--- a/ltconfig
+++ b/ltconfig
@@ -202,7 +202,6 @@ need_locks=yes
 ac_ext=c
 objext=o
 libext=a
-dynlibext=so
 exeext=
 cache_file=
 
@@ -475,24 +474,8 @@ old_archive_cmds='$AR cru $oldlib$oldobjs'
 old_postinstall_cmds='chmod 644 $oldlib'
 old_postuninstall_cmds=
 
-# If AR is not set, then run the test.
-if test "${AR+set}" != "set"; then
-  result=no
-
-  echo $ac_n "checking for ar... $ac_c" 1>&6
-  IFS="${IFS=  }"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
-  for ac_dir in /bin /usr/bin /usr/local/bin /usr/ucb /usr/ccs/bin $PATH ; do
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/ar || test -f $ac_dir/ar$ac_exeext; then
-      AR=$ac_dir/ar
-      result="ar"
-      break
-    fi
-  done
-  IFS="$save_ifs"
-
-  echo "$ac_t$result" 1>&6
-fi
+# Set a sane default for `AR'.
+test -z "$AR" && AR=ar
 
 # Set a sane default for `OBJDUMP'.
 test -z "$OBJDUMP" && OBJDUMP=objdump
@@ -1338,7 +1321,6 @@ else
     allow_undefined_flag=unsupported
     # Tell ltmain to make .lib files, not .a files.
     libext=lib
-    dynlibext=dll
     # FIXME: Setting linknames here is a bad hack.
     archive_cmds='$CC -o $lib $libobjs $linkopts `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
     # The linker will automatically build a .lib file if we build a DLL.
@@ -1937,7 +1919,6 @@ hpux9* | hpux10* | hpux11*)
   soname_spec='${libname}${release}.sl$major'
   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   postinstall_cmds='chmod 555 $lib'
-  dynlibext=sl
   ;;
 
 irix5* | irix6*)
@@ -2031,7 +2012,6 @@ os2*)
   library_names_spec='$libname.dll $libname.a'
   dynamic_linker='OS/2 ld.exe'
   shlibpath_var=LIBPATH
-  dynlibext=dll
   ;;
 
 osf3* | osf4* | osf5*)
@@ -2853,9 +2833,6 @@ objext="$objext"
 # Old archive suffix (normally "a").
 libext="$libext"
 
-# Dynamic archive suffix (normally "so").
-dynlibext="$dynlibext"
-
 # Executable file suffix (normally "").
 exeext="$exeext"