diff options
author | Mark Mitchell <mark@codesourcery.com> | 2006-01-16 22:36:36 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2006-01-16 22:36:36 +0000 |
commit | 60bf065074d236929138d4a85ccc1041625e92e3 (patch) | |
tree | 649d598ac3f90605b74f6852cb1b0726cfcd6e52 /gdb/aclocal.m4 | |
parent | ec49b2b8661d9edb37111f0be7f92b6e296b1cdf (diff) | |
download | gdb-60bf065074d236929138d4a85ccc1041625e92e3.zip gdb-60bf065074d236929138d4a85ccc1041625e92e3.tar.gz gdb-60bf065074d236929138d4a85ccc1041625e92e3.tar.bz2 |
* aclocal.m4: Regenerate.
Diffstat (limited to 'gdb/aclocal.m4')
-rw-r--r-- | gdb/aclocal.m4 | 49 |
1 files changed, 47 insertions, 2 deletions
diff --git a/gdb/aclocal.m4 b/gdb/aclocal.m4 index bba7468..ecb2ae1 100644 --- a/gdb/aclocal.m4 +++ b/gdb/aclocal.m4 @@ -27,8 +27,53 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, -# Boston, MA 02110-1301, USA. +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 6 + +# 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]) +AC_SUBST([$1_FALSE]) +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. +# From Jim Meyering + +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004 +# Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. # serial 3 |