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

📄 configure.in

📁 fortran并行计算包
💻 IN
字号:
AC_PREREQ(2.59)dnl Process this file with autoconf to produce a configure script.dnldnl The file name here refers to a file in the source being configuredAC_INIT(rlog.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(rlogconf.h)AH_TOP([/* -*- Mode: C; c-basic-offset:4 ; -*- *//*   *  (C) 2001 by Argonne National Laboratory. *      See COPYRIGHT in top-level directory. */#ifndef FORKERCONF_H_INCLUDED#define FORKERCONF_H_INCLUDED])AH_BOTTOM([#endif])dnlecho "RUNNING CONFIGURE FOR RLOG"dnldnldnl Enable better caching controlPAC_ARG_CACHINGdnlAC_ARG_ENABLE(echo, [--enable-echo  - Turn on strong echoing. The default is enable=no.] ,set -x)AC_ARG_ENABLE(sharedlibs,[--enable-sharedlibs=kind - Enable shared libraries.  kind may be    gnu     - Standard gcc and GNU ld options for creating shared libraries    libtool - GNU libtool This option is currently ignored])dnl First check that we have a clean build if we are doing a VPATH buildPAC_VPATH_CHECK()dnl This test is complicated by the fact that top_srcdir is not set untildnl the very end of configure.  Instead, we get it ourselvesif test -z "$top_srcdir" ; then   use_top_srcdir=$srcdir   else   use_top_srcdir=$top_srcdirfiif test -z "$master_top_srcdir" ; then     master_top_srcdir=$use_top_srcdirfiAC_SUBST(master_top_srcdir)export master_top_srcdir## Get the master builddir (which may be imported from above)if test -z "$master_top_builddir" ; then    master_top_builddir=`pwd`fiexport master_top_builddirAC_SUBST(master_top_builddir)dnldnl Find a C compiler (choose gcc first)AC_PROG_CCAC_PATH_PROG(AR,ar)# 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)dnldnl AC_PROG_MAKE_SETPAC_PROG_MAKEdnlAC_PATH_PROG(PERL,perl)dnl     check for compiler characteristicsdnl PAC_PROG_C_WEAK_SYMBOLSAC_C_CONSTPAC_C_VOLATILEPAC_C_RESTRICTAC_C_INLINEdnl PAC_C_STRUCT_ALIGNMENTdnldnl Look for Standard headersAC_HEADER_STDCAC_CHECK_HEADER(jni.h)if test "$ac_cv_header_jni_h" != "yes" ; then   # Try to find the java include path.  For now, just generate warning   # At ANL, places to look include /soft/com/packages/j2sdk1.4.0/include   # and /soft/com/packages/jdk-1.3.1/include (and /soft/com/jdk*)   # May also want to look in $JAVA_HOME/include   AC_MSG_WARN([cannot compile trace code])fidnlMPILIBNAME=${MPILIBNAME:-"mpich"}AC_SUBST(MPILIBNAME)PMPILIBNAME=${PMPILIBNAME:-"p$MPILIBNAME"}AC_SUBST(PMPILIBNAME)dnldnl How do I get configure to find these values for me?dnl use AC_PATH_PROG to find a likely location, then search likely dnl directory paths for the files that you need.  Allow an environmentdnl variable to provide the values, so that if they are in a strangednl place, the user can set the environment variable and configure willdnl use that value (it should still check that the value is valid, i.e.,dnl the necessary files are in the specified directory)dnljava_home=/soft/com/packages/j2sdk1.4.0java_arch=linuxAC_SUBST(java_home)AC_SUBST(java_arch)if test -z "$ENABLE_SHLIB" ; then    CC_SHL="$CC"    ENABLE_SHLIB=nonefiPAC_CC_SUBDIR_SHLIBSdnldnl Dependency handlingAC_SUBST(MAKE_DEPEND_C)dnl AC_SEARCH_LIBS(socket, socket)dnl AC_CHECK_LIB(thread, mutex_init)dnl AC_CHECK_HEADERS(foo.h bar.h)dnl AC_CHECK_FUNCS(baz biff)dnldnl EtagsAC_SUBST(ETAGS)AC_SUBST(ETAGSADD)export ETAGSexport ETAGSADDdnldnl dnldnl Other autoconf variables that may be imported from the calling environmentAC_SUBST(DOCTEXT)dnl Place holder macro for finalizationPAC_SUBCONFIG_FINALIZE()dnl Generate the Makefiles from Makefile.inAC_OUTPUT_COMMANDS([chmod a+x pprintirlog])AC_OUTPUT(Makefile pprintirlog)

⌨️ 快捷键说明

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