e can then parse for the Fortran linker # flags. ac_save_[]_AC_LANG_PREFIX[]FLAGS=$[]_AC_LANG_PREFIX[]FLAGS _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS m4_default([$1], [$ac_cv_prog_[]_AC_LANG_ABBREV[]_v])" eval "set x $ac_link" shift _AS_ECHO_LOG([$[*]]) # gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, # LIBRARY_PATH; skip all such settings. ac_[]_AC_LANG_ABBREV[]_v_output=`eval $ac_link AS_MESSAGE_LOG_FD>&1 2>&1 | sed '/^Driving:/d; /^Configured with:/d; '"/^[[_$as_cr_Letters]][[_$as_cr_alnum]]*=/d"` AS_ECHO(["$ac_[]_AC_LANG_ABBREV[]_v_output"]) >&AS_MESSAGE_LOG_FD _AC_LANG_PREFIX[]FLAGS=$ac_save_[]_AC_LANG_PREFIX[]FLAGS rm -rf conftest* # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where # /foo, /bar, and /baz are search directories for the Fortran linker. # Here, we change these into -L/foo -L/bar -L/baz (and put it first): ac_[]_AC_LANG_ABBREV[]_v_output="`echo $ac_[]_AC_LANG_ABBREV[]_v_output | grep 'LPATH is:' | sed 's|.*LPATH is\(: *[[^ ]]*\).*|\1|;s|: */| -L/|g'` $ac_[]_AC_LANG_ABBREV[]_v_output" # FIXME: we keep getting bitten by quoted arguments; a more general fix # that detects unbalanced quotes in FLIBS should be implemented # and (ugh) tested at some point. case $ac_[]_AC_LANG_ABBREV[]_v_output in # With xlf replace commas with spaces, # and remove "-link" and closing parenthesis. *xlfentry*) ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output | sed ' s/,/ /g s/ -link / /g s/) *$// ' ` ;; # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted # $LIBS confuse us, and the libraries appear later in the output anyway). *mGLOB_options_string*) ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output | sed 's/"-mGLOB[[^"]]*"/ /g'` ;; # Portland Group compiler has singly- or doubly-quoted -cmdline argument # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4. # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2". *-cmdline\ * | *-ignore\ * | *-def\ *) ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output | sed "\ s/-cmdline *'[[^']]*'/ /g; s/-cmdline *\"[[^\"]]*\"/ /g s/-ignore *'[[^']]*'/ /g; s/-ignore *\"[[^\"]]*\"/ /g s/-def *'[[^']]*'/ /g; s/-def *\"[[^\"]]*\"/ /g"` ;; # If we are using fort77 (the f2c wrapper) then filter output and delete quotes. *fort77*f2c*gcc*) ac_[]_AC_LANG_ABBREV[]_v_output=`echo "$ac_[]_AC_LANG_ABBREV[]_v_output" | sed -n ' /:[[ ]]\+Running[[ ]]\{1,\}"gcc"/{ /"-c"/d /[[.]]c"*/d s/^.*"gcc"/"gcc"/ s/"//gp }'` ;; # If we are using Cray Fortran then delete quotes. *cft90*) ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output | sed 's/"//g'` ;; esac []_m4_defun_epi([$0]) T31,30 m4_location(AC_CANONICAL_BUILD)./lib/autoconf/general.m4:2013 T14,237 _m4_validate_wm4_if([$1], [$2], [], [m4_warn([obsolete], [whitespace-separated list contains macros; in a future version of Autoconf they will not be expanded]dnl m4_if(m4_bregexp([$1], [\bdn[l]\b]), -1, [], [ note: 'dn@&t@l' is a macro]))])dnl [$2] T6,555 AC_USG_m4_defun_pro([$0])m4_warn([obsolete], [The macro 'AC_USG' is obsolete. You should run autoupdate.])dnl # Obsolete code to be removed. AC_MSG_CHECKING([for BSD string and memory functions]) AC_LINK_IFELSE([AC_LANG_PROGRAM([[@%:@include ]], [[rindex("", 0); bzero(0, 0);]])], [AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no) AC_DEFINE(USG, 1, [Define to 1 if you do not have , index, bzero, etc... This symbol is obsolete, you should not depend upon it.])]) # End of obsolete code. []_m4_defun_epi([$0]) T18,1082 AC_CANONICAL_BUILD_m4_defun_once([AC_CANONICAL_BUILD], [AC_REQUIRE_AUX_FILE([config.sub])dnl AC_REQUIRE_AUX_FILE([config.guess])dnl m4_divert_once([HELP_CANON], [[ System types: --build=BUILD configure for building on BUILD [guessed]]])dnl # Make sure we can run config.sub. $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || AC_MSG_ERROR([cannot run $SHELL ${ac_aux_dir}config.sub]) AC_CACHE_CHECK([build system type], [ac_cv_build], [ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` test "x$ac_build_alias" = x && AC_MSG_ERROR([cannot guess build type; you must specify one]) ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || AC_MSG_ERROR([$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed]) ]) _AC_CANONICAL_SPLIT(build) ], m4_if(_m4_divert_dump, [], [[_m4_defun_pro([AC_CANONICAL_BUILD])m4_unquote(], [)_m4_defun_epi([AC_CANONICAL_BUILD])]], m4_ifdef([_m4_diverting([AC_CANONICAL_BUILD])], [-]), [-], [[m4_unquote(], [)]], [[_m4_require_call([AC_CANONICAL_BUILD],], [, _m4_divert_dump)]])) T7,75 m4_warn_m4_warn([$1], [$2], m4_ifdef([_m4_expansion_stack], [m4_expansion_stack])) T20,24 m4_location(AS_LN_S)lib/m4sugar/m4sh.m4:1300 T32,32 m4_location(_AC_FUNC_REALLOC_IF)./lib/autoconf/functions.m4:1477 T23,32 m4_location(AC_STRCOLL)./lib/autoconf/functions.m4:1825 T30,27 m4_location(AC_TYPE_UINTPTR_T)./lib/autoconf/types.m4:392 T30,29 m4_location(AC_HEADER_STDBOOL)./lib/autoconf/headers.m4:653 T17,169 _AC_CONFIG_UNIQUEm4_ifdef([_AC_SEEN_TAG($2)], [m4_fatal(['$2' is already registered with AC_CONFIG_]m4_defn( [_AC_SEEN_TAG($2)]).)], [m4_define([_AC_SEEN_TAG($2)], [$1])])dnl T20,53 m4_divert_stack_pushm4_pushdef([_m4_divert_stack], m4_location[: $1: $2]) T25,26 m4_location(AC_CHECK_LIB)./lib/autoconf/libs.m4:100 F12,8 _m4_undivertundivert T18,934 AC_FUNC_STRERROR_R_m4_defun_pro([$0])AC_CHECK_DECLS_ONCE([strerror_r]) if test $ac_cv_have_decl_strerror_r = yes; then # For backward compatibility's sake, define HAVE_STRERROR_R. # (We used to run AC_CHECK_FUNCS_ONCE for strerror_r, as well # as AC_CHECK_DECLS_ONCE.) AC_DEFINE([HAVE_STRERROR_R], [1], [Define if you have 'strerror_r'.]) fi AC_CACHE_CHECK([whether strerror_r returns char *], [ac_cv_func_strerror_r_char_p], [ ac_cv_func_strerror_r_char_p=no if test $ac_cv_have_decl_strerror_r = yes; then AC_COMPILE_IFELSE([AC_LANG_PROGRAM([@%:@include ], [[ char buf[100]; char x = *strerror_r (0, buf, sizeof buf); char *p = strerror_r (0, buf, sizeof buf); return !p || x; ]])], [ac_cv_func_strerror_r_char_p=yes]) fi ]) if test $ac_cv_func_strerror_r_char_p = yes; then AC_DEFINE([STRERROR_R_CHAR_P], 1, [Define to 1 if strerror_r returns char *.]) fi []_m4_defun_epi([$0]) T28,32 m4_location(AC_FUNC_STRNLEN)./lib/autoconf/functions.m4:1752 T9,102 m4_regexpm4_expand_once([m4_warn([syntax], [do not use m4_regexp: use regexp or m4_bregexp])])dnl regexp($@) T32,27 m4_location(AC_ERLANG_PATH_ERLC)./lib/autoconf/erlang.m4:50 T23,220 AC_RESTARTABLE_SYSCALLS_m4_defun_pro([$0])m4_warn([obsolete], [The macro 'AC_RESTARTABLE_SYSCALLS' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [AC_SYS_RESTARTABLE_SYSCALLS], [AC_SYS_RESTARTABLE_SYSCALLS($@)])[]_m4_defun_epi([$0]) F11,11 changequotechangequote T30,29 m4_location(AC_PREFIX_PROGRAM)./lib/autoconf/general.m4:479 T23,30 m4_location(AC_RUN_LOG)./lib/autoconf/general.m4:2701 T15,447 AC_FUNC_GETPGRP_m4_defun_pro([$0])AC_CACHE_CHECK(whether getpgrp requires zero arguments, ac_cv_func_getpgrp_void, [# Use it with a single arg. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], [getpgrp (0);])], [ac_cv_func_getpgrp_void=no], [ac_cv_func_getpgrp_void=yes]) ]) if test $ac_cv_func_getpgrp_void = yes; then AC_DEFINE(GETPGRP_VOID, 1, [Define to 1 if the 'getpgrp' function requires zero arguments.]) fi []_m4_defun_epi([$0]) T15,188 AM_PROG_INSTALL_m4_defun_pro([$0])m4_warn([obsolete], [The macro 'AM_PROG_INSTALL' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [AC_PROG_INSTALL], [AC_PROG_INSTALL($@)])[]_m4_defun_epi([$0]) T16,117 AC_LANG_COMPILERAC_BEFORE([AC_LANG_COMPILER(]_AC_LANG[)], [AC_LANG_PREPROC(]_AC_LANG[)])dnl _AC_LANG_DISPATCH([$0], _AC_LANG, $@) T31,617 AC_LANG_INT_SAVE(Objective C++)AC_LANG_PROGRAM([$1 static long int longval (void) { return $2; } static unsigned long int ulongval (void) { return $2; } @%:@include @%:@include ], [ FILE *f = fopen ("conftest.val", "w"); if (! f) return 1; if (($2) < 0) { long int i = longval (); if (i != ($2)) return 1; fprintf (f, "%ld", i); } else { unsigned long int i = ulongval (); if (i != ($2)) return 1; fprintf (f, "%lu", i); } /* Do not output a trailing newline, as this causes \r\n confusion on some platforms. */ return ferror (f) || fclose (f) != 0; ]) T15,302 AC_C_PROTOTYPES_m4_defun_pro([$0])AC_REQUIRE([AC_PROG_CC])dnl if test "$ac_prog_cc_stdc" != no; then AC_DEFINE(PROTOTYPES, 1, [Define to 1 if the C compiler supports function prototypes.]) AC_DEFINE(__PROTOTYPES, 1, [Define like PROTOTYPES; this can be used by system headers.]) fi []_m4_defun_epi([$0]) T37,1514 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK_m4_defun_pro([$0])AC_REQUIRE([AC_CANONICAL_HOST])dnl for cross-compiles AC_CACHE_CHECK( [whether lstat correctly handles trailing slash], [ac_cv_func_lstat_dereferences_slashed_symlink], [rm -f conftest.sym conftest.file echo >conftest.file if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], [struct stat sbuf; /* Linux will dereference the symlink and fail, as required by POSIX. That is better in the sense that it means we will not have to compile and use the lstat wrapper. */ return lstat ("conftest.sym/", &sbuf) == 0;])], [ac_cv_func_lstat_dereferences_slashed_symlink=yes], [ac_cv_func_lstat_dereferences_slashed_symlink=no], [case "$host_os" in # (( # Guess yes on glibc systems. *-gnu*) ac_cv_func_lstat_dereferences_slashed_symlink=yes ;; # If we don't know, assume the worst. *) ac_cv_func_lstat_dereferences_slashed_symlink=no ;; esac]) else # If the 'ln -s' command failed, then we probably don't even # have an lstat function. ac_cv_func_lstat_dereferences_slashed_symlink=no fi rm -f conftest.sym conftest.file ]) test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && AC_DEFINE_UNQUOTED([LSTAT_FOLLOWS_SLASHED_SYMLINK], [1], [Define to 1 if 'lstat' dereferences a symlink specified with a trailing slash.]) if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then AC_LIBOBJ([lstat]) fi []_m4_defun_epi([$0]) T7,111 AS_EXIT_m4_defun_pro([$0])AS_REQUIRE([_AS_EXIT_PREPARE])[]as_fn_exit m4_ifval([$1], [$1], [$][?])[]_m4_defun_epi([$0]) T16,838 _AS_LN_S_PREPARE_m4_defun_pro([$0])rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. # In both cases, we have to default to 'cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null []_m4_defun_epi([$0]) F3,3 lenlen T7,119 m4_casem4_if([$#], 0, [], [$#], 1, [], [$#], 2, [$2], [$1], [$2], [$3], [$0([$1], m4_shift3($@))]) T13,192 AC_GETLOADAVG_m4_defun_pro([$0])m4_warn([obsolete], [The macro 'AC_GETLOADAVG' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [AC_FUNC_GETLOADAVG], [AC_FUNC_GETLOADAVG($@)])[]_m4_defun_epi([$0]) T41,29 m4_location(AC_LANG_COMPILER(Fortran 77))./lib/autoconf/fortran.m4:255 F8,8 errprinterrprint T10,211 m4_dumpdefm4_if([$#], [0], [m4_fatal([$0: missing argument])], [$#], [1], [m4_ifdef([$1], [m4_errprintn( [$1: ]m4_dquote(_m4_defn([$1])))], [m4_fatal([$0: undefined macro: $1])])], [m4_map_args([$0], $@)]) T31,30 m4_location(_AC_RUN_LOG_STDERR)./lib/autoconf/general.m4:2548 T22,147 AC_F77_LIBRARY_LDFLAGS_m4_defun_pro([$0])AC_REQUIRE([AC_PROG_F77])dnl AC_LANG_PUSH(Fortran 77)dnl _AC_FC_LIBRARY_LDFLAGS AC_LANG_POP(Fortran 77)dnl []_m4_defun_epi([$0]) T29,27 m4_location(AC_CHECK_MEMBERS)./lib/autoconf/types.m4:977 T11,25 AN_FUNCTIONAN_OUTPUT([function], $@) T19,210 AC_SETVBUF_REVERSED_m4_defun_pro([$0])m4_warn([obsolete], [The macro 'AC_SETVBUF_REVERSED' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [AC_FUNC_SETVBUF_REVERSED], [AC_FUNC_SETVBUF_REVERSED($@)])[]_m4_defun_epi([$0]) T33,36 AC_LANG_FUNC_LINK_TRY(Fortran 77)AC_LANG_PROGRAM([], [ call $1]) T8,177 AC_PID_T_m4_defun_pro([$0])m4_warn([obsolete], [The macro 'AC_PID_T' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [AC_TYPE_PID_T], [AC_TYPE_PID_T($@)])[]_m4_defun_epi([$0]) T24,77 AC_LANG_BOOL_COMPILE_TRY_m4_defun_pro([$0])_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]_m4_defun_epi([$0]) T22,2249 _AC_C_C89_TEST_GLOBALS_m4_defun_pro([$0])m4_divert_text([INIT_PREPARE], [[# Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? Do not test the value of __STDC__, because some compilers set it to 0 while being otherwise adequately conformant. */ #if !defined __STDC__ # error "Compiler does not advertise C89 conformance" #endif #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ struct buf { int x; }; struct buf * (*rcsopen) (struct buf *, struct stat *, int); static char *e (char **p, int i) { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* C89 style stringification. */ #define noexpand_stringify(a) #a const char *stringified = noexpand_stringify(arbitrary+token=sequence); /* C89 style token pasting. Exercises some of the corner cases that e.g. old MSVC gets wrong, but not very hard. */ #define noexpand_concat(a,b) a##b #define expand_concat(a,b) noexpand_concat(a,b) extern int vA; extern int vbee; #define aye A #define bee B int *pvA = &expand_concat(v,aye); int *pvbee = &noexpand_concat(v,bee); /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not \xHH hex character constants. These do not provoke an error unfortunately, instead are silently treated as an "x". The following induces an error, until -std is added to get proper ANSI mode. Curiously \x00 != x always comes out true, for an array size at least. It is necessary to write \x00 == 0 to get something that is true only with -std. */ int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) '\''x'\'' int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), int, int);' ]])[]_m4_defun_epi([$0]) T22,2534 _AC_C_C99_TEST_GLOBALS_m4_defun_pro([$0])m4_divert_text([INIT_PREPARE], [[# Test code for whether the C compiler supports C99 (global declarations) ac_c_conftest_c99_globals=' /* Does the compiler advertise C99 conformance? */ #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L # error "Compiler does not advertise C99 conformance" #endif // See if C++-style comments work. #include extern int puts (const char *); extern int printf (const char *, ...); extern int dprintf (int, const char *, ...); extern void *malloc (size_t); extern void free (void *); // Check varargs macros. These examples are taken from C99 6.10.3.5. // dprintf is used instead of fprintf to avoid needing to declare // FILE and stderr. #define debug(...) dprintf (2, __VA_ARGS__) #define showlist(...) puts (#__VA_ARGS__) #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) static void test_varargs_macros (void) { int x = 1234; int y = 5678; debug ("Flag"); debug ("X = %d\n", x); showlist (The first, second, and third items.); report (x>y, "x is %d but y is %d", x, y); } // Check long long types. #define BIG64 18446744073709551615ull #define BIG32 4294967295ul #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) #if !BIG_OK #error "your preprocessor is broken" #endif #if BIG_OK #else #error "your preprocessor is broken" #endif static long long int bignum = -9223372036854775807LL; static unsigned long long int ubignum = BIG64; struct incomplete_array { int datasize; double data[]; }; struct named_init { int number; const wchar_t *name; double average; }; typedef const char *ccp; static inline int test_restrict (ccp restrict text) { // Iterate through items via the restricted pointer. // Also check for declarations in for loops. for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) continue; return 0; } // Check varargs and va_copy. static bool test_varargs (const char *format, ...) { va_list args; va_start (args, format); va_list args_copy; va_copy (args_copy, args); const char *str = ""; int number = 0; float fnumber = 0; while (*format) { switch (*format++) { case '\''s'\'': // string str = va_arg (args_copy, const char *); break; case '\''d'\'': // int number = va_arg (args_copy, int); break; case '\''f'\'': // float fnumber = va_arg (args_copy, double); break; default: break; } } va_end (args_copy); va_end (args); return *str && number && fnumber; } ' ]])[]_m4_defun_epi([$0]) T18,47 _AC_OUTPUT_COMMAND AC_MSG_NOTICE([executing $ac_file commands]) T28,90 AC_LANG_BOOL_COMPILE_TRY(Go)AC_LANG_PROGRAM([$1], [var test_array @<:@1 - 2 * !($2)@:>@int test_array @<:@0@:>@ = 0 ]) T24,1536 AC_FC_MODULE_OUTPUT_FLAG_m4_defun_pro([$0]) AC_CACHE_CHECK([Fortran 90 module output flag], [ac_cv_fc_module_output_flag], [AC_LANG_PUSH([Fortran]) mkdir conftest.dir conftest.dir/sub cd conftest.dir ac_cv_fc_module_output_flag=unknown ac_fc_module_output_flag_FCFLAGS_save=$FCFLAGS # Flag ordering is significant: put flags late which some compilers use # for the search path. for ac_flag in -J '-J ' -fmod= -moddir= +moddir= -qmoddir= '-mdir ' '-mod ' \ '-module ' -M '-Am -M' '-e m -J '; do FCFLAGS="$ac_fc_module_output_flag_FCFLAGS_save ${ac_flag}sub" AC_COMPILE_IFELSE([[ module conftest_module contains subroutine conftest_routine write(*,'(a)') 'gotcha!' end subroutine end module]], [cd sub AC_COMPILE_IFELSE([[ program main use conftest_module call conftest_routine end program]], [ac_cv_fc_module_output_flag=$ac_flag]) cd .. AS_IF([test x"$ac_cv_fc_module_output_flag" != xunknown],[break])]) done FCFLAGS=$ac_fc_module_output_flag_FCFLAGS_save cd .. rm -rf conftest.dir AC_LANG_POP([Fortran]) ]) AS_IF([test x"$ac_cv_fc_module_output_flag" != xunknown], [FC_MODOUT=$ac_cv_fc_module_output_flag $1], [FC_MODOUT= m4_default([$2], [AC_MSG_ERROR([unable to find compiler flag to write module information to])])]) AC_SUBST([FC_MODOUT]) # Ensure trailing whitespace is preserved in a Makefile. AC_SUBST([ac_empty], [""]) AC_CONFIG_COMMANDS_PRE([case $FC_MODOUT in #( *\ ) FC_MODOUT=$FC_MODOUT'${ac_empty}' ;; esac])dnl []_m4_defun_epi([$0]) T32,28 m4_location(AC_ERLANG_CHECK_LIB)./lib/autoconf/erlang.m4:170 T15,95 _AC_LANG_OPENMP_m4_defun_pro([$0])AC_LANG_SOURCE([_AC_LANG_DISPATCH([$0], _AC_LANG, $@)])[]_m4_defun_epi([$0]) T26,30 m4_location(AC_PATH_PROGS)./lib/autoconf/programs.m4:165 T22,282 AC_LANG(Objective C++)ac_ext=mm ac_cpp='$OBJCXXCPP $CPPFLAGS' ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&AS_MESSAGE_LOG_FD' ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&AS_MESSAGE_LOG_FD' ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu T15,218 m4_map_args_sepm4_if([$#], [0], [m4_fatal([$0: too few arguments: $#])], [$#], [1], [], [$#], [2], [], [$#], [3], [], [$#], [4], [$1[$4]$2[]], [$1[$4]$2[]_m4_foreach([$3[]$1], [$2], m4_shift3($@))]) T21,1492 _AC_LIBOBJ_GETLOADAVGAC_LIBOBJ(getloadavg) AC_DEFINE(C_GETLOADAVG, 1, [Define to 1 if using 'getloadavg.c'.]) # Figure out what our getloadavg.c needs. AC_CHECK_FUNCS_ONCE([setlocale]) ac_have_func=no AC_CHECK_HEADER(sys/dg_sys_info.h, [ac_have_func=yes AC_DEFINE(DGUX, 1, [Define to 1 for DGUX with .]) AC_CHECK_LIB(dgc, dg_sys_info)]) # We cannot check for , because Solaris 2 does not use dwarf (it # uses stabs), but it is still SVR4. We cannot check for because # Irix 4.0.5F has the header but not the library. if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes \ && test "$ac_cv_lib_kvm_kvm_open" = yes; then ac_have_func=yes AC_DEFINE(SVR4, 1, [Define to 1 on System V Release 4.]) fi if test $ac_have_func = no; then AC_CHECK_HEADER(inq_stats/cpustats.h, [ac_have_func=yes AC_DEFINE(UMAX, 1, [Define to 1 for Encore UMAX.]) AC_DEFINE(UMAX4_3, 1, [Define to 1 for Encore UMAX 4.3 that has instead of .])]) fi if test $ac_have_func = no; then AC_CHECK_HEADER(sys/cpustats.h, [ac_have_func=yes; AC_DEFINE(UMAX)]) fi if test $ac_have_func = no; then AC_CHECK_HEADERS(mach/mach.h) fi AC_CHECK_HEADERS(nlist.h, [AC_CHECK_MEMBERS([struct nlist.n_un.n_name], [AC_DEFINE(NLIST_NAME_UNION, 1, [Define to 1 if your 'struct nlist' has an 'n_un' member. Obsolete, depend on 'HAVE_STRUCT_NLIST_N_UN_N_NAME])], [], [@%:@include ]) ])dnl F3,3 dnldnl T17,245 AS_SHELL_SANITIZE_AS_SHELL_SANITIZE m4_provide_if([AS_INIT], [], [m4_provide([AS_INIT]) _AS_DETECT_REQUIRED([_AS_SHELL_FN_WORK]) _AS_DETECT_REQUIRED([_AS_MODERN_CMDSUBST_WORKS]) _AS_DETECT_REQUIRED([_AS_TEST_X_WORKS]) _AS_DETECT_BETTER_SHELL _AS_UNSET_PREPARE ]) T28,26 m4_location(_AC_LANG_ABBREV)./lib/autoconf/lang.m4:147 T18,937 AC_FUNC_UTIME_NULL_m4_defun_pro([$0])AC_CHECK_HEADERS_ONCE([utime.h]) AC_CACHE_CHECK(whether utime accepts a null argument, ac_cv_func_utime_null, [rm -f conftest.data; >conftest.data # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong. AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT #ifdef HAVE_UTIME_H # include #endif], [[struct stat s, t; return ! (stat ("conftest.data", &s) == 0 && utime ("conftest.data", 0) == 0 && stat ("conftest.data", &t) == 0 && t.st_mtime >= s.st_mtime && t.st_mtime - s.st_mtime < 120);]])], ac_cv_func_utime_null=yes, ac_cv_func_utime_null=no, ac_cv_func_utime_null='guessing yes')]) if test "x$ac_cv_func_utime_null" != xno; then ac_cv_func_utime_null=yes AC_DEFINE(HAVE_UTIME_NULL, 1, [Define to 1 if 'utime(file, NULL)' sets file's timestamp to the present.]) fi rm -f conftest.data []_m4_defun_epi([$0]) T24,29 m4_location(AC_CYGWIN32)./lib/autoconf/oldnames.m4:86 T23,30 m4_location(AC_FC_FUNC)./lib/autoconf/fortran.m4:1126 T31,29 m4_location(AC_MINUS_C_MINUS_O)./lib/autoconf/oldnames.m4:66 T15,62 _AS_TR_SH_INDIR`AS_ECHO(["_AS_ESCAPE([[$1]], [`], [\])"]) | sed "$as_sed_sh"` T19,336 _AS_MKDIR_P_PREPARE_m4_defun_pro([$0])AS_REQUIRE_SHELL_FN([as_fn_mkdir_p], [AS_FUNCTION_DESCRIBE([as_fn_mkdir_p], [], [Create "$as_dir" as a directory, including parents if necessary.])], [ _AS_MKDIR_P ])if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi []_m4_defun_epi([$0]) T20,1874 _AC_ARG_VAR_VALIDATEm4_divert_text([INIT_PREPARE], [# Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) AS_MESSAGE([error: '$ac_var' was set to '$ac_old_val' in the previous run], 2) ac_cache_corrupted=: ;; ,set) AS_MESSAGE([error: '$ac_var' was not set in the previous run], 2) ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then AS_MESSAGE([error: '$ac_var' has changed since the previous run:], 2) ac_cache_corrupted=: else AS_MESSAGE([warning: ignoring whitespace changes in '$ac_var' since the previous run:], 2) eval $ac_var=\$ac_old_val fi AS_MESSAGE([ former value: '$ac_old_val'], 2) AS_MESSAGE([ current value: '$ac_new_val'], 2) fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`AS_ECHO(["$ac_new_val"]) | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) AS_VAR_APPEND([ac_configure_args], [" '$ac_arg'"]) ;; esac fi done if $ac_cache_corrupted; then AS_MESSAGE([error: in '$ac_pwd':], 2) AS_MESSAGE([error: changes in the environment can compromise the build], 2) AS_ERROR([run '${MAKE-make} distclean' and/or 'rm $cache_file' and start over]) fi])dnl T6,158 popdefm4_if([$#], [0], [[$0]], [$#], [1], [m4_ifdef([$1], [_m4_popdef([$1])], [m4_fatal([$0: undefined macro: $1])])], [m4_map_args([$0], $@)]) T32,0 m4_include(autoconf/autotest.m4) T30,27 m4_location(AC_TYPE_MBSTATE_T)./lib/autoconf/types.m4:597 T29,27 m4_location(AC_CHECK_ALIGNOF)./lib/autoconf/types.m4:859 T16,222 _AS_BASENAME_SED_m4_defun_pro([$0])AS_ECHO([X/[]$1]) | sed ['/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'][]_m4_defun_epi([$0]) T22,30 m4_location(AC_LIBOBJ)./lib/autoconf/general.m4:3238 T38,29 m4_location(AC_LANG_COMPILER(Fortran))./lib/autoconf/fortran.m4:262 T21,1 _m4_divert(M4SH-INIT)8 T24,29 m4_location(AM_CYGWIN32)./lib/autoconf/oldnames.m4:85 T41,23 m4_location(AC_LANG_PREPROC(Objective C))./lib/autoconf/c.m4:809 T21,32 m4_location(AC_WAIT3)./lib/autoconf/functions.m4:2127 T24,23 m4_location(AC_PROG_CPP)./lib/autoconf/c.m4:400 T37,125 AC_LANG_BOOL_COMPILE_TRY(Objective C)AC_LANG_PROGRAM([$1], [static int test_array @<:@1 - 2 * !($2)@:>@; test_array @<:@0@:>@ = 0; return test_array @<:@0@:>@; ]) T25,25 m4_location(AC_LANG_PUSH)./lib/autoconf/lang.m4:98 T18,206 _m4_text_wrap_wordm4_define([m4_Cursor], m4_eval(m4_Cursor + m4_qlen([$1]) + 1))m4_if(m4_eval(m4_Cursor > ([$3])), [1], [m4_define([m4_Cursor], m4_eval(m4_Indent + m4_qlen([$1]) + 1)) [$2]], [m4_Separator[]])[$1] T21,76 _m4_set_add_all_checkm4_if([$#], [2], [], [m4_set_add([$1], [$3])$0([$1], m4_shift2($@))]) T24,30 m4_location(AC_TRY_EVAL)./lib/autoconf/general.m4:2685 T21,145 AC_LANG_FUNC_LINK_TRY_m4_defun_pro([$0])m4_ifval([$1], [], [m4_warn([syntax], [$0: no function given])])dnl _AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]_m4_defun_epi([$0]) T14,107 m4_set_map_sepm4_ifdef([_m4_set_cleanup($1)], [_m4_set_contents_1c], [_m4_set_contents_1])([$1])_m4_set_contents_2($@) T13,42 AS_VAR_SET_IFAS_IF([AS_VAR_TEST_SET([$1])], [$2], [$3]) F10,7 m4_mkstempmkstemp F10,7 m4_esyscmdesyscmd T31,31 m4_location(AC_REPLACE_FNMATCH)./lib/autoconf/functions.m4:620 T16,514 AC_HEADER_DIRENT_m4_defun_pro([$0])m4_map_args([_AH_CHECK_HEADER_DIRENT], [dirent.h], [sys/ndir.h], [sys/dir.h], [ndir.h])ac_header_dirent=no for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do _AC_CHECK_HEADER_DIRENT($ac_hdr, [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_$ac_hdr), 1) ac_header_dirent=$ac_hdr; break]) done # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then AC_SEARCH_LIBS(opendir, dir) else AC_SEARCH_LIBS(opendir, x) fi []_m4_defun_epi([$0]) T10,54 m4_ifblankm4_if(m4_translit([[$1]], [ ][ ][ ]), [], [$2], [$3]) T29,27 m4_location(AC_TYPE_UINT64_T)./lib/autoconf/types.m4:690 T14,824 _AC_PROG_CXX_Gac_test_CXXFLAGS=${CXXFLAGS+y} ac_save_CXXFLAGS=$CXXFLAGS AC_CACHE_CHECK(whether $CXX accepts -g, ac_cv_prog_cxx_g, [ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no CXXFLAGS="-g" _AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [ac_cv_prog_cxx_g=yes], [CXXFLAGS="" _AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [], [ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-g" _AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [ac_cv_prog_cxx_g=yes])])]) ac_cxx_werror_flag=$ac_save_cxx_werror_flag]) if test $ac_test_CXXFLAGS; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" else CXXFLAGS="-g" fi else if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi fi[]dnl F11,8 m4_traceofftraceoff T10,91 AS_VAR_SETAS_LITERAL_WORD_IF([$1], [$1=$2], [eval "$1=_AS_ESCAPE([$2], [`], [\"$])"]) T28,24 m4_location(_AC_LANG_OPENMP)./lib/autoconf/c.m4:2300 T10,115 AS_VAR_GETAS_LITERAL_WORD_IF([$1], [$$1], [`eval 'as_val=${'_AS_ESCAPE([[$1]], [`], [\])'};AS_ECHO(["$as_val"])'`]) T19,2 AC_LANG_SOURCE(C++)$1 T44,28 m4_location(AC_ERLANG_SUBST_INSTALL_LIB_DIR)./lib/autoconf/erlang.m4:228 T29,29 m4_location(AC_HEADER_RESOLV)./lib/autoconf/headers.m4:522 T25,30 m4_location(AC_PROG_GREP)./lib/autoconf/programs.m4:422 T14,103 AC_LANG_SOURCE_m4_defun_pro([$0])AC_LANG_DEFINES_PROVIDED[]_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]_m4_defun_epi([$0]) T39,24 m4_location(_AS_PATH_SEPARATOR_PREPARE)lib/m4sugar/m4sh.m4:1358 T25,30 m4_location(AC_PATH_PROG)./lib/autoconf/programs.m4:156 T24,23 m4_location(AC_PROG_CXX)./lib/autoconf/c.m4:687 T14,199 AS_SET_CATFILEcase $2 in @%:@(( .) AS_VAR_SET([$1], [$3]);; *) case $3 in @%:@((( .) AS_VAR_SET([$1], [$2]);; [[\\/]]* | ?:[[\\/]]* ) AS_VAR_SET([$1], [$3]);; *) AS_VAR_SET([$1], [$2/$3]);; esac;; esac[] T34,0 m4_include(autoconf/autoheader.m4) T19,147 AS_REQUIRE_SHELL_FNm4_provide_if([AS_SHELL_FN_$1], [], [AS_REQUIRE([AS_SHELL_FN_$1], [m4_provide([AS_SHELL_FN_$1])_$0($@)], m4_default_quoted([$4], [M4SH-INIT-FN]))]) T42,23 m4_location(AC_LANG_COMPILER(Objective C))./lib/autoconf/c.m4:847 T27,32 m4_location(AC_FUNC_MALLOC)./lib/autoconf/functions.m4:1002 T17,310 _AC_CHECK_HEADERSm4_if([$2$3]AS_LITERAL_IF([$1], [[yes]], [[no]]), [yes], [m4_map_args_w([$1], [_AC_CHECK_HEADERS_ONE_S(], [, [$4])])], [m4_map_args_w([$1], [_AC_CHECK_HEADERS_ONE_U(], [)])]dnl [AS_FOR([AC_header], [ac_header], [$1], [_AC_CHECK_HEADERS_ONE_C(AC_header, [$2], [$3], [$4])])]) T9,22 m4_shift2m4_shift(m4_shift($@)) T9,32 m4_shift3m4_shift(m4_shift(m4_shift($@))) T16,82 AC_CHECK_HEADERS_m4_defun_pro([$0])_$0(m4_validate_w([$1]), [$2], [$3], [$4])[]_m4_defun_epi([$0]) T9,35 m4_shiftnm4_assert(0 < $1 && $1 < $#)_$0($@) T16,73 AH_CHECK_HEADERSm4_foreach_w([AC_Header], [$1], [_AH_CHECK_HEADER(m4_defn([AC_Header]))]) T27,27 m4_location(AC_TYPE_SIZE_T)./lib/autoconf/types.m4:629 T30,23 m4_location(_AS_UNSET_PREPARE)lib/m4sugar/m4sh.m4:716 T10,32 m4_set_mapm4_set_map_sep([$1], [$2(], [)]) T28,30 m4_location(_AC_EVAL_STDERR)./lib/autoconf/general.m4:2665 T28,24 m4_location(AC_C_PROTOTYPES)./lib/autoconf/c.m4:2149 T8,150 m4_defunm4_define([m4_location($1)], m4_location)m4_default([$3], [m4_define])([$1], [_m4_defun_pro(]m4_dquote($[0])[)$2[]_m4_defun_epi(]m4_dquote($[0])[)]) T26,2 _AS_LITERAL_HEREDOC_IF_YES$1 T27,32 m4_location(AC_FUNC_MKTIME)./lib/autoconf/functions.m4:1077 T19,577 _AC_CHECK_DECL_BODY AS_LINENO_PUSH([$[]1]) as_decl_name=`echo $[]2|sed 's/ *(.*//'` AC_CACHE_CHECK([whether $][as_decl_name is declared], [$[]3], [as_decl_use=`echo $[]2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` AS_VAR_COPY([ac_save_FLAGS], [$[]6]) AS_VAR_APPEND([$[]6], [" $[]5"]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[$][4]], [[#ifndef $][as_decl_name #ifdef __cplusplus (void) $][as_decl_use; #else (void) $][as_decl_name; #endif #endif ]])], [AS_VAR_SET([$[]3], [yes])], [AS_VAR_SET([$[]3], [no])]) AS_VAR_COPY([$[]6], [ac_save_FLAGS]) ]) AS_LINENO_POP T14,185 AM_FUNC_MKTIME_m4_defun_pro([$0])m4_warn([obsolete], [The macro 'AM_FUNC_MKTIME' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [AC_FUNC_MKTIME], [AC_FUNC_MKTIME($@)])[]_m4_defun_epi([$0]) T32,32 m4_location(AC_SETVBUF_REVERSED)./lib/autoconf/functions.m4:1794 T10,280 m4_set_addm4_ifdef([_m4_set([$1],$2)], [m4_if(m4_indir([_m4_set([$1],$2)]), [0], [m4_define([_m4_set([$1],$2)], [1])_m4_set_size([$1], [m4_incr])$3], [$4])], [m4_define([_m4_set([$1],$2)], [1])m4_pushdef([_m4_set([$1])], [$2])_m4_set_size([$1], [m4_incr])$3]) T19,4 AC_AUTOCONF_VERSION2.72 T14,4963 AC_FUNC_MKTIME_m4_defun_pro([$0])AC_CHECK_HEADERS_ONCE([sys/time.h unistd.h]) AC_CHECK_FUNCS_ONCE([alarm]) AC_CACHE_CHECK([for working mktime], ac_cv_func_working_mktime, [AC_RUN_IFELSE([AC_LANG_SOURCE( [[/* Test program from Paul Eggert and Tony Leneis. */ #include #ifdef HAVE_SYS_TIME_H # include #endif #include #include #ifdef HAVE_UNISTD_H # include #endif #ifndef HAVE_ALARM # define alarm(X) /* empty */ #endif /* Work around redefinition to rpl_putenv by other config tests. */ #undef putenv static time_t time_t_max; static time_t time_t_min; /* Values we'll use to set the TZ environment variable. */ static const char *tz_strings[] = { (const char *) 0, "TZ=GMT0", "TZ=JST-9", "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" }; #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) /* Return 0 if mktime fails to convert a date in the spring-forward gap. Based on a problem report from Andreas Jaeger. */ static int spring_forward_gap (void) { /* glibc (up to about 1998-10-07) failed this test. */ struct tm tm; /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" instead of "TZ=America/Vancouver" in order to detect the bug even on systems that don't support the Olson extension, or don't have the full zoneinfo tables installed. */ putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); tm.tm_year = 98; tm.tm_mon = 3; tm.tm_mday = 5; tm.tm_hour = 2; tm.tm_min = 0; tm.tm_sec = 0; tm.tm_isdst = -1; return mktime (&tm) != (time_t) -1; } static int mktime_test1 (time_t now) { struct tm *lt; return ! (lt = localtime (&now)) || mktime (lt) == now; } static int mktime_test (time_t now) { return (mktime_test1 (now) && mktime_test1 ((time_t) (time_t_max - now)) && mktime_test1 ((time_t) (time_t_min + now))); } static int irix_6_4_bug (void) { /* Based on code from Ariel Faigon. */ struct tm tm; tm.tm_year = 96; tm.tm_mon = 3; tm.tm_mday = 0; tm.tm_hour = 0; tm.tm_min = 0; tm.tm_sec = 0; tm.tm_isdst = -1; mktime (&tm); return tm.tm_mon == 2 && tm.tm_mday == 31; } static int bigtime_test (int j) { struct tm tm; time_t now; tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; now = mktime (&tm); if (now != (time_t) -1) { struct tm *lt = localtime (&now); if (! (lt && lt->tm_year == tm.tm_year && lt->tm_mon == tm.tm_mon && lt->tm_mday == tm.tm_mday && lt->tm_hour == tm.tm_hour && lt->tm_min == tm.tm_min && lt->tm_sec == tm.tm_sec && lt->tm_yday == tm.tm_yday && lt->tm_wday == tm.tm_wday && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) return 0; } return 1; } static int year_2050_test (void) { /* The correct answer for 2050-02-01 00:00:00 in Pacific time, ignoring leap seconds. */ unsigned long int answer = 2527315200UL; struct tm tm; time_t t; tm.tm_year = 2050 - 1900; tm.tm_mon = 2 - 1; tm.tm_mday = 1; tm.tm_hour = tm.tm_min = tm.tm_sec = 0; tm.tm_isdst = -1; /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" instead of "TZ=America/Vancouver" in order to detect the bug even on systems that don't support the Olson extension, or don't have the full zoneinfo tables installed. */ putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); t = mktime (&tm); /* Check that the result is either a failure, or close enough to the correct answer that we can assume the discrepancy is due to leap seconds. */ return (t == (time_t) -1 || (0 < t && answer - 120 <= t && t <= answer + 120)); } int main (void) { time_t t, delta; int i, j; /* This test makes some buggy mktime implementations loop. Give up after 60 seconds; a mktime slower than that isn't worth using anyway. */ alarm (60); for (;;) { t = (time_t_max << 1) + 1; if (t <= time_t_max) break; time_t_max = t; } time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max; delta = time_t_max / 997; /* a suitable prime number */ for (i = 0; i < N_STRINGS; i++) { if (tz_strings[i]) putenv ((char*) tz_strings[i]); for (t = 0; t <= time_t_max - delta; t += delta) if (! mktime_test (t)) return 1; if (! (mktime_test ((time_t) 1) && mktime_test ((time_t) (60 * 60)) && mktime_test ((time_t) (60 * 60 * 24)))) return 1; for (j = 1; ; j <<= 1) if (! bigtime_test (j)) return 1; else if (INT_MAX / 2 < j) break; if (! bigtime_test (INT_MAX)) return 1; } return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); }]])], [ac_cv_func_working_mktime=yes], [ac_cv_func_working_mktime=no], [ac_cv_func_working_mktime=no])]) if test $ac_cv_func_working_mktime = no; then AC_LIBOBJ([mktime]) fi []_m4_defun_epi([$0]) T18,145 AC_ERLANG_PATH_ERL_m4_defun_pro([$0])AC_ARG_VAR([ERL], [Erlang/OTP interpreter command [autodetected]])dnl AC_PATH_TOOL(ERL, erl, [$1], [$2]) []_m4_defun_epi([$0]) T13,192 AC_UTIME_NULL_m4_defun_pro([$0])m4_warn([obsolete], [The macro 'AC_UTIME_NULL' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [AC_FUNC_UTIME_NULL], [AC_FUNC_UTIME_NULL($@)])[]_m4_defun_epi([$0]) T14,28 AS_VAR_PUSHDEF_$0([$1], m4_expand([$2]))[] T14,130 AS_VAR_PUSHDEF_m4_defun_pro([$0])AS_REQUIRE([_AS_TR_SH_PREPARE])[]_m4_popdef([$0])m4_indir([$0]m4_if([$#], [0], [], [,$@]))[]_m4_defun_epi([$0]) T14,189 AC_LONG_DOUBLE_m4_defun_pro([$0])m4_warn([obsolete], [The macro 'AC_LONG_DOUBLE' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [AC_C_LONG_DOUBLE], [AC_C_LONG_DOUBLE($@)])[]_m4_defun_epi([$0]) T13,176 _AC_PROG_GREP_AC_PATH_PROGS_FEATURE_CHECK([$1], [$2], [_AC_FEATURE_CHECK_LENGTH([ac_path_$1], [ac_cv_path_$1], ["$ac_path_$1" $3], [$1])], [$4], [$PATH$PATH_SEPARATOR/usr/xpg4/bin])dnl T15,56 AC_TYPE_INT64_T_m4_defun_pro([$0])_AC_TYPE_INT(64)[]_m4_defun_epi([$0]) T15,140 _AS_VAR_PUSHDEF_AS_LITERAL_IF([$2], [ ][ ])([], [as_$1=_AS_TR_SH_INDIR([$2]) m4_pushdef([$1], [$as_[$1]])], [m4_pushdef([$1], [_AS_TR_SH_LITERAL([$2])])]) T31,29 m4_location(AC_WORDS_BIGENDIAN)./lib/autoconf/oldnames.m4:83 T21,669 _AC_LIBOBJS_NORMALIZE_m4_defun_pro([$0])ac_libobjs= ac_ltlibobjs= m4_ifndef([AM_C_PROTOTYPES], [U= ])dnl for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`AS_ECHO(["$ac_i"]) | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. AS_VAR_APPEND([ac_libobjs], [" \${LIBOBJDIR}$ac_i\$U.$ac_objext"]) AS_VAR_APPEND([ac_ltlibobjs], [" \${LIBOBJDIR}$ac_i"'$U.lo']) done AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) []_m4_defun_epi([$0]) T11,70 _m4_foreachm4_if([$#], [3], [], [$1[$4]$2[]$0([$1], [$2], m4_shift3($@))]) T10,86 m4_tolowerm4_translit([[$1]], [ABCDEFGHIJKLMNOPQRSTUVWXYZ], [abcdefghijklmnopqrstuvwxyz]) T23,117 AC_DEFINE_TRACE_LITERALm4_pattern_allow([^$1$])dnl AS_IDENTIFIER_IF([$1], [], [m4_warn([syntax], [AC_DEFINE: not an identifier: $1])])dnl T27,23 m4_location(AS_LINENO_PUSH)lib/m4sugar/m4sh.m4:967 T15,131 _AC_EVAL_STDERR_m4_defun_pro([$0])_AC_RUN_LOG_STDERR([eval $1], [eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$1\""])[]_m4_defun_epi([$0]) T11,85 AS_BASENAME$as_basename -- $1 || _AS_BASENAME_EXPR([$1]) 2>/dev/null || _AS_BASENAME_SED([$1])[] T11,124 AS_BASENAME_m4_defun_pro([$0])AS_REQUIRE([_$0_PREPARE])[]_m4_popdef([$0])m4_indir([$0]m4_if([$#], [0], [], [,$@]))[]_m4_defun_epi([$0]) T18,824 _AC_FUNC_MALLOC_IF_m4_defun_pro([$0])AC_REQUIRE([AC_CANONICAL_HOST])dnl for cross-compiles AC_CACHE_CHECK([for GNU libc compatible malloc], ac_cv_func_malloc_0_nonnull, [AC_RUN_IFELSE( [AC_LANG_PROGRAM([[#include ]], [[void *p = malloc (0); int result = !p; free (p); return result;]])], [ac_cv_func_malloc_0_nonnull=yes], [ac_cv_func_malloc_0_nonnull=no], [case "$host_os" in # (( # Guess yes on platforms where we know the result. *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \ | hpux* | solaris* | cygwin* | mingw* | windows* | msys* ) ac_cv_func_malloc_0_nonnull=yes ;; # If we don't know, assume the worst. *) ac_cv_func_malloc_0_nonnull=no ;; esac])]) AS_IF([test $ac_cv_func_malloc_0_nonnull = yes], [$1], [$2]) []_m4_defun_epi([$0]) T24,29 m4_location(AC_F77_MAIN)./lib/autoconf/fortran.m4:896 T16,2 AC_LANG_SOURCE()$1 T24,7782 _AC_OUTPUT_CONFIG_STATUSAC_MSG_NOTICE([creating $CONFIG_STATUS]) dnl AS_MESSAGE_LOG_FD is not available yet: m4_pushdef([AS_MESSAGE_LOG_FD])AS_INIT_GENERATED([$CONFIG_STATUS], [# Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false ]) || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 [#] Save the log message, to keep $[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])dnl $as_me[]m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]), which was generated by m4_PACKAGE_STRING. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $[0] $[@] on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF dnl remove any newlines from these variables. m4_ifdef([_AC_SEEN_CONFIG(FILES)], [case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$[*];; esac ]) m4_ifdef([_AC_SEEN_CONFIG(HEADERS)], [case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$[*];; esac ]) cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. m4_ifdef([_AC_SEEN_CONFIG(FILES)], [config_files="$ac_config_files" ])dnl m4_ifdef([_AC_SEEN_CONFIG(HEADERS)], [config_headers="$ac_config_headers" ])dnl m4_ifdef([_AC_SEEN_CONFIG(LINKS)], [config_links="$ac_config_links" ])dnl m4_ifdef([_AC_SEEN_CONFIG(COMMANDS)], [config_commands="$ac_config_commands" ])dnl _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ '$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $[0] [[OPTION]]... [[TAG]]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent [] do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions m4_ifdef([_AC_SEEN_CONFIG(FILES)], [AS_HELP_STRING([[ --file=FILE[:TEMPLATE]]], [instantiate the configuration file FILE], [ ]) ])dnl m4_ifdef([_AC_SEEN_CONFIG(HEADERS)], [AS_HELP_STRING([[ --header=FILE[:TEMPLATE]]], [instantiate the configuration header FILE], [ ]) ])dnl m4_ifdef([_AC_SEEN_CONFIG(FILES)], [Configuration files: $config_files ])dnl m4_ifdef([_AC_SEEN_CONFIG(HEADERS)], [Configuration headers: $config_headers ])dnl m4_ifdef([_AC_SEEN_CONFIG(LINKS)], [Configuration links: $config_links ])dnl m4_ifdef([_AC_SEEN_CONFIG(COMMANDS)], [Configuration commands: $config_commands ])dnl Report bugs to m4_ifset([AC_PACKAGE_BUGREPORT], [], [the package provider]).dnl m4_ifdef([AC_PACKAGE_NAME], [m4_ifset([AC_PACKAGE_URL], [ AC_PACKAGE_NAME home page: .])dnl m4_if(m4_index(m4_defn([AC_PACKAGE_NAME]), [GNU ]), [0], [ General help using GNU software: .])])" _ACEOF ac_cs_config=`AS_ECHO(["$ac_configure_args"]) | sed "$ac_safe_unquote"` ac_cs_config_escaped=`AS_ECHO(["$ac_cs_config"]) | sed "s/^ //; s/'/'\\\\\\\\''/g"` cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.status[]dnl m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) configured by $[0], generated by m4_PACKAGE_STRING, with options \\"\$ac_cs_config\\" Copyright (C) m4_PACKAGE_YEAR Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' AC_PROVIDE_IFELSE([AC_PROG_INSTALL], [INSTALL='$INSTALL' ])dnl AC_PROVIDE_IFELSE([AC_PROG_MKDIR_P], [MKDIR_P='$MKDIR_P' ])dnl AC_PROVIDE_IFELSE([AC_PROG_AWK], [AWK='$AWK' ])dnl test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $[#] != 0 do case $[1] in --*=?*) ac_option=`expr "X$[1]" : 'X\([[^=]]*\)='` ac_optarg=`expr "X$[1]" : 'X[[^=]]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$[1]" : 'X\([[^=]]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$[1] ac_optarg=$[2] ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) AS_ECHO(["$ac_cs_version"]); exit ;; --config | --confi | --conf | --con | --co | --c ) AS_ECHO(["$ac_cs_config"]); exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; m4_ifdef([_AC_SEEN_CONFIG(FILES)], [dnl --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`AS_ECHO(["$ac_optarg"]) | sed "s/'/'\\\\\\\\''/g"` ;; '') AC_MSG_ERROR([missing file argument]) ;; esac AS_VAR_APPEND([CONFIG_FILES], [" '$ac_optarg'"]) ac_need_defaults=false;; ])dnl m4_ifdef([_AC_SEEN_CONFIG(HEADERS)], [dnl --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`AS_ECHO(["$ac_optarg"]) | sed "s/'/'\\\\\\\\''/g"` ;; esac AS_VAR_APPEND([CONFIG_HEADERS], [" '$ac_optarg'"]) ac_need_defaults=false;; --he | --h) # Conflict between --help and --header AC_MSG_ERROR([ambiguous option: '$[1]' Try '$[0] --help' for more information.]);; ], [ --he | --h |])dnl --help | --hel | -h ) AS_ECHO(["$ac_cs_usage"]); exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) AC_MSG_ERROR([unrecognized option: '$[1]' Try '$[0] --help' for more information.]) ;; *) AS_VAR_APPEND([ac_config_targets], [" $[1]"]) ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec AS_MESSAGE_FD>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 dnl Check this before opening the log, to avoid a bug on MinGW, dnl which prohibits the recursive instance from truncating an open log. if \$ac_cs_recheck; then set X $SHELL '$[0]' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \AS_ECHO(["running CONFIG_SHELL=$SHELL \$[*]"]) >&AS_MESSAGE_FD CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$[@]" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 dnl Open the log: m4_popdef([AS_MESSAGE_LOG_FD])dnl exec AS_MESSAGE_LOG_FD>>config.log { echo AS_BOX([Running $as_me.]) AS_ECHO(["$ac_log"]) } >&AS_MESSAGE_LOG_FD _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 m4_ifdef([_AC_OUTPUT_COMMANDS_INIT], [# # INIT-COMMANDS # _AC_OUTPUT_COMMANDS_INIT ])dnl _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in m4_ifdef([_AC_LIST_TAGS], [_AC_LIST_TAGS]) *) AC_MSG_ERROR([invalid argument: '$ac_config_target']);; esac done m4_ifdef([_AC_SEEN_CONFIG(ANY)], [_AC_OUTPUT_MAIN_LOOP])[]dnl AS_EXIT(0) _ACEOF T12,55 m4_copy_unm4m4_copy([$1], m4_bpatsubst([$1], [^m4_\(.*\)], [[\1]])) T13,1575 AC_CACHE_SAVEcat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # 'ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* 'ac_cv_foo' will be assigned the # following values. _ACEOF _AC_CACHE_DUMP() | sed [' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end'] >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then AC_MSG_NOTICE([updating cache $cache_file]) if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else dnl Try to update the cache file atomically even on different mount points; dnl at the same time, avoid filename limitation issues in the common case. case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else AC_MSG_NOTICE([not updating unwritable cache $cache_file]) fi fi rm -f confcache[]dnl T11,2 _AS_ESCAPE_$1 T16,240 AC_SYS_LARGEFILE_m4_defun_pro([$0])AC_ARG_ENABLE([largefile], [AS_HELP_STRING([--disable-largefile], [omit support for large files])])dnl AS_IF([test "$enable_largefile,$enable_year2038" != no,no], [_AC_SYS_LARGEFILE_PROBE])[]_m4_defun_epi([$0]) T28,28 m4_location(AC_CHECK_HEADER)./lib/autoconf/headers.m4:56 T50,31 m4_location(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)./lib/autoconf/functions.m4:929 T17,199 _AC_REPLACE_FUNCSAS_LITERAL_IF([$1], [m4_map_args_w([$1], [_AC_REPLACE_FUNC_L(], [)])], [m4_map_args_w([$1], [_AC_REPLACE_FUNC_U(], [)])]dnl [AS_FOR([AC_func], [ac_func], [$1], [_AC_REPLACE_FUNC_NL(AC_func)])]) T28,29 m4_location(AC_HEADER_MAJOR)./lib/autoconf/headers.m4:500 T28,26 m4_location(_AC_LANG_PREFIX)./lib/autoconf/lang.m4:155 T27,30 m4_location(_AC_RUN_IFELSE)./lib/autoconf/general.m4:2960 T16,64 AC_REPLACE_FUNCS_m4_defun_pro([$0])_$0(m4_validate_w([$1]))[]_m4_defun_epi([$0]) T30,27 m4_location(AM_TYPE_PTRDIFF_T)./lib/autoconf/types.m4:330 T19,114 AC_REQUIRE_SHELL_FN_m4_defun_pro([$0])AS_REQUIRE_SHELL_FN([$1], [$2], [$3], m4_default_quoted([$4], [SHELL_FN]))[]_m4_defun_epi([$0]) T24,29 m4_location(AC_TEST_CPP)./lib/autoconf/oldnames.m4:45 T9,158 m4_popdefm4_if([$#], [0], [[$0]], [$#], [1], [m4_ifdef([$1], [_m4_popdef([$1])], [m4_fatal([$0: undefined macro: $1])])], [m4_map_args([$0], $@)]) T32,29 m4_location(AC_REQUIRE_SHELL_FN)./lib/autoconf/general.m4:175 T39,125 AC_LANG_BOOL_COMPILE_TRY(Objective C++)AC_LANG_PROGRAM([$1], [static int test_array @<:@1 - 2 * !($2)@:>@; test_array @<:@0@:>@ = 0; return test_array @<:@0@:>@; ]) T13,276 m4_set_deletem4_ifdef([_m4_set([$1])], [_m4_popdef([_m4_set([$1],]_m4_defn([_m4_set([$1])])[)], [_m4_set([$1])])$0([$1])], [m4_ifdef([_m4_set_cleanup($1)], [_m4_popdef([_m4_set_cleanup($1)])])m4_ifdef( [_m4_set_size($1)], [_m4_popdef([_m4_set_size($1)])])]) T29,28 m4_location(AC_CONFIG_HEADER)./lib/autoconf/status.m4:719 T37,28 m4_location(_AC_CHECK_HEADER_COMPILE)./lib/autoconf/headers.m4:89 T13,474 _m4_text_wrapm4_pushdef([m4_Indent], m4_qlen([$2]))m4_pushdef([m4_Cursor], m4_qlen([$3]))m4_pushdef([m4_Separator], [m4_define([m4_Separator], [ ])])[$3]m4_cond([m4_Cursor], m4_Indent, [], [m4_eval(m4_Cursor > m4_Indent)], [1], [ [$2]m4_define([m4_Cursor], m4_Indent)], [m4_format([%*s], m4_max([0], m4_eval(m4_Indent - m4_Cursor)), [])m4_define([m4_Cursor], m4_Indent)])m4_map_args_w([$1], [$0_word(], [, [$2], [$4])])_m4_popdef([m4_Separator], [m4_Cursor], [m4_Indent]) T17,369 _AC_INIT_DIRCHECK_m4_defun_pro([$0])m4_divert_push([PARSE_ARGS])dnl ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || AC_MSG_ERROR([working directory cannot be determined]) test "X$ac_ls_di" = "X$ac_pwd_ls_di" || AC_MSG_ERROR([pwd does not report name of working directory]) m4_divert_pop([PARSE_ARGS])dnl []_m4_defun_epi([$0]) T12,224 AC_PROG_GREP_m4_defun_pro([$0])AC_CACHE_CHECK([for grep that handles long lines and -e], ac_cv_path_GREP, [_$0(GREP, [grep ggrep], [-e 'GREP$' -e '-(cannot match)-'])]) GREP="$ac_cv_path_GREP" AC_SUBST([GREP]) []_m4_defun_epi([$0]) T8,77 m4_stripm4_bpatsubsts([$1 ], [[ ]+], [ ], [^. ?\(.*\) .$], [[[\1]]]) T28,30 m4_location(_AC_FC_WRAPPERS)./lib/autoconf/fortran.m4:1035 T10,183 AC_STRCOLL_m4_defun_pro([$0])m4_warn([obsolete], [The macro 'AC_STRCOLL' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [AC_FUNC_STRCOLL], [AC_FUNC_STRCOLL($@)])[]_m4_defun_epi([$0]) T30,29 m4_location(AC_CONFIG_SUBDIRS)./lib/autoconf/status.m4:1096 T24,2 _AC_LANG_ABBREV(Fortran)fc T29,76 AC_LANG_CONFTEST(Objective C)cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $1 _ACEOF T25,53 _m4_expansion_stack_entry_m4_defn([m4_location($1)])[: $1 is expanded from...] T12,852 AC_PROG_OBJC_m4_defun_pro([$0])AC_LANG_PUSH(Objective C)dnl AC_ARG_VAR([OBJC], [Objective C compiler command])dnl AC_ARG_VAR([OBJCFLAGS], [Objective C compiler flags])dnl _AC_ARG_VAR_LDFLAGS()dnl _AC_ARG_VAR_LIBS()dnl _AC_ARG_VAR_CPPFLAGS()dnl _AC_ARG_VAR_PRECIOUS([OBJC])dnl AC_CHECK_TOOLS(OBJC, [m4_default([$1], [gcc objcc objc cc CC clang])], gcc) # Provide some information about the compiler. _AS_ECHO_LOG([checking for _AC_LANG compiler version]) set X $ac_compile ac_compiler=$[2] for ac_option in --version -v -V -qversion; do _AC_DO_LIMIT([$ac_compiler $ac_option >&AS_MESSAGE_LOG_FD]) done m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl m4_expand_once([_AC_COMPILER_OBJEXT])[]dnl _AC_LANG_COMPILER_GNU if test $ac_compiler_gnu = yes; then GOBJC=yes else GOBJC= fi _AC_PROG_OBJC_G AC_LANG_POP(Objective C)dnl []_m4_defun_epi([$0]) T29,26 m4_location(AC_LANG_INT_SAVE)./lib/autoconf/lang.m4:303 T12,151 AC_LANG_OBJC_m4_defun_pro([$0])m4_warn([obsolete], [The macro 'AC_LANG_OBJC' is obsolete. You should run autoupdate.])dnl AC_LANG(Objective C)[]_m4_defun_epi([$0]) T24,2 _AC_LANG_PREFIX(Fortran)FC T33,30 m4_location(_AC_FC_NAME_MANGLING)./lib/autoconf/fortran.m4:1020 T17,1797 _AC_FC_DUMMY_MAIN_m4_defun_pro([$0])_AC_FORTRAN_ASSERT()dnl m4_define(_AC_LANG_PROGRAM_C_[]_AC_FC[]_HOOKS, [#ifdef ]_AC_FC[_DUMMY_MAIN ]AC_LANG_CASE([Fortran], [#ifndef FC_DUMMY_MAIN_EQ_F77]) [# ifdef __cplusplus extern "C" # endif int ]_AC_FC[_DUMMY_MAIN() { return 1; } ]AC_LANG_CASE([Fortran], [#endif]) [#endif ]) AC_CACHE_CHECK([for dummy main to link with _AC_LANG libraries], ac_cv_[]_AC_LANG_ABBREV[]_dummy_main, [ac_[]_AC_LANG_ABBREV[]_dm_save_LIBS=$LIBS LIBS="$LIBS $[]_AC_LANG_PREFIX[]LIBS" ac_fortran_dm_var=[]_AC_FC[]_DUMMY_MAIN AC_LANG_PUSH(C)dnl # First, try linking without a dummy main: AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], [ac_cv_fortran_dummy_main=none], [ac_cv_fortran_dummy_main=unknown]) if test $ac_cv_fortran_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 $ac_fortran_dm_var $ac_func]])], [ac_cv_fortran_dummy_main=$ac_func; break]) done fi AC_LANG_POP(C)dnl ac_cv_[]_AC_LANG_ABBREV[]_dummy_main=$ac_cv_fortran_dummy_main rm -rf conftest* LIBS=$ac_[]_AC_LANG_ABBREV[]_dm_save_LIBS ]) []_AC_FC[]_DUMMY_MAIN=$ac_cv_[]_AC_LANG_ABBREV[]_dummy_main AS_IF([test "$[]_AC_FC[]_DUMMY_MAIN" != unknown], [m4_default([$1], [if test $[]_AC_FC[]_DUMMY_MAIN != none; then AC_DEFINE_UNQUOTED([]_AC_FC[]_DUMMY_MAIN, $[]_AC_FC[]_DUMMY_MAIN, [Define to dummy 'main' function (if any) required to link to the Fortran libraries.]) if test "x$ac_cv_fc_dummy_main" = "x$ac_cv_f77_dummy_main"; then AC_DEFINE([FC_DUMMY_MAIN_EQ_F77], 1, [Define if F77 and FC dummy 'main' functions are identical.]) fi fi])], [m4_default([$2], [AC_MSG_FAILURE([linking to Fortran libraries from C fails])])]) []_m4_defun_epi([$0]) T15,463 AC_HEADER_MAJOR_m4_defun_pro([$0])AC_CHECK_HEADERS_ONCE([sys/types.h]) AC_CHECK_HEADER([sys/mkdev.h], [AC_DEFINE([MAJOR_IN_MKDEV], [1], [Define to 1 if 'major', 'minor', and 'makedev' are declared in .])]) if test $ac_cv_header_sys_mkdev_h = no; then AC_CHECK_HEADER([sys/sysmacros.h], [AC_DEFINE([MAJOR_IN_SYSMACROS], [1], [Define to 1 if 'major', 'minor', and 'makedev' are declared in .])]) fi []_m4_defun_epi([$0]) T20,33 _AS_REQUIRE_SHELL_FN m4_n([$2])$1 () { $3 } @%:@ $1[] T14,1273 _AC_CACHE_DUMP# The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n ['s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p']`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) AC_MSG_WARN([cache variable $ac_var contains a newline]) ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) AS_UNSET([$ac_var]) ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # 'set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ ["s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"] ;; #( *) # 'set' quotes correctly as required by POSIX, so do not add quotes. sed -n ["/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"] ;; esac | sort )dnl T16,150 AC_FC_DUMMY_MAIN_m4_defun_pro([$0])AC_REQUIRE([AC_FC_LIBRARY_LDFLAGS])dnl AC_LANG_PUSH(Fortran)dnl _AC_FC_DUMMY_MAIN($@) AC_LANG_POP(Fortran)dnl []_m4_defun_epi([$0]) T12,64 _AS_ECHO_LOG_AS_ECHO([$as_me:${as_lineno-$LINENO}: $1], AS_MESSAGE_LOG_FD)[] T12,131 _AS_ECHO_LOG_m4_defun_pro([$0])AS_REQUIRE([_AS_LINENO_PREPARE])[]_m4_popdef([$0])m4_indir([$0]m4_if([$#], [0], [], [,$@]))[]_m4_defun_epi([$0]) T9,0 AU_DEFINE T9,23 AC_DEFINE_AC_DEFINE_Q([_$0], $@) T28,30 m4_location(AC_F77_WRAPPERS)./lib/autoconf/fortran.m4:1076 T9,213 AC_EMXOS2_m4_defun_pro([$0])m4_warn([obsolete], [The macro 'AC_EMXOS2' is obsolete. You should run autoupdate.])dnl AC_CANONICAL_HOST case $host_os in *emx* ) EMXOS2=yes;; * ) EMXOS2=no;; esac []_m4_defun_epi([$0]) T22,26 m4_location(AC_OBJEXT)./lib/autoconf/lang.m4:499 T29,30 _AC_LANG_NULL_PROGRAM(Erlang)AC_LANG_PROGRAM([], [halt(0)]) T19,109 _m4_defun_epi_outer_m4_popdef([_m4_divert_dump], [_m4_diverting([$1])], [_m4_diverting])m4_divert_pop([GROW])m4_undivert([GROW]) T26,28 m4_location(AC_LINK_FILES)./lib/autoconf/status.m4:937 T11,165 _m4_dumpdefm4_if([$#], [0], [m4_fatal([$0: missing argument])], [$#], [1], [m4_builtin([dumpdef], [$1])], [m4_map_args_sep([m4_builtin([dumpdef],], [)], [], $@)]) T26,30 m4_location(AC_GNU_SOURCE)./lib/autoconf/specific.m4:489 T27,30 m4_location(AC_CHECK_PROGS)./lib/autoconf/programs.m4:110 T18,1 _m4_divert(NOTICE)8 T25,64 _AC_SYS_LARGEFILE_OPTIONS"none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32" T9,69 m4_assertm4_if(m4_eval([$1]), 0, [m4_fatal([assert failed: $1], [$2])]) T16,298 m4_map_args_pairm4_if([$#], [0], [m4_fatal([$0: too few arguments: $#])], [$#], [1], [m4_fatal([$0: too few arguments: $#: $1])], [$#], [2], [], [$#], [3], [m4_default([$2], [$1])([$3])[]], [$#], [4], [$1([$3], [$4])[]], [$1([$3], [$4])[]$0([$1], [$2], m4_shift(m4_shift3($@)))]) T36,29 m4_location(AC_CONFIG_COMMANDS_POST)./lib/autoconf/status.m4:1070 T8,19 m4_curry$1(m4_shift($@,)_$0 T19,67 AC_CONFIG_MACRO_DIR_m4_defun_pro([$0])_$0S(_$0S_USED()[$0], [$1])[]_m4_defun_epi([$0]) T30,27 m4_location(_AC_STRUCT_DIRENT)./lib/autoconf/types.m4:995 F12,9 m4_debugfiledebugfile T9,156 m4_escapem4_if(m4_index(m4_translit([$1], [[]#,()][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789], [$$$]), [$]), [-1], [m4_echo], [_$0])([$1]) T12,93 m4_text_wrap_$0(m4_escape([$1]), [$2], m4_default_quoted([$3], [$2]), m4_default_quoted([$4], [79])) T30,29 m4_location(_AC_LINKER_OPTION)./lib/autoconf/fortran.m4:124 T28,30 m4_location(_AC_COMPUTE_INT)./lib/autoconf/general.m4:3374 T14,131 m4_set_add_allm4_define([_m4_set_size($1)], m4_eval(m4_set_size([$1]) + m4_len(m4_ifdef([_m4_set_cleanup($1)], [_$0_check], [_$0])([$1], $@)))) T9,28 _m4_quotem4_if([$#], [0], [], [[$*]]) T27,32 m4_location(_AC_FUNC_VFORK)./lib/autoconf/functions.m4:1926 T25,26 m4_location(AC_LANG_CALL)./lib/autoconf/lang.m4:278 T31,31 m4_location(_AC_LIBOBJ_FNMATCH)./lib/autoconf/functions.m4:605 T26,30 m4_location(AC_CHECK_TOOL)./lib/autoconf/programs.m4:221 T10,24 AN_MAKEVARAN_OUTPUT([makevar], $@) T25,30 m4_location(AC_CACHE_VAL)./lib/autoconf/general.m4:2249 T15,165 _m4_set_add_allm4_if([$#], [2], [], [m4_ifdef([_m4_set([$1],$3)], [], [m4_define([_m4_set([$1],$3)], [1])m4_pushdef([_m4_set([$1])], [$3])-])$0([$1], m4_shift2($@))]) T17,196 _AC_LIBOBJ_STRTODAC_LIBOBJ(strtod) AC_CHECK_FUNC(pow) if test $ac_cv_func_pow = no; then AC_CHECK_LIB(m, pow, [POW_LIB=-lm], [AC_MSG_WARN([cannot find library containing definition of pow])]) fi T15,258 AC_FUNC_VPRINTF_m4_defun_pro([$0])AC_CHECK_FUNCS_ONCE([vprintf]) AS_IF([test "x$ac_cv_func_vprintf" = xno], [AC_CHECK_FUNC([_doprnt], [AC_DEFINE([HAVE_DOPRNT], [1], [Define to 1 if you don't have 'vprintf' but do have '_doprnt.'])])])[]_m4_defun_epi([$0]) T28,26 m4_location(AC_LANG_RESTORE)./lib/autoconf/lang.m4:139 T32,30 m4_location(AC_FC_CRAY_POINTERS)./lib/autoconf/fortran.m4:1928 T26,30 m4_location(AC_CHECK_DECL)./lib/autoconf/general.m4:3139 F8,8 __line____line__ F8,8 __file____file__ T17,0 AS_MESSAGE_LOG_FD T24,223 AC_FUNC_SETVBUF_REVERSED_m4_defun_pro([$0])m4_warn([obsolete], [The macro '$0' is obsolete. Remove it and all references to SETVBUF_REVERSED.])dnl AC_CACHE_VAL([ac_cv_func_setvbuf_reversed], [ac_cv_func_setvbuf_reversed=no]) []_m4_defun_epi([$0]) T12,167 AC_ISC_POSIX_m4_defun_pro([$0])m4_warn([obsolete], [The macro 'AC_ISC_POSIX' is obsolete. You should run autoupdate.])dnl AC_SEARCH_LIBS([strerror], [cposix])[]_m4_defun_epi([$0]) T11,136 m4_undivertm4_if([$#], [0], [m4_fatal([$0: missing argument])], [$#], [1], [_m4_undivert(_m4_divert([$1]))], [m4_map_args([$0], $@)]) T30,6 _AC_LANG_ABBREV(Objective C++)objcxx T23,23 m4_location(AS_REQUIRE)lib/m4sugar/m4sh.m4:414 T16,4812 _AC_INIT_PREPAREm4_divert_push([INIT_PREPARE])dnl # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`AS_ECHO(["$ac_arg"]) | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) AS_VAR_APPEND([ac_configure_args0], [" '$ac_arg'"]) ;; 2) AS_VAR_APPEND([ac_configure_args1], [" '$ac_arg'"]) dnl If trying to remove duplicates, be sure to (i) keep the *last* dnl value (e.g. --prefix=1 --prefix=2 --prefix=1 might keep 2 only), dnl and (ii) not to strip long options (--prefix foo --prefix bar might dnl give --prefix foo bar). if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in dnl Use broad patterns, as arguments that would have already made configure dnl exit don't matter. *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi AS_VAR_APPEND([ac_configure_args], [" '$ac_arg'"]) ;; esac done done AS_UNSET(ac_configure_args0) AS_UNSET(ac_configure_args1) # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Sanitize IFS. IFS=" "" $as_nl" # Save into config.log some information that might help in debugging. { echo AS_BOX([Cache variables.]) echo m4_bpatsubsts(m4_defn([_AC_CACHE_DUMP]), [^ *\(#.*\)? ], [], ['], ['\\'']) echo AS_BOX([Output variables.]) echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`AS_ECHO(["$ac_val"]) | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac AS_ECHO(["$ac_var='\''$ac_val'\''"]) done | sort echo if test -n "$ac_subst_files"; then AS_BOX([File substitutions.]) echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`AS_ECHO(["$ac_val"]) | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac AS_ECHO(["$ac_var='\''$ac_val'\''"]) done | sort echo fi if test -s confdefs.h; then AS_BOX([confdefs.h.]) echo cat confdefs.h echo fi test "$ac_signal" != 0 && AS_ECHO(["$as_me: caught signal $ac_signal"]) AS_ECHO(["$as_me: exit $exit_status"]) } >&AS_MESSAGE_LOG_FD rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$[$]* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; AS_EXIT([1])' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h dnl AIX cpp loses on an empty file, NextStep 3.3 (patch 3) loses on a file dnl containing less than 14 bytes (including the newline). AS_ECHO(["/* confdefs.h */"]) > confdefs.h # Predefined preprocessor variables. AC_DEFINE_UNQUOTED([PACKAGE_NAME], ["$PACKAGE_NAME"], [Define to the full name of this package.])dnl AC_DEFINE_UNQUOTED([PACKAGE_TARNAME], ["$PACKAGE_TARNAME"], [Define to the one symbol short name of this package.])dnl AC_DEFINE_UNQUOTED([PACKAGE_VERSION], ["$PACKAGE_VERSION"], [Define to the version of this package.])dnl AC_DEFINE_UNQUOTED([PACKAGE_STRING], ["$PACKAGE_STRING"], [Define to the full name and version of this package.])dnl AC_DEFINE_UNQUOTED([PACKAGE_BUGREPORT], ["$PACKAGE_BUGREPORT"], [Define to the address where bug reports for this package should be sent.])dnl AC_DEFINE_UNQUOTED([PACKAGE_URL], ["$PACKAGE_URL"], [Define to the home page for this package.]) # Let the site file select an alternate cache file if it wants to. AC_SITE_LOAD AC_CACHE_LOAD m4_divert_pop([INIT_PREPARE])dnl T27,351 _AC_CHECK_HEADER_COMPILE_FNAC_REQUIRE_SHELL_FN([ac_fn_]_AC_LANG_ABBREV[_check_header_compile], [AS_FUNCTION_DESCRIBE([ac_fn_]_AC_LANG_ABBREV[_check_header_compile], [LINENO HEADER VAR INCLUDES], [Tests whether HEADER exists and can be compiled using the include files in INCLUDES, setting the cache variable VAR accordingly.])], [_AC_CHECK_HEADER_COMPILE_BODY]) T11,272 _AC_DO_ECHO_m4_defun_pro([$0])m4_if([$1], [$ac_try], [], [ac_try="$1" ])[case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""] AS_ECHO(["$ac_try_echo"])[]_m4_defun_epi([$0]) T9,1210 AC_PATH_X_m4_defun_pro([$0])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])dnl AC_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=disabled else case $x_includes,$x_libraries in #( *\'*) AC_MSG_ERROR([cannot use X directory names containing ']);; #( *,NONE | NONE,*) _AC_PATH_X;; #( *) have_x=yes;; esac eval "$ac_cv_have_x" fi # $with_x != no if test "$have_x" != yes; then AC_MSG_RESULT([$have_x]) no_x=yes else # 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([$0]) T27,24 m4_location(AC_C_STRINGIZE)./lib/autoconf/c.m4:2136 T19,921 AC_ERLANG_CHECK_LIB_m4_defun_pro([$0])AC_REQUIRE([AC_ERLANG_NEED_ERL])[]dnl AC_CACHE_CHECK([for Erlang/OTP '$1' library subdirectory], [ac_cv_erlang_lib_dir_$1], [ac_cv_erlang_lib_dir_$1=`$ERL -noshell -eval ' case code:lib_dir("$1") of {error, bad_name} -> io:format("not found~n"); LibDir -> io:format("~s~n", @<:@LibDir@:>@) end, halt(0) '`]) AC_CACHE_CHECK([for Erlang/OTP '$1' library version], [ac_cv_erlang_lib_ver_$1], [AS_IF([test "$ac_cv_erlang_lib_dir_$1" = "not found"], [ac_cv_erlang_lib_ver_$1="not found"], [ac_cv_erlang_lib_ver_$1=`AS_ECHO(["$ac_cv_erlang_lib_dir_$1"]) | sed -n -e 's,^.*-\([[^/-]]*\)$,\1,p'`])[]dnl ]) AC_SUBST([ERLANG_LIB_DIR_$1], [$ac_cv_erlang_lib_dir_$1]) AC_SUBST([ERLANG_LIB_VER_$1], [$ac_cv_erlang_lib_ver_$1]) AS_IF([test "$ac_cv_erlang_lib_dir_$1" = "not found"], [$3], [$2]) []_m4_defun_epi([$0]) T26,23 _AC_LANG_NULL_PROGRAM(C++)AC_LANG_PROGRAM([], []) T13,76 _AC_DO_TOKENS_m4_defun_pro([$0]){ ac_try='$1' _AC_DO([$ac_try]); }[]_m4_defun_epi([$0]) T17,136 _AS_BASENAME_EXPR_m4_defun_pro([$0])$as_expr X/[]$1 : '.*/\([[^/][^/]*]\)/*$' \| \ X[]$1 : 'X\(//\)$' \| \ X[]$1 : 'X\(/\)' \| .[]_m4_defun_epi([$0]) T28,23 m4_location(AC_PROG_CXX_C_O)./lib/autoconf/c.m4:773 T17,604 _AS_SHELL_FN_WORKas_fn_return () { (exit [$]1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } AS_IF([( set x; as_fn_ret_success y && test x = "[$]1" )], [], [exitcode=1; echo positional parameters were not saved.]) test x$exitcode = x0[] T18,49 AS_LITERAL_WORD_IF_AS_LITERAL_IF(m4_expand([$1]))([$4], [$3], [$2]) T18,122 _AC_LANG_OPENMP(C) #ifndef _OPENMP #error "OpenMP not supported" #endif #include int main (void) { return omp_get_num_threads (); } T20,67 AC_LANG_CONFTEST(Go)cat > conftest.$ac_ext <<_ACEOF AC_LANG_DEFINES_PROVIDED[]$1 _ACEOF T16,400 _AS_EXIT_PREPARE_m4_defun_pro([$0])AS_REQUIRE_SHELL_FN([as_fn_set_status], [AS_FUNCTION_DESCRIBE([as_fn_set_status], [STATUS], [Set $? to STATUS, without forking.])], [ return $[]1])AS_REQUIRE_SHELL_FN([as_fn_exit], [AS_FUNCTION_DESCRIBE([as_fn_exit], [STATUS], [Exit the shell with STATUS, even in a "trap 0" or "set -e" context.])], [ set +e as_fn_set_status $[1] exit $[1]])[]_m4_defun_epi([$0]) T26,688 _AC_TYPE_UNSIGNED_INT_BODY AS_LINENO_PUSH([$[]1]) AC_CACHE_CHECK([for uint$[]2_t], $[]3, [AS_VAR_SET([$[]3], [no]) # Order is important - never check a type that is potentially smaller # than half of the expected target width. for ac_type in uint$[]2_t 'unsigned int' 'unsigned long int' \ 'unsigned long long int' 'unsigned short int' 'unsigned char'; do AC_COMPILE_IFELSE( [AC_LANG_BOOL_COMPILE_TRY( [AC_INCLUDES_DEFAULT], [(($ac_type) -1 >> ($[]2 / 2 - 1)) >> ($[]2 / 2 - 1) == 3])], [AS_CASE([$ac_type], [uint$[]2_t], [AS_VAR_SET([$[]3], [yes])], [AS_VAR_SET([$[]3], [$ac_type])])]) AS_VAR_IF([$[]3], [no], [], [break]) done]) AS_LINENO_POP T29,29 m4_location(AC_CONFIG_SRCDIR)./lib/autoconf/general.m4:497 T26,30 m4_location(_AC_DO_TOKENS)./lib/autoconf/general.m4:2636 T18,1980 AC_FC_CHECK_BOUNDS_m4_defun_once([AC_FC_CHECK_BOUNDS], [AC_LANG_PUSH([Fortran])dnl AC_CACHE_CHECK([for Fortran flag to enable array-bounds checking], [ac_cv_fc_check_bounds], [ac_cv_fc_check_bounds=unknown ac_fc_check_bounds_FCFLAGS_save=$FCFLAGS for ac_flag in -fcheck=bounds -fbounds-check -check_bounds -Mbounds -qcheck \ '-check bounds' +check=all --check '-Rb -Rc' -CB -C=all -C \ -ffortran-bounds-check "--chk e,s" "-chk e -chk s" -bounds do FCFLAGS="$ac_fc_check_bounds_FCFLAGS_save $ac_flag" # We should be able to link a correct program. AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], [AC_LINK_IFELSE([[ subroutine sub(a) integer a(:) a(8) = 0 end subroutine program main integer a(1:7) interface subroutine sub(a) integer a(:) end subroutine end interface call sub(a) end program]], [# If we can run the program, require failure at run time. # In cross-compiling mode, we rely on the compiler not accepting # unknown options. AS_IF([test "$cross_compiling" = yes], [ac_cv_fc_check_bounds=$ac_flag; break], [AS_IF([_AC_DO_TOKENS(./conftest$ac_exeext)], [], [ac_cv_fc_check_bounds=$ac_flag; break])])])]) done rm -f conftest$ac_exeext conftest.err conftest.$ac_objext conftest.$ac_ext \ core *.core core.conftest.* FCFLAGS=$ac_fc_check_bounds_FCFLAGS_save ]) if test "x$ac_cv_fc_check_bounds" = xunknown; then m4_default([$2], [AC_MSG_ERROR([no Fortran flag for bounds checking found], 77)]) else if test "x$ac_cv_fc_check_bounds" != xnone; then FCFLAGS="$FCFLAGS $ac_cv_fc_check_bounds" fi $1 fi AC_LANG_POP([Fortran])dnl ], m4_if(_m4_divert_dump, [], [[_m4_defun_pro([AC_FC_CHECK_BOUNDS])m4_unquote(], [)_m4_defun_epi([AC_FC_CHECK_BOUNDS])]], m4_ifdef([_m4_diverting([AC_FC_CHECK_BOUNDS])], [-]), [-], [[m4_unquote(], [)]], [[_m4_require_call([AC_FC_CHECK_BOUNDS],], [, _m4_divert_dump)]])) T16,49 _m4_divert_stacklib/m4sugar/m4sugar.m4:3265: m4_divert_push: KILL T9,180 AC_ALLOCA_m4_defun_pro([$0])m4_warn([obsolete], [The macro 'AC_ALLOCA' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [AC_FUNC_ALLOCA], [AC_FUNC_ALLOCA($@)])[]_m4_defun_epi([$0]) T12,209 AC_PROG_LN_S_m4_defun_pro([$0])AC_MSG_CHECKING([whether ln -s works]) AC_SUBST([LN_S], [$as_ln_s])dnl if test "$LN_S" = "ln -s"; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no, using $LN_S]) fi []_m4_defun_epi([$0]) T27,26 m4_location(AC_REQUIRE_CPP)./lib/autoconf/lang.m4:389 T17,32 m4_define_defaultm4_ifndef([$1], [m4_define($@)]) T35,30 m4_location(_AC_UNDECLARED_BUILTIN)./lib/autoconf/general.m4:3058 T17,148 AC_LANG_CPLUSPLUS_m4_defun_pro([$0])m4_warn([obsolete], [The macro 'AC_LANG_CPLUSPLUS' is obsolete. You should run autoupdate.])dnl AC_LANG(C++)[]_m4_defun_epi([$0]) T32,30 m4_location(AC_CONFIG_MACRO_DIR)./lib/autoconf/general.m4:1970 T27,30 m4_location(AC_LINK_IFELSE)./lib/autoconf/general.m4:2909 T36,24 m4_location(AC_PROG_GCC_TRADITIONAL)./lib/autoconf/c.m4:1676 T26,32 m4_location(_AC_FUNC_FORK)./lib/autoconf/functions.m4:1910 T13,182 AC_FUNC_CHECK_m4_defun_pro([$0])m4_warn([obsolete], [The macro 'AC_FUNC_CHECK' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [AC_CHECK_FUNC], [AC_CHECK_FUNC($@)])[]_m4_defun_epi([$0]) T22,685 _AC_INIT_PARSE_ENABLE2-$1-* | --$1-*) ac_useropt=`expr "x$ac_option" : 'x-*$1-\(m4_if([$1], [$2], [[[^=]]], [.])*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : "[.*[^-+._$as_cr_alnum]]" >/dev/null && AC_MSG_ERROR([invalid ]m4_if([$2], [with], [package], [feature])[ name: '$ac_useropt']) ac_useropt_orig=$ac_useropt ac_useropt=`AS_ECHO(["$ac_useropt"]) | sed 's/[[-+.]]/_/g'` case $ac_user_opts in *" "$2_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--$1-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval $2_$ac_useropt=m4_if([$1], [$2], [\$ac_optarg], [no]) ;;dnl T15,157 AC_TYPE_SSIZE_T_m4_defun_pro([$0])AC_CHECK_TYPE([ssize_t], [], [AC_DEFINE([ssize_t], [int], [Define as 'int' if doesn't define.])])[]_m4_defun_epi([$0]) T12,489 AC_STRUCT_TM_m4_defun_pro([$0])AC_CACHE_CHECK([whether struct tm is in sys/time.h or time.h], ac_cv_struct_tm, [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include #include ], [struct tm tm; int *p = &tm.tm_sec; return !p;])], [ac_cv_struct_tm=time.h], [ac_cv_struct_tm=sys/time.h])]) if test $ac_cv_struct_tm = sys/time.h; then AC_DEFINE(TM_IN_SYS_TIME, 1, [Define to 1 if your declares 'struct tm'.]) fi []_m4_defun_epi([$0]) T14,89 AC_LINK_IFELSE_m4_defun_pro([$0])AC_LANG_COMPILER_REQUIRE()dnl _AC_LINK_IFELSE($@)[]_m4_defun_epi([$0]) T13,987 AC_TYPE_PID_T_m4_defun_pro([$0]) AC_CHECK_TYPE([pid_t], [], [dnl On 64-bit native Microsoft Windows, define it to the equivalent of dnl 'intptr_t' (= 'long long' = '__int64'), because that is the return type dnl of the _spawnv* functions dnl dnl and the argument type of the _cwait function dnl . dnl Otherwise (on 32-bit Microsoft Windows and on old Unix platforms), dnl define it to 'int'. AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ #if defined _WIN64 && !defined __CYGWIN__ LLP64 #endif ]]) ], [ac_pid_type='int'], [ac_pid_type='__int64']) AC_DEFINE_UNQUOTED([pid_t], [$ac_pid_type], [Define as a signed integer type capable of holding a process identifier.]) ], [AC_INCLUDES_DEFAULT]) []_m4_defun_epi([$0]) T33,29 m4_location(AC_HEADER_TIOCGWINSZ)./lib/autoconf/headers.m4:754 T10,179 AC_VERBOSE_m4_defun_pro([$0])m4_warn([obsolete], [The macro 'AC_VERBOSE' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [AC_MSG_RESULT], [AC_MSG_RESULT($@)])[]_m4_defun_epi([$0]) T32,31 m4_location(AC_FUNC_FNMATCH_GNU)./lib/autoconf/functions.m4:629 T26,1375 _AC_CXX_CXX11_TEST_GLOBALS_m4_defun_pro([$0])m4_divert_text([INIT_PREPARE], [[# Test code for whether the C++ compiler supports C++11 (global declarations) ac_cxx_conftest_cxx11_globals=' // Does the compiler advertise C++ 2011 conformance? #if !defined __cplusplus || __cplusplus < 201103L # error "Compiler does not advertise C++11 conformance" #endif namespace cxx11test { constexpr int get_val() { return 20; } struct testinit { int i; double d; }; class delegate { public: delegate(int n) : n(n) {} delegate(): delegate(2354) {} virtual int getval() { return this->n; }; protected: int n; }; class overridden : public delegate { public: overridden(int n): delegate(n) {} virtual int getval() override final { return this->n * 2; } }; class nocopy { public: nocopy(int i): i(i) {} nocopy() = default; nocopy(const nocopy&) = delete; nocopy & operator=(const nocopy&) = delete; private: int i; }; // for testing lambda expressions template Ret eval(Fn f, Ret v) { return f(v); } // for testing variadic templates and trailing return types template auto sum(V first) -> V { return first; } template auto sum(V first, Args... rest) -> V { return first + sum(rest...); } } ' ]])[]_m4_defun_epi([$0]) T31,931 _AC_PROG_CXX_STDCXX_EDITION_TRY_m4_defun_pro([$0])AC_LANG_ASSERT([C++])AC_REQUIRE([_AC_CXX_CXX$1_TEST_PROGRAM])AS_IF([test x$ac_prog_cxx_stdcxx = xno], [AC_MSG_CHECKING([for $CXX option to enable C++$1 features]) AC_CACHE_VAL(ac_cv_prog_cxx_cxx$1, [ac_cv_prog_cxx_cxx$1=no ac_save_CXX=$CXX AC_LANG_CONFTEST([AC_LANG_DEFINES_PROVIDED][$][ac_cxx_conftest_cxx$1_program]) for ac_arg in '' m4_normalize(m4_defn([_AC_CXX_CXX$1_OPTIONS])) do CXX="$ac_save_CXX $ac_arg" _AC_COMPILE_IFELSE([], [ac_cv_prog_cxx_cxx$1=$ac_arg]) test "x$ac_cv_prog_cxx_cxx$1" != "xno" && break done rm -f conftest.$ac_ext CXX=$ac_save_CXX]) AS_IF([test "x$ac_cv_prog_cxx_cxx$1" = xno], [AC_MSG_RESULT([unsupported])], [AS_IF([test "x$ac_cv_prog_cxx_cxx$1" = x], [AC_MSG_RESULT([none needed])], [AC_MSG_RESULT([$ac_cv_prog_cxx_cxx$1]) CXX="$CXX $ac_cv_prog_cxx_cxx$1"]) ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx$1 ac_prog_cxx_stdcxx=cxx$1])]) []_m4_defun_epi([$0]) T29,30 m4_location(AC_SYS_LARGEFILE)./lib/autoconf/specific.m4:349 T19,156 _m4_defun_pro_outerm4_set_delete([_m4_provide])m4_pushdef([_m4_diverting([$1])])m4_pushdef([_m4_diverting], [$1])m4_pushdef([_m4_divert_dump], m4_divnum)m4_divert_push([GROW]) T25,70 AC_CONFIG_AUX_DIR_DEFAULT_m4_defun_pro([$0])AC_REQUIRE([_AC_INIT_AUX_DIR])[]_m4_defun_epi([$0]) T27,54 AC_PATH_PROGS_FEATURE_CHECK_$0([$1], [$2], [$3], m4_default([$4], [:]), [$5])dnl T25,64 AC_LANG_COMPILER(Fortran)_m4_defun_pro([$0])AC_REQUIRE([AC_PROG_FC])[]_m4_defun_epi([$0]) T15,783 AC_CHECK_MEMBER_m4_defun_pro([$0])AC_REQUIRE_SHELL_FN([ac_fn_]_AC_LANG_ABBREV[_check_member], [AS_FUNCTION_DESCRIBE([ac_fn_]_AC_LANG_ABBREV[_check_member], [LINENO AGGR MEMBER VAR INCLUDES], [Tries to find if the field MEMBER exists in type AGGR, after including INCLUDES, setting cache variable VAR accordingly.])], [_$0_BODY])AS_LITERAL_IF([$1], [], [m4_fatal([$0: requires literal arguments])])m4_if(m4_index([$1], [.]), [-1], [m4_fatal([$0: Did not see any dot in '$1'])])AS_VAR_PUSHDEF([ac_Member], [ac_cv_member_$1])ac_fn_[]_AC_LANG_ABBREV[]_check_member "$LINENO" m4_bpatsubst([$1], [^\([^.]*\)\.\(.*\)], ["\1" "\2"]) "ac_Member" "AS_ESCAPE([AC_INCLUDES_DEFAULT([$4])], [""])" AS_VAR_IF([ac_Member], [yes], [$2], [$3]) AS_VAR_POPDEF([ac_Member])dnl []_m4_defun_epi([$0]) T15,484 _AC_LINK_IFELSE_m4_defun_pro([$0])AC_REQUIRE_SHELL_FN([ac_fn_]_AC_LANG_ABBREV[_try_link], [AS_FUNCTION_DESCRIBE([ac_fn_]_AC_LANG_ABBREV[_try_link], [LINENO], [Try to link conftest.$ac_ext, and return whether this succeeded.])], [$0_BODY])m4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])AS_IF([ac_fn_[]_AC_LANG_ABBREV[]_try_link "$LINENO"], [$2], [$3]) rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext[]m4_ifval([$1], [ conftest.$ac_ext])[]dnl []_m4_defun_epi([$0]) T25,27 m4_location(_AC_TYPE_INT)./lib/autoconf/types.m4:730 T15,69 AC_DEFINE_TRACEAS_LITERAL_WORD_IF([$1], [AC_DEFINE_TRACE_LITERAL(_m4_expand([$1]))]) T10,173 AM_MINGW32_m4_defun_pro([$0])m4_warn([obsolete], [The macro 'AM_MINGW32' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [AC_MINGW32], [AC_MINGW32($@)])[]_m4_defun_epi([$0]) T15,193 m4_cr_not_alnum