diff options
author | Tom Tromey <tromey@redhat.com> | 2009-06-29 16:41:45 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2009-06-29 16:41:45 +0000 |
commit | 6bc80edc986a7afe2389deac4f18e8c1b976b66c (patch) | |
tree | c5618f0beaadc2db35c7cb4fb463ca9fc3cb94b9 /gdb/testsuite/aclocal.m4 | |
parent | 794684b64f780fbecb3443d6783284919c83c07f (diff) | |
download | gdb-6bc80edc986a7afe2389deac4f18e8c1b976b66c.zip gdb-6bc80edc986a7afe2389deac4f18e8c1b976b66c.tar.gz gdb-6bc80edc986a7afe2389deac4f18e8c1b976b66c.tar.bz2 |
gdb
* README: Mention parallel check.
gdb/testsuite
* dg-extract-results.sh: New file.
* Makefile.in (FORCE_PARALLEL): New variable.
(CHECK_TARGET): New conditional variable.
(check): Use CHECK_TARGET.
(DO_RUNTEST): New variable.
(check-single): New target.
(TEST_DIRS): New variable.
(TEST_TARGETS): Likewise.
(check-parallel): New target.
(check-gdb.%): New pattern.
(BASE1_FILES): New variable.
(BASE2_FILES): Likewise.
(check-gdb.base%): New pattern.
(%/.dir): New pattern.
* configure: Rebuild.
* aclocal.m4 (AM_CONDITIONAL): New defun.
* configure.ac: Check whether user is using GNU make.
(GMAKE): New conditional.
Diffstat (limited to 'gdb/testsuite/aclocal.m4')
-rw-r--r-- | gdb/testsuite/aclocal.m4 | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gdb/testsuite/aclocal.m4 b/gdb/testsuite/aclocal.m4 index f58abae..2934db2 100644 --- a/gdb/testsuite/aclocal.m4 +++ b/gdb/testsuite/aclocal.m4 @@ -1,2 +1,35 @@ sinclude(../../config/acx.m4) sinclude(../../config/override.m4) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 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. + +# serial 7 + +# 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])]) |