[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNU Autoconf 2.58] testsuite: 55 failed
From: |
Hsin-Yu Sidney Li |
Subject: |
[GNU Autoconf 2.58] testsuite: 55 failed |
Date: |
Sun, 14 Dec 2003 23:47:33 -0500 |
User-agent: |
Mutt/1.5.4i |
#! /bin/sh
## --------------------- ##
## M4sh Initialization. ##
## --------------------- ##
# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
NULLCMD=:
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
set -o posix
fi
DUALCASE=1; export DUALCASE # for MKS sh
# Support unset when possible.
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
as_unset=unset
else
as_unset=false
fi
# Work around bugs in pre-3.0 UWIN ksh.
$as_unset ENV MAIL MAILPATH
PS1='$ '
PS2='> '
PS4='+ '
# NLS nuisances.
for as_var in \
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
LC_TELEPHONE LC_TIME
do
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
eval $as_var=C; export $as_var
else
$as_unset $as_var
fi
done
# Required to use basename.
if expr a : '\(a\)' >/dev/null 2>&1; then
as_expr=expr
else
as_expr=false
fi
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
as_basename=basename
else
as_basename=false
fi
# Name of the executable.
as_me=`$as_basename "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)$' \| \
. : '\(.\)' 2>/dev/null ||
echo X/"$0" |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
/^X\/\(\/\/\)$/{ s//\1/; q; }
/^X\/\(\/\).*/{ s//\1/; q; }
s/.*/./; q'`
# PATH needs CR, and LINENO needs CR and PATH.
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits
# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
echo "#! /bin/sh" >conf$$.sh
echo "exit 0" >>conf$$.sh
chmod +x conf$$.sh
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
PATH_SEPARATOR=';'
else
PATH_SEPARATOR=:
fi
rm -f conf$$.sh
fi
as_lineno_1=$LINENO
as_lineno_2=$LINENO
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
test "x$as_lineno_1" != "x$as_lineno_2" &&
test "x$as_lineno_3" = "x$as_lineno_2" || {
# Find who we are. Look in the path if we contain no path at all
# relative or not.
case $0 in
*[\\/]* ) as_myself=$0 ;;
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
as_myself=$0
fi
if test ! -f "$as_myself"; then
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
{ (exit 1); exit 1; }; }
fi
case $CONFIG_SHELL in
'')
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for as_base in sh bash ksh sh5; do
case $as_dir in
/*)
if ("$as_dir/$as_base" -c '
as_lineno_1=$LINENO
as_lineno_2=$LINENO
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
test "x$as_lineno_1" != "x$as_lineno_2" &&
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || {
BASH_ENV=; export BASH_ENV; }
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
CONFIG_SHELL=$as_dir/$as_base
export CONFIG_SHELL
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
fi;;
esac
done
done
;;
esac
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
# uniformly replaced by the line number. The first 'sed' inserts a
# line-number line before each line; the second 'sed' does the real
# work. The second script uses 'N' to pair each line-number line
# with the numbered line, and appends trailing '-' during
# substitution so that $LINENO is not a special case at line end.
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
sed '=' <$as_myself |
sed '
N
s,$,-,
: loop
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
t loop
s,-$,,
s,^['$as_cr_digits']*\n,,
' >$as_me.lineno &&
chmod +x $as_me.lineno ||
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX
shell" >&2
{ (exit 1); exit 1; }; }
# Don't try to exec as it changes $[0], causing all sort of problems
# (the dirname of $[0] is not the place where we might find the
# original and so on. Autoconf is especially sensible to this).
. ./$as_me.lineno
# Exit status is that of the last command.
exit
}
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
*c*,-n*) ECHO_N= ECHO_C='
' ECHO_T=' ' ;;
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
esac
if expr a : '\(a\)' >/dev/null 2>&1; then
as_expr=expr
else
as_expr=false
fi
rm -f conf$$ conf$$.exe conf$$.file
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
# We could just check for DJGPP; but this test a) works b) is more generic
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
if test -f conf$$.exe; then
# Don't use ln at all; we don't have any links
as_ln_s='cp -p'
else
as_ln_s='ln -s'
fi
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else
as_ln_s='cp -p'
fi
rm -f conf$$ conf$$.exe conf$$.file
if mkdir -p . 2>/dev/null; then
as_mkdir_p=:
else
test -d ./-p && rmdir ./-p
as_mkdir_p=false
fi
as_executable_p="test -f"
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Sed expression to map a string onto a valid variable name.
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS=" $as_nl"
# CDPATH.
$as_unset CDPATH
SHELL=${CONFIG_SHELL-/bin/sh}
# How were we run?
at_cli_args="$@"
# Load the config file.
for at_file in atconfig atlocal
do
test -r $at_file || continue
. ./$at_file || { echo "$as_me: error: invalid content: $at_file" >&2
{ (exit 1); exit 1; }; }
done
# atconfig delivers paths relative to the directory the test suite is
# in, but the groups themselves are run in testsuite-dir/group-dir.
if test -n "$at_top_srcdir"; then
builddir=../..
for at_dir in srcdir top_srcdir top_builddir
do
at_val=`eval echo '${'at_$at_dir'}'`
eval "$at_dir=\$at_val/../.."
done
fi
# Not all shells have the 'times' builtin; the subshell is needed to make
# sure we discard the 'times: not found' message from the shell.
at_times_p=false
(times) >/dev/null 2>&1 && at_times_p=:
# CLI Arguments to pass to the debugging scripts.
at_debug_args=
# -e sets to true
at_errexit_p=false
# Shall we be verbose?
at_verbose=:
at_quiet=echo
# Shall we keep the debug scripts? Must be `:' when the suite is
# run by a debug script, so that the script doesn't remove itself.
at_debug_p=false
# Display help message?
at_help_p=false
# List test groups?
at_list_p=false
# Test groups to run
at_groups=
# The directory we are in.
at_dir=`pwd`
# The directory the whole suite works in.
# Should be absolutely to let the user `cd' at will.
at_suite_dir=$at_dir/$as_me.dir
# The file containing the suite.
at_suite_log=$at_dir/$as_me.log
# The file containing the location of the last AT_CHECK.
at_check_line_file=$at_suite_dir/at-check-line
# The file containing the exit status of the last command.
at_status_file=$at_suite_dir/at-status
# The files containing the output of the tested commands.
at_stdout=$at_suite_dir/at-stdout
at_stder1=$at_suite_dir/at-stder1
at_stderr=$at_suite_dir/at-stderr
# The file containing dates.
at_times_file=$at_suite_dir/at-times
# List of the tested programs.
at_tested='autom4te autoconf autoheader autoupdate autoreconf ifnames'
# List of the all the test groups.
at_groups_all=' banner-1 1 2 3 4 5 6 7 8 9 10 11 12 banner-2 13 14 15 banner-3
16 17 18 19 20 21 22 23 banner-4 24 25 26 27 28 29 banner-5 30 31 32 33 34 35
36 37 38 39 40 41 banner-6 42 43 44 45 banner-7 46 47 48 banner-8 49 50 51 52
53 54 55 banner-9 56 57 58 59 60 61 62 63 64 65 banner-10 66 67 banner-11 68 69
70 71 72 73 74 banner-12 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
93 94 banner-13 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
banner-14 111 banner-15 112 113 114 115 116 117 118 119 120 121 122 123 124 125
banner-16 126 127 128 129 130 131 132 133 134 135 136 banner-17 137 138 139 140
141 142 143 144 banner-18 145 146 147 148 149 150 151 152 153 154 banner-19 155
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
176 177 178 179 180 181 banner-20 182 banner-21 183'
# As many dots as there are digits in the last test group number.
# Used to normalize the test group numbers so that `ls' lists them in
# numerical order.
at_format='...'
# Description of all the test groups.
at_help_all='1;tools.at:47;Syntax of the shell scripts;;
2;tools.at:92;Syntax of the Perl scripts;;
3;tools.at:118;autom4te cache;;
4;tools.at:155;autoconf --trace: user macros;;
5;tools.at:242;autoconf --trace: builtins;;
6;tools.at:273;autoconf: forbidden tokens, basic;;
7;tools.at:301;autoconf: forbidden tokens, exceptions;;
8;tools.at:347;ifnames;;
9;tools.at:395;autoheader;;
10;tools.at:527;autoupdate;;
11;tools.at:559;autoupdating AC_LINK_FILES;;
12;tools.at:586;autoupdating AC_PREREQ;;
13;m4sugar.at:35;m4_warn;;
14;m4sugar.at:86;m4_require: circular dependencies;;
15;m4sugar.at:125;m4_text_wrap;;
16;m4sh.at:26;LINENO;;
17;m4sh.at:102;AS_DIRNAME;;
18;m4sh.at:163;AS_BASENAME;;
19;m4sh.at:220;AS_MKDIR_P;;
20;m4sh.at:253;Negated classes in globbing;;
21;m4sh.at:283;Functions Support;;
22;m4sh.at:325;Functions and return Support;;
23;m4sh.at:360;AS_HELP_STRING;;
24;base.at:29;AC_REQUIRE: topological sort;;
25;base.at:71;AC_REQUIRE & AC_DEFUN_ONCE: Require, expand;;
26;base.at:115;AC_REQUIRE & AC_DEFUN_ONCE: Expand, require;;
27;base.at:158;AC_REQUIRE & AC_PROVIDE;;
28;base.at:190;AC_CACHE_CHECK;;
29;base.at:209;AC_TRY_COMMAND;;
30;torture.at:30;AC_CONFIG_COMMANDS with empty commands;;
31;torture.at:37;Multiple AC_CONFIG_FILES;;
32;torture.at:84;AC_ARG_VAR;;
33;torture.at:127;AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS;;
34;torture.at:211;Missing templates;;
35;torture.at:242;configure invocation;;
36;torture.at:279;#define header templates;;
37;torture.at:373;Torturing config.status;;
38;torture.at:482;srcdir;;
39;torture.at:522;Signal handling;;
40;torture.at:558;Configuring subdirectories;autoreconf;
41;torture.at:654;Deep Package;autoreconf;
42;compile.at:32;AC_LANG, AC_LANG_PUSH & AC_LANG_POP;;
43;compile.at:78;AC_REQUIRE & AC_LANG;;
44;compile.at:114;AC_RUN_IFELSE;;
45;compile.at:151;AC_TRY_LINK_FUNC;;
46;aclang.at:12;AC_NO_EXECUTABLES;;
47;aclang.at:13;AC_REQUIRE_CPP;;
48;aclang.at:16;AC_LANG_SAVE;autoupdate;
49;c.at:47;Extensions;;
50;c.at:59;Broken/missing compilers;;
51;c.at:88;C keywords;;
52;c.at:101;AC_PROG_CPP requires AC_PROG_CC;;
53;c.at:112;AC_PROG_CPP with warnings;;
54;c.at:142;AC_PROG_CPP without warnings;;
55;c.at:179;AC_PROG_CPP via CC;;
56;acc.at:12;AC_C_BACKSLASH_A;;
57;acc.at:13;AC_C_BIGENDIAN;;
58;acc.at:14;AC_C_CHAR_UNSIGNED;;
59;acc.at:15;AC_C_LONG_DOUBLE;;
60;acc.at:16;AC_C_STRINGIZE;;
61;acc.at:17;AC_PROG_CC_C_O;;
62;acc.at:18;AC_PROG_CPP_WERROR;;
63;acc.at:19;AC_PROG_GCC_TRADITIONAL;;
64;acc.at:22;AC_LANG_C;autoupdate;
65;acc.at:23;AC_LANG_CPLUSPLUS;autoupdate;
66;fortran.at:52;GNU Fortran 77;;
67;fortran.at:77;GNU Fortran;;
68;acfortran.at:12;AC_F77_MAIN;;
69;acfortran.at:13;AC_F77_WRAPPERS;;
70;acfortran.at:14;AC_FC_MAIN;;
71;acfortran.at:15;AC_FC_WRAPPERS;;
72;acfortran.at:16;AC_PROG_F77_C_O;;
73;acfortran.at:17;AC_PROG_FC_C_O;;
74;acfortran.at:20;AC_LANG_FORTRAN77;autoupdate;
75;semantics.at:73;AC_CHECK_LIB;;
76;semantics.at:95;AC_SEARCH_LIBS;;
77;semantics.at:108;AC_CHECK_DECLS;;
78;semantics.at:120;AC_CHECK_FUNCS;;
79;semantics.at:128;AC_REPLACE_FUNCS;;
80;semantics.at:163;AC_CHECK_HEADERS;;
81;semantics.at:170;AC_CHECK_HEADERS_OLD;;
82;semantics.at:199;AC_CHECK_HEADERS_NEW;;
83;semantics.at:239;AC_CHECK_MEMBERS;;
84;semantics.at:256;AC_CHECK_SIZEOF;;
85;semantics.at:274;AC_CHECK_SIZEOF;;
86;semantics.at:290;AC_CHECK_TYPES;;
87;semantics.at:297;AC_CHECK_TYPES: backward compatibility;;
88;semantics.at:342;AC_CHECK_FILES;;
89;semantics.at:376;AC_CHECK_PROG & AC_CHECK_PROGS;;
90;semantics.at:425;AC_C_BIGENDIAN;cross;
91;semantics.at:462;AC_PATH_PROG & AC_PATH_PROGS;;
92;semantics.at:506;AC_PATH_XTRA;;
93;semantics.at:524;AC_SYS_RESTARTABLE_SYSCALLS;;
94;semantics.at:525;AC_FUNC_WAIT3;;
95;acgeneral.at:12;AC_ARG_ENABLE;;
96;acgeneral.at:13;AC_ARG_PROGRAM;;
97;acgeneral.at:14;AC_ARG_WITH;;
98;acgeneral.at:15;AC_CANONICAL_TARGET;;
99;acgeneral.at:16;AC_EGREP_CPP;;
100;acgeneral.at:17;AC_EGREP_HEADER;;
101;acgeneral.at:18;AC_PREFIX_DEFAULT;;
102;acgeneral.at:21;AC_CHECKING;autoupdate;
103;acgeneral.at:22;AC_COMPILE_CHECK;autoupdate;
104;acgeneral.at:23;AC_ENABLE;autoupdate;
105;acgeneral.at:24;AC_TRY_COMPILE;autoupdate;
106;acgeneral.at:25;AC_TRY_CPP;autoupdate;
107;acgeneral.at:26;AC_TRY_LINK;autoupdate;
108;acgeneral.at:27;AC_TRY_RUN;autoupdate;
109;acgeneral.at:28;AC_VALIDATE_CACHED_SYSTEM_TUPLE;autoupdate;
110;acgeneral.at:29;AC_WITH;autoupdate;
111;acstatus.at:14;AC_OUTPUT_COMMANDS;autoupdate;
112;acspecific.at:12;AC_AIX;;
113;acspecific.at:13;AC_ISC_POSIX;;
114;acspecific.at:14;AC_MINIX;;
115;acspecific.at:15;AC_SYS_INTERPRETER;;
116;acspecific.at:16;AC_SYS_LARGEFILE;;
117;acspecific.at:17;AC_SYS_LONG_FILE_NAMES;;
118;acspecific.at:18;AC_SYS_POSIX_TERMIOS;;
119;acspecific.at:21;AC_ARG_ARRAY;autoupdate;
120;acspecific.at:22;AC_DECL_SYS_SIGLIST;autoupdate;
121;acspecific.at:23;AC_DYNIX_SEQ;autoupdate;
122;acspecific.at:24;AC_HAVE_POUNDBANG;autoupdate;
123;acspecific.at:25;AC_IRIX_SUN;autoupdate;
124;acspecific.at:26;AC_SCO_INTL;autoupdate;
125;acspecific.at:27;AC_XENIX_DIR;autoupdate;
126;acprograms.at:12;AC_PROG_AWK;;
127;acprograms.at:13;AC_PROG_FGREP;;
128;acprograms.at:14;AC_PROG_INSTALL;;
129;acprograms.at:15;AC_PROG_LEX;;
130;acprograms.at:16;AC_PROG_LN_S;;
131;acprograms.at:17;AC_PROG_MAKE_SET;;
132;acprograms.at:18;AC_PROG_RANLIB;;
133;acprograms.at:19;AC_PROG_YACC;;
134;acprograms.at:22;AC_CHECK_TOOL_PREFIX;autoupdate;
135;acprograms.at:23;AC_DECL_YYTEXT;autoupdate;
136;acprograms.at:24;AC_RSH;autoupdate;
137;acheaders.at:12;AC_HEADER_MAJOR;;
138;acheaders.at:13;AC_HEADER_STAT;;
139;acheaders.at:14;AC_HEADER_STDBOOL;;
140;acheaders.at:15;AC_HEADER_TIOCGWINSZ;;
141;acheaders.at:18;AC_DIR_HEADER;autoupdate;
142;acheaders.at:19;AC_MEMORY_H;autoupdate;
143;acheaders.at:20;AC_UNISTD_H;autoupdate;
144;acheaders.at:21;AC_USG;autoupdate;
145;actypes.at:12;AC_STRUCT_ST_BLOCKS;;
146;actypes.at:13;AC_STRUCT_TIMEZONE;;
147;actypes.at:14;AC_TYPE_MODE_T;;
148;actypes.at:15;AC_TYPE_OFF_T;;
149;actypes.at:16;AC_TYPE_SIGNAL;;
150;actypes.at:19;AC_INT_16_BITS;autoupdate;
151;actypes.at:20;AC_LONG_64_BITS;autoupdate;
152;actypes.at:21;AC_STRUCT_ST_BLKSIZE;autoupdate;
153;actypes.at:22;AC_STRUCT_ST_RDEV;autoupdate;
154;actypes.at:23;AM_TYPE_PTRDIFF_T;autoupdate;
155;acfunctions.at:12;AC_FUNC_CHOWN;;
156;acfunctions.at:13;AC_FUNC_CLOSEDIR_VOID;;
157;acfunctions.at:14;AC_FUNC_ERROR_AT_LINE;;
158;acfunctions.at:15;AC_FUNC_FNMATCH;;
159;acfunctions.at:16;AC_FUNC_FORK;;
160;acfunctions.at:17;AC_FUNC_FSEEKO;;
161;acfunctions.at:18;AC_FUNC_GETGROUPS;;
162;acfunctions.at:19;AC_FUNC_GETMNTENT;;
163;acfunctions.at:20;AC_FUNC_GETPGRP;;
164;acfunctions.at:21;AC_FUNC_MALLOC;;
165;acfunctions.at:22;AC_FUNC_MBRTOWC;;
166;acfunctions.at:23;AC_FUNC_MEMCMP;;
167;acfunctions.at:24;AC_FUNC_MKTIME;;
168;acfunctions.at:25;AC_FUNC_MMAP;;
169;acfunctions.at:26;AC_FUNC_OBSTACK;;
170;acfunctions.at:27;AC_FUNC_REALLOC;;
171;acfunctions.at:28;AC_FUNC_SELECT_ARGTYPES;;
172;acfunctions.at:29;AC_FUNC_SETPGRP;;
173;acfunctions.at:30;AC_FUNC_SETVBUF_REVERSED;;
174;acfunctions.at:31;AC_FUNC_STAT;;
175;acfunctions.at:32;AC_FUNC_STRCOLL;;
176;acfunctions.at:33;AC_FUNC_STRERROR_R;;
177;acfunctions.at:34;AC_FUNC_STRFTIME;;
178;acfunctions.at:35;AC_FUNC_STRNLEN;;
179;acfunctions.at:36;AC_FUNC_STRTOD;;
180;acfunctions.at:37;AC_FUNC_UTIME_NULL;;
181;acfunctions.at:38;AC_FUNC_VPRINTF;;
182;aclibs.at:14;AC_HAVE_LIBRARY;autoupdate;
183;foreign.at:27;Libtool;;
'
at_keywords=
at_prev=
for at_option
do
# If the previous option needs an argument, assign it.
if test -n "$at_prev"; then
at_option=$at_prev=$at_option
at_prev=
fi
at_optarg=`expr "x$at_option" : 'x[^=]*=\(.*\)'`
# Accept the important Cygnus configure options, so we can diagnose typos.
case $at_option in
--help | -h )
at_help_p=:
;;
--list | -l )
at_list_p=:
;;
--version | -V )
echo "$as_me (GNU Autoconf 2.58)"
exit 0
;;
--clean | -c )
rm -rf $at_suite_dir $at_suite_log
exit 0
;;
--debug | -d )
at_debug_p=:
;;
--errexit | -e )
at_debug_p=:
at_errexit_p=:
;;
--verbose | -v )
at_verbose=echo; at_quiet=:
;;
--trace | -x )
at_traceon='set -vx'; at_traceoff='set +vx'
;;
[0-9] | [0-9][0-9] | [0-9][0-9][0-9] | [0-9][0-9][0-9][0-9])
at_groups="$at_groups$at_option "
;;
# Ranges
[0-9]- | [0-9][0-9]- | [0-9][0-9][0-9]- | [0-9][0-9][0-9][0-9]-)
at_range_start=`echo $at_option |tr -d '-'`
at_range=`echo " $at_groups_all " | \
sed -e 's,^.* '$at_range_start' ,'$at_range_start' ,'`
at_groups="$at_groups$at_range "
;;
-[0-9] | -[0-9][0-9] | -[0-9][0-9][0-9] | -[0-9][0-9][0-9][0-9])
at_range_end=`echo $at_option |tr -d '-'`
at_range=`echo " $at_groups_all " | \
sed -e 's, '$at_range_end' .*$, '$at_range_end','`
at_groups="$at_groups$at_range "
;;
[0-9]-[0-9] | [0-9]-[0-9][0-9] | [0-9]-[0-9][0-9][0-9] | \
[0-9]-[0-9][0-9][0-9][0-9] | [0-9][0-9]-[0-9][0-9] | \
[0-9][0-9]-[0-9][0-9][0-9] | [0-9][0-9]-[0-9][0-9][0-9][0-9] | \
[0-9][0-9][0-9]-[0-9][0-9][0-9] | \
[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9] | \
[0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9] )
at_range_start=`echo $at_option |sed 's,-.*,,'`
at_range_end=`echo $at_option |sed 's,.*-,,'`
# FIXME: Maybe test to make sure start <= end?
at_range=`echo " $at_groups_all " | \
sed -e 's,^.* '$at_range_start' ,'$at_range_start' ,' \
-e 's, '$at_range_end' .*$, '$at_range_end','`
at_groups="$at_groups$at_range "
;;
# Keywords.
--keywords | -k )
at_prev=--keywords
;;
--keywords=* )
at_keywords="$at_keywords,$at_optarg"
;;
*=*)
at_envvar=`expr "x$at_option" : 'x\([^=]*\)='`
# Reject names that are not valid shell variable names.
expr "x$at_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid variable name: $at_envvar" >&2
{ (exit 1); exit 1; }; }
at_value=`echo "$at_optarg" | sed "s/'/'\\\\\\\\''/g"`
eval "$at_envvar='$at_value'"
export $at_envvar
# Propagate to debug scripts.
at_debug_args="$at_debug_args $at_option"
;;
*) echo "$as_me: invalid option: $at_option" >&2
echo "Try \`$0 --help' for more information." >&2
exit 1
;;
esac
done
# Process the --keywords
if test -n "$at_keywords"; then
at_groups_selected=$at_help_all
for at_keyword in `IFS=,; set X $at_keywords; shift; echo address@hidden
do
# It is on purpose that we match the test group titles too.
at_groups_selected=`echo "$at_groups_selected" |
grep -i "^[^;]*;[^;]*.*[; ]$at_keyword[ ;]"`
done
at_groups_selected=`echo "$at_groups_selected" | sed 's/;.*//'`
# Smash the end of lines.
at_groups_selected=`echo $at_groups_selected`
at_groups="$at_groups$at_groups_selected "
fi
# Selected test groups.
test -z "$at_groups" && at_groups=$at_groups_all
# Help message.
if $at_help_p; then
cat <<_ATEOF
Usage: $0 [OPTION]... [VARIABLE=VALUE]... [TESTS]
Run all the tests, or the selected TESTS, and save a detailed log file.
Upon failure, create debugging scripts.
You should not change environment variables unless explicitly passed
as command line arguments. Set \`AUTOTEST_PATH' to select the executables
to exercise. Each relative directory is expanded as build and source
directories relatively to the top level of this distribution. E.g.,
$ $0 AUTOTEST_PATH=bin
possibly amounts into
PATH=/tmp/foo-1.0/bin:/src/foo-1.0/bin:\$PATH
_ATEOF
cat <<_ATEOF
Operation modes:
-h, --help print the help message, then exit
-V, --version print version number, then exit
-c, --clean remove all the files this test suite might create and exit
-l, --list describes all the tests, or the selected TESTS
_ATEOF
cat <<_ATEOF
Execution tuning:
-k, --keywords=KEYWORDS
select the tests matching all the comma separated KEYWORDS
accumulates
-e, --errexit abort as soon as a test fails; implies --debug
-v, --verbose force more detailed output
default for debugging scripts
-d, --debug inhibit clean up and debug script creation
default for debugging scripts
-x, --trace enable tests shell tracing
_ATEOF
cat <<_ATEOF
Report bugs to <address@hidden>.
_ATEOF
exit 0
fi
# List of tests.
if $at_list_p; then
cat <<_ATEOF
GNU Autoconf 2.58 test suite test groups:
NUM: FILENAME:LINE TEST-GROUP-NAME
KEYWORDS
_ATEOF
# " 1 42 45 " => "^(1|42|45);".
at_groups_pattern=`echo "$at_groups" | sed 's/^ *//;s/ *$//;s/ */|/g'`
echo "$at_help_all" |
awk 'BEGIN { FS = ";" }
{ if ($1 !~ /^('"$at_groups_pattern"')$/) next }
{ if ($1) printf " %3d: %-18s %s\n", $1, $2, $3
if ($4) printf " %s\n", $4 } '
exit 0
fi
# Don't take risks: use only absolute directories in PATH.
#
# For stand-alone test suites, AUTOTEST_PATH is relative to `.'.
#
# For embedded test suites, AUTOTEST_PATH is relative to the top level
# of the package. Then expand it into build/src parts, since users
# may create executables in both places.
#
# There might be directories that don't exist, but don't redirect
# builtins' (eg., cd) stderr directly: Ultrix's sh hates that.
AUTOTEST_PATH=`echo $AUTOTEST_PATH | tr ':' $PATH_SEPARATOR`
at_path=
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $AUTOTEST_PATH $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
case $as_dir in
[\\/]* | ?:[\\/]* )
at_path=$at_path$PATH_SEPARATOR$as_dir
;;
* )
if test -z "$at_top_builddir"; then
# Stand-alone test suite.
at_path=$at_path$PATH_SEPARATOR$as_dir
else
# Embedded test suite.
at_path=$at_path$PATH_SEPARATOR$at_top_builddir/$as_dir
at_path=$at_path$PATH_SEPARATOR$at_top_srcdir/$as_dir
fi
;;
esac
done
# Now build and simplify PATH.
PATH=
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $at_path
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
as_dir=`(cd "$as_dir" && pwd) 2>/dev/null`
test -d "$as_dir" || continue
case $PATH in
$as_dir | \
$as_dir$PATH_SEPARATOR* | \
*$PATH_SEPARATOR$as_dir | \
*$PATH_SEPARATOR$as_dir$PATH_SEPARATOR* ) ;;
'') PATH=$as_dir ;;
*) PATH=$PATH$PATH_SEPARATOR$as_dir ;;
esac
done
export PATH
# Setting up the FDs.
# 5 is the log file. Not to be overwritten if `-d'.
$at_debug_p && at_suite_log=/dev/null
exec 5>$at_suite_log
# Banners and logs.
cat <<\_ASBOX
## ----------------------------- ##
## GNU Autoconf 2.58 test suite. ##
## ----------------------------- ##
_ASBOX
{
cat <<\_ASBOX
## ----------------------------- ##
## GNU Autoconf 2.58 test suite. ##
## ----------------------------- ##
_ASBOX
echo
echo "$as_me: command line was:"
echo " $ $0 $at_cli_args"
echo
# Try to find a few ChangeLogs in case it might help determining the
# exact version. Use the relative dir: if the top dir is a symlink,
# find will not follow it (and options to follow the links are not
# portable), which would result in no output here.
if test -n "$at_top_srcdir"; then
cat <<\_ASBOX
## ----------- ##
## ChangeLogs. ##
## ----------- ##
_ASBOX
echo
for at_file in `find "$at_top_srcdir" -name ChangeLog -print`
do
echo "$as_me: $at_file:"
sed 's/^/| /;10q' $at_file
echo
done
{
cat <<_ASUNAME
## --------- ##
## Platform. ##
## --------- ##
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
uname -m = `(uname -m) 2>/dev/null || echo unknown`
uname -r = `(uname -r) 2>/dev/null || echo unknown`
uname -s = `(uname -s) 2>/dev/null || echo unknown`
uname -v = `(uname -v) 2>/dev/null || echo unknown`
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
_ASUNAME
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
echo "PATH: $as_dir"
done
}
echo
fi
# Contents of the config files.
for at_file in atconfig atlocal
do
test -r $at_file || continue
echo "$as_me: $at_file:"
sed 's/^/| /' $at_file
echo
done
cat <<\_ASBOX
## ---------------- ##
## Tested programs. ##
## ---------------- ##
_ASBOX
echo
} >&5
# Report what programs are being tested.
for at_program in : $at_tested
do
test "$at_program" = : && continue
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
test -f $as_dir/$at_program && break
done
if test -f $as_dir/$at_program; then
{
echo "local.at:370: $as_dir/$at_program --version"
$as_dir/$at_program --version
echo
} >&5 2>&1
else
{ { echo "$as_me:$LINENO: error: cannot find $at_program" >&5
echo "$as_me: error: cannot find $at_program" >&2;}
{ (exit 1); exit 1; }; }
fi
done
{
cat <<\_ASBOX
## ------------------ ##
## Running the tests. ##
## ------------------ ##
_ASBOX
} >&5
at_start_date=`date`
at_start_time=`(date +%s) 2>/dev/null`
echo "$as_me: starting at: $at_start_date" >&5
at_xpass_list=
at_xfail_list=
at_pass_list=
at_fail_list=
at_skip_list=
at_group_count=0
# Create the master directory if it doesn't already exist.
test -d $at_suite_dir ||
mkdir $at_suite_dir ||
{ { echo "$as_me:$LINENO: error: cannot create $at_suite_dir" >&5
echo "$as_me: error: cannot create $at_suite_dir" >&2;}
{ (exit 1); exit 1; }; }
# Can we diff with `/dev/null'? DU 5.0 refuses.
if diff /dev/null /dev/null >/dev/null 2>&1; then
at_devnull=/dev/null
else
at_devnull=$at_suite_dir/devnull
cp /dev/null $at_devnull
fi
# Use `diff -u' when possible.
if diff -u $at_devnull $at_devnull >/dev/null 2>&1; then
at_diff='diff -u'
else
at_diff=diff
fi
for at_group in $at_groups
do
# Be sure to come back to the top test directory.
cd $at_suite_dir
case $at_group in
banner-*)
at_group_log=$at_suite_log
;;
*)
# Skip tests we already run (using --keywords makes it easy to get
# duplication).
case " $at_pass_test $at_skip_test $at_fail_test " in
*" $at_group "* ) continue;;
esac
# Normalize the test group number.
at_group_normalized=`expr "00000$at_group" : ".*\($at_format\)"`
# Create a fresh directory for the next test group, and enter.
at_group_dir=$at_suite_dir/$at_group_normalized
at_group_log=$at_group_dir/$as_me.log
rm -rf $at_group_dir
mkdir $at_group_dir ||
{ { echo "$as_me:$LINENO: error: cannot create $at_group_dir" >&5
echo "$as_me: error: cannot create $at_group_dir" >&2;}
{ (exit 1); exit 1; }; }
cd $at_group_dir
;;
esac
echo 0 > $at_status_file
# Clearly separate the test groups when verbose.
test $at_group_count != 0 && $at_verbose
# In verbose mode, append to the log file *and* show on
# the standard output; in quiet mode only write to the log
if test $at_verbose = echo; then
at_tee_pipe="tee -a $at_group_log"
else
at_tee_pipe="cat >> $at_group_log"
fi
case $at_group in
banner-1 ) # Banner 1. tools.at:3
cat <<\_ATEOF
Executables (autoheader, autoupdate...).
_ATEOF
;;
1 ) # 1. tools.at:47: Syntax of the shell scripts
at_setup_line='tools.at:47'
at_desc='Syntax of the shell scripts'
$at_quiet $ECHO_N " 1: Syntax of the shell scripts
$ECHO_C"
at_xfail=no
(
echo "1. tools.at:47: testing ..."
$at_traceon
# A script that never returns. We don't care that it never returns,
# broken /bin/sh loop equally with `false', but it makes it easier to
# test the robustness in a good environment: just remove the `-n'.
cat >endless.sh <<'_ATEOF'
while :
do
:
done
_ATEOF
# A script in charge of testing `/bin/sh -n'.
cat >syntax.sh <<'_ATEOF'
(/bin/sh -n endless.sh) &
sleep 2
if kill $! >/dev/null 2>&1; then
# We managed to kill the child, which means that we probably
# can't trust `/bin/sh -n', hence the test failed.
exit 77
fi
_ATEOF
# If we can't trust sh, just skip.
$at_traceoff
echo "tools.at:71: /bin/sh ./syntax.sh"
echo tools.at:71 >$at_check_line_file
( $at_traceon; /bin/sh ./syntax.sh ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:71: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Specify the path to the tool, some shells don't honor PATH when
# running `sh PROG'.
$at_traceoff
echo "tools.at:76: /bin/sh -n \$abs_top_builddir/bin/autoconf"
echo tools.at:76 >$at_check_line_file
( $at_traceon; /bin/sh -n $abs_top_builddir/bin/autoconf ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:76: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# These are not built, they are in the src tree.
$at_traceoff
echo "tools.at:79: /bin/sh -n \$abs_top_srcdir/config/install-sh"
echo tools.at:79 >$at_check_line_file
( $at_traceon; /bin/sh -n $abs_top_srcdir/config/install-sh ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:79: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "tools.at:80: /bin/sh -n \$abs_top_srcdir/config/mkinstalldirs"
echo tools.at:80 >$at_check_line_file
( $at_traceon; /bin/sh -n $abs_top_srcdir/config/mkinstalldirs ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:80: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "tools.at:81: /bin/sh -n \$abs_top_srcdir/config/missing"
echo tools.at:81 >$at_check_line_file
( $at_traceon; /bin/sh -n $abs_top_srcdir/config/missing ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:81: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
2 ) # 2. tools.at:92: Syntax of the Perl scripts
at_setup_line='tools.at:92'
at_desc='Syntax of the Perl scripts'
$at_quiet $ECHO_N " 2: Syntax of the Perl scripts
$ECHO_C"
at_xfail=no
(
echo "2. tools.at:92: testing ..."
$at_traceon
# Perl says things like:
# | % perl -c ./autom4te
# | ./autom4te syntax OK
# Ignore it, it might change between releases.
$at_traceoff
echo "tools.at:102: autom4te_perllibdir=\$abs_top_srcdir/lib \$PERL -c
\$abs_top_builddir/bin/autoheader"
echo tools.at:102 >$at_check_line_file
( $at_traceon; autom4te_perllibdir=$abs_top_srcdir/lib $PERL -c
$abs_top_builddir/bin/autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:102: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "tools.at:103: autom4te_perllibdir=\$abs_top_srcdir/lib \$PERL -c
\$abs_top_builddir/bin/autom4te"
echo tools.at:103 >$at_check_line_file
( $at_traceon; autom4te_perllibdir=$abs_top_srcdir/lib $PERL -c
$abs_top_builddir/bin/autom4te ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:103: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "tools.at:104: autom4te_perllibdir=\$abs_top_srcdir/lib \$PERL -c
\$abs_top_builddir/bin/autoreconf"
echo tools.at:104 >$at_check_line_file
( $at_traceon; autom4te_perllibdir=$abs_top_srcdir/lib $PERL -c
$abs_top_builddir/bin/autoreconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:104: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "tools.at:105: autom4te_perllibdir=\$abs_top_srcdir/lib \$PERL -c
\$abs_top_builddir/bin/autoscan"
echo tools.at:105 >$at_check_line_file
( $at_traceon; autom4te_perllibdir=$abs_top_srcdir/lib $PERL -c
$abs_top_builddir/bin/autoscan ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:105: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "tools.at:106: autom4te_perllibdir=\$abs_top_srcdir/lib \$PERL -c
\$abs_top_builddir/bin/autoupdate"
echo tools.at:106 >$at_check_line_file
( $at_traceon; autom4te_perllibdir=$abs_top_srcdir/lib $PERL -c
$abs_top_builddir/bin/autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:106: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "tools.at:107: autom4te_perllibdir=\$abs_top_srcdir/lib \$PERL -c
\$abs_top_builddir/bin/ifnames"
echo tools.at:107 >$at_check_line_file
( $at_traceon; autom4te_perllibdir=$abs_top_srcdir/lib $PERL -c
$abs_top_builddir/bin/ifnames ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:107: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
3 ) # 3. tools.at:118: autom4te cache
at_setup_line='tools.at:118'
at_desc='autom4te cache'
$at_quiet $ECHO_N " 3: autom4te cache
$ECHO_C"
at_xfail=no
(
echo "3. tools.at:118: testing ..."
$at_traceon
cat >script.4s <<'_ATEOF'
m4_include([foo])
_ATEOF
# Everything is OK.
touch foo
$at_traceoff
echo "tools.at:126: autom4te --language=m4sugar script.4s -o script "
echo tools.at:126 >$at_check_line_file
( $at_traceon; autom4te --language=m4sugar script.4s -o script ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:126: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# We moved a file: it should fail
mkdir sub
mv foo sub
$at_traceoff
echo "tools.at:134: autom4te --language=m4sugar script.4s -o script "
echo tools.at:134 >$at_check_line_file
( $at_traceon; autom4te --language=m4sugar script.4s -o script ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; tee stderr <$at_stderr
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
1) ;;
*) echo "tools.at:134: exit code was $at_status, expected 1"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "tools.at:134: sed -e 's,^\\([^:]*\\): *\\([0-9][0-9]*\\): *[^:]*m4: ,m4:
\\1: \\2: ,' \\
-e 's,^[^:]*m4: *\\([^:]*\\): *\\([0-9][0-9]*\\): ,m4: \\1:
\\2: ,' \\
-e 's/^autom4te: [^ ]*m4 /autom4te: m4 /' \\
-e 's/^autom4te: [^ ]*m4.exe /autom4te: m4 /' \\
-e 's/ (E[A-Z]*)\$//' \\
stderr"
echo tools.at:134 >$at_check_line_file
( $at_traceon; sed -e 's,^\([^:]*\): *\([0-9][0-9]*\): *[^:]*m4: ,m4: \1: \2:
,' \
-e 's,^[^:]*m4: *\([^:]*\): *\([0-9][0-9]*\): ,m4: \1: \2: ,' \
-e 's/^autom4te: [^ ]*m4 /autom4te: m4 /' \
-e 's/^autom4te: [^ ]*m4.exe /autom4te: m4 /' \
-e 's/ (E[A-Z]*)$//' \
stderr ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "m4: script.4s: 1: Cannot open foo: No such file or
directory
autom4te: m4 failed with exit status: 1
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:134: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# But if we change the main file, then we should no longer complain of
# missing files.
cat >script.4s <<'_ATEOF'
m4_include([sub/foo])
_ATEOF
$at_traceoff
echo "tools.at:141: autom4te --language=m4sugar script.4s -o script "
echo tools.at:141 >$at_check_line_file
( $at_traceon; autom4te --language=m4sugar script.4s -o script ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:141: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
4 ) # 4. tools.at:155: autoconf --trace: user macros
at_setup_line='tools.at:155'
at_desc='autoconf --trace: user macros'
$at_quiet $ECHO_N " 4: autoconf --trace: user macros
$ECHO_C"
at_xfail=no
(
echo "4. tools.at:155: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
m4_define([active], [ACTIVE])
m4_define([TRACE1], [TRACE2(m4_shift($@))])
m4_define([TRACE2], [[$2], $1])
# No arguments.
TRACE1
TRACE2
# With arguments, single line.
TRACE1(foo, @bar, @baz)
TRACE1(foo, TRACE1(bar, baz))
TRACE1(foo, active, baz)
TRACE1(foo, [active], TRACE1(active, [active]))
# With arguments, multiple lines.
TRACE1(foo
bar,
bar
foo)
_ATEOF
# Several --traces.
$at_traceoff
echo "tools.at:198: autoconf -t TRACE1 -t TRACE2"
echo tools.at:198 >$at_check_line_file
( $at_traceon; autoconf -t TRACE1 -t TRACE2 ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "configure.ac:6:TRACE1:
configure.ac:6:TRACE2:
configure.ac:7:TRACE2:
configure.ac:10:TRACE1:foo:@bar:@baz
configure.ac:10:TRACE2:@bar:@baz
configure.ac:11:TRACE1:bar:baz
configure.ac:11:TRACE2:baz
configure.ac:11:TRACE1:foo::baz
configure.ac:11:TRACE2::baz
configure.ac:12:TRACE1:foo:ACTIVE:baz
configure.ac:12:TRACE2:ACTIVE:baz
configure.ac:13:TRACE1:ACTIVE:active
configure.ac:13:TRACE2:active
configure.ac:13:TRACE1:foo:active::ACTIVE
configure.ac:13:TRACE2:active::ACTIVE
configure.ac:19:TRACE1:foo bar:bar foo
configure.ac:19:TRACE2:bar foo
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:198: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Several line requests.
$at_traceoff
echo "tools.at:221: autoconf -t TRACE1:'
[\$1], [\$2], [\$3].'"
echo tools.at:221 >$at_check_line_file
( $at_traceon; autoconf -t TRACE1:'
[$1], [$2], [$3].' ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "
[], [], [].
[foo], address@hidden, address@hidden
[bar], [baz], [].
[foo], [], [baz].
[foo], [ACTIVE], [baz].
[ACTIVE], [active], [].
[foo], [active], [].
[foo
bar], [bar
foo], [].
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:221: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# address@hidden
$at_traceoff
echo "tools.at:235: autoconf -t TRACE2:'\${)===(}@'"
echo tools.at:235 >$at_check_line_file
( $at_traceon; autoconf -t TRACE2:'${)===(}@' ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "[]
[]
address@hidden)===(address@hidden
[baz]
[])===([baz]
[ACTIVE])===([baz]
[active]
[active])===([])===([ACTIVE]
[bar
foo]
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:235: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
5 ) # 5. tools.at:242: autoconf --trace: builtins
at_setup_line='tools.at:242'
at_desc='autoconf --trace: builtins'
$at_quiet $ECHO_N " 5: autoconf --trace: builtins
$ECHO_C"
at_xfail=no
(
echo "5. tools.at:242: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
define([active], [ACTIVE])
_ATEOF
$at_traceoff
echo "tools.at:251: autoconf -t define | sed -n '\$p'"
echo tools.at:251 >$at_check_line_file
( $at_traceon; autoconf -t define | sed -n '$p' ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "configure.ac:1:define:active:ACTIVE
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:251: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# FIXME: Without `$1' the following test dies. Groumphf, once again to
# dive into obscure feature interaction...
# Note that using `-i' means we need the *.m4 files, not the *.m4f files,
# hence we need srcdir, not builddir.
$at_traceoff
echo "tools.at:260: autoconf -t define:'\$1' -i| sed -n '\$p'"
echo tools.at:260 >$at_check_line_file
( $at_traceon; autoconf -t define:'$1' -i| sed -n '$p' ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "active
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:260: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
6 ) # 6. tools.at:273: autoconf: forbidden tokens, basic
at_setup_line='tools.at:273'
at_desc='autoconf: forbidden tokens, basic'
$at_quiet $ECHO_N " 6: autoconf: forbidden tokens, basic
$ECHO_C"
at_xfail=no
(
echo "6. tools.at:273: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
AS_INIT
m4_foo
_m4_bar
AS_FOO
_AS_BAR
[dnl]
_ATEOF
cat >experr <<'_ATEOF'
configure.ac:2: error: possibly undefined macro: m4_foo
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:3: error: possibly undefined macro: _m4_bar
configure.ac:4: error: possibly undefined macro: AS_FOO
configure.ac:5: error: possibly undefined macro: _AS_BAR
configure.ac:6: error: possibly undefined macro: dnl
_ATEOF
$at_traceoff
echo "tools.at:294: autoconf "
echo tools.at:294 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff experr $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
1) ;;
*) echo "tools.at:294: exit code was $at_status, expected 1"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
7 ) # 7. tools.at:301: autoconf: forbidden tokens, exceptions
at_setup_line='tools.at:301'
at_desc='autoconf: forbidden tokens, exceptions'
$at_quiet $ECHO_N " 7: autoconf: forbidden tokens, exceptions
$ECHO_C"
at_xfail=no
(
echo "7. tools.at:301: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
AS_INIT
# This is allowed in spite of the name.
# It is on purpose that we check the case where there are several
# tokens on the same line.
m4_pattern_allow([^AS_ALLOWED$])
NOT_AS_ALLOWED AS_ALLOWED AS_ALLOWED_NOT
# Test forbidding.
m4_pattern_forbid([^FORBIDDEN$])
NOT_FORBIDDEN FORBIDDEN FORBIDDEN_NOT
# Test Autoconf's patterns.
AS_THIS_IS_INVALID and _AS_THIS_IS_INVALID_TOO
BUT_AZ_THIS_IS_NOT ALTHOUGH_AS_THIS_IS
# This is legal, although there is `AS_DEFINE' in there.
BAS_DEFINE
# AS_THIS_IS_A_COMMENT so just shut up.
It would be very bad if Autoconf forgot to expand [AS_]INIT!
_ATEOF
cat >experr <<'_ATEOF'
configure.ac:1: error: possibly undefined macro: AS_INIT
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:7: error: possibly undefined macro: AS_ALLOWED_NOT
configure.ac:10: error: possibly undefined macro: FORBIDDEN
configure.ac:14: error: possibly undefined macro: AS_THIS_IS_INVALID
configure.ac:14: error: possibly undefined macro: _AS_THIS_IS_INVALID_TOO
_ATEOF
$at_traceoff
echo "tools.at:335: autoconf "
echo tools.at:335 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff experr $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
1) ;;
*) echo "tools.at:335: exit code was $at_status, expected 1"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
8 ) # 8. tools.at:347: ifnames
at_setup_line='tools.at:347'
at_desc='ifnames'
$at_quiet $ECHO_N " 8: ifnames
$ECHO_C"
at_xfail=no
(
echo "8. tools.at:347: testing ..."
$at_traceon
cat >iftest1.c <<'_ATEOF'
#ifdef DEF1
#ifndef DEF2
#if !defined(DEF3) && defined(DEF4) /* but not defined(DEF5) */
# if SPACES
# if TABS
/* #if C_COMMENTS */
// #if CXX_COMMENTS
#if LINE1 = \
LINE2
#if (VAL1*VAL2)==VAL3+VAL4 /* Not VAL5 !!! */
_ATEOF
cat >iftest2.c <<'_ATEOF'
#ifdef IFTEST2
#if VAL1
_ATEOF
$at_traceoff
echo "tools.at:381: ifnames iftest1.c iftest2.c"
echo tools.at:381 >$at_check_line_file
( $at_traceon; ifnames iftest1.c iftest2.c ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "DEF1 iftest1.c
DEF2 iftest1.c
DEF3 iftest1.c
DEF4 iftest1.c
IFTEST2 iftest2.c
LINE1 iftest1.c
LINE2 iftest1.c
SPACES iftest1.c
TABS iftest1.c
VAL1 iftest1.c iftest2.c
VAL2 iftest1.c
VAL3 iftest1.c
VAL4 iftest1.c
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:381: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
9 ) # 9. tools.at:395: autoheader
at_setup_line='tools.at:395'
at_desc='autoheader'
$at_quiet $ECHO_N " 9: autoheader
$ECHO_C"
at_xfail=no
(
echo "9. tools.at:395: testing ..."
$at_traceon
cat >acconfig.h <<'_ATEOF'
/* Define this to whatever you want. */
#undef this
_ATEOF
# 1. Check that `acconfig.h' is still honored.
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_HEADERS(config.h:config.hin)
AC_DEFINE(this, "whatever you want.")
_ATEOF
$at_traceoff
echo "tools.at:410: autoheader "
echo tools.at:410 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:410: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "tools.at:430: cat config.hin"
echo tools.at:430 >$at_check_line_file
( $at_traceon; cat config.hin ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "/* config.hin. Generated from configure.ac by
autoheader. */
/* Define this to whatever you want. */
#undef this
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:430: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# 2. Check that missing templates are a fatal error.
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_HEADERS(config.h:config.hin)
AC_DEFINE(that, "whatever you want.")
_ATEOF
# The test suite goes too fast for the cache time stamps...
# Pass --force.
$at_traceoff
echo "tools.at:442: autoheader --force"
echo tools.at:442 >$at_check_line_file
( $at_traceon; autoheader --force ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
1) ;;
*) echo "tools.at:442: exit code was $at_status, expected 1"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# 3. Check TOP and BOTTOM.
cat >acconfig.h <<'_ATEOF'
/* Top from acconfig.h. */
@TOP@
/* Middle from acconfig.h. */
@BOTTOM@
/* Bottom from acconfig.h. */
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_HEADERS(config.h:config.hin)
AH_TOP([Top1 from configure.ac.])
AH_TOP([Top2 from configure.ac.])
AH_TOP([The Cat in a address@hidden)
AH_VERBATIM([Middle], [Middle from configure.ac.])
AH_VERBATIM([Mouse], [The Mouse in a address@hidden)
AH_BOTTOM([Bottom1 from configure.ac.])
AH_BOTTOM([Bottom2 from configure.ac.])
AH_BOTTOM([The Dog in a address@hidden)
AC_DEFINE([ANT], address@hidden, [The Ant in a address@hidden)
_ATEOF
# Yes, that's right: the `middle' part of `acconfig.h' is still before
# the AH_TOP part. But so what, you're not supposed to use the two
# together.
# Ignore STDERR which is the longuish complaint against autoheader junk
# files.
$at_traceoff
echo "tools.at:475: autoheader --force"
echo tools.at:475 >$at_check_line_file
( $at_traceon; autoheader --force ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:475: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "tools.at:515: cat config.hin"
echo tools.at:515 >$at_check_line_file
( $at_traceon; cat config.hin ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "/* config.hin. Generated from configure.ac by
autoheader. */
/* Top from acconfig.h. */
/* Middle from acconfig.h. */
Top1 from configure.ac.
Top2 from configure.ac.
The Cat in a address@hidden
/* The Ant in a address@hidden */
#undef ANT
Middle from configure.ac.
The Mouse in a address@hidden
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
Bottom1 from configure.ac.
Bottom2 from configure.ac.
The Dog in a address@hidden
/* Bottom from acconfig.h. */
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:515: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
10 ) # 10. tools.at:527: autoupdate
at_setup_line='tools.at:527'
at_desc='autoupdate'
$at_quiet $ECHO_N " 10: autoupdate
$ECHO_C"
at_xfail=no
(
echo "10. tools.at:527: testing configure.ac~..."
$at_traceon
cat >configure.ac <<'_ATEOF'
AC_INIT(Test, 1.0)
AC_CANONICAL_SYSTEM
# The doc says 27 is a valid fubar.
fubar=27
AC_OUTPUT(Makefile, echo $fubar, fubar=$fubar)
_ATEOF
cat >expout <<'_ATEOF'
AC_INIT([Test],[1.0])
AC_CANONICAL_TARGET([])
# The doc says 27 is a valid fubar.
fubar=27
AC_CONFIG_FILES([Makefile])
AC_CONFIG_COMMANDS([default],[[echo $fubar]],[[fubar=$fubar]])
AC_OUTPUT
_ATEOF
# Checking `autoupdate'.
$at_traceoff
echo "tools.at:548: autoupdate "
echo tools.at:548 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:548: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "tools.at:549: cat configure.ac"
echo tools.at:549 >$at_check_line_file
( $at_traceon; cat configure.ac ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:549: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Checking that `autoupdate' is idempotent
$at_traceoff
echo "tools.at:551: autoupdate "
echo tools.at:551 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:551: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "tools.at:552: cat configure.ac"
echo tools.at:552 >$at_check_line_file
( $at_traceon; cat configure.ac ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:552: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
11 ) # 11. tools.at:559: autoupdating AC_LINK_FILES
at_setup_line='tools.at:559'
at_desc='autoupdating AC_LINK_FILES'
$at_quiet $ECHO_N " 11: autoupdating AC_LINK_FILES
$ECHO_C"
at_xfail=no
(
echo "11. tools.at:559: testing src1 src2 configure.ac~..."
$at_traceon
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_LINK_FILES(dst1 dst2, src1 src2)
AC_OUTPUT
_ATEOF
cat >dst1 <<'_ATEOF'
dst1
_ATEOF
cat >dst2 <<'_ATEOF'
dst2
_ATEOF
# Checking `autoupdate'.
$at_traceoff
echo "tools.at:573: autoupdate "
echo tools.at:573 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:573: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "tools.at:574: autoconf "
echo tools.at:574 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:574: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "tools.at:575: top_srcdir=\$abs_top_srcdir ./configure "
echo tools.at:575 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:575: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/tools.at:575: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "tools.at:577: cat src1"
echo tools.at:577 >$at_check_line_file
( $at_traceon; cat src1 ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "dst1
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:577: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "tools.at:579: cat src2"
echo tools.at:579 >$at_check_line_file
( $at_traceon; cat src2 ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "dst2
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:579: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
12 ) # 12. tools.at:586: autoupdating AC_PREREQ
at_setup_line='tools.at:586'
at_desc='autoupdating AC_PREREQ'
$at_quiet $ECHO_N " 12: autoupdating AC_PREREQ
$ECHO_C"
at_xfail=no
(
echo "12. tools.at:586: testing ..."
$at_traceon
# Produce `AC_PREREQ(<AUTOUPDATE VERSION>)'.
$at_traceoff
echo "tools.at:589: autoupdate --version | sed 's/.*) //;q'"
echo tools.at:589 >$at_check_line_file
( $at_traceon; autoupdate --version | sed 's/.*) //;q' ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; tee stdout <$at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:589: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
autoupdate_version=`cat stdout`
echo "AC_PREREQ($autoupdate_version)" >expout
$at_traceoff
echo "tools.at:594: echo \"AC_PREREQ(1.0)\" | autoupdate -"
echo tools.at:594 >$at_check_line_file
( $at_traceon; echo "AC_PREREQ(1.0)" | autoupdate - ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:594: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "tools.at:597: echo \"AC_PREREQ(\$autoupdate_version)\" | autoupdate -"
echo tools.at:597 >$at_check_line_file
( $at_traceon; echo "AC_PREREQ($autoupdate_version)" | autoupdate - )
>$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "tools.at:597: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "tools.at:600: echo \"AC_PREREQ(999.99)\" | autoupdate -"
echo tools.at:600 >$at_check_line_file
( $at_traceon; echo "AC_PREREQ(999.99)" | autoupdate - ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
63) ;;
*) echo "tools.at:600: exit code was $at_status, expected 63"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-2 ) # Banner 2. m4sugar.at:3
cat <<\_ATEOF
M4sugar.
_ATEOF
;;
13 ) # 13. m4sugar.at:35: m4_warn
at_setup_line='m4sugar.at:35'
at_desc='m4_warn'
$at_quiet $ECHO_N " 13: [m4_warn] $ECHO_C"
at_xfail=no
(
echo "13. m4sugar.at:35: testing ..."
$at_traceon
# m4_text_wrap is used to display the help strings. Also, check that
# commas are not swallowed. This can easily happen because of
# m4-listification.
# FIXME: For the time being we use -f to make sure we do issue the
# warnings. But maybe autom4te should handle that by itself?
cat >script.4s <<'_ATEOF'
m4_init
m4_defun([cross_warning],
[m4_warn([cross], [cross])])
m4_divert_push([0])m4_wrap([m4_divert_pop([0])[]])dnl
m4_warn([obsolete], [obsolete])dnl
cross_warning[]dnl
m4_warn([syntax], [syntax])dnl
_ATEOF
$at_traceoff
echo "m4sugar.at:57: autom4te --language=m4sugar script.4s -o script -o-"
echo m4sugar.at:57 >$at_check_line_file
( $at_traceon; autom4te --language=m4sugar script.4s -o script -o- )
>$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; tee stderr <$at_stderr
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sugar.at:57: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sugar.at:57: sed -e 's,^\\([^:]*\\): *\\([0-9][0-9]*\\): *[^:]*m4: ,m4:
\\1: \\2: ,' \\
-e 's,^[^:]*m4: *\\([^:]*\\): *\\([0-9][0-9]*\\): ,m4: \\1:
\\2: ,' \\
-e 's/^autom4te: [^ ]*m4 /autom4te: m4 /' \\
-e 's/^autom4te: [^ ]*m4.exe /autom4te: m4 /' \\
-e 's/ (E[A-Z]*)\$//' \\
stderr"
echo m4sugar.at:57 >$at_check_line_file
( $at_traceon; sed -e 's,^\([^:]*\): *\([0-9][0-9]*\): *[^:]*m4: ,m4: \1: \2:
,' \
-e 's,^[^:]*m4: *\([^:]*\): *\([0-9][0-9]*\): ,m4: \1: \2: ,' \
-e 's/^autom4te: [^ ]*m4 /autom4te: m4 /' \
-e 's/^autom4te: [^ ]*m4.exe /autom4te: m4 /' \
-e 's/ (E[A-Z]*)$//' \
stderr ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "script.4s:8: warning: syntax
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sugar.at:57: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sugar.at:65: autom4te --language=m4sugar script.4s -o script -o- -Wall
-f"
echo m4sugar.at:65 >$at_check_line_file
( $at_traceon; autom4te --language=m4sugar script.4s -o script -o- -Wall -f )
>$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; tee stderr <$at_stderr
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sugar.at:65: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sugar.at:65: sed -e 's,^\\([^:]*\\): *\\([0-9][0-9]*\\): *[^:]*m4: ,m4:
\\1: \\2: ,' \\
-e 's,^[^:]*m4: *\\([^:]*\\): *\\([0-9][0-9]*\\): ,m4: \\1:
\\2: ,' \\
-e 's/^autom4te: [^ ]*m4 /autom4te: m4 /' \\
-e 's/^autom4te: [^ ]*m4.exe /autom4te: m4 /' \\
-e 's/ (E[A-Z]*)\$//' \\
stderr"
echo m4sugar.at:65 >$at_check_line_file
( $at_traceon; sed -e 's,^\([^:]*\): *\([0-9][0-9]*\): *[^:]*m4: ,m4: \1: \2:
,' \
-e 's,^[^:]*m4: *\([^:]*\): *\([0-9][0-9]*\): ,m4: \1: \2: ,' \
-e 's/^autom4te: [^ ]*m4 /autom4te: m4 /' \
-e 's/^autom4te: [^ ]*m4.exe /autom4te: m4 /' \
-e 's/ (E[A-Z]*)$//' \
stderr ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "script.4s:6: warning: obsolete
script.4s:7: warning: cross
script.4s:3: cross_warning is expanded from...
script.4s:7: the top level
script.4s:8: warning: syntax
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sugar.at:65: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sugar.at:71: autom4te --language=m4sugar script.4s -o script -o-
-Wnone,cross -f"
echo m4sugar.at:71 >$at_check_line_file
( $at_traceon; autom4te --language=m4sugar script.4s -o script -o- -Wnone,cross
-f ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; tee stderr <$at_stderr
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sugar.at:71: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sugar.at:71: sed -e 's,^\\([^:]*\\): *\\([0-9][0-9]*\\): *[^:]*m4: ,m4:
\\1: \\2: ,' \\
-e 's,^[^:]*m4: *\\([^:]*\\): *\\([0-9][0-9]*\\): ,m4: \\1:
\\2: ,' \\
-e 's/^autom4te: [^ ]*m4 /autom4te: m4 /' \\
-e 's/^autom4te: [^ ]*m4.exe /autom4te: m4 /' \\
-e 's/ (E[A-Z]*)\$//' \\
stderr"
echo m4sugar.at:71 >$at_check_line_file
( $at_traceon; sed -e 's,^\([^:]*\): *\([0-9][0-9]*\): *[^:]*m4: ,m4: \1: \2:
,' \
-e 's,^[^:]*m4: *\([^:]*\): *\([0-9][0-9]*\): ,m4: \1: \2: ,' \
-e 's/^autom4te: [^ ]*m4 /autom4te: m4 /' \
-e 's/^autom4te: [^ ]*m4.exe /autom4te: m4 /' \
-e 's/ (E[A-Z]*)$//' \
stderr ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "script.4s:7: warning: cross
script.4s:3: cross_warning is expanded from...
script.4s:7: the top level
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sugar.at:71: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sugar.at:77: autom4te --language=m4sugar script.4s -o script -o-
-Wnone,cross,error -f"
echo m4sugar.at:77 >$at_check_line_file
( $at_traceon; autom4te --language=m4sugar script.4s -o script -o-
-Wnone,cross,error -f ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; tee stderr <$at_stderr
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
1) ;;
*) echo "m4sugar.at:77: exit code was $at_status, expected 1"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sugar.at:77: sed -e 's,^\\([^:]*\\): *\\([0-9][0-9]*\\): *[^:]*m4: ,m4:
\\1: \\2: ,' \\
-e 's,^[^:]*m4: *\\([^:]*\\): *\\([0-9][0-9]*\\): ,m4: \\1:
\\2: ,' \\
-e 's/^autom4te: [^ ]*m4 /autom4te: m4 /' \\
-e 's/^autom4te: [^ ]*m4.exe /autom4te: m4 /' \\
-e 's/ (E[A-Z]*)\$//' \\
stderr"
echo m4sugar.at:77 >$at_check_line_file
( $at_traceon; sed -e 's,^\([^:]*\): *\([0-9][0-9]*\): *[^:]*m4: ,m4: \1: \2:
,' \
-e 's,^[^:]*m4: *\([^:]*\): *\([0-9][0-9]*\): ,m4: \1: \2: ,' \
-e 's/^autom4te: [^ ]*m4 /autom4te: m4 /' \
-e 's/^autom4te: [^ ]*m4.exe /autom4te: m4 /' \
-e 's/ (E[A-Z]*)$//' \
stderr ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "script.4s:7: warning: cross
script.4s:3: cross_warning is expanded from...
script.4s:7: the top level
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sugar.at:77: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
14 ) # 14. m4sugar.at:86: m4_require: circular dependencies
at_setup_line='m4sugar.at:86'
at_desc='m4_require: circular dependencies'
$at_quiet $ECHO_N " 14: [m4_require: circular dependencies] $ECHO_C"
at_xfail=no
(
echo "14. m4sugar.at:86: testing ..."
$at_traceon
# m4_text_wrap is used to display the help strings. Also, check that
# commas are not swallowed. This can easily happen because of
# m4-listification.
cat >script.4s <<'_ATEOF'
m4_defun([foo],
[m4_require([bar])])
m4_defun([bar],
[m4_require([foo])])
m4_defun([baz],
[m4_require([foo])])
m4_init
m4_divert_push([0])m4_wrap([m4_divert_pop([0])[]])dnl
baz
_ATEOF
$at_traceoff
echo "m4sugar.at:117: autom4te --language=m4sugar script.4s -o script "
echo m4sugar.at:117 >$at_check_line_file
( $at_traceon; autom4te --language=m4sugar script.4s -o script ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; tee stderr <$at_stderr
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
1) ;;
*) echo "m4sugar.at:117: exit code was $at_status, expected 1"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sugar.at:117: sed -e 's,^\\([^:]*\\): *\\([0-9][0-9]*\\): *[^:]*m4:
,m4: \\1: \\2: ,' \\
-e 's,^[^:]*m4: *\\([^:]*\\): *\\([0-9][0-9]*\\): ,m4: \\1:
\\2: ,' \\
-e 's/^autom4te: [^ ]*m4 /autom4te: m4 /' \\
-e 's/^autom4te: [^ ]*m4.exe /autom4te: m4 /' \\
-e 's/ (E[A-Z]*)\$//' \\
stderr"
echo m4sugar.at:117 >$at_check_line_file
( $at_traceon; sed -e 's,^\([^:]*\): *\([0-9][0-9]*\): *[^:]*m4: ,m4: \1: \2:
,' \
-e 's,^[^:]*m4: *\([^:]*\): *\([0-9][0-9]*\): ,m4: \1: \2: ,' \
-e 's/^autom4te: [^ ]*m4 /autom4te: m4 /' \
-e 's/^autom4te: [^ ]*m4.exe /autom4te: m4 /' \
-e 's/ (E[A-Z]*)$//' \
stderr ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "script.4s:12: error: m4_require: circular dependency
of foo
script.4s:12: foo is required by...
script.4s:5: bar is expanded from...
script.4s:12: bar is required by...
script.4s:2: foo is expanded from...
script.4s:12: foo is required by...
script.4s:8: baz is expanded from...
script.4s:12: the top level
autom4te: m4 failed with exit status: 1
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sugar.at:117: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
15 ) # 15. m4sugar.at:125: m4_text_wrap
at_setup_line='m4sugar.at:125'
at_desc='m4_text_wrap'
$at_quiet $ECHO_N " 15: [m4_text_wrap] $ECHO_C"
at_xfail=no
(
echo "15. m4sugar.at:125: testing ..."
$at_traceon
# m4_text_wrap is used to display the help strings. Also, check that
# commas are not swallowed. This can easily happen because of
# m4-listification.
cat >script.4s <<'_ATEOF'
m4_divert_push([0])m4_wrap([m4_divert_pop([0])])dnl
m4_text_wrap([Short string */], [ ], [/* ], 20)
m4_text_wrap([Much longer string */], [ ], [/* ], 20)
m4_text_wrap([Short doc.], [ ], [ --short ], 30)
m4_text_wrap([Short doc.], [ ], [ --too-wide], 30)
m4_text_wrap([Super long documentation.], [ ], [ --too-wide], 30)
m4_text_wrap([First, second , third, [,quoted]])
_ATEOF
cat >expout <<'_ATEOF'
/* Short string */
/* Much longer
string */
--short Short doc.
--too-wide
Short doc.
--too-wide
Super long
documentation.
First, second , third, [,quoted]
_ATEOF
$at_traceoff
echo "m4sugar.at:164: autom4te --language=m4sugar script.4s -o script -o-"
echo m4sugar.at:164 >$at_check_line_file
( $at_traceon; autom4te --language=m4sugar script.4s -o script -o- )
>$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sugar.at:164: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-3 ) # Banner 3. m4sh.at:3
cat <<\_ATEOF
M4sh.
_ATEOF
;;
16 ) # 16. m4sh.at:26: LINENO
at_setup_line='m4sh.at:26'
at_desc='LINENO'
$at_quiet $ECHO_N " 16: LINENO
$ECHO_C"
at_xfail=no
(
echo "16. m4sh.at:26: testing ..."
$at_traceon
# We cannot unset LINENO with Zsh, yet this test case relies on
# unsetting LINENO to compare its result when (i) LINENO is supported
# and when (ii) it is not.
# So just skip if the shell is ZSH.
$at_traceoff
echo "m4sh.at:32: test -n \"\${ZSH_VERSION+set}\" && exit 77"
echo m4sh.at:32 >$at_check_line_file
( $at_traceon; test -n "${ZSH_VERSION+set}" && exit 77 ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
*);;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# AT_DATA_LINENO(FILENAME,
# UNSET-LINENO = true | false, COUNTER, COUNTER-RE)
# ----------------------------------------------------------------
# Produce the FILENAME M4sh script which uses the COUNTER LINENO or
# _oline_, which we can recognized via COUNTER-RE. Unset LINENO is
# UNSET-LINENO.
#
# Use COUNTER, COUNTER-RE = [__LINENO__], [LINENO]
# or = [__OLINE__], [_oline__]
#
# instead of the obvious $LINENO and 3162, because they would
# be replaced in the test suite itself, even before creating these
# scripts. For the same reason, grep for LINENO and _oline__ (sic).
#
# UNSET-LINENO is a shell condition to make sure the scripts have the
# same number of lines in the output, so that their outputs be identical.
# AT_DATA_LINENO
# `_oline_', once processed and ran, produces our reference.
# We check that we find ourselves by looking at a string which is
# available only in the original script: `_oline_'.
cat >reference.tas <<'_ATEOF'
AS_INIT
if false; then
AS_UNSET([LINENO])
fi
_AS_PREPARE
echo "Line: __OLINE__"
grep 'Line: .*_oline__' $[0] >/dev/null ||
AS_ERROR([cannot find original script])
exit 0
_ATEOF
# If occurrences of $LINENO or 3185 were wanted, create them.
sed 's/__LINENO__/$''LINENO/g;s/__OLINE__/__''oline__/g' reference.tas
>reference.as
$at_traceoff
echo "m4sh.at:70: autom4te -l m4sh reference.as -o reference"
echo m4sh.at:70 >$at_check_line_file
( $at_traceon; autom4te -l m4sh reference.as -o reference ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:70: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sh.at:71: ./reference"
echo m4sh.at:71 >$at_check_line_file
( $at_traceon; ./reference ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; tee stdout <$at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:71: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# The reference:
mv stdout expout
# Now using a maybe-functioning LINENO, with different call conventions.
# Be sure to be out of the PATH.
$at_traceoff
echo "m4sh.at:78: mkdir test || exit 77"
echo m4sh.at:78 >$at_check_line_file
( $at_traceon; mkdir test || exit 77 ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:78: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
cat >test/test-1.tas <<'_ATEOF'
AS_INIT
if false; then
AS_UNSET([LINENO])
fi
_AS_PREPARE
echo "Line: __LINENO__"
grep 'Line: .*LINENO' $[0] >/dev/null ||
AS_ERROR([cannot find original script])
exit 0
_ATEOF
# If occurrences of $LINENO or 3282 were wanted, create them.
sed 's/__LINENO__/$''LINENO/g;s/__OLINE__/__''oline__/g' test/test-1.tas
>test/test-1.as
$at_traceoff
echo "m4sh.at:80: autom4te -l m4sh test/test-1.as -o test/test-1"
echo m4sh.at:80 >$at_check_line_file
( $at_traceon; autom4te -l m4sh test/test-1.as -o test/test-1 ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:80: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sh.at:81: ./test/test-1"
echo m4sh.at:81 >$at_check_line_file
( $at_traceon; ./test/test-1 ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:81: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sh.at:83: (PATH=test\$PATH_SEPARATOR\$PATH; export PATH; exec test-1)"
echo m4sh.at:83 >$at_check_line_file
( $at_traceon; (PATH=test$PATH_SEPARATOR$PATH; export PATH; exec test-1) )
>$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:83: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sh.at:84: sh ./test/test-1"
echo m4sh.at:84 >$at_check_line_file
( $at_traceon; sh ./test/test-1 ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:84: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Now using a disabled LINENO, with different call conventions.
cat >test/test-2.tas <<'_ATEOF'
AS_INIT
if true; then
AS_UNSET([LINENO])
fi
_AS_PREPARE
echo "Line: __LINENO__"
grep 'Line: .*LINENO' $[0] >/dev/null ||
AS_ERROR([cannot find original script])
exit 0
_ATEOF
# If occurrences of $LINENO or 3399 were wanted, create them.
sed 's/__LINENO__/$''LINENO/g;s/__OLINE__/__''oline__/g' test/test-2.tas
>test/test-2.as
$at_traceoff
echo "m4sh.at:87: autom4te -l m4sh test/test-2.as -o test/test-2"
echo m4sh.at:87 >$at_check_line_file
( $at_traceon; autom4te -l m4sh test/test-2.as -o test/test-2 ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:87: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sh.at:88: ./test/test-2"
echo m4sh.at:88 >$at_check_line_file
( $at_traceon; ./test/test-2 ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:88: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sh.at:90: (PATH=test\$PATH_SEPARATOR\$PATH; export PATH; exec test-2)"
echo m4sh.at:90 >$at_check_line_file
( $at_traceon; (PATH=test$PATH_SEPARATOR$PATH; export PATH; exec test-2) )
>$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:90: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sh.at:91: sh ./test/test-2"
echo m4sh.at:91 >$at_check_line_file
( $at_traceon; sh ./test/test-2 ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:91: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
17 ) # 17. m4sh.at:102: AS_DIRNAME
at_setup_line='m4sh.at:102'
at_desc='AS_DIRNAME'
$at_quiet $ECHO_N " 17: [AS_DIRNAME] $ECHO_C"
at_xfail=no
(
echo "17. m4sh.at:102: testing ..."
$at_traceon
cat >script.as <<'_ATEOF'
AS_INIT
# The EXPR variant is allowed to fail if `expr' was considered as too
# weak for us, in which case `as_expr=false'.
m4_define([DIRNAME_TEST],
[dir=`AS_DIRNAME([$1])`
test "$dir" = "$2" || (test -n "$3" && test "$dir" = "$3") ||
echo "dirname($1) = $dir instead of $2" >&2
if test "$as_expr" != false; then
dir=`AS_DIRNAME_EXPR([$1])`
test "$dir" = "$2" || (test -n "$3" && test "$dir" = "$3") ||
echo "dirname_expr($1) = $dir instead of $2" >&2
fi
dir=`AS_DIRNAME_SED([$1])`
test "$dir" = "$2" ||
test "$dir" = "$2" || (test -n "$3" && test "$dir" = "$3") ||
echo "dirname_sed($1) = $dir instead of $2" >&2])
DIRNAME_TEST([/], [/])
DIRNAME_TEST([//], [//], [/])
DIRNAME_TEST([///], [/])
DIRNAME_TEST([//1], [//], [/])
DIRNAME_TEST([/1], [/])
DIRNAME_TEST([./1], [.])
DIRNAME_TEST([../../2], [../..])
DIRNAME_TEST([//1/], [//], [/])
DIRNAME_TEST([/1/], [/])
DIRNAME_TEST([./1/], [.])
DIRNAME_TEST([../../2], [../..])
DIRNAME_TEST([//1/3], [//1])
DIRNAME_TEST([/1/3], [/1])
DIRNAME_TEST([./1/3], [./1])
DIRNAME_TEST([../../2/3], [../../2])
DIRNAME_TEST([//1/3///], [//1])
DIRNAME_TEST([/1/3///], [/1])
DIRNAME_TEST([./1/3///], [./1])
DIRNAME_TEST([../../2/3///], [../../2])
DIRNAME_TEST([//1//3/], [//1])
DIRNAME_TEST([/1//3/], [/1])
DIRNAME_TEST([./1//3/], [./1])
DIRNAME_TEST([../../2//3/], [../../2])
AS_EXIT(0)
_ATEOF
$at_traceoff
echo "m4sh.at:151: autom4te --language=m4sh script.as -o script "
echo m4sh.at:151 >$at_check_line_file
( $at_traceon; autom4te --language=m4sh script.as -o script ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:151: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sh.at:152: ./script"
echo m4sh.at:152 >$at_check_line_file
( $at_traceon; ./script ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:152: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
18 ) # 18. m4sh.at:163: AS_BASENAME
at_setup_line='m4sh.at:163'
at_desc='AS_BASENAME'
$at_quiet $ECHO_N " 18: [AS_BASENAME] $ECHO_C"
at_xfail=no
(
echo "18. m4sh.at:163: testing ..."
$at_traceon
cat >script.as <<'_ATEOF'
AS_INIT
m4_define([BASENAME_TEST],
[base=`AS_BASENAME([$1])`
test "$base" = "$2" ||
echo "basename($1) = $base instead of $2" >&2
base=`AS_BASENAME_SED([$1])`
test "$base" = "$2" ||
echo "basename_sed($1) = $base instead of $2" >&2])
BASENAME_TEST([//1], [1])
BASENAME_TEST([/1], [1])
BASENAME_TEST([./1], [1])
BASENAME_TEST([../../2], [2])
BASENAME_TEST([//1/], [1])
BASENAME_TEST([/1/], [1])
BASENAME_TEST([./1/], [1])
BASENAME_TEST([../../2], [2])
BASENAME_TEST([//1/3], [3])
BASENAME_TEST([/1/3], [3])
BASENAME_TEST([./1/3], [3])
BASENAME_TEST([../../2/3], [3])
BASENAME_TEST([//1/3///], [3])
BASENAME_TEST([/1/3///], [3])
BASENAME_TEST([./1/3///], [3])
BASENAME_TEST([../../2/3///], [3])
BASENAME_TEST([//1//3/], [3])
BASENAME_TEST([/1//3/], [3])
BASENAME_TEST([./1//3/], [3])
BASENAME_TEST([a.c], [a.c])
BASENAME_TEST([a.c/], [a.c])
BASENAME_TEST([/a.c/], [a.c])
BASENAME_TEST([/1/a.c], [a.c])
BASENAME_TEST([/1/a.c/], [a.c])
BASENAME_TEST([/1/../a.c], [a.c])
BASENAME_TEST([/1/../a.c/], [a.c])
BASENAME_TEST([./1/a.c], [a.c])
BASENAME_TEST([./1/a.c/], [a.c])
AS_EXIT(0)
_ATEOF
$at_traceoff
echo "m4sh.at:208: autom4te --language=m4sh script.as -o script "
echo m4sh.at:208 >$at_check_line_file
( $at_traceon; autom4te --language=m4sh script.as -o script ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:208: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sh.at:209: ./script"
echo m4sh.at:209 >$at_check_line_file
( $at_traceon; ./script ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:209: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
19 ) # 19. m4sh.at:220: AS_MKDIR_P
at_setup_line='m4sh.at:220'
at_desc='AS_MKDIR_P'
$at_quiet $ECHO_N " 19: [AS_MKDIR_P] $ECHO_C"
at_xfail=no
(
echo "19. m4sh.at:220: testing ..."
$at_traceon
cat >script.as <<'_ATEOF'
AS_INIT
pwd=`pwd`
set -e
# Absolute
AS_MKDIR_P(["$pwd/1/2/3/4/5/6"])
test -d "$pwd/1/2/3/4/5/6" ||
AS_ERROR([$pwd/1/2/3/4/5/6 has not been properly created])
# Relative
AS_MKDIR_P(["a/b/c/d/e/f"])
test -d a/b/c/d/e/f ||
AS_ERROR([a/b/c/d/e/f has not been properly created])
AS_EXIT(0)
_ATEOF
$at_traceoff
echo "m4sh.at:238: autom4te --language=m4sh script.as -o script "
echo m4sh.at:238 >$at_check_line_file
( $at_traceon; autom4te --language=m4sh script.as -o script ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:238: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sh.at:239: ./script"
echo m4sh.at:239 >$at_check_line_file
( $at_traceon; ./script ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:239: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
20 ) # 20. m4sh.at:253: Negated classes in globbing
at_setup_line='m4sh.at:253'
at_desc='Negated classes in globbing'
$at_quiet $ECHO_N " 20: Negated classes in globbing
$ECHO_C"
at_xfail=no
(
echo "20. m4sh.at:253: testing ..."
$at_traceon
cat >script.as <<'_ATEOF'
AS_INIT
case 'with!two!bangs' in
*[[!a-z]]*) ;;
*) AS_ERROR([[`*[!a-z]*' didn't match `with!two!bangs']]);;
esac
case without in
*[[!a-z]]*) AS_ERROR([[`*[!a-z]*' matched `without']]);;
esac
_ATEOF
$at_traceoff
echo "m4sh.at:268: autom4te --language=m4sh script.as -o script "
echo m4sh.at:268 >$at_check_line_file
( $at_traceon; autom4te --language=m4sh script.as -o script ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:268: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sh.at:269: ./script"
echo m4sh.at:269 >$at_check_line_file
( $at_traceon; ./script ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:269: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
21 ) # 21. m4sh.at:283: Functions Support
at_setup_line='m4sh.at:283'
at_desc='Functions Support'
$at_quiet $ECHO_N " 21: Functions Support
$ECHO_C"
at_xfail=no
(
echo "21. m4sh.at:283: testing ..."
$at_traceon
cat >script.as <<'_ATEOF'
AS_INIT
_AS_LINENO_PREPARE
func_return () {
(exit $1)
}
func_success () {
func_return 0
}
func_failure () {
func_return 1
}
if func_success; then
if func_failure; then
AS_ERROR([func_failure passed])
fi
else
AS_ERROR([func_success failed])
fi
_ATEOF
$at_traceoff
echo "m4sh.at:310: autom4te --language=m4sh script.as -o script "
echo m4sh.at:310 >$at_check_line_file
( $at_traceon; autom4te --language=m4sh script.as -o script ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:310: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sh.at:311: ./script"
echo m4sh.at:311 >$at_check_line_file
( $at_traceon; ./script ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:311: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
22 ) # 22. m4sh.at:325: Functions and return Support
at_setup_line='m4sh.at:325'
at_desc='Functions and return Support'
$at_quiet $ECHO_N " 22: Functions and return Support
$ECHO_C"
at_xfail=no
(
echo "22. m4sh.at:325: testing ..."
$at_traceon
cat >script.as <<'_ATEOF'
AS_INIT
_AS_LINENO_PREPARE
func_success () {
return 0
}
func_failure () {
return 1
}
if func_success; then
if func_failure; then
AS_ERROR([func_failure passed])
fi
else
AS_ERROR([func_success failed])
fi
_ATEOF
$at_traceoff
echo "m4sh.at:348: autom4te --language=m4sh script.as -o script "
echo m4sh.at:348 >$at_check_line_file
( $at_traceon; autom4te --language=m4sh script.as -o script ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:348: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sh.at:349: ./script"
echo m4sh.at:349 >$at_check_line_file
( $at_traceon; ./script ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:349: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
23 ) # 23. m4sh.at:360: AS_HELP_STRING
at_setup_line='m4sh.at:360'
at_desc='AS_HELP_STRING'
$at_quiet $ECHO_N " 23: [AS_HELP_STRING] $ECHO_C"
at_xfail=no
(
echo "23. m4sh.at:360: testing ..."
$at_traceon
cat >script.as <<'_ATEOF'
AS_INIT
_AS_LINENO_PREPARE
echo "AS_HELP_STRING([--an-option],[some text])"
echo "AS_HELP_STRING([--another-much-longer-option],
[some other text which should wrap at our default of 80 characters.])"
_ATEOF
$at_traceoff
echo "m4sh.at:371: autom4te --language=m4sh script.as -o script "
echo m4sh.at:371 >$at_check_line_file
( $at_traceon; autom4te --language=m4sh script.as -o script ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:371: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "m4sh.at:377: ./script"
echo m4sh.at:377 >$at_check_line_file
( $at_traceon; ./script ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo " --an-option some text
--another-much-longer-option
some other text which should wrap at our default of
80 characters.
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "m4sh.at:377: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-4 ) # Banner 4. base.at:3
cat <<\_ATEOF
Autoconf base layer.
_ATEOF
;;
24 ) # 24. base.at:29: AC_REQUIRE: topological sort
at_setup_line='base.at:29'
at_desc='AC_REQUIRE: topological sort'
$at_quiet $ECHO_N " 24: AC_REQUIRE: topological sort
$ECHO_C"
at_xfail=no
(
echo "24. base.at:29: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
define([REQUIRE_AND_CHECK],
[AC_REQUIRE([$1])
test -z "$m4_translit([$1], [A-Z], [a-z])" && AS_EXIT(1)])
AC_DEFUN([TEST1],
[REQUIRE_AND_CHECK([TEST2a])
REQUIRE_AND_CHECK([TEST2b])
test1=set])
AC_DEFUN([TEST2a],
[test2a=set])
AC_DEFUN([TEST2b],
[REQUIRE_AND_CHECK([TEST3])
test2b=set])
AC_DEFUN([TEST3],
[REQUIRE_AND_CHECK([TEST2a])
test3=set])
AS_INIT
TEST1
test -z "$test1" &&
AC_MSG_ERROR([\$test1 is empty])
AS_EXIT(0)
_ATEOF
$at_traceoff
echo "base.at:60: autoconf "
echo base.at:60 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "base.at:60: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "base.at:61: top_srcdir=\$abs_top_srcdir ./configure "
echo base.at:61 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "base.at:61: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/base.at:61: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
25 ) # 25. base.at:71: AC_REQUIRE & AC_DEFUN_ONCE: Require, expand
at_setup_line='base.at:71'
at_desc='AC_REQUIRE & AC_DEFUN_ONCE: Require, expand'
$at_quiet $ECHO_N " 25: AC_REQUIRE & AC_DEFUN_ONCE: Require, expand
$ECHO_C"
at_xfail=no
(
echo "25. base.at:71: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
AC_DEFUN([TEST],
[AC_REQUIRE([MULTI_TEST])
AC_REQUIRE([SINGLE_TEST])])
AC_DEFUN([MULTI_TEST],
[multi_test=".$multi_test"])
AC_DEFUN_ONCE([SINGLE_TEST],
[single_test=".$single_test"])
AS_INIT
TEST
TEST
MULTI_TEST
MULTI_TEST
SINGLE_TEST
SINGLE_TEST
case $multi_test:$single_test in
...:. ) AS_EXIT(0);;
...:* ) AC_MSG_ERROR([DEFUN_ONCE is broken]);;
*:. ) AC_MSG_ERROR([DEFUN is broken (Wow, congrats!)]);;
esac
_ATEOF
$at_traceoff
echo "base.at:103: autoconf "
echo base.at:103 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo >>$at_stderr; echo "configure.ac:17: warning: SINGLE_TEST invoked multiple
times
configure.ac:18: warning: SINGLE_TEST invoked multiple times
" | $at_diff - $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "base.at:103: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "base.at:105: top_srcdir=\$abs_top_srcdir ./configure "
echo base.at:105 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "base.at:105: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/base.at:105: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
26 ) # 26. base.at:115: AC_REQUIRE & AC_DEFUN_ONCE: Expand, require
at_setup_line='base.at:115'
at_desc='AC_REQUIRE & AC_DEFUN_ONCE: Expand, require'
$at_quiet $ECHO_N " 26: AC_REQUIRE & AC_DEFUN_ONCE: Expand, require
$ECHO_C"
at_xfail=no
(
echo "26. base.at:115: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
AC_DEFUN([TEST],
[AC_REQUIRE([MULTI_TEST])
AC_REQUIRE([SINGLE_TEST])])
AC_DEFUN([MULTI_TEST],
[multi_test=".$multi_test"])
AC_DEFUN_ONCE([SINGLE_TEST],
[single_test=".$single_test"])
AS_INIT
MULTI_TEST
MULTI_TEST
SINGLE_TEST
SINGLE_TEST
TEST
TEST
case $multi_test:$single_test in
..:. ) AS_EXIT(0);;
..:* ) AC_MSG_ERROR([DEFUN_ONCE is broken]);;
*:. ) AC_MSG_ERROR([DEFUN is broken (Wow, congrats!)]);;
* ) AC_MSG_ERROR([received `$multi_test:$single_test']);;
esac
_ATEOF
$at_traceoff
echo "base.at:147: autoconf "
echo base.at:147 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo >>$at_stderr; echo "configure.ac:16: warning: SINGLE_TEST invoked multiple
times
" | $at_diff - $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "base.at:147: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "base.at:148: top_srcdir=\$abs_top_srcdir ./configure "
echo base.at:148 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "base.at:148: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/base.at:148: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
27 ) # 27. base.at:158: AC_REQUIRE & AC_PROVIDE
at_setup_line='base.at:158'
at_desc='AC_REQUIRE & AC_PROVIDE'
$at_quiet $ECHO_N " 27: AC_REQUIRE & AC_PROVIDE
$ECHO_C"
at_xfail=no
(
echo "27. base.at:158: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
AC_DEFUN([TEST],
[AC_REQUIRE([INNER_TEST])])
AC_DEFUN([INNER_TEST],
[inner_test=".$inner_test"])
AS_INIT
AC_PROVIDE([INNER_TEST])
TEST
case $inner_test in
"" ) AS_EXIT(0);;
* ) AC_MSG_ERROR([received `$inner_test']);;
esac
_ATEOF
$at_traceoff
echo "base.at:178: autoconf "
echo base.at:178 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "base.at:178: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "base.at:179: top_srcdir=\$abs_top_srcdir ./configure "
echo base.at:179 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "base.at:179: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/base.at:179: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
28 ) # 28. base.at:190: AC_CACHE_CHECK
at_setup_line='base.at:190'
at_desc='AC_CACHE_CHECK'
$at_quiet $ECHO_N " 28: AC_CACHE_CHECK
$ECHO_C"
at_xfail=no
(
echo "28. base.at:190: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CACHE_CHECK([for nothing],
[ac_nothing],
[ac_nothing=found])
_ATEOF
$at_traceoff
echo "base.at:199: autoconf "
echo base.at:199 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "base.at:199: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "base.at:200: top_srcdir=\$abs_top_srcdir ./configure -q"
echo base.at:200 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure -q ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "base.at:200: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/base.at:200: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
29 ) # 29. base.at:209: AC_TRY_COMMAND
at_setup_line='base.at:209'
at_desc='AC_TRY_COMMAND'
$at_quiet $ECHO_N " 29: AC_TRY_COMMAND
$ECHO_C"
at_xfail=no
(
echo "29. base.at:209: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
AC_INIT
if AC_TRY_COMMAND([(echo "The Cat in the Hat";
echo "The Hat in the Cat" >&2)
| grep \^The\ Cat\ in\ the\ Hat\$ >/dev/null]); then
:
else
AC_MSG_ERROR([Didn't see the Cat in the Hat!])
fi
if AC_TRY_COMMAND([(echo "The Cat in the Hat";
echo "The Hat in the Cat" >&2)
| grep \^The\ Hat\ in\ the\ Cat\$ >/dev/null]); then
AC_MSG_ERROR([Saw the Hat in the Cat!])
fi
_ATEOF
$at_traceoff
echo "base.at:229: autoconf "
echo base.at:229 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "base.at:229: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "base.at:230: top_srcdir=\$abs_top_srcdir ./configure -q"
echo base.at:230 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure -q ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "base.at:230: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/base.at:230: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-5 ) # Banner 5. torture.at:21
cat <<\_ATEOF
Testing config.status.
_ATEOF
;;
30 ) # 30. torture.at:30: AC_CONFIG_COMMANDS with empty commands
at_setup_line='torture.at:30'
at_desc='AC_CONFIG_COMMANDS with empty commands'
$at_quiet $ECHO_N " 30: AC_CONFIG_COMMANDS with empty commands
$ECHO_C"
at_xfail=no
(
echo "30. torture.at:30: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_CONFIG_COMMANDS([foo], [], [:])
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "torture.at:30: autoconf -W obsolete"
echo torture.at:30 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:30: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:30: autoheader "
echo torture.at:30 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:30: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:30: top_srcdir=\$abs_top_srcdir ./configure "
echo torture.at:30 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:30: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:30: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "torture.at:30: cat state-env.after"
echo torture.at:30 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:30: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "torture.at:30: cat state-ls.after"
echo torture.at:30 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:30: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
31 ) # 31. torture.at:37: Multiple AC_CONFIG_FILES
at_setup_line='torture.at:37'
at_desc='Multiple AC_CONFIG_FILES'
$at_quiet $ECHO_N " 31: Multiple AC_CONFIG_FILES
$ECHO_C"
at_xfail=no
(
echo "31. torture.at:37: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_CONFIG_FILES([foo foo])
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "torture.at:40: autoconf "
echo torture.at:40 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
1) ;;
*) echo "torture.at:40: exit code was $at_status, expected 1"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
32 ) # 32. torture.at:84: AC_ARG_VAR
at_setup_line='torture.at:84'
at_desc='AC_ARG_VAR'
$at_quiet $ECHO_N " 32: AC_ARG_VAR
$ECHO_C"
at_xfail=no
(
echo "32. torture.at:84: testing ..."
$at_traceon
# We don't want to run this test if this shell doesn't support
# `unset'.
$at_traceoff
echo "torture.at:94:
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
exit 0
else
exit 77
fi
"
echo torture.at:94 >$at_check_line_file
( $at_traceon;
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
exit 0
else
exit 77
fi
) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:94: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_ARG_VAR([precious], [this variable costs a lot])
echo "precious:$precious"
AC_OUTPUT(file)
_ATEOF
cat >file.in <<'_ATEOF'
address@hidden@'
_ATEOF
$at_traceoff
echo "torture.at:107: autoconf "
echo torture.at:107 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:107: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Set a precious variable
rm -f config.cache
# Initial value.
unset precious
$at_traceoff
echo "torture.at:110: top_srcdir=\$abs_top_srcdir ./configure --config-cache -q"
echo torture.at:110 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure --config-cache -q )
>$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:110: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:110: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:110: cat file"
echo torture.at:110 >$at_check_line_file
( $at_traceon; cat file ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "\`'
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:110: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Testing --recheck: 1. have the environment `forget' about PRECIOUS.
unset precious
# 2. Rerun config.status to recreate `file'.
$at_traceoff
echo "torture.at:110: ./config.status --recheck"
echo torture.at:110 >$at_check_line_file
( $at_traceon; ./config.status --recheck ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:110: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:110: ./config.status"
echo torture.at:110 >$at_check_line_file
( $at_traceon; ./config.status ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:110: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# 3. Check that file contains the old value of PRECIOUS.
$at_traceoff
echo "torture.at:110: cat file"
echo torture.at:110 >$at_check_line_file
( $at_traceon; cat file ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "\`'
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:110: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Second value: we should issue an error here: the value
# has changed!
precious='apple of my eye'; export precious
$at_traceoff
echo "torture.at:110: top_srcdir=\$abs_top_srcdir ./configure --config-cache"
echo torture.at:110 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure --config-cache )
>$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
1) ;;
*) echo "torture.at:110: exit code was $at_status, expected 1"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:110: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Unset a precious variable
rm -f config.cache
# Initial value.
precious='apple of my eye'; export precious
$at_traceoff
echo "torture.at:113: top_srcdir=\$abs_top_srcdir ./configure --config-cache -q"
echo torture.at:113 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure --config-cache -q )
>$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:113: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:113: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:113: cat file"
echo torture.at:113 >$at_check_line_file
( $at_traceon; cat file ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "\`apple of my eye'
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:113: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Testing --recheck: 1. have the environment `forget' about PRECIOUS.
unset precious
# 2. Rerun config.status to recreate `file'.
$at_traceoff
echo "torture.at:113: ./config.status --recheck"
echo torture.at:113 >$at_check_line_file
( $at_traceon; ./config.status --recheck ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:113: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:113: ./config.status"
echo torture.at:113 >$at_check_line_file
( $at_traceon; ./config.status ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:113: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# 3. Check that file contains the old value of PRECIOUS.
$at_traceoff
echo "torture.at:113: cat file"
echo torture.at:113 >$at_check_line_file
( $at_traceon; cat file ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "\`apple of my eye'
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:113: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Second value: we should issue an error here: the value
# has changed!
unset precious
$at_traceoff
echo "torture.at:113: top_srcdir=\$abs_top_srcdir ./configure --config-cache"
echo torture.at:113 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure --config-cache )
>$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
1) ;;
*) echo "torture.at:113: exit code was $at_status, expected 1"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:113: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Change a precious variable
rm -f config.cache
# Initial value.
precious='apple of my eye'; export precious
$at_traceoff
echo "torture.at:116: top_srcdir=\$abs_top_srcdir ./configure --config-cache -q"
echo torture.at:116 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure --config-cache -q )
>$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:116: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:116: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:116: cat file"
echo torture.at:116 >$at_check_line_file
( $at_traceon; cat file ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "\`apple of my eye'
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:116: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Testing --recheck: 1. have the environment `forget' about PRECIOUS.
unset precious
# 2. Rerun config.status to recreate `file'.
$at_traceoff
echo "torture.at:116: ./config.status --recheck"
echo torture.at:116 >$at_check_line_file
( $at_traceon; ./config.status --recheck ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:116: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:116: ./config.status"
echo torture.at:116 >$at_check_line_file
( $at_traceon; ./config.status ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:116: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# 3. Check that file contains the old value of PRECIOUS.
$at_traceoff
echo "torture.at:116: cat file"
echo torture.at:116 >$at_check_line_file
( $at_traceon; cat file ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "\`apple of my eye'
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:116: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Second value: we should issue an error here: the value
# has changed!
precious='orange of my eye'; export precious
$at_traceoff
echo "torture.at:116: top_srcdir=\$abs_top_srcdir ./configure --config-cache"
echo torture.at:116 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure --config-cache )
>$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
1) ;;
*) echo "torture.at:116: exit code was $at_status, expected 1"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:116: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
33 ) # 33. torture.at:127: AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS
at_setup_line='torture.at:127'
at_desc='AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS'
$at_quiet $ECHO_N " 33: AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS
$ECHO_C"
at_xfail=no
(
echo "33. torture.at:127: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
AC_INIT
rm -rf header var-header file var-file link var-link command var-command
echo 'OK' >input
# Be sure to also stress the associated INIT-CMDS.
case $what_to_test in
header)
AC_CONFIG_HEADERS(header:input);;
var-header)
AC_CONFIG_HEADERS(var-header:$header_in, [], [header_in=input]);;
file)
AC_CONFIG_FILES(file:input);;
var-file)
AC_CONFIG_FILES(var-file:$file_in, [], [file_in=input]);;
command)
AC_CONFIG_COMMANDS(command:input,
[cp input command]);;
var-command)
AC_CONFIG_COMMANDS(var-command:$command_in,
[cp $command_in var-command], [command_in=input]);;
link)
AC_CONFIG_LINKS(link:input);;
var-link)
AC_CONFIG_LINKS(var-link:$link_in, [], [link_in=input]);;
esac
AC_OUTPUT
_ATEOF
$at_traceoff
echo "torture.at:161: autoconf "
echo torture.at:161 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:161: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# AT_CHECK_CONFIG_CREATION(THING = (header | link | file | command))
# ------------------------------------------------------------------
# Check that THING and var-THING (which uses variables in AC_CONFIG_THING)
# are properly created, with the right content.
# Use `grep OK' instead of a simple `cat' to avoid banners such as in
# AC_CONFIG_HEADERS.
# AT_CHECK_CONFIG_CREATION
# Create a file
$at_traceoff
echo "torture.at:191: top_srcdir=\$abs_top_srcdir ./configure what_to_test=file"
echo torture.at:191 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure what_to_test=file )
>$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:191: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:191: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:191: ls header var-header file var-file command var-command
link var-link 2>/dev/null"
echo torture.at:191 >$at_check_line_file
( $at_traceon; ls header var-header file var-file command var-command link
var-link 2>/dev/null ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "file
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
*);;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:191: grep OK file"
echo torture.at:191 >$at_check_line_file
( $at_traceon; grep OK file ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "OK
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:191: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:191: top_srcdir=\$abs_top_srcdir ./configure
what_to_test=var-file --no-create"
echo torture.at:191 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure what_to_test=var-file
--no-create ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:191: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:191: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# config.status might be stupidly expecting data on stdin, if it's
# really broken...
$at_traceoff
echo "torture.at:191: ./config.status var-file </dev/null"
echo torture.at:191 >$at_check_line_file
( $at_traceon; ./config.status var-file </dev/null ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:191: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:191: ls header var-header file var-file command var-command
link var-link 2>/dev/null"
echo torture.at:191 >$at_check_line_file
( $at_traceon; ls header var-header file var-file command var-command link
var-link 2>/dev/null ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "var-file
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
*);;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:191: grep OK var-file"
echo torture.at:191 >$at_check_line_file
( $at_traceon; grep OK var-file ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "OK
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:191: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Create a header
$at_traceoff
echo "torture.at:194: top_srcdir=\$abs_top_srcdir ./configure
what_to_test=header"
echo torture.at:194 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure what_to_test=header )
>$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:194: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:194: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:194: ls header var-header file var-file command var-command
link var-link 2>/dev/null"
echo torture.at:194 >$at_check_line_file
( $at_traceon; ls header var-header file var-file command var-command link
var-link 2>/dev/null ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "header
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
*);;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:194: grep OK header"
echo torture.at:194 >$at_check_line_file
( $at_traceon; grep OK header ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "OK
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:194: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:194: top_srcdir=\$abs_top_srcdir ./configure
what_to_test=var-header --no-create"
echo torture.at:194 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure what_to_test=var-header
--no-create ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:194: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:194: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# config.status might be stupidly expecting data on stdin, if it's
# really broken...
$at_traceoff
echo "torture.at:194: ./config.status var-header </dev/null"
echo torture.at:194 >$at_check_line_file
( $at_traceon; ./config.status var-header </dev/null ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:194: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:194: ls header var-header file var-file command var-command
link var-link 2>/dev/null"
echo torture.at:194 >$at_check_line_file
( $at_traceon; ls header var-header file var-file command var-command link
var-link 2>/dev/null ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "var-header
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
*);;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:194: grep OK var-header"
echo torture.at:194 >$at_check_line_file
( $at_traceon; grep OK var-header ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "OK
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:194: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Execute a command
$at_traceoff
echo "torture.at:197: top_srcdir=\$abs_top_srcdir ./configure
what_to_test=command"
echo torture.at:197 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure what_to_test=command )
>$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:197: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:197: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:197: ls header var-header file var-file command var-command
link var-link 2>/dev/null"
echo torture.at:197 >$at_check_line_file
( $at_traceon; ls header var-header file var-file command var-command link
var-link 2>/dev/null ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "command
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
*);;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:197: grep OK command"
echo torture.at:197 >$at_check_line_file
( $at_traceon; grep OK command ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "OK
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:197: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:197: top_srcdir=\$abs_top_srcdir ./configure
what_to_test=var-command --no-create"
echo torture.at:197 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure what_to_test=var-command
--no-create ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:197: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:197: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# config.status might be stupidly expecting data on stdin, if it's
# really broken...
$at_traceoff
echo "torture.at:197: ./config.status var-command </dev/null"
echo torture.at:197 >$at_check_line_file
( $at_traceon; ./config.status var-command </dev/null ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:197: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:197: ls header var-header file var-file command var-command
link var-link 2>/dev/null"
echo torture.at:197 >$at_check_line_file
( $at_traceon; ls header var-header file var-file command var-command link
var-link 2>/dev/null ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "var-command
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
*);;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:197: grep OK var-command"
echo torture.at:197 >$at_check_line_file
( $at_traceon; grep OK var-command ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "OK
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:197: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Create a link
$at_traceoff
echo "torture.at:200: top_srcdir=\$abs_top_srcdir ./configure what_to_test=link"
echo torture.at:200 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure what_to_test=link )
>$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:200: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:200: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:200: ls header var-header file var-file command var-command
link var-link 2>/dev/null"
echo torture.at:200 >$at_check_line_file
( $at_traceon; ls header var-header file var-file command var-command link
var-link 2>/dev/null ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "link
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
*);;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:200: grep OK link"
echo torture.at:200 >$at_check_line_file
( $at_traceon; grep OK link ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "OK
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:200: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:200: top_srcdir=\$abs_top_srcdir ./configure
what_to_test=var-link --no-create"
echo torture.at:200 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure what_to_test=var-link
--no-create ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:200: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:200: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# config.status might be stupidly expecting data on stdin, if it's
# really broken...
$at_traceoff
echo "torture.at:200: ./config.status var-link </dev/null"
echo torture.at:200 >$at_check_line_file
( $at_traceon; ./config.status var-link </dev/null ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:200: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:200: ls header var-header file var-file command var-command
link var-link 2>/dev/null"
echo torture.at:200 >$at_check_line_file
( $at_traceon; ls header var-header file var-file command var-command link
var-link 2>/dev/null ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "var-link
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
*);;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:200: grep OK var-link"
echo torture.at:200 >$at_check_line_file
( $at_traceon; grep OK var-link ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "OK
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:200: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
34 ) # 34. torture.at:211: Missing templates
at_setup_line='torture.at:211'
at_desc='Missing templates'
$at_quiet $ECHO_N " 34: Missing templates
$ECHO_C"
at_xfail=no
(
echo "34. torture.at:211: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_FILES([nonexistent])
AC_OUTPUT
_ATEOF
$at_traceoff
echo "torture.at:219: autoconf "
echo torture.at:219 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:219: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:222: top_srcdir=\$abs_top_srcdir ./configure "
echo torture.at:222 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo >>$at_stderr; echo "config.status: error: cannot find input file:
nonexistent.in
" | $at_diff - $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
1) ;;
*) echo "torture.at:222: exit code was $at_status, expected 1"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:222: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Make sure that the output file doesn't exist
$at_traceoff
echo "torture.at:224: test -f nonexistent"
echo torture.at:224 >$at_check_line_file
( $at_traceon; test -f nonexistent ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
1) ;;
*) echo "torture.at:224: exit code was $at_status, expected 1"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
35 ) # 35. torture.at:242: configure invocation
at_setup_line='torture.at:242'
at_desc='configure invocation'
$at_quiet $ECHO_N " 35: configure invocation
$ECHO_C"
at_xfail=no
(
echo "35. torture.at:242: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
AC_INIT
echo "result=$one$enable_two$with_three"
AC_OUTPUT
_ATEOF
$at_traceoff
echo "torture.at:250: autoconf "
echo torture.at:250 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:250: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:255: top_srcdir=\$abs_top_srcdir ./configure one=one
--enable-two=two --with-three=three |
sed -n -e 's/^result=//p'"
echo torture.at:255 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure one=one --enable-two=two
--with-three=three |
sed -n -e 's/^result=//p' ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "onetwothree
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:255: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:255: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:258: ./config.status --recheck | sed -n 's/^result=//p'"
echo torture.at:258 >$at_check_line_file
( $at_traceon; ./config.status --recheck | sed -n 's/^result=//p' ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "onetwothree
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:258: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:263: top_srcdir=\$abs_top_srcdir ./configure one=\"\\\"'\$ \"
--enable-two=\"\\\" ' \$\" --with-three=\" \\\"'\$\"|
sed -n -e 's/^result=//p'"
echo torture.at:263 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure one="\"'$ "
--enable-two="\" ' $" --with-three=" \"'$"|
sed -n -e 's/^result=//p' ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "\"'\$ \" ' \$ \"'\$
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:263: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:263: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:266: ./config.status --recheck | sed -n 's/^result=//p'"
echo torture.at:266 >$at_check_line_file
( $at_traceon; ./config.status --recheck | sed -n 's/^result=//p' ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "\"'\$ \" ' \$ \"'\$
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:266: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
36 ) # 36. torture.at:279: #define header templates
at_setup_line='torture.at:279'
at_desc='#define header templates'
$at_quiet $ECHO_N " 36: #define header templates
$ECHO_C"
at_xfail=no
(
echo "36. torture.at:279: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_HEADERS(config.h:config.hin)
# I18n of dummy variables: their French translations.
AC_DEFINE(foo, toto)
AC_DEFINE(bar, tata)
AC_DEFINE(baz, titi)
AC_DEFINE(fubar, tutu)
# Symbols which are prefixes of another.
AC_DEFINE(a, A)
AC_DEFINE(aaa, AAA)
AC_DEFINE(aa, AA)
AC_CONFIG_FILES(defs)
# Things included in confdefs.h, but which make no sense in
# config.h, nor in $DEFS.
cat <<\EOF >>confdefs.h
/* Hi Mum! Look, I am doing C++! */
#ifdef __cplusplus
void exit (int status);
#endif
EOF
# In addition of config.h output a full DEFS
AC_OUTPUT_MAKE_DEFS
DEFS_SAVED=$DEFS
AC_SUBST(DEFS_SAVED)
AC_OUTPUT
_ATEOF
cat >defs.in <<'_ATEOF'
@DEFS_SAVED@
_ATEOF
cat >config.hin <<'_ATEOF'
#define foo 0
# define bar bar
# define baz "Archimedes was sinking in his baz"
# define fubar tutu
#define a B
#define aa BB
#define aaa BBB
#undef a
#undef aa
#undef aaa
_ATEOF
$at_traceoff
echo "torture.at:330: autoconf "
echo torture.at:330 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:330: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:331: top_srcdir=\$abs_top_srcdir ./configure "
echo torture.at:331 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:331: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:331: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
cat >expout <<'_ATEOF'
/* config.h. Generated by configure. */
#define foo toto
# define bar tata
# define baz titi
# define fubar tutu
#define a A
#define aa AA
#define aaa AAA
#define a A
#define aa AA
#define aaa AAA
_ATEOF
$at_traceoff
echo "torture.at:346: cat config.h"
echo torture.at:346 >$at_check_line_file
( $at_traceon; cat config.h ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:346: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Check the value of DEFS.
cat >expout <<'_ATEOF'
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -Dfoo=toto -Dbar=tata -Dbaz=titi
-Dfubar=tutu -Da=A -Daaa=AAA -Daa=AA
_ATEOF
# Because we strip trailing spaces in `testsuite' we can't leave one in
# expout, hence nuke the one left by AC_OUTPUT_MAKE_DEFS.
$at_traceoff
echo "torture.at:355: sed -e 's/ \$//' defs"
echo torture.at:355 >$at_check_line_file
( $at_traceon; sed -e 's/ $//' defs ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:355: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
37 ) # 37. torture.at:373: Torturing config.status
at_setup_line='torture.at:373'
at_desc='Torturing config.status'
$at_quiet $ECHO_N " 37: Torturing config.status
$ECHO_C"
at_xfail=no
(
echo "37. torture.at:373: testing ..."
$at_traceon
# AT_DUMMY_VAR(NUMBER)
# --------------------
# Build a name used for AC_SUBST and AC_DEFINE. Put ac_ in it
# so that the check for user name space invasion does not complain
# of the new variables defined.
#
# Note that you should not use the name ac_dummy, because it will be
# turned into ac_uummy during the construction of config.status. Yes,
# this is admittedly a bug, but it would be too hard to fix this.
# There is really no point in AC_DEFINE a var named ac_d.*.
cat >dummy.in <<'_ATEOF'
@ac_Dummy_001@
@ac_Dummy_002@
@ac_Dummy_003@
@ac_Dummy_004@
@ac_Dummy_005@
@ac_Dummy_006@
@ac_Dummy_007@
@ac_Dummy_008@
@ac_Dummy_009@
@ac_Dummy_010@
@ac_Dummy_011@
@ac_Dummy_012@
@ac_Dummy_013@
@ac_Dummy_014@
@ac_Dummy_015@
@ac_Dummy_016@
@ac_Dummy_017@
@ac_Dummy_018@
@ac_Dummy_019@
@ac_Dummy_020@
@ac_Dummy_021@
@ac_Dummy_022@
@ac_Dummy_023@
@ac_Dummy_024@
@ac_Dummy_025@
@ac_Dummy_026@
@ac_Dummy_027@
@ac_Dummy_028@
@ac_Dummy_029@
@ac_Dummy_030@
@ac_Dummy_031@
@ac_Dummy_032@
@ac_Dummy_033@
@ac_Dummy_034@
@ac_Dummy_035@
@ac_Dummy_036@
@ac_Dummy_037@
@ac_Dummy_038@
@ac_Dummy_039@
@ac_Dummy_040@
@ac_Dummy_041@
@ac_Dummy_042@
@ac_Dummy_043@
@ac_Dummy_044@
@ac_Dummy_045@
@ac_Dummy_046@
@ac_Dummy_047@
@ac_Dummy_048@
@ac_Dummy_049@
@ac_Dummy_050@
@ac_Dummy_051@
@ac_Dummy_052@
@ac_Dummy_053@
@ac_Dummy_054@
@ac_Dummy_055@
@ac_Dummy_056@
@ac_Dummy_057@
@ac_Dummy_058@
@ac_Dummy_059@
@ac_Dummy_060@
@ac_Dummy_061@
@ac_Dummy_062@
@ac_Dummy_063@
@ac_Dummy_064@
@ac_Dummy_065@
@ac_Dummy_066@
@ac_Dummy_067@
@ac_Dummy_068@
@ac_Dummy_069@
@ac_Dummy_070@
@ac_Dummy_071@
@ac_Dummy_072@
@ac_Dummy_073@
@ac_Dummy_074@
@ac_Dummy_075@
@ac_Dummy_076@
@ac_Dummy_077@
@ac_Dummy_078@
@ac_Dummy_079@
@ac_Dummy_080@
@ac_Dummy_081@
@ac_Dummy_082@
@ac_Dummy_083@
@ac_Dummy_084@
@ac_Dummy_085@
@ac_Dummy_086@
@ac_Dummy_087@
@ac_Dummy_088@
@ac_Dummy_089@
@ac_Dummy_090@
@ac_Dummy_091@
@ac_Dummy_092@
@ac_Dummy_093@
@ac_Dummy_094@
@ac_Dummy_095@
@ac_Dummy_096@
@ac_Dummy_097@
@ac_Dummy_098@
@ac_Dummy_099@
@ac_Dummy_100@
_ATEOF
# ------------ #
# configure.ac #
# ------------ #
cat >configure.ac <<'_ATEOF'
m4_define([AC_DUMMY_VAR],
[ac_Dummy_[]m4_bpatsubst([000$1], [.*\(...\)$], [\1])])
m4_define([AC_DESCRIPTION],
[Define to a long string if your `Autoconf' works properly.])
m4_define([AC_BIG_VALUE],
[This value should be long enough to torture the various limits of sed and
other tools used by Autoconf.])
# AC_DEFUBST(NAME)
# ----------------
# Related VALUE to NAME both with AC_SUBST and AC_DEFINE. This is
# used in the torture tests.
m4_defun([AC_DEFUBST],
[AC_DUMMY_VAR($1)="AC_BIG_VALUE"
AC_DEFINE_UNQUOTED(AC_DUMMY_VAR($1), "$AC_DUMMY_VAR($1)",
AC_DESCRIPTION)
AC_SUBST(AC_DUMMY_VAR($1))])
AC_INIT
AC_CONFIG_HEADERS(config.h:config.hin)
AC_CONFIG_FILES(dummy)
m4_for(AC_Count, 1, 100, 1,
[AC_DEFUBST(AC_Count)])
AC_OUTPUT
_ATEOF
# configure.ac
$at_traceoff
echo "torture.at:442: autoconf "
echo torture.at:442 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:442: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:443: autoheader "
echo torture.at:443 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:443: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:444: top_srcdir=\$abs_top_srcdir ./configure "
echo torture.at:444 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:444: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:444: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Checking that AC_DEFINE worked properly.
cat >expout <<'_ATEOF'
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT ""
/* Define to the full name of this package. */
#define PACKAGE_NAME ""
/* Define to the full name and version of this package. */
#define PACKAGE_STRING ""
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME ""
/* Define to the version of this package. */
#define PACKAGE_VERSION ""
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_001 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_002 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_003 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_004 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_005 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_006 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_007 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_008 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_009 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_010 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_011 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_012 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_013 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_014 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_015 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_016 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_017 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_018 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_019 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_020 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_021 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_022 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_023 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_024 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_025 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_026 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_027 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_028 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_029 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_030 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_031 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_032 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_033 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_034 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_035 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_036 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_037 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_038 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_039 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_040 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_041 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_042 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_043 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_044 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_045 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_046 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_047 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_048 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_049 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_050 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_051 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_052 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_053 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_054 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_055 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_056 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_057 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_058 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_059 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_060 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_061 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_062 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_063 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_064 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_065 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_066 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_067 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_068 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_069 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_070 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_071 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_072 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_073 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_074 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_075 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_076 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_077 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_078 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_079 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_080 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_081 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_082 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_083 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_084 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_085 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_086 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_087 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_088 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_089 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_090 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_091 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_092 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_093 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_094 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_095 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_096 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_097 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_098 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_099 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
/* Define to a long string if your `Autoconf' works properly. */
#define ac_Dummy_100 "This value should be long enough to torture the various
limits of sed and other tools used by Autoconf."
_ATEOF
$at_traceoff
echo "torture.at:467: sed -n '4,\$ p' config.h"
echo torture.at:467 >$at_check_line_file
( $at_traceon; sed -n '4,$ p' config.h ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:467: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Checking that AC_SUBST worked properly.
cat >expout <<'_ATEOF'
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
This value should be long enough to torture the various limits of sed and other
tools used by Autoconf.
_ATEOF
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
38 ) # 38. torture.at:482: srcdir
at_setup_line='torture.at:482'
at_desc='srcdir'
$at_quiet $ECHO_N " 38: srcdir
$ECHO_C"
at_xfail=no
(
echo "38. torture.at:482: testing ..."
$at_traceon
rm -rf at-dir
mkdir at-dir
: >at-dir/bar.in
: >foo.in
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_FILES([foo at-dir/bar])
AC_CONFIG_COMMANDS([report],
[test -f $srcdir/configure.ac ||
AC_MSG_ERROR([cannot find $srcdir/configure.ac])],
[srcdir=$srcdir])
AC_OUTPUT
rm -rf foo at-dir/bar
_ATEOF
$at_traceoff
echo "torture.at:503: autoconf "
echo torture.at:503 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:503: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# In place.
$at_traceoff
echo "torture.at:506: ./configure"
echo torture.at:506 >$at_check_line_file
( $at_traceon; ./configure ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:506: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Relative path.
$at_traceoff
echo "torture.at:509: cd at-dir && ../configure"
echo torture.at:509 >$at_check_line_file
( $at_traceon; cd at-dir && ../configure ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:509: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Absolute path.
at_here=`pwd`
$at_traceoff
echo "torture.at:513: cd at-dir && \$at_here/configure"
echo torture.at:513 >$at_check_line_file
( $at_traceon; cd at-dir && $at_here/configure ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:513: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
39 ) # 39. torture.at:522: Signal handling
at_setup_line='torture.at:522'
at_desc='Signal handling'
$at_quiet $ECHO_N " 39: Signal handling
$ECHO_C"
at_xfail=no
(
echo "39. torture.at:522: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
AC_INIT
kill -2 $$
exit 77
_ATEOF
$at_traceoff
echo "torture.at:530: autoconf "
echo torture.at:530 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:530: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:531: top_srcdir=\$abs_top_srcdir ./configure "
echo torture.at:531 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
1) ;;
*) echo "torture.at:531: exit code was $at_status, expected 1"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:531: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
40 ) # 40. torture.at:558: Configuring subdirectories
at_setup_line='torture.at:558'
at_desc='Configuring subdirectories'
$at_quiet $ECHO_N " 40: Configuring subdirectories
$ECHO_C"
at_xfail=no
(
echo "40. torture.at:558: testing ..."
$at_traceon
# We use aclocal (via autoreconf).
$at_traceoff
echo "torture.at:562: aclocal --version || exit 77"
echo torture.at:562 >$at_check_line_file
( $at_traceon; aclocal --version || exit 77 ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
echo stdout:; tee stdout <$at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:562: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# It should understand configure.ac.
$at_traceoff
echo "torture.at:564: grep '1.[01234]' stdout && exit 77"
echo torture.at:564 >$at_check_line_file
( $at_traceon; grep '1.[01234]' stdout && exit 77 ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
1) ;;
*) echo "torture.at:564: exit code was $at_status, expected 1"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# The contents of `inner/', and `inner/innermost/'.
{ if $as_mkdir_p; then
mkdir -p inner/innermost
else
as_dir=inner/innermost
as_dirs=
while test ! -d "$as_dir"; do
as_dirs="$as_dir $as_dirs"
as_dir=`(dirname "$as_dir") 2>/dev/null ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$as_dir" : 'X\(//\)[^/]' \| \
X"$as_dir" : 'X\(//\)$' \| \
X"$as_dir" : 'X\(/\)' \| \
. : '\(.\)' 2>/dev/null ||
echo X"$as_dir" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
/^X\(\/\/\)$/{ s//\1/; q; }
/^X\(\/\).*/{ s//\1/; q; }
s/.*/./; q'`
done
test ! -n "$as_dirs" || mkdir $as_dirs
fi || { { echo "$as_me:$LINENO: error: cannot create directory
inner/innermost" >&5
echo "$as_me: error: cannot create directory inner/innermost" >&2;}
{ (exit 1); exit 1; }; }; }
# We have to use configure.in, not configure.ac, if we still want to
# be compatible with Automake 1.4: aclocal (run by autoreconf) would
# die because it can't find configure.in.
cat >inner/configure.in <<'_ATEOF'
AC_INIT(GNU Inner, 1.0)
AC_CONFIG_SRCDIR([innermost/config.in])
AC_ARG_VAR([INNER], [an inner variable])
AC_SUBST([INNER])
if test "x$INNER" = x; then
INNER=inner
fi
AC_CONFIG_FILES([innermost/config])
AC_OUTPUT
_ATEOF
cat >inner/innermost/config.in <<'_ATEOF'
address@hidden@
address@hidden@
address@hidden@
address@hidden@
_ATEOF
# The contents of `.'
cat >install-sh <<'_ATEOF'
_ATEOF
# nonexistent is allowed not to exist.
cat >configure.in <<'_ATEOF'
AC_INIT(GNU Outer, 1.0)
AC_ARG_VAR([OUTER], [an outer variable])
if false; then
AC_CONFIG_SUBDIRS([nonexistent])
fi
AC_CONFIG_SUBDIRS([inner])
AC_OUTPUT
_ATEOF
# If there are improperly quoted AC_DEFUN installed in share/aclocal,
# they trigger warnings from aclocal 1.8, so ignore stderr.
$at_traceoff
echo "torture.at:607: autoreconf"
echo torture.at:607 >$at_check_line_file
( $at_traceon; autoreconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:607: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:608: test -f inner/configure"
echo torture.at:608 >$at_check_line_file
( $at_traceon; test -f inner/configure ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:608: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Running the outer configure recursively should provide the innermost
# help strings.
$at_traceoff
echo "torture.at:612: ./configure --help=recursive | grep INNER"
echo torture.at:612 >$at_check_line_file
( $at_traceon; ./configure --help=recursive | grep INNER ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:612: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Running the outer configure should trigger the inner.
$at_traceoff
echo "torture.at:615: top_srcdir=\$abs_top_srcdir ./configure "
echo torture.at:615 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:615: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:615: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:621: cat inner/innermost/config"
echo torture.at:621 >$at_check_line_file
( $at_traceon; cat inner/innermost/config ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "INNER=inner
srcdir=.
top_srcdir=..
prefix=/usr/local
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:621: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# The same, but from a builddir.
{ if $as_mkdir_p; then
mkdir -p builddir
else
as_dir=builddir
as_dirs=
while test ! -d "$as_dir"; do
as_dirs="$as_dir $as_dirs"
as_dir=`(dirname "$as_dir") 2>/dev/null ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$as_dir" : 'X\(//\)[^/]' \| \
X"$as_dir" : 'X\(//\)$' \| \
X"$as_dir" : 'X\(/\)' \| \
. : '\(.\)' 2>/dev/null ||
echo X"$as_dir" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
/^X\(\/\/\)$/{ s//\1/; q; }
/^X\(\/\).*/{ s//\1/; q; }
s/.*/./; q'`
done
test ! -n "$as_dirs" || mkdir $as_dirs
fi || { { echo "$as_me:$LINENO: error: cannot create directory builddir" >&5
echo "$as_me: error: cannot create directory builddir" >&2;}
{ (exit 1); exit 1; }; }; }
$at_traceoff
echo "torture.at:625: cd builddir && ../configure"
echo torture.at:625 >$at_check_line_file
( $at_traceon; cd builddir && ../configure ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:625: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:631: cat builddir/inner/innermost/config"
echo torture.at:631 >$at_check_line_file
( $at_traceon; cat builddir/inner/innermost/config ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "INNER=inner
srcdir=../../../inner/innermost
top_srcdir=../../../inner
prefix=/usr/local
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:631: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Make sure precious variables and command line options are properly
# passed, even when there are duplicates. Run another directory so
# that if the user has set config.site to have a config.cache, then
# the two runs don't have colliding caches.
{ if $as_mkdir_p; then
mkdir -p builddir2
else
as_dir=builddir2
as_dirs=
while test ! -d "$as_dir"; do
as_dirs="$as_dir $as_dirs"
as_dir=`(dirname "$as_dir") 2>/dev/null ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$as_dir" : 'X\(//\)[^/]' \| \
X"$as_dir" : 'X\(//\)$' \| \
X"$as_dir" : 'X\(/\)' \| \
. : '\(.\)' 2>/dev/null ||
echo X"$as_dir" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
/^X\(\/\/\)$/{ s//\1/; q; }
/^X\(\/\).*/{ s//\1/; q; }
s/.*/./; q'`
done
test ! -n "$as_dirs" || mkdir $as_dirs
fi || { { echo "$as_me:$LINENO: error: cannot create directory builddir2" >&5
echo "$as_me: error: cannot create directory builddir2" >&2;}
{ (exit 1); exit 1; }; }; }
$at_traceoff
echo "torture.at:638: cd builddir2 && ../configure --prefix /bad --prefix /good
INNER=bad INNER=good"
echo torture.at:638 >$at_check_line_file
( $at_traceon; cd builddir2 && ../configure --prefix /bad --prefix /good
INNER=bad INNER=good ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:638: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:644: cat builddir2/inner/innermost/config"
echo torture.at:644 >$at_check_line_file
( $at_traceon; cat builddir2/inner/innermost/config ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "INNER=good
srcdir=../../../inner/innermost
top_srcdir=../../../inner
prefix=/good
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:644: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
41 ) # 41. torture.at:654: Deep Package
at_setup_line='torture.at:654'
at_desc='Deep Package'
$at_quiet $ECHO_N " 41: Deep Package
$ECHO_C"
at_xfail=no
(
echo "41. torture.at:654: testing ..."
$at_traceon
# We use aclocal (via autoreconf).
$at_traceoff
echo "torture.at:658: aclocal --version || exit 77"
echo torture.at:658 >$at_check_line_file
( $at_traceon; aclocal --version || exit 77 ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:658: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# The contents of `.'
cat >install-sh <<'_ATEOF'
_ATEOF
cat >configure.in <<'_ATEOF'
AC_INIT(GNU Outer, 1.0)
AC_ARG_VAR([OUTER], [an outer variable])
AC_CONFIG_SUBDIRS([inner])
AC_OUTPUT
_ATEOF
# The contents of `inner/', and `inner/innermost/'.
{ if $as_mkdir_p; then
mkdir -p inner/innermost
else
as_dir=inner/innermost
as_dirs=
while test ! -d "$as_dir"; do
as_dirs="$as_dir $as_dirs"
as_dir=`(dirname "$as_dir") 2>/dev/null ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$as_dir" : 'X\(//\)[^/]' \| \
X"$as_dir" : 'X\(//\)$' \| \
X"$as_dir" : 'X\(/\)' \| \
. : '\(.\)' 2>/dev/null ||
echo X"$as_dir" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
/^X\(\/\/\)$/{ s//\1/; q; }
/^X\(\/\).*/{ s//\1/; q; }
s/.*/./; q'`
done
test ! -n "$as_dirs" || mkdir $as_dirs
fi || { { echo "$as_me:$LINENO: error: cannot create directory
inner/innermost" >&5
echo "$as_me: error: cannot create directory inner/innermost" >&2;}
{ (exit 1); exit 1; }; }; }
cat >inner/configure.ac <<'_ATEOF'
AC_INIT(GNU Inner, 1.0)
AC_ARG_VAR([INNER], [an inner variable])
AC_CONFIG_SUBDIRS(innermost)
AC_OUTPUT
_ATEOF
cat >inner/innermost/configure.ac <<'_ATEOF'
AC_INIT(GNU Innermost, 1.0)
AC_ARG_VAR([INNERMOST], [an innermost variable])
AC_CONFIG_HEADERS(config.h:config.hin)
AC_DEFINE_UNQUOTED([INNERMOST], [$INNERMOST], [an innermost variable])
AC_OUTPUT
_ATEOF
$at_traceoff
echo "torture.at:687: autoreconf -Wall -v"
echo torture.at:687 >$at_check_line_file
( $at_traceon; autoreconf -Wall -v ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:687: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:688: test -f inner/configure"
echo torture.at:688 >$at_check_line_file
( $at_traceon; test -f inner/configure ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:688: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:689: test -f inner/innermost/configure"
echo torture.at:689 >$at_check_line_file
( $at_traceon; test -f inner/innermost/configure ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:689: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:690: test -f inner/innermost/config.hin"
echo torture.at:690 >$at_check_line_file
( $at_traceon; test -f inner/innermost/config.hin ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:690: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Running the outer configure recursively should provide the innermost
# help strings.
$at_traceoff
echo "torture.at:694: ./configure --help=recursive | grep \" INNER \""
echo torture.at:694 >$at_check_line_file
( $at_traceon; ./configure --help=recursive | grep " INNER " ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:694: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:695: ./configure --help=recursive | grep \" INNERMOST \""
echo torture.at:695 >$at_check_line_file
( $at_traceon; ./configure --help=recursive | grep " INNERMOST " ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:695: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Running the outer configure should trigger the inner.
$at_traceoff
echo "torture.at:698: top_srcdir=\$abs_top_srcdir ./configure
INNERMOST=tsomrenni"
echo torture.at:698 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure INNERMOST=tsomrenni )
>$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:698: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/torture.at:698: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:701: grep INNERMOST inner/innermost/config.h"
echo torture.at:701 >$at_check_line_file
( $at_traceon; grep INNERMOST inner/innermost/config.h ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "#define INNERMOST tsomrenni
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:701: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# The same, but from a builddir.
{ if $as_mkdir_p; then
mkdir -p builddir
else
as_dir=builddir
as_dirs=
while test ! -d "$as_dir"; do
as_dirs="$as_dir $as_dirs"
as_dir=`(dirname "$as_dir") 2>/dev/null ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$as_dir" : 'X\(//\)[^/]' \| \
X"$as_dir" : 'X\(//\)$' \| \
X"$as_dir" : 'X\(/\)' \| \
. : '\(.\)' 2>/dev/null ||
echo X"$as_dir" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
/^X\(\/\/\)$/{ s//\1/; q; }
/^X\(\/\).*/{ s//\1/; q; }
s/.*/./; q'`
done
test ! -n "$as_dirs" || mkdir $as_dirs
fi || { { echo "$as_me:$LINENO: error: cannot create directory builddir" >&5
echo "$as_me: error: cannot create directory builddir" >&2;}
{ (exit 1); exit 1; }; }; }
$at_traceoff
echo "torture.at:705: cd builddir && ../configure INNERMOST=build/tsomrenni"
echo torture.at:705 >$at_check_line_file
( $at_traceon; cd builddir && ../configure INNERMOST=build/tsomrenni )
>$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:705: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "torture.at:708: grep INNERMOST builddir/inner/innermost/config.h"
echo torture.at:708 >$at_check_line_file
( $at_traceon; grep INNERMOST builddir/inner/innermost/config.h ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "#define INNERMOST build/tsomrenni
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "torture.at:708: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-6 ) # Banner 6. compile.at:3
cat <<\_ATEOF
Low level compiling/preprocessing macros.
_ATEOF
;;
42 ) # 42. compile.at:32: AC_LANG, AC_LANG_PUSH & AC_LANG_POP
at_setup_line='compile.at:32'
at_desc='AC_LANG, AC_LANG_PUSH & AC_LANG_POP'
$at_quiet $ECHO_N " 42: AC_LANG, AC_LANG_PUSH & AC_LANG_POP
$ECHO_C"
at_xfail=no
(
echo "42. compile.at:32: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
AC_INIT
# C
AC_LANG(C)
# C
AC_LANG_PUSH(C)
# C C
AC_LANG_PUSH(C++)
# C++ C C
AC_LANG(C++)
# C++ C C
AC_LANG_PUSH(Fortran 77)
# F77 C++ C C
AC_LANG_POP(Fortran 77)
# C++ C C
AC_LANG(C++)
# C++ C C
AC_LANG_POP(C++)
# C C
AC_LANG_POP(C)
# C
_ATEOF
$at_traceoff
echo "compile.at:57: autoconf "
echo compile.at:57 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "compile.at:57: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "compile.at:69: sed -n 's/^ac_ext=//p' configure"
echo compile.at:69 >$at_check_line_file
( $at_traceon; sed -n 's/^ac_ext=//p' configure ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "c
c
c
cc
cc
f
cc
cc
c
c
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "compile.at:69: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
43 ) # 43. compile.at:78: AC_REQUIRE & AC_LANG
at_setup_line='compile.at:78'
at_desc='AC_REQUIRE & AC_LANG'
$at_quiet $ECHO_N " 43: AC_REQUIRE & AC_LANG
$ECHO_C"
at_xfail=no
(
echo "43. compile.at:78: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
AC_DEFUN([AC_F77_1],
[AC_LANG_PUSH([Fortran 77])
if test $ac_ext != f; then
AC_MSG_ERROR([F77_1: current shell language is $ac_ext, expected Fortran])
fi
AC_LANG_POP
])
AC_DEFUN([AC_F77_2],
[AC_LANG_PUSH([Fortran 77])
AC_REQUIRE([AC_F77_1])
if test $ac_ext != f; then
AC_MSG_ERROR([F77_2: current shell language is $ac_ext, expected Fortran])
fi
AC_LANG_POP
])
AC_INIT
AC_F77_2
AS_EXIT(0)
_ATEOF
$at_traceoff
echo "compile.at:104: autoconf "
echo compile.at:104 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "compile.at:104: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "compile.at:105: top_srcdir=\$abs_top_srcdir ./configure "
echo compile.at:105 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "compile.at:105: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/compile.at:105: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
44 ) # 44. compile.at:114: AC_RUN_IFELSE
at_setup_line='compile.at:114'
at_desc='AC_RUN_IFELSE'
$at_quiet $ECHO_N " 44: AC_RUN_IFELSE
$ECHO_C"
at_xfail=no
(
echo "44. compile.at:114: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_RUN_IFELSE([AC_LANG_PROGRAM([], [exit (0)])],
[],
[AC_MSG_ERROR([saw `exit 0' as a failure])])
AC_RUN_IFELSE([AC_LANG_PROGRAM([], [exit (2)])],
[AC_MSG_ERROR([saw `exit 2' as a success])],
[status=$?
test $status != 2 &&
AC_MSG_ERROR([did not get as 2 exit status: $status])])
# The old stinky one.
AC_TRY_RUN([int main () { exit (3); }],
[AC_MSG_ERROR([saw `exit 3' as a success])],
[status=$?
test $status != 3 &&
AC_MSG_ERROR([did not get 3 as exit status: $status])])
_ATEOF
$at_traceoff
echo "compile.at:138: autoconf "
echo compile.at:138 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "compile.at:138: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "compile.at:139: top_srcdir=\$abs_top_srcdir ./configure -q"
echo compile.at:139 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure -q ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "compile.at:139: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/compile.at:139: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
45 ) # 45. compile.at:151: AC_TRY_LINK_FUNC
at_setup_line='compile.at:151'
at_desc='AC_TRY_LINK_FUNC'
$at_quiet $ECHO_N " 45: AC_TRY_LINK_FUNC
$ECHO_C"
at_xfail=no
(
echo "45. compile.at:151: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_TRY_LINK_FUNC(printf,,
AC_MSG_ERROR([cannot find `printf']))
AC_TRY_LINK_FUNC(Be_doomed_if_your_libc_has_a_function_named_like_this,
AC_MSG_ERROR([found a nonexistent function]))
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "compile.at:151: autoconf -W obsolete"
echo compile.at:151 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "compile.at:151: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "compile.at:151: autoheader "
echo compile.at:151 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "compile.at:151: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "compile.at:151: top_srcdir=\$abs_top_srcdir ./configure "
echo compile.at:151 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "compile.at:151: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/compile.at:151: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "compile.at:151: cat state-env.after"
echo compile.at:151 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "compile.at:151: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "compile.at:151: cat state-ls.after"
echo compile.at:151 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "compile.at:151: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-7 ) # Banner 7. aclang.at:9
cat <<\_ATEOF
Testing autoconf/lang macros.
_ATEOF
;;
46 ) # 46. aclang.at:12: AC_NO_EXECUTABLES
at_setup_line='aclang.at:12'
at_desc='AC_NO_EXECUTABLES'
$at_quiet $ECHO_N " 46: AC_NO_EXECUTABLES
$ECHO_C"
at_xfail=no
(
echo "46. aclang.at:12: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_NO_EXECUTABLES
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "aclang.at:12: autoconf -W obsolete"
echo aclang.at:12 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "aclang.at:12: autoheader "
echo aclang.at:12 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "aclang.at:12: top_srcdir=\$abs_top_srcdir ./configure "
echo aclang.at:12 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/aclang.at:12: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "aclang.at:12: cat state-env.after"
echo aclang.at:12 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "aclang.at:12: cat state-ls.after"
echo aclang.at:12 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
47 ) # 47. aclang.at:13: AC_REQUIRE_CPP
at_setup_line='aclang.at:13'
at_desc='AC_REQUIRE_CPP'
$at_quiet $ECHO_N " 47: AC_REQUIRE_CPP
$ECHO_C"
at_xfail=no
(
echo "47. aclang.at:13: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_REQUIRE_CPP
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "aclang.at:13: autoconf -W obsolete"
echo aclang.at:13 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "aclang.at:13: autoheader "
echo aclang.at:13 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "aclang.at:13: top_srcdir=\$abs_top_srcdir ./configure "
echo aclang.at:13 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/aclang.at:13: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "aclang.at:13: cat state-env.after"
echo aclang.at:13 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "aclang.at:13: cat state-ls.after"
echo aclang.at:13 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
48 ) # 48. aclang.at:16: AC_LANG_SAVE
at_setup_line='aclang.at:16'
at_desc='AC_LANG_SAVE'
$at_quiet $ECHO_N " 48: AC_LANG_SAVE
$ECHO_C"
at_xfail=no
(
echo "48. aclang.at:16: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_LANG_SAVE
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "aclang.at:16: autoconf "
echo aclang.at:16 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "aclang.at:16: autoheader "
echo aclang.at:16 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "aclang.at:16: top_srcdir=\$abs_top_srcdir ./configure "
echo aclang.at:16 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/aclang.at:16: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "aclang.at:16: cat state-env.after"
echo aclang.at:16 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "aclang.at:16: cat state-ls.after"
echo aclang.at:16 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "aclang.at:16: autoupdate "
echo aclang.at:16 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "aclang.at:16: autoconf "
echo aclang.at:16 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "aclang.at:16: autoheader "
echo aclang.at:16 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "aclang.at:16: top_srcdir=\$abs_top_srcdir ./configure "
echo aclang.at:16 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/aclang.at:16: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "aclang.at:16: cat state-env.after"
echo aclang.at:16 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "aclang.at:16: cat state-ls.after"
echo aclang.at:16 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclang.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-8 ) # Banner 8. c.at:3
cat <<\_ATEOF
C low level compiling/preprocessing macros.
_ATEOF
;;
49 ) # 49. c.at:47: Extensions
at_setup_line='c.at:47'
at_desc='Extensions'
$at_quiet $ECHO_N " 49: Extensions
$ECHO_C"
at_xfail=no
(
echo "49. c.at:47: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PROG_CC
case $ac_exeext in
'' | '.exe' ) ;;
* ) AC_MSG_ERROR([suspicious executable suffix: $ac_exeext]);;
esac
case $ac_objext in
'o' | 'obj' ) ;;
* ) AC_MSG_ERROR([suspicious object suffix: $ac_objext]);;
esac
AS_EXIT([0])
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "c.at:47: autoconf -W obsolete"
echo c.at:47 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:47: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "c.at:47: autoheader "
echo c.at:47 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:47: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "c.at:47: top_srcdir=\$abs_top_srcdir ./configure "
echo c.at:47 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:47: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/c.at:47: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "c.at:47: cat state-env.after"
echo c.at:47 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:47: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "c.at:47: cat state-ls.after"
echo c.at:47 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:47: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
50 ) # 50. c.at:59: Broken/missing compilers
at_setup_line='c.at:59'
at_desc='Broken/missing compilers'
$at_quiet $ECHO_N " 50: Broken/missing compilers
$ECHO_C"
at_xfail=no
(
echo "50. c.at:59: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
AC_INIT
CC=no-such-compiler
AC_PROG_CC
_ATEOF
$at_traceoff
echo "c.at:67: autoconf "
echo c.at:67 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:67: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "c.at:68: top_srcdir=\$abs_top_srcdir ./configure "
echo c.at:68 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
echo stdout:; cat $at_stdout
case $at_status in
77) ;;
*) echo "c.at:68: exit code was $at_status, expected 77"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/c.at:68: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
51 ) # 51. c.at:88: C keywords
at_setup_line='c.at:88'
at_desc='C keywords'
$at_quiet $ECHO_N " 51: C keywords
$ECHO_C"
at_xfail=no
(
echo "51. c.at:88: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PROG_CC
AC_C_CONST
AC_C_INLINE
AC_C_RESTRICT
AC_C_VOLATILE
case $GCC,$ac_cv_c_const,$ac_cv_c_inline,$ac_cv_c_restrict,$ac_cv_c_volatile in
yes,*no*)
AC_MSG_ERROR([failed to detect `const', `inline', `restrict', or `volatile'
support]);;
esac
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "c.at:88: autoconf -W obsolete"
echo c.at:88 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:88: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "c.at:88: autoheader "
echo c.at:88 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:88: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "c.at:88: top_srcdir=\$abs_top_srcdir ./configure "
echo c.at:88 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:88: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/c.at:88: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "c.at:88: cat state-env.after"
echo c.at:88 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:88: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "c.at:88: cat state-ls.after"
echo c.at:88 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:88: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
52 ) # 52. c.at:101: AC_PROG_CPP requires AC_PROG_CC
at_setup_line='c.at:101'
at_desc='AC_PROG_CPP requires AC_PROG_CC'
$at_quiet $ECHO_N " 52: AC_PROG_CPP requires AC_PROG_CC
$ECHO_C"
at_xfail=no
(
echo "52. c.at:101: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PROG_CPP
test -z "$CC" &&
AC_MSG_ERROR([looked for a C preprocessor without looking for a compiler])
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "c.at:101: autoconf -W obsolete"
echo c.at:101 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:101: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "c.at:101: autoheader "
echo c.at:101 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:101: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "c.at:101: top_srcdir=\$abs_top_srcdir ./configure "
echo c.at:101 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:101: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/c.at:101: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "c.at:101: cat state-env.after"
echo c.at:101 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:101: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "c.at:101: cat state-ls.after"
echo c.at:101 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:101: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
53 ) # 53. c.at:112: AC_PROG_CPP with warnings
at_setup_line='c.at:112'
at_desc='AC_PROG_CPP with warnings'
$at_quiet $ECHO_N " 53: AC_PROG_CPP with warnings
$ECHO_C"
at_xfail=no
(
echo "53. c.at:112: testing ..."
$at_traceon
cat >mycpp <<'_ATEOF'
#! /bin/sh
echo noise >&2
exec "$@"
_ATEOF
chmod +x mycpp
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PROG_CPP
# If the preprocessor is not strict, just ignore
test "x$ac_c_preproc_warn_flag" = xyes &&
AC_MSG_ERROR([preprocessor has no warning option], 77)
CPP="./mycpp $CPP"
AC_CHECK_HEADERS(stdio.h autoconf_io.h)
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "c.at:128: autoconf "
echo c.at:128 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:128: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "c.at:128: autoheader "
echo c.at:128 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:128: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "c.at:128: top_srcdir=\$abs_top_srcdir ./configure "
echo c.at:128 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:128: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/c.at:128: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "c.at:128: cat state-env.after"
echo c.at:128 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:128: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "c.at:128: cat state-ls.after"
echo c.at:128 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:128: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
echo "c.at:133: sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h"
echo c.at:133 >$at_check_line_file
( $at_traceon; sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "/* #undef HAVE_AUTOCONF_IO_H */
#define HAVE_STDIO_H 1
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:133: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
54 ) # 54. c.at:142: AC_PROG_CPP without warnings
at_setup_line='c.at:142'
at_desc='AC_PROG_CPP without warnings'
$at_quiet $ECHO_N " 54: AC_PROG_CPP without warnings
$ECHO_C"
at_xfail=no
(
echo "54. c.at:142: testing ..."
$at_traceon
# Ignore if /lib/cpp doesn't work
$at_traceoff
echo "c.at:145: /lib/cpp </dev/null || exit 77"
echo c.at:145 >$at_check_line_file
( $at_traceon; /lib/cpp </dev/null || exit 77 ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:145: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# A cpp which exit status is meaningless.
cat >mycpp <<'_ATEOF'
#! /bin/sh
/lib/cpp "$@"
exit 0
_ATEOF
chmod +x mycpp
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
CPP=./mycpp
AC_PROG_CPP
test "x$ac_c_preproc_warn_flag" != xyes &&
AC_MSG_ERROR([failed to detect preprocessor warning option])
AC_CHECK_HEADERS(stdio.h autoconf_io.h)
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "c.at:161: autoconf "
echo c.at:161 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:161: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "c.at:161: autoheader "
echo c.at:161 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:161: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "c.at:161: top_srcdir=\$abs_top_srcdir ./configure "
echo c.at:161 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:161: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/c.at:161: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "c.at:161: cat state-env.after"
echo c.at:161 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:161: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "c.at:161: cat state-ls.after"
echo c.at:161 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:161: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
echo "c.at:166: sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h"
echo c.at:166 >$at_check_line_file
( $at_traceon; sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "/* #undef HAVE_AUTOCONF_IO_H */
#define HAVE_STDIO_H 1
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:166: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
55 ) # 55. c.at:179: AC_PROG_CPP via CC
at_setup_line='c.at:179'
at_desc='AC_PROG_CPP via CC'
$at_quiet $ECHO_N " 55: AC_PROG_CPP via CC
$ECHO_C"
at_xfail=no
(
echo "55. c.at:179: testing ..."
$at_traceon
# Ignore if /lib/cpp doesn't work
$at_traceoff
echo "c.at:182: /lib/cpp </dev/null || exit 77"
echo c.at:182 >$at_check_line_file
( $at_traceon; /lib/cpp </dev/null || exit 77 ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:182: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
cat >mycc <<'_ATEOF'
#! /bin/sh
echo "Annoying copyright message" >&2
exec "$@"
_ATEOF
chmod +x mycc
# We go through the following contortions, in order to have the
# configure script go down the same codepaths as it would during a
# normal CPP selection check. If we explicitly set CPP, it goes down
# a different codepath.
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PROG_CC
CC="./mycc $CC"
AC_PROG_CPP
# The test $CC compiler should have been selected.
test "$CPP" != "$CC -E" &&
AC_MSG_ERROR([error messages on stderr cause the preprocessor selection to
fail])
# Exercise CPP.
AC_CHECK_HEADERS(stdio.h autoconf_io.h)
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "c.at:205: autoconf "
echo c.at:205 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:205: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "c.at:205: autoheader "
echo c.at:205 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:205: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "c.at:205: top_srcdir=\$abs_top_srcdir ./configure "
echo c.at:205 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:205: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/c.at:205: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "c.at:205: cat state-env.after"
echo c.at:205 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:205: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "c.at:205: cat state-ls.after"
echo c.at:205 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:205: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
echo "c.at:210: sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h"
echo c.at:210 >$at_check_line_file
( $at_traceon; sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "/* #undef HAVE_AUTOCONF_IO_H */
#define HAVE_STDIO_H 1
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "c.at:210: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-9 ) # Banner 9. acc.at:9
cat <<\_ATEOF
Testing autoconf/c macros.
_ATEOF
;;
56 ) # 56. acc.at:12: AC_C_BACKSLASH_A
at_setup_line='acc.at:12'
at_desc='AC_C_BACKSLASH_A'
$at_quiet $ECHO_N " 56: AC_C_BACKSLASH_A
$ECHO_C"
at_xfail=no
(
echo "56. acc.at:12: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_C_BACKSLASH_A
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acc.at:12: autoconf -W obsolete"
echo acc.at:12 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:12: autoheader "
echo acc.at:12 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:12: top_srcdir=\$abs_top_srcdir ./configure "
echo acc.at:12 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acc.at:12: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acc.at:12: cat state-env.after"
echo acc.at:12 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acc.at:12: cat state-ls.after"
echo acc.at:12 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
57 ) # 57. acc.at:13: AC_C_BIGENDIAN
at_setup_line='acc.at:13'
at_desc='AC_C_BIGENDIAN'
$at_quiet $ECHO_N " 57: AC_C_BIGENDIAN
$ECHO_C"
at_xfail=no
(
echo "57. acc.at:13: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_C_BIGENDIAN
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acc.at:13: autoconf -W obsolete"
echo acc.at:13 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:13: autoheader "
echo acc.at:13 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:13: top_srcdir=\$abs_top_srcdir ./configure "
echo acc.at:13 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acc.at:13: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acc.at:13: cat state-env.after"
echo acc.at:13 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acc.at:13: cat state-ls.after"
echo acc.at:13 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
58 ) # 58. acc.at:14: AC_C_CHAR_UNSIGNED
at_setup_line='acc.at:14'
at_desc='AC_C_CHAR_UNSIGNED'
$at_quiet $ECHO_N " 58: AC_C_CHAR_UNSIGNED
$ECHO_C"
at_xfail=no
(
echo "58. acc.at:14: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_C_CHAR_UNSIGNED
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acc.at:14: autoconf -W obsolete"
echo acc.at:14 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:14: autoheader "
echo acc.at:14 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:14: top_srcdir=\$abs_top_srcdir ./configure "
echo acc.at:14 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acc.at:14: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acc.at:14: cat state-env.after"
echo acc.at:14 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acc.at:14: cat state-ls.after"
echo acc.at:14 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
59 ) # 59. acc.at:15: AC_C_LONG_DOUBLE
at_setup_line='acc.at:15'
at_desc='AC_C_LONG_DOUBLE'
$at_quiet $ECHO_N " 59: AC_C_LONG_DOUBLE
$ECHO_C"
at_xfail=no
(
echo "59. acc.at:15: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_C_LONG_DOUBLE
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acc.at:15: autoconf -W obsolete"
echo acc.at:15 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:15: autoheader "
echo acc.at:15 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:15: top_srcdir=\$abs_top_srcdir ./configure "
echo acc.at:15 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acc.at:15: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acc.at:15: cat state-env.after"
echo acc.at:15 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acc.at:15: cat state-ls.after"
echo acc.at:15 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
60 ) # 60. acc.at:16: AC_C_STRINGIZE
at_setup_line='acc.at:16'
at_desc='AC_C_STRINGIZE'
$at_quiet $ECHO_N " 60: AC_C_STRINGIZE
$ECHO_C"
at_xfail=no
(
echo "60. acc.at:16: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_C_STRINGIZE
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acc.at:16: autoconf -W obsolete"
echo acc.at:16 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:16: autoheader "
echo acc.at:16 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:16: top_srcdir=\$abs_top_srcdir ./configure "
echo acc.at:16 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acc.at:16: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acc.at:16: cat state-env.after"
echo acc.at:16 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acc.at:16: cat state-ls.after"
echo acc.at:16 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
61 ) # 61. acc.at:17: AC_PROG_CC_C_O
at_setup_line='acc.at:17'
at_desc='AC_PROG_CC_C_O'
$at_quiet $ECHO_N " 61: AC_PROG_CC_C_O
$ECHO_C"
at_xfail=no
(
echo "61. acc.at:17: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PROG_CC_C_O
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acc.at:17: autoconf -W obsolete"
echo acc.at:17 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:17: autoheader "
echo acc.at:17 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:17: top_srcdir=\$abs_top_srcdir ./configure "
echo acc.at:17 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acc.at:17: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acc.at:17: cat state-env.after"
echo acc.at:17 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acc.at:17: cat state-ls.after"
echo acc.at:17 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
62 ) # 62. acc.at:18: AC_PROG_CPP_WERROR
at_setup_line='acc.at:18'
at_desc='AC_PROG_CPP_WERROR'
$at_quiet $ECHO_N " 62: AC_PROG_CPP_WERROR
$ECHO_C"
at_xfail=no
(
echo "62. acc.at:18: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PROG_CPP_WERROR
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acc.at:18: autoconf -W obsolete"
echo acc.at:18 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:18: autoheader "
echo acc.at:18 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:18: top_srcdir=\$abs_top_srcdir ./configure "
echo acc.at:18 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acc.at:18: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acc.at:18: cat state-env.after"
echo acc.at:18 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acc.at:18: cat state-ls.after"
echo acc.at:18 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
63 ) # 63. acc.at:19: AC_PROG_GCC_TRADITIONAL
at_setup_line='acc.at:19'
at_desc='AC_PROG_GCC_TRADITIONAL'
$at_quiet $ECHO_N " 63: AC_PROG_GCC_TRADITIONAL
$ECHO_C"
at_xfail=no
(
echo "63. acc.at:19: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PROG_GCC_TRADITIONAL
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acc.at:19: autoconf -W obsolete"
echo acc.at:19 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:19: autoheader "
echo acc.at:19 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:19: top_srcdir=\$abs_top_srcdir ./configure "
echo acc.at:19 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acc.at:19: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acc.at:19: cat state-env.after"
echo acc.at:19 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acc.at:19: cat state-ls.after"
echo acc.at:19 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
64 ) # 64. acc.at:22: AC_LANG_C
at_setup_line='acc.at:22'
at_desc='AC_LANG_C'
$at_quiet $ECHO_N " 64: AC_LANG_C
$ECHO_C"
at_xfail=no
(
echo "64. acc.at:22: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_LANG_C
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acc.at:22: autoconf "
echo acc.at:22 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:22: autoheader "
echo acc.at:22 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:22: top_srcdir=\$abs_top_srcdir ./configure "
echo acc.at:22 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acc.at:22: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acc.at:22: cat state-env.after"
echo acc.at:22 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acc.at:22: cat state-ls.after"
echo acc.at:22 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acc.at:22: autoupdate "
echo acc.at:22 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:22: autoconf "
echo acc.at:22 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:22: autoheader "
echo acc.at:22 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:22: top_srcdir=\$abs_top_srcdir ./configure "
echo acc.at:22 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acc.at:22: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acc.at:22: cat state-env.after"
echo acc.at:22 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acc.at:22: cat state-ls.after"
echo acc.at:22 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
65 ) # 65. acc.at:23: AC_LANG_CPLUSPLUS
at_setup_line='acc.at:23'
at_desc='AC_LANG_CPLUSPLUS'
$at_quiet $ECHO_N " 65: AC_LANG_CPLUSPLUS
$ECHO_C"
at_xfail=no
(
echo "65. acc.at:23: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_LANG_CPLUSPLUS
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acc.at:23: autoconf "
echo acc.at:23 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:23: autoheader "
echo acc.at:23 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:23: top_srcdir=\$abs_top_srcdir ./configure "
echo acc.at:23 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acc.at:23: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acc.at:23: cat state-env.after"
echo acc.at:23 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acc.at:23: cat state-ls.after"
echo acc.at:23 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acc.at:23: autoupdate "
echo acc.at:23 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:23: autoconf "
echo acc.at:23 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:23: autoheader "
echo acc.at:23 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acc.at:23: top_srcdir=\$abs_top_srcdir ./configure "
echo acc.at:23 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acc.at:23: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acc.at:23: cat state-env.after"
echo acc.at:23 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acc.at:23: cat state-ls.after"
echo acc.at:23 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acc.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-10 ) # Banner 10. fortran.at:3
cat <<\_ATEOF
Fortran low level compiling/preprocessing macros.
_ATEOF
;;
66 ) # 66. fortran.at:52: GNU Fortran 77
at_setup_line='fortran.at:52'
at_desc='GNU Fortran 77'
$at_quiet $ECHO_N " 66: GNU Fortran 77
$ECHO_C"
at_xfail=no
(
echo "66. fortran.at:52: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_LANG(Fortran 77)
AC_LANG_COMPILER
if AC_TRY_COMMAND([$F77 --version | grep GNU >&2]); then
# Be sure to remove files which might be created by compilers that
# don't support --version.
rm -f a.exe a.out
# Has GNU in --version.
test "$G77" != yes &&
AC_MSG_ERROR([failed to recognize GNU Fortran 77 compiler])
else
# Be sure to remove files which might be created by compilers that
# don't support --version.
rm -f a.exe a.out
# Has not.
test "$G77" = yes &&
AC_MSG_ERROR([incorrectly recognized a GNU Fortran 77 compiler])
fi
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "fortran.at:52: autoconf -W obsolete"
echo fortran.at:52 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "fortran.at:52: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "fortran.at:52: autoheader "
echo fortran.at:52 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "fortran.at:52: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "fortran.at:52: top_srcdir=\$abs_top_srcdir ./configure "
echo fortran.at:52 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "fortran.at:52: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/fortran.at:52: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "fortran.at:52: cat state-env.after"
echo fortran.at:52 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "fortran.at:52: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "fortran.at:52: cat state-ls.after"
echo fortran.at:52 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "fortran.at:52: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
67 ) # 67. fortran.at:77: GNU Fortran
at_setup_line='fortran.at:77'
at_desc='GNU Fortran'
$at_quiet $ECHO_N " 67: GNU Fortran
$ECHO_C"
at_xfail=no
(
echo "67. fortran.at:77: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_LANG(Fortran)
AC_LANG_COMPILER
# No Fortran compiler is known not to support "*.f".
AC_FC_SRCEXT([f])
# GNU Fortran is known to support freeform.
AC_FC_FREEFORM([],
[AC_MSG_WARN([Fortran does not accept free-form source])])
if test "$ac_compiler_gnu" = yes; then
case $FCFLAGS in
*-ffree-form*) ;;
*) AC_MSG_ERROR([failed to recognize GNU Fortran's -ffree-form option.]);;
esac
fi
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "fortran.at:77: autoconf -W obsolete"
echo fortran.at:77 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "fortran.at:77: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "fortran.at:77: autoheader "
echo fortran.at:77 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "fortran.at:77: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "fortran.at:77: top_srcdir=\$abs_top_srcdir ./configure "
echo fortran.at:77 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "fortran.at:77: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/fortran.at:77: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "fortran.at:77: cat state-env.after"
echo fortran.at:77 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "fortran.at:77: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "fortran.at:77: cat state-ls.after"
echo fortran.at:77 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "fortran.at:77: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-11 ) # Banner 11. acfortran.at:9
cat <<\_ATEOF
Testing autoconf/fortran macros.
_ATEOF
;;
68 ) # 68. acfortran.at:12: AC_F77_MAIN
at_setup_line='acfortran.at:12'
at_desc='AC_F77_MAIN'
$at_quiet $ECHO_N " 68: AC_F77_MAIN
$ECHO_C"
at_xfail=no
(
echo "68. acfortran.at:12: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_F77_MAIN
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfortran.at:12: autoconf -W obsolete"
echo acfortran.at:12 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfortran.at:12: autoheader "
echo acfortran.at:12 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfortran.at:12: top_srcdir=\$abs_top_srcdir ./configure "
echo acfortran.at:12 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfortran.at:12: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfortran.at:12: cat state-env.after"
echo acfortran.at:12 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfortran.at:12: cat state-ls.after"
echo acfortran.at:12 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
69 ) # 69. acfortran.at:13: AC_F77_WRAPPERS
at_setup_line='acfortran.at:13'
at_desc='AC_F77_WRAPPERS'
$at_quiet $ECHO_N " 69: AC_F77_WRAPPERS
$ECHO_C"
at_xfail=no
(
echo "69. acfortran.at:13: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_F77_WRAPPERS
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfortran.at:13: autoconf -W obsolete"
echo acfortran.at:13 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfortran.at:13: autoheader "
echo acfortran.at:13 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfortran.at:13: top_srcdir=\$abs_top_srcdir ./configure "
echo acfortran.at:13 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfortran.at:13: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfortran.at:13: cat state-env.after"
echo acfortran.at:13 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfortran.at:13: cat state-ls.after"
echo acfortran.at:13 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
70 ) # 70. acfortran.at:14: AC_FC_MAIN
at_setup_line='acfortran.at:14'
at_desc='AC_FC_MAIN'
$at_quiet $ECHO_N " 70: AC_FC_MAIN
$ECHO_C"
at_xfail=no
(
echo "70. acfortran.at:14: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FC_MAIN
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfortran.at:14: autoconf -W obsolete"
echo acfortran.at:14 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfortran.at:14: autoheader "
echo acfortran.at:14 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfortran.at:14: top_srcdir=\$abs_top_srcdir ./configure "
echo acfortran.at:14 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfortran.at:14: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfortran.at:14: cat state-env.after"
echo acfortran.at:14 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfortran.at:14: cat state-ls.after"
echo acfortran.at:14 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
71 ) # 71. acfortran.at:15: AC_FC_WRAPPERS
at_setup_line='acfortran.at:15'
at_desc='AC_FC_WRAPPERS'
$at_quiet $ECHO_N " 71: AC_FC_WRAPPERS
$ECHO_C"
at_xfail=no
(
echo "71. acfortran.at:15: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FC_WRAPPERS
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfortran.at:15: autoconf -W obsolete"
echo acfortran.at:15 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfortran.at:15: autoheader "
echo acfortran.at:15 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfortran.at:15: top_srcdir=\$abs_top_srcdir ./configure "
echo acfortran.at:15 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfortran.at:15: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfortran.at:15: cat state-env.after"
echo acfortran.at:15 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfortran.at:15: cat state-ls.after"
echo acfortran.at:15 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
72 ) # 72. acfortran.at:16: AC_PROG_F77_C_O
at_setup_line='acfortran.at:16'
at_desc='AC_PROG_F77_C_O'
$at_quiet $ECHO_N " 72: AC_PROG_F77_C_O
$ECHO_C"
at_xfail=no
(
echo "72. acfortran.at:16: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PROG_F77_C_O
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfortran.at:16: autoconf -W obsolete"
echo acfortran.at:16 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfortran.at:16: autoheader "
echo acfortran.at:16 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfortran.at:16: top_srcdir=\$abs_top_srcdir ./configure "
echo acfortran.at:16 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfortran.at:16: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfortran.at:16: cat state-env.after"
echo acfortran.at:16 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfortran.at:16: cat state-ls.after"
echo acfortran.at:16 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
73 ) # 73. acfortran.at:17: AC_PROG_FC_C_O
at_setup_line='acfortran.at:17'
at_desc='AC_PROG_FC_C_O'
$at_quiet $ECHO_N " 73: AC_PROG_FC_C_O
$ECHO_C"
at_xfail=no
(
echo "73. acfortran.at:17: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PROG_FC_C_O
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfortran.at:17: autoconf -W obsolete"
echo acfortran.at:17 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfortran.at:17: autoheader "
echo acfortran.at:17 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfortran.at:17: top_srcdir=\$abs_top_srcdir ./configure "
echo acfortran.at:17 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfortran.at:17: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfortran.at:17: cat state-env.after"
echo acfortran.at:17 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfortran.at:17: cat state-ls.after"
echo acfortran.at:17 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
74 ) # 74. acfortran.at:20: AC_LANG_FORTRAN77
at_setup_line='acfortran.at:20'
at_desc='AC_LANG_FORTRAN77'
$at_quiet $ECHO_N " 74: AC_LANG_FORTRAN77
$ECHO_C"
at_xfail=no
(
echo "74. acfortran.at:20: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_LANG_FORTRAN77
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfortran.at:20: autoconf "
echo acfortran.at:20 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfortran.at:20: autoheader "
echo acfortran.at:20 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfortran.at:20: top_srcdir=\$abs_top_srcdir ./configure "
echo acfortran.at:20 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfortran.at:20: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfortran.at:20: cat state-env.after"
echo acfortran.at:20 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfortran.at:20: cat state-ls.after"
echo acfortran.at:20 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acfortran.at:20: autoupdate "
echo acfortran.at:20 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfortran.at:20: autoconf "
echo acfortran.at:20 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfortran.at:20: autoheader "
echo acfortran.at:20 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfortran.at:20: top_srcdir=\$abs_top_srcdir ./configure "
echo acfortran.at:20 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfortran.at:20: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfortran.at:20: cat state-env.after"
echo acfortran.at:20 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfortran.at:20: cat state-ls.after"
echo acfortran.at:20 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfortran.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-12 ) # Banner 12. semantics.at:3
cat <<\_ATEOF
Semantics.
_ATEOF
;;
75 ) # 75. semantics.at:73: AC_CHECK_LIB
at_setup_line='semantics.at:73'
at_desc='AC_CHECK_LIB'
$at_quiet $ECHO_N " 75: AC_CHECK_LIB
$ECHO_C"
at_xfail=no
(
echo "75. semantics.at:73: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_TRY_LINK_FUNC(cos,
AC_MSG_ERROR([`cos' is in `libc'], 77))
AC_CHECK_LIB(m, cos,,
AC_MSG_ERROR([cannot find `cos' in `libm']))
# No kidding, using variables was broken in 2.50 :(
ac_sin=sin
AC_CHECK_LIB(m, $ac_sin,,
AC_MSG_ERROR([cannot find `\$ac_sin' (= `$ac_sin') in `libm']))
ac_m=m
AC_CHECK_LIB($ac_m, acos,,
AC_MSG_ERROR([cannot find `acos' in `\$ac_m' (= `$ac_m')]))
ac_asin=asin
AC_CHECK_LIB($ac_m, $ac_asin,,
AC_MSG_ERROR([cannot find `\$ac_asin' (= `$ac_asin') in `\$ac_m' (=
`$at_m')]))
# But if the bug is in the caching mechanism, then be sure we
# correctly detect failures.
AC_CHECK_LIB(m, cossack,
AC_MSG_ERROR([found `cossack' in `libm']))
# No kidding, using variables was broken in 2.50 :(
ac_sinner=sinner
AC_CHECK_LIB(m, $ac_sinner,
AC_MSG_ERROR([found `\$ac_sinner' (= `$ac_sinner') in `libm']))
ac_m=m
AC_CHECK_LIB($ac_m, acossack,
AC_MSG_ERROR([found `acossack' in `\$ac_m' (= `$ac_m')]))
ac_asinner=asinner
AC_CHECK_LIB($ac_m, $ac_asinner,
AC_MSG_ERROR([found `\$ac_asinner' (= `$ac_asinner') in `\$ac_m' (=
`$at_m')]))
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "semantics.at:73: autoconf -W obsolete"
echo semantics.at:73 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:73: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:73: autoheader "
echo semantics.at:73 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:73: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:73: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:73 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:73: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:73: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "semantics.at:73: cat state-env.after"
echo semantics.at:73 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:73: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "semantics.at:73: cat state-ls.after"
echo semantics.at:73 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:73: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
76 ) # 76. semantics.at:95: AC_SEARCH_LIBS
at_setup_line='semantics.at:95'
at_desc='AC_SEARCH_LIBS'
$at_quiet $ECHO_N " 76: AC_SEARCH_LIBS
$ECHO_C"
at_xfail=no
(
echo "76. semantics.at:95: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_SEARCH_LIBS(cos, oser m ust,,
AC_MSG_ERROR([cannot find `cos']))
case "$ac_cv_search_cos" in
-loser|-lust) AC_MSG_ERROR(jeez, $ac_cv_search_cos must be a cool library!) ;;
esac
AC_SEARCH_LIBS(printf, oser c ust,,
AC_MSG_ERROR([cannot find `printf']))
case "$ac_cv_search_printf" in
-loser|-lust) AC_MSG_ERROR(jeez, $ac_cv_search_printf must be a cool
library!) ;;
-lc) AC_MSG_ERROR(huh, you need to give -lc?)
esac
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "semantics.at:95: autoconf -W obsolete"
echo semantics.at:95 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:95: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:95: autoheader "
echo semantics.at:95 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:95: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:95: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:95 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:95: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:95: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "semantics.at:95: cat state-env.after"
echo semantics.at:95 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:95: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "semantics.at:95: cat state-ls.after"
echo semantics.at:95 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:95: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
77 ) # 77. semantics.at:108: AC_CHECK_DECLS
at_setup_line='semantics.at:108'
at_desc='AC_CHECK_DECLS'
$at_quiet $ECHO_N " 77: AC_CHECK_DECLS
$ECHO_C"
at_xfail=no
(
echo "77. semantics.at:108: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_CHECK_DECLS([yes, no],,,
[int yes = 1;])
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "semantics.at:108: autoconf -W obsolete"
echo semantics.at:108 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:108: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:108: autoheader "
echo semantics.at:108 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:108: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:108: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:108 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:108: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:108: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "semantics.at:108: cat state-env.after"
echo semantics.at:108 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:108: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "semantics.at:108: cat state-ls.after"
echo semantics.at:108 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:108: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
echo "semantics.at:108: sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h"
echo semantics.at:108 >$at_check_line_file
( $at_traceon; sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "#define HAVE_DECL_NO 0
#define HAVE_DECL_YES 1
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:108: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
78 ) # 78. semantics.at:120: AC_CHECK_FUNCS
at_setup_line='semantics.at:120'
at_desc='AC_CHECK_FUNCS'
$at_quiet $ECHO_N " 78: AC_CHECK_FUNCS
$ECHO_C"
at_xfail=no
(
echo "78. semantics.at:120: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_CHECK_FUNCS(printf autoconf_ftnirp)
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "semantics.at:120: autoconf -W obsolete"
echo semantics.at:120 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:120: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:120: autoheader "
echo semantics.at:120 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:120: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:120: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:120 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:120: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:120: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "semantics.at:120: cat state-env.after"
echo semantics.at:120 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:120: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "semantics.at:120: cat state-ls.after"
echo semantics.at:120 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:120: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
echo "semantics.at:120: sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h"
echo semantics.at:120 >$at_check_line_file
( $at_traceon; sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "/* #undef HAVE_AUTOCONF_FTNIRP */
#define HAVE_PRINTF 1
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:120: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
79 ) # 79. semantics.at:128: AC_REPLACE_FUNCS
at_setup_line='semantics.at:128'
at_desc='AC_REPLACE_FUNCS'
$at_quiet $ECHO_N " 79: AC_REPLACE_FUNCS
$ECHO_C"
at_xfail=no
(
echo "79. semantics.at:128: testing config.libobjs..."
$at_traceon
cat >config.in <<'_ATEOF'
@LIBOBJS@
_ATEOF
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_CONFIG_FILES(config.libobjs:config.in)
AC_REPLACE_FUNCS(printf autoconf_ftnirp)
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "semantics.at:138: autoconf -W obsolete"
echo semantics.at:138 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:138: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:139: autoheader "
echo semantics.at:139 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:139: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:140: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:140 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:140: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:140: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "semantics.at:141: cat state-env.after"
echo semantics.at:141 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:141: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "semantics.at:141: cat state-ls.after"
echo semantics.at:141 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:141: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
echo "semantics.at:145: sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h"
echo semantics.at:145 >$at_check_line_file
( $at_traceon; sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "/* #undef HAVE_AUTOCONF_FTNIRP */
#define HAVE_PRINTF 1
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:145: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:149: sed 's/ */ /g;s/^ //;s/ \$//' config.libobjs"
echo semantics.at:149 >$at_check_line_file
( $at_traceon; sed 's/ */ /g;s/^ //;s/ $//' config.libobjs ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "autoconf_ftnirp\$U.o
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:149: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
80 ) # 80. semantics.at:163: AC_CHECK_HEADERS
at_setup_line='semantics.at:163'
at_desc='AC_CHECK_HEADERS'
$at_quiet $ECHO_N " 80: AC_CHECK_HEADERS
$ECHO_C"
at_xfail=no
(
echo "80. semantics.at:163: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_CHECK_HEADERS(stdio.h autoconf_io.h)
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "semantics.at:163: autoconf -W obsolete"
echo semantics.at:163 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:163: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:163: autoheader "
echo semantics.at:163 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:163: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:163: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:163 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:163: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:163: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "semantics.at:163: cat state-env.after"
echo semantics.at:163 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:163: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "semantics.at:163: cat state-ls.after"
echo semantics.at:163 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:163: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
echo "semantics.at:163: sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h"
echo semantics.at:163 >$at_check_line_file
( $at_traceon; sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "/* #undef HAVE_AUTOCONF_IO_H */
#define HAVE_STDIO_H 1
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:163: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
81 ) # 81. semantics.at:170: AC_CHECK_HEADERS_OLD
at_setup_line='semantics.at:170'
at_desc='AC_CHECK_HEADERS_OLD'
$at_quiet $ECHO_N " 81: AC_CHECK_HEADERS_OLD
$ECHO_C"
at_xfail=no
(
echo "81. semantics.at:170: testing header1.h header2.h..."
$at_traceon
cat >header1.h <<'_ATEOF'
typedef int foo;
_ATEOF
cat >header2.h <<'_ATEOF'
typedef foo bar;
_ATEOF
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
CPPFLAGS="$CPPFLAGS -I."
AC_CHECK_HEADERS(header2.h, , , -)
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "semantics.at:184: autoconf -W obsolete"
echo semantics.at:184 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:184: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:185: autoheader "
echo semantics.at:185 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:185: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:186: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:186 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:186: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:186: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "semantics.at:187: cat state-env.after"
echo semantics.at:187 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:187: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "semantics.at:187: cat state-ls.after"
echo semantics.at:187 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:187: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
echo "semantics.at:190: sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h"
echo semantics.at:190 >$at_check_line_file
( $at_traceon; sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "#define HAVE_HEADER2_H 1
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:190: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
82 ) # 82. semantics.at:199: AC_CHECK_HEADERS_NEW
at_setup_line='semantics.at:199'
at_desc='AC_CHECK_HEADERS_NEW'
$at_quiet $ECHO_N " 82: AC_CHECK_HEADERS_NEW
$ECHO_C"
at_xfail=no
(
echo "82. semantics.at:199: testing header1.h header2.h header3.h..."
$at_traceon
cat >header1.h <<'_ATEOF'
typedef int foo;
_ATEOF
cat >header2.h <<'_ATEOF'
typedef foo bar;
_ATEOF
cat >header3.h <<'_ATEOF'
typedef bar wow;
_ATEOF
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
CPPFLAGS="$CPPFLAGS -I."
AC_CHECK_HEADERS(header2.h header3.h, , , [#include "header1.h"])
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "semantics.at:217: autoconf -W obsolete"
echo semantics.at:217 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:217: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:218: autoheader "
echo semantics.at:218 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:218: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:219: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:219 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:219: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:219: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "semantics.at:220: cat state-env.after"
echo semantics.at:220 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:220: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "semantics.at:220: cat state-ls.after"
echo semantics.at:220 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:220: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
echo "semantics.at:224: sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h"
echo semantics.at:224 >$at_check_line_file
( $at_traceon; sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "#define HAVE_HEADER2_H 1
/* #undef HAVE_HEADER3_H */
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:224: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
83 ) # 83. semantics.at:239: AC_CHECK_MEMBERS
at_setup_line='semantics.at:239'
at_desc='AC_CHECK_MEMBERS'
$at_quiet $ECHO_N " 83: AC_CHECK_MEMBERS
$ECHO_C"
at_xfail=no
(
echo "83. semantics.at:239: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_CHECK_MEMBERS([struct yes_s.yes, struct yes_s.no],,,
[struct yes_s { int yes ;} ;])
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "semantics.at:239: autoconf -W obsolete"
echo semantics.at:239 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:239: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:239: autoheader "
echo semantics.at:239 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:239: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:239: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:239 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:239: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:239: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "semantics.at:239: cat state-env.after"
echo semantics.at:239 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:239: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "semantics.at:239: cat state-ls.after"
echo semantics.at:239 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:239: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
echo "semantics.at:239: sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h"
echo semantics.at:239 >$at_check_line_file
( $at_traceon; sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "/* #undef HAVE_STRUCT_YES_S_NO */
#define HAVE_STRUCT_YES_S_YES 1
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:239: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
84 ) # 84. semantics.at:256: AC_CHECK_SIZEOF
at_setup_line='semantics.at:256'
at_desc='AC_CHECK_SIZEOF'
$at_quiet $ECHO_N " 84: AC_CHECK_SIZEOF
$ECHO_C"
at_xfail=no
(
echo "84. semantics.at:256: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_CHECK_SIZEOF(char)
AC_CHECK_SIZEOF(charchar,,
[[#include <stdio.h>
typedef char charchar[2];]])
AC_CHECK_SIZEOF(charcharchar)
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "semantics.at:256: autoconf -W obsolete"
echo semantics.at:256 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:256: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:256: autoheader "
echo semantics.at:256 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:256: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:256: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:256 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:256: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:256: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "semantics.at:256: cat state-env.after"
echo semantics.at:256 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:256: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "semantics.at:256: cat state-ls.after"
echo semantics.at:256 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:256: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
echo "semantics.at:256: sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h"
echo semantics.at:256 >$at_check_line_file
( $at_traceon; sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "#define SIZEOF_CHAR 1
#define SIZEOF_CHARCHAR 2
#define SIZEOF_CHARCHARCHAR 0
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:256: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
85 ) # 85. semantics.at:274: AC_CHECK_SIZEOF
at_setup_line='semantics.at:274'
at_desc='AC_CHECK_SIZEOF'
$at_quiet $ECHO_N " 85: AC_CHECK_SIZEOF
$ECHO_C"
at_xfail=no
(
echo "85. semantics.at:274: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
# Exercise the code used when cross-compiling
cross_compiling=yes
AC_CHECK_SIZEOF(char)
AC_CHECK_SIZEOF(charchar,,
[[#include <stdio.h>
typedef char charchar[2];]])
AC_CHECK_SIZEOF(charcharchar)
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "semantics.at:274: autoconf -W obsolete"
echo semantics.at:274 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:274: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:274: autoheader "
echo semantics.at:274 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:274: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:274: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:274 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:274: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:274: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "semantics.at:274: cat state-env.after"
echo semantics.at:274 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:274: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "semantics.at:274: cat state-ls.after"
echo semantics.at:274 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:274: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
echo "semantics.at:274: sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h"
echo semantics.at:274 >$at_check_line_file
( $at_traceon; sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "#define SIZEOF_CHAR 1
#define SIZEOF_CHARCHAR 2
#define SIZEOF_CHARCHARCHAR 0
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:274: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
86 ) # 86. semantics.at:290: AC_CHECK_TYPES
at_setup_line='semantics.at:290'
at_desc='AC_CHECK_TYPES'
$at_quiet $ECHO_N " 86: AC_CHECK_TYPES
$ECHO_C"
at_xfail=no
(
echo "86. semantics.at:290: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_CHECK_TYPES([int, struct yes_s, struct no_s],,,
[struct yes_s { int yes ;} ;])
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "semantics.at:290: autoconf -W obsolete"
echo semantics.at:290 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:290: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:290: autoheader "
echo semantics.at:290 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:290: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:290: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:290 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:290: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:290: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "semantics.at:290: cat state-env.after"
echo semantics.at:290 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:290: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "semantics.at:290: cat state-ls.after"
echo semantics.at:290 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:290: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
echo "semantics.at:290: sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h"
echo semantics.at:290 >$at_check_line_file
( $at_traceon; sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "#define HAVE_INT 1
/* #undef HAVE_STRUCT_NO_S */
#define HAVE_STRUCT_YES_S 1
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:290: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
87 ) # 87. semantics.at:297: AC_CHECK_TYPES: backward compatibility
at_setup_line='semantics.at:297'
at_desc='AC_CHECK_TYPES: backward compatibility'
$at_quiet $ECHO_N " 87: AC_CHECK_TYPES: backward compatibility
$ECHO_C"
at_xfail=no
(
echo "87. semantics.at:297: testing ..."
$at_traceon
cat >configure.ac <<'_ATEOF'
AC_INIT
define([_AC_CHECK_TYPE_NEW], [NEW])
define([_AC_CHECK_TYPE_OLD], [OLD])
#(cut-from-here
AC_CHECK_TYPE(ptrdiff_t)
AC_CHECK_TYPE(ptrdiff_t, int)
AC_CHECK_TYPE(quad, long long)
AC_CHECK_TYPE(table_42, [int[42]])
# Nice machine!
AC_CHECK_TYPE(uint8_t, uint65536_t)
AC_CHECK_TYPE(a,b,c,d)
#to-here)
AC_OUTPUT
_ATEOF
$at_traceoff
echo "semantics.at:315: autoconf "
echo semantics.at:315 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:315: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:324: sed -e '/^#(cut-from-here/,/^#to-here)/!d' -e '/^#/d'
configure"
echo semantics.at:324 >$at_check_line_file
( $at_traceon; sed -e '/^#(cut-from-here/,/^#to-here)/!d' -e '/^#/d' configure
) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "NEW
OLD
OLD
OLD
OLD
NEW
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:324: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
88 ) # 88. semantics.at:342: AC_CHECK_FILES
at_setup_line='semantics.at:342'
at_desc='AC_CHECK_FILES'
$at_quiet $ECHO_N " 88: AC_CHECK_FILES
$ECHO_C"
at_xfail=no
(
echo "88. semantics.at:342: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
touch at-exists1 at-exists2
ac_exists2=at-exists2
ac_missing2=at-missing2
AC_CHECK_FILES(at-exists1 at-missing1 $ac_exists2 $ac_missing2)
rm at-exists1 at-exists2
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "semantics.at:342: autoconf -W obsolete"
echo semantics.at:342 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:342: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:342: autoheader "
echo semantics.at:342 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:342: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:342: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:342 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:342: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:342: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "semantics.at:342: cat state-env.after"
echo semantics.at:342 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:342: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "semantics.at:342: cat state-ls.after"
echo semantics.at:342 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:342: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
echo "semantics.at:342: sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h"
echo semantics.at:342 >$at_check_line_file
( $at_traceon; sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "#define HAVE_AT_EXISTS1 1
/* #undef HAVE_AT_MISSING1 */
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:342: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
89 ) # 89. semantics.at:376: AC_CHECK_PROG & AC_CHECK_PROGS
at_setup_line='semantics.at:376'
at_desc='AC_CHECK_PROG & AC_CHECK_PROGS'
$at_quiet $ECHO_N " 89: AC_CHECK_PROG & AC_CHECK_PROGS
$ECHO_C"
at_xfail=no
(
echo "89. semantics.at:376: testing path..."
$at_traceon
mkdir path
cat >path/tool <<\EOF
#! /bin/sh
exit 0
EOF
chmod +x path/tool
for i in 1 2 3 4 5 6
do
mkdir path/$i
cp path/tool path/$i
done
cp path/tool path/6/better
cat >configure.ac <<'_ATEOF'
AC_INIT
pwd=`pwd`
p="1${PATH_SEPARATOR}2${PATH_SEPARATOR}3${PATH_SEPARATOR}4${PATH_SEPARATOR}5${PATH_SEPARATOR}6"
path=`echo $p | sed -e 's,\([[0-9]]\),'"$pwd"'/path/\1,g'`
fail=false
AC_CHECK_PROG(TOOL1, tool, found, not-found, $path)
test "$TOOL1" = found || fail=:
# Yes, the semantics of this macro is weird.
AC_CHECK_PROG(TOOL2, tool,, not-found, $path)
test "$TOOL2" = not-found || fail=:
AC_CHECK_PROG(TOOL3, tool, tool, not-found, $path, $pwd/path/1/tool)
test "$TOOL3" = $pwd/path/2/tool || fail=:
AC_CHECK_PROG(TOOL4, better, better, not-found, $path, $pwd/path/1/tool)
test "$TOOL4" = better || fail=:
# When a tool is not found, and no value is given for not-found,
# the variable is left empty.
AC_CHECK_PROGS(TOOL5, missing,, $path)
test -z "$TOOL5" || fail=:
AC_CHECK_PROGS(TOOL6, missing tool better,, $path)
test "$TOOL6" = tool || fail=:
# No AC-OUTPUT, we don't need config.status.
$fail &&
AC_MSG_ERROR([[CHECK_PROG failed]])
AS_EXIT(0)
_ATEOF
$at_traceoff
echo "semantics.at:414: autoconf "
echo semantics.at:414 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:414: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:415: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:415 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:415: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:415: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
90 ) # 90. semantics.at:425: AC_C_BIGENDIAN
at_setup_line='semantics.at:425'
at_desc='AC_C_BIGENDIAN'
$at_quiet $ECHO_N " 90: [AC_C_BIGENDIAN]
$ECHO_C"
at_xfail=no
(
echo "90. semantics.at:425: testing at-endian..."
$at_traceon
# Make sure that AC_C_BIGENDIAN behave the same whether we are
# cross-compiling or not.
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_C_BIGENDIAN(ac_endian=big,ac_endian=little,ac_endian=unknown)
echo $ac_endian > at-endian
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "semantics.at:434: autoconf "
echo semantics.at:434 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:434: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:434: autoheader "
echo semantics.at:434 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:434: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:434: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:434 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:434: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:434: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "semantics.at:434: cat state-env.after"
echo semantics.at:434 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:434: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "semantics.at:434: cat state-ls.after"
echo semantics.at:434 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:434: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm -f config.hin # So that next run of autoheader is quiet.
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
cross_compiling=yes
AC_C_BIGENDIAN(ac_endian=big,ac_endian=little,ac_endian=unknown)
ac_prevendian=`cat at-endian`
# Check that we have found the same result as in the previous run
# or unknown (because the cross-compiling check is allowed to fail;
# although it might be interesting to suppress this comparison, just
# to know on which system it fails if it ever does).
if test $ac_endian != $ac_prevendian && test $ac_endian != unknown; then
AC_MSG_ERROR(unexpected endianness: first run found '$ac_prevendian' but
second run found '$ac_endian')
fi
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "semantics.at:448: autoconf "
echo semantics.at:448 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:448: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:448: autoheader "
echo semantics.at:448 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:448: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:448: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:448 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:448: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:448: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "semantics.at:448: cat state-env.after"
echo semantics.at:448 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:448: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "semantics.at:448: cat state-ls.after"
echo semantics.at:448 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:448: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
# Make sure AC_C_BIGENDIAN with no argument will define WORDS_BIGENDIAN
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_C_BIGENDIAN
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "semantics.at:452: autoheader "
echo semantics.at:452 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:452: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:453: grep WORDS_BIGENDIAN config.hin"
echo semantics.at:453 >$at_check_line_file
( $at_traceon; grep WORDS_BIGENDIAN config.hin ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:453: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
91 ) # 91. semantics.at:462: AC_PATH_PROG & AC_PATH_PROGS
at_setup_line='semantics.at:462'
at_desc='AC_PATH_PROG & AC_PATH_PROGS'
$at_quiet $ECHO_N " 91: [AC_PATH_PROG & AC_PATH_PROGS]
$ECHO_C"
at_xfail=no
(
echo "91. semantics.at:462: testing path..."
$at_traceon
mkdir path
cat >path/tool <<\EOF
#! /bin/sh
exit 0
EOF
chmod +x path/tool
for i in 1 2 3 4 5 6
do
mkdir path/$i
cp path/tool path/$i
done
cp path/tool path/6/better
cat >configure.ac <<'_ATEOF'
AC_INIT
pwd=`pwd`
p="1${PATH_SEPARATOR}2${PATH_SEPARATOR}3${PATH_SEPARATOR}4${PATH_SEPARATOR}5${PATH_SEPARATOR}6"
path=`echo $p | sed -e 's,\([[0-9]]\),'"$pwd"'/path/\1,g'`
fail=false
AC_PATH_PROG(TOOL1, tool, not-found, $path)
test "$TOOL1" = $pwd/path/1/tool || fail=:
AC_PATH_PROG(TOOL2, better, not-found, $path)
test "$TOOL2" = $pwd/path/6/better || fail=:
# When a tool is not found, and no value is given for not-found,
# the variable is left empty.
AC_PATH_PROGS(TOOL3, missing,, $path)
test -z "$TOOL3" || fail=:
AC_PATH_PROGS(TOOL4, missing tool better,, $path)
test "$TOOL4" = $pwd/path/1/tool || fail=:
# No AC-OUTPUT, we don't need config.status.
$fail &&
AC_MSG_ERROR([[PATH_PROG failed]])
AS_EXIT(0)
_ATEOF
$at_traceoff
echo "semantics.at:493: autoconf "
echo semantics.at:493 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:493: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:494: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:494 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:494: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:494: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
92 ) # 92. semantics.at:506: AC_PATH_XTRA
at_setup_line='semantics.at:506'
at_desc='AC_PATH_XTRA'
$at_quiet $ECHO_N " 92: AC_PATH_XTRA
$ECHO_C"
at_xfail=no
(
echo "92. semantics.at:506: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PATH_XTRA
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "semantics.at:508: autoconf "
echo semantics.at:508 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:508: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:508: autoheader "
echo semantics.at:508 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:508: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:508: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:508 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:508: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:508: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "semantics.at:508: cat state-env.after"
echo semantics.at:508 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:508: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "semantics.at:508: cat state-ls.after"
echo semantics.at:508 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:508: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
# Check X_DISPLAY_MISSING.
$at_traceoff
echo "semantics.at:511: top_srcdir=\$abs_top_srcdir ./configure --without-x"
echo semantics.at:511 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure --without-x ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:511: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:511: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:514: sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h"
echo semantics.at:514 >$at_check_line_file
( $at_traceon; sed '/#/!d
/INTTYPES/d
/MEMORY/d
/PACKAGE_/d
/STDC_HEADERS/d
/STDINT/d
/STDLIB/d
/STRING/d
/SYS_STAT/d
/SYS_TYPES/d
/UNISTD/d' config.h ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo >>$at_stdout; echo "#define X_DISPLAY_MISSING 1
" | $at_diff - $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:514: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
93 ) # 93. semantics.at:524: AC_SYS_RESTARTABLE_SYSCALLS
at_setup_line='semantics.at:524'
at_desc='AC_SYS_RESTARTABLE_SYSCALLS'
$at_quiet $ECHO_N " 93: AC_SYS_RESTARTABLE_SYSCALLS
$ECHO_C"
at_xfail=no
(
echo "93. semantics.at:524: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_SYS_RESTARTABLE_SYSCALLS
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "semantics.at:524: autoconf -W no-obsolete"
echo semantics.at:524 >$at_check_line_file
( $at_traceon; autoconf -W no-obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:524: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:524: autoheader "
echo semantics.at:524 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:524: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:524: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:524 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:524: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:524: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "semantics.at:524: cat state-env.after"
echo semantics.at:524 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:524: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "semantics.at:524: cat state-ls.after"
echo semantics.at:524 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:524: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
94 ) # 94. semantics.at:525: AC_FUNC_WAIT3
at_setup_line='semantics.at:525'
at_desc='AC_FUNC_WAIT3'
$at_quiet $ECHO_N " 94: AC_FUNC_WAIT3
$ECHO_C"
at_xfail=no
(
echo "94. semantics.at:525: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_WAIT3
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "semantics.at:525: autoconf -W no-obsolete"
echo semantics.at:525 >$at_check_line_file
( $at_traceon; autoconf -W no-obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:525: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:525: autoheader "
echo semantics.at:525 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:525: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "semantics.at:525: top_srcdir=\$abs_top_srcdir ./configure "
echo semantics.at:525 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:525: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/semantics.at:525: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "semantics.at:525: cat state-env.after"
echo semantics.at:525 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:525: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "semantics.at:525: cat state-ls.after"
echo semantics.at:525 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "semantics.at:525: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-13 ) # Banner 13. acgeneral.at:9
cat <<\_ATEOF
Testing autoconf/general macros.
_ATEOF
;;
95 ) # 95. acgeneral.at:12: AC_ARG_ENABLE
at_setup_line='acgeneral.at:12'
at_desc='AC_ARG_ENABLE'
$at_quiet $ECHO_N " 95: AC_ARG_ENABLE
$ECHO_C"
at_xfail=no
(
echo "95. acgeneral.at:12: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_ARG_ENABLE
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acgeneral.at:12: autoconf -W obsolete"
echo acgeneral.at:12 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:12: autoheader "
echo acgeneral.at:12 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:12: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:12 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:12: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:12: cat state-env.after"
echo acgeneral.at:12 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:12: cat state-ls.after"
echo acgeneral.at:12 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
96 ) # 96. acgeneral.at:13: AC_ARG_PROGRAM
at_setup_line='acgeneral.at:13'
at_desc='AC_ARG_PROGRAM'
$at_quiet $ECHO_N " 96: AC_ARG_PROGRAM
$ECHO_C"
at_xfail=no
(
echo "96. acgeneral.at:13: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_ARG_PROGRAM
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acgeneral.at:13: autoconf -W obsolete"
echo acgeneral.at:13 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:13: autoheader "
echo acgeneral.at:13 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:13: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:13 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:13: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:13: cat state-env.after"
echo acgeneral.at:13 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:13: cat state-ls.after"
echo acgeneral.at:13 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
97 ) # 97. acgeneral.at:14: AC_ARG_WITH
at_setup_line='acgeneral.at:14'
at_desc='AC_ARG_WITH'
$at_quiet $ECHO_N " 97: AC_ARG_WITH
$ECHO_C"
at_xfail=no
(
echo "97. acgeneral.at:14: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_ARG_WITH
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acgeneral.at:14: autoconf -W obsolete"
echo acgeneral.at:14 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:14: autoheader "
echo acgeneral.at:14 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:14: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:14 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:14: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:14: cat state-env.after"
echo acgeneral.at:14 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:14: cat state-ls.after"
echo acgeneral.at:14 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
98 ) # 98. acgeneral.at:15: AC_CANONICAL_TARGET
at_setup_line='acgeneral.at:15'
at_desc='AC_CANONICAL_TARGET'
$at_quiet $ECHO_N " 98: AC_CANONICAL_TARGET
$ECHO_C"
at_xfail=no
(
echo "98. acgeneral.at:15: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_CANONICAL_TARGET
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acgeneral.at:15: autoconf -W obsolete"
echo acgeneral.at:15 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:15: autoheader "
echo acgeneral.at:15 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:15: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:15 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:15: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:15: cat state-env.after"
echo acgeneral.at:15 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:15: cat state-ls.after"
echo acgeneral.at:15 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
99 ) # 99. acgeneral.at:16: AC_EGREP_CPP
at_setup_line='acgeneral.at:16'
at_desc='AC_EGREP_CPP'
$at_quiet $ECHO_N " 99: AC_EGREP_CPP
$ECHO_C"
at_xfail=no
(
echo "99. acgeneral.at:16: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_EGREP_CPP
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acgeneral.at:16: autoconf -W obsolete"
echo acgeneral.at:16 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:16: autoheader "
echo acgeneral.at:16 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:16: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:16 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:16: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:16: cat state-env.after"
echo acgeneral.at:16 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:16: cat state-ls.after"
echo acgeneral.at:16 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
100 ) # 100. acgeneral.at:17: AC_EGREP_HEADER
at_setup_line='acgeneral.at:17'
at_desc='AC_EGREP_HEADER'
$at_quiet $ECHO_N "100: AC_EGREP_HEADER
$ECHO_C"
at_xfail=no
(
echo "100. acgeneral.at:17: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_EGREP_HEADER
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acgeneral.at:17: autoconf -W obsolete"
echo acgeneral.at:17 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:17: autoheader "
echo acgeneral.at:17 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:17: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:17 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:17: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:17: cat state-env.after"
echo acgeneral.at:17 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:17: cat state-ls.after"
echo acgeneral.at:17 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
101 ) # 101. acgeneral.at:18: AC_PREFIX_DEFAULT
at_setup_line='acgeneral.at:18'
at_desc='AC_PREFIX_DEFAULT'
$at_quiet $ECHO_N "101: AC_PREFIX_DEFAULT
$ECHO_C"
at_xfail=no
(
echo "101. acgeneral.at:18: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PREFIX_DEFAULT
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acgeneral.at:18: autoconf -W obsolete"
echo acgeneral.at:18 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:18: autoheader "
echo acgeneral.at:18 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:18: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:18 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:18: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:18: cat state-env.after"
echo acgeneral.at:18 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:18: cat state-ls.after"
echo acgeneral.at:18 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
102 ) # 102. acgeneral.at:21: AC_CHECKING
at_setup_line='acgeneral.at:21'
at_desc='AC_CHECKING'
$at_quiet $ECHO_N "102: AC_CHECKING
$ECHO_C"
at_xfail=no
(
echo "102. acgeneral.at:21: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_CHECKING
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acgeneral.at:21: autoconf "
echo acgeneral.at:21 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:21: autoheader "
echo acgeneral.at:21 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:21: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:21 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:21: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:21: cat state-env.after"
echo acgeneral.at:21 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:21: cat state-ls.after"
echo acgeneral.at:21 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acgeneral.at:21: autoupdate "
echo acgeneral.at:21 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:21: autoconf "
echo acgeneral.at:21 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:21: autoheader "
echo acgeneral.at:21 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:21: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:21 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:21: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:21: cat state-env.after"
echo acgeneral.at:21 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:21: cat state-ls.after"
echo acgeneral.at:21 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
103 ) # 103. acgeneral.at:22: AC_COMPILE_CHECK
at_setup_line='acgeneral.at:22'
at_desc='AC_COMPILE_CHECK'
$at_quiet $ECHO_N "103: AC_COMPILE_CHECK
$ECHO_C"
at_xfail=no
(
echo "103. acgeneral.at:22: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_COMPILE_CHECK
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acgeneral.at:22: autoconf "
echo acgeneral.at:22 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:22: autoheader "
echo acgeneral.at:22 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:22: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:22 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:22: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:22: cat state-env.after"
echo acgeneral.at:22 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:22: cat state-ls.after"
echo acgeneral.at:22 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acgeneral.at:22: autoupdate "
echo acgeneral.at:22 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:22: autoconf "
echo acgeneral.at:22 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:22: autoheader "
echo acgeneral.at:22 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:22: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:22 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:22: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:22: cat state-env.after"
echo acgeneral.at:22 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:22: cat state-ls.after"
echo acgeneral.at:22 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
104 ) # 104. acgeneral.at:23: AC_ENABLE
at_setup_line='acgeneral.at:23'
at_desc='AC_ENABLE'
$at_quiet $ECHO_N "104: AC_ENABLE
$ECHO_C"
at_xfail=no
(
echo "104. acgeneral.at:23: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_ENABLE
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acgeneral.at:23: autoconf "
echo acgeneral.at:23 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:23: autoheader "
echo acgeneral.at:23 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:23: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:23 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:23: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:23: cat state-env.after"
echo acgeneral.at:23 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:23: cat state-ls.after"
echo acgeneral.at:23 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acgeneral.at:23: autoupdate "
echo acgeneral.at:23 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:23: autoconf "
echo acgeneral.at:23 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:23: autoheader "
echo acgeneral.at:23 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:23: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:23 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:23: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:23: cat state-env.after"
echo acgeneral.at:23 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:23: cat state-ls.after"
echo acgeneral.at:23 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
105 ) # 105. acgeneral.at:24: AC_TRY_COMPILE
at_setup_line='acgeneral.at:24'
at_desc='AC_TRY_COMPILE'
$at_quiet $ECHO_N "105: AC_TRY_COMPILE
$ECHO_C"
at_xfail=no
(
echo "105. acgeneral.at:24: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_TRY_COMPILE
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acgeneral.at:24: autoconf "
echo acgeneral.at:24 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:24: autoheader "
echo acgeneral.at:24 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:24: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:24 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:24: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:24: cat state-env.after"
echo acgeneral.at:24 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:24: cat state-ls.after"
echo acgeneral.at:24 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acgeneral.at:24: autoupdate "
echo acgeneral.at:24 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:24: autoconf "
echo acgeneral.at:24 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:24: autoheader "
echo acgeneral.at:24 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:24: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:24 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:24: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:24: cat state-env.after"
echo acgeneral.at:24 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:24: cat state-ls.after"
echo acgeneral.at:24 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
106 ) # 106. acgeneral.at:25: AC_TRY_CPP
at_setup_line='acgeneral.at:25'
at_desc='AC_TRY_CPP'
$at_quiet $ECHO_N "106: AC_TRY_CPP
$ECHO_C"
at_xfail=no
(
echo "106. acgeneral.at:25: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_TRY_CPP
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acgeneral.at:25: autoconf "
echo acgeneral.at:25 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:25: autoheader "
echo acgeneral.at:25 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:25: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:25 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:25: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:25: cat state-env.after"
echo acgeneral.at:25 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:25: cat state-ls.after"
echo acgeneral.at:25 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acgeneral.at:25: autoupdate "
echo acgeneral.at:25 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:25: autoconf "
echo acgeneral.at:25 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:25: autoheader "
echo acgeneral.at:25 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:25: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:25 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:25: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:25: cat state-env.after"
echo acgeneral.at:25 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:25: cat state-ls.after"
echo acgeneral.at:25 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
107 ) # 107. acgeneral.at:26: AC_TRY_LINK
at_setup_line='acgeneral.at:26'
at_desc='AC_TRY_LINK'
$at_quiet $ECHO_N "107: AC_TRY_LINK
$ECHO_C"
at_xfail=no
(
echo "107. acgeneral.at:26: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_TRY_LINK
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acgeneral.at:26: autoconf "
echo acgeneral.at:26 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:26: autoheader "
echo acgeneral.at:26 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:26: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:26 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:26: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:26: cat state-env.after"
echo acgeneral.at:26 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:26: cat state-ls.after"
echo acgeneral.at:26 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acgeneral.at:26: autoupdate "
echo acgeneral.at:26 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:26: autoconf "
echo acgeneral.at:26 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:26: autoheader "
echo acgeneral.at:26 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:26: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:26 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:26: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:26: cat state-env.after"
echo acgeneral.at:26 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:26: cat state-ls.after"
echo acgeneral.at:26 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
108 ) # 108. acgeneral.at:27: AC_TRY_RUN
at_setup_line='acgeneral.at:27'
at_desc='AC_TRY_RUN'
$at_quiet $ECHO_N "108: AC_TRY_RUN
$ECHO_C"
at_xfail=no
(
echo "108. acgeneral.at:27: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_TRY_RUN
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acgeneral.at:27: autoconf "
echo acgeneral.at:27 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:27: autoheader "
echo acgeneral.at:27 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:27: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:27 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:27: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:27: cat state-env.after"
echo acgeneral.at:27 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:27: cat state-ls.after"
echo acgeneral.at:27 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acgeneral.at:27: autoupdate "
echo acgeneral.at:27 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:27: autoconf "
echo acgeneral.at:27 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:27: autoheader "
echo acgeneral.at:27 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:27: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:27 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:27: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:27: cat state-env.after"
echo acgeneral.at:27 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:27: cat state-ls.after"
echo acgeneral.at:27 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
109 ) # 109. acgeneral.at:28: AC_VALIDATE_CACHED_SYSTEM_TUPLE
at_setup_line='acgeneral.at:28'
at_desc='AC_VALIDATE_CACHED_SYSTEM_TUPLE'
$at_quiet $ECHO_N "109: AC_VALIDATE_CACHED_SYSTEM_TUPLE
$ECHO_C"
at_xfail=no
(
echo "109. acgeneral.at:28: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_VALIDATE_CACHED_SYSTEM_TUPLE
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acgeneral.at:28: autoconf "
echo acgeneral.at:28 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:28: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:28: autoheader "
echo acgeneral.at:28 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:28: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:28: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:28 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:28: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:28: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:28: cat state-env.after"
echo acgeneral.at:28 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:28: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:28: cat state-ls.after"
echo acgeneral.at:28 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:28: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acgeneral.at:28: autoupdate "
echo acgeneral.at:28 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:28: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:28: autoconf "
echo acgeneral.at:28 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:28: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:28: autoheader "
echo acgeneral.at:28 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:28: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:28: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:28 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:28: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:28: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:28: cat state-env.after"
echo acgeneral.at:28 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:28: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:28: cat state-ls.after"
echo acgeneral.at:28 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:28: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
110 ) # 110. acgeneral.at:29: AC_WITH
at_setup_line='acgeneral.at:29'
at_desc='AC_WITH'
$at_quiet $ECHO_N "110: AC_WITH
$ECHO_C"
at_xfail=no
(
echo "110. acgeneral.at:29: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_WITH
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acgeneral.at:29: autoconf "
echo acgeneral.at:29 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:29: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:29: autoheader "
echo acgeneral.at:29 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:29: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:29: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:29 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:29: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:29: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:29: cat state-env.after"
echo acgeneral.at:29 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:29: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:29: cat state-ls.after"
echo acgeneral.at:29 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:29: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acgeneral.at:29: autoupdate "
echo acgeneral.at:29 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:29: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:29: autoconf "
echo acgeneral.at:29 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:29: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:29: autoheader "
echo acgeneral.at:29 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:29: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acgeneral.at:29: top_srcdir=\$abs_top_srcdir ./configure "
echo acgeneral.at:29 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:29: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acgeneral.at:29: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acgeneral.at:29: cat state-env.after"
echo acgeneral.at:29 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:29: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acgeneral.at:29: cat state-ls.after"
echo acgeneral.at:29 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acgeneral.at:29: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-14 ) # Banner 14. acstatus.at:9
cat <<\_ATEOF
Testing autoconf/status macros.
_ATEOF
;;
111 ) # 111. acstatus.at:14: AC_OUTPUT_COMMANDS
at_setup_line='acstatus.at:14'
at_desc='AC_OUTPUT_COMMANDS'
$at_quiet $ECHO_N "111: AC_OUTPUT_COMMANDS
$ECHO_C"
at_xfail=no
(
echo "111. acstatus.at:14: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_OUTPUT_COMMANDS
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acstatus.at:14: autoconf "
echo acstatus.at:14 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acstatus.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acstatus.at:14: autoheader "
echo acstatus.at:14 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acstatus.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acstatus.at:14: top_srcdir=\$abs_top_srcdir ./configure "
echo acstatus.at:14 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acstatus.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acstatus.at:14: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acstatus.at:14: cat state-env.after"
echo acstatus.at:14 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acstatus.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acstatus.at:14: cat state-ls.after"
echo acstatus.at:14 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acstatus.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acstatus.at:14: autoupdate "
echo acstatus.at:14 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acstatus.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acstatus.at:14: autoconf "
echo acstatus.at:14 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acstatus.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acstatus.at:14: autoheader "
echo acstatus.at:14 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acstatus.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acstatus.at:14: top_srcdir=\$abs_top_srcdir ./configure "
echo acstatus.at:14 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acstatus.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acstatus.at:14: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acstatus.at:14: cat state-env.after"
echo acstatus.at:14 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acstatus.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acstatus.at:14: cat state-ls.after"
echo acstatus.at:14 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acstatus.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-15 ) # Banner 15. acspecific.at:9
cat <<\_ATEOF
Testing autoconf/specific macros.
_ATEOF
;;
112 ) # 112. acspecific.at:12: AC_AIX
at_setup_line='acspecific.at:12'
at_desc='AC_AIX'
$at_quiet $ECHO_N "112: AC_AIX
$ECHO_C"
at_xfail=no
(
echo "112. acspecific.at:12: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_AIX
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acspecific.at:12: autoconf -W obsolete"
echo acspecific.at:12 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:12: autoheader "
echo acspecific.at:12 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:12: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:12 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:12: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:12: cat state-env.after"
echo acspecific.at:12 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:12: cat state-ls.after"
echo acspecific.at:12 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
113 ) # 113. acspecific.at:13: AC_ISC_POSIX
at_setup_line='acspecific.at:13'
at_desc='AC_ISC_POSIX'
$at_quiet $ECHO_N "113: AC_ISC_POSIX
$ECHO_C"
at_xfail=no
(
echo "113. acspecific.at:13: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_ISC_POSIX
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acspecific.at:13: autoconf -W obsolete"
echo acspecific.at:13 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:13: autoheader "
echo acspecific.at:13 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:13: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:13 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:13: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:13: cat state-env.after"
echo acspecific.at:13 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:13: cat state-ls.after"
echo acspecific.at:13 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
114 ) # 114. acspecific.at:14: AC_MINIX
at_setup_line='acspecific.at:14'
at_desc='AC_MINIX'
$at_quiet $ECHO_N "114: AC_MINIX
$ECHO_C"
at_xfail=no
(
echo "114. acspecific.at:14: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_MINIX
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acspecific.at:14: autoconf -W obsolete"
echo acspecific.at:14 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:14: autoheader "
echo acspecific.at:14 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:14: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:14 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:14: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:14: cat state-env.after"
echo acspecific.at:14 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:14: cat state-ls.after"
echo acspecific.at:14 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
115 ) # 115. acspecific.at:15: AC_SYS_INTERPRETER
at_setup_line='acspecific.at:15'
at_desc='AC_SYS_INTERPRETER'
$at_quiet $ECHO_N "115: AC_SYS_INTERPRETER
$ECHO_C"
at_xfail=no
(
echo "115. acspecific.at:15: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_SYS_INTERPRETER
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acspecific.at:15: autoconf -W obsolete"
echo acspecific.at:15 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:15: autoheader "
echo acspecific.at:15 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:15: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:15 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:15: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:15: cat state-env.after"
echo acspecific.at:15 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:15: cat state-ls.after"
echo acspecific.at:15 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
116 ) # 116. acspecific.at:16: AC_SYS_LARGEFILE
at_setup_line='acspecific.at:16'
at_desc='AC_SYS_LARGEFILE'
$at_quiet $ECHO_N "116: AC_SYS_LARGEFILE
$ECHO_C"
at_xfail=no
(
echo "116. acspecific.at:16: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_SYS_LARGEFILE
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acspecific.at:16: autoconf -W obsolete"
echo acspecific.at:16 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:16: autoheader "
echo acspecific.at:16 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:16: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:16 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:16: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:16: cat state-env.after"
echo acspecific.at:16 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:16: cat state-ls.after"
echo acspecific.at:16 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
117 ) # 117. acspecific.at:17: AC_SYS_LONG_FILE_NAMES
at_setup_line='acspecific.at:17'
at_desc='AC_SYS_LONG_FILE_NAMES'
$at_quiet $ECHO_N "117: AC_SYS_LONG_FILE_NAMES
$ECHO_C"
at_xfail=no
(
echo "117. acspecific.at:17: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_SYS_LONG_FILE_NAMES
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acspecific.at:17: autoconf -W obsolete"
echo acspecific.at:17 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:17: autoheader "
echo acspecific.at:17 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:17: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:17 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:17: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:17: cat state-env.after"
echo acspecific.at:17 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:17: cat state-ls.after"
echo acspecific.at:17 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
118 ) # 118. acspecific.at:18: AC_SYS_POSIX_TERMIOS
at_setup_line='acspecific.at:18'
at_desc='AC_SYS_POSIX_TERMIOS'
$at_quiet $ECHO_N "118: AC_SYS_POSIX_TERMIOS
$ECHO_C"
at_xfail=no
(
echo "118. acspecific.at:18: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_SYS_POSIX_TERMIOS
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acspecific.at:18: autoconf -W obsolete"
echo acspecific.at:18 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:18: autoheader "
echo acspecific.at:18 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:18: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:18 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:18: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:18: cat state-env.after"
echo acspecific.at:18 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:18: cat state-ls.after"
echo acspecific.at:18 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
119 ) # 119. acspecific.at:21: AC_ARG_ARRAY
at_setup_line='acspecific.at:21'
at_desc='AC_ARG_ARRAY'
$at_quiet $ECHO_N "119: AC_ARG_ARRAY
$ECHO_C"
at_xfail=no
(
echo "119. acspecific.at:21: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_ARG_ARRAY
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acspecific.at:21: autoconf "
echo acspecific.at:21 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:21: autoheader "
echo acspecific.at:21 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:21: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:21 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:21: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:21: cat state-env.after"
echo acspecific.at:21 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:21: cat state-ls.after"
echo acspecific.at:21 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acspecific.at:21: autoupdate "
echo acspecific.at:21 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:21: autoconf "
echo acspecific.at:21 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:21: autoheader "
echo acspecific.at:21 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:21: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:21 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:21: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:21: cat state-env.after"
echo acspecific.at:21 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:21: cat state-ls.after"
echo acspecific.at:21 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
120 ) # 120. acspecific.at:22: AC_DECL_SYS_SIGLIST
at_setup_line='acspecific.at:22'
at_desc='AC_DECL_SYS_SIGLIST'
$at_quiet $ECHO_N "120: AC_DECL_SYS_SIGLIST
$ECHO_C"
at_xfail=no
(
echo "120. acspecific.at:22: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_DECL_SYS_SIGLIST
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acspecific.at:22: autoconf "
echo acspecific.at:22 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:22: autoheader "
echo acspecific.at:22 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:22: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:22 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:22: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:22: cat state-env.after"
echo acspecific.at:22 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:22: cat state-ls.after"
echo acspecific.at:22 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acspecific.at:22: autoupdate "
echo acspecific.at:22 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:22: autoconf "
echo acspecific.at:22 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:22: autoheader "
echo acspecific.at:22 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:22: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:22 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:22: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:22: cat state-env.after"
echo acspecific.at:22 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:22: cat state-ls.after"
echo acspecific.at:22 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
121 ) # 121. acspecific.at:23: AC_DYNIX_SEQ
at_setup_line='acspecific.at:23'
at_desc='AC_DYNIX_SEQ'
$at_quiet $ECHO_N "121: AC_DYNIX_SEQ
$ECHO_C"
at_xfail=no
(
echo "121. acspecific.at:23: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_DYNIX_SEQ
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acspecific.at:23: autoconf "
echo acspecific.at:23 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:23: autoheader "
echo acspecific.at:23 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:23: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:23 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:23: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:23: cat state-env.after"
echo acspecific.at:23 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:23: cat state-ls.after"
echo acspecific.at:23 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acspecific.at:23: autoupdate "
echo acspecific.at:23 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:23: autoconf "
echo acspecific.at:23 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:23: autoheader "
echo acspecific.at:23 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:23: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:23 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:23: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:23: cat state-env.after"
echo acspecific.at:23 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:23: cat state-ls.after"
echo acspecific.at:23 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
122 ) # 122. acspecific.at:24: AC_HAVE_POUNDBANG
at_setup_line='acspecific.at:24'
at_desc='AC_HAVE_POUNDBANG'
$at_quiet $ECHO_N "122: AC_HAVE_POUNDBANG
$ECHO_C"
at_xfail=no
(
echo "122. acspecific.at:24: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_HAVE_POUNDBANG
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acspecific.at:24: autoconf "
echo acspecific.at:24 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:24: autoheader "
echo acspecific.at:24 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:24: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:24 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:24: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:24: cat state-env.after"
echo acspecific.at:24 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:24: cat state-ls.after"
echo acspecific.at:24 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acspecific.at:24: autoupdate "
echo acspecific.at:24 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:24: autoconf "
echo acspecific.at:24 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:24: autoheader "
echo acspecific.at:24 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:24: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:24 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:24: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:24: cat state-env.after"
echo acspecific.at:24 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:24: cat state-ls.after"
echo acspecific.at:24 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
123 ) # 123. acspecific.at:25: AC_IRIX_SUN
at_setup_line='acspecific.at:25'
at_desc='AC_IRIX_SUN'
$at_quiet $ECHO_N "123: AC_IRIX_SUN
$ECHO_C"
at_xfail=no
(
echo "123. acspecific.at:25: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_IRIX_SUN
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acspecific.at:25: autoconf "
echo acspecific.at:25 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:25: autoheader "
echo acspecific.at:25 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:25: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:25 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:25: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:25: cat state-env.after"
echo acspecific.at:25 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:25: cat state-ls.after"
echo acspecific.at:25 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acspecific.at:25: autoupdate "
echo acspecific.at:25 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:25: autoconf "
echo acspecific.at:25 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:25: autoheader "
echo acspecific.at:25 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:25: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:25 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:25: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:25: cat state-env.after"
echo acspecific.at:25 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:25: cat state-ls.after"
echo acspecific.at:25 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
124 ) # 124. acspecific.at:26: AC_SCO_INTL
at_setup_line='acspecific.at:26'
at_desc='AC_SCO_INTL'
$at_quiet $ECHO_N "124: AC_SCO_INTL
$ECHO_C"
at_xfail=no
(
echo "124. acspecific.at:26: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_SCO_INTL
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acspecific.at:26: autoconf "
echo acspecific.at:26 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:26: autoheader "
echo acspecific.at:26 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:26: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:26 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:26: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:26: cat state-env.after"
echo acspecific.at:26 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:26: cat state-ls.after"
echo acspecific.at:26 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acspecific.at:26: autoupdate "
echo acspecific.at:26 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:26: autoconf "
echo acspecific.at:26 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:26: autoheader "
echo acspecific.at:26 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:26: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:26 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:26: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:26: cat state-env.after"
echo acspecific.at:26 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:26: cat state-ls.after"
echo acspecific.at:26 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
125 ) # 125. acspecific.at:27: AC_XENIX_DIR
at_setup_line='acspecific.at:27'
at_desc='AC_XENIX_DIR'
$at_quiet $ECHO_N "125: AC_XENIX_DIR
$ECHO_C"
at_xfail=no
(
echo "125. acspecific.at:27: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_XENIX_DIR
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acspecific.at:27: autoconf "
echo acspecific.at:27 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:27: autoheader "
echo acspecific.at:27 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:27: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:27 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:27: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:27: cat state-env.after"
echo acspecific.at:27 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:27: cat state-ls.after"
echo acspecific.at:27 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acspecific.at:27: autoupdate "
echo acspecific.at:27 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:27: autoconf "
echo acspecific.at:27 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:27: autoheader "
echo acspecific.at:27 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acspecific.at:27: top_srcdir=\$abs_top_srcdir ./configure "
echo acspecific.at:27 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acspecific.at:27: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acspecific.at:27: cat state-env.after"
echo acspecific.at:27 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acspecific.at:27: cat state-ls.after"
echo acspecific.at:27 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acspecific.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-16 ) # Banner 16. acprograms.at:9
cat <<\_ATEOF
Testing autoconf/programs macros.
_ATEOF
;;
126 ) # 126. acprograms.at:12: AC_PROG_AWK
at_setup_line='acprograms.at:12'
at_desc='AC_PROG_AWK'
$at_quiet $ECHO_N "126: AC_PROG_AWK
$ECHO_C"
at_xfail=no
(
echo "126. acprograms.at:12: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PROG_AWK
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acprograms.at:12: autoconf -W obsolete"
echo acprograms.at:12 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:12: autoheader "
echo acprograms.at:12 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:12: top_srcdir=\$abs_top_srcdir ./configure "
echo acprograms.at:12 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acprograms.at:12: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acprograms.at:12: cat state-env.after"
echo acprograms.at:12 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acprograms.at:12: cat state-ls.after"
echo acprograms.at:12 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
127 ) # 127. acprograms.at:13: AC_PROG_FGREP
at_setup_line='acprograms.at:13'
at_desc='AC_PROG_FGREP'
$at_quiet $ECHO_N "127: AC_PROG_FGREP
$ECHO_C"
at_xfail=no
(
echo "127. acprograms.at:13: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PROG_FGREP
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acprograms.at:13: autoconf -W obsolete"
echo acprograms.at:13 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:13: autoheader "
echo acprograms.at:13 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:13: top_srcdir=\$abs_top_srcdir ./configure "
echo acprograms.at:13 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acprograms.at:13: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acprograms.at:13: cat state-env.after"
echo acprograms.at:13 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acprograms.at:13: cat state-ls.after"
echo acprograms.at:13 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
128 ) # 128. acprograms.at:14: AC_PROG_INSTALL
at_setup_line='acprograms.at:14'
at_desc='AC_PROG_INSTALL'
$at_quiet $ECHO_N "128: AC_PROG_INSTALL
$ECHO_C"
at_xfail=no
(
echo "128. acprograms.at:14: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PROG_INSTALL
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acprograms.at:14: autoconf -W obsolete"
echo acprograms.at:14 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:14: autoheader "
echo acprograms.at:14 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:14: top_srcdir=\$abs_top_srcdir ./configure "
echo acprograms.at:14 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acprograms.at:14: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acprograms.at:14: cat state-env.after"
echo acprograms.at:14 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acprograms.at:14: cat state-ls.after"
echo acprograms.at:14 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
129 ) # 129. acprograms.at:15: AC_PROG_LEX
at_setup_line='acprograms.at:15'
at_desc='AC_PROG_LEX'
$at_quiet $ECHO_N "129: AC_PROG_LEX
$ECHO_C"
at_xfail=no
(
echo "129. acprograms.at:15: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PROG_LEX
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acprograms.at:15: autoconf -W obsolete"
echo acprograms.at:15 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:15: autoheader "
echo acprograms.at:15 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:15: top_srcdir=\$abs_top_srcdir ./configure "
echo acprograms.at:15 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acprograms.at:15: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acprograms.at:15: cat state-env.after"
echo acprograms.at:15 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acprograms.at:15: cat state-ls.after"
echo acprograms.at:15 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
130 ) # 130. acprograms.at:16: AC_PROG_LN_S
at_setup_line='acprograms.at:16'
at_desc='AC_PROG_LN_S'
$at_quiet $ECHO_N "130: AC_PROG_LN_S
$ECHO_C"
at_xfail=no
(
echo "130. acprograms.at:16: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PROG_LN_S
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acprograms.at:16: autoconf -W obsolete"
echo acprograms.at:16 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:16: autoheader "
echo acprograms.at:16 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:16: top_srcdir=\$abs_top_srcdir ./configure "
echo acprograms.at:16 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acprograms.at:16: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acprograms.at:16: cat state-env.after"
echo acprograms.at:16 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acprograms.at:16: cat state-ls.after"
echo acprograms.at:16 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
131 ) # 131. acprograms.at:17: AC_PROG_MAKE_SET
at_setup_line='acprograms.at:17'
at_desc='AC_PROG_MAKE_SET'
$at_quiet $ECHO_N "131: AC_PROG_MAKE_SET
$ECHO_C"
at_xfail=no
(
echo "131. acprograms.at:17: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PROG_MAKE_SET
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acprograms.at:17: autoconf -W obsolete"
echo acprograms.at:17 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:17: autoheader "
echo acprograms.at:17 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:17: top_srcdir=\$abs_top_srcdir ./configure "
echo acprograms.at:17 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acprograms.at:17: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acprograms.at:17: cat state-env.after"
echo acprograms.at:17 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acprograms.at:17: cat state-ls.after"
echo acprograms.at:17 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
132 ) # 132. acprograms.at:18: AC_PROG_RANLIB
at_setup_line='acprograms.at:18'
at_desc='AC_PROG_RANLIB'
$at_quiet $ECHO_N "132: AC_PROG_RANLIB
$ECHO_C"
at_xfail=no
(
echo "132. acprograms.at:18: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PROG_RANLIB
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acprograms.at:18: autoconf -W obsolete"
echo acprograms.at:18 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:18: autoheader "
echo acprograms.at:18 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:18: top_srcdir=\$abs_top_srcdir ./configure "
echo acprograms.at:18 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acprograms.at:18: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acprograms.at:18: cat state-env.after"
echo acprograms.at:18 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acprograms.at:18: cat state-ls.after"
echo acprograms.at:18 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
133 ) # 133. acprograms.at:19: AC_PROG_YACC
at_setup_line='acprograms.at:19'
at_desc='AC_PROG_YACC'
$at_quiet $ECHO_N "133: AC_PROG_YACC
$ECHO_C"
at_xfail=no
(
echo "133. acprograms.at:19: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_PROG_YACC
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acprograms.at:19: autoconf -W obsolete"
echo acprograms.at:19 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:19: autoheader "
echo acprograms.at:19 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:19: top_srcdir=\$abs_top_srcdir ./configure "
echo acprograms.at:19 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acprograms.at:19: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acprograms.at:19: cat state-env.after"
echo acprograms.at:19 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acprograms.at:19: cat state-ls.after"
echo acprograms.at:19 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
134 ) # 134. acprograms.at:22: AC_CHECK_TOOL_PREFIX
at_setup_line='acprograms.at:22'
at_desc='AC_CHECK_TOOL_PREFIX'
$at_quiet $ECHO_N "134: AC_CHECK_TOOL_PREFIX
$ECHO_C"
at_xfail=no
(
echo "134. acprograms.at:22: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_CHECK_TOOL_PREFIX
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acprograms.at:22: autoconf "
echo acprograms.at:22 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:22: autoheader "
echo acprograms.at:22 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:22: top_srcdir=\$abs_top_srcdir ./configure "
echo acprograms.at:22 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acprograms.at:22: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acprograms.at:22: cat state-env.after"
echo acprograms.at:22 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acprograms.at:22: cat state-ls.after"
echo acprograms.at:22 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acprograms.at:22: autoupdate "
echo acprograms.at:22 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:22: autoconf "
echo acprograms.at:22 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:22: autoheader "
echo acprograms.at:22 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:22: top_srcdir=\$abs_top_srcdir ./configure "
echo acprograms.at:22 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acprograms.at:22: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acprograms.at:22: cat state-env.after"
echo acprograms.at:22 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acprograms.at:22: cat state-ls.after"
echo acprograms.at:22 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
135 ) # 135. acprograms.at:23: AC_DECL_YYTEXT
at_setup_line='acprograms.at:23'
at_desc='AC_DECL_YYTEXT'
$at_quiet $ECHO_N "135: AC_DECL_YYTEXT
$ECHO_C"
at_xfail=no
(
echo "135. acprograms.at:23: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_DECL_YYTEXT
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acprograms.at:23: autoconf "
echo acprograms.at:23 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:23: autoheader "
echo acprograms.at:23 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:23: top_srcdir=\$abs_top_srcdir ./configure "
echo acprograms.at:23 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acprograms.at:23: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acprograms.at:23: cat state-env.after"
echo acprograms.at:23 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acprograms.at:23: cat state-ls.after"
echo acprograms.at:23 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acprograms.at:23: autoupdate "
echo acprograms.at:23 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:23: autoconf "
echo acprograms.at:23 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:23: autoheader "
echo acprograms.at:23 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:23: top_srcdir=\$abs_top_srcdir ./configure "
echo acprograms.at:23 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acprograms.at:23: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acprograms.at:23: cat state-env.after"
echo acprograms.at:23 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acprograms.at:23: cat state-ls.after"
echo acprograms.at:23 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
136 ) # 136. acprograms.at:24: AC_RSH
at_setup_line='acprograms.at:24'
at_desc='AC_RSH'
$at_quiet $ECHO_N "136: AC_RSH
$ECHO_C"
at_xfail=no
(
echo "136. acprograms.at:24: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_RSH
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acprograms.at:24: autoconf "
echo acprograms.at:24 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:24: autoheader "
echo acprograms.at:24 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:24: top_srcdir=\$abs_top_srcdir ./configure "
echo acprograms.at:24 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acprograms.at:24: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acprograms.at:24: cat state-env.after"
echo acprograms.at:24 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acprograms.at:24: cat state-ls.after"
echo acprograms.at:24 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acprograms.at:24: autoupdate "
echo acprograms.at:24 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:24: autoconf "
echo acprograms.at:24 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:24: autoheader "
echo acprograms.at:24 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acprograms.at:24: top_srcdir=\$abs_top_srcdir ./configure "
echo acprograms.at:24 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acprograms.at:24: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acprograms.at:24: cat state-env.after"
echo acprograms.at:24 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acprograms.at:24: cat state-ls.after"
echo acprograms.at:24 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acprograms.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-17 ) # Banner 17. acheaders.at:9
cat <<\_ATEOF
Testing autoconf/headers macros.
_ATEOF
;;
137 ) # 137. acheaders.at:12: AC_HEADER_MAJOR
at_setup_line='acheaders.at:12'
at_desc='AC_HEADER_MAJOR'
$at_quiet $ECHO_N "137: AC_HEADER_MAJOR
$ECHO_C"
at_xfail=no
(
echo "137. acheaders.at:12: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_HEADER_MAJOR
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acheaders.at:12: autoconf -W obsolete"
echo acheaders.at:12 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:12: autoheader "
echo acheaders.at:12 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:12: top_srcdir=\$abs_top_srcdir ./configure "
echo acheaders.at:12 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acheaders.at:12: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acheaders.at:12: cat state-env.after"
echo acheaders.at:12 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acheaders.at:12: cat state-ls.after"
echo acheaders.at:12 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
138 ) # 138. acheaders.at:13: AC_HEADER_STAT
at_setup_line='acheaders.at:13'
at_desc='AC_HEADER_STAT'
$at_quiet $ECHO_N "138: AC_HEADER_STAT
$ECHO_C"
at_xfail=no
(
echo "138. acheaders.at:13: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_HEADER_STAT
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acheaders.at:13: autoconf -W obsolete"
echo acheaders.at:13 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:13: autoheader "
echo acheaders.at:13 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:13: top_srcdir=\$abs_top_srcdir ./configure "
echo acheaders.at:13 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acheaders.at:13: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acheaders.at:13: cat state-env.after"
echo acheaders.at:13 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acheaders.at:13: cat state-ls.after"
echo acheaders.at:13 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
139 ) # 139. acheaders.at:14: AC_HEADER_STDBOOL
at_setup_line='acheaders.at:14'
at_desc='AC_HEADER_STDBOOL'
$at_quiet $ECHO_N "139: AC_HEADER_STDBOOL
$ECHO_C"
at_xfail=no
(
echo "139. acheaders.at:14: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_HEADER_STDBOOL
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acheaders.at:14: autoconf -W obsolete"
echo acheaders.at:14 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:14: autoheader "
echo acheaders.at:14 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:14: top_srcdir=\$abs_top_srcdir ./configure "
echo acheaders.at:14 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acheaders.at:14: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acheaders.at:14: cat state-env.after"
echo acheaders.at:14 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acheaders.at:14: cat state-ls.after"
echo acheaders.at:14 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
140 ) # 140. acheaders.at:15: AC_HEADER_TIOCGWINSZ
at_setup_line='acheaders.at:15'
at_desc='AC_HEADER_TIOCGWINSZ'
$at_quiet $ECHO_N "140: AC_HEADER_TIOCGWINSZ
$ECHO_C"
at_xfail=no
(
echo "140. acheaders.at:15: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_HEADER_TIOCGWINSZ
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acheaders.at:15: autoconf -W obsolete"
echo acheaders.at:15 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:15: autoheader "
echo acheaders.at:15 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:15: top_srcdir=\$abs_top_srcdir ./configure "
echo acheaders.at:15 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acheaders.at:15: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acheaders.at:15: cat state-env.after"
echo acheaders.at:15 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acheaders.at:15: cat state-ls.after"
echo acheaders.at:15 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
141 ) # 141. acheaders.at:18: AC_DIR_HEADER
at_setup_line='acheaders.at:18'
at_desc='AC_DIR_HEADER'
$at_quiet $ECHO_N "141: AC_DIR_HEADER
$ECHO_C"
at_xfail=no
(
echo "141. acheaders.at:18: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_DIR_HEADER
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acheaders.at:18: autoconf "
echo acheaders.at:18 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:18: autoheader "
echo acheaders.at:18 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:18: top_srcdir=\$abs_top_srcdir ./configure "
echo acheaders.at:18 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acheaders.at:18: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acheaders.at:18: cat state-env.after"
echo acheaders.at:18 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acheaders.at:18: cat state-ls.after"
echo acheaders.at:18 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acheaders.at:18: autoupdate "
echo acheaders.at:18 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:18: autoconf "
echo acheaders.at:18 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:18: autoheader "
echo acheaders.at:18 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:18: top_srcdir=\$abs_top_srcdir ./configure "
echo acheaders.at:18 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acheaders.at:18: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acheaders.at:18: cat state-env.after"
echo acheaders.at:18 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acheaders.at:18: cat state-ls.after"
echo acheaders.at:18 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
142 ) # 142. acheaders.at:19: AC_MEMORY_H
at_setup_line='acheaders.at:19'
at_desc='AC_MEMORY_H'
$at_quiet $ECHO_N "142: AC_MEMORY_H
$ECHO_C"
at_xfail=no
(
echo "142. acheaders.at:19: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_MEMORY_H
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acheaders.at:19: autoconf "
echo acheaders.at:19 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:19: autoheader "
echo acheaders.at:19 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:19: top_srcdir=\$abs_top_srcdir ./configure "
echo acheaders.at:19 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acheaders.at:19: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acheaders.at:19: cat state-env.after"
echo acheaders.at:19 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acheaders.at:19: cat state-ls.after"
echo acheaders.at:19 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acheaders.at:19: autoupdate "
echo acheaders.at:19 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:19: autoconf "
echo acheaders.at:19 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:19: autoheader "
echo acheaders.at:19 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:19: top_srcdir=\$abs_top_srcdir ./configure "
echo acheaders.at:19 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acheaders.at:19: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acheaders.at:19: cat state-env.after"
echo acheaders.at:19 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acheaders.at:19: cat state-ls.after"
echo acheaders.at:19 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
143 ) # 143. acheaders.at:20: AC_UNISTD_H
at_setup_line='acheaders.at:20'
at_desc='AC_UNISTD_H'
$at_quiet $ECHO_N "143: AC_UNISTD_H
$ECHO_C"
at_xfail=no
(
echo "143. acheaders.at:20: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_UNISTD_H
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acheaders.at:20: autoconf "
echo acheaders.at:20 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:20: autoheader "
echo acheaders.at:20 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:20: top_srcdir=\$abs_top_srcdir ./configure "
echo acheaders.at:20 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acheaders.at:20: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acheaders.at:20: cat state-env.after"
echo acheaders.at:20 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acheaders.at:20: cat state-ls.after"
echo acheaders.at:20 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acheaders.at:20: autoupdate "
echo acheaders.at:20 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:20: autoconf "
echo acheaders.at:20 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:20: autoheader "
echo acheaders.at:20 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:20: top_srcdir=\$abs_top_srcdir ./configure "
echo acheaders.at:20 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acheaders.at:20: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acheaders.at:20: cat state-env.after"
echo acheaders.at:20 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acheaders.at:20: cat state-ls.after"
echo acheaders.at:20 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
144 ) # 144. acheaders.at:21: AC_USG
at_setup_line='acheaders.at:21'
at_desc='AC_USG'
$at_quiet $ECHO_N "144: AC_USG
$ECHO_C"
at_xfail=no
(
echo "144. acheaders.at:21: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_USG
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acheaders.at:21: autoconf "
echo acheaders.at:21 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:21: autoheader "
echo acheaders.at:21 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:21: top_srcdir=\$abs_top_srcdir ./configure "
echo acheaders.at:21 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acheaders.at:21: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acheaders.at:21: cat state-env.after"
echo acheaders.at:21 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acheaders.at:21: cat state-ls.after"
echo acheaders.at:21 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "acheaders.at:21: autoupdate "
echo acheaders.at:21 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:21: autoconf "
echo acheaders.at:21 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:21: autoheader "
echo acheaders.at:21 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acheaders.at:21: top_srcdir=\$abs_top_srcdir ./configure "
echo acheaders.at:21 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acheaders.at:21: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acheaders.at:21: cat state-env.after"
echo acheaders.at:21 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acheaders.at:21: cat state-ls.after"
echo acheaders.at:21 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acheaders.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-18 ) # Banner 18. actypes.at:9
cat <<\_ATEOF
Testing autoconf/types macros.
_ATEOF
;;
145 ) # 145. actypes.at:12: AC_STRUCT_ST_BLOCKS
at_setup_line='actypes.at:12'
at_desc='AC_STRUCT_ST_BLOCKS'
$at_quiet $ECHO_N "145: AC_STRUCT_ST_BLOCKS
$ECHO_C"
at_xfail=no
(
echo "145. actypes.at:12: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_STRUCT_ST_BLOCKS
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "actypes.at:12: autoconf -W obsolete"
echo actypes.at:12 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:12: autoheader "
echo actypes.at:12 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:12: top_srcdir=\$abs_top_srcdir ./configure "
echo actypes.at:12 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/actypes.at:12: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "actypes.at:12: cat state-env.after"
echo actypes.at:12 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "actypes.at:12: cat state-ls.after"
echo actypes.at:12 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
146 ) # 146. actypes.at:13: AC_STRUCT_TIMEZONE
at_setup_line='actypes.at:13'
at_desc='AC_STRUCT_TIMEZONE'
$at_quiet $ECHO_N "146: AC_STRUCT_TIMEZONE
$ECHO_C"
at_xfail=no
(
echo "146. actypes.at:13: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_STRUCT_TIMEZONE
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "actypes.at:13: autoconf -W obsolete"
echo actypes.at:13 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:13: autoheader "
echo actypes.at:13 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:13: top_srcdir=\$abs_top_srcdir ./configure "
echo actypes.at:13 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/actypes.at:13: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "actypes.at:13: cat state-env.after"
echo actypes.at:13 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "actypes.at:13: cat state-ls.after"
echo actypes.at:13 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
147 ) # 147. actypes.at:14: AC_TYPE_MODE_T
at_setup_line='actypes.at:14'
at_desc='AC_TYPE_MODE_T'
$at_quiet $ECHO_N "147: AC_TYPE_MODE_T
$ECHO_C"
at_xfail=no
(
echo "147. actypes.at:14: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_TYPE_MODE_T
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "actypes.at:14: autoconf -W obsolete"
echo actypes.at:14 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:14: autoheader "
echo actypes.at:14 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:14: top_srcdir=\$abs_top_srcdir ./configure "
echo actypes.at:14 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/actypes.at:14: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "actypes.at:14: cat state-env.after"
echo actypes.at:14 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "actypes.at:14: cat state-ls.after"
echo actypes.at:14 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
148 ) # 148. actypes.at:15: AC_TYPE_OFF_T
at_setup_line='actypes.at:15'
at_desc='AC_TYPE_OFF_T'
$at_quiet $ECHO_N "148: AC_TYPE_OFF_T
$ECHO_C"
at_xfail=no
(
echo "148. actypes.at:15: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_TYPE_OFF_T
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "actypes.at:15: autoconf -W obsolete"
echo actypes.at:15 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:15: autoheader "
echo actypes.at:15 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:15: top_srcdir=\$abs_top_srcdir ./configure "
echo actypes.at:15 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/actypes.at:15: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "actypes.at:15: cat state-env.after"
echo actypes.at:15 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "actypes.at:15: cat state-ls.after"
echo actypes.at:15 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
149 ) # 149. actypes.at:16: AC_TYPE_SIGNAL
at_setup_line='actypes.at:16'
at_desc='AC_TYPE_SIGNAL'
$at_quiet $ECHO_N "149: AC_TYPE_SIGNAL
$ECHO_C"
at_xfail=no
(
echo "149. actypes.at:16: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_TYPE_SIGNAL
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "actypes.at:16: autoconf -W obsolete"
echo actypes.at:16 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:16: autoheader "
echo actypes.at:16 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:16: top_srcdir=\$abs_top_srcdir ./configure "
echo actypes.at:16 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/actypes.at:16: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "actypes.at:16: cat state-env.after"
echo actypes.at:16 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "actypes.at:16: cat state-ls.after"
echo actypes.at:16 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
150 ) # 150. actypes.at:19: AC_INT_16_BITS
at_setup_line='actypes.at:19'
at_desc='AC_INT_16_BITS'
$at_quiet $ECHO_N "150: AC_INT_16_BITS
$ECHO_C"
at_xfail=no
(
echo "150. actypes.at:19: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_INT_16_BITS
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "actypes.at:19: autoconf "
echo actypes.at:19 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:19: autoheader "
echo actypes.at:19 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:19: top_srcdir=\$abs_top_srcdir ./configure "
echo actypes.at:19 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/actypes.at:19: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "actypes.at:19: cat state-env.after"
echo actypes.at:19 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "actypes.at:19: cat state-ls.after"
echo actypes.at:19 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "actypes.at:19: autoupdate "
echo actypes.at:19 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:19: autoconf "
echo actypes.at:19 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:19: autoheader "
echo actypes.at:19 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:19: top_srcdir=\$abs_top_srcdir ./configure "
echo actypes.at:19 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/actypes.at:19: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "actypes.at:19: cat state-env.after"
echo actypes.at:19 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "actypes.at:19: cat state-ls.after"
echo actypes.at:19 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
151 ) # 151. actypes.at:20: AC_LONG_64_BITS
at_setup_line='actypes.at:20'
at_desc='AC_LONG_64_BITS'
$at_quiet $ECHO_N "151: AC_LONG_64_BITS
$ECHO_C"
at_xfail=no
(
echo "151. actypes.at:20: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_LONG_64_BITS
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "actypes.at:20: autoconf "
echo actypes.at:20 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:20: autoheader "
echo actypes.at:20 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:20: top_srcdir=\$abs_top_srcdir ./configure "
echo actypes.at:20 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/actypes.at:20: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "actypes.at:20: cat state-env.after"
echo actypes.at:20 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "actypes.at:20: cat state-ls.after"
echo actypes.at:20 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "actypes.at:20: autoupdate "
echo actypes.at:20 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:20: autoconf "
echo actypes.at:20 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:20: autoheader "
echo actypes.at:20 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:20: top_srcdir=\$abs_top_srcdir ./configure "
echo actypes.at:20 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/actypes.at:20: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "actypes.at:20: cat state-env.after"
echo actypes.at:20 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "actypes.at:20: cat state-ls.after"
echo actypes.at:20 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
152 ) # 152. actypes.at:21: AC_STRUCT_ST_BLKSIZE
at_setup_line='actypes.at:21'
at_desc='AC_STRUCT_ST_BLKSIZE'
$at_quiet $ECHO_N "152: AC_STRUCT_ST_BLKSIZE
$ECHO_C"
at_xfail=no
(
echo "152. actypes.at:21: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_STRUCT_ST_BLKSIZE
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "actypes.at:21: autoconf "
echo actypes.at:21 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:21: autoheader "
echo actypes.at:21 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:21: top_srcdir=\$abs_top_srcdir ./configure "
echo actypes.at:21 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/actypes.at:21: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "actypes.at:21: cat state-env.after"
echo actypes.at:21 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "actypes.at:21: cat state-ls.after"
echo actypes.at:21 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "actypes.at:21: autoupdate "
echo actypes.at:21 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:21: autoconf "
echo actypes.at:21 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:21: autoheader "
echo actypes.at:21 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:21: top_srcdir=\$abs_top_srcdir ./configure "
echo actypes.at:21 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/actypes.at:21: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "actypes.at:21: cat state-env.after"
echo actypes.at:21 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "actypes.at:21: cat state-ls.after"
echo actypes.at:21 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
153 ) # 153. actypes.at:22: AC_STRUCT_ST_RDEV
at_setup_line='actypes.at:22'
at_desc='AC_STRUCT_ST_RDEV'
$at_quiet $ECHO_N "153: AC_STRUCT_ST_RDEV
$ECHO_C"
at_xfail=no
(
echo "153. actypes.at:22: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_STRUCT_ST_RDEV
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "actypes.at:22: autoconf "
echo actypes.at:22 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:22: autoheader "
echo actypes.at:22 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:22: top_srcdir=\$abs_top_srcdir ./configure "
echo actypes.at:22 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/actypes.at:22: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "actypes.at:22: cat state-env.after"
echo actypes.at:22 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "actypes.at:22: cat state-ls.after"
echo actypes.at:22 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "actypes.at:22: autoupdate "
echo actypes.at:22 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:22: autoconf "
echo actypes.at:22 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:22: autoheader "
echo actypes.at:22 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:22: top_srcdir=\$abs_top_srcdir ./configure "
echo actypes.at:22 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/actypes.at:22: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "actypes.at:22: cat state-env.after"
echo actypes.at:22 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "actypes.at:22: cat state-ls.after"
echo actypes.at:22 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
154 ) # 154. actypes.at:23: AM_TYPE_PTRDIFF_T
at_setup_line='actypes.at:23'
at_desc='AM_TYPE_PTRDIFF_T'
$at_quiet $ECHO_N "154: AM_TYPE_PTRDIFF_T
$ECHO_C"
at_xfail=no
(
echo "154. actypes.at:23: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AM_TYPE_PTRDIFF_T
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "actypes.at:23: autoconf "
echo actypes.at:23 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:23: autoheader "
echo actypes.at:23 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:23: top_srcdir=\$abs_top_srcdir ./configure "
echo actypes.at:23 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/actypes.at:23: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "actypes.at:23: cat state-env.after"
echo actypes.at:23 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "actypes.at:23: cat state-ls.after"
echo actypes.at:23 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "actypes.at:23: autoupdate "
echo actypes.at:23 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:23: autoconf "
echo actypes.at:23 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:23: autoheader "
echo actypes.at:23 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "actypes.at:23: top_srcdir=\$abs_top_srcdir ./configure "
echo actypes.at:23 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/actypes.at:23: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "actypes.at:23: cat state-env.after"
echo actypes.at:23 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "actypes.at:23: cat state-ls.after"
echo actypes.at:23 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "actypes.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-19 ) # Banner 19. acfunctions.at:9
cat <<\_ATEOF
Testing autoconf/functions macros.
_ATEOF
;;
155 ) # 155. acfunctions.at:12: AC_FUNC_CHOWN
at_setup_line='acfunctions.at:12'
at_desc='AC_FUNC_CHOWN'
$at_quiet $ECHO_N "155: AC_FUNC_CHOWN
$ECHO_C"
at_xfail=no
(
echo "155. acfunctions.at:12: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_CHOWN
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:12: autoconf -W obsolete"
echo acfunctions.at:12 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:12: autoheader "
echo acfunctions.at:12 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:12: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:12 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:12: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:12: cat state-env.after"
echo acfunctions.at:12 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:12: cat state-ls.after"
echo acfunctions.at:12 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:12: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
156 ) # 156. acfunctions.at:13: AC_FUNC_CLOSEDIR_VOID
at_setup_line='acfunctions.at:13'
at_desc='AC_FUNC_CLOSEDIR_VOID'
$at_quiet $ECHO_N "156: AC_FUNC_CLOSEDIR_VOID
$ECHO_C"
at_xfail=no
(
echo "156. acfunctions.at:13: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_CLOSEDIR_VOID
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:13: autoconf -W obsolete"
echo acfunctions.at:13 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:13: autoheader "
echo acfunctions.at:13 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:13: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:13 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:13: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:13: cat state-env.after"
echo acfunctions.at:13 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:13: cat state-ls.after"
echo acfunctions.at:13 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:13: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
157 ) # 157. acfunctions.at:14: AC_FUNC_ERROR_AT_LINE
at_setup_line='acfunctions.at:14'
at_desc='AC_FUNC_ERROR_AT_LINE'
$at_quiet $ECHO_N "157: AC_FUNC_ERROR_AT_LINE
$ECHO_C"
at_xfail=no
(
echo "157. acfunctions.at:14: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_ERROR_AT_LINE
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:14: autoconf -W obsolete"
echo acfunctions.at:14 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:14: autoheader "
echo acfunctions.at:14 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:14: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:14 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:14: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:14: cat state-env.after"
echo acfunctions.at:14 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:14: cat state-ls.after"
echo acfunctions.at:14 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
158 ) # 158. acfunctions.at:15: AC_FUNC_FNMATCH
at_setup_line='acfunctions.at:15'
at_desc='AC_FUNC_FNMATCH'
$at_quiet $ECHO_N "158: AC_FUNC_FNMATCH
$ECHO_C"
at_xfail=no
(
echo "158. acfunctions.at:15: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_FNMATCH
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:15: autoconf -W obsolete"
echo acfunctions.at:15 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:15: autoheader "
echo acfunctions.at:15 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:15: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:15 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:15: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:15: cat state-env.after"
echo acfunctions.at:15 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:15: cat state-ls.after"
echo acfunctions.at:15 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:15: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
159 ) # 159. acfunctions.at:16: AC_FUNC_FORK
at_setup_line='acfunctions.at:16'
at_desc='AC_FUNC_FORK'
$at_quiet $ECHO_N "159: AC_FUNC_FORK
$ECHO_C"
at_xfail=no
(
echo "159. acfunctions.at:16: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_FORK
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:16: autoconf -W obsolete"
echo acfunctions.at:16 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:16: autoheader "
echo acfunctions.at:16 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:16: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:16 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:16: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:16: cat state-env.after"
echo acfunctions.at:16 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:16: cat state-ls.after"
echo acfunctions.at:16 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:16: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
160 ) # 160. acfunctions.at:17: AC_FUNC_FSEEKO
at_setup_line='acfunctions.at:17'
at_desc='AC_FUNC_FSEEKO'
$at_quiet $ECHO_N "160: AC_FUNC_FSEEKO
$ECHO_C"
at_xfail=no
(
echo "160. acfunctions.at:17: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_FSEEKO
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:17: autoconf -W obsolete"
echo acfunctions.at:17 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:17: autoheader "
echo acfunctions.at:17 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:17: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:17 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:17: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:17: cat state-env.after"
echo acfunctions.at:17 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:17: cat state-ls.after"
echo acfunctions.at:17 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:17: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
161 ) # 161. acfunctions.at:18: AC_FUNC_GETGROUPS
at_setup_line='acfunctions.at:18'
at_desc='AC_FUNC_GETGROUPS'
$at_quiet $ECHO_N "161: AC_FUNC_GETGROUPS
$ECHO_C"
at_xfail=no
(
echo "161. acfunctions.at:18: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_GETGROUPS
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:18: autoconf -W obsolete"
echo acfunctions.at:18 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:18: autoheader "
echo acfunctions.at:18 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:18: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:18 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:18: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:18: cat state-env.after"
echo acfunctions.at:18 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:18: cat state-ls.after"
echo acfunctions.at:18 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:18: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
162 ) # 162. acfunctions.at:19: AC_FUNC_GETMNTENT
at_setup_line='acfunctions.at:19'
at_desc='AC_FUNC_GETMNTENT'
$at_quiet $ECHO_N "162: AC_FUNC_GETMNTENT
$ECHO_C"
at_xfail=no
(
echo "162. acfunctions.at:19: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_GETMNTENT
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:19: autoconf -W obsolete"
echo acfunctions.at:19 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:19: autoheader "
echo acfunctions.at:19 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:19: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:19 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:19: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:19: cat state-env.after"
echo acfunctions.at:19 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:19: cat state-ls.after"
echo acfunctions.at:19 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:19: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
163 ) # 163. acfunctions.at:20: AC_FUNC_GETPGRP
at_setup_line='acfunctions.at:20'
at_desc='AC_FUNC_GETPGRP'
$at_quiet $ECHO_N "163: AC_FUNC_GETPGRP
$ECHO_C"
at_xfail=no
(
echo "163. acfunctions.at:20: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_GETPGRP
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:20: autoconf -W obsolete"
echo acfunctions.at:20 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:20: autoheader "
echo acfunctions.at:20 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:20: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:20 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:20: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:20: cat state-env.after"
echo acfunctions.at:20 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:20: cat state-ls.after"
echo acfunctions.at:20 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:20: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
164 ) # 164. acfunctions.at:21: AC_FUNC_MALLOC
at_setup_line='acfunctions.at:21'
at_desc='AC_FUNC_MALLOC'
$at_quiet $ECHO_N "164: AC_FUNC_MALLOC
$ECHO_C"
at_xfail=no
(
echo "164. acfunctions.at:21: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_MALLOC
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:21: autoconf -W obsolete"
echo acfunctions.at:21 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:21: autoheader "
echo acfunctions.at:21 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:21: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:21 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:21: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:21: cat state-env.after"
echo acfunctions.at:21 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:21: cat state-ls.after"
echo acfunctions.at:21 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:21: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
165 ) # 165. acfunctions.at:22: AC_FUNC_MBRTOWC
at_setup_line='acfunctions.at:22'
at_desc='AC_FUNC_MBRTOWC'
$at_quiet $ECHO_N "165: AC_FUNC_MBRTOWC
$ECHO_C"
at_xfail=no
(
echo "165. acfunctions.at:22: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_MBRTOWC
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:22: autoconf -W obsolete"
echo acfunctions.at:22 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:22: autoheader "
echo acfunctions.at:22 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:22: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:22 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:22: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:22: cat state-env.after"
echo acfunctions.at:22 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:22: cat state-ls.after"
echo acfunctions.at:22 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:22: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
166 ) # 166. acfunctions.at:23: AC_FUNC_MEMCMP
at_setup_line='acfunctions.at:23'
at_desc='AC_FUNC_MEMCMP'
$at_quiet $ECHO_N "166: AC_FUNC_MEMCMP
$ECHO_C"
at_xfail=no
(
echo "166. acfunctions.at:23: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_MEMCMP
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:23: autoconf -W obsolete"
echo acfunctions.at:23 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:23: autoheader "
echo acfunctions.at:23 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:23: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:23 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:23: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:23: cat state-env.after"
echo acfunctions.at:23 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:23: cat state-ls.after"
echo acfunctions.at:23 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:23: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
167 ) # 167. acfunctions.at:24: AC_FUNC_MKTIME
at_setup_line='acfunctions.at:24'
at_desc='AC_FUNC_MKTIME'
$at_quiet $ECHO_N "167: AC_FUNC_MKTIME
$ECHO_C"
at_xfail=no
(
echo "167. acfunctions.at:24: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_MKTIME
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:24: autoconf -W obsolete"
echo acfunctions.at:24 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:24: autoheader "
echo acfunctions.at:24 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:24: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:24 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:24: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:24: cat state-env.after"
echo acfunctions.at:24 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:24: cat state-ls.after"
echo acfunctions.at:24 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:24: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
168 ) # 168. acfunctions.at:25: AC_FUNC_MMAP
at_setup_line='acfunctions.at:25'
at_desc='AC_FUNC_MMAP'
$at_quiet $ECHO_N "168: AC_FUNC_MMAP
$ECHO_C"
at_xfail=no
(
echo "168. acfunctions.at:25: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_MMAP
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:25: autoconf -W obsolete"
echo acfunctions.at:25 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:25: autoheader "
echo acfunctions.at:25 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:25: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:25 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:25: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:25: cat state-env.after"
echo acfunctions.at:25 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:25: cat state-ls.after"
echo acfunctions.at:25 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:25: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
169 ) # 169. acfunctions.at:26: AC_FUNC_OBSTACK
at_setup_line='acfunctions.at:26'
at_desc='AC_FUNC_OBSTACK'
$at_quiet $ECHO_N "169: AC_FUNC_OBSTACK
$ECHO_C"
at_xfail=no
(
echo "169. acfunctions.at:26: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_OBSTACK
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:26: autoconf -W obsolete"
echo acfunctions.at:26 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:26: autoheader "
echo acfunctions.at:26 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:26: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:26 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:26: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:26: cat state-env.after"
echo acfunctions.at:26 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:26: cat state-ls.after"
echo acfunctions.at:26 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:26: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
170 ) # 170. acfunctions.at:27: AC_FUNC_REALLOC
at_setup_line='acfunctions.at:27'
at_desc='AC_FUNC_REALLOC'
$at_quiet $ECHO_N "170: AC_FUNC_REALLOC
$ECHO_C"
at_xfail=no
(
echo "170. acfunctions.at:27: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_REALLOC
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:27: autoconf -W obsolete"
echo acfunctions.at:27 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:27: autoheader "
echo acfunctions.at:27 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:27: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:27 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:27: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:27: cat state-env.after"
echo acfunctions.at:27 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:27: cat state-ls.after"
echo acfunctions.at:27 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:27: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
171 ) # 171. acfunctions.at:28: AC_FUNC_SELECT_ARGTYPES
at_setup_line='acfunctions.at:28'
at_desc='AC_FUNC_SELECT_ARGTYPES'
$at_quiet $ECHO_N "171: AC_FUNC_SELECT_ARGTYPES
$ECHO_C"
at_xfail=no
(
echo "171. acfunctions.at:28: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_SELECT_ARGTYPES
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:28: autoconf -W obsolete"
echo acfunctions.at:28 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:28: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:28: autoheader "
echo acfunctions.at:28 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:28: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:28: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:28 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:28: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:28: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:28: cat state-env.after"
echo acfunctions.at:28 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:28: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:28: cat state-ls.after"
echo acfunctions.at:28 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:28: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
172 ) # 172. acfunctions.at:29: AC_FUNC_SETPGRP
at_setup_line='acfunctions.at:29'
at_desc='AC_FUNC_SETPGRP'
$at_quiet $ECHO_N "172: AC_FUNC_SETPGRP
$ECHO_C"
at_xfail=no
(
echo "172. acfunctions.at:29: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_SETPGRP
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:29: autoconf -W obsolete"
echo acfunctions.at:29 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:29: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:29: autoheader "
echo acfunctions.at:29 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:29: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:29: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:29 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:29: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:29: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:29: cat state-env.after"
echo acfunctions.at:29 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:29: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:29: cat state-ls.after"
echo acfunctions.at:29 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:29: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
173 ) # 173. acfunctions.at:30: AC_FUNC_SETVBUF_REVERSED
at_setup_line='acfunctions.at:30'
at_desc='AC_FUNC_SETVBUF_REVERSED'
$at_quiet $ECHO_N "173: AC_FUNC_SETVBUF_REVERSED
$ECHO_C"
at_xfail=no
(
echo "173. acfunctions.at:30: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_SETVBUF_REVERSED
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:30: autoconf -W obsolete"
echo acfunctions.at:30 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:30: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:30: autoheader "
echo acfunctions.at:30 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:30: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:30: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:30 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:30: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:30: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:30: cat state-env.after"
echo acfunctions.at:30 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:30: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:30: cat state-ls.after"
echo acfunctions.at:30 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:30: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
174 ) # 174. acfunctions.at:31: AC_FUNC_STAT
at_setup_line='acfunctions.at:31'
at_desc='AC_FUNC_STAT'
$at_quiet $ECHO_N "174: AC_FUNC_STAT
$ECHO_C"
at_xfail=no
(
echo "174. acfunctions.at:31: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_STAT
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:31: autoconf -W obsolete"
echo acfunctions.at:31 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:31: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:31: autoheader "
echo acfunctions.at:31 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:31: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:31: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:31 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:31: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:31: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:31: cat state-env.after"
echo acfunctions.at:31 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:31: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:31: cat state-ls.after"
echo acfunctions.at:31 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:31: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
175 ) # 175. acfunctions.at:32: AC_FUNC_STRCOLL
at_setup_line='acfunctions.at:32'
at_desc='AC_FUNC_STRCOLL'
$at_quiet $ECHO_N "175: AC_FUNC_STRCOLL
$ECHO_C"
at_xfail=no
(
echo "175. acfunctions.at:32: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_STRCOLL
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:32: autoconf -W obsolete"
echo acfunctions.at:32 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:32: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:32: autoheader "
echo acfunctions.at:32 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:32: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:32: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:32 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:32: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:32: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:32: cat state-env.after"
echo acfunctions.at:32 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:32: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:32: cat state-ls.after"
echo acfunctions.at:32 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:32: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
176 ) # 176. acfunctions.at:33: AC_FUNC_STRERROR_R
at_setup_line='acfunctions.at:33'
at_desc='AC_FUNC_STRERROR_R'
$at_quiet $ECHO_N "176: AC_FUNC_STRERROR_R
$ECHO_C"
at_xfail=no
(
echo "176. acfunctions.at:33: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_STRERROR_R
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:33: autoconf -W obsolete"
echo acfunctions.at:33 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:33: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:33: autoheader "
echo acfunctions.at:33 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:33: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:33: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:33 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:33: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:33: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:33: cat state-env.after"
echo acfunctions.at:33 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:33: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:33: cat state-ls.after"
echo acfunctions.at:33 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:33: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
177 ) # 177. acfunctions.at:34: AC_FUNC_STRFTIME
at_setup_line='acfunctions.at:34'
at_desc='AC_FUNC_STRFTIME'
$at_quiet $ECHO_N "177: AC_FUNC_STRFTIME
$ECHO_C"
at_xfail=no
(
echo "177. acfunctions.at:34: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_STRFTIME
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:34: autoconf -W obsolete"
echo acfunctions.at:34 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:34: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:34: autoheader "
echo acfunctions.at:34 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:34: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:34: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:34 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:34: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:34: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:34: cat state-env.after"
echo acfunctions.at:34 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:34: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:34: cat state-ls.after"
echo acfunctions.at:34 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:34: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
178 ) # 178. acfunctions.at:35: AC_FUNC_STRNLEN
at_setup_line='acfunctions.at:35'
at_desc='AC_FUNC_STRNLEN'
$at_quiet $ECHO_N "178: AC_FUNC_STRNLEN
$ECHO_C"
at_xfail=no
(
echo "178. acfunctions.at:35: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_STRNLEN
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:35: autoconf -W obsolete"
echo acfunctions.at:35 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:35: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:35: autoheader "
echo acfunctions.at:35 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:35: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:35: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:35 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:35: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:35: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:35: cat state-env.after"
echo acfunctions.at:35 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:35: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:35: cat state-ls.after"
echo acfunctions.at:35 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:35: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
179 ) # 179. acfunctions.at:36: AC_FUNC_STRTOD
at_setup_line='acfunctions.at:36'
at_desc='AC_FUNC_STRTOD'
$at_quiet $ECHO_N "179: AC_FUNC_STRTOD
$ECHO_C"
at_xfail=no
(
echo "179. acfunctions.at:36: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_STRTOD
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:36: autoconf -W obsolete"
echo acfunctions.at:36 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:36: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:36: autoheader "
echo acfunctions.at:36 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:36: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:36: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:36 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:36: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:36: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:36: cat state-env.after"
echo acfunctions.at:36 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:36: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:36: cat state-ls.after"
echo acfunctions.at:36 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:36: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
180 ) # 180. acfunctions.at:37: AC_FUNC_UTIME_NULL
at_setup_line='acfunctions.at:37'
at_desc='AC_FUNC_UTIME_NULL'
$at_quiet $ECHO_N "180: AC_FUNC_UTIME_NULL
$ECHO_C"
at_xfail=no
(
echo "180. acfunctions.at:37: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_UTIME_NULL
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:37: autoconf -W obsolete"
echo acfunctions.at:37 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:37: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:37: autoheader "
echo acfunctions.at:37 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:37: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:37: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:37 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:37: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:37: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:37: cat state-env.after"
echo acfunctions.at:37 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:37: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:37: cat state-ls.after"
echo acfunctions.at:37 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:37: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
181 ) # 181. acfunctions.at:38: AC_FUNC_VPRINTF
at_setup_line='acfunctions.at:38'
at_desc='AC_FUNC_VPRINTF'
$at_quiet $ECHO_N "181: AC_FUNC_VPRINTF
$ECHO_C"
at_xfail=no
(
echo "181. acfunctions.at:38: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_FUNC_VPRINTF
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "acfunctions.at:38: autoconf -W obsolete"
echo acfunctions.at:38 >$at_check_line_file
( $at_traceon; autoconf -W obsolete ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:38: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:38: autoheader "
echo acfunctions.at:38 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:38: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "acfunctions.at:38: top_srcdir=\$abs_top_srcdir ./configure "
echo acfunctions.at:38 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:38: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/acfunctions.at:38: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "acfunctions.at:38: cat state-env.after"
echo acfunctions.at:38 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:38: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "acfunctions.at:38: cat state-ls.after"
echo acfunctions.at:38 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "acfunctions.at:38: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-20 ) # Banner 20. aclibs.at:9
cat <<\_ATEOF
Testing autoconf/libs macros.
_ATEOF
;;
182 ) # 182. aclibs.at:14: AC_HAVE_LIBRARY
at_setup_line='aclibs.at:14'
at_desc='AC_HAVE_LIBRARY'
$at_quiet $ECHO_N "182: AC_HAVE_LIBRARY
$ECHO_C"
at_xfail=no
(
echo "182. aclibs.at:14: testing ..."
$at_traceon
cat >aclocal.m4 <<'_ATEOF'
# AC_STATE_SAVE(FILE)
# ------------------
# Save the environment, except for those variables we are allowed to touch.
# This is to check no test touches the user name space.
# FIXME: There are surely better ways. Explore for instance if
# we can ask help from AC_SUBST. We have the right to touch what
# is AC_SUBST'ed.
#
# Perhaps grep -E is not supported, or perhaps it chokes on such a big regex.
# In this case just don't pay attention to the env. It would be great
# to keep the error message but we can't: that would break AT_CHECK.
m4_defun([AC_STATE_SAVE],
[(set) 2>&1 |
grep -E -v -e 'm4_join([|],
[^a[cs]_],
[^((exec_)?prefix|DEFS|CONFIG_STATUS)=],
[^(CC|CFLAGS|CPP|GCC|CXX|CXXFLAGS|CXXCPP|GXX|F77|FFLAGS|FLIBS|G77)=],
[^(LIBS|LIB@&address@hidden|LDFLAGS)=],
[^INSTALL(_(DATA|PROGRAM|SCRIPT))?=],
[^(CYGWIN|ISC|MINGW32|MINIX|EMXOS2|XENIX|EXEEXT|OBJEXT)=],
[^(X_(CFLAGS|(EXTRA_|PRE_)?LIBS)|x_(includes|libraries)|(have|no)_x)=],
[^(host|build|target)(_(alias|cpu|vendor|os))?=],
[^(cross_compiling)=],
[^(interpval|PATH_SEPARATOR)=],
[^(F77_DUMMY_MAIN|f77_(case|underscore))=],
[^(ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
grep '^m4_defn([m4_re_word])=' >state-env.$][1
test $? = 0 || rm -f state-env.$][1
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
_ATEOF
cat >configure.ac <<'_ATEOF'
AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir/config)
AC_CONFIG_HEADER(config.h:config.hin)
AC_STATE_SAVE(before)
AC_HAVE_LIBRARY
AC_OUTPUT
AC_STATE_SAVE(after)
_ATEOF
$at_traceoff
echo "aclibs.at:14: autoconf "
echo aclibs.at:14 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclibs.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "aclibs.at:14: autoheader "
echo aclibs.at:14 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclibs.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "aclibs.at:14: top_srcdir=\$abs_top_srcdir ./configure "
echo aclibs.at:14 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclibs.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/aclibs.at:14: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "aclibs.at:14: cat state-env.after"
echo aclibs.at:14 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclibs.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "aclibs.at:14: cat state-ls.after"
echo aclibs.at:14 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclibs.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
rm config.hin
$at_traceoff
echo "aclibs.at:14: autoupdate "
echo aclibs.at:14 >$at_check_line_file
( $at_traceon; autoupdate ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclibs.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "aclibs.at:14: autoconf "
echo aclibs.at:14 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclibs.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "aclibs.at:14: autoheader "
echo aclibs.at:14 >$at_check_line_file
( $at_traceon; autoheader ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclibs.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "aclibs.at:14: top_srcdir=\$abs_top_srcdir ./configure "
echo aclibs.at:14 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclibs.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/aclibs.at:14: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
test -f state-ls.before ||
{ { echo "$as_me:$LINENO: error: state-ls.before not present" >&5
echo "$as_me: error: state-ls.before not present" >&2;}
{ (exit 1); exit 1; }; }
if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
$at_traceoff
echo "aclibs.at:14: cat state-env.after"
echo aclibs.at:14 >$at_check_line_file
( $at_traceon; cat state-env.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclibs.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
if test -f state-ls.after; then
mv -f state-ls.before expout
$at_traceoff
echo "aclibs.at:14: cat state-ls.after"
echo aclibs.at:14 >$at_check_line_file
( $at_traceon; cat state-ls.after ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff expout $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "aclibs.at:14: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
fi
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
banner-21 ) # Banner 21. foreign.at:3
cat <<\_ATEOF
Compatibility with other tools.
_ATEOF
;;
183 ) # 183. foreign.at:27: Libtool
at_setup_line='foreign.at:27'
at_desc='Libtool'
$at_quiet $ECHO_N "183: [Libtool]
$ECHO_C"
at_xfail=no
(
echo "183. foreign.at:27: testing install-sh ltconfig libtool at-path
ltmain.sh config.guess config.sub..."
$at_traceon
# Skip this test if there is no libtoolize.
$at_traceoff
echo "foreign.at:31: libtoolize --version || exit 77"
echo foreign.at:31 >$at_check_line_file
( $at_traceon; libtoolize --version || exit 77 ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
*);;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# CVS Autoconf probably does not work with too old Libtools.
$at_traceoff
echo "foreign.at:39:
case \`libtoolize --version |
sed -n '/^.* \\([0-9][0-9.a-z]*\\)\$/{s//\\1/;p;q;}'\` in
0.* ) exit 77;;
1.[0123]* ) exit 77;;
esac"
echo foreign.at:39 >$at_check_line_file
( $at_traceon;
case `libtoolize --version |
sed -n '/^.* \([0-9][0-9.a-z]*\)$/{s//\1/;p;q;}'` in
0.* ) exit 77;;
1.[0123]* ) exit 77;;
esac ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
*);;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# FIXME: Once Libtool `configure.ac' aware, change this.
# Using a configure.in, have libtoolize confess where libtool.m4 is.
cat >configure.in <<'_ATEOF'
AC_INIT
# The other tests are relying on Autoconf's own copy of install-sh
# etc. via AC_CONFIG_AUX_DIR(..). Don't do that here, since we don't
# want libtoolize to pollute Autoconf's srcdir.
AC_CONFIG_AUX_DIR(.)
AC_PROG_LIBTOOL
_ATEOF
$at_traceoff
echo "foreign.at:51: libtoolize"
echo foreign.at:51 >$at_check_line_file
( $at_traceon; libtoolize ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
echo stdout:; tee stdout <$at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "foreign.at:51: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Some broken libtoolize fail to install a functional config.guess.
$at_traceoff
echo "foreign.at:54: ./config.guess || exit 77"
echo foreign.at:54 >$at_check_line_file
( $at_traceon; ./config.guess || exit 77 ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "foreign.at:54: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Make sure at-path contains something valid, and let the test suite
# display it when verbose. And fail, skipping would too easily hide
# problems.
$at_traceoff
echo "foreign.at:59: sed -n \"s,^.*\\\`\\(/[^']*\\)'.*,\\1,p\" stdout"
echo foreign.at:59 >$at_check_line_file
( $at_traceon; sed -n "s,^.*\`\(/[^']*\)'.*,\1,p" stdout ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
echo stdout:; tee stdout <$at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "foreign.at:59: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
echo "foreign.at:60: test -f \"\`cat stdout\`\""
echo foreign.at:60 >$at_check_line_file
( $at_traceon; test -f "`cat stdout`" ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
$at_diff $at_devnull $at_stderr || at_failed=:
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "foreign.at:60: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# libtoolize installed everything but install-sh...
touch install-sh
# Build the concatenation of libtool.m4 and configure.ac.
cp `cat stdout` configure.in
cat >>configure.in <<_EOF
AC_INIT
AC_CONFIG_AUX_DIR(.)
AC_CANONICAL_SYSTEM
AC_PROG_LIBTOOL
_EOF
# FIXME: Once Libtool really fixed, stop ignoring stderr.
$at_traceoff
echo "foreign.at:75: autoconf "
echo foreign.at:75 >$at_check_line_file
( $at_traceon; autoconf ) >$at_stdout 2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
$at_diff $at_devnull $at_stdout || at_failed=:
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "foreign.at:75: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
echo 1 > $at_status_file
exit 1
fi
$at_traceon
# Ignore stderr, because ltconfig always loads the cache, which is
# /dev/null, and some shells choke on this. For instance with Bash
# 2.05, you get:
#
# loading cache /dev/null within ltconfig
# ./ltconfig: .: /dev/null: not a regular file
#
# But the script executes properly.
$at_traceoff
echo "foreign.at:85: top_srcdir=\$abs_top_srcdir ./configure "
echo foreign.at:85 >$at_check_line_file
( $at_traceon; top_srcdir=$abs_top_srcdir ./configure ) >$at_stdout
2>$at_stder1
at_status=$?
grep '^ *+' $at_stder1 >&2
grep -v '^ *+' $at_stder1 >$at_stderr
at_failed=false
echo stderr:; cat $at_stderr
echo stdout:; cat $at_stdout
case $at_status in
77) echo 77 > $at_status_file
exit 77;;
0) ;;
*) echo "foreign.at:85: exit code was $at_status, expected 0"
at_failed=:;;
esac
if $at_failed; then
{ echo "$srcdir/foreign.at:85: config.log"; sed 's/^/> /' config.log; }
>>$at_group_log
echo 1 > $at_status_file
exit 1
fi
$at_traceon
$at_traceoff
$at_times_p && times >$at_times_file
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat $at_status_file`
;;
* )
echo "$as_me: no such test group: $at_group" >&2
continue
;;
esac
# Be sure to come back to the suite directory, in particular
# since below we might `rm' the group directory we are in currently.
cd $at_suite_dir
case $at_group in
banner-*) ;;
*)
if test ! -f $at_check_line_file; then
sed "s/^ */$as_me: warning: /" <<_ATEOF
A failure happened in a test group before any test could be
run. This means that test suite is improperly designed. Please
report this failure to <address@hidden>.
_ATEOF
echo "$at_setup_line" >$at_check_line_file
fi
at_group_count=`expr 1 + $at_group_count`
$at_verbose $ECHO_N "$at_group. $at_setup_line: $ECHO_C"
echo $ECHO_N "$at_group. $at_setup_line: $ECHO_C" >> $at_group_log
case $at_xfail:$at_status in
yes:0)
at_msg="UNEXPECTED PASS"
at_xpass_list="$at_xpass_list $at_group"
at_errexit=$at_errexit_p
;;
no:0)
at_msg="ok"
at_pass_list="$at_pass_list $at_group"
at_errexit=false
;;
*:77)
at_msg="skipped (`cat $at_check_line_file`)"
at_skip_list="$at_skip_list $at_group"
at_errexit=false
;;
yes:*)
at_msg="expected failure (`cat $at_check_line_file`)"
at_xfail_list="$at_xfail_list $at_group"
at_errexit=false
;;
no:*)
at_msg="FAILED (`cat $at_check_line_file`)"
at_fail_list="$at_fail_list $at_group"
at_errexit=$at_errexit_p
;;
esac
echo $at_msg
at_log_msg="$at_group. $at_desc ($at_setup_line): $at_msg"
case $at_status in
0|77)
# $at_times_file is only available if the group succeeded.
# We're not including the group log, so the success message
# is written in the global log separately. But we also
# write to the group log in case they're using -d.
if test -f $at_times_file; then
at_log_msg="$at_log_msg (`sed 1d $at_times_file`)"
rm -f $at_times_file
fi
echo "$at_log_msg" >> $at_group_log
echo "$at_log_msg" >&5
# Cleanup the group directory, unless the user wants the files.
$at_debug_p || rm -rf $at_group_dir
;;
*)
# Upon failure, include the log into the testsuite's global
# log. The failure message is written in the group log. It
# is later included in the global log.
echo "$at_log_msg" >> $at_group_log
# Upon failure, keep the group directory for autopsy, and
# create the debugging script.
{
echo "#! /bin/sh"
echo 'test "${ZSH_VERSION+set}" = set && alias -g
'\''${1+"$@"}'\''='\''"$@"'\'''
echo "cd $at_dir"
echo 'exec ${CONFIG_SHELL-'"$SHELL"'}' "$0" \
'-v -d' "$at_debug_args" "$at_group" '${1+"$@"}'
echo 'exit 1'
} >$at_group_dir/run
chmod +x $at_group_dir/run
$at_errexit && break
;;
esac
;;
esac
done
# Back to the top directory.
cd $at_dir
# Compute the duration of the suite.
at_stop_date=`date`
at_stop_time=`(date +%s) 2>/dev/null`
echo "$as_me: ending at: $at_stop_date" >&5
at_duration_s=`(expr $at_stop_time - $at_start_time) 2>/dev/null`
at_duration_m=`(expr $at_duration_s / 60) 2>/dev/null`
at_duration_h=`(expr $at_duration_m / 60) 2>/dev/null`
at_duration_s=`(expr $at_duration_s % 60) 2>/dev/null`
at_duration_m=`(expr $at_duration_m % 60) 2>/dev/null`
at_duration="${at_duration_h}h ${at_duration_m}m ${at_duration_s}s"
if test "$at_duration" != "h m s"; then
echo "$as_me: test suite duration: $at_duration" >&5
fi
# Wrap up the test suite with summary statistics.
at_skip_count=`set dummy $at_skip_list; shift; echo $#`
at_fail_count=`set dummy $at_fail_list; shift; echo $#`
at_xpass_count=`set dummy $at_xpass_list; shift; echo $#`
at_xfail_count=`set dummy $at_xfail_list; shift; echo $#`
at_run_count=`expr $at_group_count - $at_skip_count`
at_unexpected_count=`expr $at_xpass_count + $at_fail_count`
at_total_fail_count=`expr $at_xfail_count + $at_fail_count`
echo
cat <<\_ASBOX
## ------------- ##
## Test results. ##
## ------------- ##
_ASBOX
echo
{
echo
cat <<\_ASBOX
## ------------- ##
## Test results. ##
## ------------- ##
_ASBOX
echo
} >&5
if test $at_run_count = 1; then
at_result="1 test"
at_were=was
else
at_result="$at_run_count tests"
at_were=were
fi
if $at_errexit_p && test $at_unexpected_count != 0; then
if test $at_xpass_count = 1; then
at_result="$at_result $at_were run, one passed"
else
at_result="$at_result $at_were run, one failed"
fi
at_result="$at_result unexpectedly and inhibited subsequent tests."
else
# Don't you just love exponential explosion of the number of cases?
case $at_xpass_count:$at_fail_count:$at_xfail_count in
# So far, so good.
0:0:0) at_result="$at_result $at_were successful." ;;
0:0:*) at_result="$at_result behaved as expected." ;;
# Some unexpected failures
0:*:0) at_result="$at_result $at_were run,
$at_fail_count failed unexpectedly." ;;
# Some failures, both expected and unexpected
0:*:1) at_result="$at_result $at_were run,
$at_total_fail_count failed ($at_xfail_count expected failure)." ;;
0:*:*) at_result="$at_result $at_were run,
$at_total_fail_count failed ($at_xfail_count expected failures)." ;;
# No unexpected failures, but some xpasses
*:0:*) at_result="$at_result $at_were run,
$at_xpass_count passed unexpectedly." ;;
# No expected failures, but failures and xpasses
*:1:0) at_result="$at_result $at_were run,
$at_unexpected_count did not behave as expected ($at_fail_count unexpected
failure)." ;;
*:*:0) at_result="$at_result $at_were run,
$at_unexpected_count did not behave as expected ($at_fail_count unexpected
failures)." ;;
# All of them.
*:*:1) at_result="$at_result $at_were run,
$at_xpass_count passed unexpectedly,
$at_total_fail_count failed ($at_xfail_count expected failure)." ;;
*:*:*) at_result="$at_result $at_were run,
$at_xpass_count passed unexpectedly,
$at_total_fail_count failed ($at_xfail_count expected failures)." ;;
esac
if test $at_skip_count = 0 && test $at_run_count -gt 1; then
at_result="All $at_result"
fi
fi
# Now put skips in the mix.
case $at_skip_count in
0) ;;
1) at_result="$at_result
1 test was skipped." ;;
*) at_result="$at_result
$at_skip_count tests were skipped." ;;
esac
if test $at_unexpected_count = 0; then
echo "$at_result"
echo "$at_result" >&5
else
echo "ERROR: $at_result" >&2
echo "ERROR: $at_result" >&5
{
echo
cat <<\_ASBOX
## ------------------------ ##
## Summary of the failures. ##
## ------------------------ ##
_ASBOX
# Summary of failed and skipped tests.
if test $at_fail_count != 0; then
echo "Failed tests:"
$SHELL $0 $at_fail_list --list
echo
fi
if test $at_skip_count != 0; then
echo "Skipped tests:"
$SHELL $0 $at_skip_list --list
echo
fi
if test $at_xpass_count != 0; then
echo "Unexpected passes:"
$SHELL $0 $at_xpass_list --list
echo
fi
if test $at_fail_count != 0; then
cat <<\_ASBOX
## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##
_ASBOX
echo
for at_group in $at_fail_list
do
# Normalize the test group number.
at_group_normalized=`expr "00000$at_group" : ".*\($at_format\)"`
# Create a fresh directory for the next test group, and enter.
at_group_dir=$at_suite_dir/$at_group_normalized
at_group_log=$at_group_dir/$as_me.log
cat $at_group_log
echo
done
echo
fi
if test -n "$at_top_srcdir"; then
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## $at_top_builddir/config.log ##
_ASBOX
sed 's/^/| /' $at_top_builddir/config.log
echo
fi
} >&5
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## $as_me.log was created. ##
_ASBOX
echo
echo "Please send \`$as_me.log' and all information you think might help:"
echo
echo " To: <address@hidden>"
echo " Subject: [GNU Autoconf 2.58] $as_me:$at_fail_list${at_fail_list:+
failed${at_xpass_list:+,}}$at_xpass_list${at_xpass_list:+ passed unexpectedly}"
echo
if test $at_debug_p = false; then
echo
echo 'You may investigate any problem if you feel able to do so, in which'
echo 'case the test suite provides a good starting point.'
echo
fi
exit 1
fi
exit 0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNU Autoconf 2.58] testsuite: 55 failed,
Hsin-Yu Sidney Li <=