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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [gdb/] [testsuite/] [aclocal.m4] - Diff between revs 227 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 227 Rev 816
sinclude(../../config/acx.m4)
sinclude(../../config/acx.m4)
sinclude(../../config/override.m4)
sinclude(../../config/override.m4)
 
 
# AM_CONDITIONAL                                            -*- Autoconf -*-
# AM_CONDITIONAL                                            -*- Autoconf -*-
 
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Free Software Foundation, Inc.
#
#
# This file is free software; the Free Software Foundation
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# with or without modifications, as long as this notice is preserved.
 
 
# serial 7
# serial 7
 
 
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
# -------------------------------------
# -------------------------------------
# Define a conditional.
# Define a conditional.
AC_DEFUN([AM_CONDITIONAL],
AC_DEFUN([AM_CONDITIONAL],
[AC_PREREQ(2.52)dnl
[AC_PREREQ(2.52)dnl
 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
AC_SUBST([$1_TRUE])
AC_SUBST([$1_TRUE])
AC_SUBST([$1_FALSE])
AC_SUBST([$1_FALSE])
if $2; then
if $2; then
  $1_TRUE=
  $1_TRUE=
  $1_FALSE='#'
  $1_FALSE='#'
else
else
  $1_TRUE='#'
  $1_TRUE='#'
  $1_FALSE=
  $1_FALSE=
fi
fi
AC_CONFIG_COMMANDS_PRE(
AC_CONFIG_COMMANDS_PRE(
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  AC_MSG_ERROR([[conditional "$1" was never defined.
  AC_MSG_ERROR([[conditional "$1" was never defined.
Usually this means the macro was only invoked conditionally.]])
Usually this means the macro was only invoked conditionally.]])
fi])])
fi])])
 
 

powered by: WebSVN 2.1.0

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