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

📄 configure

📁 使用R语言的马尔科夫链蒙特卡洛模拟(MCMC)源代码程序。
💻
📖 第 1 页 / 共 5 页
字号:
# executable, retaining their permissions.  Remove them first so a# subsequent execution test works.ac_rmfiles=for ac_file in $ac_filesdo  case $ac_file in    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;    * ) ac_rmfiles="$ac_rmfiles $ac_file";;  esacdonerm -f $ac_rmfilesif { (ac_try="$ac_link_default"case "(($ac_try" in  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  *) ac_try_echo=$ac_try;;esaceval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  (eval "$ac_link_default") 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); }; then  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'# in a Makefile.  We should not override ac_cv_exeext if it was cached,# so that the user can short-circuit this test for compilers unknown to# Autoconf.for ac_file in $ac_files ''do  test -f "$ac_file" || continue  case $ac_file in    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )	;;    [ab].out )	# We found the default executable, but exeext='' is most	# certainly right.	break;;    *.* )        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;	then :; else	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`	fi	# We set ac_cv_exeext here because the later test for it is not	# safe: cross compilers may not add the suffix if given an `-o'	# argument, so we may need to know it at that point already.	# Even if this section looks crufty: it has the advantage of	# actually working.	break;;    * )	break;;  esacdonetest "$ac_cv_exeext" = no && ac_cv_exeext=else  ac_file=''fi{ echo "$as_me:$LINENO: result: $ac_file" >&5echo "${ECHO_T}$ac_file" >&6; }if test -z "$ac_file"; then  echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executablesSee \`config.log' for more details." >&5echo "$as_me: error: C++ compiler cannot create executablesSee \`config.log' for more details." >&2;}   { (exit 77); exit 77; }; }fiac_exeext=$ac_cv_exeext# Check that the compiler produces executables we can run.  If not, either# the compiler is broken, or we cross compile.{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }# FIXME: These cross compiler hacks should be removed for Autoconf 3.0# If not cross compiling, check that we can run a simple program.if test "$cross_compiling" != yes; then  if { ac_try='./$ac_file'  { (case "(($ac_try" in  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  *) ac_try_echo=$ac_try;;esaceval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  (eval "$ac_try") 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); }; }; then    cross_compiling=no  else    if test "$cross_compiling" = maybe; then	cross_compiling=yes    else	{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.If you meant to cross compile, use \`--host'.See \`config.log' for more details." >&5echo "$as_me: error: cannot run C++ compiled programs.If you meant to cross compile, use \`--host'.See \`config.log' for more details." >&2;}   { (exit 1); exit 1; }; }    fi  fifi{ echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6; }rm -f a.out a.exe conftest$ac_cv_exeext b.outac_clean_files=$ac_clean_files_save# Check that the compiler produces executables we can run.  If not, either# the compiler is broken, or we cross compile.{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }{ echo "$as_me:$LINENO: result: $cross_compiling" >&5echo "${ECHO_T}$cross_compiling" >&6; }{ echo "$as_me:$LINENO: checking for suffix of executables" >&5echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }if { (ac_try="$ac_link"case "(($ac_try" in  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  *) ac_try_echo=$ac_try;;esaceval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  (eval "$ac_link") 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); }; then  # If both `conftest.exe' and `conftest' are `present' (well, observable)# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will# work properly (i.e., refer to `conftest.exe'), while it won't with# `rm'.for ac_file in conftest.exe conftest conftest.*; do  test -f "$ac_file" || continue  case $ac_file in    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`	  break;;    * ) break;;  esacdoneelse  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and linkSee \`config.log' for more details." >&5echo "$as_me: error: cannot compute suffix of executables: cannot compile and linkSee \`config.log' for more details." >&2;}   { (exit 1); exit 1; }; }firm -f conftest$ac_cv_exeext{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5echo "${ECHO_T}$ac_cv_exeext" >&6; }rm -f conftest.$ac_extEXEEXT=$ac_cv_exeextac_exeext=$EXEEXT{ echo "$as_me:$LINENO: checking for suffix of object files" >&5echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }if test "${ac_cv_objext+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  cat >conftest.$ac_ext <<_ACEOF/* confdefs.h.  */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h.  */intmain (){  ;  return 0;}_ACEOFrm -f conftest.o conftest.objif { (ac_try="$ac_compile"case "(($ac_try" in  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  *) ac_try_echo=$ac_try;;esaceval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  (eval "$ac_compile") 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); }; then  for ac_file in conftest.o conftest.obj conftest.*; do  test -f "$ac_file" || continue;  case $ac_file in    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`       break;;  esacdoneelse  echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compileSee \`config.log' for more details." >&5echo "$as_me: error: cannot compute suffix of object files: cannot compileSee \`config.log' for more details." >&2;}   { (exit 1); exit 1; }; }firm -f conftest.$ac_cv_objext conftest.$ac_extfi{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5echo "${ECHO_T}$ac_cv_objext" >&6; }OBJEXT=$ac_cv_objextac_objext=$OBJEXT{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }if test "${ac_cv_cxx_compiler_gnu+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  cat >conftest.$ac_ext <<_ACEOF/* confdefs.h.  */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h.  */intmain (){#ifndef __GNUC__       choke me#endif  ;  return 0;}_ACEOFrm -f conftest.$ac_objextif { (ac_try="$ac_compile"case "(($ac_try" in  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  *) ac_try_echo=$ac_try;;esaceval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  (eval "$ac_compile") 2>conftest.er1  ac_status=$?  grep -v '^ *+' conftest.er1 >conftest.err  rm -f conftest.er1  cat conftest.err >&5  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } && {	 test -z "$ac_cxx_werror_flag" ||	 test ! -s conftest.err       } && test -s conftest.$ac_objext; then  ac_compiler_gnu=yeselse  echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5	ac_compiler_gnu=nofirm -f core conftest.err conftest.$ac_objext conftest.$ac_extac_cv_cxx_compiler_gnu=$ac_compiler_gnufi{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }GXX=`test $ac_compiler_gnu = yes && echo yes`ac_test_CXXFLAGS=${CXXFLAGS+set}ac_save_CXXFLAGS=$CXXFLAGS{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }if test "${ac_cv_prog_cxx_g+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  ac_save_cxx_werror_flag=$ac_cxx_werror_flag   ac_cxx_werror_flag=yes   ac_cv_prog_cxx_g=no   CXXFLAGS="-g"   cat >conftest.$ac_ext <<_ACEOF/* confdefs.h.  */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h.  */intmain (){  ;  return 0;}_ACEOFrm -f conftest.$ac_objextif { (ac_try="$ac_compile"case "(($ac_try" in  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  *) ac_try_echo=$ac_try;;esaceval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  (eval "$ac_compile") 2>conftest.er1  ac_status=$?  grep -v '^ *+' conftest.er1 >conftest.err  rm -f conftest.er1  cat conftest.err >&5  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } && {	 test -z "$ac_cxx_werror_flag" ||	 test ! -s conftest.err       } && test -s conftest.$ac_objext; then  ac_cv_prog_cxx_g=yeselse  echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5	CXXFLAGS=""      cat >conftest.$ac_ext <<_ACEOF/* confdefs.h.  */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h.  */intmain (){  ;  return 0;}_ACEOFrm -f conftest.$ac_objextif { (ac_try="$ac_compile"case "(($ac_try" in  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  *) ac_try_echo=$ac_try;;esaceval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  (eval "$ac_compile") 2>conftest.er1  ac_status=$?  grep -v '^ *+' conftest.er1 >conftest.err  rm -f conftest.er1  cat conftest.err >&5  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } && {	 test -z "$ac_cxx_werror_flag" ||	 test ! -s conftest.err       } && test -s conftest.$ac_objext; then  :else  echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5	ac_cxx_werror_flag=$ac_save_cxx_werror_flag	 CXXFLAGS="-g"	 cat >conftest.$ac_ext <<_ACEOF/* confdefs.h.  */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h.  */intmain (){  ;  return 0;}_ACEOFrm -f conftest.$ac_objextif { (ac_try="$ac_compile"case "(($ac_try" in  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  *) ac_try_echo=$ac_try;;esaceval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  (eval "$ac_compile") 2>conftest.er1  ac_status=$?  grep -v '^ *+' conftest.er1 >conftest.err  rm -f conftest.er1  cat conftest.err >&5  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } && {	 test -z "$ac_cxx_werror_flag" ||	 test ! -s conftest.err       } && test -s conftest.$ac_objext; then  ac_cv_prog_cxx_g=yeselse  echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5firm -f core conftest.err conftest.$ac_objext conftest.$ac_extfirm -f core conftest.err conftest.$ac_objext conftest.$ac_extfirm -f core conftest.err conftest.$ac_objext conftest.$ac_ext   ac_cxx_werror_flag=$ac_save_cxx_werror_flagfi{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }if test "$ac_test_CXXFLAGS" = set; then  CXXFLAGS=$ac_save_CXXFLAGSelif test $ac_cv_prog_cxx_g = yes; then  if test "$GXX" = yes; then    CXXFLAGS="-g -O2"  else    CXXFLAGS="-g"  fielse  if test "$GXX" = yes; then    CXXFLAGS="-O2"  else    CXXFLAGS=  fifiac_ext=cac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnuif test "${GXX}" = yes; then  gxx_version=`${CXX} -v 2>&1 | grep "^.*g.. version" | \     sed -e 's/^.*g.. version *//'`  case ${gxx_version} in    1.*|2.*)      { echo "$as_me:$LINENO: WARNING: Only g++ version 3.0 or greater can be used with MCMCpack." >&5echo "$as_me: WARNING: Only g++ version 3.0 or greater can be used with MCMCpack." >&2;}      { { echo "$as_me:$LINENO: error: Please use a different compiler." >&5echo "$as_me: error: Please use a different compiler." >&2;}   { (exit 1); exit 1; }; }   ;;  esacfiac_ext=cac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnuif test -n "$ac_tool_prefix"; then  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.set dummy ${ac_tool_prefix}gcc; ac_word=$2{ echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }if test "${ac_cv_prog_CC+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  if test -n "$CC"; then  ac_cv_prog_CC="$CC" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo  IFS=$as_save_IFS  test -z "$as_dir" && as_dir=.  for ac_exec_ext in '' $ac_executable_extensions; do  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    ac_cv_prog_CC="${ac_tool_prefix}

⌨️ 快捷键说明

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