⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure.in.head

📁 ns2.1b5版本中cbrp碼
💻 HEAD
字号:
dnl standard setup for vic/vat/etc. autoconf scripts.dnl $Header: /usr/cvs/ns/ns-src/conf/configure.in.head,v 1.1.1.1 1998/01/13 15:06:10 root Exp $ (LBL)AC_ARG_WITH(defaultoptions, -with-defaultoptions[=filename]	use <filename> as default options file, , with_defaultoptions=".configure")if test "$with_defaultoptions" = "yes" ; then	with_defaultoptions=".configure"elif test "$with_defaultoptions" = "no" ; then	with_defaultoptions=""fiif test -n "$with_defaultoptions" ; then	if test -f "$with_defaultoptions" ; then		read arglist < $with_defaultoptions			if test -n "$arglist" ; then 			arguments="$0 $arglist $* --without-defaultoptions"			echo "Restarting: $arguments" 			exec $arguments		fi	else		if test "$with_defaultoptions" = ".configure" ; then			echo No .configure file found in current directory			echo Continuing with default options...		else			echo Cannot find file $with_defaultoptions			echo Aborting configure...			exit 1		fi	fifiAC_CANONICAL_SYSTEMAC_PROG_CCAC_PROG_CXXAC_STDC_HEADERSAC_HAVE_HEADERS(string.h)V_INCLUDE=""V_LIB=""V_OBJ=""V_BROKEN_OBJ="strtol.o strtoul.o"V_SHELL=""V_TARCMD="tar cfh"V_SIGRET="void"AC_CHECK_LIB(Xbsd, main, [V_LIB="$V_LIB -lXbsd"])AC_CHECK_LIB(socket, socket, [V_LIB="$V_LIB -lsocket"])AC_CHECK_LIB(nsl, gethostbyname, [V_LIB="$V_LIB -lnsl"])AC_CHECK_LIB(dnet_stub, getnodebyname, [V_LIB="$V_LIB -ldnet_stub"])V_TAR_EXTRA=""V_DEFINE=""V_RANLIB=ranlibV_AR="ar cr"#XXXV_SHM="-DUSE_SHM"AC_ARG_ENABLE(release,   --enable-release	do a release build, , enable_release="no")AC_ARG_ENABLE(debug,   --enable-debug		build with debugging enabled, , enable_debug="no")AC_ARG_ENABLE(devel,   --enable-devel		do a development build, , enable_devel="no")if test "$enable_devel" = "yes" ; then	enable_debug="yes"fiif test -f .devel -o "$enable_devel" = "yes"; then	OonS=""else	OonS="-O2"			# Optimize on Steroidsfiif test "$enable_debug" = "yes" ; then	V_CCOPT="-g"	if test "$CC" = gcc ; then		V_CCOPT="$V_CCOPT -Wall"		V_DEFINE="$V_DEFINE -fsigned-char -fno-inline"	fielse 	V_CCOPT="$OonS"fiif test -z "$PWD" ; then    PWD=`pwd`fisolaris=""if test `echo "$target_os" | sed 's/\..*//'` = solaris2 ; then	solaris="yes"fi#places="Tcl \#	/usr/src/local/Tcl \#	../../Tcl \#	../Tcl"#for d in $places; do#	if test -f $d/Tcl.h ; then#		V_LIB="$V_LIB $d/libTcl.a"#		V_INCLUDE="$V_INCLUDE -I$d"#    		break#	fi#done# we now default to non-static linking, although if the "magic" file# .devel exists in the current directory, we try for a static link# under the assumption we are trying to produce re-distributable# binaries.## Yatin: Moved this code here from configure.in.tail, since the mash # configure.in file needs to set this variable appropriately before invoking# configure.in.tail and the presence of the .devel file can mess things up for# the linux release build#AC_ARG_ENABLE(static,    --enable-static	enable/disable static building, , enable_static="")if test -f .devel -o "$enable_devel" = "yes"; then	echo "Development version: enabling static compilation in Makefile"	V_STATIC="-static"else	V_STATIC=""fi

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -