📄 configure.in
字号:
dnl Process this file with autoconf to produce a configure script.dnl ====================================================================dnldnl configure.indnldnl configtool/standalone/commondnldnl ====================================================================dnl###COPYRIGHTBEGIN####dnl dnl ------------------------------------------- dnl The contents of this file are subject to the Red Hat eCos Public License dnl Version 1.1 (the "License"); you may not use this file except in dnl compliance with the License. You may obtain a copy of the License at dnl http://www.redhat.com/ dnl dnl Software distributed under the License is distributed on an "AS IS" dnl basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the dnl License for the specific language governing rights and limitations under dnl the License. dnl dnl The Original Code is eCos - Embedded Configurable Operating System, dnl released September 30, 1998. dnl dnl The Initial Developer of the Original Code is Red Hat. dnl Portions created by Red Hat are dnl Copyright (C) 1998, 1999, 2000 Red Hat, Inc. dnl All Rights Reserved. dnl ------------------------------------------- dnl dnl####COPYRIGHTEND####dnl ====================================================================dnl#####DESCRIPTIONBEGIN####dnldnl Author(s): bartvdnl Contact(s): bartvdnl Date: 1999/11/10dnl Version: 0.01dnldnl####DESCRIPTIONEND####dnl ====================================================================AC_INIT(ecosconfig.cxx)dnl Pick up the support files from the top-level of the host sourcesAC_CONFIG_AUX_DIR(../../../..)AM_INIT_AUTOMAKE(ecosconfig, 0.1)AM_MAINTAINER_MODEdnl Other standard options.AC_CANONICAL_HOSTAC_PROG_CCAC_PROG_CXXAC_OBJEXTAC_EXEEXTCYG_AC_PROG_MSVCCYG_AC_PROG_STANDARD_COMPILER_FLAGSdnl ----------------------------------------------------------------------------dnl Where can the Tcl library be found?dnl There are command-line argument --with-tcl and --with-tcl-version.dnl Otherwise assume that there is already a working installationdnl in $(PREFIX)CYG_AC_PATH_TCLdnl Now for the host-side infrastructure and for libcdldnl The names and paths can just be hardwired, with a minimaldnl sanity check. Note that for the infrastructure it isdnl necessary to use the build tree for the include path,dnl since header files from various places need to bednl gathered together.AC_MSG_CHECKING(for host-side infrastructure)cyg_ac_infra_incdir=../../../../infracyg_ac_infra_libdir=../../../../infraif test "${MSVC}" = "yes" ; then cyg_ac_infra_libraries=cyginfra.libelse cyg_ac_infra_libraries=cyginfrafiif test \! -d ${cyg_ac_infra_incdir} ; then AC_MSG_ERROR(unable to locate the infrastructure build directory)fiCYG_AC_MSVC_PATH(cyg_ac_infra_incdir)CYG_AC_MSVC_PATH(cyg_ac_infra_libdir)AC_SUBST(cyg_ac_infra_incdir)AC_SUBST(cyg_ac_infra_libdir)AC_SUBST(cyg_ac_infra_libraries)AC_MSG_RESULT(-I${cyg_ac_infra_incdir} -L${cyg_ac_infra_libdir} libraries ${cyg_ac_infra_libraries})AC_MSG_CHECKING(for libcdl)cyg_ac_cdl_incdir=${srcdir}/../../../../libcdlcyg_ac_cdl_libdir=../../../../libcdlif test "${MSVC}" = "yes" ; then cyg_ac_cdl_libraries=cdl.libelse cyg_ac_cdl_libraries=cdlfiif test \! -d ${cyg_ac_cdl_incdir} ; then AC_MSG_ERROR(unable to locate the libcdl source directory)fiif test \! -f ${cyg_ac_cdl_incdir}/cdl.hxx ; then AC_MSG_ERROR(unable to locate the libcdl header file cdl.hxx)fiif test \! -d ${cyg_ac_cdl_libdir} ; then AC_MSG_ERROR(unable to locate the libcdl build directory)fiCYG_AC_MSVC_PATH(cyg_ac_cdl_incdir)CYG_AC_MSVC_PATH(cyg_ac_cdl_libdir)AC_SUBST(cyg_ac_cdl_incdir)AC_SUBST(cyg_ac_cdl_libdir)AC_SUBST(cyg_ac_cdl_libraries)AC_MSG_RESULT(-I${cyg_ac_cdl_incdir} -L${cyg_ac_cdl_libdir} libraries ${cyg_ac_cdl_libraries})dnl Provide a VC++-friendly version of srcdirwin_srcdir=${srcdir}CYG_AC_MSVC_PATH(win_srcdir)AC_SUBST(win_srcdir)AC_OUTPUT(Makefile)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -