]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/mips/aclocal.m4
sim: overhaul & unify endian settings management
[thirdparty/binutils-gdb.git] / sim / mips / aclocal.m4
CommitLineData
d0ac1c44
SM
1# generated automatically by aclocal 1.15.1 -*- Autoconf -*-
2
3# Copyright (C) 1996-2017 Free Software Foundation, Inc.
db2e4d67 4
db2e4d67
MF
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
d0ac1c44 14m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
db2e4d67
MF
15# AM_CONDITIONAL -*- Autoconf -*-
16
d0ac1c44 17# Copyright (C) 1997-2017 Free Software Foundation, Inc.
db2e4d67
MF
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
db2e4d67
MF
23# AM_CONDITIONAL(NAME, SHELL-CONDITION)
24# -------------------------------------
25# Define a conditional.
26AC_DEFUN([AM_CONDITIONAL],
d0ac1c44
SM
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
db2e4d67
MF
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
31e6ad7d
MF
48# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
49# From Jim Meyering
50
d0ac1c44 51# Copyright (C) 1996-2017 Free Software Foundation, Inc.
31e6ad7d
MF
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
31e6ad7d
MF
57# AM_MAINTAINER_MODE([DEFAULT-MODE])
58# ----------------------------------
59# Control maintainer-specific portions of Makefiles.
d0ac1c44
SM
60# Default is to disable them, unless 'enable' is passed literally.
61# For symmetry, 'disable' may be passed as well. Anyway, the user
31e6ad7d
MF
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])])
d0ac1c44 69AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
31e6ad7d
MF
70 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
71 AC_ARG_ENABLE([maintainer-mode],
d0ac1c44
SM
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]))
31e6ad7d
MF
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.
db2e4d67
MF
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
db2e4d67
MF
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)
d0ac1c44 97# --------------------------
db2e4d67
MF
98# Public sister of _AM_SUBST_NOTMAKE.
99AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
100
2662c237
MF
101m4_include([../../config/depstand.m4])
102m4_include([../../config/gettext-sister.m4])
103m4_include([../../config/lead-dot.m4])
104m4_include([../../config/override.m4])
105m4_include([../../config/plugins.m4])
106m4_include([../../config/zlib.m4])
107m4_include([../../libtool.m4])
108m4_include([../../ltoptions.m4])
109m4_include([../../ltsugar.m4])
110m4_include([../../ltversion.m4])
111m4_include([../../lt~obsolete.m4])
760b3e8b 112m4_include([../m4/sim_ac_common.m4])
760b3e8b 113m4_include([../m4/sim_ac_option_bitsize.m4])
760b3e8b
MF
114m4_include([../m4/sim_ac_option_float.m4])
115m4_include([../m4/sim_ac_option_hardware.m4])
116m4_include([../m4/sim_ac_option_inline.m4])
117m4_include([../m4/sim_ac_option_reserved_bits.m4])
118m4_include([../m4/sim_ac_option_warnings.m4])
119m4_include([../m4/sim_ac_output.m4])
c2783492 120m4_include([../m4/sim_ac_toolchain.m4])