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

📄 setup

📁 A part of LFS.This is a server software.
💻
字号:
#! /bin/sh -e# $Id: setup,v 1.2 2004/02/20 14:26:09 dm Exp $## This script builds the files necessary to configure this package for# development.  Once you run this script, you will need GNU make,# autoconf, and automake to build the software.  You must run "make# dist" if you the wish to create a source tree that can be built# without these tools.## You should generally only need to run this script if you just# checked sfs out of a CVS repository, or else somehow badly mangled# the Makefile.opt_c=opt_f=for arg in "$@"; docase "$arg" in    -cf|-fc)	    opt_c='--copy'	    opt_f='--force'	    ;;    -c)	    opt_c='--copy'	    ;;    -f)	    opt_f='--force'	    rm -f depcomp install-sh missing mkinstalldirs	    rm -f libtool ltconfig ltmain.sh	    rm -f config.guess config.sub 	    ;;    *)	    echo setup: unknown option "$arg"	    ;;esacdoneif test -z "${AUTOCONF+set}"; then	AUTOCONF=autoconf	export AUTOCONFfiif test -z "${AUTOCONF_VERSION+set}"; then    for acv in 2.57 2.54 2.52 2.13; do	for dir in /usr/local/bin /usr/bin; do	if test -x ${dir}/autoconf-${acv}; then	    AUTOCONF=${dir}/autoconf-${acv}	    export AUTOCONF	    AUTOCONF_VERSION=$acv	    export AUTOCONF_VERSION	    echo "Using AUTOCONF_VERSION $AUTOCONF_VERSION"	    break 2	fi	done    donefiif test -z "${SETUP_TOP_PID}"; then    SETUP_TOP_PID=$$    export SETUP_TOP_PIDfiif test ! -f configure.in; then	echo Must run this from source directory >&2	exit 1fiM4=gm4$M4 --version < /dev/null 2>&1 | grep GNU >/dev/null 2>&1 || M4=gnum4$M4 --version < /dev/null 2>&1 | grep GNU >/dev/null 2>&1 || M4=m4$M4 --version < /dev/null 2>&1 | grep GNU >/dev/null 2>&1 \    || (echo Cannot locate GNU m4 >&2; exit 1)for file in acinclude.m4; do    if test ! -f $file -a -f ../$file; then	echo "+ ln -f -s ../$file $file"	ln -f -s ../$file $file     fidonefor file in Makefile.am.m4 */Makefile.am.m4; do    if test -f $file; then	out=`echo $file | sed -e 's/\.m4$//'`	echo "+ $M4 $file > $out"	rm -f $out~	$M4 $file > $out~	mv -f $out~ $out    fidonefor dir in *; do    if test -r ${dir}/setup; then	echo "+ ${dir}/setup $*";	(cd ${dir} && chmod +x ./setup && ./setup "$@")    fidoneif test -z "${AM_ARGS:+set}"; then    AM_ARGS="--add-missing $opt_c $opt_f"fiif test -z "${LTI_ARGS:+set}"; then    LTI_ARGS="$opt_c $opt_f"fiset -xchmod +x setuplibtoolize $LTI_ARGSaclocalautoheaderautomake $AM_ARGS$AUTOCONFset +xif test -f config.status; then    set -x    sh config.statusfiset +xif test "$SETUP_TOP_PID" = "$$"; then    echo ""    echo "	    *** * * * * * * * * * * * * * * * * ***"    echo "	    ***         setup succeeded         ***"    echo "	    *** * * * * * * * * * * * * * * * * ***"    echo ""fi

⌨️ 快捷键说明

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