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

📄 configure.in

📁 This library provides functionality to control any camera that conforms to the 1394-Based Digital C
💻 IN
字号:
# process this file with autoconf to get a configure scriptAC_PREREQ([2.6.0])AC_INIT([dc1394],[2.0.0-rc3],[libdc1394-devel@lists.sf.net])AC_CONFIG_SRCDIR([libdc1394/dc1394_control.c])AM_INIT_AUTOMAKE([--warnings=all 1.9.6])AC_CONFIG_HEADERS([config.h])AC_PROG_CCAC_PROG_LIBTOOL# check if the 'restrict' prefix is supportedAC_C_RESTRICTcase "$host" in  *-*-linux*)    # Check for the new version of libraw1394 first since they might have both    # installed and we want to use the newest version    AC_CHECK_LIB(raw1394, raw1394_channel_modify,       [AC_DEFINE(HAVE_LIBRAW1394,[],[Defined if libraw1394 is present]) raw1394=true LIBS="$LIBS -lraw1394";break],        AC_MSG_ERROR(libraw1394 not found or too old. Please upgrade to >1.2.0.))    ;;  *-*-darwin*)    AC_CHECK_LIB(IOKit, IOMasterPort,       [AC_DEFINE(HAVE_IOKITLIB,[],[Defined if IOKitLib is present]) iokit=true],       [AC_MSG_ERROR(IOKitLib not found.)])    ;;esacAM_CONDITIONAL(USE_LINUX, test x$raw1394 = xtrue)AM_CONDITIONAL(USE_MACOSX, test x$iokit = xtrue)# check for Xv extensions (necessary for examples/dc1394_multiview)# imported from CorianderAC_DEFUN([AC_CHECK_XV],[	AC_SUBST(XV_CFLAGS)	AC_SUBST(XV_LIBS)	AC_MSG_CHECKING(for Xv extensions)	AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[	#include <X11/Xlib.h> 	#include <X11/extensions/Xvlib.h>]], [[	int main(void) { (void) XvGetPortAttribute(0, 0, 0, 0); return 0; }	]])],[xv=yes],[xv=no]);	AC_MSG_RESULT($xv) 	if test x$xv = xyes; then           XV_LIBS="-lXv -lXext"           XV_CFLAGS=""	   AC_DEFINE(HAVE_XV,1,[defined if XV video overlay is available]) 	fi        AM_CONDITIONAL(XVOK, test x$xv = xyes)])AC_CHECK_XVAC_HEADER_STDCAC_CHECK_HEADERS(fcntl.h sys/ioctl.h unistd.h)AC_PATH_XTRAAC_TYPE_SIZE_TAC_FUNC_MMAPdnl set the libtool shared library version numberslt_major=20lt_revision=0lt_age=0AC_SUBST(lt_major)AC_SUBST(lt_revision)AC_SUBST(lt_age)dnl AX_CFLAGS_WARN_ALL(CFLAGS)CFLAGS="$CFLAGS -Wall -Wunused"AC_CONFIG_FILES([ Makefile libdc1394/Makefile examples/Makefile ])AC_OUTPUT

⌨️ 快捷键说明

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