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

📄 configure

📁 MPICH是MPI的重要研究,提供了一系列的接口函数,为并行计算的实现提供了编程环境.
💻
📖 第 1 页 / 共 5 页
字号:
int main() { exit(0); }int t() { main(); }EOFif eval $compile; then  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""yes"elseecho "$ac_t""yes" 1>&1fi    have_lib="1"   else if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""no"elseecho "$ac_t""no" 1>&1fi    expandcompile=`echo "$compile" | sed -e 's/>.*//'`    eval echo "configure:$expandcompile" >> config.log    echo "configure: failed program was:" >>config.log    cat confdefs.h >> config.log    cat conftest.c >> config.log    if test -s conftest.out ; then cat conftest.out >> config.log     else      ${CC-cc} $CFLAGS conftest.c -o conftest $LDFLAGS $LIBS >> config.log 2>&1    fifirm -f conftest*LIBS="${LIBS_save}"if test -n "${have_lib}"; then   {test -n "$verbose" && \echo "	defining HAVE_LIBBSD"echo "#define" HAVE_LIBBSD 1 >> confdefs.hDEFS="$DEFS -DHAVE_LIBBSD=1"}   LIBS="${LIBS} -lbsd"fi    if test -n "$p4comm_shared"; then      DEFINE_SYSV_IPC="#define SYSV_IPC"    fifi#						SP with MPLif test -n "$p4arch_SP1_EUI"; then    P4ARCH=SP1_EUI    if test $USERCC = 0 ;  then CC=mpcc ; fi    if test $USERF77 = 0 ; then FC=mpxlf ; fi    FLINKER=$FC    CLINKER=$CC    RANLIB=true    LIBS_save="${LIBS}"LIBS="${LIBS} -lbsd"have_lib=""if test -z "$ac_echo_n" ; thenac_echo_n=yesif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then    ac_n= ac_c='' ac_t='	'  else    ac_n=-n ac_c= ac_t=  fielse  ac_n= ac_c='\c' ac_t=fiac_echo_test=`echo foo 1>&1`if test -z "$ac_echo_test" ; then     print_error "Your sh shell does not handle the output redirection"     print_error "1>&1 correctly.  Configure will work around this problem,"     print_error "but you should report the problem to your vendor."fifiif test -z "$ac_echo_test" -a 1 = 1 ; thenecho $ac_n "checking for -lbsd""... $ac_c"elseecho $ac_n "checking for -lbsd""... $ac_c" 1>&1fiif test ! -f confdefs.h ; then    if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t"""!! SHELL ERROR !!""elseecho "$ac_t"""!! SHELL ERROR !!"" 1>&1fi    echo "The file confdefs.h created by configure has been removed"    echo "This may be a problem with your shell; some versions of LINUX"    echo "have this problem.  See the Installation guide for more"    echo "information."    exit 1ficat > conftest.c <<EOF#include "confdefs.h"int main() { exit(0); }int t() { main(); }EOFif eval $compile; then  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""yes"elseecho "$ac_t""yes" 1>&1fi    have_lib="1"   else if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""no"elseecho "$ac_t""no" 1>&1fi    expandcompile=`echo "$compile" | sed -e 's/>.*//'`    eval echo "configure:$expandcompile" >> config.log    echo "configure: failed program was:" >>config.log    cat confdefs.h >> config.log    cat conftest.c >> config.log    if test -s conftest.out ; then cat conftest.out >> config.log     else      ${CC-cc} $CFLAGS conftest.c -o conftest $LDFLAGS $LIBS >> config.log 2>&1    fifirm -f conftest*LIBS="${LIBS_save}"if test -n "${have_lib}"; then   {test -n "$verbose" && \echo "	defining HAVE_LIBBSD"echo "#define" HAVE_LIBBSD 1 >> confdefs.hDEFS="$DEFS -DHAVE_LIBBSD=1"}   LIBS="${LIBS} -lbsd"fi    MDEP_CFLAGS = -I/usr/lpp/poe/includefi#						SP with EUIH (obsolete)if test -n "$p4arch_SP1_EUI"; then    P4ARCH=SP1_EUIH    if test $USERCC = 0 ;  then CC=cc ; fi    if test $USERF77 = 0 ; then FC=xlf ; fi    FLINKER="xlf -bimport:/usr/lpp/euih/eui/eui.exp"    CLINKER="xlc -bimport:/usr/lpp/euih/eui/eui.exp -e main"    RANLIB=true    LIBS_save="${LIBS}"LIBS="${LIBS} -lbsd"have_lib=""if test -z "$ac_echo_n" ; thenac_echo_n=yesif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then    ac_n= ac_c='' ac_t='	'  else    ac_n=-n ac_c= ac_t=  fielse  ac_n= ac_c='\c' ac_t=fiac_echo_test=`echo foo 1>&1`if test -z "$ac_echo_test" ; then     print_error "Your sh shell does not handle the output redirection"     print_error "1>&1 correctly.  Configure will work around this problem,"     print_error "but you should report the problem to your vendor."fifiif test -z "$ac_echo_test" -a 1 = 1 ; thenecho $ac_n "checking for -lbsd""... $ac_c"elseecho $ac_n "checking for -lbsd""... $ac_c" 1>&1fiif test ! -f confdefs.h ; then    if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t"""!! SHELL ERROR !!""elseecho "$ac_t"""!! SHELL ERROR !!"" 1>&1fi    echo "The file confdefs.h created by configure has been removed"    echo "This may be a problem with your shell; some versions of LINUX"    echo "have this problem.  See the Installation guide for more"    echo "information."    exit 1ficat > conftest.c <<EOF#include "confdefs.h"int main() { exit(0); }int t() { main(); }EOFif eval $compile; then  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""yes"elseecho "$ac_t""yes" 1>&1fi    have_lib="1"   else if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""no"elseecho "$ac_t""no" 1>&1fi    expandcompile=`echo "$compile" | sed -e 's/>.*//'`    eval echo "configure:$expandcompile" >> config.log    echo "configure: failed program was:" >>config.log    cat confdefs.h >> config.log    cat conftest.c >> config.log    if test -s conftest.out ; then cat conftest.out >> config.log     else      ${CC-cc} $CFLAGS conftest.c -o conftest $LDFLAGS $LIBS >> config.log 2>&1    fifirm -f conftest*LIBS="${LIBS_save}"if test -n "${have_lib}"; then   {test -n "$verbose" && \echo "	defining HAVE_LIBBSD"echo "#define" HAVE_LIBBSD 1 >> confdefs.hDEFS="$DEFS -DHAVE_LIBBSD=1"}   LIBS="${LIBS} -lbsd"fi    MDEP_CFLAGS=-D_ALL_SOURCEfi#						SGI workstationsif test -n "$p4arch_SGI"; then    P4ARCH=SGI    RANLIB=true    # Look for getpwnam.  If not found, try to find it in -lsun    if test -z "$ac_echo_n" ; thenac_echo_n=yesif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then    ac_n= ac_c='' ac_t='	'  else    ac_n=-n ac_c= ac_t=  fielse  ac_n= ac_c='\c' ac_t=fiac_echo_test=`echo foo 1>&1`if test -z "$ac_echo_test" ; then     print_error "Your sh shell does not handle the output redirection"     print_error "1>&1 correctly.  Configure will work around this problem,"     print_error "but you should report the problem to your vendor."fifiif test -z "$ac_echo_test" -a 1 = 1 ; thenecho $ac_n "checking for getpwnam""... $ac_c"elseecho $ac_n "checking for getpwnam""... $ac_c" 1>&1fiif test ! -f confdefs.h ; then    if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t"""!! SHELL ERROR !!""elseecho "$ac_t"""!! SHELL ERROR !!"" 1>&1fi    echo "The file confdefs.h created by configure has been removed"    echo "This may be a problem with your shell; some versions of LINUX"    echo "have this problem.  See the Installation guide for more"    echo "information."    exit 1ficat > conftest.c <<EOF#include "confdefs.h"#include <ctype.h>int main() { exit(0); }int t() { /* The GNU C library defines this for functions which it implements    to always fail with ENOSYS.  Some functions are actually named    something starting with __ and the normal name is an alias.  */#if defined (__stub_getpwnam) || defined (__stub___getpwnam)choke me#else/* Override any gcc2 internal prototype to avoid an error.  */extern char getpwnam(); getpwnam();#endif }EOFif eval $compile; then  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""yes"elseecho "$ac_t""yes" 1>&1fi    has_getpwnam=1else  expandcompile=`echo "$compile" | sed -e 's/>.*//'`  eval echo "configure:$expandcompile" >> config.log  echo "configure: failed program was:" >>config.log  cat confdefs.h >> config.log  cat conftest.c >> config.log  if test -s conftest.out ; then cat conftest.out >> config.log   else      ${CC-cc} $CFLAGS conftest.c -o conftest $LDFLAGS $LIBS >> config.log 2>&1  fi  has_getpwnam=0    if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""no"elseecho "$ac_t""no" 1>&1fi    expandcompile=`echo "$compile" | sed -e 's/>.*//'`    eval echo "configure:$expandcompile" >> config.log    echo "configure: failed program was:" >>config.log    cat confdefs.h >> config.log    cat conftest.c >> config.log    if test -s conftest.out ; then cat conftest.out >> config.log     else      ${CC-cc} $CFLAGS conftest.c -o conftest $LDFLAGS $LIBS >> config.log 2>&1    fifirm -f conftest*    if test $has_getpwnam = 0 ; then        LIBS_save="${LIBS}"LIBS="${LIBS} -lsun"have_lib=""if test -z "$ac_echo_n" ; thenac_echo_n=yesif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then    ac_n= ac_c='' ac_t='	'  else    ac_n=-n ac_c= ac_t=  fielse  ac_n= ac_c='\c' ac_t=fiac_echo_test=`echo foo 1>&1`if test -z "$ac_echo_test" ; then     print_error "Your sh shell does not handle the output redirection"     print_error "1>&1 correctly.  Configure will work around this problem,"     print_error "but you should report the problem to your vendor."fifiif test -z "$ac_echo_test" -a 1 = 1 ; thenecho $ac_n "checking for -lsun""... $ac_c"elseecho $ac_n "checking for -lsun""... $ac_c" 1>&1fiif test ! -f confdefs.h ; then    if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t"""!! SHELL ERROR !!""elseecho "$ac_t"""!! SHELL ERROR !!"" 1>&1fi    echo "The file confdefs.h created by configure has been removed"    echo "This may be a problem with your shell; some versions of LINUX"    echo "have this problem.  See the Installation guide for more"    echo "information."    exit 1ficat > conftest.c <<EOF#include "confdefs.h"int main() { exit(0); }int t() { main(); }EOFif eval $compile; then  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""yes"elseecho "$ac_t""yes" 1>&1fi    have_lib="1"   else if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""no"elseecho "$ac_t""no" 1>&1fi    expandcompile=`echo "$compile" | sed -e 's/>.*//'`    eval echo "configure:$expandcompile" >> config.log    echo "configure: failed program was:" >>config.log    cat confdefs.h >> config.log    cat conftest.c >> config.log    if test -s conftest.out ; then cat conftest.out >> config.log     else      ${CC-cc} $CFLAGS conftest.c -o conftest $LDFLAGS $LIBS >> config.log 2>&1    fifirm -f conftest*LIBS="${LIBS_save}"if test -n "${have_lib}"; then   {test -n "$verbose" && \echo "	defining HAVE_LIBSUN"echo "#define" HAVE_LIBSUN 1 >> confdefs.hDEFS="$DEFS -DHAVE_LIBSUN=1"}   LIBS="${LIBS} -lsun"fi    fi        if test -n "$p4comm_shared"; then      DEFINE_VENDOR_IPC="#define VENDOR_IPC"    fifi# temporary until complete SGI fixup:  accept SGI5 as valid arch#						SGI workstations with IRIX 5if test -n "$p4arch_SGI5"; then    P4ARCH=SGI    RANLIB=true    if test -z "$ac_echo_n" ; thenac_echo_n=yesif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then    ac_n= ac_c='' ac_t='	'  else    ac_n=-n ac_c= ac_t=  fielse  ac_n= ac_c='\c' ac_t=fiac_echo_test=`echo foo 1>&1`if test -z "$ac_echo_test" ; then     print_error "Your sh shell does not handle the output redirection"     print_error "1>&1 correctly.  Configure will work around this problem,"     print_error "but you should report the problem to your vendor."fifiif test -z "$ac_echo_test" -a 1 = 1 ; thenecho $ac_n "checking for getpwnam""... $ac_c"elseecho $ac_n "checking for getpwnam""... $ac_c" 1>&1fiif test ! -f confdefs.h ; then    if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t"""!! SHELL ERROR !!""elseecho "$ac_t"""!! SHELL ERROR !!"" 1>&1fi    echo "The file confdefs.h created by configure has been removed"    echo "This may be a problem with your shell; some versions of LINUX"    echo "have this problem.  See the Installation guide for more"    echo "information."    exit 1ficat > conftest.c <<EOF#include "confdefs.h"#include <ctype.h>int main() { exit(0); }int t() { /* The GNU C library defines this for functions which it implements    to always fail with ENOSYS.  Some functions are actually named    something starting with __ and the normal name is an alias.  */#if defined (__stub_getpwnam) || defined (__stub___getpwnam)choke me#else/* Override any gcc2 internal prototype to avoid an error.  */extern char getpwnam(); getpwnam();#endif }EOFif eval $compile; t

⌨️ 快捷键说明

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