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

📄 acinclude.m4

📁 This libusb version 0.1.12. libusb is a library which allows userspace application access to USB de
💻 M4
字号:
dnl Autoconf macros used by libusbdnldnl Copyright (C) 2003 Brad Hards <bradh@frogmouth.netdnl Qt tests based on pinentry code Copyright (C) 2002 g10 Code GmbHdnldnl This program is free software; you can redistribute it and/or modifydnl it under the terms of the GNU General Public License as published bydnl the Free Software Foundation; either version 2, or (at your option)dnl any later version.dnldnl This program is distributed in the hope that it will be useful,dnl but WITHOUT ANY WARRANTY; without even the implied warranty ofdnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See thednl GNU General Public License for more details.dnldnl You should have received a copy of the GNU General Public Licensednl along with this program; if not, write to the Free Softwarednl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.dnldnl LIBUSB_FIND_PATH(program-name, variable-name, list of directories, if-not-found, test-parameter)AC_DEFUN([LIBUSB_FIND_PATH],[   AC_MSG_CHECKING([for $1])   if test -n "$$2"; then        libusb_cv_path="$$2";   else        libusb_cache=`echo $1 | sed 'y%./+-%__p_%'`        AC_CACHE_VAL(libusb_cv_path_$libusb_cache,        [        libusb_cv_path="NONE"        dirs="$3"        libusb_save_IFS=$IFS        IFS=':'        for dir in $PATH; do          dirs="$dirs $dir"        done        IFS=$libusb_save_IFS        for dir in $dirs; do          if test -x "$dir/$1"; then            if test -n "$5"            then              evalstr="$dir/$1 $5 2>&1 "              if eval $evalstr; then                libusb_cv_path="$dir/$1"                break              fi            else                libusb_cv_path="$dir/$1"                break            fi          fi        done        eval "libusb_cv_path_$libusb_cache=$libusb_cv_path"        ])      eval "libusb_cv_path=\"`echo '$libusb_cv_path_'$libusb_cache`\""   fi   if test -z "$libusb_cv_path" || test "$libusb_cv_path" = NONE; then      AC_MSG_RESULT(not found)      $4   else      AC_MSG_RESULT($libusb_cv_path)      $2=$libusb_cv_path   fi])AC_DEFUN([LIBUSB_INIT_DOXYGEN],[AC_MSG_CHECKING([for Doxygen tools])LIBUSB_FIND_PATH(dot, DOT, [], [])if test -n "$DOT"; then  LIBUSB_HAVE_DOT="YES"else  LIBUSB_HAVE_DOT="NO"fiAC_SUBST(LIBUSB_HAVE_DOT)LIBUSB_FIND_PATH(doxygen, DOXYGEN, [], [])AC_SUBST(DOXYGEN)DOXYGEN_PROJECT_NAME="$1"DOXYGEN_PROJECT_NUMBER="$2"AC_SUBST(DOXYGEN_PROJECT_NAME)AC_SUBST(DOXYGEN_PROJECT_NUMBER)LIBUSB_HAS_DOXYGEN=noif test -n "$DOXYGEN" && test -x "$DOXYGEN"; then  LIBUSB_HAS_DOXYGEN=yesfiAC_SUBST(LIBUSB_HAS_DOXYGEN)])

⌨️ 快捷键说明

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