2
0
mirror of https://frontier.innolan.net/github/amigaos-cross-toolchain6.git synced 2024-10-19 10:29:55 +00:00
Files
amigaos-cross-toolchain6/patches/binutils-2.9.1/ld/configure.in.diff
2012-02-13 22:48:58 -08:00

31 lines
726 B
Diff

--- binutils-2.9.1/ld/configure.in Fri May 1 08:48:48 1998
+++ binutils-2.9.1/ld/configure.in Sun Aug 23 00:00:00 1998
@@ -45,6 +45,17 @@ AC_PROG_YACC
AC_PROG_LEX
AC_DECL_YYTEXT
+# begin-GG-local
+AC_MSG_CHECKING(whether compiling a cross-linker)
+if test "${host}" = "${target}"; then
+ cross_linker=no
+else
+ cross_linker=yes
+ AC_DEFINE(CROSS_LINKER)
+fi
+AC_MSG_RESULT($cross_linker)
+# end-GG-local
+
AM_MAINTAINER_MODE
. ${srcdir}/configure.host
@@ -108,6 +119,9 @@ done
AC_SUBST(EMUL)
AC_SUBST(TDIRS)
+AC_SUBST(LDNAME)
+AC_SUBST(EXTRA_PROGS)
+AC_SUBST(EXTRA_INSTALL)
dnl FIXME: We will build a 64 bit BFD for a 64 bit host or a 64 bit
dnl target, and in those cases we should also build the 64 bit