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

📄 ltconfig

📁 一套linux下的C++开发库
💻
📖 第 1 页 / 共 5 页
字号:
reload_flag='-r'echo "$ac_t$reload_flag" 1>&6test -n "$reload_flag" && reload_flag=" $reload_flag"# 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"file_magic_cmd=file_magic_test_file=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.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 has no versioning support, so we append a major version to the name.  soname_spec='${libname}${release}.so$major'  ;;aix4*)  version_type=linux  # AIX 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  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.a'  shlibpath_var=LIBPATH  deplibs_check_method=pass_all  ;;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  library_names_spec='${libname}.so$major ${libname}.so'  soname_spec='${libname}.so'  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'  shlibpath_var=LD_LIBRARY_PATH  deplibs_check_method='file_magic ELF 32-bit LSB shared object'  file_magic_cmd=/usr/bin/file  file_magic_test_file=/shlib/libc.so  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"  # 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*)  version_type=windows  if test "$with_gcc" = yes; then    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.a'  else    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'  fi  dynamic_linker='Win32 ld.exe'  deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'  file_magic_cmd='${OBJDUMP} -f'  need_lib_prefix=no  # FIXME: first we should search . and the directory the executable is in  shlibpath_var=PATH  lt_cv_dlopen="LoadLibrary"  lt_cv_dlopen_libs=  ;;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*)      deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'      file_magic_cmd=/usr/bin/file      file_magic_test_file=`echo /usr/lib/libc.so*`      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'      need_version=no      need_lib_prefix=no      ;;    freebsd-*)      deplibs_check_method=unknown      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'      need_version=yes      ;;  esac  finish_cmds='PATH="\$PATH:/sbin" OBJFORMAT="'"$objformat"'" ldconfig -m $libdir'  shlibpath_var=LD_LIBRARY_PATH  ;;gnu*)  version_type=linux  library_names_spec='${libname}${release}.so$versuffix ${libname}.so'  shlibpath_var=LD_LIBRARY_PATH  ;;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=    # this will be overridden with pass_all, but let us keep it just in case    deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"    ;;  *)    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    # this will be overridden with pass_all, but let us keep it just in case    deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"    ;;  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}"  file_magic_cmd=/usr/bin/file  file_magic_test_file=`echo /lib${libsuff}/libc.so*`  deplibs_check_method='pass_all'  ;;# 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  deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'  file_magic_cmd=/usr/bin/file  file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`  if test -f /lib/ld.so.1; then    dynamic_linker='GNU ld.so'  else    # Only the GNU ld.so supports shared libraries on MkLinux.    case "$host_cpu" in    powerpc*) dynamic_linker=no ;;    *) dynamic_linker='Linux ld.so' ;;    esac  fi  ;;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'  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  ;;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  ;;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*)  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  # this will be overridden with pass_all, but let us keep it just in case  deplibs_check_method='file_magic COFF format alpha shared library'  file_magic_cmd=/usr/bin/file  file_magic_test_file=/shlib/libc.so  deplibs_check_method='pass_all'  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  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'  soname_spec='${libname}${release}.so$major'  shlibpath_var=LD_LIBRARY_PATH  shlibpath_overrides_runpath=yes  # ldd complains unless libraries are executable  postinstall_cmds='chmod +x $lib'  deplibs_check_method="file_magic ELF [0-9][0-9]-bit [LM]SB dynamic lib"  file_magic_cmd=/usr/bin/file  file_magic_test_file=/lib/libc.so  ;;sunos4*)  version_type=sunos  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'  shlibpath_var=LD_LIBRARY_PATH  shlibpath_overrides_runpath=yes  if test "$with_gnu_ld" = yes; then    need_lib_prefix=no  fi  need_version=yes  ;;sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)  version_type=linux  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'  soname_spec='${libname}${release}.so$major'  shlibpath_var=LD_LIBRARY_PATH  case "$host_vendor" in    ncr)      deplibs_check_method='pass_all'      ;;    motorola)      need_lib_prefix=no      need_version=no      shlibpath_overrides_runpath=no      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'      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]'      file_magic_cmd=/usr/bin/file      file_magic_test_file=`echo /usr/lib/libc.so*`      ;;  esac  ;;uts4*)  version_type=linux  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'  soname_spec='${libname}${release}.so$major'  shlibpath_var=LD_LIBRARY_PATH  ;;dgux*)  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  ;;*)  dynamic_linker=no  ;;esacecho "$ac_t$dynamic_linker" 1>&6test "$dynamic_linker" = no && can_build_shared=no# Report the final consequences.echo "checking if libtool supports shared libraries... $can_build_shared" 1>&6# Only try to build win32 dlls if AC_LIBTOOL_WIN32_DLL was used in# configure.in, otherwise build static only libraries.case "$host_os" incygwin* | mingw* | os2*)  if test x$can_build_shared = xyes; then    test x$enable_win32_dll = xno && can_build_shared=no    echo "checking if package supports dlls... $can_build_shared" 1>&6  fi;;esacif test -n "$file_magic_test_file" && test -n "$file_magic_cmd"; then  case "$deplibs_check_method" in  "file_magic "*)    file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"    if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |       egrep "$file_magic_regex" > /dev/null; then      :    else      cat <<EOF 1>&2*** Warning: the command libtool uses to detect shared libraries,*** $file_magic_cmd, produces output that libtool cannot recognize.*** The result is that libtool may fail to recognize shared libraries*** as such.  This will affect the creation of libtool libraries that*** depend on shared libraries, but programs linked with such libtool*** libraries will work regardless of this problem.  Nevertheless, you*** may want to report the problem to your system manager and/or to*** bug-libtool@gnu.orgEOF    fi ;;  esacfiecho $ac_n "checking whether to build shared libraries... $ac_c" 1>&6test "$can_build_shared" = "no" && enable_shared=no# On AIX, shared libraries and static libraries use the same namespace, and# are all built from PIC.case "$host_os" inaix3*)  test "$enable_shared" = yes && enable_static=no  if test -n "$RANLIB"; then    archive_cmds="$archive_cmds~\$RANLIB \$lib"    postinstall_cmds='$RANLIB $lib'  fi  ;;aix4*)  test "$enable_shared" = yes && enable_static=no  ;;esacecho "$ac_t$enable_shared" 1>&6# Make sure either enable_shared or enable_static is yes.test "$enable_shared" = yes || enable_static=yesecho "checking whether to build static libraries... $enable_static" 1>&6if test "$hardcode_action" = relink; then  # Fast installation is not supported  enable_fas

⌨️ 快捷键说明

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