⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aclocal.m4

📁 RTEMS (Real-Time Executive for Multiprocessor Systems) is a free open source real-time operating sys
💻 M4
📖 第 1 页 / 共 4 页
字号:
	p	n	/\\\\$/ b loop      p    }    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do    # Make sure the directory exists.    test -f "$dirpart/$file" && continue    fdir=`AS_DIRNAME(["$file"])`    AS_MKDIR_P([$dirpart/$fdir])    # echo "creating $dirpart/$file"    echo '# dummy' > "$dirpart/$file"  donedone])# _AM_OUTPUT_DEPENDENCY_COMMANDS# AM_OUTPUT_DEPENDENCY_COMMANDS# -----------------------------# This macro should only be invoked once -- use via AC_REQUIRE.## This code is only required when automatic dependency tracking# is enabled.  FIXME.  This creates each `.P' file that we will# need in order to bootstrap the dependency handling code.AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],[AC_CONFIG_COMMANDS([depfiles],     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])])# Check to see how 'make' treats includes.	-*- Autoconf -*-# Copyright (C) 2001, 2002 Free Software Foundation, Inc.# This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2, or (at your option)# any later version.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA# 02111-1307, USA.# serial 2# AM_MAKE_INCLUDE()# -----------------# Check to see how make treats includes.AC_DEFUN([AM_MAKE_INCLUDE],[am_make=${MAKE-make}cat > confinc << 'END'doit:	@echo doneEND# If we don't find an include directive, just comment out the code.AC_MSG_CHECKING([for style of include used by $am_make])am__include="#"am__quote=_am_result=none# First try GNU make style include.echo "include confinc" > confmf# We grep out `Entering directory' and `Leaving directory'# messages which can occur if `w' ends up in MAKEFLAGS.# In particular we don't look at `^make:' because GNU make might# be invoked under some other name (usually "gmake"), in which# case it prints its new name instead of `make'.if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then   am__include=include   am__quote=   _am_result=GNUfi# Now try BSD make style include.if test "$am__include" = "#"; then   echo '.include "confinc"' > confmf   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then      am__include=.include      am__quote="\""      _am_result=BSD   fifiAC_SUBST(am__include)AC_SUBST(am__quote)AC_MSG_RESULT($_am_result)rm -f confinc confmf])# AM_CONDITIONAL                                              -*- Autoconf -*-# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.# This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2, or (at your option)# any later version.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA# 02111-1307, USA.# serial 5AC_PREREQ(2.52)# AM_CONDITIONAL(NAME, SHELL-CONDITION)# -------------------------------------# Define a conditional.AC_DEFUN([AM_CONDITIONAL],[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnlAC_SUBST([$1_TRUE])AC_SUBST([$1_FALSE])if $2; then  $1_TRUE=  $1_FALSE='#'else  $1_TRUE='#'  $1_FALSE=fiAC_CONFIG_COMMANDS_PRE([if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then  AC_MSG_ERROR([conditional "$1" was never defined.Usually this means the macro was only invoked conditionally.])fi])])dnldnl $Id: canonical-target-name.m4,v 1.12.4.2 2004/08/18 07:23:00 ralf Exp $dnldnl canonicalize target cpudnl NOTE: Most rtems targets do not fullfil autoconf'sdnl target naming conventions "processor-vendor-os"dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for themdnl and we have to fix it for rtems ourselves AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU],[AC_CANONICAL_TARGETAC_MSG_CHECKING(rtems target cpu)case "${target}" in  # hpux unix port should go here  i[[34567]]86-*linux*)		# unix "simulator" port	RTEMS_CPU=unix	;;  i[[34567]]86-*freebsd*) 	# unix "simulator" port	RTEMS_CPU=unix	;;  i[[34567]]86-pc-cygwin*) 	# Cygwin is just enough unix like :)	RTEMS_CPU=unix	;;  no_cpu-*rtems*)        RTEMS_CPU=no_cpu	;;  sparc-sun-solaris*)           # unix "simulator" port	RTEMS_CPU=unix	;;  tic4x-*rtems*)          	# gcc changed the name	RTEMS_CPU=c4x	;;  *) 	RTEMS_CPU=`echo $target | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`	;;esacAC_SUBST(RTEMS_CPU)AC_MSG_RESULT($RTEMS_CPU)])# Add --enable-maintainer-mode option to configure.# From Jim Meyering# Copyright 1996, 1998, 2000, 2001, 2002  Free Software Foundation, Inc.# This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2, or (at your option)# any later version.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA# 02111-1307, USA.# serial 2AC_DEFUN([AM_MAINTAINER_MODE],[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])  dnl maintainer-mode is disabled by default  AC_ARG_ENABLE(maintainer-mode,[  --enable-maintainer-mode enable make rules and dependencies not useful                          (and sometimes confusing) to the casual installer],      USE_MAINTAINER_MODE=$enableval,      USE_MAINTAINER_MODE=no)  AC_MSG_RESULT([$USE_MAINTAINER_MODE])  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])  MAINT=$MAINTAINER_MODE_TRUE  AC_SUBST(MAINT)dnl])AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])dnl $Id: enable-posix.m4,v 1.12.2.1 2004/08/18 07:23:00 ralf Exp $AC_DEFUN([RTEMS_ENABLE_POSIX],[AC_ARG_ENABLE(posix,[AC_HELP_STRING([--enable-posix],[enable posix interface])],[case "${enableval}" in   yes) RTEMS_HAS_POSIX_API=yes ;;  no) RTEMS_HAS_POSIX_API=no ;;  *)  AC_MSG_ERROR(bad value ${enableval} for enable-posix option) ;;esac],[RTEMS_HAS_POSIX_API=yes]) case "${host}" in  # hpux unix port should go here  i[[34567]]86-pc-linux*)         # unix "simulator" port	RTEMS_HAS_POSIX_API=no	;;  i[[34567]]86-*freebsd*) # unix "simulator" port	RTEMS_HAS_POSIX_API=no	;;  no_cpu-*rtems*)	RTEMS_HAS_POSIX_API=no	;;  sparc-sun-solaris*)             # unix "simulator" port	RTEMS_HAS_POSIX_API=no	;;  *) 	;;esacAC_SUBST(RTEMS_HAS_POSIX_API)])dnl $Id: enable-itron.m4,v 1.9.2.1 2004/08/18 07:23:00 ralf Exp $AC_DEFUN([RTEMS_ENABLE_ITRON],[AC_ARG_ENABLE(itron,[AC_HELP_STRING([--enable-itron],[enable itron interface])],[case "${enableval}" in   yes) RTEMS_HAS_ITRON_API=yes ;;  no) RTEMS_HAS_ITRON_API=no ;;  *)  AC_MSG_ERROR(bad value ${enableval} for enable-itron option) ;;esac],[RTEMS_HAS_ITRON_API=yes]) case "${host}" in  # hpux unix port should go here  i[[34567]]86-pc-linux*)         # unix "simulator" port	RTEMS_HAS_ITRON_API=no	;;  i[[34567]]86-*freebsd*) # unix "simulator" port	RTEMS_HAS_ITRON_API=no	;;  no_cpu-*rtems*)	RTEMS_HAS_ITRON_API=no	;;  sparc-sun-solaris*)             # unix "simulator" port	RTEMS_HAS_ITRON_API=no	;;  *) 	;;esacAC_SUBST(RTEMS_HAS_ITRON_API)])dnl $Id: enable-networking.m4,v 1.7.2.1 2004/08/18 07:23:00 ralf Exp $AC_DEFUN([RTEMS_ENABLE_NETWORKING],[AC_ARG_ENABLE(networking,[AC_HELP_STRING([--enable-networking],[enable TCP/IP stack])],[case "${enableval}" in  yes) RTEMS_HAS_NETWORKING=yes ;;  no) RTEMS_HAS_NETWORKING=no ;;  *)  AC_MSG_ERROR(bad value ${enableval} for enable-networking option) ;;esac],[RTEMS_HAS_NETWORKING=yes])AC_SUBST(RTEMS_HAS_NETWORKING)dnl])dnl $Id: enable-cxx.m4,v 1.5.2.1 2004/08/18 07:23:00 ralf Exp $AC_DEFUN([RTEMS_ENABLE_CXX],[AC_ARG_ENABLE(cxx,[AC_HELP_STRING([--enable-cxx],[enable C++ support and build the rtems++ library])],[case "${enable_cxx}" in  yes) RTEMS_HAS_CPLUSPLUS=yes ;;  no) RTEMS_HAS_CPLUSPLUS=no   ;;  *)  AC_MSG_ERROR(bad value ${enableval} for enable-cxx option) ;;esac], [RTEMS_HAS_CPLUSPLUS=no])])AC_DEFUN([RTEMS_ENABLE_BARE],[AC_ARG_ENABLE(bare-cpu-cflags,[AC_HELP_STRING([--enable-bare-cpu-cflags],[specify a particular cpu cflag (bare bsp specific)])],[case "${enableval}" in  no) BARE_CPU_CFLAGS="" ;;  *)    BARE_CPU_CFLAGS="${enableval}" ;;esac],[BARE_CPU_CFLAGS=""])AC_ARG_ENABLE(bare-cpu-model,[AC_HELP_STRING([--enable-bare-cpu-model],[specify a particular cpu model (bare bsp specific)])],[case "${enableval}" in  no)   BARE_CPU_MODEL="" ;;  *)    BARE_CPU_MODEL="${enableval}" ;;esac],[BARE_CPU_MODEL=""])])dnl $Id: enable-tests.m4,v 1.6.2.1 2004/08/18 07:23:00 ralf Exp $AC_DEFUN([RTEMS_ENABLE_TESTS],[# If the tests are enabled, then find all the test suite MakefilesAC_MSG_CHECKING([if the test suites are enabled? ])AC_ARG_ENABLE(tests,[AC_HELP_STRING([--enable-tests],[enable tests (default:disabled)])],  [case "${enableval}" in    yes) tests_enabled=yes ;;    no)  tests_enabled=no ;;    *)   AC_MSG_ERROR(bad value ${enableval} for tests option) ;;  esac], [tests_enabled=no])AC_MSG_RESULT([$tests_enabled])

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -