📄 configure.in
字号:
dnl Process this file with autoconf to produce a configure script.AC_PREREQ(2.59)AC_INIT([ltfat], [0.99], [P.Soendergaard@mat.dtu.dk])AC_CONFIG_SRCDIR([src])AC_CONFIG_AUX_DIR(config)AM_CONFIG_HEADER(config.h)AM_INIT_AUTOMAKE# Checks for programs.AC_PROG_CXXAC_PROG_CCAC_PROG_RANLIB#AC_PROG_LIBTOOLdnl Check for mkoctfile and mexAC_CHECK_PROG(MKOCTFILE,mkoctfile,mkoctfile)#test -z "$MKOCTFILE" && AC_MSG_WARN([no mkoctfile found on path])AC_CHECK_PROG(MEX,mex,mex)# Checks for libraries.# Checks for FFTW header and library.# Installed fftw library, if any.FFTW_LIBS=''AC_SUBST(FFTW_LIBS)AC_ARG_WITH(fftw, [ --without-fftw use included fftpack instead of installed fftw], with_fftw=$withval, with_fftw=yes)if test "$with_fftw" = "yes"; then have_fftw3_header=no with_fftw3=no# AC_CHECK_HEADER(fftw3.h, [have_fftw3_header=yes; break])# if test "$have_fftw3_header" = yes; then AC_CHECK_LIB(fftw3, fftw_plan_dft_1d, [FFTW_LIBS="-lfftw3"; with_fftw3=yes])# fifiif test "$with_fftw" = yes && test "$with_fftw3" = yes; then FFT_DIR='' AC_DEFINE(HAVE_FFTW3, 1, [Define if the FFTW3 library is used.])fi# Checks for header files.AC_HEADER_STDCAC_CHECK_HEADERS([stdlib.h string.h strings.h unistd.h complex.h])# Checks for typedefs, structures, and compiler characteristics.#AC_C_CONST#AC_TYPE_SIZE_T#AC_HEADER_STDBOOL# Checks for library functions.#AC_FUNC_ERROR_AT_LINE#AC_FUNC_MALLOC#AC_FUNC_REALLOC#AC_TYPE_SIGNAL#AC_CHECK_FUNCS(bzero memset, break)AC_CONFIG_FILES([Makefile oct/Makefile src/Makefile])AC_OUTPUT
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -