]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Tighten regex for Portland C++ compiler for version 10.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 24 Nov 2009 14:22:57 +0000 (15:22 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 24 Nov 2009 14:27:37 +0000 (15:27 +0100)
* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [linux]:
Match a dot after version 1 through 5, so 10 and up don't match,
and use weak symbols.
* THANKS: Update.
Report by Jeff Squyres and Brent Leback.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
THANKS
libltdl/m4/libtool.m4

index 80c692d25390089b33b82fcad51f22e81c1a5c35..7b84f913742e272625b4509791a2230b4a2862b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2009-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Tighten regex for Portland C++ compiler for version 10.
+       * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [linux]:
+       Match a dot after version 1 through 5, so 10 and up don't match,
+       and use weak symbols.
+       * THANKS: Update.
+       Report by Jeff Squyres and Brent Leback.
+
 2009-11-16  Peter O'Gorman  <peter@pogma.com>
 
        Update libltdl version to match 2.2.6b release.
diff --git a/THANKS b/THANKS
index 691017d1edb50deea4307eed3832625947bd0596..004dbd877c9e56e83e76972752a2b090eef2fadc 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -74,6 +74,7 @@
   Andrey Slepuhin              pooh@msu.ru
   Aneesh Kumar K.V             kvaneesh@hotmail.com
   Brad Smith                   brad@comstyle.com
+  Brent Leback                 brent.leback@st.com
   Brian Barrett                        brbarret@osl.iu.edu
   Bruno Haible                 haible@ilog.fr
   Camilo La Rota               camilo.larota@ens-lyon.fr
index 1f58a38caa695a96cca0753cff03fab4ea003466..65dd0274e6c6e2cd0a174b1a75578ad4d214c14e 100644 (file)
@@ -5993,7 +5993,7 @@ if test "$_lt_caught_CXX_error" != yes; then
           pgCC* | pgcpp*)
             # Portland Group C++ compiler
            case `$CC -V` in
-           *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
+           *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
              _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
                rm -rf $tpldir~
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
@@ -6012,7 +6012,7 @@ if test "$_lt_caught_CXX_error" != yes; then
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
              ;;
-           *) # Version 6 will use weak symbols
+           *) # Version 6 and above use weak symbols
              _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
              _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
              ;;