+2010-02-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Detect Sun compiler suite with 'sun'-prefixed names.
+ * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LANG_CXX_CONFIG)
+ (_LT_SYS_HIDDEN_LIBDEPS) [solaris]: Accept compiler names sunCC,
+ sunf77, sunf90, sunf95 in addition to CC, f77, f90, f95.
+ * NEWS: Update.
+ Report by Vadim Zeitlin.
+
2010-02-28 Pierre Ossman <ossman@ossman.lkpg.cendio.se> (tiny change)
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
just as it is when linking libraries through the compiler driver.
- Symbol versioning works with the GNU gold linker now.
- Fixes for detection of shared library dependencies on MinGW systems.
+ - Fixed Sun compiler detection on Solaris with sunCC, sunf77 etc. names.
* Miscellaneous changes:
;;
solaris*)
case $cc_basename in
- CC*)
+ CC* | sunCC*)
# Sun C++ 4.2, 5.x and Centerline C++
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
case $cc_basename in
- f77* | f90* | f95*)
+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
*)
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
solaris*)
case $cc_basename in
- CC*)
+ CC* | sunCC*)
# Sun C++ 4.2, 5.x and Centerline C++
_LT_TAGVAR(archive_cmds_need_lc,$1)=yes
_LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
solaris*)
case $cc_basename in
- CC*)
+ CC* | sunCC*)
# The more standards-conforming stlport4 library is
# incompatible with the Cstd library. Avoid specifying
# it if it's in CXXFLAGS. Ignore libCrun as