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

📄 configure.in

📁 fortran并行计算包
💻 IN
字号:
AC_PREREQ(2.59)dnl Process this file with autoconf to produce a configure script.dnldnl aclocal_cache.m4, included by sowing/confdb/aclocal.m4, fixes dnl bugs in autoconf caching.dnldnl The file name here refers to a file in the source being configuredAC_INIT(smpd_pmi.c)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()dnl Definitions will be placed in this file rather than in the DEFS variableAC_CONFIG_HEADER(pmiconf.h)AH_TOP([/* -*- Mode: C; c-basic-offset:4 ; -*- *//*   *  (C) 2001 by Argonne National Laboratory. *      See COPYRIGHT in top-level directory. */#ifndef PMICONF_H_INCLUDED#define PMICONF_H_INCLUDED])AH_BOTTOM([#endif])dnldnl Set the directory that contains support scripts such as install-sh anddnl config.guessdnl AC_CONFIG_AUX_DIR(../../../confdb)dnlecho "RUNNING CONFIGURE FOR THE SMPD PMI"dnldnldnl Use AC_ARG_ENABLE to look for --enable-feature and AC_ARG_WITH to look fordnl --with-capabilitydnldnl Enable better caching controlPAC_ARG_CACHINGPAC_PROG_MAKEsave_libs=$LIBSLIBS=AC_CHECK_HEADERS(stdarg.h unistd.h string.h stdlib.h dlfcn.h uuid/uuid.h mach-o/dyld.h ctype.h)AC_CHECK_FUNCS( dlopen NSLinkModule )AC_SEARCH_LIBS( dlopen, dl )AC_TRY_COMPILE([#include <dlfcn.h>],[int a;],ac_cv_func_dlopen=yes,ac_cv_func_dlopen=no)if test "$ac_cv_func_dlopen" = yes ; then    AC_DEFINE(HAVE_DLOPEN,1,[Define if you have the dlopen function.])fidnl AC_DEFINE(USE_HUMAN_READABLE_TOKENS,1,[Define to use ='s and spaces in the string utilities.])SMPD_PMI_LIBS=$LIBSLIBS=$save_libs# Add the MPICH2 include flags to CPPFLAGS.  See the discussion above about# which include flags should start in MPICH2_INCLUDE_FLAGS and which in # CPPFLAGS# SMPD needs a definition for MPID_IOV and the sock utilities, so# it needs the MPICH2 include pathsCPPFLAGS="$CPPFLAGS $MPICH2_INCLUDE_FLAGS"AC_SUBST(SMPD_PMI_LIBS)AC_SUBST(AR)AC_SUBST(RANLIB)AC_SUBST(MPILIBNAME)AC_SUBST(CC)AC_SUBST(CFLAGS)AC_SUBST(CPPFLAGS)AC_SUBST(CC_SHL)AC_SUBST(C_LINK_SHL)AC_SUBST(ENABLE_SHLIB)AC_SUBST(master_top_srcdir)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 + -