]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/d10v/aclocal.m4
sim: generate build dependencies on the fly
[thirdparty/binutils-gdb.git] / sim / d10v / aclocal.m4
CommitLineData
db2e4d67
MF
1# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
2
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
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
14# AM_CONDITIONAL -*- Autoconf -*-
15
16# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
17# 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# serial 9
24
25# AM_CONDITIONAL(NAME, SHELL-CONDITION)
26# -------------------------------------
27# Define a conditional.
28AC_DEFUN([AM_CONDITIONAL],
29[AC_PREREQ(2.52)dnl
30 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
31 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
32AC_SUBST([$1_TRUE])dnl
33AC_SUBST([$1_FALSE])dnl
34_AM_SUBST_NOTMAKE([$1_TRUE])dnl
35_AM_SUBST_NOTMAKE([$1_FALSE])dnl
36m4_define([_AM_COND_VALUE_$1], [$2])dnl
37if $2; then
38 $1_TRUE=
39 $1_FALSE='#'
40else
41 $1_TRUE='#'
42 $1_FALSE=
43fi
44AC_CONFIG_COMMANDS_PRE(
45[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
46 AC_MSG_ERROR([[conditional "$1" was never defined.
47Usually this means the macro was only invoked conditionally.]])
48fi])])
49
50# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
51#
52# This file is free software; the Free Software Foundation
53# gives unlimited permission to copy and/or distribute it,
54# with or without modifications, as long as this notice is preserved.
55
56# serial 2
57
58# Check whether the underlying file-system supports filenames
59# with a leading dot. For instance MS-DOS doesn't.
60AC_DEFUN([AM_SET_LEADING_DOT],
61[rm -rf .tst 2>/dev/null
62mkdir .tst 2>/dev/null
63if test -d .tst; then
64 am__leading_dot=.
65else
66 am__leading_dot=_
67fi
68rmdir .tst 2>/dev/null
69AC_SUBST([am__leading_dot])])
70
71# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
72#
73# This file is free software; the Free Software Foundation
74# gives unlimited permission to copy and/or distribute it,
75# with or without modifications, as long as this notice is preserved.
76
77# serial 2
78
79# _AM_SUBST_NOTMAKE(VARIABLE)
80# ---------------------------
81# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
82# This macro is traced by Automake.
83AC_DEFUN([_AM_SUBST_NOTMAKE])
84
85# AM_SUBST_NOTMAKE(VARIABLE)
86# ---------------------------
87# Public sister of _AM_SUBST_NOTMAKE.
88AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
89