📄 autoconf.m4f
字号:
m4_location(AC_HEADER_STAT)autoconf/headers.m4:487T11,167AM_CYGWIN32_m4_defun_pro([AM_CYGWIN32])AC_DIAGNOSE([obsolete], [The macro `AM_CYGWIN32' is obsolete.You should run autoupdate.])dnlAC_CYGWIN32($@)[]_m4_defun_epi([AM_CYGWIN32])T32,26m4_location(_AC_FUNC_REALLOC_IF)autoconf/functions.m4:1301T27,20m4_location(AC_LANG_ASSERT)autoconf/lang.m4:188T31,56m4_location(_AS_ECHO_N_PREPARE)/prjz/msys/dtk/src/autoconf-2.56/lib/m4sugar/m4sh.m4:376T36,23m4_location(AC_RESTARTABLE_SYSCALLS)autoconf/oldnames.m4:91T32,0m4_include(autoconf/programs.m4)T21,103AC_LANG_COMPILER(C++)_m4_defun_pro([AC_LANG_COMPILER(C++)])AC_REQUIRE([AC_PROG_CXX])[]_m4_defun_epi([AC_LANG_COMPILER(C++)])T19,258AC_FUNC_FNMATCH_GNU_m4_defun_pro([AC_FUNC_FNMATCH_GNU])AC_REQUIRE([AC_GNU_SOURCE])_AC_FUNC_FNMATCH_IF([GNU], [ac_cv_func_fnmatch_gnu], [rm -f $ac_config_libobj_dir/fnmatch.h], [_AC_LIBOBJ_FNMATCH])[]_m4_defun_epi([AC_FUNC_FNMATCH_GNU])T19,90AC_CONFIG_IF_MEMBERm4_bmatch(m4_defn([$2]), [\(^\| \)]m4_re_escape([$1])[\([: ]\|$\)], [$3], [$4])T11,174m4_text_box@%:@@%:@ m4_bpatsubst([$1], [.], m4_if([$2], [], [[-]], [[$2]])) @%:@@%:@@%:@@%:@ $1 @%:@@%:@@%:@@%:@ m4_bpatsubst([$1], [.], m4_if([$2], [], [[-]], [[$2]])) @%:@@%:@[]dnlT37,26m4_location(AC_FUNC_SETVBUF_REVERSED)autoconf/functions.m4:1615T11,976AC_PROG_CXX_m4_defun_pro([AC_PROG_CXX])AC_LANG_PUSH(C++)dnlAC_ARG_VAR([CXX], [C++ compiler command])dnlAC_ARG_VAR([CXXFLAGS], [C++ compiler flags])dnl_AC_ARG_VAR_LDFLAGS()dnl_AC_ARG_VAR_CPPFLAGS()dnlAC_CHECK_TOOLS(CXX, [$CCC m4_default([$1], [g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC])], g++)# Provide some information about the compiler.echo "$as_me:$LINENO:" \ "checking for _AC_LANG compiler version" >&AS_MESSAGE_LOG_FDac_compiler=`set X $ac_compile; echo $[2]`_AC_EVAL([$ac_compiler --version </dev/null >&AS_MESSAGE_LOG_FD])_AC_EVAL([$ac_compiler -v </dev/null >&AS_MESSAGE_LOG_FD])_AC_EVAL([$ac_compiler -V </dev/null >&AS_MESSAGE_LOG_FD])m4_expand_once([_AC_COMPILER_EXEEXT])[]dnlm4_expand_once([_AC_COMPILER_OBJEXT])[]dnl_AC_LANG_COMPILER_GNUGXX=`test $ac_compiler_gnu = yes && echo yes`_AC_PROG_CXX_G_AC_PROG_CXX_EXIT_DECLARATIONAC_LANG_POP(C++)dnl[]_m4_defun_epi([AC_PROG_CXX])T28,22m4_location(AC_CONFIG_FILES)autoconf/status.m4:844T14,179AM_FUNC_STRTOD_m4_defun_pro([AM_FUNC_STRTOD])AC_DIAGNOSE([obsolete], [The macro `AM_FUNC_STRTOD' is obsolete.You should run autoupdate.])dnlAC_FUNC_STRTOD($@)[]_m4_defun_epi([AM_FUNC_STRTOD])T12,343AC_LANG_SAVE_m4_defun_pro([AC_LANG_SAVE])AC_DIAGNOSE([obsolete], [The macro `AC_LANG_SAVE' is obsolete.You should run autoupdate.])dnlAC_DIAGNOSE([obsolete], [instead of using `AC_LANG', `AC_LANG_SAVE',and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and `AC_LANG_POP'.])m4_pushdef([_AC_LANG], _AC_LANG)[]_m4_defun_epi([AC_LANG_SAVE])T24,24m4_location(AC_ARG_WITH)autoconf/general.m4:1379T23,24m4_location(AC_ARG_VAR)autoconf/general.m4:1490T8,55sincludem4_include_unique([$1])dnlm4_builtin([sinclude], [$1])T31,24m4_location(AC_CANONICAL_BUILD)autoconf/general.m4:1639T10,52m4_flattenm4_translit(m4_bpatsubst([[[$1]]], [\\]), [], [ ])T17,1523AC_TYPE_GETGROUPS_m4_defun_pro([AC_TYPE_GETGROUPS])AC_REQUIRE([AC_TYPE_UID_T])dnlAC_CACHE_CHECK(type of array argument to getgroups, ac_cv_type_getgroups,[AC_RUN_IFELSE([AC_LANG_SOURCE([[/* Thanks to Mike Rendell for this test. */#include <sys/types.h>#define NGID 256#undef MAX#define MAX(x, y) ((x) > (y) ? (x) : (y))intmain (){ gid_t gidset[NGID]; int i, n; union { gid_t gval; long lval; } val; val.lval = -1; for (i = 0; i < NGID; i++) gidset[i] = val.gval; n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1, gidset); /* Exit non-zero if getgroups seems to require an array of ints. This happens when gid_t is short but getgroups modifies an array of ints. */ exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);}]])], [ac_cv_type_getgroups=gid_t], [ac_cv_type_getgroups=int], [ac_cv_type_getgroups=cross])if test $ac_cv_type_getgroups = cross; then dnl When we can't run the test program (we are cross compiling), presume dnl that <unistd.h> has either an accurate prototype for getgroups or none. dnl Old systems without prototypes probably use int. AC_EGREP_HEADER([getgroups.*int.*gid_t], unistd.h, ac_cv_type_getgroups=gid_t, ac_cv_type_getgroups=int)fi])AC_DEFINE_UNQUOTED(GETGROUPS_T, $ac_cv_type_getgroups, [Define to the type of elements in the array set by `getgroups'. Usually this is either `int' or `gid_t'.])[]_m4_defun_epi([AC_TYPE_GETGROUPS])F11,8m4_traceofftraceoffT10,98AS_PREPARE_m4_defun_pro([AS_PREPARE])m4_divert_text([M4SH-INIT], [_AS_PREPARE])[]_m4_defun_epi([AS_PREPARE])T20,20m4_location(AC_LANG)autoconf/lang.m4:132T24,23m4_location(AC_F77_FUNC)autoconf/fortran.m4:810T24,3_m4_divert(VERSION_USER)202T20,3_m4_divert(HELP_END)106T18,1_AC_LANG_ABBREV(C)cT6,342m4_form4_case(m4_sign(m4_eval($3 - $2)), 1, [m4_assert(m4_sign(m4_default($4, 1)) == 1)], -1, [m4_assert(m4_sign(m4_default($4, -1)) == -1)])dnlm4_pushdef([$1], [$2])dnlm4_if(m4_eval([$3 > $2]), 1, [_m4_for([$1], [$3], m4_default([$4], 1), [$5])], [_m4_for([$1], [$3], m4_default([$4], -1), [$5])])dnlm4_popdef([$1])F4,4decrdecrT27,84_AC_CHECK_TYPE_MAYBE_TYPE_Pm4_bmatch([$1], [^[_a-zA-Z0-9 ]+\([_a-zA-Z0-9() *]\|\[\|\]\)*$], 1, 0)dnlT15,94AC_MSG_CHECKING_AS_ECHO([$as_me:$LINENO: checking $1], AS_MESSAGE_LOG_FD)_AS_ECHO_N([checking $1... ])[]dnlT30,23m4_location(AC_F77_DUMMY_MAIN)autoconf/fortran.m4:619T18,594_AC_FUNC_MALLOC_IF_m4_defun_pro([_AC_FUNC_MALLOC_IF])AC_REQUIRE([AC_HEADER_STDC])dnlAC_CHECK_HEADERS(stdlib.h)AC_CACHE_CHECK([for GNU libc compatible malloc], ac_cv_func_malloc_0_nonnull,[AC_RUN_IFELSE([AC_LANG_PROGRAM([[#if STDC_HEADERS || HAVE_STDLIB_H# include <stdlib.h>#elsechar *malloc ();#endif]], [exit (malloc (0) ? 0 : 1);])], [ac_cv_func_malloc_0_nonnull=yes], [ac_cv_func_malloc_0_nonnull=no], [ac_cv_func_malloc_0_nonnull=no])])AS_IF([test $ac_cv_func_malloc_0_nonnull = yes], [$1], [$2])[]_m4_defun_epi([_AC_FUNC_MALLOC_IF])T15,2811AC_PROG_INSTALL_m4_defun_pro([AC_PROG_INSTALL])AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl# Find a good install program. We prefer a C program (faster),# so one script is as good as another. But avoid the broken or# incompatible versions:# SysV /etc/install, /usr/sbin/install# SunOS /usr/etc/install# IRIX /sbin/install# AIX /bin/install# AmigaOS /C/install, which installs bootblocks on floppy discs# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag# AFS /usr/afsws/bin/install, which mishandles nonexistent args# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"# ./install, which can be erroneously created by make from ./install.sh.AC_MSG_CHECKING([for a BSD-compatible install])if test -z "$INSTALL"; thenAC_CACHE_VAL(ac_cv_path_install,[_AS_PATH_WALK([$PATH],[# Account for people who put trailing slashes in PATH elements.case $as_dir/ in ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if AS_EXECUTABLE_P(["$as_dir/$ac_prog$ac_exec_ext"]); then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;;esac])])dnl if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fifidnl We do special magic for INSTALL instead of AC_SUBST, to getdnl relative paths right.AC_MSG_RESULT([$INSTALL])# Use test -z because SunOS4 sh mishandles braces in ${var-val}.# It thinks the first close brace ends the variable substitution.test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'AC_SUBST(INSTALL_PROGRAM)dnltest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'AC_SUBST(INSTALL_SCRIPT)dnltest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'AC_SUBST(INSTALL_DATA)dnl[]_m4_defun_epi([AC_PROG_INSTALL])T29,23m4_location(AC_PROGRAM_EGREP)autoconf/oldnames.m4:63F8,8errprinterrprintT11,25AN_FUNCTIONAN_OUTPUT([function], $@)T15,184AC_HAVE_HEADERS_m4_defun_pro([AC_HAVE_HEADERS])AC_DIAGNOSE([obsolete], [The macro `AC_HAVE_HEADERS' is obsolete.You should run autoupdate.])dnlAC_CHECK_HEADERS($@)[]_m4_defun_epi([AC_HAVE_HEADERS])T22,1528AC_SYS_LONG_FILE_NAMES_m4_defun_pro([AC_SYS_LONG_FILE_NAMES])AC_CACHE_CHECK(for long file names, ac_cv_sys_long_file_names,[ac_cv_sys_long_file_names=yes# Test for long file names in all the places we know might matter:# . the current directory, where building will happen# $prefix/lib where we will be installing things# $exec_prefix/lib likewise# eval it to expand exec_prefix.# $TMPDIR if set, where it might want to write temporary files# if $TMPDIR is not set:# /tmp where it might want to write temporary files# /var/tmp likewise# /usr/tmp likewiseif test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then ac_tmpdirs=$TMPDIRelse ac_tmpdirs='/tmp /var/tmp /usr/tmp'fifor ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do test -d $ac_dir || continue test -w $ac_dir || continue # It is less confusing to not echo anything here. ac_xdir=$ac_dir/cf$$ (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue ac_tf1=$ac_xdir/conftest9012345 ac_tf2=$ac_xdir/conftest9012346 (echo 1 >$ac_tf1) 2>/dev/null (echo 2 >$ac_tf2) 2>/dev/null ac_val=`cat $ac_tf1 2>/dev/null` if test ! -f $ac_tf1 || test "$ac_val" != 1; then ac_cv_sys_long_file_names=no rm -rf $ac_xdir 2>/dev/null break fi rm -rf $ac_xdir 2>/dev/nulldone])if test $ac_cv_sys_long_file_names = yes; then AC_DEFINE(HAVE_LONG_FILE_NAMES, 1, [Define to 1 if you support file names longer than 14 characters.])fi[]_m4_defun_epi([AC_SYS_LONG_FILE_NAMES])T36,17m4_location(AC_PROG_GCC_TRADITIONAL)autoconf/c.m4:509T12,924AC_PATH_PROG_m4_defun_pro([AC_PATH_PROG])# Extract the first word of "$2", so it can be a program name with args.set dummy $2; ac_word=$[2]AC_MSG_CHECKING([for $ac_word])AC_CACHE_VAL([ac_cv_path_$1],[case $$1 in [[\\/]]* | ?:[[\\/]]*) ac_cv_path_$1="$$1" # Let the user override the test with a path. ;; *) _AS_PATH_WALK([$4],[for ac_exec_ext in '' $ac_executable_extensions; do if AS_EXECUTABLE_P(["$as_dir/$ac_word$ac_exec_ext"]); then ac_cv_path_$1="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&AS_MESSAGE_LOG_FD break 2 fidone])dnl If no 3rd arg is given, leave the cache variable unset,dnl so AC_PATH_PROGS will keep looking.m4_ifvaln([$3],[ test -z "$ac_cv_path_$1" && ac_cv_path_$1="$3"])dnl ;;esac])dnlAC_SUBST([$1], [$ac_cv_path_$1])if test -n "$$1"; then AC_MSG_RESULT([$$1])else AC_MSG_RESULT([no])fi[]_m4_defun_epi([AC_PATH_PROG])T12,55m4_copy_unm4m4_copy([$1], m4_bpatsubst([$1], [^m4_\(.*\)], [[\1]]))T21,486AC_LANG_INT_SAVE(C++)AC_LANG_PROGRAM([$1long longval () { return $2; }unsigned long ulongval () { return $2; }@%:@include <stdio.h>@%:@include <stdlib.h>],[ FILE *f = fopen ("conftest.val", "w"); if (! f) exit (1); if (($2) < 0) { long i = longval (); if (i != ($2)) exit (1); fprintf (f, "%ld\n", i); } else { unsigned long i = ulongval (); if (i != ($2)) exit (1); fprintf (f, "%lu\n", i); } exit (ferror (f) || fclose (f) != 0);])T27,24m4_location(AC_LINK_IFELSE)autoconf/general.m4:2233T13,116_AS_BOX_INDIRsed 'h;s/./m4_default([$2], [-])/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX@%:@@%:@ $1 @%:@@%:@_ASBOXT17,112_AC_LANG_DISPATCHm4_ifdef([$1($2)], [m4_indir([$1($2)], m4_shiftn(2, $@))], [AC_FATAL([$1: unknown language: $2])])T28,20m4_location(AC_HAVE_LIBRARY)autoconf/libs.m4:162T9,20AU_DEFINEAC_DEFUN([$1], [$2])T8,157AC_CONST_m4_defun_pro([AC_CONST])AC_DIAGNOSE([obsolete], [The macro `AC_CONST' is obsolete.You should run autoupdate.])dnlAC_C_CONST($@)[]_m4_defun_epi([AC_CONST])T8,116AC_DEFUNm4_define([m4_location($1)], m4_location)dnlm4_define([$1], [_m4_defun_pro([$1])$2[]_m4_defun_epi([$1])])T30,21m4_location(AC_STRUCT_ST_RDEV)autoconf/types.m4:567T15,182AC_STDC_HEADERS_m4_defun_pro([AC_STDC_HEADERS])AC_DIAGNOSE([obsolete], [The macro `AC_STDC_HEADERS' is obsolete.You should run autoupdate.])dnl
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -