Index: ChangeLog =================================================================== RCS file: /cvsroot/libtool/libtool/ChangeLog,v retrieving revision 1.1220.2.133 diff -u -5 -r1.1220.2.133 ChangeLog --- ChangeLog 26 Oct 2004 17:21:28 -0000 1.1220.2.133 +++ ChangeLog 11 Nov 2004 20:28:43 -0000 @@ -1,5 +1,14 @@ +2004-11-11 Mats Rynge + + * libtool.m4: Use only the CC basename in case statment when + checking for icc/ecc. Allows for setting CC to the full path + to the compiler. + + * libtool.m4 [solaris]: Added missing 'with linker' flags to + -z allextract ... -z defaultextract flags + 2004-10-26 Gary Vaughan * config/ltmain.in (func_mode_link): When linking an installed libtool library on the command line using -lfoo we need to find the library in the search paths and add it's dependency_libs to Index: libtool.m4 =================================================================== RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v retrieving revision 1.314.2.50 diff -u -5 -r1.314.2.50 libtool.m4 --- libtool.m4 19 Sep 2004 12:13:50 -0000 1.314.2.50 +++ libtool.m4 11 Nov 2004 20:28:44 -0000 @@ -4944,11 +4944,11 @@ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; 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' ;; @@ -5704,11 +5704,11 @@ _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]].*) ;; *) # 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 ;; sunos4*)