]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4: better use of $target instead of $host to support
authorGary V. Vaughan <gary@gnu.org>
Fri, 26 Nov 1999 00:40:45 +0000 (00:40 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 26 Nov 1999 00:40:45 +0000 (00:40 +0000)
cross compilation.
Reported by Sam Latinga <slouken@devolution.com>

ChangeLog
libtool.m4

index 3a4567b70bad462c7d5ef415cdba756bd48ca74c..49ed2b5e6b0bd38813a30e7d959aae3d78dcb901 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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
index 2ad32064dd79db7a0df7e1b35df7896d78c22a8d..5934e550c04241b4fe834b972471fa632ebbfd8b 100644 (file)
@@ -34,7 +34,7 @@ LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
 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
@@ -84,7 +84,7 @@ test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
 
 # 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
@@ -353,7 +353,7 @@ AC_SUBST(NM)
 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
   ;;