summaryrefslogtreecommitdiff
path: root/gdb/aclocal.m4
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2006-01-16 22:36:36 +0000
committerMark Mitchell <mark@codesourcery.com>2006-01-16 22:36:36 +0000
commit1531b26c6cdc7364396977b0118754f4c23b48e8 (patch)
tree936b5c2153cf0ec15ce420c13c409fd2446e7179 /gdb/aclocal.m4
parent898f95132ca5aa170717750b1863930b94dbdaf8 (diff)
downloadgdb-1531b26c6cdc7364396977b0118754f4c23b48e8.tar.gz
* aclocal.m4: Regenerate.
Diffstat (limited to 'gdb/aclocal.m4')
-rw-r--r--gdb/aclocal.m449
1 files changed, 47 insertions, 2 deletions
diff --git a/gdb/aclocal.m4 b/gdb/aclocal.m4
index bba7468887d..ecb2ae1aeef 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