kopia lustrzana https://github.com/Hamlib/Hamlib
libtool 1.5.2-1 upgrade
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1668 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.0
rodzic
1d858dd79e
commit
83b75c913d
94
ltmain.sh
94
ltmain.sh
|
@ -55,8 +55,8 @@ modename="$progname"
|
|||
# Constants.
|
||||
PROGRAM=ltmain.sh
|
||||
PACKAGE=libtool
|
||||
VERSION=1.5.0a
|
||||
TIMESTAMP=" (1.1220.2.35 2003/11/12 18:51:58) Debian$Rev: 179 $"
|
||||
VERSION=1.5.2
|
||||
TIMESTAMP=" (1.1220.2.60 2004/01/25 12:25:08) Debian$Rev: 192 $"
|
||||
|
||||
default_mode=
|
||||
help="Try \`$progname --help' for more information."
|
||||
|
@ -890,6 +890,7 @@ EOF
|
|||
no_install=no
|
||||
objs=
|
||||
non_pic_objects=
|
||||
precious_files_regex=
|
||||
prefer_static_libs=no
|
||||
preload=no
|
||||
prev=
|
||||
|
@ -1053,6 +1054,11 @@ EOF
|
|||
prev=
|
||||
continue
|
||||
;;
|
||||
precious_regex)
|
||||
precious_files_regex="$arg"
|
||||
prev=
|
||||
continue
|
||||
;;
|
||||
release)
|
||||
release="-$arg"
|
||||
prev=
|
||||
|
@ -1419,6 +1425,11 @@ EOF
|
|||
|
||||
-o) prev=output ;;
|
||||
|
||||
-precious-files-regex)
|
||||
prev=precious_regex
|
||||
continue
|
||||
;;
|
||||
|
||||
-release)
|
||||
prev=release
|
||||
continue
|
||||
|
@ -2321,9 +2332,10 @@ EOF
|
|||
else
|
||||
$show "extracting exported symbol list from \`$soname'"
|
||||
save_ifs="$IFS"; IFS='~'
|
||||
eval cmds=\"$extract_expsyms_cmds\"
|
||||
cmds=$extract_expsyms_cmds
|
||||
for cmd in $cmds; do
|
||||
IFS="$save_ifs"
|
||||
eval cmd=\"$cmd\"
|
||||
$show "$cmd"
|
||||
$run eval "$cmd" || exit $?
|
||||
done
|
||||
|
@ -2334,9 +2346,10 @@ EOF
|
|||
if test -f "$output_objdir/$newlib"; then :; else
|
||||
$show "generating import library for \`$soname'"
|
||||
save_ifs="$IFS"; IFS='~'
|
||||
eval cmds=\"$old_archive_from_expsyms_cmds\"
|
||||
cmds=$old_archive_from_expsyms_cmds
|
||||
for cmd in $cmds; do
|
||||
IFS="$save_ifs"
|
||||
eval cmd=\"$cmd\"
|
||||
$show "$cmd"
|
||||
$run eval "$cmd" || exit $?
|
||||
done
|
||||
|
@ -2615,8 +2628,8 @@ EOF
|
|||
*" $path "*) ;;
|
||||
*) newlib_search_path="$newlib_search_path $path";;
|
||||
esac
|
||||
path=""
|
||||
fi
|
||||
path=""
|
||||
;;
|
||||
*)
|
||||
path="-L$path"
|
||||
|
@ -3084,6 +3097,10 @@ EOF
|
|||
*.$objext)
|
||||
;;
|
||||
$output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
|
||||
if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
|
||||
then
|
||||
continue
|
||||
fi
|
||||
removelist="$removelist $p"
|
||||
;;
|
||||
*) ;;
|
||||
|
@ -3593,10 +3610,11 @@ EOF
|
|||
$show "generating symbol list for \`$libname.la'"
|
||||
export_symbols="$output_objdir/$libname.exp"
|
||||
$run $rm $export_symbols
|
||||
eval cmds=\"$export_symbols_cmds\"
|
||||
cmds=$export_symbols_cmds
|
||||
save_ifs="$IFS"; IFS='~'
|
||||
for cmd in $cmds; do
|
||||
IFS="$save_ifs"
|
||||
eval cmd=\"$cmd\"
|
||||
if len=`expr "X$cmd" : ".*"` &&
|
||||
test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
|
||||
$show "$cmd"
|
||||
|
@ -3713,19 +3731,23 @@ EOF
|
|||
# Do each of the archive commands.
|
||||
if test "$module" = yes && test -n "$module_cmds" ; then
|
||||
if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
|
||||
eval cmds=\"$module_expsym_cmds\"
|
||||
eval test_cmds=\"$module_expsym_cmds\"
|
||||
cmds=$module_expsym_cmds
|
||||
else
|
||||
eval cmds=\"$module_cmds\"
|
||||
eval test_cmds=\"$module_cmds\"
|
||||
cmds=$module_cmds
|
||||
fi
|
||||
else
|
||||
if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
|
||||
eval cmds=\"$archive_expsym_cmds\"
|
||||
eval test_cmds=\"$archive_expsym_cmds\"
|
||||
cmds=$archive_expsym_cmds
|
||||
else
|
||||
eval cmds=\"$archive_cmds\"
|
||||
eval test_cmds=\"$archive_cmds\"
|
||||
cmds=$archive_cmds
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "X$skipped_export" != "X:" && len=`expr "X$cmds" : ".*"` &&
|
||||
if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*"` &&
|
||||
test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
|
||||
:
|
||||
else
|
||||
|
@ -3810,6 +3832,7 @@ EOF
|
|||
save_ifs="$IFS"; IFS='~'
|
||||
for cmd in $concat_cmds; do
|
||||
IFS="$save_ifs"
|
||||
eval cmd=\"$cmd\"
|
||||
$show "$cmd"
|
||||
$run eval "$cmd" || exit $?
|
||||
done
|
||||
|
@ -3826,19 +3849,28 @@ EOF
|
|||
# value of $libobjs for piecewise linking.
|
||||
|
||||
# Do each of the archive commands.
|
||||
if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
|
||||
eval cmds=\"$archive_expsym_cmds\"
|
||||
if test "$module" = yes && test -n "$module_cmds" ; then
|
||||
if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
|
||||
cmds=$module_expsym_cmds
|
||||
else
|
||||
cmds=$module_cmds
|
||||
fi
|
||||
else
|
||||
eval cmds=\"$archive_cmds\"
|
||||
if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
|
||||
cmds=$archive_expsym_cmds
|
||||
else
|
||||
cmds=$archive_cmds
|
||||
fi
|
||||
fi
|
||||
|
||||
# Append the command to remove the reloadable object files
|
||||
# to the just-reset $cmds.
|
||||
eval cmds=\"\$cmds~$rm $delfiles\"
|
||||
eval cmds=\"\$cmds~\$rm $delfiles\"
|
||||
fi
|
||||
save_ifs="$IFS"; IFS='~'
|
||||
for cmd in $cmds; do
|
||||
IFS="$save_ifs"
|
||||
eval cmd=\"$cmd\"
|
||||
$show "$cmd"
|
||||
$run eval "$cmd" || exit $?
|
||||
done
|
||||
|
@ -3989,10 +4021,11 @@ EOF
|
|||
reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
|
||||
|
||||
output="$obj"
|
||||
eval cmds=\"$reload_cmds\"
|
||||
cmds=$reload_cmds
|
||||
save_ifs="$IFS"; IFS='~'
|
||||
for cmd in $cmds; do
|
||||
IFS="$save_ifs"
|
||||
eval cmd=\"$cmd\"
|
||||
$show "$cmd"
|
||||
$run eval "$cmd" || exit $?
|
||||
done
|
||||
|
@ -4025,10 +4058,11 @@ EOF
|
|||
# Only do commands if we really have different PIC objects.
|
||||
reload_objs="$libobjs $reload_conv_objs"
|
||||
output="$libobj"
|
||||
eval cmds=\"$reload_cmds\"
|
||||
cmds=$reload_cmds
|
||||
save_ifs="$IFS"; IFS='~'
|
||||
for cmd in $cmds; do
|
||||
IFS="$save_ifs"
|
||||
eval cmd=\"$cmd\"
|
||||
$show "$cmd"
|
||||
$run eval "$cmd" || exit $?
|
||||
done
|
||||
|
@ -5000,13 +5034,13 @@ fi\
|
|||
|
||||
# Do each command in the archive commands.
|
||||
if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
|
||||
eval cmds=\"$old_archive_from_new_cmds\"
|
||||
cmds=$old_archive_from_new_cmds
|
||||
else
|
||||
eval cmds=\"$old_archive_cmds\"
|
||||
|
||||
if len=`expr "X$cmds" : ".*"` &&
|
||||
test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
|
||||
:
|
||||
cmds=$old_archive_cmds
|
||||
else
|
||||
# the command line is too long to link in one step, link in parts
|
||||
$echo "using piecewise archive linking..."
|
||||
|
@ -5058,12 +5092,13 @@ fi\
|
|||
if test "X$oldobjs" = "X" ; then
|
||||
eval cmds=\"\$concat_cmds\"
|
||||
else
|
||||
eval cmds=\"\$concat_cmds~$old_archive_cmds\"
|
||||
eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
save_ifs="$IFS"; IFS='~'
|
||||
for cmd in $cmds; do
|
||||
eval cmd=\"$cmd\"
|
||||
IFS="$save_ifs"
|
||||
$show "$cmd"
|
||||
$run eval "$cmd" || exit $?
|
||||
|
@ -5481,10 +5516,11 @@ relink_command=\"$relink_command\""
|
|||
|
||||
# Do each command in the postinstall commands.
|
||||
lib="$destdir/$realname"
|
||||
eval cmds=\"$postinstall_cmds\"
|
||||
cmds=$postinstall_cmds
|
||||
save_ifs="$IFS"; IFS='~'
|
||||
for cmd in $cmds; do
|
||||
IFS="$save_ifs"
|
||||
eval cmd=\"$cmd\"
|
||||
$show "$cmd"
|
||||
$run eval "$cmd" || exit $?
|
||||
done
|
||||
|
@ -5697,16 +5733,17 @@ relink_command=\"$relink_command\""
|
|||
$show "$install_prog $file $oldlib"
|
||||
$run eval "$install_prog \$file \$oldlib" || exit $?
|
||||
|
||||
if test -n "$stripme" && test -n "$striplib"; then
|
||||
if test -n "$stripme" && test -n "$old_striplib"; then
|
||||
$show "$old_striplib $oldlib"
|
||||
$run eval "$old_striplib $oldlib" || exit $?
|
||||
fi
|
||||
|
||||
# Do each command in the postinstall commands.
|
||||
eval cmds=\"$old_postinstall_cmds\"
|
||||
cmds=$old_postinstall_cmds
|
||||
save_ifs="$IFS"; IFS='~'
|
||||
for cmd in $cmds; do
|
||||
IFS="$save_ifs"
|
||||
eval cmd=\"$cmd\"
|
||||
$show "$cmd"
|
||||
$run eval "$cmd" || exit $?
|
||||
done
|
||||
|
@ -5741,10 +5778,11 @@ relink_command=\"$relink_command\""
|
|||
for libdir in $libdirs; do
|
||||
if test -n "$finish_cmds"; then
|
||||
# Do each command in the finish commands.
|
||||
eval cmds=\"$finish_cmds\"
|
||||
cmds=$finish_cmds
|
||||
save_ifs="$IFS"; IFS='~'
|
||||
for cmd in $cmds; do
|
||||
IFS="$save_ifs"
|
||||
eval cmd=\"$cmd\"
|
||||
$show "$cmd"
|
||||
$run eval "$cmd" || admincmds="$admincmds
|
||||
$cmd"
|
||||
|
@ -6018,10 +6056,11 @@ relink_command=\"$relink_command\""
|
|||
if test "$mode" = uninstall; then
|
||||
if test -n "$library_names"; then
|
||||
# Do each command in the postuninstall commands.
|
||||
eval cmds=\"$postuninstall_cmds\"
|
||||
cmds=$postuninstall_cmds
|
||||
save_ifs="$IFS"; IFS='~'
|
||||
for cmd in $cmds; do
|
||||
IFS="$save_ifs"
|
||||
eval cmd=\"$cmd\"
|
||||
$show "$cmd"
|
||||
$run eval "$cmd"
|
||||
if test "$?" -ne 0 && test "$rmforce" != yes; then
|
||||
|
@ -6033,10 +6072,11 @@ relink_command=\"$relink_command\""
|
|||
|
||||
if test -n "$old_library"; then
|
||||
# Do each command in the old_postuninstall commands.
|
||||
eval cmds=\"$old_postuninstall_cmds\"
|
||||
cmds=$old_postuninstall_cmds
|
||||
save_ifs="$IFS"; IFS='~'
|
||||
for cmd in $cmds; do
|
||||
IFS="$save_ifs"
|
||||
eval cmd=\"$cmd\"
|
||||
$show "$cmd"
|
||||
$run eval "$cmd"
|
||||
if test "$?" -ne 0 && test "$rmforce" != yes; then
|
||||
|
@ -6281,6 +6321,8 @@ The following components of LINK-COMMAND are treated specially:
|
|||
-no-undefined declare that a library does not refer to external symbols
|
||||
-o OUTPUT-FILE create OUTPUT-FILE from the specified objects
|
||||
-objectlist FILE Use a list of object files found in FILE to specify objects
|
||||
-precious-files-regex REGEX
|
||||
don't remove output files matching REGEX
|
||||
-release RELEASE specify package release information
|
||||
-rpath LIBDIR the created library will eventually be installed in LIBDIR
|
||||
-R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
## the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# serial 47 AC_PROG_LIBTOOL
|
||||
# Debian $Rev: 149 $
|
||||
# Debian $Rev: 192 $
|
||||
|
||||
|
||||
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
|
||||
|
@ -929,13 +929,6 @@ AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
|
|||
mkdir out
|
||||
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
|
||||
|
||||
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
|
||||
# that will create temporary files in the current directory regardless of
|
||||
# the output directory. Thus, making CWD read-only will cause this test
|
||||
# to fail, enabling locking or at least warning the user not to do parallel
|
||||
# builds.
|
||||
chmod -w .
|
||||
|
||||
lt_compiler_flag="-o out/conftest2.$ac_objext"
|
||||
# Insert the option either (1) after the last *FLAGS variable, or
|
||||
# (2) before a word containing "conftest.", or (3) at the end.
|
||||
|
@ -1485,7 +1478,7 @@ netbsd*)
|
|||
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
||||
dynamic_linker='NetBSD (a.out) ld.so'
|
||||
else
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
dynamic_linker='NetBSD ld.elf_so'
|
||||
fi
|
||||
|
@ -2194,7 +2187,7 @@ linux*)
|
|||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
netbsd*)
|
||||
netbsd* | knetbsd*-gnu)
|
||||
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
||||
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
|
||||
else
|
||||
|
@ -3192,7 +3185,7 @@ case $host_os in
|
|||
;;
|
||||
esac
|
||||
;;
|
||||
netbsd*)
|
||||
netbsd* | knetbsd*-gnu)
|
||||
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
||||
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
|
||||
wlarc=
|
||||
|
@ -4690,7 +4683,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
|
|||
;;
|
||||
esac
|
||||
;;
|
||||
netbsd*)
|
||||
netbsd* | knetbsd*-gnu)
|
||||
;;
|
||||
osf3* | osf4* | osf5*)
|
||||
case $cc_basename in
|
||||
|
@ -5130,7 +5123,7 @@ EOF
|
|||
fi
|
||||
;;
|
||||
|
||||
netbsd*)
|
||||
netbsd* | knetbsd*-gnu)
|
||||
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
||||
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
||||
wlarc=
|
||||
|
@ -5547,7 +5540,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
|
|||
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
|
||||
;;
|
||||
|
||||
netbsd*)
|
||||
netbsd* | knetbsd*-gnu)
|
||||
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
||||
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
||||
else
|
||||
|
|
6
missing
6
missing
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# Common stub for a few missing GNU programs while installing.
|
||||
# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
|
||||
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
|
@ -165,7 +165,7 @@ WARNING: \`$1' is missing on your system. You should only need it if
|
|||
WARNING: \`$1' is needed, and you do not seem to have it handy on your
|
||||
system. You might have modified some files without having the
|
||||
proper tools for further handling them.
|
||||
You can get \`$1Help2man' as part of \`Autoconf' from any GNU
|
||||
You can get \`$1' as part of \`Autoconf' from any GNU
|
||||
archive site."
|
||||
|
||||
file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
|
||||
|
@ -326,7 +326,7 @@ WARNING: I can't seem to be able to run \`tar' with the given arguments.
|
|||
WARNING: \`$1' is needed, and you do not seem to have it handy on your
|
||||
system. You might have modified some files without having the
|
||||
proper tools for further handling them. Check the \`README' file,
|
||||
it often tells you about the needed prerequirements for installing
|
||||
it often tells you about the needed prerequisites for installing
|
||||
this package. You may also peek at any GNU archive site, in case
|
||||
some other package would contain this missing \`$1' program."
|
||||
exit 1
|
||||
|
|
Ładowanie…
Reference in New Issue