--- libtool.m4.orig Wed Feb 5 21:35:38 2003 +++ libtool.m4 Wed Feb 5 21:36:44 2003 @@ -4696,6 +4696,11 @@ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' fi + if test "$CC" = "ccc"; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All ccc code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + fi ;; osf3* | osf4* | osf5*)