configure.in.txt
来自「射线追踪程序」· 文本 代码 · 共 95 行
TXT
95 行
dnl Process this file with autoconf to produce a configure script.AC_INIT(tomo3d.c)AC_ARG_WITH(sismoutil,[ --with-sismoutil[=DIR] location of sismoutil [/usr/local/sismoutil]])AC_ARG_WITH(aniso,[ --with-aniso[=DIR] location of aniso [$HOME]])AC_ARG_WITH(eve,[ --with-eve[=DIR] location of eve [$HOME]])AC_ARG_WITH(iasp,[ --with-iasp[=DIR] location of iasp [/usr/local/iasp]])AC_ARG_ENABLE(pthreads,[ --with-pthreads[=DIR] location of pthreads [/usr/local/]])AC_ARG_WITH(pthreads,[ --enable-pthreads[=NUM] number of threads [none, 4 if --with-pthreads]])AC_LANG_CAC_PREFIX_DEFAULT("./")AC_SUBST(with_sismoutil)AC_SUBST(with_aniso)AC_SUBST(with_eve)AC_SUBST(with_iasp)AC_SUBST(pthreads)AC_SUBST(CPP)AC_SUBST(CC)AC_SUBST(CCFLAGS)AC_SUBST(SET_MAKE)AC_SUBST(INSTALL)AC_CANONICAL_SYSTEMAC_PROG_CCAC_MSG_CHECKING([C compiler options])case "${host_cpu}-${host_os}" in sparc-solaris2*) if test "$CC" = cc; then CCFLAGS="" fi;; alpha*-osf*) if test "$CC" = cc; then CCFLAGS="" fi;; hppa*-hpux*) if test "$CC" = cc; then CCFLAGS="-Ae" fi;;esacCCFLAGS=$CCFLAGS" "$CFLAGSAC_MSG_RESULT([$CCFLAGS])AC_PROG_MAKE_SETAC_PROG_INSTALLif test "$with_sismoutil" = ""; then with_sismoutil="/usr/local/sismoutil"fiif test "$with_eve" = ""; then with_eve="\$(HOME)"fiif test "$with_aniso" = ""; then with_aniso="\$(HOME)"fiif test "$with_iasp" = ""; then with_iasp="/usr/local/iasp"fiif test "$with_pthreads" != ""; then if test "$with_pthreads" = "yes"; then with_pthreads="/usr/local/" fi if test "$enable_pthreads" = ""; then enable_pthreads=4 fi pthreads="-pthread -DNTHREADS=$enable_pthreads"fidnl Checks for header files.AC_HEADER_STDCdnl Checks for typedefs, structures, and compiler characteristics.AC_C_CONSTAC_TYPE_SIZE_Tdnl Checks for library functions.AC_FUNC_MEMCMPAC_OUTPUT(Makefile)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?