*** libtool.m4.orig 2007-05-12 15:18:02.000000000 +0700 --- libtool.m4 2007-05-12 16:42:10.000000000 +0700 *************** *** 4833,4838 **** --- 4833,4844 ---- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; + sunCC*) + # SunStudio 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)='-Bstatic' + ;; *) ;; esac *************** *** 5077,5082 **** --- 5083,5094 ---- # All Alpha code is PIC. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; + suncc* | sunf77* | sunf90*) + # SunStudio compilers + _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)='-Bstatic' + ;; esac ;;