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

📄 aclocal.m4

📁 development of enhancement
💻 M4
📖 第 1 页 / 共 5 页
字号:
    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])    need_locks=warn  fielse  need_locks=nofi])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS# AC_LIBTOOL_OBJDIR# -----------------AC_DEFUN([AC_LIBTOOL_OBJDIR],[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],[rm -f .libs 2>/dev/nullmkdir .libs 2>/dev/nullif test -d .libs; then  lt_cv_objdir=.libselse  # MS-DOS does not allow filenames that begin with a dot.  lt_cv_objdir=_libsfirmdir .libs 2>/dev/null])objdir=$lt_cv_objdir])# AC_LIBTOOL_OBJDIR# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])# ----------------------------------------------# Check hardcoding attributes.AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],[AC_MSG_CHECKING([how to hardcode library paths into programs])_LT_AC_TAGVAR(hardcode_action, $1)=if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \   test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then  # We can hardcode non-existant directories.  if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != 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 "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&     test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then    # Linking always hardcodes the temporary library directory.    _LT_AC_TAGVAR(hardcode_action, $1)=relink  else    # We can link without hardcoding, and we can hardcode nonexisting dirs.    _LT_AC_TAGVAR(hardcode_action, $1)=immediate  fielse  # We cannot hardcode anything, or else we can only hardcode existing  # directories.  _LT_AC_TAGVAR(hardcode_action, $1)=unsupportedfiAC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then  # Fast installation is not supported  enable_fast_install=noelif test "$shlibpath_overrides_runpath" = yes ||     test "$enable_shared" = no; then  # Fast installation is not necessary  enable_fast_install=needlessfi])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH# AC_LIBTOOL_SYS_LIB_STRIP# ------------------------AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],[striplib=old_striplib=AC_MSG_CHECKING([whether stripping libraries is possible])if 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"  AC_MSG_RESULT([yes])else# FIXME - insert some real tests, host_os isn't really good enough  case $host_os in   darwin*)       if test -n "$STRIP" ; then         striplib="$STRIP -x"         old_striplib="$STRIP -S"         AC_MSG_RESULT([yes])       else  AC_MSG_RESULT([no])fi       ;;   *)  AC_MSG_RESULT([no])    ;;  esacfi])# AC_LIBTOOL_SYS_LIB_STRIP# AC_LIBTOOL_SYS_DYNAMIC_LINKER# -----------------------------# PORTME Fill in your ld.so characteristicsAC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],[AC_REQUIRE([LT_AC_PROG_SED])dnlAC_MSG_CHECKING([dynamic linker characteristics])library_names_spec=libname_spec='lib$name'soname_spec=shrext_cmds=".so"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"m4_if($1,[],[if test "$GCC" = yes; then  case $host_os in    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;    *) lt_awk_arg="/^libraries:/" ;;  esac  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then    # if the path contains ";" then we assume it to be the separator    # otherwise default to the standard path separator (i.e. ":") - it is    # assumed that no part of a normal pathname contains ";" but that should    # okay in the real world where ";" in dirpaths is itself problematic.    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`  else    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`  fi  # Ok, now we have the path, separated by spaces, we can step through it  # and add multilib dir if necessary.  lt_tmp_lt_search_path_spec=  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`  for lt_sys_path in $lt_search_path_spec; do    if test -d "$lt_sys_path/$lt_multi_os_dir"; then      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"    else      test -d "$lt_sys_path" && \	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"    fi  done  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk 'BEGIN {RS=" "; FS="/|\n";} {  lt_foo="";  lt_count=0;  for (lt_i = NF; lt_i > 0; lt_i--) {    if ($lt_i != "" && $lt_i != ".") {      if ($lt_i == "..") {        lt_count++;      } else {        if (lt_count == 0) {          lt_foo="/" $lt_i lt_foo;        } else {          lt_count--;        }      }    }  }  if (lt_foo != "") { lt_freq[[lt_foo]]++; }  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }}'`  sys_lib_search_path_spec=`echo $lt_search_path_spec`else  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"fi])need_lib_prefix=unknownhardcode_into_libs=no# when you set need_version to no, make sure it does not cause -set_version# flags to be left without argumentsneed_version=unknowncase $host_os inaix3*)  version_type=linux  library_names_spec='${libname}${release}${shared_ext}$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}${shared_ext}$major'  ;;aix[[4-9]]*)  version_type=linux  need_lib_prefix=no  need_version=no  hardcode_into_libs=yes  if test "$host_cpu" = ia64; then    # AIX 5 supports IA64    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'    shlibpath_var=LD_LIBRARY_PATH  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.    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	can_build_shared=no      fi      ;;    esac    # 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.    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}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    else      # We preserve .a as extension for shared libraries through AIX4.2      # and later when we are not doing run time linking.      library_names_spec='${libname}${release}.a $libname.a'      soname_spec='${libname}${release}${shared_ext}$major'    fi    shlibpath_var=LIBPATH  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}${shared_ext}'  dynamic_linker="$host_os ld.so"  shlibpath_var=LIBRARY_PATH  ;;bsdi[[45]]*)  version_type=linux  need_version=no  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'  soname_spec='${libname}${release}${shared_ext}$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"  # 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  shrext_cmds=".dll"  need_version=no  need_lib_prefix=no  case $GCC,$host_os in  yes,cygwin* | yes,mingw* | yes,pw32*)    library_names_spec='$libname.dll.a'    # DLL is installed to $(libdir)/../bin by postinstall_cmds    postinstall_cmds='base_file=`basename \${file}`~      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~      dldir=$destdir/`dirname \$dlpath`~      test -d \$dldir || mkdir -p \$dldir~      $install_prog $dir/$dlname \$dldir/$dlname~      chmod a+x \$dldir/$dlname'    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~      dlpath=$dir/\$dldll~       $rm \$dlpath'    shlibpath_overrides_runpath=yes    case $host_os in    cygwin*)      # Cygwin DLLs use 'cyg' prefix rather than 'lib'      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"      ;;    mingw*)      # MinGW DLLs use traditional 'lib' prefix      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`      if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then        # It is most probably a Windows format PATH printed by        # mingw gcc, but we are running on Cygwin. Gcc prints its search        # path with ; separators, and with drive letters. We can handle the        # drive letters (cygwin fileutils understands them), so leave them,        # especially as we might pass files found there to a mingw objdump,        # which wouldn't understand a cygwinified path. Ahh.        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`      else        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`      fi      ;;    pw32*)      # pw32 DLLs use 'pw' prefix rather than 'lib'      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'      ;;    esac    ;;  *)    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'    ;;  esac  dynamic_linker='Win32 ld.exe'  # FIXME: first we should search . and the directory the executable is in  shlibpath_var=PATH  ;;darwin* | rhapsody*)  dynamic_linker="$host_os dyld"  version_type=darwin  need_lib_prefix=no  need_version=no  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'  soname_spec='${libname}${release}${major}$shared_ext'  shlibpath_overrides_runpath=yes  shlibpath_var=DYLD_LIBRARY_PATH  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'  m4_if([$1], [],[  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'  ;;dgux*)  version_type=linux  need_lib_prefix=no  need_version=no  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'  soname_spec='${libname}${release}${shared_ext}$major'  shlibpath_var=LD_LIBRARY_PATH  ;;freebsd1*)  dynamic_linker=no  ;;freebsd* | dragonfly*)  # DragonFly does not have aout.  When/if they implement a new  # versioning mechanism, adjust this.  if test -x /usr/bin/objformat; then    objformat=`/usr/bin/objformat`  else    case $host_os in    freebsd[[123]]*) objformat=aout ;;    *) objformat=elf ;;    esac  fi  # Handle Gentoo/FreeBSD as it was Linux  case $host_vendor in    gentoo)      version_type=linux ;;    *)      version_type=freebsd-$objformat ;;  esac  case $version_type in    freebsd-elf*)      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'      need_version=no      need_lib_prefix=no      ;;    freebsd-*)      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'      need_version=yes      ;;    linux)      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'      soname_spec='${libname}${release}${shared_ext}$major'      need_lib_prefix=no      need_version=no      ;;  esac  shlibpath_var=LD_LIBRARY_PATH  case $host_os in  freebsd2*)    shlibpath_overrides_runpath=yes    ;;  freebsd3.[[01]]* | freebsdelf3.[[01]]*)    shlibpath_overrides_runpath=yes    hardcode_into_libs=yes    ;;  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)    shlibpath_overrides_runpath=no    hardcode_into_libs=yes    ;;  *) # from 4.6 on, and DragonFly    shlibpath_overrides_runpath=yes    hardcode_into_libs=yes    ;;  esac  ;;gnu*)  version_type=linux  need_lib_prefix=no  need_version=no  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'  soname_spec='${libname}${release}${shared_ext}$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.  version_type=sunos

⌨️ 快捷键说明

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