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

📄 autoconf.m4f

📁 MSYS在windows下模拟了一个类unix的终端
💻 M4F
📖 第 1 页 / 共 5 页
字号:
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)  sed '=' <$as_myself |    sed '      N      s,$,-,      : loop      s,^\([['$as_cr_digits']]*\)\(.*\)[[$]]LINENO\([[^'$as_cr_alnum'_]]\),\1\2\1\3,      t loop      s,-$,,      s,^[['$as_cr_digits']]*\n,,    ' >$as_me.lineno &&  chmod +x $as_me.lineno ||    AS_ERROR([cannot create $as_me.lineno; rerun with a POSIX shell])  # Don't try to exec as it changes $[0], causing all sort of problems  # (the dirname of $[0] is not the place where we might find the  # original and so on.  Autoconf is especially sensible to this).  . ./$as_me.lineno  # Exit status is that of the last command.  exit}T32,26m4_location(AC_SETVBUF_REVERSED)autoconf/functions.m4:1620T6,2m4_fst$1T22,105AC_MSG_RESULT_UNQUOTED_AS_ECHO_UNQUOTED([$as_me:$LINENO: result: $1], AS_MESSAGE_LOG_FD)_AS_ECHO_UNQUOTED([${ECHO_T}$1])[]dnlT24,50_m4_warning_error_ifelse__m4_warning_error_ifelse([$1], [$2], m4_warnings)T18,229AC_CONFIG_COMMANDS_m4_defun_pro([AC_CONFIG_COMMANDS])AC_FOREACH([AC_Name], [$1], [_AC_CONFIG_COMMAND(m4_defn([AC_Name]), [$2])])dnl_AC_CONFIG_COMMANDS_INIT([$3])dnlac_config_commands="$ac_config_commands $1"[]_m4_defun_epi([AC_CONFIG_COMMANDS])T28,21m4_location(AC_CHECK_MEMBER)autoconf/types.m4:484T9,1198AC_PATH_X_m4_defun_pro([AC_PATH_X])dnl Document the X abnormal options inherited from history.m4_divert_once([HELP_BEGIN], [X features:  --x-includes=DIR    X include files are in DIR  --x-libraries=DIR   X library files are in DIR])dnlAC_MSG_CHECKING([for X])AC_ARG_WITH(x, [  --with-x                use the X Window System])# $have_x is `yes', `no', `disabled', or empty when we do not yet know.if test "x$with_x" = xno; then  # The user explicitly disabled X.  have_x=disabledelse  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then    # Both variables are already set.    have_x=yes  else    _AC_PATH_X  fi  eval "$ac_cv_have_x"fi # $with_x != noif test "$have_x" != yes; then  AC_MSG_RESULT([$have_x])  no_x=yeselse  # If each of the values was on the command line, it overrides each guess.  test "x$x_includes" = xNONE && x_includes=$ac_x_includes  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries  # Update the cache value to reflect the command line values.  ac_cv_have_x="have_x=yes \		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"  AC_MSG_RESULT([libraries $x_libraries, headers $x_includes])fi[]_m4_defun_epi([AC_PATH_X])T24,24m4_location(AC_CHECKING)autoconf/general.m4:1991T16,459AC_CHECK_MEMBERS_m4_defun_pro([AC_CHECK_MEMBERS])m4_foreach([AC_Member], [$1],  [AC_CHECK_MEMBER(AC_Member,         [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]AC_Member), 1,                            [Define to 1 if `]m4_bpatsubst(AC_Member,                                                     [^[^.]*\.])[' is                             member of `]m4_bpatsubst(AC_Member, [\..*])['.])$2],                 [$3],                 [$4])])[]_m4_defun_epi([AC_CHECK_MEMBERS])F6,6syscmdsyscmdT25,26m4_location(AC_FUNC_MMAP)autoconf/functions.m4:1246T11,200_m4_foreachm4_if([$2], [[]], [],       [m4_define([$1], m4_car($2))$3[]_m4_foreach([$1],                                                   m4_cdr($2),                                                   [$3])])T15,183AM_PROG_INSTALL_m4_defun_pro([AM_PROG_INSTALL])AC_DIAGNOSE([obsolete], [The macro `AM_PROG_INSTALL' is obsolete.You should run autoupdate.])dnlAC_PROG_INSTALL($@)[]_m4_defun_epi([AM_PROG_INSTALL])T14,179AM_FUNC_MKTIME_m4_defun_pro([AM_FUNC_MKTIME])AC_DIAGNOSE([obsolete], [The macro `AM_FUNC_MKTIME' is obsolete.You should run autoupdate.])dnlAC_FUNC_MKTIME($@)[]_m4_defun_epi([AM_FUNC_MKTIME])T10,0m4_symbolsT31,25m4_location(_AC_FUNC_MALLOC_IF)autoconf/functions.m4:860T13,74AC_LIBSOURCESm4_foreach([_AC_FILENAME], [$1],            [AC_LIBSOURCE(_AC_FILENAME)])T11,659AC_C_INLINE_m4_defun_pro([AC_C_INLINE])AC_CACHE_CHECK([for inline], ac_cv_c_inline,[ac_cv_c_inline=nofor ac_kw in inline __inline__ __inline; do  AC_COMPILE_IFELSE([AC_LANG_SOURCE([#ifndef __cplusplustypedef int foo_t;static $ac_kw foo_t static_foo () {return 0; }$ac_kw foo_t foo () {return 0; }#endif])],                    [ac_cv_c_inline=$ac_kw; break])done])case $ac_cv_c_inline in  inline | yes) ;;  no) AC_DEFINE(inline,,                [Define as `__inline' if that's what the C compiler calls it,                 or to nothing if it is not supported.]) ;;  *)  AC_DEFINE_UNQUOTED(inline, $ac_cv_c_inline) ;;esac[]_m4_defun_epi([AC_C_INLINE])T23,24m4_location(AC_TRY_RUN)autoconf/general.m4:2307T13,176AC_RETSIGTYPE_m4_defun_pro([AC_RETSIGTYPE])AC_DIAGNOSE([obsolete], [The macro `AC_RETSIGTYPE' is obsolete.You should run autoupdate.])dnlAC_TYPE_SIGNAL($@)[]_m4_defun_epi([AC_RETSIGTYPE])T27,24m4_location(AC_PROG_RANLIB)autoconf/programs.m4:491T17,656AC_STRUCT_ST_RDEV_m4_defun_pro([AC_STRUCT_ST_RDEV])AC_DIAGNOSE([obsolete], [The macro `AC_STRUCT_ST_RDEV' is obsolete.You should run autoupdate.])dnlAC_DIAGNOSE([obsolete], [$0:        your code should no longer depend upon `HAVE_ST_RDEV', but        `HAVE_STRUCT_STAT_ST_RDEV'.  Remove this warning and        the `AC_DEFINE' when you adjust the code.])AC_CHECK_MEMBERS([struct stat.st_rdev],                 [AC_DEFINE(HAVE_ST_RDEV, 1,                            [Define to 1 if your `struct stat' has `st_rdev'.                             Deprecated, use `HAVE_STRUCT_STAT_ST_RDEV'                             instead.])])[]_m4_defun_epi([AC_STRUCT_ST_RDEV])T13,175AC_MSG_NOTICEm4_ifset([AS_MESSAGE_LOG_FD],          [{ _AS_ECHO([$as_me:$LINENO: $1], [AS_MESSAGE_LOG_FD])_AS_ECHO([$as_me: $1], [$2]);}],          [_AS_ECHO([$as_me: $1], [$2])])[]dnlT24,24m4_location(AC_TIMEZONE)autoconf/oldnames.m4:101T13,175AC_FUNC_CHECK_m4_defun_pro([AC_FUNC_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_FUNC_CHECK' is obsolete.You should run autoupdate.])dnlAC_CHECK_FUNC($@)[]_m4_defun_epi([AC_FUNC_CHECK])T21,200AC_TIME_WITH_SYS_TIME_m4_defun_pro([AC_TIME_WITH_SYS_TIME])AC_DIAGNOSE([obsolete], [The macro `AC_TIME_WITH_SYS_TIME' is obsolete.You should run autoupdate.])dnlAC_HEADER_TIME($@)[]_m4_defun_epi([AC_TIME_WITH_SYS_TIME])T30,0m4_include(m4sugar/version.m4)F5,5indirindirT27,56m4_location(AS_DIRNAME_SED)/prjz/msys/dtk/src/autoconf-2.56/lib/m4sugar/m4sh.m4:445T20,20m4_PACKAGE_BUGREPORTbug-autoconf@gnu.orgT13,176AC_HAVE_FUNCS_m4_defun_pro([AC_HAVE_FUNCS])AC_DIAGNOSE([obsolete], [The macro `AC_HAVE_FUNCS' is obsolete.You should run autoupdate.])dnlAC_CHECK_FUNCS($@)[]_m4_defun_epi([AC_HAVE_FUNCS])T28,23m4_location(AC_PROGRAM_PATH)autoconf/oldnames.m4:64T9,147m4_bmatchm4_if([$#], 0, [],       [$#], 1, [],       [$#], 2, [$2],       [m4_if(m4_bregexp([$1], [$2]), -1, [$0([$1], m4_shiftn(3, $@))],	      [$3])])T8,228m4_splitm4_changequote(``, '')dnl[dnl Can't use m4_default here instead of m4_if, because m4_default usesdnl [ and ] as quotes.m4_bpatsubst(````$1'''',	     m4_if(``$2'',, ``[ 	]+'', ``$2''),	     ``], ['')]dnlm4_changequote([, ])T17,1223AC_HEADER_STDBOOL_m4_defun_pro([AC_HEADER_STDBOOL])AC_CACHE_CHECK([for stdbool.h that conforms to C99],   [ac_cv_header_stdbool_h],   [AC_COMPILE_IFELSE([AC_LANG_PROGRAM(      [[#include <stdbool.h>#ifndef bool# error bool is not defined#endif#ifndef false# error false is not defined#endif#if false# error false is not 0#endif#ifndef true# error true is not defined#endif#if true != 1# error true is not 1#endif#ifndef __bool_true_false_are_defined# error __bool_true_false_are_defined is not defined#endif        struct s { _Bool s: 1; _Bool t; } s;        char a[true == 1 ? 1 : -1];        char b[false == 0 ? 1 : -1];        char c[__bool_true_false_are_defined == 1 ? 1 : -1];        char d[(bool) -0.5 == true ? 1 : -1];        bool e = &s;        char f[(_Bool) -0.0 == false ? 1 : -1];        char g[true];        char h[sizeof (_Bool)];        char i[sizeof s.t];      ]],      [[ return !a + !b + !c + !d + !e + !f + !g + !h + !i; ]])],      [ac_cv_header_stdbool_h=yes],      [ac_cv_header_stdbool_h=no])])AC_CHECK_TYPES([_Bool])if test $ac_cv_header_stdbool_h = yes; then  AC_DEFINE(HAVE_STDBOOL_H, 1, [Define to 1 if stdbool.h conforms to C99.])fi[]_m4_defun_epi([AC_HEADER_STDBOOL])T14,228AC_DIVERT_PUSHm4_pushdef([m4_divert_stack],            m4_location[: $0: $1]m4_ifdef([m4_divert_stack], [m4_defn([m4_divert_stack])]))dnlm4_pushdef([_m4_divert_diversion], [$1])dnlm4_builtin([divert], _m4_divert(_m4_divert_diversion))dnlT21,183AC_LANG_FUNC_LINK_TRY_m4_defun_pro([AC_LANG_FUNC_LINK_TRY])m4_ifval([$1], [], [m4_warn([syntax], [$0: no function given])])dnl_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]_m4_defun_epi([AC_LANG_FUNC_LINK_TRY])T37,20m4_location(AC_LANG_BOOL_COMPILE_TRY)autoconf/lang.m4:251T15,183AC_HEADER_EGREP_m4_defun_pro([AC_HEADER_EGREP])AC_DIAGNOSE([obsolete], [The macro `AC_HEADER_EGREP' is obsolete.You should run autoupdate.])dnlAC_EGREP_HEADER($@)[]_m4_defun_epi([AC_HEADER_EGREP])T15,609AC_FUNC_STRCOLL_m4_defun_pro([AC_FUNC_STRCOLL])AC_CACHE_CHECK(for working strcoll, ac_cv_func_strcoll_works,[AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],  [[exit (strcoll ("abc", "def") >= 0 ||	 strcoll ("ABC", "DEF") >= 0 ||	 strcoll ("123", "456") >= 0)]])],               ac_cv_func_strcoll_works=yes,               ac_cv_func_strcoll_works=no,               ac_cv_func_strcoll_works=no)])if test $ac_cv_func_strcoll_works = yes; then  AC_DEFINE(HAVE_STRCOLL, 1,            [Define to 1 if you have the `strcoll' function and it is properly             defined.])fi[]_m4_defun_epi([AC_FUNC_STRCOLL])T27,26m4_location(AM_FUNC_STRTOD)autoconf/functions.m4:1486T14,153m4_append_uniqm4_ifdef([$1],          [m4_bmatch([$3]m4_defn([$1])[$3], m4_re_escape([$3$2$3]), [],                     [m4_append($@)])],          [m4_append($@)])T29,24m4_location(AC_PROG_MAKE_SET)autoconf/programs.m4:483T18,8m4_PACKAGE_TARNAMEautoconfT34,20m4_location(AC_LANG_FUNC_LINK_TRY)autoconf/lang.m4:243T23,20m4_location(_AC_PATH_X)autoconf/libs.m4:318T34,17m4_location(AC_LANG_COMPILER(C++))autoconf/c.m4:612T26,24m4_location(AC_CHECK_TOOL)autoconf/programs.m4:222T29,346_AC_SYS_LARGEFILE_MACRO_VALUEAC_CACHE_CHECK([for $1 value needed for large files], [$3],[while :; do  $3=no  AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$5], [$6])],  		    [break])  AC_COMPILE_IFELSE([AC_LANG_PROGRAM([@%:@define $1 $2$5], [$6])],  		    [$3=$2; break])  breakdone])if test "$$3" != no; then  AC_DEFINE_UNQUOTED([$1], [$$3], [$4])firm -f conftest*[]dnlT33,23m4_location(AC_F77_NAME_MANGLING)autoconf/fortran.m4:745T11,243m4_list_cmpm4_if([$1$2], [()()], 0,       [$1], [()], [$0((0), [$2])],       [$2], [()], [$0([$1], (0))],       [m4_case(m4_cmp(m4_car$1, m4_car$2),                -1, -1,                 1, 1,                 0, [$0((m4_shift$1), (m4_shift$2))])])T22,31m4_expansion_stack_popm4_popdef([m4_expansion_stack])T17,1406AC_F77_DUMMY_MAIN_m4_defun_pro([AC_F77_DUMMY_MAIN])AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS])dnlm4_define([_AC_LANG_PROGRAM_C_F77_HOOKS],[#ifdef F77_DUMMY_MAIN#  ifdef __cplusplus     extern "C"#  endif   int F77_DUMMY_MAIN() { return 1; }#endif])AC_CACHE_CHECK([for dummy main to link with Fortran 77 libraries],               ac_cv_f77_dummy_main,[AC_LANG_PUSH(C)dnl ac_f77_dm_save_LIBS=$LIBS LIBS="$LIBS $FLIBS" # First, try linking without a dummy main: AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],                [ac_cv_f77_dummy_main=none],                [ac_cv_f77_dummy_main=unknown]) if test $ac_cv_f77_dummy_main = unknown; then   for ac_func in MAIN__ MAIN_ __main MAIN _MAIN __MAIN main_ main__ _main; do     AC_LINK_IFELSE([AC_LANG_PROGRAM([[@%:@define F77_DUMMY_MAIN $ac_func]])],                    [ac_cv_f77_dummy_main=$ac_func; break])   done fi rm -f conftest* LIBS=$ac_f77_dm_save_LIBS AC_LANG_POP(C)dnl])F77_DUMMY_MAIN=$ac_cv_f77_dummy_mainAS_IF([test "$F77_DUMMY_MAIN" != unknown],      [m4_default([$1],[if test $F77_DUMMY_MAIN != none; then  AC_DEFINE_UNQUOTED([F77_DUMMY_MAIN], $F77_DUMMY_MAIN,                     [Define to dummy `main' function (if any) required to                      link to the Fortran 77 libraries.])fi])],      [m4_default([$2],            [AC_MSG_FAILURE([linking to Fortran libraries from C fails])])])[]_m4_defun_epi([AC_F77_DUMMY_MAIN])F7,7traceontraceonT10,82_m4_divertm4_ifdef([_m4_divert($1)],          [m4_indir([_m4_divert($1)])],          [$1])T18,6928_AC_OUTPUT_HEADERScat >>$CONFIG_STATUS <<\_ACEOF## CONFIG_HEADER section.## These sed commands are passed to sed as "A NAME B NAME C VALUE D", where# NAME is the cpp macro being defined and VALUE is the value it is being given.## ac_d sets the value in "#define NAME VALUE" lines.dnl Double quote for the `[ ]' and `define'.[ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'ac_dB='[ 	].*$,\1#\2'ac_dC=' 'ac_dD=',;t'# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'ac_uB='$,\1#\2define\3'ac_uC=' 'ac_uD=',;

⌨️ 快捷键说明

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