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

📄 configure

📁 模糊聚类的算法实现程序
💻
📖 第 1 页 / 共 3 页
字号:
    if test -r "$ac_dir/$x_direct_test_include"; then      no_x= ac_x_includes=$ac_dir      break    fi  donefirm -f conftest*# Check for the libraries.# See if we find them without any special options.# Don't add to $LIBS permanently.ac_save_LIBS="$LIBS"LIBS="-l$x_direct_test_library $LIBS"cat > conftest.$ac_ext <<EOF#line 904 "configure"#include "confdefs.h"int main() { return 0; }int t() {${x_direct_test_function}(); return 0; }EOFif eval $ac_link; then  rm -rf conftest*  LIBS="$ac_save_LIBS" no_x= ac_x_libraries=else  rm -rf conftest*  LIBS="$ac_save_LIBS"# First see if replacing the include by lib works.for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \    /usr/X11R6/lib        \    /usr/X11R5/lib        \    /usr/X11R4/lib        \                          \    /usr/lib/X11R6        \    /usr/lib/X11R5        \    /usr/lib/X11R4        \                          \    /usr/local/X11R6/lib  \    /usr/local/X11R5/lib  \    /usr/local/X11R4/lib  \                          \    /usr/local/lib/X11R6  \    /usr/local/lib/X11R5  \    /usr/local/lib/X11R4  \                          \    /usr/X11/lib          \    /usr/lib/X11          \    /usr/local/X11/lib    \    /usr/local/lib/X11    \                          \    /usr/X386/lib         \    /usr/x386/lib         \    /usr/XFree86/lib/X11  \                          \    /usr/lib              \    /usr/local/lib        \    /usr/unsupported/lib  \    /usr/athena/lib       \    /usr/local/x11r5/lib  \    /usr/lpp/Xamples/lib  \                          \    /usr/openwin/lib      \    /usr/openwin/share/lib \    ; \do  for ac_extension in a so sl; do    if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then      no_x= ac_x_libraries=$ac_dir      break 2    fi  donedonefirm -f conftest*fiif test "$no_x" = yes; then  ac_cv_path_x="no_x=yes"else  ac_cv_path_x="no_x= ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"fifi  fi  eval "$ac_cv_path_x"fi # $with_x != noif test "$no_x" = yes; then  echo "$ac_t""no" 1>&6else  test "x$x_includes" = xNONE && x_includes=$ac_x_includes  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries  ac_cv_path_x="no_x= ac_x_includes=$x_includes ac_x_libraries=$x_libraries"  echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6fifiif test "$XINCLUDE_DIR" != ""; then    x_includes="$XINCLUDE_DIR"fiif test "$x_includes" = /usr/include; then    XINCLUDES="# no special path needed"elif test "$x_includes" != ""; then    XINCLUDES=" -I$x_includes"else    echo "checking for X11 header files" 1>&6    XINCLUDES="# no special path needed"    cat > conftest.$ac_ext <<EOF#line 998 "configure"#include "confdefs.h"#include <X11/Intrinsic.h>EOFeval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"ac_err=`grep -v '^ *+' conftest.out`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  rm -rf conftest*  XINCLUDES="nope"firm -f conftest*    if test "$XINCLUDES" = nope; then        dirs="/usr/unsupported/include /usr/local/include /usr/X11R6/include /usr/X386/include /usr/include/X11R4 /usr/X11R5/include /usr/include/X11R5 /usr/openwin/include /usr/X11/include"        for i in $dirs ; do	    if test -r $i/X11/Intrinsic.h; then	        XINCLUDES=" -I$i"	    fi        done    fifiif test "$XINCLUDES" = nope; then  echo "configure: warning: Couldn't find any X11 include files" 1>&2  XINCLUDES="# no include files found"fiif test "$XLIBRARY_DIR" != ""; then    x_libraries="$XLIBRARY_DIR"fiif test "$x_libraries" = /usr/lib; then    XLIBSW=-lX11elif test "$x_libraries" != ""; then    XLIBSW="-L$x_libraries -lX11"else    echo "checking for X11 library archive" 1>&6    echo $ac_n "checking for -lX11""... $ac_c" 1>&6ac_lib_var=`echo X11 | tr '.-/+' '___p'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-lX11  $LIBS"cat > conftest.$ac_ext <<EOF#line 1044 "configure"#include "confdefs.h"int main() { return 0; }int t() {main(); return 0; }EOFif eval $ac_link; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  XLIBSW="-lX11"else  echo "$ac_t""no" 1>&6XLIBSW=nopefi    if test "$XLIBSW" = nope; then	dirs="/usr/unsupported/lib /usr/local/lib /usr/X11R6/lib /usr/X386/lib /usr/lib/X11R4 /usr/X11R5/lib /usr/lib/X11R5 /usr/openwin/lib /usr/X11/lib"	for i in $dirs ; do	    if test -r $i/libX11.a; then		XLIBSW="-L$i -lX11"	    fi	done    fifiif test "$XLIBSW" = nope ; then    echo $ac_n "checking for -lXwindow""... $ac_c" 1>&6ac_lib_var=`echo Xwindow | tr '.-/+' '___p'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-lXwindow  $LIBS"cat > conftest.$ac_ext <<EOF#line 1089 "configure"#include "confdefs.h"int main() { return 0; }int t() {main(); return 0; }EOFif eval $ac_link; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  XLIBSW=-lXwindowelse  echo "$ac_t""no" 1>&6fifiif test "$XLIBSW" = nope ; then    echo "configure: warning: Couldn't find the X11 library archive. Using -lX11." 1>&2    XLIBSW=-lX11fi## create the Makefile:trap '' 1 2 15cat > confcache <<\EOF# This file is a shell script that caches the results of configure# tests run on this system so they can be shared between configure# scripts and configure runs.  It is not useful on other systems.# If it contains results you don't want to keep, you may remove or edit it.## By default, configure uses ./config.cache as the cache file,# creating it if it does not exist already.  You can give configure# the --cache-file=FILE option to use a different cache file; that is# what configure does when it calls configure scripts in# subdirectories, so they share the cache.# Giving --cache-file=/dev/null disables caching, for debugging configure.# config.status only pays attention to the cache file if you give it the# --recheck option to rerun configure.#EOF# Ultrix sh set writes to stderr and can't be redirected directly,# and sets the high bit in the cache file unless we assign to the vars.(set) 2>&1 |  sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \  >> confcacheif cmp -s $cache_file confcache; then  :else  if test -w $cache_file; then    echo "updating cache $cache_file"    cat confcache > $cache_file  else    echo "not updating unwritable cache $cache_file"  fifirm -f confcachetrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15test "x$prefix" = xNONE && prefix=$ac_default_prefix# Let make expand exec_prefix.test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'# Any assignment to VPATH causes Sun make to only execute# the first set of double-colon rules, so remove it if not needed.# If there is a colon in the path, we need to keep it.if test "x$srcdir" = x.; then  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'fitrap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15# Transform confdefs.h into DEFS.# Protect against shell expansion while executing Makefile rules.# Protect against Makefile macro expansion.cat > conftest.defs <<\EOFs%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%-D\1=\2%gs%[ 	`~#$^&*(){}\\|;'"<>?]%\\&%gs%\[%\\&%gs%\]%\\&%gs%\$%$$%gEOFDEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`rm -f conftest.defs# Without the "./", some shells look in PATH for config.status.: ${CONFIG_STATUS=./config.status}echo creating $CONFIG_STATUSrm -f $CONFIG_STATUScat > $CONFIG_STATUS <<EOF#! /bin/sh# Generated automatically by configure.# Run this file to recreate the current configuration.# This directory was configured as follows,# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:## $0 $ac_configure_args## Compiler output produced by configure, useful for debugging# configure, is in ./config.log if it exists.ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"for ac_optiondo  case "\$ac_option" in  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)    echo "$CONFIG_STATUS generated by autoconf version 2.7"    exit 0 ;;  -help | --help | --hel | --he | --h)    echo "\$ac_cs_usage"; exit 0 ;;  *) echo "\$ac_cs_usage"; exit 1 ;;  esacdoneac_given_srcdir=$srcdirac_given_INSTALL="$INSTALL"trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15EOFcat >> $CONFIG_STATUS <<EOF# Protect against being on the right side of a sed subst in config.status.sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF$ac_vpsub$extrasubs%@CFLAGS@%$CFLAGS%gs%@CPPFLAGS@%$CPPFLAGS%gs%@CXXFLAGS@%$CXXFLAGS%gs%@DEFS@%$DEFS%gs%@LDFLAGS@%$LDFLAGS%gs%@LIBS@%$LIBS%gs%@exec_prefix@%$exec_prefix%gs%@prefix@%$prefix%gs%@program_transform_name@%$program_transform_name%gs%@bindir@%$bindir%gs%@sbindir@%$sbindir%gs%@libexecdir@%$libexecdir%gs%@datadir@%$datadir%gs%@sysconfdir@%$sysconfdir%gs%@sharedstatedir@%$sharedstatedir%gs%@localstatedir@%$localstatedir%gs%@libdir@%$libdir%gs%@includedir@%$includedir%gs%@oldincludedir@%$oldincludedir%gs%@infodir@%$infodir%gs%@mandir@%$mandir%gs%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%gs%@INSTALL_DATA@%$INSTALL_DATA%gs%@DEBUG@%$DEBUG%gs%@DBMALLOC_INC@%$DBMALLOC_INC%gs%@DBMALLOC_LIB@%$DBMALLOC_LIB%gs%@xmkmf_ok@%$xmkmf_ok%gs%@CPP@%$CPP%gs%@XINCLUDES@%$XINCLUDES%gs%@XLIBSW@%$XLIBSW%gCEOFEOFcat >> $CONFIG_STATUS <<EOFCONFIG_FILES=\${CONFIG_FILES-"Makefile"}EOFcat >> $CONFIG_STATUS <<\EOFfor ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then  # Support "outfile[:infile]", defaulting infile="outfile.in".  case "$ac_file" in  *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;  *) ac_file_in="${ac_file}.in" ;;  esac  # Adjust relative srcdir, etc. for subdirectories.  # Remove last slash and all that follows it.  Not all systems have dirname.  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then    # The file is in a subdirectory.    test ! -d "$ac_dir" && mkdir "$ac_dir"    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"    # A "../" for each directory in $ac_dir_suffix.    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`  else    ac_dir_suffix= ac_dots=  fi  case "$ac_given_srcdir" in  .)  srcdir=.      if test -z "$ac_dots"; then top_srcdir=.      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;  *) # Relative path.    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"    top_srcdir="$ac_dots$ac_given_srcdir" ;;  esac  case "$ac_given_INSTALL" in  [/$]*) INSTALL="$ac_given_INSTALL" ;;  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;  esac  echo creating "$ac_file"  rm -f "$ac_file"  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."  case "$ac_file" in  *Makefile*) ac_comsub="1i\\# $configure_input" ;;  *) ac_comsub= ;;  esac  sed -e "$ac_comsubs%@configure_input@%$configure_input%gs%@srcdir@%$srcdir%gs%@top_srcdir@%$top_srcdir%gs%@INSTALL@%$INSTALL%g" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_filefi; donerm -f conftest.subsexit 0EOFchmod +x $CONFIG_STATUSrm -fr confdefs* $ac_clean_filestest "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1

⌨️ 快捷键说明

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