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

📄 configure.in

📁 有关MYSQL的开源码
💻 IN
字号:
dnl Process this file with autoconf to produce a configure script.AC_INIT(mysqlcppapi/mysqlcppapi.h)#Keep junk separate:AC_CONFIG_AUX_DIR(scripts)#Tell it where to find extra macros:AM_ACLOCAL_INCLUDE(macros)AM_CONFIG_HEADER(config.h)dnl -----------------------------------------------dnl Package name and version number (user defined)dnl -----------------------------------------------GENERIC_NAME=mysqlcppapiGENERIC_LIBRARY_NAME=mysqlcppapi#release versioningGENERIC_MAJOR_VERSION=2GENERIC_MINOR_VERSION=0GENERIC_MICRO_VERSION=0#shared library versioningGENERIC_LIBRARY_VERSION=5:0:0#                       | | |#                +------+ | +---+#                |        |     |#             current:revision:age#                |        |     |#                |        |     +- increment if interfaces have been added#                |        |        set to zero if interfaces have been removed#                                  or changed#                |        +- increment if source code has changed#                |           set to zero if current is incremented#                +- increment if interfaces have been added, removed or changeddnl -----------------------------------------------dnl Package name and version number (DO NOT MODIFY)dnl -----------------------------------------------AC_SUBST(GENERIC_LIBRARY_VERSION)PACKAGE=$GENERIC_NAMEAC_SUBST(GENERIC_NAME)AC_SUBST(GENERIC_LIBRARY_NAME)GENERIC_VERSION=$GENERIC_MAJOR_VERSION.$GENERIC_MINOR_VERSION.$GENERIC_MICRO_VERSIONGENERIC_RELEASE=$GENERIC_MAJOR_VERSION.$GENERIC_MINOR_VERSIONAC_SUBST(GENERIC_RELEASE)AC_SUBST(GENERIC_VERSION)VERSION=$GENERIC_VERSIONAM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)dnl -----------------------------------------------dnl Checks for programs.dnl -----------------------------------------------AC_PROG_CCAC_PROG_CXXAM_PROG_LIBTOOLAM_SANITY_CHECK# What's this for?# AC_PROG_MAKE_SET# Initialize maintainer mode:AM_MAINTAINER_MODEdnl -----------------------------------------------dnl Checks for libraries.dnl -----------------------------------------------# Ask user for path to libmysqlclient stuff:AM_PATH_MYSQL(, AC_MSG_ERROR([    Use --with-mysql or --with-mysql-config so MySQL header and library files    can be found.]))AC_LANG_CPLUSPLUS#Other library stuff:AC_CHECK_LIB(intl, main)AC_CHECK_LIB(socket, main)AC_CHECK_LIB(nsl, main)AC_CHECK_LIB(mysqlclient, mysql_store_result, , , $MYSQL_LIBS)# Add support for dmalloc:AM_WITH_DMALLOC()# Checks for header files.AC_HEADER_STDC# Checks for typedefs, structures, and compiler characteristics.AC_C_CONST# Checks for library functions.AC_CHECK_FUNCS(strtol)# Generate Makefiles and config script.AC_OUTPUT(Makefile \          mysqlcppapi-2.0.pc \          macros/Makefile \          scripts/Makefile \          mysqlcppapi/Makefile \          mysqlcppapi/datetime/Makefile \          mysqlcppapi/fields/Makefile \          mysqlcppapi/exceptions/Makefile \          mysqlcppapi/query/Makefile \          mysqlcppapi/query_results/Makefile \          mysqlcppapi/row/Makefile \          mysqlcppapi/smartpointer/Makefile \          examples/Makefile          tests/Makefile)

⌨️ 快捷键说明

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