📄 configure.in
字号:
dnl Process this file with autoconf to produce a configure script.dnl ====================================================================dnldnl configure.indnldnl libcdl.adnldnl ====================================================================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 The core header file had better be present.AC_INIT(cdlcore.hxx)dnl Pick up the support files from the top-level of the source tree,dnl one level above packages.AC_CONFIG_AUX_DIR(..)dnl Other standard options.AC_CANONICAL_HOSTAM_INIT_AUTOMAKE(libcdl, 0.2)CYG_AC_SUBST_VERSION(CYGNUM_LIBCDL_VERSION)AM_MAINTAINER_MODEdnl The package contains a library implemented in C++. It has to bednl buildable under NT. Only a static version of the library isdnl of interest at the moment.AC_PROG_MAKE_SETAC_PROG_CCAC_PROG_CXXAC_PROG_RANLIBAC_OBJEXTAC_EXEEXTCYG_AC_PROG_MSVCCYG_AC_PROG_STANDARD_COMPILER_FLAGSdnl AM_DISABLE_SHAREDdnl AM_PROG_LIBTOOLdnl This package cannot be cross-compiled yet.if test ${cross_compiling} = yes; then AC_MSG_ERROR(cross-compilation of this package is not supported)fidnl Allow the usual assertion and trace related options.CYG_AC_ARG_INFRASTRUCTUREdnl What version of Tcl should be used?CYG_AC_PATH_TCLdnl ------------------------------------------------------------------------dnl Where should the infrastructure headers come from?dnl The default is ../../../../infra/current/host. If thednl appropriate header file is not found there, trydnl $(DESTDIR)$(includedir). In addition allow the user to overridednl the location with a suitable --with command line argument.AC_MSG_CHECKING(for infrastructure files)AC_ARG_WITH(infra,[ --with-infra=dir location of the infrastructure build tree],[ cyg_ac_infra_incdir=${with_infra} cyg_ac_infra_libdir=${with_infra}],[ if test -d ../infra ; then cyg_ac_infra_incdir=../infra cyg_ac_infra_libdir=../infra else cyg_ac_infra_incdir=${prefix}/include cyg_ac_ac_infra_libdir=${prefix}/lib fi])CYG_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_MSG_RESULT(-I${cyg_ac_infra_incdir} -L${cyg_ac_infra_libdir})dnl ------------------------------------------------------------------------dnl If VC++ is being used then srcdir is likely to be a cygwin pathdnl rather than a Windows path. This means that the default -Idnl paths generated by automake will not be acceptable to the compiler.dnl This should probably be fixed in automake's comp-vars.am file,dnl but for now this suffices. It is also necessary to worry aboutdnl infra_incdir and tcl_incdirif test "${MSVC}" = "yes" ; then INCLUDES="\"-I`cygpath -w ${srcdir} | tr \\\\\\\\ /`\" \"-I${cyg_ac_infra_incdir}\" \"-I${cyg_ac_tcl_incdir}\""else INCLUDES="-I${cyg_ac_infra_incdir} -I${cyg_ac_tcl_incdir}"fiAC_SUBST(INCLUDES)dnl --------------------------------------------------------------------AM_CONFIG_HEADER(cdlconfig.h:config.h.in)AC_OUTPUT(Makefile:Makefile.in testsuite/Makefile:testsuite/Makefile.in)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -