Changeset 609 for branches/GNU/src/binutils/bfd/aclocal.m4
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/bfd/aclocal.m4
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.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.1 dnl aclocal.m4 generated automatically by aclocal 1.4-p5 2 3 dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. 4 4 dnl This file is free software; the Free Software Foundation 5 5 dnl gives unlimited permission to copy and/or distribute it, … … 137 137 ]) 138 138 139 AC_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 165 AC_DEFUN([AM_CONDITIONAL], 166 [AC_SUBST($1_TRUE) 167 AC_SUBST($1_FALSE) 168 if $2; then 169 $1_TRUE= 170 $1_FALSE='#' 171 else 172 $1_TRUE='#' 173 $1_FALSE= 174 fi]) 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 185 undefine([AC_ISC_POSIX]) 186 187 AC_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 139 194 # Do all the work for Automake. This macro actually does too much -- 140 195 # some checks are only needed if your package does certain things. … … 146 201 dnl AM_INIT_AUTOMAKE(package,version, [no-define]) 147 202 148 AC_DEFUN( AM_INIT_AUTOMAKE,203 AC_DEFUN([AM_INIT_AUTOMAKE], 149 204 [AC_REQUIRE([AC_PROG_INSTALL]) 150 205 PACKAGE=[$1] … … 174 229 # 175 230 176 AC_DEFUN( AM_SANITY_CHECK,231 AC_DEFUN([AM_SANITY_CHECK], 177 232 [AC_MSG_CHECKING([whether build environment is sane]) 178 233 # Just in case … … 215 270 dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) 216 271 dnl The program must properly implement --version. 217 AC_DEFUN( AM_MISSING_PROG,272 AC_DEFUN([AM_MISSING_PROG], 218 273 [AC_MSG_CHECKING(for working $2) 219 274 # Run test in a subshell; some versions of sh will print an error if … … 231 286 # Like AC_CONFIG_HEADER, but automatically create stamp file. 232 287 233 AC_DEFUN( AM_CONFIG_HEADER,288 AC_DEFUN([AM_CONFIG_HEADER], 234 289 [AC_PREREQ([2.12]) 235 290 AC_CONFIG_HEADER([$1]) … … 257 312 # serial 1 258 313 259 AC_DEFUN( AM_MAINTAINER_MODE,314 AC_DEFUN([AM_MAINTAINER_MODE], 260 315 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) 261 316 dnl maintainer-mode is disabled by default … … 272 327 ) 273 328 274 # Define a conditional.275 276 AC_DEFUN(AM_CONDITIONAL,277 [AC_SUBST($1_TRUE)278 AC_SUBST($1_FALSE)279 if $2; then280 $1_TRUE=281 $1_FALSE='#'282 else283 $1_TRUE='#'284 $1_FALSE=285 fi])286 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.