Changeset 618 for trunk/src/binutils/bfd/aclocal.m4
- Timestamp:
- Aug 16, 2003, 11:33:53 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/binutils/bfd/aclocal.m4
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r617 r618 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. … … 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.