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

📄 ltconfig

📁 bookcase,by shell script and c++ and perl
💻
📖 第 1 页 / 共 5 页
字号:
  echo $ac_n "checking if we can lock with hard links... $ac_c" 1>&6  hard_links=yes  $rm conftest*  ln conftest.a conftest.b 2>/dev/null && hard_links=no  touch conftest.a  ln conftest.a conftest.b 2>&5 || hard_links=no  ln conftest.a conftest.b 2>/dev/null && hard_links=no  echo "$ac_t$hard_links" 1>&6  $rm conftest*  if test "$hard_links" = no; then    echo "*** WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2    need_locks=warn  fielse  need_locks=nofiif test "$with_gcc" = yes; then  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler  echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions ... $ac_c" 1>&6  $rm conftest*  echo $lt_simple_compile_test_code > conftest.$ac_ext  save_CFLAGS="$CFLAGS"  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"  echo "$progname:883: checking if $compiler supports -fno-rtti -fno-exceptions" >&5  if { (eval echo $progname:884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>conftest.err; } && test -s conftest.$objext; then    # The compiler can only warn and ignore the option if not recognized    # So say no if there are warnings      if test -s conftest.err; then	echo "$ac_t"no 1>&6	compiler_rtti_exceptions=no      else	echo "$ac_t"yes 1>&6	compiler_rtti_exceptions=yes      fi  else    # Append any errors to the config.log.    cat conftest.err 1>&5    compiler_rtti_exceptions=no    echo "$ac_t"no 1>&6  fi  CFLAGS="$save_CFLAGS"  $rm conftest*  if test "$compiler_rtti_exceptions" = "yes"; then    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'  else    no_builtin_flag=' -fno-builtin'  fi  fi# See if the linker supports building shared libraries.echo $ac_n "checking whether the linker ($LD) supports shared libraries... $ac_c" 1>&6echo "$ac_t$ld_shlibs" 1>&6test "$ld_shlibs" = no && can_build_shared=no# Check hardcoding attributes.echo $ac_n "checking how to hardcode library paths into programs... $ac_c" 1>&6hardcode_action=if test -n "$hardcode_libdir_flag_spec" || \   test -n "$runpath_var"; then  # We can hardcode non-existant directories.  if test "$hardcode_direct" != no &&     # If the only mechanism to avoid hardcoding is shlibpath_var, we     # have to relink, otherwise we might link with an installed library     # when we should be linking with a yet-to-be-installed one     ## test "$hardcode_shlibpath_var" != no &&     test "$hardcode_minus_L" != no; then    # Linking always hardcodes the temporary library directory.    hardcode_action=relink  else    # We can link without hardcoding, and we can hardcode nonexisting dirs.    hardcode_action=immediate  fielse  # We cannot hardcode anything, or else we can only hardcode existing  # directories.  hardcode_action=unsupportedfiecho "$ac_t$hardcode_action" 1>&6echo $ac_n "checking whether stripping libraries is possible... $ac_c" 1>&6if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"  test -z "$striplib" && striplib="$STRIP --strip-unneeded"  echo "${ac_t}yes" 1>&6else  echo "${ac_t}no" 1>&6ficase $reload_flag in"" | " "*) ;;*) reload_flag=" $reload_flag" ;;esacreload_cmds='$LD$reload_flag -o $output$reload_objs'test -z "$deplibs_check_method" && deplibs_check_method=unknown# PORTME Fill in your ld.so characteristicslibrary_names_spec=libname_spec='lib$name'soname_spec=postinstall_cmds=postuninstall_cmds=finish_cmds=finish_eval=shlibpath_var=shlibpath_overrides_runpath=unknownversion_type=nonedynamic_linker="$host_os ld.so"sys_lib_dlsearch_path_spec="/lib /usr/lib"sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"echo $ac_n "checking dynamic linker characteristics... $ac_c" 1>&6case $host_os inaix3*)  version_type=linux  library_names_spec='${libname}${release}.so$versuffix $libname.a'  shlibpath_var=LIBPATH  # AIX 3 has no versioning support, so we append a major version to the name.  soname_spec='${libname}${release}.so$major'  ;;aix4* | aix5*)  if test "$host_cpu" = ia64; then    # AIX 5 supports IA64    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'    shlibpath_var=LD_LIBRARY_PATH  else    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct    # soname into executable. Probably we can add versioning support to    # collect2, so additional links can be useful in future.    # We preserve .a as extension for shared libraries though AIX4.2    # and later linker supports .so    if test "$aix_use_runtimelinking" = yes; then      # If using run time linking (on AIX 4.2 or later) use lib<name>.so instead of      # lib<name>.a to let people know that these are not typical AIX shared libraries.      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'      # We want symlinks to be created for the different names.      version_type=linux    else      # We preserve .a as extension for shared libraries though AIX4.2      # and later when we are not doing run time linking.      library_names_spec='${libname}${release}.a $libname.a'      soname_spec='${libname}${release}.so$major.o'    fi    # If we're using GNU nm, then we don't want the "-C" option.    # -C means demangle to AIX nm, but means don't demangle with GNU nm    if $NM -V 2>&1 | egrep '(GNU)' > /dev/null; then      export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'    else      export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'    fi    shlibpath_var=LIBPATH    deplibs_check_method=pass_all    # Put the right runpath into libraries.    hardcode_into_libs=yes    case $host_os in    aix4 | aix4.[01] | aix4.[01].*)      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'	   echo ' yes '	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then	:      else	# With GCC up to 2.95.x, collect2 would create an import file	# for dependence libraries.  The import file would start with	# the line `#! .'.  This would cause the generated library to	# depend on `.', always an invalid library.  This was fixed in	# development snapshots of GCC prior to 3.0.        can_build_shared=no      fi      ;;    esac  fi  ;;amigaos*)  library_names_spec='$libname.ixlibrary $libname.a'  # Create ${libname}_ixlibrary.a entries in /sys/libs.  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'  ;;beos*)  library_names_spec='${libname}.so'  dynamic_linker="$host_os ld.so"  shlibpath_var=LIBRARY_PATH  lt_cv_dlopen="load_add_on"  lt_cv_dlopen_libs=  lt_cv_dlopen_self=yes  ;;bsdi4*)  version_type=linux  need_version=no  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'  soname_spec='${libname}${release}.so$major'  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'  shlibpath_var=LD_LIBRARY_PATH  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"  export_dynamic_flag_spec=-rdynamic  # the default ld.so.conf also contains /usr/contrib/lib and  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow  # libtool to hard-code these into programs  ;;cygwin* | mingw* | pw32*)  version_type=windows  need_version=no  need_lib_prefix=no  case $with_gcc,$host_os in  yes,cygwin*)    library_names_spec='$libname.dll.a'    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'    postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i; echo \$dlname'\''`~      dldir=$destdir/`dirname \$dlpath`~      test -d \$dldir || mkdir -p \$dldir~      $install_prog .libs/$dlname \$dldir/$dlname'    postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~      dlpath=$dir/\$dldll; $rm \$dlpath'    ;;  yes,mingw*)    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`    ;;  yes,pw32*)    library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll';;  *)    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'    ;;  esac  dynamic_linker='Win32 ld.exe'  # FIXME: first we should search . and the directory the executable is in  shlibpath_var=PATH  lt_cv_dlopen="LoadLibrary"  lt_cv_dlopen_libs=  ;;darwin* | rhapsody*)  dynamic_linker="$host_os dyld"  version_type=darwin  need_lib_prefix=no  need_version=no  library_names_spec='${libname}${release}${versuffix}.`test .$module = .yes && echo so || echo dylib` ${libname}${release}${major}.$`test .$module = .yes && echo so || echo dylib` ${libname}.`test .$module = .yes && echo so || echo dylib`'  soname_spec='${libname}${release}${major}.`test .$module = .yes && echo so || echo dylib`'  shlibpath_overrides_runpath=yes  shlibpath_var=DYLD_LIBRARY_PATH  ;;freebsd1*)  dynamic_linker=no  ;;freebsd*)  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`  version_type=freebsd-$objformat  case $version_type in    freebsd-elf*)      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'      need_version=no      need_lib_prefix=no      ;;    freebsd-*)      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'      need_version=yes      ;;  esac  shlibpath_var=LD_LIBRARY_PATH  case $host_os in  freebsd2*)    shlibpath_overrides_runpath=yes    ;;  *)    shlibpath_overrides_runpath=no    hardcode_into_libs=yes    ;;  esac  ;;gnu*)  version_type=linux  need_lib_prefix=no  need_version=no  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'  soname_spec='${libname}${release}.so$major'  shlibpath_var=LD_LIBRARY_PATH  hardcode_into_libs=yes  ;;hpux9* | hpux10* | hpux11*)  # Give a soname corresponding to the major version so that dld.sl refuses to  # link against other versions.  dynamic_linker="$host_os dld.sl"  version_type=sunos  need_lib_prefix=no  need_version=no  shlibpath_var=SHLIB_PATH  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH  library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'  soname_spec='${libname}${release}.sl$major'  # HP-UX runs *really* slowly unless shared libraries are mode 555.  postinstall_cmds='chmod 555 $lib'  ;;irix5* | irix6*)  version_type=irix  need_lib_prefix=no  need_version=no  soname_spec='${libname}${release}.so$major'  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'  case $host_os in  irix5*)    libsuff= shlibsuff=    ;;  *)    case $LD in # libtool.m4 will add one of these switches to LD    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;    *) libsuff= shlibsuff= libmagic=never-match;;    esac    ;;  esac  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH  shlibpath_overrides_runpath=no  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"  ;;# No shared lib support for Linux oldld, aout, or coff.linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)  dynamic_linker=no  ;;# This must be Linux ELF.linux-gnu*)  version_type=linux  need_lib_prefix=no  need_version=no  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'  soname_spec='${libname}${release}.so$major'  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'  shlibpath_var=LD_LIBRARY_PATH  shlibpath_overrides_runpath=no  # This implies no fast_install, which is unacceptable.  # Some rework will be needed to allow for fast_install  # before this can be enabled.  hardcode_into_libs=yes  # We used to test for /lib/ld.so.1 and disable shared libraries on  # powerpc, because MkLinux only supported shared libraries with the  # GNU dynamic linker.  Since this was broken with cross compilers,  # most powerpc-linux boxes support dynamic linking these days and  # people can always --disable-shared, the test was removed, and we  # assume the GNU/Linux dynamic linker is in use.  dynamic_linker='GNU/Linux ld.so'  ;;netbsd*)  version_type=sunos  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'    dynamic_linker='NetBSD (a.out) ld.so'    need_version=yes  else    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'    soname_spec='${libname}${release}.so$major'    dynamic_linker='NetBSD ld.elf_so'  fi  shlibpath_var=LD_LIBRARY_PATH  shlibpath_overrides_runpath=yes  hardcode_into_libs=yes  ;;newsos6)  version_type=linux  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'  shlibpath_var=LD_LIBRARY_PATH  shlibpath_overrides_runpath=yes  ;;openbsd*)  version_type=sunos  if test "$with_gnu_ld" = yes; then    need_lib_prefix=no    need_version=no  fi  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'  shlibpath_var=LD_LIBRARY_PATH  # OpenBSD 2.7 the overriding is needed for fast-install  shlibpath_overrides_runpath=yes  ;;os2*)  libname_spec='$name'  need_lib_prefix=no  library_names_spec='$libname.dll $libname.a'  dynamic_linker='OS/2 ld.exe'  shlibpath_var=LIBPATH  ;;osf3* | osf4* | osf5*)  version_type=osf  need_version=no  soname_spec='${libname}${release}.so'  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'  shlibpath_var=LD_LIBRARY_PATH  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"  ;;sco3.2v5*)  version_type=osf  soname_spec='${libname}${release}.so$major'  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'  shlibpath_var=LD_LIBRARY_PATH  ;;solaris*)  version_type=linux  need_lib_prefix=no  need_version=no

⌨️ 快捷键说明

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