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

📄 configure

📁 partysip 插件开发 简单的一个小例子
💻
📖 第 1 页 / 共 5 页
字号:
  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP="${CC-cc} -nologo -E"  cat > conftest.$ac_ext <<EOF#line 1239 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1245: \"$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# Find a good install program.  We prefer a C program (faster),# so one script is as good as another.  But avoid the broken or# incompatible versions:# SysV /etc/install, /usr/sbin/install# SunOS /usr/etc/install# IRIX /sbin/install# AIX /bin/install# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag# AFS /usr/afsws/bin/install, which mishandles nonexistent args# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"# ./install, which can be erroneously created by make from ./install.sh.echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6echo "configure:1281: checking for a BSD compatible install" >&5if test -z "$INSTALL"; thenif eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":"  for ac_dir in $PATH; do    # Account for people who put trailing slashes in PATH elements.    case "$ac_dir/" in    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;    *)      # OSF1 and SCO ODT 3.0 have their own names for install.      # Don't use installbsd from OSF since it installs stuff as root      # by default.      for ac_prog in ginstall scoinst install; do        if test -f $ac_dir/$ac_prog; then	  if test $ac_prog = install &&            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then	    # AIX install.  It has an incompatible calling convention.	    :	  else	    ac_cv_path_install="$ac_dir/$ac_prog -c"	    break 2	  fi	fi      done      ;;    esac  done  IFS="$ac_save_IFS"fi  if test "${ac_cv_path_install+set}" = set; then    INSTALL="$ac_cv_path_install"  else    # As a last resort, use the slow shell script.  We don't cache a    # path for INSTALL within a source directory, because that will    # break other packages using the cache if that directory is    # removed, or if the path is relative.    INSTALL="$ac_install_sh"  fifiecho "$ac_t""$INSTALL" 1>&6# Use test -z because SunOS4 sh mishandles braces in ${var-val}.# It thinks the first close brace ends the variable substitution.test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'# Find the correct PATH separator.  Usually this is `:', but# DJGPP uses `;' like DOS.if test "X${PATH_SEPARATOR+set}" != Xset; then  UNAME=${UNAME-`uname 2>/dev/null`}  case X$UNAME in    *-DOS) lt_cv_sys_path_separator=';' ;;    *)     lt_cv_sys_path_separator=':' ;;  esac  PATH_SEPARATOR=$lt_cv_sys_path_separatorfiecho $ac_n "checking for Cygwin environment""... $ac_c" 1>&6echo "configure:1347: checking for Cygwin environment" >&5if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1352 "configure"#include "confdefs.h"int main() {#ifndef __CYGWIN__#define __CYGWIN__ __CYGWIN32__#endifreturn __CYGWIN__;; return 0; }EOFif { (eval echo configure:1363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_cygwin=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_cygwin=nofirm -f conftest*rm -f conftest*fiecho "$ac_t""$ac_cv_cygwin" 1>&6CYGWIN=test "$ac_cv_cygwin" = yes && CYGWIN=yesecho $ac_n "checking for mingw32 environment""... $ac_c" 1>&6echo "configure:1380: checking for mingw32 environment" >&5if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1385 "configure"#include "confdefs.h"int main() {return __MINGW32__;; return 0; }EOFif { (eval echo configure:1392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_mingw32=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_mingw32=nofirm -f conftest*rm -f conftest*fiecho "$ac_t""$ac_cv_mingw32" 1>&6MINGW32=test "$ac_cv_mingw32" = yes && MINGW32=yes# Check whether --enable-shared or --disable-shared was given.if test "${enable_shared+set}" = set; then  enableval="$enable_shared"  p=${PACKAGE-default}case $enableval inyes) enable_shared=yes ;;no) enable_shared=no ;;*)  enable_shared=no  # Look at the argument we got.  We use all the common list separators.  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"  for pkg in $enableval; do    if test "X$pkg" = "X$p"; then      enable_shared=yes    fi  done  IFS="$ac_save_ifs"  ;;esacelse  enable_shared=yesfi# Check whether --enable-static or --disable-static was given.if test "${enable_static+set}" = set; then  enableval="$enable_static"  p=${PACKAGE-default}case $enableval inyes) enable_static=yes ;;no) enable_static=no ;;*)  enable_static=no  # Look at the argument we got.  We use all the common list separators.  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"  for pkg in $enableval; do    if test "X$pkg" = "X$p"; then      enable_static=yes    fi  done  IFS="$ac_save_ifs"  ;;esacelse  enable_static=yesfi# Check whether --enable-fast-install or --disable-fast-install was given.if test "${enable_fast_install+set}" = set; then  enableval="$enable_fast_install"  p=${PACKAGE-default}case $enableval inyes) enable_fast_install=yes ;;no) enable_fast_install=no ;;*)  enable_fast_install=no  # Look at the argument we got.  We use all the common list separators.  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"  for pkg in $enableval; do    if test "X$pkg" = "X$p"; then      enable_fast_install=yes    fi  done  IFS="$ac_save_ifs"  ;;esacelse  enable_fast_install=yesfi# Make sure we can run config.sub.if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }fiecho $ac_n "checking host system type""... $ac_c" 1>&6echo "configure:1484: checking host system type" >&5host_alias=$hostcase "$host_alias" inNONE)  case $nonopt in  NONE)    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }    fi ;;  *) host_alias=$nonopt ;;  esac ;;esachost=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`echo "$ac_t""$host" 1>&6echo $ac_n "checking build system type""... $ac_c" 1>&6echo "configure:1505: checking build system type" >&5build_alias=$buildcase "$build_alias" inNONE)  case $nonopt in  NONE) build_alias=$host_alias ;;  *) build_alias=$nonopt ;;  esac ;;esacbuild=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`echo "$ac_t""$build" 1>&6# Check whether --with-gnu-ld or --without-gnu-ld was given.if test "${with_gnu_ld+set}" = set; then  withval="$with_gnu_ld"  test "$withval" = no || with_gnu_ld=yeselse  with_gnu_ld=nofiac_prog=ldif test "$GCC" = yes; then  # Check if gcc -print-prog-name=ld gives a path.  echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6echo "configure:1534: checking for ld used by GCC" >&5  case $host in  *-*-mingw*)    # gcc leaves a trailing carriage return which upsets mingw    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;  *)    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;  esac  case $ac_prog in    # Accept absolute paths.    [\\/]* | [A-Za-z]:[\\/]*)      re_direlt='/[^/][^/]*/\.\./'      # Canonicalize the path of ld      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`      done      test -z "$LD" && LD="$ac_prog"      ;;  "")    # If it fails, then pretend we aren't using GCC.    ac_prog=ld    ;;  *)    # If it is relative, then search for the first ld in PATH.    with_gnu_ld=unknown    ;;  esacelif test "$with_gnu_ld" = yes; then  echo $ac_n "checking for GNU ld""... $ac_c" 1>&6echo "configure:1564: checking for GNU ld" >&5else  echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6echo "configure:1567: checking for non-GNU ld" >&5fiif eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -z "$LD"; then  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR  for ac_dir in $PATH; do    test -z "$ac_dir" && ac_dir=.    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then      lt_cv_path_LD="$ac_dir/$ac_prog"      # Check to see if the program is GNU ld.  I'd rather use --version,      # but apparently some GNU ld's only accept -v.      # Break only if it was the GNU/non-GNU ld that we prefer.      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then	test "$with_gnu_ld" != no && break      else	test "$with_gnu_ld" != yes && break      fi    fi  done  IFS="$ac_save_ifs"else  lt_cv_path_LD="$LD" # Let the user override the test with a path.fifiLD="$lt_cv_path_LD"if test -n "$LD"; then  echo "$ac_t""$LD" 1>&6else  echo "$ac_t""no" 1>&6fitest -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6echo "configure:1602: checking if the linker ($LD) is GNU ld" >&5if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  # I'd rather use --version here, but apparently some GNU ld's only accept -v.if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then  lt_cv_prog_gnu_ld=yeselse  lt_cv_prog_gnu_ld=nofifiecho "$ac_t""$lt_cv_prog_gnu_ld" 1>&6with_gnu_ld=$lt_cv_prog_gnu_ldecho $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6echo "configure:1619: checking for $LD option to reload object files" >&5if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  lt_cv_ld_reload_flag='-r'fiecho "$ac_t""$lt_cv_ld_reload_flag" 1>&6reload_flag=$lt_cv_ld_reload_flagtest -n "$reload_flag" && reload_flag=" $reload_flag"echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6echo "configure:1631: checking for BSD-compatible nm" >&5if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$NM"; then  # Let the user override the test.  lt_cv_path_NM="$NM"else  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do    test -z "$ac_dir" && ac_dir=.    tmp_nm=$ac_dir/${ac_tool_prefix}nm    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then      # Check to see if the nm accepts a BSD-compat flag.      # Adding the `sed 1q' prevents false positives on HP-UX, which says:

⌨️ 快捷键说明

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