2009-08-22 15:22:20 +02:00
|
|
|
# generated automatically by aclocal 1.11 -*- Autoconf -*-
|
2004-10-20 03:26:37 +02:00
|
|
|
|
2006-10-15 09:42:57 +02:00
|
|
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
2009-08-22 15:22:20 +02:00
|
|
|
# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
2004-10-20 03:26:37 +02:00
|
|
|
# This file is free software; the Free Software Foundation
|
|
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
2006-10-15 09:42:57 +02:00
|
|
|
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
2004-10-20 03:26:37 +02:00
|
|
|
|
2006-10-15 09:42:57 +02:00
|
|
|
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# This file is free software; the Free Software Foundation
|
|
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
|
|
# with or without modifications, as long as this notice is preserved.
|
2004-10-20 03:26:37 +02:00
|
|
|
|
|
|
|
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
|
|
|
|
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
|
|
|
|
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
|
|
|
|
#
|
|
|
|
# Of course, Automake must honor this variable whenever it calls a
|
|
|
|
# tool from the auxiliary directory. The problem is that $srcdir (and
|
|
|
|
# therefore $ac_aux_dir as well) can be either absolute or relative,
|
|
|
|
# depending on how configure is run. This is pretty annoying, since
|
|
|
|
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
|
|
|
|
# source directory, any form will work fine, but in subdirectories a
|
|
|
|
# relative path needs to be adjusted first.
|
|
|
|
#
|
|
|
|
# $ac_aux_dir/missing
|
|
|
|
# fails when called from a subdirectory if $ac_aux_dir is relative
|
|
|
|
# $top_srcdir/$ac_aux_dir/missing
|
|
|
|
# fails if $ac_aux_dir is absolute,
|
|
|
|
# fails when called from a subdirectory in a VPATH build with
|
|
|
|
# a relative $ac_aux_dir
|
|
|
|
#
|
|
|
|
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
|
|
|
|
# are both prefixed by $srcdir. In an in-source build this is usually
|
|
|
|
# harmless because $srcdir is `.', but things will broke when you
|
|
|
|
# start a VPATH build or use an absolute $srcdir.
|
|
|
|
#
|
|
|
|
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
|
|
|
|
# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
|
|
|
|
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
|
|
|
|
# and then we would define $MISSING as
|
|
|
|
# MISSING="\${SHELL} $am_aux_dir/missing"
|
|
|
|
# This will work as long as MISSING is not called from configure, because
|
|
|
|
# unfortunately $(top_srcdir) has no meaning in configure.
|
|
|
|
# However there are other variables, like CC, which are often used in
|
|
|
|
# configure, and could therefore not use this "fixed" $ac_aux_dir.
|
|
|
|
#
|
|
|
|
# Another solution, used here, is to always expand $ac_aux_dir to an
|
|
|
|
# absolute PATH. The drawback is that using absolute paths prevent a
|
|
|
|
# configured tree to be moved without reconfiguration.
|
|
|
|
|
|
|
|
AC_DEFUN([AM_AUX_DIR_EXPAND],
|
|
|
|
[dnl Rely on autoconf to set up CDPATH properly.
|
|
|
|
AC_PREREQ([2.50])dnl
|
|
|
|
# expand $ac_aux_dir to an absolute path
|
|
|
|
am_aux_dir=`cd $ac_aux_dir && pwd`
|
2002-02-11 19:10:05 +01:00
|
|
|
])
|
2004-10-20 03:26:37 +02:00
|
|
|
|
2006-10-15 09:42:57 +02:00
|
|
|
# AM_CONDITIONAL -*- Autoconf -*-
|
2004-10-20 03:26:37 +02:00
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
|
2006-10-15 09:42:57 +02:00
|
|
|
# Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# This file is free software; the Free Software Foundation
|
|
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
|
|
# with or without modifications, as long as this notice is preserved.
|
2004-10-20 03:26:37 +02:00
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
# serial 9
|
2004-10-20 03:26:37 +02:00
|
|
|
|
|
|
|
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
|
|
|
# -------------------------------------
|
|
|
|
# Define a conditional.
|
|
|
|
AC_DEFUN([AM_CONDITIONAL],
|
|
|
|
[AC_PREREQ(2.52)dnl
|
|
|
|
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
|
|
|
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
2009-08-22 15:22:20 +02:00
|
|
|
AC_SUBST([$1_TRUE])dnl
|
|
|
|
AC_SUBST([$1_FALSE])dnl
|
|
|
|
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
|
|
|
|
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
|
|
|
|
m4_define([_AM_COND_VALUE_$1], [$2])dnl
|
2004-10-20 03:26:37 +02:00
|
|
|
if $2; then
|
|
|
|
$1_TRUE=
|
|
|
|
$1_FALSE='#'
|
|
|
|
else
|
|
|
|
$1_TRUE='#'
|
|
|
|
$1_FALSE=
|
|
|
|
fi
|
|
|
|
AC_CONFIG_COMMANDS_PRE(
|
|
|
|
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
|
|
|
|
AC_MSG_ERROR([[conditional "$1" was never defined.
|
|
|
|
Usually this means the macro was only invoked conditionally.]])
|
|
|
|
fi])])
|
|
|
|
|
2006-10-15 09:42:57 +02:00
|
|
|
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
|
2004-10-20 03:26:37 +02:00
|
|
|
# From Jim Meyering
|
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
|
2004-10-20 03:26:37 +02:00
|
|
|
# Free Software Foundation, Inc.
|
2006-10-15 09:42:57 +02:00
|
|
|
#
|
|
|
|
# This file is free software; the Free Software Foundation
|
|
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
|
|
# with or without modifications, as long as this notice is preserved.
|
2004-10-20 03:26:37 +02:00
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
# serial 5
|
2004-10-20 03:26:37 +02:00
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
# AM_MAINTAINER_MODE([DEFAULT-MODE])
|
|
|
|
# ----------------------------------
|
|
|
|
# Control maintainer-specific portions of Makefiles.
|
|
|
|
# Default is to disable them, unless `enable' is passed literally.
|
|
|
|
# For symmetry, `disable' may be passed as well. Anyway, the user
|
|
|
|
# can override the default with the --enable/--disable switch.
|
2004-10-20 03:26:37 +02:00
|
|
|
AC_DEFUN([AM_MAINTAINER_MODE],
|
2009-08-22 15:22:20 +02:00
|
|
|
[m4_case(m4_default([$1], [disable]),
|
|
|
|
[enable], [m4_define([am_maintainer_other], [disable])],
|
|
|
|
[disable], [m4_define([am_maintainer_other], [enable])],
|
|
|
|
[m4_define([am_maintainer_other], [enable])
|
|
|
|
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
|
|
|
|
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
|
|
|
|
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
|
|
|
|
AC_ARG_ENABLE([maintainer-mode],
|
|
|
|
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
|
2004-10-20 03:26:37 +02:00
|
|
|
(and sometimes confusing) to the casual installer],
|
2009-08-22 15:22:20 +02:00
|
|
|
[USE_MAINTAINER_MODE=$enableval],
|
|
|
|
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
|
2004-10-20 03:26:37 +02:00
|
|
|
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
|
2009-08-22 15:22:20 +02:00
|
|
|
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
|
2004-10-20 03:26:37 +02:00
|
|
|
MAINT=$MAINTAINER_MODE_TRUE
|
2009-08-22 15:22:20 +02:00
|
|
|
AC_SUBST([MAINT])dnl
|
2004-10-20 03:26:37 +02:00
|
|
|
]
|
|
|
|
)
|
|
|
|
|
|
|
|
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
|
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
|
|
|
|
# Free Software Foundation, Inc.
|
2006-10-15 09:42:57 +02:00
|
|
|
#
|
|
|
|
# This file is free software; the Free Software Foundation
|
|
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
# serial 6
|
2004-10-20 03:26:37 +02:00
|
|
|
|
|
|
|
# AM_PROG_CC_C_O
|
|
|
|
# --------------
|
|
|
|
# Like AC_PROG_CC_C_O, but changed for automake.
|
|
|
|
AC_DEFUN([AM_PROG_CC_C_O],
|
|
|
|
[AC_REQUIRE([AC_PROG_CC_C_O])dnl
|
|
|
|
AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
2009-08-22 15:22:20 +02:00
|
|
|
AC_REQUIRE_AUX_FILE([compile])dnl
|
2004-10-20 03:26:37 +02:00
|
|
|
# FIXME: we rely on the cache variable name because
|
|
|
|
# there is no other way.
|
|
|
|
set dummy $CC
|
2009-08-22 15:22:20 +02:00
|
|
|
am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
|
|
|
|
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
|
|
|
|
if test "$am_t" != yes; then
|
2004-10-20 03:26:37 +02:00
|
|
|
# Losing compiler, so override with the script.
|
|
|
|
# FIXME: It is wrong to rewrite CC.
|
|
|
|
# But if we don't then we get into trouble of one sort or another.
|
|
|
|
# A longer-term fix would be to have automake use am__CC in this case,
|
|
|
|
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
|
|
|
|
CC="$am_aux_dir/compile $CC"
|
|
|
|
fi
|
2009-08-22 15:22:20 +02:00
|
|
|
dnl Make sure AC_PROG_CC is never called again, or it will override our
|
|
|
|
dnl setting of CC.
|
|
|
|
m4_define([AC_PROG_CC],
|
|
|
|
[m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
|
2004-10-20 03:26:37 +02:00
|
|
|
])
|
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# This file is free software; the Free Software Foundation
|
|
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
|
|
|
|
# serial 2
|
|
|
|
|
|
|
|
# _AM_SUBST_NOTMAKE(VARIABLE)
|
|
|
|
# ---------------------------
|
|
|
|
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
|
|
|
|
# This macro is traced by Automake.
|
|
|
|
AC_DEFUN([_AM_SUBST_NOTMAKE])
|
|
|
|
|
|
|
|
# AM_SUBST_NOTMAKE(VARIABLE)
|
|
|
|
# ---------------------------
|
|
|
|
# Public sister of _AM_SUBST_NOTMAKE.
|
|
|
|
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
|
|
|
|
|
2007-05-24 18:37:27 +02:00
|
|
|
m4_include([../ltoptions.m4])
|
|
|
|
m4_include([../ltsugar.m4])
|
|
|
|
m4_include([../ltversion.m4])
|
2007-07-05 19:54:10 +02:00
|
|
|
m4_include([../lt~obsolete.m4])
|
Makefile.in (AUTOCONF, [...]): New variables.
fixincludes/
* Makefile.in (AUTOCONF, AUTOHEADER, ACLOCAL, ACLOCAL_AMFLAGS):
New variables.
($(srcdir)/configure, $(srcdir)/config.h.in, $(srcdir)/aclocal.m4):
Use them.
gcc/
* Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
New variables.
($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
(AUTOHEADER): New variable.
($(srcdir)/cstamp-h.in): Use it.
gnattools/
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure): Use them.
libada/
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure)): Use them. Also depend on multi.m4.
libgcc/
* configure.ac: Add snippet for maintainer-mode.
* configure: Regenerate.
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure)): New rule, active only with maintainer
mode turned on.
libiberty/
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure): New rule, active only in maintainer mode.
libobjc/
* Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
New variables.
($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
intl/
* Makefile.in (aclocal_deps): New variable.
($(srcdir)/aclocal.m4): Use it, for portable makefile syntax.
libdecnumber/
* Makefile.in (aclocal_deps): New variable.
($(srcdir)/aclocal.m4): Use it, for portable makefile syntax.
From-SVN: r150277
2009-07-31 00:33:49 +02:00
|
|
|
m4_include([../config/multi.m4])
|
|
|
|
m4_include([../config/override.m4])
|
2004-10-20 03:26:37 +02:00
|
|
|
m4_include([acinclude.m4])
|