From 5e2b19a10638d29aa8f0973b7515c921975ebeea Mon Sep 17 00:00:00 2001 From: Tilman Koschnick Date: Sun, 5 Aug 2007 11:45:25 +0000 Subject: [PATCH] * libtool.m4 (_LT_AC_LANG_CXX_CONFIG) (AC_LIBTOOL_PROG_COMPILER_PIC): [ linux ]: Treat pgcpp as Portland Group C++ compiler as well. --- ChangeLog | 6 ++++++ libtool.m4 | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 57358b32d..1631d9180 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-08-05 Tilman Koschnick (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 * mdemo/main.c (test_dl, main): Try lt_dlopenext as well. diff --git a/libtool.m4 b/libtool.m4 index e0745c2c3..26d22ba4c 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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' -- 2.47.2