upgrade to libtool-1.5-3

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1566 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.0
Stéphane Fillod, F8CFE 2003-10-20 03:33:57 +00:00
rodzic c2a63956f8
commit 81c6d643b7
1 zmienionych plików z 19 dodań i 2 usunięć

Wyświetl plik

@ -56,7 +56,7 @@ modename="$progname"
PROGRAM=ltmain.sh PROGRAM=ltmain.sh
PACKAGE=libtool PACKAGE=libtool
VERSION=1.5.0a VERSION=1.5.0a
TIMESTAMP=" (1.1220.2.25 2003/08/01 19:08:35) Debian$Rev: 49 $" TIMESTAMP=" (1.1220.2.33 2003/09/29 11:43:50) Debian$Rev: 103 $"
default_mode= default_mode=
help="Try \`$progname --help' for more information." help="Try \`$progname --help' for more information."
@ -370,6 +370,7 @@ if test -z "$show_help"; then
# Get the compilation command and the source file. # Get the compilation command and the source file.
base_compile= base_compile=
srcfile="$nonopt" # always keep a non-empty value in "srcfile" srcfile="$nonopt" # always keep a non-empty value in "srcfile"
suppress_opt=yes
suppress_output= suppress_output=
arg_mode=normal arg_mode=normal
libobj= libobj=
@ -416,6 +417,11 @@ if test -z "$show_help"; then
continue continue
;; ;;
-no-suppress)
suppress_opt=no
continue
;;
-Xcompiler) -Xcompiler)
arg_mode=arg # the next one goes into the "base_compile" arg list arg_mode=arg # the next one goes into the "base_compile" arg list
continue # The current "srcfile" will either be retained or continue # The current "srcfile" will either be retained or
@ -723,7 +729,9 @@ pic_object='$objdir/$objname'
EOF EOF
# Allow error messages only from the first compilation. # Allow error messages only from the first compilation.
suppress_output=' >/dev/null 2>&1' if test "$suppress_opt" = yes; then
suppress_output=' >/dev/null 2>&1'
fi
else else
# No PIC object so indicate it doesn't exist in the libtool # No PIC object so indicate it doesn't exist in the libtool
# object file. # object file.
@ -1288,6 +1296,10 @@ EOF
continue continue
;; ;;
-pthread|-pthreads|-kthread|-Kthread|-mthreads|--thread-safe|-mt)
deplibs="$deplibs $arg"
;;
-module) -module)
module=yes module=yes
continue continue
@ -1803,6 +1815,11 @@ EOF
lib= lib=
found=no found=no
case $deplib in case $deplib in
-pthread|-pthreads|-kthread|-Kthread|-mthreads|--thread-safe|-mt)
deplibs="$deplib $deplibs"
test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
continue
;;
-l*) -l*)
if test "$linkmode" != lib && test "$linkmode" != prog; then if test "$linkmode" != lib && test "$linkmode" != prog; then
$echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2