| Index: gdb/gdbserver/aclocal.m4
|
| diff --git a/gdb/gdbserver/aclocal.m4 b/gdb/gdbserver/aclocal.m4
|
| index cdae6e7f72e3c56cfaf20b99e6056226726c73e0..7b546b75e9be9c0f4fd2ea28a4ec83b03c2826f2 100644
|
| --- a/gdb/gdbserver/aclocal.m4
|
| +++ b/gdb/gdbserver/aclocal.m4
|
| @@ -11,4 +11,99 @@
|
| # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
| # PARTICULAR PURPOSE.
|
|
|
| +# AM_CONDITIONAL -*- Autoconf -*-
|
| +
|
| +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 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 9
|
| +
|
| +# 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
|
| +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
|
| +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])])
|
| +
|
| +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
|
| +# From Jim Meyering
|
| +
|
| +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 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 5
|
| +
|
| +# 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.
|
| +AC_DEFUN([AM_MAINTAINER_MODE],
|
| +[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
|
| + (and sometimes confusing) to the casual installer],
|
| + [USE_MAINTAINER_MODE=$enableval],
|
| + [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
|
| + AC_MSG_RESULT([$USE_MAINTAINER_MODE])
|
| + AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
|
| + MAINT=$MAINTAINER_MODE_TRUE
|
| + AC_SUBST([MAINT])dnl
|
| +]
|
| +)
|
| +
|
| +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
|
| +
|
| +# 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($@)])
|
| +
|
| m4_include([acinclude.m4])
|
|
|