libusb-config.in

来自「This libusb version 0.1.12. libusb is a 」· IN 代码 · 共 80 行

IN
80
字号
#!/bin/shprefix=@prefix@exec_prefix=@exec_prefix@exec_prefix_set=nousage(){	cat <<EOFUsage: libusb-config [OPTIONS] [LIBRARIES]Options:	[--prefix[=DIR]]	[--exec-prefix[=DIR]]	[--version]	[--libs]	[--cflags]EOF	exit $1}if test $# -eq 0; then	usage 1 1>&2fiwhile test $# -gt 0; do  case "$1" in  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;  *) optarg= ;;  esac  case $1 in    --prefix=*)      prefix=$optarg      if test $exec_prefix_set = no ; then        exec_prefix=$optarg      fi      ;;    --prefix)      echo_prefix=yes      ;;    --exec-prefix=*)      exec_prefix=$optarg      exec_prefix_set=yes      ;;    --exec-prefix)      echo_exec_prefix=yes      ;;    --version)      echo @LIBUSB_VERSION@      exit 0      ;;    --cflags)      if test "@includedir@" != /usr/include ; then        includes="-I@includedir@"      fi      echo_cflags=yes      ;;    --libs)      echo_libs=yes      ;;    *)      usage 1 1>&2      ;;  esac  shiftdoneif test "$echo_prefix" = "yes"; then	echo $prefixfiif test "$echo_exec_prefix" = "yes"; then	echo $exec_prefixfiif test "$echo_cflags" = "yes"; then	echo $includesfiif test "$echo_libs" = "yes"; then	echo -L@libdir@ -lusb @OSLIBS@fi

⌨️ 快捷键说明

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