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