OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [gdb/] [aclocal.m4] - Blame information for rev 857

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 131 jeremybenn
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
2
 
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
# 2005  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
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 7
24
 
25
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
26
# -------------------------------------
27
# Define a conditional.
28
AC_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
32
AC_SUBST([$1_TRUE])
33
AC_SUBST([$1_FALSE])
34
if $2; then
35
  $1_TRUE=
36
  $1_FALSE='#'
37
else
38
  $1_TRUE='#'
39
  $1_FALSE=
40
fi
41
AC_CONFIG_COMMANDS_PRE(
42
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
43
  AC_MSG_ERROR([[conditional "$1" was never defined.
44
Usually this means the macro was only invoked conditionally.]])
45
fi])])
46
 
47
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
48
# From Jim Meyering
49
 
50
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
51
# 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 4
58
 
59
AC_DEFUN([AM_MAINTAINER_MODE],
60
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
61
  dnl maintainer-mode is disabled by default
62
  AC_ARG_ENABLE(maintainer-mode,
63
[  --enable-maintainer-mode  enable make rules and dependencies not useful
64
                          (and sometimes confusing) to the casual installer],
65
      USE_MAINTAINER_MODE=$enableval,
66
      USE_MAINTAINER_MODE=no)
67
  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
68
  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
69
  MAINT=$MAINTAINER_MODE_TRUE
70
  AC_SUBST(MAINT)dnl
71
]
72
)
73
 
74
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
75
 
76
m4_include([acinclude.m4])

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.