📄 configure.ac
字号:
# -*- Autoconf -*-# Process this file with autoconf to produce a configure script.AC_PREREQ(2.59)AC_INIT(MeridianProcess.cpp, 1.0, bwong@cs.cornell.edu)AM_INIT_AUTOMAKE(libMeridian, 1.0)AC_CONFIG_SRCDIR([Common.h])AC_CONFIG_HEADER([config.h])AC_PROG_INSTALL# Checks for programs.AC_PROG_YACCAC_PROG_CXXAC_PROG_CCAC_PROG_LEXAC_PROG_RANLIB# Temporary hack, the location of cblas in atlas# is in the atlas directoryLIBS="-L/usr/lib/atlas -L/usr/lib64/atlas ${LIBS}"# Checks for libraries.AC_CHECK_LIB([cblas], [cblas_dcopy], , AC_MSG_ERROR(Library required))AC_CHECK_LIB([blas], [atl_f77wrap_cgemm_], , AC_MSG_ERROR(Library required))AC_CHECK_LIB([crypto], [MD5_Init], , AC_MSG_ERROR(Library required))AC_CHECK_LIB([curl], [curl_easy_init], , AC_MSG_ERROR(Library required))AC_CHECK_LIB([dl], [dlopen], , AC_MSG_ERROR(Library required))AC_CHECK_LIB([gfortran], [f2c_specific__abs_r4], , AC_MSG_ERROR(Library required))AC_CHECK_LIB([qhull], [qh_freeqhull], , AC_MSG_ERROR(Library required))AC_CHECK_LIB([resolv], [res_gethostbyaddr], , AC_MSG_ERROR(Library required))AC_CHECK_LIB([z], [deflate], , AC_MSG_ERROR(Library required))# Checks for header files.AC_HEADER_STDCAC_HEADER_SYS_WAITAC_CHECK_HEADERS([arpa/inet.h fcntl.h float.h limits.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h sys/param.h sys/socket.h sys/time.h unistd.h])# Checks for typedefs, structures, and compiler characteristics.AC_HEADER_STDBOOLAC_C_CONSTAC_TYPE_PID_TAC_TYPE_SIZE_TAC_HEADER_TIME# Checks for library functions.AC_FUNC_ERROR_AT_LINEAC_FUNC_FORKAC_FUNC_MALLOCAC_FUNC_REALLOCAC_FUNC_SELECT_ARGTYPESAC_TYPE_SIGNALAC_CHECK_FUNCS([floor gethostbyname gethostname gettimeofday inet_ntoa memmove memset pow select socket sqrt strchr])#AC_CONFIG_FILES([Makefile])AC_OUTPUT(Makefile)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -