Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/bfd/acinclude.m4

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    124124AC_SUBST(INTLLIBS)
    125125])
     126
     127AC_DEFUN([AM_INSTALL_LIBBFD],
     128[AC_MSG_CHECKING([whether to install libbfd])
     129  AC_ARG_ENABLE(install-libbfd,
     130[  --enable-install-libbfd controls installation of libbfd and related headers],
     131      install_libbfd_p=$enableval,
     132      if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
     133        install_libbfd_p=yes
     134      else
     135        install_libbfd_p=no
     136      fi)
     137  AC_MSG_RESULT($install_libbfd_p)
     138  AM_CONDITIONAL(INSTALL_LIBBFD, test $install_libbfd_p = yes)
     139  # libbfd.a is a host library containing target dependent code
     140  bfdlibdir='$(libdir)'
     141  bfdincludedir='$(includedir)'
     142  if test "${host}" != "${target}"; then
     143    bfdlibdir='$(exec_prefix)/$(host_alias)/$(target_alias)/lib'
     144    bfdincludedir='$(exec_prefix)/$(host_alias)/$(target_alias)/include'
     145  fi
     146  AC_SUBST(bfdlibdir)
     147  AC_SUBST(bfdincludedir)
     148]
     149)
Note: See TracChangeset for help on using the changeset viewer.