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

📄 aclocal.m4

📁 移植到WLIT项目的redboot源代码
💻 M4
📖 第 1 页 / 共 2 页
字号:
dnl aclocal.m4 generated automatically by aclocal 1.4dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.dnl This file is free software; the Free Software Foundationdnl gives unlimited permission to copy and/or distribute it,dnl with or without modifications, as long as this notice is preserved.dnl This program is distributed in the hope that it will be useful,dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; withoutdnl even the implied warranty of MERCHANTABILITY or FITNESS FOR Adnl PARTICULAR PURPOSE.dnl Process this file with aclocal to get an aclocal.m4 file. Thendnl process that with autoconf.dnl ====================================================================dnldnl     acinclude.m4dnldnl     Various autoconf macros that are shared between differentdnl     eCos packages.dnldnl ====================================================================dnl####COPYRIGHTBEGIN####dnl                                                                         dnl ----------------------------------------------------------------------------dnl Copyright (C) 1998, 1999, 2000 Red Hat, Inc.dnldnl This file is part of the eCos host tools.dnldnl This program is free software; you can redistribute it and/or modify it dnl under the terms of the GNU General Public License as published by the Free dnl Software Foundation; either version 2 of the License, or (at your option) dnl any later version.dnl dnl This program is distributed in the hope that it will be useful, but WITHOUT dnl ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or dnl FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for dnl more details.dnl dnl You should have received a copy of the GNU General Public License along withdnl this program; if not, write to the Free Software Foundation, Inc., dnl 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.dnldnl ----------------------------------------------------------------------------dnl                                                                          dnl####COPYRIGHTEND####dnl ====================================================================dnl#####DESCRIPTIONBEGIN####dnldnl Author(s):	bartvdnl Contact(s):	bartvdnl Date:	1998/12/16dnl Version:	0.01dnldnl####DESCRIPTIONEND####dnl ====================================================================dnl ====================================================================dnl The AM_INIT_AUTOMAKE() will define a symbol VERSION for thednl package's version number. Unfortunately this symbol is ratherdnl hard to share if several different packages are involved, so thisdnl macro is used to define an alternative symbolAC_DEFUN(CYG_AC_SUBST_VERSION,[    AC_REQUIRE([AM_INIT_AUTOMAKE])    ifelse($#,1,,AC_MSG_ERROR([Invalid number of arguments passed to CYG AC_SUBST_VERSION]))    AC_DEFINE_UNQUOTED($1, "$VERSION")])dnl ====================================================================dnl Provide support for an automake conditional MSVC. Also set adnl variable MSVC to true or false, which may help other tests.AC_DEFUN(CYG_AC_PROG_MSVC,[    AC_REQUIRE([AC_PROG_CC])    AC_REQUIRE([AC_PROG_CXX])    AC_MSG_CHECKING("for Visual C++")    MSVC="no";    if test "${CC}" = "cl" ; then       MSVC="yes"    fi    if test "${CXX}" = "cl" ; then       MSVC="yes"    fi    AM_CONDITIONAL(MSVC, test "${MSVC}" = "yes")    AC_MSG_RESULT(${MSVC})])dnl ====================================================================dnl Set up sensible flags for the various different compilers. Thisdnl is achieved by redefining CC and CXX. dnldnl A better way of doing this sort of thing would be to detectdnl arguments to add and remove to the set of compiler flags, anddnl then update CFLAGS and CXXFLAGS (or even better, the AMdnl versions of those flags?)dnldnl There is no point in checking the cache, this macro doesdnl not do any feature tests.dnldnl The VC++ variant might benefit from -Za, but the header filesdnl shipped with the compiler are incompatible with this option.AC_DEFUN(CYG_AC_PROG_STANDARD_COMPILER_FLAGS, [    AC_REQUIRE([AC_PROG_CC])    AC_REQUIRE([AC_PROG_CXX])    AC_REQUIRE([CYG_AC_PROG_MSVC])    AC_MSG_CHECKING("the default compiler flags")    dnl Add a user-settable flag to control whether or debugging info is    dnl incorporated at compile-time.    dnl    dnl NOTE: there may also have to be a flag to control whether or    dnl the VC++ multi-threading flags are enabled.    cygflags_enable_debug="no"    AC_ARG_ENABLE(debug,[ --enable-debug do a debug rather than a release build],    [case "${enableval}" in       yes) cygflags_enable_debug="yes" ;;       *)   cygflags_enable_debug="no" ;;    esac])    dnl For VC++ builds also provide a flag for ANSI vs. unicode builds.    dnl For now this does not actually affect the compiler flags.    cygflags_enable_ansi="no"    if test "${MSVC}" = "yes" ; then      AC_ARG_ENABLE(ansi,[ --enable-ansi Do an ANSI rather than a unicode build],      [case "${enableval}" in         yes) cygflags_enable_ansi="yes" ;;         *)   cygflags_enable_ansi="no" ;;      esac])    fi    if test "${GCC}" = "yes" ; then        CC="$CC -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs"        CXX="$CXX -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Woverloaded-virtual"    elif test "${MSVC}" = "yes" ; then        CC="$CC -nologo -W3"        CXX="$CXX -nologo -W3 -GR -GX"        if test "${cygflags_enable_debug}" = "yes" ; then            CC="$CC -MDd -Zi"            CXX="$CXX -MDd -Zi"        else            CC="$CC -MD -O2"            CXX="$CXX -MD -O2"        fi    else        AC_MSG_ERROR("default flags for ${CC} are not known")    fi    AC_MSG_RESULT(done)])dnl --------------------------------------------------------------------dnl User-settable options for assertions and tracing.dnldnl The settable options are:dnl   --disable-assertsdnl   --disable-preconditionsdnl   --disable-postconditionsdnl   --disable-invariantsdnl   --disable-loopinvariantsdnl   --disable-tracingdnl   --disable-fntracingAC_DEFUN(CYG_AC_ARG_INFRASTRUCTURE, [AC_REQUIRE([CYG_AC_PROG_STANDARD_COMPILER_FLAGS])if test "${cygflags_enable_debug}" = "yes" ; then  cyginfra_asserts=yes  cyginfra_preconditions=yes  cyginfra_postconditions=yes  cyginfra_invariants=yes  cyginfra_loopinvariants=yes  cyginfra_tracing=yes  cyginfra_fntracing=yeselse  cyginfra_asserts=no  cyginfra_preconditions=no  cyginfra_postconditions=no  cyginfra_invariants=no  cyginfra_loopinvariants=no  cyginfra_tracing=no  cyginfra_fntracing=nofiAC_ARG_ENABLE(asserts,[ --disable-asserts        disable all assertions],[case "${enableval}" in  yes) cyginfra_asserts=yes ;;  no)  cyginfra_asserts=no  ;;  *)   AC_MSG_ERROR([bad value ${enableval} for disable-asserts option]) ;;esac])if test "${cyginfra_asserts}" = "yes"; then  AC_DEFINE(CYGDBG_USE_ASSERTS)fiAC_ARG_ENABLE(preconditions, [ --disable-preconditions  disable a subset of the assertions],[case "${enableval}" in  yes) cyginfra_preconditions=yes ;;  no)  cyginfra_preconditions=no  ;;  *)   AC_MSG_ERROR([bad value ${enableval} for disable-preconditions option]) ;;esac])if test "${cyginfra_preconditions}" = "yes"; then  AC_DEFINE(CYGDBG_INFRA_DEBUG_PRECONDITIONS)fiAC_ARG_ENABLE(postconditions, [ --disable-postconditions disable a subset of the assertions],[case "${enableval}" in  yes) cyginfra_postconditions=yes ;;  no)  cyginfra_postconditions=no  ;;  *)   AC_MSG_ERROR([bad value ${enableval} for disable-postconditions option]) ;;esac])if test "${cyginfra_postconditions}" = "yes"; then  AC_DEFINE(CYGDBG_INFRA_DEBUG_POSTCONDITIONS)fiAC_ARG_ENABLE(invariants, [ --disable-invariants     disable a subset of the assertions],[case "${enableval}" in  yes) cyginfra_invariants=yes ;;  no)  cyginfra_invariants=no  ;;  *)   AC_MSG_ERROR([bad value ${enableval} for disable-invariants option]) ;;esac])if test "${cyginfra_invariants}" = "yes"; then  AC_DEFINE(CYGDBG_INFRA_DEBUG_INVARIANTS)fiAC_ARG_ENABLE(loopinvariants, [ --disable-loopinvariants disable a subset of the assertions],[case "${enableval}" in  yes) cyginfra_loopinvariants=yes ;;  no)  cyginfra_loopinvariants=no  ;;  *)   AC_MSG_ERROR([bad value ${enableval} for disable-loopinvariants option]) ;;esac])if test "${cyginfra_loopinvariants}" = "yes"; then  AC_DEFINE(CYGDBG_INFRA_DEBUG_LOOP_INVARIANTS)fiAC_ARG_ENABLE(tracing,[ --disable-tracing        disable tracing],[case "${enableval}" in  yes) cyginfra_tracing=yes ;;  no)  cyginfra_tracing=no  ;;  *)   AC_MSG_ERROR([bad value ${enableval} for disable-tracing option]) ;;esac])if test "${cyginfra_tracing}" = "yes"; then  AC_DEFINE(CYGDBG_USE_TRACING)fiAC_ARG_ENABLE(fntracing,[ --disable-fntracing      disable function entry/exit tracing],[case "${enableval}" in  yes) cyginfra_fntracing=yes ;;  no)  cyginfra_fntracing=no  ;;  *)   AC_MSG_ERROR([bad value ${enableval} for disable-fntracing option]) ;;esac])if test "${cyginfra_fntracing}" = "yes"; then  AC_DEFINE(CYGDBG_INFRA_DEBUG_FUNCTION_REPORTS)fi])

⌨️ 快捷键说明

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