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

📄 configure.in

📁 蓝牙的各种编程接口和各种按理介绍,还有一些例子和说明
💻 IN
字号:
dnldnl  $Id: configure.in,v 1.13 2002/09/09 01:18:40 maxk Exp $dnldnl Process this file with autoconf to produce a configure script.dnlAC_INIT()AC_SUBST(KDIR)AC_SUBST(KVER)AC_SUBST(ARCH)AC_SUBST(DRV_DEFS)AC_SUBST(HCI_UART_OBJS)AC_SUBST(BNEP)AC_SUBST(BNEP_TEST)dnl Guess host type.AC_CANONICAL_HOSTAC_CANONICAL_SYSTEMdnl Check for programs.AC_PROG_CCAC_PROG_AWKAC_PROG_INSTALLAC_CHECK_TOOL(LD, ld, ld)AC_CHECK_TOOL(AR, ar, ar)AC_ARG_WITH(kernel,   --with-kernel=DIR     Kernel source location,   KDIR="$withval",   KDIR=/usr/src/linux)AC_ARG_ENABLE(debug,   --enable-debug        Enable debuging,   AC_DEFINE(CONFIG_BLUEZ_DEBUG, 1))      AC_ARG_ENABLE(usb-zero-packet,   --enable-usb-zero-packet  Enable USB_ZERO_PACKET support,   DRV_DEFS="$DRV_DEFS -DCONFIG_BLUEZ_USB_ZERO_PACKET=1")      AC_ARG_ENABLE(uart-h4,   --enable-uart-h4      Enable UART(H4) protocol support, , enable_uart_h4="yes")AC_ARG_ENABLE(uart-bcsp,   --enable-uart-bcsp    Enable BCSP protocol support, , enable_uart_bcsp="yes")AC_ARG_ENABLE(uart-bcsp-txcrc,   --enable-uart-bcsp-txcrc  Enable transmission of CRC in each BCSP packet, , enable_uart_bcsp_txcrc="yes")AC_ARG_ENABLE(bnep-orig,   --enable-bnep-orig        Enable original bnep implementation,   BNEP=orig)AC_ARG_ENABLE(bnep-test,   --enable-bnep-test        Enable bnep testing,   AC_DEFINE(BNEP_TEST, 1))if test "$enable_uart_h4" = "yes"; then   DRV_DEFS="$DRV_DEFS -DCONFIG_BLUEZ_HCIUART_H4=1"   HCI_UART_OBJS="$HCI_UART_OBJS hci_h4.o"fiif test "$enable_uart_bcsp" = "yes"; then   DRV_DEFS="$DRV_DEFS -DCONFIG_BLUEZ_HCIUART_BCSP=1"   HCI_UART_OBJS="$HCI_UART_OBJS hci_bcsp.o"   if test "$enable_uart_bcsp_txcrc" = "yes"; then      DRV_DEFS="$DRV_DEFS -DCONFIG_BLUEZ_HCIUART_BCSP_TXCRC=1"   fifi# Check kernel sourcesAC_TEST_FILES(Makefile include/linux/if.h, $KDIR,  ,   AC_MSG_ERROR( Linux kernel source not found in $KDIR ))       AC_TEST_FILES(.config include/linux/version.h, $KDIR,  ,   AC_MSG_ERROR( Linux kernel $KDIR is not configured ))      ARCH=`echo $target_cpu | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa1100/arm/`KVER=`cat $KDIR/Makefile | $AWK '	\	BEGIN     { FS = "(= )|(=)" }	\	/^VERSION.*=/    { ver=$2   }	\	/^PATCHLEVEL.*=/ { patch=$2 }	\	/^SUBLEVEL.*=/   { slev=$2  }	\	/^EXTRAVER.*=/   { print ver "." patch "." slev $2 }'`AC_OUTPUT(Makefile include/Makefile core/Makefile drivers/Makefile rfcomm/Makefile bnep/Makefile misc/Makefile doc/Makefile)

⌨️ 快捷键说明

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