📄 configure.in.tail
字号:
dnl standard final commands for vic/vat/etc. autoconf scriptsdnl $Header: /nfs/jade/vint/CVSROOT/conf/configure.in.tail,v 1.20 1999/12/15 03:04:28 haoboy Exp $ (LBL)if test "$enable_static" = "yes" ; then echo Explicitly enabling static compilation V_STATIC="-static"elif test "$enable_static" = "no" ; then echo Explicitly disabling static compilation V_STATIC=""else echo No explicit static compilation flag\; setting V_STATIC to \"$V_STATIC\"fiAC_SUBST(V_STATIC)## tcl7.x needs a dynamic loading library (unless built with the# -disable-load flag). Try to find the appropriate one.if test ! -z "$V_NEED_DL" ; then V_LIB_DL="" case "$target" in *-*-solaris*) V_LIB_DL="dl" ;; sparc-sun-sunos*) V_LIB_DL="dl" ;; *-*-bsdi2.1) V_LIB_DL="dl" ;; *-*-bsdi3.0) V_LIB_DL="dl" ;; *-*-hpux*) V_LIB_DL="dld" ;; *-*-linux*) AC_CHECK_LIB(dl, dlopen, V_LIB_DL="dl", V_LIB_DL="dld") ;; esac if test ! -z "$V_LIB_DL" ; then case "$target" in *-*-linux*) ;; *) AC_CHECK_LIB($V_LIB_DL, main, , V_LIB_DL="", $V_STATIC) ;; esac fi if test ! -z "$V_LIB_DL" ; then case "$target" in *-*-bsdi*) ;; *-*-linux*) if test -z "$V_STATIC" ; then V_LIB="$V_LIB -l$V_LIB_DL" fi ;; *) V_LIB="$V_LIB -l$V_LIB_DL" ;; esac else echo "no dynamic load lib" fifidnl This check is not very general and vestigal (at least from an ns-point of view). Can it be deleted? -johnh, 13-Oct-99if test "$host_cpu" = alpha ; then V_DEFINE="$V_DEFINE -DINT_64=u_long"fi# various include hacksdirs="/usr/src/local/include-fixes \ /import/mcast/include"for dir in $dirs; do if test -d $dir ; then V_INCLUDE="$V_INCLUDE -I$dir" fidone# always use -g with gcc during development (even with -O)# force noline so that we can debug all functionsif test "$CC" = gcc && test -f .devel ; then V_CCOPT="$V_CCOPT -g -Wall" V_DEFINE="$V_DEFINE -fsigned-char -fno-inline"fiV_DEFINE="$V_DEFINE $V_SHM"V_TAR_TARGET=$target_osAC_SUBST(V_TAR_TARGET)absolutize_list() { tmp="" for p do case $p in -L* | -I*) tmp="$tmp `absolutize $p`";; *) tmp="$tmp $p";; esac done echo $tmp}# Replace relative path with absolute pathV_LIB_TclCL=`absolutize_list $V_LIB_TclCL`V_LIB_OTCL=`absolutize_list $V_LIB_OTCL`V_LIB_TCL=`absolutize_list $V_LIB_TCL`V_LIB_TK=`absolutize_list $V_LIB_TK`V_LIBS=`absolutize_list $V_LIBS`V_INCLUDES=`absolutize_list $V_INCLUDES`# Since SMASH and MASH need different sets of libraries, we# use each lib definition seperately instead of using V_LIBS.AC_SUBST(V_LIB_TclCL)AC_SUBST(V_LIB_OTCL)AC_SUBST(V_LIB_TCL)AC_SUBST(V_LIB_TK)AC_SUBST(V_ALL)AC_SUBST(V_CCOPT)AC_SUBST(V_TAR_EXTRA)AC_SUBST(V_LIB)AC_SUBST(V_DEFINE)AC_SUBST(V_SIGRET)AC_SUBST(V_SHELL)AC_SUBST(V_TARCMD)AC_SUBST(V_INCLUDE)AC_SUBST(V_OBJ)AC_SUBST(V_BROKEN_OBJ)AC_SUBST(V_OBJ_CRYPT)AC_SUBST(V_RANLIB)AC_SUBST(V_AR)AC_PROG_INSTALLdnl backwards compability---if nothing else, do Makefiledefine([AcOutputFiles],ifdef([AcOutputFiles],AcOutputFiles,Makefile))AC_OUTPUT(AcOutputFiles)if test ! -d gen ; then echo "creating ./gen" mkdir genfiif test ! -d bin ; then echo "creating ./bin" mkdir binfiif test -f .devel -o "$enable_devel" = "yes" ; then make dependfi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -