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

📄 configure

📁 STUN(RFC3489)客户端的简单实现
💻
📖 第 1 页 / 共 5 页
字号:
   rm -f conftest.file   if test "$*" != "X $srcdir/configure conftest.file" \      && test "$*" != "X conftest.file $srcdir/configure"; then      # If neither matched, then we have a broken ls.  This can happen      # if, for instance, CONFIG_SHELL is bash and it inherits a      # broken ls alias from the environment.  This has actually      # happened.  Such a system could not be considered "sane".      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a brokenalias in your environment" >&5echo "$as_me: error: ls -t appears to fail.  Make sure there is not a brokenalias in your environment" >&2;}   { (exit 1); exit 1; }; }   fi   test "$2" = conftest.file   )then   # Ok.   :else   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!Check your system clock" >&5echo "$as_me: error: newly created file is older than distributed files!Check your system clock" >&2;}   { (exit 1); exit 1; }; }fi{ echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6; }test "$program_prefix" != NONE &&  program_transform_name="s&^&$program_prefix&;$program_transform_name"# Use a double $ so make ignores it.test "$program_suffix" != NONE &&  program_transform_name="s&\$&$program_suffix&;$program_transform_name"# Double any \ or $.  echo might interpret backslashes.# By default was `s,x,x', remove it if useless.cat <<\_ACEOF >conftest.seds/[\\$]/&&/g;s/;s,x,x,$//_ACEOFprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed`rm -f conftest.sed# expand $ac_aux_dir to an absolute patham_aux_dir=`cd $ac_aux_dir && pwd`test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"# Use eval to expand $SHELLif eval "$MISSING --run true"; then  am_missing_run="$MISSING --run "else  am_missing_run=  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}fi{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }if test -z "$MKDIR_P"; then  if test "${ac_cv_path_mkdir+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  as_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bindo  IFS=$as_save_IFS  test -z "$as_dir" && as_dir=.  for ac_prog in mkdir gmkdir; do	 for ac_exec_ext in '' $ac_executable_extensions; do	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(	     'mkdir (GNU coreutils) '* | \	     'mkdir (coreutils) '* | \	     'mkdir (fileutils) '4.1*)	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext	       break 3;;	   esac	 done       donedoneIFS=$as_save_IFSfi  if test "${ac_cv_path_mkdir+set}" = set; then    MKDIR_P="$ac_cv_path_mkdir -p"  else    # As a last resort, use the slow shell script.  Don't cache a    # value for MKDIR_P within a source directory, because that will    # break other packages using the cache if that directory is    # removed, or if the value is a relative name.    test -d ./--version && rmdir ./--version    MKDIR_P="$ac_install_sh -d"  fifi{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5echo "${ECHO_T}$MKDIR_P" >&6; }mkdir_p="$MKDIR_P"case $mkdir_p in  [\\/$]* | ?:[\\/]*) ;;  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;esacfor ac_prog in gawk mawk nawk awkdo  # Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; 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_AWK+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  if test -n "$AWK"; then  ac_cv_prog_AWK="$AWK" # 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_AWK="$ac_prog"    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    break 2  fidonedoneIFS=$as_save_IFSfifiAWK=$ac_cv_prog_AWKif test -n "$AWK"; then  { echo "$as_me:$LINENO: result: $AWK" >&5echo "${ECHO_T}$AWK" >&6; }else  { echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }fi  test -n "$AWK" && breakdone{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  cat >conftest.make <<\_ACEOFSHELL = /bin/shall:	@echo '@@@%%%=$(MAKE)=@@@%%%'_ACEOF# GNU make sometimes prints "make[1]: Entering...", which would confuse us.case `${MAKE-make} -f conftest.make 2>/dev/null` in  *@@@%%%=?*=@@@%%%*)    eval ac_cv_prog_make_${ac_make}_set=yes;;  *)    eval ac_cv_prog_make_${ac_make}_set=no;;esacrm -f conftest.makefiif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then  { echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6; }  SET_MAKE=else  { echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }  SET_MAKE="MAKE=${MAKE-make}"firm -rf .tst 2>/dev/nullmkdir .tst 2>/dev/nullif test -d .tst; then  am__leading_dot=.else  am__leading_dot=_firmdir .tst 2>/dev/nullif test "`cd $srcdir && pwd`" != "`pwd`"; then  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output  # is not polluted with repeated "-I."  am__isrc=' -I$(srcdir)'  # test to see if srcdir already configured  if test -f $srcdir/config.status; then    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}   { (exit 1); exit 1; }; }  fifi# test whether we have cygpathif test -z "$CYGPATH_W"; then  if (cygpath --version) >/dev/null 2>/dev/null; then    CYGPATH_W='cygpath -w'  else    CYGPATH_W=echo  fifi# Define the identity of the package. PACKAGE=stun VERSION=1.0cat >>confdefs.h <<_ACEOF#define PACKAGE "$PACKAGE"_ACEOFcat >>confdefs.h <<_ACEOF#define VERSION "$VERSION"_ACEOF# Some tools Automake needs.ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}# Installed binaries are usually stripped using `strip' when the user# run `make install-strip'.  However `strip' might not be the right# tool to use in cross-compilation environments, therefore Automake# will honor the `STRIP' environment variable to overrule this program.if test "$cross_compiling" != no; then  if test -n "$ac_tool_prefix"; then  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.set dummy ${ac_tool_prefix}strip; 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_STRIP+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  if test -n "$STRIP"; then  ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip"    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    break 2  fidonedoneIFS=$as_save_IFSfifiSTRIP=$ac_cv_prog_STRIPif test -n "$STRIP"; then  { echo "$as_me:$LINENO: result: $STRIP" >&5echo "${ECHO_T}$STRIP" >&6; }else  { echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }fifiif test -z "$ac_cv_prog_STRIP"; then  ac_ct_STRIP=$STRIP  # Extract the first word of "strip", so it can be a program name with args.set dummy strip; 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_ac_ct_STRIP+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  if test -n "$ac_ct_STRIP"; then  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_ac_ct_STRIP="strip"    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    break 2  fidonedoneIFS=$as_save_IFSfifiac_ct_STRIP=$ac_cv_prog_ac_ct_STRIPif test -n "$ac_ct_STRIP"; then  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5echo "${ECHO_T}$ac_ct_STRIP" >&6; }else  { echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }fi  if test "x$ac_ct_STRIP" = x; then    STRIP=":"  else    case $cross_compiling:$ac_tool_warned inyes:){ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-toolswhose name does not start with the host triplet.  If you think thisconfiguration is useful to you, please write to autoconf@gnu.org." >&5echo "$as_me: WARNING: In the future, Autoconf will not detect cross-toolswhose name does not start with the host triplet.  If you think thisconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}ac_tool_warned=yes ;;esac    STRIP=$ac_ct_STRIP  fielse  STRIP="$ac_cv_prog_STRIP"fifiINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"# We need awk for the "check" target.  The system "awk" is bad on# some platforms.# Always define AMTAR for backward compatibility.AMTAR=${AMTAR-"${am_missing_run}tar"}am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'#AC_CONFIG_HEADER([config.h])# Checks for programs.ac_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}gcc"    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    break 2  fidonedoneIFS=$as_save_IFSfifiCC=$ac_cv_prog_CCif test -n "$CC"; then  { echo "$as_me:$LINENO: result: $CC" >&5echo "${ECHO_T}$CC" >&6; }else  { echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }fifiif test -z "$ac_cv_prog_CC"; then  ac_ct_CC=$CC  # Extract the first word of "gcc", so it can be a program name with args.set dummy 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_ac_ct_CC+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  if test -n "$ac_ct_CC"; then  ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="gcc"    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    break 2  fidonedoneIFS=$as_save_IFSfifiac_ct_CC=$ac_cv_prog_ac_ct_CCif test -n "$ac_ct_CC"; then  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5echo "${ECHO_T}$ac_ct_CC" >&6; }else  { echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }fi  if test "x$ac_ct_CC" = x; then    CC=""  else    case $cross_compiling:$ac_tool_warned inyes:){ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-toolswhose name does not start with the host triplet.  If you think thisconfiguration is useful to you, please write to autoconf@gnu.org." >&5echo "$as_me: WARNING: In the future, Autoconf will not detect cross-toolswhose name does not start with the host triplet.  If you think thisconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}ac_tool_warned=yes ;;esac    CC=$ac_ct_CC  fielse  CC="$ac

⌨️ 快捷键说明

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