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

📄 ltconfig

📁 查看局域网的信息,类似网上邻居的功能,例如查看哪台计算机在线等
💻
📖 第 1 页 / 共 5 页
字号:
# define LTDL_GLOBAL	RTLD_GLOBAL#else# ifdef DL_GLOBAL#  define LTDL_GLOBAL	DL_GLOBAL# else#  define LTDL_GLOBAL	0# endif#endif/* We may have to define LTDL_LAZY_OR_NOW in the command line if we   find out it does not work in some platform. */#ifndef LTDL_LAZY_OR_NOW# ifdef RTLD_LAZY#  define LTDL_LAZY_OR_NOW	RTLD_LAZY# else#  ifdef DL_LAZY#   define LTDL_LAZY_OR_NOW	DL_LAZY#  else#   ifdef RTLD_NOW#    define LTDL_LAZY_OR_NOW	RTLD_NOW#   else#    ifdef DL_NOW#     define LTDL_LAZY_OR_NOW	DL_NOW#    else#     define LTDL_LAZY_OR_NOW	0#    endif#   endif#  endif# endif#endifvoid fnord() { int i=42;}int main() { void *self, *ptr1, *ptr2; self=dlopen(0,LTDL_GLOBAL|LTDL_LAZY_OR_NOW);    if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");               if(ptr1 || ptr2) { dlclose(self); exit(0); } } exit(1); return 1; }EOFif { (eval echo $progname:1799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/nullthen  lt_cv_dlopen_self=yeselse  echo "$progname: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -fr conftest*  lt_cv_dlopen_self=nofirm -fr conftest*fifiecho "$ac_t""$lt_cv_dlopen_self" 1>&6  if test "$lt_cv_dlopen_self" = yes; then    LDFLAGS="$LDFLAGS $link_static_flag"  echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6echo "$progname:1818: checking whether a statically linked program can dlopen itself" >&5if test "X${lt_cv_dlopen_self_static+set}" = Xset; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test "$cross_compiling" = yes; then    lt_cv_dlopen_self_static=cross  else    cat > conftest.c <<EOF/*#line 1826 "ltconfig"*/#if HAVE_DLFCN_H#include <dlfcn.h>#endif#include <stdio.h>#ifdef RTLD_GLOBAL# define LTDL_GLOBAL	RTLD_GLOBAL#else# ifdef DL_GLOBAL#  define LTDL_GLOBAL	DL_GLOBAL# else#  define LTDL_GLOBAL	0# endif#endif/* We may have to define LTDL_LAZY_OR_NOW in the command line if we   find out it does not work in some platform. */#ifndef LTDL_LAZY_OR_NOW# ifdef RTLD_LAZY#  define LTDL_LAZY_OR_NOW	RTLD_LAZY# else#  ifdef DL_LAZY#   define LTDL_LAZY_OR_NOW	DL_LAZY#  else#   ifdef RTLD_NOW#    define LTDL_LAZY_OR_NOW	RTLD_NOW#   else#    ifdef DL_NOW#     define LTDL_LAZY_OR_NOW	DL_NOW#    else#     define LTDL_LAZY_OR_NOW	0#    endif#   endif#  endif# endif#endifvoid fnord() { int i=42;}int main() { void *self, *ptr1, *ptr2; self=dlopen(0,LTDL_GLOBAL|LTDL_LAZY_OR_NOW);    if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");    if(ptr1 || ptr2) { dlclose(self); exit(0); } } exit(1); return 1; }EOFif { (eval echo $progname:1872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/nullthen  lt_cv_dlopen_self_static=yeselse  echo "$progname: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -fr conftest*  lt_cv_dlopen_self_static=nofirm -fr conftest*fifiecho "$ac_t""$lt_cv_dlopen_self_static" 1>&6fi    ;;  esac  case "$lt_cv_dlopen_self" in  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;  *) enable_dlopen_self=unknown ;;  esac  case "$lt_cv_dlopen_self_static" in  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;  *) enable_dlopen_self_static=unknown ;;  esacfi# Copy echo and quote the copy, instead of the original, because it is# used later.ltecho="$echo"if test "X$ltecho" = "X$CONFIG_SHELL $0 --fallback-echo"; then   ltecho="$CONFIG_SHELL \$0 --fallback-echo"fiLTSHELL="$SHELL"LTCONFIG_VERSION="$VERSION"# Only quote variables if we're using ltmain.sh.case "$ltmain" in*.sh)  # Now quote all the things that may contain metacharacters.  for var in ltecho old_AR old_AR_FLAGS old_CC old_LTCC old_CFLAGS old_CPPFLAGS \    old_MAGIC old_LD old_LDFLAGS old_LIBS \    old_LN_S old_NM old_RANLIB old_STRIP \    old_AS old_DLLTOOL old_OBJDUMP \    old_OBJEXT old_EXEEXT old_reload_flag \    old_deplibs_check_method old_file_magic_cmd \    AR AR_FLAGS CC LTCC LD LN_S NM LTSHELL LTCONFIG_VERSION \    reload_flag reload_cmds wl \    pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \    thread_safe_flag_spec whole_archive_flag_spec libname_spec \    library_names_spec soname_spec \    RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \    old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \    postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \    predep_objects postdep_objects predeps postdeps compiler_lib_search_path \    old_striplib striplib file_magic_cmd export_symbols_cmds \    deplibs_check_method allow_undefined_flag no_undefined_flag \    finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \    hardcode_libdir_flag_spec hardcode_libdir_separator  \    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \    compiler_c_o need_locks exclude_expsyms include_expsyms; do    case "$var" in    reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \    old_postinstall_cmds | old_postuninstall_cmds | \    export_symbols_cmds | archive_cmds | archive_expsym_cmds | \    extract_expsyms_cmds | old_archive_from_expsyms_cmds | \    postinstall_cmds | postuninstall_cmds | \    finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)      # Double-quote double-evaled strings.      eval "$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ### testsuite: skip nested quoting test      ;;    *)      eval "$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ### testsuite: skip nested quoting test      ;;    esac  done  case "$ltecho" in  *'\$0 --fallback-echo"')    ltecho=`$echo "X$ltecho" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`    ;;  esac  if test -z "$tagname"; then    trap "$rm \"$ofile\"; exit 1" 1 2 15    echo "creating $ofile"    $rm "$ofile"    cat <<EOF > "$ofile"#! $SHELL# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)# NOTE: Changes made to this file will be lost: look at ltconfig or ltmain.sh.## Copyright (C) 1996-2000 Free Software Foundation, Inc.# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996## This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2 of the License, or# (at your option) any later version.## This program is distributed in the hope that it will be useful, but# WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU# General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.## As a special exception to the GNU General Public License, if you# distribute this file as part of a program that contains a# configuration script generated by Autoconf, you may include it under# the same distribution terms that you use for the rest of that program.# Sed that helps us avoid accidentally triggering echo(1) options like -n.Xsed="sed -e s/^X//"# The HP-UX ksh and POSIX shell print the target directory to stdout# if CDPATH is set.if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi# The names of the tagged configurations supported by this script.available_tags=### BEGIN LIBTOOL CONFIGEOF  else    echo "appending configuration tag \"$tagname\" to $ofile"    echo "### BEGIN LIBTOOL TAG CONFIG: $tagname" >> "$ofile"  fi  cfgfile="$ofile"  ;;*)  # Double-quote the variables that need it (for aesthetics).  for var in old_AR old_AR_FLAGS old_CC old_LTCC old_CFLAGS old_CPPFLAGS \    old_MAGIC old_LD old_LDFLAGS old_LIBS \    old_LN_S old_NM old_RANLIB old_STRIP \    old_AS old_DLLTOOL old_OBJDUMP \    old_OBJEXT old_EXEEXT old_reload_flag \    old_deplibs_check_method old_file_magic_cmd; do    eval "$var=\\\"\$var\\\""  done  # Just create a config file.  cfgfile="$ofile.cfg"  if test -z "$tagname"; then    trap "$rm \"$cfgfile\"; exit 1" 1 2 15    echo "creating $cfgfile"    $rm "$cfgfile"    cat <<EOF > "$cfgfile"# `$echo "$cfgfile" | sed 's%^.*/%%'` - Libtool configuration file.# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)### BEGIN LIBTOOL CONFIGEOF  else    echo "appending to $cfgfile"    echo "### BEGIN LIBTOOL TAG CONFIG: $tagname" >> "$ofile"  fi  ;;esaccat <<EOF >> "$cfgfile"# Libtool was configured as follows, on host `(hostname || uname -n) 2>/dev/null | sed 1q`:## AR=$old_AR AR_FLAGS=$old_AR_FLAGS LTCC=$old_LTCC CC=$old_CC \\# CFLAGS=$old_CFLAGS CPPFLAGS=$old_CPPFLAGS \\# MAGIC=$old_MAGIC LD=$old_LD LDFLAGS=$old_LDFLAGS LIBS=$old_LIBS \\# LN_S=$old_LN_S NM=$old_NM RANLIB=$old_RANLIB STRIP=$old_STRIP \\# AS=$old_AS DLLTOOL=$old_DLLTOOL OBJDUMP=$old_OBJDUMP \\# objext=$old_OBJEXT exeext=$old_EXEEXT reload_flag=$old_reload_flag \\# deplibs_check_method=$old_deplibs_check_method \\# file_magic_cmd=$old_file_magic_cmd \\#   $0$ltconfig_args## Compiler and other test output produced by $progname, useful for# debugging $progname, is in ./config.log if it exists.# The version of $progname that generated this script.LTCONFIG_VERSION=$LTCONFIG_VERSION# Shell to use when invoking shell scripts.SHELL=$LTSHELL# Whether or not to build shared libraries.build_libtool_libs=$enable_shared# Whether or not to add -lc for building shared libraries.build_libtool_need_lc=$need_lc# Whether or not to build static libraries.build_old_libs=$enable_static# Whether or not to optimize for fast installation.fast_install=$enable_fast_install# The host system.host_alias=$host_aliashost=$host# An echo program that does not interpret backslashes.echo=$ltecho# The archiver.AR=$ARAR_FLAGS=$AR_FLAGS# A C compiler.LTCC=$LTCC# A language-specific compiler.CC=$CC# The linker used to build libraries.LD=$LD# Whether we need hard or soft links.LN_S=$LN_S# A BSD-compatible nm program.NM=$NM# A symbol stripping programSTRIP=$STRIP# Used to examine libraries when file_magic_cmd begins "file"MAGIC=$MAGIC# Used on cygwin: DLL creation program.DLLTOOL="$DLLTOOL"# Used on cygwin: object dumper.OBJDUMP="$OBJDUMP"# Used on cygwin: assembler.AS="$AS"# The name of the directory that contains temporary libtool files.objdir=$objdir# How to create reloadable object files.reload_flag=$reload_flagreload_cmds=$reload_cmds# How to pass a linker flag through the compiler.wl=$wl# Object file suffix (normally "o").objext="$objext"# Old archive suffix (normally "a").libext="$libext"# Executable file suffix (normally "").exeext="$exeext"# Additional compiler flags for building library objects.pic_flag=$pic_flagpic_mode=$pic_mode# Does compiler simultaneously support -c and -o options?compiler_c_o=$compiler_c_o# Must we lock files when doing compilation ?need_locks=$need_locks# Do we need the lib prefix for modules?need_lib_prefix=$need_lib_prefix# Do we need a version for libraries?need_version=$need_version# Whether dlopen is supported.dlopen_support=$enable_dlopen# Whether dlopen of programs is supported.dlopen_self=$enable_dlopen_self# Whether dlopen of statically linked programs is supported.dlopen_self_static=$enable_dlopen_self_static# Compiler flag to prevent dynamic linking.link_static_flag=$link_static_flag# Compiler flag to turn off builtin functions.no_builtin_flag=$no_builtin_flag# Compiler flag to allow reflexive dlopens.export_dynamic_flag_spec=$export_dynamic_flag_spec# Compiler flag to generate shared objects directly from archives.whole_archive_flag_spec=$whole_archive_flag_spec# Compiler flag to generate thread-safe objects.thread_safe_flag_spec=$thread_safe_flag_spec# Library versioning type.version_type=$version_type# Format of library name prefix.libname_spec=$libname_spec# List of archive names.  First name is the real one, the rest are links.# The last name is the one that the linker finds with -lNAME.library_names_spec=$library_names_spec# The coded name of the library, if different from the real name.soname_spec=$soname_spec# Commands used to build and install an old-style archive.RANLIB=$RANLIBold_archive_cmds=$old_archive_cmdsold_postinstall_cmds=$old_postinstall_cmdsold_postuninstall_cmds=$old_postuninstall_cmds# Create an old-style archive from a shared archive.old_archive_from_new_cmds=$old_archive_from_new_cmds# Cr

⌨️ 快捷键说明

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