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

ChangeLog
libtool.m4

index 57358b32d8c42d78468c586a70d10cff7447391d..1631d91801b804a901b77c3048b70308bc5a19d7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-08-05  Tilman Koschnick  <til@subnetz.org>  (tiny change)
+
+       * libtool.m4 (_LT_AC_LANG_CXX_CONFIG)
+       (AC_LIBTOOL_PROG_COMPILER_PIC): [ linux ]: Treat pgcpp as
+       Portland Group C++ compiler as well.
+
 2007-07-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * mdemo/main.c (test_dl, main): Try lt_dlopenext as well.
index e0745c2c3c06ee0d9a1147944719dbe3c64a87ef..26d22ba4c97bd4e19797528c5a275fb00a5ed7a8 100644 (file)
@@ -3376,7 +3376,7 @@ case $host_os in
        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
        _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
        ;;
-      pgCC*)
+      pgCC* | pgcpp*)
         # Portland Group C++ compiler
        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
        _LT_AC_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'
@@ -5100,7 +5100,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
            _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
            ;;
-         pgCC*)
+         pgCC* | pgcpp*)
            # Portland Group C++ compiler.
            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'