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

📄 configure.in

📁 fortran并行计算包
💻 IN
字号:
AC_PREREQ(2.59)AC_INIT(configure.in)dnldnl Set the directory that contains support scripts such as install-sh anddnl config.guessdnlAC_CONFIG_AUX_DIR(../../../../confdb)dnl The MPICH2 top-level configure adds a bunch of flags to thednl user-defined CFLAGS by processing different configure command-linednl arguments (--enable-g, --enable-default-optimization). These updateddnl flags are passed down as a separate flag. Here, we don't care aboutdnl the user-defined flags, but rather this updated flags, so we justdnl overwrite CFLAGS with them.PAC_SUBCONFIG_INIT()dnldnl Definitions will be placed in this file rather than in the DEFS variablednlAC_CONFIG_HEADER(mpidu_sock_conf.h)AH_TOP([/* -*- Mode: C; c-basic-offset:4 ; -*- *//*   *  (C) 2001 by Argonne National Laboratory. *      See COPYRIGHT in top-level directory. */#ifndef MPIDU_SOCK_CONF_H_INCLUDED#define MPIDU_SOCK_CONF_H_INCLUDED])AH_BOTTOM([#endif])echo "RUNNING CONFIGURE FOR THE SOCK INTERFACE"dnldnl First check that we have a clean build if we are doing a VPATH buildPAC_VPATH_CHECK()PAC_LOAD_BASE_CACHE. ${master_top_srcdir}/src/mpid/common/sock/setup.argsexport sock_nameAC_SUBST(sock_name)# Adding this prevents the pesky "(strerror() not found)" problem, which can be very frustrating in# the sock code, the most likely to receive an error code from the system.  This is yet another# example of the shakey build system for the src/mpid/common directories. [goodell@ 2008-01-10]AC_CHECK_FUNCS(strerror)PAC_PROG_MAKEAC_CHECK_PROGS(AR,ar)if test -z "$AR" ; then    AC_MSG_ERROR([The program ar is required for building MPICH2.  Make sure that your path includes ar])fi# Note that we set RANLIB to true if we don't find it (some systems neither# need it nor provide it)AC_CHECK_PROGS(RANLIB,ranlib,true)AC_SUBST(AR)AC_SUBST(RANLIB)AC_SUBST(MPILIBNAME)AC_SUBST(CC)AC_SUBST(CFLAGS)AC_SUBST(CPPFLAGS)PAC_CC_SUBDIR_SHLIBSif test -z "$ENABLE_SHLIB" -o "$ENABLE_SHLIB" = "no" ; then    ENABLE_SHLIB=nonefiAC_SUBST(master_top_srcdir)# Master_top_builddir is imported from the top; use it for the "top"# (used for things like libtool)if test -z "$master_top_builddir" ; then    if test -s ../../../../.mpich2 ; then        master_top_builddir=../../../..    elif test -n "$LIBTOOL" ; then        AC_MSG_ERROR([Panic! cannot find the top directory])    fifiAC_SUBST(master_top_builddir)dnldnl Dependency handlingAC_SUBST(MAKE_DEPEND_C)dnldnl EtagsAC_SUBST(ETAGS)AC_SUBST(ETAGSADD)export ETAGSexport ETAGSADDPAC_SUBDIR_CACHEexport RANLIBexport AR# FIXME: autoconf doesn't like variable names in the config_subdirs call.AC_CONFIG_SUBDIRS(${sock_name})# Add the MPICH2 include flags to CPPFLAGS.  See the discussion above about# which include flags should start in MPICH2_INCLUDE_FLAGS and which in # CPPFLAGSCPPFLAGS="$CPPFLAGS $MPICH2_INCLUDE_FLAGS"dnl Place holder macro for finalizationPAC_SUBCONFIG_FINALIZE()AC_OUTPUT(Makefile localdefs)PAC_SUBDIR_CACHE_CLEANUP

⌨️ 快捷键说明

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