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/aclocal.m4

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    1 dnl aclocal.m4 generated automatically by aclocal 1.4
    2 
    3 dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
     1dnl aclocal.m4 generated automatically by aclocal 1.4-p5
     2
     3dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
    44dnl This file is free software; the Free Software Foundation
    55dnl gives unlimited permission to copy and/or distribute it,
     
    137137])
    138138
     139AC_DEFUN([AM_INSTALL_LIBBFD],
     140[AC_MSG_CHECKING([whether to install libbfd])
     141  AC_ARG_ENABLE(install-libbfd,
     142[  --enable-install-libbfd controls installation of libbfd and related headers],
     143      install_libbfd_p=$enableval,
     144      if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
     145        install_libbfd_p=yes
     146      else
     147        install_libbfd_p=no
     148      fi)
     149  AC_MSG_RESULT($install_libbfd_p)
     150  AM_CONDITIONAL(INSTALL_LIBBFD, test $install_libbfd_p = yes)
     151  # libbfd.a is a host library containing target dependent code
     152  bfdlibdir='$(libdir)'
     153  bfdincludedir='$(includedir)'
     154  if test "${host}" != "${target}"; then
     155    bfdlibdir='$(exec_prefix)/$(host_alias)/$(target_alias)/lib'
     156    bfdincludedir='$(exec_prefix)/$(host_alias)/$(target_alias)/include'
     157  fi
     158  AC_SUBST(bfdlibdir)
     159  AC_SUBST(bfdincludedir)
     160]
     161)
     162
     163# Define a conditional.
     164
     165AC_DEFUN([AM_CONDITIONAL],
     166[AC_SUBST($1_TRUE)
     167AC_SUBST($1_FALSE)
     168if $2; then
     169  $1_TRUE=
     170  $1_FALSE='#'
     171else
     172  $1_TRUE='#'
     173  $1_FALSE=
     174fi])
     175
     176#serial 1
     177# This test replaces the one in autoconf.
     178# Currently this macro should have the same name as the autoconf macro
     179# because gettext's gettext.m4 (distributed in the automake package)
     180# still uses it.  Otherwise, the use in gettext.m4 makes autoheader
     181# give these diagnostics:
     182#   configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
     183#   configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
     184
     185undefine([AC_ISC_POSIX])
     186
     187AC_DEFUN([AC_ISC_POSIX],
     188  [
     189    dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
     190    AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
     191  ]
     192)
     193
    139194# Do all the work for Automake.  This macro actually does too much --
    140195# some checks are only needed if your package does certain things.
     
    146201dnl AM_INIT_AUTOMAKE(package,version, [no-define])
    147202
    148 AC_DEFUN(AM_INIT_AUTOMAKE,
     203AC_DEFUN([AM_INIT_AUTOMAKE],
    149204[AC_REQUIRE([AC_PROG_INSTALL])
    150205PACKAGE=[$1]
     
    174229#
    175230
    176 AC_DEFUN(AM_SANITY_CHECK,
     231AC_DEFUN([AM_SANITY_CHECK],
    177232[AC_MSG_CHECKING([whether build environment is sane])
    178233# Just in case
     
    215270dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
    216271dnl The program must properly implement --version.
    217 AC_DEFUN(AM_MISSING_PROG,
     272AC_DEFUN([AM_MISSING_PROG],
    218273[AC_MSG_CHECKING(for working $2)
    219274# Run test in a subshell; some versions of sh will print an error if
     
    231286# Like AC_CONFIG_HEADER, but automatically create stamp file.
    232287
    233 AC_DEFUN(AM_CONFIG_HEADER,
     288AC_DEFUN([AM_CONFIG_HEADER],
    234289[AC_PREREQ([2.12])
    235290AC_CONFIG_HEADER([$1])
     
    257312# serial 1
    258313
    259 AC_DEFUN(AM_MAINTAINER_MODE,
     314AC_DEFUN([AM_MAINTAINER_MODE],
    260315[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
    261316  dnl maintainer-mode is disabled by default
     
    272327)
    273328
    274 # Define a conditional.
    275 
    276 AC_DEFUN(AM_CONDITIONAL,
    277 [AC_SUBST($1_TRUE)
    278 AC_SUBST($1_FALSE)
    279 if $2; then
    280   $1_TRUE=
    281   $1_FALSE='#'
    282 else
    283   $1_TRUE='#'
    284   $1_FALSE=
    285 fi])
    286 
Note: See TracChangeset for help on using the changeset viewer.