diff -ruN lftp-3.1.2/Makefile.in lftp-3.1.3/Makefile.in --- lftp-3.1.2/Makefile.in Thu Mar 31 18:28:57 2005 +++ lftp-3.1.3/Makefile.in Fri Apr 15 15:54:18 2005 @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.3 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -274,7 +274,13 @@ # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): - @set fnord $$MAKEFLAGS; amf=$$2; \ + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ @@ -286,7 +292,7 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ @@ -294,7 +300,13 @@ mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: - @set fnord $$MAKEFLAGS; amf=$$2; \ + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ @@ -315,7 +327,7 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ diff -ruN lftp-3.1.2/NEWS lftp-3.1.3/NEWS --- lftp-3.1.2/NEWS Mon Apr 4 11:35:42 2005 +++ lftp-3.1.3/NEWS Fri Apr 15 09:22:52 2005 @@ -1,3 +1,11 @@ +Version 3.1.3 - 2004-04-15 + +* added mirror --loop option to re-mirror until no changes found. +* fixed mirror creating too many children mirrors. +* fixed cls and mirror with http backend, when PROPFIND returns 404 error. +* fixed mirror --use-cache with sftp backend. +* fixed a rare hang in sftp. + Version 3.1.2 - 2005-04-04 * cache negative results, new setting cache:expire-negative. diff -ruN lftp-3.1.2/TODO lftp-3.1.3/TODO --- lftp-3.1.2/TODO Fri Dec 17 09:53:56 2004 +++ lftp-3.1.3/TODO Tue Apr 5 09:41:25 2005 @@ -50,7 +50,8 @@ * use NDIR (from RFC1127) in FtpListInfo, when long list cannot be parsed. - * optimize help text, introduce a phrase separator for separate translations. +?* optimize help text, introduce a phrase separator for separate translations. +?* help in external files * a setting to make commands quiet (cmd:quiet? or cmd:verbose with int value) @@ -63,9 +64,11 @@ * mirror option to check an alternative directory(ies) for existing files. (overlay filesystem replacement?) - * support keys with passphrases (sftp and fish). - * APPE support. * cmd:parallel for scripting - execute several commands in parallel (change CmdExec::Done to return true when waiting_num/dev/null 2>&1 && unset CDPATH if test -z "$ECHO"; then if test "X${echo_test_string+set}" != Xset; then @@ -667,11 +669,37 @@ lt_cv_sys_max_cmd_len=8192; ;; - *) + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for *BSD + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + ;; + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + *) # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. - while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ = "XX$teststring") >/dev/null 2>&1 && new_result=`expr "X$teststring" : ".*" 2>&1` && lt_cv_sys_max_cmd_len=$new_result && @@ -1005,8 +1033,8 @@ [AC_MSG_CHECKING([how to hardcode library paths into programs]) _LT_AC_TAGVAR(hardcode_action, $1)= if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ - test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \ - test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then + test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then # We can hardcode non-existant directories. if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && @@ -1173,7 +1201,7 @@ shlibpath_var=LIBRARY_PATH ;; -bsdi4*) +bsdi[[45]]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' @@ -1231,7 +1259,7 @@ ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' ;; esac ;; @@ -1289,7 +1317,9 @@ dynamic_linker='GNU ld.so' ;; -freebsd*) +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` version_type=freebsd-$objformat case $version_type in @@ -1308,7 +1338,7 @@ freebsd2*) shlibpath_overrides_runpath=yes ;; - freebsd3.[01]* | freebsdelf3.[01]*) + freebsd3.[[01]]* | freebsdelf3.[[01]]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; @@ -1434,7 +1464,7 @@ # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '` + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi @@ -1497,7 +1527,7 @@ openbsd*) version_type=sunos need_lib_prefix=no - need_version=yes + need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH @@ -1663,7 +1693,9 @@ case $tagname in CXX) - if test -n "$CXX" && test "X$CXX" != "Xno"; then + if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then AC_LIBTOOL_LANG_CXX_CONFIG else tagname="" @@ -2068,6 +2100,15 @@ *) reload_flag=" $reload_flag" ;; esac reload_cmds='$LD$reload_flag -o $output$reload_objs' +case $host_os in + darwin*) + if test "$GCC" = yes; then + reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs' + else + reload_cmds='$LD$reload_flag -o $output$reload_objs' + fi + ;; +esac ])# AC_PROG_LD_RELOAD_FLAG @@ -2101,7 +2142,7 @@ lt_cv_deplibs_check_method=pass_all ;; -bsdi4*) +bsdi[[45]]*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so @@ -2124,13 +2165,13 @@ lt_cv_deplibs_check_method=pass_all ;; -freebsd* | kfreebsd*-gnu) +freebsd* | kfreebsd*-gnu | dragonfly*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; @@ -2174,15 +2215,6 @@ # This must be Linux ELF. linux*) - case $host_cpu in - alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*) - lt_cv_deplibs_check_method=pass_all ;; - *) - # glibc up to 2.1.1 does not perform some relocations on ARM - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; - esac - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` lt_cv_deplibs_check_method=pass_all ;; @@ -2205,12 +2237,10 @@ ;; openbsd*) - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' else - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' fi ;; @@ -2400,10 +2430,21 @@ # --------------- AC_DEFUN([_LT_AC_LANG_CXX], [AC_REQUIRE([AC_PROG_CXX]) -AC_REQUIRE([AC_PROG_CXXCPP]) +AC_REQUIRE([_LT_AC_PROG_CXXCPP]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) ])# _LT_AC_LANG_CXX +# _LT_AC_PROG_CXXCPP +# --------------- +AC_DEFUN([_LT_AC_PROG_CXXCPP], +[ +AC_REQUIRE([AC_PROG_CXX]) +if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + AC_PROG_CXXCPP +fi +])# _LT_AC_PROG_CXXCPP # AC_LIBTOOL_F77 # -------------- @@ -2539,43 +2580,6 @@ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi - ;; - darwin* | rhapsody*) - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - case "$host_os" in - rhapsody* | darwin1.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' - ;; - 10.*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' - ;; - esac - fi - ;; - esac - output_verbose_link_cmd='echo' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi ;; esac AC_MSG_RESULT([$enable_shared]) @@ -2601,7 +2605,7 @@ AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], [AC_LANG_PUSH(C++) AC_REQUIRE([AC_PROG_CXX]) -AC_REQUIRE([AC_PROG_CXXCPP]) +AC_REQUIRE([_LT_AC_PROG_CXXCPP]) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(allow_undefined_flag, $1)= @@ -2773,7 +2777,7 @@ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GXX" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) + case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` @@ -2794,6 +2798,9 @@ fi esac shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi else # not using gcc if test "$host_cpu" = ia64; then @@ -2853,6 +2860,7 @@ esac ;; + cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. @@ -2876,57 +2884,68 @@ _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; + darwin* | rhapsody*) + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + ;; + 10.*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' + ;; + esac + fi + ;; + esac + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - darwin* | rhapsody*) - if test "$GXX" = yes; then - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - case "$host_os" in - rhapsody* | darwin1.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + if test "$GXX" = yes ; then + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' - ;; - 10.*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' - ;; - esac + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + case "$cc_basename" in + xlc*) + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; + *) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac fi - ;; - esac - lt_int_apple_cc_single_mod=no - output_verbose_link_cmd='echo' - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then - lt_int_apple_cc_single_mod=yes - fi - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - fi - _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - fi - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; + ;; dgux*) case $cc_basename in @@ -2945,14 +2964,14 @@ ;; esac ;; - freebsd[12]*) + freebsd[[12]]*) # C++ shared libraries reported to be fairly broken before switch to ELF _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; freebsd-elf*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; - freebsd* | kfreebsd*-gnu) + freebsd* | kfreebsd*-gnu | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_AC_TAGVAR(ld_shlibs, $1)=yes @@ -2983,7 +3002,7 @@ # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then @@ -3132,13 +3151,36 @@ icpc) # Intel C++ with_gnu_ld=yes + # version 8.0 and above of icpc choke on multiply defined symbols + # if we add $predep_objects and $postdep_objects, however 7.1 and + # earlier do not add the objects themselves. + case `$CC -V 2>&1` in + *"Version 7."*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + *) # Version 8.0 or newer + tmp_idyn= + case $host_cpu in + ia64*) tmp_idyn=' -i_dynamic';; + esac + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + esac _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; + pgCC) + # Portland Group C++ compiler + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + ;; cxx) # Compaq C++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' @@ -3191,6 +3233,22 @@ # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; + openbsd2*) + # C++ shared libraries are fairly broken + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + openbsd*) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + fi + output_verbose_link_cmd='echo' + ;; osf3*) case $cc_basename in KCC) @@ -3361,7 +3419,7 @@ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The C++ compiler is used as linker so we must use $wl # flag to pass the commands to the underlying system @@ -3738,7 +3796,7 @@ lt_simple_compile_test_code="class foo {}\n" # Code to be used in simple link tests -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n' +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_AC_SYS_COMPILER @@ -3949,7 +4007,7 @@ # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH # The names of the tagged configurations supported by this script. available_tags= @@ -3980,6 +4038,12 @@ # The host system. host_alias=$host_alias host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo @@ -4330,9 +4394,6 @@ # Regexp to match symbols that can be accessed directly from C. sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' -# Transform the above into a raw symbol and a C symbol. -symxfrm='\1 \2\3 \3' - # Transform an extracted symbol line into a proper C declaration lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" @@ -4354,6 +4415,13 @@ lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ;; +linux*) + if test "$host_cpu" = ia64; then + symcode='[[ABCDGIRSTW]]' + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + fi + ;; irix* | nonstopux*) symcode='[[BCDEGRST]]' ;; @@ -4385,8 +4453,11 @@ # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" + # Write the raw and C identifiers. - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" # Check to see that the pipe works correctly. pipe_works=no @@ -4581,6 +4652,16 @@ ;; esac ;; + darwin*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + case "$cc_basename" in + xlc*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + ;; + esac + ;; dgux*) case $cc_basename in ec++) @@ -4594,7 +4675,7 @@ ;; esac ;; - freebsd* | kfreebsd*-gnu) + freebsd* | kfreebsd*-gnu | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) @@ -4640,12 +4721,18 @@ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; - icpc) + icpc* | ecpc*) # Intel C++ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; + pgCC) + # Portland Group C++ compiler. + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; cxx) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha @@ -4834,6 +4921,16 @@ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; + darwin*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + case "$cc_basename" in + xlc*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + ;; + esac + ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being @@ -4869,12 +4966,19 @@ ;; linux*) - case $CC in + case $cc_basename in icc* | ecc*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; + pgcc | pgf77 | pgf90) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; ccc*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All Alpha code is PIC. @@ -4919,6 +5023,11 @@ fi ;; + unicos*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + uts4*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' @@ -4979,7 +5088,7 @@ _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" ;; cygwin* | mingw*) - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' + _LT_AC_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' ;; *) _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' @@ -5092,7 +5201,7 @@ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' @@ -5106,7 +5215,7 @@ fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' else - ld_shlibs=no + _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; @@ -5150,11 +5259,21 @@ linux*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds" + tmp_addflag= + case $CC,$host_cpu in + pgf77* | pgf90* ) # Portland Group f77 and f90 compilers + tmp_addflag=' -fpic' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + esac + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' supports_anon_versioning=no case `$LD -v 2>/dev/null` in - *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions @@ -5164,9 +5283,9 @@ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' else - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)=$_LT_AC_TAGVAR(archive_cmds, $1) fi else _LT_AC_TAGVAR(ld_shlibs, $1)=no @@ -5256,7 +5375,7 @@ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GCC" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) + case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` @@ -5277,6 +5396,9 @@ fi esac shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi else # not using gcc if test "$host_cpu" = ia64; then @@ -5335,7 +5457,7 @@ _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; - bsdi4*) + bsdi[[45]]*) _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; @@ -5356,57 +5478,57 @@ _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' # FIXME: Should let the user specify the lib program. _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' + _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; darwin* | rhapsody*) - if test "$GXX" = yes ; then - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no case "$host_os" in - rhapsody* | darwin1.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' - ;; - 10.*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' - ;; - esac - fi - ;; + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + ;; + 10.*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' + ;; + esac + fi + ;; esac - lt_int_apple_cc_single_mod=no - output_verbose_link_cmd='echo' - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then - lt_int_apple_cc_single_mod=yes - fi - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - fi - _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - fi - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_automatic, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else - _LT_AC_TAGVAR(ld_shlibs, $1)=no + case "$cc_basename" in + xlc*) + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; + *) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac fi ;; @@ -5440,7 +5562,7 @@ ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | kfreebsd*-gnu) + freebsd* | kfreebsd*-gnu | dragonfly*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes @@ -5551,6 +5673,7 @@ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' else @@ -5628,7 +5751,7 @@ case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # Supported since Solaris 2.6 (maybe 2.5.1?) - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; esac _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; @@ -5889,7 +6012,7 @@ # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do - test ! -f $lt_ac_sed && break + test ! -f $lt_ac_sed && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in @@ -5914,28 +6037,16 @@ fi done done -SED=$lt_cv_path_SED ]) +SED=$lt_cv_path_SED AC_MSG_RESULT([$SED]) ]) -# -*- Autoconf -*- -# Copyright (C) 2002, 2003 Free Software Foundation, Inc. -# Generated from amversion.in; do not edit by hand. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- @@ -5948,26 +6059,15 @@ # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], - [AM_AUTOMAKE_VERSION([1.9.3])]) - -# AM_AUX_DIR_EXPAND - -# Copyright (C) 2001, 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. + [AM_AUTOMAKE_VERSION([1.9.5])]) -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# AM_AUX_DIR_EXPAND -*- Autoconf -*- -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to @@ -6014,26 +6114,16 @@ am_aux_dir=`cd $ac_aux_dir && pwd` ]) -# AM_CONDITIONAL -*- Autoconf -*- - -# Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. +# AM_CONDITIONAL -*- Autoconf -*- -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# serial 6 +# serial 7 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- @@ -6057,26 +6147,15 @@ Usually this means the macro was only invoked conditionally.]]) fi])]) -# serial 7 -*- Autoconf -*- -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - +# serial 8 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, @@ -6085,7 +6164,6 @@ # CC etc. in the Makefile, will ask for an AC_PROG_CC use... - # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. @@ -6225,27 +6303,16 @@ AC_SUBST([AMDEPBACKSLASH]) ]) -# Generate code to set up dependency tracking. -*- Autoconf -*- +# Generate code to set up dependency tracking. -*- Autoconf -*- -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 -# Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -#serial 2 +#serial 3 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ @@ -6304,54 +6371,31 @@ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) -# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# serial 7 +# serial 8 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) -# Do all the work for Automake. -*- Autoconf -*- - -# This macro actually does too much some checks are only needed if -# your package does certain things. But this isn't really a big deal. +# Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# serial 12 -# serial 11 +# This macro actually does too much. Some checks are only needed if +# your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) @@ -6453,51 +6497,27 @@ done echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. - -# Copyright (C) 2001, 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) -# -*- Autoconf -*- -# Copyright (C) 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# serial 1 +# serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. @@ -6512,26 +6532,15 @@ rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) -# Check to see how 'make' treats includes. -*- Autoconf -*- - -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. +# Check to see how 'make' treats includes. -*- Autoconf -*- -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# serial 2 +# serial 3 # AM_MAKE_INCLUDE() # ----------------- @@ -6575,27 +6584,16 @@ rm -f confinc confmf ]) -# -*- Autoconf -*- - - -# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# serial 3 +# serial 4 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ @@ -6621,27 +6619,16 @@ fi ]) +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + # AM_PROG_MKDIR_P # --------------- # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. - -# Copyright (C) 2003, 2004 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - +# # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories # created by `make install' are always world readable, even if the # installer happens to have an overly restrictive umask (e.g. 077). @@ -6695,26 +6682,15 @@ fi AC_SUBST([mkdir_p])]) -# Helper functions for option handling. -*- Autoconf -*- +# Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# serial 2 +# serial 3 # _AM_MANGLE_OPTION(NAME) # ----------------------- @@ -6739,26 +6715,14 @@ AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) - -# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003 +# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2005 # Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 3 +# serial 4 AC_DEFUN([AM_C_PROTOTYPES], [AC_REQUIRE([AC_C_PROTOTYPES]) @@ -6776,28 +6740,16 @@ AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES]) -# -# Check to make sure that the build environment is sane. -# - -# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# Check to make sure that the build environment is sane. -*- Autoconf -*- -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# serial 3 +# serial 4 # AM_SANITY_CHECK # --------------- @@ -6840,25 +6792,14 @@ fi AC_MSG_RESULT(yes)]) -# AM_PROG_INSTALL_STRIP - -# Copyright (C) 2001, 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. +# AM_PROG_INSTALL_STRIP +# --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip @@ -6881,25 +6822,13 @@ # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 1 +# Copyright (C) 2004, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. +# serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- diff -ruN lftp-3.1.2/config.guess lftp-3.1.3/config.guess --- lftp-3.1.2/config.guess Thu May 27 10:49:18 2004 +++ lftp-3.1.3/config.guess Fri Apr 15 09:30:55 2005 @@ -1,9 +1,9 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2004-03-12' +timestamp='2005-02-10' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -53,7 +53,7 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO @@ -203,15 +203,15 @@ amiga:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; - arc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; cats:OpenBSD:*:*) echo arm-unknown-openbsd${UNAME_RELEASE} exit 0 ;; hp300:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; + luna88k:OpenBSD:*:*) + echo m88k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; mac68k:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; @@ -227,21 +227,12 @@ mvmeppc:OpenBSD:*:*) echo powerpc-unknown-openbsd${UNAME_RELEASE} exit 0 ;; - pegasos:OpenBSD:*:*) - echo powerpc-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - pmax:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; sgi:OpenBSD:*:*) - echo mipseb-unknown-openbsd${UNAME_RELEASE} + echo mips64-unknown-openbsd${UNAME_RELEASE} exit 0 ;; sun3:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; - wgrisc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; *:OpenBSD:*:*) echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} exit 0 ;; @@ -307,9 +298,6 @@ # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit 0 ;; - Alpha*:OpenVMS:*:*) - echo alpha-hp-vms - exit 0 ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead @@ -331,6 +319,9 @@ *:OS/390:*:*) echo i370-ibm-openedition exit 0 ;; + *:z/VM:*:*) + echo s390-ibm-zvmoe + exit 0 ;; *:OS400:*:*) echo powerpc-ibm-os400 exit 0 ;; @@ -354,7 +345,7 @@ DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit 0 ;; - DRS?6000:UNIX_SV:4.2*:7*) + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7 && exit 0 ;; esac ;; @@ -764,7 +755,7 @@ echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; *:UNICOS/mp:*:*) - echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` @@ -787,21 +778,7 @@ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit 0 ;; *:FreeBSD:*:*) - # Determine whether the default compiler uses glibc. - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - #if __GLIBC__ >= 2 - LIBC=gnu - #else - LIBC= - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` - # GNU/KFreeBSD systems have a "k" prefix to indicate we are using - # FreeBSD's kernel, but not the complete OS. - case ${LIBC} in gnu) kernel_only='k' ;; esac - echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit 0 ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin @@ -827,6 +804,9 @@ i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit 0 ;; + amd64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit 0 ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit 0 ;; @@ -850,6 +830,12 @@ cris:Linux:*:*) echo cris-axis-linux-gnu exit 0 ;; + crisv32:Linux:*:*) + echo crisv32-axis-linux-gnu + exit 0 ;; + frv:Linux:*:*) + echo frv-unknown-linux-gnu + exit 0 ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; @@ -1096,9 +1082,9 @@ M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit 0 ;; - M68*:*:R3V[567]*:*) + M68*:*:R3V[5678]*:*) test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; - 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0) + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` @@ -1196,9 +1182,10 @@ echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit 0 ;; *:Darwin:*:*) - case `uname -p` in + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + case $UNAME_PROCESSOR in *86) UNAME_PROCESSOR=i686 ;; - powerpc) UNAME_PROCESSOR=powerpc ;; + unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit 0 ;; @@ -1213,6 +1200,9 @@ *:QNX:*:4*) echo i386-pc-qnx exit 0 ;; + NSE-?:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk${UNAME_RELEASE} + exit 0 ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit 0 ;; @@ -1259,6 +1249,16 @@ exit 0 ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit 0 ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "${UNAME_MACHINE}" in + A*) echo alpha-dec-vms && exit 0 ;; + I*) echo ia64-dec-vms && exit 0 ;; + V*) echo vax-dec-vms && exit 0 ;; + esac ;; + *:XENIX:*:SysV) + echo i386-pc-xenix exit 0 ;; esac diff -ruN lftp-3.1.2/config.sub lftp-3.1.3/config.sub --- lftp-3.1.2/config.sub Thu May 27 10:49:18 2004 +++ lftp-3.1.3/config.sub Fri Apr 15 09:30:55 2005 @@ -1,9 +1,9 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2004-03-12' +timestamp='2005-02-10' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -70,7 +70,7 @@ version="\ GNU config.sub ($timestamp) -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO @@ -145,7 +145,7 @@ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis) + -apple | -axis | -knuth | -cray) os= basic_machine=$1 ;; @@ -237,7 +237,7 @@ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ - | m32r | m32rle | m68000 | m68k | m88k | mcore \ + | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ @@ -267,7 +267,7 @@ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ - | x86 | xscale | xstormy16 | xtensa \ + | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; @@ -300,7 +300,7 @@ | avr-* \ | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ - | clipper-* | cydra-* \ + | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ @@ -310,7 +310,7 @@ | ip2k-* | iq2000-* \ | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | mcore-* \ + | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ @@ -326,8 +326,9 @@ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ + | mmix-* \ | msp430-* \ - | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ @@ -342,8 +343,8 @@ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ - | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ - | xtensa-* \ + | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ + | xstormy16-* | xtensa-* \ | ymp-* \ | z8k-*) ;; @@ -445,6 +446,10 @@ basic_machine=j90-cray os=-unicos ;; + craynv) + basic_machine=craynv-cray + os=-unicosmp + ;; cr16c) basic_machine=cr16c-unknown os=-elf @@ -452,6 +457,9 @@ crds | unos) basic_machine=m68k-crds ;; + crisv32 | crisv32-* | etraxfs*) + basic_machine=crisv32-axis + ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; @@ -481,6 +489,10 @@ basic_machine=m88k-motorola os=-sysv3 ;; + djgpp) + basic_machine=i586-pc + os=-msdosdjgpp + ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx @@ -659,10 +671,6 @@ mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; - mmix*) - basic_machine=mmix-knuth - os=-mmixware - ;; monitor) basic_machine=m68k-rom68k os=-coff @@ -743,10 +751,6 @@ np1) basic_machine=np1-gould ;; - nv1) - basic_machine=nv1-cray - os=-unicosmp - ;; nsr-tandem) basic_machine=nsr-tandem ;; @@ -1029,6 +1033,10 @@ basic_machine=hppa1.1-winbond os=-proelf ;; + xbox) + basic_machine=i686-pc + os=-mingw32 + ;; xps | xps100) basic_machine=xps100-honeywell ;; @@ -1059,6 +1067,9 @@ romp) basic_machine=romp-ibm ;; + mmix) + basic_machine=mmix-knuth + ;; rs6000) basic_machine=rs6000-ibm ;; @@ -1294,6 +1305,9 @@ -kaos*) os=-kaos ;; + -zvmoe) + os=-zvmoe + ;; -none) ;; *) @@ -1373,6 +1387,9 @@ ;; *-ibm) os=-aix + ;; + *-knuth) + os=-mmixware ;; *-wec) os=-proelf diff -ruN lftp-3.1.2/configure lftp-3.1.3/configure --- lftp-3.1.2/configure Thu Mar 31 18:29:01 2005 +++ lftp-3.1.3/configure Fri Apr 15 09:31:48 2005 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for lftp 3.1.2. +# Generated by GNU Autoconf 2.59 for lftp 3.1.3. # # Report bugs to . # @@ -280,7 +280,7 @@ # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. -if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH if test -z "$ECHO"; then if test "X${echo_test_string+set}" != Xset; then @@ -423,8 +423,8 @@ # Identity of this package. PACKAGE_NAME='lftp' PACKAGE_TARNAME='lftp' -PACKAGE_VERSION='3.1.2' -PACKAGE_STRING='lftp 3.1.2' +PACKAGE_VERSION='3.1.3' +PACKAGE_STRING='lftp 3.1.3' PACKAGE_BUGREPORT='lftp-bugs@lftp.yar.ru' ac_config_libobj_dir=lib @@ -956,7 +956,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures lftp 3.1.2 to adapt to many kinds of systems. +\`configure' configures lftp 3.1.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1022,7 +1022,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of lftp 3.1.2:";; + short | recursive ) echo "Configuration of lftp 3.1.3:";; esac cat <<\_ACEOF @@ -1179,7 +1179,7 @@ test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -lftp configure 3.1.2 +lftp configure 3.1.3 generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. @@ -1193,7 +1193,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by lftp $as_me 3.1.2, which was +It was created by lftp $as_me 3.1.3, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -1836,7 +1836,7 @@ # Define the identity of the package. PACKAGE='lftp' - VERSION='3.1.2' + VERSION='3.1.3' cat >>confdefs.h <<_ACEOF @@ -9362,7 +9362,7 @@ # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do - test ! -f $lt_ac_sed && break + test ! -f $lt_ac_sed && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in @@ -9387,10 +9387,10 @@ fi done done -SED=$lt_cv_path_SED fi +SED=$lt_cv_path_SED echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6 @@ -9516,6 +9516,15 @@ *) reload_flag=" $reload_flag" ;; esac reload_cmds='$LD$reload_flag -o $output$reload_objs' +case $host_os in + darwin*) + if test "$GCC" = yes; then + reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs' + else + reload_cmds='$LD$reload_flag -o $output$reload_objs' + fi + ;; +esac echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 @@ -9602,7 +9611,7 @@ lt_cv_deplibs_check_method=pass_all ;; -bsdi4*) +bsdi[45]*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so @@ -9625,13 +9634,13 @@ lt_cv_deplibs_check_method=pass_all ;; -freebsd* | kfreebsd*-gnu) +freebsd* | kfreebsd*-gnu | dragonfly*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; @@ -9675,15 +9684,6 @@ # This must be Linux ELF. linux*) - case $host_cpu in - alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*) - lt_cv_deplibs_check_method=pass_all ;; - *) - # glibc up to 2.1.1 does not perform some relocations on ARM - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; - esac - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` lt_cv_deplibs_check_method=pass_all ;; @@ -9706,12 +9706,10 @@ ;; openbsd*) - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' else - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' fi ;; @@ -9803,7 +9801,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 9806 "configure"' > conftest.$ac_ext + echo '#line 9804 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -10115,7 +10113,12 @@ done -ac_ext=cc + + +if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' @@ -10345,6 +10348,8 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +fi + ac_ext=f ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' @@ -10437,7 +10442,7 @@ # Provide some information about the compiler. -echo "$as_me:10440:" \ +echo "$as_me:10445:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -10627,11 +10632,37 @@ lt_cv_sys_max_cmd_len=8192; ;; - *) + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for *BSD + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + ;; + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + *) # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. - while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ = "XX$teststring") >/dev/null 2>&1 && new_result=`expr "X$teststring" : ".*" 2>&1` && lt_cv_sys_max_cmd_len=$new_result && @@ -10677,9 +10708,6 @@ # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' -# Transform the above into a raw symbol and a C symbol. -symxfrm='\1 \2\3 \3' - # Transform an extracted symbol line into a proper C declaration lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" @@ -10701,6 +10729,13 @@ lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ;; +linux*) + if test "$host_cpu" = ia64; then + symcode='[ABCDGIRSTW]' + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + fi + ;; irix* | nonstopux*) symcode='[BCDEGRST]' ;; @@ -10732,8 +10767,11 @@ # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" + # Write the raw and C identifiers. - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" # Check to see that the pipe works correctly. pipe_works=no @@ -11200,6 +11238,8 @@ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + # Only perform the check for file, if the check method requires it case $deplibs_check_method in file_magic*) @@ -11471,11 +11511,11 @@ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11474: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11514: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11478: \$? = $ac_status" >&5 + echo "$as_me:11518: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -11582,6 +11622,16 @@ lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; + darwin*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + case "$cc_basename" in + xlc*) + lt_prog_compiler_pic='-qnocommon' + lt_prog_compiler_wl='-Wl,' + ;; + esac + ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being @@ -11617,12 +11667,19 @@ ;; linux*) - case $CC in + case $cc_basename in icc* | ecc*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; + pgcc | pgf77 | pgf90) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-static' + ;; ccc*) lt_prog_compiler_wl='-Wl,' # All Alpha code is PIC. @@ -11667,6 +11724,11 @@ fi ;; + unicos*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_can_build_shared=no + ;; + uts4*) lt_prog_compiler_pic='-pic' lt_prog_compiler_static='-Bstatic' @@ -11704,11 +11766,11 @@ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11707: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11769: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11711: \$? = $ac_status" >&5 + echo "$as_me:11773: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -11764,11 +11826,11 @@ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11767: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11829: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:11771: \$? = $ac_status" >&5 + echo "$as_me:11833: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -11923,7 +11985,7 @@ allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' @@ -11981,11 +12043,21 @@ linux*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_cmds="$tmp_archive_cmds" + tmp_addflag= + case $CC,$host_cpu in + pgf77* | pgf90* ) # Portland Group f77 and f90 compilers + tmp_addflag=' -fpic' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + esac + archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' supports_anon_versioning=no case `$LD -v 2>/dev/null` in - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions @@ -11995,9 +12067,9 @@ archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' else - archive_expsym_cmds="$tmp_archive_cmds" + archive_expsym_cmds=$archive_cmds fi else ld_shlibs=no @@ -12087,7 +12159,7 @@ link_all_deplibs=yes if test "$GCC" = yes; then - case $host_os in aix4.012|aix4.012.*) + case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` @@ -12108,6 +12180,9 @@ fi esac shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi else # not using gcc if test "$host_cpu" = ia64; then @@ -12268,7 +12343,7 @@ ld_shlibs=no ;; - bsdi4*) + bsdi[45]*) export_dynamic_flag_spec=-rdynamic ;; @@ -12294,52 +12369,52 @@ ;; darwin* | rhapsody*) - if test "$GXX" = yes ; then - archive_cmds_need_lc=no case "$host_os" in - rhapsody* | darwin1.[012]) - allow_undefined_flag='-undefined suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - allow_undefined_flag='-flat_namespace -undefined suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[012]) - allow_undefined_flag='-flat_namespace -undefined suppress' - ;; - 10.*) - allow_undefined_flag='-undefined dynamic_lookup' - ;; - esac - fi - ;; + rhapsody* | darwin1.[012]) + allow_undefined_flag='${wl}-undefined ${wl}suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + ;; + 10.*) + allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' + ;; + esac + fi + ;; esac - lt_int_apple_cc_single_mod=no - output_verbose_link_cmd='echo' - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then - lt_int_apple_cc_single_mod=yes - fi - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - else - archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - fi - module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - fi - module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + archive_cmds_need_lc=no hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported - whole_archive_flag_spec='-all_load $convenience' + whole_archive_flag_spec='' link_all_deplibs=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else - ld_shlibs=no + case "$cc_basename" in + xlc*) + output_verbose_link_cmd='echo' + archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; + *) + ld_shlibs=no + ;; + esac fi ;; @@ -12373,7 +12448,7 @@ ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | kfreebsd*-gnu) + freebsd* | kfreebsd*-gnu | dragonfly*) archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes @@ -12484,6 +12559,7 @@ hardcode_shlibpath_var=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' else @@ -12561,7 +12637,7 @@ case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; esac link_all_deplibs=yes ;; @@ -12835,7 +12911,7 @@ shlibpath_var=LIBRARY_PATH ;; -bsdi4*) +bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' @@ -12893,7 +12969,7 @@ ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; @@ -12951,7 +13027,9 @@ dynamic_linker='GNU ld.so' ;; -freebsd*) +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` version_type=freebsd-$objformat case $version_type in @@ -12970,7 +13048,7 @@ freebsd2*) shlibpath_overrides_runpath=yes ;; - freebsd3.01* | freebsdelf3.01*) + freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; @@ -13096,7 +13174,7 @@ # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi @@ -13159,7 +13237,7 @@ openbsd*) version_type=sunos need_lib_prefix=no - need_version=yes + need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH @@ -13281,8 +13359,8 @@ echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 hardcode_action= if test -n "$hardcode_libdir_flag_spec" || \ - test -n "$runpath_var " || \ - test "X$hardcode_automatic"="Xyes" ; then + test -n "$runpath_var" || \ + test "X$hardcode_automatic" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct" != no && @@ -13948,7 +14026,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5 @@ -14356,7 +14397,7 @@ # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH # The names of the tagged configurations supported by this script. available_tags= @@ -14386,6 +14427,12 @@ # The host system. host_alias=$host_alias host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo @@ -14757,7 +14804,9 @@ case $tagname in CXX) - if test -n "$CXX" && test "X$CXX" != "Xno"; then + if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -15050,7 +15099,7 @@ link_all_deplibs_CXX=yes if test "$GXX" = yes; then - case $host_os in aix4.012|aix4.012.*) + case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` @@ -15071,6 +15120,9 @@ fi esac shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi else # not using gcc if test "$host_cpu" = ia64; then @@ -15232,6 +15284,7 @@ esac ;; + cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, # as there is no search path for DLLs. @@ -15255,57 +15308,68 @@ ld_shlibs_CXX=no fi ;; - - darwin* | rhapsody*) - if test "$GXX" = yes; then - archive_cmds_need_lc_CXX=no - case "$host_os" in - rhapsody* | darwin1.[012]) - allow_undefined_flag_CXX='-undefined suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - allow_undefined_flag_CXX='-flat_namespace -undefined suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[012]) - allow_undefined_flag_CXX='-flat_namespace -undefined suppress' - ;; - 10.*) - allow_undefined_flag_CXX='-undefined dynamic_lookup' - ;; + darwin* | rhapsody*) + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + ;; + 10.*) + allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' + ;; + esac + fi + ;; esac - fi - ;; - esac - lt_int_apple_cc_single_mod=no - output_verbose_link_cmd='echo' - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then - lt_int_apple_cc_single_mod=yes - fi - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - else - archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - fi - module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + archive_cmds_need_lc_CXX=no + hardcode_direct_CXX=no + hardcode_automatic_CXX=yes + hardcode_shlibpath_var_CXX=unsupported + whole_archive_flag_spec_CXX='' + link_all_deplibs_CXX=yes - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - fi - module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - hardcode_direct_CXX=no - hardcode_automatic_CXX=yes - hardcode_shlibpath_var_CXX=unsupported - whole_archive_flag_spec_CXX='-all_load $convenience' - link_all_deplibs_CXX=yes - else - ld_shlibs_CXX=no - fi - ;; + if test "$GXX" = yes ; then + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + case "$cc_basename" in + xlc*) + output_verbose_link_cmd='echo' + archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; + *) + ld_shlibs_CXX=no + ;; + esac + fi + ;; dgux*) case $cc_basename in @@ -15324,14 +15388,14 @@ ;; esac ;; - freebsd12*) + freebsd[12]*) # C++ shared libraries reported to be fairly broken before switch to ELF ld_shlibs_CXX=no ;; freebsd-elf*) archive_cmds_need_lc_CXX=no ;; - freebsd* | kfreebsd*-gnu) + freebsd* | kfreebsd*-gnu | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions ld_shlibs_CXX=yes @@ -15362,7 +15426,7 @@ # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then @@ -15511,13 +15575,36 @@ icpc) # Intel C++ with_gnu_ld=yes + # version 8.0 and above of icpc choke on multiply defined symbols + # if we add $predep_objects and $postdep_objects, however 7.1 and + # earlier do not add the objects themselves. + case `$CC -V 2>&1` in + *"Version 7."*) + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + *) # Version 8.0 or newer + tmp_idyn= + case $host_cpu in + ia64*) tmp_idyn=' -i_dynamic';; + esac + archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + esac archive_cmds_need_lc_CXX=no - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; + pgCC) + # Portland Group C++ compiler + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + ;; cxx) # Compaq C++ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' @@ -15570,6 +15657,22 @@ # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; + openbsd2*) + # C++ shared libraries are fairly broken + ld_shlibs_CXX=no + ;; + openbsd*) + hardcode_direct_CXX=yes + hardcode_shlibpath_var_CXX=no + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' + export_dynamic_flag_spec_CXX='${wl}-E' + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + fi + output_verbose_link_cmd='echo' + ;; osf3*) case $cc_basename in KCC) @@ -15740,7 +15843,7 @@ hardcode_libdir_flag_spec_CXX='-R$libdir' hardcode_shlibpath_var_CXX=no case $host_os in - solaris2.0-5 | solaris2.0-5.*) ;; + solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The C++ compiler is used as linker so we must use $wl # flag to pass the commands to the underlying system @@ -16025,6 +16128,16 @@ ;; esac ;; + darwin*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + case "$cc_basename" in + xlc*) + lt_prog_compiler_pic_CXX='-qnocommon' + lt_prog_compiler_wl_CXX='-Wl,' + ;; + esac + ;; dgux*) case $cc_basename in ec++) @@ -16038,7 +16151,7 @@ ;; esac ;; - freebsd* | kfreebsd*-gnu) + freebsd* | kfreebsd*-gnu | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) @@ -16084,12 +16197,18 @@ lt_prog_compiler_wl_CXX='--backend -Wl,' lt_prog_compiler_pic_CXX='-fPIC' ;; - icpc) + icpc* | ecpc*) # Intel C++ lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-static' ;; + pgCC) + # Portland Group C++ compiler. + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-fpic' + lt_prog_compiler_static_CXX='-static' + ;; cxx) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha @@ -16225,11 +16344,11 @@ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16228: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16347: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:16232: \$? = $ac_status" >&5 + echo "$as_me:16351: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -16285,11 +16404,11 @@ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16288: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16407: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16292: \$? = $ac_status" >&5 + echo "$as_me:16411: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -16353,7 +16472,7 @@ export_symbols_cmds_CXX="$ltdll_cmds" ;; cygwin* | mingw*) - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + export_symbols_cmds_CXX='$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' ;; *) export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' @@ -16533,7 +16652,7 @@ shlibpath_var=LIBRARY_PATH ;; -bsdi4*) +bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' @@ -16591,7 +16710,7 @@ ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; @@ -16649,7 +16768,9 @@ dynamic_linker='GNU ld.so' ;; -freebsd*) +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` version_type=freebsd-$objformat case $version_type in @@ -16668,7 +16789,7 @@ freebsd2*) shlibpath_overrides_runpath=yes ;; - freebsd3.01* | freebsdelf3.01*) + freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; @@ -16794,7 +16915,7 @@ # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi @@ -16857,7 +16978,7 @@ openbsd*) version_type=sunos need_lib_prefix=no - need_version=yes + need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH @@ -16979,8 +17100,8 @@ echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 hardcode_action_CXX= if test -n "$hardcode_libdir_flag_spec_CXX" || \ - test -n "$runpath_var CXX" || \ - test "X$hardcode_automatic_CXX"="Xyes" ; then + test -n "$runpath_var_CXX" || \ + test "X$hardcode_automatic_CXX" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_CXX" != no && @@ -17646,7 +17767,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:18723: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:18578: \$? = $ac_status" >&5 + echo "$as_me:18727: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -18631,11 +18780,11 @@ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:18634: $lt_compile\"" >&5) + (eval echo "\"\$as_me:18783: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:18638: \$? = $ac_status" >&5 + echo "$as_me:18787: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -18790,7 +18939,7 @@ allow_undefined_flag_F77=unsupported always_export_symbols_F77=no enable_shared_with_static_runtimes_F77=yes - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' @@ -18804,7 +18953,7 @@ fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' else - ld_shlibs=no + ld_shlibs_F77=no fi ;; @@ -18848,11 +18997,21 @@ linux*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_cmds_F77="$tmp_archive_cmds" + tmp_addflag= + case $CC,$host_cpu in + pgf77* | pgf90* ) # Portland Group f77 and f90 compilers + tmp_addflag=' -fpic' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + esac + archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' supports_anon_versioning=no case `$LD -v 2>/dev/null` in - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions @@ -18862,9 +19021,9 @@ archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' else - archive_expsym_cmds_F77="$tmp_archive_cmds" + archive_expsym_cmds_F77=$archive_cmds_F77 fi else ld_shlibs_F77=no @@ -18954,7 +19113,7 @@ link_all_deplibs_F77=yes if test "$GCC" = yes; then - case $host_os in aix4.012|aix4.012.*) + case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` @@ -18975,6 +19134,9 @@ fi esac shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi else # not using gcc if test "$host_cpu" = ia64; then @@ -19115,7 +19277,7 @@ ld_shlibs_F77=no ;; - bsdi4*) + bsdi[45]*) export_dynamic_flag_spec_F77=-rdynamic ;; @@ -19136,57 +19298,57 @@ old_archive_From_new_cmds_F77='true' # FIXME: Should let the user specify the lib program. old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' + fix_srcfile_path_F77='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes_F77=yes ;; darwin* | rhapsody*) - if test "$GXX" = yes ; then - archive_cmds_need_lc_F77=no case "$host_os" in - rhapsody* | darwin1.[012]) - allow_undefined_flag_F77='-undefined suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - allow_undefined_flag_F77='-flat_namespace -undefined suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[012]) - allow_undefined_flag_F77='-flat_namespace -undefined suppress' - ;; - 10.*) - allow_undefined_flag_F77='-undefined dynamic_lookup' - ;; - esac - fi - ;; + rhapsody* | darwin1.[012]) + allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + ;; + 10.*) + allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' + ;; + esac + fi + ;; esac - lt_int_apple_cc_single_mod=no - output_verbose_link_cmd='echo' - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then - lt_int_apple_cc_single_mod=yes - fi - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - else - archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - fi - module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - fi - module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + archive_cmds_need_lc_F77=no hardcode_direct_F77=no hardcode_automatic_F77=yes hardcode_shlibpath_var_F77=unsupported - whole_archive_flag_spec_F77='-all_load $convenience' + whole_archive_flag_spec_F77='' link_all_deplibs_F77=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' + archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else - ld_shlibs_F77=no + case "$cc_basename" in + xlc*) + output_verbose_link_cmd='echo' + archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; + *) + ld_shlibs_F77=no + ;; + esac fi ;; @@ -19220,7 +19382,7 @@ ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | kfreebsd*-gnu) + freebsd* | kfreebsd*-gnu | dragonfly*) archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_direct_F77=yes @@ -19331,6 +19493,7 @@ hardcode_shlibpath_var_F77=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' export_dynamic_flag_spec_F77='${wl}-E' else @@ -19408,7 +19571,7 @@ case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; + whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; esac link_all_deplibs_F77=yes ;; @@ -19682,7 +19845,7 @@ shlibpath_var=LIBRARY_PATH ;; -bsdi4*) +bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' @@ -19740,7 +19903,7 @@ ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; @@ -19798,7 +19961,9 @@ dynamic_linker='GNU ld.so' ;; -freebsd*) +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` version_type=freebsd-$objformat case $version_type in @@ -19817,7 +19982,7 @@ freebsd2*) shlibpath_overrides_runpath=yes ;; - freebsd3.01* | freebsdelf3.01*) + freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; @@ -19943,7 +20108,7 @@ # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi @@ -20006,7 +20171,7 @@ openbsd*) version_type=sunos need_lib_prefix=no - need_version=yes + need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH @@ -20128,8 +20293,8 @@ echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 hardcode_action_F77= if test -n "$hardcode_libdir_flag_spec_F77" || \ - test -n "$runpath_var F77" || \ - test "X$hardcode_automatic_F77"="Xyes" ; then + test -n "$runpath_var_F77" || \ + test "X$hardcode_automatic_F77" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_F77" != no && @@ -20306,6 +20471,12 @@ # The host system. host_alias=$host_alias host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo @@ -20620,7 +20791,7 @@ lt_simple_compile_test_code="class foo {}\n" # Code to be used in simple link tests -lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n' +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n' # ltmain only uses $CC for tagged configurations so make sure $CC is set. @@ -20665,11 +20836,11 @@ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:20668: $lt_compile\"" >&5) + (eval echo "\"\$as_me:20839: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:20672: \$? = $ac_status" >&5 + echo "$as_me:20843: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -20776,6 +20947,16 @@ lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' fi ;; + darwin*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + case "$cc_basename" in + xlc*) + lt_prog_compiler_pic_GCJ='-qnocommon' + lt_prog_compiler_wl_GCJ='-Wl,' + ;; + esac + ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being @@ -20811,12 +20992,19 @@ ;; linux*) - case $CC in + case $cc_basename in icc* | ecc*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-static' ;; + pgcc | pgf77 | pgf90) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-fpic' + lt_prog_compiler_static_GCJ='-static' + ;; ccc*) lt_prog_compiler_wl_GCJ='-Wl,' # All Alpha code is PIC. @@ -20861,6 +21049,11 @@ fi ;; + unicos*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_can_build_shared_GCJ=no + ;; + uts4*) lt_prog_compiler_pic_GCJ='-pic' lt_prog_compiler_static_GCJ='-Bstatic' @@ -20898,11 +21091,11 @@ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:20901: $lt_compile\"" >&5) + (eval echo "\"\$as_me:21094: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:20905: \$? = $ac_status" >&5 + echo "$as_me:21098: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -20958,11 +21151,11 @@ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:20961: $lt_compile\"" >&5) + (eval echo "\"\$as_me:21154: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:20965: \$? = $ac_status" >&5 + echo "$as_me:21158: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -21117,7 +21310,7 @@ allow_undefined_flag_GCJ=unsupported always_export_symbols_GCJ=no enable_shared_with_static_runtimes_GCJ=yes - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' @@ -21131,7 +21324,7 @@ fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' else - ld_shlibs=no + ld_shlibs_GCJ=no fi ;; @@ -21175,11 +21368,21 @@ linux*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_cmds_GCJ="$tmp_archive_cmds" + tmp_addflag= + case $CC,$host_cpu in + pgf77* | pgf90* ) # Portland Group f77 and f90 compilers + tmp_addflag=' -fpic' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + esac + archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' supports_anon_versioning=no case `$LD -v 2>/dev/null` in - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions @@ -21189,9 +21392,9 @@ archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' else - archive_expsym_cmds_GCJ="$tmp_archive_cmds" + archive_expsym_cmds_GCJ=$archive_cmds_GCJ fi else ld_shlibs_GCJ=no @@ -21281,7 +21484,7 @@ link_all_deplibs_GCJ=yes if test "$GCC" = yes; then - case $host_os in aix4.012|aix4.012.*) + case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` @@ -21302,6 +21505,9 @@ fi esac shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi else # not using gcc if test "$host_cpu" = ia64; then @@ -21462,7 +21668,7 @@ ld_shlibs_GCJ=no ;; - bsdi4*) + bsdi[45]*) export_dynamic_flag_spec_GCJ=-rdynamic ;; @@ -21483,57 +21689,57 @@ old_archive_From_new_cmds_GCJ='true' # FIXME: Should let the user specify the lib program. old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' + fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes_GCJ=yes ;; darwin* | rhapsody*) - if test "$GXX" = yes ; then - archive_cmds_need_lc_GCJ=no case "$host_os" in - rhapsody* | darwin1.[012]) - allow_undefined_flag_GCJ='-undefined suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[012]) - allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' - ;; - 10.*) - allow_undefined_flag_GCJ='-undefined dynamic_lookup' - ;; - esac - fi - ;; + rhapsody* | darwin1.[012]) + allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + ;; + 10.*) + allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' + ;; + esac + fi + ;; esac - lt_int_apple_cc_single_mod=no - output_verbose_link_cmd='echo' - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then - lt_int_apple_cc_single_mod=yes - fi - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - else - archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - fi - module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - fi - module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + archive_cmds_need_lc_GCJ=no hardcode_direct_GCJ=no hardcode_automatic_GCJ=yes hardcode_shlibpath_var_GCJ=unsupported - whole_archive_flag_spec_GCJ='-all_load $convenience' + whole_archive_flag_spec_GCJ='' link_all_deplibs_GCJ=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' + archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else - ld_shlibs_GCJ=no + case "$cc_basename" in + xlc*) + output_verbose_link_cmd='echo' + archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; + *) + ld_shlibs_GCJ=no + ;; + esac fi ;; @@ -21567,7 +21773,7 @@ ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | kfreebsd*-gnu) + freebsd* | kfreebsd*-gnu | dragonfly*) archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_direct_GCJ=yes @@ -21678,6 +21884,7 @@ hardcode_shlibpath_var_GCJ=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' export_dynamic_flag_spec_GCJ='${wl}-E' else @@ -21755,7 +21962,7 @@ case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; + whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; esac link_all_deplibs_GCJ=yes ;; @@ -22029,7 +22236,7 @@ shlibpath_var=LIBRARY_PATH ;; -bsdi4*) +bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' @@ -22087,7 +22294,7 @@ ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; @@ -22145,7 +22352,9 @@ dynamic_linker='GNU ld.so' ;; -freebsd*) +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` version_type=freebsd-$objformat case $version_type in @@ -22164,7 +22373,7 @@ freebsd2*) shlibpath_overrides_runpath=yes ;; - freebsd3.01* | freebsdelf3.01*) + freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; @@ -22290,7 +22499,7 @@ # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi @@ -22353,7 +22562,7 @@ openbsd*) version_type=sunos need_lib_prefix=no - need_version=yes + need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH @@ -22475,8 +22684,8 @@ echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 hardcode_action_GCJ= if test -n "$hardcode_libdir_flag_spec_GCJ" || \ - test -n "$runpath_var GCJ" || \ - test "X$hardcode_automatic_GCJ"="Xyes" ; then + test -n "$runpath_var_GCJ" || \ + test "X$hardcode_automatic_GCJ" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_GCJ" != no && @@ -23142,7 +23351,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5 cat >&5 <<_CSEOF -This file was extended by lftp $as_me 3.1.2, which was +This file was extended by lftp $as_me 3.1.3, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -33115,7 +33336,7 @@ cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -lftp config.status 3.1.2 +lftp config.status 3.1.3 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" diff -ruN lftp-3.1.2/configure.ac lftp-3.1.3/configure.ac --- lftp-3.1.2/configure.ac Thu Mar 31 18:27:59 2005 +++ lftp-3.1.3/configure.ac Fri Apr 15 09:23:14 2005 @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.53) -AC_INIT([lftp], [3.1.2], [lftp-bugs@lftp.yar.ru]) +AC_INIT([lftp], [3.1.3], [lftp-bugs@lftp.yar.ru]) AM_INIT_AUTOMAKE AC_CONFIG_LIBOBJ_DIR(lib) AC_CONFIG_SRCDIR([src/ftpclass.cc]) diff -ruN lftp-3.1.2/contrib/Makefile.in lftp-3.1.3/contrib/Makefile.in --- lftp-3.1.2/contrib/Makefile.in Thu Mar 31 18:28:53 2005 +++ lftp-3.1.3/contrib/Makefile.in Fri Apr 15 09:31:39 2005 @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.3 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -199,9 +199,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign contrib/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu contrib/Makefile'; \ cd $(top_srcdir) && \ - $(AUTOMAKE) --foreign contrib/Makefile + $(AUTOMAKE) --gnu contrib/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ diff -ruN lftp-3.1.2/doc/ChangeLog lftp-3.1.3/doc/ChangeLog --- lftp-3.1.2/doc/ChangeLog Mon Apr 4 14:25:43 2005 +++ lftp-3.1.3/doc/ChangeLog Tue Apr 5 14:01:00 2005 @@ -1,3 +1,7 @@ +2005-04-05 Alexander V. Lukyanov + + * lftp.1: document mirror --loop option. + 2005-04-04 Alexander V. Lukyanov * lftp.1: document cache: settings, cmd:verify-path-cached. diff -ruN lftp-3.1.2/doc/Makefile.in lftp-3.1.3/doc/Makefile.in --- lftp-3.1.2/doc/Makefile.in Thu Mar 31 18:28:53 2005 +++ lftp-3.1.3/doc/Makefile.in Fri Apr 15 09:31:40 2005 @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.3 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -204,9 +204,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \ cd $(top_srcdir) && \ - $(AUTOMAKE) --foreign doc/Makefile + $(AUTOMAKE) --gnu doc/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ diff -ruN lftp-3.1.2/doc/lftp.1 lftp-3.1.3/doc/lftp.1 --- lftp-3.1.2/doc/lftp.1 Mon Apr 4 14:25:53 2005 +++ lftp-3.1.3/doc/lftp.1 Tue Apr 5 14:01:09 2005 @@ -17,7 +17,7 @@ .\" along with this program; see the file COPYING. If not, write to .\" the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. .\" -.\" $Id: lftp.1,v 1.100 2005/04/04 10:25:53 lav Exp $ +.\" $Id: lftp.1,v 1.101 2005/04/05 10:01:09 lav Exp $ .\" .\"------- .\" Sp space down the interparagraph distance @@ -392,6 +392,7 @@ -N, --newer-than=SPEC download only files newer than specified time -P, --parallel[=N] download N files in parallel --use-pget[-n=N] use pget to transfer every single file + --loop loop until no changes found -i \fIRX\fP, --include \fIRX\fP include matching files -x \fIRX\fP, --exclude \fIRX\fP exclude matching files -I \fIGP\fP, --include-glob \fIGP\fP include matching files diff -ruN lftp-3.1.2/include/Makefile.in lftp-3.1.3/include/Makefile.in --- lftp-3.1.2/include/Makefile.in Thu Mar 31 18:28:54 2005 +++ lftp-3.1.3/include/Makefile.in Fri Apr 15 09:31:40 2005 @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.3 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -210,9 +210,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign include/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu include/Makefile'; \ cd $(top_srcdir) && \ - $(AUTOMAKE) --foreign include/Makefile + $(AUTOMAKE) --gnu include/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ diff -ruN lftp-3.1.2/lftp.lsm lftp-3.1.3/lftp.lsm --- lftp-3.1.2/lftp.lsm Mon Apr 4 14:29:24 2005 +++ lftp-3.1.3/lftp.lsm Fri Apr 15 15:57:29 2005 @@ -1,7 +1,7 @@ Begin3 Title: LFTP command line file transfer program -Version: 3.1.2 -Entered-date: 2005-04-04 +Version: 3.1.3 +Entered-date: 2005-04-15 Description: LFTP is a shell-like command line file transfer program. It is reliable: can retry operations and does reget automatically. It can do several transfers simultaneously in background. @@ -22,7 +22,7 @@ Author: lav@yars.free.net (Alexander V. Lukyanov) Maintained-by: lav@yars.free.net (Alexander V. Lukyanov) Primary-site: ftp.yars.free.net /pub/software/unix/net/ftp/client/lftp - 1631 kB lftp-3.1.2.tar.gz + 1635 kB lftp-3.1.3.tar.gz Alternate-site: metalab.unc.edu /pub/Linux/system/network/file-transfer Platforms: Unix, G++ Copying-policy: GNU GPL diff -ruN lftp-3.1.2/lftp.spec lftp-3.1.3/lftp.spec --- lftp-3.1.2/lftp.spec Mon Apr 4 14:29:19 2005 +++ lftp-3.1.3/lftp.spec Fri Apr 15 15:57:27 2005 @@ -1,4 +1,4 @@ -%define version 3.1.2 +%define version 3.1.3 %define release 1 %define use_modules 0 diff -ruN lftp-3.1.2/lib/Makefile.in lftp-3.1.3/lib/Makefile.in --- lftp-3.1.2/lib/Makefile.in Thu Mar 31 18:28:55 2005 +++ lftp-3.1.3/lib/Makefile.in Fri Apr 15 09:31:41 2005 @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.3 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -235,9 +235,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu lib/Makefile'; \ cd $(top_srcdir) && \ - $(AUTOMAKE) --foreign lib/Makefile + $(AUTOMAKE) --gnu lib/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ diff -ruN lftp-3.1.2/ltmain.sh lftp-3.1.3/ltmain.sh --- lftp-3.1.2/ltmain.sh Thu May 27 10:49:19 2004 +++ lftp-3.1.3/ltmain.sh Fri Apr 15 09:30:55 2005 @@ -1,7 +1,7 @@ # ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit , 1996 # @@ -43,9 +43,14 @@ PROGRAM=ltmain.sh PACKAGE=libtool -VERSION=1.5.6 -TIMESTAMP=" (1.1220.2.94 2004/04/10 16:27:27)" +VERSION=1.5.14 +TIMESTAMP=" (1.1220.2.195 2005/02/12 12:12:33)" +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes. +if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi # Check that we have a working $echo. if test "X$1" = X--no-reexec; then @@ -127,6 +132,7 @@ execute_dlfiles= lo2o="s/\\.lo\$/.${objext}/" o2lo="s/\\.${objext}\$/.lo/" +quote_scanset='[[~#^*{};<>?'"'"' ]' ##################################### # Shell function definitions: @@ -138,7 +144,8 @@ # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. -func_win32_libid () { +func_win32_libid () +{ win32_libid_type="unknown" win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in @@ -178,12 +185,13 @@ # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. # arg is usually of the form 'gcc ...' -func_infer_tag () { +func_infer_tag () +{ if test -n "$available_tags" && test -z "$tagname"; then CC_quoted= for arg in $CC; do case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") arg="\"$arg\"" ;; esac @@ -204,7 +212,7 @@ for arg in $CC; do # Double-quote args containing other shell metacharacters. case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") arg="\"$arg\"" ;; esac @@ -235,6 +243,131 @@ esac fi } + + +# func_extract_an_archive dir oldlib +func_extract_an_archive () +{ + f_ex_an_ar_dir="$1"; shift + f_ex_an_ar_oldlib="$1" + f_ex_an_ar_lib=`$echo "X$f_ex_an_ar_oldlib" | $Xsed -e 's%^.*/%%'` + + $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)" + $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $? + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then + : + else + $echo "$modename: warning: object name conflicts; renaming object files" 1>&2 + $echo "$modename: warning: to ensure that they will not overwrite" 1>&2 + $show "cp $f_ex_an_ar_oldlib $f_ex_an_ar_dir/$f_ex_an_ar_lib" + $run eval "cp \$f_ex_an_ar_oldlib \$f_ex_an_ar_dir/\$f_ex_an_ar_lib" + $AR t "$f_ex_an_ar_oldlib" | sort | uniq -c \ + | $EGREP -v '^[ ]*1[ ]' | while read count name + do + i=1 + while test "$i" -le "$count" + do + # Put our $i before any first dot (extension) + # Never overwrite any file + name_to="$name" + while test "X$name_to" = "X$name" || test -f "$f_ex_an_ar_dir/$name_to" + do + name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"` + done + $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_lib '$name' && $mv '$name' '$name_to')" + $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_lib '$name' && $mv '$name' '$name_to' && $AR -d \$f_ex_an_ar_lib '$name')" || exit $? + i=`expr $i + 1` + done + done + $show "$rm $f_ex_an_ar_dir/$f_ex_an_ar_lib" + $run eval "$rm \$f_ex_an_ar_dir/\$f_ex_an_ar_lib" + fi +} + +# func_extract_archives gentop oldlib ... +func_extract_archives () +{ + my_gentop="$1"; shift + my_oldlibs=${1+"$@"} + my_oldobjs="" + my_xlib="" + my_xabs="" + my_xdir="" + my_status="" + + $show "${rm}r $my_gentop" + $run ${rm}r "$my_gentop" + $show "$mkdir $my_gentop" + $run $mkdir "$my_gentop" + my_status=$? + if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then + exit $my_status + fi + + for my_xlib in $my_oldlibs; do + # Extract the objects. + case $my_xlib in + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; + *) my_xabs=`pwd`"/$my_xlib" ;; + esac + my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'` + my_xdir="$my_gentop/$my_xlib" + + $show "${rm}r $my_xdir" + $run ${rm}r "$my_xdir" + $show "$mkdir $my_xdir" + $run $mkdir "$my_xdir" + status=$? + if test "$status" -ne 0 && test ! -d "$my_xdir"; then + exit $status + fi + case $host in + *-darwin*) + $show "Extracting $my_xabs" + # Do not bother doing anything if just a dry run + if test -z "$run"; then + darwin_orig_dir=`pwd` + cd $my_xdir || exit $? + darwin_archive=$my_xabs + darwin_curdir=`pwd` + darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'` + darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null` + if test -n "$darwin_arches"; then + darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'` + darwin_arch= + $show "$darwin_base_archive has multiple architectures $darwin_arches" + for darwin_arch in $darwin_arches ; do + mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}" + lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" + func_extract_an_archive "`pwd`" "${darwin_base_archive}" + cd "$darwin_curdir" + $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" + done # $darwin_arches + ## Okay now we have a bunch of thin objects, gotta fatten them up :) + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP` + darwin_file= + darwin_files= + for darwin_file in $darwin_filelist; do + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` + lipo -create -output "$darwin_file" $darwin_files + done # $darwin_filelist + ${rm}r unfat-$$ + cd "$darwin_orig_dir" + else + cd "$darwin_orig_dir" + func_extract_an_archive "$my_xdir" "$my_xabs" + fi # $darwin_arches + fi # $run + ;; + *) + func_extract_an_archive "$my_xdir" "$my_xabs" + ;; + esac + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` + done + func_extract_archives_result="$my_oldobjs" +} # End of Shell function definitions ##################################### @@ -305,10 +438,10 @@ --version) $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP" $echo - $echo "Copyright (C) 2003 Free Software Foundation, Inc." + $echo "Copyright (C) 2005 Free Software Foundation, Inc." $echo "This is free software; see the source for copying conditions. There is NO" $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - exit $EXIT_SUCCESS + exit $? ;; --config) @@ -317,7 +450,7 @@ for tagname in $taglist; do ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath" done - exit $EXIT_SUCCESS + exit $? ;; --debug) @@ -342,7 +475,7 @@ else $echo "disable static libraries" fi - exit $EXIT_SUCCESS + exit $? ;; --finish) mode="finish" ;; @@ -399,7 +532,7 @@ # Infer the operation mode. if test -z "$mode"; then $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2 - $echo "*** Future versions of Libtool will require -mode=MODE be specified." 1>&2 + $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2 case $nonopt in *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*) mode=link @@ -516,7 +649,7 @@ # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") arg="\"$arg\"" ;; esac @@ -547,8 +680,11 @@ case $lastarg in # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly - # in scan sets, so we specify it separately. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + # in scan sets, and some SunOS ksh mistreat backslash-escaping + # in scan sets (worked around with variable expansion), + # and furthermore cannot handle '|' '&' '(' ')' in scan sets + # at all, so we specify them separately. + *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") lastarg="\"$lastarg\"" ;; esac @@ -983,7 +1119,7 @@ arg="$1" shift case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test ;; *) qarg=$arg ;; @@ -1227,6 +1363,11 @@ prev= continue ;; + darwin_framework) + compiler_flags="$compiler_flags $arg" + prev= + continue + ;; *) eval "$prev=\"\$arg\"" prev= @@ -1285,6 +1426,12 @@ continue ;; + -framework) + prev=darwin_framework + compiler_flags="$compiler_flags $arg" + continue + ;; + -inst-prefix-dir) prev=inst_prefix continue @@ -1345,7 +1492,7 @@ # These systems don't actually have a C library (as such) test "X$arg" = "X-lc" && continue ;; - *-*-openbsd* | *-*-freebsd*) + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; @@ -1356,7 +1503,7 @@ esac elif test "X$arg" = "X-lc_r"; then case $host in - *-*-openbsd* | *-*-freebsd*) + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc_r directly, use -pthread flag. continue ;; @@ -1366,8 +1513,20 @@ continue ;; + # Tru64 UNIX uses -model [arg] to determine the layout of C++ + # classes, name mangling, and exception handling. + -model) + compile_command="$compile_command $arg" + compiler_flags="$compiler_flags $arg" + finalize_command="$finalize_command $arg" + prev=xcompiler + continue + ;; + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) - deplibs="$deplibs $arg" + compiler_flags="$compiler_flags $arg" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" continue ;; @@ -1376,18 +1535,19 @@ continue ;; - # gcc -m* arguments should be passed to the linker via $compiler_flags - # in order to pass architecture information to the linker - # (e.g. 32 vs 64-bit). This may also be accomplished via -Wl,-mfoo - # but this is not reliable with gcc because gcc may use -mfoo to - # select a different linker, different libraries, etc, while - # -Wl,-mfoo simply passes -mfoo to the linker. - -m*) + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler + # -r[0-9][0-9]* specifies the processor on the SGI compiler + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler + # +DA*, +DD* enable 64-bit mode on the HP compiler + # -q* pass through compiler args for the IBM compiler + # -m* pass through architecture-specific compiler args for GCC + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*) + # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") arg="\"$arg\"" ;; esac @@ -1503,7 +1663,7 @@ for flag in $args; do IFS="$save_ifs" case $flag in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") flag="\"$flag\"" ;; esac @@ -1521,7 +1681,7 @@ for flag in $args; do IFS="$save_ifs" case $flag in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") flag="\"$flag\"" ;; esac @@ -1554,7 +1714,7 @@ # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") arg="\"$arg\"" ;; esac @@ -1688,7 +1848,7 @@ # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") arg="\"$arg\"" ;; esac @@ -1855,7 +2015,7 @@ compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else - deplibs="$deplib $deplibs" + compiler_flags="$compiler_flags $deplib" fi continue ;; @@ -1864,10 +2024,6 @@ $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 continue fi - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - continue - fi name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do for search_ext in .la $std_shrext .so .a; do @@ -1978,7 +2134,22 @@ fi case $linkmode in lib) - if test "$deplibs_check_method" != pass_all; then + valid_a_lib=no + case $deplibs_check_method in + match_pattern*) + set dummy $deplibs_check_method + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` + if eval $echo \"$deplib\" 2>/dev/null \ + | $SED 10q \ + | $EGREP "$match_pattern_regex" > /dev/null; then + valid_a_lib=yes + fi + ;; + pass_all) + valid_a_lib=yes + ;; + esac + if test "$valid_a_lib" != yes; then $echo $echo "*** Warning: Trying to link with static lib archive $deplib." $echo "*** I have the capability to make that library automatically link in when" @@ -2052,6 +2223,8 @@ # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no + avoidtemprpath= + # Read the .la file case $lib in @@ -2150,11 +2323,19 @@ dir="$libdir" absdir="$libdir" fi + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes else - dir="$ladir/$objdir" - absdir="$abs_ladir/$objdir" - # Remove this search path later - notinst_path="$notinst_path $abs_ladir" + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then + dir="$ladir" + absdir="$abs_ladir" + # Remove this search path later + notinst_path="$notinst_path $abs_ladir" + else + dir="$ladir/$objdir" + absdir="$abs_ladir/$objdir" + # Remove this search path later + notinst_path="$notinst_path $abs_ladir" + fi fi # $installed = yes name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` @@ -2227,7 +2408,7 @@ if test -n "$library_names" && { test "$prefer_static_libs" = no || test -z "$old_library"; }; then # We need to hardcode the library path - if test -n "$shlibpath_var"; then + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then # Make sure the rpath contains only unique directories. case "$temp_rpath " in *" $dir "*) ;; @@ -2941,7 +3122,7 @@ # Check that each of the things are valid numbers. case $current in - 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 @@ -2950,7 +3131,7 @@ esac case $revision in - 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 @@ -2959,7 +3140,7 @@ esac case $age in - 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 @@ -2987,7 +3168,7 @@ versuffix="$major.$age.$revision" # Darwin ld doesn't like 0 for these options... minor_current=`expr $current + 1` - verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" + verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" ;; freebsd-aout) @@ -3193,7 +3374,7 @@ *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; - *-*-openbsd* | *-*-freebsd*) + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; @@ -3675,67 +3856,13 @@ eval libobjs=\"\$libobjs $whole_archive_flag_spec\" else gentop="$output_objdir/${outputname}x" - $show "${rm}r $gentop" - $run ${rm}r "$gentop" - $show "$mkdir $gentop" - $run $mkdir "$gentop" - status=$? - if test "$status" -ne 0 && test ! -d "$gentop"; then - exit $status - fi generated="$generated $gentop" - for xlib in $convenience; do - # Extract the objects. - case $xlib in - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; - *) xabs=`pwd`"/$xlib" ;; - esac - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` - xdir="$gentop/$xlib" - - $show "${rm}r $xdir" - $run ${rm}r "$xdir" - $show "$mkdir $xdir" - $run $mkdir "$xdir" - status=$? - if test "$status" -ne 0 && test ! -d "$xdir"; then - exit $status - fi - # We will extract separately just the conflicting names and we will no - # longer touch any unique names. It is faster to leave these extract - # automatically by $AR in one run. - $show "(cd $xdir && $AR x $xabs)" - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? - if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then - : - else - $echo "$modename: warning: object name conflicts; renaming object files" 1>&2 - $echo "$modename: warning: to ensure that they will not overwrite" 1>&2 - $AR t "$xabs" | sort | uniq -cd | while read -r count name - do - i=1 - while test "$i" -le "$count" - do - # Put our $i before any first dot (extension) - # Never overwrite any file - name_to="$name" - while test "X$name_to" = "X$name" || test -f "$xdir/$name_to" - do - name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"` - done - $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')" - $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $? - i=`expr $i + 1` - done - done - fi - - libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` - done + func_extract_archives $gentop $convenience + libobjs="$libobjs $func_extract_archives_result" fi fi - + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" linker_flags="$linker_flags $flag" @@ -3784,6 +3911,7 @@ save_libobjs=$libobjs fi save_output=$output + output_la=`$echo "X$output" | $Xsed -e "$basename"` # Clear the reloadable object creation command queue and # initialize k to one. @@ -3793,7 +3921,7 @@ delfiles= last_robj= k=1 - output=$output_objdir/$save_output-${k}.$objext + output=$output_objdir/$output_la-${k}.$objext # Loop over the list of objects to be linked. for obj in $save_libobjs do @@ -3813,9 +3941,9 @@ # the last one created. eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\" fi - last_robj=$output_objdir/$save_output-${k}.$objext + last_robj=$output_objdir/$output_la-${k}.$objext k=`expr $k + 1` - output=$output_objdir/$save_output-${k}.$objext + output=$output_objdir/$output_la-${k}.$objext objlist=$obj len=1 fi @@ -3835,13 +3963,13 @@ eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\" fi - # Set up a command to remove the reloadale object files + # Set up a command to remove the reloadable object files # after they are used. i=0 while test "$i" -lt "$k" do i=`expr $i + 1` - delfiles="$delfiles $output_objdir/$save_output-${i}.$objext" + delfiles="$delfiles $output_objdir/$output_la-${i}.$objext" done $echo "creating a temporary reloadable object file: $output" @@ -3973,64 +4101,10 @@ eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\" else gentop="$output_objdir/${obj}x" - $show "${rm}r $gentop" - $run ${rm}r "$gentop" - $show "$mkdir $gentop" - $run $mkdir "$gentop" - status=$? - if test "$status" -ne 0 && test ! -d "$gentop"; then - exit $status - fi generated="$generated $gentop" - for xlib in $convenience; do - # Extract the objects. - case $xlib in - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; - *) xabs=`pwd`"/$xlib" ;; - esac - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` - xdir="$gentop/$xlib" - - $show "${rm}r $xdir" - $run ${rm}r "$xdir" - $show "$mkdir $xdir" - $run $mkdir "$xdir" - status=$? - if test "$status" -ne 0 && test ! -d "$xdir"; then - exit $status - fi - # We will extract separately just the conflicting names and we will no - # longer touch any unique names. It is faster to leave these extract - # automatically by $AR in one run. - $show "(cd $xdir && $AR x $xabs)" - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? - if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then - : - else - $echo "$modename: warning: object name conflicts; renaming object files" 1>&2 - $echo "$modename: warning: to ensure that they will not overwrite" 1>&2 - $AR t "$xabs" | sort | uniq -cd | while read -r count name - do - i=1 - while test "$i" -le "$count" - do - # Put our $i before any first dot (extension) - # Never overwrite any file - name_to="$name" - while test "X$name_to" = "X$name" || test -f "$xdir/$name_to" - do - name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"` - done - $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')" - $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $? - i=`expr $i + 1` - done - done - fi - - reload_conv_objs="$reload_objs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` - done + func_extract_archives $gentop $convenience + reload_conv_objs="$reload_objs $func_extract_archives_result" fi fi @@ -4292,12 +4366,12 @@ # Prepare the list of exported symbols if test -z "$export_symbols"; then - export_symbols="$output_objdir/$output.exp" + export_symbols="$output_objdir/$outputname.exp" $run $rm $export_symbols $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' else - $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"' - $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T' + $run eval "${SED} -e 's/\([ ][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' + $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' $run eval 'mv "$nlist"T "$nlist"' fi fi @@ -4349,7 +4423,26 @@ #endif /* The mapping between symbol names and symbols. */ +" + + case $host in + *cygwin* | *mingw* ) + $echo >> "$output_objdir/$dlsyms" "\ +/* DATA imports from DLLs on WIN32 can't be const, because + runtime relocations are performed -- see ld's documentation + on pseudo-relocs */ +struct { +" + ;; + * ) + $echo >> "$output_objdir/$dlsyms" "\ const struct { +" + ;; + esac + + + $echo >> "$output_objdir/$dlsyms" "\ const char *name; lt_ptr address; } @@ -4578,7 +4671,7 @@ esac case $host in *cygwin* | *mingw* ) - cwrappersource=`$echo ${objdir}/lt-${output}.c` + cwrappersource=`$echo ${objdir}/lt-${outputname}.c` cwrapper=`$echo ${output}.exe` $rm $cwrappersource $cwrapper trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 @@ -4811,7 +4904,7 @@ # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. -if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH relink_command=\"$relink_command\" @@ -4988,65 +5081,10 @@ if test -n "$addlibs"; then gentop="$output_objdir/${outputname}x" - $show "${rm}r $gentop" - $run ${rm}r "$gentop" - $show "$mkdir $gentop" - $run $mkdir "$gentop" - status=$? - if test "$status" -ne 0 && test ! -d "$gentop"; then - exit $status - fi generated="$generated $gentop" - # Add in members from convenience archives. - for xlib in $addlibs; do - # Extract the objects. - case $xlib in - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; - *) xabs=`pwd`"/$xlib" ;; - esac - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` - xdir="$gentop/$xlib" - - $show "${rm}r $xdir" - $run ${rm}r "$xdir" - $show "$mkdir $xdir" - $run $mkdir "$xdir" - status=$? - if test "$status" -ne 0 && test ! -d "$xdir"; then - exit $status - fi - # We will extract separately just the conflicting names and we will no - # longer touch any unique names. It is faster to leave these extract - # automatically by $AR in one run. - $show "(cd $xdir && $AR x $xabs)" - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? - if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then - : - else - $echo "$modename: warning: object name conflicts; renaming object files" 1>&2 - $echo "$modename: warning: to ensure that they will not overwrite" 1>&2 - $AR t "$xabs" | sort | uniq -cd | while read -r count name - do - i=1 - while test "$i" -le "$count" - do - # Put our $i before any first dot (extension) - # Never overwrite any file - name_to="$name" - while test "X$name_to" = "X$name" || test -f "$xdir/$name_to" - do - name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"` - done - $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')" - $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $? - i=`expr $i + 1` - done - done - fi - - oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP` - done + func_extract_archives $gentop $addlibs + oldobjs="$oldobjs $func_extract_archives_result" fi # Do each command in the archive commands. @@ -5291,7 +5329,7 @@ # Aesthetically quote it. arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) + *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") arg="\"$arg\"" ;; esac @@ -5307,7 +5345,7 @@ # Aesthetically quote it. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) + *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") arg="\"$arg\"" ;; esac @@ -5355,7 +5393,7 @@ # Aesthetically quote the argument. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) + *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") arg="\"$arg\"" ;; esac @@ -6394,7 +6432,7 @@ $echo $echo "Try \`$modename --help' for more information about other modes." -exit $EXIT_SUCCESS +exit $? # The TAGs below are defined such that we never get into a situation # in which we disable both kinds of libraries. Given conflicting diff -ruN lftp-3.1.2/m4/Makefile.in lftp-3.1.3/m4/Makefile.in --- lftp-3.1.2/m4/Makefile.in Thu Mar 31 18:28:55 2005 +++ lftp-3.1.3/m4/Makefile.in Fri Apr 15 09:31:42 2005 @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.3 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -204,9 +204,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign m4/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu m4/Makefile'; \ cd $(top_srcdir) && \ - $(AUTOMAKE) --foreign m4/Makefile + $(AUTOMAKE) --gnu m4/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ Binary files lftp-3.1.2/po/de.gmo and lftp-3.1.3/po/de.gmo differ diff -ruN lftp-3.1.2/po/de.po lftp-3.1.3/po/de.po --- lftp-3.1.2/po/de.po Mon Apr 4 14:27:27 2005 +++ lftp-3.1.3/po/de.po Fri Apr 15 15:55:17 2005 @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: de\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-04-04 14:27+0400\n" +"POT-Creation-Date: 2005-04-15 15:55+0400\n" "PO-Revision-Date: 2004-05-21 12:53+0200\n" "Last-Translator: Moritz Moeller-Herrmann \n" "Language-Team: deutsch \n" @@ -45,7 +45,7 @@ msgid "cd ok, cwd=%s\n" msgstr "Verzeichniswechsel OK, cwd=%s\n" -#: src/CmdExec.cc:391 src/MirrorJob.cc:501 +#: src/CmdExec.cc:391 src/MirrorJob.cc:505 #, c-format msgid "%s: received redirection to `%s'\n" msgstr "%s: Umleitung nach »%s« empfangen\n" @@ -203,89 +203,94 @@ msgid "Cache entries expire in %ld $#l#minute|minutes$\n" msgstr "Einträge im Zwischenspeicher verfallen in %ld $#l#Minute|Minuten$\n" -#: src/MirrorJob.cc:92 +#: src/MirrorJob.cc:96 #, c-format msgid "%sTotal: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%sGesamt: %d Verzeichni$s|sse$, %d Datei$|en$, %d Verknüpfungen$|s$\n" -#: src/MirrorJob.cc:96 +#: src/MirrorJob.cc:100 #, c-format msgid "%sNew: %d file$|s$, %d symlink$|s$\n" msgstr "%sNeu: %d Datei$|en$, %d Verknüpfungen$|s$\n" -#: src/MirrorJob.cc:100 +#: src/MirrorJob.cc:104 #, c-format msgid "%sModified: %d file$|s$, %d symlink$|s$\n" msgstr "%sVerändert: %d Datei$|en$, %d Symlink$|s$\n" -#: src/MirrorJob.cc:105 +#: src/MirrorJob.cc:109 #, c-format msgid "%sRemoved: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%sGelöscht: %d Verzeichnis$|sse$, %d Datei$|en$, %d Symlink$|s$\n" -#: src/MirrorJob.cc:106 +#: src/MirrorJob.cc:110 #, c-format msgid "%sTo be removed: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "" "%sZur Löschung vorgesehen: %d Verzeichnis$|se$, %d Datei$|en$, %d Symlink$|s" "$\n" -#: src/MirrorJob.cc:232 src/MirrorJob.cc:832 +#: src/MirrorJob.cc:236 src/MirrorJob.cc:837 #, c-format msgid "Removing old file `%s'" msgstr "Entferne alte Datei »%s«" -#: src/MirrorJob.cc:243 +#: src/MirrorJob.cc:247 #, c-format msgid "Transferring file `%s'" msgstr "Sende Datei »%s«" -#: src/MirrorJob.cc:331 src/MirrorJob.cc:412 src/MirrorJob.cc:634 +#: src/MirrorJob.cc:335 src/MirrorJob.cc:416 src/MirrorJob.cc:638 #, c-format msgid "Removing old local file `%s'" msgstr "Entferne alte lokale Datei »%s«" -#: src/MirrorJob.cc:377 +#: src/MirrorJob.cc:381 #, c-format msgid "Mirroring directory `%s'" msgstr "Spiegele Verzeichnis »%s«" -#: src/MirrorJob.cc:425 +#: src/MirrorJob.cc:429 #, c-format msgid "Making symbolic link `%s' to `%s'" msgstr "Erzeuge symbolische Verknüpfung »%s« nach »%s«" -#: src/MirrorJob.cc:554 +#: src/MirrorJob.cc:558 #, c-format msgid "mirror: protocol `%s' is not suitable for mirror\n" msgstr "mirror: Protokoll »%s« ist nicht für das spiegeln geeignet\n" -#: src/MirrorJob.cc:652 +#: src/MirrorJob.cc:656 #, c-format msgid "Making directory `%s'" msgstr "Lege Verzeichnis »%s« an" -#: src/MirrorJob.cc:794 +#: src/MirrorJob.cc:799 #, c-format msgid "Old directory `%s' is not removed" msgstr "Bestehendes Verzeichnis »%s« wird nicht entfernt" -#: src/MirrorJob.cc:797 +#: src/MirrorJob.cc:802 #, c-format msgid "Old file `%s' is not removed" msgstr "Bestehende Datei »%s« wird nicht entfernt" -#: src/MirrorJob.cc:827 +#: src/MirrorJob.cc:832 #, c-format msgid "Removing old directory `%s'" msgstr "Entferne alte Datei »%s«" -#: src/MirrorJob.cc:1260 +#: src/MirrorJob.cc:945 +#, c-format +msgid "Retrying mirror...\n" +msgstr "" + +#: src/MirrorJob.cc:1289 #, c-format msgid "%s: regular expression `%s': %s\n" msgstr "%s: Regulärer Ausdruck (regular expression) %s: %s\n" -#: src/MirrorJob.cc:1349 src/commands.cc:982 src/commands.cc:1070 +#: src/MirrorJob.cc:1381 src/commands.cc:982 src/commands.cc:1070 #: src/commands.cc:1462 src/commands.cc:1496 src/commands.cc:1595 #: src/commands.cc:1885 src/commands.cc:2081 src/commands.cc:2254 #: src/commands.cc:2261 src/commands.cc:2443 src/commands.cc:2470 @@ -295,7 +300,7 @@ msgid "Try `help %s' for more information.\n" msgstr "»help %s« gibt mehr Informationen aus.\n" -#: src/MirrorJob.cc:1383 src/MirrorJob.cc:1399 src/commands.cc:847 +#: src/MirrorJob.cc:1415 src/MirrorJob.cc:1431 src/commands.cc:847 #: src/commands.cc:1976 src/DummyProto.cc:73 msgid " - not supported protocol" msgstr " - Protokoll nicht unterstützt" @@ -2299,12 +2304,12 @@ msgid "max-retries exceeded" msgstr "max-retries überschritten" -#: src/NetAccess.cc:932 +#: src/NetAccess.cc:931 #, c-format msgid "Getting directory contents (%lld) %s[%s]" msgstr "Lese Verzeichnisinhalt (%lld) %s[%s] aus" -#: src/NetAccess.cc:939 +#: src/NetAccess.cc:938 #, c-format msgid "Getting files information (%d%%) [%s]" msgstr "Lese Dateiinformationen (%d%%) [%s]" Binary files lftp-3.1.2/po/es.gmo and lftp-3.1.3/po/es.gmo differ diff -ruN lftp-3.1.2/po/es.po lftp-3.1.3/po/es.po --- lftp-3.1.2/po/es.po Mon Apr 4 14:27:27 2005 +++ lftp-3.1.3/po/es.po Fri Apr 15 15:55:17 2005 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: lftp 2.6.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-04-04 14:27+0400\n" +"POT-Creation-Date: 2005-04-15 15:55+0400\n" "PO-Revision-Date: 2002-08-08 19:01+0000\n" "Last-Translator: Nicolás Lichtmaier \n" "Language-Team: Spanish \n" @@ -40,7 +40,7 @@ msgid "cd ok, cwd=%s\n" msgstr "cd ok, dir actual=%s\n" -#: src/CmdExec.cc:391 src/MirrorJob.cc:501 +#: src/CmdExec.cc:391 src/MirrorJob.cc:505 #, c-format msgid "%s: received redirection to `%s'\n" msgstr "%s: se recibió redirección a `%s'\n" @@ -197,87 +197,92 @@ msgstr "Las entradas del caché expiran en %ld minuto$#l#|s$\n" # Is it possible to use the $|$ construct twice for the same data? -#: src/MirrorJob.cc:92 +#: src/MirrorJob.cc:96 #, c-format msgid "%sTotal: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%sTotal: %d directorio$|s$, %d archivo$|s$, %d enlace$|s$\n" -#: src/MirrorJob.cc:96 +#: src/MirrorJob.cc:100 #, c-format msgid "%sNew: %d file$|s$, %d symlink$|s$\n" msgstr "%sNuevos: %d archivo$|s$, %d enlace$|s$\n" -#: src/MirrorJob.cc:100 +#: src/MirrorJob.cc:104 #, c-format msgid "%sModified: %d file$|s$, %d symlink$|s$\n" msgstr "%sModificados: %d archivo$|s$, %d enlace$|s$\n" -#: src/MirrorJob.cc:105 +#: src/MirrorJob.cc:109 #, c-format msgid "%sRemoved: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%sBorrados: %d directorio$|s$, %d archivo$|s$, %d enlace$|s$\n" -#: src/MirrorJob.cc:106 +#: src/MirrorJob.cc:110 #, c-format msgid "%sTo be removed: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%sSerán borrados: %d directorio$|s$, %d archivo$|s$, %d enlace$|s$\n" -#: src/MirrorJob.cc:232 src/MirrorJob.cc:832 +#: src/MirrorJob.cc:236 src/MirrorJob.cc:837 #, c-format msgid "Removing old file `%s'" msgstr "Borrando archivo antiguo `%s'" -#: src/MirrorJob.cc:243 +#: src/MirrorJob.cc:247 #, c-format msgid "Transferring file `%s'" msgstr "Enviando archivo `%s'" -#: src/MirrorJob.cc:331 src/MirrorJob.cc:412 src/MirrorJob.cc:634 +#: src/MirrorJob.cc:335 src/MirrorJob.cc:416 src/MirrorJob.cc:638 #, c-format msgid "Removing old local file `%s'" msgstr "Borrando archivo local antiguo `%s'" -#: src/MirrorJob.cc:377 +#: src/MirrorJob.cc:381 #, c-format msgid "Mirroring directory `%s'" msgstr "Replicando directorio `%s'" -#: src/MirrorJob.cc:425 +#: src/MirrorJob.cc:429 #, c-format msgid "Making symbolic link `%s' to `%s'" msgstr "Creando enlace simbólico `%s' a `%s'" -#: src/MirrorJob.cc:554 +#: src/MirrorJob.cc:558 #, c-format msgid "mirror: protocol `%s' is not suitable for mirror\n" msgstr "mirror: el protocolo `%s' no es adecuado para mirror\n" -#: src/MirrorJob.cc:652 +#: src/MirrorJob.cc:656 #, c-format msgid "Making directory `%s'" msgstr "Creando directorio `%s'" -#: src/MirrorJob.cc:794 +#: src/MirrorJob.cc:799 #, fuzzy, c-format msgid "Old directory `%s' is not removed" msgstr "No se borró el archivo `%s'" -#: src/MirrorJob.cc:797 +#: src/MirrorJob.cc:802 #, c-format msgid "Old file `%s' is not removed" msgstr "No se borró el archivo `%s'" -#: src/MirrorJob.cc:827 +#: src/MirrorJob.cc:832 #, c-format msgid "Removing old directory `%s'" msgstr "Borrando directorio antiguo `%s'" -#: src/MirrorJob.cc:1260 +#: src/MirrorJob.cc:945 +#, c-format +msgid "Retrying mirror...\n" +msgstr "" + +#: src/MirrorJob.cc:1289 #, c-format msgid "%s: regular expression `%s': %s\n" msgstr "" -#: src/MirrorJob.cc:1349 src/commands.cc:982 src/commands.cc:1070 +#: src/MirrorJob.cc:1381 src/commands.cc:982 src/commands.cc:1070 #: src/commands.cc:1462 src/commands.cc:1496 src/commands.cc:1595 #: src/commands.cc:1885 src/commands.cc:2081 src/commands.cc:2254 #: src/commands.cc:2261 src/commands.cc:2443 src/commands.cc:2470 @@ -287,7 +292,7 @@ msgid "Try `help %s' for more information.\n" msgstr "Pruebe `help %s' para mayor información.\n" -#: src/MirrorJob.cc:1383 src/MirrorJob.cc:1399 src/commands.cc:847 +#: src/MirrorJob.cc:1415 src/MirrorJob.cc:1431 src/commands.cc:847 #: src/commands.cc:1976 src/DummyProto.cc:73 msgid " - not supported protocol" msgstr " - protocolo no soportado" @@ -2201,12 +2206,12 @@ msgid "max-retries exceeded" msgstr "variable max-retries excedida" -#: src/NetAccess.cc:932 +#: src/NetAccess.cc:931 #, c-format msgid "Getting directory contents (%lld) %s[%s]" msgstr "Obteniendo el contenido del directorio (%lld) %s[%s]" -#: src/NetAccess.cc:939 +#: src/NetAccess.cc:938 #, c-format msgid "Getting files information (%d%%) [%s]" msgstr "Obteniendo información sobre los archivos (%d%%) [%s]" Binary files lftp-3.1.2/po/fr.gmo and lftp-3.1.3/po/fr.gmo differ diff -ruN lftp-3.1.2/po/fr.po lftp-3.1.3/po/fr.po --- lftp-3.1.2/po/fr.po Mon Apr 4 14:27:28 2005 +++ lftp-3.1.3/po/fr.po Fri Apr 15 15:55:18 2005 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: lftp 2.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-04-04 14:27+0400\n" +"POT-Creation-Date: 2005-04-15 15:55+0400\n" "PO-Revision-Date: 2003-06-08 00:26+0200\n" "Last-Translator: Nicolas Noble \n" "Language-Team: Français \n" @@ -41,7 +41,7 @@ msgid "cd ok, cwd=%s\n" msgstr "cd ok, cwd=%s\n" -#: src/CmdExec.cc:391 src/MirrorJob.cc:501 +#: src/CmdExec.cc:391 src/MirrorJob.cc:505 #, c-format msgid "%s: received redirection to `%s'\n" msgstr "%s: reçu une redirection vers `%s'\n" @@ -197,87 +197,92 @@ msgid "Cache entries expire in %ld $#l#minute|minutes$\n" msgstr "Les entrées du cache expirent dans %ld minute$#l#|s$\n" -#: src/MirrorJob.cc:92 +#: src/MirrorJob.cc:96 #, c-format msgid "%sTotal: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%sTotal: %d répertoire$|s$, %d fichier$|s$, %d lien$|s$\n" -#: src/MirrorJob.cc:96 +#: src/MirrorJob.cc:100 #, c-format msgid "%sNew: %d file$|s$, %d symlink$|s$\n" msgstr "%sNouveau: %d fichier$|s$, %d lien$|s$\n" -#: src/MirrorJob.cc:100 +#: src/MirrorJob.cc:104 #, c-format msgid "%sModified: %d file$|s$, %d symlink$|s$\n" msgstr "%sModifié: %d fichier$|s$, %d lien$|s$\n" -#: src/MirrorJob.cc:105 +#: src/MirrorJob.cc:109 #, c-format msgid "%sRemoved: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%sSupprimé: %d répertoire$|s$, %d fichier$|s$, %d lien$|s$\n" -#: src/MirrorJob.cc:106 +#: src/MirrorJob.cc:110 #, c-format msgid "%sTo be removed: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%sA supprimer: %d répertoire$|s$, %d fichier$|s$, %d lien$|s$\n" -#: src/MirrorJob.cc:232 src/MirrorJob.cc:832 +#: src/MirrorJob.cc:236 src/MirrorJob.cc:837 #, c-format msgid "Removing old file `%s'" msgstr "Suppression de l'ancien fichier `%s'" -#: src/MirrorJob.cc:243 +#: src/MirrorJob.cc:247 #, c-format msgid "Transferring file `%s'" msgstr "Émission du fichier `%s'" -#: src/MirrorJob.cc:331 src/MirrorJob.cc:412 src/MirrorJob.cc:634 +#: src/MirrorJob.cc:335 src/MirrorJob.cc:416 src/MirrorJob.cc:638 #, c-format msgid "Removing old local file `%s'" msgstr "Suppression de l'ancien fichier local `%s'" -#: src/MirrorJob.cc:377 +#: src/MirrorJob.cc:381 #, c-format msgid "Mirroring directory `%s'" msgstr "Duplication du répertoire `%s'" -#: src/MirrorJob.cc:425 +#: src/MirrorJob.cc:429 #, c-format msgid "Making symbolic link `%s' to `%s'" msgstr "Création du lien `%s' -> `%s'" -#: src/MirrorJob.cc:554 +#: src/MirrorJob.cc:558 #, c-format msgid "mirror: protocol `%s' is not suitable for mirror\n" msgstr "mirror: le protocole `%s' ne convient pas pour une duplication\n" -#: src/MirrorJob.cc:652 +#: src/MirrorJob.cc:656 #, c-format msgid "Making directory `%s'" msgstr "Création du répertoire `%s'" -#: src/MirrorJob.cc:794 +#: src/MirrorJob.cc:799 #, fuzzy, c-format msgid "Old directory `%s' is not removed" msgstr "L'ancien fichier `%s' n'est pas supprimé" -#: src/MirrorJob.cc:797 +#: src/MirrorJob.cc:802 #, c-format msgid "Old file `%s' is not removed" msgstr "L'ancien fichier `%s' n'est pas supprimé" -#: src/MirrorJob.cc:827 +#: src/MirrorJob.cc:832 #, c-format msgid "Removing old directory `%s'" msgstr "Suppression de l'ancien répertoire `%s'" -#: src/MirrorJob.cc:1260 +#: src/MirrorJob.cc:945 +#, c-format +msgid "Retrying mirror...\n" +msgstr "" + +#: src/MirrorJob.cc:1289 #, c-format msgid "%s: regular expression `%s': %s\n" msgstr "%s: expression régulière `%s': %s\n" -#: src/MirrorJob.cc:1349 src/commands.cc:982 src/commands.cc:1070 +#: src/MirrorJob.cc:1381 src/commands.cc:982 src/commands.cc:1070 #: src/commands.cc:1462 src/commands.cc:1496 src/commands.cc:1595 #: src/commands.cc:1885 src/commands.cc:2081 src/commands.cc:2254 #: src/commands.cc:2261 src/commands.cc:2443 src/commands.cc:2470 @@ -287,7 +292,7 @@ msgid "Try `help %s' for more information.\n" msgstr "Essayez `help %s' pour plus d'informations.\n" -#: src/MirrorJob.cc:1383 src/MirrorJob.cc:1399 src/commands.cc:847 +#: src/MirrorJob.cc:1415 src/MirrorJob.cc:1431 src/commands.cc:847 #: src/commands.cc:1976 src/DummyProto.cc:73 msgid " - not supported protocol" msgstr " - protocole non supporté" @@ -2268,12 +2273,12 @@ msgid "max-retries exceeded" msgstr "max-retries atteint" -#: src/NetAccess.cc:932 +#: src/NetAccess.cc:931 #, c-format msgid "Getting directory contents (%lld) %s[%s]" msgstr "Récupération du contenu du répertoire (%lld) %s[%s]" -#: src/NetAccess.cc:939 +#: src/NetAccess.cc:938 #, c-format msgid "Getting files information (%d%%) [%s]" msgstr "Lecture des informations de fichiers (%d%%) [%s]" Binary files lftp-3.1.2/po/it.gmo and lftp-3.1.3/po/it.gmo differ diff -ruN lftp-3.1.2/po/it.po lftp-3.1.3/po/it.po --- lftp-3.1.2/po/it.po Mon Apr 4 14:27:28 2005 +++ lftp-3.1.3/po/it.po Fri Apr 15 15:55:18 2005 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: lftp 2.2.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-04-04 14:27+0400\n" +"POT-Creation-Date: 2005-04-15 15:55+0400\n" "PO-Revision-Date: 2000-06-18 10:46+02:00\n" "Last-Translator: Giovanni Bortolozzo \n" "Language-Team: Italian \n" @@ -39,7 +39,7 @@ msgid "cd ok, cwd=%s\n" msgstr "cd ok, cwd=%s\n" -#: src/CmdExec.cc:391 src/MirrorJob.cc:501 +#: src/CmdExec.cc:391 src/MirrorJob.cc:505 #, c-format msgid "%s: received redirection to `%s'\n" msgstr "" @@ -195,87 +195,92 @@ msgid "Cache entries expire in %ld $#l#minute|minutes$\n" msgstr "Le voci della cache scadono in %ld $#l#minuto|minuti$\n" -#: src/MirrorJob.cc:92 +#: src/MirrorJob.cc:96 #, c-format msgid "%sTotal: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%sTotale: %d directory$|$, %d file$|$, %d link simbolic$o|i$\n" -#: src/MirrorJob.cc:96 +#: src/MirrorJob.cc:100 #, c-format msgid "%sNew: %d file$|s$, %d symlink$|s$\n" msgstr "%sNuovi: %d file$|$, %d link simbolic$o|i$\n" -#: src/MirrorJob.cc:100 +#: src/MirrorJob.cc:104 #, c-format msgid "%sModified: %d file$|s$, %d symlink$|s$\n" msgstr "%sModificati: %d file$|$, %d link simbolic$o|i$\n" -#: src/MirrorJob.cc:105 +#: src/MirrorJob.cc:109 #, c-format msgid "%sRemoved: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%sCancellati: %d directory$|$, %d file$|$, %d link simbolic$o|i$\n" -#: src/MirrorJob.cc:106 +#: src/MirrorJob.cc:110 #, c-format msgid "%sTo be removed: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%sDa cancellare: %d directory$|$, %d file$|$, %d link simbolic$o|i$\n" -#: src/MirrorJob.cc:232 src/MirrorJob.cc:832 +#: src/MirrorJob.cc:236 src/MirrorJob.cc:837 #, fuzzy, c-format msgid "Removing old file `%s'" msgstr "Cancellazione del vecchio file locale `%s'" -#: src/MirrorJob.cc:243 +#: src/MirrorJob.cc:247 #, fuzzy, c-format msgid "Transferring file `%s'" msgstr "Invio il file locale `%s'" -#: src/MirrorJob.cc:331 src/MirrorJob.cc:412 src/MirrorJob.cc:634 +#: src/MirrorJob.cc:335 src/MirrorJob.cc:416 src/MirrorJob.cc:638 #, c-format msgid "Removing old local file `%s'" msgstr "Cancellazione del vecchio file locale `%s'" -#: src/MirrorJob.cc:377 +#: src/MirrorJob.cc:381 #, c-format msgid "Mirroring directory `%s'" msgstr "Mirror della directory `%s'" -#: src/MirrorJob.cc:425 +#: src/MirrorJob.cc:429 #, c-format msgid "Making symbolic link `%s' to `%s'" msgstr "Creo il link simbolico da `%s' a `%s'" -#: src/MirrorJob.cc:554 +#: src/MirrorJob.cc:558 #, c-format msgid "mirror: protocol `%s' is not suitable for mirror\n" msgstr "mirror: il protocollo `%s' non va bene per fare il mirror\n" -#: src/MirrorJob.cc:652 +#: src/MirrorJob.cc:656 #, fuzzy, c-format msgid "Making directory `%s'" msgstr "Creo la directory remota `%s'" -#: src/MirrorJob.cc:794 +#: src/MirrorJob.cc:799 #, fuzzy, c-format msgid "Old directory `%s' is not removed" msgstr "Il vecchio file locale `%s' non è stato rimosso" -#: src/MirrorJob.cc:797 +#: src/MirrorJob.cc:802 #, fuzzy, c-format msgid "Old file `%s' is not removed" msgstr "Il vecchio file locale `%s' non è stato rimosso" -#: src/MirrorJob.cc:827 +#: src/MirrorJob.cc:832 #, fuzzy, c-format msgid "Removing old directory `%s'" msgstr "Cancellazione del vecchio file remoto `%s'" -#: src/MirrorJob.cc:1260 +#: src/MirrorJob.cc:945 +#, c-format +msgid "Retrying mirror...\n" +msgstr "" + +#: src/MirrorJob.cc:1289 #, c-format msgid "%s: regular expression `%s': %s\n" msgstr "" -#: src/MirrorJob.cc:1349 src/commands.cc:982 src/commands.cc:1070 +#: src/MirrorJob.cc:1381 src/commands.cc:982 src/commands.cc:1070 #: src/commands.cc:1462 src/commands.cc:1496 src/commands.cc:1595 #: src/commands.cc:1885 src/commands.cc:2081 src/commands.cc:2254 #: src/commands.cc:2261 src/commands.cc:2443 src/commands.cc:2470 @@ -285,7 +290,7 @@ msgid "Try `help %s' for more information.\n" msgstr "Usare `help %s' per maggiori informazioni.\n" -#: src/MirrorJob.cc:1383 src/MirrorJob.cc:1399 src/commands.cc:847 +#: src/MirrorJob.cc:1415 src/MirrorJob.cc:1431 src/commands.cc:847 #: src/commands.cc:1976 src/DummyProto.cc:73 msgid " - not supported protocol" msgstr "- protocollo non supportato" @@ -2201,12 +2206,12 @@ msgid "max-retries exceeded" msgstr "" -#: src/NetAccess.cc:932 +#: src/NetAccess.cc:931 #, fuzzy, c-format msgid "Getting directory contents (%lld) %s[%s]" msgstr "Scarico il contenuto della directory (%ld)" -#: src/NetAccess.cc:939 +#: src/NetAccess.cc:938 #, fuzzy, c-format msgid "Getting files information (%d%%) [%s]" msgstr "Scarico le informazioni sui file (%d%%)" Binary files lftp-3.1.2/po/ja.gmo and lftp-3.1.3/po/ja.gmo differ diff -ruN lftp-3.1.2/po/ja.po lftp-3.1.3/po/ja.po --- lftp-3.1.2/po/ja.po Mon Apr 4 14:27:29 2005 +++ lftp-3.1.3/po/ja.po Fri Apr 15 15:55:19 2005 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: lftp 2.3.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-04-04 14:27+0400\n" +"POT-Creation-Date: 2005-04-15 15:55+0400\n" "PO-Revision-Date: 2002-04-12 00:06+0900\n" "Last-Translator: Masayuki Hatta \n" "Language-Team: Japanese \n" @@ -39,7 +39,7 @@ msgid "cd ok, cwd=%s\n" msgstr "cd À®¸ù¡¢cwd=%s\n" -#: src/CmdExec.cc:391 src/MirrorJob.cc:501 +#: src/CmdExec.cc:391 src/MirrorJob.cc:505 #, c-format msgid "%s: received redirection to `%s'\n" msgstr "%s: `%s'¤Ø¤Î¥ê¥À¥¤¥ì¥¯¥·¥ç¥ó¤ò¼õ¤±¼è¤ê¤Þ¤·¤¿\n" @@ -196,90 +196,95 @@ msgid "Cache entries expire in %ld $#l#minute|minutes$\n" msgstr "¥­¥ã¥Ã¥·¥å¥¨¥ó¥È¥ê¤Ï %ld ʬ¤Ç̵¸ú¤Ë¤Ê¤ê¤Þ¤¹\n" -#: src/MirrorJob.cc:92 +#: src/MirrorJob.cc:96 #, c-format msgid "%sTotal: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "" "%s¹ç·×: %d ¸Ä¤Î¥Ç¥£¥ì¥¯¥È¥ê¡¢%d ¸Ä¤Î¥Õ¥¡¥¤¥ë¡¢%d ¸Ä¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯\n" -#: src/MirrorJob.cc:96 +#: src/MirrorJob.cc:100 #, c-format msgid "%sNew: %d file$|s$, %d symlink$|s$\n" msgstr "%s¿·µ¬: %d ¸Ä¤Î¥Õ¥¡¥¤¥ë¡¢%d ¸Ä¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯\n" -#: src/MirrorJob.cc:100 +#: src/MirrorJob.cc:104 #, c-format msgid "%sModified: %d file$|s$, %d symlink$|s$\n" msgstr "%sÊѹ¹Í­¤ê: %d ¸Ä¤Î¥Õ¥¡¥¤¥ë¡¢%d ¸Ä¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯\n" -#: src/MirrorJob.cc:105 +#: src/MirrorJob.cc:109 #, c-format msgid "%sRemoved: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "" "%sºï½ü: %d ¸Ä¤Î¥Ç¥£¥ì¥¯¥È¥ê¡¢%d ¸Ä¤Î¥Õ¥¡¥¤¥ë¡¢%d ¸Ä¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯\n" -#: src/MirrorJob.cc:106 +#: src/MirrorJob.cc:110 #, c-format msgid "%sTo be removed: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "" "%sºï½üͽÄê: %d ¸Ä¤Î¥Ç¥£¥ì¥¯¥È¥ê¡¢%d ¸Ä¤Î¥Õ¥¡¥¤¥ë¡¢%d ¸Ä¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯\n" -#: src/MirrorJob.cc:232 src/MirrorJob.cc:832 +#: src/MirrorJob.cc:236 src/MirrorJob.cc:837 #, fuzzy, c-format msgid "Removing old file `%s'" msgstr "¸Å¤¤¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë `%s' ¤òºï½ü¤·¤Æ¤¤¤Þ¤¹" -#: src/MirrorJob.cc:243 +#: src/MirrorJob.cc:247 #, fuzzy, c-format msgid "Transferring file `%s'" msgstr "¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë `%s' ¤òÁ÷¿®¤·¤Æ¤¤¤Þ¤¹" -#: src/MirrorJob.cc:331 src/MirrorJob.cc:412 src/MirrorJob.cc:634 +#: src/MirrorJob.cc:335 src/MirrorJob.cc:416 src/MirrorJob.cc:638 #, c-format msgid "Removing old local file `%s'" msgstr "¸Å¤¤¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë `%s' ¤òºï½ü¤·¤Æ¤¤¤Þ¤¹" -#: src/MirrorJob.cc:377 +#: src/MirrorJob.cc:381 #, c-format msgid "Mirroring directory `%s'" msgstr "¥Ç¥£¥ì¥¯¥È¥ê `%s' ¤ò¥ß¥é¡¼¤·¤Æ¤¤¤Þ¤¹" -#: src/MirrorJob.cc:425 +#: src/MirrorJob.cc:429 #, c-format msgid "Making symbolic link `%s' to `%s'" msgstr "`%s' ¤«¤é `%s' ¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤òÄ¥¤Ã¤Æ¤¤¤Þ¤¹" -#: src/MirrorJob.cc:554 +#: src/MirrorJob.cc:558 #, c-format msgid "mirror: protocol `%s' is not suitable for mirror\n" msgstr "mirror: ¥×¥í¥È¥³¥ë `%s' ¤Ï¥ß¥é¡¼¤ËŬ¤·¤Þ¤»¤ó\n" -#: src/MirrorJob.cc:652 +#: src/MirrorJob.cc:656 #, fuzzy, c-format msgid "Making directory `%s'" msgstr "¥ê¥â¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê `%s' ¤òºîÀ®¤·¤Æ¤¤¤Þ¤¹" -#: src/MirrorJob.cc:794 +#: src/MirrorJob.cc:799 #, fuzzy, c-format msgid "Old directory `%s' is not removed" msgstr "¸Å¤¤¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë `%s' ¤Ïºï½ü¤µ¤ì¤Þ¤»¤ó" -#: src/MirrorJob.cc:797 +#: src/MirrorJob.cc:802 #, fuzzy, c-format msgid "Old file `%s' is not removed" msgstr "¸Å¤¤¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë `%s' ¤Ïºï½ü¤µ¤ì¤Þ¤»¤ó" -#: src/MirrorJob.cc:827 +#: src/MirrorJob.cc:832 #, fuzzy, c-format msgid "Removing old directory `%s'" msgstr "¸Å¤¤¥ê¥â¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê `%s' ¤òºï½ü¤·¤Æ¤¤¤Þ¤¹" -#: src/MirrorJob.cc:1260 +#: src/MirrorJob.cc:945 +#, c-format +msgid "Retrying mirror...\n" +msgstr "" + +#: src/MirrorJob.cc:1289 #, fuzzy, c-format msgid "%s: regular expression `%s': %s\n" msgstr "%s: %s ¤Î½ñ¤­¹þ¤ß¤Ç¥¨¥é¡¼: %s\n" -#: src/MirrorJob.cc:1349 src/commands.cc:982 src/commands.cc:1070 +#: src/MirrorJob.cc:1381 src/commands.cc:982 src/commands.cc:1070 #: src/commands.cc:1462 src/commands.cc:1496 src/commands.cc:1595 #: src/commands.cc:1885 src/commands.cc:2081 src/commands.cc:2254 #: src/commands.cc:2261 src/commands.cc:2443 src/commands.cc:2470 @@ -289,7 +294,7 @@ msgid "Try `help %s' for more information.\n" msgstr "`help %s' ¤Ç¤è¤ê¾Ü¤·¤¤¾ðÊ󤬯À¤é¤ì¤Þ¤¹¡£\n" -#: src/MirrorJob.cc:1383 src/MirrorJob.cc:1399 src/commands.cc:847 +#: src/MirrorJob.cc:1415 src/MirrorJob.cc:1431 src/commands.cc:847 #: src/commands.cc:1976 src/DummyProto.cc:73 msgid " - not supported protocol" msgstr " - ¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤¥×¥í¥È¥³¥ë¤Ç¤¹" @@ -2240,12 +2245,12 @@ msgid "max-retries exceeded" msgstr "ºÇÂçºÆ»î¹Ô²ó¿ô¤òͤ¨¤Þ¤·¤¿" -#: src/NetAccess.cc:932 +#: src/NetAccess.cc:931 #, fuzzy, c-format msgid "Getting directory contents (%lld) %s[%s]" msgstr "¥Ç¥£¥ì¥¯¥È¥êÆâÍÆ (%lld) ¤ò¼èÆÀÃæ" -#: src/NetAccess.cc:939 +#: src/NetAccess.cc:938 #, fuzzy, c-format msgid "Getting files information (%d%%) [%s]" msgstr "¥Õ¥¡¥¤¥ë¾ðÊó (%d%%)¤ò¼èÆÀÃæ" Binary files lftp-3.1.2/po/ko.gmo and lftp-3.1.3/po/ko.gmo differ diff -ruN lftp-3.1.2/po/ko.po lftp-3.1.3/po/ko.po --- lftp-3.1.2/po/ko.po Mon Apr 4 14:27:29 2005 +++ lftp-3.1.3/po/ko.po Fri Apr 15 15:55:19 2005 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: lftp 2.1.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-04-04 14:27+0400\n" +"POT-Creation-Date: 2005-04-15 15:55+0400\n" "PO-Revision-Date: 2001-05-27 KST\n" "Last-Translator: Dojip Kim \n" "Language-Team: \n" @@ -39,7 +39,7 @@ msgid "cd ok, cwd=%s\n" msgstr "cd ¼º°ø, cwd=%s\n" -#: src/CmdExec.cc:391 src/MirrorJob.cc:501 +#: src/CmdExec.cc:391 src/MirrorJob.cc:505 #, c-format msgid "%s: received redirection to `%s'\n" msgstr "%s: `%s'À¸·Î ¸®´ÙÀÌ·º¼ÇÀ» ¹ÞÀ½\n" @@ -195,87 +195,92 @@ msgid "Cache entries expire in %ld $#l#minute|minutes$\n" msgstr "%ld $#l#minute|minutes$ ÀÇ Ä³½Ã ³»¿ëÀÌ ¸¸±âµÇ¾ú½À´Ï´Ù\n" -#: src/MirrorJob.cc:92 +#: src/MirrorJob.cc:96 #, c-format msgid "%sTotal: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%sÀüü: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" -#: src/MirrorJob.cc:96 +#: src/MirrorJob.cc:100 #, c-format msgid "%sNew: %d file$|s$, %d symlink$|s$\n" msgstr "%s»ý¼º: %d file$|s$, %d symlink$|s$\n" -#: src/MirrorJob.cc:100 +#: src/MirrorJob.cc:104 #, c-format msgid "%sModified: %d file$|s$, %d symlink$|s$\n" msgstr "%s¼öÁ¤: %d file$|s$, %d symlink$|s$\n" -#: src/MirrorJob.cc:105 +#: src/MirrorJob.cc:109 #, c-format msgid "%sRemoved: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%s»èÁ¦: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" -#: src/MirrorJob.cc:106 +#: src/MirrorJob.cc:110 #, c-format msgid "%sTo be removed: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%s»èÁ¦: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" -#: src/MirrorJob.cc:232 src/MirrorJob.cc:832 +#: src/MirrorJob.cc:236 src/MirrorJob.cc:837 #, fuzzy, c-format msgid "Removing old file `%s'" msgstr "¿¾ Áö¿ª ÆÄÀÏ `%s' Áö¿ò" -#: src/MirrorJob.cc:243 +#: src/MirrorJob.cc:247 #, fuzzy, c-format msgid "Transferring file `%s'" msgstr "Áö¿ª ÆÄÀÏ `%s'À» Àü¼Û" -#: src/MirrorJob.cc:331 src/MirrorJob.cc:412 src/MirrorJob.cc:634 +#: src/MirrorJob.cc:335 src/MirrorJob.cc:416 src/MirrorJob.cc:638 #, c-format msgid "Removing old local file `%s'" msgstr "¿¾ Áö¿ª ÆÄÀÏ `%s' Áö¿ò" -#: src/MirrorJob.cc:377 +#: src/MirrorJob.cc:381 #, c-format msgid "Mirroring directory `%s'" msgstr "µð·ºÅ丮 `%s' ¹Ì·¯¸µ" -#: src/MirrorJob.cc:425 +#: src/MirrorJob.cc:429 #, c-format msgid "Making symbolic link `%s' to `%s'" msgstr "`%s'¸¦ `%s'·Î ½Éº¼ ¸µÅ©ÇÔ" -#: src/MirrorJob.cc:554 +#: src/MirrorJob.cc:558 #, c-format msgid "mirror: protocol `%s' is not suitable for mirror\n" msgstr "¹Ì·¯: ÇÁ·ÎÅäÄÝ '%s'Àº mirror¿¡ ÀûÇÕÇÏÁö ¾Ê½À´Ï´Ù\n" -#: src/MirrorJob.cc:652 +#: src/MirrorJob.cc:656 #, fuzzy, c-format msgid "Making directory `%s'" msgstr "¿ø°Å¸® µð·ºÅ丮 `%s' »ý¼º" -#: src/MirrorJob.cc:794 +#: src/MirrorJob.cc:799 #, fuzzy, c-format msgid "Old directory `%s' is not removed" msgstr "¿¾ Áö¿ª ÆÄÀÏ `%s'ÀÌ »èÁ¦µÇÁö ¾Ê¾Ò½À´Ï´Ù" -#: src/MirrorJob.cc:797 +#: src/MirrorJob.cc:802 #, fuzzy, c-format msgid "Old file `%s' is not removed" msgstr "¿¾ Áö¿ª ÆÄÀÏ `%s'ÀÌ »èÁ¦µÇÁö ¾Ê¾Ò½À´Ï´Ù" -#: src/MirrorJob.cc:827 +#: src/MirrorJob.cc:832 #, fuzzy, c-format msgid "Removing old directory `%s'" msgstr "¿¾ ¿ø°Å¸® µð·ºÅ丮 `%s' »èÁ¦" -#: src/MirrorJob.cc:1260 +#: src/MirrorJob.cc:945 +#, c-format +msgid "Retrying mirror...\n" +msgstr "" + +#: src/MirrorJob.cc:1289 #, c-format msgid "%s: regular expression `%s': %s\n" msgstr "" -#: src/MirrorJob.cc:1349 src/commands.cc:982 src/commands.cc:1070 +#: src/MirrorJob.cc:1381 src/commands.cc:982 src/commands.cc:1070 #: src/commands.cc:1462 src/commands.cc:1496 src/commands.cc:1595 #: src/commands.cc:1885 src/commands.cc:2081 src/commands.cc:2254 #: src/commands.cc:2261 src/commands.cc:2443 src/commands.cc:2470 @@ -285,7 +290,7 @@ msgid "Try `help %s' for more information.\n" msgstr "»ó¼¼ÇÑ °ÍÀº `help %s'¸¦ ÀÌ¿ëÇϽʽÿÀ\n" -#: src/MirrorJob.cc:1383 src/MirrorJob.cc:1399 src/commands.cc:847 +#: src/MirrorJob.cc:1415 src/MirrorJob.cc:1431 src/commands.cc:847 #: src/commands.cc:1976 src/DummyProto.cc:73 msgid " - not supported protocol" msgstr " - Áö¿øÇÏÁö ¾Ê´Â ÇÁ·ÎÅäÄÝÀÔ´Ï´Ù" @@ -2158,12 +2163,12 @@ msgid "max-retries exceeded" msgstr "ÃÖ´ë-Àç½Ãµµ¸¦ ÃʰúÇß½À´Ï´Ù" -#: src/NetAccess.cc:932 +#: src/NetAccess.cc:931 #, fuzzy, c-format msgid "Getting directory contents (%lld) %s[%s]" msgstr "µð·ºÅ丮 Á¤º¸¸¦ °¡Á®¿À´Â Áß (%lld)" -#: src/NetAccess.cc:939 +#: src/NetAccess.cc:938 #, fuzzy, c-format msgid "Getting files information (%d%%) [%s]" msgstr "ÆÄÀÏ Á¤º¸¸¦ °¡Á®¿À´Â Áß (%d%%)" diff -ruN lftp-3.1.2/po/lftp.pot lftp-3.1.3/po/lftp.pot --- lftp-3.1.2/po/lftp.pot Mon Apr 4 14:27:26 2005 +++ lftp-3.1.3/po/lftp.pot Fri Apr 15 15:55:16 2005 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-04-04 14:27+0400\n" +"POT-Creation-Date: 2005-04-15 15:55+0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -41,7 +41,7 @@ msgid "cd ok, cwd=%s\n" msgstr "" -#: src/CmdExec.cc:391 src/MirrorJob.cc:501 +#: src/CmdExec.cc:391 src/MirrorJob.cc:505 #, c-format msgid "%s: received redirection to `%s'\n" msgstr "" @@ -197,87 +197,92 @@ msgid "Cache entries expire in %ld $#l#minute|minutes$\n" msgstr "" -#: src/MirrorJob.cc:92 +#: src/MirrorJob.cc:96 #, c-format msgid "%sTotal: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "" -#: src/MirrorJob.cc:96 +#: src/MirrorJob.cc:100 #, c-format msgid "%sNew: %d file$|s$, %d symlink$|s$\n" msgstr "" -#: src/MirrorJob.cc:100 +#: src/MirrorJob.cc:104 #, c-format msgid "%sModified: %d file$|s$, %d symlink$|s$\n" msgstr "" -#: src/MirrorJob.cc:105 +#: src/MirrorJob.cc:109 #, c-format msgid "%sRemoved: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "" -#: src/MirrorJob.cc:106 +#: src/MirrorJob.cc:110 #, c-format msgid "%sTo be removed: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "" -#: src/MirrorJob.cc:232 src/MirrorJob.cc:832 +#: src/MirrorJob.cc:236 src/MirrorJob.cc:837 #, c-format msgid "Removing old file `%s'" msgstr "" -#: src/MirrorJob.cc:243 +#: src/MirrorJob.cc:247 #, c-format msgid "Transferring file `%s'" msgstr "" -#: src/MirrorJob.cc:331 src/MirrorJob.cc:412 src/MirrorJob.cc:634 +#: src/MirrorJob.cc:335 src/MirrorJob.cc:416 src/MirrorJob.cc:638 #, c-format msgid "Removing old local file `%s'" msgstr "" -#: src/MirrorJob.cc:377 +#: src/MirrorJob.cc:381 #, c-format msgid "Mirroring directory `%s'" msgstr "" -#: src/MirrorJob.cc:425 +#: src/MirrorJob.cc:429 #, c-format msgid "Making symbolic link `%s' to `%s'" msgstr "" -#: src/MirrorJob.cc:554 +#: src/MirrorJob.cc:558 #, c-format msgid "mirror: protocol `%s' is not suitable for mirror\n" msgstr "" -#: src/MirrorJob.cc:652 +#: src/MirrorJob.cc:656 #, c-format msgid "Making directory `%s'" msgstr "" -#: src/MirrorJob.cc:794 +#: src/MirrorJob.cc:799 #, c-format msgid "Old directory `%s' is not removed" msgstr "" -#: src/MirrorJob.cc:797 +#: src/MirrorJob.cc:802 #, c-format msgid "Old file `%s' is not removed" msgstr "" -#: src/MirrorJob.cc:827 +#: src/MirrorJob.cc:832 #, c-format msgid "Removing old directory `%s'" msgstr "" -#: src/MirrorJob.cc:1260 +#: src/MirrorJob.cc:945 +#, c-format +msgid "Retrying mirror...\n" +msgstr "" + +#: src/MirrorJob.cc:1289 #, c-format msgid "%s: regular expression `%s': %s\n" msgstr "" -#: src/MirrorJob.cc:1349 src/commands.cc:982 src/commands.cc:1070 +#: src/MirrorJob.cc:1381 src/commands.cc:982 src/commands.cc:1070 #: src/commands.cc:1462 src/commands.cc:1496 src/commands.cc:1595 #: src/commands.cc:1885 src/commands.cc:2081 src/commands.cc:2254 #: src/commands.cc:2261 src/commands.cc:2443 src/commands.cc:2470 @@ -287,7 +292,7 @@ msgid "Try `help %s' for more information.\n" msgstr "" -#: src/MirrorJob.cc:1383 src/MirrorJob.cc:1399 src/commands.cc:847 +#: src/MirrorJob.cc:1415 src/MirrorJob.cc:1431 src/commands.cc:847 #: src/commands.cc:1976 src/DummyProto.cc:73 msgid " - not supported protocol" msgstr "" @@ -1950,12 +1955,12 @@ msgid "max-retries exceeded" msgstr "" -#: src/NetAccess.cc:932 +#: src/NetAccess.cc:931 #, c-format msgid "Getting directory contents (%lld) %s[%s]" msgstr "" -#: src/NetAccess.cc:939 +#: src/NetAccess.cc:938 #, c-format msgid "Getting files information (%d%%) [%s]" msgstr "" Binary files lftp-3.1.2/po/pl.gmo and lftp-3.1.3/po/pl.gmo differ diff -ruN lftp-3.1.2/po/pl.po lftp-3.1.3/po/pl.po --- lftp-3.1.2/po/pl.po Mon Apr 4 14:27:30 2005 +++ lftp-3.1.3/po/pl.po Fri Apr 15 15:55:20 2005 @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: lftp 3.0.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-04-04 14:27+0400\n" +"POT-Creation-Date: 2005-04-15 15:55+0400\n" "PO-Revision-Date: 2004-12-04 17:20+0100\n" "Last-Translator: Jakub Bogusz \n" "Language-Team: Polish \n" @@ -42,7 +42,7 @@ msgid "cd ok, cwd=%s\n" msgstr "cd ok, cwd=%s\n" -#: src/CmdExec.cc:391 src/MirrorJob.cc:501 +#: src/CmdExec.cc:391 src/MirrorJob.cc:505 #, c-format msgid "%s: received redirection to `%s'\n" msgstr "%s: otrzymano przekierowanie do `%s'\n" @@ -200,97 +200,102 @@ msgstr "" "Wpisy w pamiêci podrêcznej dezaktualizuj± siê po %ld minu$#l#cie|tach|tach$\n" -#: src/MirrorJob.cc:92 +#: src/MirrorJob.cc:96 #, c-format msgid "%sTotal: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "" "%sSumuj±c: %d katalog$|i|ów$, %d plik$|i|ów$, %d $dowi±zanie symboliczne|" "dowi±zania symboliczne|dowi±zañ symbolicznych$.\n" -#: src/MirrorJob.cc:96 +#: src/MirrorJob.cc:100 #, c-format msgid "%sNew: %d file$|s$, %d symlink$|s$\n" msgstr "" "%sNowych: %d plik$|i|ów$, %d $dowi±zanie symboliczne|dowi±zania symboliczne|" "dowi±zañ symbolicznych$.\n" -#: src/MirrorJob.cc:100 +#: src/MirrorJob.cc:104 #, c-format msgid "%sModified: %d file$|s$, %d symlink$|s$\n" msgstr "" "%sZmodyfikowano: %d plik$|i|ów$, %d $dowi±zanie symboliczne|dowi±zania " "symboliczne|dowi±zañ symbolicznych$.\n" -#: src/MirrorJob.cc:105 +#: src/MirrorJob.cc:109 #, c-format msgid "%sRemoved: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "" "%sUsuniêto: %d katalog$|i|ów$, %d plik$|i|ów$, %d $dowi±zanie symboliczne|" "dowi±zania symboliczne|dowi±zañ symbolicznych$.\n" -#: src/MirrorJob.cc:106 +#: src/MirrorJob.cc:110 #, c-format msgid "%sTo be removed: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "" "%sDo usuniêcia: %d katalog$|i|ów$, %d plik$|i|ów$, %d $dowi±zanie " "symboliczne|dowi±zania symboliczne|dowi±zañ symbolicznych$.\n" -#: src/MirrorJob.cc:232 src/MirrorJob.cc:832 +#: src/MirrorJob.cc:236 src/MirrorJob.cc:837 #, c-format msgid "Removing old file `%s'" msgstr "Usuwanie starego pliku `%s'" -#: src/MirrorJob.cc:243 +#: src/MirrorJob.cc:247 #, c-format msgid "Transferring file `%s'" msgstr "Przesy³anie pliku `%s'" -#: src/MirrorJob.cc:331 src/MirrorJob.cc:412 src/MirrorJob.cc:634 +#: src/MirrorJob.cc:335 src/MirrorJob.cc:416 src/MirrorJob.cc:638 #, c-format msgid "Removing old local file `%s'" msgstr "Usuwanie starego lokalnego pliku `%s'" -#: src/MirrorJob.cc:377 +#: src/MirrorJob.cc:381 #, c-format msgid "Mirroring directory `%s'" msgstr "Mirrorowanie katalogu `%s'" -#: src/MirrorJob.cc:425 +#: src/MirrorJob.cc:429 #, c-format msgid "Making symbolic link `%s' to `%s'" msgstr "Tworzenie dowi±zania symbolicznego `%s' do `%s'" -#: src/MirrorJob.cc:554 +#: src/MirrorJob.cc:558 #, c-format msgid "mirror: protocol `%s' is not suitable for mirror\n" msgstr "mirror: protokó³ `%s' nieodpowiedni dla mirrora\n" -#: src/MirrorJob.cc:652 +#: src/MirrorJob.cc:656 #, c-format msgid "Making directory `%s'" msgstr "Tworzenie katalogu `%s'" -#: src/MirrorJob.cc:794 +#: src/MirrorJob.cc:799 #, c-format msgid "Old directory `%s' is not removed" msgstr "Stary katalog `%s' nie zosta³ usuniêty" -#: src/MirrorJob.cc:797 +#: src/MirrorJob.cc:802 #, c-format msgid "Old file `%s' is not removed" msgstr "Stary plik `%s' nie zosta³ usuniêty" -#: src/MirrorJob.cc:827 +#: src/MirrorJob.cc:832 #, c-format msgid "Removing old directory `%s'" msgstr "Usuwanie starego katalogu `%s'" -#: src/MirrorJob.cc:1260 +#: src/MirrorJob.cc:945 +#, c-format +msgid "Retrying mirror...\n" +msgstr "" + +#: src/MirrorJob.cc:1289 #, c-format msgid "%s: regular expression `%s': %s\n" msgstr "%s: wyra¿enie regularne `%s': %s\n" -#: src/MirrorJob.cc:1349 src/commands.cc:982 src/commands.cc:1070 +#: src/MirrorJob.cc:1381 src/commands.cc:982 src/commands.cc:1070 #: src/commands.cc:1462 src/commands.cc:1496 src/commands.cc:1595 #: src/commands.cc:1885 src/commands.cc:2081 src/commands.cc:2254 #: src/commands.cc:2261 src/commands.cc:2443 src/commands.cc:2470 @@ -300,7 +305,7 @@ msgid "Try `help %s' for more information.\n" msgstr "W celu uzyskania wiêkszej ilo¶ci informacji spróbuj `help %s'.\n" -#: src/MirrorJob.cc:1383 src/MirrorJob.cc:1399 src/commands.cc:847 +#: src/MirrorJob.cc:1415 src/MirrorJob.cc:1431 src/commands.cc:847 #: src/commands.cc:1976 src/DummyProto.cc:73 msgid " - not supported protocol" msgstr " - protokó³ nie jest wspierany" @@ -2278,12 +2283,12 @@ msgid "max-retries exceeded" msgstr "przekroczona maksymalna liczba prób" -#: src/NetAccess.cc:932 +#: src/NetAccess.cc:931 #, c-format msgid "Getting directory contents (%lld) %s[%s]" msgstr "Pobieranie informacji o zawarto¶ci katalogu (%lld) %s[%s]" -#: src/NetAccess.cc:939 +#: src/NetAccess.cc:938 #, c-format msgid "Getting files information (%d%%) [%s]" msgstr "Pobieranie informacji o plikach (%d%%) [%s]" Binary files lftp-3.1.2/po/pt_BR.gmo and lftp-3.1.3/po/pt_BR.gmo differ diff -ruN lftp-3.1.2/po/pt_BR.po lftp-3.1.3/po/pt_BR.po --- lftp-3.1.2/po/pt_BR.po Mon Apr 4 14:27:30 2005 +++ lftp-3.1.3/po/pt_BR.po Fri Apr 15 15:55:20 2005 @@ -5,7 +5,7 @@ msgstr "" "Project-Id-Version: lftp 1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-04-04 14:27+0400\n" +"POT-Creation-Date: 2005-04-15 15:55+0400\n" "PO-Revision-Date: 1999-07-12 00:00+0400\n" "Last-Translator: Arnaldo Carvalho de Melo \n" "Language-Team: pt_BR \n" @@ -38,7 +38,7 @@ msgid "cd ok, cwd=%s\n" msgstr "" -#: src/CmdExec.cc:391 src/MirrorJob.cc:501 +#: src/CmdExec.cc:391 src/MirrorJob.cc:505 #, c-format msgid "%s: received redirection to `%s'\n" msgstr "" @@ -194,87 +194,92 @@ msgid "Cache entries expire in %ld $#l#minute|minutes$\n" msgstr "As entradas do cache expirarão em %ld minuto\n" -#: src/MirrorJob.cc:92 +#: src/MirrorJob.cc:96 #, c-format msgid "%sTotal: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "" -#: src/MirrorJob.cc:96 +#: src/MirrorJob.cc:100 #, c-format msgid "%sNew: %d file$|s$, %d symlink$|s$\n" msgstr "" -#: src/MirrorJob.cc:100 +#: src/MirrorJob.cc:104 #, c-format msgid "%sModified: %d file$|s$, %d symlink$|s$\n" msgstr "" -#: src/MirrorJob.cc:105 +#: src/MirrorJob.cc:109 #, c-format msgid "%sRemoved: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "" -#: src/MirrorJob.cc:106 +#: src/MirrorJob.cc:110 #, c-format msgid "%sTo be removed: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "" -#: src/MirrorJob.cc:232 src/MirrorJob.cc:832 +#: src/MirrorJob.cc:236 src/MirrorJob.cc:837 #, fuzzy, c-format msgid "Removing old file `%s'" msgstr "Removendo arquivo local antigo `%s'" -#: src/MirrorJob.cc:243 +#: src/MirrorJob.cc:247 #, fuzzy, c-format msgid "Transferring file `%s'" msgstr "Enviando arquivo local `%s'" -#: src/MirrorJob.cc:331 src/MirrorJob.cc:412 src/MirrorJob.cc:634 +#: src/MirrorJob.cc:335 src/MirrorJob.cc:416 src/MirrorJob.cc:638 #, c-format msgid "Removing old local file `%s'" msgstr "Removendo arquivo local antigo `%s'" -#: src/MirrorJob.cc:377 +#: src/MirrorJob.cc:381 #, fuzzy, c-format msgid "Mirroring directory `%s'" msgstr "Criando diretório remoto `%s'" -#: src/MirrorJob.cc:425 +#: src/MirrorJob.cc:429 #, c-format msgid "Making symbolic link `%s' to `%s'" msgstr "Criando link simbólico de `%s' para `%s'" -#: src/MirrorJob.cc:554 +#: src/MirrorJob.cc:558 #, c-format msgid "mirror: protocol `%s' is not suitable for mirror\n" msgstr "mirror: o protocolo `%s' não pode ser espelhado\n" -#: src/MirrorJob.cc:652 +#: src/MirrorJob.cc:656 #, fuzzy, c-format msgid "Making directory `%s'" msgstr "Criando diretório remoto `%s'" -#: src/MirrorJob.cc:794 +#: src/MirrorJob.cc:799 #, fuzzy, c-format msgid "Old directory `%s' is not removed" msgstr "%s: nenhum arquivo encontrado\n" -#: src/MirrorJob.cc:797 +#: src/MirrorJob.cc:802 #, c-format msgid "Old file `%s' is not removed" msgstr "" -#: src/MirrorJob.cc:827 +#: src/MirrorJob.cc:832 #, fuzzy, c-format msgid "Removing old directory `%s'" msgstr "Removendo arquivo remoto antigo `%s'" -#: src/MirrorJob.cc:1260 +#: src/MirrorJob.cc:945 +#, c-format +msgid "Retrying mirror...\n" +msgstr "" + +#: src/MirrorJob.cc:1289 #, c-format msgid "%s: regular expression `%s': %s\n" msgstr "" -#: src/MirrorJob.cc:1349 src/commands.cc:982 src/commands.cc:1070 +#: src/MirrorJob.cc:1381 src/commands.cc:982 src/commands.cc:1070 #: src/commands.cc:1462 src/commands.cc:1496 src/commands.cc:1595 #: src/commands.cc:1885 src/commands.cc:2081 src/commands.cc:2254 #: src/commands.cc:2261 src/commands.cc:2443 src/commands.cc:2470 @@ -284,7 +289,7 @@ msgid "Try `help %s' for more information.\n" msgstr "" -#: src/MirrorJob.cc:1383 src/MirrorJob.cc:1399 src/commands.cc:847 +#: src/MirrorJob.cc:1415 src/MirrorJob.cc:1431 src/commands.cc:847 #: src/commands.cc:1976 src/DummyProto.cc:73 #, fuzzy msgid " - not supported protocol" @@ -2067,12 +2072,12 @@ msgid "max-retries exceeded" msgstr "" -#: src/NetAccess.cc:932 +#: src/NetAccess.cc:931 #, fuzzy, c-format msgid "Getting directory contents (%lld) %s[%s]" msgstr "Buscando conteúdo do diretório (%ld)" -#: src/NetAccess.cc:939 +#: src/NetAccess.cc:938 #, fuzzy, c-format msgid "Getting files information (%d%%) [%s]" msgstr "Buscando informações dos arquivos (%d%%)" Binary files lftp-3.1.2/po/ru.gmo and lftp-3.1.3/po/ru.gmo differ diff -ruN lftp-3.1.2/po/ru.po lftp-3.1.3/po/ru.po --- lftp-3.1.2/po/ru.po Mon Apr 4 14:27:30 2005 +++ lftp-3.1.3/po/ru.po Fri Apr 15 15:55:21 2005 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: lftp 2.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-04-04 14:27+0400\n" +"POT-Creation-Date: 2005-04-15 15:55+0400\n" "PO-Revision-Date: 2000-09-07 09:36+08:00\n" "Last-Translator: Alexander V. Lukyanov \n" "Language-Team: Russian \n" @@ -40,7 +40,7 @@ msgid "cd ok, cwd=%s\n" msgstr "cd ok, ËÁÔÁÌÏÇ=%s\n" -#: src/CmdExec.cc:391 src/MirrorJob.cc:501 +#: src/CmdExec.cc:391 src/MirrorJob.cc:505 #, c-format msgid "%s: received redirection to `%s'\n" msgstr "%s: ÐÏÌÕÞÅÎÏ ÐÅÒÅÎÁÐÒÁ×ÌÅÎÉÅ ÎÁ `%s'\n" @@ -196,91 +196,96 @@ msgid "Cache entries expire in %ld $#l#minute|minutes$\n" msgstr "óÏÄÅÒÖÉÍÏÅ ËÜÛÁ ÕÓÔÁÒÅ×ÁÅÔ ÞÅÒÅÚ %ld $#l#ÍÉÎÕÔÕ|ÍÉÎÕÔÙ|ÍÉÎÕÔ$\n" -#: src/MirrorJob.cc:92 +#: src/MirrorJob.cc:96 #, c-format msgid "%sTotal: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "" "%s÷ÓÅÇÏ: %d ËÁÔÁÌÏÇ$|Á|Ï×$, %d ÆÁÊÌ$|Á|Ï×$, %d $ÓÓÙÌËÁ|ÓÓÙÌËÉ|ÓÓÙÌÏË$\n" -#: src/MirrorJob.cc:96 +#: src/MirrorJob.cc:100 #, c-format msgid "%sNew: %d file$|s$, %d symlink$|s$\n" msgstr "%sóÏÚÄÁÎÙ: %d ÆÁÊÌ$|Á|Ï×$, %d $ÓÓÙÌËÁ|ÓÓÙÌËÉ|ÓÓÙÌÏË$\n" -#: src/MirrorJob.cc:100 +#: src/MirrorJob.cc:104 #, c-format msgid "%sModified: %d file$|s$, %d symlink$|s$\n" msgstr "%séÚÍÅÎÅÎÙ: %d $ÆÁÊÌ|ÆÁÊÌÁ|ÆÁÊÌÏ×$, %d $ÓÓÙÌËÁ|ÓÓÙÌËÉ|ÓÓÙÌÏË$\n" -#: src/MirrorJob.cc:105 +#: src/MirrorJob.cc:109 #, c-format msgid "%sRemoved: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "" "%sõÄÁÌÅÎÙ: %d ËÁÔÁÌÏÇ$|Á|Ï×$, %d ÆÁÊÌ$|Á|Ï×$, %d $ÓÓÙÌËÁ|ÓÓÙÌËÉ|ÓÓÙÌÏË$\n" -#: src/MirrorJob.cc:106 +#: src/MirrorJob.cc:110 #, c-format msgid "%sTo be removed: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "" "%sðÏÄÌÅÖÁÔ ÕÄÁÌÅÎÉÀ: %d ËÁÔÁÌÏÇ$|Á|Ï×$, %d ÆÁÊÌ$|Á|Ï×$, %d $ÓÓÙÌËÁ|ÓÓÙÌËÉ|" "ÓÓÙÌÏË$\n" -#: src/MirrorJob.cc:232 src/MirrorJob.cc:832 +#: src/MirrorJob.cc:236 src/MirrorJob.cc:837 #, c-format msgid "Removing old file `%s'" msgstr "õÄÁÌÅÎÉÅ ÓÔÁÒÏÇÏ ÆÁÊÌÁ `%s'" -#: src/MirrorJob.cc:243 +#: src/MirrorJob.cc:247 #, c-format msgid "Transferring file `%s'" msgstr "ëÏÐÉÒÏ×ÁÎÉÅ ÆÁÊÌÁ `%s'" -#: src/MirrorJob.cc:331 src/MirrorJob.cc:412 src/MirrorJob.cc:634 +#: src/MirrorJob.cc:335 src/MirrorJob.cc:416 src/MirrorJob.cc:638 #, c-format msgid "Removing old local file `%s'" msgstr "õÄÁÌÅÎÉÅ ÓÔÁÒÏÇÏ ÌÏËÁÌØÎÏÇÏ ÆÁÊÌÁ `%s'" -#: src/MirrorJob.cc:377 +#: src/MirrorJob.cc:381 #, c-format msgid "Mirroring directory `%s'" msgstr "ëÏÐÉÒÏ×ÁÎÉÅ ËÁÔÁÌÏÇÁ `%s'" -#: src/MirrorJob.cc:425 +#: src/MirrorJob.cc:429 #, c-format msgid "Making symbolic link `%s' to `%s'" msgstr "óÏÚÄÁÎÉÅ ÓÉÍ×ÏÌØÎÏÊ ÓÓÙÌËÉ `%s' ÎÁ `%s'" -#: src/MirrorJob.cc:554 +#: src/MirrorJob.cc:558 #, c-format msgid "mirror: protocol `%s' is not suitable for mirror\n" msgstr "mirror: ÐÒÏÔÏËÏÌ `%s' ÎÅ ÐÏÄÈÏÄÉÔ ÄÌÑ ÚÅÒËÁÌÉÒÏ×ÁÎÉÑ\n" -#: src/MirrorJob.cc:652 +#: src/MirrorJob.cc:656 #, c-format msgid "Making directory `%s'" msgstr "óÏÚÄÁÎÉÅ ËÁÔÁÌÏÇÁ `%s'" -#: src/MirrorJob.cc:794 +#: src/MirrorJob.cc:799 #, fuzzy, c-format msgid "Old directory `%s' is not removed" msgstr "óÔÁÒÙÊ ÆÁÊÌ `%s' ÎÅ ÕÄÁÌÅÎ" -#: src/MirrorJob.cc:797 +#: src/MirrorJob.cc:802 #, c-format msgid "Old file `%s' is not removed" msgstr "óÔÁÒÙÊ ÆÁÊÌ `%s' ÎÅ ÕÄÁÌÅÎ" -#: src/MirrorJob.cc:827 +#: src/MirrorJob.cc:832 #, c-format msgid "Removing old directory `%s'" msgstr "õÄÁÌÅÎÉÅ ÓÔÁÒÏÇÏ ËÁÔÁÌÏÇÁ `%s'" -#: src/MirrorJob.cc:1260 +#: src/MirrorJob.cc:945 +#, c-format +msgid "Retrying mirror...\n" +msgstr "" + +#: src/MirrorJob.cc:1289 #, c-format msgid "%s: regular expression `%s': %s\n" msgstr "%s: ÒÅÇÕÌÑÒÎÏÅ ×ÙÒÁÖÅÎÉÅ `%s': %s\n" -#: src/MirrorJob.cc:1349 src/commands.cc:982 src/commands.cc:1070 +#: src/MirrorJob.cc:1381 src/commands.cc:982 src/commands.cc:1070 #: src/commands.cc:1462 src/commands.cc:1496 src/commands.cc:1595 #: src/commands.cc:1885 src/commands.cc:2081 src/commands.cc:2254 #: src/commands.cc:2261 src/commands.cc:2443 src/commands.cc:2470 @@ -290,7 +295,7 @@ msgid "Try `help %s' for more information.\n" msgstr "úÁÐÕÓÔÉÔÅ `help %s' ÄÌÑ ÐÏÌÕÞÅÎÉÑ ÄÏÐÏÌÎÉÔÅÌØÎÏÊ ÉÎÆÏÒÍÁÃÉÉ.\n" -#: src/MirrorJob.cc:1383 src/MirrorJob.cc:1399 src/commands.cc:847 +#: src/MirrorJob.cc:1415 src/MirrorJob.cc:1431 src/commands.cc:847 #: src/commands.cc:1976 src/DummyProto.cc:73 msgid " - not supported protocol" msgstr " - ÐÒÏÔÏËÏÌ ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ" @@ -2198,12 +2203,12 @@ msgid "max-retries exceeded" msgstr "ÐÒÅ×ÙÛÅÎ ÌÉÍÉÔ ËÏÌÉÞÅÓÔ×Á ÐÏÐÙÔÏË (max-retries)" -#: src/NetAccess.cc:932 +#: src/NetAccess.cc:931 #, c-format msgid "Getting directory contents (%lld) %s[%s]" msgstr "ðÏÌÕÞÅÎÉÅ ÓÏÄÅÒÖÉÍÏÇÏ ËÁÔÁÌÏÇÁ (%lld) %s[%s]" -#: src/NetAccess.cc:939 +#: src/NetAccess.cc:938 #, c-format msgid "Getting files information (%d%%) [%s]" msgstr "ðÏÌÕÞÅÎÉÅ ÉÎÆÏÒÍÁÃÉÉ Ï ÆÁÊÌÁÈ (%d%%) [%s]" Binary files lftp-3.1.2/po/zh_CN.gmo and lftp-3.1.3/po/zh_CN.gmo differ diff -ruN lftp-3.1.2/po/zh_CN.po lftp-3.1.3/po/zh_CN.po --- lftp-3.1.2/po/zh_CN.po Mon Apr 4 14:27:31 2005 +++ lftp-3.1.3/po/zh_CN.po Fri Apr 15 15:55:21 2005 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: lftp-2.0.4\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-04-04 14:27+0400\n" +"POT-Creation-Date: 2005-04-15 15:55+0400\n" "PO-Revision-Date: 1999-09-10 00:50+0800\n" "Last-Translator: Wang Jian \n" "Language-Team: zh \n" @@ -40,7 +40,7 @@ msgid "cd ok, cwd=%s\n" msgstr "cd ³É¹¦, µ±Ç°Ä¿Â¼=%s\n" -#: src/CmdExec.cc:391 src/MirrorJob.cc:501 +#: src/CmdExec.cc:391 src/MirrorJob.cc:505 #, c-format msgid "%s: received redirection to `%s'\n" msgstr "" @@ -196,87 +196,92 @@ msgid "Cache entries expire in %ld $#l#minute|minutes$\n" msgstr "»º³åÌõÄ¿ÔÚ %ld ·ÖÖÓÄÚ¹ýÆÚ\n" -#: src/MirrorJob.cc:92 +#: src/MirrorJob.cc:96 #, c-format msgid "%sTotal: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%sÈ«²¿: %d ¸öĿ¼,%d ¸öÎļþ, %d ¸ö·ûºÅÁ´½Ó\n" -#: src/MirrorJob.cc:96 +#: src/MirrorJob.cc:100 #, c-format msgid "%sNew: %d file$|s$, %d symlink$|s$\n" msgstr "%sн¨: %d ¸öÎļþ, %d ¸ö·ûºÅÁ´½Ó\n" -#: src/MirrorJob.cc:100 +#: src/MirrorJob.cc:104 #, c-format msgid "%sModified: %d file$|s$, %d symlink$|s$\n" msgstr "%sÐ޸Ĺý: %d ¸öÎļþ, %d ¸ö·ûºÅÁ´½Ó\n" -#: src/MirrorJob.cc:105 +#: src/MirrorJob.cc:109 #, c-format msgid "%sRemoved: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%sɾ³ý: %d ¸öĿ¼, %d ¸öÎļþ, %d ¸ö·ûºÅÁ´½Ó\n" -#: src/MirrorJob.cc:106 +#: src/MirrorJob.cc:110 #, c-format msgid "%sTo be removed: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%sҪɾ³ý: %d ¸öĿ¼, %d ¸öÎļþ, %d ¸ö·ûºÅÁ´½Ó\n" -#: src/MirrorJob.cc:232 src/MirrorJob.cc:832 +#: src/MirrorJob.cc:236 src/MirrorJob.cc:837 #, fuzzy, c-format msgid "Removing old file `%s'" msgstr "ÕýÔÚɾ³ý±¾µØÎļþ `%s'" -#: src/MirrorJob.cc:243 +#: src/MirrorJob.cc:247 #, fuzzy, c-format msgid "Transferring file `%s'" msgstr "ÉÏ´«±¾µØÎļþ '%s'" -#: src/MirrorJob.cc:331 src/MirrorJob.cc:412 src/MirrorJob.cc:634 +#: src/MirrorJob.cc:335 src/MirrorJob.cc:416 src/MirrorJob.cc:638 #, c-format msgid "Removing old local file `%s'" msgstr "ÕýÔÚɾ³ý±¾µØÎļþ `%s'" -#: src/MirrorJob.cc:377 +#: src/MirrorJob.cc:381 #, fuzzy, c-format msgid "Mirroring directory `%s'" msgstr "½¨Á¢Ô¶³ÌĿ¼ `%s'" -#: src/MirrorJob.cc:425 +#: src/MirrorJob.cc:429 #, c-format msgid "Making symbolic link `%s' to `%s'" msgstr "½¨Á¢·ûºÅÁ´½Ó `%s' Ö¸Ïò `%s'" -#: src/MirrorJob.cc:554 +#: src/MirrorJob.cc:558 #, c-format msgid "mirror: protocol `%s' is not suitable for mirror\n" msgstr "¾µÏñ: ЭÒé `%s' ²»ÊʺϽøÐоµÏñ\n" -#: src/MirrorJob.cc:652 +#: src/MirrorJob.cc:656 #, fuzzy, c-format msgid "Making directory `%s'" msgstr "½¨Á¢Ô¶³ÌĿ¼ `%s'" -#: src/MirrorJob.cc:794 +#: src/MirrorJob.cc:799 #, fuzzy, c-format msgid "Old directory `%s' is not removed" msgstr "ûÓÐɾ³ý¾ÉµÄ±¾µØÎļþ `%s'" -#: src/MirrorJob.cc:797 +#: src/MirrorJob.cc:802 #, fuzzy, c-format msgid "Old file `%s' is not removed" msgstr "ûÓÐɾ³ý¾ÉµÄ±¾µØÎļþ `%s'" -#: src/MirrorJob.cc:827 +#: src/MirrorJob.cc:832 #, fuzzy, c-format msgid "Removing old directory `%s'" msgstr "ɾ³ý¾ÉµÄÔ¶³ÌÎļþ `%s'" -#: src/MirrorJob.cc:1260 +#: src/MirrorJob.cc:945 +#, c-format +msgid "Retrying mirror...\n" +msgstr "" + +#: src/MirrorJob.cc:1289 #, c-format msgid "%s: regular expression `%s': %s\n" msgstr "" -#: src/MirrorJob.cc:1349 src/commands.cc:982 src/commands.cc:1070 +#: src/MirrorJob.cc:1381 src/commands.cc:982 src/commands.cc:1070 #: src/commands.cc:1462 src/commands.cc:1496 src/commands.cc:1595 #: src/commands.cc:1885 src/commands.cc:2081 src/commands.cc:2254 #: src/commands.cc:2261 src/commands.cc:2443 src/commands.cc:2470 @@ -286,7 +291,7 @@ msgid "Try `help %s' for more information.\n" msgstr "ÇëÓà `help %s' »òµÃ¸ü¶àµÄÐÅÏ¢.\n" -#: src/MirrorJob.cc:1383 src/MirrorJob.cc:1399 src/commands.cc:847 +#: src/MirrorJob.cc:1415 src/MirrorJob.cc:1431 src/commands.cc:847 #: src/commands.cc:1976 src/DummyProto.cc:73 #, fuzzy msgid " - not supported protocol" @@ -2145,12 +2150,12 @@ msgid "max-retries exceeded" msgstr "´ïµ½×î´óÖØÊÔ´ÎÊý" -#: src/NetAccess.cc:932 +#: src/NetAccess.cc:931 #, fuzzy, c-format msgid "Getting directory contents (%lld) %s[%s]" msgstr "ÕýÔÚ¶ÁȡĿ¼ÄÚÈÝ (%ld)" -#: src/NetAccess.cc:939 +#: src/NetAccess.cc:938 #, fuzzy, c-format msgid "Getting files information (%d%%) [%s]" msgstr "ÕýÔÚ¶ÁÈ¡ÎļþÐÅÏ¢ (%d%%)" Binary files lftp-3.1.2/po/zh_TW.gmo and lftp-3.1.3/po/zh_TW.gmo differ diff -ruN lftp-3.1.2/po/zh_TW.po lftp-3.1.3/po/zh_TW.po --- lftp-3.1.2/po/zh_TW.po Mon Apr 4 14:27:31 2005 +++ lftp-3.1.3/po/zh_TW.po Fri Apr 15 15:55:21 2005 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: lftp-2.3.9\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-04-04 14:27+0400\n" +"POT-Creation-Date: 2005-04-15 15:55+0400\n" "PO-Revision-Date: 2001-04-22 06:01+0800\n" "Last-Translator: Abel Cheung \n" "Language-Team: Traditional Chinese \n" @@ -39,7 +39,7 @@ msgid "cd ok, cwd=%s\n" msgstr "cd ¦¨¥\¡Acwd ¬° %s\n" -#: src/CmdExec.cc:391 src/MirrorJob.cc:501 +#: src/CmdExec.cc:391 src/MirrorJob.cc:505 #, c-format msgid "%s: received redirection to `%s'\n" msgstr "%s: ­«·s¾É¦V¦Ü `%s'\n" @@ -195,87 +195,92 @@ msgid "Cache entries expire in %ld $#l#minute|minutes$\n" msgstr "¼È¦s°O¾Ð·|¦b %ld ¤ÀÄÁ¤º®ø¥¢\n" -#: src/MirrorJob.cc:92 +#: src/MirrorJob.cc:96 #, c-format msgid "%sTotal: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%sÁ`¼Æ¡J%d ­Ó¥Ø¿ý¡A%d ­ÓÀɮסA%d ­Ó³n³sµ²\n" -#: src/MirrorJob.cc:96 +#: src/MirrorJob.cc:100 #, c-format msgid "%sNew: %d file$|s$, %d symlink$|s$\n" msgstr "%s«Ø¥ß¡J%d ­ÓÀɮסA%d ­Ó³n³sµ²\n" -#: src/MirrorJob.cc:100 +#: src/MirrorJob.cc:104 #, c-format msgid "%sModified: %d file$|s$, %d symlink$|s$\n" msgstr "%s­×§ï¡J%d ­ÓÀɮסA%d ­Ó³n³sµ²\n" -#: src/MirrorJob.cc:105 +#: src/MirrorJob.cc:109 #, c-format msgid "%sRemoved: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%s§R°£¡J%d ­Ó¥Ø¿ý¡A%d ­ÓÀɮסA%d ­Ó³n³sµ²\n" -#: src/MirrorJob.cc:106 +#: src/MirrorJob.cc:110 #, c-format msgid "%sTo be removed: %d director$y|ies$, %d file$|s$, %d symlink$|s$\n" msgstr "%s±N·|§R°£¡J%d ­Ó¥Ø¿ý¡A%d ­ÓÀɮסA%d ­Ó³n³sµ²\n" -#: src/MirrorJob.cc:232 src/MirrorJob.cc:832 +#: src/MirrorJob.cc:236 src/MirrorJob.cc:837 #, fuzzy, c-format msgid "Removing old file `%s'" msgstr "§R°£Âªº¥»¾÷ÀÉ®× `%s'" -#: src/MirrorJob.cc:243 +#: src/MirrorJob.cc:247 #, fuzzy, c-format msgid "Transferring file `%s'" msgstr "¥¿¦b¤W¶Ç¥»¾÷ÀÉ®× `%s'" -#: src/MirrorJob.cc:331 src/MirrorJob.cc:412 src/MirrorJob.cc:634 +#: src/MirrorJob.cc:335 src/MirrorJob.cc:416 src/MirrorJob.cc:638 #, c-format msgid "Removing old local file `%s'" msgstr "§R°£Âªº¥»¾÷ÀÉ®× `%s'" -#: src/MirrorJob.cc:377 +#: src/MirrorJob.cc:381 #, c-format msgid "Mirroring directory `%s'" msgstr "¥¿¦b¬M®g¥Ø¿ý `%s'" -#: src/MirrorJob.cc:425 +#: src/MirrorJob.cc:429 #, c-format msgid "Making symbolic link `%s' to `%s'" msgstr "«Ø¥ß³n³sµ² `%s' ¨ì `%s'" -#: src/MirrorJob.cc:554 +#: src/MirrorJob.cc:558 #, c-format msgid "mirror: protocol `%s' is not suitable for mirror\n" msgstr "mirror : ¨ó©w `%s' ¤£¾A¦X§@¬°¬M®g\n" -#: src/MirrorJob.cc:652 +#: src/MirrorJob.cc:656 #, fuzzy, c-format msgid "Making directory `%s'" msgstr "¦b»·ºÝ«Ø¥ß¥Ø¿ý `%s'" -#: src/MirrorJob.cc:794 +#: src/MirrorJob.cc:799 #, fuzzy, c-format msgid "Old directory `%s' is not removed" msgstr "ªº¥»¾÷ÀÉ®× `%s' ¨S¦³³Q§R°£" -#: src/MirrorJob.cc:797 +#: src/MirrorJob.cc:802 #, fuzzy, c-format msgid "Old file `%s' is not removed" msgstr "ªº¥»¾÷ÀÉ®× `%s' ¨S¦³³Q§R°£" -#: src/MirrorJob.cc:827 +#: src/MirrorJob.cc:832 #, fuzzy, c-format msgid "Removing old directory `%s'" msgstr "§R°£Âªº»·ºÝ¥Ø¿ý `%s'" -#: src/MirrorJob.cc:1260 +#: src/MirrorJob.cc:945 +#, c-format +msgid "Retrying mirror...\n" +msgstr "" + +#: src/MirrorJob.cc:1289 #, c-format msgid "%s: regular expression `%s': %s\n" msgstr "" -#: src/MirrorJob.cc:1349 src/commands.cc:982 src/commands.cc:1070 +#: src/MirrorJob.cc:1381 src/commands.cc:982 src/commands.cc:1070 #: src/commands.cc:1462 src/commands.cc:1496 src/commands.cc:1595 #: src/commands.cc:1885 src/commands.cc:2081 src/commands.cc:2254 #: src/commands.cc:2261 src/commands.cc:2443 src/commands.cc:2470 @@ -285,7 +290,7 @@ msgid "Try `help %s' for more information.\n" msgstr "¿é¤J `help %s' ¬d¬Ý§ó¦h¸ê®Æ¡C\n" -#: src/MirrorJob.cc:1383 src/MirrorJob.cc:1399 src/commands.cc:847 +#: src/MirrorJob.cc:1415 src/MirrorJob.cc:1431 src/commands.cc:847 #: src/commands.cc:1976 src/DummyProto.cc:73 msgid " - not supported protocol" msgstr " - ¤£¤ä´©¦¹¨ó©w" @@ -2149,12 +2154,12 @@ msgid "max-retries exceeded" msgstr "¶W¹L max-retries ¤W­­" -#: src/NetAccess.cc:932 +#: src/NetAccess.cc:931 #, fuzzy, c-format msgid "Getting directory contents (%lld) %s[%s]" msgstr "¥¿¦bÂ^¨ú¥Ø¿ý¤º®e (%lld)" -#: src/NetAccess.cc:939 +#: src/NetAccess.cc:938 #, fuzzy, c-format msgid "Getting files information (%d%%) [%s]" msgstr "¥¿¦bÂ^¨úÀɮ׸ê°T (%d%%)" diff -ruN lftp-3.1.2/src/ChangeLog lftp-3.1.3/src/ChangeLog --- lftp-3.1.2/src/ChangeLog Mon Apr 4 13:59:23 2005 +++ lftp-3.1.3/src/ChangeLog Fri Apr 15 09:21:29 2005 @@ -1,3 +1,23 @@ +2005-04-11 Alexander V. Lukyanov + + * SFtp.cc: resume recv_buf in Close, this fixes a rare hang. + +2005-04-07 Alexander V. Lukyanov + + * SFtp.cc: (SFtpListInfo::Do) check if done first, this fixes + looping in SMTask::Roll. + +2005-04-06 Alexander V. Lukyanov + + * NetAccess.cc: retry with LONG_LIST in case of any error with MP_LIST. + * MirrorJob.cc: don't let parent mirror act in between our actions; + let other tasks run when ListInfo are created, this fixes mirror + multitasking when using listings from cache. + +2005-04-05 Alexander V. Lukyanov + + * MirrorJob.cc, MirrorJob.h: add --loop option. + 2005-04-04 Alexander V. Lukyanov * FileAccess.cc, FileAccess.h, buffer.cc, buffer.h: (SetErrorCached) new method. diff -ruN lftp-3.1.2/src/Makefile.in lftp-3.1.3/src/Makefile.in --- lftp-3.1.2/src/Makefile.in Thu Mar 31 18:28:56 2005 +++ lftp-3.1.3/src/Makefile.in Fri Apr 15 09:31:43 2005 @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.3 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -390,9 +390,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ cd $(top_srcdir) && \ - $(AUTOMAKE) --foreign src/Makefile + $(AUTOMAKE) --gnu src/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ diff -ruN lftp-3.1.2/src/MirrorJob.cc lftp-3.1.3/src/MirrorJob.cc --- lftp-3.1.2/src/MirrorJob.cc Tue Dec 28 11:48:36 2004 +++ lftp-3.1.3/src/MirrorJob.cc Thu Apr 7 19:30:21 2005 @@ -18,7 +18,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: MirrorJob.cc,v 1.117 2004/12/28 08:48:36 lav Exp $ */ +/* $Id: MirrorJob.cc,v 1.119 2005/04/07 15:30:21 lav Exp $ */ #include @@ -39,6 +39,10 @@ #include "url.h" #include "CopyJob.h" #include "pgetJob.h" +#include "log.h" + +#define set_state(s) do { state=(s); \ + Log::global->Format(11,"mirror(%p) enters state %s\n", this, #s); } while(0) void MirrorJob::PrintStatus(int v,const char *tab) { @@ -305,7 +309,7 @@ cp->SetParentFg(this); cp->cmdline=xasprintf("\\transfer %s",file->name); } - state=WAITING_FOR_TRANSFER; + set_state(WAITING_FOR_TRANSFER); break; } case(FileInfo::DIRECTORY): @@ -529,7 +533,7 @@ eprintf("mirror: %s\n",session->StrError(res)); stats.error_count++; transfer_count-=root_transfer_count; - state=FINISHING; + set_state(FINISHING); source_session->Close(); target_session->Close(); return; @@ -554,7 +558,7 @@ eprintf(_("mirror: protocol `%s' is not suitable for mirror\n"), session->GetProto()); transfer_count-=root_transfer_count; - state=FINISHING; + set_state(FINISHING); return; } list_info->UseCache(use_cache); @@ -577,7 +581,7 @@ eprintf("mirror: %s\n",list_info->ErrorText()); stats.error_count++; transfer_count-=root_transfer_count; - state=FINISHING; + set_state(FINISHING); Delete(source_list_info); source_list_info=0; Delete(target_list_info); @@ -603,7 +607,7 @@ source_session->Chdir(source_dir); source_redirections=0; Roll(source_session); - state=CHANGING_DIR_SOURCE; + set_state(CHANGING_DIR_SOURCE); m=MOVED; /*fallthrough*/ case(CHANGING_DIR_SOURCE): @@ -663,7 +667,7 @@ goto pre_CHANGING_DIR_TARGET; } target_session->Mkdir(target_dir,(parent_mirror==0)); - state=MAKE_TARGET_DIR; + set_state(MAKE_TARGET_DIR); m=MOVED; /*fallthrough*/ case(MAKE_TARGET_DIR): @@ -676,7 +680,7 @@ target_session->Chdir(target_dir); target_redirections=0; Roll(target_session); - state=CHANGING_DIR_TARGET; + set_state(CHANGING_DIR_TARGET); m=MOVED; /*fallthrough*/ case(CHANGING_DIR_TARGET): @@ -689,7 +693,8 @@ xfree(target_dir); target_dir=xstrdup(target_session->GetCwd()); - state=GETTING_LIST_INFO; + pre_GETTING_LIST_INFO: + set_state(GETTING_LIST_INFO); m=MOVED; HandleListInfoCreation(source_session,source_list_info,source_relative_dir); HandleListInfoCreation(target_session,target_list_info,target_relative_dir); @@ -697,9 +702,8 @@ { Delete(source_list_info); source_list_info=0; Delete(target_list_info); target_list_info=0; - return MOVED; } - /*fallthrough*/ + return m; // give time to other tasks case(GETTING_LIST_INFO): HandleListInfo(source_list_info,source_set); HandleListInfo(target_list_info,target_set); @@ -717,12 +721,12 @@ to_rm_mismatched->Count(&stats.del_dirs,&stats.del_files,&stats.del_symlinks,&stats.del_files); to_rm_mismatched->rewind(); transfer_count-=root_transfer_count; // leave room for transfers. - state=TARGET_REMOVE_OLD_FIRST; - return MOVED; + set_state(TARGET_REMOVE_OLD_FIRST); + goto TARGET_REMOVE_OLD_FIRST_label; pre_WAITING_FOR_TRANSFER: to_transfer->rewind(); - state=WAITING_FOR_TRANSFER; + set_state(WAITING_FOR_TRANSFER); m=MOVED; /*fallthrough*/ case(WAITING_FOR_TRANSFER): @@ -753,11 +757,12 @@ pre_TARGET_REMOVE_OLD: if(flags&REMOVE_FIRST) goto pre_TARGET_CHMOD; - state=TARGET_REMOVE_OLD; + set_state(TARGET_REMOVE_OLD); m=MOVED; /*fallthrough*/ case(TARGET_REMOVE_OLD): case(TARGET_REMOVE_OLD_FIRST): + TARGET_REMOVE_OLD_FIRST_label: while(j=FindDoneAwaitedJob()) { RemoveWaiting(j); @@ -840,7 +845,7 @@ goto pre_FINISHING; to_transfer->rewind(); - state=TARGET_CHMOD; + set_state(TARGET_CHMOD); m=MOVED; /*fallthrough*/ case(TARGET_CHMOD): @@ -914,7 +919,7 @@ if(flags&ALLOW_CHOWN) same->LocalChown(target_dir); } - state=FINISHING; + set_state(FINISHING); m=MOVED; /*fallthrough*/ case(FINISHING): @@ -931,7 +936,18 @@ transfer_count++; // parent mirror will decrement it. if(parent_mirror) parent_mirror->stats.Add(stats); - state=DONE; + else + { + if((flags&LOOP) && stats.HaveSomethingDone() && !stats.error_count) + { + set_state(DONE); + PrintStatus(0,""); + printf(_("Retrying mirror...\n")); + stats.Reset(); + goto pre_GETTING_LIST_INFO; + } + } + set_state(DONE); m=MOVED; /*fallthrough*/ case(DONE): @@ -976,7 +992,7 @@ exclude=0; - state=INITIAL_STATE; + set_state(INITIAL_STATE); newer_than=(time_t)-1; @@ -1116,10 +1132,16 @@ MirrorJob::Statistics::Statistics() { + Reset(); + error_count=0; + bytes=0; + time=0; +} +void MirrorJob::Statistics::Reset() +{ tot_files=new_files=mod_files=del_files= tot_symlinks=new_symlinks=mod_symlinks=del_symlinks= - dirs=del_dirs= - error_count=0; + dirs=del_dirs=0; } void MirrorJob::Statistics::Add(const Statistics &s) { @@ -1134,6 +1156,12 @@ dirs +=s.dirs; del_dirs +=s.del_dirs; error_count +=s.error_count; + bytes +=s.bytes; + time +=s.time; +} +bool MirrorJob::Statistics::HaveSomethingDone() +{ + return new_files|mod_files|del_files|new_symlinks|mod_symlinks|del_symlinks|del_dirs; } char *MirrorJob::SetScriptFile(const char *n) @@ -1189,6 +1217,7 @@ {"delete-first",no_argument,0,256+'e'}, {"use-pget-n",optional_argument,0,256+'p'}, {"no-symlinks",no_argument,0,256+'y'}, + {"loop",no_argument,0,256+'l'}, {0} }; @@ -1344,6 +1373,9 @@ break; case(256+'y'): flags|=MirrorJob::NO_SYMLINKS; + break; + case(256+'l'): + flags|=MirrorJob::LOOP; break; case('?'): eprintf(_("Try `help %s' for more information.\n"),args->a0()); diff -ruN lftp-3.1.2/src/MirrorJob.h lftp-3.1.3/src/MirrorJob.h --- lftp-3.1.2/src/MirrorJob.h Thu Oct 28 10:23:34 2004 +++ lftp-3.1.3/src/MirrorJob.h Tue Apr 5 13:49:41 2005 @@ -18,7 +18,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: MirrorJob.h,v 1.40 2004/10/28 06:23:34 lav Exp $ */ +/* $Id: MirrorJob.h,v 1.41 2005/04/05 09:49:41 lav Exp $ */ #ifndef MIRRORJOB_H #define MIRRORJOB_H @@ -80,8 +80,12 @@ int dirs,del_dirs; int tot_symlinks,new_symlinks,mod_symlinks,del_symlinks; int error_count; + long long bytes; + double time; Statistics(); + void Reset(); void Add(const Statistics &); + bool HaveSomethingDone(); }; Statistics stats; @@ -140,7 +144,8 @@ IGNORE_TIME=1<<10, REMOVE_FIRST=1<<11, IGNORE_SIZE=1<<12, - NO_SYMLINKS=1<<13 + NO_SYMLINKS=1<<13, + LOOP=1<<14 }; void SetFlags(int f,int v) diff -ruN lftp-3.1.2/src/NetAccess.cc lftp-3.1.3/src/NetAccess.cc --- lftp-3.1.2/src/NetAccess.cc Mon Apr 4 13:59:42 2005 +++ lftp-3.1.3/src/NetAccess.cc Thu Apr 7 19:30:22 2005 @@ -18,7 +18,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: NetAccess.cc,v 1.77 2005/04/04 09:59:42 lav Exp $ */ +/* $Id: NetAccess.cc,v 1.78 2005/04/07 15:30:22 lav Exp $ */ #include @@ -720,8 +720,11 @@ { if(err) { - if(err==FA::NOT_SUPP) - goto not_supported; + if(mode==FA::MP_LIST) + { + mode=FA::LONG_LIST; + goto do_again; + } SetErrorCached(cache_buffer); return MOVED; } @@ -746,19 +749,15 @@ { if(ubuf->Error()) { - if(session->GetErrorCode()==FA::NOT_SUPP) + LsCache::Add(session,"",mode,session->GetErrorCode(),ubuf); + if(mode==FA::MP_LIST) { - not_supported: - if(mode==FA::MP_LIST) - { - mode=FA::LONG_LIST; - delete ubuf; - ubuf=0; - m=MOVED; - goto do_again; - } + mode=FA::LONG_LIST; + delete ubuf; + ubuf=0; + m=MOVED; + goto do_again; } - LsCache::Add(session,"",mode,session->GetErrorCode(),ubuf); SetError(ubuf->ErrorText()); Delete(ubuf); ubuf=0; diff -ruN lftp-3.1.2/src/SFtp.cc lftp-3.1.3/src/SFtp.cc --- lftp-3.1.2/src/SFtp.cc Mon Apr 4 13:59:43 2005 +++ lftp-3.1.3/src/SFtp.cc Fri Apr 15 09:21:53 2005 @@ -18,7 +18,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: SFtp.cc,v 1.42 2005/04/04 09:59:43 lav Exp $ */ +/* $Id: SFtp.cc,v 1.44 2005/04/15 05:21:53 lav Exp $ */ #include #include "SFtp.h" @@ -714,6 +714,9 @@ // don't need these out-of-order packets anymore while(ooo_chain) DeleteExpect(&ooo_chain); + if(recv_buf && !suspended) + recv_buf->Resume(); + recv_buf_suspended=false; } int SFtp::HandlePty() @@ -2030,6 +2033,8 @@ int SFtpListInfo::Do() { int m=STALL; + if(done) + return m; if(!ubuf) { const char *cache_buffer=0;