* gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
[deliverable/binutils-gdb.git] / gdb / aclocal.m4
1 # generated automatically by aclocal 1.11.1 -*- Autoconf -*-
2
3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5 # This file is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 # AM_CONDITIONAL -*- Autoconf -*-
15
16 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
17 # Free Software Foundation, Inc.
18 #
19 # This file is free software; the Free Software Foundation
20 # gives unlimited permission to copy and/or distribute it,
21 # with or without modifications, as long as this notice is preserved.
22
23 # serial 9
24
25 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
26 # -------------------------------------
27 # Define a conditional.
28 AC_DEFUN([AM_CONDITIONAL],
29 [AC_PREREQ(2.52)dnl
30 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
31 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
32 AC_SUBST([$1_TRUE])dnl
33 AC_SUBST([$1_FALSE])dnl
34 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
35 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
36 m4_define([_AM_COND_VALUE_$1], [$2])dnl
37 if $2; then
38 $1_TRUE=
39 $1_FALSE='#'
40 else
41 $1_TRUE='#'
42 $1_FALSE=
43 fi
44 AC_CONFIG_COMMANDS_PRE(
45 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
46 AC_MSG_ERROR([[conditional "$1" was never defined.
47 Usually this means the macro was only invoked conditionally.]])
48 fi])])
49
50 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
51 # From Jim Meyering
52
53 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
54 # Free Software Foundation, Inc.
55 #
56 # This file is free software; the Free Software Foundation
57 # gives unlimited permission to copy and/or distribute it,
58 # with or without modifications, as long as this notice is preserved.
59
60 # serial 5
61
62 # AM_MAINTAINER_MODE([DEFAULT-MODE])
63 # ----------------------------------
64 # Control maintainer-specific portions of Makefiles.
65 # Default is to disable them, unless `enable' is passed literally.
66 # For symmetry, `disable' may be passed as well. Anyway, the user
67 # can override the default with the --enable/--disable switch.
68 AC_DEFUN([AM_MAINTAINER_MODE],
69 [m4_case(m4_default([$1], [disable]),
70 [enable], [m4_define([am_maintainer_other], [disable])],
71 [disable], [m4_define([am_maintainer_other], [enable])],
72 [m4_define([am_maintainer_other], [enable])
73 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
74 AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
75 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
76 AC_ARG_ENABLE([maintainer-mode],
77 [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
78 (and sometimes confusing) to the casual installer],
79 [USE_MAINTAINER_MODE=$enableval],
80 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
81 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
82 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
83 MAINT=$MAINTAINER_MODE_TRUE
84 AC_SUBST([MAINT])dnl
85 ]
86 )
87
88 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
89
90 # Copyright (C) 2006, 2008 Free Software Foundation, Inc.
91 #
92 # This file is free software; the Free Software Foundation
93 # gives unlimited permission to copy and/or distribute it,
94 # with or without modifications, as long as this notice is preserved.
95
96 # serial 2
97
98 # _AM_SUBST_NOTMAKE(VARIABLE)
99 # ---------------------------
100 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
101 # This macro is traced by Automake.
102 AC_DEFUN([_AM_SUBST_NOTMAKE])
103
104 # AM_SUBST_NOTMAKE(VARIABLE)
105 # ---------------------------
106 # Public sister of _AM_SUBST_NOTMAKE.
107 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
108
109 m4_include([acinclude.m4])
This page took 0.037785 seconds and 4 git commands to generate.