]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/rl78/aclocal.m4
517bc73b03bd3609955e928eec2915c613943676
[thirdparty/binutils-gdb.git] / sim / rl78 / 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 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
51 #
52 # This file is free software; the Free Software Foundation
53 # gives unlimited permission to copy and/or distribute it,
54 # with or without modifications, as long as this notice is preserved.
55
56 # serial 2
57
58 # Check whether the underlying file-system supports filenames
59 # with a leading dot. For instance MS-DOS doesn't.
60 AC_DEFUN([AM_SET_LEADING_DOT],
61 [rm -rf .tst 2>/dev/null
62 mkdir .tst 2>/dev/null
63 if test -d .tst; then
64 am__leading_dot=.
65 else
66 am__leading_dot=_
67 fi
68 rmdir .tst 2>/dev/null
69 AC_SUBST([am__leading_dot])])
70
71 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
72 # From Jim Meyering
73
74 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
75 # Free Software Foundation, Inc.
76 #
77 # This file is free software; the Free Software Foundation
78 # gives unlimited permission to copy and/or distribute it,
79 # with or without modifications, as long as this notice is preserved.
80
81 # serial 5
82
83 # AM_MAINTAINER_MODE([DEFAULT-MODE])
84 # ----------------------------------
85 # Control maintainer-specific portions of Makefiles.
86 # Default is to disable them, unless `enable' is passed literally.
87 # For symmetry, `disable' may be passed as well. Anyway, the user
88 # can override the default with the --enable/--disable switch.
89 AC_DEFUN([AM_MAINTAINER_MODE],
90 [m4_case(m4_default([$1], [disable]),
91 [enable], [m4_define([am_maintainer_other], [disable])],
92 [disable], [m4_define([am_maintainer_other], [enable])],
93 [m4_define([am_maintainer_other], [enable])
94 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
95 AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
96 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
97 AC_ARG_ENABLE([maintainer-mode],
98 [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
99 (and sometimes confusing) to the casual installer],
100 [USE_MAINTAINER_MODE=$enableval],
101 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
102 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
103 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
104 MAINT=$MAINTAINER_MODE_TRUE
105 AC_SUBST([MAINT])dnl
106 ]
107 )
108
109 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
110
111 # Copyright (C) 2006, 2008 Free Software Foundation, Inc.
112 #
113 # This file is free software; the Free Software Foundation
114 # gives unlimited permission to copy and/or distribute it,
115 # with or without modifications, as long as this notice is preserved.
116
117 # serial 2
118
119 # _AM_SUBST_NOTMAKE(VARIABLE)
120 # ---------------------------
121 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
122 # This macro is traced by Automake.
123 AC_DEFUN([_AM_SUBST_NOTMAKE])
124
125 # AM_SUBST_NOTMAKE(VARIABLE)
126 # ---------------------------
127 # Public sister of _AM_SUBST_NOTMAKE.
128 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
129