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