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

📄 yaz-config.in

📁 harvest是一个下载html网页得机器人
💻 IN
字号:
#!/bin/sh# $Id: yaz-config.in,v 1.17 2003/02/18 10:37:08 adam Exp $yazprefix=@prefix@yaz_echo_cflags=noyaz_echo_libs=noyaz_echo_help=noyaz_echo_source=yesyaz_echo_lalibs=noyaz_echo_comp=noyaz_src_root=@YAZ_SRC_ROOT@yaz_build_root=@YAZ_BUILD_ROOT@yazextralibs="@LIBS@"YAZVERSION=@VERSION@usage(){	cat <<EOFUsage: yaz-config [OPTIONS] [LIBRARIES]Options:	[--prefix[=DIR]]	[--version]	[--libs]	[--lalibs]	[--cflags]	[--comp]Libraries:	threads        malloc        sslEOF	exit $1}#if test $# -eq 0; then#	yaz_echo_help=yes#fiwhile test $# -gt 0; do  case "$1" in  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;  *) optarg= ;;  esac  case $1 in    --prefix=*)      yazprefix=$optarg      ;;    --prefix)      echo $yazprefix      exit 0      ;;    --version)      echo $YAZVERSION      exit 0      ;;    --cflags)      yaz_echo_cflags=yes      ;;    --libs)      yaz_echo_libs=yes      ;;    --lalibs)      yaz_echo_lalibs=yes      ;;    --comp)      yaz_echo_comp=yes      ;;    threads)      lib_thread=yes      ;;    malloc)      lib_malloc=yes      ;;    ssl)      lib_ssl=yes      ;;    -*)      yaz_echo_help=yes      ;;  esac  shiftdonelyaz="-lyaz"if test "$lib_thread" = "yes" -a -n "@CFLAGSTHREADS@"; then    yazextralibs="@LIBTHREAD@ $yazextralibs"    lyaz="-lyazthread $lyaz"fi if test "$lib_malloc" = "yes"; then    lyaz="-lyazmalloc $lyaz"fiif test "$lib_ssl" = "yes" -a -n "@SSL_LIBS@"; then    yazextralibs="@SSL_LIBS@ $yazextralibs"    lyaz="-lyazssl $lyaz"fiif test "$yaz_echo_source" = "yes"; then    YAZBIN=${yaz_build_root}/bin    YAZLIB="-L${yaz_build_root}/lib/.libs $lyaz $yazextralibs"    YAZLALIB="${yaz_build_root}/lib/libyaz.la $yazextralibs"    if test "$lib_ssl" = "yes" -a -n "$SSL_LIBS@"; then        YAZLALIB="${yaz_build_root}/lib/libyazssl.la"    fi    if test "$lib_thread" = "yes" -a -n "@CFLAGSTHREADS@"; then        YAZLALIB="${yaz_build_root}/lib/libyazthread.la $YAZLALIB"    fi    if test "$lib_malloc" = "yes"; then        YAZLALIB="${yaz_build_root}/lib/libyazmalloc.la $YAZLALIB"    fi    YAZINC="-I${yaz_src_root}/include"    YAZCOMP=${yaz_src_root}/util/yaz-compelse    YAZBIN=${yazprefix}/bin    YAZCOMP=${yazprefix}/bin/yaz-comp    if test "$yazprefix" = "/usr"; then	YAZLIB="$lyaz $yazextralibs"    else	YAZLIB="-L$yazprefix/lib $lyaz $yazextralibs"    fi    YAZLALIB=$YAZLIB    if test "$yazprefix" = "/usr"; then	YAZINC=    else	YAZINC=-I$yazprefix/include    fifiYAZINC="$YAZINC @YAZ_CONF_CFLAGS@"if test "$lib_thread" = "yes"; then    YAZINC="$YAZINC @CFLAGSTHREADS@"fiif test "$lib_ssl" = "yes"; then    YAZINC="$YAZINC @SSL_CFLAGS@"fiif test "$yaz_echo_help" = "yes"; then	usage 1 1>&2fiif test "$yaz_echo_cflags" = "yes"; then	echo $YAZINCfiif test "$yaz_echo_libs" = "yes"; then	echo $YAZLIBfiif test "$yaz_echo_lalibs" = "yes"; then	echo $YAZLALIBfiif test "$yaz_echo_comp" = "yes"; then	echo $YAZCOMPfi

⌨️ 快捷键说明

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