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

📄 configure.in

📁 linux下佳能数码相机使用源码
💻 IN
字号:
# Process this file with autoconf to produce a configure script.AC_INIT([ptpcanon],[0.0.1],[emsi@ipartners.pl])AM_INIT_AUTOMAKE(ptpcanon, 0.0.1)AC_PREREQ(2.53)AM_CONFIG_HEADER([config.h])AC_PROG_LIBTOOL# library versioning# (quoted from libtool doc)# 1. Update the version information only immediately before a public release# 2. If the library source code has changed at all since the last update,#    then increment revision (`c:r:a' becomes `c:r+1:a').# 3. If any interfaces have been added, removed, or changed since the last#    update, increment current, and set revision to 0.# 4. If any interfaces have been added since the last public release,#    then increment age.# 5. If any interfaces have been removed since the last public release,#    then set age to 0. CANON_VERSION_CURRENT=0CANON_VERSION_REVISION=0CANON_VERSION_AGE=1CANON_VERSION_INFO=$CANON_VERSION_CURRENT:$CANON_VERSION_REVISION:$CANON_VERSION_AGEAC_SUBST(CANON_VERSION_INFO)# Checks for programs.AC_PROG_CC# Checks for libraries.# Checks for header files.AC_HEADER_STDCAC_CHECK_HEADERS([libintl.h stdlib.h string.h])# Checks for typedefs, structures, and compiler characteristics.AC_C_CONSTAC_C_INLINEAC_STRUCT_TM# Checks for library functions.AC_FUNC_ERROR_AT_LINEAC_FUNC_MALLOCAC_FUNC_MKTIMEAC_FUNC_VPRINTFAC_CHECK_FUNCS([memset strchr strdup strtol getopt_long])# Check for libusbif test "$build_ptpcam" = "yes"then	AC_PATH_PROG(LIBUSB_CONFIG,libusb-config)	if test -n "${LIBUSB_CONFIG}"; then		AC_CHECK_LIB(usb,usb_busses,			[LIBUSB_VER="`$LIBUSB_CONFIG --version`"],			[AC_ERROR([*** You need at least version 0.1.6 of the libusb library to build ptpcam.*** Download and istall it from http://sourceforge.net/projects/libusb/ or*** use --disable-ptpcam option to build without ptpcam tool.			])])	fi		if test "$LIBUSB_VER" \< "0.1.6"; then		AC_ERROR([*** You need at least version 0.1.6 of the libusb library to build ptpcam.*** Download and istall it from http://sourceforge.net/projects/libusb/ or*** use --disable-ptpcam option to build without ptpcam tool.		])	fifiAC_CONFIG_FILES([ Makefile])AC_OUTPUT

⌨️ 快捷键说明

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