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

📄 configure.in

📁 贝叶斯学习算法分类文本。基于朴素贝叶斯分类器的文本分类的通用算法
💻 IN
字号:
AC_INIT(argp.h)# configure.in for "libargp".# Process this file with autoconf to produce a configure script.# Let the user set CPPFLAGS and CFLAGS on the ./configure command-lineAC_SUBST(CPPFLAGS)if test -z "$CFLAGS" ; then  CFLAGS="-g -O -Wall"  #provide a default for CFLAGSfiAC_SUBST(CFLAGS)# Find the compilerAC_PROG_CCAC_PROG_CPP# Find some installation programsAC_PROG_INSTALLAC_PROG_RANLIB# Find out if we have getopt.hAC_CHECK_HEADERS(getopt.h)# Find out if we have the function getopt_long().  If we don't have# it, cause the ARGP_GETOPT_O_FILES to be a part of libargp.AC_CHECK_FUNCS(getopt_long,  ARGP_GETOPT_O_FILES='',  ARGP_GETOPT_O_FILES='$(ARGP_GETOPT_O_FILES)')AC_SUBST(ARGP_GETOPT_O_FILES)# Find out if we have the function strerror()AC_CHECK_FUNCS(strerror)# Needed by argp-help.cAC_CHECK_FUNCS(strndup)# Needed by argp-fmtstream.hAC_CHECK_TYPE(ssize_t, int)# Needed by argp-fmtstream.cAC_CHECK_FUNCS(memmove vsnprintf)# Needed by argp-help.cAC_CHECK_FUNCS(strerror)# strcasecmp() is in /usr/include/strings.h on SunOS.AC_CHECK_HEADERS(strings.h)if test -z "$HAVE_VSNPRINTF" ; then  # Find out if vsprintf() returns the number of chars written, or   # a pointer to the string  AC_MSG_CHECKING(if vsprintf returns int)  AC_TRY_RUN(main() {	char *buf = malloc(16);	if (2 == (int)vsprintf(buf, "12"))	  exit (0);	exit (-1);},   VSPRINTF_RETURNS_INT=1; AC_DEFINE(VSPRINTF_RETURNS_INT)    AC_MSG_RESULT(yes),   VSPRINTF_RETURNS_INT=0    AC_MSG_RESULT(no),   VSPRINTF_RETURNS_INT=0    AC_MSG_RESULT(guessing no))fi# Find out if the libc has the global variables# program_invocation_short_name,program_invocation_nameAC_MSG_CHECKING(program_invocation_name);AC_TRY_LINK(,void foo() {program_invocation_name = "foo";},	HAVE_PROGRAM_INVOCATION_NAME=1,)if test "$HAVE_PROGRAM_INVOCATION_NAME" = 1 ; then  AC_DEFINE(HAVE_PROGRAM_INVOCATION_NAME)  AC_MSG_RESULT(yes)else  AC_MSG_RESULT(no)fi# Check for ANSI/non-ANSI string functionsAC_HEADER_STDCAC_CHECK_HEADERS(string.h memory.h)# Write the MakefilesAC_OUTPUT(Makefile)

⌨️ 快捷键说明

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