+1999-11-26 Gary V. Vaughan <gary@oranda.demon.co.uk>
+
+ * libtool.m4: better use of $target instead of $host to support
+ cross compilation.
+ Reported by Sam Latinga <slouken@devolution.com>
+
1999-11-02 Thomas Tanner <tanner@ffii.org>
* NEWS: updated
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
-$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
+$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $target \
|| AC_MSG_ERROR([libtool configure failed])
# Reload cache, that may have been modified by ltconfig
# Some flags need to be propagated to the compiler or linker for good
# libtool support.
-case "$host" in
+case "$target" in
*-*-irix6*)
# Find out which ABI we are using.
echo '[#]line __oline__ "configure"' > conftest.$ac_ext
AC_DEFUN(AC_CHECK_LIBM,
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
LIBM=
-case "$host" in
+case "$target" in
*-*-beos* | *-*-cygwin*)
# These system don't have libm
;;