]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/mcore/aclocal.m4
*** empty log message ***
[thirdparty/binutils-gdb.git] / sim / mcore / aclocal.m4
CommitLineData
2232061b 1# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
db2e4d67
MF
2
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.
db2e4d67
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.
9
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.
14
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
2232061b 72# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
db2e4d67
MF
73#
74# This file is free software; the Free Software Foundation
75# gives unlimited permission to copy and/or distribute it,
76# with or without modifications, as long as this notice is preserved.
77
2232061b 78# serial 3
db2e4d67
MF
79
80# _AM_SUBST_NOTMAKE(VARIABLE)
81# ---------------------------
82# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
83# This macro is traced by Automake.
84AC_DEFUN([_AM_SUBST_NOTMAKE])
85
86# AM_SUBST_NOTMAKE(VARIABLE)
2232061b 87# --------------------------
db2e4d67
MF
88# Public sister of _AM_SUBST_NOTMAKE.
89AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
90