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

📄 aclocal.m4

📁 UNIX/LINUX下面的用户文件系统
💻 M4
📖 第 1 页 / 共 5 页
字号:
    [2], [_libtool_name=$lt_[]$1],    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnlm4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl])# _LT_LIBTOOL_CONFIG_VARS# -----------------------# Produce commented declarations of non-tagged libtool config variables# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG# section) are produced by _LT_LIBTOOL_TAG_VARS.m4_define([_LT_LIBTOOL_CONFIG_VARS],[m4_foreach([_lt_var],    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])# _LT_LIBTOOL_TAG_VARS(TAG)# -------------------------m4_define([_LT_LIBTOOL_TAG_VARS],[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])# _LT_AC_TAGVAR(VARNAME, [TAGNAME])# ---------------------------------m4_define([_LT_AC_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])# _LT_CONFIG_COMMANDS# -------------------# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of# variables for single and double quote escaping we saved from calls# to _LT_DECL, we can put quote escaped variables declarations# into `config.status', and then the shell code to quote escape them in# for loops in `config.status'.  Finally, any additional code accumulated# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.m4_define([_LT_CONFIG_COMMANDS],[AC_CONFIG_COMMANDS([libtool], [_LT_OUTPUT_LIBTOOL_COMMANDS], [# 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=${ZSH_VERSION+.}:; export CDPATH; fised_quote_subst='$sed_quote_subst'double_quote_subst='$double_quote_subst'delay_variable_subst='$delay_variable_subst'_LT_CONFIG_STATUS_DECLARATIONSLTCC='$LTCC'compiler='$compiler_DEFAULT'# Quote evaled strings.for var in lt_decl_all_varnames([[ ]], lt_decl_quote_varnames); do    eval "lt_\$var=\\\\\\"\\\`\\\$echo \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""done# Double-quote double-evaled strings.for var in lt_decl_all_varnames([[ ]], lt_decl_dquote_varnames); do    eval "lt_\$var=\\\\\\"\\\`\\\$echo \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""done# Fix-up fallback echo if it was mangled by the above quoting rules.case \$lt_echo in*'\\\[$]0 --fallback-echo"')dnl "  lt_echo=\`\$echo "X\$lt_echo" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`  ;;esac_LT_OUTPUT_LIBTOOL_INIT])])#_LT_CONFIG_COMMANDS# _LT_CONFIG(TAG)# ----------------------------# If TAG is the built-in tag, create an initial libtool script with a# default configuration from the untagged config vars.  Otherwise add code# to config.status for appending the configuration named by TAG from the# matching tagged config vars.m4_define([_LT_CONFIG],[_LT_CONFIG_SAVE_COMMANDS([  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl  m4_if(_LT_TAG, [C], [    # See if we are running on zsh, and set the options which allow our    # commands through without removal of \ escapes.    if test -n "${ZSH_VERSION+set}" ; then      setopt NO_GLOB_SUBST    fi    cfgfile="${ofile}T"    trap "$rm \"$cfgfile\"; exit 1" 1 2 15    $rm -f "$cfgfile"    cat <<_LT_EOF >> "$cfgfile"#! $SHELL# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.# Generated automatically by config.status (GNU $PACKAGE$TIMESTAMP) $VERSION# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:# NOTE: Changes made to this file will be lost: look at ltmain.sh.#_LT_COPYING_LT_LIBTOOL_TAGS# ### BEGIN LIBTOOL CONFIG_LT_LIBTOOL_CONFIG_VARS_LT_LIBTOOL_TAG_VARS# ### END LIBTOOL CONFIG# 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_LT_EOF  case $host_os in  aix3*)    cat <<\_LT_EOF >> "$cfgfile"# AIX sometimes has problems with the GCC collect2 program.  For some# reason, if we set the COLLECT_NAMES environment variable, the problems# vanish in a puff of smoke.if test "X${COLLECT_NAMES+set}" != Xset; then  COLLECT_NAMES=  export COLLECT_NAMESfi_LT_EOF    ;;  esac  _LT_PROG_LTMAIN  # We use sed instead of cat because bash on DJGPP gets confused if  # if finds mixed CR/LF and LF-only lines.  Since sed operates in  # text mode, it properly converts lines to CR/LF.  This bash problem  # is reportedly fixed, but why not run on old versions too?  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)  mv -f "$cfgfile" "$ofile" ||    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")  chmod +x "$ofile"],[cat <<_LT_EOF >> "$ofile"dnl Unfortunately we have to use $1 here, since _LT_TAG is not expandeddnl in a comment (ie after a #).# ### BEGIN LIBTOOL TAG CONFIG: $1_LT_LIBTOOL_TAG_VARS(_LT_TAG)# ### END LIBTOOL TAG CONFIG: $1_LT_EOF])dnl /m4_if],[m4_if([$1], [], [    PACKAGE='$PACKAGE'    VERSION='$VERSION'    TIMESTAMP='$TIMESTAMP'    rm='$rm'    ofile='$ofile'], [])])dnl /_LT_CONFIG_SAVE_COMMANDS])# _LT_CONFIG# C support is built-in for nowm4_define([_LT_LANG_C_enabled], [])m4_define([_LT_TAGS], [])# LT_LANG(LANG)# -------------# Enable libtool support for the given language if not already enabled.AC_DEFUN([LT_LANG],[m4_case([$1],  [C],			[_LT_LANG(C)],  [C++],		[_LT_LANG(CXX)],  [Java],		[_LT_LANG(GCJ)],  [Fortran 77],		[_LT_LANG(F77)],  [Windows Resource],	[_LT_LANG(RC)],  [m4_ifdef([_LT_LANG_]$1[_CONFIG],    [_LT_LANG($1)],    [m4_fatal([$0: unsupported language: "$1"])])])dnl])# LT_LANG# _LT_LANG(LANGNAME)# ------------------m4_define([_LT_LANG],[m4_ifdef([_LT_LANG_]$1[_enabled], [],  [m4_append([_LT_TAGS], [$1 ])dnl  m4_define([_LT_LANG_]$1[_enabled], [])dnl  _LT_LANG_$1_CONFIG($1)])dnl])# _LT_LANG# _LT_LANG_DEFAULT_CONFIG# -----------------------m4_define([_LT_LANG_DEFAULT_CONFIG],[AC_PROVIDE_IFELSE([AC_PROG_CXX],  [LT_LANG(CXX)],  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])AC_PROVIDE_IFELSE([AC_PROG_F77],  [LT_LANG(F77)],  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocaldnl pulling things in needlessly.AC_PROVIDE_IFELSE([AC_PROG_GCJ],  [LT_LANG(GCJ)],  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],    [LT_LANG(GCJ)],    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],      [LT_LANG(GCJ)],      [m4_ifdef([AC_PROG_GCJ],	[m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])       m4_ifdef([A][M_PROG_GCJ],	[m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])       m4_ifdef([LT_PROG_GCJ],	[m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])AC_PROVIDE_IFELSE([LT_PROG_RC],  [LT_LANG(RC)],  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])])# _LT_LANG_DEFAULT_CONFIG# Obsolete macrosAU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java])])# _LT_AC_SYS_COMPILER# -------------------AC_DEFUN([_LT_AC_SYS_COMPILER],[AC_REQUIRE([AC_PROG_CC])dnl_LT_DECL([LTCC], [CC], [1], [A C compiler])_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU C compiler?])# If no C compiler was specified, use CC.LTCC=${LTCC-"$CC"}# Allow CC to be a program name with arguments.compiler=$CC])# _LT_AC_SYS_COMPILER# _LT_AC_SYS_LIBPATH_AIX# ----------------------# Links a minimal program and checks the executable# for the system default hardcoded library path. In most cases,# this is /usr/lib:/lib, but when the MPI compilers are used# the location of the communication and MPI libs are included too.# If we don't find anything, use the default library path according# to the aix ld manual.m4_define([_LT_AC_SYS_LIBPATH_AIX],[AC_LINK_IFELSE(AC_LANG_PROGRAM,[aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }}'`# Check for a 64-bit object if we didn't find anything.if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }}'`; fi],[])if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi])# _LT_AC_SYS_LIBPATH_AIX# _LT_AC_SHELL_INIT(ARG)# ----------------------m4_define([_LT_AC_SHELL_INIT],[ifdef([AC_DIVERSION_NOTICE],	     [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],	 [AC_DIVERT_PUSH(NOTICE)])$1AC_DIVERT_POP])# _LT_AC_SHELL_INIT# _LT_AC_PROG_ECHO_BACKSLASH# --------------------------# Add some code to the start of the generated configure script which# will find an echo command which doesn't interpret backslashes.m4_define([_LT_AC_PROG_ECHO_BACKSLASH],[_LT_AC_SHELL_INIT([# Check that we are running under the correct shell.SHELL=${CONFIG_SHELL-/bin/sh}case X$ECHO inX*--fallback-echo)  # Remove one level of quotation (which was required for Make).  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`  ;;esacecho=${ECHO-echo}if test "X[$]1" = X--no-reexec; then  # Discard the --no-reexec flag, and continue.  shiftelif test "X[$]1" = X--fallback-echo; then  # Avoid inline document here, it may be left over  :elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then  # Yippee, $echo works!  :else  # Restart under the correct shell.  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}fiif test "X[$]1" = X--fallback-echo; then  # used as fallback echo  shift  cat <<_LT_EOF[$]*_LT_EOF  exit 0fi# 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; fiif test -z "$ECHO"; thenif test "X${echo_test_string+set}" != Xset; then# find a string as large as possible, as long as the shell can cope with it  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...    if (echo_test_string="`eval $cmd`") 2>/dev/null &&       echo_test_string="`eval $cmd`" &&       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null    then      break    fi  donefiif test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&   test "X$echo_testing_string" = "X$echo_test_string"; then  :else  # The Solaris, AIX, and Digital Unix default echo programs unquote  # backslashes.  This makes it impossible to quote backslashes using  #   echo "$something" | sed 's/\\/\\\\/g'  #  # So, first we look for a working echo in the user's PATH.  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR  for dir in $PATH /usr/ucb; do    IFS="$lt_save_ifs"    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&       test "X$echo_testing_string" = "X$echo_test_string"; then      echo="$dir/echo"      break    fi  done  IFS="$lt_save_ifs"  if test "X$echo" = Xecho; then    # We didn't find a better echo, so look for alternatives.    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&       test "X$echo_testing_string" = "X$echo_test_string"; then      # This shell has a builtin print -r that does the trick.      echo='print -r'    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&	 test "X$CONFIG_SHELL" != X/bin/ksh; then      # If we have ksh, try running configure again with it.      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}      export ORIGINAL_CONFIG_SHELL      CONFIG_SHELL=/bin/ksh      export CONFIG_SHELL      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}    else      # Try using printf.      echo='printf %s\n'      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&	 test "X$echo_testing_string" = "X$echo_test_string"; then	# Cool, printf works	:      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&	   test "X$echo_testing_string" = 'X\t' &&	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&	   test "X$echo_testing_string" = "X$echo_test_string"; then	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL	export CONFIG_SHELL	SHELL="$CONFIG_SHELL"	export SHELL	echo="$CONFIG_SHELL [$]0 --fallback-echo"      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&	   test "X$echo_testing_string" = 'X\t' &&	   echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&	   test "X$echo_testing_string" = "X$echo_test_string"; then	echo="$CONFIG_SHELL [$]0 --fallback-echo"      else	# maybe with a smaller string...	prev=:	for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null	  then	    break	  fi	  prev="$cmd"

⌨️ 快捷键说明

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