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

📄 liburl-config.in

📁 liburl是一个小的C++库
💻 IN
字号:
#!/bin/shprefix=@prefix@exec_prefix=@exec_prefix@bindir=@bindir@sbindir=@sbindir@libexecdir=@libexecdir@datadir=@datadir@sysconfdir=@sysconfdir@sharedstatedir=@sharedstatedir@localstatedir=@localstatedir@libdir=@libdir@infodir=@infodir@mandir=@mandir@includedir=@includedir@hostinfo=@host@pkgdatadir=${datadir}/@PACKAGE@pkglibdir=${libdir}/@PACKAGE@pkgincludedir=${includedir}/@PACKAGE@usage(){    cat <<EOFUsage: wwtxt-config [OPTION]... [LIBRARY]...Generic options  --version	output version information  --help	display this help and exit  --host	display host informationCompilation support options  --cflags	print pre-processor and compiler flags  --libs	print library linking informationEOF    exit $1}if test $# -eq 0; then    usage 1ficflags=falselibs_L=falselibs_l=falsewhile test $# -gt 0; do    case "$1" in    -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;    *) optarg= ;;    esac    case $1 in    --version)	echo @PACKAGE@ @VERSION@	exit 0	;;    --exec-prefix)	echo $exec_prefix	exit 0	;;    --prefix)	echo $prefix	exit 0	;;    --host)	echo $hostinfo	exit 0	;;    --*dir)	dirname=\$`echo $1 | sed -e 's,^--,,'`	dirname=`eval echo $dirname`	test -z "$dirname" && exit 1	echo $dirname	exit 0	;;    --help)	usage 0	;;    --cflags)       	cflags=true       	;;    --libs)       	libs_L=true	libs_l=true       	;;    --libs-only-L)	libs_L=true	;;    --libs-only-l)	libs_l=true	;;    --*)	usage 1	;;    *)	cnf_sh=${libdir}/${1}Conf.sh	if test -f ${cnf_sh}; then	    . ${cnf_sh}	    up_name=`echo $1 | tr a-z A-Z`	    cnf_libdir=\$${up_name}_LIBDIR	    cnf_libs=\$${up_name}_LIBS	    cnf_flags=\$${up_name}_INCLUDEDIR	    the_libs="$the_libs `eval echo $cnf_libdir` `eval echo $cnf_libs`"	    the_flags="$the_flags `eval echo $cnf_flags`"	else	    echo Unknown library \`$1\' 1>&2	fi	;;    esac    shiftdonethe_libs="$the_libs -L@prefix@/lib -lwwtxt"the_flags="$the_flags -I@prefix@/include"if $cflags; then    all_flags="$the_flags"fiif $libs_L || $libs_l; then    all_flags="$all_flags $the_libs"fiif test -z "$all_flags" || test "x$all_flags" = "x "; then    exit 1fi# Straight out any possible duplicates, but be careful to# get `-lfoo -lbar -lbaz' for `-lfoo -lbaz -lbar -lbaz'other_flags=lib_L_flags=rev_libs=for i in $all_flags; do    case "$i" in    # a library, save it for later, in reverse order    -l*) rev_libs="$i $rev_libs" ;;    -L*|-R*)	if $libs_L; then	    case " $lib_L_flags " in	    *\ $i\ *) ;;			# already there	    *) lib_L_flags="$lib_L_flags $i" ;;	# add it to output	    esac 	fi;;    *)	case " $other_flags " in	*\ $i\ *) ;;				# already there	*) other_flags="$other_flags $i" ;;	# add it to output        esac ;;    esacdoneord_libs=if $libs_l; then    for i in $rev_libs; do	case " $ord_libs " in	*\ $i\ *) ;;			# already there	*) ord_libs="$i $ord_libs" ;;	# add it to output in reverse order	esac    donefiecho $other_flags $lib_L_flags $ord_libsexit 0

⌨️ 快捷键说明

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