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

📄 configure.in

📁 刚才是说明 现在是安装程序在 LINUX环境下进行编程的MPICH安装文件
💻 IN
字号:
AC_INIT(configure.in)dnldnl Set the directory that contains support scripts such as install-sh anddnl config.guessdnlAC_CONFIG_AUX_DIR(../../../../../confdb)dnldnl Definitions will be placed in this file rather than in the DEFS variablednlAC_CONFIG_HEADER(include/mpidi_ch3i_tcp_conf.h)echo "RUNNING CONFIGURE FOR THE TCP CHANNEL"dnldnl First check that we have a clean build if we are doing a VPATH buildif test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status ; then    AC_MSG_ERROR([You cannot do a VPATH build if the source directory has been    configured.  Run "make distclean" in $srcdir first.])fiPAC_PROG_MAKEAC_CHECK_HEADERS(				\    assert.h					\    errno.h					\    fcntl.h					\    netdb.h					\    netinet/in.h				\    netinet/tcp.h				\    stdlib.h					\    sys/param.h					\    sys/poll.h					\    sys/socket.h				\    sys/types.h					\    unistd.h)AC_SEARCH_LIBS(socket,socket)if test "$ac_cv_search_socket" != "none required" ; then    TCP_LIBS="$TCP_LIBS $ac_cv_search_socket" fiAC_SEARCH_LIBS(gethostbyname,nsl)if test "$ac_cv_search_gethostbyname" != "none required" ; then    TCP_LIBS="$TCP_LIBS $ac_cv_search_gethostbyname" fi## Check for socklen_t .  If undefined, define it as intAC_CACHE_CHECK([whether socklen_t is defined],pac_cv_have_socklen_t,[AC_TRY_COMPILE([#include <sys/types.h>#include <sys/socket.h>]typedef double socklen_t;,[socklen_t a;],pac_cv_have_socklen_t=no,pac_cv_have_socklen_t=yes)])if test "$pac_cv_have_socklen_t" = no ; then    AC_DEFINE(socklen_t,int,[Define if socklen_t is not defined])fiAC_SUBST(TCP_LIBS)AC_SUBST(DEVICE)AC_SUBST(CHANNEL)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(master_top_srcdir)AC_OUTPUT(Makefile src/Makefile localdefs)

⌨️ 快捷键说明

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