📄 configure.in
字号:
dnl Process this file with autoconf to produce a configure script.AC_INIT(src/borzoi.h)dnl Every other copy of the package version number gets its value from hereAM_INIT_AUTOMAKE(borZoi, 1.0.1)AC_SUBST(VERSION)ISODATE=`date +%Y-%m-%d`AC_SUBST(ISODATE)dnl Initialize libtoolAM_PROG_LIBTOOLAC_CANONICAL_HOSTdnl Checks for programs.AC_PROG_INSTALLAC_PROG_CCAC_PROG_CXXAC_ARG_ENABLE(ntl, [ --enable-ntl use the ntl library instead of the default math routines])AM_CONDITIONAL(USE_NTL, test "x$enable_ntl" = xyes)if test "$GCC" = yes; then CFLAGS="$CFLAGS -Wall -pedantic"fiBORZOI_LIBS="../src/libborzoi.la"if test "x$enable_ntl" = "xyes"; then CFLAGS="$CFLAGS -DUSE_NTL" CXXFLAGS="$CXXFLAGS -DUSE_NTL" BORZOI_SOURCES="$BORZOI_SOURCES math_ntl.cpp" BORZOI_DEPENDENCIES="$BORZOI_DEPENDENCIES math_ntl.lo" BORZOI_LIBS="$BORZOI_LIBS -lntl"else CFLAGS="$CFLAGS -DUSE_MPI" CXXFLAGS="$CXXFLAGS -DUSE_MPI" BORZOI_SOURCES="$BORZOI_SOURCES math_mpi.cpp mpi.c mpi.h" BORZOI_DEPENDENCIES="$BORZOI_DEPENDENCIES math_mpi.lo mpi.lo" BORZOI_LIBS="$BORZOI_LIBS"fiAC_SUBST(BORZOI_SOURCES)AC_SUBST(BORZOI_DEPENDENCIES)AC_SUBST(BORZOI_LIBS)dnl Checks for header files.AC_HEADER_STDCAC_OUTPUT([Makefiledocs/Makefilesrc/Makefile])
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -