aclocal.m4 (104834) | aclocal.m4 (130561) |
---|---|
1dnl aclocal.m4 generated automatically by aclocal 1.4-p5 | 1dnl aclocal.m4 generated automatically by aclocal 1.4-p6 |
2 3dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. 4dnl This file is free software; the Free Software Foundation 5dnl gives unlimited permission to copy and/or distribute it, 6dnl with or without modifications, as long as this notice is preserved. 7 8dnl This program is distributed in the hope that it will be useful, 9dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without 10dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11dnl PARTICULAR PURPOSE. 12 | 2 3dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. 4dnl This file is free software; the Free Software Foundation 5dnl gives unlimited permission to copy and/or distribute it, 6dnl with or without modifications, as long as this notice is preserved. 7 8dnl This program is distributed in the hope that it will be useful, 9dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without 10dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11dnl PARTICULAR PURPOSE. 12 |
13sinclude(../config/accross.m4) 14 |
|
13dnl See whether we need to use fopen-bin.h rather than fopen-same.h. 14AC_DEFUN(BFD_BINARY_FOPEN, 15[AC_REQUIRE([AC_CANONICAL_SYSTEM]) 16case "${host}" in 17changequote(,)dnl 18*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*) 19changequote([,])dnl 20 AC_DEFINE(USE_BINARY_FOPEN, 1, [Use b modifier when opening binary files?]) ;; --- 113 unchanged lines hidden (view full) --- 134ifelse(yes,no,[ 135AC_DEFUN([CY_WITH_NLS],) 136AC_SUBST(INTLLIBS) 137]) 138 139AC_DEFUN([AM_INSTALL_LIBBFD], 140[AC_MSG_CHECKING([whether to install libbfd]) 141 AC_ARG_ENABLE(install-libbfd, | 15dnl See whether we need to use fopen-bin.h rather than fopen-same.h. 16AC_DEFUN(BFD_BINARY_FOPEN, 17[AC_REQUIRE([AC_CANONICAL_SYSTEM]) 18case "${host}" in 19changequote(,)dnl 20*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*) 21changequote([,])dnl 22 AC_DEFINE(USE_BINARY_FOPEN, 1, [Use b modifier when opening binary files?]) ;; --- 113 unchanged lines hidden (view full) --- 136ifelse(yes,no,[ 137AC_DEFUN([CY_WITH_NLS],) 138AC_SUBST(INTLLIBS) 139]) 140 141AC_DEFUN([AM_INSTALL_LIBBFD], 142[AC_MSG_CHECKING([whether to install libbfd]) 143 AC_ARG_ENABLE(install-libbfd, |
142[ --install-libbfd controls installation of libbfd and related headers], | 144[ --enable-install-libbfd controls installation of libbfd and related headers], |
143 install_libbfd_p=$enableval, | 145 install_libbfd_p=$enableval, |
144 if test "${host}" = "${target}" -o "$enable_shared" = "yes"; then | 146 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)' --- 15 unchanged lines hidden (view full) --- 168if $2; then 169 $1_TRUE= 170 $1_FALSE='#' 171else 172 $1_TRUE='#' 173 $1_FALSE= 174fi]) 175 | 147 install_libbfd_p=yes 148 else 149 install_libbfd_p=no 150 fi) 151 AC_MSG_RESULT($install_libbfd_p) 152 AM_CONDITIONAL(INSTALL_LIBBFD, test $install_libbfd_p = yes) 153 # libbfd.a is a host library containing target dependent code 154 bfdlibdir='$(libdir)' --- 15 unchanged lines hidden (view full) --- 170if $2; then 171 $1_TRUE= 172 $1_FALSE='#' 173else 174 $1_TRUE='#' 175 $1_FALSE= 176fi]) 177 |
178# isc-posix.m4 serial 2 (gettext-0.11.2) 179dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. 180dnl This file is free software, distributed under the terms of the GNU 181dnl General Public License. As a special exception to the GNU General 182dnl Public License, this file may be distributed as part of a program 183dnl that contains a configuration script generated by Autoconf, under 184dnl the same distribution terms as the rest of that program. 185 186# This file is not needed with autoconf-2.53 and newer. Remove it in 2005. 187 188# This test replaces the one in autoconf. 189# Currently this macro should have the same name as the autoconf macro 190# because gettext's gettext.m4 (distributed in the automake package) 191# still uses it. Otherwise, the use in gettext.m4 makes autoheader 192# give these diagnostics: 193# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX 194# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX 195 196undefine([AC_ISC_POSIX]) 197 198AC_DEFUN([AC_ISC_POSIX], 199 [ 200 dnl This test replaces the obsolescent AC_ISC_POSIX kludge. 201 AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"]) 202 ] 203) 204 |
|
176# Do all the work for Automake. This macro actually does too much -- 177# some checks are only needed if your package does certain things. 178# But this isn't really a big deal. 179 180# serial 1 181 182dnl Usage: 183dnl AM_INIT_AUTOMAKE(package,version, [no-define]) 184 185AC_DEFUN([AM_INIT_AUTOMAKE], | 205# Do all the work for Automake. This macro actually does too much -- 206# some checks are only needed if your package does certain things. 207# But this isn't really a big deal. 208 209# serial 1 210 211dnl Usage: 212dnl AM_INIT_AUTOMAKE(package,version, [no-define]) 213 214AC_DEFUN([AM_INIT_AUTOMAKE], |
186[AC_REQUIRE([AC_PROG_INSTALL]) | 215[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 216AC_REQUIRE([AC_PROG_INSTALL]) |
187PACKAGE=[$1] 188AC_SUBST(PACKAGE) 189VERSION=[$2] 190AC_SUBST(VERSION) 191dnl test to see if srcdir already configured 192if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 193 AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 194fi 195ifelse([$3],, 196AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 197AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) 198AC_REQUIRE([AM_SANITY_CHECK]) 199AC_REQUIRE([AC_ARG_PROGRAM]) 200dnl FIXME This is truly gross. 201missing_dir=`cd $ac_aux_dir && pwd` | 217PACKAGE=[$1] 218AC_SUBST(PACKAGE) 219VERSION=[$2] 220AC_SUBST(VERSION) 221dnl test to see if srcdir already configured 222if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 223 AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 224fi 225ifelse([$3],, 226AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 227AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) 228AC_REQUIRE([AM_SANITY_CHECK]) 229AC_REQUIRE([AC_ARG_PROGRAM]) 230dnl FIXME This is truly gross. 231missing_dir=`cd $ac_aux_dir && pwd` |
202AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) | 232AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir) |
203AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) | 233AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) |
204AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir) | 234AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir) |
205AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) 206AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) 207AC_REQUIRE([AC_PROG_MAKE_SET])]) 208 | 235AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) 236AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) 237AC_REQUIRE([AC_PROG_MAKE_SET])]) 238 |
239# Copyright 2002 Free Software Foundation, Inc. 240 241# This program is free software; you can redistribute it and/or modify 242# it under the terms of the GNU General Public License as published by 243# the Free Software Foundation; either version 2, or (at your option) 244# any later version. 245 246# This program is distributed in the hope that it will be useful, 247# but WITHOUT ANY WARRANTY; without even the implied warranty of 248# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 249# GNU General Public License for more details. 250 251# You should have received a copy of the GNU General Public License 252# along with this program; if not, write to the Free Software 253# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 254 255# AM_AUTOMAKE_VERSION(VERSION) 256# ---------------------------- 257# Automake X.Y traces this macro to ensure aclocal.m4 has been 258# generated from the m4 files accompanying Automake X.Y. 259AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"]) 260 261# AM_SET_CURRENT_AUTOMAKE_VERSION 262# ------------------------------- 263# Call AM_AUTOMAKE_VERSION so it can be traced. 264# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 265AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 266 [AM_AUTOMAKE_VERSION([1.4-p6])]) 267 |
|
209# 210# Check to make sure that the build environment is sane. 211# 212 213AC_DEFUN([AM_SANITY_CHECK], 214[AC_MSG_CHECKING([whether build environment is sane]) 215# Just in case 216sleep 1 --- 94 unchanged lines hidden --- | 268# 269# Check to make sure that the build environment is sane. 270# 271 272AC_DEFUN([AM_SANITY_CHECK], 273[AC_MSG_CHECKING([whether build environment is sane]) 274# Just in case 275sleep 1 --- 94 unchanged lines hidden --- |