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

📄 configure

📁 一个网络工具包,可以嗅探email和http等数据包中的密码等信息.注意要先把libnet-1.0.2a.tar.gz和 libnids-1.16.tar.gz装上,不然会因为缺少库函数而无法编译和安
💻
📖 第 1 页 / 共 5 页
字号:
  if test -n "$RANLIB"; then  ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="ranlib"      break    fi  done  IFS="$ac_save_ifs"  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"fifiRANLIB="$ac_cv_prog_RANLIB"if test -n "$RANLIB"; then  echo "$ac_t""$RANLIB" 1>&6else  echo "$ac_t""no" 1>&6fiecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6echo "configure:881: 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 896 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:902: \"$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 913 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:919: \"$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 930 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:936: \"$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>&6# 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:965: 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        ac_im_usrlibdir=$ac_im_libdir; break      fi    done    # Screen out bogus values from the imake configuration.  They are    # bogus both because they are the default anyway, and because    # using them would break gcc on systems where it needs fixed includes.    case "$ac_im_incroot" in	/usr/include) ;;	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;    esac    case "$ac_im_usrlibdir" in	/usr/lib | /lib) ;;	*) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;    esac  fi  cd ..  rm -fr conftestdirfiif test "$ac_x_includes" = NO; then  # Guess where to find include files, by looking for this one X11 .h file.  test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h  # First, try using that file with no special directory specified.cat > conftest.$ac_ext <<EOF#line 1027 "configure"#include "confdefs.h"#include <$x_direct_test_include>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1032: \"$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*  # We can compile using X headers with no special include directory.ac_x_includes=else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  # Look for the header file in a standard set of common directories.# Check X11 before X11Rn because it is often a symlink to the current release.  for ac_dir in               \    /usr/X11/include          \    /usr/X11R6/include        \    /usr/X11R5/include        \    /usr/X11R4/include        \                              \    /usr/include/X11          \    /usr/include/X11R6        \    /usr/include/X11R5        \    /usr/include/X11R4        \                              \    /usr/local/X11/include    \    /usr/local/X11R6/include  \    /usr/local/X11R5/include  \    /usr/local/X11R4/include  \                              \    /usr/local/include/X11    \    /usr/local/include/X11R6  \    /usr/local/include/X11R5  \    /usr/local/include/X11R4  \                              \    /usr/X386/include         \    /usr/x386/include         \    /usr/XFree86/include/X11  \                              \    /usr/include              \    /usr/local/include        \    /usr/unsupported/include  \    /usr/athena/include       \    /usr/local/x11r5/include  \    /usr/lpp/Xamples/include  \                              \    /usr/openwin/include      \    /usr/openwin/share/include \    ; \  do    if test -r "$ac_dir/$x_direct_test_include"; then      ac_x_includes=$ac_dir      break    fi  donefirm -f conftest*fi # $ac_x_includes = NOif test "$ac_x_libraries" = NO; then  # Check for the libraries.  test -z "$x_direct_test_library" && x_direct_test_library=Xt  test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc  # 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 1101 "configure"#include "confdefs.h"int main() {${x_direct_test_function}(); return 0; }EOFif { (eval echo configure:1108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  LIBS="$ac_save_LIBS"# We can link X programs with no special library path.ac_x_libraries=else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  LIBS="$ac_save_LIBS"# First see if replacing the include by lib works.# Check X11 before X11Rn because it is often a symlink to the current release.for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \    /usr/X11/lib          \    /usr/X11R6/lib        \    /usr/X11R5/lib        \    /usr/X11R4/lib        \                          \    /usr/lib/X11          \    /usr/lib/X11R6        \    /usr/lib/X11R5        \    /usr/lib/X11R4        \                          \    /usr/local/X11/lib    \    /usr/local/X11R6/lib  \    /usr/local/X11R5/lib  \    /usr/local/X11R4/lib  \                          \    /usr/local/lib/X11    \    /usr/local/lib/X11R6  \    /usr/local/lib/X11R5  \    /usr/local/lib/X11R4  \                          \    /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  \    /lib/usr/lib/X11	  \                          \    /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      ac_x_libraries=$ac_dir      break 2    fi  donedonefirm -f conftest*fi # $ac_x_libraries = NOif test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then  # Didn't find X anywhere.  Cache the known absence of X.  ac_cv_have_x="have_x=no"else  # Record where we found X for the cache.  ac_cv_have_x="have_x=yes \	        ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"fifi  fi  eval "$ac_cv_have_x"fi # $with_x != noif test "$have_x" != yes; then  echo "$ac_t""$have_x" 1>&6  no_x=yeselse  # If each of the values was on the command line, it overrides each guess.  test "x$x_includes" = xNONE && x_includes=$ac_x_includes  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries  # Update the cache value to reflect the command line values.  ac_cv_have_x="have_x=yes \		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"  echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6fiif test "$no_x" = yes; then  # Not all programs may use this symbol, but it does not hurt to define it.  cat >> confdefs.h <<\EOF#define X_DISPLAY_MISSING 1EOF  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=else  if test -n "$x_includes"; then    X_CFLAGS="$X_CFLAGS -I$x_includes"  fi  # It would also be nice to do this for all -L options, not just this one.  if test -n "$x_libraries"; then    X_LIBS="$X_LIBS -L$x_libraries"    # For Solaris; some versions of Sun CC require a space after -R and    # others require no space.  Words are not sufficient . . . .    case "`(uname -sr) 2>/dev/null`" in    "SunOS 5"*)      echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6echo "configure:1214: checking whether -R must be followed by a space" >&5      ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"      cat > conftest.$ac_ext <<EOF#line 1217 "configure"#include "confdefs.h"int main() {; return 0; }EOFif { (eval echo configure:1224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  ac_R_nospace=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_R_nospace=nofirm -f conftest*      if test $ac_R_nospace = yes; then	echo "$ac_t""no" 1>&6	X_LIBS="$X_LIBS -R$x_libraries"      else	LIBS="$ac_xsave_LIBS -R $x_libraries"	cat > conftest.$ac_ext <<EOF#line 1240 "configure"#include "confdefs.h"int main() {; return 0; }EOFif { (eval echo configure:1247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  ac_R_space=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_R_space=nofirm -f conftest*	if test $ac_R_space = yes; then	  echo "$ac_t""yes" 1>&6	  X_LIBS="$X_LIBS -R $x_libraries"	else	  echo "$ac_t""neither works" 1>&6	fi      fi      LIBS="$ac_xsave_LIBS"    esac  fi  # Check for system-dependent libraries X programs must link with.  # Do this before checking for the system-independent R6 libraries  # (-lICE), since we may need -lsocket or whatever for X linking.  if test "$ISC" = yes; then    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"  else    # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X    # libraries were built with DECnet support.  And karl@cs.umb.edu says    # the Alpha needs dnet_stub (dnet does not exist).    echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6echo "configure:1279: checking for dnet_ntoa in -ldnet" >&5ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6

⌨️ 快捷键说明

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