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

📄 configure

📁 This project provides a proxy that allows telnet/tcp connections to be made to serial ports on a mac
💻
📖 第 1 页 / 共 5 页
字号:
    test ! -f ${_sed} && break    cat /dev/null > "$tmp/sed.in"    _count=0    echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"    # Check for GNU sed and select it if it is found.    if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then      lt_cv_path_SED=${_sed}      break    fi    while true; do      cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"      mv "$tmp/sed.tmp" "$tmp/sed.in"      cp "$tmp/sed.in" "$tmp/sed.nl"      echo >>"$tmp/sed.nl"      ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break      cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break      # 40000 chars as input seems more than enough      test $_count -gt 10 && break      _count=`expr $_count + 1`      if test $_count -gt $_max; then        _max=$_count        lt_cv_path_SED=$_sed      fi    done  done  rm -rf "$tmp"fiif test "X$SED" != "X"; then  lt_cv_path_SED=$SEDelse  SED=$lt_cv_path_SEDfiecho "$ac_t""$SED" 1>&6echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6echo "configure:1671: checking whether ln -s works" >&5if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  rm -f conftestdataif ln -s X conftestdata 2>/dev/nullthen  rm -f conftestdata  ac_cv_prog_LN_S="ln -s"else  ac_cv_prog_LN_S=lnfifiLN_S="$ac_cv_prog_LN_S"if test "$ac_cv_prog_LN_S" = "ln -s"; then  echo "$ac_t""yes" 1>&6else  echo "$ac_t""no" 1>&6fiecho $ac_n "checking how to recognise dependent libraries""... $ac_c" 1>&6echo "configure:1692: checking how to recognise dependent libraries" >&5if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  lt_cv_file_magic_cmd='$MAGIC_CMD'lt_cv_file_magic_test_file=lt_cv_deplibs_check_method='unknown'# Need to set the preceding variable on all platforms that support# interlibrary dependencies.# 'none' -- dependencies not supported.# `unknown' -- same as none, but documents that we really don't know.# 'pass_all' -- all dependencies passed with no checks.# 'test_compile' -- check by making test program.# 'file_magic [[regex]]' -- check by looking for files in library path# which responds to the $file_magic_cmd with a given egrep regex.# If you have `file' or equivalent on your system and you're not sure# whether `pass_all' will *always* work, you probably want this one.case $host_os inaix4* | aix5*)  lt_cv_deplibs_check_method=pass_all  ;;beos*)  lt_cv_deplibs_check_method=pass_all  ;;bsdi4*)  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'  lt_cv_file_magic_cmd='/usr/bin/file -L'  lt_cv_file_magic_test_file=/shlib/libc.so  ;;cygwin* | mingw* | pw32*)  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'  lt_cv_file_magic_cmd='$OBJDUMP -f'  ;;darwin* | rhapsody*)  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'  lt_cv_file_magic_cmd='/usr/bin/file -L'  case "$host_os" in  rhapsody* | darwin1.[012])    lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`    ;;  *) # Darwin 1.3 on    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'    ;;  esac  ;;freebsd*)  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then    case $host_cpu in    i*86 )      # Not sure whether the presence of OpenBSD here was a mistake.      # Let's accept both of them until this is cleared up.      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'      lt_cv_file_magic_cmd=/usr/bin/file      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`      ;;    esac  else    lt_cv_deplibs_check_method=pass_all  fi  ;;gnu*)  lt_cv_deplibs_check_method=pass_all  ;;hpux10.20*|hpux11*)  lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'  lt_cv_file_magic_cmd=/usr/bin/file  lt_cv_file_magic_test_file=/usr/lib/libc.sl  ;;irix5* | irix6* | nonstopux*)  case $host_os in  irix5* | nonstopux*)    # this will be overridden with pass_all, but let us keep it just in case    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"    ;;  *)    case $LD in    *-32|*"-32 ") libmagic=32-bit;;    *-n32|*"-n32 ") libmagic=N32;;    *-64|*"-64 ") libmagic=64-bit;;    *) libmagic=never-match;;    esac    # this will be overridden with pass_all, but let us keep it just in case    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"    ;;  esac  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`  lt_cv_deplibs_check_method=pass_all  ;;# This must be Linux ELF.linux-gnu*)  case $host_cpu in  alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | x86_64*)    lt_cv_deplibs_check_method=pass_all ;;  *)    # glibc up to 2.1.1 does not perform some relocations on ARM    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;  esac  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`  ;;netbsd*)  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'  else    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'  fi  ;;newos6*)  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'  lt_cv_file_magic_cmd=/usr/bin/file  lt_cv_file_magic_test_file=/usr/lib/libnls.so  ;;openbsd*)  lt_cv_file_magic_cmd=/usr/bin/file  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'  else    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'  fi  ;;osf3* | osf4* | osf5*)  # this will be overridden with pass_all, but let us keep it just in case  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'  lt_cv_file_magic_test_file=/shlib/libc.so  lt_cv_deplibs_check_method=pass_all  ;;sco3.2v5*)  lt_cv_deplibs_check_method=pass_all  ;;solaris*)  lt_cv_deplibs_check_method=pass_all  lt_cv_file_magic_test_file=/lib/libc.so  ;;sysv5uw[78]* | sysv4*uw2*)  lt_cv_deplibs_check_method=pass_all  ;;sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)  case $host_vendor in  motorola)    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`    ;;  ncr)    lt_cv_deplibs_check_method=pass_all    ;;  sequent)    lt_cv_file_magic_cmd='/bin/file'    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'    ;;  sni)    lt_cv_file_magic_cmd='/bin/file'    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"    lt_cv_file_magic_test_file=/lib/libc.so    ;;  siemens)    lt_cv_deplibs_check_method=pass_all    ;;  esac  ;;esacfiecho "$ac_t""$lt_cv_deplibs_check_method" 1>&6file_magic_cmd=$lt_cv_file_magic_cmddeplibs_check_method=$lt_cv_deplibs_check_methodecho $ac_n "checking for object suffix""... $ac_c" 1>&6echo "configure:1878: checking for object suffix" >&5if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  rm -f conftest*echo 'int i = 1;' > conftest.$ac_extif { (eval echo configure:1884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  for ac_file in conftest.*; do    case $ac_file in    *.c) ;;    *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;    esac  doneelse  { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }firm -f conftest*fiecho "$ac_t""$ac_cv_objext" 1>&6OBJEXT=$ac_cv_objextac_objext=$ac_cv_objextecho $ac_n "checking for executable suffix""... $ac_c" 1>&6echo "configure:1904: checking for executable suffix" >&5if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test "$CYGWIN" = yes || test "$MINGW32" = yes; then  ac_cv_exeext=.exeelse  rm -f conftest*  echo 'int main () { return 0; }' > conftest.$ac_ext  ac_cv_exeext=  if { (eval echo configure:1914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then    for file in conftest.*; do      case $file in      *.c | *.o | *.obj) ;;      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;      esac    done  else    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }  fi  rm -f conftest*  test x"${ac_cv_exeext}" = x && ac_cv_exeext=nofifiEXEEXT=""test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}echo "$ac_t""${ac_cv_exeext}" 1>&6ac_exeext=$EXEEXTif test $host != $build; then  ac_tool_prefix=${host_alias}-else  ac_tool_prefix=fi# Check for command to grab the raw symbol name followed by C symbol from nm.echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6echo "configure:1945: checking command to parse $NM output" >&5if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  # These are sane defaults that work on at least a few old systems.# [They come from Ultrix.  What could be older than Ultrix?!! ;)]# Character class describing NM global symbol codes.symcode='[BCDEGRST]'# Regexp to match symbols that can be accessed directly from C.sympat='\([_A-Za-z][_A-Za-z0-9]*\)'# Transform the above into a raw symbol and a C symbol.symxfrm='\1 \2\3 \3'# Transform an extracted symbol line into a proper C declarationlt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"# Transform an extracted symbol line into symbol name and symbol addresslt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"# Define system-specific variables.case $host_os inaix*)  symcode='[BCDT]'  ;;cygwin* | mingw* | pw32*)  symcode='[ABCDGISTW]'  ;;hpux*) # Its linker distinguishes data from code symbols  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"  lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"  ;;irix* | nonstopux*)  symcode='[BCDEGRST]'  ;;osf*)  symcode='[BCDEGQRST]'  ;;solaris* | sysv5*)  symcode='[BDT]'  ;;sysv4)  symcode='[DFNSTU]'  ;;esac# Handle CRLF in mingw tool chainopt_cr=case $host_os inmingw*)  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp  ;;esac# If we're using GNU nm, then use its standard symbol codes.if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then  symcode='[ABCDGISTW]'fi# Try without a prefix undercore, then with it.for ac_symprfx in "" "_"; do  # Write the raw and C identifiers.lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"  # Check to see that the pipe works correctly.  pipe_works=no  rm -f conftest*  cat > conftest.$ac_ext <<EOF#ifdef __cplusplusextern "C" {#endifchar nm_test_var;void nm_test_func(){}#ifdef __cplusplus}#endifint main(){nm_test_var='a';nm_test_func();return(0);}EOF  if { (eval echo configure:2028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    # Now try to grab the symbols.    nlist=conftest.nm    if { (eval echo configure:2031: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then      # Try sorting and uniquifying the output.      if sort "$nlist" | uniq > "$nlist"T; then	mv -f "$nlist"T "$nlist"      else	rm -f "$nlist"T      fi      # Make sure that we snagged all the symbols we need.      if egrep ' nm_test_var$' "$nlist" >/dev/null; then	if egrep ' nm_test_func$' "$nlist" >/dev/null; t

⌨️ 快捷键说明

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