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

📄 configure.ac

📁 基于IASP91地球模型计算地震波到时的程序
💻 AC
字号:
dnl Process this file with autoconf to produce a configure script.AC_INIT(configure.ac)AM_INIT_AUTOMAKE(iasp, 91.0.7)AM_CONFIG_HEADER(config.h)dnl AC_LANG_FORTRAN77AC_ISC_POSIXAC_PROG_CCdnl ------- Determine a Fortran 77 compiler to use. dnl ------- Set the output variable F77 to the name of the compiler found.AC_PROG_F77dnl ------- Determine the linker flags (e.g. -L and -l) for the Fortran 77 intrinsic and dnl ------- run-time libraries that are required to successfully link a Fortran 77 program dnl ------- or shared library. The output variable FLIBS is set to these flags.AC_F77_LIBRARY_LDFLAGSdnl ------- important -------------------------------------dnl It seems the g77 -O2 optimization is not semanticallydnl equivalent to the "no optimization level. You candnl check that by comparing the tables iasp91.{hed,tbl}dnl obtained with remodl;setbrn . These binaries built with dnl the -O2 or no optimization will not build the samednl tables.dnl So, next line removes the -O2 optimization from FFLAGS.dnl Wainting for a fix ...dnl -------------------------------------------------------CFLAGS=`echo $CFLAGS | sed -e 's/-O[[0-9]]//g'`FFLAGS=`echo $FFLAGS | sed -e 's/-O[[0-9]]//g'`AM_PROG_CC_STDCAC_HEADER_STDCAC_SUBST(FLIBS)AC_SUBST(F_NO_US)AM_PROG_LIBTOOLAC_SUBST(LIBTOOL_DEPS)dnl Checks for library functions.dnl Checks for Additional stuffs.echo "----------------------------------------"echo "Using ${CC} as C compiler"echo "  with options ${CFLAGS}"echo "----------------------------------------"echo "Using ${F77} as Fortran compiler"if test "$F77" = g77; then   F_NO_US=-fno-underscoringfidnl if test "${F77}" = "f77"; thendnl    FFLAGS="$FFLAGS -noappend"dnl fiecho "  with options $FFLAGS $F_NO_US"echo "  with Fortran libs $FLIBS"echo "-----------------------------------------"AC_OUTPUT([iasp.specMakefilesrc/Makefiledata/Makefile])

⌨️ 快捷键说明

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