From 0ff7f58a2388350d45e6699aadd5a8151f75a102 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sat, 17 Feb 2007 08:23:50 +0000 Subject: [PATCH] * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [ linux ] : For Sun C/C++ 5.9, do not add /dev/null as dummy object, it fails with GNU ld version 2.16.91.0.7-amd-sles9. Report by Terry D. Dontje. * THANKS: Update. --- ChangeLog | 8 ++++++++ THANKS | 1 + libtool.m4 | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 77ed3c1fa..97058b1df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-02-17 Ralf Wildenhues + + * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [ linux ] + : For Sun C/C++ 5.9, do not add + /dev/null as dummy object, it fails with GNU ld version + 2.16.91.0.7-amd-sles9. Report by Terry D. Dontje. + * THANKS: Update. + 2007-02-11 Ralf Wildenhues * libtool.m4 (_AS_TEST_PREPARE, AS_EXECUTABLE_P): m4_defun diff --git a/THANKS b/THANKS index a38b9b5b2..59fd88559 100644 --- a/THANKS +++ b/THANKS @@ -115,6 +115,7 @@ Stephan Kulow coolo@kde.org Steven M. Schultz sms@wlv.iipo.gtegsc.com Sven Verdoolaege skimo@liacs.nl + Terry D. Dontje Terry.Dontje@Sun.COM Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Todd Vierling tv@pobox.com Tom Tromey tromey@cygnus.com diff --git a/libtool.m4 b/libtool.m4 index 5baf011db..3fad4a456 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -5691,7 +5691,7 @@ EOF esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive /dev/null' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; -- 2.47.2