configure revision 1.1.1.1.2.2 1 1.1.1.1.2.2 wrstuden #! /bin/sh
2 1.1.1.1.2.2 wrstuden # Guess values for system-dependent variables and create Makefiles.
3 1.1.1.1.2.2 wrstuden # Generated by GNU Autoconf 2.61 for top 3.8beta1.
4 1.1.1.1.2.2 wrstuden #
5 1.1.1.1.2.2 wrstuden # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 1.1.1.1.2.2 wrstuden # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 1.1.1.1.2.2 wrstuden # This configure script is free software; the Free Software Foundation
8 1.1.1.1.2.2 wrstuden # gives unlimited permission to copy, distribute and modify it.
9 1.1.1.1.2.2 wrstuden ## --------------------- ##
10 1.1.1.1.2.2 wrstuden ## M4sh Initialization. ##
11 1.1.1.1.2.2 wrstuden ## --------------------- ##
12 1.1.1.1.2.2 wrstuden
13 1.1.1.1.2.2 wrstuden # Be more Bourne compatible
14 1.1.1.1.2.2 wrstuden DUALCASE=1; export DUALCASE # for MKS sh
15 1.1.1.1.2.2 wrstuden if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 1.1.1.1.2.2 wrstuden emulate sh
17 1.1.1.1.2.2 wrstuden NULLCMD=:
18 1.1.1.1.2.2 wrstuden # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 1.1.1.1.2.2 wrstuden # is contrary to our usage. Disable this feature.
20 1.1.1.1.2.2 wrstuden alias -g '${1+"$@"}'='"$@"'
21 1.1.1.1.2.2 wrstuden setopt NO_GLOB_SUBST
22 1.1.1.1.2.2 wrstuden else
23 1.1.1.1.2.2 wrstuden case `(set -o) 2>/dev/null` in
24 1.1.1.1.2.2 wrstuden *posix*) set -o posix ;;
25 1.1.1.1.2.2 wrstuden esac
26 1.1.1.1.2.2 wrstuden
27 1.1.1.1.2.2 wrstuden fi
28 1.1.1.1.2.2 wrstuden
29 1.1.1.1.2.2 wrstuden
30 1.1.1.1.2.2 wrstuden
31 1.1.1.1.2.2 wrstuden
32 1.1.1.1.2.2 wrstuden # PATH needs CR
33 1.1.1.1.2.2 wrstuden # Avoid depending upon Character Ranges.
34 1.1.1.1.2.2 wrstuden as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 1.1.1.1.2.2 wrstuden as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 1.1.1.1.2.2 wrstuden as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 1.1.1.1.2.2 wrstuden as_cr_digits='0123456789'
38 1.1.1.1.2.2 wrstuden as_cr_alnum=$as_cr_Letters$as_cr_digits
39 1.1.1.1.2.2 wrstuden
40 1.1.1.1.2.2 wrstuden # The user is always right.
41 1.1.1.1.2.2 wrstuden if test "${PATH_SEPARATOR+set}" != set; then
42 1.1.1.1.2.2 wrstuden echo "#! /bin/sh" >conf$$.sh
43 1.1.1.1.2.2 wrstuden echo "exit 0" >>conf$$.sh
44 1.1.1.1.2.2 wrstuden chmod +x conf$$.sh
45 1.1.1.1.2.2 wrstuden if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46 1.1.1.1.2.2 wrstuden PATH_SEPARATOR=';'
47 1.1.1.1.2.2 wrstuden else
48 1.1.1.1.2.2 wrstuden PATH_SEPARATOR=:
49 1.1.1.1.2.2 wrstuden fi
50 1.1.1.1.2.2 wrstuden rm -f conf$$.sh
51 1.1.1.1.2.2 wrstuden fi
52 1.1.1.1.2.2 wrstuden
53 1.1.1.1.2.2 wrstuden # Support unset when possible.
54 1.1.1.1.2.2 wrstuden if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 1.1.1.1.2.2 wrstuden as_unset=unset
56 1.1.1.1.2.2 wrstuden else
57 1.1.1.1.2.2 wrstuden as_unset=false
58 1.1.1.1.2.2 wrstuden fi
59 1.1.1.1.2.2 wrstuden
60 1.1.1.1.2.2 wrstuden
61 1.1.1.1.2.2 wrstuden # IFS
62 1.1.1.1.2.2 wrstuden # We need space, tab and new line, in precisely that order. Quoting is
63 1.1.1.1.2.2 wrstuden # there to prevent editors from complaining about space-tab.
64 1.1.1.1.2.2 wrstuden # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 1.1.1.1.2.2 wrstuden # splitting by setting IFS to empty value.)
66 1.1.1.1.2.2 wrstuden as_nl='
67 1.1.1.1.2.2 wrstuden '
68 1.1.1.1.2.2 wrstuden IFS=" "" $as_nl"
69 1.1.1.1.2.2 wrstuden
70 1.1.1.1.2.2 wrstuden # Find who we are. Look in the path if we contain no directory separator.
71 1.1.1.1.2.2 wrstuden case $0 in
72 1.1.1.1.2.2 wrstuden *[\\/]* ) as_myself=$0 ;;
73 1.1.1.1.2.2 wrstuden *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 1.1.1.1.2.2 wrstuden for as_dir in $PATH
75 1.1.1.1.2.2 wrstuden do
76 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
77 1.1.1.1.2.2 wrstuden test -z "$as_dir" && as_dir=.
78 1.1.1.1.2.2 wrstuden test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 1.1.1.1.2.2 wrstuden done
80 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
81 1.1.1.1.2.2 wrstuden
82 1.1.1.1.2.2 wrstuden ;;
83 1.1.1.1.2.2 wrstuden esac
84 1.1.1.1.2.2 wrstuden # We did not find ourselves, most probably we were run as `sh COMMAND'
85 1.1.1.1.2.2 wrstuden # in which case we are not to be found in the path.
86 1.1.1.1.2.2 wrstuden if test "x$as_myself" = x; then
87 1.1.1.1.2.2 wrstuden as_myself=$0
88 1.1.1.1.2.2 wrstuden fi
89 1.1.1.1.2.2 wrstuden if test ! -f "$as_myself"; then
90 1.1.1.1.2.2 wrstuden echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }
92 1.1.1.1.2.2 wrstuden fi
93 1.1.1.1.2.2 wrstuden
94 1.1.1.1.2.2 wrstuden # Work around bugs in pre-3.0 UWIN ksh.
95 1.1.1.1.2.2 wrstuden for as_var in ENV MAIL MAILPATH
96 1.1.1.1.2.2 wrstuden do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97 1.1.1.1.2.2 wrstuden done
98 1.1.1.1.2.2 wrstuden PS1='$ '
99 1.1.1.1.2.2 wrstuden PS2='> '
100 1.1.1.1.2.2 wrstuden PS4='+ '
101 1.1.1.1.2.2 wrstuden
102 1.1.1.1.2.2 wrstuden # NLS nuisances.
103 1.1.1.1.2.2 wrstuden for as_var in \
104 1.1.1.1.2.2 wrstuden LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 1.1.1.1.2.2 wrstuden LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 1.1.1.1.2.2 wrstuden LC_TELEPHONE LC_TIME
107 1.1.1.1.2.2 wrstuden do
108 1.1.1.1.2.2 wrstuden if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 1.1.1.1.2.2 wrstuden eval $as_var=C; export $as_var
110 1.1.1.1.2.2 wrstuden else
111 1.1.1.1.2.2 wrstuden ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112 1.1.1.1.2.2 wrstuden fi
113 1.1.1.1.2.2 wrstuden done
114 1.1.1.1.2.2 wrstuden
115 1.1.1.1.2.2 wrstuden # Required to use basename.
116 1.1.1.1.2.2 wrstuden if expr a : '\(a\)' >/dev/null 2>&1 &&
117 1.1.1.1.2.2 wrstuden test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 1.1.1.1.2.2 wrstuden as_expr=expr
119 1.1.1.1.2.2 wrstuden else
120 1.1.1.1.2.2 wrstuden as_expr=false
121 1.1.1.1.2.2 wrstuden fi
122 1.1.1.1.2.2 wrstuden
123 1.1.1.1.2.2 wrstuden if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 1.1.1.1.2.2 wrstuden as_basename=basename
125 1.1.1.1.2.2 wrstuden else
126 1.1.1.1.2.2 wrstuden as_basename=false
127 1.1.1.1.2.2 wrstuden fi
128 1.1.1.1.2.2 wrstuden
129 1.1.1.1.2.2 wrstuden
130 1.1.1.1.2.2 wrstuden # Name of the executable.
131 1.1.1.1.2.2 wrstuden as_me=`$as_basename -- "$0" ||
132 1.1.1.1.2.2 wrstuden $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 1.1.1.1.2.2 wrstuden X"$0" : 'X\(//\)$' \| \
134 1.1.1.1.2.2 wrstuden X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 1.1.1.1.2.2 wrstuden echo X/"$0" |
136 1.1.1.1.2.2 wrstuden sed '/^.*\/\([^/][^/]*\)\/*$/{
137 1.1.1.1.2.2 wrstuden s//\1/
138 1.1.1.1.2.2 wrstuden q
139 1.1.1.1.2.2 wrstuden }
140 1.1.1.1.2.2 wrstuden /^X\/\(\/\/\)$/{
141 1.1.1.1.2.2 wrstuden s//\1/
142 1.1.1.1.2.2 wrstuden q
143 1.1.1.1.2.2 wrstuden }
144 1.1.1.1.2.2 wrstuden /^X\/\(\/\).*/{
145 1.1.1.1.2.2 wrstuden s//\1/
146 1.1.1.1.2.2 wrstuden q
147 1.1.1.1.2.2 wrstuden }
148 1.1.1.1.2.2 wrstuden s/.*/./; q'`
149 1.1.1.1.2.2 wrstuden
150 1.1.1.1.2.2 wrstuden # CDPATH.
151 1.1.1.1.2.2 wrstuden $as_unset CDPATH
152 1.1.1.1.2.2 wrstuden
153 1.1.1.1.2.2 wrstuden
154 1.1.1.1.2.2 wrstuden if test "x$CONFIG_SHELL" = x; then
155 1.1.1.1.2.2 wrstuden if (eval ":") 2>/dev/null; then
156 1.1.1.1.2.2 wrstuden as_have_required=yes
157 1.1.1.1.2.2 wrstuden else
158 1.1.1.1.2.2 wrstuden as_have_required=no
159 1.1.1.1.2.2 wrstuden fi
160 1.1.1.1.2.2 wrstuden
161 1.1.1.1.2.2 wrstuden if test $as_have_required = yes && (eval ":
162 1.1.1.1.2.2 wrstuden (as_func_return () {
163 1.1.1.1.2.2 wrstuden (exit \$1)
164 1.1.1.1.2.2 wrstuden }
165 1.1.1.1.2.2 wrstuden as_func_success () {
166 1.1.1.1.2.2 wrstuden as_func_return 0
167 1.1.1.1.2.2 wrstuden }
168 1.1.1.1.2.2 wrstuden as_func_failure () {
169 1.1.1.1.2.2 wrstuden as_func_return 1
170 1.1.1.1.2.2 wrstuden }
171 1.1.1.1.2.2 wrstuden as_func_ret_success () {
172 1.1.1.1.2.2 wrstuden return 0
173 1.1.1.1.2.2 wrstuden }
174 1.1.1.1.2.2 wrstuden as_func_ret_failure () {
175 1.1.1.1.2.2 wrstuden return 1
176 1.1.1.1.2.2 wrstuden }
177 1.1.1.1.2.2 wrstuden
178 1.1.1.1.2.2 wrstuden exitcode=0
179 1.1.1.1.2.2 wrstuden if as_func_success; then
180 1.1.1.1.2.2 wrstuden :
181 1.1.1.1.2.2 wrstuden else
182 1.1.1.1.2.2 wrstuden exitcode=1
183 1.1.1.1.2.2 wrstuden echo as_func_success failed.
184 1.1.1.1.2.2 wrstuden fi
185 1.1.1.1.2.2 wrstuden
186 1.1.1.1.2.2 wrstuden if as_func_failure; then
187 1.1.1.1.2.2 wrstuden exitcode=1
188 1.1.1.1.2.2 wrstuden echo as_func_failure succeeded.
189 1.1.1.1.2.2 wrstuden fi
190 1.1.1.1.2.2 wrstuden
191 1.1.1.1.2.2 wrstuden if as_func_ret_success; then
192 1.1.1.1.2.2 wrstuden :
193 1.1.1.1.2.2 wrstuden else
194 1.1.1.1.2.2 wrstuden exitcode=1
195 1.1.1.1.2.2 wrstuden echo as_func_ret_success failed.
196 1.1.1.1.2.2 wrstuden fi
197 1.1.1.1.2.2 wrstuden
198 1.1.1.1.2.2 wrstuden if as_func_ret_failure; then
199 1.1.1.1.2.2 wrstuden exitcode=1
200 1.1.1.1.2.2 wrstuden echo as_func_ret_failure succeeded.
201 1.1.1.1.2.2 wrstuden fi
202 1.1.1.1.2.2 wrstuden
203 1.1.1.1.2.2 wrstuden if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204 1.1.1.1.2.2 wrstuden :
205 1.1.1.1.2.2 wrstuden else
206 1.1.1.1.2.2 wrstuden exitcode=1
207 1.1.1.1.2.2 wrstuden echo positional parameters were not saved.
208 1.1.1.1.2.2 wrstuden fi
209 1.1.1.1.2.2 wrstuden
210 1.1.1.1.2.2 wrstuden test \$exitcode = 0) || { (exit 1); exit 1; }
211 1.1.1.1.2.2 wrstuden
212 1.1.1.1.2.2 wrstuden (
213 1.1.1.1.2.2 wrstuden as_lineno_1=\$LINENO
214 1.1.1.1.2.2 wrstuden as_lineno_2=\$LINENO
215 1.1.1.1.2.2 wrstuden test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 1.1.1.1.2.2 wrstuden test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 1.1.1.1.2.2 wrstuden ") 2> /dev/null; then
218 1.1.1.1.2.2 wrstuden :
219 1.1.1.1.2.2 wrstuden else
220 1.1.1.1.2.2 wrstuden as_candidate_shells=
221 1.1.1.1.2.2 wrstuden as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 1.1.1.1.2.2 wrstuden for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 1.1.1.1.2.2 wrstuden do
224 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
225 1.1.1.1.2.2 wrstuden test -z "$as_dir" && as_dir=.
226 1.1.1.1.2.2 wrstuden case $as_dir in
227 1.1.1.1.2.2 wrstuden /*)
228 1.1.1.1.2.2 wrstuden for as_base in sh bash ksh sh5; do
229 1.1.1.1.2.2 wrstuden as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 1.1.1.1.2.2 wrstuden done;;
231 1.1.1.1.2.2 wrstuden esac
232 1.1.1.1.2.2 wrstuden done
233 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
234 1.1.1.1.2.2 wrstuden
235 1.1.1.1.2.2 wrstuden
236 1.1.1.1.2.2 wrstuden for as_shell in $as_candidate_shells $SHELL; do
237 1.1.1.1.2.2 wrstuden # Try only shells that exist, to save several forks.
238 1.1.1.1.2.2 wrstuden if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 1.1.1.1.2.2 wrstuden { ("$as_shell") 2> /dev/null <<\_ASEOF
240 1.1.1.1.2.2 wrstuden if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 1.1.1.1.2.2 wrstuden emulate sh
242 1.1.1.1.2.2 wrstuden NULLCMD=:
243 1.1.1.1.2.2 wrstuden # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 1.1.1.1.2.2 wrstuden # is contrary to our usage. Disable this feature.
245 1.1.1.1.2.2 wrstuden alias -g '${1+"$@"}'='"$@"'
246 1.1.1.1.2.2 wrstuden setopt NO_GLOB_SUBST
247 1.1.1.1.2.2 wrstuden else
248 1.1.1.1.2.2 wrstuden case `(set -o) 2>/dev/null` in
249 1.1.1.1.2.2 wrstuden *posix*) set -o posix ;;
250 1.1.1.1.2.2 wrstuden esac
251 1.1.1.1.2.2 wrstuden
252 1.1.1.1.2.2 wrstuden fi
253 1.1.1.1.2.2 wrstuden
254 1.1.1.1.2.2 wrstuden
255 1.1.1.1.2.2 wrstuden :
256 1.1.1.1.2.2 wrstuden _ASEOF
257 1.1.1.1.2.2 wrstuden }; then
258 1.1.1.1.2.2 wrstuden CONFIG_SHELL=$as_shell
259 1.1.1.1.2.2 wrstuden as_have_required=yes
260 1.1.1.1.2.2 wrstuden if { "$as_shell" 2> /dev/null <<\_ASEOF
261 1.1.1.1.2.2 wrstuden if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 1.1.1.1.2.2 wrstuden emulate sh
263 1.1.1.1.2.2 wrstuden NULLCMD=:
264 1.1.1.1.2.2 wrstuden # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 1.1.1.1.2.2 wrstuden # is contrary to our usage. Disable this feature.
266 1.1.1.1.2.2 wrstuden alias -g '${1+"$@"}'='"$@"'
267 1.1.1.1.2.2 wrstuden setopt NO_GLOB_SUBST
268 1.1.1.1.2.2 wrstuden else
269 1.1.1.1.2.2 wrstuden case `(set -o) 2>/dev/null` in
270 1.1.1.1.2.2 wrstuden *posix*) set -o posix ;;
271 1.1.1.1.2.2 wrstuden esac
272 1.1.1.1.2.2 wrstuden
273 1.1.1.1.2.2 wrstuden fi
274 1.1.1.1.2.2 wrstuden
275 1.1.1.1.2.2 wrstuden
276 1.1.1.1.2.2 wrstuden :
277 1.1.1.1.2.2 wrstuden (as_func_return () {
278 1.1.1.1.2.2 wrstuden (exit $1)
279 1.1.1.1.2.2 wrstuden }
280 1.1.1.1.2.2 wrstuden as_func_success () {
281 1.1.1.1.2.2 wrstuden as_func_return 0
282 1.1.1.1.2.2 wrstuden }
283 1.1.1.1.2.2 wrstuden as_func_failure () {
284 1.1.1.1.2.2 wrstuden as_func_return 1
285 1.1.1.1.2.2 wrstuden }
286 1.1.1.1.2.2 wrstuden as_func_ret_success () {
287 1.1.1.1.2.2 wrstuden return 0
288 1.1.1.1.2.2 wrstuden }
289 1.1.1.1.2.2 wrstuden as_func_ret_failure () {
290 1.1.1.1.2.2 wrstuden return 1
291 1.1.1.1.2.2 wrstuden }
292 1.1.1.1.2.2 wrstuden
293 1.1.1.1.2.2 wrstuden exitcode=0
294 1.1.1.1.2.2 wrstuden if as_func_success; then
295 1.1.1.1.2.2 wrstuden :
296 1.1.1.1.2.2 wrstuden else
297 1.1.1.1.2.2 wrstuden exitcode=1
298 1.1.1.1.2.2 wrstuden echo as_func_success failed.
299 1.1.1.1.2.2 wrstuden fi
300 1.1.1.1.2.2 wrstuden
301 1.1.1.1.2.2 wrstuden if as_func_failure; then
302 1.1.1.1.2.2 wrstuden exitcode=1
303 1.1.1.1.2.2 wrstuden echo as_func_failure succeeded.
304 1.1.1.1.2.2 wrstuden fi
305 1.1.1.1.2.2 wrstuden
306 1.1.1.1.2.2 wrstuden if as_func_ret_success; then
307 1.1.1.1.2.2 wrstuden :
308 1.1.1.1.2.2 wrstuden else
309 1.1.1.1.2.2 wrstuden exitcode=1
310 1.1.1.1.2.2 wrstuden echo as_func_ret_success failed.
311 1.1.1.1.2.2 wrstuden fi
312 1.1.1.1.2.2 wrstuden
313 1.1.1.1.2.2 wrstuden if as_func_ret_failure; then
314 1.1.1.1.2.2 wrstuden exitcode=1
315 1.1.1.1.2.2 wrstuden echo as_func_ret_failure succeeded.
316 1.1.1.1.2.2 wrstuden fi
317 1.1.1.1.2.2 wrstuden
318 1.1.1.1.2.2 wrstuden if ( set x; as_func_ret_success y && test x = "$1" ); then
319 1.1.1.1.2.2 wrstuden :
320 1.1.1.1.2.2 wrstuden else
321 1.1.1.1.2.2 wrstuden exitcode=1
322 1.1.1.1.2.2 wrstuden echo positional parameters were not saved.
323 1.1.1.1.2.2 wrstuden fi
324 1.1.1.1.2.2 wrstuden
325 1.1.1.1.2.2 wrstuden test $exitcode = 0) || { (exit 1); exit 1; }
326 1.1.1.1.2.2 wrstuden
327 1.1.1.1.2.2 wrstuden (
328 1.1.1.1.2.2 wrstuden as_lineno_1=$LINENO
329 1.1.1.1.2.2 wrstuden as_lineno_2=$LINENO
330 1.1.1.1.2.2 wrstuden test "x$as_lineno_1" != "x$as_lineno_2" &&
331 1.1.1.1.2.2 wrstuden test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332 1.1.1.1.2.2 wrstuden
333 1.1.1.1.2.2 wrstuden _ASEOF
334 1.1.1.1.2.2 wrstuden }; then
335 1.1.1.1.2.2 wrstuden break
336 1.1.1.1.2.2 wrstuden fi
337 1.1.1.1.2.2 wrstuden
338 1.1.1.1.2.2 wrstuden fi
339 1.1.1.1.2.2 wrstuden
340 1.1.1.1.2.2 wrstuden done
341 1.1.1.1.2.2 wrstuden
342 1.1.1.1.2.2 wrstuden if test "x$CONFIG_SHELL" != x; then
343 1.1.1.1.2.2 wrstuden for as_var in BASH_ENV ENV
344 1.1.1.1.2.2 wrstuden do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345 1.1.1.1.2.2 wrstuden done
346 1.1.1.1.2.2 wrstuden export CONFIG_SHELL
347 1.1.1.1.2.2 wrstuden exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348 1.1.1.1.2.2 wrstuden fi
349 1.1.1.1.2.2 wrstuden
350 1.1.1.1.2.2 wrstuden
351 1.1.1.1.2.2 wrstuden if test $as_have_required = no; then
352 1.1.1.1.2.2 wrstuden echo This script requires a shell more modern than all the
353 1.1.1.1.2.2 wrstuden echo shells that I found on your system. Please install a
354 1.1.1.1.2.2 wrstuden echo modern shell, or manually run the script under such a
355 1.1.1.1.2.2 wrstuden echo shell if you do have one.
356 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }
357 1.1.1.1.2.2 wrstuden fi
358 1.1.1.1.2.2 wrstuden
359 1.1.1.1.2.2 wrstuden
360 1.1.1.1.2.2 wrstuden fi
361 1.1.1.1.2.2 wrstuden
362 1.1.1.1.2.2 wrstuden fi
363 1.1.1.1.2.2 wrstuden
364 1.1.1.1.2.2 wrstuden
365 1.1.1.1.2.2 wrstuden
366 1.1.1.1.2.2 wrstuden (eval "as_func_return () {
367 1.1.1.1.2.2 wrstuden (exit \$1)
368 1.1.1.1.2.2 wrstuden }
369 1.1.1.1.2.2 wrstuden as_func_success () {
370 1.1.1.1.2.2 wrstuden as_func_return 0
371 1.1.1.1.2.2 wrstuden }
372 1.1.1.1.2.2 wrstuden as_func_failure () {
373 1.1.1.1.2.2 wrstuden as_func_return 1
374 1.1.1.1.2.2 wrstuden }
375 1.1.1.1.2.2 wrstuden as_func_ret_success () {
376 1.1.1.1.2.2 wrstuden return 0
377 1.1.1.1.2.2 wrstuden }
378 1.1.1.1.2.2 wrstuden as_func_ret_failure () {
379 1.1.1.1.2.2 wrstuden return 1
380 1.1.1.1.2.2 wrstuden }
381 1.1.1.1.2.2 wrstuden
382 1.1.1.1.2.2 wrstuden exitcode=0
383 1.1.1.1.2.2 wrstuden if as_func_success; then
384 1.1.1.1.2.2 wrstuden :
385 1.1.1.1.2.2 wrstuden else
386 1.1.1.1.2.2 wrstuden exitcode=1
387 1.1.1.1.2.2 wrstuden echo as_func_success failed.
388 1.1.1.1.2.2 wrstuden fi
389 1.1.1.1.2.2 wrstuden
390 1.1.1.1.2.2 wrstuden if as_func_failure; then
391 1.1.1.1.2.2 wrstuden exitcode=1
392 1.1.1.1.2.2 wrstuden echo as_func_failure succeeded.
393 1.1.1.1.2.2 wrstuden fi
394 1.1.1.1.2.2 wrstuden
395 1.1.1.1.2.2 wrstuden if as_func_ret_success; then
396 1.1.1.1.2.2 wrstuden :
397 1.1.1.1.2.2 wrstuden else
398 1.1.1.1.2.2 wrstuden exitcode=1
399 1.1.1.1.2.2 wrstuden echo as_func_ret_success failed.
400 1.1.1.1.2.2 wrstuden fi
401 1.1.1.1.2.2 wrstuden
402 1.1.1.1.2.2 wrstuden if as_func_ret_failure; then
403 1.1.1.1.2.2 wrstuden exitcode=1
404 1.1.1.1.2.2 wrstuden echo as_func_ret_failure succeeded.
405 1.1.1.1.2.2 wrstuden fi
406 1.1.1.1.2.2 wrstuden
407 1.1.1.1.2.2 wrstuden if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408 1.1.1.1.2.2 wrstuden :
409 1.1.1.1.2.2 wrstuden else
410 1.1.1.1.2.2 wrstuden exitcode=1
411 1.1.1.1.2.2 wrstuden echo positional parameters were not saved.
412 1.1.1.1.2.2 wrstuden fi
413 1.1.1.1.2.2 wrstuden
414 1.1.1.1.2.2 wrstuden test \$exitcode = 0") || {
415 1.1.1.1.2.2 wrstuden echo No shell found that supports shell functions.
416 1.1.1.1.2.2 wrstuden echo Please tell autoconf@gnu.org about your system,
417 1.1.1.1.2.2 wrstuden echo including any error possibly output before this
418 1.1.1.1.2.2 wrstuden echo message
419 1.1.1.1.2.2 wrstuden }
420 1.1.1.1.2.2 wrstuden
421 1.1.1.1.2.2 wrstuden
422 1.1.1.1.2.2 wrstuden
423 1.1.1.1.2.2 wrstuden as_lineno_1=$LINENO
424 1.1.1.1.2.2 wrstuden as_lineno_2=$LINENO
425 1.1.1.1.2.2 wrstuden test "x$as_lineno_1" != "x$as_lineno_2" &&
426 1.1.1.1.2.2 wrstuden test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427 1.1.1.1.2.2 wrstuden
428 1.1.1.1.2.2 wrstuden # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 1.1.1.1.2.2 wrstuden # uniformly replaced by the line number. The first 'sed' inserts a
430 1.1.1.1.2.2 wrstuden # line-number line after each line using $LINENO; the second 'sed'
431 1.1.1.1.2.2 wrstuden # does the real work. The second script uses 'N' to pair each
432 1.1.1.1.2.2 wrstuden # line-number line with the line containing $LINENO, and appends
433 1.1.1.1.2.2 wrstuden # trailing '-' during substitution so that $LINENO is not a special
434 1.1.1.1.2.2 wrstuden # case at line end.
435 1.1.1.1.2.2 wrstuden # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 1.1.1.1.2.2 wrstuden # scripts with optimization help from Paolo Bonzini. Blame Lee
437 1.1.1.1.2.2 wrstuden # E. McMahon (1931-1989) for sed's syntax. :-)
438 1.1.1.1.2.2 wrstuden sed -n '
439 1.1.1.1.2.2 wrstuden p
440 1.1.1.1.2.2 wrstuden /[$]LINENO/=
441 1.1.1.1.2.2 wrstuden ' <$as_myself |
442 1.1.1.1.2.2 wrstuden sed '
443 1.1.1.1.2.2 wrstuden s/[$]LINENO.*/&-/
444 1.1.1.1.2.2 wrstuden t lineno
445 1.1.1.1.2.2 wrstuden b
446 1.1.1.1.2.2 wrstuden :lineno
447 1.1.1.1.2.2 wrstuden N
448 1.1.1.1.2.2 wrstuden :loop
449 1.1.1.1.2.2 wrstuden s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 1.1.1.1.2.2 wrstuden t loop
451 1.1.1.1.2.2 wrstuden s/-\n.*//
452 1.1.1.1.2.2 wrstuden ' >$as_me.lineno &&
453 1.1.1.1.2.2 wrstuden chmod +x "$as_me.lineno" ||
454 1.1.1.1.2.2 wrstuden { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
456 1.1.1.1.2.2 wrstuden
457 1.1.1.1.2.2 wrstuden # Don't try to exec as it changes $[0], causing all sort of problems
458 1.1.1.1.2.2 wrstuden # (the dirname of $[0] is not the place where we might find the
459 1.1.1.1.2.2 wrstuden # original and so on. Autoconf is especially sensitive to this).
460 1.1.1.1.2.2 wrstuden . "./$as_me.lineno"
461 1.1.1.1.2.2 wrstuden # Exit status is that of the last command.
462 1.1.1.1.2.2 wrstuden exit
463 1.1.1.1.2.2 wrstuden }
464 1.1.1.1.2.2 wrstuden
465 1.1.1.1.2.2 wrstuden
466 1.1.1.1.2.2 wrstuden if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 1.1.1.1.2.2 wrstuden as_dirname=dirname
468 1.1.1.1.2.2 wrstuden else
469 1.1.1.1.2.2 wrstuden as_dirname=false
470 1.1.1.1.2.2 wrstuden fi
471 1.1.1.1.2.2 wrstuden
472 1.1.1.1.2.2 wrstuden ECHO_C= ECHO_N= ECHO_T=
473 1.1.1.1.2.2 wrstuden case `echo -n x` in
474 1.1.1.1.2.2 wrstuden -n*)
475 1.1.1.1.2.2 wrstuden case `echo 'x\c'` in
476 1.1.1.1.2.2 wrstuden *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 1.1.1.1.2.2 wrstuden *) ECHO_C='\c';;
478 1.1.1.1.2.2 wrstuden esac;;
479 1.1.1.1.2.2 wrstuden *)
480 1.1.1.1.2.2 wrstuden ECHO_N='-n';;
481 1.1.1.1.2.2 wrstuden esac
482 1.1.1.1.2.2 wrstuden
483 1.1.1.1.2.2 wrstuden if expr a : '\(a\)' >/dev/null 2>&1 &&
484 1.1.1.1.2.2 wrstuden test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 1.1.1.1.2.2 wrstuden as_expr=expr
486 1.1.1.1.2.2 wrstuden else
487 1.1.1.1.2.2 wrstuden as_expr=false
488 1.1.1.1.2.2 wrstuden fi
489 1.1.1.1.2.2 wrstuden
490 1.1.1.1.2.2 wrstuden rm -f conf$$ conf$$.exe conf$$.file
491 1.1.1.1.2.2 wrstuden if test -d conf$$.dir; then
492 1.1.1.1.2.2 wrstuden rm -f conf$$.dir/conf$$.file
493 1.1.1.1.2.2 wrstuden else
494 1.1.1.1.2.2 wrstuden rm -f conf$$.dir
495 1.1.1.1.2.2 wrstuden mkdir conf$$.dir
496 1.1.1.1.2.2 wrstuden fi
497 1.1.1.1.2.2 wrstuden echo >conf$$.file
498 1.1.1.1.2.2 wrstuden if ln -s conf$$.file conf$$ 2>/dev/null; then
499 1.1.1.1.2.2 wrstuden as_ln_s='ln -s'
500 1.1.1.1.2.2 wrstuden # ... but there are two gotchas:
501 1.1.1.1.2.2 wrstuden # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 1.1.1.1.2.2 wrstuden # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 1.1.1.1.2.2 wrstuden # In both cases, we have to default to `cp -p'.
504 1.1.1.1.2.2 wrstuden ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505 1.1.1.1.2.2 wrstuden as_ln_s='cp -p'
506 1.1.1.1.2.2 wrstuden elif ln conf$$.file conf$$ 2>/dev/null; then
507 1.1.1.1.2.2 wrstuden as_ln_s=ln
508 1.1.1.1.2.2 wrstuden else
509 1.1.1.1.2.2 wrstuden as_ln_s='cp -p'
510 1.1.1.1.2.2 wrstuden fi
511 1.1.1.1.2.2 wrstuden rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 1.1.1.1.2.2 wrstuden rmdir conf$$.dir 2>/dev/null
513 1.1.1.1.2.2 wrstuden
514 1.1.1.1.2.2 wrstuden if mkdir -p . 2>/dev/null; then
515 1.1.1.1.2.2 wrstuden as_mkdir_p=:
516 1.1.1.1.2.2 wrstuden else
517 1.1.1.1.2.2 wrstuden test -d ./-p && rmdir ./-p
518 1.1.1.1.2.2 wrstuden as_mkdir_p=false
519 1.1.1.1.2.2 wrstuden fi
520 1.1.1.1.2.2 wrstuden
521 1.1.1.1.2.2 wrstuden if test -x / >/dev/null 2>&1; then
522 1.1.1.1.2.2 wrstuden as_test_x='test -x'
523 1.1.1.1.2.2 wrstuden else
524 1.1.1.1.2.2 wrstuden if ls -dL / >/dev/null 2>&1; then
525 1.1.1.1.2.2 wrstuden as_ls_L_option=L
526 1.1.1.1.2.2 wrstuden else
527 1.1.1.1.2.2 wrstuden as_ls_L_option=
528 1.1.1.1.2.2 wrstuden fi
529 1.1.1.1.2.2 wrstuden as_test_x='
530 1.1.1.1.2.2 wrstuden eval sh -c '\''
531 1.1.1.1.2.2 wrstuden if test -d "$1"; then
532 1.1.1.1.2.2 wrstuden test -d "$1/.";
533 1.1.1.1.2.2 wrstuden else
534 1.1.1.1.2.2 wrstuden case $1 in
535 1.1.1.1.2.2 wrstuden -*)set "./$1";;
536 1.1.1.1.2.2 wrstuden esac;
537 1.1.1.1.2.2 wrstuden case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 1.1.1.1.2.2 wrstuden ???[sx]*):;;*)false;;esac;fi
539 1.1.1.1.2.2 wrstuden '\'' sh
540 1.1.1.1.2.2 wrstuden '
541 1.1.1.1.2.2 wrstuden fi
542 1.1.1.1.2.2 wrstuden as_executable_p=$as_test_x
543 1.1.1.1.2.2 wrstuden
544 1.1.1.1.2.2 wrstuden # Sed expression to map a string onto a valid CPP name.
545 1.1.1.1.2.2 wrstuden as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546 1.1.1.1.2.2 wrstuden
547 1.1.1.1.2.2 wrstuden # Sed expression to map a string onto a valid variable name.
548 1.1.1.1.2.2 wrstuden as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549 1.1.1.1.2.2 wrstuden
550 1.1.1.1.2.2 wrstuden
551 1.1.1.1.2.2 wrstuden
552 1.1.1.1.2.2 wrstuden exec 7<&0 </dev/null 6>&1
553 1.1.1.1.2.2 wrstuden
554 1.1.1.1.2.2 wrstuden # Name of the host.
555 1.1.1.1.2.2 wrstuden # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 1.1.1.1.2.2 wrstuden # so uname gets run too.
557 1.1.1.1.2.2 wrstuden ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558 1.1.1.1.2.2 wrstuden
559 1.1.1.1.2.2 wrstuden #
560 1.1.1.1.2.2 wrstuden # Initializations.
561 1.1.1.1.2.2 wrstuden #
562 1.1.1.1.2.2 wrstuden ac_default_prefix=/usr/local
563 1.1.1.1.2.2 wrstuden ac_clean_files=
564 1.1.1.1.2.2 wrstuden ac_config_libobj_dir=.
565 1.1.1.1.2.2 wrstuden LIBOBJS=
566 1.1.1.1.2.2 wrstuden cross_compiling=no
567 1.1.1.1.2.2 wrstuden subdirs=
568 1.1.1.1.2.2 wrstuden MFLAGS=
569 1.1.1.1.2.2 wrstuden MAKEFLAGS=
570 1.1.1.1.2.2 wrstuden SHELL=${CONFIG_SHELL-/bin/sh}
571 1.1.1.1.2.2 wrstuden
572 1.1.1.1.2.2 wrstuden # Identity of this package.
573 1.1.1.1.2.2 wrstuden PACKAGE_NAME='top'
574 1.1.1.1.2.2 wrstuden PACKAGE_TARNAME='top'
575 1.1.1.1.2.2 wrstuden PACKAGE_VERSION='3.8beta1'
576 1.1.1.1.2.2 wrstuden PACKAGE_STRING='top 3.8beta1'
577 1.1.1.1.2.2 wrstuden PACKAGE_BUGREPORT=''
578 1.1.1.1.2.2 wrstuden
579 1.1.1.1.2.2 wrstuden # Factoring default headers for most tests.
580 1.1.1.1.2.2 wrstuden ac_includes_default="\
581 1.1.1.1.2.2 wrstuden #include <stdio.h>
582 1.1.1.1.2.2 wrstuden #ifdef HAVE_SYS_TYPES_H
583 1.1.1.1.2.2 wrstuden # include <sys/types.h>
584 1.1.1.1.2.2 wrstuden #endif
585 1.1.1.1.2.2 wrstuden #ifdef HAVE_SYS_STAT_H
586 1.1.1.1.2.2 wrstuden # include <sys/stat.h>
587 1.1.1.1.2.2 wrstuden #endif
588 1.1.1.1.2.2 wrstuden #ifdef STDC_HEADERS
589 1.1.1.1.2.2 wrstuden # include <stdlib.h>
590 1.1.1.1.2.2 wrstuden # include <stddef.h>
591 1.1.1.1.2.2 wrstuden #else
592 1.1.1.1.2.2 wrstuden # ifdef HAVE_STDLIB_H
593 1.1.1.1.2.2 wrstuden # include <stdlib.h>
594 1.1.1.1.2.2 wrstuden # endif
595 1.1.1.1.2.2 wrstuden #endif
596 1.1.1.1.2.2 wrstuden #ifdef HAVE_STRING_H
597 1.1.1.1.2.2 wrstuden # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 1.1.1.1.2.2 wrstuden # include <memory.h>
599 1.1.1.1.2.2 wrstuden # endif
600 1.1.1.1.2.2 wrstuden # include <string.h>
601 1.1.1.1.2.2 wrstuden #endif
602 1.1.1.1.2.2 wrstuden #ifdef HAVE_STRINGS_H
603 1.1.1.1.2.2 wrstuden # include <strings.h>
604 1.1.1.1.2.2 wrstuden #endif
605 1.1.1.1.2.2 wrstuden #ifdef HAVE_INTTYPES_H
606 1.1.1.1.2.2 wrstuden # include <inttypes.h>
607 1.1.1.1.2.2 wrstuden #endif
608 1.1.1.1.2.2 wrstuden #ifdef HAVE_STDINT_H
609 1.1.1.1.2.2 wrstuden # include <stdint.h>
610 1.1.1.1.2.2 wrstuden #endif
611 1.1.1.1.2.2 wrstuden #ifdef HAVE_UNISTD_H
612 1.1.1.1.2.2 wrstuden # include <unistd.h>
613 1.1.1.1.2.2 wrstuden #endif"
614 1.1.1.1.2.2 wrstuden
615 1.1.1.1.2.2 wrstuden ac_subst_vars='SHELL
616 1.1.1.1.2.2 wrstuden PATH_SEPARATOR
617 1.1.1.1.2.2 wrstuden PACKAGE_NAME
618 1.1.1.1.2.2 wrstuden PACKAGE_TARNAME
619 1.1.1.1.2.2 wrstuden PACKAGE_VERSION
620 1.1.1.1.2.2 wrstuden PACKAGE_STRING
621 1.1.1.1.2.2 wrstuden PACKAGE_BUGREPORT
622 1.1.1.1.2.2 wrstuden exec_prefix
623 1.1.1.1.2.2 wrstuden prefix
624 1.1.1.1.2.2 wrstuden program_transform_name
625 1.1.1.1.2.2 wrstuden bindir
626 1.1.1.1.2.2 wrstuden sbindir
627 1.1.1.1.2.2 wrstuden libexecdir
628 1.1.1.1.2.2 wrstuden datarootdir
629 1.1.1.1.2.2 wrstuden datadir
630 1.1.1.1.2.2 wrstuden sysconfdir
631 1.1.1.1.2.2 wrstuden sharedstatedir
632 1.1.1.1.2.2 wrstuden localstatedir
633 1.1.1.1.2.2 wrstuden includedir
634 1.1.1.1.2.2 wrstuden oldincludedir
635 1.1.1.1.2.2 wrstuden docdir
636 1.1.1.1.2.2 wrstuden infodir
637 1.1.1.1.2.2 wrstuden htmldir
638 1.1.1.1.2.2 wrstuden dvidir
639 1.1.1.1.2.2 wrstuden pdfdir
640 1.1.1.1.2.2 wrstuden psdir
641 1.1.1.1.2.2 wrstuden libdir
642 1.1.1.1.2.2 wrstuden localedir
643 1.1.1.1.2.2 wrstuden mandir
644 1.1.1.1.2.2 wrstuden DEFS
645 1.1.1.1.2.2 wrstuden ECHO_C
646 1.1.1.1.2.2 wrstuden ECHO_N
647 1.1.1.1.2.2 wrstuden ECHO_T
648 1.1.1.1.2.2 wrstuden LIBS
649 1.1.1.1.2.2 wrstuden build_alias
650 1.1.1.1.2.2 wrstuden host_alias
651 1.1.1.1.2.2 wrstuden target_alias
652 1.1.1.1.2.2 wrstuden build
653 1.1.1.1.2.2 wrstuden build_cpu
654 1.1.1.1.2.2 wrstuden build_vendor
655 1.1.1.1.2.2 wrstuden build_os
656 1.1.1.1.2.2 wrstuden host
657 1.1.1.1.2.2 wrstuden host_cpu
658 1.1.1.1.2.2 wrstuden host_vendor
659 1.1.1.1.2.2 wrstuden host_os
660 1.1.1.1.2.2 wrstuden target
661 1.1.1.1.2.2 wrstuden target_cpu
662 1.1.1.1.2.2 wrstuden target_vendor
663 1.1.1.1.2.2 wrstuden target_os
664 1.1.1.1.2.2 wrstuden DEFAULT_TOPN
665 1.1.1.1.2.2 wrstuden NOMINAL_TOPN
666 1.1.1.1.2.2 wrstuden DEFAULT_DELAY
667 1.1.1.1.2.2 wrstuden ENABLE_KILL
668 1.1.1.1.2.2 wrstuden MAKE
669 1.1.1.1.2.2 wrstuden CC
670 1.1.1.1.2.2 wrstuden CFLAGS
671 1.1.1.1.2.2 wrstuden LDFLAGS
672 1.1.1.1.2.2 wrstuden CPPFLAGS
673 1.1.1.1.2.2 wrstuden ac_ct_CC
674 1.1.1.1.2.2 wrstuden EXEEXT
675 1.1.1.1.2.2 wrstuden OBJEXT
676 1.1.1.1.2.2 wrstuden AWK
677 1.1.1.1.2.2 wrstuden INSTALL_PROGRAM
678 1.1.1.1.2.2 wrstuden INSTALL_SCRIPT
679 1.1.1.1.2.2 wrstuden INSTALL_DATA
680 1.1.1.1.2.2 wrstuden ISAINFO
681 1.1.1.1.2.2 wrstuden ISAEXEC
682 1.1.1.1.2.2 wrstuden UNAME
683 1.1.1.1.2.2 wrstuden CPP
684 1.1.1.1.2.2 wrstuden GREP
685 1.1.1.1.2.2 wrstuden EGREP
686 1.1.1.1.2.2 wrstuden SIGNAL_H
687 1.1.1.1.2.2 wrstuden HAVE_GETOPT_LONG
688 1.1.1.1.2.2 wrstuden SRC
689 1.1.1.1.2.2 wrstuden OBJ
690 1.1.1.1.2.2 wrstuden CLEAN_EXTRA
691 1.1.1.1.2.2 wrstuden ARCHFLAG
692 1.1.1.1.2.2 wrstuden MODULE
693 1.1.1.1.2.2 wrstuden MODULE_CFLAGS
694 1.1.1.1.2.2 wrstuden INSTALL_OPTS_PROG
695 1.1.1.1.2.2 wrstuden LIBOBJS
696 1.1.1.1.2.2 wrstuden LTLIBOBJS'
697 1.1.1.1.2.2 wrstuden ac_subst_files='FIRST_RULE
698 1.1.1.1.2.2 wrstuden INSTALL_RULE
699 1.1.1.1.2.2 wrstuden MAN_SUPPLEMENT'
700 1.1.1.1.2.2 wrstuden ac_precious_vars='build_alias
701 1.1.1.1.2.2 wrstuden host_alias
702 1.1.1.1.2.2 wrstuden target_alias
703 1.1.1.1.2.2 wrstuden CC
704 1.1.1.1.2.2 wrstuden CFLAGS
705 1.1.1.1.2.2 wrstuden LDFLAGS
706 1.1.1.1.2.2 wrstuden LIBS
707 1.1.1.1.2.2 wrstuden CPPFLAGS
708 1.1.1.1.2.2 wrstuden CPP'
709 1.1.1.1.2.2 wrstuden
710 1.1.1.1.2.2 wrstuden
711 1.1.1.1.2.2 wrstuden # Initialize some variables set by options.
712 1.1.1.1.2.2 wrstuden ac_init_help=
713 1.1.1.1.2.2 wrstuden ac_init_version=false
714 1.1.1.1.2.2 wrstuden # The variables have the same names as the options, with
715 1.1.1.1.2.2 wrstuden # dashes changed to underlines.
716 1.1.1.1.2.2 wrstuden cache_file=/dev/null
717 1.1.1.1.2.2 wrstuden exec_prefix=NONE
718 1.1.1.1.2.2 wrstuden no_create=
719 1.1.1.1.2.2 wrstuden no_recursion=
720 1.1.1.1.2.2 wrstuden prefix=NONE
721 1.1.1.1.2.2 wrstuden program_prefix=NONE
722 1.1.1.1.2.2 wrstuden program_suffix=NONE
723 1.1.1.1.2.2 wrstuden program_transform_name=s,x,x,
724 1.1.1.1.2.2 wrstuden silent=
725 1.1.1.1.2.2 wrstuden site=
726 1.1.1.1.2.2 wrstuden srcdir=
727 1.1.1.1.2.2 wrstuden verbose=
728 1.1.1.1.2.2 wrstuden x_includes=NONE
729 1.1.1.1.2.2 wrstuden x_libraries=NONE
730 1.1.1.1.2.2 wrstuden
731 1.1.1.1.2.2 wrstuden # Installation directory options.
732 1.1.1.1.2.2 wrstuden # These are left unexpanded so users can "make install exec_prefix=/foo"
733 1.1.1.1.2.2 wrstuden # and all the variables that are supposed to be based on exec_prefix
734 1.1.1.1.2.2 wrstuden # by default will actually change.
735 1.1.1.1.2.2 wrstuden # Use braces instead of parens because sh, perl, etc. also accept them.
736 1.1.1.1.2.2 wrstuden # (The list follows the same order as the GNU Coding Standards.)
737 1.1.1.1.2.2 wrstuden bindir='${exec_prefix}/bin'
738 1.1.1.1.2.2 wrstuden sbindir='${exec_prefix}/sbin'
739 1.1.1.1.2.2 wrstuden libexecdir='${exec_prefix}/libexec'
740 1.1.1.1.2.2 wrstuden datarootdir='${prefix}/share'
741 1.1.1.1.2.2 wrstuden datadir='${datarootdir}'
742 1.1.1.1.2.2 wrstuden sysconfdir='${prefix}/etc'
743 1.1.1.1.2.2 wrstuden sharedstatedir='${prefix}/com'
744 1.1.1.1.2.2 wrstuden localstatedir='${prefix}/var'
745 1.1.1.1.2.2 wrstuden includedir='${prefix}/include'
746 1.1.1.1.2.2 wrstuden oldincludedir='/usr/include'
747 1.1.1.1.2.2 wrstuden docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
748 1.1.1.1.2.2 wrstuden infodir='${datarootdir}/info'
749 1.1.1.1.2.2 wrstuden htmldir='${docdir}'
750 1.1.1.1.2.2 wrstuden dvidir='${docdir}'
751 1.1.1.1.2.2 wrstuden pdfdir='${docdir}'
752 1.1.1.1.2.2 wrstuden psdir='${docdir}'
753 1.1.1.1.2.2 wrstuden libdir='${exec_prefix}/lib'
754 1.1.1.1.2.2 wrstuden localedir='${datarootdir}/locale'
755 1.1.1.1.2.2 wrstuden mandir='${datarootdir}/man'
756 1.1.1.1.2.2 wrstuden
757 1.1.1.1.2.2 wrstuden ac_prev=
758 1.1.1.1.2.2 wrstuden ac_dashdash=
759 1.1.1.1.2.2 wrstuden for ac_option
760 1.1.1.1.2.2 wrstuden do
761 1.1.1.1.2.2 wrstuden # If the previous option needs an argument, assign it.
762 1.1.1.1.2.2 wrstuden if test -n "$ac_prev"; then
763 1.1.1.1.2.2 wrstuden eval $ac_prev=\$ac_option
764 1.1.1.1.2.2 wrstuden ac_prev=
765 1.1.1.1.2.2 wrstuden continue
766 1.1.1.1.2.2 wrstuden fi
767 1.1.1.1.2.2 wrstuden
768 1.1.1.1.2.2 wrstuden case $ac_option in
769 1.1.1.1.2.2 wrstuden *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
770 1.1.1.1.2.2 wrstuden *) ac_optarg=yes ;;
771 1.1.1.1.2.2 wrstuden esac
772 1.1.1.1.2.2 wrstuden
773 1.1.1.1.2.2 wrstuden # Accept the important Cygnus configure options, so we can diagnose typos.
774 1.1.1.1.2.2 wrstuden
775 1.1.1.1.2.2 wrstuden case $ac_dashdash$ac_option in
776 1.1.1.1.2.2 wrstuden --)
777 1.1.1.1.2.2 wrstuden ac_dashdash=yes ;;
778 1.1.1.1.2.2 wrstuden
779 1.1.1.1.2.2 wrstuden -bindir | --bindir | --bindi | --bind | --bin | --bi)
780 1.1.1.1.2.2 wrstuden ac_prev=bindir ;;
781 1.1.1.1.2.2 wrstuden -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
782 1.1.1.1.2.2 wrstuden bindir=$ac_optarg ;;
783 1.1.1.1.2.2 wrstuden
784 1.1.1.1.2.2 wrstuden -build | --build | --buil | --bui | --bu)
785 1.1.1.1.2.2 wrstuden ac_prev=build_alias ;;
786 1.1.1.1.2.2 wrstuden -build=* | --build=* | --buil=* | --bui=* | --bu=*)
787 1.1.1.1.2.2 wrstuden build_alias=$ac_optarg ;;
788 1.1.1.1.2.2 wrstuden
789 1.1.1.1.2.2 wrstuden -cache-file | --cache-file | --cache-fil | --cache-fi \
790 1.1.1.1.2.2 wrstuden | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
791 1.1.1.1.2.2 wrstuden ac_prev=cache_file ;;
792 1.1.1.1.2.2 wrstuden -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
793 1.1.1.1.2.2 wrstuden | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
794 1.1.1.1.2.2 wrstuden cache_file=$ac_optarg ;;
795 1.1.1.1.2.2 wrstuden
796 1.1.1.1.2.2 wrstuden --config-cache | -C)
797 1.1.1.1.2.2 wrstuden cache_file=config.cache ;;
798 1.1.1.1.2.2 wrstuden
799 1.1.1.1.2.2 wrstuden -datadir | --datadir | --datadi | --datad)
800 1.1.1.1.2.2 wrstuden ac_prev=datadir ;;
801 1.1.1.1.2.2 wrstuden -datadir=* | --datadir=* | --datadi=* | --datad=*)
802 1.1.1.1.2.2 wrstuden datadir=$ac_optarg ;;
803 1.1.1.1.2.2 wrstuden
804 1.1.1.1.2.2 wrstuden -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
805 1.1.1.1.2.2 wrstuden | --dataroo | --dataro | --datar)
806 1.1.1.1.2.2 wrstuden ac_prev=datarootdir ;;
807 1.1.1.1.2.2 wrstuden -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
808 1.1.1.1.2.2 wrstuden | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
809 1.1.1.1.2.2 wrstuden datarootdir=$ac_optarg ;;
810 1.1.1.1.2.2 wrstuden
811 1.1.1.1.2.2 wrstuden -disable-* | --disable-*)
812 1.1.1.1.2.2 wrstuden ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
813 1.1.1.1.2.2 wrstuden # Reject names that are not valid shell variable names.
814 1.1.1.1.2.2 wrstuden expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
815 1.1.1.1.2.2 wrstuden { echo "$as_me: error: invalid feature name: $ac_feature" >&2
816 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
817 1.1.1.1.2.2 wrstuden ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
818 1.1.1.1.2.2 wrstuden eval enable_$ac_feature=no ;;
819 1.1.1.1.2.2 wrstuden
820 1.1.1.1.2.2 wrstuden -docdir | --docdir | --docdi | --doc | --do)
821 1.1.1.1.2.2 wrstuden ac_prev=docdir ;;
822 1.1.1.1.2.2 wrstuden -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
823 1.1.1.1.2.2 wrstuden docdir=$ac_optarg ;;
824 1.1.1.1.2.2 wrstuden
825 1.1.1.1.2.2 wrstuden -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
826 1.1.1.1.2.2 wrstuden ac_prev=dvidir ;;
827 1.1.1.1.2.2 wrstuden -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
828 1.1.1.1.2.2 wrstuden dvidir=$ac_optarg ;;
829 1.1.1.1.2.2 wrstuden
830 1.1.1.1.2.2 wrstuden -enable-* | --enable-*)
831 1.1.1.1.2.2 wrstuden ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
832 1.1.1.1.2.2 wrstuden # Reject names that are not valid shell variable names.
833 1.1.1.1.2.2 wrstuden expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
834 1.1.1.1.2.2 wrstuden { echo "$as_me: error: invalid feature name: $ac_feature" >&2
835 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
836 1.1.1.1.2.2 wrstuden ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
837 1.1.1.1.2.2 wrstuden eval enable_$ac_feature=\$ac_optarg ;;
838 1.1.1.1.2.2 wrstuden
839 1.1.1.1.2.2 wrstuden -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
840 1.1.1.1.2.2 wrstuden | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
841 1.1.1.1.2.2 wrstuden | --exec | --exe | --ex)
842 1.1.1.1.2.2 wrstuden ac_prev=exec_prefix ;;
843 1.1.1.1.2.2 wrstuden -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
844 1.1.1.1.2.2 wrstuden | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
845 1.1.1.1.2.2 wrstuden | --exec=* | --exe=* | --ex=*)
846 1.1.1.1.2.2 wrstuden exec_prefix=$ac_optarg ;;
847 1.1.1.1.2.2 wrstuden
848 1.1.1.1.2.2 wrstuden -gas | --gas | --ga | --g)
849 1.1.1.1.2.2 wrstuden # Obsolete; use --with-gas.
850 1.1.1.1.2.2 wrstuden with_gas=yes ;;
851 1.1.1.1.2.2 wrstuden
852 1.1.1.1.2.2 wrstuden -help | --help | --hel | --he | -h)
853 1.1.1.1.2.2 wrstuden ac_init_help=long ;;
854 1.1.1.1.2.2 wrstuden -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
855 1.1.1.1.2.2 wrstuden ac_init_help=recursive ;;
856 1.1.1.1.2.2 wrstuden -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
857 1.1.1.1.2.2 wrstuden ac_init_help=short ;;
858 1.1.1.1.2.2 wrstuden
859 1.1.1.1.2.2 wrstuden -host | --host | --hos | --ho)
860 1.1.1.1.2.2 wrstuden ac_prev=host_alias ;;
861 1.1.1.1.2.2 wrstuden -host=* | --host=* | --hos=* | --ho=*)
862 1.1.1.1.2.2 wrstuden host_alias=$ac_optarg ;;
863 1.1.1.1.2.2 wrstuden
864 1.1.1.1.2.2 wrstuden -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
865 1.1.1.1.2.2 wrstuden ac_prev=htmldir ;;
866 1.1.1.1.2.2 wrstuden -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
867 1.1.1.1.2.2 wrstuden | --ht=*)
868 1.1.1.1.2.2 wrstuden htmldir=$ac_optarg ;;
869 1.1.1.1.2.2 wrstuden
870 1.1.1.1.2.2 wrstuden -includedir | --includedir | --includedi | --included | --include \
871 1.1.1.1.2.2 wrstuden | --includ | --inclu | --incl | --inc)
872 1.1.1.1.2.2 wrstuden ac_prev=includedir ;;
873 1.1.1.1.2.2 wrstuden -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
874 1.1.1.1.2.2 wrstuden | --includ=* | --inclu=* | --incl=* | --inc=*)
875 1.1.1.1.2.2 wrstuden includedir=$ac_optarg ;;
876 1.1.1.1.2.2 wrstuden
877 1.1.1.1.2.2 wrstuden -infodir | --infodir | --infodi | --infod | --info | --inf)
878 1.1.1.1.2.2 wrstuden ac_prev=infodir ;;
879 1.1.1.1.2.2 wrstuden -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
880 1.1.1.1.2.2 wrstuden infodir=$ac_optarg ;;
881 1.1.1.1.2.2 wrstuden
882 1.1.1.1.2.2 wrstuden -libdir | --libdir | --libdi | --libd)
883 1.1.1.1.2.2 wrstuden ac_prev=libdir ;;
884 1.1.1.1.2.2 wrstuden -libdir=* | --libdir=* | --libdi=* | --libd=*)
885 1.1.1.1.2.2 wrstuden libdir=$ac_optarg ;;
886 1.1.1.1.2.2 wrstuden
887 1.1.1.1.2.2 wrstuden -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
888 1.1.1.1.2.2 wrstuden | --libexe | --libex | --libe)
889 1.1.1.1.2.2 wrstuden ac_prev=libexecdir ;;
890 1.1.1.1.2.2 wrstuden -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
891 1.1.1.1.2.2 wrstuden | --libexe=* | --libex=* | --libe=*)
892 1.1.1.1.2.2 wrstuden libexecdir=$ac_optarg ;;
893 1.1.1.1.2.2 wrstuden
894 1.1.1.1.2.2 wrstuden -localedir | --localedir | --localedi | --localed | --locale)
895 1.1.1.1.2.2 wrstuden ac_prev=localedir ;;
896 1.1.1.1.2.2 wrstuden -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
897 1.1.1.1.2.2 wrstuden localedir=$ac_optarg ;;
898 1.1.1.1.2.2 wrstuden
899 1.1.1.1.2.2 wrstuden -localstatedir | --localstatedir | --localstatedi | --localstated \
900 1.1.1.1.2.2 wrstuden | --localstate | --localstat | --localsta | --localst | --locals)
901 1.1.1.1.2.2 wrstuden ac_prev=localstatedir ;;
902 1.1.1.1.2.2 wrstuden -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
903 1.1.1.1.2.2 wrstuden | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
904 1.1.1.1.2.2 wrstuden localstatedir=$ac_optarg ;;
905 1.1.1.1.2.2 wrstuden
906 1.1.1.1.2.2 wrstuden -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
907 1.1.1.1.2.2 wrstuden ac_prev=mandir ;;
908 1.1.1.1.2.2 wrstuden -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
909 1.1.1.1.2.2 wrstuden mandir=$ac_optarg ;;
910 1.1.1.1.2.2 wrstuden
911 1.1.1.1.2.2 wrstuden -nfp | --nfp | --nf)
912 1.1.1.1.2.2 wrstuden # Obsolete; use --without-fp.
913 1.1.1.1.2.2 wrstuden with_fp=no ;;
914 1.1.1.1.2.2 wrstuden
915 1.1.1.1.2.2 wrstuden -no-create | --no-create | --no-creat | --no-crea | --no-cre \
916 1.1.1.1.2.2 wrstuden | --no-cr | --no-c | -n)
917 1.1.1.1.2.2 wrstuden no_create=yes ;;
918 1.1.1.1.2.2 wrstuden
919 1.1.1.1.2.2 wrstuden -no-recursion | --no-recursion | --no-recursio | --no-recursi \
920 1.1.1.1.2.2 wrstuden | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
921 1.1.1.1.2.2 wrstuden no_recursion=yes ;;
922 1.1.1.1.2.2 wrstuden
923 1.1.1.1.2.2 wrstuden -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
924 1.1.1.1.2.2 wrstuden | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
925 1.1.1.1.2.2 wrstuden | --oldin | --oldi | --old | --ol | --o)
926 1.1.1.1.2.2 wrstuden ac_prev=oldincludedir ;;
927 1.1.1.1.2.2 wrstuden -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
928 1.1.1.1.2.2 wrstuden | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
929 1.1.1.1.2.2 wrstuden | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
930 1.1.1.1.2.2 wrstuden oldincludedir=$ac_optarg ;;
931 1.1.1.1.2.2 wrstuden
932 1.1.1.1.2.2 wrstuden -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
933 1.1.1.1.2.2 wrstuden ac_prev=prefix ;;
934 1.1.1.1.2.2 wrstuden -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
935 1.1.1.1.2.2 wrstuden prefix=$ac_optarg ;;
936 1.1.1.1.2.2 wrstuden
937 1.1.1.1.2.2 wrstuden -program-prefix | --program-prefix | --program-prefi | --program-pref \
938 1.1.1.1.2.2 wrstuden | --program-pre | --program-pr | --program-p)
939 1.1.1.1.2.2 wrstuden ac_prev=program_prefix ;;
940 1.1.1.1.2.2 wrstuden -program-prefix=* | --program-prefix=* | --program-prefi=* \
941 1.1.1.1.2.2 wrstuden | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
942 1.1.1.1.2.2 wrstuden program_prefix=$ac_optarg ;;
943 1.1.1.1.2.2 wrstuden
944 1.1.1.1.2.2 wrstuden -program-suffix | --program-suffix | --program-suffi | --program-suff \
945 1.1.1.1.2.2 wrstuden | --program-suf | --program-su | --program-s)
946 1.1.1.1.2.2 wrstuden ac_prev=program_suffix ;;
947 1.1.1.1.2.2 wrstuden -program-suffix=* | --program-suffix=* | --program-suffi=* \
948 1.1.1.1.2.2 wrstuden | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
949 1.1.1.1.2.2 wrstuden program_suffix=$ac_optarg ;;
950 1.1.1.1.2.2 wrstuden
951 1.1.1.1.2.2 wrstuden -program-transform-name | --program-transform-name \
952 1.1.1.1.2.2 wrstuden | --program-transform-nam | --program-transform-na \
953 1.1.1.1.2.2 wrstuden | --program-transform-n | --program-transform- \
954 1.1.1.1.2.2 wrstuden | --program-transform | --program-transfor \
955 1.1.1.1.2.2 wrstuden | --program-transfo | --program-transf \
956 1.1.1.1.2.2 wrstuden | --program-trans | --program-tran \
957 1.1.1.1.2.2 wrstuden | --progr-tra | --program-tr | --program-t)
958 1.1.1.1.2.2 wrstuden ac_prev=program_transform_name ;;
959 1.1.1.1.2.2 wrstuden -program-transform-name=* | --program-transform-name=* \
960 1.1.1.1.2.2 wrstuden | --program-transform-nam=* | --program-transform-na=* \
961 1.1.1.1.2.2 wrstuden | --program-transform-n=* | --program-transform-=* \
962 1.1.1.1.2.2 wrstuden | --program-transform=* | --program-transfor=* \
963 1.1.1.1.2.2 wrstuden | --program-transfo=* | --program-transf=* \
964 1.1.1.1.2.2 wrstuden | --program-trans=* | --program-tran=* \
965 1.1.1.1.2.2 wrstuden | --progr-tra=* | --program-tr=* | --program-t=*)
966 1.1.1.1.2.2 wrstuden program_transform_name=$ac_optarg ;;
967 1.1.1.1.2.2 wrstuden
968 1.1.1.1.2.2 wrstuden -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
969 1.1.1.1.2.2 wrstuden ac_prev=pdfdir ;;
970 1.1.1.1.2.2 wrstuden -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
971 1.1.1.1.2.2 wrstuden pdfdir=$ac_optarg ;;
972 1.1.1.1.2.2 wrstuden
973 1.1.1.1.2.2 wrstuden -psdir | --psdir | --psdi | --psd | --ps)
974 1.1.1.1.2.2 wrstuden ac_prev=psdir ;;
975 1.1.1.1.2.2 wrstuden -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
976 1.1.1.1.2.2 wrstuden psdir=$ac_optarg ;;
977 1.1.1.1.2.2 wrstuden
978 1.1.1.1.2.2 wrstuden -q | -quiet | --quiet | --quie | --qui | --qu | --q \
979 1.1.1.1.2.2 wrstuden | -silent | --silent | --silen | --sile | --sil)
980 1.1.1.1.2.2 wrstuden silent=yes ;;
981 1.1.1.1.2.2 wrstuden
982 1.1.1.1.2.2 wrstuden -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
983 1.1.1.1.2.2 wrstuden ac_prev=sbindir ;;
984 1.1.1.1.2.2 wrstuden -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
985 1.1.1.1.2.2 wrstuden | --sbi=* | --sb=*)
986 1.1.1.1.2.2 wrstuden sbindir=$ac_optarg ;;
987 1.1.1.1.2.2 wrstuden
988 1.1.1.1.2.2 wrstuden -sharedstatedir | --sharedstatedir | --sharedstatedi \
989 1.1.1.1.2.2 wrstuden | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
990 1.1.1.1.2.2 wrstuden | --sharedst | --shareds | --shared | --share | --shar \
991 1.1.1.1.2.2 wrstuden | --sha | --sh)
992 1.1.1.1.2.2 wrstuden ac_prev=sharedstatedir ;;
993 1.1.1.1.2.2 wrstuden -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
994 1.1.1.1.2.2 wrstuden | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
995 1.1.1.1.2.2 wrstuden | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
996 1.1.1.1.2.2 wrstuden | --sha=* | --sh=*)
997 1.1.1.1.2.2 wrstuden sharedstatedir=$ac_optarg ;;
998 1.1.1.1.2.2 wrstuden
999 1.1.1.1.2.2 wrstuden -site | --site | --sit)
1000 1.1.1.1.2.2 wrstuden ac_prev=site ;;
1001 1.1.1.1.2.2 wrstuden -site=* | --site=* | --sit=*)
1002 1.1.1.1.2.2 wrstuden site=$ac_optarg ;;
1003 1.1.1.1.2.2 wrstuden
1004 1.1.1.1.2.2 wrstuden -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1005 1.1.1.1.2.2 wrstuden ac_prev=srcdir ;;
1006 1.1.1.1.2.2 wrstuden -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1007 1.1.1.1.2.2 wrstuden srcdir=$ac_optarg ;;
1008 1.1.1.1.2.2 wrstuden
1009 1.1.1.1.2.2 wrstuden -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1010 1.1.1.1.2.2 wrstuden | --syscon | --sysco | --sysc | --sys | --sy)
1011 1.1.1.1.2.2 wrstuden ac_prev=sysconfdir ;;
1012 1.1.1.1.2.2 wrstuden -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1013 1.1.1.1.2.2 wrstuden | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1014 1.1.1.1.2.2 wrstuden sysconfdir=$ac_optarg ;;
1015 1.1.1.1.2.2 wrstuden
1016 1.1.1.1.2.2 wrstuden -target | --target | --targe | --targ | --tar | --ta | --t)
1017 1.1.1.1.2.2 wrstuden ac_prev=target_alias ;;
1018 1.1.1.1.2.2 wrstuden -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1019 1.1.1.1.2.2 wrstuden target_alias=$ac_optarg ;;
1020 1.1.1.1.2.2 wrstuden
1021 1.1.1.1.2.2 wrstuden -v | -verbose | --verbose | --verbos | --verbo | --verb)
1022 1.1.1.1.2.2 wrstuden verbose=yes ;;
1023 1.1.1.1.2.2 wrstuden
1024 1.1.1.1.2.2 wrstuden -version | --version | --versio | --versi | --vers | -V)
1025 1.1.1.1.2.2 wrstuden ac_init_version=: ;;
1026 1.1.1.1.2.2 wrstuden
1027 1.1.1.1.2.2 wrstuden -with-* | --with-*)
1028 1.1.1.1.2.2 wrstuden ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1029 1.1.1.1.2.2 wrstuden # Reject names that are not valid shell variable names.
1030 1.1.1.1.2.2 wrstuden expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1031 1.1.1.1.2.2 wrstuden { echo "$as_me: error: invalid package name: $ac_package" >&2
1032 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
1033 1.1.1.1.2.2 wrstuden ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1034 1.1.1.1.2.2 wrstuden eval with_$ac_package=\$ac_optarg ;;
1035 1.1.1.1.2.2 wrstuden
1036 1.1.1.1.2.2 wrstuden -without-* | --without-*)
1037 1.1.1.1.2.2 wrstuden ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1038 1.1.1.1.2.2 wrstuden # Reject names that are not valid shell variable names.
1039 1.1.1.1.2.2 wrstuden expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1040 1.1.1.1.2.2 wrstuden { echo "$as_me: error: invalid package name: $ac_package" >&2
1041 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
1042 1.1.1.1.2.2 wrstuden ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1043 1.1.1.1.2.2 wrstuden eval with_$ac_package=no ;;
1044 1.1.1.1.2.2 wrstuden
1045 1.1.1.1.2.2 wrstuden --x)
1046 1.1.1.1.2.2 wrstuden # Obsolete; use --with-x.
1047 1.1.1.1.2.2 wrstuden with_x=yes ;;
1048 1.1.1.1.2.2 wrstuden
1049 1.1.1.1.2.2 wrstuden -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1050 1.1.1.1.2.2 wrstuden | --x-incl | --x-inc | --x-in | --x-i)
1051 1.1.1.1.2.2 wrstuden ac_prev=x_includes ;;
1052 1.1.1.1.2.2 wrstuden -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1053 1.1.1.1.2.2 wrstuden | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1054 1.1.1.1.2.2 wrstuden x_includes=$ac_optarg ;;
1055 1.1.1.1.2.2 wrstuden
1056 1.1.1.1.2.2 wrstuden -x-libraries | --x-libraries | --x-librarie | --x-librari \
1057 1.1.1.1.2.2 wrstuden | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1058 1.1.1.1.2.2 wrstuden ac_prev=x_libraries ;;
1059 1.1.1.1.2.2 wrstuden -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1060 1.1.1.1.2.2 wrstuden | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1061 1.1.1.1.2.2 wrstuden x_libraries=$ac_optarg ;;
1062 1.1.1.1.2.2 wrstuden
1063 1.1.1.1.2.2 wrstuden -*) { echo "$as_me: error: unrecognized option: $ac_option
1064 1.1.1.1.2.2 wrstuden Try \`$0 --help' for more information." >&2
1065 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
1066 1.1.1.1.2.2 wrstuden ;;
1067 1.1.1.1.2.2 wrstuden
1068 1.1.1.1.2.2 wrstuden *=*)
1069 1.1.1.1.2.2 wrstuden ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1070 1.1.1.1.2.2 wrstuden # Reject names that are not valid shell variable names.
1071 1.1.1.1.2.2 wrstuden expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1072 1.1.1.1.2.2 wrstuden { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1073 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
1074 1.1.1.1.2.2 wrstuden eval $ac_envvar=\$ac_optarg
1075 1.1.1.1.2.2 wrstuden export $ac_envvar ;;
1076 1.1.1.1.2.2 wrstuden
1077 1.1.1.1.2.2 wrstuden *)
1078 1.1.1.1.2.2 wrstuden # FIXME: should be removed in autoconf 3.0.
1079 1.1.1.1.2.2 wrstuden echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1080 1.1.1.1.2.2 wrstuden expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1081 1.1.1.1.2.2 wrstuden echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1082 1.1.1.1.2.2 wrstuden : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1083 1.1.1.1.2.2 wrstuden ;;
1084 1.1.1.1.2.2 wrstuden
1085 1.1.1.1.2.2 wrstuden esac
1086 1.1.1.1.2.2 wrstuden done
1087 1.1.1.1.2.2 wrstuden
1088 1.1.1.1.2.2 wrstuden if test -n "$ac_prev"; then
1089 1.1.1.1.2.2 wrstuden ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1090 1.1.1.1.2.2 wrstuden { echo "$as_me: error: missing argument to $ac_option" >&2
1091 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
1092 1.1.1.1.2.2 wrstuden fi
1093 1.1.1.1.2.2 wrstuden
1094 1.1.1.1.2.2 wrstuden # Be sure to have absolute directory names.
1095 1.1.1.1.2.2 wrstuden for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1096 1.1.1.1.2.2 wrstuden datadir sysconfdir sharedstatedir localstatedir includedir \
1097 1.1.1.1.2.2 wrstuden oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1098 1.1.1.1.2.2 wrstuden libdir localedir mandir
1099 1.1.1.1.2.2 wrstuden do
1100 1.1.1.1.2.2 wrstuden eval ac_val=\$$ac_var
1101 1.1.1.1.2.2 wrstuden case $ac_val in
1102 1.1.1.1.2.2 wrstuden [\\/$]* | ?:[\\/]* ) continue;;
1103 1.1.1.1.2.2 wrstuden NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1104 1.1.1.1.2.2 wrstuden esac
1105 1.1.1.1.2.2 wrstuden { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1106 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
1107 1.1.1.1.2.2 wrstuden done
1108 1.1.1.1.2.2 wrstuden
1109 1.1.1.1.2.2 wrstuden # There might be people who depend on the old broken behavior: `$host'
1110 1.1.1.1.2.2 wrstuden # used to hold the argument of --host etc.
1111 1.1.1.1.2.2 wrstuden # FIXME: To remove some day.
1112 1.1.1.1.2.2 wrstuden build=$build_alias
1113 1.1.1.1.2.2 wrstuden host=$host_alias
1114 1.1.1.1.2.2 wrstuden target=$target_alias
1115 1.1.1.1.2.2 wrstuden
1116 1.1.1.1.2.2 wrstuden # FIXME: To remove some day.
1117 1.1.1.1.2.2 wrstuden if test "x$host_alias" != x; then
1118 1.1.1.1.2.2 wrstuden if test "x$build_alias" = x; then
1119 1.1.1.1.2.2 wrstuden cross_compiling=maybe
1120 1.1.1.1.2.2 wrstuden echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1121 1.1.1.1.2.2 wrstuden If a cross compiler is detected then cross compile mode will be used." >&2
1122 1.1.1.1.2.2 wrstuden elif test "x$build_alias" != "x$host_alias"; then
1123 1.1.1.1.2.2 wrstuden cross_compiling=yes
1124 1.1.1.1.2.2 wrstuden fi
1125 1.1.1.1.2.2 wrstuden fi
1126 1.1.1.1.2.2 wrstuden
1127 1.1.1.1.2.2 wrstuden ac_tool_prefix=
1128 1.1.1.1.2.2 wrstuden test -n "$host_alias" && ac_tool_prefix=$host_alias-
1129 1.1.1.1.2.2 wrstuden
1130 1.1.1.1.2.2 wrstuden test "$silent" = yes && exec 6>/dev/null
1131 1.1.1.1.2.2 wrstuden
1132 1.1.1.1.2.2 wrstuden
1133 1.1.1.1.2.2 wrstuden ac_pwd=`pwd` && test -n "$ac_pwd" &&
1134 1.1.1.1.2.2 wrstuden ac_ls_di=`ls -di .` &&
1135 1.1.1.1.2.2 wrstuden ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1136 1.1.1.1.2.2 wrstuden { echo "$as_me: error: Working directory cannot be determined" >&2
1137 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
1138 1.1.1.1.2.2 wrstuden test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1139 1.1.1.1.2.2 wrstuden { echo "$as_me: error: pwd does not report name of working directory" >&2
1140 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
1141 1.1.1.1.2.2 wrstuden
1142 1.1.1.1.2.2 wrstuden
1143 1.1.1.1.2.2 wrstuden # Find the source files, if location was not specified.
1144 1.1.1.1.2.2 wrstuden if test -z "$srcdir"; then
1145 1.1.1.1.2.2 wrstuden ac_srcdir_defaulted=yes
1146 1.1.1.1.2.2 wrstuden # Try the directory containing this script, then the parent directory.
1147 1.1.1.1.2.2 wrstuden ac_confdir=`$as_dirname -- "$0" ||
1148 1.1.1.1.2.2 wrstuden $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1149 1.1.1.1.2.2 wrstuden X"$0" : 'X\(//\)[^/]' \| \
1150 1.1.1.1.2.2 wrstuden X"$0" : 'X\(//\)$' \| \
1151 1.1.1.1.2.2 wrstuden X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1152 1.1.1.1.2.2 wrstuden echo X"$0" |
1153 1.1.1.1.2.2 wrstuden sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1154 1.1.1.1.2.2 wrstuden s//\1/
1155 1.1.1.1.2.2 wrstuden q
1156 1.1.1.1.2.2 wrstuden }
1157 1.1.1.1.2.2 wrstuden /^X\(\/\/\)[^/].*/{
1158 1.1.1.1.2.2 wrstuden s//\1/
1159 1.1.1.1.2.2 wrstuden q
1160 1.1.1.1.2.2 wrstuden }
1161 1.1.1.1.2.2 wrstuden /^X\(\/\/\)$/{
1162 1.1.1.1.2.2 wrstuden s//\1/
1163 1.1.1.1.2.2 wrstuden q
1164 1.1.1.1.2.2 wrstuden }
1165 1.1.1.1.2.2 wrstuden /^X\(\/\).*/{
1166 1.1.1.1.2.2 wrstuden s//\1/
1167 1.1.1.1.2.2 wrstuden q
1168 1.1.1.1.2.2 wrstuden }
1169 1.1.1.1.2.2 wrstuden s/.*/./; q'`
1170 1.1.1.1.2.2 wrstuden srcdir=$ac_confdir
1171 1.1.1.1.2.2 wrstuden if test ! -r "$srcdir/$ac_unique_file"; then
1172 1.1.1.1.2.2 wrstuden srcdir=..
1173 1.1.1.1.2.2 wrstuden fi
1174 1.1.1.1.2.2 wrstuden else
1175 1.1.1.1.2.2 wrstuden ac_srcdir_defaulted=no
1176 1.1.1.1.2.2 wrstuden fi
1177 1.1.1.1.2.2 wrstuden if test ! -r "$srcdir/$ac_unique_file"; then
1178 1.1.1.1.2.2 wrstuden test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1179 1.1.1.1.2.2 wrstuden { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1180 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
1181 1.1.1.1.2.2 wrstuden fi
1182 1.1.1.1.2.2 wrstuden ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1183 1.1.1.1.2.2 wrstuden ac_abs_confdir=`(
1184 1.1.1.1.2.2 wrstuden cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1185 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
1186 1.1.1.1.2.2 wrstuden pwd)`
1187 1.1.1.1.2.2 wrstuden # When building in place, set srcdir=.
1188 1.1.1.1.2.2 wrstuden if test "$ac_abs_confdir" = "$ac_pwd"; then
1189 1.1.1.1.2.2 wrstuden srcdir=.
1190 1.1.1.1.2.2 wrstuden fi
1191 1.1.1.1.2.2 wrstuden # Remove unnecessary trailing slashes from srcdir.
1192 1.1.1.1.2.2 wrstuden # Double slashes in file names in object file debugging info
1193 1.1.1.1.2.2 wrstuden # mess up M-x gdb in Emacs.
1194 1.1.1.1.2.2 wrstuden case $srcdir in
1195 1.1.1.1.2.2 wrstuden */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1196 1.1.1.1.2.2 wrstuden esac
1197 1.1.1.1.2.2 wrstuden for ac_var in $ac_precious_vars; do
1198 1.1.1.1.2.2 wrstuden eval ac_env_${ac_var}_set=\${${ac_var}+set}
1199 1.1.1.1.2.2 wrstuden eval ac_env_${ac_var}_value=\$${ac_var}
1200 1.1.1.1.2.2 wrstuden eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1201 1.1.1.1.2.2 wrstuden eval ac_cv_env_${ac_var}_value=\$${ac_var}
1202 1.1.1.1.2.2 wrstuden done
1203 1.1.1.1.2.2 wrstuden
1204 1.1.1.1.2.2 wrstuden #
1205 1.1.1.1.2.2 wrstuden # Report the --help message.
1206 1.1.1.1.2.2 wrstuden #
1207 1.1.1.1.2.2 wrstuden if test "$ac_init_help" = "long"; then
1208 1.1.1.1.2.2 wrstuden # Omit some internal or obsolete options to make the list less imposing.
1209 1.1.1.1.2.2 wrstuden # This message is too long to be a string in the A/UX 3.1 sh.
1210 1.1.1.1.2.2 wrstuden cat <<_ACEOF
1211 1.1.1.1.2.2 wrstuden \`configure' configures top 3.8beta1 to adapt to many kinds of systems.
1212 1.1.1.1.2.2 wrstuden
1213 1.1.1.1.2.2 wrstuden Usage: $0 [OPTION]... [VAR=VALUE]...
1214 1.1.1.1.2.2 wrstuden
1215 1.1.1.1.2.2 wrstuden To assign environment variables (e.g., CC, CFLAGS...), specify them as
1216 1.1.1.1.2.2 wrstuden VAR=VALUE. See below for descriptions of some of the useful variables.
1217 1.1.1.1.2.2 wrstuden
1218 1.1.1.1.2.2 wrstuden Defaults for the options are specified in brackets.
1219 1.1.1.1.2.2 wrstuden
1220 1.1.1.1.2.2 wrstuden Configuration:
1221 1.1.1.1.2.2 wrstuden -h, --help display this help and exit
1222 1.1.1.1.2.2 wrstuden --help=short display options specific to this package
1223 1.1.1.1.2.2 wrstuden --help=recursive display the short help of all the included packages
1224 1.1.1.1.2.2 wrstuden -V, --version display version information and exit
1225 1.1.1.1.2.2 wrstuden -q, --quiet, --silent do not print \`checking...' messages
1226 1.1.1.1.2.2 wrstuden --cache-file=FILE cache test results in FILE [disabled]
1227 1.1.1.1.2.2 wrstuden -C, --config-cache alias for \`--cache-file=config.cache'
1228 1.1.1.1.2.2 wrstuden -n, --no-create do not create output files
1229 1.1.1.1.2.2 wrstuden --srcdir=DIR find the sources in DIR [configure dir or \`..']
1230 1.1.1.1.2.2 wrstuden
1231 1.1.1.1.2.2 wrstuden Installation directories:
1232 1.1.1.1.2.2 wrstuden --prefix=PREFIX install architecture-independent files in PREFIX
1233 1.1.1.1.2.2 wrstuden [$ac_default_prefix]
1234 1.1.1.1.2.2 wrstuden --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1235 1.1.1.1.2.2 wrstuden [PREFIX]
1236 1.1.1.1.2.2 wrstuden
1237 1.1.1.1.2.2 wrstuden By default, \`make install' will install all the files in
1238 1.1.1.1.2.2 wrstuden \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1239 1.1.1.1.2.2 wrstuden an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1240 1.1.1.1.2.2 wrstuden for instance \`--prefix=\$HOME'.
1241 1.1.1.1.2.2 wrstuden
1242 1.1.1.1.2.2 wrstuden For better control, use the options below.
1243 1.1.1.1.2.2 wrstuden
1244 1.1.1.1.2.2 wrstuden Fine tuning of the installation directories:
1245 1.1.1.1.2.2 wrstuden --bindir=DIR user executables [EPREFIX/bin]
1246 1.1.1.1.2.2 wrstuden --sbindir=DIR system admin executables [EPREFIX/sbin]
1247 1.1.1.1.2.2 wrstuden --libexecdir=DIR program executables [EPREFIX/libexec]
1248 1.1.1.1.2.2 wrstuden --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1249 1.1.1.1.2.2 wrstuden --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1250 1.1.1.1.2.2 wrstuden --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1251 1.1.1.1.2.2 wrstuden --libdir=DIR object code libraries [EPREFIX/lib]
1252 1.1.1.1.2.2 wrstuden --includedir=DIR C header files [PREFIX/include]
1253 1.1.1.1.2.2 wrstuden --oldincludedir=DIR C header files for non-gcc [/usr/include]
1254 1.1.1.1.2.2 wrstuden --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1255 1.1.1.1.2.2 wrstuden --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1256 1.1.1.1.2.2 wrstuden --infodir=DIR info documentation [DATAROOTDIR/info]
1257 1.1.1.1.2.2 wrstuden --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1258 1.1.1.1.2.2 wrstuden --mandir=DIR man documentation [DATAROOTDIR/man]
1259 1.1.1.1.2.2 wrstuden --docdir=DIR documentation root [DATAROOTDIR/doc/top]
1260 1.1.1.1.2.2 wrstuden --htmldir=DIR html documentation [DOCDIR]
1261 1.1.1.1.2.2 wrstuden --dvidir=DIR dvi documentation [DOCDIR]
1262 1.1.1.1.2.2 wrstuden --pdfdir=DIR pdf documentation [DOCDIR]
1263 1.1.1.1.2.2 wrstuden --psdir=DIR ps documentation [DOCDIR]
1264 1.1.1.1.2.2 wrstuden _ACEOF
1265 1.1.1.1.2.2 wrstuden
1266 1.1.1.1.2.2 wrstuden cat <<\_ACEOF
1267 1.1.1.1.2.2 wrstuden
1268 1.1.1.1.2.2 wrstuden System types:
1269 1.1.1.1.2.2 wrstuden --build=BUILD configure for building on BUILD [guessed]
1270 1.1.1.1.2.2 wrstuden --host=HOST cross-compile to build programs to run on HOST [BUILD]
1271 1.1.1.1.2.2 wrstuden --target=TARGET configure for building compilers for TARGET [HOST]
1272 1.1.1.1.2.2 wrstuden _ACEOF
1273 1.1.1.1.2.2 wrstuden fi
1274 1.1.1.1.2.2 wrstuden
1275 1.1.1.1.2.2 wrstuden if test -n "$ac_init_help"; then
1276 1.1.1.1.2.2 wrstuden case $ac_init_help in
1277 1.1.1.1.2.2 wrstuden short | recursive ) echo "Configuration of top 3.8beta1:";;
1278 1.1.1.1.2.2 wrstuden esac
1279 1.1.1.1.2.2 wrstuden cat <<\_ACEOF
1280 1.1.1.1.2.2 wrstuden
1281 1.1.1.1.2.2 wrstuden Optional Features:
1282 1.1.1.1.2.2 wrstuden --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1283 1.1.1.1.2.2 wrstuden --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1284 1.1.1.1.2.2 wrstuden --enable-debug enable support for debugging output
1285 1.1.1.1.2.2 wrstuden --disable-kill disable kill and renice commands
1286 1.1.1.1.2.2 wrstuden --disable-color disable the use of color
1287 1.1.1.1.2.2 wrstuden --disable-colour synonym for --disable-color
1288 1.1.1.1.2.2 wrstuden --enable-dualarch enable or disable a dual architecture (32-bit and
1289 1.1.1.1.2.2 wrstuden 64-bit) compile
1290 1.1.1.1.2.2 wrstuden
1291 1.1.1.1.2.2 wrstuden Optional Packages:
1292 1.1.1.1.2.2 wrstuden --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1293 1.1.1.1.2.2 wrstuden --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1294 1.1.1.1.2.2 wrstuden --with-module=NAME use the platform module NAME
1295 1.1.1.1.2.2 wrstuden --with-ext=EXT use the extension EXT
1296 1.1.1.1.2.2 wrstuden --with-default-topn=N use N as the default for number of processes
1297 1.1.1.1.2.2 wrstuden --with-nominal-topn=N use N as the default number of processes for
1298 1.1.1.1.2.2 wrstuden non-terminals
1299 1.1.1.1.2.2 wrstuden --with-default-delay=SEC
1300 1.1.1.1.2.2 wrstuden use a default delay of SEC seconds
1301 1.1.1.1.2.2 wrstuden
1302 1.1.1.1.2.2 wrstuden Some influential environment variables:
1303 1.1.1.1.2.2 wrstuden CC C compiler command
1304 1.1.1.1.2.2 wrstuden CFLAGS C compiler flags
1305 1.1.1.1.2.2 wrstuden LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1306 1.1.1.1.2.2 wrstuden nonstandard directory <lib dir>
1307 1.1.1.1.2.2 wrstuden LIBS libraries to pass to the linker, e.g. -l<library>
1308 1.1.1.1.2.2 wrstuden CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1309 1.1.1.1.2.2 wrstuden you have headers in a nonstandard directory <include dir>
1310 1.1.1.1.2.2 wrstuden CPP C preprocessor
1311 1.1.1.1.2.2 wrstuden
1312 1.1.1.1.2.2 wrstuden Use these variables to override the choices made by `configure' or to help
1313 1.1.1.1.2.2 wrstuden it to find libraries and programs with nonstandard names/locations.
1314 1.1.1.1.2.2 wrstuden
1315 1.1.1.1.2.2 wrstuden _ACEOF
1316 1.1.1.1.2.2 wrstuden ac_status=$?
1317 1.1.1.1.2.2 wrstuden fi
1318 1.1.1.1.2.2 wrstuden
1319 1.1.1.1.2.2 wrstuden if test "$ac_init_help" = "recursive"; then
1320 1.1.1.1.2.2 wrstuden # If there are subdirs, report their specific --help.
1321 1.1.1.1.2.2 wrstuden for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1322 1.1.1.1.2.2 wrstuden test -d "$ac_dir" || continue
1323 1.1.1.1.2.2 wrstuden ac_builddir=.
1324 1.1.1.1.2.2 wrstuden
1325 1.1.1.1.2.2 wrstuden case "$ac_dir" in
1326 1.1.1.1.2.2 wrstuden .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1327 1.1.1.1.2.2 wrstuden *)
1328 1.1.1.1.2.2 wrstuden ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1329 1.1.1.1.2.2 wrstuden # A ".." for each directory in $ac_dir_suffix.
1330 1.1.1.1.2.2 wrstuden ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1331 1.1.1.1.2.2 wrstuden case $ac_top_builddir_sub in
1332 1.1.1.1.2.2 wrstuden "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1333 1.1.1.1.2.2 wrstuden *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1334 1.1.1.1.2.2 wrstuden esac ;;
1335 1.1.1.1.2.2 wrstuden esac
1336 1.1.1.1.2.2 wrstuden ac_abs_top_builddir=$ac_pwd
1337 1.1.1.1.2.2 wrstuden ac_abs_builddir=$ac_pwd$ac_dir_suffix
1338 1.1.1.1.2.2 wrstuden # for backward compatibility:
1339 1.1.1.1.2.2 wrstuden ac_top_builddir=$ac_top_build_prefix
1340 1.1.1.1.2.2 wrstuden
1341 1.1.1.1.2.2 wrstuden case $srcdir in
1342 1.1.1.1.2.2 wrstuden .) # We are building in place.
1343 1.1.1.1.2.2 wrstuden ac_srcdir=.
1344 1.1.1.1.2.2 wrstuden ac_top_srcdir=$ac_top_builddir_sub
1345 1.1.1.1.2.2 wrstuden ac_abs_top_srcdir=$ac_pwd ;;
1346 1.1.1.1.2.2 wrstuden [\\/]* | ?:[\\/]* ) # Absolute name.
1347 1.1.1.1.2.2 wrstuden ac_srcdir=$srcdir$ac_dir_suffix;
1348 1.1.1.1.2.2 wrstuden ac_top_srcdir=$srcdir
1349 1.1.1.1.2.2 wrstuden ac_abs_top_srcdir=$srcdir ;;
1350 1.1.1.1.2.2 wrstuden *) # Relative name.
1351 1.1.1.1.2.2 wrstuden ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1352 1.1.1.1.2.2 wrstuden ac_top_srcdir=$ac_top_build_prefix$srcdir
1353 1.1.1.1.2.2 wrstuden ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1354 1.1.1.1.2.2 wrstuden esac
1355 1.1.1.1.2.2 wrstuden ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1356 1.1.1.1.2.2 wrstuden
1357 1.1.1.1.2.2 wrstuden cd "$ac_dir" || { ac_status=$?; continue; }
1358 1.1.1.1.2.2 wrstuden # Check for guested configure.
1359 1.1.1.1.2.2 wrstuden if test -f "$ac_srcdir/configure.gnu"; then
1360 1.1.1.1.2.2 wrstuden echo &&
1361 1.1.1.1.2.2 wrstuden $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1362 1.1.1.1.2.2 wrstuden elif test -f "$ac_srcdir/configure"; then
1363 1.1.1.1.2.2 wrstuden echo &&
1364 1.1.1.1.2.2 wrstuden $SHELL "$ac_srcdir/configure" --help=recursive
1365 1.1.1.1.2.2 wrstuden else
1366 1.1.1.1.2.2 wrstuden echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1367 1.1.1.1.2.2 wrstuden fi || ac_status=$?
1368 1.1.1.1.2.2 wrstuden cd "$ac_pwd" || { ac_status=$?; break; }
1369 1.1.1.1.2.2 wrstuden done
1370 1.1.1.1.2.2 wrstuden fi
1371 1.1.1.1.2.2 wrstuden
1372 1.1.1.1.2.2 wrstuden test -n "$ac_init_help" && exit $ac_status
1373 1.1.1.1.2.2 wrstuden if $ac_init_version; then
1374 1.1.1.1.2.2 wrstuden cat <<\_ACEOF
1375 1.1.1.1.2.2 wrstuden top configure 3.8beta1
1376 1.1.1.1.2.2 wrstuden generated by GNU Autoconf 2.61
1377 1.1.1.1.2.2 wrstuden
1378 1.1.1.1.2.2 wrstuden Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1379 1.1.1.1.2.2 wrstuden 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1380 1.1.1.1.2.2 wrstuden This configure script is free software; the Free Software Foundation
1381 1.1.1.1.2.2 wrstuden gives unlimited permission to copy, distribute and modify it.
1382 1.1.1.1.2.2 wrstuden _ACEOF
1383 1.1.1.1.2.2 wrstuden exit
1384 1.1.1.1.2.2 wrstuden fi
1385 1.1.1.1.2.2 wrstuden cat >config.log <<_ACEOF
1386 1.1.1.1.2.2 wrstuden This file contains any messages produced by compilers while
1387 1.1.1.1.2.2 wrstuden running configure, to aid debugging if configure makes a mistake.
1388 1.1.1.1.2.2 wrstuden
1389 1.1.1.1.2.2 wrstuden It was created by top $as_me 3.8beta1, which was
1390 1.1.1.1.2.2 wrstuden generated by GNU Autoconf 2.61. Invocation command line was
1391 1.1.1.1.2.2 wrstuden
1392 1.1.1.1.2.2 wrstuden $ $0 $@
1393 1.1.1.1.2.2 wrstuden
1394 1.1.1.1.2.2 wrstuden _ACEOF
1395 1.1.1.1.2.2 wrstuden exec 5>>config.log
1396 1.1.1.1.2.2 wrstuden {
1397 1.1.1.1.2.2 wrstuden cat <<_ASUNAME
1398 1.1.1.1.2.2 wrstuden ## --------- ##
1399 1.1.1.1.2.2 wrstuden ## Platform. ##
1400 1.1.1.1.2.2 wrstuden ## --------- ##
1401 1.1.1.1.2.2 wrstuden
1402 1.1.1.1.2.2 wrstuden hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1403 1.1.1.1.2.2 wrstuden uname -m = `(uname -m) 2>/dev/null || echo unknown`
1404 1.1.1.1.2.2 wrstuden uname -r = `(uname -r) 2>/dev/null || echo unknown`
1405 1.1.1.1.2.2 wrstuden uname -s = `(uname -s) 2>/dev/null || echo unknown`
1406 1.1.1.1.2.2 wrstuden uname -v = `(uname -v) 2>/dev/null || echo unknown`
1407 1.1.1.1.2.2 wrstuden
1408 1.1.1.1.2.2 wrstuden /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1409 1.1.1.1.2.2 wrstuden /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1410 1.1.1.1.2.2 wrstuden
1411 1.1.1.1.2.2 wrstuden /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1412 1.1.1.1.2.2 wrstuden /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1413 1.1.1.1.2.2 wrstuden /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1414 1.1.1.1.2.2 wrstuden /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1415 1.1.1.1.2.2 wrstuden /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1416 1.1.1.1.2.2 wrstuden /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1417 1.1.1.1.2.2 wrstuden /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1418 1.1.1.1.2.2 wrstuden
1419 1.1.1.1.2.2 wrstuden _ASUNAME
1420 1.1.1.1.2.2 wrstuden
1421 1.1.1.1.2.2 wrstuden as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1422 1.1.1.1.2.2 wrstuden for as_dir in $PATH
1423 1.1.1.1.2.2 wrstuden do
1424 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
1425 1.1.1.1.2.2 wrstuden test -z "$as_dir" && as_dir=.
1426 1.1.1.1.2.2 wrstuden echo "PATH: $as_dir"
1427 1.1.1.1.2.2 wrstuden done
1428 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
1429 1.1.1.1.2.2 wrstuden
1430 1.1.1.1.2.2 wrstuden } >&5
1431 1.1.1.1.2.2 wrstuden
1432 1.1.1.1.2.2 wrstuden cat >&5 <<_ACEOF
1433 1.1.1.1.2.2 wrstuden
1434 1.1.1.1.2.2 wrstuden
1435 1.1.1.1.2.2 wrstuden ## ----------- ##
1436 1.1.1.1.2.2 wrstuden ## Core tests. ##
1437 1.1.1.1.2.2 wrstuden ## ----------- ##
1438 1.1.1.1.2.2 wrstuden
1439 1.1.1.1.2.2 wrstuden _ACEOF
1440 1.1.1.1.2.2 wrstuden
1441 1.1.1.1.2.2 wrstuden
1442 1.1.1.1.2.2 wrstuden # Keep a trace of the command line.
1443 1.1.1.1.2.2 wrstuden # Strip out --no-create and --no-recursion so they do not pile up.
1444 1.1.1.1.2.2 wrstuden # Strip out --silent because we don't want to record it for future runs.
1445 1.1.1.1.2.2 wrstuden # Also quote any args containing shell meta-characters.
1446 1.1.1.1.2.2 wrstuden # Make two passes to allow for proper duplicate-argument suppression.
1447 1.1.1.1.2.2 wrstuden ac_configure_args=
1448 1.1.1.1.2.2 wrstuden ac_configure_args0=
1449 1.1.1.1.2.2 wrstuden ac_configure_args1=
1450 1.1.1.1.2.2 wrstuden ac_must_keep_next=false
1451 1.1.1.1.2.2 wrstuden for ac_pass in 1 2
1452 1.1.1.1.2.2 wrstuden do
1453 1.1.1.1.2.2 wrstuden for ac_arg
1454 1.1.1.1.2.2 wrstuden do
1455 1.1.1.1.2.2 wrstuden case $ac_arg in
1456 1.1.1.1.2.2 wrstuden -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1457 1.1.1.1.2.2 wrstuden -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1458 1.1.1.1.2.2 wrstuden | -silent | --silent | --silen | --sile | --sil)
1459 1.1.1.1.2.2 wrstuden continue ;;
1460 1.1.1.1.2.2 wrstuden *\'*)
1461 1.1.1.1.2.2 wrstuden ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1462 1.1.1.1.2.2 wrstuden esac
1463 1.1.1.1.2.2 wrstuden case $ac_pass in
1464 1.1.1.1.2.2 wrstuden 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1465 1.1.1.1.2.2 wrstuden 2)
1466 1.1.1.1.2.2 wrstuden ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1467 1.1.1.1.2.2 wrstuden if test $ac_must_keep_next = true; then
1468 1.1.1.1.2.2 wrstuden ac_must_keep_next=false # Got value, back to normal.
1469 1.1.1.1.2.2 wrstuden else
1470 1.1.1.1.2.2 wrstuden case $ac_arg in
1471 1.1.1.1.2.2 wrstuden *=* | --config-cache | -C | -disable-* | --disable-* \
1472 1.1.1.1.2.2 wrstuden | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1473 1.1.1.1.2.2 wrstuden | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1474 1.1.1.1.2.2 wrstuden | -with-* | --with-* | -without-* | --without-* | --x)
1475 1.1.1.1.2.2 wrstuden case "$ac_configure_args0 " in
1476 1.1.1.1.2.2 wrstuden "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1477 1.1.1.1.2.2 wrstuden esac
1478 1.1.1.1.2.2 wrstuden ;;
1479 1.1.1.1.2.2 wrstuden -* ) ac_must_keep_next=true ;;
1480 1.1.1.1.2.2 wrstuden esac
1481 1.1.1.1.2.2 wrstuden fi
1482 1.1.1.1.2.2 wrstuden ac_configure_args="$ac_configure_args '$ac_arg'"
1483 1.1.1.1.2.2 wrstuden ;;
1484 1.1.1.1.2.2 wrstuden esac
1485 1.1.1.1.2.2 wrstuden done
1486 1.1.1.1.2.2 wrstuden done
1487 1.1.1.1.2.2 wrstuden $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1488 1.1.1.1.2.2 wrstuden $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1489 1.1.1.1.2.2 wrstuden
1490 1.1.1.1.2.2 wrstuden # When interrupted or exit'd, cleanup temporary files, and complete
1491 1.1.1.1.2.2 wrstuden # config.log. We remove comments because anyway the quotes in there
1492 1.1.1.1.2.2 wrstuden # would cause problems or look ugly.
1493 1.1.1.1.2.2 wrstuden # WARNING: Use '\'' to represent an apostrophe within the trap.
1494 1.1.1.1.2.2 wrstuden # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1495 1.1.1.1.2.2 wrstuden trap 'exit_status=$?
1496 1.1.1.1.2.2 wrstuden # Save into config.log some information that might help in debugging.
1497 1.1.1.1.2.2 wrstuden {
1498 1.1.1.1.2.2 wrstuden echo
1499 1.1.1.1.2.2 wrstuden
1500 1.1.1.1.2.2 wrstuden cat <<\_ASBOX
1501 1.1.1.1.2.2 wrstuden ## ---------------- ##
1502 1.1.1.1.2.2 wrstuden ## Cache variables. ##
1503 1.1.1.1.2.2 wrstuden ## ---------------- ##
1504 1.1.1.1.2.2 wrstuden _ASBOX
1505 1.1.1.1.2.2 wrstuden echo
1506 1.1.1.1.2.2 wrstuden # The following way of writing the cache mishandles newlines in values,
1507 1.1.1.1.2.2 wrstuden (
1508 1.1.1.1.2.2 wrstuden for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1509 1.1.1.1.2.2 wrstuden eval ac_val=\$$ac_var
1510 1.1.1.1.2.2 wrstuden case $ac_val in #(
1511 1.1.1.1.2.2 wrstuden *${as_nl}*)
1512 1.1.1.1.2.2 wrstuden case $ac_var in #(
1513 1.1.1.1.2.2 wrstuden *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1514 1.1.1.1.2.2 wrstuden echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1515 1.1.1.1.2.2 wrstuden esac
1516 1.1.1.1.2.2 wrstuden case $ac_var in #(
1517 1.1.1.1.2.2 wrstuden _ | IFS | as_nl) ;; #(
1518 1.1.1.1.2.2 wrstuden *) $as_unset $ac_var ;;
1519 1.1.1.1.2.2 wrstuden esac ;;
1520 1.1.1.1.2.2 wrstuden esac
1521 1.1.1.1.2.2 wrstuden done
1522 1.1.1.1.2.2 wrstuden (set) 2>&1 |
1523 1.1.1.1.2.2 wrstuden case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1524 1.1.1.1.2.2 wrstuden *${as_nl}ac_space=\ *)
1525 1.1.1.1.2.2 wrstuden sed -n \
1526 1.1.1.1.2.2 wrstuden "s/'\''/'\''\\\\'\'''\''/g;
1527 1.1.1.1.2.2 wrstuden s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1528 1.1.1.1.2.2 wrstuden ;; #(
1529 1.1.1.1.2.2 wrstuden *)
1530 1.1.1.1.2.2 wrstuden sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1531 1.1.1.1.2.2 wrstuden ;;
1532 1.1.1.1.2.2 wrstuden esac |
1533 1.1.1.1.2.2 wrstuden sort
1534 1.1.1.1.2.2 wrstuden )
1535 1.1.1.1.2.2 wrstuden echo
1536 1.1.1.1.2.2 wrstuden
1537 1.1.1.1.2.2 wrstuden cat <<\_ASBOX
1538 1.1.1.1.2.2 wrstuden ## ----------------- ##
1539 1.1.1.1.2.2 wrstuden ## Output variables. ##
1540 1.1.1.1.2.2 wrstuden ## ----------------- ##
1541 1.1.1.1.2.2 wrstuden _ASBOX
1542 1.1.1.1.2.2 wrstuden echo
1543 1.1.1.1.2.2 wrstuden for ac_var in $ac_subst_vars
1544 1.1.1.1.2.2 wrstuden do
1545 1.1.1.1.2.2 wrstuden eval ac_val=\$$ac_var
1546 1.1.1.1.2.2 wrstuden case $ac_val in
1547 1.1.1.1.2.2 wrstuden *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1548 1.1.1.1.2.2 wrstuden esac
1549 1.1.1.1.2.2 wrstuden echo "$ac_var='\''$ac_val'\''"
1550 1.1.1.1.2.2 wrstuden done | sort
1551 1.1.1.1.2.2 wrstuden echo
1552 1.1.1.1.2.2 wrstuden
1553 1.1.1.1.2.2 wrstuden if test -n "$ac_subst_files"; then
1554 1.1.1.1.2.2 wrstuden cat <<\_ASBOX
1555 1.1.1.1.2.2 wrstuden ## ------------------- ##
1556 1.1.1.1.2.2 wrstuden ## File substitutions. ##
1557 1.1.1.1.2.2 wrstuden ## ------------------- ##
1558 1.1.1.1.2.2 wrstuden _ASBOX
1559 1.1.1.1.2.2 wrstuden echo
1560 1.1.1.1.2.2 wrstuden for ac_var in $ac_subst_files
1561 1.1.1.1.2.2 wrstuden do
1562 1.1.1.1.2.2 wrstuden eval ac_val=\$$ac_var
1563 1.1.1.1.2.2 wrstuden case $ac_val in
1564 1.1.1.1.2.2 wrstuden *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1565 1.1.1.1.2.2 wrstuden esac
1566 1.1.1.1.2.2 wrstuden echo "$ac_var='\''$ac_val'\''"
1567 1.1.1.1.2.2 wrstuden done | sort
1568 1.1.1.1.2.2 wrstuden echo
1569 1.1.1.1.2.2 wrstuden fi
1570 1.1.1.1.2.2 wrstuden
1571 1.1.1.1.2.2 wrstuden if test -s confdefs.h; then
1572 1.1.1.1.2.2 wrstuden cat <<\_ASBOX
1573 1.1.1.1.2.2 wrstuden ## ----------- ##
1574 1.1.1.1.2.2 wrstuden ## confdefs.h. ##
1575 1.1.1.1.2.2 wrstuden ## ----------- ##
1576 1.1.1.1.2.2 wrstuden _ASBOX
1577 1.1.1.1.2.2 wrstuden echo
1578 1.1.1.1.2.2 wrstuden cat confdefs.h
1579 1.1.1.1.2.2 wrstuden echo
1580 1.1.1.1.2.2 wrstuden fi
1581 1.1.1.1.2.2 wrstuden test "$ac_signal" != 0 &&
1582 1.1.1.1.2.2 wrstuden echo "$as_me: caught signal $ac_signal"
1583 1.1.1.1.2.2 wrstuden echo "$as_me: exit $exit_status"
1584 1.1.1.1.2.2 wrstuden } >&5
1585 1.1.1.1.2.2 wrstuden rm -f core *.core core.conftest.* &&
1586 1.1.1.1.2.2 wrstuden rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1587 1.1.1.1.2.2 wrstuden exit $exit_status
1588 1.1.1.1.2.2 wrstuden ' 0
1589 1.1.1.1.2.2 wrstuden for ac_signal in 1 2 13 15; do
1590 1.1.1.1.2.2 wrstuden trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1591 1.1.1.1.2.2 wrstuden done
1592 1.1.1.1.2.2 wrstuden ac_signal=0
1593 1.1.1.1.2.2 wrstuden
1594 1.1.1.1.2.2 wrstuden # confdefs.h avoids OS command line length limits that DEFS can exceed.
1595 1.1.1.1.2.2 wrstuden rm -f -r conftest* confdefs.h
1596 1.1.1.1.2.2 wrstuden
1597 1.1.1.1.2.2 wrstuden # Predefined preprocessor variables.
1598 1.1.1.1.2.2 wrstuden
1599 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
1600 1.1.1.1.2.2 wrstuden #define PACKAGE_NAME "$PACKAGE_NAME"
1601 1.1.1.1.2.2 wrstuden _ACEOF
1602 1.1.1.1.2.2 wrstuden
1603 1.1.1.1.2.2 wrstuden
1604 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
1605 1.1.1.1.2.2 wrstuden #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1606 1.1.1.1.2.2 wrstuden _ACEOF
1607 1.1.1.1.2.2 wrstuden
1608 1.1.1.1.2.2 wrstuden
1609 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
1610 1.1.1.1.2.2 wrstuden #define PACKAGE_VERSION "$PACKAGE_VERSION"
1611 1.1.1.1.2.2 wrstuden _ACEOF
1612 1.1.1.1.2.2 wrstuden
1613 1.1.1.1.2.2 wrstuden
1614 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
1615 1.1.1.1.2.2 wrstuden #define PACKAGE_STRING "$PACKAGE_STRING"
1616 1.1.1.1.2.2 wrstuden _ACEOF
1617 1.1.1.1.2.2 wrstuden
1618 1.1.1.1.2.2 wrstuden
1619 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
1620 1.1.1.1.2.2 wrstuden #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1621 1.1.1.1.2.2 wrstuden _ACEOF
1622 1.1.1.1.2.2 wrstuden
1623 1.1.1.1.2.2 wrstuden
1624 1.1.1.1.2.2 wrstuden # Let the site file select an alternate cache file if it wants to.
1625 1.1.1.1.2.2 wrstuden # Prefer explicitly selected file to automatically selected ones.
1626 1.1.1.1.2.2 wrstuden if test -n "$CONFIG_SITE"; then
1627 1.1.1.1.2.2 wrstuden set x "$CONFIG_SITE"
1628 1.1.1.1.2.2 wrstuden elif test "x$prefix" != xNONE; then
1629 1.1.1.1.2.2 wrstuden set x "$prefix/share/config.site" "$prefix/etc/config.site"
1630 1.1.1.1.2.2 wrstuden else
1631 1.1.1.1.2.2 wrstuden set x "$ac_default_prefix/share/config.site" \
1632 1.1.1.1.2.2 wrstuden "$ac_default_prefix/etc/config.site"
1633 1.1.1.1.2.2 wrstuden fi
1634 1.1.1.1.2.2 wrstuden shift
1635 1.1.1.1.2.2 wrstuden for ac_site_file
1636 1.1.1.1.2.2 wrstuden do
1637 1.1.1.1.2.2 wrstuden if test -r "$ac_site_file"; then
1638 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1639 1.1.1.1.2.2 wrstuden echo "$as_me: loading site script $ac_site_file" >&6;}
1640 1.1.1.1.2.2 wrstuden sed 's/^/| /' "$ac_site_file" >&5
1641 1.1.1.1.2.2 wrstuden . "$ac_site_file"
1642 1.1.1.1.2.2 wrstuden fi
1643 1.1.1.1.2.2 wrstuden done
1644 1.1.1.1.2.2 wrstuden
1645 1.1.1.1.2.2 wrstuden if test -r "$cache_file"; then
1646 1.1.1.1.2.2 wrstuden # Some versions of bash will fail to source /dev/null (special
1647 1.1.1.1.2.2 wrstuden # files actually), so we avoid doing that.
1648 1.1.1.1.2.2 wrstuden if test -f "$cache_file"; then
1649 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1650 1.1.1.1.2.2 wrstuden echo "$as_me: loading cache $cache_file" >&6;}
1651 1.1.1.1.2.2 wrstuden case $cache_file in
1652 1.1.1.1.2.2 wrstuden [\\/]* | ?:[\\/]* ) . "$cache_file";;
1653 1.1.1.1.2.2 wrstuden *) . "./$cache_file";;
1654 1.1.1.1.2.2 wrstuden esac
1655 1.1.1.1.2.2 wrstuden fi
1656 1.1.1.1.2.2 wrstuden else
1657 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1658 1.1.1.1.2.2 wrstuden echo "$as_me: creating cache $cache_file" >&6;}
1659 1.1.1.1.2.2 wrstuden >$cache_file
1660 1.1.1.1.2.2 wrstuden fi
1661 1.1.1.1.2.2 wrstuden
1662 1.1.1.1.2.2 wrstuden # Check that the precious variables saved in the cache have kept the same
1663 1.1.1.1.2.2 wrstuden # value.
1664 1.1.1.1.2.2 wrstuden ac_cache_corrupted=false
1665 1.1.1.1.2.2 wrstuden for ac_var in $ac_precious_vars; do
1666 1.1.1.1.2.2 wrstuden eval ac_old_set=\$ac_cv_env_${ac_var}_set
1667 1.1.1.1.2.2 wrstuden eval ac_new_set=\$ac_env_${ac_var}_set
1668 1.1.1.1.2.2 wrstuden eval ac_old_val=\$ac_cv_env_${ac_var}_value
1669 1.1.1.1.2.2 wrstuden eval ac_new_val=\$ac_env_${ac_var}_value
1670 1.1.1.1.2.2 wrstuden case $ac_old_set,$ac_new_set in
1671 1.1.1.1.2.2 wrstuden set,)
1672 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1673 1.1.1.1.2.2 wrstuden echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1674 1.1.1.1.2.2 wrstuden ac_cache_corrupted=: ;;
1675 1.1.1.1.2.2 wrstuden ,set)
1676 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1677 1.1.1.1.2.2 wrstuden echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1678 1.1.1.1.2.2 wrstuden ac_cache_corrupted=: ;;
1679 1.1.1.1.2.2 wrstuden ,);;
1680 1.1.1.1.2.2 wrstuden *)
1681 1.1.1.1.2.2 wrstuden if test "x$ac_old_val" != "x$ac_new_val"; then
1682 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1683 1.1.1.1.2.2 wrstuden echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1684 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1685 1.1.1.1.2.2 wrstuden echo "$as_me: former value: $ac_old_val" >&2;}
1686 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1687 1.1.1.1.2.2 wrstuden echo "$as_me: current value: $ac_new_val" >&2;}
1688 1.1.1.1.2.2 wrstuden ac_cache_corrupted=:
1689 1.1.1.1.2.2 wrstuden fi;;
1690 1.1.1.1.2.2 wrstuden esac
1691 1.1.1.1.2.2 wrstuden # Pass precious variables to config.status.
1692 1.1.1.1.2.2 wrstuden if test "$ac_new_set" = set; then
1693 1.1.1.1.2.2 wrstuden case $ac_new_val in
1694 1.1.1.1.2.2 wrstuden *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1695 1.1.1.1.2.2 wrstuden *) ac_arg=$ac_var=$ac_new_val ;;
1696 1.1.1.1.2.2 wrstuden esac
1697 1.1.1.1.2.2 wrstuden case " $ac_configure_args " in
1698 1.1.1.1.2.2 wrstuden *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1699 1.1.1.1.2.2 wrstuden *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1700 1.1.1.1.2.2 wrstuden esac
1701 1.1.1.1.2.2 wrstuden fi
1702 1.1.1.1.2.2 wrstuden done
1703 1.1.1.1.2.2 wrstuden if $ac_cache_corrupted; then
1704 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1705 1.1.1.1.2.2 wrstuden echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1706 1.1.1.1.2.2 wrstuden { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1707 1.1.1.1.2.2 wrstuden echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1708 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
1709 1.1.1.1.2.2 wrstuden fi
1710 1.1.1.1.2.2 wrstuden
1711 1.1.1.1.2.2 wrstuden
1712 1.1.1.1.2.2 wrstuden
1713 1.1.1.1.2.2 wrstuden
1714 1.1.1.1.2.2 wrstuden
1715 1.1.1.1.2.2 wrstuden
1716 1.1.1.1.2.2 wrstuden
1717 1.1.1.1.2.2 wrstuden
1718 1.1.1.1.2.2 wrstuden
1719 1.1.1.1.2.2 wrstuden
1720 1.1.1.1.2.2 wrstuden
1721 1.1.1.1.2.2 wrstuden
1722 1.1.1.1.2.2 wrstuden
1723 1.1.1.1.2.2 wrstuden
1724 1.1.1.1.2.2 wrstuden
1725 1.1.1.1.2.2 wrstuden
1726 1.1.1.1.2.2 wrstuden
1727 1.1.1.1.2.2 wrstuden
1728 1.1.1.1.2.2 wrstuden
1729 1.1.1.1.2.2 wrstuden
1730 1.1.1.1.2.2 wrstuden
1731 1.1.1.1.2.2 wrstuden
1732 1.1.1.1.2.2 wrstuden
1733 1.1.1.1.2.2 wrstuden
1734 1.1.1.1.2.2 wrstuden
1735 1.1.1.1.2.2 wrstuden ac_ext=c
1736 1.1.1.1.2.2 wrstuden ac_cpp='$CPP $CPPFLAGS'
1737 1.1.1.1.2.2 wrstuden ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1738 1.1.1.1.2.2 wrstuden ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1739 1.1.1.1.2.2 wrstuden ac_compiler_gnu=$ac_cv_c_compiler_gnu
1740 1.1.1.1.2.2 wrstuden
1741 1.1.1.1.2.2 wrstuden
1742 1.1.1.1.2.2 wrstuden
1743 1.1.1.1.2.2 wrstuden # AX_CHECK_VARIADIC_MACROS...
1744 1.1.1.1.2.2 wrstuden # -----
1745 1.1.1.1.2.2 wrstuden
1746 1.1.1.1.2.2 wrstuden
1747 1.1.1.1.2.2 wrstuden # AC_CHECK_CFLAG...
1748 1.1.1.1.2.2 wrstuden # -----
1749 1.1.1.1.2.2 wrstuden # AC_CHECK_CFLAG
1750 1.1.1.1.2.2 wrstuden
1751 1.1.1.1.2.2 wrstuden echo "Configuring $PACKAGE_STRING"
1752 1.1.1.1.2.2 wrstuden
1753 1.1.1.1.2.2 wrstuden ac_config_headers="$ac_config_headers config.h"
1754 1.1.1.1.2.2 wrstuden
1755 1.1.1.1.2.2 wrstuden ac_aux_dir=
1756 1.1.1.1.2.2 wrstuden for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1757 1.1.1.1.2.2 wrstuden if test -f "$ac_dir/install-sh"; then
1758 1.1.1.1.2.2 wrstuden ac_aux_dir=$ac_dir
1759 1.1.1.1.2.2 wrstuden ac_install_sh="$ac_aux_dir/install-sh -c"
1760 1.1.1.1.2.2 wrstuden break
1761 1.1.1.1.2.2 wrstuden elif test -f "$ac_dir/install.sh"; then
1762 1.1.1.1.2.2 wrstuden ac_aux_dir=$ac_dir
1763 1.1.1.1.2.2 wrstuden ac_install_sh="$ac_aux_dir/install.sh -c"
1764 1.1.1.1.2.2 wrstuden break
1765 1.1.1.1.2.2 wrstuden elif test -f "$ac_dir/shtool"; then
1766 1.1.1.1.2.2 wrstuden ac_aux_dir=$ac_dir
1767 1.1.1.1.2.2 wrstuden ac_install_sh="$ac_aux_dir/shtool install -c"
1768 1.1.1.1.2.2 wrstuden break
1769 1.1.1.1.2.2 wrstuden fi
1770 1.1.1.1.2.2 wrstuden done
1771 1.1.1.1.2.2 wrstuden if test -z "$ac_aux_dir"; then
1772 1.1.1.1.2.2 wrstuden { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1773 1.1.1.1.2.2 wrstuden echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1774 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
1775 1.1.1.1.2.2 wrstuden fi
1776 1.1.1.1.2.2 wrstuden
1777 1.1.1.1.2.2 wrstuden # These three variables are undocumented and unsupported,
1778 1.1.1.1.2.2 wrstuden # and are intended to be withdrawn in a future Autoconf release.
1779 1.1.1.1.2.2 wrstuden # They can cause serious problems if a builder's source tree is in a directory
1780 1.1.1.1.2.2 wrstuden # whose full name contains unusual characters.
1781 1.1.1.1.2.2 wrstuden ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1782 1.1.1.1.2.2 wrstuden ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1783 1.1.1.1.2.2 wrstuden ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1784 1.1.1.1.2.2 wrstuden
1785 1.1.1.1.2.2 wrstuden
1786 1.1.1.1.2.2 wrstuden # Make sure we can run config.sub.
1787 1.1.1.1.2.2 wrstuden $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1788 1.1.1.1.2.2 wrstuden { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1789 1.1.1.1.2.2 wrstuden echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1790 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
1791 1.1.1.1.2.2 wrstuden
1792 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking build system type" >&5
1793 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1794 1.1.1.1.2.2 wrstuden if test "${ac_cv_build+set}" = set; then
1795 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
1796 1.1.1.1.2.2 wrstuden else
1797 1.1.1.1.2.2 wrstuden ac_build_alias=$build_alias
1798 1.1.1.1.2.2 wrstuden test "x$ac_build_alias" = x &&
1799 1.1.1.1.2.2 wrstuden ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1800 1.1.1.1.2.2 wrstuden test "x$ac_build_alias" = x &&
1801 1.1.1.1.2.2 wrstuden { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1802 1.1.1.1.2.2 wrstuden echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1803 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
1804 1.1.1.1.2.2 wrstuden ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1805 1.1.1.1.2.2 wrstuden { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1806 1.1.1.1.2.2 wrstuden echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1807 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
1808 1.1.1.1.2.2 wrstuden
1809 1.1.1.1.2.2 wrstuden fi
1810 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1811 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_build" >&6; }
1812 1.1.1.1.2.2 wrstuden case $ac_cv_build in
1813 1.1.1.1.2.2 wrstuden *-*-*) ;;
1814 1.1.1.1.2.2 wrstuden *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1815 1.1.1.1.2.2 wrstuden echo "$as_me: error: invalid value of canonical build" >&2;}
1816 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; };;
1817 1.1.1.1.2.2 wrstuden esac
1818 1.1.1.1.2.2 wrstuden build=$ac_cv_build
1819 1.1.1.1.2.2 wrstuden ac_save_IFS=$IFS; IFS='-'
1820 1.1.1.1.2.2 wrstuden set x $ac_cv_build
1821 1.1.1.1.2.2 wrstuden shift
1822 1.1.1.1.2.2 wrstuden build_cpu=$1
1823 1.1.1.1.2.2 wrstuden build_vendor=$2
1824 1.1.1.1.2.2 wrstuden shift; shift
1825 1.1.1.1.2.2 wrstuden # Remember, the first character of IFS is used to create $*,
1826 1.1.1.1.2.2 wrstuden # except with old shells:
1827 1.1.1.1.2.2 wrstuden build_os=$*
1828 1.1.1.1.2.2 wrstuden IFS=$ac_save_IFS
1829 1.1.1.1.2.2 wrstuden case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1830 1.1.1.1.2.2 wrstuden
1831 1.1.1.1.2.2 wrstuden
1832 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking host system type" >&5
1833 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1834 1.1.1.1.2.2 wrstuden if test "${ac_cv_host+set}" = set; then
1835 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
1836 1.1.1.1.2.2 wrstuden else
1837 1.1.1.1.2.2 wrstuden if test "x$host_alias" = x; then
1838 1.1.1.1.2.2 wrstuden ac_cv_host=$ac_cv_build
1839 1.1.1.1.2.2 wrstuden else
1840 1.1.1.1.2.2 wrstuden ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1841 1.1.1.1.2.2 wrstuden { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1842 1.1.1.1.2.2 wrstuden echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1843 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
1844 1.1.1.1.2.2 wrstuden fi
1845 1.1.1.1.2.2 wrstuden
1846 1.1.1.1.2.2 wrstuden fi
1847 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1848 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_host" >&6; }
1849 1.1.1.1.2.2 wrstuden case $ac_cv_host in
1850 1.1.1.1.2.2 wrstuden *-*-*) ;;
1851 1.1.1.1.2.2 wrstuden *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1852 1.1.1.1.2.2 wrstuden echo "$as_me: error: invalid value of canonical host" >&2;}
1853 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; };;
1854 1.1.1.1.2.2 wrstuden esac
1855 1.1.1.1.2.2 wrstuden host=$ac_cv_host
1856 1.1.1.1.2.2 wrstuden ac_save_IFS=$IFS; IFS='-'
1857 1.1.1.1.2.2 wrstuden set x $ac_cv_host
1858 1.1.1.1.2.2 wrstuden shift
1859 1.1.1.1.2.2 wrstuden host_cpu=$1
1860 1.1.1.1.2.2 wrstuden host_vendor=$2
1861 1.1.1.1.2.2 wrstuden shift; shift
1862 1.1.1.1.2.2 wrstuden # Remember, the first character of IFS is used to create $*,
1863 1.1.1.1.2.2 wrstuden # except with old shells:
1864 1.1.1.1.2.2 wrstuden host_os=$*
1865 1.1.1.1.2.2 wrstuden IFS=$ac_save_IFS
1866 1.1.1.1.2.2 wrstuden case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1867 1.1.1.1.2.2 wrstuden
1868 1.1.1.1.2.2 wrstuden
1869 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking target system type" >&5
1870 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1871 1.1.1.1.2.2 wrstuden if test "${ac_cv_target+set}" = set; then
1872 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
1873 1.1.1.1.2.2 wrstuden else
1874 1.1.1.1.2.2 wrstuden if test "x$target_alias" = x; then
1875 1.1.1.1.2.2 wrstuden ac_cv_target=$ac_cv_host
1876 1.1.1.1.2.2 wrstuden else
1877 1.1.1.1.2.2 wrstuden ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1878 1.1.1.1.2.2 wrstuden { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1879 1.1.1.1.2.2 wrstuden echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1880 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
1881 1.1.1.1.2.2 wrstuden fi
1882 1.1.1.1.2.2 wrstuden
1883 1.1.1.1.2.2 wrstuden fi
1884 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1885 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_target" >&6; }
1886 1.1.1.1.2.2 wrstuden case $ac_cv_target in
1887 1.1.1.1.2.2 wrstuden *-*-*) ;;
1888 1.1.1.1.2.2 wrstuden *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1889 1.1.1.1.2.2 wrstuden echo "$as_me: error: invalid value of canonical target" >&2;}
1890 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; };;
1891 1.1.1.1.2.2 wrstuden esac
1892 1.1.1.1.2.2 wrstuden target=$ac_cv_target
1893 1.1.1.1.2.2 wrstuden ac_save_IFS=$IFS; IFS='-'
1894 1.1.1.1.2.2 wrstuden set x $ac_cv_target
1895 1.1.1.1.2.2 wrstuden shift
1896 1.1.1.1.2.2 wrstuden target_cpu=$1
1897 1.1.1.1.2.2 wrstuden target_vendor=$2
1898 1.1.1.1.2.2 wrstuden shift; shift
1899 1.1.1.1.2.2 wrstuden # Remember, the first character of IFS is used to create $*,
1900 1.1.1.1.2.2 wrstuden # except with old shells:
1901 1.1.1.1.2.2 wrstuden target_os=$*
1902 1.1.1.1.2.2 wrstuden IFS=$ac_save_IFS
1903 1.1.1.1.2.2 wrstuden case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1904 1.1.1.1.2.2 wrstuden
1905 1.1.1.1.2.2 wrstuden
1906 1.1.1.1.2.2 wrstuden # The aliases save the names the user supplied, while $host etc.
1907 1.1.1.1.2.2 wrstuden # will get canonicalized.
1908 1.1.1.1.2.2 wrstuden test -n "$target_alias" &&
1909 1.1.1.1.2.2 wrstuden test "$program_prefix$program_suffix$program_transform_name" = \
1910 1.1.1.1.2.2 wrstuden NONENONEs,x,x, &&
1911 1.1.1.1.2.2 wrstuden program_prefix=${target_alias}-
1912 1.1.1.1.2.2 wrstuden
1913 1.1.1.1.2.2 wrstuden # options processing
1914 1.1.1.1.2.2 wrstuden
1915 1.1.1.1.2.2 wrstuden # Check whether --with-module was given.
1916 1.1.1.1.2.2 wrstuden if test "${with_module+set}" = set; then
1917 1.1.1.1.2.2 wrstuden withval=$with_module; if test ! -f machine/m_$withval.c;
1918 1.1.1.1.2.2 wrstuden then { { echo "$as_me:$LINENO: error: No such module $withval" >&5
1919 1.1.1.1.2.2 wrstuden echo "$as_me: error: No such module $withval" >&2;}
1920 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }; fi
1921 1.1.1.1.2.2 wrstuden fi
1922 1.1.1.1.2.2 wrstuden
1923 1.1.1.1.2.2 wrstuden
1924 1.1.1.1.2.2 wrstuden
1925 1.1.1.1.2.2 wrstuden # Check whether --with-ext was given.
1926 1.1.1.1.2.2 wrstuden if test "${with_ext+set}" = set; then
1927 1.1.1.1.2.2 wrstuden withval=$with_ext; if test -f ext/$withval.c; then
1928 1.1.1.1.2.2 wrstuden
1929 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<\_ACEOF
1930 1.1.1.1.2.2 wrstuden #define WITH_EXT 1
1931 1.1.1.1.2.2 wrstuden _ACEOF
1932 1.1.1.1.2.2 wrstuden
1933 1.1.1.1.2.2 wrstuden SRC="$SRC ext/$withval.c"
1934 1.1.1.1.2.2 wrstuden OBJ="$OBJ $withval.o"
1935 1.1.1.1.2.2 wrstuden else
1936 1.1.1.1.2.2 wrstuden { { echo "$as_me:$LINENO: error: No such extension $withval" >&5
1937 1.1.1.1.2.2 wrstuden echo "$as_me: error: No such extension $withval" >&2;}
1938 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
1939 1.1.1.1.2.2 wrstuden fi
1940 1.1.1.1.2.2 wrstuden fi
1941 1.1.1.1.2.2 wrstuden
1942 1.1.1.1.2.2 wrstuden
1943 1.1.1.1.2.2 wrstuden DEFAULT_TOPN=30
1944 1.1.1.1.2.2 wrstuden
1945 1.1.1.1.2.2 wrstuden # Check whether --with-default-topn was given.
1946 1.1.1.1.2.2 wrstuden if test "${with_default_topn+set}" = set; then
1947 1.1.1.1.2.2 wrstuden withval=$with_default_topn; if test x"$with_default_topn" = xall; then
1948 1.1.1.1.2.2 wrstuden DEFAULT_TOPN="-1"
1949 1.1.1.1.2.2 wrstuden elif test x`echo $with_default_topn | tr -d '0-9+-'` = x; then
1950 1.1.1.1.2.2 wrstuden DEFAULT_TOPN=$with_default_topn
1951 1.1.1.1.2.2 wrstuden fi
1952 1.1.1.1.2.2 wrstuden fi
1953 1.1.1.1.2.2 wrstuden
1954 1.1.1.1.2.2 wrstuden
1955 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
1956 1.1.1.1.2.2 wrstuden #define DEFAULT_TOPN $DEFAULT_TOPN
1957 1.1.1.1.2.2 wrstuden _ACEOF
1958 1.1.1.1.2.2 wrstuden
1959 1.1.1.1.2.2 wrstuden
1960 1.1.1.1.2.2 wrstuden
1961 1.1.1.1.2.2 wrstuden NOMINAL_TOPN=40
1962 1.1.1.1.2.2 wrstuden
1963 1.1.1.1.2.2 wrstuden # Check whether --with-nominal-topn was given.
1964 1.1.1.1.2.2 wrstuden if test "${with_nominal_topn+set}" = set; then
1965 1.1.1.1.2.2 wrstuden withval=$with_nominal_topn; if test x"$with_nominal_topn" = xall; then
1966 1.1.1.1.2.2 wrstuden NOMINAL_TOPN="-1"
1967 1.1.1.1.2.2 wrstuden elif test x`echo $with_nominal_topn | tr -d '0-9+-'` = x; then
1968 1.1.1.1.2.2 wrstuden NOMINAL_TOPN=$with_nominal_topn
1969 1.1.1.1.2.2 wrstuden fi
1970 1.1.1.1.2.2 wrstuden fi
1971 1.1.1.1.2.2 wrstuden
1972 1.1.1.1.2.2 wrstuden
1973 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
1974 1.1.1.1.2.2 wrstuden #define NOMINAL_TOPN $NOMINAL_TOPN
1975 1.1.1.1.2.2 wrstuden _ACEOF
1976 1.1.1.1.2.2 wrstuden
1977 1.1.1.1.2.2 wrstuden
1978 1.1.1.1.2.2 wrstuden
1979 1.1.1.1.2.2 wrstuden DEFAULT_DELAY=5
1980 1.1.1.1.2.2 wrstuden
1981 1.1.1.1.2.2 wrstuden # Check whether --with-default-delay was given.
1982 1.1.1.1.2.2 wrstuden if test "${with_default_delay+set}" = set; then
1983 1.1.1.1.2.2 wrstuden withval=$with_default_delay; if test x`echo $with_default_delay | tr -d '0-9+-'` = x; then
1984 1.1.1.1.2.2 wrstuden DEFAULT_DELAY=$with_default_delay
1985 1.1.1.1.2.2 wrstuden fi
1986 1.1.1.1.2.2 wrstuden fi
1987 1.1.1.1.2.2 wrstuden
1988 1.1.1.1.2.2 wrstuden
1989 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
1990 1.1.1.1.2.2 wrstuden #define DEFAULT_DELAY $DEFAULT_DELAY
1991 1.1.1.1.2.2 wrstuden _ACEOF
1992 1.1.1.1.2.2 wrstuden
1993 1.1.1.1.2.2 wrstuden
1994 1.1.1.1.2.2 wrstuden
1995 1.1.1.1.2.2 wrstuden # Check whether --enable-debug was given.
1996 1.1.1.1.2.2 wrstuden if test "${enable_debug+set}" = set; then
1997 1.1.1.1.2.2 wrstuden enableval=$enable_debug;
1998 1.1.1.1.2.2 wrstuden fi
1999 1.1.1.1.2.2 wrstuden
2000 1.1.1.1.2.2 wrstuden if test "x$enable_debug" = xyes; then
2001 1.1.1.1.2.2 wrstuden
2002 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<\_ACEOF
2003 1.1.1.1.2.2 wrstuden #define DEBUG 1
2004 1.1.1.1.2.2 wrstuden _ACEOF
2005 1.1.1.1.2.2 wrstuden
2006 1.1.1.1.2.2 wrstuden fi
2007 1.1.1.1.2.2 wrstuden
2008 1.1.1.1.2.2 wrstuden ENABLE_KILL=0
2009 1.1.1.1.2.2 wrstuden # Check whether --enable-kill was given.
2010 1.1.1.1.2.2 wrstuden if test "${enable_kill+set}" = set; then
2011 1.1.1.1.2.2 wrstuden enableval=$enable_kill;
2012 1.1.1.1.2.2 wrstuden fi
2013 1.1.1.1.2.2 wrstuden
2014 1.1.1.1.2.2 wrstuden if test x$enable_kill != xno; then
2015 1.1.1.1.2.2 wrstuden
2016 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<\_ACEOF
2017 1.1.1.1.2.2 wrstuden #define ENABLE_KILL 1
2018 1.1.1.1.2.2 wrstuden _ACEOF
2019 1.1.1.1.2.2 wrstuden
2020 1.1.1.1.2.2 wrstuden ENABLE_KILL=1
2021 1.1.1.1.2.2 wrstuden fi
2022 1.1.1.1.2.2 wrstuden
2023 1.1.1.1.2.2 wrstuden
2024 1.1.1.1.2.2 wrstuden
2025 1.1.1.1.2.2 wrstuden # Check whether --enable-color was given.
2026 1.1.1.1.2.2 wrstuden if test "${enable_color+set}" = set; then
2027 1.1.1.1.2.2 wrstuden enableval=$enable_color;
2028 1.1.1.1.2.2 wrstuden fi
2029 1.1.1.1.2.2 wrstuden
2030 1.1.1.1.2.2 wrstuden # Check whether --enable-colour was given.
2031 1.1.1.1.2.2 wrstuden if test "${enable_colour+set}" = set; then
2032 1.1.1.1.2.2 wrstuden enableval=$enable_colour;
2033 1.1.1.1.2.2 wrstuden fi
2034 1.1.1.1.2.2 wrstuden
2035 1.1.1.1.2.2 wrstuden if test x$enable_color != xno -a x$enable_colour != xno; then
2036 1.1.1.1.2.2 wrstuden
2037 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<\_ACEOF
2038 1.1.1.1.2.2 wrstuden #define ENABLE_COLOR 1
2039 1.1.1.1.2.2 wrstuden _ACEOF
2040 1.1.1.1.2.2 wrstuden
2041 1.1.1.1.2.2 wrstuden fi
2042 1.1.1.1.2.2 wrstuden
2043 1.1.1.1.2.2 wrstuden # Check whether --enable-dualarch was given.
2044 1.1.1.1.2.2 wrstuden if test "${enable_dualarch+set}" = set; then
2045 1.1.1.1.2.2 wrstuden enableval=$enable_dualarch;
2046 1.1.1.1.2.2 wrstuden fi
2047 1.1.1.1.2.2 wrstuden
2048 1.1.1.1.2.2 wrstuden
2049 1.1.1.1.2.2 wrstuden # check for needed programs
2050 1.1.1.1.2.2 wrstuden for ac_prog in make
2051 1.1.1.1.2.2 wrstuden do
2052 1.1.1.1.2.2 wrstuden # Extract the first word of "$ac_prog", so it can be a program name with args.
2053 1.1.1.1.2.2 wrstuden set dummy $ac_prog; ac_word=$2
2054 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for $ac_word" >&5
2055 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2056 1.1.1.1.2.2 wrstuden if test "${ac_cv_prog_MAKE+set}" = set; then
2057 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
2058 1.1.1.1.2.2 wrstuden else
2059 1.1.1.1.2.2 wrstuden if test -n "$MAKE"; then
2060 1.1.1.1.2.2 wrstuden ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
2061 1.1.1.1.2.2 wrstuden else
2062 1.1.1.1.2.2 wrstuden as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2063 1.1.1.1.2.2 wrstuden for as_dir in $PATH
2064 1.1.1.1.2.2 wrstuden do
2065 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
2066 1.1.1.1.2.2 wrstuden test -z "$as_dir" && as_dir=.
2067 1.1.1.1.2.2 wrstuden for ac_exec_ext in '' $ac_executable_extensions; do
2068 1.1.1.1.2.2 wrstuden if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2069 1.1.1.1.2.2 wrstuden ac_cv_prog_MAKE="$ac_prog"
2070 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2071 1.1.1.1.2.2 wrstuden break 2
2072 1.1.1.1.2.2 wrstuden fi
2073 1.1.1.1.2.2 wrstuden done
2074 1.1.1.1.2.2 wrstuden done
2075 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
2076 1.1.1.1.2.2 wrstuden
2077 1.1.1.1.2.2 wrstuden fi
2078 1.1.1.1.2.2 wrstuden fi
2079 1.1.1.1.2.2 wrstuden MAKE=$ac_cv_prog_MAKE
2080 1.1.1.1.2.2 wrstuden if test -n "$MAKE"; then
2081 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $MAKE" >&5
2082 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$MAKE" >&6; }
2083 1.1.1.1.2.2 wrstuden else
2084 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: no" >&5
2085 1.1.1.1.2.2 wrstuden echo "${ECHO_T}no" >&6; }
2086 1.1.1.1.2.2 wrstuden fi
2087 1.1.1.1.2.2 wrstuden
2088 1.1.1.1.2.2 wrstuden
2089 1.1.1.1.2.2 wrstuden test -n "$MAKE" && break
2090 1.1.1.1.2.2 wrstuden done
2091 1.1.1.1.2.2 wrstuden
2092 1.1.1.1.2.2 wrstuden ac_ext=c
2093 1.1.1.1.2.2 wrstuden ac_cpp='$CPP $CPPFLAGS'
2094 1.1.1.1.2.2 wrstuden ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2095 1.1.1.1.2.2 wrstuden ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2096 1.1.1.1.2.2 wrstuden ac_compiler_gnu=$ac_cv_c_compiler_gnu
2097 1.1.1.1.2.2 wrstuden if test -n "$ac_tool_prefix"; then
2098 1.1.1.1.2.2 wrstuden # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2099 1.1.1.1.2.2 wrstuden set dummy ${ac_tool_prefix}gcc; ac_word=$2
2100 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for $ac_word" >&5
2101 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2102 1.1.1.1.2.2 wrstuden if test "${ac_cv_prog_CC+set}" = set; then
2103 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
2104 1.1.1.1.2.2 wrstuden else
2105 1.1.1.1.2.2 wrstuden if test -n "$CC"; then
2106 1.1.1.1.2.2 wrstuden ac_cv_prog_CC="$CC" # Let the user override the test.
2107 1.1.1.1.2.2 wrstuden else
2108 1.1.1.1.2.2 wrstuden as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2109 1.1.1.1.2.2 wrstuden for as_dir in $PATH
2110 1.1.1.1.2.2 wrstuden do
2111 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
2112 1.1.1.1.2.2 wrstuden test -z "$as_dir" && as_dir=.
2113 1.1.1.1.2.2 wrstuden for ac_exec_ext in '' $ac_executable_extensions; do
2114 1.1.1.1.2.2 wrstuden if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2115 1.1.1.1.2.2 wrstuden ac_cv_prog_CC="${ac_tool_prefix}gcc"
2116 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2117 1.1.1.1.2.2 wrstuden break 2
2118 1.1.1.1.2.2 wrstuden fi
2119 1.1.1.1.2.2 wrstuden done
2120 1.1.1.1.2.2 wrstuden done
2121 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
2122 1.1.1.1.2.2 wrstuden
2123 1.1.1.1.2.2 wrstuden fi
2124 1.1.1.1.2.2 wrstuden fi
2125 1.1.1.1.2.2 wrstuden CC=$ac_cv_prog_CC
2126 1.1.1.1.2.2 wrstuden if test -n "$CC"; then
2127 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $CC" >&5
2128 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$CC" >&6; }
2129 1.1.1.1.2.2 wrstuden else
2130 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: no" >&5
2131 1.1.1.1.2.2 wrstuden echo "${ECHO_T}no" >&6; }
2132 1.1.1.1.2.2 wrstuden fi
2133 1.1.1.1.2.2 wrstuden
2134 1.1.1.1.2.2 wrstuden
2135 1.1.1.1.2.2 wrstuden fi
2136 1.1.1.1.2.2 wrstuden if test -z "$ac_cv_prog_CC"; then
2137 1.1.1.1.2.2 wrstuden ac_ct_CC=$CC
2138 1.1.1.1.2.2 wrstuden # Extract the first word of "gcc", so it can be a program name with args.
2139 1.1.1.1.2.2 wrstuden set dummy gcc; ac_word=$2
2140 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for $ac_word" >&5
2141 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2142 1.1.1.1.2.2 wrstuden if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2143 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
2144 1.1.1.1.2.2 wrstuden else
2145 1.1.1.1.2.2 wrstuden if test -n "$ac_ct_CC"; then
2146 1.1.1.1.2.2 wrstuden ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2147 1.1.1.1.2.2 wrstuden else
2148 1.1.1.1.2.2 wrstuden as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2149 1.1.1.1.2.2 wrstuden for as_dir in $PATH
2150 1.1.1.1.2.2 wrstuden do
2151 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
2152 1.1.1.1.2.2 wrstuden test -z "$as_dir" && as_dir=.
2153 1.1.1.1.2.2 wrstuden for ac_exec_ext in '' $ac_executable_extensions; do
2154 1.1.1.1.2.2 wrstuden if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2155 1.1.1.1.2.2 wrstuden ac_cv_prog_ac_ct_CC="gcc"
2156 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2157 1.1.1.1.2.2 wrstuden break 2
2158 1.1.1.1.2.2 wrstuden fi
2159 1.1.1.1.2.2 wrstuden done
2160 1.1.1.1.2.2 wrstuden done
2161 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
2162 1.1.1.1.2.2 wrstuden
2163 1.1.1.1.2.2 wrstuden fi
2164 1.1.1.1.2.2 wrstuden fi
2165 1.1.1.1.2.2 wrstuden ac_ct_CC=$ac_cv_prog_ac_ct_CC
2166 1.1.1.1.2.2 wrstuden if test -n "$ac_ct_CC"; then
2167 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2168 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_ct_CC" >&6; }
2169 1.1.1.1.2.2 wrstuden else
2170 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: no" >&5
2171 1.1.1.1.2.2 wrstuden echo "${ECHO_T}no" >&6; }
2172 1.1.1.1.2.2 wrstuden fi
2173 1.1.1.1.2.2 wrstuden
2174 1.1.1.1.2.2 wrstuden if test "x$ac_ct_CC" = x; then
2175 1.1.1.1.2.2 wrstuden CC=""
2176 1.1.1.1.2.2 wrstuden else
2177 1.1.1.1.2.2 wrstuden case $cross_compiling:$ac_tool_warned in
2178 1.1.1.1.2.2 wrstuden yes:)
2179 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2180 1.1.1.1.2.2 wrstuden whose name does not start with the host triplet. If you think this
2181 1.1.1.1.2.2 wrstuden configuration is useful to you, please write to autoconf (at] gnu.org." >&5
2182 1.1.1.1.2.2 wrstuden echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2183 1.1.1.1.2.2 wrstuden whose name does not start with the host triplet. If you think this
2184 1.1.1.1.2.2 wrstuden configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
2185 1.1.1.1.2.2 wrstuden ac_tool_warned=yes ;;
2186 1.1.1.1.2.2 wrstuden esac
2187 1.1.1.1.2.2 wrstuden CC=$ac_ct_CC
2188 1.1.1.1.2.2 wrstuden fi
2189 1.1.1.1.2.2 wrstuden else
2190 1.1.1.1.2.2 wrstuden CC="$ac_cv_prog_CC"
2191 1.1.1.1.2.2 wrstuden fi
2192 1.1.1.1.2.2 wrstuden
2193 1.1.1.1.2.2 wrstuden if test -z "$CC"; then
2194 1.1.1.1.2.2 wrstuden if test -n "$ac_tool_prefix"; then
2195 1.1.1.1.2.2 wrstuden # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2196 1.1.1.1.2.2 wrstuden set dummy ${ac_tool_prefix}cc; ac_word=$2
2197 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for $ac_word" >&5
2198 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2199 1.1.1.1.2.2 wrstuden if test "${ac_cv_prog_CC+set}" = set; then
2200 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
2201 1.1.1.1.2.2 wrstuden else
2202 1.1.1.1.2.2 wrstuden if test -n "$CC"; then
2203 1.1.1.1.2.2 wrstuden ac_cv_prog_CC="$CC" # Let the user override the test.
2204 1.1.1.1.2.2 wrstuden else
2205 1.1.1.1.2.2 wrstuden as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2206 1.1.1.1.2.2 wrstuden for as_dir in $PATH
2207 1.1.1.1.2.2 wrstuden do
2208 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
2209 1.1.1.1.2.2 wrstuden test -z "$as_dir" && as_dir=.
2210 1.1.1.1.2.2 wrstuden for ac_exec_ext in '' $ac_executable_extensions; do
2211 1.1.1.1.2.2 wrstuden if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2212 1.1.1.1.2.2 wrstuden ac_cv_prog_CC="${ac_tool_prefix}cc"
2213 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2214 1.1.1.1.2.2 wrstuden break 2
2215 1.1.1.1.2.2 wrstuden fi
2216 1.1.1.1.2.2 wrstuden done
2217 1.1.1.1.2.2 wrstuden done
2218 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
2219 1.1.1.1.2.2 wrstuden
2220 1.1.1.1.2.2 wrstuden fi
2221 1.1.1.1.2.2 wrstuden fi
2222 1.1.1.1.2.2 wrstuden CC=$ac_cv_prog_CC
2223 1.1.1.1.2.2 wrstuden if test -n "$CC"; then
2224 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $CC" >&5
2225 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$CC" >&6; }
2226 1.1.1.1.2.2 wrstuden else
2227 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: no" >&5
2228 1.1.1.1.2.2 wrstuden echo "${ECHO_T}no" >&6; }
2229 1.1.1.1.2.2 wrstuden fi
2230 1.1.1.1.2.2 wrstuden
2231 1.1.1.1.2.2 wrstuden
2232 1.1.1.1.2.2 wrstuden fi
2233 1.1.1.1.2.2 wrstuden fi
2234 1.1.1.1.2.2 wrstuden if test -z "$CC"; then
2235 1.1.1.1.2.2 wrstuden # Extract the first word of "cc", so it can be a program name with args.
2236 1.1.1.1.2.2 wrstuden set dummy cc; ac_word=$2
2237 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for $ac_word" >&5
2238 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2239 1.1.1.1.2.2 wrstuden if test "${ac_cv_prog_CC+set}" = set; then
2240 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
2241 1.1.1.1.2.2 wrstuden else
2242 1.1.1.1.2.2 wrstuden if test -n "$CC"; then
2243 1.1.1.1.2.2 wrstuden ac_cv_prog_CC="$CC" # Let the user override the test.
2244 1.1.1.1.2.2 wrstuden else
2245 1.1.1.1.2.2 wrstuden ac_prog_rejected=no
2246 1.1.1.1.2.2 wrstuden as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2247 1.1.1.1.2.2 wrstuden for as_dir in $PATH
2248 1.1.1.1.2.2 wrstuden do
2249 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
2250 1.1.1.1.2.2 wrstuden test -z "$as_dir" && as_dir=.
2251 1.1.1.1.2.2 wrstuden for ac_exec_ext in '' $ac_executable_extensions; do
2252 1.1.1.1.2.2 wrstuden if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2253 1.1.1.1.2.2 wrstuden if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2254 1.1.1.1.2.2 wrstuden ac_prog_rejected=yes
2255 1.1.1.1.2.2 wrstuden continue
2256 1.1.1.1.2.2 wrstuden fi
2257 1.1.1.1.2.2 wrstuden ac_cv_prog_CC="cc"
2258 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 1.1.1.1.2.2 wrstuden break 2
2260 1.1.1.1.2.2 wrstuden fi
2261 1.1.1.1.2.2 wrstuden done
2262 1.1.1.1.2.2 wrstuden done
2263 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
2264 1.1.1.1.2.2 wrstuden
2265 1.1.1.1.2.2 wrstuden if test $ac_prog_rejected = yes; then
2266 1.1.1.1.2.2 wrstuden # We found a bogon in the path, so make sure we never use it.
2267 1.1.1.1.2.2 wrstuden set dummy $ac_cv_prog_CC
2268 1.1.1.1.2.2 wrstuden shift
2269 1.1.1.1.2.2 wrstuden if test $# != 0; then
2270 1.1.1.1.2.2 wrstuden # We chose a different compiler from the bogus one.
2271 1.1.1.1.2.2 wrstuden # However, it has the same basename, so the bogon will be chosen
2272 1.1.1.1.2.2 wrstuden # first if we set CC to just the basename; use the full file name.
2273 1.1.1.1.2.2 wrstuden shift
2274 1.1.1.1.2.2 wrstuden ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2275 1.1.1.1.2.2 wrstuden fi
2276 1.1.1.1.2.2 wrstuden fi
2277 1.1.1.1.2.2 wrstuden fi
2278 1.1.1.1.2.2 wrstuden fi
2279 1.1.1.1.2.2 wrstuden CC=$ac_cv_prog_CC
2280 1.1.1.1.2.2 wrstuden if test -n "$CC"; then
2281 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $CC" >&5
2282 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$CC" >&6; }
2283 1.1.1.1.2.2 wrstuden else
2284 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: no" >&5
2285 1.1.1.1.2.2 wrstuden echo "${ECHO_T}no" >&6; }
2286 1.1.1.1.2.2 wrstuden fi
2287 1.1.1.1.2.2 wrstuden
2288 1.1.1.1.2.2 wrstuden
2289 1.1.1.1.2.2 wrstuden fi
2290 1.1.1.1.2.2 wrstuden if test -z "$CC"; then
2291 1.1.1.1.2.2 wrstuden if test -n "$ac_tool_prefix"; then
2292 1.1.1.1.2.2 wrstuden for ac_prog in cl.exe
2293 1.1.1.1.2.2 wrstuden do
2294 1.1.1.1.2.2 wrstuden # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2295 1.1.1.1.2.2 wrstuden set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2296 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for $ac_word" >&5
2297 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2298 1.1.1.1.2.2 wrstuden if test "${ac_cv_prog_CC+set}" = set; then
2299 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
2300 1.1.1.1.2.2 wrstuden else
2301 1.1.1.1.2.2 wrstuden if test -n "$CC"; then
2302 1.1.1.1.2.2 wrstuden ac_cv_prog_CC="$CC" # Let the user override the test.
2303 1.1.1.1.2.2 wrstuden else
2304 1.1.1.1.2.2 wrstuden as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305 1.1.1.1.2.2 wrstuden for as_dir in $PATH
2306 1.1.1.1.2.2 wrstuden do
2307 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
2308 1.1.1.1.2.2 wrstuden test -z "$as_dir" && as_dir=.
2309 1.1.1.1.2.2 wrstuden for ac_exec_ext in '' $ac_executable_extensions; do
2310 1.1.1.1.2.2 wrstuden if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2311 1.1.1.1.2.2 wrstuden ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2312 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2313 1.1.1.1.2.2 wrstuden break 2
2314 1.1.1.1.2.2 wrstuden fi
2315 1.1.1.1.2.2 wrstuden done
2316 1.1.1.1.2.2 wrstuden done
2317 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
2318 1.1.1.1.2.2 wrstuden
2319 1.1.1.1.2.2 wrstuden fi
2320 1.1.1.1.2.2 wrstuden fi
2321 1.1.1.1.2.2 wrstuden CC=$ac_cv_prog_CC
2322 1.1.1.1.2.2 wrstuden if test -n "$CC"; then
2323 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $CC" >&5
2324 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$CC" >&6; }
2325 1.1.1.1.2.2 wrstuden else
2326 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: no" >&5
2327 1.1.1.1.2.2 wrstuden echo "${ECHO_T}no" >&6; }
2328 1.1.1.1.2.2 wrstuden fi
2329 1.1.1.1.2.2 wrstuden
2330 1.1.1.1.2.2 wrstuden
2331 1.1.1.1.2.2 wrstuden test -n "$CC" && break
2332 1.1.1.1.2.2 wrstuden done
2333 1.1.1.1.2.2 wrstuden fi
2334 1.1.1.1.2.2 wrstuden if test -z "$CC"; then
2335 1.1.1.1.2.2 wrstuden ac_ct_CC=$CC
2336 1.1.1.1.2.2 wrstuden for ac_prog in cl.exe
2337 1.1.1.1.2.2 wrstuden do
2338 1.1.1.1.2.2 wrstuden # Extract the first word of "$ac_prog", so it can be a program name with args.
2339 1.1.1.1.2.2 wrstuden set dummy $ac_prog; ac_word=$2
2340 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for $ac_word" >&5
2341 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2342 1.1.1.1.2.2 wrstuden if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2343 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
2344 1.1.1.1.2.2 wrstuden else
2345 1.1.1.1.2.2 wrstuden if test -n "$ac_ct_CC"; then
2346 1.1.1.1.2.2 wrstuden ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2347 1.1.1.1.2.2 wrstuden else
2348 1.1.1.1.2.2 wrstuden as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2349 1.1.1.1.2.2 wrstuden for as_dir in $PATH
2350 1.1.1.1.2.2 wrstuden do
2351 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
2352 1.1.1.1.2.2 wrstuden test -z "$as_dir" && as_dir=.
2353 1.1.1.1.2.2 wrstuden for ac_exec_ext in '' $ac_executable_extensions; do
2354 1.1.1.1.2.2 wrstuden if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2355 1.1.1.1.2.2 wrstuden ac_cv_prog_ac_ct_CC="$ac_prog"
2356 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2357 1.1.1.1.2.2 wrstuden break 2
2358 1.1.1.1.2.2 wrstuden fi
2359 1.1.1.1.2.2 wrstuden done
2360 1.1.1.1.2.2 wrstuden done
2361 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
2362 1.1.1.1.2.2 wrstuden
2363 1.1.1.1.2.2 wrstuden fi
2364 1.1.1.1.2.2 wrstuden fi
2365 1.1.1.1.2.2 wrstuden ac_ct_CC=$ac_cv_prog_ac_ct_CC
2366 1.1.1.1.2.2 wrstuden if test -n "$ac_ct_CC"; then
2367 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2368 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_ct_CC" >&6; }
2369 1.1.1.1.2.2 wrstuden else
2370 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: no" >&5
2371 1.1.1.1.2.2 wrstuden echo "${ECHO_T}no" >&6; }
2372 1.1.1.1.2.2 wrstuden fi
2373 1.1.1.1.2.2 wrstuden
2374 1.1.1.1.2.2 wrstuden
2375 1.1.1.1.2.2 wrstuden test -n "$ac_ct_CC" && break
2376 1.1.1.1.2.2 wrstuden done
2377 1.1.1.1.2.2 wrstuden
2378 1.1.1.1.2.2 wrstuden if test "x$ac_ct_CC" = x; then
2379 1.1.1.1.2.2 wrstuden CC=""
2380 1.1.1.1.2.2 wrstuden else
2381 1.1.1.1.2.2 wrstuden case $cross_compiling:$ac_tool_warned in
2382 1.1.1.1.2.2 wrstuden yes:)
2383 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2384 1.1.1.1.2.2 wrstuden whose name does not start with the host triplet. If you think this
2385 1.1.1.1.2.2 wrstuden configuration is useful to you, please write to autoconf (at] gnu.org." >&5
2386 1.1.1.1.2.2 wrstuden echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2387 1.1.1.1.2.2 wrstuden whose name does not start with the host triplet. If you think this
2388 1.1.1.1.2.2 wrstuden configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
2389 1.1.1.1.2.2 wrstuden ac_tool_warned=yes ;;
2390 1.1.1.1.2.2 wrstuden esac
2391 1.1.1.1.2.2 wrstuden CC=$ac_ct_CC
2392 1.1.1.1.2.2 wrstuden fi
2393 1.1.1.1.2.2 wrstuden fi
2394 1.1.1.1.2.2 wrstuden
2395 1.1.1.1.2.2 wrstuden fi
2396 1.1.1.1.2.2 wrstuden
2397 1.1.1.1.2.2 wrstuden
2398 1.1.1.1.2.2 wrstuden test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2399 1.1.1.1.2.2 wrstuden See \`config.log' for more details." >&5
2400 1.1.1.1.2.2 wrstuden echo "$as_me: error: no acceptable C compiler found in \$PATH
2401 1.1.1.1.2.2 wrstuden See \`config.log' for more details." >&2;}
2402 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
2403 1.1.1.1.2.2 wrstuden
2404 1.1.1.1.2.2 wrstuden # Provide some information about the compiler.
2405 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: checking for C compiler version" >&5
2406 1.1.1.1.2.2 wrstuden ac_compiler=`set X $ac_compile; echo $2`
2407 1.1.1.1.2.2 wrstuden { (ac_try="$ac_compiler --version >&5"
2408 1.1.1.1.2.2 wrstuden case "(($ac_try" in
2409 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2410 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
2411 1.1.1.1.2.2 wrstuden esac
2412 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2413 1.1.1.1.2.2 wrstuden (eval "$ac_compiler --version >&5") 2>&5
2414 1.1.1.1.2.2 wrstuden ac_status=$?
2415 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 1.1.1.1.2.2 wrstuden (exit $ac_status); }
2417 1.1.1.1.2.2 wrstuden { (ac_try="$ac_compiler -v >&5"
2418 1.1.1.1.2.2 wrstuden case "(($ac_try" in
2419 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2420 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
2421 1.1.1.1.2.2 wrstuden esac
2422 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2423 1.1.1.1.2.2 wrstuden (eval "$ac_compiler -v >&5") 2>&5
2424 1.1.1.1.2.2 wrstuden ac_status=$?
2425 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 1.1.1.1.2.2 wrstuden (exit $ac_status); }
2427 1.1.1.1.2.2 wrstuden { (ac_try="$ac_compiler -V >&5"
2428 1.1.1.1.2.2 wrstuden case "(($ac_try" in
2429 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
2431 1.1.1.1.2.2 wrstuden esac
2432 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2433 1.1.1.1.2.2 wrstuden (eval "$ac_compiler -V >&5") 2>&5
2434 1.1.1.1.2.2 wrstuden ac_status=$?
2435 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 1.1.1.1.2.2 wrstuden (exit $ac_status); }
2437 1.1.1.1.2.2 wrstuden
2438 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
2439 1.1.1.1.2.2 wrstuden /* confdefs.h. */
2440 1.1.1.1.2.2 wrstuden _ACEOF
2441 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
2442 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
2443 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
2444 1.1.1.1.2.2 wrstuden
2445 1.1.1.1.2.2 wrstuden int
2446 1.1.1.1.2.2 wrstuden main ()
2447 1.1.1.1.2.2 wrstuden {
2448 1.1.1.1.2.2 wrstuden
2449 1.1.1.1.2.2 wrstuden ;
2450 1.1.1.1.2.2 wrstuden return 0;
2451 1.1.1.1.2.2 wrstuden }
2452 1.1.1.1.2.2 wrstuden _ACEOF
2453 1.1.1.1.2.2 wrstuden ac_clean_files_save=$ac_clean_files
2454 1.1.1.1.2.2 wrstuden ac_clean_files="$ac_clean_files a.out a.exe b.out"
2455 1.1.1.1.2.2 wrstuden # Try to create an executable without -o first, disregard a.out.
2456 1.1.1.1.2.2 wrstuden # It will help us diagnose broken compilers, and finding out an intuition
2457 1.1.1.1.2.2 wrstuden # of exeext.
2458 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2459 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2460 1.1.1.1.2.2 wrstuden ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2461 1.1.1.1.2.2 wrstuden #
2462 1.1.1.1.2.2 wrstuden # List of possible output files, starting from the most likely.
2463 1.1.1.1.2.2 wrstuden # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2464 1.1.1.1.2.2 wrstuden # only as a last resort. b.out is created by i960 compilers.
2465 1.1.1.1.2.2 wrstuden ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2466 1.1.1.1.2.2 wrstuden #
2467 1.1.1.1.2.2 wrstuden # The IRIX 6 linker writes into existing files which may not be
2468 1.1.1.1.2.2 wrstuden # executable, retaining their permissions. Remove them first so a
2469 1.1.1.1.2.2 wrstuden # subsequent execution test works.
2470 1.1.1.1.2.2 wrstuden ac_rmfiles=
2471 1.1.1.1.2.2 wrstuden for ac_file in $ac_files
2472 1.1.1.1.2.2 wrstuden do
2473 1.1.1.1.2.2 wrstuden case $ac_file in
2474 1.1.1.1.2.2 wrstuden *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2475 1.1.1.1.2.2 wrstuden * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2476 1.1.1.1.2.2 wrstuden esac
2477 1.1.1.1.2.2 wrstuden done
2478 1.1.1.1.2.2 wrstuden rm -f $ac_rmfiles
2479 1.1.1.1.2.2 wrstuden
2480 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_link_default"
2481 1.1.1.1.2.2 wrstuden case "(($ac_try" in
2482 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2483 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
2484 1.1.1.1.2.2 wrstuden esac
2485 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2486 1.1.1.1.2.2 wrstuden (eval "$ac_link_default") 2>&5
2487 1.1.1.1.2.2 wrstuden ac_status=$?
2488 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 1.1.1.1.2.2 wrstuden (exit $ac_status); }; then
2490 1.1.1.1.2.2 wrstuden # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2491 1.1.1.1.2.2 wrstuden # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2492 1.1.1.1.2.2 wrstuden # in a Makefile. We should not override ac_cv_exeext if it was cached,
2493 1.1.1.1.2.2 wrstuden # so that the user can short-circuit this test for compilers unknown to
2494 1.1.1.1.2.2 wrstuden # Autoconf.
2495 1.1.1.1.2.2 wrstuden for ac_file in $ac_files ''
2496 1.1.1.1.2.2 wrstuden do
2497 1.1.1.1.2.2 wrstuden test -f "$ac_file" || continue
2498 1.1.1.1.2.2 wrstuden case $ac_file in
2499 1.1.1.1.2.2 wrstuden *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2500 1.1.1.1.2.2 wrstuden ;;
2501 1.1.1.1.2.2 wrstuden [ab].out )
2502 1.1.1.1.2.2 wrstuden # We found the default executable, but exeext='' is most
2503 1.1.1.1.2.2 wrstuden # certainly right.
2504 1.1.1.1.2.2 wrstuden break;;
2505 1.1.1.1.2.2 wrstuden *.* )
2506 1.1.1.1.2.2 wrstuden if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2507 1.1.1.1.2.2 wrstuden then :; else
2508 1.1.1.1.2.2 wrstuden ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2509 1.1.1.1.2.2 wrstuden fi
2510 1.1.1.1.2.2 wrstuden # We set ac_cv_exeext here because the later test for it is not
2511 1.1.1.1.2.2 wrstuden # safe: cross compilers may not add the suffix if given an `-o'
2512 1.1.1.1.2.2 wrstuden # argument, so we may need to know it at that point already.
2513 1.1.1.1.2.2 wrstuden # Even if this section looks crufty: it has the advantage of
2514 1.1.1.1.2.2 wrstuden # actually working.
2515 1.1.1.1.2.2 wrstuden break;;
2516 1.1.1.1.2.2 wrstuden * )
2517 1.1.1.1.2.2 wrstuden break;;
2518 1.1.1.1.2.2 wrstuden esac
2519 1.1.1.1.2.2 wrstuden done
2520 1.1.1.1.2.2 wrstuden test "$ac_cv_exeext" = no && ac_cv_exeext=
2521 1.1.1.1.2.2 wrstuden
2522 1.1.1.1.2.2 wrstuden else
2523 1.1.1.1.2.2 wrstuden ac_file=''
2524 1.1.1.1.2.2 wrstuden fi
2525 1.1.1.1.2.2 wrstuden
2526 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_file" >&5
2527 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_file" >&6; }
2528 1.1.1.1.2.2 wrstuden if test -z "$ac_file"; then
2529 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
2530 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
2531 1.1.1.1.2.2 wrstuden
2532 1.1.1.1.2.2 wrstuden { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2533 1.1.1.1.2.2 wrstuden See \`config.log' for more details." >&5
2534 1.1.1.1.2.2 wrstuden echo "$as_me: error: C compiler cannot create executables
2535 1.1.1.1.2.2 wrstuden See \`config.log' for more details." >&2;}
2536 1.1.1.1.2.2 wrstuden { (exit 77); exit 77; }; }
2537 1.1.1.1.2.2 wrstuden fi
2538 1.1.1.1.2.2 wrstuden
2539 1.1.1.1.2.2 wrstuden ac_exeext=$ac_cv_exeext
2540 1.1.1.1.2.2 wrstuden
2541 1.1.1.1.2.2 wrstuden # Check that the compiler produces executables we can run. If not, either
2542 1.1.1.1.2.2 wrstuden # the compiler is broken, or we cross compile.
2543 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2544 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2545 1.1.1.1.2.2 wrstuden # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2546 1.1.1.1.2.2 wrstuden # If not cross compiling, check that we can run a simple program.
2547 1.1.1.1.2.2 wrstuden if test "$cross_compiling" != yes; then
2548 1.1.1.1.2.2 wrstuden if { ac_try='./$ac_file'
2549 1.1.1.1.2.2 wrstuden { (case "(($ac_try" in
2550 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2551 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
2552 1.1.1.1.2.2 wrstuden esac
2553 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2554 1.1.1.1.2.2 wrstuden (eval "$ac_try") 2>&5
2555 1.1.1.1.2.2 wrstuden ac_status=$?
2556 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557 1.1.1.1.2.2 wrstuden (exit $ac_status); }; }; then
2558 1.1.1.1.2.2 wrstuden cross_compiling=no
2559 1.1.1.1.2.2 wrstuden else
2560 1.1.1.1.2.2 wrstuden if test "$cross_compiling" = maybe; then
2561 1.1.1.1.2.2 wrstuden cross_compiling=yes
2562 1.1.1.1.2.2 wrstuden else
2563 1.1.1.1.2.2 wrstuden { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2564 1.1.1.1.2.2 wrstuden If you meant to cross compile, use \`--host'.
2565 1.1.1.1.2.2 wrstuden See \`config.log' for more details." >&5
2566 1.1.1.1.2.2 wrstuden echo "$as_me: error: cannot run C compiled programs.
2567 1.1.1.1.2.2 wrstuden If you meant to cross compile, use \`--host'.
2568 1.1.1.1.2.2 wrstuden See \`config.log' for more details." >&2;}
2569 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
2570 1.1.1.1.2.2 wrstuden fi
2571 1.1.1.1.2.2 wrstuden fi
2572 1.1.1.1.2.2 wrstuden fi
2573 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: yes" >&5
2574 1.1.1.1.2.2 wrstuden echo "${ECHO_T}yes" >&6; }
2575 1.1.1.1.2.2 wrstuden
2576 1.1.1.1.2.2 wrstuden rm -f a.out a.exe conftest$ac_cv_exeext b.out
2577 1.1.1.1.2.2 wrstuden ac_clean_files=$ac_clean_files_save
2578 1.1.1.1.2.2 wrstuden # Check that the compiler produces executables we can run. If not, either
2579 1.1.1.1.2.2 wrstuden # the compiler is broken, or we cross compile.
2580 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2581 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2582 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2583 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$cross_compiling" >&6; }
2584 1.1.1.1.2.2 wrstuden
2585 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2586 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2587 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_link"
2588 1.1.1.1.2.2 wrstuden case "(($ac_try" in
2589 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2590 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
2591 1.1.1.1.2.2 wrstuden esac
2592 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2593 1.1.1.1.2.2 wrstuden (eval "$ac_link") 2>&5
2594 1.1.1.1.2.2 wrstuden ac_status=$?
2595 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 1.1.1.1.2.2 wrstuden (exit $ac_status); }; then
2597 1.1.1.1.2.2 wrstuden # If both `conftest.exe' and `conftest' are `present' (well, observable)
2598 1.1.1.1.2.2 wrstuden # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2599 1.1.1.1.2.2 wrstuden # work properly (i.e., refer to `conftest.exe'), while it won't with
2600 1.1.1.1.2.2 wrstuden # `rm'.
2601 1.1.1.1.2.2 wrstuden for ac_file in conftest.exe conftest conftest.*; do
2602 1.1.1.1.2.2 wrstuden test -f "$ac_file" || continue
2603 1.1.1.1.2.2 wrstuden case $ac_file in
2604 1.1.1.1.2.2 wrstuden *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2605 1.1.1.1.2.2 wrstuden *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2606 1.1.1.1.2.2 wrstuden break;;
2607 1.1.1.1.2.2 wrstuden * ) break;;
2608 1.1.1.1.2.2 wrstuden esac
2609 1.1.1.1.2.2 wrstuden done
2610 1.1.1.1.2.2 wrstuden else
2611 1.1.1.1.2.2 wrstuden { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2612 1.1.1.1.2.2 wrstuden See \`config.log' for more details." >&5
2613 1.1.1.1.2.2 wrstuden echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2614 1.1.1.1.2.2 wrstuden See \`config.log' for more details." >&2;}
2615 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
2616 1.1.1.1.2.2 wrstuden fi
2617 1.1.1.1.2.2 wrstuden
2618 1.1.1.1.2.2 wrstuden rm -f conftest$ac_cv_exeext
2619 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2620 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_exeext" >&6; }
2621 1.1.1.1.2.2 wrstuden
2622 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_ext
2623 1.1.1.1.2.2 wrstuden EXEEXT=$ac_cv_exeext
2624 1.1.1.1.2.2 wrstuden ac_exeext=$EXEEXT
2625 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2626 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2627 1.1.1.1.2.2 wrstuden if test "${ac_cv_objext+set}" = set; then
2628 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
2629 1.1.1.1.2.2 wrstuden else
2630 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
2631 1.1.1.1.2.2 wrstuden /* confdefs.h. */
2632 1.1.1.1.2.2 wrstuden _ACEOF
2633 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
2634 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
2635 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
2636 1.1.1.1.2.2 wrstuden
2637 1.1.1.1.2.2 wrstuden int
2638 1.1.1.1.2.2 wrstuden main ()
2639 1.1.1.1.2.2 wrstuden {
2640 1.1.1.1.2.2 wrstuden
2641 1.1.1.1.2.2 wrstuden ;
2642 1.1.1.1.2.2 wrstuden return 0;
2643 1.1.1.1.2.2 wrstuden }
2644 1.1.1.1.2.2 wrstuden _ACEOF
2645 1.1.1.1.2.2 wrstuden rm -f conftest.o conftest.obj
2646 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
2647 1.1.1.1.2.2 wrstuden case "(($ac_try" in
2648 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2649 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
2650 1.1.1.1.2.2 wrstuden esac
2651 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2652 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>&5
2653 1.1.1.1.2.2 wrstuden ac_status=$?
2654 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 1.1.1.1.2.2 wrstuden (exit $ac_status); }; then
2656 1.1.1.1.2.2 wrstuden for ac_file in conftest.o conftest.obj conftest.*; do
2657 1.1.1.1.2.2 wrstuden test -f "$ac_file" || continue;
2658 1.1.1.1.2.2 wrstuden case $ac_file in
2659 1.1.1.1.2.2 wrstuden *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2660 1.1.1.1.2.2 wrstuden *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2661 1.1.1.1.2.2 wrstuden break;;
2662 1.1.1.1.2.2 wrstuden esac
2663 1.1.1.1.2.2 wrstuden done
2664 1.1.1.1.2.2 wrstuden else
2665 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
2666 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
2667 1.1.1.1.2.2 wrstuden
2668 1.1.1.1.2.2 wrstuden { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2669 1.1.1.1.2.2 wrstuden See \`config.log' for more details." >&5
2670 1.1.1.1.2.2 wrstuden echo "$as_me: error: cannot compute suffix of object files: cannot compile
2671 1.1.1.1.2.2 wrstuden See \`config.log' for more details." >&2;}
2672 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
2673 1.1.1.1.2.2 wrstuden fi
2674 1.1.1.1.2.2 wrstuden
2675 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_cv_objext conftest.$ac_ext
2676 1.1.1.1.2.2 wrstuden fi
2677 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2678 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_objext" >&6; }
2679 1.1.1.1.2.2 wrstuden OBJEXT=$ac_cv_objext
2680 1.1.1.1.2.2 wrstuden ac_objext=$OBJEXT
2681 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2682 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2683 1.1.1.1.2.2 wrstuden if test "${ac_cv_c_compiler_gnu+set}" = set; then
2684 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
2685 1.1.1.1.2.2 wrstuden else
2686 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
2687 1.1.1.1.2.2 wrstuden /* confdefs.h. */
2688 1.1.1.1.2.2 wrstuden _ACEOF
2689 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
2690 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
2691 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
2692 1.1.1.1.2.2 wrstuden
2693 1.1.1.1.2.2 wrstuden int
2694 1.1.1.1.2.2 wrstuden main ()
2695 1.1.1.1.2.2 wrstuden {
2696 1.1.1.1.2.2 wrstuden #ifndef __GNUC__
2697 1.1.1.1.2.2 wrstuden choke me
2698 1.1.1.1.2.2 wrstuden #endif
2699 1.1.1.1.2.2 wrstuden
2700 1.1.1.1.2.2 wrstuden ;
2701 1.1.1.1.2.2 wrstuden return 0;
2702 1.1.1.1.2.2 wrstuden }
2703 1.1.1.1.2.2 wrstuden _ACEOF
2704 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
2705 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
2706 1.1.1.1.2.2 wrstuden case "(($ac_try" in
2707 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2708 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
2709 1.1.1.1.2.2 wrstuden esac
2710 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2711 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
2712 1.1.1.1.2.2 wrstuden ac_status=$?
2713 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
2714 1.1.1.1.2.2 wrstuden rm -f conftest.er1
2715 1.1.1.1.2.2 wrstuden cat conftest.err >&5
2716 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
2718 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
2719 1.1.1.1.2.2 wrstuden test ! -s conftest.err
2720 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
2721 1.1.1.1.2.2 wrstuden ac_compiler_gnu=yes
2722 1.1.1.1.2.2 wrstuden else
2723 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
2724 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
2725 1.1.1.1.2.2 wrstuden
2726 1.1.1.1.2.2 wrstuden ac_compiler_gnu=no
2727 1.1.1.1.2.2 wrstuden fi
2728 1.1.1.1.2.2 wrstuden
2729 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2730 1.1.1.1.2.2 wrstuden ac_cv_c_compiler_gnu=$ac_compiler_gnu
2731 1.1.1.1.2.2 wrstuden
2732 1.1.1.1.2.2 wrstuden fi
2733 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2734 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2735 1.1.1.1.2.2 wrstuden GCC=`test $ac_compiler_gnu = yes && echo yes`
2736 1.1.1.1.2.2 wrstuden ac_test_CFLAGS=${CFLAGS+set}
2737 1.1.1.1.2.2 wrstuden ac_save_CFLAGS=$CFLAGS
2738 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2739 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2740 1.1.1.1.2.2 wrstuden if test "${ac_cv_prog_cc_g+set}" = set; then
2741 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
2742 1.1.1.1.2.2 wrstuden else
2743 1.1.1.1.2.2 wrstuden ac_save_c_werror_flag=$ac_c_werror_flag
2744 1.1.1.1.2.2 wrstuden ac_c_werror_flag=yes
2745 1.1.1.1.2.2 wrstuden ac_cv_prog_cc_g=no
2746 1.1.1.1.2.2 wrstuden CFLAGS="-g"
2747 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
2748 1.1.1.1.2.2 wrstuden /* confdefs.h. */
2749 1.1.1.1.2.2 wrstuden _ACEOF
2750 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
2751 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
2752 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
2753 1.1.1.1.2.2 wrstuden
2754 1.1.1.1.2.2 wrstuden int
2755 1.1.1.1.2.2 wrstuden main ()
2756 1.1.1.1.2.2 wrstuden {
2757 1.1.1.1.2.2 wrstuden
2758 1.1.1.1.2.2 wrstuden ;
2759 1.1.1.1.2.2 wrstuden return 0;
2760 1.1.1.1.2.2 wrstuden }
2761 1.1.1.1.2.2 wrstuden _ACEOF
2762 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
2763 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
2764 1.1.1.1.2.2 wrstuden case "(($ac_try" in
2765 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2766 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
2767 1.1.1.1.2.2 wrstuden esac
2768 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2769 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
2770 1.1.1.1.2.2 wrstuden ac_status=$?
2771 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
2772 1.1.1.1.2.2 wrstuden rm -f conftest.er1
2773 1.1.1.1.2.2 wrstuden cat conftest.err >&5
2774 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
2776 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
2777 1.1.1.1.2.2 wrstuden test ! -s conftest.err
2778 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
2779 1.1.1.1.2.2 wrstuden ac_cv_prog_cc_g=yes
2780 1.1.1.1.2.2 wrstuden else
2781 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
2782 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
2783 1.1.1.1.2.2 wrstuden
2784 1.1.1.1.2.2 wrstuden CFLAGS=""
2785 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
2786 1.1.1.1.2.2 wrstuden /* confdefs.h. */
2787 1.1.1.1.2.2 wrstuden _ACEOF
2788 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
2789 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
2790 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
2791 1.1.1.1.2.2 wrstuden
2792 1.1.1.1.2.2 wrstuden int
2793 1.1.1.1.2.2 wrstuden main ()
2794 1.1.1.1.2.2 wrstuden {
2795 1.1.1.1.2.2 wrstuden
2796 1.1.1.1.2.2 wrstuden ;
2797 1.1.1.1.2.2 wrstuden return 0;
2798 1.1.1.1.2.2 wrstuden }
2799 1.1.1.1.2.2 wrstuden _ACEOF
2800 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
2801 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
2802 1.1.1.1.2.2 wrstuden case "(($ac_try" in
2803 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2804 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
2805 1.1.1.1.2.2 wrstuden esac
2806 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2807 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
2808 1.1.1.1.2.2 wrstuden ac_status=$?
2809 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
2810 1.1.1.1.2.2 wrstuden rm -f conftest.er1
2811 1.1.1.1.2.2 wrstuden cat conftest.err >&5
2812 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
2814 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
2815 1.1.1.1.2.2 wrstuden test ! -s conftest.err
2816 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
2817 1.1.1.1.2.2 wrstuden :
2818 1.1.1.1.2.2 wrstuden else
2819 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
2820 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
2821 1.1.1.1.2.2 wrstuden
2822 1.1.1.1.2.2 wrstuden ac_c_werror_flag=$ac_save_c_werror_flag
2823 1.1.1.1.2.2 wrstuden CFLAGS="-g"
2824 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
2825 1.1.1.1.2.2 wrstuden /* confdefs.h. */
2826 1.1.1.1.2.2 wrstuden _ACEOF
2827 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
2828 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
2829 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
2830 1.1.1.1.2.2 wrstuden
2831 1.1.1.1.2.2 wrstuden int
2832 1.1.1.1.2.2 wrstuden main ()
2833 1.1.1.1.2.2 wrstuden {
2834 1.1.1.1.2.2 wrstuden
2835 1.1.1.1.2.2 wrstuden ;
2836 1.1.1.1.2.2 wrstuden return 0;
2837 1.1.1.1.2.2 wrstuden }
2838 1.1.1.1.2.2 wrstuden _ACEOF
2839 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
2840 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
2841 1.1.1.1.2.2 wrstuden case "(($ac_try" in
2842 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
2844 1.1.1.1.2.2 wrstuden esac
2845 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2846 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
2847 1.1.1.1.2.2 wrstuden ac_status=$?
2848 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
2849 1.1.1.1.2.2 wrstuden rm -f conftest.er1
2850 1.1.1.1.2.2 wrstuden cat conftest.err >&5
2851 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
2853 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
2854 1.1.1.1.2.2 wrstuden test ! -s conftest.err
2855 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
2856 1.1.1.1.2.2 wrstuden ac_cv_prog_cc_g=yes
2857 1.1.1.1.2.2 wrstuden else
2858 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
2859 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
2860 1.1.1.1.2.2 wrstuden
2861 1.1.1.1.2.2 wrstuden
2862 1.1.1.1.2.2 wrstuden fi
2863 1.1.1.1.2.2 wrstuden
2864 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 1.1.1.1.2.2 wrstuden fi
2866 1.1.1.1.2.2 wrstuden
2867 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 1.1.1.1.2.2 wrstuden fi
2869 1.1.1.1.2.2 wrstuden
2870 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871 1.1.1.1.2.2 wrstuden ac_c_werror_flag=$ac_save_c_werror_flag
2872 1.1.1.1.2.2 wrstuden fi
2873 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2874 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2875 1.1.1.1.2.2 wrstuden if test "$ac_test_CFLAGS" = set; then
2876 1.1.1.1.2.2 wrstuden CFLAGS=$ac_save_CFLAGS
2877 1.1.1.1.2.2 wrstuden elif test $ac_cv_prog_cc_g = yes; then
2878 1.1.1.1.2.2 wrstuden if test "$GCC" = yes; then
2879 1.1.1.1.2.2 wrstuden CFLAGS="-g -O2"
2880 1.1.1.1.2.2 wrstuden else
2881 1.1.1.1.2.2 wrstuden CFLAGS="-g"
2882 1.1.1.1.2.2 wrstuden fi
2883 1.1.1.1.2.2 wrstuden else
2884 1.1.1.1.2.2 wrstuden if test "$GCC" = yes; then
2885 1.1.1.1.2.2 wrstuden CFLAGS="-O2"
2886 1.1.1.1.2.2 wrstuden else
2887 1.1.1.1.2.2 wrstuden CFLAGS=
2888 1.1.1.1.2.2 wrstuden fi
2889 1.1.1.1.2.2 wrstuden fi
2890 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2891 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2892 1.1.1.1.2.2 wrstuden if test "${ac_cv_prog_cc_c89+set}" = set; then
2893 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
2894 1.1.1.1.2.2 wrstuden else
2895 1.1.1.1.2.2 wrstuden ac_cv_prog_cc_c89=no
2896 1.1.1.1.2.2 wrstuden ac_save_CC=$CC
2897 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
2898 1.1.1.1.2.2 wrstuden /* confdefs.h. */
2899 1.1.1.1.2.2 wrstuden _ACEOF
2900 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
2901 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
2902 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
2903 1.1.1.1.2.2 wrstuden #include <stdarg.h>
2904 1.1.1.1.2.2 wrstuden #include <stdio.h>
2905 1.1.1.1.2.2 wrstuden #include <sys/types.h>
2906 1.1.1.1.2.2 wrstuden #include <sys/stat.h>
2907 1.1.1.1.2.2 wrstuden /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2908 1.1.1.1.2.2 wrstuden struct buf { int x; };
2909 1.1.1.1.2.2 wrstuden FILE * (*rcsopen) (struct buf *, struct stat *, int);
2910 1.1.1.1.2.2 wrstuden static char *e (p, i)
2911 1.1.1.1.2.2 wrstuden char **p;
2912 1.1.1.1.2.2 wrstuden int i;
2913 1.1.1.1.2.2 wrstuden {
2914 1.1.1.1.2.2 wrstuden return p[i];
2915 1.1.1.1.2.2 wrstuden }
2916 1.1.1.1.2.2 wrstuden static char *f (char * (*g) (char **, int), char **p, ...)
2917 1.1.1.1.2.2 wrstuden {
2918 1.1.1.1.2.2 wrstuden char *s;
2919 1.1.1.1.2.2 wrstuden va_list v;
2920 1.1.1.1.2.2 wrstuden va_start (v,p);
2921 1.1.1.1.2.2 wrstuden s = g (p, va_arg (v,int));
2922 1.1.1.1.2.2 wrstuden va_end (v);
2923 1.1.1.1.2.2 wrstuden return s;
2924 1.1.1.1.2.2 wrstuden }
2925 1.1.1.1.2.2 wrstuden
2926 1.1.1.1.2.2 wrstuden /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2927 1.1.1.1.2.2 wrstuden function prototypes and stuff, but not '\xHH' hex character constants.
2928 1.1.1.1.2.2 wrstuden These don't provoke an error unfortunately, instead are silently treated
2929 1.1.1.1.2.2 wrstuden as 'x'. The following induces an error, until -std is added to get
2930 1.1.1.1.2.2 wrstuden proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2931 1.1.1.1.2.2 wrstuden array size at least. It's necessary to write '\x00'==0 to get something
2932 1.1.1.1.2.2 wrstuden that's true only with -std. */
2933 1.1.1.1.2.2 wrstuden int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2934 1.1.1.1.2.2 wrstuden
2935 1.1.1.1.2.2 wrstuden /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2936 1.1.1.1.2.2 wrstuden inside strings and character constants. */
2937 1.1.1.1.2.2 wrstuden #define FOO(x) 'x'
2938 1.1.1.1.2.2 wrstuden int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2939 1.1.1.1.2.2 wrstuden
2940 1.1.1.1.2.2 wrstuden int test (int i, double x);
2941 1.1.1.1.2.2 wrstuden struct s1 {int (*f) (int a);};
2942 1.1.1.1.2.2 wrstuden struct s2 {int (*f) (double a);};
2943 1.1.1.1.2.2 wrstuden int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2944 1.1.1.1.2.2 wrstuden int argc;
2945 1.1.1.1.2.2 wrstuden char **argv;
2946 1.1.1.1.2.2 wrstuden int
2947 1.1.1.1.2.2 wrstuden main ()
2948 1.1.1.1.2.2 wrstuden {
2949 1.1.1.1.2.2 wrstuden return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2950 1.1.1.1.2.2 wrstuden ;
2951 1.1.1.1.2.2 wrstuden return 0;
2952 1.1.1.1.2.2 wrstuden }
2953 1.1.1.1.2.2 wrstuden _ACEOF
2954 1.1.1.1.2.2 wrstuden for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2955 1.1.1.1.2.2 wrstuden -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2956 1.1.1.1.2.2 wrstuden do
2957 1.1.1.1.2.2 wrstuden CC="$ac_save_CC $ac_arg"
2958 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
2959 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
2960 1.1.1.1.2.2 wrstuden case "(($ac_try" in
2961 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2962 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
2963 1.1.1.1.2.2 wrstuden esac
2964 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2965 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
2966 1.1.1.1.2.2 wrstuden ac_status=$?
2967 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
2968 1.1.1.1.2.2 wrstuden rm -f conftest.er1
2969 1.1.1.1.2.2 wrstuden cat conftest.err >&5
2970 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
2972 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
2973 1.1.1.1.2.2 wrstuden test ! -s conftest.err
2974 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
2975 1.1.1.1.2.2 wrstuden ac_cv_prog_cc_c89=$ac_arg
2976 1.1.1.1.2.2 wrstuden else
2977 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
2978 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
2979 1.1.1.1.2.2 wrstuden
2980 1.1.1.1.2.2 wrstuden
2981 1.1.1.1.2.2 wrstuden fi
2982 1.1.1.1.2.2 wrstuden
2983 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext
2984 1.1.1.1.2.2 wrstuden test "x$ac_cv_prog_cc_c89" != "xno" && break
2985 1.1.1.1.2.2 wrstuden done
2986 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_ext
2987 1.1.1.1.2.2 wrstuden CC=$ac_save_CC
2988 1.1.1.1.2.2 wrstuden
2989 1.1.1.1.2.2 wrstuden fi
2990 1.1.1.1.2.2 wrstuden # AC_CACHE_VAL
2991 1.1.1.1.2.2 wrstuden case "x$ac_cv_prog_cc_c89" in
2992 1.1.1.1.2.2 wrstuden x)
2993 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: none needed" >&5
2994 1.1.1.1.2.2 wrstuden echo "${ECHO_T}none needed" >&6; } ;;
2995 1.1.1.1.2.2 wrstuden xno)
2996 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: unsupported" >&5
2997 1.1.1.1.2.2 wrstuden echo "${ECHO_T}unsupported" >&6; } ;;
2998 1.1.1.1.2.2 wrstuden *)
2999 1.1.1.1.2.2 wrstuden CC="$CC $ac_cv_prog_cc_c89"
3000 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3001 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3002 1.1.1.1.2.2 wrstuden esac
3003 1.1.1.1.2.2 wrstuden
3004 1.1.1.1.2.2 wrstuden
3005 1.1.1.1.2.2 wrstuden ac_ext=c
3006 1.1.1.1.2.2 wrstuden ac_cpp='$CPP $CPPFLAGS'
3007 1.1.1.1.2.2 wrstuden ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3008 1.1.1.1.2.2 wrstuden ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3009 1.1.1.1.2.2 wrstuden ac_compiler_gnu=$ac_cv_c_compiler_gnu
3010 1.1.1.1.2.2 wrstuden
3011 1.1.1.1.2.2 wrstuden if test "$ac_cv_c_compiler_gnu" = "yes"; then
3012 1.1.1.1.2.2 wrstuden ax_cv_c_compiler_vendor="gnu"
3013 1.1.1.1.2.2 wrstuden else
3014 1.1.1.1.2.2 wrstuden
3015 1.1.1.1.2.2 wrstuden
3016 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for C compiler vendor" >&5
3017 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for C compiler vendor... $ECHO_C" >&6; }
3018 1.1.1.1.2.2 wrstuden if test "${ax_cv_c_compiler_vendor+set}" = set; then
3019 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
3020 1.1.1.1.2.2 wrstuden else
3021 1.1.1.1.2.2 wrstuden ax_cv_c_compiler_vendor=unknown
3022 1.1.1.1.2.2 wrstuden # note: don't check for gcc first since some other compilers define __GNUC__
3023 1.1.1.1.2.2 wrstuden for ventest in intel:__ICC,__ECC,__INTEL_COMPILER ibm:__xlc__,__xlC__,__IBMC__,__IBMCPP__ pathscale:__PATHCC__,__PATHSCALE__ gnu:__GNUC__ sun:__SUNPRO_C,__SUNPRO_CC hp:__HP_cc,__HP_aCC dec:__DECC,__DECCXX,__DECC_VER,__DECCXX_VER borland:__BORLANDC__,__TURBOC__ comeau:__COMO__ cray:_CRAYC kai:__KCC lcc:__LCC__ metrowerks:__MWERKS__ sgi:__sgi,sgi microsoft:_MSC_VER watcom:__WATCOMC__ portland:__PGI; do
3024 1.1.1.1.2.2 wrstuden vencpp="defined("`echo $ventest | cut -d: -f2 | sed 's/,/) || defined(/g'`")"
3025 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
3026 1.1.1.1.2.2 wrstuden /* confdefs.h. */
3027 1.1.1.1.2.2 wrstuden _ACEOF
3028 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
3029 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
3030 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
3031 1.1.1.1.2.2 wrstuden
3032 1.1.1.1.2.2 wrstuden int
3033 1.1.1.1.2.2 wrstuden main ()
3034 1.1.1.1.2.2 wrstuden {
3035 1.1.1.1.2.2 wrstuden
3036 1.1.1.1.2.2 wrstuden #if !($vencpp)
3037 1.1.1.1.2.2 wrstuden thisisanerror;
3038 1.1.1.1.2.2 wrstuden #endif
3039 1.1.1.1.2.2 wrstuden
3040 1.1.1.1.2.2 wrstuden ;
3041 1.1.1.1.2.2 wrstuden return 0;
3042 1.1.1.1.2.2 wrstuden }
3043 1.1.1.1.2.2 wrstuden _ACEOF
3044 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
3045 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
3046 1.1.1.1.2.2 wrstuden case "(($ac_try" in
3047 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3048 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
3049 1.1.1.1.2.2 wrstuden esac
3050 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3051 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
3052 1.1.1.1.2.2 wrstuden ac_status=$?
3053 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
3054 1.1.1.1.2.2 wrstuden rm -f conftest.er1
3055 1.1.1.1.2.2 wrstuden cat conftest.err >&5
3056 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
3058 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
3059 1.1.1.1.2.2 wrstuden test ! -s conftest.err
3060 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
3061 1.1.1.1.2.2 wrstuden ax_cv_c_compiler_vendor=`echo $ventest | cut -d: -f1`; break
3062 1.1.1.1.2.2 wrstuden else
3063 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
3064 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
3065 1.1.1.1.2.2 wrstuden
3066 1.1.1.1.2.2 wrstuden
3067 1.1.1.1.2.2 wrstuden fi
3068 1.1.1.1.2.2 wrstuden
3069 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3070 1.1.1.1.2.2 wrstuden done
3071 1.1.1.1.2.2 wrstuden
3072 1.1.1.1.2.2 wrstuden fi
3073 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ax_cv_c_compiler_vendor" >&5
3074 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ax_cv_c_compiler_vendor" >&6; }
3075 1.1.1.1.2.2 wrstuden
3076 1.1.1.1.2.2 wrstuden fi
3077 1.1.1.1.2.2 wrstuden for ac_prog in gawk mawk nawk awk
3078 1.1.1.1.2.2 wrstuden do
3079 1.1.1.1.2.2 wrstuden # Extract the first word of "$ac_prog", so it can be a program name with args.
3080 1.1.1.1.2.2 wrstuden set dummy $ac_prog; ac_word=$2
3081 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for $ac_word" >&5
3082 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3083 1.1.1.1.2.2 wrstuden if test "${ac_cv_prog_AWK+set}" = set; then
3084 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
3085 1.1.1.1.2.2 wrstuden else
3086 1.1.1.1.2.2 wrstuden if test -n "$AWK"; then
3087 1.1.1.1.2.2 wrstuden ac_cv_prog_AWK="$AWK" # Let the user override the test.
3088 1.1.1.1.2.2 wrstuden else
3089 1.1.1.1.2.2 wrstuden as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3090 1.1.1.1.2.2 wrstuden for as_dir in $PATH
3091 1.1.1.1.2.2 wrstuden do
3092 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
3093 1.1.1.1.2.2 wrstuden test -z "$as_dir" && as_dir=.
3094 1.1.1.1.2.2 wrstuden for ac_exec_ext in '' $ac_executable_extensions; do
3095 1.1.1.1.2.2 wrstuden if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3096 1.1.1.1.2.2 wrstuden ac_cv_prog_AWK="$ac_prog"
3097 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3098 1.1.1.1.2.2 wrstuden break 2
3099 1.1.1.1.2.2 wrstuden fi
3100 1.1.1.1.2.2 wrstuden done
3101 1.1.1.1.2.2 wrstuden done
3102 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
3103 1.1.1.1.2.2 wrstuden
3104 1.1.1.1.2.2 wrstuden fi
3105 1.1.1.1.2.2 wrstuden fi
3106 1.1.1.1.2.2 wrstuden AWK=$ac_cv_prog_AWK
3107 1.1.1.1.2.2 wrstuden if test -n "$AWK"; then
3108 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $AWK" >&5
3109 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$AWK" >&6; }
3110 1.1.1.1.2.2 wrstuden else
3111 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: no" >&5
3112 1.1.1.1.2.2 wrstuden echo "${ECHO_T}no" >&6; }
3113 1.1.1.1.2.2 wrstuden fi
3114 1.1.1.1.2.2 wrstuden
3115 1.1.1.1.2.2 wrstuden
3116 1.1.1.1.2.2 wrstuden test -n "$AWK" && break
3117 1.1.1.1.2.2 wrstuden done
3118 1.1.1.1.2.2 wrstuden
3119 1.1.1.1.2.2 wrstuden # Find a good install program. We prefer a C program (faster),
3120 1.1.1.1.2.2 wrstuden # so one script is as good as another. But avoid the broken or
3121 1.1.1.1.2.2 wrstuden # incompatible versions:
3122 1.1.1.1.2.2 wrstuden # SysV /etc/install, /usr/sbin/install
3123 1.1.1.1.2.2 wrstuden # SunOS /usr/etc/install
3124 1.1.1.1.2.2 wrstuden # IRIX /sbin/install
3125 1.1.1.1.2.2 wrstuden # AIX /bin/install
3126 1.1.1.1.2.2 wrstuden # AmigaOS /C/install, which installs bootblocks on floppy discs
3127 1.1.1.1.2.2 wrstuden # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3128 1.1.1.1.2.2 wrstuden # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3129 1.1.1.1.2.2 wrstuden # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3130 1.1.1.1.2.2 wrstuden # OS/2's system install, which has a completely different semantic
3131 1.1.1.1.2.2 wrstuden # ./install, which can be erroneously created by make from ./install.sh.
3132 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3133 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3134 1.1.1.1.2.2 wrstuden if test -z "$INSTALL"; then
3135 1.1.1.1.2.2 wrstuden if test "${ac_cv_path_install+set}" = set; then
3136 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
3137 1.1.1.1.2.2 wrstuden else
3138 1.1.1.1.2.2 wrstuden as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3139 1.1.1.1.2.2 wrstuden for as_dir in $PATH
3140 1.1.1.1.2.2 wrstuden do
3141 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
3142 1.1.1.1.2.2 wrstuden test -z "$as_dir" && as_dir=.
3143 1.1.1.1.2.2 wrstuden # Account for people who put trailing slashes in PATH elements.
3144 1.1.1.1.2.2 wrstuden case $as_dir/ in
3145 1.1.1.1.2.2 wrstuden ./ | .// | /cC/* | \
3146 1.1.1.1.2.2 wrstuden /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3147 1.1.1.1.2.2 wrstuden ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3148 1.1.1.1.2.2 wrstuden /usr/ucb/* ) ;;
3149 1.1.1.1.2.2 wrstuden *)
3150 1.1.1.1.2.2 wrstuden # OSF1 and SCO ODT 3.0 have their own names for install.
3151 1.1.1.1.2.2 wrstuden # Don't use installbsd from OSF since it installs stuff as root
3152 1.1.1.1.2.2 wrstuden # by default.
3153 1.1.1.1.2.2 wrstuden for ac_prog in ginstall scoinst install; do
3154 1.1.1.1.2.2 wrstuden for ac_exec_ext in '' $ac_executable_extensions; do
3155 1.1.1.1.2.2 wrstuden if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3156 1.1.1.1.2.2 wrstuden if test $ac_prog = install &&
3157 1.1.1.1.2.2 wrstuden grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3158 1.1.1.1.2.2 wrstuden # AIX install. It has an incompatible calling convention.
3159 1.1.1.1.2.2 wrstuden :
3160 1.1.1.1.2.2 wrstuden elif test $ac_prog = install &&
3161 1.1.1.1.2.2 wrstuden grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3162 1.1.1.1.2.2 wrstuden # program-specific install script used by HP pwplus--don't use.
3163 1.1.1.1.2.2 wrstuden :
3164 1.1.1.1.2.2 wrstuden else
3165 1.1.1.1.2.2 wrstuden ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3166 1.1.1.1.2.2 wrstuden break 3
3167 1.1.1.1.2.2 wrstuden fi
3168 1.1.1.1.2.2 wrstuden fi
3169 1.1.1.1.2.2 wrstuden done
3170 1.1.1.1.2.2 wrstuden done
3171 1.1.1.1.2.2 wrstuden ;;
3172 1.1.1.1.2.2 wrstuden esac
3173 1.1.1.1.2.2 wrstuden done
3174 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
3175 1.1.1.1.2.2 wrstuden
3176 1.1.1.1.2.2 wrstuden
3177 1.1.1.1.2.2 wrstuden fi
3178 1.1.1.1.2.2 wrstuden if test "${ac_cv_path_install+set}" = set; then
3179 1.1.1.1.2.2 wrstuden INSTALL=$ac_cv_path_install
3180 1.1.1.1.2.2 wrstuden else
3181 1.1.1.1.2.2 wrstuden # As a last resort, use the slow shell script. Don't cache a
3182 1.1.1.1.2.2 wrstuden # value for INSTALL within a source directory, because that will
3183 1.1.1.1.2.2 wrstuden # break other packages using the cache if that directory is
3184 1.1.1.1.2.2 wrstuden # removed, or if the value is a relative name.
3185 1.1.1.1.2.2 wrstuden INSTALL=$ac_install_sh
3186 1.1.1.1.2.2 wrstuden fi
3187 1.1.1.1.2.2 wrstuden fi
3188 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $INSTALL" >&5
3189 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$INSTALL" >&6; }
3190 1.1.1.1.2.2 wrstuden
3191 1.1.1.1.2.2 wrstuden # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3192 1.1.1.1.2.2 wrstuden # It thinks the first close brace ends the variable substitution.
3193 1.1.1.1.2.2 wrstuden test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3194 1.1.1.1.2.2 wrstuden
3195 1.1.1.1.2.2 wrstuden test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3196 1.1.1.1.2.2 wrstuden
3197 1.1.1.1.2.2 wrstuden test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3198 1.1.1.1.2.2 wrstuden
3199 1.1.1.1.2.2 wrstuden for ac_prog in isainfo
3200 1.1.1.1.2.2 wrstuden do
3201 1.1.1.1.2.2 wrstuden # Extract the first word of "$ac_prog", so it can be a program name with args.
3202 1.1.1.1.2.2 wrstuden set dummy $ac_prog; ac_word=$2
3203 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for $ac_word" >&5
3204 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3205 1.1.1.1.2.2 wrstuden if test "${ac_cv_path_ISAINFO+set}" = set; then
3206 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
3207 1.1.1.1.2.2 wrstuden else
3208 1.1.1.1.2.2 wrstuden case $ISAINFO in
3209 1.1.1.1.2.2 wrstuden [\\/]* | ?:[\\/]*)
3210 1.1.1.1.2.2 wrstuden ac_cv_path_ISAINFO="$ISAINFO" # Let the user override the test with a path.
3211 1.1.1.1.2.2 wrstuden ;;
3212 1.1.1.1.2.2 wrstuden *)
3213 1.1.1.1.2.2 wrstuden as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3214 1.1.1.1.2.2 wrstuden for as_dir in $PATH
3215 1.1.1.1.2.2 wrstuden do
3216 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
3217 1.1.1.1.2.2 wrstuden test -z "$as_dir" && as_dir=.
3218 1.1.1.1.2.2 wrstuden for ac_exec_ext in '' $ac_executable_extensions; do
3219 1.1.1.1.2.2 wrstuden if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3220 1.1.1.1.2.2 wrstuden ac_cv_path_ISAINFO="$as_dir/$ac_word$ac_exec_ext"
3221 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 1.1.1.1.2.2 wrstuden break 2
3223 1.1.1.1.2.2 wrstuden fi
3224 1.1.1.1.2.2 wrstuden done
3225 1.1.1.1.2.2 wrstuden done
3226 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
3227 1.1.1.1.2.2 wrstuden
3228 1.1.1.1.2.2 wrstuden ;;
3229 1.1.1.1.2.2 wrstuden esac
3230 1.1.1.1.2.2 wrstuden fi
3231 1.1.1.1.2.2 wrstuden ISAINFO=$ac_cv_path_ISAINFO
3232 1.1.1.1.2.2 wrstuden if test -n "$ISAINFO"; then
3233 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ISAINFO" >&5
3234 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ISAINFO" >&6; }
3235 1.1.1.1.2.2 wrstuden else
3236 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: no" >&5
3237 1.1.1.1.2.2 wrstuden echo "${ECHO_T}no" >&6; }
3238 1.1.1.1.2.2 wrstuden fi
3239 1.1.1.1.2.2 wrstuden
3240 1.1.1.1.2.2 wrstuden
3241 1.1.1.1.2.2 wrstuden test -n "$ISAINFO" && break
3242 1.1.1.1.2.2 wrstuden done
3243 1.1.1.1.2.2 wrstuden
3244 1.1.1.1.2.2 wrstuden for ac_prog in isaexec
3245 1.1.1.1.2.2 wrstuden do
3246 1.1.1.1.2.2 wrstuden # Extract the first word of "$ac_prog", so it can be a program name with args.
3247 1.1.1.1.2.2 wrstuden set dummy $ac_prog; ac_word=$2
3248 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for $ac_word" >&5
3249 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3250 1.1.1.1.2.2 wrstuden if test "${ac_cv_path_ISAEXEC+set}" = set; then
3251 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
3252 1.1.1.1.2.2 wrstuden else
3253 1.1.1.1.2.2 wrstuden case $ISAEXEC in
3254 1.1.1.1.2.2 wrstuden [\\/]* | ?:[\\/]*)
3255 1.1.1.1.2.2 wrstuden ac_cv_path_ISAEXEC="$ISAEXEC" # Let the user override the test with a path.
3256 1.1.1.1.2.2 wrstuden ;;
3257 1.1.1.1.2.2 wrstuden *)
3258 1.1.1.1.2.2 wrstuden as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259 1.1.1.1.2.2 wrstuden as_dummy="$PATH:/usr/lib:/lib"
3260 1.1.1.1.2.2 wrstuden for as_dir in $as_dummy
3261 1.1.1.1.2.2 wrstuden do
3262 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
3263 1.1.1.1.2.2 wrstuden test -z "$as_dir" && as_dir=.
3264 1.1.1.1.2.2 wrstuden for ac_exec_ext in '' $ac_executable_extensions; do
3265 1.1.1.1.2.2 wrstuden if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266 1.1.1.1.2.2 wrstuden ac_cv_path_ISAEXEC="$as_dir/$ac_word$ac_exec_ext"
3267 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3268 1.1.1.1.2.2 wrstuden break 2
3269 1.1.1.1.2.2 wrstuden fi
3270 1.1.1.1.2.2 wrstuden done
3271 1.1.1.1.2.2 wrstuden done
3272 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
3273 1.1.1.1.2.2 wrstuden
3274 1.1.1.1.2.2 wrstuden ;;
3275 1.1.1.1.2.2 wrstuden esac
3276 1.1.1.1.2.2 wrstuden fi
3277 1.1.1.1.2.2 wrstuden ISAEXEC=$ac_cv_path_ISAEXEC
3278 1.1.1.1.2.2 wrstuden if test -n "$ISAEXEC"; then
3279 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ISAEXEC" >&5
3280 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ISAEXEC" >&6; }
3281 1.1.1.1.2.2 wrstuden else
3282 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: no" >&5
3283 1.1.1.1.2.2 wrstuden echo "${ECHO_T}no" >&6; }
3284 1.1.1.1.2.2 wrstuden fi
3285 1.1.1.1.2.2 wrstuden
3286 1.1.1.1.2.2 wrstuden
3287 1.1.1.1.2.2 wrstuden test -n "$ISAEXEC" && break
3288 1.1.1.1.2.2 wrstuden done
3289 1.1.1.1.2.2 wrstuden
3290 1.1.1.1.2.2 wrstuden for ac_prog in uname
3291 1.1.1.1.2.2 wrstuden do
3292 1.1.1.1.2.2 wrstuden # Extract the first word of "$ac_prog", so it can be a program name with args.
3293 1.1.1.1.2.2 wrstuden set dummy $ac_prog; ac_word=$2
3294 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for $ac_word" >&5
3295 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3296 1.1.1.1.2.2 wrstuden if test "${ac_cv_path_UNAME+set}" = set; then
3297 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
3298 1.1.1.1.2.2 wrstuden else
3299 1.1.1.1.2.2 wrstuden case $UNAME in
3300 1.1.1.1.2.2 wrstuden [\\/]* | ?:[\\/]*)
3301 1.1.1.1.2.2 wrstuden ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
3302 1.1.1.1.2.2 wrstuden ;;
3303 1.1.1.1.2.2 wrstuden *)
3304 1.1.1.1.2.2 wrstuden as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3305 1.1.1.1.2.2 wrstuden for as_dir in $PATH
3306 1.1.1.1.2.2 wrstuden do
3307 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
3308 1.1.1.1.2.2 wrstuden test -z "$as_dir" && as_dir=.
3309 1.1.1.1.2.2 wrstuden for ac_exec_ext in '' $ac_executable_extensions; do
3310 1.1.1.1.2.2 wrstuden if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3311 1.1.1.1.2.2 wrstuden ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
3312 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3313 1.1.1.1.2.2 wrstuden break 2
3314 1.1.1.1.2.2 wrstuden fi
3315 1.1.1.1.2.2 wrstuden done
3316 1.1.1.1.2.2 wrstuden done
3317 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
3318 1.1.1.1.2.2 wrstuden
3319 1.1.1.1.2.2 wrstuden ;;
3320 1.1.1.1.2.2 wrstuden esac
3321 1.1.1.1.2.2 wrstuden fi
3322 1.1.1.1.2.2 wrstuden UNAME=$ac_cv_path_UNAME
3323 1.1.1.1.2.2 wrstuden if test -n "$UNAME"; then
3324 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $UNAME" >&5
3325 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$UNAME" >&6; }
3326 1.1.1.1.2.2 wrstuden else
3327 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: no" >&5
3328 1.1.1.1.2.2 wrstuden echo "${ECHO_T}no" >&6; }
3329 1.1.1.1.2.2 wrstuden fi
3330 1.1.1.1.2.2 wrstuden
3331 1.1.1.1.2.2 wrstuden
3332 1.1.1.1.2.2 wrstuden test -n "$UNAME" && break
3333 1.1.1.1.2.2 wrstuden done
3334 1.1.1.1.2.2 wrstuden
3335 1.1.1.1.2.2 wrstuden
3336 1.1.1.1.2.2 wrstuden
3337 1.1.1.1.2.2 wrstuden # system checks require uname
3338 1.1.1.1.2.2 wrstuden if test "$UNAME"; then
3339 1.1.1.1.2.2 wrstuden # we make the version number available as a C preprocessor definition
3340 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking OS revision number" >&5
3341 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking OS revision number... $ECHO_C" >&6; }
3342 1.1.1.1.2.2 wrstuden osrev=`$UNAME -r | tr -cd ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`
3343 1.1.1.1.2.2 wrstuden
3344 1.1.1.1.2.2 wrstuden if test "$osrev" != "unknown" ; then
3345 1.1.1.1.2.2 wrstuden
3346 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
3347 1.1.1.1.2.2 wrstuden #define OSREV $osrev
3348 1.1.1.1.2.2 wrstuden _ACEOF
3349 1.1.1.1.2.2 wrstuden
3350 1.1.1.1.2.2 wrstuden osmajor=`$UNAME -r | sed 's/^\([0-9]*\).*$/\1/'`
3351 1.1.1.1.2.2 wrstuden if test -n "$osmajor"; then
3352 1.1.1.1.2.2 wrstuden
3353 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
3354 1.1.1.1.2.2 wrstuden #define OSMAJOR $osmajor
3355 1.1.1.1.2.2 wrstuden _ACEOF
3356 1.1.1.1.2.2 wrstuden
3357 1.1.1.1.2.2 wrstuden fi
3358 1.1.1.1.2.2 wrstuden else
3359 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<\_ACEOF
3360 1.1.1.1.2.2 wrstuden #define OSREV ""
3361 1.1.1.1.2.2 wrstuden _ACEOF
3362 1.1.1.1.2.2 wrstuden
3363 1.1.1.1.2.2 wrstuden fi
3364 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $osrev" >&5
3365 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$osrev" >&6; }
3366 1.1.1.1.2.2 wrstuden
3367 1.1.1.1.2.2 wrstuden # we make the non-canonicalized hardware type available
3368 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking hardware platform" >&5
3369 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking hardware platform... $ECHO_C" >&6; }
3370 1.1.1.1.2.2 wrstuden UNAME_HARDWARE=`$UNAME -m`
3371 1.1.1.1.2.2 wrstuden if test "$UNAME_HARDWARE" != "unknown"; then
3372 1.1.1.1.2.2 wrstuden
3373 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
3374 1.1.1.1.2.2 wrstuden #define UNAME_HARDWARE "$UNAME_HARDWARE"
3375 1.1.1.1.2.2 wrstuden _ACEOF
3376 1.1.1.1.2.2 wrstuden
3377 1.1.1.1.2.2 wrstuden fi
3378 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $UNAME_HARDWARE" >&5
3379 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$UNAME_HARDWARE" >&6; }
3380 1.1.1.1.2.2 wrstuden fi
3381 1.1.1.1.2.2 wrstuden
3382 1.1.1.1.2.2 wrstuden # checks for libraries
3383 1.1.1.1.2.2 wrstuden
3384 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for elf32_getphdr in -lelf" >&5
3385 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for elf32_getphdr in -lelf... $ECHO_C" >&6; }
3386 1.1.1.1.2.2 wrstuden if test "${ac_cv_lib_elf_elf32_getphdr+set}" = set; then
3387 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
3388 1.1.1.1.2.2 wrstuden else
3389 1.1.1.1.2.2 wrstuden ac_check_lib_save_LIBS=$LIBS
3390 1.1.1.1.2.2 wrstuden LIBS="-lelf $LIBS"
3391 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
3392 1.1.1.1.2.2 wrstuden /* confdefs.h. */
3393 1.1.1.1.2.2 wrstuden _ACEOF
3394 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
3395 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
3396 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
3397 1.1.1.1.2.2 wrstuden
3398 1.1.1.1.2.2 wrstuden /* Override any GCC internal prototype to avoid an error.
3399 1.1.1.1.2.2 wrstuden Use char because int might match the return type of a GCC
3400 1.1.1.1.2.2 wrstuden builtin and then its argument prototype would still apply. */
3401 1.1.1.1.2.2 wrstuden #ifdef __cplusplus
3402 1.1.1.1.2.2 wrstuden extern "C"
3403 1.1.1.1.2.2 wrstuden #endif
3404 1.1.1.1.2.2 wrstuden char elf32_getphdr ();
3405 1.1.1.1.2.2 wrstuden int
3406 1.1.1.1.2.2 wrstuden main ()
3407 1.1.1.1.2.2 wrstuden {
3408 1.1.1.1.2.2 wrstuden return elf32_getphdr ();
3409 1.1.1.1.2.2 wrstuden ;
3410 1.1.1.1.2.2 wrstuden return 0;
3411 1.1.1.1.2.2 wrstuden }
3412 1.1.1.1.2.2 wrstuden _ACEOF
3413 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext conftest$ac_exeext
3414 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_link"
3415 1.1.1.1.2.2 wrstuden case "(($ac_try" in
3416 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3417 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
3418 1.1.1.1.2.2 wrstuden esac
3419 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3420 1.1.1.1.2.2 wrstuden (eval "$ac_link") 2>conftest.er1
3421 1.1.1.1.2.2 wrstuden ac_status=$?
3422 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
3423 1.1.1.1.2.2 wrstuden rm -f conftest.er1
3424 1.1.1.1.2.2 wrstuden cat conftest.err >&5
3425 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
3427 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
3428 1.1.1.1.2.2 wrstuden test ! -s conftest.err
3429 1.1.1.1.2.2 wrstuden } && test -s conftest$ac_exeext &&
3430 1.1.1.1.2.2 wrstuden $as_test_x conftest$ac_exeext; then
3431 1.1.1.1.2.2 wrstuden ac_cv_lib_elf_elf32_getphdr=yes
3432 1.1.1.1.2.2 wrstuden else
3433 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
3434 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
3435 1.1.1.1.2.2 wrstuden
3436 1.1.1.1.2.2 wrstuden ac_cv_lib_elf_elf32_getphdr=no
3437 1.1.1.1.2.2 wrstuden fi
3438 1.1.1.1.2.2 wrstuden
3439 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3440 1.1.1.1.2.2 wrstuden conftest$ac_exeext conftest.$ac_ext
3441 1.1.1.1.2.2 wrstuden LIBS=$ac_check_lib_save_LIBS
3442 1.1.1.1.2.2 wrstuden fi
3443 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf32_getphdr" >&5
3444 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_lib_elf_elf32_getphdr" >&6; }
3445 1.1.1.1.2.2 wrstuden if test $ac_cv_lib_elf_elf32_getphdr = yes; then
3446 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
3447 1.1.1.1.2.2 wrstuden #define HAVE_LIBELF 1
3448 1.1.1.1.2.2 wrstuden _ACEOF
3449 1.1.1.1.2.2 wrstuden
3450 1.1.1.1.2.2 wrstuden LIBS="-lelf $LIBS"
3451 1.1.1.1.2.2 wrstuden
3452 1.1.1.1.2.2 wrstuden fi
3453 1.1.1.1.2.2 wrstuden
3454 1.1.1.1.2.2 wrstuden
3455 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
3456 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6; }
3457 1.1.1.1.2.2 wrstuden if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
3458 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
3459 1.1.1.1.2.2 wrstuden else
3460 1.1.1.1.2.2 wrstuden ac_check_lib_save_LIBS=$LIBS
3461 1.1.1.1.2.2 wrstuden LIBS="-lkstat $LIBS"
3462 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
3463 1.1.1.1.2.2 wrstuden /* confdefs.h. */
3464 1.1.1.1.2.2 wrstuden _ACEOF
3465 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
3466 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
3467 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
3468 1.1.1.1.2.2 wrstuden
3469 1.1.1.1.2.2 wrstuden /* Override any GCC internal prototype to avoid an error.
3470 1.1.1.1.2.2 wrstuden Use char because int might match the return type of a GCC
3471 1.1.1.1.2.2 wrstuden builtin and then its argument prototype would still apply. */
3472 1.1.1.1.2.2 wrstuden #ifdef __cplusplus
3473 1.1.1.1.2.2 wrstuden extern "C"
3474 1.1.1.1.2.2 wrstuden #endif
3475 1.1.1.1.2.2 wrstuden char kstat_open ();
3476 1.1.1.1.2.2 wrstuden int
3477 1.1.1.1.2.2 wrstuden main ()
3478 1.1.1.1.2.2 wrstuden {
3479 1.1.1.1.2.2 wrstuden return kstat_open ();
3480 1.1.1.1.2.2 wrstuden ;
3481 1.1.1.1.2.2 wrstuden return 0;
3482 1.1.1.1.2.2 wrstuden }
3483 1.1.1.1.2.2 wrstuden _ACEOF
3484 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext conftest$ac_exeext
3485 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_link"
3486 1.1.1.1.2.2 wrstuden case "(($ac_try" in
3487 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3488 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
3489 1.1.1.1.2.2 wrstuden esac
3490 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3491 1.1.1.1.2.2 wrstuden (eval "$ac_link") 2>conftest.er1
3492 1.1.1.1.2.2 wrstuden ac_status=$?
3493 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
3494 1.1.1.1.2.2 wrstuden rm -f conftest.er1
3495 1.1.1.1.2.2 wrstuden cat conftest.err >&5
3496 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
3497 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
3498 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
3499 1.1.1.1.2.2 wrstuden test ! -s conftest.err
3500 1.1.1.1.2.2 wrstuden } && test -s conftest$ac_exeext &&
3501 1.1.1.1.2.2 wrstuden $as_test_x conftest$ac_exeext; then
3502 1.1.1.1.2.2 wrstuden ac_cv_lib_kstat_kstat_open=yes
3503 1.1.1.1.2.2 wrstuden else
3504 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
3505 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
3506 1.1.1.1.2.2 wrstuden
3507 1.1.1.1.2.2 wrstuden ac_cv_lib_kstat_kstat_open=no
3508 1.1.1.1.2.2 wrstuden fi
3509 1.1.1.1.2.2 wrstuden
3510 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3511 1.1.1.1.2.2 wrstuden conftest$ac_exeext conftest.$ac_ext
3512 1.1.1.1.2.2 wrstuden LIBS=$ac_check_lib_save_LIBS
3513 1.1.1.1.2.2 wrstuden fi
3514 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
3515 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6; }
3516 1.1.1.1.2.2 wrstuden if test $ac_cv_lib_kstat_kstat_open = yes; then
3517 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
3518 1.1.1.1.2.2 wrstuden #define HAVE_LIBKSTAT 1
3519 1.1.1.1.2.2 wrstuden _ACEOF
3520 1.1.1.1.2.2 wrstuden
3521 1.1.1.1.2.2 wrstuden LIBS="-lkstat $LIBS"
3522 1.1.1.1.2.2 wrstuden
3523 1.1.1.1.2.2 wrstuden fi
3524 1.1.1.1.2.2 wrstuden
3525 1.1.1.1.2.2 wrstuden
3526 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
3527 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6; }
3528 1.1.1.1.2.2 wrstuden if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
3529 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
3530 1.1.1.1.2.2 wrstuden else
3531 1.1.1.1.2.2 wrstuden ac_check_lib_save_LIBS=$LIBS
3532 1.1.1.1.2.2 wrstuden LIBS="-lkvm $LIBS"
3533 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
3534 1.1.1.1.2.2 wrstuden /* confdefs.h. */
3535 1.1.1.1.2.2 wrstuden _ACEOF
3536 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
3537 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
3538 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
3539 1.1.1.1.2.2 wrstuden
3540 1.1.1.1.2.2 wrstuden /* Override any GCC internal prototype to avoid an error.
3541 1.1.1.1.2.2 wrstuden Use char because int might match the return type of a GCC
3542 1.1.1.1.2.2 wrstuden builtin and then its argument prototype would still apply. */
3543 1.1.1.1.2.2 wrstuden #ifdef __cplusplus
3544 1.1.1.1.2.2 wrstuden extern "C"
3545 1.1.1.1.2.2 wrstuden #endif
3546 1.1.1.1.2.2 wrstuden char kvm_open ();
3547 1.1.1.1.2.2 wrstuden int
3548 1.1.1.1.2.2 wrstuden main ()
3549 1.1.1.1.2.2 wrstuden {
3550 1.1.1.1.2.2 wrstuden return kvm_open ();
3551 1.1.1.1.2.2 wrstuden ;
3552 1.1.1.1.2.2 wrstuden return 0;
3553 1.1.1.1.2.2 wrstuden }
3554 1.1.1.1.2.2 wrstuden _ACEOF
3555 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext conftest$ac_exeext
3556 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_link"
3557 1.1.1.1.2.2 wrstuden case "(($ac_try" in
3558 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3559 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
3560 1.1.1.1.2.2 wrstuden esac
3561 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3562 1.1.1.1.2.2 wrstuden (eval "$ac_link") 2>conftest.er1
3563 1.1.1.1.2.2 wrstuden ac_status=$?
3564 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
3565 1.1.1.1.2.2 wrstuden rm -f conftest.er1
3566 1.1.1.1.2.2 wrstuden cat conftest.err >&5
3567 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
3569 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
3570 1.1.1.1.2.2 wrstuden test ! -s conftest.err
3571 1.1.1.1.2.2 wrstuden } && test -s conftest$ac_exeext &&
3572 1.1.1.1.2.2 wrstuden $as_test_x conftest$ac_exeext; then
3573 1.1.1.1.2.2 wrstuden ac_cv_lib_kvm_kvm_open=yes
3574 1.1.1.1.2.2 wrstuden else
3575 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
3576 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
3577 1.1.1.1.2.2 wrstuden
3578 1.1.1.1.2.2 wrstuden ac_cv_lib_kvm_kvm_open=no
3579 1.1.1.1.2.2 wrstuden fi
3580 1.1.1.1.2.2 wrstuden
3581 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3582 1.1.1.1.2.2 wrstuden conftest$ac_exeext conftest.$ac_ext
3583 1.1.1.1.2.2 wrstuden LIBS=$ac_check_lib_save_LIBS
3584 1.1.1.1.2.2 wrstuden fi
3585 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
3586 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6; }
3587 1.1.1.1.2.2 wrstuden if test $ac_cv_lib_kvm_kvm_open = yes; then
3588 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
3589 1.1.1.1.2.2 wrstuden #define HAVE_LIBKVM 1
3590 1.1.1.1.2.2 wrstuden _ACEOF
3591 1.1.1.1.2.2 wrstuden
3592 1.1.1.1.2.2 wrstuden LIBS="-lkvm $LIBS"
3593 1.1.1.1.2.2 wrstuden
3594 1.1.1.1.2.2 wrstuden fi
3595 1.1.1.1.2.2 wrstuden
3596 1.1.1.1.2.2 wrstuden # -lmld -lmach
3597 1.1.1.1.2.2 wrstuden
3598 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for vm_statistics in -lmach" >&5
3599 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for vm_statistics in -lmach... $ECHO_C" >&6; }
3600 1.1.1.1.2.2 wrstuden if test "${ac_cv_lib_mach_vm_statistics+set}" = set; then
3601 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
3602 1.1.1.1.2.2 wrstuden else
3603 1.1.1.1.2.2 wrstuden ac_check_lib_save_LIBS=$LIBS
3604 1.1.1.1.2.2 wrstuden LIBS="-lmach $LIBS"
3605 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
3606 1.1.1.1.2.2 wrstuden /* confdefs.h. */
3607 1.1.1.1.2.2 wrstuden _ACEOF
3608 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
3609 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
3610 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
3611 1.1.1.1.2.2 wrstuden
3612 1.1.1.1.2.2 wrstuden /* Override any GCC internal prototype to avoid an error.
3613 1.1.1.1.2.2 wrstuden Use char because int might match the return type of a GCC
3614 1.1.1.1.2.2 wrstuden builtin and then its argument prototype would still apply. */
3615 1.1.1.1.2.2 wrstuden #ifdef __cplusplus
3616 1.1.1.1.2.2 wrstuden extern "C"
3617 1.1.1.1.2.2 wrstuden #endif
3618 1.1.1.1.2.2 wrstuden char vm_statistics ();
3619 1.1.1.1.2.2 wrstuden int
3620 1.1.1.1.2.2 wrstuden main ()
3621 1.1.1.1.2.2 wrstuden {
3622 1.1.1.1.2.2 wrstuden return vm_statistics ();
3623 1.1.1.1.2.2 wrstuden ;
3624 1.1.1.1.2.2 wrstuden return 0;
3625 1.1.1.1.2.2 wrstuden }
3626 1.1.1.1.2.2 wrstuden _ACEOF
3627 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext conftest$ac_exeext
3628 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_link"
3629 1.1.1.1.2.2 wrstuden case "(($ac_try" in
3630 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3631 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
3632 1.1.1.1.2.2 wrstuden esac
3633 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3634 1.1.1.1.2.2 wrstuden (eval "$ac_link") 2>conftest.er1
3635 1.1.1.1.2.2 wrstuden ac_status=$?
3636 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
3637 1.1.1.1.2.2 wrstuden rm -f conftest.er1
3638 1.1.1.1.2.2 wrstuden cat conftest.err >&5
3639 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
3641 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
3642 1.1.1.1.2.2 wrstuden test ! -s conftest.err
3643 1.1.1.1.2.2 wrstuden } && test -s conftest$ac_exeext &&
3644 1.1.1.1.2.2 wrstuden $as_test_x conftest$ac_exeext; then
3645 1.1.1.1.2.2 wrstuden ac_cv_lib_mach_vm_statistics=yes
3646 1.1.1.1.2.2 wrstuden else
3647 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
3648 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
3649 1.1.1.1.2.2 wrstuden
3650 1.1.1.1.2.2 wrstuden ac_cv_lib_mach_vm_statistics=no
3651 1.1.1.1.2.2 wrstuden fi
3652 1.1.1.1.2.2 wrstuden
3653 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3654 1.1.1.1.2.2 wrstuden conftest$ac_exeext conftest.$ac_ext
3655 1.1.1.1.2.2 wrstuden LIBS=$ac_check_lib_save_LIBS
3656 1.1.1.1.2.2 wrstuden fi
3657 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_lib_mach_vm_statistics" >&5
3658 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_lib_mach_vm_statistics" >&6; }
3659 1.1.1.1.2.2 wrstuden if test $ac_cv_lib_mach_vm_statistics = yes; then
3660 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
3661 1.1.1.1.2.2 wrstuden #define HAVE_LIBMACH 1
3662 1.1.1.1.2.2 wrstuden _ACEOF
3663 1.1.1.1.2.2 wrstuden
3664 1.1.1.1.2.2 wrstuden LIBS="-lmach $LIBS"
3665 1.1.1.1.2.2 wrstuden
3666 1.1.1.1.2.2 wrstuden fi
3667 1.1.1.1.2.2 wrstuden
3668 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for library containing tgetent" >&5
3669 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6; }
3670 1.1.1.1.2.2 wrstuden if test "${ac_cv_search_tgetent+set}" = set; then
3671 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
3672 1.1.1.1.2.2 wrstuden else
3673 1.1.1.1.2.2 wrstuden ac_func_search_save_LIBS=$LIBS
3674 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
3675 1.1.1.1.2.2 wrstuden /* confdefs.h. */
3676 1.1.1.1.2.2 wrstuden _ACEOF
3677 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
3678 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
3679 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
3680 1.1.1.1.2.2 wrstuden
3681 1.1.1.1.2.2 wrstuden /* Override any GCC internal prototype to avoid an error.
3682 1.1.1.1.2.2 wrstuden Use char because int might match the return type of a GCC
3683 1.1.1.1.2.2 wrstuden builtin and then its argument prototype would still apply. */
3684 1.1.1.1.2.2 wrstuden #ifdef __cplusplus
3685 1.1.1.1.2.2 wrstuden extern "C"
3686 1.1.1.1.2.2 wrstuden #endif
3687 1.1.1.1.2.2 wrstuden char tgetent ();
3688 1.1.1.1.2.2 wrstuden int
3689 1.1.1.1.2.2 wrstuden main ()
3690 1.1.1.1.2.2 wrstuden {
3691 1.1.1.1.2.2 wrstuden return tgetent ();
3692 1.1.1.1.2.2 wrstuden ;
3693 1.1.1.1.2.2 wrstuden return 0;
3694 1.1.1.1.2.2 wrstuden }
3695 1.1.1.1.2.2 wrstuden _ACEOF
3696 1.1.1.1.2.2 wrstuden for ac_lib in '' termcap curses ncurses; do
3697 1.1.1.1.2.2 wrstuden if test -z "$ac_lib"; then
3698 1.1.1.1.2.2 wrstuden ac_res="none required"
3699 1.1.1.1.2.2 wrstuden else
3700 1.1.1.1.2.2 wrstuden ac_res=-l$ac_lib
3701 1.1.1.1.2.2 wrstuden LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3702 1.1.1.1.2.2 wrstuden fi
3703 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext conftest$ac_exeext
3704 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_link"
3705 1.1.1.1.2.2 wrstuden case "(($ac_try" in
3706 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3707 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
3708 1.1.1.1.2.2 wrstuden esac
3709 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3710 1.1.1.1.2.2 wrstuden (eval "$ac_link") 2>conftest.er1
3711 1.1.1.1.2.2 wrstuden ac_status=$?
3712 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
3713 1.1.1.1.2.2 wrstuden rm -f conftest.er1
3714 1.1.1.1.2.2 wrstuden cat conftest.err >&5
3715 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
3717 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
3718 1.1.1.1.2.2 wrstuden test ! -s conftest.err
3719 1.1.1.1.2.2 wrstuden } && test -s conftest$ac_exeext &&
3720 1.1.1.1.2.2 wrstuden $as_test_x conftest$ac_exeext; then
3721 1.1.1.1.2.2 wrstuden ac_cv_search_tgetent=$ac_res
3722 1.1.1.1.2.2 wrstuden else
3723 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
3724 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
3725 1.1.1.1.2.2 wrstuden
3726 1.1.1.1.2.2 wrstuden
3727 1.1.1.1.2.2 wrstuden fi
3728 1.1.1.1.2.2 wrstuden
3729 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3730 1.1.1.1.2.2 wrstuden conftest$ac_exeext
3731 1.1.1.1.2.2 wrstuden if test "${ac_cv_search_tgetent+set}" = set; then
3732 1.1.1.1.2.2 wrstuden break
3733 1.1.1.1.2.2 wrstuden fi
3734 1.1.1.1.2.2 wrstuden done
3735 1.1.1.1.2.2 wrstuden if test "${ac_cv_search_tgetent+set}" = set; then
3736 1.1.1.1.2.2 wrstuden :
3737 1.1.1.1.2.2 wrstuden else
3738 1.1.1.1.2.2 wrstuden ac_cv_search_tgetent=no
3739 1.1.1.1.2.2 wrstuden fi
3740 1.1.1.1.2.2 wrstuden rm conftest.$ac_ext
3741 1.1.1.1.2.2 wrstuden LIBS=$ac_func_search_save_LIBS
3742 1.1.1.1.2.2 wrstuden fi
3743 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
3744 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_search_tgetent" >&6; }
3745 1.1.1.1.2.2 wrstuden ac_res=$ac_cv_search_tgetent
3746 1.1.1.1.2.2 wrstuden if test "$ac_res" != no; then
3747 1.1.1.1.2.2 wrstuden test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3748 1.1.1.1.2.2 wrstuden
3749 1.1.1.1.2.2 wrstuden fi
3750 1.1.1.1.2.2 wrstuden
3751 1.1.1.1.2.2 wrstuden
3752 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for exp in -lm" >&5
3753 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6; }
3754 1.1.1.1.2.2 wrstuden if test "${ac_cv_lib_m_exp+set}" = set; then
3755 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
3756 1.1.1.1.2.2 wrstuden else
3757 1.1.1.1.2.2 wrstuden ac_check_lib_save_LIBS=$LIBS
3758 1.1.1.1.2.2 wrstuden LIBS="-lm $LIBS"
3759 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
3760 1.1.1.1.2.2 wrstuden /* confdefs.h. */
3761 1.1.1.1.2.2 wrstuden _ACEOF
3762 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
3763 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
3764 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
3765 1.1.1.1.2.2 wrstuden
3766 1.1.1.1.2.2 wrstuden /* Override any GCC internal prototype to avoid an error.
3767 1.1.1.1.2.2 wrstuden Use char because int might match the return type of a GCC
3768 1.1.1.1.2.2 wrstuden builtin and then its argument prototype would still apply. */
3769 1.1.1.1.2.2 wrstuden #ifdef __cplusplus
3770 1.1.1.1.2.2 wrstuden extern "C"
3771 1.1.1.1.2.2 wrstuden #endif
3772 1.1.1.1.2.2 wrstuden char exp ();
3773 1.1.1.1.2.2 wrstuden int
3774 1.1.1.1.2.2 wrstuden main ()
3775 1.1.1.1.2.2 wrstuden {
3776 1.1.1.1.2.2 wrstuden return exp ();
3777 1.1.1.1.2.2 wrstuden ;
3778 1.1.1.1.2.2 wrstuden return 0;
3779 1.1.1.1.2.2 wrstuden }
3780 1.1.1.1.2.2 wrstuden _ACEOF
3781 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext conftest$ac_exeext
3782 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_link"
3783 1.1.1.1.2.2 wrstuden case "(($ac_try" in
3784 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3785 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
3786 1.1.1.1.2.2 wrstuden esac
3787 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3788 1.1.1.1.2.2 wrstuden (eval "$ac_link") 2>conftest.er1
3789 1.1.1.1.2.2 wrstuden ac_status=$?
3790 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
3791 1.1.1.1.2.2 wrstuden rm -f conftest.er1
3792 1.1.1.1.2.2 wrstuden cat conftest.err >&5
3793 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
3795 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
3796 1.1.1.1.2.2 wrstuden test ! -s conftest.err
3797 1.1.1.1.2.2 wrstuden } && test -s conftest$ac_exeext &&
3798 1.1.1.1.2.2 wrstuden $as_test_x conftest$ac_exeext; then
3799 1.1.1.1.2.2 wrstuden ac_cv_lib_m_exp=yes
3800 1.1.1.1.2.2 wrstuden else
3801 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
3802 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
3803 1.1.1.1.2.2 wrstuden
3804 1.1.1.1.2.2 wrstuden ac_cv_lib_m_exp=no
3805 1.1.1.1.2.2 wrstuden fi
3806 1.1.1.1.2.2 wrstuden
3807 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3808 1.1.1.1.2.2 wrstuden conftest$ac_exeext conftest.$ac_ext
3809 1.1.1.1.2.2 wrstuden LIBS=$ac_check_lib_save_LIBS
3810 1.1.1.1.2.2 wrstuden fi
3811 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
3812 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_lib_m_exp" >&6; }
3813 1.1.1.1.2.2 wrstuden if test $ac_cv_lib_m_exp = yes; then
3814 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
3815 1.1.1.1.2.2 wrstuden #define HAVE_LIBM 1
3816 1.1.1.1.2.2 wrstuden _ACEOF
3817 1.1.1.1.2.2 wrstuden
3818 1.1.1.1.2.2 wrstuden LIBS="-lm $LIBS"
3819 1.1.1.1.2.2 wrstuden
3820 1.1.1.1.2.2 wrstuden fi
3821 1.1.1.1.2.2 wrstuden
3822 1.1.1.1.2.2 wrstuden
3823 1.1.1.1.2.2 wrstuden # check for libraries required by extension
3824 1.1.1.1.2.2 wrstuden extlibs=""
3825 1.1.1.1.2.2 wrstuden if test -n "$with_ext" -a -f "${srcdir}/ext/$with_ext.libs"; then
3826 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for libraries needed by extensions" >&5
3827 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for libraries needed by extensions... $ECHO_C" >&6; }
3828 1.1.1.1.2.2 wrstuden for lib in `cat "${srcdir}/ext/$with_ext.libs"`
3829 1.1.1.1.2.2 wrstuden do
3830 1.1.1.1.2.2 wrstuden saveLIBS=$LIBS
3831 1.1.1.1.2.2 wrstuden LIBS="$LIBS -l$lib"
3832 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
3833 1.1.1.1.2.2 wrstuden /* confdefs.h. */
3834 1.1.1.1.2.2 wrstuden _ACEOF
3835 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
3836 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
3837 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
3838 1.1.1.1.2.2 wrstuden
3839 1.1.1.1.2.2 wrstuden int
3840 1.1.1.1.2.2 wrstuden main ()
3841 1.1.1.1.2.2 wrstuden {
3842 1.1.1.1.2.2 wrstuden exit(0);
3843 1.1.1.1.2.2 wrstuden ;
3844 1.1.1.1.2.2 wrstuden return 0;
3845 1.1.1.1.2.2 wrstuden }
3846 1.1.1.1.2.2 wrstuden _ACEOF
3847 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext conftest$ac_exeext
3848 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_link"
3849 1.1.1.1.2.2 wrstuden case "(($ac_try" in
3850 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3851 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
3852 1.1.1.1.2.2 wrstuden esac
3853 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3854 1.1.1.1.2.2 wrstuden (eval "$ac_link") 2>conftest.er1
3855 1.1.1.1.2.2 wrstuden ac_status=$?
3856 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
3857 1.1.1.1.2.2 wrstuden rm -f conftest.er1
3858 1.1.1.1.2.2 wrstuden cat conftest.err >&5
3859 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
3861 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
3862 1.1.1.1.2.2 wrstuden test ! -s conftest.err
3863 1.1.1.1.2.2 wrstuden } && test -s conftest$ac_exeext &&
3864 1.1.1.1.2.2 wrstuden $as_test_x conftest$ac_exeext; then
3865 1.1.1.1.2.2 wrstuden extlibs="$extlibs -l$lib"
3866 1.1.1.1.2.2 wrstuden else
3867 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
3868 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
3869 1.1.1.1.2.2 wrstuden
3870 1.1.1.1.2.2 wrstuden
3871 1.1.1.1.2.2 wrstuden fi
3872 1.1.1.1.2.2 wrstuden
3873 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3874 1.1.1.1.2.2 wrstuden conftest$ac_exeext conftest.$ac_ext
3875 1.1.1.1.2.2 wrstuden LIBS=$saveLIBS
3876 1.1.1.1.2.2 wrstuden done
3877 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $extlibs" >&5
3878 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$extlibs" >&6; }
3879 1.1.1.1.2.2 wrstuden LIBS="$LIBS$extlibs"
3880 1.1.1.1.2.2 wrstuden fi
3881 1.1.1.1.2.2 wrstuden
3882 1.1.1.1.2.2 wrstuden # checks for header files
3883 1.1.1.1.2.2 wrstuden ac_ext=c
3884 1.1.1.1.2.2 wrstuden ac_cpp='$CPP $CPPFLAGS'
3885 1.1.1.1.2.2 wrstuden ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3886 1.1.1.1.2.2 wrstuden ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3887 1.1.1.1.2.2 wrstuden ac_compiler_gnu=$ac_cv_c_compiler_gnu
3888 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3889 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3890 1.1.1.1.2.2 wrstuden # On Suns, sometimes $CPP names a directory.
3891 1.1.1.1.2.2 wrstuden if test -n "$CPP" && test -d "$CPP"; then
3892 1.1.1.1.2.2 wrstuden CPP=
3893 1.1.1.1.2.2 wrstuden fi
3894 1.1.1.1.2.2 wrstuden if test -z "$CPP"; then
3895 1.1.1.1.2.2 wrstuden if test "${ac_cv_prog_CPP+set}" = set; then
3896 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
3897 1.1.1.1.2.2 wrstuden else
3898 1.1.1.1.2.2 wrstuden # Double quotes because CPP needs to be expanded
3899 1.1.1.1.2.2 wrstuden for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3900 1.1.1.1.2.2 wrstuden do
3901 1.1.1.1.2.2 wrstuden ac_preproc_ok=false
3902 1.1.1.1.2.2 wrstuden for ac_c_preproc_warn_flag in '' yes
3903 1.1.1.1.2.2 wrstuden do
3904 1.1.1.1.2.2 wrstuden # Use a header file that comes with gcc, so configuring glibc
3905 1.1.1.1.2.2 wrstuden # with a fresh cross-compiler works.
3906 1.1.1.1.2.2 wrstuden # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3907 1.1.1.1.2.2 wrstuden # <limits.h> exists even on freestanding compilers.
3908 1.1.1.1.2.2 wrstuden # On the NeXT, cc -E runs the code through the compiler's parser,
3909 1.1.1.1.2.2 wrstuden # not just through cpp. "Syntax error" is here to catch this case.
3910 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
3911 1.1.1.1.2.2 wrstuden /* confdefs.h. */
3912 1.1.1.1.2.2 wrstuden _ACEOF
3913 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
3914 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
3915 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
3916 1.1.1.1.2.2 wrstuden #ifdef __STDC__
3917 1.1.1.1.2.2 wrstuden # include <limits.h>
3918 1.1.1.1.2.2 wrstuden #else
3919 1.1.1.1.2.2 wrstuden # include <assert.h>
3920 1.1.1.1.2.2 wrstuden #endif
3921 1.1.1.1.2.2 wrstuden Syntax error
3922 1.1.1.1.2.2 wrstuden _ACEOF
3923 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_cpp conftest.$ac_ext"
3924 1.1.1.1.2.2 wrstuden case "(($ac_try" in
3925 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3926 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
3927 1.1.1.1.2.2 wrstuden esac
3928 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3929 1.1.1.1.2.2 wrstuden (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3930 1.1.1.1.2.2 wrstuden ac_status=$?
3931 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
3932 1.1.1.1.2.2 wrstuden rm -f conftest.er1
3933 1.1.1.1.2.2 wrstuden cat conftest.err >&5
3934 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 1.1.1.1.2.2 wrstuden (exit $ac_status); } >/dev/null && {
3936 1.1.1.1.2.2 wrstuden test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3937 1.1.1.1.2.2 wrstuden test ! -s conftest.err
3938 1.1.1.1.2.2 wrstuden }; then
3939 1.1.1.1.2.2 wrstuden :
3940 1.1.1.1.2.2 wrstuden else
3941 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
3942 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
3943 1.1.1.1.2.2 wrstuden
3944 1.1.1.1.2.2 wrstuden # Broken: fails on valid input.
3945 1.1.1.1.2.2 wrstuden continue
3946 1.1.1.1.2.2 wrstuden fi
3947 1.1.1.1.2.2 wrstuden
3948 1.1.1.1.2.2 wrstuden rm -f conftest.err conftest.$ac_ext
3949 1.1.1.1.2.2 wrstuden
3950 1.1.1.1.2.2 wrstuden # OK, works on sane cases. Now check whether nonexistent headers
3951 1.1.1.1.2.2 wrstuden # can be detected and how.
3952 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
3953 1.1.1.1.2.2 wrstuden /* confdefs.h. */
3954 1.1.1.1.2.2 wrstuden _ACEOF
3955 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
3956 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
3957 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
3958 1.1.1.1.2.2 wrstuden #include <ac_nonexistent.h>
3959 1.1.1.1.2.2 wrstuden _ACEOF
3960 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_cpp conftest.$ac_ext"
3961 1.1.1.1.2.2 wrstuden case "(($ac_try" in
3962 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3963 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
3964 1.1.1.1.2.2 wrstuden esac
3965 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3966 1.1.1.1.2.2 wrstuden (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3967 1.1.1.1.2.2 wrstuden ac_status=$?
3968 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
3969 1.1.1.1.2.2 wrstuden rm -f conftest.er1
3970 1.1.1.1.2.2 wrstuden cat conftest.err >&5
3971 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 1.1.1.1.2.2 wrstuden (exit $ac_status); } >/dev/null && {
3973 1.1.1.1.2.2 wrstuden test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3974 1.1.1.1.2.2 wrstuden test ! -s conftest.err
3975 1.1.1.1.2.2 wrstuden }; then
3976 1.1.1.1.2.2 wrstuden # Broken: success on invalid input.
3977 1.1.1.1.2.2 wrstuden continue
3978 1.1.1.1.2.2 wrstuden else
3979 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
3980 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
3981 1.1.1.1.2.2 wrstuden
3982 1.1.1.1.2.2 wrstuden # Passes both tests.
3983 1.1.1.1.2.2 wrstuden ac_preproc_ok=:
3984 1.1.1.1.2.2 wrstuden break
3985 1.1.1.1.2.2 wrstuden fi
3986 1.1.1.1.2.2 wrstuden
3987 1.1.1.1.2.2 wrstuden rm -f conftest.err conftest.$ac_ext
3988 1.1.1.1.2.2 wrstuden
3989 1.1.1.1.2.2 wrstuden done
3990 1.1.1.1.2.2 wrstuden # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3991 1.1.1.1.2.2 wrstuden rm -f conftest.err conftest.$ac_ext
3992 1.1.1.1.2.2 wrstuden if $ac_preproc_ok; then
3993 1.1.1.1.2.2 wrstuden break
3994 1.1.1.1.2.2 wrstuden fi
3995 1.1.1.1.2.2 wrstuden
3996 1.1.1.1.2.2 wrstuden done
3997 1.1.1.1.2.2 wrstuden ac_cv_prog_CPP=$CPP
3998 1.1.1.1.2.2 wrstuden
3999 1.1.1.1.2.2 wrstuden fi
4000 1.1.1.1.2.2 wrstuden CPP=$ac_cv_prog_CPP
4001 1.1.1.1.2.2 wrstuden else
4002 1.1.1.1.2.2 wrstuden ac_cv_prog_CPP=$CPP
4003 1.1.1.1.2.2 wrstuden fi
4004 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $CPP" >&5
4005 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$CPP" >&6; }
4006 1.1.1.1.2.2 wrstuden ac_preproc_ok=false
4007 1.1.1.1.2.2 wrstuden for ac_c_preproc_warn_flag in '' yes
4008 1.1.1.1.2.2 wrstuden do
4009 1.1.1.1.2.2 wrstuden # Use a header file that comes with gcc, so configuring glibc
4010 1.1.1.1.2.2 wrstuden # with a fresh cross-compiler works.
4011 1.1.1.1.2.2 wrstuden # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4012 1.1.1.1.2.2 wrstuden # <limits.h> exists even on freestanding compilers.
4013 1.1.1.1.2.2 wrstuden # On the NeXT, cc -E runs the code through the compiler's parser,
4014 1.1.1.1.2.2 wrstuden # not just through cpp. "Syntax error" is here to catch this case.
4015 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
4016 1.1.1.1.2.2 wrstuden /* confdefs.h. */
4017 1.1.1.1.2.2 wrstuden _ACEOF
4018 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
4019 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
4020 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
4021 1.1.1.1.2.2 wrstuden #ifdef __STDC__
4022 1.1.1.1.2.2 wrstuden # include <limits.h>
4023 1.1.1.1.2.2 wrstuden #else
4024 1.1.1.1.2.2 wrstuden # include <assert.h>
4025 1.1.1.1.2.2 wrstuden #endif
4026 1.1.1.1.2.2 wrstuden Syntax error
4027 1.1.1.1.2.2 wrstuden _ACEOF
4028 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_cpp conftest.$ac_ext"
4029 1.1.1.1.2.2 wrstuden case "(($ac_try" in
4030 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4031 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
4032 1.1.1.1.2.2 wrstuden esac
4033 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4034 1.1.1.1.2.2 wrstuden (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4035 1.1.1.1.2.2 wrstuden ac_status=$?
4036 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
4037 1.1.1.1.2.2 wrstuden rm -f conftest.er1
4038 1.1.1.1.2.2 wrstuden cat conftest.err >&5
4039 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 1.1.1.1.2.2 wrstuden (exit $ac_status); } >/dev/null && {
4041 1.1.1.1.2.2 wrstuden test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4042 1.1.1.1.2.2 wrstuden test ! -s conftest.err
4043 1.1.1.1.2.2 wrstuden }; then
4044 1.1.1.1.2.2 wrstuden :
4045 1.1.1.1.2.2 wrstuden else
4046 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
4047 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
4048 1.1.1.1.2.2 wrstuden
4049 1.1.1.1.2.2 wrstuden # Broken: fails on valid input.
4050 1.1.1.1.2.2 wrstuden continue
4051 1.1.1.1.2.2 wrstuden fi
4052 1.1.1.1.2.2 wrstuden
4053 1.1.1.1.2.2 wrstuden rm -f conftest.err conftest.$ac_ext
4054 1.1.1.1.2.2 wrstuden
4055 1.1.1.1.2.2 wrstuden # OK, works on sane cases. Now check whether nonexistent headers
4056 1.1.1.1.2.2 wrstuden # can be detected and how.
4057 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
4058 1.1.1.1.2.2 wrstuden /* confdefs.h. */
4059 1.1.1.1.2.2 wrstuden _ACEOF
4060 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
4061 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
4062 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
4063 1.1.1.1.2.2 wrstuden #include <ac_nonexistent.h>
4064 1.1.1.1.2.2 wrstuden _ACEOF
4065 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_cpp conftest.$ac_ext"
4066 1.1.1.1.2.2 wrstuden case "(($ac_try" in
4067 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4068 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
4069 1.1.1.1.2.2 wrstuden esac
4070 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4071 1.1.1.1.2.2 wrstuden (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4072 1.1.1.1.2.2 wrstuden ac_status=$?
4073 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
4074 1.1.1.1.2.2 wrstuden rm -f conftest.er1
4075 1.1.1.1.2.2 wrstuden cat conftest.err >&5
4076 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 1.1.1.1.2.2 wrstuden (exit $ac_status); } >/dev/null && {
4078 1.1.1.1.2.2 wrstuden test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4079 1.1.1.1.2.2 wrstuden test ! -s conftest.err
4080 1.1.1.1.2.2 wrstuden }; then
4081 1.1.1.1.2.2 wrstuden # Broken: success on invalid input.
4082 1.1.1.1.2.2 wrstuden continue
4083 1.1.1.1.2.2 wrstuden else
4084 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
4085 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
4086 1.1.1.1.2.2 wrstuden
4087 1.1.1.1.2.2 wrstuden # Passes both tests.
4088 1.1.1.1.2.2 wrstuden ac_preproc_ok=:
4089 1.1.1.1.2.2 wrstuden break
4090 1.1.1.1.2.2 wrstuden fi
4091 1.1.1.1.2.2 wrstuden
4092 1.1.1.1.2.2 wrstuden rm -f conftest.err conftest.$ac_ext
4093 1.1.1.1.2.2 wrstuden
4094 1.1.1.1.2.2 wrstuden done
4095 1.1.1.1.2.2 wrstuden # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4096 1.1.1.1.2.2 wrstuden rm -f conftest.err conftest.$ac_ext
4097 1.1.1.1.2.2 wrstuden if $ac_preproc_ok; then
4098 1.1.1.1.2.2 wrstuden :
4099 1.1.1.1.2.2 wrstuden else
4100 1.1.1.1.2.2 wrstuden { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4101 1.1.1.1.2.2 wrstuden See \`config.log' for more details." >&5
4102 1.1.1.1.2.2 wrstuden echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4103 1.1.1.1.2.2 wrstuden See \`config.log' for more details." >&2;}
4104 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
4105 1.1.1.1.2.2 wrstuden fi
4106 1.1.1.1.2.2 wrstuden
4107 1.1.1.1.2.2 wrstuden ac_ext=c
4108 1.1.1.1.2.2 wrstuden ac_cpp='$CPP $CPPFLAGS'
4109 1.1.1.1.2.2 wrstuden ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4110 1.1.1.1.2.2 wrstuden ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4111 1.1.1.1.2.2 wrstuden ac_compiler_gnu=$ac_cv_c_compiler_gnu
4112 1.1.1.1.2.2 wrstuden
4113 1.1.1.1.2.2 wrstuden
4114 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4115 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4116 1.1.1.1.2.2 wrstuden if test "${ac_cv_path_GREP+set}" = set; then
4117 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
4118 1.1.1.1.2.2 wrstuden else
4119 1.1.1.1.2.2 wrstuden # Extract the first word of "grep ggrep" to use in msg output
4120 1.1.1.1.2.2 wrstuden if test -z "$GREP"; then
4121 1.1.1.1.2.2 wrstuden set dummy grep ggrep; ac_prog_name=$2
4122 1.1.1.1.2.2 wrstuden if test "${ac_cv_path_GREP+set}" = set; then
4123 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
4124 1.1.1.1.2.2 wrstuden else
4125 1.1.1.1.2.2 wrstuden ac_path_GREP_found=false
4126 1.1.1.1.2.2 wrstuden # Loop through the user's path and test for each of PROGNAME-LIST
4127 1.1.1.1.2.2 wrstuden as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4128 1.1.1.1.2.2 wrstuden for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4129 1.1.1.1.2.2 wrstuden do
4130 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
4131 1.1.1.1.2.2 wrstuden test -z "$as_dir" && as_dir=.
4132 1.1.1.1.2.2 wrstuden for ac_prog in grep ggrep; do
4133 1.1.1.1.2.2 wrstuden for ac_exec_ext in '' $ac_executable_extensions; do
4134 1.1.1.1.2.2 wrstuden ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4135 1.1.1.1.2.2 wrstuden { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4136 1.1.1.1.2.2 wrstuden # Check for GNU ac_path_GREP and select it if it is found.
4137 1.1.1.1.2.2 wrstuden # Check for GNU $ac_path_GREP
4138 1.1.1.1.2.2 wrstuden case `"$ac_path_GREP" --version 2>&1` in
4139 1.1.1.1.2.2 wrstuden *GNU*)
4140 1.1.1.1.2.2 wrstuden ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4141 1.1.1.1.2.2 wrstuden *)
4142 1.1.1.1.2.2 wrstuden ac_count=0
4143 1.1.1.1.2.2 wrstuden echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4144 1.1.1.1.2.2 wrstuden while :
4145 1.1.1.1.2.2 wrstuden do
4146 1.1.1.1.2.2 wrstuden cat "conftest.in" "conftest.in" >"conftest.tmp"
4147 1.1.1.1.2.2 wrstuden mv "conftest.tmp" "conftest.in"
4148 1.1.1.1.2.2 wrstuden cp "conftest.in" "conftest.nl"
4149 1.1.1.1.2.2 wrstuden echo 'GREP' >> "conftest.nl"
4150 1.1.1.1.2.2 wrstuden "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4151 1.1.1.1.2.2 wrstuden diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4152 1.1.1.1.2.2 wrstuden ac_count=`expr $ac_count + 1`
4153 1.1.1.1.2.2 wrstuden if test $ac_count -gt ${ac_path_GREP_max-0}; then
4154 1.1.1.1.2.2 wrstuden # Best one so far, save it but keep looking for a better one
4155 1.1.1.1.2.2 wrstuden ac_cv_path_GREP="$ac_path_GREP"
4156 1.1.1.1.2.2 wrstuden ac_path_GREP_max=$ac_count
4157 1.1.1.1.2.2 wrstuden fi
4158 1.1.1.1.2.2 wrstuden # 10*(2^10) chars as input seems more than enough
4159 1.1.1.1.2.2 wrstuden test $ac_count -gt 10 && break
4160 1.1.1.1.2.2 wrstuden done
4161 1.1.1.1.2.2 wrstuden rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4162 1.1.1.1.2.2 wrstuden esac
4163 1.1.1.1.2.2 wrstuden
4164 1.1.1.1.2.2 wrstuden
4165 1.1.1.1.2.2 wrstuden $ac_path_GREP_found && break 3
4166 1.1.1.1.2.2 wrstuden done
4167 1.1.1.1.2.2 wrstuden done
4168 1.1.1.1.2.2 wrstuden
4169 1.1.1.1.2.2 wrstuden done
4170 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
4171 1.1.1.1.2.2 wrstuden
4172 1.1.1.1.2.2 wrstuden
4173 1.1.1.1.2.2 wrstuden fi
4174 1.1.1.1.2.2 wrstuden
4175 1.1.1.1.2.2 wrstuden GREP="$ac_cv_path_GREP"
4176 1.1.1.1.2.2 wrstuden if test -z "$GREP"; then
4177 1.1.1.1.2.2 wrstuden { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4178 1.1.1.1.2.2 wrstuden echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4179 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
4180 1.1.1.1.2.2 wrstuden fi
4181 1.1.1.1.2.2 wrstuden
4182 1.1.1.1.2.2 wrstuden else
4183 1.1.1.1.2.2 wrstuden ac_cv_path_GREP=$GREP
4184 1.1.1.1.2.2 wrstuden fi
4185 1.1.1.1.2.2 wrstuden
4186 1.1.1.1.2.2 wrstuden
4187 1.1.1.1.2.2 wrstuden fi
4188 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4189 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4190 1.1.1.1.2.2 wrstuden GREP="$ac_cv_path_GREP"
4191 1.1.1.1.2.2 wrstuden
4192 1.1.1.1.2.2 wrstuden
4193 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for egrep" >&5
4194 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4195 1.1.1.1.2.2 wrstuden if test "${ac_cv_path_EGREP+set}" = set; then
4196 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
4197 1.1.1.1.2.2 wrstuden else
4198 1.1.1.1.2.2 wrstuden if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4199 1.1.1.1.2.2 wrstuden then ac_cv_path_EGREP="$GREP -E"
4200 1.1.1.1.2.2 wrstuden else
4201 1.1.1.1.2.2 wrstuden # Extract the first word of "egrep" to use in msg output
4202 1.1.1.1.2.2 wrstuden if test -z "$EGREP"; then
4203 1.1.1.1.2.2 wrstuden set dummy egrep; ac_prog_name=$2
4204 1.1.1.1.2.2 wrstuden if test "${ac_cv_path_EGREP+set}" = set; then
4205 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
4206 1.1.1.1.2.2 wrstuden else
4207 1.1.1.1.2.2 wrstuden ac_path_EGREP_found=false
4208 1.1.1.1.2.2 wrstuden # Loop through the user's path and test for each of PROGNAME-LIST
4209 1.1.1.1.2.2 wrstuden as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4210 1.1.1.1.2.2 wrstuden for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4211 1.1.1.1.2.2 wrstuden do
4212 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
4213 1.1.1.1.2.2 wrstuden test -z "$as_dir" && as_dir=.
4214 1.1.1.1.2.2 wrstuden for ac_prog in egrep; do
4215 1.1.1.1.2.2 wrstuden for ac_exec_ext in '' $ac_executable_extensions; do
4216 1.1.1.1.2.2 wrstuden ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4217 1.1.1.1.2.2 wrstuden { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4218 1.1.1.1.2.2 wrstuden # Check for GNU ac_path_EGREP and select it if it is found.
4219 1.1.1.1.2.2 wrstuden # Check for GNU $ac_path_EGREP
4220 1.1.1.1.2.2 wrstuden case `"$ac_path_EGREP" --version 2>&1` in
4221 1.1.1.1.2.2 wrstuden *GNU*)
4222 1.1.1.1.2.2 wrstuden ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4223 1.1.1.1.2.2 wrstuden *)
4224 1.1.1.1.2.2 wrstuden ac_count=0
4225 1.1.1.1.2.2 wrstuden echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4226 1.1.1.1.2.2 wrstuden while :
4227 1.1.1.1.2.2 wrstuden do
4228 1.1.1.1.2.2 wrstuden cat "conftest.in" "conftest.in" >"conftest.tmp"
4229 1.1.1.1.2.2 wrstuden mv "conftest.tmp" "conftest.in"
4230 1.1.1.1.2.2 wrstuden cp "conftest.in" "conftest.nl"
4231 1.1.1.1.2.2 wrstuden echo 'EGREP' >> "conftest.nl"
4232 1.1.1.1.2.2 wrstuden "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4233 1.1.1.1.2.2 wrstuden diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4234 1.1.1.1.2.2 wrstuden ac_count=`expr $ac_count + 1`
4235 1.1.1.1.2.2 wrstuden if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4236 1.1.1.1.2.2 wrstuden # Best one so far, save it but keep looking for a better one
4237 1.1.1.1.2.2 wrstuden ac_cv_path_EGREP="$ac_path_EGREP"
4238 1.1.1.1.2.2 wrstuden ac_path_EGREP_max=$ac_count
4239 1.1.1.1.2.2 wrstuden fi
4240 1.1.1.1.2.2 wrstuden # 10*(2^10) chars as input seems more than enough
4241 1.1.1.1.2.2 wrstuden test $ac_count -gt 10 && break
4242 1.1.1.1.2.2 wrstuden done
4243 1.1.1.1.2.2 wrstuden rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4244 1.1.1.1.2.2 wrstuden esac
4245 1.1.1.1.2.2 wrstuden
4246 1.1.1.1.2.2 wrstuden
4247 1.1.1.1.2.2 wrstuden $ac_path_EGREP_found && break 3
4248 1.1.1.1.2.2 wrstuden done
4249 1.1.1.1.2.2 wrstuden done
4250 1.1.1.1.2.2 wrstuden
4251 1.1.1.1.2.2 wrstuden done
4252 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
4253 1.1.1.1.2.2 wrstuden
4254 1.1.1.1.2.2 wrstuden
4255 1.1.1.1.2.2 wrstuden fi
4256 1.1.1.1.2.2 wrstuden
4257 1.1.1.1.2.2 wrstuden EGREP="$ac_cv_path_EGREP"
4258 1.1.1.1.2.2 wrstuden if test -z "$EGREP"; then
4259 1.1.1.1.2.2 wrstuden { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4260 1.1.1.1.2.2 wrstuden echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4261 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
4262 1.1.1.1.2.2 wrstuden fi
4263 1.1.1.1.2.2 wrstuden
4264 1.1.1.1.2.2 wrstuden else
4265 1.1.1.1.2.2 wrstuden ac_cv_path_EGREP=$EGREP
4266 1.1.1.1.2.2 wrstuden fi
4267 1.1.1.1.2.2 wrstuden
4268 1.1.1.1.2.2 wrstuden
4269 1.1.1.1.2.2 wrstuden fi
4270 1.1.1.1.2.2 wrstuden fi
4271 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4272 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4273 1.1.1.1.2.2 wrstuden EGREP="$ac_cv_path_EGREP"
4274 1.1.1.1.2.2 wrstuden
4275 1.1.1.1.2.2 wrstuden
4276 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4277 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4278 1.1.1.1.2.2 wrstuden if test "${ac_cv_header_stdc+set}" = set; then
4279 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
4280 1.1.1.1.2.2 wrstuden else
4281 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
4282 1.1.1.1.2.2 wrstuden /* confdefs.h. */
4283 1.1.1.1.2.2 wrstuden _ACEOF
4284 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
4285 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
4286 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
4287 1.1.1.1.2.2 wrstuden #include <stdlib.h>
4288 1.1.1.1.2.2 wrstuden #include <stdarg.h>
4289 1.1.1.1.2.2 wrstuden #include <string.h>
4290 1.1.1.1.2.2 wrstuden #include <float.h>
4291 1.1.1.1.2.2 wrstuden
4292 1.1.1.1.2.2 wrstuden int
4293 1.1.1.1.2.2 wrstuden main ()
4294 1.1.1.1.2.2 wrstuden {
4295 1.1.1.1.2.2 wrstuden
4296 1.1.1.1.2.2 wrstuden ;
4297 1.1.1.1.2.2 wrstuden return 0;
4298 1.1.1.1.2.2 wrstuden }
4299 1.1.1.1.2.2 wrstuden _ACEOF
4300 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
4301 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
4302 1.1.1.1.2.2 wrstuden case "(($ac_try" in
4303 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4304 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
4305 1.1.1.1.2.2 wrstuden esac
4306 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4307 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
4308 1.1.1.1.2.2 wrstuden ac_status=$?
4309 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
4310 1.1.1.1.2.2 wrstuden rm -f conftest.er1
4311 1.1.1.1.2.2 wrstuden cat conftest.err >&5
4312 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
4314 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
4315 1.1.1.1.2.2 wrstuden test ! -s conftest.err
4316 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
4317 1.1.1.1.2.2 wrstuden ac_cv_header_stdc=yes
4318 1.1.1.1.2.2 wrstuden else
4319 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
4320 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
4321 1.1.1.1.2.2 wrstuden
4322 1.1.1.1.2.2 wrstuden ac_cv_header_stdc=no
4323 1.1.1.1.2.2 wrstuden fi
4324 1.1.1.1.2.2 wrstuden
4325 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4326 1.1.1.1.2.2 wrstuden
4327 1.1.1.1.2.2 wrstuden if test $ac_cv_header_stdc = yes; then
4328 1.1.1.1.2.2 wrstuden # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4329 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
4330 1.1.1.1.2.2 wrstuden /* confdefs.h. */
4331 1.1.1.1.2.2 wrstuden _ACEOF
4332 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
4333 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
4334 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
4335 1.1.1.1.2.2 wrstuden #include <string.h>
4336 1.1.1.1.2.2 wrstuden
4337 1.1.1.1.2.2 wrstuden _ACEOF
4338 1.1.1.1.2.2 wrstuden if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4339 1.1.1.1.2.2 wrstuden $EGREP "memchr" >/dev/null 2>&1; then
4340 1.1.1.1.2.2 wrstuden :
4341 1.1.1.1.2.2 wrstuden else
4342 1.1.1.1.2.2 wrstuden ac_cv_header_stdc=no
4343 1.1.1.1.2.2 wrstuden fi
4344 1.1.1.1.2.2 wrstuden rm -f conftest*
4345 1.1.1.1.2.2 wrstuden
4346 1.1.1.1.2.2 wrstuden fi
4347 1.1.1.1.2.2 wrstuden
4348 1.1.1.1.2.2 wrstuden if test $ac_cv_header_stdc = yes; then
4349 1.1.1.1.2.2 wrstuden # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4350 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
4351 1.1.1.1.2.2 wrstuden /* confdefs.h. */
4352 1.1.1.1.2.2 wrstuden _ACEOF
4353 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
4354 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
4355 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
4356 1.1.1.1.2.2 wrstuden #include <stdlib.h>
4357 1.1.1.1.2.2 wrstuden
4358 1.1.1.1.2.2 wrstuden _ACEOF
4359 1.1.1.1.2.2 wrstuden if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4360 1.1.1.1.2.2 wrstuden $EGREP "free" >/dev/null 2>&1; then
4361 1.1.1.1.2.2 wrstuden :
4362 1.1.1.1.2.2 wrstuden else
4363 1.1.1.1.2.2 wrstuden ac_cv_header_stdc=no
4364 1.1.1.1.2.2 wrstuden fi
4365 1.1.1.1.2.2 wrstuden rm -f conftest*
4366 1.1.1.1.2.2 wrstuden
4367 1.1.1.1.2.2 wrstuden fi
4368 1.1.1.1.2.2 wrstuden
4369 1.1.1.1.2.2 wrstuden if test $ac_cv_header_stdc = yes; then
4370 1.1.1.1.2.2 wrstuden # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4371 1.1.1.1.2.2 wrstuden if test "$cross_compiling" = yes; then
4372 1.1.1.1.2.2 wrstuden :
4373 1.1.1.1.2.2 wrstuden else
4374 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
4375 1.1.1.1.2.2 wrstuden /* confdefs.h. */
4376 1.1.1.1.2.2 wrstuden _ACEOF
4377 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
4378 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
4379 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
4380 1.1.1.1.2.2 wrstuden #include <ctype.h>
4381 1.1.1.1.2.2 wrstuden #include <stdlib.h>
4382 1.1.1.1.2.2 wrstuden #if ((' ' & 0x0FF) == 0x020)
4383 1.1.1.1.2.2 wrstuden # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4384 1.1.1.1.2.2 wrstuden # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4385 1.1.1.1.2.2 wrstuden #else
4386 1.1.1.1.2.2 wrstuden # define ISLOWER(c) \
4387 1.1.1.1.2.2 wrstuden (('a' <= (c) && (c) <= 'i') \
4388 1.1.1.1.2.2 wrstuden || ('j' <= (c) && (c) <= 'r') \
4389 1.1.1.1.2.2 wrstuden || ('s' <= (c) && (c) <= 'z'))
4390 1.1.1.1.2.2 wrstuden # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4391 1.1.1.1.2.2 wrstuden #endif
4392 1.1.1.1.2.2 wrstuden
4393 1.1.1.1.2.2 wrstuden #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4394 1.1.1.1.2.2 wrstuden int
4395 1.1.1.1.2.2 wrstuden main ()
4396 1.1.1.1.2.2 wrstuden {
4397 1.1.1.1.2.2 wrstuden int i;
4398 1.1.1.1.2.2 wrstuden for (i = 0; i < 256; i++)
4399 1.1.1.1.2.2 wrstuden if (XOR (islower (i), ISLOWER (i))
4400 1.1.1.1.2.2 wrstuden || toupper (i) != TOUPPER (i))
4401 1.1.1.1.2.2 wrstuden return 2;
4402 1.1.1.1.2.2 wrstuden return 0;
4403 1.1.1.1.2.2 wrstuden }
4404 1.1.1.1.2.2 wrstuden _ACEOF
4405 1.1.1.1.2.2 wrstuden rm -f conftest$ac_exeext
4406 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_link"
4407 1.1.1.1.2.2 wrstuden case "(($ac_try" in
4408 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4409 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
4410 1.1.1.1.2.2 wrstuden esac
4411 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4412 1.1.1.1.2.2 wrstuden (eval "$ac_link") 2>&5
4413 1.1.1.1.2.2 wrstuden ac_status=$?
4414 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 1.1.1.1.2.2 wrstuden (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4416 1.1.1.1.2.2 wrstuden { (case "(($ac_try" in
4417 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4418 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
4419 1.1.1.1.2.2 wrstuden esac
4420 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4421 1.1.1.1.2.2 wrstuden (eval "$ac_try") 2>&5
4422 1.1.1.1.2.2 wrstuden ac_status=$?
4423 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 1.1.1.1.2.2 wrstuden (exit $ac_status); }; }; then
4425 1.1.1.1.2.2 wrstuden :
4426 1.1.1.1.2.2 wrstuden else
4427 1.1.1.1.2.2 wrstuden echo "$as_me: program exited with status $ac_status" >&5
4428 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
4429 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
4430 1.1.1.1.2.2 wrstuden
4431 1.1.1.1.2.2 wrstuden ( exit $ac_status )
4432 1.1.1.1.2.2 wrstuden ac_cv_header_stdc=no
4433 1.1.1.1.2.2 wrstuden fi
4434 1.1.1.1.2.2 wrstuden rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4435 1.1.1.1.2.2 wrstuden fi
4436 1.1.1.1.2.2 wrstuden
4437 1.1.1.1.2.2 wrstuden
4438 1.1.1.1.2.2 wrstuden fi
4439 1.1.1.1.2.2 wrstuden fi
4440 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4441 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4442 1.1.1.1.2.2 wrstuden if test $ac_cv_header_stdc = yes; then
4443 1.1.1.1.2.2 wrstuden
4444 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<\_ACEOF
4445 1.1.1.1.2.2 wrstuden #define STDC_HEADERS 1
4446 1.1.1.1.2.2 wrstuden _ACEOF
4447 1.1.1.1.2.2 wrstuden
4448 1.1.1.1.2.2 wrstuden fi
4449 1.1.1.1.2.2 wrstuden
4450 1.1.1.1.2.2 wrstuden # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4451 1.1.1.1.2.2 wrstuden
4452 1.1.1.1.2.2 wrstuden
4453 1.1.1.1.2.2 wrstuden
4454 1.1.1.1.2.2 wrstuden
4455 1.1.1.1.2.2 wrstuden
4456 1.1.1.1.2.2 wrstuden
4457 1.1.1.1.2.2 wrstuden
4458 1.1.1.1.2.2 wrstuden
4459 1.1.1.1.2.2 wrstuden
4460 1.1.1.1.2.2 wrstuden for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4461 1.1.1.1.2.2 wrstuden inttypes.h stdint.h unistd.h
4462 1.1.1.1.2.2 wrstuden do
4463 1.1.1.1.2.2 wrstuden as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4464 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for $ac_header" >&5
4465 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4466 1.1.1.1.2.2 wrstuden if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4467 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
4468 1.1.1.1.2.2 wrstuden else
4469 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
4470 1.1.1.1.2.2 wrstuden /* confdefs.h. */
4471 1.1.1.1.2.2 wrstuden _ACEOF
4472 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
4473 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
4474 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
4475 1.1.1.1.2.2 wrstuden $ac_includes_default
4476 1.1.1.1.2.2 wrstuden
4477 1.1.1.1.2.2 wrstuden #include <$ac_header>
4478 1.1.1.1.2.2 wrstuden _ACEOF
4479 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
4480 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
4481 1.1.1.1.2.2 wrstuden case "(($ac_try" in
4482 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4483 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
4484 1.1.1.1.2.2 wrstuden esac
4485 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4486 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
4487 1.1.1.1.2.2 wrstuden ac_status=$?
4488 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
4489 1.1.1.1.2.2 wrstuden rm -f conftest.er1
4490 1.1.1.1.2.2 wrstuden cat conftest.err >&5
4491 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
4493 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
4494 1.1.1.1.2.2 wrstuden test ! -s conftest.err
4495 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
4496 1.1.1.1.2.2 wrstuden eval "$as_ac_Header=yes"
4497 1.1.1.1.2.2 wrstuden else
4498 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
4499 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
4500 1.1.1.1.2.2 wrstuden
4501 1.1.1.1.2.2 wrstuden eval "$as_ac_Header=no"
4502 1.1.1.1.2.2 wrstuden fi
4503 1.1.1.1.2.2 wrstuden
4504 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4505 1.1.1.1.2.2 wrstuden fi
4506 1.1.1.1.2.2 wrstuden ac_res=`eval echo '${'$as_ac_Header'}'`
4507 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_res" >&5
4508 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_res" >&6; }
4509 1.1.1.1.2.2 wrstuden if test `eval echo '${'$as_ac_Header'}'` = yes; then
4510 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
4511 1.1.1.1.2.2 wrstuden #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4512 1.1.1.1.2.2 wrstuden _ACEOF
4513 1.1.1.1.2.2 wrstuden
4514 1.1.1.1.2.2 wrstuden fi
4515 1.1.1.1.2.2 wrstuden
4516 1.1.1.1.2.2 wrstuden done
4517 1.1.1.1.2.2 wrstuden
4518 1.1.1.1.2.2 wrstuden
4519 1.1.1.1.2.2 wrstuden
4520 1.1.1.1.2.2 wrstuden
4521 1.1.1.1.2.2 wrstuden
4522 1.1.1.1.2.2 wrstuden
4523 1.1.1.1.2.2 wrstuden
4524 1.1.1.1.2.2 wrstuden
4525 1.1.1.1.2.2 wrstuden
4526 1.1.1.1.2.2 wrstuden
4527 1.1.1.1.2.2 wrstuden
4528 1.1.1.1.2.2 wrstuden
4529 1.1.1.1.2.2 wrstuden
4530 1.1.1.1.2.2 wrstuden for ac_header in curses.h getopt.h limits.h math.h stdarg.h sysexits.h termcap.h unistd.h sys/resource.h sys/time.h sys/utsname.h
4531 1.1.1.1.2.2 wrstuden do
4532 1.1.1.1.2.2 wrstuden as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4533 1.1.1.1.2.2 wrstuden if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4534 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for $ac_header" >&5
4535 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4536 1.1.1.1.2.2 wrstuden if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4537 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
4538 1.1.1.1.2.2 wrstuden fi
4539 1.1.1.1.2.2 wrstuden ac_res=`eval echo '${'$as_ac_Header'}'`
4540 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_res" >&5
4541 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_res" >&6; }
4542 1.1.1.1.2.2 wrstuden else
4543 1.1.1.1.2.2 wrstuden # Is the header compilable?
4544 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4545 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4546 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
4547 1.1.1.1.2.2 wrstuden /* confdefs.h. */
4548 1.1.1.1.2.2 wrstuden _ACEOF
4549 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
4550 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
4551 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
4552 1.1.1.1.2.2 wrstuden $ac_includes_default
4553 1.1.1.1.2.2 wrstuden #include <$ac_header>
4554 1.1.1.1.2.2 wrstuden _ACEOF
4555 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
4556 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
4557 1.1.1.1.2.2 wrstuden case "(($ac_try" in
4558 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4559 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
4560 1.1.1.1.2.2 wrstuden esac
4561 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4562 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
4563 1.1.1.1.2.2 wrstuden ac_status=$?
4564 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
4565 1.1.1.1.2.2 wrstuden rm -f conftest.er1
4566 1.1.1.1.2.2 wrstuden cat conftest.err >&5
4567 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
4569 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
4570 1.1.1.1.2.2 wrstuden test ! -s conftest.err
4571 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
4572 1.1.1.1.2.2 wrstuden ac_header_compiler=yes
4573 1.1.1.1.2.2 wrstuden else
4574 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
4575 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
4576 1.1.1.1.2.2 wrstuden
4577 1.1.1.1.2.2 wrstuden ac_header_compiler=no
4578 1.1.1.1.2.2 wrstuden fi
4579 1.1.1.1.2.2 wrstuden
4580 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4582 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_header_compiler" >&6; }
4583 1.1.1.1.2.2 wrstuden
4584 1.1.1.1.2.2 wrstuden # Is the header present?
4585 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4586 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4587 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
4588 1.1.1.1.2.2 wrstuden /* confdefs.h. */
4589 1.1.1.1.2.2 wrstuden _ACEOF
4590 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
4591 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
4592 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
4593 1.1.1.1.2.2 wrstuden #include <$ac_header>
4594 1.1.1.1.2.2 wrstuden _ACEOF
4595 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_cpp conftest.$ac_ext"
4596 1.1.1.1.2.2 wrstuden case "(($ac_try" in
4597 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4598 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
4599 1.1.1.1.2.2 wrstuden esac
4600 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4601 1.1.1.1.2.2 wrstuden (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4602 1.1.1.1.2.2 wrstuden ac_status=$?
4603 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
4604 1.1.1.1.2.2 wrstuden rm -f conftest.er1
4605 1.1.1.1.2.2 wrstuden cat conftest.err >&5
4606 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 1.1.1.1.2.2 wrstuden (exit $ac_status); } >/dev/null && {
4608 1.1.1.1.2.2 wrstuden test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4609 1.1.1.1.2.2 wrstuden test ! -s conftest.err
4610 1.1.1.1.2.2 wrstuden }; then
4611 1.1.1.1.2.2 wrstuden ac_header_preproc=yes
4612 1.1.1.1.2.2 wrstuden else
4613 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
4614 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
4615 1.1.1.1.2.2 wrstuden
4616 1.1.1.1.2.2 wrstuden ac_header_preproc=no
4617 1.1.1.1.2.2 wrstuden fi
4618 1.1.1.1.2.2 wrstuden
4619 1.1.1.1.2.2 wrstuden rm -f conftest.err conftest.$ac_ext
4620 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4621 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_header_preproc" >&6; }
4622 1.1.1.1.2.2 wrstuden
4623 1.1.1.1.2.2 wrstuden # So? What about this header?
4624 1.1.1.1.2.2 wrstuden case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4625 1.1.1.1.2.2 wrstuden yes:no: )
4626 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4627 1.1.1.1.2.2 wrstuden echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4628 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4629 1.1.1.1.2.2 wrstuden echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4630 1.1.1.1.2.2 wrstuden ac_header_preproc=yes
4631 1.1.1.1.2.2 wrstuden ;;
4632 1.1.1.1.2.2 wrstuden no:yes:* )
4633 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4634 1.1.1.1.2.2 wrstuden echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4635 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4636 1.1.1.1.2.2 wrstuden echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4637 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4638 1.1.1.1.2.2 wrstuden echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4639 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4640 1.1.1.1.2.2 wrstuden echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4641 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4642 1.1.1.1.2.2 wrstuden echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4643 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4644 1.1.1.1.2.2 wrstuden echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4645 1.1.1.1.2.2 wrstuden
4646 1.1.1.1.2.2 wrstuden ;;
4647 1.1.1.1.2.2 wrstuden esac
4648 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for $ac_header" >&5
4649 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4650 1.1.1.1.2.2 wrstuden if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4651 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
4652 1.1.1.1.2.2 wrstuden else
4653 1.1.1.1.2.2 wrstuden eval "$as_ac_Header=\$ac_header_preproc"
4654 1.1.1.1.2.2 wrstuden fi
4655 1.1.1.1.2.2 wrstuden ac_res=`eval echo '${'$as_ac_Header'}'`
4656 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_res" >&5
4657 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_res" >&6; }
4658 1.1.1.1.2.2 wrstuden
4659 1.1.1.1.2.2 wrstuden fi
4660 1.1.1.1.2.2 wrstuden if test `eval echo '${'$as_ac_Header'}'` = yes; then
4661 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
4662 1.1.1.1.2.2 wrstuden #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4663 1.1.1.1.2.2 wrstuden _ACEOF
4664 1.1.1.1.2.2 wrstuden
4665 1.1.1.1.2.2 wrstuden fi
4666 1.1.1.1.2.2 wrstuden
4667 1.1.1.1.2.2 wrstuden done
4668 1.1.1.1.2.2 wrstuden
4669 1.1.1.1.2.2 wrstuden
4670 1.1.1.1.2.2 wrstuden for ac_header in term.h
4671 1.1.1.1.2.2 wrstuden do
4672 1.1.1.1.2.2 wrstuden as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4673 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for $ac_header" >&5
4674 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4675 1.1.1.1.2.2 wrstuden if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4676 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
4677 1.1.1.1.2.2 wrstuden else
4678 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
4679 1.1.1.1.2.2 wrstuden /* confdefs.h. */
4680 1.1.1.1.2.2 wrstuden _ACEOF
4681 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
4682 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
4683 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
4684 1.1.1.1.2.2 wrstuden #if HAVE_CURSES_H
4685 1.1.1.1.2.2 wrstuden #include <curses.h>
4686 1.1.1.1.2.2 wrstuden #endif
4687 1.1.1.1.2.2 wrstuden
4688 1.1.1.1.2.2 wrstuden
4689 1.1.1.1.2.2 wrstuden #include <$ac_header>
4690 1.1.1.1.2.2 wrstuden _ACEOF
4691 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
4692 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
4693 1.1.1.1.2.2 wrstuden case "(($ac_try" in
4694 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4695 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
4696 1.1.1.1.2.2 wrstuden esac
4697 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4698 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
4699 1.1.1.1.2.2 wrstuden ac_status=$?
4700 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
4701 1.1.1.1.2.2 wrstuden rm -f conftest.er1
4702 1.1.1.1.2.2 wrstuden cat conftest.err >&5
4703 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
4705 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
4706 1.1.1.1.2.2 wrstuden test ! -s conftest.err
4707 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
4708 1.1.1.1.2.2 wrstuden eval "$as_ac_Header=yes"
4709 1.1.1.1.2.2 wrstuden else
4710 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
4711 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
4712 1.1.1.1.2.2 wrstuden
4713 1.1.1.1.2.2 wrstuden eval "$as_ac_Header=no"
4714 1.1.1.1.2.2 wrstuden fi
4715 1.1.1.1.2.2 wrstuden
4716 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4717 1.1.1.1.2.2 wrstuden fi
4718 1.1.1.1.2.2 wrstuden ac_res=`eval echo '${'$as_ac_Header'}'`
4719 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_res" >&5
4720 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_res" >&6; }
4721 1.1.1.1.2.2 wrstuden if test `eval echo '${'$as_ac_Header'}'` = yes; then
4722 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
4723 1.1.1.1.2.2 wrstuden #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4724 1.1.1.1.2.2 wrstuden _ACEOF
4725 1.1.1.1.2.2 wrstuden
4726 1.1.1.1.2.2 wrstuden fi
4727 1.1.1.1.2.2 wrstuden
4728 1.1.1.1.2.2 wrstuden done
4729 1.1.1.1.2.2 wrstuden
4730 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4731 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
4732 1.1.1.1.2.2 wrstuden if test "${ac_cv_header_time+set}" = set; then
4733 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
4734 1.1.1.1.2.2 wrstuden else
4735 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
4736 1.1.1.1.2.2 wrstuden /* confdefs.h. */
4737 1.1.1.1.2.2 wrstuden _ACEOF
4738 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
4739 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
4740 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
4741 1.1.1.1.2.2 wrstuden #include <sys/types.h>
4742 1.1.1.1.2.2 wrstuden #include <sys/time.h>
4743 1.1.1.1.2.2 wrstuden #include <time.h>
4744 1.1.1.1.2.2 wrstuden
4745 1.1.1.1.2.2 wrstuden int
4746 1.1.1.1.2.2 wrstuden main ()
4747 1.1.1.1.2.2 wrstuden {
4748 1.1.1.1.2.2 wrstuden if ((struct tm *) 0)
4749 1.1.1.1.2.2 wrstuden return 0;
4750 1.1.1.1.2.2 wrstuden ;
4751 1.1.1.1.2.2 wrstuden return 0;
4752 1.1.1.1.2.2 wrstuden }
4753 1.1.1.1.2.2 wrstuden _ACEOF
4754 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
4755 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
4756 1.1.1.1.2.2 wrstuden case "(($ac_try" in
4757 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4758 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
4759 1.1.1.1.2.2 wrstuden esac
4760 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4761 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
4762 1.1.1.1.2.2 wrstuden ac_status=$?
4763 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
4764 1.1.1.1.2.2 wrstuden rm -f conftest.er1
4765 1.1.1.1.2.2 wrstuden cat conftest.err >&5
4766 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
4768 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
4769 1.1.1.1.2.2 wrstuden test ! -s conftest.err
4770 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
4771 1.1.1.1.2.2 wrstuden ac_cv_header_time=yes
4772 1.1.1.1.2.2 wrstuden else
4773 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
4774 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
4775 1.1.1.1.2.2 wrstuden
4776 1.1.1.1.2.2 wrstuden ac_cv_header_time=no
4777 1.1.1.1.2.2 wrstuden fi
4778 1.1.1.1.2.2 wrstuden
4779 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4780 1.1.1.1.2.2 wrstuden fi
4781 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4782 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_header_time" >&6; }
4783 1.1.1.1.2.2 wrstuden if test $ac_cv_header_time = yes; then
4784 1.1.1.1.2.2 wrstuden
4785 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<\_ACEOF
4786 1.1.1.1.2.2 wrstuden #define TIME_WITH_SYS_TIME 1
4787 1.1.1.1.2.2 wrstuden _ACEOF
4788 1.1.1.1.2.2 wrstuden
4789 1.1.1.1.2.2 wrstuden fi
4790 1.1.1.1.2.2 wrstuden
4791 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for a good signal.h" >&5
4792 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for a good signal.h... $ECHO_C" >&6; }
4793 1.1.1.1.2.2 wrstuden SIGNAL_H="no"
4794 1.1.1.1.2.2 wrstuden for f in /usr/include/signal.h /usr/include/sys/signal.h /usr/include/sys/iso/signal_iso.h /usr/include/bits/signum.h; do
4795 1.1.1.1.2.2 wrstuden if grep SIGKILL $f >/dev/null 2>&1; then
4796 1.1.1.1.2.2 wrstuden SIGNAL_H=$f
4797 1.1.1.1.2.2 wrstuden break
4798 1.1.1.1.2.2 wrstuden fi
4799 1.1.1.1.2.2 wrstuden done
4800 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $SIGNAL_H" >&5
4801 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$SIGNAL_H" >&6; }
4802 1.1.1.1.2.2 wrstuden if test "$SIGNAL_H" = "no"; then
4803 1.1.1.1.2.2 wrstuden SIGNAL_H="/dev/null"
4804 1.1.1.1.2.2 wrstuden fi
4805 1.1.1.1.2.2 wrstuden
4806 1.1.1.1.2.2 wrstuden
4807 1.1.1.1.2.2 wrstuden # checks for typedefs, structures, and compiler characteristics.
4808 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for variadic macros" >&5
4809 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for variadic macros... $ECHO_C" >&6; }
4810 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
4811 1.1.1.1.2.2 wrstuden /* confdefs.h. */
4812 1.1.1.1.2.2 wrstuden _ACEOF
4813 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
4814 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
4815 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
4816 1.1.1.1.2.2 wrstuden #define a(x, ...) (x, __VA_ARGS__)
4817 1.1.1.1.2.2 wrstuden int
4818 1.1.1.1.2.2 wrstuden main ()
4819 1.1.1.1.2.2 wrstuden {
4820 1.1.1.1.2.2 wrstuden
4821 1.1.1.1.2.2 wrstuden ;
4822 1.1.1.1.2.2 wrstuden return 0;
4823 1.1.1.1.2.2 wrstuden }
4824 1.1.1.1.2.2 wrstuden _ACEOF
4825 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
4826 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
4827 1.1.1.1.2.2 wrstuden case "(($ac_try" in
4828 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4829 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
4830 1.1.1.1.2.2 wrstuden esac
4831 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4832 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
4833 1.1.1.1.2.2 wrstuden ac_status=$?
4834 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
4835 1.1.1.1.2.2 wrstuden rm -f conftest.er1
4836 1.1.1.1.2.2 wrstuden cat conftest.err >&5
4837 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
4839 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
4840 1.1.1.1.2.2 wrstuden test ! -s conftest.err
4841 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
4842 1.1.1.1.2.2 wrstuden ax_cv_c99_variadic=yes
4843 1.1.1.1.2.2 wrstuden else
4844 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
4845 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
4846 1.1.1.1.2.2 wrstuden
4847 1.1.1.1.2.2 wrstuden ax_cv_c99_variadic=no
4848 1.1.1.1.2.2 wrstuden fi
4849 1.1.1.1.2.2 wrstuden
4850 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4851 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
4852 1.1.1.1.2.2 wrstuden /* confdefs.h. */
4853 1.1.1.1.2.2 wrstuden _ACEOF
4854 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
4855 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
4856 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
4857 1.1.1.1.2.2 wrstuden #define a(x...) (x)
4858 1.1.1.1.2.2 wrstuden int
4859 1.1.1.1.2.2 wrstuden main ()
4860 1.1.1.1.2.2 wrstuden {
4861 1.1.1.1.2.2 wrstuden
4862 1.1.1.1.2.2 wrstuden ;
4863 1.1.1.1.2.2 wrstuden return 0;
4864 1.1.1.1.2.2 wrstuden }
4865 1.1.1.1.2.2 wrstuden _ACEOF
4866 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
4867 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
4868 1.1.1.1.2.2 wrstuden case "(($ac_try" in
4869 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4870 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
4871 1.1.1.1.2.2 wrstuden esac
4872 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4873 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
4874 1.1.1.1.2.2 wrstuden ac_status=$?
4875 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
4876 1.1.1.1.2.2 wrstuden rm -f conftest.er1
4877 1.1.1.1.2.2 wrstuden cat conftest.err >&5
4878 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
4880 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
4881 1.1.1.1.2.2 wrstuden test ! -s conftest.err
4882 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
4883 1.1.1.1.2.2 wrstuden ax_cv_gnu_variadic=yes
4884 1.1.1.1.2.2 wrstuden else
4885 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
4886 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
4887 1.1.1.1.2.2 wrstuden
4888 1.1.1.1.2.2 wrstuden ax_cv_gnu_variadic=no
4889 1.1.1.1.2.2 wrstuden fi
4890 1.1.1.1.2.2 wrstuden
4891 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4892 1.1.1.1.2.2 wrstuden _result=""
4893 1.1.1.1.2.2 wrstuden if test "$ax_cv_c99_variadic" = "yes"; then
4894 1.1.1.1.2.2 wrstuden _result=" c99"
4895 1.1.1.1.2.2 wrstuden
4896 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<\_ACEOF
4897 1.1.1.1.2.2 wrstuden #define HAVE_C99_VARIADIC_MACROS 1
4898 1.1.1.1.2.2 wrstuden _ACEOF
4899 1.1.1.1.2.2 wrstuden
4900 1.1.1.1.2.2 wrstuden fi
4901 1.1.1.1.2.2 wrstuden if test "$ax_cv_gnu_variadic" = "yes"; then
4902 1.1.1.1.2.2 wrstuden _result="$_result gnu"
4903 1.1.1.1.2.2 wrstuden
4904 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<\_ACEOF
4905 1.1.1.1.2.2 wrstuden #define HAVE_GNU_VARIADIC_MACROS 1
4906 1.1.1.1.2.2 wrstuden _ACEOF
4907 1.1.1.1.2.2 wrstuden
4908 1.1.1.1.2.2 wrstuden fi
4909 1.1.1.1.2.2 wrstuden if test "x$_result" = x; then
4910 1.1.1.1.2.2 wrstuden _result="no"
4911 1.1.1.1.2.2 wrstuden fi
4912 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $_result" >&5
4913 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$_result" >&6; }
4914 1.1.1.1.2.2 wrstuden
4915 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking whether sys_errlist is declared" >&5
4916 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking whether sys_errlist is declared... $ECHO_C" >&6; }
4917 1.1.1.1.2.2 wrstuden if test "${ac_cv_have_decl_sys_errlist+set}" = set; then
4918 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
4919 1.1.1.1.2.2 wrstuden else
4920 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
4921 1.1.1.1.2.2 wrstuden /* confdefs.h. */
4922 1.1.1.1.2.2 wrstuden _ACEOF
4923 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
4924 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
4925 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
4926 1.1.1.1.2.2 wrstuden $ac_includes_default
4927 1.1.1.1.2.2 wrstuden int
4928 1.1.1.1.2.2 wrstuden main ()
4929 1.1.1.1.2.2 wrstuden {
4930 1.1.1.1.2.2 wrstuden #ifndef sys_errlist
4931 1.1.1.1.2.2 wrstuden (void) sys_errlist;
4932 1.1.1.1.2.2 wrstuden #endif
4933 1.1.1.1.2.2 wrstuden
4934 1.1.1.1.2.2 wrstuden ;
4935 1.1.1.1.2.2 wrstuden return 0;
4936 1.1.1.1.2.2 wrstuden }
4937 1.1.1.1.2.2 wrstuden _ACEOF
4938 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
4939 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
4940 1.1.1.1.2.2 wrstuden case "(($ac_try" in
4941 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4942 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
4943 1.1.1.1.2.2 wrstuden esac
4944 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4945 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
4946 1.1.1.1.2.2 wrstuden ac_status=$?
4947 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
4948 1.1.1.1.2.2 wrstuden rm -f conftest.er1
4949 1.1.1.1.2.2 wrstuden cat conftest.err >&5
4950 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
4952 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
4953 1.1.1.1.2.2 wrstuden test ! -s conftest.err
4954 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
4955 1.1.1.1.2.2 wrstuden ac_cv_have_decl_sys_errlist=yes
4956 1.1.1.1.2.2 wrstuden else
4957 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
4958 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
4959 1.1.1.1.2.2 wrstuden
4960 1.1.1.1.2.2 wrstuden ac_cv_have_decl_sys_errlist=no
4961 1.1.1.1.2.2 wrstuden fi
4962 1.1.1.1.2.2 wrstuden
4963 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4964 1.1.1.1.2.2 wrstuden fi
4965 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_errlist" >&5
4966 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_have_decl_sys_errlist" >&6; }
4967 1.1.1.1.2.2 wrstuden if test $ac_cv_have_decl_sys_errlist = yes; then
4968 1.1.1.1.2.2 wrstuden
4969 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
4970 1.1.1.1.2.2 wrstuden #define HAVE_DECL_SYS_ERRLIST 1
4971 1.1.1.1.2.2 wrstuden _ACEOF
4972 1.1.1.1.2.2 wrstuden
4973 1.1.1.1.2.2 wrstuden
4974 1.1.1.1.2.2 wrstuden else
4975 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
4976 1.1.1.1.2.2 wrstuden #define HAVE_DECL_SYS_ERRLIST 0
4977 1.1.1.1.2.2 wrstuden _ACEOF
4978 1.1.1.1.2.2 wrstuden
4979 1.1.1.1.2.2 wrstuden
4980 1.1.1.1.2.2 wrstuden fi
4981 1.1.1.1.2.2 wrstuden
4982 1.1.1.1.2.2 wrstuden
4983 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking whether sys_signame is declared" >&5
4984 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6; }
4985 1.1.1.1.2.2 wrstuden if test "${ac_cv_have_decl_sys_signame+set}" = set; then
4986 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
4987 1.1.1.1.2.2 wrstuden else
4988 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
4989 1.1.1.1.2.2 wrstuden /* confdefs.h. */
4990 1.1.1.1.2.2 wrstuden _ACEOF
4991 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
4992 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
4993 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
4994 1.1.1.1.2.2 wrstuden #include <signal.h>
4995 1.1.1.1.2.2 wrstuden /* NetBSD declares sys_siglist in unistd.h. */
4996 1.1.1.1.2.2 wrstuden #if HAVE_UNISTD_H
4997 1.1.1.1.2.2 wrstuden # include <unistd.h>
4998 1.1.1.1.2.2 wrstuden #endif
4999 1.1.1.1.2.2 wrstuden
5000 1.1.1.1.2.2 wrstuden
5001 1.1.1.1.2.2 wrstuden int
5002 1.1.1.1.2.2 wrstuden main ()
5003 1.1.1.1.2.2 wrstuden {
5004 1.1.1.1.2.2 wrstuden #ifndef sys_signame
5005 1.1.1.1.2.2 wrstuden (void) sys_signame;
5006 1.1.1.1.2.2 wrstuden #endif
5007 1.1.1.1.2.2 wrstuden
5008 1.1.1.1.2.2 wrstuden ;
5009 1.1.1.1.2.2 wrstuden return 0;
5010 1.1.1.1.2.2 wrstuden }
5011 1.1.1.1.2.2 wrstuden _ACEOF
5012 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
5013 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
5014 1.1.1.1.2.2 wrstuden case "(($ac_try" in
5015 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5016 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
5017 1.1.1.1.2.2 wrstuden esac
5018 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5019 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
5020 1.1.1.1.2.2 wrstuden ac_status=$?
5021 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
5022 1.1.1.1.2.2 wrstuden rm -f conftest.er1
5023 1.1.1.1.2.2 wrstuden cat conftest.err >&5
5024 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
5026 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
5027 1.1.1.1.2.2 wrstuden test ! -s conftest.err
5028 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
5029 1.1.1.1.2.2 wrstuden ac_cv_have_decl_sys_signame=yes
5030 1.1.1.1.2.2 wrstuden else
5031 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
5032 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
5033 1.1.1.1.2.2 wrstuden
5034 1.1.1.1.2.2 wrstuden ac_cv_have_decl_sys_signame=no
5035 1.1.1.1.2.2 wrstuden fi
5036 1.1.1.1.2.2 wrstuden
5037 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5038 1.1.1.1.2.2 wrstuden fi
5039 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_signame" >&5
5040 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6; }
5041 1.1.1.1.2.2 wrstuden if test $ac_cv_have_decl_sys_signame = yes; then
5042 1.1.1.1.2.2 wrstuden
5043 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5044 1.1.1.1.2.2 wrstuden #define HAVE_DECL_SYS_SIGNAME 1
5045 1.1.1.1.2.2 wrstuden _ACEOF
5046 1.1.1.1.2.2 wrstuden
5047 1.1.1.1.2.2 wrstuden
5048 1.1.1.1.2.2 wrstuden else
5049 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5050 1.1.1.1.2.2 wrstuden #define HAVE_DECL_SYS_SIGNAME 0
5051 1.1.1.1.2.2 wrstuden _ACEOF
5052 1.1.1.1.2.2 wrstuden
5053 1.1.1.1.2.2 wrstuden
5054 1.1.1.1.2.2 wrstuden fi
5055 1.1.1.1.2.2 wrstuden
5056 1.1.1.1.2.2 wrstuden
5057 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking whether tputs is declared" >&5
5058 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking whether tputs is declared... $ECHO_C" >&6; }
5059 1.1.1.1.2.2 wrstuden if test "${ac_cv_have_decl_tputs+set}" = set; then
5060 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
5061 1.1.1.1.2.2 wrstuden else
5062 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
5063 1.1.1.1.2.2 wrstuden /* confdefs.h. */
5064 1.1.1.1.2.2 wrstuden _ACEOF
5065 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
5066 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
5067 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
5068 1.1.1.1.2.2 wrstuden #if HAVE_CURSES_H && HAVE_TERM_H
5069 1.1.1.1.2.2 wrstuden #include <curses.h>
5070 1.1.1.1.2.2 wrstuden #include <term.h>
5071 1.1.1.1.2.2 wrstuden #else
5072 1.1.1.1.2.2 wrstuden #if HAVE_TERMCAP_H
5073 1.1.1.1.2.2 wrstuden #include <termcap.h>
5074 1.1.1.1.2.2 wrstuden #else
5075 1.1.1.1.2.2 wrstuden #if HAVE_CURSES_H
5076 1.1.1.1.2.2 wrstuden #include <curses.h>
5077 1.1.1.1.2.2 wrstuden #endif
5078 1.1.1.1.2.2 wrstuden #endif
5079 1.1.1.1.2.2 wrstuden #endif
5080 1.1.1.1.2.2 wrstuden
5081 1.1.1.1.2.2 wrstuden
5082 1.1.1.1.2.2 wrstuden int
5083 1.1.1.1.2.2 wrstuden main ()
5084 1.1.1.1.2.2 wrstuden {
5085 1.1.1.1.2.2 wrstuden #ifndef tputs
5086 1.1.1.1.2.2 wrstuden (void) tputs;
5087 1.1.1.1.2.2 wrstuden #endif
5088 1.1.1.1.2.2 wrstuden
5089 1.1.1.1.2.2 wrstuden ;
5090 1.1.1.1.2.2 wrstuden return 0;
5091 1.1.1.1.2.2 wrstuden }
5092 1.1.1.1.2.2 wrstuden _ACEOF
5093 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
5094 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
5095 1.1.1.1.2.2 wrstuden case "(($ac_try" in
5096 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5097 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
5098 1.1.1.1.2.2 wrstuden esac
5099 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5100 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
5101 1.1.1.1.2.2 wrstuden ac_status=$?
5102 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
5103 1.1.1.1.2.2 wrstuden rm -f conftest.er1
5104 1.1.1.1.2.2 wrstuden cat conftest.err >&5
5105 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
5107 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
5108 1.1.1.1.2.2 wrstuden test ! -s conftest.err
5109 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
5110 1.1.1.1.2.2 wrstuden ac_cv_have_decl_tputs=yes
5111 1.1.1.1.2.2 wrstuden else
5112 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
5113 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
5114 1.1.1.1.2.2 wrstuden
5115 1.1.1.1.2.2 wrstuden ac_cv_have_decl_tputs=no
5116 1.1.1.1.2.2 wrstuden fi
5117 1.1.1.1.2.2 wrstuden
5118 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5119 1.1.1.1.2.2 wrstuden fi
5120 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tputs" >&5
5121 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_have_decl_tputs" >&6; }
5122 1.1.1.1.2.2 wrstuden if test $ac_cv_have_decl_tputs = yes; then
5123 1.1.1.1.2.2 wrstuden
5124 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5125 1.1.1.1.2.2 wrstuden #define HAVE_DECL_TPUTS 1
5126 1.1.1.1.2.2 wrstuden _ACEOF
5127 1.1.1.1.2.2 wrstuden
5128 1.1.1.1.2.2 wrstuden
5129 1.1.1.1.2.2 wrstuden else
5130 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5131 1.1.1.1.2.2 wrstuden #define HAVE_DECL_TPUTS 0
5132 1.1.1.1.2.2 wrstuden _ACEOF
5133 1.1.1.1.2.2 wrstuden
5134 1.1.1.1.2.2 wrstuden
5135 1.1.1.1.2.2 wrstuden fi
5136 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking whether tgoto is declared" >&5
5137 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking whether tgoto is declared... $ECHO_C" >&6; }
5138 1.1.1.1.2.2 wrstuden if test "${ac_cv_have_decl_tgoto+set}" = set; then
5139 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
5140 1.1.1.1.2.2 wrstuden else
5141 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
5142 1.1.1.1.2.2 wrstuden /* confdefs.h. */
5143 1.1.1.1.2.2 wrstuden _ACEOF
5144 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
5145 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
5146 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
5147 1.1.1.1.2.2 wrstuden #if HAVE_CURSES_H && HAVE_TERM_H
5148 1.1.1.1.2.2 wrstuden #include <curses.h>
5149 1.1.1.1.2.2 wrstuden #include <term.h>
5150 1.1.1.1.2.2 wrstuden #else
5151 1.1.1.1.2.2 wrstuden #if HAVE_TERMCAP_H
5152 1.1.1.1.2.2 wrstuden #include <termcap.h>
5153 1.1.1.1.2.2 wrstuden #else
5154 1.1.1.1.2.2 wrstuden #if HAVE_CURSES_H
5155 1.1.1.1.2.2 wrstuden #include <curses.h>
5156 1.1.1.1.2.2 wrstuden #endif
5157 1.1.1.1.2.2 wrstuden #endif
5158 1.1.1.1.2.2 wrstuden #endif
5159 1.1.1.1.2.2 wrstuden
5160 1.1.1.1.2.2 wrstuden
5161 1.1.1.1.2.2 wrstuden int
5162 1.1.1.1.2.2 wrstuden main ()
5163 1.1.1.1.2.2 wrstuden {
5164 1.1.1.1.2.2 wrstuden #ifndef tgoto
5165 1.1.1.1.2.2 wrstuden (void) tgoto;
5166 1.1.1.1.2.2 wrstuden #endif
5167 1.1.1.1.2.2 wrstuden
5168 1.1.1.1.2.2 wrstuden ;
5169 1.1.1.1.2.2 wrstuden return 0;
5170 1.1.1.1.2.2 wrstuden }
5171 1.1.1.1.2.2 wrstuden _ACEOF
5172 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
5173 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
5174 1.1.1.1.2.2 wrstuden case "(($ac_try" in
5175 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5176 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
5177 1.1.1.1.2.2 wrstuden esac
5178 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5179 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
5180 1.1.1.1.2.2 wrstuden ac_status=$?
5181 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
5182 1.1.1.1.2.2 wrstuden rm -f conftest.er1
5183 1.1.1.1.2.2 wrstuden cat conftest.err >&5
5184 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
5186 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
5187 1.1.1.1.2.2 wrstuden test ! -s conftest.err
5188 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
5189 1.1.1.1.2.2 wrstuden ac_cv_have_decl_tgoto=yes
5190 1.1.1.1.2.2 wrstuden else
5191 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
5192 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
5193 1.1.1.1.2.2 wrstuden
5194 1.1.1.1.2.2 wrstuden ac_cv_have_decl_tgoto=no
5195 1.1.1.1.2.2 wrstuden fi
5196 1.1.1.1.2.2 wrstuden
5197 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5198 1.1.1.1.2.2 wrstuden fi
5199 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tgoto" >&5
5200 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_have_decl_tgoto" >&6; }
5201 1.1.1.1.2.2 wrstuden if test $ac_cv_have_decl_tgoto = yes; then
5202 1.1.1.1.2.2 wrstuden
5203 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5204 1.1.1.1.2.2 wrstuden #define HAVE_DECL_TGOTO 1
5205 1.1.1.1.2.2 wrstuden _ACEOF
5206 1.1.1.1.2.2 wrstuden
5207 1.1.1.1.2.2 wrstuden
5208 1.1.1.1.2.2 wrstuden else
5209 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5210 1.1.1.1.2.2 wrstuden #define HAVE_DECL_TGOTO 0
5211 1.1.1.1.2.2 wrstuden _ACEOF
5212 1.1.1.1.2.2 wrstuden
5213 1.1.1.1.2.2 wrstuden
5214 1.1.1.1.2.2 wrstuden fi
5215 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking whether tgetent is declared" >&5
5216 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking whether tgetent is declared... $ECHO_C" >&6; }
5217 1.1.1.1.2.2 wrstuden if test "${ac_cv_have_decl_tgetent+set}" = set; then
5218 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
5219 1.1.1.1.2.2 wrstuden else
5220 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
5221 1.1.1.1.2.2 wrstuden /* confdefs.h. */
5222 1.1.1.1.2.2 wrstuden _ACEOF
5223 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
5224 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
5225 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
5226 1.1.1.1.2.2 wrstuden #if HAVE_CURSES_H && HAVE_TERM_H
5227 1.1.1.1.2.2 wrstuden #include <curses.h>
5228 1.1.1.1.2.2 wrstuden #include <term.h>
5229 1.1.1.1.2.2 wrstuden #else
5230 1.1.1.1.2.2 wrstuden #if HAVE_TERMCAP_H
5231 1.1.1.1.2.2 wrstuden #include <termcap.h>
5232 1.1.1.1.2.2 wrstuden #else
5233 1.1.1.1.2.2 wrstuden #if HAVE_CURSES_H
5234 1.1.1.1.2.2 wrstuden #include <curses.h>
5235 1.1.1.1.2.2 wrstuden #endif
5236 1.1.1.1.2.2 wrstuden #endif
5237 1.1.1.1.2.2 wrstuden #endif
5238 1.1.1.1.2.2 wrstuden
5239 1.1.1.1.2.2 wrstuden
5240 1.1.1.1.2.2 wrstuden int
5241 1.1.1.1.2.2 wrstuden main ()
5242 1.1.1.1.2.2 wrstuden {
5243 1.1.1.1.2.2 wrstuden #ifndef tgetent
5244 1.1.1.1.2.2 wrstuden (void) tgetent;
5245 1.1.1.1.2.2 wrstuden #endif
5246 1.1.1.1.2.2 wrstuden
5247 1.1.1.1.2.2 wrstuden ;
5248 1.1.1.1.2.2 wrstuden return 0;
5249 1.1.1.1.2.2 wrstuden }
5250 1.1.1.1.2.2 wrstuden _ACEOF
5251 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
5252 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
5253 1.1.1.1.2.2 wrstuden case "(($ac_try" in
5254 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5255 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
5256 1.1.1.1.2.2 wrstuden esac
5257 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5258 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
5259 1.1.1.1.2.2 wrstuden ac_status=$?
5260 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
5261 1.1.1.1.2.2 wrstuden rm -f conftest.er1
5262 1.1.1.1.2.2 wrstuden cat conftest.err >&5
5263 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
5265 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
5266 1.1.1.1.2.2 wrstuden test ! -s conftest.err
5267 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
5268 1.1.1.1.2.2 wrstuden ac_cv_have_decl_tgetent=yes
5269 1.1.1.1.2.2 wrstuden else
5270 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
5271 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
5272 1.1.1.1.2.2 wrstuden
5273 1.1.1.1.2.2 wrstuden ac_cv_have_decl_tgetent=no
5274 1.1.1.1.2.2 wrstuden fi
5275 1.1.1.1.2.2 wrstuden
5276 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5277 1.1.1.1.2.2 wrstuden fi
5278 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tgetent" >&5
5279 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_have_decl_tgetent" >&6; }
5280 1.1.1.1.2.2 wrstuden if test $ac_cv_have_decl_tgetent = yes; then
5281 1.1.1.1.2.2 wrstuden
5282 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5283 1.1.1.1.2.2 wrstuden #define HAVE_DECL_TGETENT 1
5284 1.1.1.1.2.2 wrstuden _ACEOF
5285 1.1.1.1.2.2 wrstuden
5286 1.1.1.1.2.2 wrstuden
5287 1.1.1.1.2.2 wrstuden else
5288 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5289 1.1.1.1.2.2 wrstuden #define HAVE_DECL_TGETENT 0
5290 1.1.1.1.2.2 wrstuden _ACEOF
5291 1.1.1.1.2.2 wrstuden
5292 1.1.1.1.2.2 wrstuden
5293 1.1.1.1.2.2 wrstuden fi
5294 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking whether tgetflag is declared" >&5
5295 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking whether tgetflag is declared... $ECHO_C" >&6; }
5296 1.1.1.1.2.2 wrstuden if test "${ac_cv_have_decl_tgetflag+set}" = set; then
5297 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
5298 1.1.1.1.2.2 wrstuden else
5299 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
5300 1.1.1.1.2.2 wrstuden /* confdefs.h. */
5301 1.1.1.1.2.2 wrstuden _ACEOF
5302 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
5303 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
5304 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
5305 1.1.1.1.2.2 wrstuden #if HAVE_CURSES_H && HAVE_TERM_H
5306 1.1.1.1.2.2 wrstuden #include <curses.h>
5307 1.1.1.1.2.2 wrstuden #include <term.h>
5308 1.1.1.1.2.2 wrstuden #else
5309 1.1.1.1.2.2 wrstuden #if HAVE_TERMCAP_H
5310 1.1.1.1.2.2 wrstuden #include <termcap.h>
5311 1.1.1.1.2.2 wrstuden #else
5312 1.1.1.1.2.2 wrstuden #if HAVE_CURSES_H
5313 1.1.1.1.2.2 wrstuden #include <curses.h>
5314 1.1.1.1.2.2 wrstuden #endif
5315 1.1.1.1.2.2 wrstuden #endif
5316 1.1.1.1.2.2 wrstuden #endif
5317 1.1.1.1.2.2 wrstuden
5318 1.1.1.1.2.2 wrstuden
5319 1.1.1.1.2.2 wrstuden int
5320 1.1.1.1.2.2 wrstuden main ()
5321 1.1.1.1.2.2 wrstuden {
5322 1.1.1.1.2.2 wrstuden #ifndef tgetflag
5323 1.1.1.1.2.2 wrstuden (void) tgetflag;
5324 1.1.1.1.2.2 wrstuden #endif
5325 1.1.1.1.2.2 wrstuden
5326 1.1.1.1.2.2 wrstuden ;
5327 1.1.1.1.2.2 wrstuden return 0;
5328 1.1.1.1.2.2 wrstuden }
5329 1.1.1.1.2.2 wrstuden _ACEOF
5330 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
5331 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
5332 1.1.1.1.2.2 wrstuden case "(($ac_try" in
5333 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5334 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
5335 1.1.1.1.2.2 wrstuden esac
5336 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5337 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
5338 1.1.1.1.2.2 wrstuden ac_status=$?
5339 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
5340 1.1.1.1.2.2 wrstuden rm -f conftest.er1
5341 1.1.1.1.2.2 wrstuden cat conftest.err >&5
5342 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
5344 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
5345 1.1.1.1.2.2 wrstuden test ! -s conftest.err
5346 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
5347 1.1.1.1.2.2 wrstuden ac_cv_have_decl_tgetflag=yes
5348 1.1.1.1.2.2 wrstuden else
5349 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
5350 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
5351 1.1.1.1.2.2 wrstuden
5352 1.1.1.1.2.2 wrstuden ac_cv_have_decl_tgetflag=no
5353 1.1.1.1.2.2 wrstuden fi
5354 1.1.1.1.2.2 wrstuden
5355 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5356 1.1.1.1.2.2 wrstuden fi
5357 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tgetflag" >&5
5358 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_have_decl_tgetflag" >&6; }
5359 1.1.1.1.2.2 wrstuden if test $ac_cv_have_decl_tgetflag = yes; then
5360 1.1.1.1.2.2 wrstuden
5361 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5362 1.1.1.1.2.2 wrstuden #define HAVE_DECL_TGETFLAG 1
5363 1.1.1.1.2.2 wrstuden _ACEOF
5364 1.1.1.1.2.2 wrstuden
5365 1.1.1.1.2.2 wrstuden
5366 1.1.1.1.2.2 wrstuden else
5367 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5368 1.1.1.1.2.2 wrstuden #define HAVE_DECL_TGETFLAG 0
5369 1.1.1.1.2.2 wrstuden _ACEOF
5370 1.1.1.1.2.2 wrstuden
5371 1.1.1.1.2.2 wrstuden
5372 1.1.1.1.2.2 wrstuden fi
5373 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking whether tgetnum is declared" >&5
5374 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking whether tgetnum is declared... $ECHO_C" >&6; }
5375 1.1.1.1.2.2 wrstuden if test "${ac_cv_have_decl_tgetnum+set}" = set; then
5376 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
5377 1.1.1.1.2.2 wrstuden else
5378 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
5379 1.1.1.1.2.2 wrstuden /* confdefs.h. */
5380 1.1.1.1.2.2 wrstuden _ACEOF
5381 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
5382 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
5383 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
5384 1.1.1.1.2.2 wrstuden #if HAVE_CURSES_H && HAVE_TERM_H
5385 1.1.1.1.2.2 wrstuden #include <curses.h>
5386 1.1.1.1.2.2 wrstuden #include <term.h>
5387 1.1.1.1.2.2 wrstuden #else
5388 1.1.1.1.2.2 wrstuden #if HAVE_TERMCAP_H
5389 1.1.1.1.2.2 wrstuden #include <termcap.h>
5390 1.1.1.1.2.2 wrstuden #else
5391 1.1.1.1.2.2 wrstuden #if HAVE_CURSES_H
5392 1.1.1.1.2.2 wrstuden #include <curses.h>
5393 1.1.1.1.2.2 wrstuden #endif
5394 1.1.1.1.2.2 wrstuden #endif
5395 1.1.1.1.2.2 wrstuden #endif
5396 1.1.1.1.2.2 wrstuden
5397 1.1.1.1.2.2 wrstuden
5398 1.1.1.1.2.2 wrstuden int
5399 1.1.1.1.2.2 wrstuden main ()
5400 1.1.1.1.2.2 wrstuden {
5401 1.1.1.1.2.2 wrstuden #ifndef tgetnum
5402 1.1.1.1.2.2 wrstuden (void) tgetnum;
5403 1.1.1.1.2.2 wrstuden #endif
5404 1.1.1.1.2.2 wrstuden
5405 1.1.1.1.2.2 wrstuden ;
5406 1.1.1.1.2.2 wrstuden return 0;
5407 1.1.1.1.2.2 wrstuden }
5408 1.1.1.1.2.2 wrstuden _ACEOF
5409 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
5410 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
5411 1.1.1.1.2.2 wrstuden case "(($ac_try" in
5412 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5413 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
5414 1.1.1.1.2.2 wrstuden esac
5415 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5416 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
5417 1.1.1.1.2.2 wrstuden ac_status=$?
5418 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
5419 1.1.1.1.2.2 wrstuden rm -f conftest.er1
5420 1.1.1.1.2.2 wrstuden cat conftest.err >&5
5421 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
5423 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
5424 1.1.1.1.2.2 wrstuden test ! -s conftest.err
5425 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
5426 1.1.1.1.2.2 wrstuden ac_cv_have_decl_tgetnum=yes
5427 1.1.1.1.2.2 wrstuden else
5428 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
5429 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
5430 1.1.1.1.2.2 wrstuden
5431 1.1.1.1.2.2 wrstuden ac_cv_have_decl_tgetnum=no
5432 1.1.1.1.2.2 wrstuden fi
5433 1.1.1.1.2.2 wrstuden
5434 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5435 1.1.1.1.2.2 wrstuden fi
5436 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tgetnum" >&5
5437 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_have_decl_tgetnum" >&6; }
5438 1.1.1.1.2.2 wrstuden if test $ac_cv_have_decl_tgetnum = yes; then
5439 1.1.1.1.2.2 wrstuden
5440 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5441 1.1.1.1.2.2 wrstuden #define HAVE_DECL_TGETNUM 1
5442 1.1.1.1.2.2 wrstuden _ACEOF
5443 1.1.1.1.2.2 wrstuden
5444 1.1.1.1.2.2 wrstuden
5445 1.1.1.1.2.2 wrstuden else
5446 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5447 1.1.1.1.2.2 wrstuden #define HAVE_DECL_TGETNUM 0
5448 1.1.1.1.2.2 wrstuden _ACEOF
5449 1.1.1.1.2.2 wrstuden
5450 1.1.1.1.2.2 wrstuden
5451 1.1.1.1.2.2 wrstuden fi
5452 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking whether tgetstr is declared" >&5
5453 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking whether tgetstr is declared... $ECHO_C" >&6; }
5454 1.1.1.1.2.2 wrstuden if test "${ac_cv_have_decl_tgetstr+set}" = set; then
5455 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
5456 1.1.1.1.2.2 wrstuden else
5457 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
5458 1.1.1.1.2.2 wrstuden /* confdefs.h. */
5459 1.1.1.1.2.2 wrstuden _ACEOF
5460 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
5461 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
5462 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
5463 1.1.1.1.2.2 wrstuden #if HAVE_CURSES_H && HAVE_TERM_H
5464 1.1.1.1.2.2 wrstuden #include <curses.h>
5465 1.1.1.1.2.2 wrstuden #include <term.h>
5466 1.1.1.1.2.2 wrstuden #else
5467 1.1.1.1.2.2 wrstuden #if HAVE_TERMCAP_H
5468 1.1.1.1.2.2 wrstuden #include <termcap.h>
5469 1.1.1.1.2.2 wrstuden #else
5470 1.1.1.1.2.2 wrstuden #if HAVE_CURSES_H
5471 1.1.1.1.2.2 wrstuden #include <curses.h>
5472 1.1.1.1.2.2 wrstuden #endif
5473 1.1.1.1.2.2 wrstuden #endif
5474 1.1.1.1.2.2 wrstuden #endif
5475 1.1.1.1.2.2 wrstuden
5476 1.1.1.1.2.2 wrstuden
5477 1.1.1.1.2.2 wrstuden int
5478 1.1.1.1.2.2 wrstuden main ()
5479 1.1.1.1.2.2 wrstuden {
5480 1.1.1.1.2.2 wrstuden #ifndef tgetstr
5481 1.1.1.1.2.2 wrstuden (void) tgetstr;
5482 1.1.1.1.2.2 wrstuden #endif
5483 1.1.1.1.2.2 wrstuden
5484 1.1.1.1.2.2 wrstuden ;
5485 1.1.1.1.2.2 wrstuden return 0;
5486 1.1.1.1.2.2 wrstuden }
5487 1.1.1.1.2.2 wrstuden _ACEOF
5488 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
5489 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
5490 1.1.1.1.2.2 wrstuden case "(($ac_try" in
5491 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5492 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
5493 1.1.1.1.2.2 wrstuden esac
5494 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5495 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
5496 1.1.1.1.2.2 wrstuden ac_status=$?
5497 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
5498 1.1.1.1.2.2 wrstuden rm -f conftest.er1
5499 1.1.1.1.2.2 wrstuden cat conftest.err >&5
5500 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
5502 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
5503 1.1.1.1.2.2 wrstuden test ! -s conftest.err
5504 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
5505 1.1.1.1.2.2 wrstuden ac_cv_have_decl_tgetstr=yes
5506 1.1.1.1.2.2 wrstuden else
5507 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
5508 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
5509 1.1.1.1.2.2 wrstuden
5510 1.1.1.1.2.2 wrstuden ac_cv_have_decl_tgetstr=no
5511 1.1.1.1.2.2 wrstuden fi
5512 1.1.1.1.2.2 wrstuden
5513 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5514 1.1.1.1.2.2 wrstuden fi
5515 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tgetstr" >&5
5516 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_have_decl_tgetstr" >&6; }
5517 1.1.1.1.2.2 wrstuden if test $ac_cv_have_decl_tgetstr = yes; then
5518 1.1.1.1.2.2 wrstuden
5519 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5520 1.1.1.1.2.2 wrstuden #define HAVE_DECL_TGETSTR 1
5521 1.1.1.1.2.2 wrstuden _ACEOF
5522 1.1.1.1.2.2 wrstuden
5523 1.1.1.1.2.2 wrstuden
5524 1.1.1.1.2.2 wrstuden else
5525 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5526 1.1.1.1.2.2 wrstuden #define HAVE_DECL_TGETSTR 0
5527 1.1.1.1.2.2 wrstuden _ACEOF
5528 1.1.1.1.2.2 wrstuden
5529 1.1.1.1.2.2 wrstuden
5530 1.1.1.1.2.2 wrstuden fi
5531 1.1.1.1.2.2 wrstuden
5532 1.1.1.1.2.2 wrstuden
5533 1.1.1.1.2.2 wrstuden
5534 1.1.1.1.2.2 wrstuden # The third argument to tputs is a putc-like function that takes an
5535 1.1.1.1.2.2 wrstuden # argument. On most systems that argument is an int, but on some it
5536 1.1.1.1.2.2 wrstuden # is a char. Determine which.
5537 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking argument type of tputs putc function" >&5
5538 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking argument type of tputs putc function... $ECHO_C" >&6; }
5539 1.1.1.1.2.2 wrstuden _savedwerror_flag=$ac_c_werror_flag
5540 1.1.1.1.2.2 wrstuden ac_c_werror_flag=yes
5541 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
5542 1.1.1.1.2.2 wrstuden /* confdefs.h. */
5543 1.1.1.1.2.2 wrstuden _ACEOF
5544 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
5545 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
5546 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
5547 1.1.1.1.2.2 wrstuden #ifdef HAVE_TERMCAP_H
5548 1.1.1.1.2.2 wrstuden #include <termcap.h>
5549 1.1.1.1.2.2 wrstuden #endif
5550 1.1.1.1.2.2 wrstuden #ifdef HAVE_CURSES_H
5551 1.1.1.1.2.2 wrstuden #include <curses.h>
5552 1.1.1.1.2.2 wrstuden #endif
5553 1.1.1.1.2.2 wrstuden #ifdef HAVE_TERM_H
5554 1.1.1.1.2.2 wrstuden #include <term.h>
5555 1.1.1.1.2.2 wrstuden #endif
5556 1.1.1.1.2.2 wrstuden int f(char i) { }
5557 1.1.1.1.2.2 wrstuden int
5558 1.1.1.1.2.2 wrstuden main ()
5559 1.1.1.1.2.2 wrstuden {
5560 1.1.1.1.2.2 wrstuden tputs("a", 1, f);
5561 1.1.1.1.2.2 wrstuden ;
5562 1.1.1.1.2.2 wrstuden return 0;
5563 1.1.1.1.2.2 wrstuden }
5564 1.1.1.1.2.2 wrstuden _ACEOF
5565 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
5566 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
5567 1.1.1.1.2.2 wrstuden case "(($ac_try" in
5568 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5569 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
5570 1.1.1.1.2.2 wrstuden esac
5571 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5572 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
5573 1.1.1.1.2.2 wrstuden ac_status=$?
5574 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
5575 1.1.1.1.2.2 wrstuden rm -f conftest.er1
5576 1.1.1.1.2.2 wrstuden cat conftest.err >&5
5577 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
5579 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
5580 1.1.1.1.2.2 wrstuden test ! -s conftest.err
5581 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
5582 1.1.1.1.2.2 wrstuden ac_cv_type_tputs_putc="char"
5583 1.1.1.1.2.2 wrstuden else
5584 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
5585 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
5586 1.1.1.1.2.2 wrstuden
5587 1.1.1.1.2.2 wrstuden ac_cv_type_tputs_putc="int"
5588 1.1.1.1.2.2 wrstuden fi
5589 1.1.1.1.2.2 wrstuden
5590 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5591 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_type_tputs_putc" >&5
5592 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_type_tputs_putc" >&6; }
5593 1.1.1.1.2.2 wrstuden
5594 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5595 1.1.1.1.2.2 wrstuden #define TPUTS_PUTC_ARGTYPE $ac_cv_type_tputs_putc
5596 1.1.1.1.2.2 wrstuden _ACEOF
5597 1.1.1.1.2.2 wrstuden
5598 1.1.1.1.2.2 wrstuden ac_c_werror_flag=$_savedwerror_flag
5599 1.1.1.1.2.2 wrstuden
5600 1.1.1.1.2.2 wrstuden # Determine presence of needed types
5601 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5602 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
5603 1.1.1.1.2.2 wrstuden if test "${ac_cv_type_signal+set}" = set; then
5604 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
5605 1.1.1.1.2.2 wrstuden else
5606 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
5607 1.1.1.1.2.2 wrstuden /* confdefs.h. */
5608 1.1.1.1.2.2 wrstuden _ACEOF
5609 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
5610 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
5611 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
5612 1.1.1.1.2.2 wrstuden #include <sys/types.h>
5613 1.1.1.1.2.2 wrstuden #include <signal.h>
5614 1.1.1.1.2.2 wrstuden
5615 1.1.1.1.2.2 wrstuden int
5616 1.1.1.1.2.2 wrstuden main ()
5617 1.1.1.1.2.2 wrstuden {
5618 1.1.1.1.2.2 wrstuden return *(signal (0, 0)) (0) == 1;
5619 1.1.1.1.2.2 wrstuden ;
5620 1.1.1.1.2.2 wrstuden return 0;
5621 1.1.1.1.2.2 wrstuden }
5622 1.1.1.1.2.2 wrstuden _ACEOF
5623 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
5624 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
5625 1.1.1.1.2.2 wrstuden case "(($ac_try" in
5626 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5627 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
5628 1.1.1.1.2.2 wrstuden esac
5629 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5630 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
5631 1.1.1.1.2.2 wrstuden ac_status=$?
5632 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
5633 1.1.1.1.2.2 wrstuden rm -f conftest.er1
5634 1.1.1.1.2.2 wrstuden cat conftest.err >&5
5635 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
5637 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
5638 1.1.1.1.2.2 wrstuden test ! -s conftest.err
5639 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
5640 1.1.1.1.2.2 wrstuden ac_cv_type_signal=int
5641 1.1.1.1.2.2 wrstuden else
5642 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
5643 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
5644 1.1.1.1.2.2 wrstuden
5645 1.1.1.1.2.2 wrstuden ac_cv_type_signal=void
5646 1.1.1.1.2.2 wrstuden fi
5647 1.1.1.1.2.2 wrstuden
5648 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5649 1.1.1.1.2.2 wrstuden fi
5650 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5651 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_type_signal" >&6; }
5652 1.1.1.1.2.2 wrstuden
5653 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5654 1.1.1.1.2.2 wrstuden #define RETSIGTYPE $ac_cv_type_signal
5655 1.1.1.1.2.2 wrstuden _ACEOF
5656 1.1.1.1.2.2 wrstuden
5657 1.1.1.1.2.2 wrstuden
5658 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for id_t" >&5
5659 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for id_t... $ECHO_C" >&6; }
5660 1.1.1.1.2.2 wrstuden if test "${ac_cv_type_id_t+set}" = set; then
5661 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
5662 1.1.1.1.2.2 wrstuden else
5663 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
5664 1.1.1.1.2.2 wrstuden /* confdefs.h. */
5665 1.1.1.1.2.2 wrstuden _ACEOF
5666 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
5667 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
5668 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
5669 1.1.1.1.2.2 wrstuden $ac_includes_default
5670 1.1.1.1.2.2 wrstuden typedef id_t ac__type_new_;
5671 1.1.1.1.2.2 wrstuden int
5672 1.1.1.1.2.2 wrstuden main ()
5673 1.1.1.1.2.2 wrstuden {
5674 1.1.1.1.2.2 wrstuden if ((ac__type_new_ *) 0)
5675 1.1.1.1.2.2 wrstuden return 0;
5676 1.1.1.1.2.2 wrstuden if (sizeof (ac__type_new_))
5677 1.1.1.1.2.2 wrstuden return 0;
5678 1.1.1.1.2.2 wrstuden ;
5679 1.1.1.1.2.2 wrstuden return 0;
5680 1.1.1.1.2.2 wrstuden }
5681 1.1.1.1.2.2 wrstuden _ACEOF
5682 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
5683 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
5684 1.1.1.1.2.2 wrstuden case "(($ac_try" in
5685 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5686 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
5687 1.1.1.1.2.2 wrstuden esac
5688 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5689 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
5690 1.1.1.1.2.2 wrstuden ac_status=$?
5691 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
5692 1.1.1.1.2.2 wrstuden rm -f conftest.er1
5693 1.1.1.1.2.2 wrstuden cat conftest.err >&5
5694 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
5696 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
5697 1.1.1.1.2.2 wrstuden test ! -s conftest.err
5698 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
5699 1.1.1.1.2.2 wrstuden ac_cv_type_id_t=yes
5700 1.1.1.1.2.2 wrstuden else
5701 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
5702 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
5703 1.1.1.1.2.2 wrstuden
5704 1.1.1.1.2.2 wrstuden ac_cv_type_id_t=no
5705 1.1.1.1.2.2 wrstuden fi
5706 1.1.1.1.2.2 wrstuden
5707 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5708 1.1.1.1.2.2 wrstuden fi
5709 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_type_id_t" >&5
5710 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_type_id_t" >&6; }
5711 1.1.1.1.2.2 wrstuden if test $ac_cv_type_id_t = yes; then
5712 1.1.1.1.2.2 wrstuden
5713 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5714 1.1.1.1.2.2 wrstuden #define HAVE_ID_T 1
5715 1.1.1.1.2.2 wrstuden _ACEOF
5716 1.1.1.1.2.2 wrstuden
5717 1.1.1.1.2.2 wrstuden
5718 1.1.1.1.2.2 wrstuden fi
5719 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for lwpid_t" >&5
5720 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for lwpid_t... $ECHO_C" >&6; }
5721 1.1.1.1.2.2 wrstuden if test "${ac_cv_type_lwpid_t+set}" = set; then
5722 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
5723 1.1.1.1.2.2 wrstuden else
5724 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
5725 1.1.1.1.2.2 wrstuden /* confdefs.h. */
5726 1.1.1.1.2.2 wrstuden _ACEOF
5727 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
5728 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
5729 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
5730 1.1.1.1.2.2 wrstuden $ac_includes_default
5731 1.1.1.1.2.2 wrstuden typedef lwpid_t ac__type_new_;
5732 1.1.1.1.2.2 wrstuden int
5733 1.1.1.1.2.2 wrstuden main ()
5734 1.1.1.1.2.2 wrstuden {
5735 1.1.1.1.2.2 wrstuden if ((ac__type_new_ *) 0)
5736 1.1.1.1.2.2 wrstuden return 0;
5737 1.1.1.1.2.2 wrstuden if (sizeof (ac__type_new_))
5738 1.1.1.1.2.2 wrstuden return 0;
5739 1.1.1.1.2.2 wrstuden ;
5740 1.1.1.1.2.2 wrstuden return 0;
5741 1.1.1.1.2.2 wrstuden }
5742 1.1.1.1.2.2 wrstuden _ACEOF
5743 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
5744 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
5745 1.1.1.1.2.2 wrstuden case "(($ac_try" in
5746 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5747 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
5748 1.1.1.1.2.2 wrstuden esac
5749 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5750 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
5751 1.1.1.1.2.2 wrstuden ac_status=$?
5752 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
5753 1.1.1.1.2.2 wrstuden rm -f conftest.er1
5754 1.1.1.1.2.2 wrstuden cat conftest.err >&5
5755 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
5757 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
5758 1.1.1.1.2.2 wrstuden test ! -s conftest.err
5759 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
5760 1.1.1.1.2.2 wrstuden ac_cv_type_lwpid_t=yes
5761 1.1.1.1.2.2 wrstuden else
5762 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
5763 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
5764 1.1.1.1.2.2 wrstuden
5765 1.1.1.1.2.2 wrstuden ac_cv_type_lwpid_t=no
5766 1.1.1.1.2.2 wrstuden fi
5767 1.1.1.1.2.2 wrstuden
5768 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5769 1.1.1.1.2.2 wrstuden fi
5770 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_type_lwpid_t" >&5
5771 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_type_lwpid_t" >&6; }
5772 1.1.1.1.2.2 wrstuden if test $ac_cv_type_lwpid_t = yes; then
5773 1.1.1.1.2.2 wrstuden
5774 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5775 1.1.1.1.2.2 wrstuden #define HAVE_LWPID_T 1
5776 1.1.1.1.2.2 wrstuden _ACEOF
5777 1.1.1.1.2.2 wrstuden
5778 1.1.1.1.2.2 wrstuden
5779 1.1.1.1.2.2 wrstuden fi
5780 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for pid_t" >&5
5781 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
5782 1.1.1.1.2.2 wrstuden if test "${ac_cv_type_pid_t+set}" = set; then
5783 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
5784 1.1.1.1.2.2 wrstuden else
5785 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
5786 1.1.1.1.2.2 wrstuden /* confdefs.h. */
5787 1.1.1.1.2.2 wrstuden _ACEOF
5788 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
5789 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
5790 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
5791 1.1.1.1.2.2 wrstuden $ac_includes_default
5792 1.1.1.1.2.2 wrstuden typedef pid_t ac__type_new_;
5793 1.1.1.1.2.2 wrstuden int
5794 1.1.1.1.2.2 wrstuden main ()
5795 1.1.1.1.2.2 wrstuden {
5796 1.1.1.1.2.2 wrstuden if ((ac__type_new_ *) 0)
5797 1.1.1.1.2.2 wrstuden return 0;
5798 1.1.1.1.2.2 wrstuden if (sizeof (ac__type_new_))
5799 1.1.1.1.2.2 wrstuden return 0;
5800 1.1.1.1.2.2 wrstuden ;
5801 1.1.1.1.2.2 wrstuden return 0;
5802 1.1.1.1.2.2 wrstuden }
5803 1.1.1.1.2.2 wrstuden _ACEOF
5804 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
5805 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
5806 1.1.1.1.2.2 wrstuden case "(($ac_try" in
5807 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5808 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
5809 1.1.1.1.2.2 wrstuden esac
5810 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5811 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
5812 1.1.1.1.2.2 wrstuden ac_status=$?
5813 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
5814 1.1.1.1.2.2 wrstuden rm -f conftest.er1
5815 1.1.1.1.2.2 wrstuden cat conftest.err >&5
5816 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
5817 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
5818 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
5819 1.1.1.1.2.2 wrstuden test ! -s conftest.err
5820 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
5821 1.1.1.1.2.2 wrstuden ac_cv_type_pid_t=yes
5822 1.1.1.1.2.2 wrstuden else
5823 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
5824 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
5825 1.1.1.1.2.2 wrstuden
5826 1.1.1.1.2.2 wrstuden ac_cv_type_pid_t=no
5827 1.1.1.1.2.2 wrstuden fi
5828 1.1.1.1.2.2 wrstuden
5829 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5830 1.1.1.1.2.2 wrstuden fi
5831 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5832 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
5833 1.1.1.1.2.2 wrstuden if test $ac_cv_type_pid_t = yes; then
5834 1.1.1.1.2.2 wrstuden
5835 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5836 1.1.1.1.2.2 wrstuden #define HAVE_PID_T 1
5837 1.1.1.1.2.2 wrstuden _ACEOF
5838 1.1.1.1.2.2 wrstuden
5839 1.1.1.1.2.2 wrstuden
5840 1.1.1.1.2.2 wrstuden fi
5841 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for time_t" >&5
5842 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for time_t... $ECHO_C" >&6; }
5843 1.1.1.1.2.2 wrstuden if test "${ac_cv_type_time_t+set}" = set; then
5844 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
5845 1.1.1.1.2.2 wrstuden else
5846 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
5847 1.1.1.1.2.2 wrstuden /* confdefs.h. */
5848 1.1.1.1.2.2 wrstuden _ACEOF
5849 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
5850 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
5851 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
5852 1.1.1.1.2.2 wrstuden $ac_includes_default
5853 1.1.1.1.2.2 wrstuden typedef time_t ac__type_new_;
5854 1.1.1.1.2.2 wrstuden int
5855 1.1.1.1.2.2 wrstuden main ()
5856 1.1.1.1.2.2 wrstuden {
5857 1.1.1.1.2.2 wrstuden if ((ac__type_new_ *) 0)
5858 1.1.1.1.2.2 wrstuden return 0;
5859 1.1.1.1.2.2 wrstuden if (sizeof (ac__type_new_))
5860 1.1.1.1.2.2 wrstuden return 0;
5861 1.1.1.1.2.2 wrstuden ;
5862 1.1.1.1.2.2 wrstuden return 0;
5863 1.1.1.1.2.2 wrstuden }
5864 1.1.1.1.2.2 wrstuden _ACEOF
5865 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
5866 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
5867 1.1.1.1.2.2 wrstuden case "(($ac_try" in
5868 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5869 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
5870 1.1.1.1.2.2 wrstuden esac
5871 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5872 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
5873 1.1.1.1.2.2 wrstuden ac_status=$?
5874 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
5875 1.1.1.1.2.2 wrstuden rm -f conftest.er1
5876 1.1.1.1.2.2 wrstuden cat conftest.err >&5
5877 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
5879 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
5880 1.1.1.1.2.2 wrstuden test ! -s conftest.err
5881 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
5882 1.1.1.1.2.2 wrstuden ac_cv_type_time_t=yes
5883 1.1.1.1.2.2 wrstuden else
5884 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
5885 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
5886 1.1.1.1.2.2 wrstuden
5887 1.1.1.1.2.2 wrstuden ac_cv_type_time_t=no
5888 1.1.1.1.2.2 wrstuden fi
5889 1.1.1.1.2.2 wrstuden
5890 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5891 1.1.1.1.2.2 wrstuden fi
5892 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_type_time_t" >&5
5893 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_type_time_t" >&6; }
5894 1.1.1.1.2.2 wrstuden if test $ac_cv_type_time_t = yes; then
5895 1.1.1.1.2.2 wrstuden
5896 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5897 1.1.1.1.2.2 wrstuden #define HAVE_TIME_T 1
5898 1.1.1.1.2.2 wrstuden _ACEOF
5899 1.1.1.1.2.2 wrstuden
5900 1.1.1.1.2.2 wrstuden
5901 1.1.1.1.2.2 wrstuden fi
5902 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for uid_t" >&5
5903 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for uid_t... $ECHO_C" >&6; }
5904 1.1.1.1.2.2 wrstuden if test "${ac_cv_type_uid_t+set}" = set; then
5905 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
5906 1.1.1.1.2.2 wrstuden else
5907 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
5908 1.1.1.1.2.2 wrstuden /* confdefs.h. */
5909 1.1.1.1.2.2 wrstuden _ACEOF
5910 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
5911 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
5912 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
5913 1.1.1.1.2.2 wrstuden $ac_includes_default
5914 1.1.1.1.2.2 wrstuden typedef uid_t ac__type_new_;
5915 1.1.1.1.2.2 wrstuden int
5916 1.1.1.1.2.2 wrstuden main ()
5917 1.1.1.1.2.2 wrstuden {
5918 1.1.1.1.2.2 wrstuden if ((ac__type_new_ *) 0)
5919 1.1.1.1.2.2 wrstuden return 0;
5920 1.1.1.1.2.2 wrstuden if (sizeof (ac__type_new_))
5921 1.1.1.1.2.2 wrstuden return 0;
5922 1.1.1.1.2.2 wrstuden ;
5923 1.1.1.1.2.2 wrstuden return 0;
5924 1.1.1.1.2.2 wrstuden }
5925 1.1.1.1.2.2 wrstuden _ACEOF
5926 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
5927 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
5928 1.1.1.1.2.2 wrstuden case "(($ac_try" in
5929 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5930 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
5931 1.1.1.1.2.2 wrstuden esac
5932 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5933 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
5934 1.1.1.1.2.2 wrstuden ac_status=$?
5935 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
5936 1.1.1.1.2.2 wrstuden rm -f conftest.er1
5937 1.1.1.1.2.2 wrstuden cat conftest.err >&5
5938 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
5940 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
5941 1.1.1.1.2.2 wrstuden test ! -s conftest.err
5942 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
5943 1.1.1.1.2.2 wrstuden ac_cv_type_uid_t=yes
5944 1.1.1.1.2.2 wrstuden else
5945 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
5946 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
5947 1.1.1.1.2.2 wrstuden
5948 1.1.1.1.2.2 wrstuden ac_cv_type_uid_t=no
5949 1.1.1.1.2.2 wrstuden fi
5950 1.1.1.1.2.2 wrstuden
5951 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5952 1.1.1.1.2.2 wrstuden fi
5953 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
5954 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
5955 1.1.1.1.2.2 wrstuden if test $ac_cv_type_uid_t = yes; then
5956 1.1.1.1.2.2 wrstuden
5957 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
5958 1.1.1.1.2.2 wrstuden #define HAVE_UID_T 1
5959 1.1.1.1.2.2 wrstuden _ACEOF
5960 1.1.1.1.2.2 wrstuden
5961 1.1.1.1.2.2 wrstuden
5962 1.1.1.1.2.2 wrstuden fi
5963 1.1.1.1.2.2 wrstuden
5964 1.1.1.1.2.2 wrstuden
5965 1.1.1.1.2.2 wrstuden # Checks for library functions.
5966 1.1.1.1.2.2 wrstuden
5967 1.1.1.1.2.2 wrstuden
5968 1.1.1.1.2.2 wrstuden
5969 1.1.1.1.2.2 wrstuden
5970 1.1.1.1.2.2 wrstuden
5971 1.1.1.1.2.2 wrstuden
5972 1.1.1.1.2.2 wrstuden
5973 1.1.1.1.2.2 wrstuden
5974 1.1.1.1.2.2 wrstuden
5975 1.1.1.1.2.2 wrstuden
5976 1.1.1.1.2.2 wrstuden
5977 1.1.1.1.2.2 wrstuden
5978 1.1.1.1.2.2 wrstuden
5979 1.1.1.1.2.2 wrstuden
5980 1.1.1.1.2.2 wrstuden
5981 1.1.1.1.2.2 wrstuden
5982 1.1.1.1.2.2 wrstuden
5983 1.1.1.1.2.2 wrstuden
5984 1.1.1.1.2.2 wrstuden for ac_func in getopt getopt_long gettimeofday memcpy setbuffer setpriority setvbuf strcasecmp strchr strerror snprintf sighold sigrelse sigaction sigprocmask sysconf uname vsnprintf
5985 1.1.1.1.2.2 wrstuden do
5986 1.1.1.1.2.2 wrstuden as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5987 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for $ac_func" >&5
5988 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5989 1.1.1.1.2.2 wrstuden if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5990 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
5991 1.1.1.1.2.2 wrstuden else
5992 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
5993 1.1.1.1.2.2 wrstuden /* confdefs.h. */
5994 1.1.1.1.2.2 wrstuden _ACEOF
5995 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
5996 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
5997 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
5998 1.1.1.1.2.2 wrstuden /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5999 1.1.1.1.2.2 wrstuden For example, HP-UX 11i <limits.h> declares gettimeofday. */
6000 1.1.1.1.2.2 wrstuden #define $ac_func innocuous_$ac_func
6001 1.1.1.1.2.2 wrstuden
6002 1.1.1.1.2.2 wrstuden /* System header to define __stub macros and hopefully few prototypes,
6003 1.1.1.1.2.2 wrstuden which can conflict with char $ac_func (); below.
6004 1.1.1.1.2.2 wrstuden Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6005 1.1.1.1.2.2 wrstuden <limits.h> exists even on freestanding compilers. */
6006 1.1.1.1.2.2 wrstuden
6007 1.1.1.1.2.2 wrstuden #ifdef __STDC__
6008 1.1.1.1.2.2 wrstuden # include <limits.h>
6009 1.1.1.1.2.2 wrstuden #else
6010 1.1.1.1.2.2 wrstuden # include <assert.h>
6011 1.1.1.1.2.2 wrstuden #endif
6012 1.1.1.1.2.2 wrstuden
6013 1.1.1.1.2.2 wrstuden #undef $ac_func
6014 1.1.1.1.2.2 wrstuden
6015 1.1.1.1.2.2 wrstuden /* Override any GCC internal prototype to avoid an error.
6016 1.1.1.1.2.2 wrstuden Use char because int might match the return type of a GCC
6017 1.1.1.1.2.2 wrstuden builtin and then its argument prototype would still apply. */
6018 1.1.1.1.2.2 wrstuden #ifdef __cplusplus
6019 1.1.1.1.2.2 wrstuden extern "C"
6020 1.1.1.1.2.2 wrstuden #endif
6021 1.1.1.1.2.2 wrstuden char $ac_func ();
6022 1.1.1.1.2.2 wrstuden /* The GNU C library defines this for functions which it implements
6023 1.1.1.1.2.2 wrstuden to always fail with ENOSYS. Some functions are actually named
6024 1.1.1.1.2.2 wrstuden something starting with __ and the normal name is an alias. */
6025 1.1.1.1.2.2 wrstuden #if defined __stub_$ac_func || defined __stub___$ac_func
6026 1.1.1.1.2.2 wrstuden choke me
6027 1.1.1.1.2.2 wrstuden #endif
6028 1.1.1.1.2.2 wrstuden
6029 1.1.1.1.2.2 wrstuden int
6030 1.1.1.1.2.2 wrstuden main ()
6031 1.1.1.1.2.2 wrstuden {
6032 1.1.1.1.2.2 wrstuden return $ac_func ();
6033 1.1.1.1.2.2 wrstuden ;
6034 1.1.1.1.2.2 wrstuden return 0;
6035 1.1.1.1.2.2 wrstuden }
6036 1.1.1.1.2.2 wrstuden _ACEOF
6037 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext conftest$ac_exeext
6038 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_link"
6039 1.1.1.1.2.2 wrstuden case "(($ac_try" in
6040 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6041 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
6042 1.1.1.1.2.2 wrstuden esac
6043 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6044 1.1.1.1.2.2 wrstuden (eval "$ac_link") 2>conftest.er1
6045 1.1.1.1.2.2 wrstuden ac_status=$?
6046 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
6047 1.1.1.1.2.2 wrstuden rm -f conftest.er1
6048 1.1.1.1.2.2 wrstuden cat conftest.err >&5
6049 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
6050 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
6051 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
6052 1.1.1.1.2.2 wrstuden test ! -s conftest.err
6053 1.1.1.1.2.2 wrstuden } && test -s conftest$ac_exeext &&
6054 1.1.1.1.2.2 wrstuden $as_test_x conftest$ac_exeext; then
6055 1.1.1.1.2.2 wrstuden eval "$as_ac_var=yes"
6056 1.1.1.1.2.2 wrstuden else
6057 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
6058 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
6059 1.1.1.1.2.2 wrstuden
6060 1.1.1.1.2.2 wrstuden eval "$as_ac_var=no"
6061 1.1.1.1.2.2 wrstuden fi
6062 1.1.1.1.2.2 wrstuden
6063 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6064 1.1.1.1.2.2 wrstuden conftest$ac_exeext conftest.$ac_ext
6065 1.1.1.1.2.2 wrstuden fi
6066 1.1.1.1.2.2 wrstuden ac_res=`eval echo '${'$as_ac_var'}'`
6067 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_res" >&5
6068 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_res" >&6; }
6069 1.1.1.1.2.2 wrstuden if test `eval echo '${'$as_ac_var'}'` = yes; then
6070 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
6071 1.1.1.1.2.2 wrstuden #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6072 1.1.1.1.2.2 wrstuden _ACEOF
6073 1.1.1.1.2.2 wrstuden
6074 1.1.1.1.2.2 wrstuden fi
6075 1.1.1.1.2.2 wrstuden done
6076 1.1.1.1.2.2 wrstuden
6077 1.1.1.1.2.2 wrstuden
6078 1.1.1.1.2.2 wrstuden # this is needed in the man page
6079 1.1.1.1.2.2 wrstuden if test "x$ac_cv_func_getopt_long" = "xyes"; then
6080 1.1.1.1.2.2 wrstuden HAVE_GETOPT_LONG=1
6081 1.1.1.1.2.2 wrstuden else
6082 1.1.1.1.2.2 wrstuden HAVE_GETOPT_LONG=0
6083 1.1.1.1.2.2 wrstuden fi
6084 1.1.1.1.2.2 wrstuden
6085 1.1.1.1.2.2 wrstuden
6086 1.1.1.1.2.2 wrstuden # if we dont have snprintf/vsnprint then we need to compile the alternate
6087 1.1.1.1.2.2 wrstuden if test "x$ac_cv_func_snprintf" != "xyes" -o "x$ac_cv_func_vsnprintf" != "xyes"; then
6088 1.1.1.1.2.2 wrstuden SRC="$SRC ap_snprintf.c"
6089 1.1.1.1.2.2 wrstuden OBJ="$OBJ ap_snprintf.o"
6090 1.1.1.1.2.2 wrstuden fi
6091 1.1.1.1.2.2 wrstuden
6092 1.1.1.1.2.2 wrstuden
6093 1.1.1.1.2.2 wrstuden # determine correct user, group, and mode
6094 1.1.1.1.2.2 wrstuden # these can be overridden later if need be
6095 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for correct ls options" >&5
6096 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for correct ls options... $ECHO_C" >&6; }
6097 1.1.1.1.2.2 wrstuden lslong="ls -l"
6098 1.1.1.1.2.2 wrstuden if test `$lslong -d . | wc -w` -lt 9; then
6099 1.1.1.1.2.2 wrstuden lslong="ls -lg"
6100 1.1.1.1.2.2 wrstuden fi
6101 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $lslong" >&5
6102 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$lslong" >&6; }
6103 1.1.1.1.2.2 wrstuden
6104 1.1.1.1.2.2 wrstuden
6105 1.1.1.1.2.2 wrstuden # determine correct module
6106 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for a platform module" >&5
6107 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for a platform module... $ECHO_C" >&6; }
6108 1.1.1.1.2.2 wrstuden if test "$with_module"; then
6109 1.1.1.1.2.2 wrstuden MODULE=$with_module
6110 1.1.1.1.2.2 wrstuden else
6111 1.1.1.1.2.2 wrstuden case $target_os in
6112 1.1.1.1.2.2 wrstuden aix4.2*) MODULE=aix43;;
6113 1.1.1.1.2.2 wrstuden aix4.3*) MODULE=aix43;;
6114 1.1.1.1.2.2 wrstuden aix5*) MODULE=aix5;;
6115 1.1.1.1.2.2 wrstuden dec-osf*) MODULE=decosf1;;
6116 1.1.1.1.2.2 wrstuden osf1*) MODULE=decosf1;;
6117 1.1.1.1.2.2 wrstuden osf4*) MODULE=decosf1;;
6118 1.1.1.1.2.2 wrstuden osf5*) MODULE=decosf1;;
6119 1.1.1.1.2.2 wrstuden freebsd*) MODULE=freebsd; USE_KMEM=1; USE_FPH=1;;
6120 1.1.1.1.2.2 wrstuden hpux7*) MODULE=hpux7;;
6121 1.1.1.1.2.2 wrstuden hpux8*) MODULE=hpux8;;
6122 1.1.1.1.2.2 wrstuden hpux9*) MODULE=hpux9;;
6123 1.1.1.1.2.2 wrstuden hpux10*) MODULE=hpux10;;
6124 1.1.1.1.2.2 wrstuden hpux11*) MODULE=hpux10;;
6125 1.1.1.1.2.2 wrstuden irix5*) MODULE=irix5;;
6126 1.1.1.1.2.2 wrstuden irix6*) MODULE=irixsgi;;
6127 1.1.1.1.2.2 wrstuden linux*) MODULE=linux; USE_FPH=1; SET_MODE=755;;
6128 1.1.1.1.2.2 wrstuden netbsd*) MODULE=netbsd; SET_MODE=755;;
6129 1.1.1.1.2.2 wrstuden solaris2*) MODULE=sunos5; USE_FPH=1; SET_MODE=755;;
6130 1.1.1.1.2.2 wrstuden sunos4*) MODULE=sunos4;;
6131 1.1.1.1.2.2 wrstuden sysv4*) MODULE=svr4;;
6132 1.1.1.1.2.2 wrstuden sysv5*) MODULE=svr5;;
6133 1.1.1.1.2.2 wrstuden darwin*)
6134 1.1.1.1.2.2 wrstuden echo "macosx"
6135 1.1.1.1.2.2 wrstuden echo "The macosx module is untested. Use at your own risk."
6136 1.1.1.1.2.2 wrstuden echo "If you really want to use this module, please run configure as follows:"
6137 1.1.1.1.2.2 wrstuden echo " ./configure --with-module=macosx"
6138 1.1.1.1.2.2 wrstuden { { echo "$as_me:$LINENO: error: macosx module unsupported" >&5
6139 1.1.1.1.2.2 wrstuden echo "$as_me: error: macosx module unsupported" >&2;}
6140 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; };;
6141 1.1.1.1.2.2 wrstuden *) echo "none"
6142 1.1.1.1.2.2 wrstuden echo "Configure doesn't recognize this system and doesn't know"
6143 1.1.1.1.2.2 wrstuden echo "what module to assign to it. Help the cause and run the"
6144 1.1.1.1.2.2 wrstuden echo "following command to let the maintainers know about this"
6145 1.1.1.1.2.2 wrstuden echo "deficiency! Thanks. Just cut and paste the following:"
6146 1.1.1.1.2.2 wrstuden echo "uname -a | mail -s $target_os bill (at] lefebvre.org"
6147 1.1.1.1.2.2 wrstuden echo ""
6148 1.1.1.1.2.2 wrstuden { { echo "$as_me:$LINENO: error: System type $target_os unrecognized" >&5
6149 1.1.1.1.2.2 wrstuden echo "$as_me: error: System type $target_os unrecognized" >&2;}
6150 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
6151 1.1.1.1.2.2 wrstuden esac
6152 1.1.1.1.2.2 wrstuden fi
6153 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $MODULE" >&5
6154 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$MODULE" >&6; }
6155 1.1.1.1.2.2 wrstuden SRC="$SRC machine/m_$MODULE.c"
6156 1.1.1.1.2.2 wrstuden OBJ="$OBJ m_$MODULE.o"
6157 1.1.1.1.2.2 wrstuden CLEAN_EXTRA=""
6158 1.1.1.1.2.2 wrstuden
6159 1.1.1.1.2.2 wrstuden
6160 1.1.1.1.2.2 wrstuden
6161 1.1.1.1.2.2 wrstuden
6162 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
6163 1.1.1.1.2.2 wrstuden #define MODULE "$MODULE"
6164 1.1.1.1.2.2 wrstuden _ACEOF
6165 1.1.1.1.2.2 wrstuden
6166 1.1.1.1.2.2 wrstuden
6167 1.1.1.1.2.2 wrstuden FIRST_RULE=/dev/null
6168 1.1.1.1.2.2 wrstuden INSTALL_RULE=config.default.makeinstall
6169 1.1.1.1.2.2 wrstuden
6170 1.1.1.1.2.2 wrstuden # extra things that need to be done for certain systems
6171 1.1.1.1.2.2 wrstuden # also handle setup for 64-bit detection
6172 1.1.1.1.2.2 wrstuden bits="default"
6173 1.1.1.1.2.2 wrstuden case $MODULE in
6174 1.1.1.1.2.2 wrstuden aix5)
6175 1.1.1.1.2.2 wrstuden
6176 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for perfstat_cpu_total in -lperfstat" >&5
6177 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for perfstat_cpu_total in -lperfstat... $ECHO_C" >&6; }
6178 1.1.1.1.2.2 wrstuden if test "${ac_cv_lib_perfstat_perfstat_cpu_total+set}" = set; then
6179 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
6180 1.1.1.1.2.2 wrstuden else
6181 1.1.1.1.2.2 wrstuden ac_check_lib_save_LIBS=$LIBS
6182 1.1.1.1.2.2 wrstuden LIBS="-lperfstat $LIBS"
6183 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
6184 1.1.1.1.2.2 wrstuden /* confdefs.h. */
6185 1.1.1.1.2.2 wrstuden _ACEOF
6186 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
6187 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
6188 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
6189 1.1.1.1.2.2 wrstuden
6190 1.1.1.1.2.2 wrstuden /* Override any GCC internal prototype to avoid an error.
6191 1.1.1.1.2.2 wrstuden Use char because int might match the return type of a GCC
6192 1.1.1.1.2.2 wrstuden builtin and then its argument prototype would still apply. */
6193 1.1.1.1.2.2 wrstuden #ifdef __cplusplus
6194 1.1.1.1.2.2 wrstuden extern "C"
6195 1.1.1.1.2.2 wrstuden #endif
6196 1.1.1.1.2.2 wrstuden char perfstat_cpu_total ();
6197 1.1.1.1.2.2 wrstuden int
6198 1.1.1.1.2.2 wrstuden main ()
6199 1.1.1.1.2.2 wrstuden {
6200 1.1.1.1.2.2 wrstuden return perfstat_cpu_total ();
6201 1.1.1.1.2.2 wrstuden ;
6202 1.1.1.1.2.2 wrstuden return 0;
6203 1.1.1.1.2.2 wrstuden }
6204 1.1.1.1.2.2 wrstuden _ACEOF
6205 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext conftest$ac_exeext
6206 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_link"
6207 1.1.1.1.2.2 wrstuden case "(($ac_try" in
6208 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6209 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
6210 1.1.1.1.2.2 wrstuden esac
6211 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6212 1.1.1.1.2.2 wrstuden (eval "$ac_link") 2>conftest.er1
6213 1.1.1.1.2.2 wrstuden ac_status=$?
6214 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
6215 1.1.1.1.2.2 wrstuden rm -f conftest.er1
6216 1.1.1.1.2.2 wrstuden cat conftest.err >&5
6217 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
6219 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
6220 1.1.1.1.2.2 wrstuden test ! -s conftest.err
6221 1.1.1.1.2.2 wrstuden } && test -s conftest$ac_exeext &&
6222 1.1.1.1.2.2 wrstuden $as_test_x conftest$ac_exeext; then
6223 1.1.1.1.2.2 wrstuden ac_cv_lib_perfstat_perfstat_cpu_total=yes
6224 1.1.1.1.2.2 wrstuden else
6225 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
6226 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
6227 1.1.1.1.2.2 wrstuden
6228 1.1.1.1.2.2 wrstuden ac_cv_lib_perfstat_perfstat_cpu_total=no
6229 1.1.1.1.2.2 wrstuden fi
6230 1.1.1.1.2.2 wrstuden
6231 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6232 1.1.1.1.2.2 wrstuden conftest$ac_exeext conftest.$ac_ext
6233 1.1.1.1.2.2 wrstuden LIBS=$ac_check_lib_save_LIBS
6234 1.1.1.1.2.2 wrstuden fi
6235 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_lib_perfstat_perfstat_cpu_total" >&5
6236 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_lib_perfstat_perfstat_cpu_total" >&6; }
6237 1.1.1.1.2.2 wrstuden if test $ac_cv_lib_perfstat_perfstat_cpu_total = yes; then
6238 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
6239 1.1.1.1.2.2 wrstuden #define HAVE_LIBPERFSTAT 1
6240 1.1.1.1.2.2 wrstuden _ACEOF
6241 1.1.1.1.2.2 wrstuden
6242 1.1.1.1.2.2 wrstuden LIBS="-lperfstat $LIBS"
6243 1.1.1.1.2.2 wrstuden
6244 1.1.1.1.2.2 wrstuden fi
6245 1.1.1.1.2.2 wrstuden
6246 1.1.1.1.2.2 wrstuden if test -f /usr/sbin/bootinfo; then
6247 1.1.1.1.2.2 wrstuden bits="`/usr/sbin/bootinfo -K`"
6248 1.1.1.1.2.2 wrstuden extra_flag="-q64"
6249 1.1.1.1.2.2 wrstuden fi
6250 1.1.1.1.2.2 wrstuden ;;
6251 1.1.1.1.2.2 wrstuden svr5)
6252 1.1.1.1.2.2 wrstuden # -lmas
6253 1.1.1.1.2.2 wrstuden
6254 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for mas_open in -lmas" >&5
6255 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for mas_open in -lmas... $ECHO_C" >&6; }
6256 1.1.1.1.2.2 wrstuden if test "${ac_cv_lib_mas_mas_open+set}" = set; then
6257 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
6258 1.1.1.1.2.2 wrstuden else
6259 1.1.1.1.2.2 wrstuden ac_check_lib_save_LIBS=$LIBS
6260 1.1.1.1.2.2 wrstuden LIBS="-lmas $LIBS"
6261 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
6262 1.1.1.1.2.2 wrstuden /* confdefs.h. */
6263 1.1.1.1.2.2 wrstuden _ACEOF
6264 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
6265 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
6266 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
6267 1.1.1.1.2.2 wrstuden
6268 1.1.1.1.2.2 wrstuden /* Override any GCC internal prototype to avoid an error.
6269 1.1.1.1.2.2 wrstuden Use char because int might match the return type of a GCC
6270 1.1.1.1.2.2 wrstuden builtin and then its argument prototype would still apply. */
6271 1.1.1.1.2.2 wrstuden #ifdef __cplusplus
6272 1.1.1.1.2.2 wrstuden extern "C"
6273 1.1.1.1.2.2 wrstuden #endif
6274 1.1.1.1.2.2 wrstuden char mas_open ();
6275 1.1.1.1.2.2 wrstuden int
6276 1.1.1.1.2.2 wrstuden main ()
6277 1.1.1.1.2.2 wrstuden {
6278 1.1.1.1.2.2 wrstuden return mas_open ();
6279 1.1.1.1.2.2 wrstuden ;
6280 1.1.1.1.2.2 wrstuden return 0;
6281 1.1.1.1.2.2 wrstuden }
6282 1.1.1.1.2.2 wrstuden _ACEOF
6283 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext conftest$ac_exeext
6284 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_link"
6285 1.1.1.1.2.2 wrstuden case "(($ac_try" in
6286 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6287 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
6288 1.1.1.1.2.2 wrstuden esac
6289 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6290 1.1.1.1.2.2 wrstuden (eval "$ac_link") 2>conftest.er1
6291 1.1.1.1.2.2 wrstuden ac_status=$?
6292 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
6293 1.1.1.1.2.2 wrstuden rm -f conftest.er1
6294 1.1.1.1.2.2 wrstuden cat conftest.err >&5
6295 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
6297 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
6298 1.1.1.1.2.2 wrstuden test ! -s conftest.err
6299 1.1.1.1.2.2 wrstuden } && test -s conftest$ac_exeext &&
6300 1.1.1.1.2.2 wrstuden $as_test_x conftest$ac_exeext; then
6301 1.1.1.1.2.2 wrstuden ac_cv_lib_mas_mas_open=yes
6302 1.1.1.1.2.2 wrstuden else
6303 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
6304 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
6305 1.1.1.1.2.2 wrstuden
6306 1.1.1.1.2.2 wrstuden ac_cv_lib_mas_mas_open=no
6307 1.1.1.1.2.2 wrstuden fi
6308 1.1.1.1.2.2 wrstuden
6309 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6310 1.1.1.1.2.2 wrstuden conftest$ac_exeext conftest.$ac_ext
6311 1.1.1.1.2.2 wrstuden LIBS=$ac_check_lib_save_LIBS
6312 1.1.1.1.2.2 wrstuden fi
6313 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_lib_mas_mas_open" >&5
6314 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_lib_mas_mas_open" >&6; }
6315 1.1.1.1.2.2 wrstuden if test $ac_cv_lib_mas_mas_open = yes; then
6316 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<_ACEOF
6317 1.1.1.1.2.2 wrstuden #define HAVE_LIBMAS 1
6318 1.1.1.1.2.2 wrstuden _ACEOF
6319 1.1.1.1.2.2 wrstuden
6320 1.1.1.1.2.2 wrstuden LIBS="-lmas $LIBS"
6321 1.1.1.1.2.2 wrstuden
6322 1.1.1.1.2.2 wrstuden fi
6323 1.1.1.1.2.2 wrstuden
6324 1.1.1.1.2.2 wrstuden ;;
6325 1.1.1.1.2.2 wrstuden sunos5)
6326 1.1.1.1.2.2 wrstuden if test "$ISAINFO"; then
6327 1.1.1.1.2.2 wrstuden bits="`$ISAINFO -b`"
6328 1.1.1.1.2.2 wrstuden if test "$target_cpu" = "sparc"; then
6329 1.1.1.1.2.2 wrstuden extra_flag="-xarch=v9"
6330 1.1.1.1.2.2 wrstuden else
6331 1.1.1.1.2.2 wrstuden extra_flag="-xarch=amd64"
6332 1.1.1.1.2.2 wrstuden fi
6333 1.1.1.1.2.2 wrstuden fi
6334 1.1.1.1.2.2 wrstuden ;;
6335 1.1.1.1.2.2 wrstuden esac
6336 1.1.1.1.2.2 wrstuden
6337 1.1.1.1.2.2 wrstuden # USE_FPH means the module has format_process_header
6338 1.1.1.1.2.2 wrstuden if test -n "$USE_FPH"; then
6339 1.1.1.1.2.2 wrstuden
6340 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<\_ACEOF
6341 1.1.1.1.2.2 wrstuden #define HAVE_FORMAT_PROCESS_HEADER 1
6342 1.1.1.1.2.2 wrstuden _ACEOF
6343 1.1.1.1.2.2 wrstuden
6344 1.1.1.1.2.2 wrstuden fi
6345 1.1.1.1.2.2 wrstuden
6346 1.1.1.1.2.2 wrstuden # if we are 64-bit, try to turn on the appropriate flags
6347 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking address space size" >&5
6348 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking address space size... $ECHO_C" >&6; }
6349 1.1.1.1.2.2 wrstuden ARCHFLAG=""
6350 1.1.1.1.2.2 wrstuden if test "$bits" = "64"; then
6351 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: 64" >&5
6352 1.1.1.1.2.2 wrstuden echo "${ECHO_T}64" >&6; }
6353 1.1.1.1.2.2 wrstuden if test "$ax_cv_c_compiler_vendor" = "gnu"; then
6354 1.1.1.1.2.2 wrstuden extra_flag="-m64"
6355 1.1.1.1.2.2 wrstuden fi
6356 1.1.1.1.2.2 wrstuden # Make sure our compiler accepts the flag we want to use
6357 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking whether compiler accepts $extra_flag" >&5
6358 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking whether compiler accepts $extra_flag... $ECHO_C" >&6; }
6359 1.1.1.1.2.2 wrstuden as_ac_Flag=`echo "ac_cv_cflag_$extra_flag" | $as_tr_sh`
6360 1.1.1.1.2.2 wrstuden _savedcflags=$CFLAGS
6361 1.1.1.1.2.2 wrstuden _savedwerror_flag=$ac_c_werror_flag
6362 1.1.1.1.2.2 wrstuden ac_c_werror_flag=yes
6363 1.1.1.1.2.2 wrstuden CFLAGS=$CFLAGS" $extra_flag"
6364 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
6365 1.1.1.1.2.2 wrstuden /* confdefs.h. */
6366 1.1.1.1.2.2 wrstuden _ACEOF
6367 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
6368 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
6369 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
6370 1.1.1.1.2.2 wrstuden
6371 1.1.1.1.2.2 wrstuden int
6372 1.1.1.1.2.2 wrstuden main ()
6373 1.1.1.1.2.2 wrstuden {
6374 1.1.1.1.2.2 wrstuden
6375 1.1.1.1.2.2 wrstuden ;
6376 1.1.1.1.2.2 wrstuden return 0;
6377 1.1.1.1.2.2 wrstuden }
6378 1.1.1.1.2.2 wrstuden _ACEOF
6379 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext conftest$ac_exeext
6380 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_link"
6381 1.1.1.1.2.2 wrstuden case "(($ac_try" in
6382 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6383 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
6384 1.1.1.1.2.2 wrstuden esac
6385 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6386 1.1.1.1.2.2 wrstuden (eval "$ac_link") 2>conftest.er1
6387 1.1.1.1.2.2 wrstuden ac_status=$?
6388 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
6389 1.1.1.1.2.2 wrstuden rm -f conftest.er1
6390 1.1.1.1.2.2 wrstuden cat conftest.err >&5
6391 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
6393 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
6394 1.1.1.1.2.2 wrstuden test ! -s conftest.err
6395 1.1.1.1.2.2 wrstuden } && test -s conftest$ac_exeext &&
6396 1.1.1.1.2.2 wrstuden $as_test_x conftest$ac_exeext; then
6397 1.1.1.1.2.2 wrstuden eval "$as_ac_Flag=yes"
6398 1.1.1.1.2.2 wrstuden else
6399 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
6400 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
6401 1.1.1.1.2.2 wrstuden
6402 1.1.1.1.2.2 wrstuden eval "$as_ac_Flag=no"
6403 1.1.1.1.2.2 wrstuden fi
6404 1.1.1.1.2.2 wrstuden
6405 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6406 1.1.1.1.2.2 wrstuden conftest$ac_exeext conftest.$ac_ext
6407 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Flag'}'`" >&5
6408 1.1.1.1.2.2 wrstuden echo "${ECHO_T}`eval echo '${'$as_ac_Flag'}'`" >&6; }
6409 1.1.1.1.2.2 wrstuden CFLAGS=$_savedcflags
6410 1.1.1.1.2.2 wrstuden ac_c_werror_flag=$_savedwerror_flag
6411 1.1.1.1.2.2 wrstuden if test `eval echo '${'$as_ac_Flag'}'` = yes; then
6412 1.1.1.1.2.2 wrstuden ARCHFLAG="$extra_flag"
6413 1.1.1.1.2.2 wrstuden else
6414 1.1.1.1.2.2 wrstuden enable_dualarch="no"
6415 1.1.1.1.2.2 wrstuden fi
6416 1.1.1.1.2.2 wrstuden
6417 1.1.1.1.2.2 wrstuden else
6418 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $bits" >&5
6419 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$bits" >&6; }
6420 1.1.1.1.2.2 wrstuden fi
6421 1.1.1.1.2.2 wrstuden
6422 1.1.1.1.2.2 wrstuden
6423 1.1.1.1.2.2 wrstuden # Dual architecture handling: for now this is only enabled on Solaris.
6424 1.1.1.1.2.2 wrstuden # Config options can explicitly enable or disable dualarch. Otherwise,
6425 1.1.1.1.2.2 wrstuden # dualarch is only enabled when we are on a 64-bit system.
6426 1.1.1.1.2.2 wrstuden if test "$MODULE" = "sunos5"; then
6427 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for dual architecture compilation" >&5
6428 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for dual architecture compilation... $ECHO_C" >&6; }
6429 1.1.1.1.2.2 wrstuden if test "x$enable_dualarch" = x; then
6430 1.1.1.1.2.2 wrstuden # we must make the determination implicitly
6431 1.1.1.1.2.2 wrstuden if test "$bits" = "64"; then
6432 1.1.1.1.2.2 wrstuden enable_dualarch="yes"
6433 1.1.1.1.2.2 wrstuden else
6434 1.1.1.1.2.2 wrstuden enable_dualarch="no"
6435 1.1.1.1.2.2 wrstuden fi
6436 1.1.1.1.2.2 wrstuden fi
6437 1.1.1.1.2.2 wrstuden if test "x$enable_dualarch" = "xyes"; then
6438 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: yes" >&5
6439 1.1.1.1.2.2 wrstuden echo "${ECHO_T}yes" >&6; }
6440 1.1.1.1.2.2 wrstuden if test "$target_cpu" = "sparc"; then
6441 1.1.1.1.2.2 wrstuden FIRST_RULE="config.sparcv9.make"
6442 1.1.1.1.2.2 wrstuden INSTALL_RULE="config.sparcv9.makeinstall"
6443 1.1.1.1.2.2 wrstuden CLEAN_EXTRA="$CLEAN_EXTRA sparcv7/* sparcv9/*"
6444 1.1.1.1.2.2 wrstuden mkdir -p sparcv7 sparcv9
6445 1.1.1.1.2.2 wrstuden else
6446 1.1.1.1.2.2 wrstuden FIRST_RULE="config.amd64.make"
6447 1.1.1.1.2.2 wrstuden INSTALL_RULE="config.amd64.makeinstall"
6448 1.1.1.1.2.2 wrstuden CLEAN_EXTRA="$CLEAN_EXTRA i386/* amd64/*"
6449 1.1.1.1.2.2 wrstuden mkdir -p i386 amd64
6450 1.1.1.1.2.2 wrstuden fi
6451 1.1.1.1.2.2 wrstuden else
6452 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: no" >&5
6453 1.1.1.1.2.2 wrstuden echo "${ECHO_T}no" >&6; }
6454 1.1.1.1.2.2 wrstuden fi
6455 1.1.1.1.2.2 wrstuden fi
6456 1.1.1.1.2.2 wrstuden
6457 1.1.1.1.2.2 wrstuden if test x$enable_dualarch = xyes; then
6458 1.1.1.1.2.2 wrstuden
6459 1.1.1.1.2.2 wrstuden cat >>confdefs.h <<\_ACEOF
6460 1.1.1.1.2.2 wrstuden #define ENABLE_DUALARCH 1
6461 1.1.1.1.2.2 wrstuden _ACEOF
6462 1.1.1.1.2.2 wrstuden
6463 1.1.1.1.2.2 wrstuden fi
6464 1.1.1.1.2.2 wrstuden
6465 1.1.1.1.2.2 wrstuden
6466 1.1.1.1.2.2 wrstuden
6467 1.1.1.1.2.2 wrstuden
6468 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking for installation settings" >&5
6469 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking for installation settings... $ECHO_C" >&6; }
6470 1.1.1.1.2.2 wrstuden # calculate appropriate settings
6471 1.1.1.1.2.2 wrstuden OWNER=""
6472 1.1.1.1.2.2 wrstuden GROUP=""
6473 1.1.1.1.2.2 wrstuden MODE=""
6474 1.1.1.1.2.2 wrstuden if test ! -n "$USE_KMEM" -a -d /proc; then
6475 1.1.1.1.2.2 wrstuden # make sure we are installed so that we can read /proc
6476 1.1.1.1.2.2 wrstuden rm -f conftest.txt
6477 1.1.1.1.2.2 wrstuden if test -r /proc/0/psinfo; then
6478 1.1.1.1.2.2 wrstuden # system uses solaris-style /proc
6479 1.1.1.1.2.2 wrstuden $lslong /proc/0/psinfo >conftest.txt
6480 1.1.1.1.2.2 wrstuden elif test -r /proc/1/stat; then
6481 1.1.1.1.2.2 wrstuden # linux-style /proc?
6482 1.1.1.1.2.2 wrstuden $lslong /proc/1/stat >conftest.txt
6483 1.1.1.1.2.2 wrstuden else
6484 1.1.1.1.2.2 wrstuden echo "-r--r--r-- 1 bin bin 32 Jan 1 12:00 /foo" >conftest.txt
6485 1.1.1.1.2.2 wrstuden fi
6486 1.1.1.1.2.2 wrstuden
6487 1.1.1.1.2.2 wrstuden # set permissions so that we can read stuff in /proc
6488 1.1.1.1.2.2 wrstuden if grep '^.......r..' conftest.txt >/dev/null; then
6489 1.1.1.1.2.2 wrstuden # world readable
6490 1.1.1.1.2.2 wrstuden MODE=755
6491 1.1.1.1.2.2 wrstuden elif grep '^....r.....' conftest.txt >/dev/null; then
6492 1.1.1.1.2.2 wrstuden # group readable
6493 1.1.1.1.2.2 wrstuden MODE=2711
6494 1.1.1.1.2.2 wrstuden GROUP=`awk ' { print $4 }'`
6495 1.1.1.1.2.2 wrstuden else
6496 1.1.1.1.2.2 wrstuden # probably only readable by root
6497 1.1.1.1.2.2 wrstuden MODE=4711
6498 1.1.1.1.2.2 wrstuden OWNER=`awk ' { print $3 }'`
6499 1.1.1.1.2.2 wrstuden fi
6500 1.1.1.1.2.2 wrstuden
6501 1.1.1.1.2.2 wrstuden elif test -c /dev/kmem; then
6502 1.1.1.1.2.2 wrstuden $lslong -L /dev/kmem >conftest.txt
6503 1.1.1.1.2.2 wrstuden if grep '^....r..r..' conftest.txt >/dev/null; then
6504 1.1.1.1.2.2 wrstuden MODE=755
6505 1.1.1.1.2.2 wrstuden elif grep '^....r..-..' conftest.txt >/dev/null; then
6506 1.1.1.1.2.2 wrstuden MODE=2755
6507 1.1.1.1.2.2 wrstuden GROUP=`$AWK ' { print $4 }' conftest.txt`
6508 1.1.1.1.2.2 wrstuden fi
6509 1.1.1.1.2.2 wrstuden else
6510 1.1.1.1.2.2 wrstuden MODE=755
6511 1.1.1.1.2.2 wrstuden fi
6512 1.1.1.1.2.2 wrstuden rm -f conftest.txt
6513 1.1.1.1.2.2 wrstuden # let module settings override what we calculated
6514 1.1.1.1.2.2 wrstuden OWNER=${SET_OWNER:-$OWNER}
6515 1.1.1.1.2.2 wrstuden GROUP=${SET_GROUP:-$GROUP}
6516 1.1.1.1.2.2 wrstuden MODE=${SET_MODE:-$MODE}
6517 1.1.1.1.2.2 wrstuden
6518 1.1.1.1.2.2 wrstuden # set only those things that require it
6519 1.1.1.1.2.2 wrstuden result=""
6520 1.1.1.1.2.2 wrstuden INSTALL_OPTS_PROG=""
6521 1.1.1.1.2.2 wrstuden if test x$OWNER != x; then
6522 1.1.1.1.2.2 wrstuden result="${result}owner=$OWNER, "
6523 1.1.1.1.2.2 wrstuden INSTALL_OPTS_PROG="$INSTALL_OPTS_PROG -o $OWNER"
6524 1.1.1.1.2.2 wrstuden fi
6525 1.1.1.1.2.2 wrstuden if test x$GROUP != x; then
6526 1.1.1.1.2.2 wrstuden result="${result}group=$GROUP, "
6527 1.1.1.1.2.2 wrstuden INSTALL_OPTS_PROG="$INSTALL_OPTS_PROG -g $GROUP"
6528 1.1.1.1.2.2 wrstuden fi
6529 1.1.1.1.2.2 wrstuden result="${result}mode=$MODE"
6530 1.1.1.1.2.2 wrstuden INSTALL_OPTS_PROG="$INSTALL_OPTS_PROG -m $MODE"
6531 1.1.1.1.2.2 wrstuden
6532 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $result" >&5
6533 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$result" >&6; }
6534 1.1.1.1.2.2 wrstuden
6535 1.1.1.1.2.2 wrstuden # add extra cflags if the compiler accepts them
6536 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking CFLAGS for maximum warnings" >&5
6537 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking CFLAGS for maximum warnings... $ECHO_C" >&6; }
6538 1.1.1.1.2.2 wrstuden if test "${ac_cv_cflags_warn_all+set}" = set; then
6539 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
6540 1.1.1.1.2.2 wrstuden else
6541 1.1.1.1.2.2 wrstuden ac_cv_cflags_warn_all="no, unknown"
6542 1.1.1.1.2.2 wrstuden
6543 1.1.1.1.2.2 wrstuden ac_ext=c
6544 1.1.1.1.2.2 wrstuden ac_cpp='$CPP $CPPFLAGS'
6545 1.1.1.1.2.2 wrstuden ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6546 1.1.1.1.2.2 wrstuden ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6547 1.1.1.1.2.2 wrstuden ac_compiler_gnu=$ac_cv_c_compiler_gnu
6548 1.1.1.1.2.2 wrstuden
6549 1.1.1.1.2.2 wrstuden ac_save_CFLAGS="$CFLAGS"
6550 1.1.1.1.2.2 wrstuden for ac_arg in "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
6551 1.1.1.1.2.2 wrstuden do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
6552 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
6553 1.1.1.1.2.2 wrstuden /* confdefs.h. */
6554 1.1.1.1.2.2 wrstuden _ACEOF
6555 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
6556 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
6557 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
6558 1.1.1.1.2.2 wrstuden
6559 1.1.1.1.2.2 wrstuden int
6560 1.1.1.1.2.2 wrstuden main ()
6561 1.1.1.1.2.2 wrstuden {
6562 1.1.1.1.2.2 wrstuden return 0;
6563 1.1.1.1.2.2 wrstuden ;
6564 1.1.1.1.2.2 wrstuden return 0;
6565 1.1.1.1.2.2 wrstuden }
6566 1.1.1.1.2.2 wrstuden _ACEOF
6567 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
6568 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
6569 1.1.1.1.2.2 wrstuden case "(($ac_try" in
6570 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6571 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
6572 1.1.1.1.2.2 wrstuden esac
6573 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6574 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
6575 1.1.1.1.2.2 wrstuden ac_status=$?
6576 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
6577 1.1.1.1.2.2 wrstuden rm -f conftest.er1
6578 1.1.1.1.2.2 wrstuden cat conftest.err >&5
6579 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
6581 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
6582 1.1.1.1.2.2 wrstuden test ! -s conftest.err
6583 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
6584 1.1.1.1.2.2 wrstuden ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
6585 1.1.1.1.2.2 wrstuden else
6586 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
6587 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
6588 1.1.1.1.2.2 wrstuden
6589 1.1.1.1.2.2 wrstuden
6590 1.1.1.1.2.2 wrstuden fi
6591 1.1.1.1.2.2 wrstuden
6592 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6593 1.1.1.1.2.2 wrstuden done
6594 1.1.1.1.2.2 wrstuden CFLAGS="$ac_save_CFLAGS"
6595 1.1.1.1.2.2 wrstuden ac_ext=c
6596 1.1.1.1.2.2 wrstuden ac_cpp='$CPP $CPPFLAGS'
6597 1.1.1.1.2.2 wrstuden ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6598 1.1.1.1.2.2 wrstuden ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6599 1.1.1.1.2.2 wrstuden ac_compiler_gnu=$ac_cv_c_compiler_gnu
6600 1.1.1.1.2.2 wrstuden
6601 1.1.1.1.2.2 wrstuden
6602 1.1.1.1.2.2 wrstuden fi
6603 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_cflags_warn_all" >&5
6604 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_cflags_warn_all" >&6; }
6605 1.1.1.1.2.2 wrstuden case ".$ac_cv_cflags_warn_all" in
6606 1.1.1.1.2.2 wrstuden .ok|.ok,*) ;;
6607 1.1.1.1.2.2 wrstuden .|.no|.no,*)
6608 1.1.1.1.2.2 wrstuden ;;
6609 1.1.1.1.2.2 wrstuden *)
6610 1.1.1.1.2.2 wrstuden if echo " $CFLAGS " | grep " $ac_cv_cflags_warn_all " 2>&1 >/dev/null
6611 1.1.1.1.2.2 wrstuden then { (echo "$as_me:$LINENO: : CFLAGS does contain \$ac_cv_cflags_warn_all") >&5
6612 1.1.1.1.2.2 wrstuden (: CFLAGS does contain $ac_cv_cflags_warn_all) 2>&5
6613 1.1.1.1.2.2 wrstuden ac_status=$?
6614 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 1.1.1.1.2.2 wrstuden (exit $ac_status); }
6616 1.1.1.1.2.2 wrstuden else { (echo "$as_me:$LINENO: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\"") >&5
6617 1.1.1.1.2.2 wrstuden (: CFLAGS="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
6618 1.1.1.1.2.2 wrstuden ac_status=$?
6619 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620 1.1.1.1.2.2 wrstuden (exit $ac_status); }
6621 1.1.1.1.2.2 wrstuden CFLAGS="$CFLAGS $ac_cv_cflags_warn_all"
6622 1.1.1.1.2.2 wrstuden fi
6623 1.1.1.1.2.2 wrstuden ;;
6624 1.1.1.1.2.2 wrstuden esac
6625 1.1.1.1.2.2 wrstuden
6626 1.1.1.1.2.2 wrstuden MODULE_CFLAGS=""
6627 1.1.1.1.2.2 wrstuden if test "$ax_cv_c_compiler_vendor" = "gnu"; then
6628 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking MODULE_CFLAGS for gcc -fno-strict-aliasing" >&5
6629 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking MODULE_CFLAGS for gcc -fno-strict-aliasing... $ECHO_C" >&6; }
6630 1.1.1.1.2.2 wrstuden if test "${ac_cv_cflags_gcc_option__fno_strict_aliasing+set}" = set; then
6631 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
6632 1.1.1.1.2.2 wrstuden else
6633 1.1.1.1.2.2 wrstuden ac_cv_cflags_gcc_option__fno_strict_aliasing="no, unknown"
6634 1.1.1.1.2.2 wrstuden
6635 1.1.1.1.2.2 wrstuden ac_ext=c
6636 1.1.1.1.2.2 wrstuden ac_cpp='$CPP $CPPFLAGS'
6637 1.1.1.1.2.2 wrstuden ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6638 1.1.1.1.2.2 wrstuden ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6639 1.1.1.1.2.2 wrstuden ac_compiler_gnu=$ac_cv_c_compiler_gnu
6640 1.1.1.1.2.2 wrstuden
6641 1.1.1.1.2.2 wrstuden ac_save_CFLAGS="$CFLAGS"
6642 1.1.1.1.2.2 wrstuden for ac_arg in "-pedantic -Werror % -fno-strict-aliasing" "-pedantic % -fno-strict-aliasing %% no, obsolete" #
6643 1.1.1.1.2.2 wrstuden do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
6644 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
6645 1.1.1.1.2.2 wrstuden /* confdefs.h. */
6646 1.1.1.1.2.2 wrstuden _ACEOF
6647 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
6648 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
6649 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
6650 1.1.1.1.2.2 wrstuden
6651 1.1.1.1.2.2 wrstuden int
6652 1.1.1.1.2.2 wrstuden main ()
6653 1.1.1.1.2.2 wrstuden {
6654 1.1.1.1.2.2 wrstuden return 0;
6655 1.1.1.1.2.2 wrstuden ;
6656 1.1.1.1.2.2 wrstuden return 0;
6657 1.1.1.1.2.2 wrstuden }
6658 1.1.1.1.2.2 wrstuden _ACEOF
6659 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
6660 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
6661 1.1.1.1.2.2 wrstuden case "(($ac_try" in
6662 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6663 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
6664 1.1.1.1.2.2 wrstuden esac
6665 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6666 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
6667 1.1.1.1.2.2 wrstuden ac_status=$?
6668 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
6669 1.1.1.1.2.2 wrstuden rm -f conftest.er1
6670 1.1.1.1.2.2 wrstuden cat conftest.err >&5
6671 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
6673 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
6674 1.1.1.1.2.2 wrstuden test ! -s conftest.err
6675 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
6676 1.1.1.1.2.2 wrstuden ac_cv_cflags_gcc_option__fno_strict_aliasing=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
6677 1.1.1.1.2.2 wrstuden else
6678 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
6679 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
6680 1.1.1.1.2.2 wrstuden
6681 1.1.1.1.2.2 wrstuden
6682 1.1.1.1.2.2 wrstuden fi
6683 1.1.1.1.2.2 wrstuden
6684 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6685 1.1.1.1.2.2 wrstuden done
6686 1.1.1.1.2.2 wrstuden CFLAGS="$ac_save_CFLAGS"
6687 1.1.1.1.2.2 wrstuden ac_ext=c
6688 1.1.1.1.2.2 wrstuden ac_cpp='$CPP $CPPFLAGS'
6689 1.1.1.1.2.2 wrstuden ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6690 1.1.1.1.2.2 wrstuden ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6691 1.1.1.1.2.2 wrstuden ac_compiler_gnu=$ac_cv_c_compiler_gnu
6692 1.1.1.1.2.2 wrstuden
6693 1.1.1.1.2.2 wrstuden
6694 1.1.1.1.2.2 wrstuden fi
6695 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_cflags_gcc_option__fno_strict_aliasing" >&5
6696 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_cflags_gcc_option__fno_strict_aliasing" >&6; }
6697 1.1.1.1.2.2 wrstuden case ".$ac_cv_cflags_gcc_option__fno_strict_aliasing" in
6698 1.1.1.1.2.2 wrstuden .ok|.ok,*) ;;
6699 1.1.1.1.2.2 wrstuden .|.no|.no,*) ;;
6700 1.1.1.1.2.2 wrstuden *)
6701 1.1.1.1.2.2 wrstuden if echo " $MODULE_CFLAGS " | grep " $ac_cv_cflags_gcc_option__fno_strict_aliasing " 2>&1 >/dev/null
6702 1.1.1.1.2.2 wrstuden then { (echo "$as_me:$LINENO: : MODULE_CFLAGS does contain \$ac_cv_cflags_gcc_option__fno_strict_aliasing") >&5
6703 1.1.1.1.2.2 wrstuden (: MODULE_CFLAGS does contain $ac_cv_cflags_gcc_option__fno_strict_aliasing) 2>&5
6704 1.1.1.1.2.2 wrstuden ac_status=$?
6705 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
6706 1.1.1.1.2.2 wrstuden (exit $ac_status); }
6707 1.1.1.1.2.2 wrstuden else { (echo "$as_me:$LINENO: : MODULE_CFLAGS=\"\$MODULE_CFLAGS \$ac_cv_cflags_gcc_option__fno_strict_aliasing\"") >&5
6708 1.1.1.1.2.2 wrstuden (: MODULE_CFLAGS="$MODULE_CFLAGS $ac_cv_cflags_gcc_option__fno_strict_aliasing") 2>&5
6709 1.1.1.1.2.2 wrstuden ac_status=$?
6710 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711 1.1.1.1.2.2 wrstuden (exit $ac_status); }
6712 1.1.1.1.2.2 wrstuden MODULE_CFLAGS="$MODULE_CFLAGS $ac_cv_cflags_gcc_option__fno_strict_aliasing"
6713 1.1.1.1.2.2 wrstuden fi
6714 1.1.1.1.2.2 wrstuden ;;
6715 1.1.1.1.2.2 wrstuden esac
6716 1.1.1.1.2.2 wrstuden
6717 1.1.1.1.2.2 wrstuden if test "$target_cpu" = "alpha"; then
6718 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: checking CFLAGS for gcc -mfp-trap-mode=sui -mtrap-precision=i" >&5
6719 1.1.1.1.2.2 wrstuden echo $ECHO_N "checking CFLAGS for gcc -mfp-trap-mode=sui -mtrap-precision=i... $ECHO_C" >&6; }
6720 1.1.1.1.2.2 wrstuden if test "${ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i+set}" = set; then
6721 1.1.1.1.2.2 wrstuden echo $ECHO_N "(cached) $ECHO_C" >&6
6722 1.1.1.1.2.2 wrstuden else
6723 1.1.1.1.2.2 wrstuden ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i="no, unknown"
6724 1.1.1.1.2.2 wrstuden
6725 1.1.1.1.2.2 wrstuden ac_ext=c
6726 1.1.1.1.2.2 wrstuden ac_cpp='$CPP $CPPFLAGS'
6727 1.1.1.1.2.2 wrstuden ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6728 1.1.1.1.2.2 wrstuden ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6729 1.1.1.1.2.2 wrstuden ac_compiler_gnu=$ac_cv_c_compiler_gnu
6730 1.1.1.1.2.2 wrstuden
6731 1.1.1.1.2.2 wrstuden ac_save_CFLAGS="$CFLAGS"
6732 1.1.1.1.2.2 wrstuden for ac_arg in "-pedantic -Werror % -mfp-trap-mode=sui -mtrap-precision=i" "-pedantic % -mfp-trap-mode=sui -mtrap-precision=i %% no, obsolete" #
6733 1.1.1.1.2.2 wrstuden do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
6734 1.1.1.1.2.2 wrstuden cat >conftest.$ac_ext <<_ACEOF
6735 1.1.1.1.2.2 wrstuden /* confdefs.h. */
6736 1.1.1.1.2.2 wrstuden _ACEOF
6737 1.1.1.1.2.2 wrstuden cat confdefs.h >>conftest.$ac_ext
6738 1.1.1.1.2.2 wrstuden cat >>conftest.$ac_ext <<_ACEOF
6739 1.1.1.1.2.2 wrstuden /* end confdefs.h. */
6740 1.1.1.1.2.2 wrstuden
6741 1.1.1.1.2.2 wrstuden int
6742 1.1.1.1.2.2 wrstuden main ()
6743 1.1.1.1.2.2 wrstuden {
6744 1.1.1.1.2.2 wrstuden return 0;
6745 1.1.1.1.2.2 wrstuden ;
6746 1.1.1.1.2.2 wrstuden return 0;
6747 1.1.1.1.2.2 wrstuden }
6748 1.1.1.1.2.2 wrstuden _ACEOF
6749 1.1.1.1.2.2 wrstuden rm -f conftest.$ac_objext
6750 1.1.1.1.2.2 wrstuden if { (ac_try="$ac_compile"
6751 1.1.1.1.2.2 wrstuden case "(($ac_try" in
6752 1.1.1.1.2.2 wrstuden *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6753 1.1.1.1.2.2 wrstuden *) ac_try_echo=$ac_try;;
6754 1.1.1.1.2.2 wrstuden esac
6755 1.1.1.1.2.2 wrstuden eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6756 1.1.1.1.2.2 wrstuden (eval "$ac_compile") 2>conftest.er1
6757 1.1.1.1.2.2 wrstuden ac_status=$?
6758 1.1.1.1.2.2 wrstuden grep -v '^ *+' conftest.er1 >conftest.err
6759 1.1.1.1.2.2 wrstuden rm -f conftest.er1
6760 1.1.1.1.2.2 wrstuden cat conftest.err >&5
6761 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 1.1.1.1.2.2 wrstuden (exit $ac_status); } && {
6763 1.1.1.1.2.2 wrstuden test -z "$ac_c_werror_flag" ||
6764 1.1.1.1.2.2 wrstuden test ! -s conftest.err
6765 1.1.1.1.2.2 wrstuden } && test -s conftest.$ac_objext; then
6766 1.1.1.1.2.2 wrstuden ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
6767 1.1.1.1.2.2 wrstuden else
6768 1.1.1.1.2.2 wrstuden echo "$as_me: failed program was:" >&5
6769 1.1.1.1.2.2 wrstuden sed 's/^/| /' conftest.$ac_ext >&5
6770 1.1.1.1.2.2 wrstuden
6771 1.1.1.1.2.2 wrstuden
6772 1.1.1.1.2.2 wrstuden fi
6773 1.1.1.1.2.2 wrstuden
6774 1.1.1.1.2.2 wrstuden rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6775 1.1.1.1.2.2 wrstuden done
6776 1.1.1.1.2.2 wrstuden CFLAGS="$ac_save_CFLAGS"
6777 1.1.1.1.2.2 wrstuden ac_ext=c
6778 1.1.1.1.2.2 wrstuden ac_cpp='$CPP $CPPFLAGS'
6779 1.1.1.1.2.2 wrstuden ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6780 1.1.1.1.2.2 wrstuden ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6781 1.1.1.1.2.2 wrstuden ac_compiler_gnu=$ac_cv_c_compiler_gnu
6782 1.1.1.1.2.2 wrstuden
6783 1.1.1.1.2.2 wrstuden
6784 1.1.1.1.2.2 wrstuden fi
6785 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: result: $ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i" >&5
6786 1.1.1.1.2.2 wrstuden echo "${ECHO_T}$ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i" >&6; }
6787 1.1.1.1.2.2 wrstuden case ".$ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i" in
6788 1.1.1.1.2.2 wrstuden .ok|.ok,*) ;;
6789 1.1.1.1.2.2 wrstuden .|.no|.no,*) ;;
6790 1.1.1.1.2.2 wrstuden *)
6791 1.1.1.1.2.2 wrstuden if echo " $CFLAGS " | grep " $ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i " 2>&1 >/dev/null
6792 1.1.1.1.2.2 wrstuden then { (echo "$as_me:$LINENO: : CFLAGS does contain \$ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i") >&5
6793 1.1.1.1.2.2 wrstuden (: CFLAGS does contain $ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i) 2>&5
6794 1.1.1.1.2.2 wrstuden ac_status=$?
6795 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
6796 1.1.1.1.2.2 wrstuden (exit $ac_status); }
6797 1.1.1.1.2.2 wrstuden else { (echo "$as_me:$LINENO: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i\"") >&5
6798 1.1.1.1.2.2 wrstuden (: CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i") 2>&5
6799 1.1.1.1.2.2 wrstuden ac_status=$?
6800 1.1.1.1.2.2 wrstuden echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 1.1.1.1.2.2 wrstuden (exit $ac_status); }
6802 1.1.1.1.2.2 wrstuden CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__mfp_trap_mode_sui__mtrap_precision_i"
6803 1.1.1.1.2.2 wrstuden fi
6804 1.1.1.1.2.2 wrstuden ;;
6805 1.1.1.1.2.2 wrstuden esac
6806 1.1.1.1.2.2 wrstuden
6807 1.1.1.1.2.2 wrstuden fi
6808 1.1.1.1.2.2 wrstuden fi
6809 1.1.1.1.2.2 wrstuden
6810 1.1.1.1.2.2 wrstuden # Define man page supplement
6811 1.1.1.1.2.2 wrstuden MAN_SUPPLEMENT=machine/m_$MODULE.man
6812 1.1.1.1.2.2 wrstuden
6813 1.1.1.1.2.2 wrstuden
6814 1.1.1.1.2.2 wrstuden # Extra things we want substituted
6815 1.1.1.1.2.2 wrstuden
6816 1.1.1.1.2.2 wrstuden
6817 1.1.1.1.2.2 wrstuden
6818 1.1.1.1.2.2 wrstuden
6819 1.1.1.1.2.2 wrstuden # wrapup
6820 1.1.1.1.2.2 wrstuden
6821 1.1.1.1.2.2 wrstuden ac_config_files="$ac_config_files Makefile top.1"
6822 1.1.1.1.2.2 wrstuden
6823 1.1.1.1.2.2 wrstuden cat >confcache <<\_ACEOF
6824 1.1.1.1.2.2 wrstuden # This file is a shell script that caches the results of configure
6825 1.1.1.1.2.2 wrstuden # tests run on this system so they can be shared between configure
6826 1.1.1.1.2.2 wrstuden # scripts and configure runs, see configure's option --config-cache.
6827 1.1.1.1.2.2 wrstuden # It is not useful on other systems. If it contains results you don't
6828 1.1.1.1.2.2 wrstuden # want to keep, you may remove or edit it.
6829 1.1.1.1.2.2 wrstuden #
6830 1.1.1.1.2.2 wrstuden # config.status only pays attention to the cache file if you give it
6831 1.1.1.1.2.2 wrstuden # the --recheck option to rerun configure.
6832 1.1.1.1.2.2 wrstuden #
6833 1.1.1.1.2.2 wrstuden # `ac_cv_env_foo' variables (set or unset) will be overridden when
6834 1.1.1.1.2.2 wrstuden # loading this file, other *unset* `ac_cv_foo' will be assigned the
6835 1.1.1.1.2.2 wrstuden # following values.
6836 1.1.1.1.2.2 wrstuden
6837 1.1.1.1.2.2 wrstuden _ACEOF
6838 1.1.1.1.2.2 wrstuden
6839 1.1.1.1.2.2 wrstuden # The following way of writing the cache mishandles newlines in values,
6840 1.1.1.1.2.2 wrstuden # but we know of no workaround that is simple, portable, and efficient.
6841 1.1.1.1.2.2 wrstuden # So, we kill variables containing newlines.
6842 1.1.1.1.2.2 wrstuden # Ultrix sh set writes to stderr and can't be redirected directly,
6843 1.1.1.1.2.2 wrstuden # and sets the high bit in the cache file unless we assign to the vars.
6844 1.1.1.1.2.2 wrstuden (
6845 1.1.1.1.2.2 wrstuden for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6846 1.1.1.1.2.2 wrstuden eval ac_val=\$$ac_var
6847 1.1.1.1.2.2 wrstuden case $ac_val in #(
6848 1.1.1.1.2.2 wrstuden *${as_nl}*)
6849 1.1.1.1.2.2 wrstuden case $ac_var in #(
6850 1.1.1.1.2.2 wrstuden *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6851 1.1.1.1.2.2 wrstuden echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6852 1.1.1.1.2.2 wrstuden esac
6853 1.1.1.1.2.2 wrstuden case $ac_var in #(
6854 1.1.1.1.2.2 wrstuden _ | IFS | as_nl) ;; #(
6855 1.1.1.1.2.2 wrstuden *) $as_unset $ac_var ;;
6856 1.1.1.1.2.2 wrstuden esac ;;
6857 1.1.1.1.2.2 wrstuden esac
6858 1.1.1.1.2.2 wrstuden done
6859 1.1.1.1.2.2 wrstuden
6860 1.1.1.1.2.2 wrstuden (set) 2>&1 |
6861 1.1.1.1.2.2 wrstuden case $as_nl`(ac_space=' '; set) 2>&1` in #(
6862 1.1.1.1.2.2 wrstuden *${as_nl}ac_space=\ *)
6863 1.1.1.1.2.2 wrstuden # `set' does not quote correctly, so add quotes (double-quote
6864 1.1.1.1.2.2 wrstuden # substitution turns \\\\ into \\, and sed turns \\ into \).
6865 1.1.1.1.2.2 wrstuden sed -n \
6866 1.1.1.1.2.2 wrstuden "s/'/'\\\\''/g;
6867 1.1.1.1.2.2 wrstuden s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6868 1.1.1.1.2.2 wrstuden ;; #(
6869 1.1.1.1.2.2 wrstuden *)
6870 1.1.1.1.2.2 wrstuden # `set' quotes correctly as required by POSIX, so do not add quotes.
6871 1.1.1.1.2.2 wrstuden sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6872 1.1.1.1.2.2 wrstuden ;;
6873 1.1.1.1.2.2 wrstuden esac |
6874 1.1.1.1.2.2 wrstuden sort
6875 1.1.1.1.2.2 wrstuden ) |
6876 1.1.1.1.2.2 wrstuden sed '
6877 1.1.1.1.2.2 wrstuden /^ac_cv_env_/b end
6878 1.1.1.1.2.2 wrstuden t clear
6879 1.1.1.1.2.2 wrstuden :clear
6880 1.1.1.1.2.2 wrstuden s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6881 1.1.1.1.2.2 wrstuden t end
6882 1.1.1.1.2.2 wrstuden s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6883 1.1.1.1.2.2 wrstuden :end' >>confcache
6884 1.1.1.1.2.2 wrstuden if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6885 1.1.1.1.2.2 wrstuden if test -w "$cache_file"; then
6886 1.1.1.1.2.2 wrstuden test "x$cache_file" != "x/dev/null" &&
6887 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6888 1.1.1.1.2.2 wrstuden echo "$as_me: updating cache $cache_file" >&6;}
6889 1.1.1.1.2.2 wrstuden cat confcache >$cache_file
6890 1.1.1.1.2.2 wrstuden else
6891 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6892 1.1.1.1.2.2 wrstuden echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6893 1.1.1.1.2.2 wrstuden fi
6894 1.1.1.1.2.2 wrstuden fi
6895 1.1.1.1.2.2 wrstuden rm -f confcache
6896 1.1.1.1.2.2 wrstuden
6897 1.1.1.1.2.2 wrstuden test "x$prefix" = xNONE && prefix=$ac_default_prefix
6898 1.1.1.1.2.2 wrstuden # Let make expand exec_prefix.
6899 1.1.1.1.2.2 wrstuden test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6900 1.1.1.1.2.2 wrstuden
6901 1.1.1.1.2.2 wrstuden DEFS=-DHAVE_CONFIG_H
6902 1.1.1.1.2.2 wrstuden
6903 1.1.1.1.2.2 wrstuden ac_libobjs=
6904 1.1.1.1.2.2 wrstuden ac_ltlibobjs=
6905 1.1.1.1.2.2 wrstuden for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6906 1.1.1.1.2.2 wrstuden # 1. Remove the extension, and $U if already installed.
6907 1.1.1.1.2.2 wrstuden ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6908 1.1.1.1.2.2 wrstuden ac_i=`echo "$ac_i" | sed "$ac_script"`
6909 1.1.1.1.2.2 wrstuden # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6910 1.1.1.1.2.2 wrstuden # will be set to the directory where LIBOBJS objects are built.
6911 1.1.1.1.2.2 wrstuden ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6912 1.1.1.1.2.2 wrstuden ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6913 1.1.1.1.2.2 wrstuden done
6914 1.1.1.1.2.2 wrstuden LIBOBJS=$ac_libobjs
6915 1.1.1.1.2.2 wrstuden
6916 1.1.1.1.2.2 wrstuden LTLIBOBJS=$ac_ltlibobjs
6917 1.1.1.1.2.2 wrstuden
6918 1.1.1.1.2.2 wrstuden
6919 1.1.1.1.2.2 wrstuden
6920 1.1.1.1.2.2 wrstuden : ${CONFIG_STATUS=./config.status}
6921 1.1.1.1.2.2 wrstuden ac_clean_files_save=$ac_clean_files
6922 1.1.1.1.2.2 wrstuden ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6923 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6924 1.1.1.1.2.2 wrstuden echo "$as_me: creating $CONFIG_STATUS" >&6;}
6925 1.1.1.1.2.2 wrstuden cat >$CONFIG_STATUS <<_ACEOF
6926 1.1.1.1.2.2 wrstuden #! $SHELL
6927 1.1.1.1.2.2 wrstuden # Generated by $as_me.
6928 1.1.1.1.2.2 wrstuden # Run this file to recreate the current configuration.
6929 1.1.1.1.2.2 wrstuden # Compiler output produced by configure, useful for debugging
6930 1.1.1.1.2.2 wrstuden # configure, is in config.log if it exists.
6931 1.1.1.1.2.2 wrstuden
6932 1.1.1.1.2.2 wrstuden debug=false
6933 1.1.1.1.2.2 wrstuden ac_cs_recheck=false
6934 1.1.1.1.2.2 wrstuden ac_cs_silent=false
6935 1.1.1.1.2.2 wrstuden SHELL=\${CONFIG_SHELL-$SHELL}
6936 1.1.1.1.2.2 wrstuden _ACEOF
6937 1.1.1.1.2.2 wrstuden
6938 1.1.1.1.2.2 wrstuden cat >>$CONFIG_STATUS <<\_ACEOF
6939 1.1.1.1.2.2 wrstuden ## --------------------- ##
6940 1.1.1.1.2.2 wrstuden ## M4sh Initialization. ##
6941 1.1.1.1.2.2 wrstuden ## --------------------- ##
6942 1.1.1.1.2.2 wrstuden
6943 1.1.1.1.2.2 wrstuden # Be more Bourne compatible
6944 1.1.1.1.2.2 wrstuden DUALCASE=1; export DUALCASE # for MKS sh
6945 1.1.1.1.2.2 wrstuden if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6946 1.1.1.1.2.2 wrstuden emulate sh
6947 1.1.1.1.2.2 wrstuden NULLCMD=:
6948 1.1.1.1.2.2 wrstuden # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6949 1.1.1.1.2.2 wrstuden # is contrary to our usage. Disable this feature.
6950 1.1.1.1.2.2 wrstuden alias -g '${1+"$@"}'='"$@"'
6951 1.1.1.1.2.2 wrstuden setopt NO_GLOB_SUBST
6952 1.1.1.1.2.2 wrstuden else
6953 1.1.1.1.2.2 wrstuden case `(set -o) 2>/dev/null` in
6954 1.1.1.1.2.2 wrstuden *posix*) set -o posix ;;
6955 1.1.1.1.2.2 wrstuden esac
6956 1.1.1.1.2.2 wrstuden
6957 1.1.1.1.2.2 wrstuden fi
6958 1.1.1.1.2.2 wrstuden
6959 1.1.1.1.2.2 wrstuden
6960 1.1.1.1.2.2 wrstuden
6961 1.1.1.1.2.2 wrstuden
6962 1.1.1.1.2.2 wrstuden # PATH needs CR
6963 1.1.1.1.2.2 wrstuden # Avoid depending upon Character Ranges.
6964 1.1.1.1.2.2 wrstuden as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6965 1.1.1.1.2.2 wrstuden as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6966 1.1.1.1.2.2 wrstuden as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6967 1.1.1.1.2.2 wrstuden as_cr_digits='0123456789'
6968 1.1.1.1.2.2 wrstuden as_cr_alnum=$as_cr_Letters$as_cr_digits
6969 1.1.1.1.2.2 wrstuden
6970 1.1.1.1.2.2 wrstuden # The user is always right.
6971 1.1.1.1.2.2 wrstuden if test "${PATH_SEPARATOR+set}" != set; then
6972 1.1.1.1.2.2 wrstuden echo "#! /bin/sh" >conf$$.sh
6973 1.1.1.1.2.2 wrstuden echo "exit 0" >>conf$$.sh
6974 1.1.1.1.2.2 wrstuden chmod +x conf$$.sh
6975 1.1.1.1.2.2 wrstuden if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6976 1.1.1.1.2.2 wrstuden PATH_SEPARATOR=';'
6977 1.1.1.1.2.2 wrstuden else
6978 1.1.1.1.2.2 wrstuden PATH_SEPARATOR=:
6979 1.1.1.1.2.2 wrstuden fi
6980 1.1.1.1.2.2 wrstuden rm -f conf$$.sh
6981 1.1.1.1.2.2 wrstuden fi
6982 1.1.1.1.2.2 wrstuden
6983 1.1.1.1.2.2 wrstuden # Support unset when possible.
6984 1.1.1.1.2.2 wrstuden if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6985 1.1.1.1.2.2 wrstuden as_unset=unset
6986 1.1.1.1.2.2 wrstuden else
6987 1.1.1.1.2.2 wrstuden as_unset=false
6988 1.1.1.1.2.2 wrstuden fi
6989 1.1.1.1.2.2 wrstuden
6990 1.1.1.1.2.2 wrstuden
6991 1.1.1.1.2.2 wrstuden # IFS
6992 1.1.1.1.2.2 wrstuden # We need space, tab and new line, in precisely that order. Quoting is
6993 1.1.1.1.2.2 wrstuden # there to prevent editors from complaining about space-tab.
6994 1.1.1.1.2.2 wrstuden # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6995 1.1.1.1.2.2 wrstuden # splitting by setting IFS to empty value.)
6996 1.1.1.1.2.2 wrstuden as_nl='
6997 1.1.1.1.2.2 wrstuden '
6998 1.1.1.1.2.2 wrstuden IFS=" "" $as_nl"
6999 1.1.1.1.2.2 wrstuden
7000 1.1.1.1.2.2 wrstuden # Find who we are. Look in the path if we contain no directory separator.
7001 1.1.1.1.2.2 wrstuden case $0 in
7002 1.1.1.1.2.2 wrstuden *[\\/]* ) as_myself=$0 ;;
7003 1.1.1.1.2.2 wrstuden *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7004 1.1.1.1.2.2 wrstuden for as_dir in $PATH
7005 1.1.1.1.2.2 wrstuden do
7006 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
7007 1.1.1.1.2.2 wrstuden test -z "$as_dir" && as_dir=.
7008 1.1.1.1.2.2 wrstuden test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7009 1.1.1.1.2.2 wrstuden done
7010 1.1.1.1.2.2 wrstuden IFS=$as_save_IFS
7011 1.1.1.1.2.2 wrstuden
7012 1.1.1.1.2.2 wrstuden ;;
7013 1.1.1.1.2.2 wrstuden esac
7014 1.1.1.1.2.2 wrstuden # We did not find ourselves, most probably we were run as `sh COMMAND'
7015 1.1.1.1.2.2 wrstuden # in which case we are not to be found in the path.
7016 1.1.1.1.2.2 wrstuden if test "x$as_myself" = x; then
7017 1.1.1.1.2.2 wrstuden as_myself=$0
7018 1.1.1.1.2.2 wrstuden fi
7019 1.1.1.1.2.2 wrstuden if test ! -f "$as_myself"; then
7020 1.1.1.1.2.2 wrstuden echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7021 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }
7022 1.1.1.1.2.2 wrstuden fi
7023 1.1.1.1.2.2 wrstuden
7024 1.1.1.1.2.2 wrstuden # Work around bugs in pre-3.0 UWIN ksh.
7025 1.1.1.1.2.2 wrstuden for as_var in ENV MAIL MAILPATH
7026 1.1.1.1.2.2 wrstuden do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7027 1.1.1.1.2.2 wrstuden done
7028 1.1.1.1.2.2 wrstuden PS1='$ '
7029 1.1.1.1.2.2 wrstuden PS2='> '
7030 1.1.1.1.2.2 wrstuden PS4='+ '
7031 1.1.1.1.2.2 wrstuden
7032 1.1.1.1.2.2 wrstuden # NLS nuisances.
7033 1.1.1.1.2.2 wrstuden for as_var in \
7034 1.1.1.1.2.2 wrstuden LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7035 1.1.1.1.2.2 wrstuden LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7036 1.1.1.1.2.2 wrstuden LC_TELEPHONE LC_TIME
7037 1.1.1.1.2.2 wrstuden do
7038 1.1.1.1.2.2 wrstuden if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7039 1.1.1.1.2.2 wrstuden eval $as_var=C; export $as_var
7040 1.1.1.1.2.2 wrstuden else
7041 1.1.1.1.2.2 wrstuden ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7042 1.1.1.1.2.2 wrstuden fi
7043 1.1.1.1.2.2 wrstuden done
7044 1.1.1.1.2.2 wrstuden
7045 1.1.1.1.2.2 wrstuden # Required to use basename.
7046 1.1.1.1.2.2 wrstuden if expr a : '\(a\)' >/dev/null 2>&1 &&
7047 1.1.1.1.2.2 wrstuden test "X`expr 00001 : '.*\(...\)'`" = X001; then
7048 1.1.1.1.2.2 wrstuden as_expr=expr
7049 1.1.1.1.2.2 wrstuden else
7050 1.1.1.1.2.2 wrstuden as_expr=false
7051 1.1.1.1.2.2 wrstuden fi
7052 1.1.1.1.2.2 wrstuden
7053 1.1.1.1.2.2 wrstuden if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7054 1.1.1.1.2.2 wrstuden as_basename=basename
7055 1.1.1.1.2.2 wrstuden else
7056 1.1.1.1.2.2 wrstuden as_basename=false
7057 1.1.1.1.2.2 wrstuden fi
7058 1.1.1.1.2.2 wrstuden
7059 1.1.1.1.2.2 wrstuden
7060 1.1.1.1.2.2 wrstuden # Name of the executable.
7061 1.1.1.1.2.2 wrstuden as_me=`$as_basename -- "$0" ||
7062 1.1.1.1.2.2 wrstuden $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7063 1.1.1.1.2.2 wrstuden X"$0" : 'X\(//\)$' \| \
7064 1.1.1.1.2.2 wrstuden X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7065 1.1.1.1.2.2 wrstuden echo X/"$0" |
7066 1.1.1.1.2.2 wrstuden sed '/^.*\/\([^/][^/]*\)\/*$/{
7067 1.1.1.1.2.2 wrstuden s//\1/
7068 1.1.1.1.2.2 wrstuden q
7069 1.1.1.1.2.2 wrstuden }
7070 1.1.1.1.2.2 wrstuden /^X\/\(\/\/\)$/{
7071 1.1.1.1.2.2 wrstuden s//\1/
7072 1.1.1.1.2.2 wrstuden q
7073 1.1.1.1.2.2 wrstuden }
7074 1.1.1.1.2.2 wrstuden /^X\/\(\/\).*/{
7075 1.1.1.1.2.2 wrstuden s//\1/
7076 1.1.1.1.2.2 wrstuden q
7077 1.1.1.1.2.2 wrstuden }
7078 1.1.1.1.2.2 wrstuden s/.*/./; q'`
7079 1.1.1.1.2.2 wrstuden
7080 1.1.1.1.2.2 wrstuden # CDPATH.
7081 1.1.1.1.2.2 wrstuden $as_unset CDPATH
7082 1.1.1.1.2.2 wrstuden
7083 1.1.1.1.2.2 wrstuden
7084 1.1.1.1.2.2 wrstuden
7085 1.1.1.1.2.2 wrstuden as_lineno_1=$LINENO
7086 1.1.1.1.2.2 wrstuden as_lineno_2=$LINENO
7087 1.1.1.1.2.2 wrstuden test "x$as_lineno_1" != "x$as_lineno_2" &&
7088 1.1.1.1.2.2 wrstuden test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7089 1.1.1.1.2.2 wrstuden
7090 1.1.1.1.2.2 wrstuden # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7091 1.1.1.1.2.2 wrstuden # uniformly replaced by the line number. The first 'sed' inserts a
7092 1.1.1.1.2.2 wrstuden # line-number line after each line using $LINENO; the second 'sed'
7093 1.1.1.1.2.2 wrstuden # does the real work. The second script uses 'N' to pair each
7094 1.1.1.1.2.2 wrstuden # line-number line with the line containing $LINENO, and appends
7095 1.1.1.1.2.2 wrstuden # trailing '-' during substitution so that $LINENO is not a special
7096 1.1.1.1.2.2 wrstuden # case at line end.
7097 1.1.1.1.2.2 wrstuden # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7098 1.1.1.1.2.2 wrstuden # scripts with optimization help from Paolo Bonzini. Blame Lee
7099 1.1.1.1.2.2 wrstuden # E. McMahon (1931-1989) for sed's syntax. :-)
7100 1.1.1.1.2.2 wrstuden sed -n '
7101 1.1.1.1.2.2 wrstuden p
7102 1.1.1.1.2.2 wrstuden /[$]LINENO/=
7103 1.1.1.1.2.2 wrstuden ' <$as_myself |
7104 1.1.1.1.2.2 wrstuden sed '
7105 1.1.1.1.2.2 wrstuden s/[$]LINENO.*/&-/
7106 1.1.1.1.2.2 wrstuden t lineno
7107 1.1.1.1.2.2 wrstuden b
7108 1.1.1.1.2.2 wrstuden :lineno
7109 1.1.1.1.2.2 wrstuden N
7110 1.1.1.1.2.2 wrstuden :loop
7111 1.1.1.1.2.2 wrstuden s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7112 1.1.1.1.2.2 wrstuden t loop
7113 1.1.1.1.2.2 wrstuden s/-\n.*//
7114 1.1.1.1.2.2 wrstuden ' >$as_me.lineno &&
7115 1.1.1.1.2.2 wrstuden chmod +x "$as_me.lineno" ||
7116 1.1.1.1.2.2 wrstuden { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7117 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
7118 1.1.1.1.2.2 wrstuden
7119 1.1.1.1.2.2 wrstuden # Don't try to exec as it changes $[0], causing all sort of problems
7120 1.1.1.1.2.2 wrstuden # (the dirname of $[0] is not the place where we might find the
7121 1.1.1.1.2.2 wrstuden # original and so on. Autoconf is especially sensitive to this).
7122 1.1.1.1.2.2 wrstuden . "./$as_me.lineno"
7123 1.1.1.1.2.2 wrstuden # Exit status is that of the last command.
7124 1.1.1.1.2.2 wrstuden exit
7125 1.1.1.1.2.2 wrstuden }
7126 1.1.1.1.2.2 wrstuden
7127 1.1.1.1.2.2 wrstuden
7128 1.1.1.1.2.2 wrstuden if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7129 1.1.1.1.2.2 wrstuden as_dirname=dirname
7130 1.1.1.1.2.2 wrstuden else
7131 1.1.1.1.2.2 wrstuden as_dirname=false
7132 1.1.1.1.2.2 wrstuden fi
7133 1.1.1.1.2.2 wrstuden
7134 1.1.1.1.2.2 wrstuden ECHO_C= ECHO_N= ECHO_T=
7135 1.1.1.1.2.2 wrstuden case `echo -n x` in
7136 1.1.1.1.2.2 wrstuden -n*)
7137 1.1.1.1.2.2 wrstuden case `echo 'x\c'` in
7138 1.1.1.1.2.2 wrstuden *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7139 1.1.1.1.2.2 wrstuden *) ECHO_C='\c';;
7140 1.1.1.1.2.2 wrstuden esac;;
7141 1.1.1.1.2.2 wrstuden *)
7142 1.1.1.1.2.2 wrstuden ECHO_N='-n';;
7143 1.1.1.1.2.2 wrstuden esac
7144 1.1.1.1.2.2 wrstuden
7145 1.1.1.1.2.2 wrstuden if expr a : '\(a\)' >/dev/null 2>&1 &&
7146 1.1.1.1.2.2 wrstuden test "X`expr 00001 : '.*\(...\)'`" = X001; then
7147 1.1.1.1.2.2 wrstuden as_expr=expr
7148 1.1.1.1.2.2 wrstuden else
7149 1.1.1.1.2.2 wrstuden as_expr=false
7150 1.1.1.1.2.2 wrstuden fi
7151 1.1.1.1.2.2 wrstuden
7152 1.1.1.1.2.2 wrstuden rm -f conf$$ conf$$.exe conf$$.file
7153 1.1.1.1.2.2 wrstuden if test -d conf$$.dir; then
7154 1.1.1.1.2.2 wrstuden rm -f conf$$.dir/conf$$.file
7155 1.1.1.1.2.2 wrstuden else
7156 1.1.1.1.2.2 wrstuden rm -f conf$$.dir
7157 1.1.1.1.2.2 wrstuden mkdir conf$$.dir
7158 1.1.1.1.2.2 wrstuden fi
7159 1.1.1.1.2.2 wrstuden echo >conf$$.file
7160 1.1.1.1.2.2 wrstuden if ln -s conf$$.file conf$$ 2>/dev/null; then
7161 1.1.1.1.2.2 wrstuden as_ln_s='ln -s'
7162 1.1.1.1.2.2 wrstuden # ... but there are two gotchas:
7163 1.1.1.1.2.2 wrstuden # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7164 1.1.1.1.2.2 wrstuden # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7165 1.1.1.1.2.2 wrstuden # In both cases, we have to default to `cp -p'.
7166 1.1.1.1.2.2 wrstuden ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7167 1.1.1.1.2.2 wrstuden as_ln_s='cp -p'
7168 1.1.1.1.2.2 wrstuden elif ln conf$$.file conf$$ 2>/dev/null; then
7169 1.1.1.1.2.2 wrstuden as_ln_s=ln
7170 1.1.1.1.2.2 wrstuden else
7171 1.1.1.1.2.2 wrstuden as_ln_s='cp -p'
7172 1.1.1.1.2.2 wrstuden fi
7173 1.1.1.1.2.2 wrstuden rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7174 1.1.1.1.2.2 wrstuden rmdir conf$$.dir 2>/dev/null
7175 1.1.1.1.2.2 wrstuden
7176 1.1.1.1.2.2 wrstuden if mkdir -p . 2>/dev/null; then
7177 1.1.1.1.2.2 wrstuden as_mkdir_p=:
7178 1.1.1.1.2.2 wrstuden else
7179 1.1.1.1.2.2 wrstuden test -d ./-p && rmdir ./-p
7180 1.1.1.1.2.2 wrstuden as_mkdir_p=false
7181 1.1.1.1.2.2 wrstuden fi
7182 1.1.1.1.2.2 wrstuden
7183 1.1.1.1.2.2 wrstuden if test -x / >/dev/null 2>&1; then
7184 1.1.1.1.2.2 wrstuden as_test_x='test -x'
7185 1.1.1.1.2.2 wrstuden else
7186 1.1.1.1.2.2 wrstuden if ls -dL / >/dev/null 2>&1; then
7187 1.1.1.1.2.2 wrstuden as_ls_L_option=L
7188 1.1.1.1.2.2 wrstuden else
7189 1.1.1.1.2.2 wrstuden as_ls_L_option=
7190 1.1.1.1.2.2 wrstuden fi
7191 1.1.1.1.2.2 wrstuden as_test_x='
7192 1.1.1.1.2.2 wrstuden eval sh -c '\''
7193 1.1.1.1.2.2 wrstuden if test -d "$1"; then
7194 1.1.1.1.2.2 wrstuden test -d "$1/.";
7195 1.1.1.1.2.2 wrstuden else
7196 1.1.1.1.2.2 wrstuden case $1 in
7197 1.1.1.1.2.2 wrstuden -*)set "./$1";;
7198 1.1.1.1.2.2 wrstuden esac;
7199 1.1.1.1.2.2 wrstuden case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7200 1.1.1.1.2.2 wrstuden ???[sx]*):;;*)false;;esac;fi
7201 1.1.1.1.2.2 wrstuden '\'' sh
7202 1.1.1.1.2.2 wrstuden '
7203 1.1.1.1.2.2 wrstuden fi
7204 1.1.1.1.2.2 wrstuden as_executable_p=$as_test_x
7205 1.1.1.1.2.2 wrstuden
7206 1.1.1.1.2.2 wrstuden # Sed expression to map a string onto a valid CPP name.
7207 1.1.1.1.2.2 wrstuden as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7208 1.1.1.1.2.2 wrstuden
7209 1.1.1.1.2.2 wrstuden # Sed expression to map a string onto a valid variable name.
7210 1.1.1.1.2.2 wrstuden as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7211 1.1.1.1.2.2 wrstuden
7212 1.1.1.1.2.2 wrstuden
7213 1.1.1.1.2.2 wrstuden exec 6>&1
7214 1.1.1.1.2.2 wrstuden
7215 1.1.1.1.2.2 wrstuden # Save the log message, to keep $[0] and so on meaningful, and to
7216 1.1.1.1.2.2 wrstuden # report actual input values of CONFIG_FILES etc. instead of their
7217 1.1.1.1.2.2 wrstuden # values after options handling.
7218 1.1.1.1.2.2 wrstuden ac_log="
7219 1.1.1.1.2.2 wrstuden This file was extended by top $as_me 3.8beta1, which was
7220 1.1.1.1.2.2 wrstuden generated by GNU Autoconf 2.61. Invocation command line was
7221 1.1.1.1.2.2 wrstuden
7222 1.1.1.1.2.2 wrstuden CONFIG_FILES = $CONFIG_FILES
7223 1.1.1.1.2.2 wrstuden CONFIG_HEADERS = $CONFIG_HEADERS
7224 1.1.1.1.2.2 wrstuden CONFIG_LINKS = $CONFIG_LINKS
7225 1.1.1.1.2.2 wrstuden CONFIG_COMMANDS = $CONFIG_COMMANDS
7226 1.1.1.1.2.2 wrstuden $ $0 $@
7227 1.1.1.1.2.2 wrstuden
7228 1.1.1.1.2.2 wrstuden on `(hostname || uname -n) 2>/dev/null | sed 1q`
7229 1.1.1.1.2.2 wrstuden "
7230 1.1.1.1.2.2 wrstuden
7231 1.1.1.1.2.2 wrstuden _ACEOF
7232 1.1.1.1.2.2 wrstuden
7233 1.1.1.1.2.2 wrstuden cat >>$CONFIG_STATUS <<_ACEOF
7234 1.1.1.1.2.2 wrstuden # Files that config.status was made for.
7235 1.1.1.1.2.2 wrstuden config_files="$ac_config_files"
7236 1.1.1.1.2.2 wrstuden config_headers="$ac_config_headers"
7237 1.1.1.1.2.2 wrstuden
7238 1.1.1.1.2.2 wrstuden _ACEOF
7239 1.1.1.1.2.2 wrstuden
7240 1.1.1.1.2.2 wrstuden cat >>$CONFIG_STATUS <<\_ACEOF
7241 1.1.1.1.2.2 wrstuden ac_cs_usage="\
7242 1.1.1.1.2.2 wrstuden \`$as_me' instantiates files from templates according to the
7243 1.1.1.1.2.2 wrstuden current configuration.
7244 1.1.1.1.2.2 wrstuden
7245 1.1.1.1.2.2 wrstuden Usage: $0 [OPTIONS] [FILE]...
7246 1.1.1.1.2.2 wrstuden
7247 1.1.1.1.2.2 wrstuden -h, --help print this help, then exit
7248 1.1.1.1.2.2 wrstuden -V, --version print version number and configuration settings, then exit
7249 1.1.1.1.2.2 wrstuden -q, --quiet do not print progress messages
7250 1.1.1.1.2.2 wrstuden -d, --debug don't remove temporary files
7251 1.1.1.1.2.2 wrstuden --recheck update $as_me by reconfiguring in the same conditions
7252 1.1.1.1.2.2 wrstuden --file=FILE[:TEMPLATE]
7253 1.1.1.1.2.2 wrstuden instantiate the configuration file FILE
7254 1.1.1.1.2.2 wrstuden --header=FILE[:TEMPLATE]
7255 1.1.1.1.2.2 wrstuden instantiate the configuration header FILE
7256 1.1.1.1.2.2 wrstuden
7257 1.1.1.1.2.2 wrstuden Configuration files:
7258 1.1.1.1.2.2 wrstuden $config_files
7259 1.1.1.1.2.2 wrstuden
7260 1.1.1.1.2.2 wrstuden Configuration headers:
7261 1.1.1.1.2.2 wrstuden $config_headers
7262 1.1.1.1.2.2 wrstuden
7263 1.1.1.1.2.2 wrstuden Report bugs to <bug-autoconf (at] gnu.org>."
7264 1.1.1.1.2.2 wrstuden
7265 1.1.1.1.2.2 wrstuden _ACEOF
7266 1.1.1.1.2.2 wrstuden cat >>$CONFIG_STATUS <<_ACEOF
7267 1.1.1.1.2.2 wrstuden ac_cs_version="\\
7268 1.1.1.1.2.2 wrstuden top config.status 3.8beta1
7269 1.1.1.1.2.2 wrstuden configured by $0, generated by GNU Autoconf 2.61,
7270 1.1.1.1.2.2 wrstuden with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7271 1.1.1.1.2.2 wrstuden
7272 1.1.1.1.2.2 wrstuden Copyright (C) 2006 Free Software Foundation, Inc.
7273 1.1.1.1.2.2 wrstuden This config.status script is free software; the Free Software Foundation
7274 1.1.1.1.2.2 wrstuden gives unlimited permission to copy, distribute and modify it."
7275 1.1.1.1.2.2 wrstuden
7276 1.1.1.1.2.2 wrstuden ac_pwd='$ac_pwd'
7277 1.1.1.1.2.2 wrstuden srcdir='$srcdir'
7278 1.1.1.1.2.2 wrstuden INSTALL='$INSTALL'
7279 1.1.1.1.2.2 wrstuden _ACEOF
7280 1.1.1.1.2.2 wrstuden
7281 1.1.1.1.2.2 wrstuden cat >>$CONFIG_STATUS <<\_ACEOF
7282 1.1.1.1.2.2 wrstuden # If no file are specified by the user, then we need to provide default
7283 1.1.1.1.2.2 wrstuden # value. By we need to know if files were specified by the user.
7284 1.1.1.1.2.2 wrstuden ac_need_defaults=:
7285 1.1.1.1.2.2 wrstuden while test $# != 0
7286 1.1.1.1.2.2 wrstuden do
7287 1.1.1.1.2.2 wrstuden case $1 in
7288 1.1.1.1.2.2 wrstuden --*=*)
7289 1.1.1.1.2.2 wrstuden ac_option=`expr "X$1" : 'X\([^=]*\)='`
7290 1.1.1.1.2.2 wrstuden ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7291 1.1.1.1.2.2 wrstuden ac_shift=:
7292 1.1.1.1.2.2 wrstuden ;;
7293 1.1.1.1.2.2 wrstuden *)
7294 1.1.1.1.2.2 wrstuden ac_option=$1
7295 1.1.1.1.2.2 wrstuden ac_optarg=$2
7296 1.1.1.1.2.2 wrstuden ac_shift=shift
7297 1.1.1.1.2.2 wrstuden ;;
7298 1.1.1.1.2.2 wrstuden esac
7299 1.1.1.1.2.2 wrstuden
7300 1.1.1.1.2.2 wrstuden case $ac_option in
7301 1.1.1.1.2.2 wrstuden # Handling of the options.
7302 1.1.1.1.2.2 wrstuden -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7303 1.1.1.1.2.2 wrstuden ac_cs_recheck=: ;;
7304 1.1.1.1.2.2 wrstuden --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7305 1.1.1.1.2.2 wrstuden echo "$ac_cs_version"; exit ;;
7306 1.1.1.1.2.2 wrstuden --debug | --debu | --deb | --de | --d | -d )
7307 1.1.1.1.2.2 wrstuden debug=: ;;
7308 1.1.1.1.2.2 wrstuden --file | --fil | --fi | --f )
7309 1.1.1.1.2.2 wrstuden $ac_shift
7310 1.1.1.1.2.2 wrstuden CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7311 1.1.1.1.2.2 wrstuden ac_need_defaults=false;;
7312 1.1.1.1.2.2 wrstuden --header | --heade | --head | --hea )
7313 1.1.1.1.2.2 wrstuden $ac_shift
7314 1.1.1.1.2.2 wrstuden CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7315 1.1.1.1.2.2 wrstuden ac_need_defaults=false;;
7316 1.1.1.1.2.2 wrstuden --he | --h)
7317 1.1.1.1.2.2 wrstuden # Conflict between --help and --header
7318 1.1.1.1.2.2 wrstuden { echo "$as_me: error: ambiguous option: $1
7319 1.1.1.1.2.2 wrstuden Try \`$0 --help' for more information." >&2
7320 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; };;
7321 1.1.1.1.2.2 wrstuden --help | --hel | -h )
7322 1.1.1.1.2.2 wrstuden echo "$ac_cs_usage"; exit ;;
7323 1.1.1.1.2.2 wrstuden -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7324 1.1.1.1.2.2 wrstuden | -silent | --silent | --silen | --sile | --sil | --si | --s)
7325 1.1.1.1.2.2 wrstuden ac_cs_silent=: ;;
7326 1.1.1.1.2.2 wrstuden
7327 1.1.1.1.2.2 wrstuden # This is an error.
7328 1.1.1.1.2.2 wrstuden -*) { echo "$as_me: error: unrecognized option: $1
7329 1.1.1.1.2.2 wrstuden Try \`$0 --help' for more information." >&2
7330 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; } ;;
7331 1.1.1.1.2.2 wrstuden
7332 1.1.1.1.2.2 wrstuden *) ac_config_targets="$ac_config_targets $1"
7333 1.1.1.1.2.2 wrstuden ac_need_defaults=false ;;
7334 1.1.1.1.2.2 wrstuden
7335 1.1.1.1.2.2 wrstuden esac
7336 1.1.1.1.2.2 wrstuden shift
7337 1.1.1.1.2.2 wrstuden done
7338 1.1.1.1.2.2 wrstuden
7339 1.1.1.1.2.2 wrstuden ac_configure_extra_args=
7340 1.1.1.1.2.2 wrstuden
7341 1.1.1.1.2.2 wrstuden if $ac_cs_silent; then
7342 1.1.1.1.2.2 wrstuden exec 6>/dev/null
7343 1.1.1.1.2.2 wrstuden ac_configure_extra_args="$ac_configure_extra_args --silent"
7344 1.1.1.1.2.2 wrstuden fi
7345 1.1.1.1.2.2 wrstuden
7346 1.1.1.1.2.2 wrstuden _ACEOF
7347 1.1.1.1.2.2 wrstuden cat >>$CONFIG_STATUS <<_ACEOF
7348 1.1.1.1.2.2 wrstuden if \$ac_cs_recheck; then
7349 1.1.1.1.2.2 wrstuden echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7350 1.1.1.1.2.2 wrstuden CONFIG_SHELL=$SHELL
7351 1.1.1.1.2.2 wrstuden export CONFIG_SHELL
7352 1.1.1.1.2.2 wrstuden exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7353 1.1.1.1.2.2 wrstuden fi
7354 1.1.1.1.2.2 wrstuden
7355 1.1.1.1.2.2 wrstuden _ACEOF
7356 1.1.1.1.2.2 wrstuden cat >>$CONFIG_STATUS <<\_ACEOF
7357 1.1.1.1.2.2 wrstuden exec 5>>config.log
7358 1.1.1.1.2.2 wrstuden {
7359 1.1.1.1.2.2 wrstuden echo
7360 1.1.1.1.2.2 wrstuden sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7361 1.1.1.1.2.2 wrstuden ## Running $as_me. ##
7362 1.1.1.1.2.2 wrstuden _ASBOX
7363 1.1.1.1.2.2 wrstuden echo "$ac_log"
7364 1.1.1.1.2.2 wrstuden } >&5
7365 1.1.1.1.2.2 wrstuden
7366 1.1.1.1.2.2 wrstuden _ACEOF
7367 1.1.1.1.2.2 wrstuden cat >>$CONFIG_STATUS <<_ACEOF
7368 1.1.1.1.2.2 wrstuden _ACEOF
7369 1.1.1.1.2.2 wrstuden
7370 1.1.1.1.2.2 wrstuden cat >>$CONFIG_STATUS <<\_ACEOF
7371 1.1.1.1.2.2 wrstuden
7372 1.1.1.1.2.2 wrstuden # Handling of arguments.
7373 1.1.1.1.2.2 wrstuden for ac_config_target in $ac_config_targets
7374 1.1.1.1.2.2 wrstuden do
7375 1.1.1.1.2.2 wrstuden case $ac_config_target in
7376 1.1.1.1.2.2 wrstuden "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7377 1.1.1.1.2.2 wrstuden "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7378 1.1.1.1.2.2 wrstuden "top.1") CONFIG_FILES="$CONFIG_FILES top.1" ;;
7379 1.1.1.1.2.2 wrstuden
7380 1.1.1.1.2.2 wrstuden *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7381 1.1.1.1.2.2 wrstuden echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7382 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; };;
7383 1.1.1.1.2.2 wrstuden esac
7384 1.1.1.1.2.2 wrstuden done
7385 1.1.1.1.2.2 wrstuden
7386 1.1.1.1.2.2 wrstuden
7387 1.1.1.1.2.2 wrstuden # If the user did not use the arguments to specify the items to instantiate,
7388 1.1.1.1.2.2 wrstuden # then the envvar interface is used. Set only those that are not.
7389 1.1.1.1.2.2 wrstuden # We use the long form for the default assignment because of an extremely
7390 1.1.1.1.2.2 wrstuden # bizarre bug on SunOS 4.1.3.
7391 1.1.1.1.2.2 wrstuden if $ac_need_defaults; then
7392 1.1.1.1.2.2 wrstuden test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7393 1.1.1.1.2.2 wrstuden test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7394 1.1.1.1.2.2 wrstuden fi
7395 1.1.1.1.2.2 wrstuden
7396 1.1.1.1.2.2 wrstuden # Have a temporary directory for convenience. Make it in the build tree
7397 1.1.1.1.2.2 wrstuden # simply because there is no reason against having it here, and in addition,
7398 1.1.1.1.2.2 wrstuden # creating and moving files from /tmp can sometimes cause problems.
7399 1.1.1.1.2.2 wrstuden # Hook for its removal unless debugging.
7400 1.1.1.1.2.2 wrstuden # Note that there is a small window in which the directory will not be cleaned:
7401 1.1.1.1.2.2 wrstuden # after its creation but before its name has been assigned to `$tmp'.
7402 1.1.1.1.2.2 wrstuden $debug ||
7403 1.1.1.1.2.2 wrstuden {
7404 1.1.1.1.2.2 wrstuden tmp=
7405 1.1.1.1.2.2 wrstuden trap 'exit_status=$?
7406 1.1.1.1.2.2 wrstuden { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7407 1.1.1.1.2.2 wrstuden ' 0
7408 1.1.1.1.2.2 wrstuden trap '{ (exit 1); exit 1; }' 1 2 13 15
7409 1.1.1.1.2.2 wrstuden }
7410 1.1.1.1.2.2 wrstuden # Create a (secure) tmp directory for tmp files.
7411 1.1.1.1.2.2 wrstuden
7412 1.1.1.1.2.2 wrstuden {
7413 1.1.1.1.2.2 wrstuden tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7414 1.1.1.1.2.2 wrstuden test -n "$tmp" && test -d "$tmp"
7415 1.1.1.1.2.2 wrstuden } ||
7416 1.1.1.1.2.2 wrstuden {
7417 1.1.1.1.2.2 wrstuden tmp=./conf$$-$RANDOM
7418 1.1.1.1.2.2 wrstuden (umask 077 && mkdir "$tmp")
7419 1.1.1.1.2.2 wrstuden } ||
7420 1.1.1.1.2.2 wrstuden {
7421 1.1.1.1.2.2 wrstuden echo "$me: cannot create a temporary directory in ." >&2
7422 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }
7423 1.1.1.1.2.2 wrstuden }
7424 1.1.1.1.2.2 wrstuden
7425 1.1.1.1.2.2 wrstuden #
7426 1.1.1.1.2.2 wrstuden # Set up the sed scripts for CONFIG_FILES section.
7427 1.1.1.1.2.2 wrstuden #
7428 1.1.1.1.2.2 wrstuden
7429 1.1.1.1.2.2 wrstuden # No need to generate the scripts if there are no CONFIG_FILES.
7430 1.1.1.1.2.2 wrstuden # This happens for instance when ./config.status config.h
7431 1.1.1.1.2.2 wrstuden if test -n "$CONFIG_FILES"; then
7432 1.1.1.1.2.2 wrstuden
7433 1.1.1.1.2.2 wrstuden _ACEOF
7434 1.1.1.1.2.2 wrstuden
7435 1.1.1.1.2.2 wrstuden # Create sed commands to just substitute file output variables.
7436 1.1.1.1.2.2 wrstuden
7437 1.1.1.1.2.2 wrstuden # Remaining file output variables are in a fragment that also has non-file
7438 1.1.1.1.2.2 wrstuden # output varibles.
7439 1.1.1.1.2.2 wrstuden
7440 1.1.1.1.2.2 wrstuden
7441 1.1.1.1.2.2 wrstuden
7442 1.1.1.1.2.2 wrstuden ac_delim='%!_!# '
7443 1.1.1.1.2.2 wrstuden for ac_last_try in false false false false false :; do
7444 1.1.1.1.2.2 wrstuden cat >conf$$subs.sed <<_ACEOF
7445 1.1.1.1.2.2 wrstuden SHELL!$SHELL$ac_delim
7446 1.1.1.1.2.2 wrstuden PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7447 1.1.1.1.2.2 wrstuden PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7448 1.1.1.1.2.2 wrstuden PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7449 1.1.1.1.2.2 wrstuden PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7450 1.1.1.1.2.2 wrstuden PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7451 1.1.1.1.2.2 wrstuden PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7452 1.1.1.1.2.2 wrstuden exec_prefix!$exec_prefix$ac_delim
7453 1.1.1.1.2.2 wrstuden prefix!$prefix$ac_delim
7454 1.1.1.1.2.2 wrstuden program_transform_name!$program_transform_name$ac_delim
7455 1.1.1.1.2.2 wrstuden bindir!$bindir$ac_delim
7456 1.1.1.1.2.2 wrstuden sbindir!$sbindir$ac_delim
7457 1.1.1.1.2.2 wrstuden libexecdir!$libexecdir$ac_delim
7458 1.1.1.1.2.2 wrstuden datarootdir!$datarootdir$ac_delim
7459 1.1.1.1.2.2 wrstuden datadir!$datadir$ac_delim
7460 1.1.1.1.2.2 wrstuden sysconfdir!$sysconfdir$ac_delim
7461 1.1.1.1.2.2 wrstuden sharedstatedir!$sharedstatedir$ac_delim
7462 1.1.1.1.2.2 wrstuden localstatedir!$localstatedir$ac_delim
7463 1.1.1.1.2.2 wrstuden includedir!$includedir$ac_delim
7464 1.1.1.1.2.2 wrstuden oldincludedir!$oldincludedir$ac_delim
7465 1.1.1.1.2.2 wrstuden docdir!$docdir$ac_delim
7466 1.1.1.1.2.2 wrstuden infodir!$infodir$ac_delim
7467 1.1.1.1.2.2 wrstuden htmldir!$htmldir$ac_delim
7468 1.1.1.1.2.2 wrstuden dvidir!$dvidir$ac_delim
7469 1.1.1.1.2.2 wrstuden pdfdir!$pdfdir$ac_delim
7470 1.1.1.1.2.2 wrstuden psdir!$psdir$ac_delim
7471 1.1.1.1.2.2 wrstuden libdir!$libdir$ac_delim
7472 1.1.1.1.2.2 wrstuden localedir!$localedir$ac_delim
7473 1.1.1.1.2.2 wrstuden mandir!$mandir$ac_delim
7474 1.1.1.1.2.2 wrstuden DEFS!$DEFS$ac_delim
7475 1.1.1.1.2.2 wrstuden ECHO_C!$ECHO_C$ac_delim
7476 1.1.1.1.2.2 wrstuden ECHO_N!$ECHO_N$ac_delim
7477 1.1.1.1.2.2 wrstuden ECHO_T!$ECHO_T$ac_delim
7478 1.1.1.1.2.2 wrstuden LIBS!$LIBS$ac_delim
7479 1.1.1.1.2.2 wrstuden build_alias!$build_alias$ac_delim
7480 1.1.1.1.2.2 wrstuden host_alias!$host_alias$ac_delim
7481 1.1.1.1.2.2 wrstuden target_alias!$target_alias$ac_delim
7482 1.1.1.1.2.2 wrstuden build!$build$ac_delim
7483 1.1.1.1.2.2 wrstuden build_cpu!$build_cpu$ac_delim
7484 1.1.1.1.2.2 wrstuden build_vendor!$build_vendor$ac_delim
7485 1.1.1.1.2.2 wrstuden build_os!$build_os$ac_delim
7486 1.1.1.1.2.2 wrstuden host!$host$ac_delim
7487 1.1.1.1.2.2 wrstuden host_cpu!$host_cpu$ac_delim
7488 1.1.1.1.2.2 wrstuden host_vendor!$host_vendor$ac_delim
7489 1.1.1.1.2.2 wrstuden host_os!$host_os$ac_delim
7490 1.1.1.1.2.2 wrstuden target!$target$ac_delim
7491 1.1.1.1.2.2 wrstuden target_cpu!$target_cpu$ac_delim
7492 1.1.1.1.2.2 wrstuden target_vendor!$target_vendor$ac_delim
7493 1.1.1.1.2.2 wrstuden target_os!$target_os$ac_delim
7494 1.1.1.1.2.2 wrstuden DEFAULT_TOPN!$DEFAULT_TOPN$ac_delim
7495 1.1.1.1.2.2 wrstuden NOMINAL_TOPN!$NOMINAL_TOPN$ac_delim
7496 1.1.1.1.2.2 wrstuden DEFAULT_DELAY!$DEFAULT_DELAY$ac_delim
7497 1.1.1.1.2.2 wrstuden ENABLE_KILL!$ENABLE_KILL$ac_delim
7498 1.1.1.1.2.2 wrstuden MAKE!$MAKE$ac_delim
7499 1.1.1.1.2.2 wrstuden CC!$CC$ac_delim
7500 1.1.1.1.2.2 wrstuden CFLAGS!$CFLAGS$ac_delim
7501 1.1.1.1.2.2 wrstuden LDFLAGS!$LDFLAGS$ac_delim
7502 1.1.1.1.2.2 wrstuden CPPFLAGS!$CPPFLAGS$ac_delim
7503 1.1.1.1.2.2 wrstuden ac_ct_CC!$ac_ct_CC$ac_delim
7504 1.1.1.1.2.2 wrstuden EXEEXT!$EXEEXT$ac_delim
7505 1.1.1.1.2.2 wrstuden OBJEXT!$OBJEXT$ac_delim
7506 1.1.1.1.2.2 wrstuden AWK!$AWK$ac_delim
7507 1.1.1.1.2.2 wrstuden INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7508 1.1.1.1.2.2 wrstuden INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7509 1.1.1.1.2.2 wrstuden INSTALL_DATA!$INSTALL_DATA$ac_delim
7510 1.1.1.1.2.2 wrstuden ISAINFO!$ISAINFO$ac_delim
7511 1.1.1.1.2.2 wrstuden ISAEXEC!$ISAEXEC$ac_delim
7512 1.1.1.1.2.2 wrstuden UNAME!$UNAME$ac_delim
7513 1.1.1.1.2.2 wrstuden CPP!$CPP$ac_delim
7514 1.1.1.1.2.2 wrstuden GREP!$GREP$ac_delim
7515 1.1.1.1.2.2 wrstuden EGREP!$EGREP$ac_delim
7516 1.1.1.1.2.2 wrstuden SIGNAL_H!$SIGNAL_H$ac_delim
7517 1.1.1.1.2.2 wrstuden HAVE_GETOPT_LONG!$HAVE_GETOPT_LONG$ac_delim
7518 1.1.1.1.2.2 wrstuden SRC!$SRC$ac_delim
7519 1.1.1.1.2.2 wrstuden OBJ!$OBJ$ac_delim
7520 1.1.1.1.2.2 wrstuden CLEAN_EXTRA!$CLEAN_EXTRA$ac_delim
7521 1.1.1.1.2.2 wrstuden ARCHFLAG!$ARCHFLAG$ac_delim
7522 1.1.1.1.2.2 wrstuden MODULE!$MODULE$ac_delim
7523 1.1.1.1.2.2 wrstuden MODULE_CFLAGS!$MODULE_CFLAGS$ac_delim
7524 1.1.1.1.2.2 wrstuden INSTALL_OPTS_PROG!$INSTALL_OPTS_PROG$ac_delim
7525 1.1.1.1.2.2 wrstuden LIBOBJS!$LIBOBJS$ac_delim
7526 1.1.1.1.2.2 wrstuden LTLIBOBJS!$LTLIBOBJS$ac_delim
7527 1.1.1.1.2.2 wrstuden _ACEOF
7528 1.1.1.1.2.2 wrstuden
7529 1.1.1.1.2.2 wrstuden if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
7530 1.1.1.1.2.2 wrstuden break
7531 1.1.1.1.2.2 wrstuden elif $ac_last_try; then
7532 1.1.1.1.2.2 wrstuden { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7533 1.1.1.1.2.2 wrstuden echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7534 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }
7535 1.1.1.1.2.2 wrstuden else
7536 1.1.1.1.2.2 wrstuden ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7537 1.1.1.1.2.2 wrstuden fi
7538 1.1.1.1.2.2 wrstuden done
7539 1.1.1.1.2.2 wrstuden
7540 1.1.1.1.2.2 wrstuden ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7541 1.1.1.1.2.2 wrstuden if test -n "$ac_eof"; then
7542 1.1.1.1.2.2 wrstuden ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7543 1.1.1.1.2.2 wrstuden ac_eof=`expr $ac_eof + 1`
7544 1.1.1.1.2.2 wrstuden fi
7545 1.1.1.1.2.2 wrstuden
7546 1.1.1.1.2.2 wrstuden cat >>$CONFIG_STATUS <<_ACEOF
7547 1.1.1.1.2.2 wrstuden cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7548 1.1.1.1.2.2 wrstuden /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7549 1.1.1.1.2.2 wrstuden /^[ ]*@FIRST_RULE@[ ]*$/{
7550 1.1.1.1.2.2 wrstuden r $FIRST_RULE
7551 1.1.1.1.2.2 wrstuden d
7552 1.1.1.1.2.2 wrstuden }
7553 1.1.1.1.2.2 wrstuden /^[ ]*@INSTALL_RULE@[ ]*$/{
7554 1.1.1.1.2.2 wrstuden r $INSTALL_RULE
7555 1.1.1.1.2.2 wrstuden d
7556 1.1.1.1.2.2 wrstuden }
7557 1.1.1.1.2.2 wrstuden /^[ ]*@MAN_SUPPLEMENT@[ ]*$/{
7558 1.1.1.1.2.2 wrstuden r $MAN_SUPPLEMENT
7559 1.1.1.1.2.2 wrstuden d
7560 1.1.1.1.2.2 wrstuden }
7561 1.1.1.1.2.2 wrstuden _ACEOF
7562 1.1.1.1.2.2 wrstuden sed '
7563 1.1.1.1.2.2 wrstuden s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7564 1.1.1.1.2.2 wrstuden s/^/s,@/; s/!/@,|#_!!_#|/
7565 1.1.1.1.2.2 wrstuden :n
7566 1.1.1.1.2.2 wrstuden t n
7567 1.1.1.1.2.2 wrstuden s/'"$ac_delim"'$/,g/; t
7568 1.1.1.1.2.2 wrstuden s/$/\\/; p
7569 1.1.1.1.2.2 wrstuden N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7570 1.1.1.1.2.2 wrstuden ' >>$CONFIG_STATUS <conf$$subs.sed
7571 1.1.1.1.2.2 wrstuden rm -f conf$$subs.sed
7572 1.1.1.1.2.2 wrstuden cat >>$CONFIG_STATUS <<_ACEOF
7573 1.1.1.1.2.2 wrstuden :end
7574 1.1.1.1.2.2 wrstuden s/|#_!!_#|//g
7575 1.1.1.1.2.2 wrstuden CEOF$ac_eof
7576 1.1.1.1.2.2 wrstuden _ACEOF
7577 1.1.1.1.2.2 wrstuden
7578 1.1.1.1.2.2 wrstuden
7579 1.1.1.1.2.2 wrstuden # VPATH may cause trouble with some makes, so we remove $(srcdir),
7580 1.1.1.1.2.2 wrstuden # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7581 1.1.1.1.2.2 wrstuden # trailing colons and then remove the whole line if VPATH becomes empty
7582 1.1.1.1.2.2 wrstuden # (actually we leave an empty line to preserve line numbers).
7583 1.1.1.1.2.2 wrstuden if test "x$srcdir" = x.; then
7584 1.1.1.1.2.2 wrstuden ac_vpsub='/^[ ]*VPATH[ ]*=/{
7585 1.1.1.1.2.2 wrstuden s/:*\$(srcdir):*/:/
7586 1.1.1.1.2.2 wrstuden s/:*\${srcdir}:*/:/
7587 1.1.1.1.2.2 wrstuden s/:*@srcdir@:*/:/
7588 1.1.1.1.2.2 wrstuden s/^\([^=]*=[ ]*\):*/\1/
7589 1.1.1.1.2.2 wrstuden s/:*$//
7590 1.1.1.1.2.2 wrstuden s/^[^=]*=[ ]*$//
7591 1.1.1.1.2.2 wrstuden }'
7592 1.1.1.1.2.2 wrstuden fi
7593 1.1.1.1.2.2 wrstuden
7594 1.1.1.1.2.2 wrstuden cat >>$CONFIG_STATUS <<\_ACEOF
7595 1.1.1.1.2.2 wrstuden fi # test -n "$CONFIG_FILES"
7596 1.1.1.1.2.2 wrstuden
7597 1.1.1.1.2.2 wrstuden
7598 1.1.1.1.2.2 wrstuden for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
7599 1.1.1.1.2.2 wrstuden do
7600 1.1.1.1.2.2 wrstuden case $ac_tag in
7601 1.1.1.1.2.2 wrstuden :[FHLC]) ac_mode=$ac_tag; continue;;
7602 1.1.1.1.2.2 wrstuden esac
7603 1.1.1.1.2.2 wrstuden case $ac_mode$ac_tag in
7604 1.1.1.1.2.2 wrstuden :[FHL]*:*);;
7605 1.1.1.1.2.2 wrstuden :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7606 1.1.1.1.2.2 wrstuden echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7607 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; };;
7608 1.1.1.1.2.2 wrstuden :[FH]-) ac_tag=-:-;;
7609 1.1.1.1.2.2 wrstuden :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7610 1.1.1.1.2.2 wrstuden esac
7611 1.1.1.1.2.2 wrstuden ac_save_IFS=$IFS
7612 1.1.1.1.2.2 wrstuden IFS=:
7613 1.1.1.1.2.2 wrstuden set x $ac_tag
7614 1.1.1.1.2.2 wrstuden IFS=$ac_save_IFS
7615 1.1.1.1.2.2 wrstuden shift
7616 1.1.1.1.2.2 wrstuden ac_file=$1
7617 1.1.1.1.2.2 wrstuden shift
7618 1.1.1.1.2.2 wrstuden
7619 1.1.1.1.2.2 wrstuden case $ac_mode in
7620 1.1.1.1.2.2 wrstuden :L) ac_source=$1;;
7621 1.1.1.1.2.2 wrstuden :[FH])
7622 1.1.1.1.2.2 wrstuden ac_file_inputs=
7623 1.1.1.1.2.2 wrstuden for ac_f
7624 1.1.1.1.2.2 wrstuden do
7625 1.1.1.1.2.2 wrstuden case $ac_f in
7626 1.1.1.1.2.2 wrstuden -) ac_f="$tmp/stdin";;
7627 1.1.1.1.2.2 wrstuden *) # Look for the file first in the build tree, then in the source tree
7628 1.1.1.1.2.2 wrstuden # (if the path is not absolute). The absolute path cannot be DOS-style,
7629 1.1.1.1.2.2 wrstuden # because $ac_f cannot contain `:'.
7630 1.1.1.1.2.2 wrstuden test -f "$ac_f" ||
7631 1.1.1.1.2.2 wrstuden case $ac_f in
7632 1.1.1.1.2.2 wrstuden [\\/$]*) false;;
7633 1.1.1.1.2.2 wrstuden *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7634 1.1.1.1.2.2 wrstuden esac ||
7635 1.1.1.1.2.2 wrstuden { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7636 1.1.1.1.2.2 wrstuden echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7637 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; };;
7638 1.1.1.1.2.2 wrstuden esac
7639 1.1.1.1.2.2 wrstuden ac_file_inputs="$ac_file_inputs $ac_f"
7640 1.1.1.1.2.2 wrstuden done
7641 1.1.1.1.2.2 wrstuden
7642 1.1.1.1.2.2 wrstuden # Let's still pretend it is `configure' which instantiates (i.e., don't
7643 1.1.1.1.2.2 wrstuden # use $as_me), people would be surprised to read:
7644 1.1.1.1.2.2 wrstuden # /* config.h. Generated by config.status. */
7645 1.1.1.1.2.2 wrstuden configure_input="Generated from "`IFS=:
7646 1.1.1.1.2.2 wrstuden echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7647 1.1.1.1.2.2 wrstuden if test x"$ac_file" != x-; then
7648 1.1.1.1.2.2 wrstuden configure_input="$ac_file. $configure_input"
7649 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: creating $ac_file" >&5
7650 1.1.1.1.2.2 wrstuden echo "$as_me: creating $ac_file" >&6;}
7651 1.1.1.1.2.2 wrstuden fi
7652 1.1.1.1.2.2 wrstuden
7653 1.1.1.1.2.2 wrstuden case $ac_tag in
7654 1.1.1.1.2.2 wrstuden *:-:* | *:-) cat >"$tmp/stdin";;
7655 1.1.1.1.2.2 wrstuden esac
7656 1.1.1.1.2.2 wrstuden ;;
7657 1.1.1.1.2.2 wrstuden esac
7658 1.1.1.1.2.2 wrstuden
7659 1.1.1.1.2.2 wrstuden ac_dir=`$as_dirname -- "$ac_file" ||
7660 1.1.1.1.2.2 wrstuden $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7661 1.1.1.1.2.2 wrstuden X"$ac_file" : 'X\(//\)[^/]' \| \
7662 1.1.1.1.2.2 wrstuden X"$ac_file" : 'X\(//\)$' \| \
7663 1.1.1.1.2.2 wrstuden X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7664 1.1.1.1.2.2 wrstuden echo X"$ac_file" |
7665 1.1.1.1.2.2 wrstuden sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7666 1.1.1.1.2.2 wrstuden s//\1/
7667 1.1.1.1.2.2 wrstuden q
7668 1.1.1.1.2.2 wrstuden }
7669 1.1.1.1.2.2 wrstuden /^X\(\/\/\)[^/].*/{
7670 1.1.1.1.2.2 wrstuden s//\1/
7671 1.1.1.1.2.2 wrstuden q
7672 1.1.1.1.2.2 wrstuden }
7673 1.1.1.1.2.2 wrstuden /^X\(\/\/\)$/{
7674 1.1.1.1.2.2 wrstuden s//\1/
7675 1.1.1.1.2.2 wrstuden q
7676 1.1.1.1.2.2 wrstuden }
7677 1.1.1.1.2.2 wrstuden /^X\(\/\).*/{
7678 1.1.1.1.2.2 wrstuden s//\1/
7679 1.1.1.1.2.2 wrstuden q
7680 1.1.1.1.2.2 wrstuden }
7681 1.1.1.1.2.2 wrstuden s/.*/./; q'`
7682 1.1.1.1.2.2 wrstuden { as_dir="$ac_dir"
7683 1.1.1.1.2.2 wrstuden case $as_dir in #(
7684 1.1.1.1.2.2 wrstuden -*) as_dir=./$as_dir;;
7685 1.1.1.1.2.2 wrstuden esac
7686 1.1.1.1.2.2 wrstuden test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7687 1.1.1.1.2.2 wrstuden as_dirs=
7688 1.1.1.1.2.2 wrstuden while :; do
7689 1.1.1.1.2.2 wrstuden case $as_dir in #(
7690 1.1.1.1.2.2 wrstuden *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7691 1.1.1.1.2.2 wrstuden *) as_qdir=$as_dir;;
7692 1.1.1.1.2.2 wrstuden esac
7693 1.1.1.1.2.2 wrstuden as_dirs="'$as_qdir' $as_dirs"
7694 1.1.1.1.2.2 wrstuden as_dir=`$as_dirname -- "$as_dir" ||
7695 1.1.1.1.2.2 wrstuden $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7696 1.1.1.1.2.2 wrstuden X"$as_dir" : 'X\(//\)[^/]' \| \
7697 1.1.1.1.2.2 wrstuden X"$as_dir" : 'X\(//\)$' \| \
7698 1.1.1.1.2.2 wrstuden X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7699 1.1.1.1.2.2 wrstuden echo X"$as_dir" |
7700 1.1.1.1.2.2 wrstuden sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7701 1.1.1.1.2.2 wrstuden s//\1/
7702 1.1.1.1.2.2 wrstuden q
7703 1.1.1.1.2.2 wrstuden }
7704 1.1.1.1.2.2 wrstuden /^X\(\/\/\)[^/].*/{
7705 1.1.1.1.2.2 wrstuden s//\1/
7706 1.1.1.1.2.2 wrstuden q
7707 1.1.1.1.2.2 wrstuden }
7708 1.1.1.1.2.2 wrstuden /^X\(\/\/\)$/{
7709 1.1.1.1.2.2 wrstuden s//\1/
7710 1.1.1.1.2.2 wrstuden q
7711 1.1.1.1.2.2 wrstuden }
7712 1.1.1.1.2.2 wrstuden /^X\(\/\).*/{
7713 1.1.1.1.2.2 wrstuden s//\1/
7714 1.1.1.1.2.2 wrstuden q
7715 1.1.1.1.2.2 wrstuden }
7716 1.1.1.1.2.2 wrstuden s/.*/./; q'`
7717 1.1.1.1.2.2 wrstuden test -d "$as_dir" && break
7718 1.1.1.1.2.2 wrstuden done
7719 1.1.1.1.2.2 wrstuden test -z "$as_dirs" || eval "mkdir $as_dirs"
7720 1.1.1.1.2.2 wrstuden } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7721 1.1.1.1.2.2 wrstuden echo "$as_me: error: cannot create directory $as_dir" >&2;}
7722 1.1.1.1.2.2 wrstuden { (exit 1); exit 1; }; }; }
7723 1.1.1.1.2.2 wrstuden ac_builddir=.
7724 1.1.1.1.2.2 wrstuden
7725 1.1.1.1.2.2 wrstuden case "$ac_dir" in
7726 1.1.1.1.2.2 wrstuden .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7727 1.1.1.1.2.2 wrstuden *)
7728 1.1.1.1.2.2 wrstuden ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7729 1.1.1.1.2.2 wrstuden # A ".." for each directory in $ac_dir_suffix.
7730 1.1.1.1.2.2 wrstuden ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7731 1.1.1.1.2.2 wrstuden case $ac_top_builddir_sub in
7732 1.1.1.1.2.2 wrstuden "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7733 1.1.1.1.2.2 wrstuden *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7734 1.1.1.1.2.2 wrstuden esac ;;
7735 1.1.1.1.2.2 wrstuden esac
7736 1.1.1.1.2.2 wrstuden ac_abs_top_builddir=$ac_pwd
7737 1.1.1.1.2.2 wrstuden ac_abs_builddir=$ac_pwd$ac_dir_suffix
7738 1.1.1.1.2.2 wrstuden # for backward compatibility:
7739 1.1.1.1.2.2 wrstuden ac_top_builddir=$ac_top_build_prefix
7740 1.1.1.1.2.2 wrstuden
7741 1.1.1.1.2.2 wrstuden case $srcdir in
7742 1.1.1.1.2.2 wrstuden .) # We are building in place.
7743 1.1.1.1.2.2 wrstuden ac_srcdir=.
7744 1.1.1.1.2.2 wrstuden ac_top_srcdir=$ac_top_builddir_sub
7745 1.1.1.1.2.2 wrstuden ac_abs_top_srcdir=$ac_pwd ;;
7746 1.1.1.1.2.2 wrstuden [\\/]* | ?:[\\/]* ) # Absolute name.
7747 1.1.1.1.2.2 wrstuden ac_srcdir=$srcdir$ac_dir_suffix;
7748 1.1.1.1.2.2 wrstuden ac_top_srcdir=$srcdir
7749 1.1.1.1.2.2 wrstuden ac_abs_top_srcdir=$srcdir ;;
7750 1.1.1.1.2.2 wrstuden *) # Relative name.
7751 1.1.1.1.2.2 wrstuden ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7752 1.1.1.1.2.2 wrstuden ac_top_srcdir=$ac_top_build_prefix$srcdir
7753 1.1.1.1.2.2 wrstuden ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7754 1.1.1.1.2.2 wrstuden esac
7755 1.1.1.1.2.2 wrstuden ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7756 1.1.1.1.2.2 wrstuden
7757 1.1.1.1.2.2 wrstuden
7758 1.1.1.1.2.2 wrstuden case $ac_mode in
7759 1.1.1.1.2.2 wrstuden :F)
7760 1.1.1.1.2.2 wrstuden #
7761 1.1.1.1.2.2 wrstuden # CONFIG_FILE
7762 1.1.1.1.2.2 wrstuden #
7763 1.1.1.1.2.2 wrstuden
7764 1.1.1.1.2.2 wrstuden case $INSTALL in
7765 1.1.1.1.2.2 wrstuden [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7766 1.1.1.1.2.2 wrstuden *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7767 1.1.1.1.2.2 wrstuden esac
7768 1.1.1.1.2.2 wrstuden _ACEOF
7769 1.1.1.1.2.2 wrstuden
7770 1.1.1.1.2.2 wrstuden cat >>$CONFIG_STATUS <<\_ACEOF
7771 1.1.1.1.2.2 wrstuden # If the template does not know about datarootdir, expand it.
7772 1.1.1.1.2.2 wrstuden # FIXME: This hack should be removed a few years after 2.60.
7773 1.1.1.1.2.2 wrstuden ac_datarootdir_hack=; ac_datarootdir_seen=
7774 1.1.1.1.2.2 wrstuden
7775 1.1.1.1.2.2 wrstuden case `sed -n '/datarootdir/ {
7776 1.1.1.1.2.2 wrstuden p
7777 1.1.1.1.2.2 wrstuden q
7778 1.1.1.1.2.2 wrstuden }
7779 1.1.1.1.2.2 wrstuden /@datadir@/p
7780 1.1.1.1.2.2 wrstuden /@docdir@/p
7781 1.1.1.1.2.2 wrstuden /@infodir@/p
7782 1.1.1.1.2.2 wrstuden /@localedir@/p
7783 1.1.1.1.2.2 wrstuden /@mandir@/p
7784 1.1.1.1.2.2 wrstuden ' $ac_file_inputs` in
7785 1.1.1.1.2.2 wrstuden *datarootdir*) ac_datarootdir_seen=yes;;
7786 1.1.1.1.2.2 wrstuden *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7787 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7788 1.1.1.1.2.2 wrstuden echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7789 1.1.1.1.2.2 wrstuden _ACEOF
7790 1.1.1.1.2.2 wrstuden cat >>$CONFIG_STATUS <<_ACEOF
7791 1.1.1.1.2.2 wrstuden ac_datarootdir_hack='
7792 1.1.1.1.2.2 wrstuden s&@datadir@&$datadir&g
7793 1.1.1.1.2.2 wrstuden s&@docdir@&$docdir&g
7794 1.1.1.1.2.2 wrstuden s&@infodir@&$infodir&g
7795 1.1.1.1.2.2 wrstuden s&@localedir@&$localedir&g
7796 1.1.1.1.2.2 wrstuden s&@mandir@&$mandir&g
7797 1.1.1.1.2.2 wrstuden s&\\\${datarootdir}&$datarootdir&g' ;;
7798 1.1.1.1.2.2 wrstuden esac
7799 1.1.1.1.2.2 wrstuden _ACEOF
7800 1.1.1.1.2.2 wrstuden
7801 1.1.1.1.2.2 wrstuden # Neutralize VPATH when `$srcdir' = `.'.
7802 1.1.1.1.2.2 wrstuden # Shell code in configure.ac might set extrasub.
7803 1.1.1.1.2.2 wrstuden # FIXME: do we really want to maintain this feature?
7804 1.1.1.1.2.2 wrstuden cat >>$CONFIG_STATUS <<_ACEOF
7805 1.1.1.1.2.2 wrstuden sed "$ac_vpsub
7806 1.1.1.1.2.2 wrstuden $extrasub
7807 1.1.1.1.2.2 wrstuden _ACEOF
7808 1.1.1.1.2.2 wrstuden cat >>$CONFIG_STATUS <<\_ACEOF
7809 1.1.1.1.2.2 wrstuden :t
7810 1.1.1.1.2.2 wrstuden /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7811 1.1.1.1.2.2 wrstuden s&@configure_input@&$configure_input&;t t
7812 1.1.1.1.2.2 wrstuden s&@top_builddir@&$ac_top_builddir_sub&;t t
7813 1.1.1.1.2.2 wrstuden s&@srcdir@&$ac_srcdir&;t t
7814 1.1.1.1.2.2 wrstuden s&@abs_srcdir@&$ac_abs_srcdir&;t t
7815 1.1.1.1.2.2 wrstuden s&@top_srcdir@&$ac_top_srcdir&;t t
7816 1.1.1.1.2.2 wrstuden s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7817 1.1.1.1.2.2 wrstuden s&@builddir@&$ac_builddir&;t t
7818 1.1.1.1.2.2 wrstuden s&@abs_builddir@&$ac_abs_builddir&;t t
7819 1.1.1.1.2.2 wrstuden s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7820 1.1.1.1.2.2 wrstuden s&@INSTALL@&$ac_INSTALL&;t t
7821 1.1.1.1.2.2 wrstuden $ac_datarootdir_hack
7822 1.1.1.1.2.2 wrstuden " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
7823 1.1.1.1.2.2 wrstuden
7824 1.1.1.1.2.2 wrstuden test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7825 1.1.1.1.2.2 wrstuden { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7826 1.1.1.1.2.2 wrstuden { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7827 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7828 1.1.1.1.2.2 wrstuden which seems to be undefined. Please make sure it is defined." >&5
7829 1.1.1.1.2.2 wrstuden echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7830 1.1.1.1.2.2 wrstuden which seems to be undefined. Please make sure it is defined." >&2;}
7831 1.1.1.1.2.2 wrstuden
7832 1.1.1.1.2.2 wrstuden rm -f "$tmp/stdin"
7833 1.1.1.1.2.2 wrstuden case $ac_file in
7834 1.1.1.1.2.2 wrstuden -) cat "$tmp/out"; rm -f "$tmp/out";;
7835 1.1.1.1.2.2 wrstuden *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7836 1.1.1.1.2.2 wrstuden esac
7837 1.1.1.1.2.2 wrstuden ;;
7838 1.1.1.1.2.2 wrstuden :H)
7839 1.1.1.1.2.2 wrstuden #
7840 1.1.1.1.2.2 wrstuden # CONFIG_HEADER
7841 1.1.1.1.2.2 wrstuden #
7842 1.1.1.1.2.2 wrstuden _ACEOF
7843 1.1.1.1.2.2 wrstuden
7844 1.1.1.1.2.2 wrstuden # Transform confdefs.h into a sed script `conftest.defines', that
7845 1.1.1.1.2.2 wrstuden # substitutes the proper values into config.h.in to produce config.h.
7846 1.1.1.1.2.2 wrstuden rm -f conftest.defines conftest.tail
7847 1.1.1.1.2.2 wrstuden # First, append a space to every undef/define line, to ease matching.
7848 1.1.1.1.2.2 wrstuden echo 's/$/ /' >conftest.defines
7849 1.1.1.1.2.2 wrstuden # Then, protect against being on the right side of a sed subst, or in
7850 1.1.1.1.2.2 wrstuden # an unquoted here document, in config.status. If some macros were
7851 1.1.1.1.2.2 wrstuden # called several times there might be several #defines for the same
7852 1.1.1.1.2.2 wrstuden # symbol, which is useless. But do not sort them, since the last
7853 1.1.1.1.2.2 wrstuden # AC_DEFINE must be honored.
7854 1.1.1.1.2.2 wrstuden ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7855 1.1.1.1.2.2 wrstuden # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7856 1.1.1.1.2.2 wrstuden # NAME is the cpp macro being defined, VALUE is the value it is being given.
7857 1.1.1.1.2.2 wrstuden # PARAMS is the parameter list in the macro definition--in most cases, it's
7858 1.1.1.1.2.2 wrstuden # just an empty string.
7859 1.1.1.1.2.2 wrstuden ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7860 1.1.1.1.2.2 wrstuden ac_dB='\\)[ (].*,\\1define\\2'
7861 1.1.1.1.2.2 wrstuden ac_dC=' '
7862 1.1.1.1.2.2 wrstuden ac_dD=' ,'
7863 1.1.1.1.2.2 wrstuden
7864 1.1.1.1.2.2 wrstuden uniq confdefs.h |
7865 1.1.1.1.2.2 wrstuden sed -n '
7866 1.1.1.1.2.2 wrstuden t rset
7867 1.1.1.1.2.2 wrstuden :rset
7868 1.1.1.1.2.2 wrstuden s/^[ ]*#[ ]*define[ ][ ]*//
7869 1.1.1.1.2.2 wrstuden t ok
7870 1.1.1.1.2.2 wrstuden d
7871 1.1.1.1.2.2 wrstuden :ok
7872 1.1.1.1.2.2 wrstuden s/[\\&,]/\\&/g
7873 1.1.1.1.2.2 wrstuden s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7874 1.1.1.1.2.2 wrstuden s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7875 1.1.1.1.2.2 wrstuden ' >>conftest.defines
7876 1.1.1.1.2.2 wrstuden
7877 1.1.1.1.2.2 wrstuden # Remove the space that was appended to ease matching.
7878 1.1.1.1.2.2 wrstuden # Then replace #undef with comments. This is necessary, for
7879 1.1.1.1.2.2 wrstuden # example, in the case of _POSIX_SOURCE, which is predefined and required
7880 1.1.1.1.2.2 wrstuden # on some systems where configure will not decide to define it.
7881 1.1.1.1.2.2 wrstuden # (The regexp can be short, since the line contains either #define or #undef.)
7882 1.1.1.1.2.2 wrstuden echo 's/ $//
7883 1.1.1.1.2.2 wrstuden s,^[ #]*u.*,/* & */,' >>conftest.defines
7884 1.1.1.1.2.2 wrstuden
7885 1.1.1.1.2.2 wrstuden # Break up conftest.defines:
7886 1.1.1.1.2.2 wrstuden ac_max_sed_lines=50
7887 1.1.1.1.2.2 wrstuden
7888 1.1.1.1.2.2 wrstuden # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7889 1.1.1.1.2.2 wrstuden # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7890 1.1.1.1.2.2 wrstuden # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7891 1.1.1.1.2.2 wrstuden # et cetera.
7892 1.1.1.1.2.2 wrstuden ac_in='$ac_file_inputs'
7893 1.1.1.1.2.2 wrstuden ac_out='"$tmp/out1"'
7894 1.1.1.1.2.2 wrstuden ac_nxt='"$tmp/out2"'
7895 1.1.1.1.2.2 wrstuden
7896 1.1.1.1.2.2 wrstuden while :
7897 1.1.1.1.2.2 wrstuden do
7898 1.1.1.1.2.2 wrstuden # Write a here document:
7899 1.1.1.1.2.2 wrstuden cat >>$CONFIG_STATUS <<_ACEOF
7900 1.1.1.1.2.2 wrstuden # First, check the format of the line:
7901 1.1.1.1.2.2 wrstuden cat >"\$tmp/defines.sed" <<\\CEOF
7902 1.1.1.1.2.2 wrstuden /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
7903 1.1.1.1.2.2 wrstuden /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
7904 1.1.1.1.2.2 wrstuden b
7905 1.1.1.1.2.2 wrstuden :def
7906 1.1.1.1.2.2 wrstuden _ACEOF
7907 1.1.1.1.2.2 wrstuden sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
7908 1.1.1.1.2.2 wrstuden echo 'CEOF
7909 1.1.1.1.2.2 wrstuden sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7910 1.1.1.1.2.2 wrstuden ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
7911 1.1.1.1.2.2 wrstuden sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
7912 1.1.1.1.2.2 wrstuden grep . conftest.tail >/dev/null || break
7913 1.1.1.1.2.2 wrstuden rm -f conftest.defines
7914 1.1.1.1.2.2 wrstuden mv conftest.tail conftest.defines
7915 1.1.1.1.2.2 wrstuden done
7916 1.1.1.1.2.2 wrstuden rm -f conftest.defines conftest.tail
7917 1.1.1.1.2.2 wrstuden
7918 1.1.1.1.2.2 wrstuden echo "ac_result=$ac_in" >>$CONFIG_STATUS
7919 1.1.1.1.2.2 wrstuden cat >>$CONFIG_STATUS <<\_ACEOF
7920 1.1.1.1.2.2 wrstuden if test x"$ac_file" != x-; then
7921 1.1.1.1.2.2 wrstuden echo "/* $configure_input */" >"$tmp/config.h"
7922 1.1.1.1.2.2 wrstuden cat "$ac_result" >>"$tmp/config.h"
7923 1.1.1.1.2.2 wrstuden if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
7924 1.1.1.1.2.2 wrstuden { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7925 1.1.1.1.2.2 wrstuden echo "$as_me: $ac_file is unchanged" >&6;}
7926 1.1.1.1.2.2 wrstuden else
7927 1.1.1.1.2.2 wrstuden rm -f $ac_file
7928 1.1.1.1.2.2 wrstuden mv "$tmp/config.h" $ac_file
7929 1.1.1.1.2.2 wrstuden fi
7930 1.1.1.1.2.2 wrstuden else
7931 1.1.1.1.2.2 wrstuden echo "/* $configure_input */"
7932 1.1.1.1.2.2 wrstuden cat "$ac_result"
7933 1.1.1.1.2.2 wrstuden fi
7934 1.1.1.1.2.2 wrstuden rm -f "$tmp/out12"
7935 1.1.1.1.2.2 wrstuden ;;
7936 1.1.1.1.2.2 wrstuden
7937 1.1.1.1.2.2 wrstuden
7938 1.1.1.1.2.2 wrstuden esac
7939 1.1.1.1.2.2 wrstuden
7940 1.1.1.1.2.2 wrstuden done # for ac_tag
7941 1.1.1.1.2.2 wrstuden
7942 1.1.1.1.2.2 wrstuden
7943 1.1.1.1.2.2 wrstuden { (exit 0); exit 0; }
7944 1.1.1.1.2.2 wrstuden _ACEOF
7945 1.1.1.1.2.2 wrstuden chmod +x $CONFIG_STATUS
7946 1.1.1.1.2.2 wrstuden ac_clean_files=$ac_clean_files_save
7947 1.1.1.1.2.2 wrstuden
7948 1.1.1.1.2.2 wrstuden
7949 1.1.1.1.2.2 wrstuden # configure is writing to config.log, and then calls config.status.
7950 1.1.1.1.2.2 wrstuden # config.status does its own redirection, appending to config.log.
7951 1.1.1.1.2.2 wrstuden # Unfortunately, on DOS this fails, as config.log is still kept open
7952 1.1.1.1.2.2 wrstuden # by configure, so config.status won't be able to write to it; its
7953 1.1.1.1.2.2 wrstuden # output is simply discarded. So we exec the FD to /dev/null,
7954 1.1.1.1.2.2 wrstuden # effectively closing config.log, so it can be properly (re)opened and
7955 1.1.1.1.2.2 wrstuden # appended to by config.status. When coming back to configure, we
7956 1.1.1.1.2.2 wrstuden # need to make the FD available again.
7957 1.1.1.1.2.2 wrstuden if test "$no_create" != yes; then
7958 1.1.1.1.2.2 wrstuden ac_cs_success=:
7959 1.1.1.1.2.2 wrstuden ac_config_status_args=
7960 1.1.1.1.2.2 wrstuden test "$silent" = yes &&
7961 1.1.1.1.2.2 wrstuden ac_config_status_args="$ac_config_status_args --quiet"
7962 1.1.1.1.2.2 wrstuden exec 5>/dev/null
7963 1.1.1.1.2.2 wrstuden $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7964 1.1.1.1.2.2 wrstuden exec 5>>config.log
7965 1.1.1.1.2.2 wrstuden # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7966 1.1.1.1.2.2 wrstuden # would make configure fail if this is the last instruction.
7967 1.1.1.1.2.2 wrstuden $ac_cs_success || { (exit 1); exit 1; }
7968 1.1.1.1.2.2 wrstuden fi
7969 1.1.1.1.2.2 wrstuden
7970