+1999-05-25 Alexandre Oliva <oliva@dcc.unicamp.br>
+
+ * ltconfig.in (solaris*, ld_shlibs): Do not enable shared
+ libraries with GNU ld 2.8.*, it's broken. Emit a warning
+ suggesting an upgrade.
+ Reported by Brian Ford <ford@vss.fsi.com> and Ronald Pijnacker
+ <Ronald.Pijnacker@best.ms.philips.com>
+
1999-05-25 Frank Ch. Eigler <fche@cygnus.com>
* ltmain.in: file_magic check would not avoid cyclic links.
fi
;;
+ solaris*)
+ if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
+ ld_shlibs=no
+ cat <<EOF 1>&2
+
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+*** created shared libraries on Solaris systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.9.1 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+EOF
+ elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
sunos4*)
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linkopts'
wlarc=