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

📄 configure

📁 模糊聚類分析源碼。包含教學文件
💻
📖 第 1 页 / 共 5 页
字号:
EOF STL_PATH="-I${ac_optarg}"       else	 { echo "configure: error: This package requires an STL - not found at ${ac_optarg}." 1>&2; exit 1; }       fi       if test -r "${ac_optarg}/stl_config.h"; then         cat >> confdefs.h <<\EOF#define BOOL_DEFINED_IN_STL_CONFIG_H 1EOF       else         if test -r "${ac_optarg}/bool.h"; then           cat >> confdefs.h <<\EOF#define BOOL_DEFINED_IN_BOOL_H 1EOF         else	   { echo "configure: error: Have not found stl_config.h neither bool.h" 1>&2; exit 1; }         fi       fi      else  cat > conftest.$ac_ext <<EOF#line 1261 "configure"#include "confdefs.h"#include <map.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  rm -rf conftest*  cat >> confdefs.h <<\EOF#define STL_FOUND 1EOFelse  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  { echo "configure: error: This package requires an STL." 1>&2; exit 1; }       firm -f conftest*       cat > conftest.$ac_ext <<EOF#line 1284 "configure"#include "confdefs.h"#include <stl_config.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  rm -rf conftest*  cat >> confdefs.h <<\EOF#define BOOL_DEFINED_IN_STL_CONFIG_H 1EOFelse  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  cat > conftest.$ac_ext <<EOF#line 1303 "configure"#include "confdefs.h"#include <bool.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1308: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  rm -rf conftest*  cat >> confdefs.h <<\EOF#define BOOL_DEFINED_IN_BOOL_H 1EOFelse  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  { echo "configure: error: Have not found stl_config.h neither bool.h" 1>&2; exit 1; }         firm -f conftest*       firm -f conftest*          fi        echo "$ac_t""yes" 1>&6        echo $ac_n "checking for template<> specialization""... $ac_c" 1>&6echo "configure:1337: checking for template<> specialization" >&5    cat > conftest.$ac_ext <<EOF#line 1339 "configure"#include "confdefs.h"template <class T> class C { public: T min(); }; template<> int C<int>::min() { return 0; }int main() {; return 0; }EOFif { (eval echo configure:1346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  cat >> confdefs.h <<\EOF#define TEMPLATE_SPECIALIZATION template<>EOF echo "$ac_t""yes" 1>&6else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  cat >> confdefs.h <<\EOF#define TEMPLATE_SPECIALIZATION EOF echo "$ac_t""no" 1>&6    firm -f conftest*    ac_ext=C# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CXXCPP $CPPFLAGS'ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cxx_cross    # Check whether --enable-docs or --disable-docs was given.if test "${enable_docs+set}" = set; then  enableval="$enable_docs"   WEBMAKE="code ps" else   WEBMAKE="code"   fi  # Extract the first word of "gcc", so it can be a program name with args.set dummy gcc; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1389: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$CC"; then  ac_cv_prog_CC="$CC" # Let the user override the test.else  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_prog_CC="gcc"      break    fi  done  IFS="$ac_save_ifs"fifiCC="$ac_cv_prog_CC"if test -n "$CC"; then  echo "$ac_t""$CC" 1>&6else  echo "$ac_t""no" 1>&6fiif test -z "$CC"; then  # Extract the first word of "cc", so it can be a program name with args.set dummy cc; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1419: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$CC"; then  ac_cv_prog_CC="$CC" # Let the user override the test.else  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_prog_rejected=no  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then        ac_prog_rejected=yes	continue      fi      ac_cv_prog_CC="cc"      break    fi  done  IFS="$ac_save_ifs"if test $ac_prog_rejected = yes; then  # We found a bogon in the path, so make sure we never use it.  set dummy $ac_cv_prog_CC  shift  if test $# -gt 0; then    # We chose a different compiler from the bogus one.    # However, it has the same basename, so the bogon will be chosen    # first if we set CC to just the basename; use the full file name.    shift    set dummy "$ac_dir/$ac_word" "$@"    shift    ac_cv_prog_CC="$@"  fifififiCC="$ac_cv_prog_CC"if test -n "$CC"; then  echo "$ac_t""$CC" 1>&6else  echo "$ac_t""no" 1>&6fi  if test -z "$CC"; then    case "`uname -s`" in    *win32* | *WIN32*)      # Extract the first word of "cl", so it can be a program name with args.set dummy cl; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1470: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$CC"; then  ac_cv_prog_CC="$CC" # Let the user override the test.else  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_prog_CC="cl"      break    fi  done  IFS="$ac_save_ifs"fifiCC="$ac_cv_prog_CC"if test -n "$CC"; then  echo "$ac_t""$CC" 1>&6else  echo "$ac_t""no" 1>&6fi ;;    esac  fi  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }fiecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6echo "configure:1502: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5ac_ext=c# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CPP $CPPFLAGS'ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cc_crosscat > conftest.$ac_ext << EOF#line 1513 "configure"#include "confdefs.h"main(){return(0);}EOFif { (eval echo configure:1518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  ac_cv_prog_cc_works=yes  # If we can't run a trivial program, we are probably using a cross compiler.  if (./conftest; exit) 2>/dev/null; then    ac_cv_prog_cc_cross=no  else    ac_cv_prog_cc_cross=yes  fielse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  ac_cv_prog_cc_works=nofirm -fr conftest*ac_ext=C# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CXXCPP $CPPFLAGS'ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cxx_crossecho "$ac_t""$ac_cv_prog_cc_works" 1>&6if test $ac_cv_prog_cc_works = no; then  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }fiecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6echo "configure:1544: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6cross_compiling=$ac_cv_prog_cc_crossecho $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6echo "configure:1549: checking whether we are using GNU C" >&5if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.c <<EOF#ifdef __GNUC__  yes;#endifEOFif { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  ac_cv_prog_gcc=yeselse  ac_cv_prog_gcc=nofifiecho "$ac_t""$ac_cv_prog_gcc" 1>&6if test $ac_cv_prog_gcc = yes; then  GCC=yeselse  GCC=fiac_test_CFLAGS="${CFLAGS+set}"ac_save_CFLAGS="$CFLAGS"CFLAGS=echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6echo "configure:1577: checking whether ${CC-cc} accepts -g" >&5if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  echo 'void f(){}' > conftest.cif test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then  ac_cv_prog_cc_g=yeselse  ac_cv_prog_cc_g=nofirm -f conftest*fiecho "$ac_t""$ac_cv_prog_cc_g" 1>&6if test "$ac_test_CFLAGS" = set; then  CFLAGS="$ac_save_CFLAGS"elif test $ac_cv_prog_cc_g = yes; then  if test "$GCC" = yes; then    CFLAGS="-g -O2"  else    CFLAGS="-g"  fielse  if test "$GCC" = yes; then    CFLAGS="-O2"  else    CFLAGS=  fifi# If we find X, set shell vars x_includes and x_libraries to the# paths, otherwise set no_x=yes.# Uses ac_ vars as temps to allow command line to override cache and checks.# --without-x overrides everything else, but does not touch the cache.echo $ac_n "checking for X""... $ac_c" 1>&6echo "configure:1613: checking for X" >&5# Check whether --with-x or --without-x was given.if test "${with_x+set}" = set; then  withval="$with_x"  :fi# $have_x is `yes', `no', `disabled', or empty when we do not yet know.if test "x$with_x" = xno; then  # The user explicitly disabled X.  have_x=disabledelse  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then    # Both variables are already set.    have_x=yes  elseif eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  # One or both of the vars are not set, and there is no cached value.ac_x_includes=NO ac_x_libraries=NOrm -fr conftestdirif mkdir conftestdir; then  cd conftestdir  # Make sure to not put "make" in the Imakefile rules, since we grep it out.  cat > Imakefile <<'EOF'acfindx:	@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'EOF  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.    for ac_extension in a so sl; do      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&        test -f $ac_im_libdir/libX11.$ac_extension; then

⌨️ 快捷键说明

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