necessary, to permit combining of several convenience libs
without any further objects added.
Reported by Brian Barrett <brbarret@open-mpi.org>.
+2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * libtool.m4 (_LT_AC_LOCK) [ solaris ]: Add `-64' to $LD if
+ necessary, to permit combining of several convenience libs
+ without any further objects added.
+ Reported by Brian Barrett <brbarret@open-mpi.org>.
+
2005-11-01 Kean Johnston <jkj@sco.com>,
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
CFLAGS="$SAVE_CFLAGS"
fi
;;
+sparc*-*solaris*)
+ # Find out which ABI we are using.
+ echo 'int i;' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case `/usr/bin/file conftest.o` in
+ *64-bit*)
+ case $lt_cv_prog_gnu_ld in
+ yes*) LD="${LD-ld} -m elf64_sparc" ;;
+ *) LD="${LD-ld} -64" ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+
AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
AC_CHECK_TOOL(DLLTOOL, dlltool, false)