📄 configure.in
字号:
dnl Process this file with autoconf to produce a configure script.dnl ====================================================================dnldnl configure.indnldnl Top-level configure script for eCos host-side software.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/17dnl Version: 0.01dnldnl####DESCRIPTIONEND####dnl ====================================================================AC_INIT(config.guess)AC_CANONICAL_HOSTAM_INIT_AUTOMAKE(eCos,2.0,0)AM_MAINTAINER_MODEdnl Some of the decisions made depend on the compiler that is being used,dnl so the usual set of compiler-related macros is needed here.AC_PROG_MAKE_SETAC_CYGWINAC_PROG_CCAC_PROG_CXXAC_OBJEXTAC_EXEEXTCYG_AC_PROG_MSVCdnl Allow the usual assertion and trace related options.CYG_AC_ARG_INFRASTRUCTUREdnl What version of Tcl should be used?CYG_AC_PATH_TCLdnl Some of the packages are compulsory and do not depend on the compilerdnl that is being used. Other packages are only applicable to specificdnl compilers, and in addition it should be possible to enable ordnl disable them as convenient.dnldnl The host-side infrastructure and libcdl are always needed.ECOS_DIRS="infra libcdl"dnl --------------------------------------------------------------------dnl Experimental support for building the configtool in the autoconfdnl world. This is not yet functional, so it is all commented out.dnl dnl Building of the standalone configtool and the configtool plugindnl dnl can be controlled by the user. The plugin is normally disabled,dnl dnl unless the user specifies that IDE support is necessary.dnldnl AC_ARG_ENABLE(standalone-configtool,[--enable-standalone-configtool enable the stand-alone configtool],dnl [case "${enableval}" indnl yes) ecosflags_enable_standalone_configtool="yes" ;;dnl *) ecosflags_enable_standalone_configtool="no" ;;dnl esacdnl ],[dnl ecosflags_enable_standalone_configtool="yes"dnl ])dnl AC_ARG_ENABLE(configtool-plugin,[ --enable-configtool-plugin enable the IDE configtool plugin],dnl [case "${enableval}" indnl yes) ecosflags_enable_configtool-plugin="yes" ;;dnl *) ecosflags_enable_configtool-plugin="no" ;;dnl esacdnl ],[dnl ecosflags_enable_configtool_plugin="no"dnl ])dnl dnl dnl Initially only VC++ versions of the configtool are available.dnl dnl If using another compiler then just disable these tools.dnl if test "${MSVC}" = "no"; thendnl ecosflags_enable_standalone_configtool="no"dnl ecosflags_enable_configtool_plugin="no"dnl fidnl dnl if test "${ecosflags_enable_standalone_configtool}" = "yes"; thendnl ECOS_DIRS="${ECOS_DIRS} tools/configtool/standalone/win32"dnl fidnl AC_OUTPUT_COMMANDS([dnl if test "${ecosflags_enable_standalone_configtool}" = "yes"; thendnl test -d tools || mkdir toolsdnl test -d tools/configtool || mkdir tools/configtooldnl test -d tools/configtool/standalone || mkdir tools/configtool/standalonednl test -d tools/configtool/standalone/win32 || mkdir tools/configtool/standalone/win32dnl fidnl ],[dnl ecosflags_enable_standalone_configtool=${ecosflags_enable_standalone_configtool}dnl ])dnl if test "${ecosflags_enable_configtool_plugin}" = "yes"; thendnl ECOS_DIRS="${ECOS_DIRS} tools/configtool/plugin/win32"dnl fidnl AC_OUTPUT_COMMANDS([dnl if test "${ecosflags_enable_configtool_plugin}" = "yes"; thendnl test -d tools || mkdir toolsdnl test -d tools/configtool || mkdir tools/configtooldnl test -d tools/configtool/plugin || mkdir tools/configtool/plugindnl test -d tools/configtool/plugin/win32 || mkdir tools/configtool/plugin/win32dnl fidnl ],[dnl ecosflags_enable_configtool_plugin=${ecosflags_enable_configtool_plugin}dnl ])dnl --------------------------------------------------------------------dnl Add any other directories that are autoconfiscated and presentdnl ---- Delete the dnl column below to configure ser_filter on Linux ----dnl if test -f ${srcdir}/tools/Utils/common/configure; thendnl ECOS_DIRS="${ECOS_DIRS} tools/Utils/common"dnl AC_OUTPUT_COMMANDS([dnl test -d tools || mkdir toolsdnl test -d tools/Utils || mkdir tools/Utilsdnl test -d tools/Utils/common || mkdir tools/Utils/commondnl ])dnl fidnl dnl if test -f ${srcdir}/tools/ecostest/common/configure; thendnl ECOS_DIRS="${ECOS_DIRS} tools/ecostest/common"dnl AC_OUTPUT_COMMANDS([dnl test -d tools || mkdir toolsdnl test -d tools/ecostest || mkdir tools/ecostestdnl test -d tools/ecostest/common || mkdir tools/ecostest/commondnl ])dnl fiif test -d ${srcdir}/tools/configtool/standalone/common; then ECOS_DIRS="${ECOS_DIRS} tools/configtool/standalone/common" AC_OUTPUT_COMMANDS([ test -d tools || mkdir tools test -d tools/configtool || mkdir tools/configtool test -d tools/configtool/standalone || mkdir tools/configtool/standalone test -d tools/configtool/standalone/common || mkdir tools/configtool/standalone/common ])fiAC_SUBST(ECOS_DIRS)AC_CONFIG_SUBDIRS(${ECOS_DIRS})AC_OUTPUT(Makefile)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -