📄 configure
字号:
fi if test "${ecosinfra_fntracing}" = "yes"; then cat >> confdefs.h <<\EOF#define CYGDBG_INFRA_DEBUG_FUNCTION_REPORTS 1EOF fi echo $ac_n "checking for libcdl""... $ac_c" 1>&6echo "configure:1681: checking for libcdl" >&5 libcdl_srcdir="" possibles="${srcdir}/.. ${srcdir}/../.. ${srcdir}/../../.. ${srcdir}/../../../.. ${srcdir}/../../../../.." libcdl_srcdir="" for i in ${possibles}; do if test -d "$i/"libcdl""; then libcdl_srcdir=$i break fi done if test "${libcdl_srcdir}" = "" ; then possibles="${srcdir}/../host ${srcdir}/../../host ${srcdir}/../../../host ${srcdir}/../../../../host ${srcdir}/../../../../../host ${srcdir}/../../../../../../host" libcdl_srcdir="" for i in ${possibles}; do if test -d "$i/"libcdl""; then libcdl_srcdir=$i break fi done fi if test "${libcdl_srcdir}" != "" ; then libcdl_srcdir="${libcdl_srcdir}/libcdl" libcdl_srcdir=`cd ${libcdl_srcdir} && /bin/pwd` fi libcdl_builddir="" possibles=".. ../.. ../../.. ../../../.. ../../../../.." libcdl_builddir="" for i in ${possibles}; do if test -d "$i/"libcdl""; then libcdl_builddir=$i break fi done if test "${libcdl_builddir}" = "" ; then possibles="../host ../../host ../../../host ../../../../host ../../../../../host ../../../../../../host" libcdl_builddir="" for i in ${possibles}; do if test -d "$i/"libcdl""; then libcdl_builddir=$i break fi done fi if test "${libcdl_builddir}" != "" ; then libcdl_builddir="${libcdl_builddir}/libcdl" libcdl_builddir=`cd ${libcdl_builddir} && /bin/pwd` fi ecos_libcdl_incdir="" ecos_libcdl_libdir="" ecos_libcdl_libs="" # Check whether --with-libcdl-header or --without-libcdl-header was given.if test "${with_libcdl_header+set}" = set; then withval="$with_libcdl_header" :fi # Check whether --with-libcdl-lib or --without-libcdl-lib was given.if test "${with_libcdl_lib+set}" = set; then withval="$with_libcdl_lib" :fi # Check whether --with-libcdl or --without-libcdl was given.if test "${with_libcdl+set}" = set; then withval="$with_libcdl" :fi if test "${with_libcdl_header+set}" = "set"; then ecos_libcdl_incdir="${with_libcdl_header}" elif test "${with_libcdl+set}" = "set"; then ecos_libcdl_incdir="${with_libcdl}/include" elif test "${libcdl_srcdir}" != "" ; then ecos_libcdl_incdir="${libcdl_srcdir}" fi if test \! -r "${ecos_libcdl_incdir}/cdl.hxx" ; then { echo "configure: error: libcdl headers not found" 1>&2; exit 1; } fi if test "${MSVC}" = "yes" ; then ecos_msvc_libcdl_incdir="${ecos_libcdl_incdir}" if test "${MSVC}" = "yes" ; then ecos_msvc_libcdl_incdir=`cygpath -w ${ecos_msvc_libcdl_incdir} | tr \\\\\\\\ /` fi ecos_INCLUDES="${ecos_INCLUDES} \"-I${ecos_msvc_libcdl_incdir}\"" else ecos_INCLUDES="${ecos_INCLUDES} -I${ecos_libcdl_incdir}" fi if test "${with_libcdl_lib+set}" = "set"; then ecos_libcdl_libdir="${with_libcdl_lib}" elif test "${with_libcdl+set}" = "set"; then ecos_libcdl_libdir="${with_libcdl}/lib" elif test "${libcdl_builddir}" != "" ; then ecos_libcdl_libdir="${libcdl_builddir}" else { echo "configure: error: libcdl library not found" 1>&2; exit 1; } fi if test "${MSVC}" = "yes" ; then ecos_msvc_libcdl_libdir=${ecos_libcdl_libdir} if test "${MSVC}" = "yes" ; then ecos_msvc_libcdl_libdir=`cygpath -w ${ecos_msvc_libcdl_libdir} | tr \\\\\\\\ /` fi ecos_LIBS="${ecos_LIBS} cdl.lib" ecos_LDADD="${ecos_LDADD} \"-libpath=${ecos_msvc_libcdl_libdir}\"" else ecos_LIBS="${ecos_LIBS} -lcdl" ecos_LDADD="${ecos_LDADD} -L${ecos_libcdl_libdir}" fi echo "$ac_t""-I${ecos_libcdl_incdir} -L${ecos_libcdl_libdir}" 1>&6 echo $ac_n "checking for eCos host-side infrastructure""... $ac_c" 1>&6echo "configure:1817: checking for eCos host-side infrastructure" >&5 infra_builddir="" possibles=".. ../.. ../../.. ../../../.. ../../../../.." infra_builddir="" for i in ${possibles}; do if test -d "$i/"infra""; then infra_builddir=$i break fi done if test "${infra_builddir}" = "" ; then possibles="../host ../../host ../../../host ../../../../host ../../../../../host ../../../../../../host" infra_builddir="" for i in ${possibles}; do if test -d "$i/"infra""; then infra_builddir=$i break fi done fi if test "${infra_builddir}" != "" ; then infra_builddir="${infra_builddir}/infra" infra_builddir=`cd ${infra_builddir} && /bin/pwd` fi ecos_infra_incdir="" ecos_infra_libdir="" ecos_infra_libs="" # Check whether --with-infra-header or --without-infra-header was given.if test "${with_infra_header+set}" = set; then withval="$with_infra_header" :fi # Check whether --with-infra-lib or --without-infra-lib was given.if test "${with_infra_lib+set}" = set; then withval="$with_infra_lib" :fi # Check whether --with-infra or --without-infra was given.if test "${with_infra+set}" = set; then withval="$with_infra" :fi if test "${with_infra_header+set}" = "set"; then ecos_infra_incdir="${with_infra_header}" elif test "${with_infra+set}" = "set"; then ecos_infra_incdir="${with_infra}/include" elif test "${infra_builddir}" != "" ; then ecos_infra_incdir="${infra_builddir}" else { echo "configure: error: infrastructure headers not found" 1>&2; exit 1; } fi if test "${MSVC}" = "yes" ; then ecos_msvc_infra_incdir=${ecos_infra_incdir} if test "${MSVC}" = "yes" ; then ecos_msvc_infra_incdir=`cygpath -w ${ecos_msvc_infra_incdir} | tr \\\\\\\\ /` fi ecos_INCLUDES="${ecos_INCLUDES} \"-I${ecos_msvc_infra_incdir}\"" else ecos_INCLUDES="${ecos_INCLUDES} -I${ecos_infra_incdir}" fi if test "${with_infra_lib+set}" = "set"; then ecos_infra_libdir="${with_infra_lib}" elif test "${with_infra+set}" = "set"; then ecos_infra_libdir="${with_infra}/lib" elif test "${infra_builddir}" != "" ; then ecos_infra_libdir="${infra_builddir}" else { echo "configure: error: infrastructure library not found" 1>&2; exit 1; } fi if test "${MSVC}" = "yes" ; then ecos_msvc_infra_libdir=${ecos_infra_libdir} if test "${MSVC}" = "yes" ; then ecos_msvc_infra_libdir=`cygpath -w ${ecos_msvc_infra_libdir} | tr \\\\\\\\ /` fi ecos_LIBS="${ecos_LIBS} cyginfra.lib" ecos_LDADD="${ecos_LDADD} \"-libpath=${ecos_msvc_infra_libdir}\"" else ecos_LIBS="${ecos_LIBS} -lcyginfra" ecos_LDADD="${ecos_LDADD} -L${ecos_infra_libdir}" fi echo "$ac_t""-I${ecos_infra_incdir} -L${ecos_infra_libdir}" 1>&6 ecos_tk_libs="" ecos_tk_libdir="" echo $ac_n "checking for Tcl installation""... $ac_c" 1>&6echo "configure:1931: checking for Tcl installation" >&5 # Check whether --with-tcl or --without-tcl was given.if test "${with_tcl+set}" = set; then withval="$with_tcl" :fi # Check whether --with-tcl-version or --without-tcl-version was given.if test "${with_tcl_version+set}" = set; then withval="$with_tcl_version" :fi if test "${MSVC}" = "yes" ; then # Check whether --with-tcl-header or --without-tcl-header was given.if test "${with_tcl_header+set}" = set; then withval="$with_tcl_header" :fi # Check whether --with-tcl-lib or --without-tcl-lib was given.if test "${with_tcl_lib+set}" = set; then withval="$with_tcl_lib" :fi ecos_tcl_incdir="" ecos_tcl_libdir="" if test "${with_tcl_version+set}" != set ; then { echo "configure: error: You must specify a Tcl version using --with-tcl-version=<vsn>" 1>&2; exit 1; } fi if test "${with_tcl_header+set}" = set ; then ecos_tcl_incdir=${with_tcl_header} elif test "${with_tcl+set}" = set ; then ecos_tcl_incdir="${with_tcl}/include" else { echo "configure: error: You must specify a Tcl installation with either --with-tcl=<path> or --with-tcl-header=<path>" 1>&2; exit 1; } fi if test "${with_tcl_lib+set}" = set; then ecos_tcl_libdir=${with_tcl_lib} elif test "${with_tcl+set}" = set; then ecos_tcl_libdir="${with_tcl}/lib" else { echo "configure: error: You must specify a Tcl installation with either --with-tcl=<path> or --with-tcl-lib=<path>" 1>&2; exit 1; } fi if test \! -r "${ecos_tcl_incdir}/tcl.h" ; then { echo "configure: error: unable to locate Tcl header file tcl.h" 1>&2; exit 1; } fi if test "${MSVC}" = "yes" ; then ecos_tcl_incdir=`cygpath -w ${ecos_tcl_incdir} | tr \\\\\\\\ /` fi if test "${MSVC}" = "yes" ; then ecos_tcl_libdir=`cygpath -w ${ecos_tcl_libdir} | tr \\\\\\\\ /` fi ecos_INCLUDES="${ecos_INCLUDES} \"-I${ecos_tcl_incdir}\"" ecos_LIBS="${ecos_LIBS} tcl${with_tcl_version}.lib" ecos_LDADD="${ecos_LDADD} \"-libpath=${ecos_tcl_libdir}\"" ecos_tk_libs="" else possibles="" if test "${with_tcl+set}" = set ; then possibles="${with_tcl}/lib" if test "${with_tcl_version+set}" = set ; then possibles="${possibles} ${with_tcl}/lib/tcl${with_tcl_version}" fi fi possibles="${possibles} ${prefix}/lib" if test "${with_tcl_version+set}" = set ; then possibles="${possibles} ${prefix}/lib/tcl${with_tcl_version}" fi possibles="${possibles} /usr/lib" if test "${with_tcl_version+set}" = set ; then possibles="${possibles} /usr/lib/tcl${with_tcl_version}" fi tclconfig="" for i in ${possibles}; do if test -r "$i/"tclConfig.sh""; then tclconfig=$i break fi done if test \! -r "${tclconfig}/tclConfig.sh" ; then { echo "configure: error: unable to locate Tcl configuration file tclConfig.sh" 1>&2; exit 1; } else . ${tclconfig}/tclConfig.sh if test -z "${TCL_INC_DIR}" ; then ecos_tcl_incdir="${TCL_PREFIX}/include" else ecos_tcl_incdir="${TCL_INC_DIR}" fi if test \! -r "${ecos_tcl_incdir}/tcl.h" ; then { echo "configure: error: unable to locate Tcl header file tcl.h" 1>&2; exit 1; } else if test "${ecos_tcl_incdir}" != "/usr/include" ; then ecos_INCLUDES="${ecos_INCLUDES} -I${ecos_tcl_incdir}" fi fi if test -z "${TCL_LIB_SPEC}" -a "${with_tcl_version+set}" = set ; then libtcl="" for i in ${possibles}; do if test -r "$i/"libtcl${with_tcl_version}.a""; then libtcl=$i break fi done if test -r "${libtcl}/libtcl${with_tcl_version}.a" ; then TCL_LIB_SPEC="-L${libtcl} -ltcl${with_tcl_version}" fi fi if test -z "${TCL_LIB_SPEC}" ; then libtcl="" for i in ${possibles}; do if test -r "$i/"libtcl.a""; then libtcl=$i break fi done if test -r "${libtcl}/libtcl.a" ; then TCL_LIB_SPEC="-L${libtcl} -ltcl" fi fi if test -z "${TCL_LIB_SPEC}" ; then { echo "configure: error: ${tclconfig}/tclConfig.sh does not define TCL_LIB_SPEC" 1>&2; exit 1; } fi ecos_LIBS="${ecos_LIBS} ${TCL_LIB_SPEC}" possibles=`echo ${possibles} | sed -e 's,tcl,tk,g'` tkconfig="" for i in ${possibles}; do if test -r "$i/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -