old Sparc Solaris 7 ld that does not understand `-64'.
Report by Vincent Lefevre <vincent@vinc17.org>.
+2007-07-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK) [ solaris ]: Cater to
+ old Sparc Solaris 7 ld that does not understand `-64'.
+ Report by Vincent Lefevre <vincent@vinc17.org>.
+
2007-07-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libltdl/m4/lt~obsolete.m4 (LTOBSOLETE_VERSION): New macro, to
*64-bit*)
case $lt_cv_prog_gnu_ld in
yes*) LD="${LD-ld} -m elf64_sparc" ;;
- *) LD="${LD-ld} -64" ;;
+ *)
+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+ LD="${LD-ld} -64"
+ fi
+ ;;
esac
;;
esac