]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LANG_CXX_CONFIG)
authorTilman Koschnick <til@subnetz.org>
Sun, 5 Aug 2007 11:44:44 +0000 (11:44 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 5 Aug 2007 11:44:44 +0000 (11:44 +0000)
[ linux ]: Treat pgcpp as Portland Group C++ compiler as well.

ChangeLog
libltdl/m4/libtool.m4

index cf09b171232c75b3e0f2eb8af582acee09d338be..f8ed662d4008f94cfe8f4a3a51044b4ffe9ab4ab 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-08-05  Tilman Koschnick  <til@subnetz.org>  (tiny change)
+
+       * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LANG_CXX_CONFIG)
+       [ linux ]: Treat pgcpp as Portland Group C++ compiler as well.
+
 2007-08-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * libltdl/ltdl.c (try_dlopen): Use `attempt' rather than
index e9355bbf4cbe39f13ab242a6506dc6c18674e7f6..38f7d8589e98008dca1d963e7d9d735dcd0af389 100644 (file)
@@ -3564,7 +3564,7 @@ m4_if([$1], [CXX], [
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
            ;;
-         pgCC*)
+         pgCC* | pgcpp*)
            # Portland Group C++ compiler
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
@@ -5815,10 +5815,10 @@ if test "$_lt_caught_CXX_error" != yes; then
            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
            _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
            ;;
-          pgCC*)
+          pgCC* | pgcpp*)
             # Portland Group C++ compiler
            case `$CC -V` in
-           *pgCC\ [[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~