]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/example-synacor/aclocal.m4
sim: unify environment build settings
[thirdparty/binutils-gdb.git] / sim / example-synacor / aclocal.m4
CommitLineData
26da232c
MF
1# generated automatically by aclocal 1.15.1 -*- Autoconf -*-
2
3# Copyright (C) 1996-2017 Free Software Foundation, Inc.
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
17# Copyright (C) 1997-2017 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# 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
48# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
49# From Jim Meyering
50
51# Copyright (C) 1996-2017 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# 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
84# Copyright (C) 2006-2017 Free Software Foundation, Inc.
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
26da232c
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])
2662c237
MF
113m4_include([../m4/sim_ac_common.m4])
114m4_include([../m4/sim_ac_option_alignment.m4])
2662c237 115m4_include([../m4/sim_ac_option_endian.m4])
66d055c7 116m4_include([../m4/sim_ac_option_hardware.m4])
2662c237
MF
117m4_include([../m4/sim_ac_option_inline.m4])
118m4_include([../m4/sim_ac_option_warnings.m4])
119m4_include([../m4/sim_ac_output.m4])
120m4_include([../m4/sim_ac_toolchain.m4])