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

📄 configure

📁 MPICH是MPI的重要研究,提供了一系列的接口函数,为并行计算的实现提供了编程环境.
💻
📖 第 1 页 / 共 5 页
字号:
echo "#define" HAVE_LIBTHREAD 1 >> confdefs.hDEFS="$DEFS -DHAVE_LIBTHREAD=1"}   LIBS="${LIBS} -lthread"fi    fi    LIBS_save="${LIBS}"LIBS="${LIBS} -lsocket"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 -lsocket""... $ac_c"elseecho $ac_n "checking for -lsocket""... $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_LIBSOCKET"echo "#define" HAVE_LIBSOCKET 1 >> confdefs.hDEFS="$DEFS -DHAVE_LIBSOCKET=1"}   LIBS="${LIBS} -lsocket"fi    LIBS_save="${LIBS}"LIBS="${LIBS} -lnsl"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 -lnsl""... $ac_c"elseecho $ac_n "checking for -lnsl""... $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_LIBNSL"echo "#define" HAVE_LIBNSL 1 >> confdefs.hDEFS="$DEFS -DHAVE_LIBNSL=1"}   LIBS="${LIBS} -lnsl"fi    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 how many arguments gettimeofday takes""... $ac_c"elseecho $ac_n "checking for how many arguments gettimeofday takes""... $ac_c" 1>&1fi    cat > conftest.c <<EOF#include "confdefs.h"#include <sys/time.h>main() {struct timeval tp;gettimeofday(&tp);return 0;}EOFeval $compileif test -s conftest && (./conftest; exit) 2>/dev/null; then  MDEP_CFLAGS="$MDEP_CFLAGS -DUSE_WIERDGETTIMEOFDAY"if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""one!"elseecho "$ac_t""one!" 1>&1fielse  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""two - whew"elseecho "$ac_t""two - whew" 1>&1fifirm -fr conftest*        fi#						HP workstationif test -n "$p4arch_HP"; then    P4ARCH=HP    RANLIB=true    # See if we need V3 for sighold    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 sighold""... $ac_c"elseecho $ac_n "checking for sighold""... $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_sighold) || defined (__stub___sighold)choke me#else/* Override any gcc2 internal prototype to avoid an error.  */extern char sighold(); sighold();#endif }EOFif eval $compile; then  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""yes"elseecho "$ac_t""yes" 1>&1fi    sighold_in_libc=yeselse  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  sighold_in_libc=no    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 $sighold_in_libc = "no" ; then        # See if it is in V3	save_LIBS="$LIBS"	LIBS="$LIBS -lV3"	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 sighold""... $ac_c"elseecho $ac_n "checking for sighold""... $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_sighold) || defined (__stub___sighold)choke me#else/* Override any gcc2 internal prototype to avoid an error.  */extern char sighold(); sighold();#endif }EOFif eval $compile; then  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""yes"elseecho "$ac_t""yes" 1>&1fi    sighold_in_libV3=yeselse  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  sighold_in_libV3=no    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 $sighold_in_libV3 = yes ; then	    # Call have_library just to force configure to add it to the	    # right places            LIBS_save="${LIBS}"LIBS="${LIBS} -lV3"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 -lV3""... $ac_c"elseecho $ac_n "checking for -lV3""... $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

⌨️ 快捷键说明

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