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

📄 configure.in

📁 贝叶斯学习算法分类文本。基于朴素贝叶斯分类器的文本分类的通用算法
💻 IN
字号:
AC_INIT(int4str.c)# configure.in for "libbow".# 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 -Wno-implicit"  #provide a default for CFLAGSfiAC_SUBST(CFLAGS)# Find the compilerAC_PROG_CCAC_PROG_CPP# Find some installation programsAC_PROG_INSTALLAC_PROG_RANLIB# Needed by weight.cAC_CHECK_FUNCS(log2f)AC_CHECK_FUNCS(sqrtf)# Find location of the perl interpreter executable#  first look for `perl5'AC_PATH_PROG(PERL, perl5)#  if it isn't found, look for `perl'if test -z "$PERL" ; then  AC_PATH_PROG(PERL, perl)fiAC_SUBST(PERL)# Find out if `__attribute__ ((constructor))' works.  If it doesn't,# define CONSTRUCTOR_FAILS.AC_MSG_CHECKING(if __attribute__((constructor)) works)AC_TRY_RUN(	int did_foo = 0;	void foo () __attribute__ ((constructor));	void foo () {	  did_foo = 1;	}	main() {	  if (did_foo)	    exit (0);	  exit (-1);	},CONSTRUCTOR_FAILS=0  AC_MSG_RESULT(yes),CONSTRUCTOR_FAILS=1; AC_DEFINE(CONSTRUCTOR_FAILS)  AC_MSG_RESULT(no),CONSTRUCTOR_FAILS=1; AC_DEFINE(CONSTRUCTOR_FAILS)  AC_MSG_RESULT(cross-compiling; guessing no))	  # Look for MSWindows winsock libraryAC_CHECK_LIB(wsock32, main)# Make AC_OUTPUT call configure in these subdirectoriesAC_CONFIG_SUBDIRS(argp)# Write the MakefilesAC_OUTPUT(Makefile)

⌨️ 快捷键说明

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