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

📄 configure

📁 Lin-Kernighan heuristic for the TSP and minimum weight perfect matching
💻
📖 第 1 页 / 共 5 页
字号:
  *)  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_path_DVIPS="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiDVIPS="$ac_cv_path_DVIPS"if test -n "$DVIPS"; then  echo "$ac_t""$DVIPS" 1>&6else  echo "$ac_t""no" 1>&6fiif test -z "$DVIPS"; then	# Extract the first word of "dvipsk", so it can be a program name with args.set dummy dvipsk; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1377: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_DVIPS'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$DVIPS" in  /*)  ac_cv_path_DVIPS="$DVIPS" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_DVIPS="$DVIPS" # Let the user override the test with a dos path.  ;;  *)  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_path_DVIPS="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiDVIPS="$ac_cv_path_DVIPS"if test -n "$DVIPS"; then  echo "$ac_t""$DVIPS" 1>&6else  echo "$ac_t""no" 1>&6fifi# Extract the first word of "mp", so it can be a program name with args.set dummy mp; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1413: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_MP'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$MP" in  /*)  ac_cv_path_MP="$MP" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_MP="$MP" # Let the user override the test with a dos path.  ;;  *)  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_path_MP="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiMP="$ac_cv_path_MP"if test -n "$MP"; then  echo "$ac_t""$MP" 1>&6else  echo "$ac_t""no" 1>&6fiCTANGLEFLAGS_DEFAULT=-bhp CWEAVEFLAGS_DEFAULT=-bhp if test -z "$CTANGLE"; then    CTANGLE_CMD='@echo "Sorry, ctangle is not installed, so I cannot make $@ from $<" 1>&2; exit 1;';else    # -bhp turns off the banner, happy and progress messages.	# We use $*.w instead of $< because we might use this command line to	# make something with a .ch file as the dependency.    CTANGLE_CMD='if test -f $(srcdir)/$*.ch; then \\\        $(CTANGLE) $(CTANGLEFLAGS_DEFAULT) $(CTANGLEFLAGS) $(srcdir)/$*.w $(srcdir)/$*.ch; \\\	else \\\		$(CTANGLE) $(CTANGLEFLAGS_DEFAULT) $(CTANGLEFLAGS) $(srcdir)/$*.w; \\\	fi';fiif test -z "$CWEAVE"; then	CWEAVE_CMD='@echo "Sorry, cweave is not installed, so I cannot make $@ from $<" 1>&2; exit 1;';else	# -bhp turns off the banner, happy and progress messages.	CWEAVE_CMD='if test -f $(srcdir)/$*.ch; then \\\		$(CWEAVE) $(CWEAVEFLAGS_DEFAULT) $(CWEAVEFLAGS) $(srcdir)/$*.w $(srcdir)/$*.ch; \\\	else \\\		$(CWEAVE) $(CWEAVEFLAGS_DEFAULT) $(CWEAVEFLAGS) $<; \\\	fi';fiif test -z "$TEX"; then 	TEX_CMD='@echo "Sorry, TeX is not installed, so I cannot make $@ from $<" 1>&2; exit 1;';else	TEX_CMD='$(TEX) $(TEXFLAGS) $<;';fiif test -z "$LATEX"; then 	LATEX_CMD='@echo "Sorry, LaTeX is not installed, so I cannot make $@ from $<" 1>&2; exit 1;';else	LATEX_CMD='$(LATEX) $(LATEXFLAGS) $<;';fiif test -z "$DVIPS"; then 	DVIPS_CMD='@echo "Sorry, LaTeX is not installed, so I cannot make $@ from $<" 1>&2; exit 1;';else	DVIPS_CMD='$(DVIPS) $(DVIPSFLAGS) $< -o $@;';fiif test -z "$MP"; then 	MP_CMD='@echo "Sorry, MetaPost is not installed, so I cannot make $@ from $<" 1>&2; exit 1;';else	MP_CMD='$(MP) $(MPFLAGS) $< \\bye;';fiecho $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6echo "configure:1501: checking for sqrt in -lm" >&5ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__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="-lm  $LIBS"cat > conftest.$ac_ext <<EOF#line 1509 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char sqrt();int main() {sqrt(); return 0; }EOFif { (eval echo configure:1520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  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    ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  cat >> confdefs.h <<EOF#define $ac_tr_lib 1EOF  LIBS="-lm $LIBS"else  echo "$ac_t""no" 1>&6fiecho $ac_n "checking for getrusage in -lucb""... $ac_c" 1>&6echo "configure:1549: checking for getrusage in -lucb" >&5ac_lib_var=`echo ucb'_'getrusage | sed 'y%./+-%__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="-lucb  $LIBS"cat > conftest.$ac_ext <<EOF#line 1557 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char getrusage();int main() {getrusage(); return 0; }EOFif { (eval echo configure:1568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  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    ac_tr_lib=HAVE_LIB`echo ucb | sed -e 's/[^a-zA-Z0-9_]/_/g' \    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  cat >> confdefs.h <<EOF#define $ac_tr_lib 1EOF  LIBS="-lucb $LIBS"else  echo "$ac_t""no" 1>&6fiecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6echo "configure:1598: checking how to run the C preprocessor" >&5# On Suns, sometimes $CPP names a directory.if test -n "$CPP" && test -d "$CPP"; then  CPP=fiif test -z "$CPP"; thenif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    # This must be in double quotes, not single quotes, because CPP may get  # substituted into the Makefile and "${CC-cc}" will confuse make.  CPP="${CC-cc} -E"  # On the NeXT, cc -E runs the code through the compiler's parser,  # not just through cpp.  cat > conftest.$ac_ext <<EOF#line 1613 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1619: \"$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  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP="${CC-cc} -E -traditional-cpp"  cat > conftest.$ac_ext <<EOF#line 1630 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1636: \"$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  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP="${CC-cc} -nologo -E"  cat > conftest.$ac_ext <<EOF#line 1647 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1653: \"$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  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP=/lib/cppfirm -f conftest*firm -f conftest*firm -f conftest*  ac_cv_prog_CPP="$CPP"fi  CPP="$ac_cv_prog_CPP"else  ac_cv_prog_CPP="$CPP"fiecho "$ac_t""$CPP" 1>&6echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6echo "configure:1678: checking for ANSI C header files" >&5if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1683 "configure"#include "confdefs.h"#include <stdlib.h>#include <stdarg.h>#include <string.h>#include <float.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1691: \"$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*  ac_cv_header_stdc=yeselse  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_header_stdc=nofirm -f conftest*if test $ac_cv_header_stdc = yes; then  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.cat > conftest.$ac_ext <<EOF#line 1708 "configure"#include "confdefs.h"#include <string.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "memchr" >/dev/null 2>&1; then  :else  rm -rf conftest*  ac_cv_header_stdc=nofirm -f conftest*fiif test $ac_cv_header_stdc = yes; then  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.cat > conftest.$ac_ext <<EOF#line 1726 "configure"#include "confdefs.h"#include <stdlib.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "free" >/dev/null 2>&1; then  :else  rm -rf conftest*  ac_cv_header_stdc=nofirm -f conftest*fiif test $ac_cv_header_stdc = yes; then  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.if test "$cross_compiling" = yes; then  :else  cat > conftest.$ac_ext <<EOF#line 1747 "configure"#include "confdefs.h"#include <ctype.h>#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))int main () { int i; for (i = 0; i < 256; i++)if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);exit (0); }EOFif { (eval echo configure:1758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen  :else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -fr conftest*  ac_cv_header_stdc=nofirm -fr conftest*fififiecho "$ac_t""$ac_cv_header_stdc" 1>&6if test $ac_cv_header_stdc = yes; then  cat >> confdefs.h <<\EOF#define STDC_HEADERS 1EOFfifor ac_hdr in limits.h sys/time.h unistd.h time.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1785: checking for $ac_hdr" >&5if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1790 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1795: \"$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*  eval "ac_cv_header_$ac_safe=yes"else  echo "$ac_err" >&5

⌨️ 快捷键说明

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