+2008-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Fix archive_cmds for older cc on HP-UX 11.
+ * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [hp-ux11*, !GCC]
+ [!hppa*64*, !ia64*] <archive_cmds>: Older releases of the HP-UX
+ 11.00 C compiler do not support -b yet; use a link test to
+ decide whether $LD should be used for library creation.
+ * THANKS: Update.
+ Report by Daniel Richard G.
+
2008-11-12 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Bump Autoconf requirement.
Craig Tierney Craig.Tierney@noaa.gov
Dalibor Topic robilad@kaffe.org
Daniel Reed n@ml.org
+ Daniel Richard G. skunk@iSKUNK.ORG
DJ Delorie dj@delorie.com
Edouard G. Parmelan Edouard.Parmelan@France.NCR.COM
Erez Zadok ezk@shekel.mcl.cs.columbia.edu
_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
;;
*)
- _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ m4_if($1, [], [
+ # Older versions of the 11.00 compiler do not understand -b yet
+ # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
+ _LT_LINKER_OPTION([if $CC understands -b],
+ _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
+ [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
+ [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
+ [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
;;
esac
fi