mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-09 23:32:21 +08:00
2004-08-30 Nathanael Nerode <neroden@gcc.gnu.org>
* acinclude.m4: Require AC_CANONICAL_TARGET, not AC_CANONICAL_SYSTEM. Include ../config/acx.m4 and use ACX_NONCANONICAL_* where appropriate; replace uses of *_alias with *_noncanonical. * aclocal.m4: Rebuild with aclocal 1.4p6. * Makefile.in: Rebuild with automake 1.4p6. * doc/Makefile.in: Rebuild with automake 1.4p6. * configure.in: Autoupdate with autoupdate 2.59. * config.in: Regenerate with autoheader 2.59. * configure: Regnerate with autoconf 2.59.
This commit is contained in:
@ -1,8 +1,9 @@
|
||||
sinclude(../config/accross.m4)
|
||||
sinclude(../config/acx.m4)
|
||||
|
||||
dnl See whether we need to use fopen-bin.h rather than fopen-same.h.
|
||||
AC_DEFUN([BFD_BINARY_FOPEN],
|
||||
[AC_REQUIRE([AC_CANONICAL_SYSTEM])
|
||||
[AC_REQUIRE([AC_CANONICAL_TARGET])
|
||||
case "${host}" in
|
||||
changequote(,)dnl
|
||||
*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
|
||||
@ -138,12 +139,15 @@ AC_DEFUN([AM_INSTALL_LIBBFD],
|
||||
fi)
|
||||
AC_MSG_RESULT($install_libbfd_p)
|
||||
AM_CONDITIONAL(INSTALL_LIBBFD, test $install_libbfd_p = yes)
|
||||
# Need _noncanonical variables for this.
|
||||
ACX_HOST_NONCANONICAL
|
||||
ACX_TARGET_NONCANONICAL
|
||||
# libbfd.a is a host library containing target dependent code
|
||||
bfdlibdir='$(libdir)'
|
||||
bfdincludedir='$(includedir)'
|
||||
if test "${host}" != "${target}"; then
|
||||
bfdlibdir='$(exec_prefix)/$(host_alias)/$(target_alias)/lib'
|
||||
bfdincludedir='$(exec_prefix)/$(host_alias)/$(target_alias)/include'
|
||||
bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
|
||||
bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
|
||||
fi
|
||||
AC_SUBST(bfdlibdir)
|
||||
AC_SUBST(bfdincludedir)
|
||||
|
Reference in New Issue
Block a user