From: Alexandre Oliva Date: Tue, 22 Apr 2003 05:37:32 +0000 (+0000) Subject: * libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on all X-Git-Tag: release-1-5-2~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a809a4e0aed87d446226cbb3cdf579725a0986b2;p=thirdparty%2Flibtool.git * libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on all mips*-linux* variants. * libtool.m4 Switch on $CC and add paterns to cases. * libtool.m4: Move the AC_LIBTOOL_SYS_DYNAMIC_LINKER check to be before AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH, becuase the value of shlibpath_overrides_runpath is used in the HARDCODE test and is set in the DYNAMIC_LINKER test. * ltmain.in(darwin): We never need to relink on darwin. * libtool.m4 Switch on $CC and add paterns to cases. --- diff --git a/ChangeLog b/ChangeLog index 5d6450801..d06b27000 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,24 @@ +2003-04-22 Alexandre Oliva + + * libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on all + mips*-linux* variants. + +2003-04-22 Samuel Meder + + * libtool.m4 Switch on $CC and add paterns to cases. + +2003-04-22 Peter O'Gorman + + * libtool.m4: Move the AC_LIBTOOL_SYS_DYNAMIC_LINKER check + to be before AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH, becuase the + value of shlibpath_overrides_runpath is used in the HARDCODE + test and is set in the DYNAMIC_LINKER test. + * ltmain.in(darwin): We never need to relink on darwin. + +2003-04-22 Samuel Meder + + * libtool.m4 Switch on $CC and add paterns to cases. + 2003-04-21 Richard Dawe * doc/libtool.texi: Use @ifnottex instead of @ifinfo, diff --git a/libtool.m4 b/libtool.m4 index 19ebaea7c..ce7939fa7 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -2167,7 +2167,7 @@ irix5* | irix6* | nonstopux*) # This must be Linux ELF. linux*) case $host_cpu in - alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) + 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 @@ -2510,9 +2510,9 @@ AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_SYS_LIB_STRIP -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_DLOPEN_SELF($1) # Report which librarie types wil actually be built @@ -3442,9 +3442,9 @@ AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_SYS_LIB_STRIP -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_DLOPEN_SELF($1) AC_LIBTOOL_CONFIG($1) @@ -3686,9 +3686,10 @@ AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_SYS_LIB_STRIP -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) + AC_LIBTOOL_CONFIG($1) @@ -3740,9 +3741,9 @@ AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_SYS_LIB_STRIP -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_DLOPEN_SELF($1) AC_LIBTOOL_CONFIG($1) @@ -4849,12 +4850,12 @@ AC_MSG_CHECKING([for $compiler option to produce PIC]) linux*) case $CC in - icc|ecc) + 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' ;; - ccc) + ccc*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All Alpha code is PIC. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' diff --git a/ltmain.in b/ltmain.in index 09b15501b..0e628b875 100644 --- a/ltmain.in +++ b/ltmain.in @@ -5051,7 +5051,9 @@ fi\ # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` - + if test "$hardcode_automatic" = yes ; then + relink_command= + fi # Only create the output if not a dry run. if test -z "$run"; then for installed in no yes; do