]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/or1k/aclocal.m4
sim: unify environment build settings
[thirdparty/binutils-gdb.git] / sim / or1k / aclocal.m4
CommitLineData
d0ac1c44 1# generated automatically by aclocal 1.15.1 -*- Autoconf -*-
0cd79707 2
d0ac1c44 3# Copyright (C) 1996-2017 Free Software Foundation, Inc.
0cd79707
SH
4
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
14m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
15# AM_CONDITIONAL -*- Autoconf -*-
16
d0ac1c44 17# Copyright (C) 1997-2017 Free Software Foundation, Inc.
0cd79707
SH
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# AM_CONDITIONAL(NAME, SHELL-CONDITION)
24# -------------------------------------
25# Define a conditional.
26AC_DEFUN([AM_CONDITIONAL],
27[AC_PREREQ([2.52])dnl
28 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
29 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
30AC_SUBST([$1_TRUE])dnl
31AC_SUBST([$1_FALSE])dnl
32_AM_SUBST_NOTMAKE([$1_TRUE])dnl
33_AM_SUBST_NOTMAKE([$1_FALSE])dnl
34m4_define([_AM_COND_VALUE_$1], [$2])dnl
35if $2; then
36 $1_TRUE=
37 $1_FALSE='#'
38else
39 $1_TRUE='#'
40 $1_FALSE=
41fi
42AC_CONFIG_COMMANDS_PRE(
43[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
44 AC_MSG_ERROR([[conditional "$1" was never defined.
45Usually this means the macro was only invoked conditionally.]])
46fi])])
47
0cd79707
SH
48# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
49# From Jim Meyering
50
d0ac1c44 51# Copyright (C) 1996-2017 Free Software Foundation, Inc.
0cd79707
SH
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# AM_MAINTAINER_MODE([DEFAULT-MODE])
58# ----------------------------------
59# Control maintainer-specific portions of Makefiles.
60# Default is to disable them, unless 'enable' is passed literally.
61# For symmetry, 'disable' may be passed as well. Anyway, the user
62# can override the default with the --enable/--disable switch.
63AC_DEFUN([AM_MAINTAINER_MODE],
64[m4_case(m4_default([$1], [disable]),
65 [enable], [m4_define([am_maintainer_other], [disable])],
66 [disable], [m4_define([am_maintainer_other], [enable])],
67 [m4_define([am_maintainer_other], [enable])
68 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
69AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
70 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
71 AC_ARG_ENABLE([maintainer-mode],
72 [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
73 am_maintainer_other[ make rules and dependencies not useful
74 (and sometimes confusing) to the casual installer])],
75 [USE_MAINTAINER_MODE=$enableval],
76 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
77 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
78 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
79 MAINT=$MAINTAINER_MODE_TRUE
80 AC_SUBST([MAINT])dnl
81]
82)
83
d0ac1c44 84# Copyright (C) 2006-2017 Free Software Foundation, Inc.
0cd79707
SH
85#
86# This file is free software; the Free Software Foundation
87# gives unlimited permission to copy and/or distribute it,
88# with or without modifications, as long as this notice is preserved.
89
90# _AM_SUBST_NOTMAKE(VARIABLE)
91# ---------------------------
92# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
93# This macro is traced by Automake.
94AC_DEFUN([_AM_SUBST_NOTMAKE])
95
96# AM_SUBST_NOTMAKE(VARIABLE)
97# --------------------------
98# Public sister of _AM_SUBST_NOTMAKE.
99AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
100
2662c237
MF
101m4_include([../../config/acx.m4])
102m4_include([../../config/depstand.m4])
103m4_include([../../config/gettext-sister.m4])
104m4_include([../../config/lead-dot.m4])
105m4_include([../../config/override.m4])
106m4_include([../../config/plugins.m4])
107m4_include([../../config/zlib.m4])
108m4_include([../../libtool.m4])
109m4_include([../../ltoptions.m4])
110m4_include([../../ltsugar.m4])
111m4_include([../../ltversion.m4])
112m4_include([../../lt~obsolete.m4])
760b3e8b
MF
113m4_include([../m4/sim_ac_common.m4])
114m4_include([../m4/sim_ac_option_alignment.m4])
760b3e8b
MF
115m4_include([../m4/sim_ac_option_bitsize.m4])
116m4_include([../m4/sim_ac_option_cgen_maint.m4])
117m4_include([../m4/sim_ac_option_default_model.m4])
118m4_include([../m4/sim_ac_option_endian.m4])
66d055c7 119m4_include([../m4/sim_ac_option_hardware.m4])
760b3e8b
MF
120m4_include([../m4/sim_ac_option_inline.m4])
121m4_include([../m4/sim_ac_option_scache.m4])
122m4_include([../m4/sim_ac_option_warnings.m4])
123m4_include([../m4/sim_ac_output.m4])
c2783492 124m4_include([../m4/sim_ac_toolchain.m4])