]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/moxie/aclocal.m4
[PATCH] sim: make sure to include strsignal prototype
[thirdparty/binutils-gdb.git] / sim / moxie / aclocal.m4
1 # generated automatically by aclocal 1.11.3 -*- Autoconf -*-
2
3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4 # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
5 # Inc.
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.
29 AC_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
33 AC_SUBST([$1_TRUE])dnl
34 AC_SUBST([$1_FALSE])dnl
35 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
36 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
37 m4_define([_AM_COND_VALUE_$1], [$2])dnl
38 if $2; then
39 $1_TRUE=
40 $1_FALSE='#'
41 else
42 $1_TRUE='#'
43 $1_FALSE=
44 fi
45 AC_CONFIG_COMMANDS_PRE(
46 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
47 AC_MSG_ERROR([[conditional "$1" was never defined.
48 Usually this means the macro was only invoked conditionally.]])
49 fi])])
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.
61 AC_DEFUN([AM_SET_LEADING_DOT],
62 [rm -rf .tst 2>/dev/null
63 mkdir .tst 2>/dev/null
64 if test -d .tst; then
65 am__leading_dot=.
66 else
67 am__leading_dot=_
68 fi
69 rmdir .tst 2>/dev/null
70 AC_SUBST([am__leading_dot])])
71
72 # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
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
78 # serial 3
79
80 # _AM_SUBST_NOTMAKE(VARIABLE)
81 # ---------------------------
82 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
83 # This macro is traced by Automake.
84 AC_DEFUN([_AM_SUBST_NOTMAKE])
85
86 # AM_SUBST_NOTMAKE(VARIABLE)
87 # --------------------------
88 # Public sister of _AM_SUBST_NOTMAKE.
89 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
90