Codebase list dx / 3187b0bc-d521-4653-a3ac-2d7a6cc76a73/upstream
Import upstream version 4.4.4+git20200205.1.3b5866d Debian Janitor 2 years ago
214 changed file(s) with 9865 addition(s) and 19262 deletion(s). Raw diff Collapse all Expand all
._ChangeLog less more
Binary diff not shown
._acinclude.m4 less more
Binary diff not shown
+8548
-18206
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.59 for dx 4.4.4.
2 # Generated by GNU Autoconf 2.69 for dx 4.4.4.
33 #
4 # Copyright (C) 2003 Free Software Foundation, Inc.
4 #
5 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
6 #
7 #
58 # This configure script is free software; the Free Software Foundation
69 # gives unlimited permission to copy, distribute and modify it.
7 ## --------------------- ##
8 ## M4sh Initialization. ##
9 ## --------------------- ##
10
11 # Be Bourne compatible
12 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10 ## -------------------- ##
11 ## M4sh Initialization. ##
12 ## -------------------- ##
13
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1317 emulate sh
1418 NULLCMD=:
15 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1620 # is contrary to our usage. Disable this feature.
1721 alias -g '${1+"$@"}'='"$@"'
18 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
19 set -o posix
20 fi
21 DUALCASE=1; export DUALCASE # for MKS sh
22
23 # Support unset when possible.
24 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25 as_unset=unset
26 else
27 as_unset=false
28 fi
29
30
31 # Work around bugs in pre-3.0 UWIN ksh.
32 $as_unset ENV MAIL MAILPATH
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in #(
25 *posix*) :
26 set -o posix ;; #(
27 *) :
28 ;;
29 esac
30 fi
31
32
33 as_nl='
34 '
35 export as_nl
36 # Printing a long string crashes Solaris 7 /usr/bin/printf.
37 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
38 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40 # Prefer a ksh shell builtin over an external printf program on Solaris,
41 # but without wasting forks for bash or zsh.
42 if test -z "$BASH_VERSION$ZSH_VERSION" \
43 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
44 as_echo='print -r --'
45 as_echo_n='print -rn --'
46 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='printf %s\n'
48 as_echo_n='printf %s'
49 else
50 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
51 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
52 as_echo_n='/usr/ucb/echo -n'
53 else
54 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55 as_echo_n_body='eval
56 arg=$1;
57 case $arg in #(
58 *"$as_nl"*)
59 expr "X$arg" : "X\\(.*\\)$as_nl";
60 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
61 esac;
62 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
63 '
64 export as_echo_n_body
65 as_echo_n='sh -c $as_echo_n_body as_echo'
66 fi
67 export as_echo_body
68 as_echo='sh -c $as_echo_body as_echo'
69 fi
70
71 # The user is always right.
72 if test "${PATH_SEPARATOR+set}" != set; then
73 PATH_SEPARATOR=:
74 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
76 PATH_SEPARATOR=';'
77 }
78 fi
79
80
81 # IFS
82 # We need space, tab and new line, in precisely that order. Quoting is
83 # there to prevent editors from complaining about space-tab.
84 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
85 # splitting by setting IFS to empty value.)
86 IFS=" "" $as_nl"
87
88 # Find who we are. Look in the path if we contain no directory separator.
89 as_myself=
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
33121 PS1='$ '
34122 PS2='> '
35123 PS4='+ '
36124
37125 # NLS nuisances.
38 for as_var in \
39 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41 LC_TELEPHONE LC_TIME
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 # Use a proper internal environment variable to ensure we don't fall
135 # into an infinite loop, continuously re-executing ourselves.
136 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
137 _as_can_reexec=no; export _as_can_reexec;
138 # We cannot yet assume a decent shell, so we have to provide a
139 # neutralization value for shells without unset; and this also
140 # works around shells that cannot unset nonexistent variables.
141 # Preserve -v and -x to the replacement shell.
142 BASH_ENV=/dev/null
143 ENV=/dev/null
144 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
145 case $- in # ((((
146 *v*x* | *x*v* ) as_opts=-vx ;;
147 *v* ) as_opts=-v ;;
148 *x* ) as_opts=-x ;;
149 * ) as_opts= ;;
150 esac
151 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
152 # Admittedly, this is quite paranoid, since all the known shells bail
153 # out after a failed `exec'.
154 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
155 as_fn_exit 255
156 fi
157 # We don't want this to propagate to other subprocesses.
158 { _as_can_reexec=; unset _as_can_reexec;}
159 if test "x$CONFIG_SHELL" = x; then
160 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
161 emulate sh
162 NULLCMD=:
163 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
164 # is contrary to our usage. Disable this feature.
165 alias -g '\${1+\"\$@\"}'='\"\$@\"'
166 setopt NO_GLOB_SUBST
167 else
168 case \`(set -o) 2>/dev/null\` in #(
169 *posix*) :
170 set -o posix ;; #(
171 *) :
172 ;;
173 esac
174 fi
175 "
176 as_required="as_fn_return () { (exit \$1); }
177 as_fn_success () { as_fn_return 0; }
178 as_fn_failure () { as_fn_return 1; }
179 as_fn_ret_success () { return 0; }
180 as_fn_ret_failure () { return 1; }
181
182 exitcode=0
183 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
184 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
185 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
186 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
187 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
188
189 else
190 exitcode=1; echo positional parameters were not saved.
191 fi
192 test x\$exitcode = x0 || exit 1
193 test -x / || exit 1"
194 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
195 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
196 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
197 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
198 test \$(( 1 + 1 )) = 2 || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
203 fi
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
42210 do
43 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44 eval $as_var=C; export $as_var
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
215 /*)
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
224 fi
225 fi
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
235
236
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
257 fi
258
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
45265 else
46 $as_unset $as_var
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
47270 fi
48 done
49
50 # Required to use basename.
51 if expr a : '\(a\)' >/dev/null 2>&1; then
271 exit 1
272 fi
273 fi
274 fi
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
280
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
288 {
289 { eval $1=; unset $1;}
290 }
291 as_unset=as_fn_unset
292
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
297 {
298 return $1
299 } # as_fn_set_status
300
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
305 {
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
310
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
315 {
316
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
336 q
337 }
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\).*/{
347 s//\1/
348 q
349 }
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357 } # as_fn_mkdir_p
358
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
363 {
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
374 {
375 eval $1+=\$2
376 }'
377 else
378 as_fn_append ()
379 {
380 eval $1=\$$1\$2
381 }
382 fi # as_fn_append
383
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
391 {
392 as_val=$(( $* ))
393 }'
394 else
395 as_fn_arith ()
396 {
397 as_val=`expr "$@" || test $? -eq 1`
398 }
399 fi # as_fn_arith
400
401
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
408 {
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413 fi
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
417
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52420 as_expr=expr
53421 else
54422 as_expr=false
55423 fi
56424
57 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
58426 as_basename=basename
59427 else
60428 as_basename=false
61429 fi
62430
63
64 # Name of the executable.
65 as_me=`$as_basename "$0" ||
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
435 fi
436
437 as_me=`$as_basename -- "$0" ||
66438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
67439 X"$0" : 'X\(//\)$' \| \
68 X"$0" : 'X\(/\)$' \| \
69 . : '\(.\)' 2>/dev/null ||
70 echo X/"$0" |
71 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
72 /^X\/\(\/\/\)$/{ s//\1/; q; }
73 /^X\/\(\/\).*/{ s//\1/; q; }
74 s/.*/./; q'`
75
76
77 # PATH needs CR, and LINENO needs CR and PATH.
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
444 q
445 }
446 /^X\/\(\/\/\)$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\).*/{
451 s//\1/
452 q
453 }
454 s/.*/./; q'`
455
78456 # Avoid depending upon Character Ranges.
79457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82460 as_cr_digits='0123456789'
83461 as_cr_alnum=$as_cr_Letters$as_cr_digits
84462
85 # The user is always right.
86 if test "${PATH_SEPARATOR+set}" != set; then
87 echo "#! /bin/sh" >conf$$.sh
88 echo "exit 0" >>conf$$.sh
89 chmod +x conf$$.sh
90 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
91 PATH_SEPARATOR=';'
92 else
93 PATH_SEPARATOR=:
94 fi
95 rm -f conf$$.sh
96 fi
97
98
99 as_lineno_1=$LINENO
100 as_lineno_2=$LINENO
101 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
102 test "x$as_lineno_1" != "x$as_lineno_2" &&
103 test "x$as_lineno_3" = "x$as_lineno_2" || {
104 # Find who we are. Look in the path if we contain no path at all
105 # relative or not.
106 case $0 in
107 *[\\/]* ) as_myself=$0 ;;
108 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109 for as_dir in $PATH
110 do
111 IFS=$as_save_IFS
112 test -z "$as_dir" && as_dir=.
113 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
114 done
115
116 ;;
117 esac
118 # We did not find ourselves, most probably we were run as `sh COMMAND'
119 # in which case we are not to be found in the path.
120 if test "x$as_myself" = x; then
121 as_myself=$0
122 fi
123 if test ! -f "$as_myself"; then
124 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
125 { (exit 1); exit 1; }; }
126 fi
127 case $CONFIG_SHELL in
128 '')
129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
130 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131 do
132 IFS=$as_save_IFS
133 test -z "$as_dir" && as_dir=.
134 for as_base in sh bash ksh sh5; do
135 case $as_dir in
136 /*)
137 if ("$as_dir/$as_base" -c '
138 as_lineno_1=$LINENO
139 as_lineno_2=$LINENO
140 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
141 test "x$as_lineno_1" != "x$as_lineno_2" &&
142 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
143 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
144 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
145 CONFIG_SHELL=$as_dir/$as_base
146 export CONFIG_SHELL
147 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
148 fi;;
149 esac
150 done
151 done
152 ;;
153 esac
154
155 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
156 # uniformly replaced by the line number. The first 'sed' inserts a
157 # line-number line before each line; the second 'sed' does the real
158 # work. The second script uses 'N' to pair each line-number line
159 # with the numbered line, and appends trailing '-' during
160 # substitution so that $LINENO is not a special case at line end.
161 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
162 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
163 sed '=' <$as_myself |
463
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
470 p
471 /[$]LINENO/=
472 ' <$as_myself |
164473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
476 b
477 :lineno
165478 N
166 s,$,-,
167 : loop
168 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
169481 t loop
170 s,-$,,
171 s,^['$as_cr_digits']*\n,,
482 s/-\n.*//
172483 ' >$as_me.lineno &&
173 chmod +x $as_me.lineno ||
174 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
175 { (exit 1); exit 1; }; }
176
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
177491 # Don't try to exec as it changes $[0], causing all sort of problems
178492 # (the dirname of $[0] is not the place where we might find the
179 # original and so on. Autoconf is especially sensible to this).
180 . ./$as_me.lineno
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
181495 # Exit status is that of the last command.
182496 exit
183497 }
184498
185
186 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
187 *c*,-n*) ECHO_N= ECHO_C='
188 ' ECHO_T=' ' ;;
189 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
190 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
508 *)
509 ECHO_N='-n';;
191510 esac
192511
193 if expr a : '\(a\)' >/dev/null 2>&1; then
194 as_expr=expr
195 else
196 as_expr=false
197 fi
198
199512 rm -f conf$$ conf$$.exe conf$$.file
200 echo >conf$$.file
201 if ln -s conf$$.file conf$$ 2>/dev/null; then
202 # We could just check for DJGPP; but this test a) works b) is more generic
203 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
204 if test -f conf$$.exe; then
205 # Don't use ln at all; we don't have any links
206 as_ln_s='cp -p'
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
518 fi
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
207530 else
208 as_ln_s='ln -s'
531 as_ln_s='cp -pR'
209532 fi
210 elif ln conf$$.file conf$$ 2>/dev/null; then
211 as_ln_s=ln
212 else
213 as_ln_s='cp -p'
214 fi
215 rm -f conf$$ conf$$.exe conf$$.file
533 else
534 as_ln_s='cp -pR'
535 fi
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
216538
217539 if mkdir -p . 2>/dev/null; then
218 as_mkdir_p=:
540 as_mkdir_p='mkdir -p "$as_dir"'
219541 else
220542 test -d ./-p && rmdir ./-p
221543 as_mkdir_p=false
222544 fi
223545
224 as_executable_p="test -f"
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
225548
226549 # Sed expression to map a string onto a valid CPP name.
227550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
228551
229552 # Sed expression to map a string onto a valid variable name.
230553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
231
232
233 # IFS
234 # We need space, tab and new line, in precisely that order.
235 as_nl='
236 '
237 IFS=" $as_nl"
238
239 # CDPATH.
240 $as_unset CDPATH
241554
242555
243556
394707
395708 tagnames=${tagnames+${tagnames},}F77
396709
710 test -n "$DJDIR" || exec 7<&0 </dev/null
711 exec 6>&1
712
397713 # Name of the host.
398 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
714 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
399715 # so uname gets run too.
400716 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
401
402 exec 6>&1
403717
404718 #
405719 # Initializations.
406720 #
407721 ac_default_prefix=/usr/local
722 ac_clean_files=
408723 ac_config_libobj_dir=.
724 LIBOBJS=
409725 cross_compiling=no
410726 subdirs=
411727 MFLAGS=
412728 MAKEFLAGS=
413 SHELL=${CONFIG_SHELL-/bin/sh}
414
415 # Maximum number of lines to put in a shell here document.
416 # This variable seems obsolete. It should probably be removed, and
417 # only ac_max_sed_lines should be used.
418 : ${ac_max_here_lines=38}
419729
420730 # Identity of this package.
421731 PACKAGE_NAME='dx'
423733 PACKAGE_VERSION='4.4.4'
424734 PACKAGE_STRING='dx 4.4.4'
425735 PACKAGE_BUGREPORT=''
736 PACKAGE_URL=''
426737
427738 ac_unique_file="include/dx/arch.h"
428739 # Factoring default headers for most tests.
429740 ac_includes_default="\
430741 #include <stdio.h>
431 #if HAVE_SYS_TYPES_H
742 #ifdef HAVE_SYS_TYPES_H
432743 # include <sys/types.h>
433744 #endif
434 #if HAVE_SYS_STAT_H
745 #ifdef HAVE_SYS_STAT_H
435746 # include <sys/stat.h>
436747 #endif
437 #if STDC_HEADERS
748 #ifdef STDC_HEADERS
438749 # include <stdlib.h>
439750 # include <stddef.h>
440751 #else
441 # if HAVE_STDLIB_H
752 # ifdef HAVE_STDLIB_H
442753 # include <stdlib.h>
443754 # endif
444755 #endif
445 #if HAVE_STRING_H
446 # if !STDC_HEADERS && HAVE_MEMORY_H
756 #ifdef HAVE_STRING_H
757 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
447758 # include <memory.h>
448759 # endif
449760 # include <string.h>
450761 #endif
451 #if HAVE_STRINGS_H
762 #ifdef HAVE_STRINGS_H
452763 # include <strings.h>
453764 #endif
454 #if HAVE_INTTYPES_H
765 #ifdef HAVE_INTTYPES_H
455766 # include <inttypes.h>
456 #else
457 # if HAVE_STDINT_H
458 # include <stdint.h>
459 # endif
460767 #endif
461 #if HAVE_UNISTD_H
768 #ifdef HAVE_STDINT_H
769 # include <stdint.h>
770 #endif
771 #ifdef HAVE_UNISTD_H
462772 # include <unistd.h>
463773 #endif"
464774
465 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL MAJOR_VERSION MINOR_VERSION MICRO_VERSION YACC ARCH DOT_EXE_EXT INSTALL_BIN_PROGRAM INSTALL_BIN_SCRIPT FMT_LIBS JAVABRANCH JAVAC JAR JAVAH JINC DX_JAVA_CLASSPATH JNI_CFLAGS BUILDBASE DXEXEC_EXP DXEXEC_IMP DXUI_ALDFLAGS VERSION_STRING ANYDX DXABI DX_RTL_CFLAGS DX_RTL_ALDFLAGS DX_RTL_SYSLIBS DX_RTL_IMPORTS DX_RTL_DXENTRY DX_OUTBOARD_LIBS DX_X_LINK_LIBS DX_GL_LINK_LIBS SHARED_LINK MKDEP LOCALMAKE rsh_path bsh_path LIB_LF JAVA WITH_BUILDLIBDX_TRUE WITH_BUILDLIBDX_FALSE WITH_INSTALLHTML_TRUE WITH_INSTALLHTML_FALSE HAVE_MC LEX LEXLIB LEX_OUTPUT_ROOT yakker LIBOBJS LTLIBOBJS'
775 ac_subst_vars='LTLIBOBJS
776 LIBOBJS
777 yakker
778 LEXLIB
779 LEX_OUTPUT_ROOT
780 LEX
781 HAVE_MC
782 WITH_INSTALLHTML_FALSE
783 WITH_INSTALLHTML_TRUE
784 WITH_BUILDLIBDX_FALSE
785 WITH_BUILDLIBDX_TRUE
786 XMKMF
787 JAVA
788 LIB_LF
789 bsh_path
790 rsh_path
791 LOCALMAKE
792 MKDEP
793 SHARED_LINK
794 DX_GL_LINK_LIBS
795 DX_X_LINK_LIBS
796 DX_OUTBOARD_LIBS
797 DX_RTL_DXENTRY
798 DX_RTL_IMPORTS
799 DX_RTL_SYSLIBS
800 DX_RTL_ALDFLAGS
801 DX_RTL_CFLAGS
802 DXABI
803 ANYDX
804 VERSION_STRING
805 DXUI_ALDFLAGS
806 DXEXEC_IMP
807 DXEXEC_EXP
808 BUILDBASE
809 JNI_CFLAGS
810 DX_JAVA_CLASSPATH
811 JINC
812 JAVAH
813 JAR
814 JAVAC
815 JAVABRANCH
816 FMT_LIBS
817 INSTALL_BIN_SCRIPT
818 INSTALL_BIN_PROGRAM
819 DOT_EXE_EXT
820 ARCH
821 YACC
822 MICRO_VERSION
823 MINOR_VERSION
824 MAJOR_VERSION
825 LIBTOOL
826 ac_ct_F77
827 FFLAGS
828 F77
829 CXXCPP
830 am__fastdepCXX_FALSE
831 am__fastdepCXX_TRUE
832 CXXDEPMODE
833 ac_ct_CXX
834 CXXFLAGS
835 CXX
836 CPP
837 RANLIB
838 AR
839 ECHO
840 LN_S
841 EGREP
842 GREP
843 am__fastdepCC_FALSE
844 am__fastdepCC_TRUE
845 CCDEPMODE
846 AMDEPBACKSLASH
847 AMDEP_FALSE
848 AMDEP_TRUE
849 am__quote
850 am__include
851 DEPDIR
852 OBJEXT
853 EXEEXT
854 ac_ct_CC
855 CPPFLAGS
856 LDFLAGS
857 CFLAGS
858 CC
859 host_os
860 host_vendor
861 host_cpu
862 host
863 build_os
864 build_vendor
865 build_cpu
866 build
867 am__untar
868 am__tar
869 AMTAR
870 am__leading_dot
871 SET_MAKE
872 AWK
873 mkdir_p
874 INSTALL_STRIP_PROGRAM
875 STRIP
876 install_sh
877 MAKEINFO
878 AUTOHEADER
879 AUTOMAKE
880 AUTOCONF
881 ACLOCAL
882 VERSION
883 PACKAGE
884 CYGPATH_W
885 INSTALL_DATA
886 INSTALL_SCRIPT
887 INSTALL_PROGRAM
888 target_alias
889 host_alias
890 build_alias
891 LIBS
892 ECHO_T
893 ECHO_N
894 ECHO_C
895 DEFS
896 mandir
897 localedir
898 libdir
899 psdir
900 pdfdir
901 dvidir
902 htmldir
903 infodir
904 docdir
905 oldincludedir
906 includedir
907 runstatedir
908 localstatedir
909 sharedstatedir
910 sysconfdir
911 datadir
912 datarootdir
913 libexecdir
914 sbindir
915 bindir
916 program_transform_name
917 prefix
918 exec_prefix
919 PACKAGE_URL
920 PACKAGE_BUGREPORT
921 PACKAGE_STRING
922 PACKAGE_VERSION
923 PACKAGE_TARNAME
924 PACKAGE_NAME
925 PATH_SEPARATOR
926 SHELL'
466927 ac_subst_files=''
928 ac_user_opts='
929 enable_option_checking
930 enable_shared
931 enable_static
932 enable_fast_install
933 enable_dependency_tracking
934 with_gnu_ld
935 enable_libtool_lock
936 with_pic
937 with_tags
938 enable_smp_linux
939 enable_ddx
940 enable_new_keylayout
941 enable_buildlibdx
942 enable_installhtml
943 with_largefiles
944 with_hdf
945 with_tiff
946 with_magick
947 with_statmagick
948 with_cdf
949 with_netcdf
950 with_large_arenas
951 with_javadx
952 with_jni_path
953 with_java40jar_path
954 with_cosmojar_path
955 with_rsh
956 with_bsh
957 with_x
958 with_motif_includes
959 with_motif_libs
960 '
961 ac_precious_vars='build_alias
962 host_alias
963 target_alias
964 CC
965 CFLAGS
966 LDFLAGS
967 LIBS
968 CPPFLAGS
969 CPP
970 CXX
971 CXXFLAGS
972 CCC
973 CXXCPP
974 F77
975 FFLAGS
976 XMKMF'
977
467978
468979 # Initialize some variables set by options.
469980 ac_init_help=
470981 ac_init_version=false
982 ac_unrecognized_opts=
983 ac_unrecognized_sep=
471984 # The variables have the same names as the options, with
472985 # dashes changed to underlines.
473986 cache_file=/dev/null
4901003 # and all the variables that are supposed to be based on exec_prefix
4911004 # by default will actually change.
4921005 # Use braces instead of parens because sh, perl, etc. also accept them.
1006 # (The list follows the same order as the GNU Coding Standards.)
4931007 bindir='${exec_prefix}/bin'
4941008 sbindir='${exec_prefix}/sbin'
4951009 libexecdir='${exec_prefix}/libexec'
496 datadir='${prefix}/share'
1010 datarootdir='${prefix}/share'
1011 datadir='${datarootdir}'
4971012 sysconfdir='${prefix}/etc'
4981013 sharedstatedir='${prefix}/com'
4991014 localstatedir='${prefix}/var'
500 libdir='${exec_prefix}/lib'
1015 runstatedir='${localstatedir}/run'
5011016 includedir='${prefix}/include'
5021017 oldincludedir='/usr/include'
503 infodir='${prefix}/info'
504 mandir='${prefix}/man'
1018 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1019 infodir='${datarootdir}/info'
1020 htmldir='${docdir}'
1021 dvidir='${docdir}'
1022 pdfdir='${docdir}'
1023 psdir='${docdir}'
1024 libdir='${exec_prefix}/lib'
1025 localedir='${datarootdir}/locale'
1026 mandir='${datarootdir}/man'
5051027
5061028 ac_prev=
1029 ac_dashdash=
5071030 for ac_option
5081031 do
5091032 # If the previous option needs an argument, assign it.
5101033 if test -n "$ac_prev"; then
511 eval "$ac_prev=\$ac_option"
1034 eval $ac_prev=\$ac_option
5121035 ac_prev=
5131036 continue
5141037 fi
5151038
516 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1039 case $ac_option in
1040 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1041 *=) ac_optarg= ;;
1042 *) ac_optarg=yes ;;
1043 esac
5171044
5181045 # Accept the important Cygnus configure options, so we can diagnose typos.
5191046
520 case $ac_option in
1047 case $ac_dashdash$ac_option in
1048 --)
1049 ac_dashdash=yes ;;
5211050
5221051 -bindir | --bindir | --bindi | --bind | --bin | --bi)
5231052 ac_prev=bindir ;;
5391068 --config-cache | -C)
5401069 cache_file=config.cache ;;
5411070
542 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1071 -datadir | --datadir | --datadi | --datad)
5431072 ac_prev=datadir ;;
544 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
545 | --da=*)
1073 -datadir=* | --datadir=* | --datadi=* | --datad=*)
5461074 datadir=$ac_optarg ;;
5471075
1076 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1077 | --dataroo | --dataro | --datar)
1078 ac_prev=datarootdir ;;
1079 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1080 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1081 datarootdir=$ac_optarg ;;
1082
5481083 -disable-* | --disable-*)
549 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1084 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
5501085 # Reject names that are not valid shell variable names.
551 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
552 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
553 { (exit 1); exit 1; }; }
554 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
555 eval "enable_$ac_feature=no" ;;
1086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1087 as_fn_error $? "invalid feature name: $ac_useropt"
1088 ac_useropt_orig=$ac_useropt
1089 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1090 case $ac_user_opts in
1091 *"
1092 "enable_$ac_useropt"
1093 "*) ;;
1094 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1095 ac_unrecognized_sep=', ';;
1096 esac
1097 eval enable_$ac_useropt=no ;;
1098
1099 -docdir | --docdir | --docdi | --doc | --do)
1100 ac_prev=docdir ;;
1101 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1102 docdir=$ac_optarg ;;
1103
1104 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1105 ac_prev=dvidir ;;
1106 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1107 dvidir=$ac_optarg ;;
5561108
5571109 -enable-* | --enable-*)
558 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1110 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
5591111 # Reject names that are not valid shell variable names.
560 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
561 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
562 { (exit 1); exit 1; }; }
563 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
564 case $ac_option in
565 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
566 *) ac_optarg=yes ;;
1112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1113 as_fn_error $? "invalid feature name: $ac_useropt"
1114 ac_useropt_orig=$ac_useropt
1115 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116 case $ac_user_opts in
1117 *"
1118 "enable_$ac_useropt"
1119 "*) ;;
1120 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1121 ac_unrecognized_sep=', ';;
5671122 esac
568 eval "enable_$ac_feature='$ac_optarg'" ;;
1123 eval enable_$ac_useropt=\$ac_optarg ;;
5691124
5701125 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
5711126 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
5921147 -host=* | --host=* | --hos=* | --ho=*)
5931148 host_alias=$ac_optarg ;;
5941149
1150 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1151 ac_prev=htmldir ;;
1152 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1153 | --ht=*)
1154 htmldir=$ac_optarg ;;
1155
5951156 -includedir | --includedir | --includedi | --included | --include \
5961157 | --includ | --inclu | --incl | --inc)
5971158 ac_prev=includedir ;;
6161177 | --libexe=* | --libex=* | --libe=*)
6171178 libexecdir=$ac_optarg ;;
6181179
1180 -localedir | --localedir | --localedi | --localed | --locale)
1181 ac_prev=localedir ;;
1182 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1183 localedir=$ac_optarg ;;
1184
6191185 -localstatedir | --localstatedir | --localstatedi | --localstated \
620 | --localstate | --localstat | --localsta | --localst \
621 | --locals | --local | --loca | --loc | --lo)
1186 | --localstate | --localstat | --localsta | --localst | --locals)
6221187 ac_prev=localstatedir ;;
6231188 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
624 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
625 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1189 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
6261190 localstatedir=$ac_optarg ;;
6271191
6281192 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
6871251 | --progr-tra=* | --program-tr=* | --program-t=*)
6881252 program_transform_name=$ac_optarg ;;
6891253
1254 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1255 ac_prev=pdfdir ;;
1256 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1257 pdfdir=$ac_optarg ;;
1258
1259 -psdir | --psdir | --psdi | --psd | --ps)
1260 ac_prev=psdir ;;
1261 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1262 psdir=$ac_optarg ;;
1263
6901264 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6911265 | -silent | --silent | --silen | --sile | --sil)
6921266 silent=yes ;;
1267
1268 -runstatedir | --runstatedir | --runstatedi | --runstated \
1269 | --runstate | --runstat | --runsta | --runst | --runs \
1270 | --run | --ru | --r)
1271 ac_prev=runstatedir ;;
1272 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1273 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1274 | --run=* | --ru=* | --r=*)
1275 runstatedir=$ac_optarg ;;
6931276
6941277 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
6951278 ac_prev=sbindir ;;
7371320 ac_init_version=: ;;
7381321
7391322 -with-* | --with-*)
740 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1323 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
7411324 # Reject names that are not valid shell variable names.
742 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
743 { echo "$as_me: error: invalid package name: $ac_package" >&2
744 { (exit 1); exit 1; }; }
745 ac_package=`echo $ac_package| sed 's/-/_/g'`
746 case $ac_option in
747 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
748 *) ac_optarg=yes ;;
1325 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1326 as_fn_error $? "invalid package name: $ac_useropt"
1327 ac_useropt_orig=$ac_useropt
1328 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1329 case $ac_user_opts in
1330 *"
1331 "with_$ac_useropt"
1332 "*) ;;
1333 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1334 ac_unrecognized_sep=', ';;
7491335 esac
750 eval "with_$ac_package='$ac_optarg'" ;;
1336 eval with_$ac_useropt=\$ac_optarg ;;
7511337
7521338 -without-* | --without-*)
753 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1339 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
7541340 # Reject names that are not valid shell variable names.
755 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
756 { echo "$as_me: error: invalid package name: $ac_package" >&2
757 { (exit 1); exit 1; }; }
758 ac_package=`echo $ac_package | sed 's/-/_/g'`
759 eval "with_$ac_package=no" ;;
1341 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1342 as_fn_error $? "invalid package name: $ac_useropt"
1343 ac_useropt_orig=$ac_useropt
1344 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1345 case $ac_user_opts in
1346 *"
1347 "with_$ac_useropt"
1348 "*) ;;
1349 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1350 ac_unrecognized_sep=', ';;
1351 esac
1352 eval with_$ac_useropt=no ;;
7601353
7611354 --x)
7621355 # Obsolete; use --with-x.
7761369 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
7771370 x_libraries=$ac_optarg ;;
7781371
779 -*) { echo "$as_me: error: unrecognized option: $ac_option
780 Try \`$0 --help' for more information." >&2
781 { (exit 1); exit 1; }; }
1372 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1373 Try \`$0 --help' for more information"
7821374 ;;
7831375
7841376 *=*)
7851377 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
7861378 # Reject names that are not valid shell variable names.
787 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
788 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
789 { (exit 1); exit 1; }; }
790 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
791 eval "$ac_envvar='$ac_optarg'"
1379 case $ac_envvar in #(
1380 '' | [0-9]* | *[!_$as_cr_alnum]* )
1381 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1382 esac
1383 eval $ac_envvar=\$ac_optarg
7921384 export $ac_envvar ;;
7931385
7941386 *)
7951387 # FIXME: should be removed in autoconf 3.0.
796 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1388 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
7971389 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
798 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
799 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1390 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1391 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
8001392 ;;
8011393
8021394 esac
8041396
8051397 if test -n "$ac_prev"; then
8061398 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
807 { echo "$as_me: error: missing argument to $ac_option" >&2
808 { (exit 1); exit 1; }; }
809 fi
810
811 # Be sure to have absolute paths.
812 for ac_var in exec_prefix prefix
1399 as_fn_error $? "missing argument to $ac_option"
1400 fi
1401
1402 if test -n "$ac_unrecognized_opts"; then
1403 case $enable_option_checking in
1404 no) ;;
1405 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1406 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1407 esac
1408 fi
1409
1410 # Check all directory arguments for consistency.
1411 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1412 datadir sysconfdir sharedstatedir localstatedir includedir \
1413 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1414 libdir localedir mandir runstatedir
8131415 do
814 eval ac_val=$`echo $ac_var`
1416 eval ac_val=\$$ac_var
1417 # Remove trailing slashes.
8151418 case $ac_val in
816 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
817 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
818 { (exit 1); exit 1; }; };;
1419 */ )
1420 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1421 eval $ac_var=\$ac_val;;
8191422 esac
820 done
821
822 # Be sure to have absolute paths.
823 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
824 localstatedir libdir includedir oldincludedir infodir mandir
825 do
826 eval ac_val=$`echo $ac_var`
1423 # Be sure to have absolute directory names.
8271424 case $ac_val in
828 [\\/$]* | ?:[\\/]* ) ;;
829 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
830 { (exit 1); exit 1; }; };;
1425 [\\/$]* | ?:[\\/]* ) continue;;
1426 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
8311427 esac
1428 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
8321429 done
8331430
8341431 # There might be people who depend on the old broken behavior: `$host'
8421439 if test "x$host_alias" != x; then
8431440 if test "x$build_alias" = x; then
8441441 cross_compiling=maybe
845 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
846 If a cross compiler is detected then cross compile mode will be used." >&2
8471442 elif test "x$build_alias" != "x$host_alias"; then
8481443 cross_compiling=yes
8491444 fi
8551450 test "$silent" = yes && exec 6>/dev/null
8561451
8571452
1453 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1454 ac_ls_di=`ls -di .` &&
1455 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1456 as_fn_error $? "working directory cannot be determined"
1457 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1458 as_fn_error $? "pwd does not report name of working directory"
1459
1460
8581461 # Find the source files, if location was not specified.
8591462 if test -z "$srcdir"; then
8601463 ac_srcdir_defaulted=yes
861 # Try the directory containing this script, then its parent.
862 ac_confdir=`(dirname "$0") 2>/dev/null ||
863 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
864 X"$0" : 'X\(//\)[^/]' \| \
865 X"$0" : 'X\(//\)$' \| \
866 X"$0" : 'X\(/\)' \| \
867 . : '\(.\)' 2>/dev/null ||
868 echo X"$0" |
869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
870 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
871 /^X\(\/\/\)$/{ s//\1/; q; }
872 /^X\(\/\).*/{ s//\1/; q; }
873 s/.*/./; q'`
1464 # Try the directory containing this script, then the parent directory.
1465 ac_confdir=`$as_dirname -- "$as_myself" ||
1466 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1467 X"$as_myself" : 'X\(//\)[^/]' \| \
1468 X"$as_myself" : 'X\(//\)$' \| \
1469 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1470 $as_echo X"$as_myself" |
1471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1472 s//\1/
1473 q
1474 }
1475 /^X\(\/\/\)[^/].*/{
1476 s//\1/
1477 q
1478 }
1479 /^X\(\/\/\)$/{
1480 s//\1/
1481 q
1482 }
1483 /^X\(\/\).*/{
1484 s//\1/
1485 q
1486 }
1487 s/.*/./; q'`
8741488 srcdir=$ac_confdir
875 if test ! -r $srcdir/$ac_unique_file; then
1489 if test ! -r "$srcdir/$ac_unique_file"; then
8761490 srcdir=..
8771491 fi
8781492 else
8791493 ac_srcdir_defaulted=no
8801494 fi
881 if test ! -r $srcdir/$ac_unique_file; then
882 if test "$ac_srcdir_defaulted" = yes; then
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
884 { (exit 1); exit 1; }; }
885 else
886 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
887 { (exit 1); exit 1; }; }
888 fi
889 fi
890 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
891 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
892 { (exit 1); exit 1; }; }
893 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
894 ac_env_build_alias_set=${build_alias+set}
895 ac_env_build_alias_value=$build_alias
896 ac_cv_env_build_alias_set=${build_alias+set}
897 ac_cv_env_build_alias_value=$build_alias
898 ac_env_host_alias_set=${host_alias+set}
899 ac_env_host_alias_value=$host_alias
900 ac_cv_env_host_alias_set=${host_alias+set}
901 ac_cv_env_host_alias_value=$host_alias
902 ac_env_target_alias_set=${target_alias+set}
903 ac_env_target_alias_value=$target_alias
904 ac_cv_env_target_alias_set=${target_alias+set}
905 ac_cv_env_target_alias_value=$target_alias
906 ac_env_CC_set=${CC+set}
907 ac_env_CC_value=$CC
908 ac_cv_env_CC_set=${CC+set}
909 ac_cv_env_CC_value=$CC
910 ac_env_CFLAGS_set=${CFLAGS+set}
911 ac_env_CFLAGS_value=$CFLAGS
912 ac_cv_env_CFLAGS_set=${CFLAGS+set}
913 ac_cv_env_CFLAGS_value=$CFLAGS
914 ac_env_LDFLAGS_set=${LDFLAGS+set}
915 ac_env_LDFLAGS_value=$LDFLAGS
916 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
917 ac_cv_env_LDFLAGS_value=$LDFLAGS
918 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
919 ac_env_CPPFLAGS_value=$CPPFLAGS
920 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
921 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
922 ac_env_CPP_set=${CPP+set}
923 ac_env_CPP_value=$CPP
924 ac_cv_env_CPP_set=${CPP+set}
925 ac_cv_env_CPP_value=$CPP
926 ac_env_CXX_set=${CXX+set}
927 ac_env_CXX_value=$CXX
928 ac_cv_env_CXX_set=${CXX+set}
929 ac_cv_env_CXX_value=$CXX
930 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
931 ac_env_CXXFLAGS_value=$CXXFLAGS
932 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
933 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
934 ac_env_CXXCPP_set=${CXXCPP+set}
935 ac_env_CXXCPP_value=$CXXCPP
936 ac_cv_env_CXXCPP_set=${CXXCPP+set}
937 ac_cv_env_CXXCPP_value=$CXXCPP
938 ac_env_F77_set=${F77+set}
939 ac_env_F77_value=$F77
940 ac_cv_env_F77_set=${F77+set}
941 ac_cv_env_F77_value=$F77
942 ac_env_FFLAGS_set=${FFLAGS+set}
943 ac_env_FFLAGS_value=$FFLAGS
944 ac_cv_env_FFLAGS_set=${FFLAGS+set}
945 ac_cv_env_FFLAGS_value=$FFLAGS
1495 if test ! -r "$srcdir/$ac_unique_file"; then
1496 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1497 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1498 fi
1499 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1500 ac_abs_confdir=`(
1501 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1502 pwd)`
1503 # When building in place, set srcdir=.
1504 if test "$ac_abs_confdir" = "$ac_pwd"; then
1505 srcdir=.
1506 fi
1507 # Remove unnecessary trailing slashes from srcdir.
1508 # Double slashes in file names in object file debugging info
1509 # mess up M-x gdb in Emacs.
1510 case $srcdir in
1511 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1512 esac
1513 for ac_var in $ac_precious_vars; do
1514 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1515 eval ac_env_${ac_var}_value=\$${ac_var}
1516 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1517 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1518 done
9461519
9471520 #
9481521 # Report the --help message.
9651538 --help=short display options specific to this package
9661539 --help=recursive display the short help of all the included packages
9671540 -V, --version display version information and exit
968 -q, --quiet, --silent do not print \`checking...' messages
1541 -q, --quiet, --silent do not print \`checking ...' messages
9691542 --cache-file=FILE cache test results in FILE [disabled]
9701543 -C, --config-cache alias for \`--cache-file=config.cache'
9711544 -n, --no-create do not create output files
9721545 --srcdir=DIR find the sources in DIR [configure dir or \`..']
9731546
974 _ACEOF
975
976 cat <<_ACEOF
9771547 Installation directories:
9781548 --prefix=PREFIX install architecture-independent files in PREFIX
979 [$ac_default_prefix]
1549 [$ac_default_prefix]
9801550 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
981 [PREFIX]
1551 [PREFIX]
9821552
9831553 By default, \`make install' will install all the files in
9841554 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
9881558 For better control, use the options below.
9891559
9901560 Fine tuning of the installation directories:
991 --bindir=DIR user executables [EPREFIX/bin]
992 --sbindir=DIR system admin executables [EPREFIX/sbin]
993 --libexecdir=DIR program executables [EPREFIX/libexec]
994 --datadir=DIR read-only architecture-independent data [PREFIX/share]
995 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
996 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
997 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
998 --libdir=DIR object code libraries [EPREFIX/lib]
999 --includedir=DIR C header files [PREFIX/include]
1000 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1001 --infodir=DIR info documentation [PREFIX/info]
1002 --mandir=DIR man documentation [PREFIX/man]
1561 --bindir=DIR user executables [EPREFIX/bin]
1562 --sbindir=DIR system admin executables [EPREFIX/sbin]
1563 --libexecdir=DIR program executables [EPREFIX/libexec]
1564 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1565 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1566 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1567 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1568 --libdir=DIR object code libraries [EPREFIX/lib]
1569 --includedir=DIR C header files [PREFIX/include]
1570 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1571 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1572 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1573 --infodir=DIR info documentation [DATAROOTDIR/info]
1574 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1575 --mandir=DIR man documentation [DATAROOTDIR/man]
1576 --docdir=DIR documentation root [DATAROOTDIR/doc/dx]
1577 --htmldir=DIR html documentation [DOCDIR]
1578 --dvidir=DIR dvi documentation [DOCDIR]
1579 --pdfdir=DIR pdf documentation [DOCDIR]
1580 --psdir=DIR ps documentation [DOCDIR]
10031581 _ACEOF
10041582
10051583 cat <<\_ACEOF
10261604 cat <<\_ACEOF
10271605
10281606 Optional Features:
1607 --disable-option-checking ignore unrecognized --enable/--with options
10291608 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
10301609 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1031 --enable-shared[=PKGS]
1032 build shared libraries [default=no]
1033 --enable-static[=PKGS]
1034 build static libraries [default=yes]
1610 --enable-shared[=PKGS] build shared libraries [default=no]
1611 --enable-static[=PKGS] build static libraries [default=yes]
10351612 --enable-fast-install[=PKGS]
10361613 optimize for fast installation [default=yes]
10371614 --disable-dependency-tracking speeds up one-time build
10491626 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
10501627 --with-pic try to use only PIC/non-PIC objects [default=use
10511628 both]
1052 --with-tags[=TAGS]
1053 include additional configurations [automatic]
1629 --with-tags[=TAGS] include additional configurations [automatic]
10541630 --without-largefiles disable support for large (64 bit) file offsets
10551631 --with-hdf enable HDF (default is yes)
10561632 --with-tiff enable TIFF (default is yes)
10741650 CFLAGS C compiler flags
10751651 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
10761652 nonstandard directory <lib dir>
1077 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1078 headers in a nonstandard directory <include dir>
1653 LIBS libraries to pass to the linker, e.g. -l<library>
1654 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1655 you have headers in a nonstandard directory <include dir>
10791656 CPP C preprocessor
10801657 CXX C++ compiler command
10811658 CXXFLAGS C++ compiler flags
10821659 CXXCPP C++ preprocessor
10831660 F77 Fortran 77 compiler command
10841661 FFLAGS Fortran 77 compiler flags
1662 XMKMF Path to xmkmf, Makefile generator for X Window System
10851663
10861664 Use these variables to override the choices made by `configure' or to help
10871665 it to find libraries and programs with nonstandard names/locations.
10881666
1089 _ACEOF
1667 Report bugs to the package provider.
1668 _ACEOF
1669 ac_status=$?
10901670 fi
10911671
10921672 if test "$ac_init_help" = "recursive"; then
10931673 # If there are subdirs, report their specific --help.
1094 ac_popdir=`pwd`
10951674 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1096 test -d $ac_dir || continue
1675 test -d "$ac_dir" ||
1676 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1677 continue
10971678 ac_builddir=.
10981679
1099 if test "$ac_dir" != .; then
1100 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1101 # A "../" for each directory in $ac_dir_suffix.
1102 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1103 else
1104 ac_dir_suffix= ac_top_builddir=
1105 fi
1680 case "$ac_dir" in
1681 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1682 *)
1683 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1684 # A ".." for each directory in $ac_dir_suffix.
1685 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1686 case $ac_top_builddir_sub in
1687 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1688 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1689 esac ;;
1690 esac
1691 ac_abs_top_builddir=$ac_pwd
1692 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1693 # for backward compatibility:
1694 ac_top_builddir=$ac_top_build_prefix
11061695
11071696 case $srcdir in
1108 .) # No --srcdir option. We are building in place.
1697 .) # We are building in place.
11091698 ac_srcdir=.
1110 if test -z "$ac_top_builddir"; then
1111 ac_top_srcdir=.
1699 ac_top_srcdir=$ac_top_builddir_sub
1700 ac_abs_top_srcdir=$ac_pwd ;;
1701 [\\/]* | ?:[\\/]* ) # Absolute name.
1702 ac_srcdir=$srcdir$ac_dir_suffix;
1703 ac_top_srcdir=$srcdir
1704 ac_abs_top_srcdir=$srcdir ;;
1705 *) # Relative name.
1706 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1707 ac_top_srcdir=$ac_top_build_prefix$srcdir
1708 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1709 esac
1710 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1711
1712 cd "$ac_dir" || { ac_status=$?; continue; }
1713 # Check for guested configure.
1714 if test -f "$ac_srcdir/configure.gnu"; then
1715 echo &&
1716 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1717 elif test -f "$ac_srcdir/configure"; then
1718 echo &&
1719 $SHELL "$ac_srcdir/configure" --help=recursive
11121720 else
1113 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1114 fi ;;
1115 [\\/]* | ?:[\\/]* ) # Absolute path.
1116 ac_srcdir=$srcdir$ac_dir_suffix;
1117 ac_top_srcdir=$srcdir ;;
1118 *) # Relative path.
1119 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1120 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1121 esac
1122
1123 # Do not use `cd foo && pwd` to compute absolute paths, because
1124 # the directories may not exist.
1125 case `pwd` in
1126 .) ac_abs_builddir="$ac_dir";;
1127 *)
1128 case "$ac_dir" in
1129 .) ac_abs_builddir=`pwd`;;
1130 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1131 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1132 esac;;
1133 esac
1134 case $ac_abs_builddir in
1135 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1136 *)
1137 case ${ac_top_builddir}. in
1138 .) ac_abs_top_builddir=$ac_abs_builddir;;
1139 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1140 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1141 esac;;
1142 esac
1143 case $ac_abs_builddir in
1144 .) ac_abs_srcdir=$ac_srcdir;;
1145 *)
1146 case $ac_srcdir in
1147 .) ac_abs_srcdir=$ac_abs_builddir;;
1148 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1149 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1150 esac;;
1151 esac
1152 case $ac_abs_builddir in
1153 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1154 *)
1155 case $ac_top_srcdir in
1156 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1157 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1158 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1159 esac;;
1160 esac
1161
1162 cd $ac_dir
1163 # Check for guested configure; otherwise get Cygnus style configure.
1164 if test -f $ac_srcdir/configure.gnu; then
1165 echo
1166 $SHELL $ac_srcdir/configure.gnu --help=recursive
1167 elif test -f $ac_srcdir/configure; then
1168 echo
1169 $SHELL $ac_srcdir/configure --help=recursive
1170 elif test -f $ac_srcdir/configure.ac ||
1171 test -f $ac_srcdir/configure.in; then
1172 echo
1173 $ac_configure --help
1174 else
1175 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1176 fi
1177 cd $ac_popdir
1721 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1722 fi || ac_status=$?
1723 cd "$ac_pwd" || { ac_status=$?; break; }
11781724 done
11791725 fi
11801726
1181 test -n "$ac_init_help" && exit 0
1727 test -n "$ac_init_help" && exit $ac_status
11821728 if $ac_init_version; then
11831729 cat <<\_ACEOF
11841730 dx configure 4.4.4
1185 generated by GNU Autoconf 2.59
1186
1187 Copyright (C) 2003 Free Software Foundation, Inc.
1731 generated by GNU Autoconf 2.69
1732
1733 Copyright (C) 2012 Free Software Foundation, Inc.
11881734 This configure script is free software; the Free Software Foundation
11891735 gives unlimited permission to copy, distribute and modify it.
11901736 _ACEOF
1191 exit 0
1192 fi
1193 exec 5>config.log
1194 cat >&5 <<_ACEOF
1737 exit
1738 fi
1739
1740 ## ------------------------ ##
1741 ## Autoconf initialization. ##
1742 ## ------------------------ ##
1743
1744 # ac_fn_c_try_compile LINENO
1745 # --------------------------
1746 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1747 ac_fn_c_try_compile ()
1748 {
1749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1750 rm -f conftest.$ac_objext
1751 if { { ac_try="$ac_compile"
1752 case "(($ac_try" in
1753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1754 *) ac_try_echo=$ac_try;;
1755 esac
1756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1757 $as_echo "$ac_try_echo"; } >&5
1758 (eval "$ac_compile") 2>conftest.err
1759 ac_status=$?
1760 if test -s conftest.err; then
1761 grep -v '^ *+' conftest.err >conftest.er1
1762 cat conftest.er1 >&5
1763 mv -f conftest.er1 conftest.err
1764 fi
1765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766 test $ac_status = 0; } && {
1767 test -z "$ac_c_werror_flag" ||
1768 test ! -s conftest.err
1769 } && test -s conftest.$ac_objext; then :
1770 ac_retval=0
1771 else
1772 $as_echo "$as_me: failed program was:" >&5
1773 sed 's/^/| /' conftest.$ac_ext >&5
1774
1775 ac_retval=1
1776 fi
1777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778 as_fn_set_status $ac_retval
1779
1780 } # ac_fn_c_try_compile
1781
1782 # ac_fn_c_try_link LINENO
1783 # -----------------------
1784 # Try to link conftest.$ac_ext, and return whether this succeeded.
1785 ac_fn_c_try_link ()
1786 {
1787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788 rm -f conftest.$ac_objext conftest$ac_exeext
1789 if { { ac_try="$ac_link"
1790 case "(($ac_try" in
1791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792 *) ac_try_echo=$ac_try;;
1793 esac
1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_link") 2>conftest.err
1797 ac_status=$?
1798 if test -s conftest.err; then
1799 grep -v '^ *+' conftest.err >conftest.er1
1800 cat conftest.er1 >&5
1801 mv -f conftest.er1 conftest.err
1802 fi
1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804 test $ac_status = 0; } && {
1805 test -z "$ac_c_werror_flag" ||
1806 test ! -s conftest.err
1807 } && test -s conftest$ac_exeext && {
1808 test "$cross_compiling" = yes ||
1809 test -x conftest$ac_exeext
1810 }; then :
1811 ac_retval=0
1812 else
1813 $as_echo "$as_me: failed program was:" >&5
1814 sed 's/^/| /' conftest.$ac_ext >&5
1815
1816 ac_retval=1
1817 fi
1818 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1819 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1820 # interfere with the next link command; also delete a directory that is
1821 # left behind by Apple's compiler. We do this before executing the actions.
1822 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1824 as_fn_set_status $ac_retval
1825
1826 } # ac_fn_c_try_link
1827
1828 # ac_fn_c_try_cpp LINENO
1829 # ----------------------
1830 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1831 ac_fn_c_try_cpp ()
1832 {
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 if { { ac_try="$ac_cpp conftest.$ac_ext"
1835 case "(($ac_try" in
1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1838 esac
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1842 ac_status=$?
1843 if test -s conftest.err; then
1844 grep -v '^ *+' conftest.err >conftest.er1
1845 cat conftest.er1 >&5
1846 mv -f conftest.er1 conftest.err
1847 fi
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } > conftest.i && {
1850 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1851 test ! -s conftest.err
1852 }; then :
1853 ac_retval=0
1854 else
1855 $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5
1857
1858 ac_retval=1
1859 fi
1860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1861 as_fn_set_status $ac_retval
1862
1863 } # ac_fn_c_try_cpp
1864
1865 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1866 # -------------------------------------------------------
1867 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1868 # the include files in INCLUDES and setting the cache variable VAR
1869 # accordingly.
1870 ac_fn_c_check_header_mongrel ()
1871 {
1872 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1873 if eval \${$3+:} false; then :
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1875 $as_echo_n "checking for $2... " >&6; }
1876 if eval \${$3+:} false; then :
1877 $as_echo_n "(cached) " >&6
1878 fi
1879 eval ac_res=\$$3
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1881 $as_echo "$ac_res" >&6; }
1882 else
1883 # Is the header compilable?
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1885 $as_echo_n "checking $2 usability... " >&6; }
1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1888 $4
1889 #include <$2>
1890 _ACEOF
1891 if ac_fn_c_try_compile "$LINENO"; then :
1892 ac_header_compiler=yes
1893 else
1894 ac_header_compiler=no
1895 fi
1896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1898 $as_echo "$ac_header_compiler" >&6; }
1899
1900 # Is the header present?
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1902 $as_echo_n "checking $2 presence... " >&6; }
1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h. */
1905 #include <$2>
1906 _ACEOF
1907 if ac_fn_c_try_cpp "$LINENO"; then :
1908 ac_header_preproc=yes
1909 else
1910 ac_header_preproc=no
1911 fi
1912 rm -f conftest.err conftest.i conftest.$ac_ext
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1914 $as_echo "$ac_header_preproc" >&6; }
1915
1916 # So? What about this header?
1917 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1918 yes:no: )
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1920 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1922 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1923 ;;
1924 no:yes:* )
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1926 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1928 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1930 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1932 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1934 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1935 ;;
1936 esac
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1938 $as_echo_n "checking for $2... " >&6; }
1939 if eval \${$3+:} false; then :
1940 $as_echo_n "(cached) " >&6
1941 else
1942 eval "$3=\$ac_header_compiler"
1943 fi
1944 eval ac_res=\$$3
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1946 $as_echo "$ac_res" >&6; }
1947 fi
1948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1949
1950 } # ac_fn_c_check_header_mongrel
1951
1952 # ac_fn_c_try_run LINENO
1953 # ----------------------
1954 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1955 # that executables *can* be run.
1956 ac_fn_c_try_run ()
1957 {
1958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1959 if { { ac_try="$ac_link"
1960 case "(($ac_try" in
1961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1962 *) ac_try_echo=$ac_try;;
1963 esac
1964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1965 $as_echo "$ac_try_echo"; } >&5
1966 (eval "$ac_link") 2>&5
1967 ac_status=$?
1968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1969 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1970 { { case "(($ac_try" in
1971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1972 *) ac_try_echo=$ac_try;;
1973 esac
1974 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1975 $as_echo "$ac_try_echo"; } >&5
1976 (eval "$ac_try") 2>&5
1977 ac_status=$?
1978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1979 test $ac_status = 0; }; }; then :
1980 ac_retval=0
1981 else
1982 $as_echo "$as_me: program exited with status $ac_status" >&5
1983 $as_echo "$as_me: failed program was:" >&5
1984 sed 's/^/| /' conftest.$ac_ext >&5
1985
1986 ac_retval=$ac_status
1987 fi
1988 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1989 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1990 as_fn_set_status $ac_retval
1991
1992 } # ac_fn_c_try_run
1993
1994 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1995 # -------------------------------------------------------
1996 # Tests whether HEADER exists and can be compiled using the include files in
1997 # INCLUDES, setting the cache variable VAR accordingly.
1998 ac_fn_c_check_header_compile ()
1999 {
2000 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2002 $as_echo_n "checking for $2... " >&6; }
2003 if eval \${$3+:} false; then :
2004 $as_echo_n "(cached) " >&6
2005 else
2006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2007 /* end confdefs.h. */
2008 $4
2009 #include <$2>
2010 _ACEOF
2011 if ac_fn_c_try_compile "$LINENO"; then :
2012 eval "$3=yes"
2013 else
2014 eval "$3=no"
2015 fi
2016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2017 fi
2018 eval ac_res=\$$3
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2020 $as_echo "$ac_res" >&6; }
2021 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2022
2023 } # ac_fn_c_check_header_compile
2024
2025 # ac_fn_c_check_func LINENO FUNC VAR
2026 # ----------------------------------
2027 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2028 ac_fn_c_check_func ()
2029 {
2030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032 $as_echo_n "checking for $2... " >&6; }
2033 if eval \${$3+:} false; then :
2034 $as_echo_n "(cached) " >&6
2035 else
2036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2037 /* end confdefs.h. */
2038 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2040 #define $2 innocuous_$2
2041
2042 /* System header to define __stub macros and hopefully few prototypes,
2043 which can conflict with char $2 (); below.
2044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2045 <limits.h> exists even on freestanding compilers. */
2046
2047 #ifdef __STDC__
2048 # include <limits.h>
2049 #else
2050 # include <assert.h>
2051 #endif
2052
2053 #undef $2
2054
2055 /* Override any GCC internal prototype to avoid an error.
2056 Use char because int might match the return type of a GCC
2057 builtin and then its argument prototype would still apply. */
2058 #ifdef __cplusplus
2059 extern "C"
2060 #endif
2061 char $2 ();
2062 /* The GNU C library defines this for functions which it implements
2063 to always fail with ENOSYS. Some functions are actually named
2064 something starting with __ and the normal name is an alias. */
2065 #if defined __stub_$2 || defined __stub___$2
2066 choke me
2067 #endif
2068
2069 int
2070 main ()
2071 {
2072 return $2 ();
2073 ;
2074 return 0;
2075 }
2076 _ACEOF
2077 if ac_fn_c_try_link "$LINENO"; then :
2078 eval "$3=yes"
2079 else
2080 eval "$3=no"
2081 fi
2082 rm -f core conftest.err conftest.$ac_objext \
2083 conftest$ac_exeext conftest.$ac_ext
2084 fi
2085 eval ac_res=\$$3
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2087 $as_echo "$ac_res" >&6; }
2088 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2089
2090 } # ac_fn_c_check_func
2091
2092 # ac_fn_cxx_try_compile LINENO
2093 # ----------------------------
2094 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2095 ac_fn_cxx_try_compile ()
2096 {
2097 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2098 rm -f conftest.$ac_objext
2099 if { { ac_try="$ac_compile"
2100 case "(($ac_try" in
2101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2102 *) ac_try_echo=$ac_try;;
2103 esac
2104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2105 $as_echo "$ac_try_echo"; } >&5
2106 (eval "$ac_compile") 2>conftest.err
2107 ac_status=$?
2108 if test -s conftest.err; then
2109 grep -v '^ *+' conftest.err >conftest.er1
2110 cat conftest.er1 >&5
2111 mv -f conftest.er1 conftest.err
2112 fi
2113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2114 test $ac_status = 0; } && {
2115 test -z "$ac_cxx_werror_flag" ||
2116 test ! -s conftest.err
2117 } && test -s conftest.$ac_objext; then :
2118 ac_retval=0
2119 else
2120 $as_echo "$as_me: failed program was:" >&5
2121 sed 's/^/| /' conftest.$ac_ext >&5
2122
2123 ac_retval=1
2124 fi
2125 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2126 as_fn_set_status $ac_retval
2127
2128 } # ac_fn_cxx_try_compile
2129
2130 # ac_fn_cxx_try_cpp LINENO
2131 # ------------------------
2132 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2133 ac_fn_cxx_try_cpp ()
2134 {
2135 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2136 if { { ac_try="$ac_cpp conftest.$ac_ext"
2137 case "(($ac_try" in
2138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2139 *) ac_try_echo=$ac_try;;
2140 esac
2141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2142 $as_echo "$ac_try_echo"; } >&5
2143 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2144 ac_status=$?
2145 if test -s conftest.err; then
2146 grep -v '^ *+' conftest.err >conftest.er1
2147 cat conftest.er1 >&5
2148 mv -f conftest.er1 conftest.err
2149 fi
2150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2151 test $ac_status = 0; } > conftest.i && {
2152 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2153 test ! -s conftest.err
2154 }; then :
2155 ac_retval=0
2156 else
2157 $as_echo "$as_me: failed program was:" >&5
2158 sed 's/^/| /' conftest.$ac_ext >&5
2159
2160 ac_retval=1
2161 fi
2162 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2163 as_fn_set_status $ac_retval
2164
2165 } # ac_fn_cxx_try_cpp
2166
2167 # ac_fn_cxx_try_link LINENO
2168 # -------------------------
2169 # Try to link conftest.$ac_ext, and return whether this succeeded.
2170 ac_fn_cxx_try_link ()
2171 {
2172 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2173 rm -f conftest.$ac_objext conftest$ac_exeext
2174 if { { ac_try="$ac_link"
2175 case "(($ac_try" in
2176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2177 *) ac_try_echo=$ac_try;;
2178 esac
2179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2180 $as_echo "$ac_try_echo"; } >&5
2181 (eval "$ac_link") 2>conftest.err
2182 ac_status=$?
2183 if test -s conftest.err; then
2184 grep -v '^ *+' conftest.err >conftest.er1
2185 cat conftest.er1 >&5
2186 mv -f conftest.er1 conftest.err
2187 fi
2188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2189 test $ac_status = 0; } && {
2190 test -z "$ac_cxx_werror_flag" ||
2191 test ! -s conftest.err
2192 } && test -s conftest$ac_exeext && {
2193 test "$cross_compiling" = yes ||
2194 test -x conftest$ac_exeext
2195 }; then :
2196 ac_retval=0
2197 else
2198 $as_echo "$as_me: failed program was:" >&5
2199 sed 's/^/| /' conftest.$ac_ext >&5
2200
2201 ac_retval=1
2202 fi
2203 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2204 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2205 # interfere with the next link command; also delete a directory that is
2206 # left behind by Apple's compiler. We do this before executing the actions.
2207 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2208 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2209 as_fn_set_status $ac_retval
2210
2211 } # ac_fn_cxx_try_link
2212
2213 # ac_fn_f77_try_compile LINENO
2214 # ----------------------------
2215 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2216 ac_fn_f77_try_compile ()
2217 {
2218 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2219 rm -f conftest.$ac_objext
2220 if { { ac_try="$ac_compile"
2221 case "(($ac_try" in
2222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2223 *) ac_try_echo=$ac_try;;
2224 esac
2225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2226 $as_echo "$ac_try_echo"; } >&5
2227 (eval "$ac_compile") 2>conftest.err
2228 ac_status=$?
2229 if test -s conftest.err; then
2230 grep -v '^ *+' conftest.err >conftest.er1
2231 cat conftest.er1 >&5
2232 mv -f conftest.er1 conftest.err
2233 fi
2234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2235 test $ac_status = 0; } && {
2236 test -z "$ac_f77_werror_flag" ||
2237 test ! -s conftest.err
2238 } && test -s conftest.$ac_objext; then :
2239 ac_retval=0
2240 else
2241 $as_echo "$as_me: failed program was:" >&5
2242 sed 's/^/| /' conftest.$ac_ext >&5
2243
2244 ac_retval=1
2245 fi
2246 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2247 as_fn_set_status $ac_retval
2248
2249 } # ac_fn_f77_try_compile
2250
2251 # ac_fn_f77_try_link LINENO
2252 # -------------------------
2253 # Try to link conftest.$ac_ext, and return whether this succeeded.
2254 ac_fn_f77_try_link ()
2255 {
2256 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2257 rm -f conftest.$ac_objext conftest$ac_exeext
2258 if { { ac_try="$ac_link"
2259 case "(($ac_try" in
2260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2261 *) ac_try_echo=$ac_try;;
2262 esac
2263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2264 $as_echo "$ac_try_echo"; } >&5
2265 (eval "$ac_link") 2>conftest.err
2266 ac_status=$?
2267 if test -s conftest.err; then
2268 grep -v '^ *+' conftest.err >conftest.er1
2269 cat conftest.er1 >&5
2270 mv -f conftest.er1 conftest.err
2271 fi
2272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2273 test $ac_status = 0; } && {
2274 test -z "$ac_f77_werror_flag" ||
2275 test ! -s conftest.err
2276 } && test -s conftest$ac_exeext && {
2277 test "$cross_compiling" = yes ||
2278 test -x conftest$ac_exeext
2279 }; then :
2280 ac_retval=0
2281 else
2282 $as_echo "$as_me: failed program was:" >&5
2283 sed 's/^/| /' conftest.$ac_ext >&5
2284
2285 ac_retval=1
2286 fi
2287 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2288 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2289 # interfere with the next link command; also delete a directory that is
2290 # left behind by Apple's compiler. We do this before executing the actions.
2291 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2292 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2293 as_fn_set_status $ac_retval
2294
2295 } # ac_fn_f77_try_link
2296
2297 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2298 # ---------------------------------------------------------
2299 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2300 # the include files in INCLUDES and setting the cache variable VAR
2301 # accordingly.
2302 ac_fn_cxx_check_header_mongrel ()
2303 {
2304 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2305 if eval \${$3+:} false; then :
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2307 $as_echo_n "checking for $2... " >&6; }
2308 if eval \${$3+:} false; then :
2309 $as_echo_n "(cached) " >&6
2310 fi
2311 eval ac_res=\$$3
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2313 $as_echo "$ac_res" >&6; }
2314 else
2315 # Is the header compilable?
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2317 $as_echo_n "checking $2 usability... " >&6; }
2318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h. */
2320 $4
2321 #include <$2>
2322 _ACEOF
2323 if ac_fn_cxx_try_compile "$LINENO"; then :
2324 ac_header_compiler=yes
2325 else
2326 ac_header_compiler=no
2327 fi
2328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2330 $as_echo "$ac_header_compiler" >&6; }
2331
2332 # Is the header present?
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2334 $as_echo_n "checking $2 presence... " >&6; }
2335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2336 /* end confdefs.h. */
2337 #include <$2>
2338 _ACEOF
2339 if ac_fn_cxx_try_cpp "$LINENO"; then :
2340 ac_header_preproc=yes
2341 else
2342 ac_header_preproc=no
2343 fi
2344 rm -f conftest.err conftest.i conftest.$ac_ext
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2346 $as_echo "$ac_header_preproc" >&6; }
2347
2348 # So? What about this header?
2349 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2350 yes:no: )
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2352 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2354 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2355 ;;
2356 no:yes:* )
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2358 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2360 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2362 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2364 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2366 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2367 ;;
2368 esac
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2370 $as_echo_n "checking for $2... " >&6; }
2371 if eval \${$3+:} false; then :
2372 $as_echo_n "(cached) " >&6
2373 else
2374 eval "$3=\$ac_header_compiler"
2375 fi
2376 eval ac_res=\$$3
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2378 $as_echo "$ac_res" >&6; }
2379 fi
2380 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2381
2382 } # ac_fn_cxx_check_header_mongrel
2383
2384 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2385 # -------------------------------------------
2386 # Tests whether TYPE exists after having included INCLUDES, setting cache
2387 # variable VAR accordingly.
2388 ac_fn_c_check_type ()
2389 {
2390 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2392 $as_echo_n "checking for $2... " >&6; }
2393 if eval \${$3+:} false; then :
2394 $as_echo_n "(cached) " >&6
2395 else
2396 eval "$3=no"
2397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2398 /* end confdefs.h. */
2399 $4
2400 int
2401 main ()
2402 {
2403 if (sizeof ($2))
2404 return 0;
2405 ;
2406 return 0;
2407 }
2408 _ACEOF
2409 if ac_fn_c_try_compile "$LINENO"; then :
2410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2411 /* end confdefs.h. */
2412 $4
2413 int
2414 main ()
2415 {
2416 if (sizeof (($2)))
2417 return 0;
2418 ;
2419 return 0;
2420 }
2421 _ACEOF
2422 if ac_fn_c_try_compile "$LINENO"; then :
2423
2424 else
2425 eval "$3=yes"
2426 fi
2427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2428 fi
2429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2430 fi
2431 eval ac_res=\$$3
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2433 $as_echo "$ac_res" >&6; }
2434 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2435
2436 } # ac_fn_c_check_type
2437
2438 # ac_fn_cxx_check_func LINENO FUNC VAR
2439 # ------------------------------------
2440 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2441 ac_fn_cxx_check_func ()
2442 {
2443 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2445 $as_echo_n "checking for $2... " >&6; }
2446 if eval \${$3+:} false; then :
2447 $as_echo_n "(cached) " >&6
2448 else
2449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2450 /* end confdefs.h. */
2451 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2453 #define $2 innocuous_$2
2454
2455 /* System header to define __stub macros and hopefully few prototypes,
2456 which can conflict with char $2 (); below.
2457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2458 <limits.h> exists even on freestanding compilers. */
2459
2460 #ifdef __STDC__
2461 # include <limits.h>
2462 #else
2463 # include <assert.h>
2464 #endif
2465
2466 #undef $2
2467
2468 /* Override any GCC internal prototype to avoid an error.
2469 Use char because int might match the return type of a GCC
2470 builtin and then its argument prototype would still apply. */
2471 #ifdef __cplusplus
2472 extern "C"
2473 #endif
2474 char $2 ();
2475 /* The GNU C library defines this for functions which it implements
2476 to always fail with ENOSYS. Some functions are actually named
2477 something starting with __ and the normal name is an alias. */
2478 #if defined __stub_$2 || defined __stub___$2
2479 choke me
2480 #endif
2481
2482 int
2483 main ()
2484 {
2485 return $2 ();
2486 ;
2487 return 0;
2488 }
2489 _ACEOF
2490 if ac_fn_cxx_try_link "$LINENO"; then :
2491 eval "$3=yes"
2492 else
2493 eval "$3=no"
2494 fi
2495 rm -f core conftest.err conftest.$ac_objext \
2496 conftest$ac_exeext conftest.$ac_ext
2497 fi
2498 eval ac_res=\$$3
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2500 $as_echo "$ac_res" >&6; }
2501 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2502
2503 } # ac_fn_cxx_check_func
2504
2505 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2506 # ---------------------------------------------------------
2507 # Tests whether HEADER exists and can be compiled using the include files in
2508 # INCLUDES, setting the cache variable VAR accordingly.
2509 ac_fn_cxx_check_header_compile ()
2510 {
2511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2513 $as_echo_n "checking for $2... " >&6; }
2514 if eval \${$3+:} false; then :
2515 $as_echo_n "(cached) " >&6
2516 else
2517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2518 /* end confdefs.h. */
2519 $4
2520 #include <$2>
2521 _ACEOF
2522 if ac_fn_cxx_try_compile "$LINENO"; then :
2523 eval "$3=yes"
2524 else
2525 eval "$3=no"
2526 fi
2527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2528 fi
2529 eval ac_res=\$$3
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2531 $as_echo "$ac_res" >&6; }
2532 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2533
2534 } # ac_fn_cxx_check_header_compile
2535 cat >config.log <<_ACEOF
11952536 This file contains any messages produced by compilers while
11962537 running configure, to aid debugging if configure makes a mistake.
11972538
11982539 It was created by dx $as_me 4.4.4, which was
1199 generated by GNU Autoconf 2.59. Invocation command line was
2540 generated by GNU Autoconf 2.69. Invocation command line was
12002541
12012542 $ $0 $@
12022543
12032544 _ACEOF
2545 exec 5>>config.log
12042546 {
12052547 cat <<_ASUNAME
12062548 ## --------- ##
12192561 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
12202562 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
12212563 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1222 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
2564 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
12232565 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
12242566 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
12252567 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
12312573 do
12322574 IFS=$as_save_IFS
12332575 test -z "$as_dir" && as_dir=.
1234 echo "PATH: $as_dir"
1235 done
2576 $as_echo "PATH: $as_dir"
2577 done
2578 IFS=$as_save_IFS
12362579
12372580 } >&5
12382581
12542597 ac_configure_args=
12552598 ac_configure_args0=
12562599 ac_configure_args1=
1257 ac_sep=
12582600 ac_must_keep_next=false
12592601 for ac_pass in 1 2
12602602 do
12652607 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12662608 | -silent | --silent | --silen | --sile | --sil)
12672609 continue ;;
1268 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1269 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2610 *\'*)
2611 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
12702612 esac
12712613 case $ac_pass in
1272 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2614 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
12732615 2)
1274 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2616 as_fn_append ac_configure_args1 " '$ac_arg'"
12752617 if test $ac_must_keep_next = true; then
12762618 ac_must_keep_next=false # Got value, back to normal.
12772619 else
12872629 -* ) ac_must_keep_next=true ;;
12882630 esac
12892631 fi
1290 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1291 # Get rid of the leading space.
1292 ac_sep=" "
2632 as_fn_append ac_configure_args " '$ac_arg'"
12932633 ;;
12942634 esac
12952635 done
12962636 done
1297 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1298 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2637 { ac_configure_args0=; unset ac_configure_args0;}
2638 { ac_configure_args1=; unset ac_configure_args1;}
12992639
13002640 # When interrupted or exit'd, cleanup temporary files, and complete
13012641 # config.log. We remove comments because anyway the quotes in there
13022642 # would cause problems or look ugly.
1303 # WARNING: Be sure not to use single quotes in there, as some shells,
1304 # such as our DU 5.0 friend, will then `close' the trap.
2643 # WARNING: Use '\'' to represent an apostrophe within the trap.
2644 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
13052645 trap 'exit_status=$?
13062646 # Save into config.log some information that might help in debugging.
13072647 {
13082648 echo
13092649
1310 cat <<\_ASBOX
1311 ## ---------------- ##
2650 $as_echo "## ---------------- ##
13122651 ## Cache variables. ##
1313 ## ---------------- ##
1314 _ASBOX
2652 ## ---------------- ##"
13152653 echo
13162654 # The following way of writing the cache mishandles newlines in values,
1317 {
2655 (
2656 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2657 eval ac_val=\$$ac_var
2658 case $ac_val in #(
2659 *${as_nl}*)
2660 case $ac_var in #(
2661 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2662 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2663 esac
2664 case $ac_var in #(
2665 _ | IFS | as_nl) ;; #(
2666 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2667 *) { eval $ac_var=; unset $ac_var;} ;;
2668 esac ;;
2669 esac
2670 done
13182671 (set) 2>&1 |
1319 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1320 *ac_space=\ *)
2672 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2673 *${as_nl}ac_space=\ *)
13212674 sed -n \
1322 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1323 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
2675 "s/'\''/'\''\\\\'\'''\''/g;
2676 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2677 ;; #(
2678 *)
2679 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13242680 ;;
1325 *)
1326 sed -n \
1327 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1328 ;;
1329 esac;
1330 }
2681 esac |
2682 sort
2683 )
13312684 echo
13322685
1333 cat <<\_ASBOX
1334 ## ----------------- ##
2686 $as_echo "## ----------------- ##
13352687 ## Output variables. ##
1336 ## ----------------- ##
1337 _ASBOX
2688 ## ----------------- ##"
13382689 echo
13392690 for ac_var in $ac_subst_vars
13402691 do
1341 eval ac_val=$`echo $ac_var`
1342 echo "$ac_var='"'"'$ac_val'"'"'"
2692 eval ac_val=\$$ac_var
2693 case $ac_val in
2694 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2695 esac
2696 $as_echo "$ac_var='\''$ac_val'\''"
13432697 done | sort
13442698 echo
13452699
13462700 if test -n "$ac_subst_files"; then
1347 cat <<\_ASBOX
1348 ## ------------- ##
1349 ## Output files. ##
1350 ## ------------- ##
1351 _ASBOX
2701 $as_echo "## ------------------- ##
2702 ## File substitutions. ##
2703 ## ------------------- ##"
13522704 echo
13532705 for ac_var in $ac_subst_files
13542706 do
1355 eval ac_val=$`echo $ac_var`
1356 echo "$ac_var='"'"'$ac_val'"'"'"
2707 eval ac_val=\$$ac_var
2708 case $ac_val in
2709 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2710 esac
2711 $as_echo "$ac_var='\''$ac_val'\''"
13572712 done | sort
13582713 echo
13592714 fi
13602715
13612716 if test -s confdefs.h; then
1362 cat <<\_ASBOX
1363 ## ----------- ##
2717 $as_echo "## ----------- ##
13642718 ## confdefs.h. ##
1365 ## ----------- ##
1366 _ASBOX
2719 ## ----------- ##"
13672720 echo
1368 sed "/^$/d" confdefs.h | sort
2721 cat confdefs.h
13692722 echo
13702723 fi
13712724 test "$ac_signal" != 0 &&
1372 echo "$as_me: caught signal $ac_signal"
1373 echo "$as_me: exit $exit_status"
2725 $as_echo "$as_me: caught signal $ac_signal"
2726 $as_echo "$as_me: exit $exit_status"
13742727 } >&5
1375 rm -f core *.core &&
1376 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
2728 rm -f core *.core core.conftest.* &&
2729 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
13772730 exit $exit_status
1378 ' 0
2731 ' 0
13792732 for ac_signal in 1 2 13 15; do
1380 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2733 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
13812734 done
13822735 ac_signal=0
13832736
13842737 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1385 rm -rf conftest* confdefs.h
1386 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1387 echo >confdefs.h
2738 rm -f -r conftest* confdefs.h
2739
2740 $as_echo "/* confdefs.h */" > confdefs.h
13882741
13892742 # Predefined preprocessor variables.
13902743
13922745 #define PACKAGE_NAME "$PACKAGE_NAME"
13932746 _ACEOF
13942747
1395
13962748 cat >>confdefs.h <<_ACEOF
13972749 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
13982750 _ACEOF
13992751
1400
14012752 cat >>confdefs.h <<_ACEOF
14022753 #define PACKAGE_VERSION "$PACKAGE_VERSION"
14032754 _ACEOF
14042755
1405
14062756 cat >>confdefs.h <<_ACEOF
14072757 #define PACKAGE_STRING "$PACKAGE_STRING"
14082758 _ACEOF
14092759
1410
14112760 cat >>confdefs.h <<_ACEOF
14122761 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
14132762 _ACEOF
14142763
2764 cat >>confdefs.h <<_ACEOF
2765 #define PACKAGE_URL "$PACKAGE_URL"
2766 _ACEOF
2767
14152768
14162769 # Let the site file select an alternate cache file if it wants to.
1417 # Prefer explicitly selected file to automatically selected ones.
1418 if test -z "$CONFIG_SITE"; then
1419 if test "x$prefix" != xNONE; then
1420 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1421 else
1422 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1423 fi
1424 fi
1425 for ac_site_file in $CONFIG_SITE; do
1426 if test -r "$ac_site_file"; then
1427 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1428 echo "$as_me: loading site script $ac_site_file" >&6;}
2770 # Prefer an explicitly selected file to automatically selected ones.
2771 ac_site_file1=NONE
2772 ac_site_file2=NONE
2773 if test -n "$CONFIG_SITE"; then
2774 # We do not want a PATH search for config.site.
2775 case $CONFIG_SITE in #((
2776 -*) ac_site_file1=./$CONFIG_SITE;;
2777 */*) ac_site_file1=$CONFIG_SITE;;
2778 *) ac_site_file1=./$CONFIG_SITE;;
2779 esac
2780 elif test "x$prefix" != xNONE; then
2781 ac_site_file1=$prefix/share/config.site
2782 ac_site_file2=$prefix/etc/config.site
2783 else
2784 ac_site_file1=$ac_default_prefix/share/config.site
2785 ac_site_file2=$ac_default_prefix/etc/config.site
2786 fi
2787 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2788 do
2789 test "x$ac_site_file" = xNONE && continue
2790 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2792 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
14292793 sed 's/^/| /' "$ac_site_file" >&5
1430 . "$ac_site_file"
2794 . "$ac_site_file" \
2795 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2797 as_fn_error $? "failed to load site script $ac_site_file
2798 See \`config.log' for more details" "$LINENO" 5; }
14312799 fi
14322800 done
14332801
14342802 if test -r "$cache_file"; then
1435 # Some versions of bash will fail to source /dev/null (special
1436 # files actually), so we avoid doing that.
1437 if test -f "$cache_file"; then
1438 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1439 echo "$as_me: loading cache $cache_file" >&6;}
2803 # Some versions of bash will fail to source /dev/null (special files
2804 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2805 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2807 $as_echo "$as_me: loading cache $cache_file" >&6;}
14402808 case $cache_file in
1441 [\\/]* | ?:[\\/]* ) . $cache_file;;
1442 *) . ./$cache_file;;
2809 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2810 *) . "./$cache_file";;
14432811 esac
14442812 fi
14452813 else
1446 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1447 echo "$as_me: creating cache $cache_file" >&6;}
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2815 $as_echo "$as_me: creating cache $cache_file" >&6;}
14482816 >$cache_file
14492817 fi
14502818
14512819 # Check that the precious variables saved in the cache have kept the same
14522820 # value.
14532821 ac_cache_corrupted=false
1454 for ac_var in `(set) 2>&1 |
1455 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
2822 for ac_var in $ac_precious_vars; do
14562823 eval ac_old_set=\$ac_cv_env_${ac_var}_set
14572824 eval ac_new_set=\$ac_env_${ac_var}_set
1458 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1459 eval ac_new_val="\$ac_env_${ac_var}_value"
2825 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2826 eval ac_new_val=\$ac_env_${ac_var}_value
14602827 case $ac_old_set,$ac_new_set in
14612828 set,)
1462 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1463 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2830 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
14642831 ac_cache_corrupted=: ;;
14652832 ,set)
1466 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1467 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2834 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
14682835 ac_cache_corrupted=: ;;
14692836 ,);;
14702837 *)
14712838 if test "x$ac_old_val" != "x$ac_new_val"; then
1472 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1473 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1474 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1475 echo "$as_me: former value: $ac_old_val" >&2;}
1476 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1477 echo "$as_me: current value: $ac_new_val" >&2;}
1478 ac_cache_corrupted=:
2839 # differences in whitespace do not lead to failure.
2840 ac_old_val_w=`echo x $ac_old_val`
2841 ac_new_val_w=`echo x $ac_new_val`
2842 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2844 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2845 ac_cache_corrupted=:
2846 else
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2848 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2849 eval $ac_var=\$ac_old_val
2850 fi
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2852 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2854 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
14792855 fi;;
14802856 esac
14812857 # Pass precious variables to config.status.
14822858 if test "$ac_new_set" = set; then
14832859 case $ac_new_val in
1484 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1485 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2860 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
14862861 *) ac_arg=$ac_var=$ac_new_val ;;
14872862 esac
14882863 case " $ac_configure_args " in
14892864 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1490 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2865 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
14912866 esac
14922867 fi
14932868 done
14942869 if $ac_cache_corrupted; then
1495 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1496 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1497 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1498 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1499 { (exit 1); exit 1; }; }
1500 fi
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2873 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2874 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2875 fi
2876 ## -------------------- ##
2877 ## Main body of script. ##
2878 ## -------------------- ##
15012879
15022880 ac_ext=c
15032881 ac_cpp='$CPP $CPPFLAGS'
15082886
15092887
15102888
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536 ac_config_headers="$ac_config_headers include/dxconfig.h"
2889 ac_config_headers="$ac_config_headers include/dxconfig.h"
15372890
15382891 am__api_version="1.9"
15392892 ac_aux_dir=
1540 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1541 if test -f $ac_dir/install-sh; then
2893 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2894 if test -f "$ac_dir/install-sh"; then
15422895 ac_aux_dir=$ac_dir
15432896 ac_install_sh="$ac_aux_dir/install-sh -c"
15442897 break
1545 elif test -f $ac_dir/install.sh; then
2898 elif test -f "$ac_dir/install.sh"; then
15462899 ac_aux_dir=$ac_dir
15472900 ac_install_sh="$ac_aux_dir/install.sh -c"
15482901 break
1549 elif test -f $ac_dir/shtool; then
2902 elif test -f "$ac_dir/shtool"; then
15502903 ac_aux_dir=$ac_dir
15512904 ac_install_sh="$ac_aux_dir/shtool install -c"
15522905 break
15532906 fi
15542907 done
15552908 if test -z "$ac_aux_dir"; then
1556 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1557 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1558 { (exit 1); exit 1; }; }
1559 fi
1560 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1561 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1562 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2909 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2910 fi
2911
2912 # These three variables are undocumented and unsupported,
2913 # and are intended to be withdrawn in a future Autoconf release.
2914 # They can cause serious problems if a builder's source tree is in a directory
2915 # whose full name contains unusual characters.
2916 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2917 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2918 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2919
15632920
15642921 # Find a good install program. We prefer a C program (faster),
15652922 # so one script is as good as another. But avoid the broken or
15742931 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15752932 # OS/2's system install, which has a completely different semantic
15762933 # ./install, which can be erroneously created by make from ./install.sh.
1577 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1578 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2934 # Reject install programs that cannot install multiple files.
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2936 $as_echo_n "checking for a BSD-compatible install... " >&6; }
15792937 if test -z "$INSTALL"; then
1580 if test "${ac_cv_path_install+set}" = set; then
1581 echo $ECHO_N "(cached) $ECHO_C" >&6
2938 if ${ac_cv_path_install+:} false; then :
2939 $as_echo_n "(cached) " >&6
15822940 else
15832941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15842942 for as_dir in $PATH
15852943 do
15862944 IFS=$as_save_IFS
15872945 test -z "$as_dir" && as_dir=.
1588 # Account for people who put trailing slashes in PATH elements.
1589 case $as_dir/ in
1590 ./ | .// | /cC/* | \
2946 # Account for people who put trailing slashes in PATH elements.
2947 case $as_dir/ in #((
2948 ./ | .// | /[cC]/* | \
15912949 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1592 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2950 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
15932951 /usr/ucb/* ) ;;
15942952 *)
15952953 # OSF1 and SCO ODT 3.0 have their own names for install.
15972955 # by default.
15982956 for ac_prog in ginstall scoinst install; do
15992957 for ac_exec_ext in '' $ac_executable_extensions; do
1600 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2958 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
16012959 if test $ac_prog = install &&
16022960 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16032961 # AIX install. It has an incompatible calling convention.
16072965 # program-specific install script used by HP pwplus--don't use.
16082966 :
16092967 else
1610 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1611 break 3
2968 rm -rf conftest.one conftest.two conftest.dir
2969 echo one > conftest.one
2970 echo two > conftest.two
2971 mkdir conftest.dir
2972 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2973 test -s conftest.one && test -s conftest.two &&
2974 test -s conftest.dir/conftest.one &&
2975 test -s conftest.dir/conftest.two
2976 then
2977 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2978 break 3
2979 fi
16122980 fi
16132981 fi
16142982 done
16152983 done
16162984 ;;
16172985 esac
1618 done
1619
2986
2987 done
2988 IFS=$as_save_IFS
2989
2990 rm -rf conftest.one conftest.two conftest.dir
16202991
16212992 fi
16222993 if test "${ac_cv_path_install+set}" = set; then
16232994 INSTALL=$ac_cv_path_install
16242995 else
1625 # As a last resort, use the slow shell script. We don't cache a
1626 # path for INSTALL within a source directory, because that will
2996 # As a last resort, use the slow shell script. Don't cache a
2997 # value for INSTALL within a source directory, because that will
16272998 # break other packages using the cache if that directory is
1628 # removed, or if the path is relative.
2999 # removed, or if the value is a relative name.
16293000 INSTALL=$ac_install_sh
16303001 fi
16313002 fi
1632 echo "$as_me:$LINENO: result: $INSTALL" >&5
1633 echo "${ECHO_T}$INSTALL" >&6
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3004 $as_echo "$INSTALL" >&6; }
16343005
16353006 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16363007 # It thinks the first close brace ends the variable substitution.
16403011
16413012 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16423013
1643 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1644 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3015 $as_echo_n "checking whether build environment is sane... " >&6; }
16453016 # Just in case
16463017 sleep 1
16473018 echo timestamp > conftest.file
16643035 # if, for instance, CONFIG_SHELL is bash and it inherits a
16653036 # broken ls alias from the environment. This has actually
16663037 # happened. Such a system could not be considered "sane".
1667 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1668 alias in your environment" >&5
1669 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1670 alias in your environment" >&2;}
1671 { (exit 1); exit 1; }; }
3038 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3039 alias in your environment" "$LINENO" 5
16723040 fi
16733041
16743042 test "$2" = conftest.file
16773045 # Ok.
16783046 :
16793047 else
1680 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1681 Check your system clock" >&5
1682 echo "$as_me: error: newly created file is older than distributed files!
1683 Check your system clock" >&2;}
1684 { (exit 1); exit 1; }; }
1685 fi
1686 echo "$as_me:$LINENO: result: yes" >&5
1687 echo "${ECHO_T}yes" >&6
3048 as_fn_error $? "newly created file is older than distributed files!
3049 Check your system clock" "$LINENO" 5
3050 fi
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3052 $as_echo "yes" >&6; }
16883053 test "$program_prefix" != NONE &&
1689 program_transform_name="s,^,$program_prefix,;$program_transform_name"
3054 program_transform_name="s&^&$program_prefix&;$program_transform_name"
16903055 # Use a double $ so make ignores it.
16913056 test "$program_suffix" != NONE &&
1692 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1693 # Double any \ or $. echo might interpret backslashes.
3057 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3058 # Double any \ or $.
16943059 # By default was `s,x,x', remove it if useless.
1695 cat <<\_ACEOF >conftest.sed
1696 s/[\\$]/&&/g;s/;s,x,x,$//
1697 _ACEOF
1698 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1699 rm conftest.sed
3060 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3061 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
17003062
17013063 # expand $ac_aux_dir to an absolute path
17023064 am_aux_dir=`cd $ac_aux_dir && pwd`
17073069 am_missing_run="$MISSING --run "
17083070 else
17093071 am_missing_run=
1710 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1711 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3073 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
17123074 fi
17133075
17143076 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
17483110 do
17493111 # Extract the first word of "$ac_prog", so it can be a program name with args.
17503112 set dummy $ac_prog; ac_word=$2
1751 echo "$as_me:$LINENO: checking for $ac_word" >&5
1752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1753 if test "${ac_cv_prog_AWK+set}" = set; then
1754 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114 $as_echo_n "checking for $ac_word... " >&6; }
3115 if ${ac_cv_prog_AWK+:} false; then :
3116 $as_echo_n "(cached) " >&6
17553117 else
17563118 if test -n "$AWK"; then
17573119 ac_cv_prog_AWK="$AWK" # Let the user override the test.
17613123 do
17623124 IFS=$as_save_IFS
17633125 test -z "$as_dir" && as_dir=.
1764 for ac_exec_ext in '' $ac_executable_extensions; do
1765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3126 for ac_exec_ext in '' $ac_executable_extensions; do
3127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17663128 ac_cv_prog_AWK="$ac_prog"
1767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17683130 break 2
17693131 fi
17703132 done
1771 done
3133 done
3134 IFS=$as_save_IFS
17723135
17733136 fi
17743137 fi
17753138 AWK=$ac_cv_prog_AWK
17763139 if test -n "$AWK"; then
1777 echo "$as_me:$LINENO: result: $AWK" >&5
1778 echo "${ECHO_T}$AWK" >&6
1779 else
1780 echo "$as_me:$LINENO: result: no" >&5
1781 echo "${ECHO_T}no" >&6
1782 fi
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3141 $as_echo "$AWK" >&6; }
3142 else
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3145 fi
3146
17833147
17843148 test -n "$AWK" && break
17853149 done
17863150
1787 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1788 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1789 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1790 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1791 echo $ECHO_N "(cached) $ECHO_C" >&6
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3152 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3153 set x ${MAKE-make}
3154 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3155 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3156 $as_echo_n "(cached) " >&6
17923157 else
17933158 cat >conftest.make <<\_ACEOF
3159 SHELL = /bin/sh
17943160 all:
1795 @echo 'ac_maketemp="$(MAKE)"'
1796 _ACEOF
1797 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1798 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1799 if test -n "$ac_maketemp"; then
1800 eval ac_cv_prog_make_${ac_make}_set=yes
1801 else
1802 eval ac_cv_prog_make_${ac_make}_set=no
1803 fi
3161 @echo '@@@%%%=$(MAKE)=@@@%%%'
3162 _ACEOF
3163 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3164 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3165 *@@@%%%=?*=@@@%%%*)
3166 eval ac_cv_prog_make_${ac_make}_set=yes;;
3167 *)
3168 eval ac_cv_prog_make_${ac_make}_set=no;;
3169 esac
18043170 rm -f conftest.make
18053171 fi
1806 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1807 echo "$as_me:$LINENO: result: yes" >&5
1808 echo "${ECHO_T}yes" >&6
3172 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3174 $as_echo "yes" >&6; }
18093175 SET_MAKE=
18103176 else
1811 echo "$as_me:$LINENO: result: no" >&5
1812 echo "${ECHO_T}no" >&6
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178 $as_echo "no" >&6; }
18133179 SET_MAKE="MAKE=${MAKE-make}"
18143180 fi
18153181
18253191 # test to see if srcdir already configured
18263192 if test "`cd $srcdir && pwd`" != "`pwd`" &&
18273193 test -f $srcdir/config.status; then
1828 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1829 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1830 { (exit 1); exit 1; }; }
3194 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
18313195 fi
18323196
18333197 # test whether we have cygpath
18803244 if test -n "$ac_tool_prefix"; then
18813245 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
18823246 set dummy ${ac_tool_prefix}strip; ac_word=$2
1883 echo "$as_me:$LINENO: checking for $ac_word" >&5
1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1885 if test "${ac_cv_prog_STRIP+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3248 $as_echo_n "checking for $ac_word... " >&6; }
3249 if ${ac_cv_prog_STRIP+:} false; then :
3250 $as_echo_n "(cached) " >&6
18873251 else
18883252 if test -n "$STRIP"; then
18893253 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
18933257 do
18943258 IFS=$as_save_IFS
18953259 test -z "$as_dir" && as_dir=.
1896 for ac_exec_ext in '' $ac_executable_extensions; do
1897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3260 for ac_exec_ext in '' $ac_executable_extensions; do
3261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18983262 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19003264 break 2
19013265 fi
19023266 done
1903 done
3267 done
3268 IFS=$as_save_IFS
19043269
19053270 fi
19063271 fi
19073272 STRIP=$ac_cv_prog_STRIP
19083273 if test -n "$STRIP"; then
1909 echo "$as_me:$LINENO: result: $STRIP" >&5
1910 echo "${ECHO_T}$STRIP" >&6
1911 else
1912 echo "$as_me:$LINENO: result: no" >&5
1913 echo "${ECHO_T}no" >&6
1914 fi
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3275 $as_echo "$STRIP" >&6; }
3276 else
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3278 $as_echo "no" >&6; }
3279 fi
3280
19153281
19163282 fi
19173283 if test -z "$ac_cv_prog_STRIP"; then
19183284 ac_ct_STRIP=$STRIP
19193285 # Extract the first word of "strip", so it can be a program name with args.
19203286 set dummy strip; ac_word=$2
1921 echo "$as_me:$LINENO: checking for $ac_word" >&5
1922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1923 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1924 echo $ECHO_N "(cached) $ECHO_C" >&6
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288 $as_echo_n "checking for $ac_word... " >&6; }
3289 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3290 $as_echo_n "(cached) " >&6
19253291 else
19263292 if test -n "$ac_ct_STRIP"; then
19273293 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19313297 do
19323298 IFS=$as_save_IFS
19333299 test -z "$as_dir" && as_dir=.
1934 for ac_exec_ext in '' $ac_executable_extensions; do
1935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3300 for ac_exec_ext in '' $ac_executable_extensions; do
3301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19363302 ac_cv_prog_ac_ct_STRIP="strip"
1937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19383304 break 2
19393305 fi
19403306 done
1941 done
1942
1943 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3307 done
3308 IFS=$as_save_IFS
3309
19443310 fi
19453311 fi
19463312 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19473313 if test -n "$ac_ct_STRIP"; then
1948 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1949 echo "${ECHO_T}$ac_ct_STRIP" >&6
1950 else
1951 echo "$as_me:$LINENO: result: no" >&5
1952 echo "${ECHO_T}no" >&6
1953 fi
1954
1955 STRIP=$ac_ct_STRIP
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3315 $as_echo "$ac_ct_STRIP" >&6; }
3316 else
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318 $as_echo "no" >&6; }
3319 fi
3320
3321 if test "x$ac_ct_STRIP" = x; then
3322 STRIP=":"
3323 else
3324 case $cross_compiling:$ac_tool_warned in
3325 yes:)
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3328 ac_tool_warned=yes ;;
3329 esac
3330 STRIP=$ac_ct_STRIP
3331 fi
19563332 else
19573333 STRIP="$ac_cv_prog_STRIP"
19583334 fi
19723348
19733349
19743350
1975 # Check whether --enable-shared or --disable-shared was given.
1976 if test "${enable_shared+set}" = set; then
1977 enableval="$enable_shared"
1978 p=${PACKAGE-default}
3351 # Check whether --enable-shared was given.
3352 if test "${enable_shared+set}" = set; then :
3353 enableval=$enable_shared; p=${PACKAGE-default}
19793354 case $enableval in
19803355 yes) enable_shared=yes ;;
19813356 no) enable_shared=no ;;
19943369 esac
19953370 else
19963371 enable_shared=no
1997 fi;
1998
1999
2000 # Check whether --enable-static or --disable-static was given.
2001 if test "${enable_static+set}" = set; then
2002 enableval="$enable_static"
2003 p=${PACKAGE-default}
3372 fi
3373
3374
3375
3376 # Check whether --enable-static was given.
3377 if test "${enable_static+set}" = set; then :
3378 enableval=$enable_static; p=${PACKAGE-default}
20043379 case $enableval in
20053380 yes) enable_static=yes ;;
20063381 no) enable_static=no ;;
20193394 esac
20203395 else
20213396 enable_static=yes
2022 fi;
2023
2024 # Check whether --enable-fast-install or --disable-fast-install was given.
2025 if test "${enable_fast_install+set}" = set; then
2026 enableval="$enable_fast_install"
2027 p=${PACKAGE-default}
3397 fi
3398
3399
3400 # Check whether --enable-fast-install was given.
3401 if test "${enable_fast_install+set}" = set; then :
3402 enableval=$enable_fast_install; p=${PACKAGE-default}
20283403 case $enableval in
20293404 yes) enable_fast_install=yes ;;
20303405 no) enable_fast_install=no ;;
20433418 esac
20443419 else
20453420 enable_fast_install=yes
2046 fi;
3421 fi
3422
20473423
20483424 # Make sure we can run config.sub.
2049 $ac_config_sub sun4 >/dev/null 2>&1 ||
2050 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2051 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2052 { (exit 1); exit 1; }; }
2053
2054 echo "$as_me:$LINENO: checking build system type" >&5
2055 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2056 if test "${ac_cv_build+set}" = set; then
2057 echo $ECHO_N "(cached) $ECHO_C" >&6
2058 else
2059 ac_cv_build_alias=$build_alias
2060 test -z "$ac_cv_build_alias" &&
2061 ac_cv_build_alias=`$ac_config_guess`
2062 test -z "$ac_cv_build_alias" &&
2063 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2064 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2065 { (exit 1); exit 1; }; }
2066 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2067 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2068 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2069 { (exit 1); exit 1; }; }
2070
2071 fi
2072 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2073 echo "${ECHO_T}$ac_cv_build" >&6
3425 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3426 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3427
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3429 $as_echo_n "checking build system type... " >&6; }
3430 if ${ac_cv_build+:} false; then :
3431 $as_echo_n "(cached) " >&6
3432 else
3433 ac_build_alias=$build_alias
3434 test "x$ac_build_alias" = x &&
3435 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3436 test "x$ac_build_alias" = x &&
3437 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3438 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3439 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3440
3441 fi
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3443 $as_echo "$ac_cv_build" >&6; }
3444 case $ac_cv_build in
3445 *-*-*) ;;
3446 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3447 esac
20743448 build=$ac_cv_build
2075 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2076 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2077 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2078
2079
2080 echo "$as_me:$LINENO: checking host system type" >&5
2081 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2082 if test "${ac_cv_host+set}" = set; then
2083 echo $ECHO_N "(cached) $ECHO_C" >&6
2084 else
2085 ac_cv_host_alias=$host_alias
2086 test -z "$ac_cv_host_alias" &&
2087 ac_cv_host_alias=$ac_cv_build_alias
2088 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2089 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2090 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2091 { (exit 1); exit 1; }; }
2092
2093 fi
2094 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2095 echo "${ECHO_T}$ac_cv_host" >&6
3449 ac_save_IFS=$IFS; IFS='-'
3450 set x $ac_cv_build
3451 shift
3452 build_cpu=$1
3453 build_vendor=$2
3454 shift; shift
3455 # Remember, the first character of IFS is used to create $*,
3456 # except with old shells:
3457 build_os=$*
3458 IFS=$ac_save_IFS
3459 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3460
3461
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3463 $as_echo_n "checking host system type... " >&6; }
3464 if ${ac_cv_host+:} false; then :
3465 $as_echo_n "(cached) " >&6
3466 else
3467 if test "x$host_alias" = x; then
3468 ac_cv_host=$ac_cv_build
3469 else
3470 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3471 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3472 fi
3473
3474 fi
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3476 $as_echo "$ac_cv_host" >&6; }
3477 case $ac_cv_host in
3478 *-*-*) ;;
3479 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3480 esac
20963481 host=$ac_cv_host
2097 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2098 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2099 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3482 ac_save_IFS=$IFS; IFS='-'
3483 set x $ac_cv_host
3484 shift
3485 host_cpu=$1
3486 host_vendor=$2
3487 shift; shift
3488 # Remember, the first character of IFS is used to create $*,
3489 # except with old shells:
3490 host_os=$*
3491 IFS=$ac_save_IFS
3492 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
21003493
21013494
21023495 DEPDIR="${am__leading_dot}deps"
21033496
2104 ac_config_commands="$ac_config_commands depfiles"
3497 ac_config_commands="$ac_config_commands depfiles"
21053498
21063499
21073500 am_make=${MAKE-make}
21113504 .PHONY: am__doit
21123505 END
21133506 # If we don't find an include directive, just comment out the code.
2114 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2115 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3508 $as_echo_n "checking for style of include used by $am_make... " >&6; }
21163509 am__include="#"
21173510 am__quote=
21183511 _am_result=none
21393532 fi
21403533
21413534
2142 echo "$as_me:$LINENO: result: $_am_result" >&5
2143 echo "${ECHO_T}$_am_result" >&6
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3536 $as_echo "$_am_result" >&6; }
21443537 rm -f confinc confmf
21453538
2146 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2147 if test "${enable_dependency_tracking+set}" = set; then
2148 enableval="$enable_dependency_tracking"
2149
2150 fi;
3539 # Check whether --enable-dependency-tracking was given.
3540 if test "${enable_dependency_tracking+set}" = set; then :
3541 enableval=$enable_dependency_tracking;
3542 fi
3543
21513544 if test "x$enable_dependency_tracking" != xno; then
21523545 am_depcomp="$ac_aux_dir/depcomp"
21533546 AMDEPBACKSLASH='\'
21723565 if test -n "$ac_tool_prefix"; then
21733566 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
21743567 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2175 echo "$as_me:$LINENO: checking for $ac_word" >&5
2176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2177 if test "${ac_cv_prog_CC+set}" = set; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3569 $as_echo_n "checking for $ac_word... " >&6; }
3570 if ${ac_cv_prog_CC+:} false; then :
3571 $as_echo_n "(cached) " >&6
21793572 else
21803573 if test -n "$CC"; then
21813574 ac_cv_prog_CC="$CC" # Let the user override the test.
21853578 do
21863579 IFS=$as_save_IFS
21873580 test -z "$as_dir" && as_dir=.
2188 for ac_exec_ext in '' $ac_executable_extensions; do
2189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3581 for ac_exec_ext in '' $ac_executable_extensions; do
3582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21903583 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21923585 break 2
21933586 fi
21943587 done
2195 done
3588 done
3589 IFS=$as_save_IFS
21963590
21973591 fi
21983592 fi
21993593 CC=$ac_cv_prog_CC
22003594 if test -n "$CC"; then
2201 echo "$as_me:$LINENO: result: $CC" >&5
2202 echo "${ECHO_T}$CC" >&6
2203 else
2204 echo "$as_me:$LINENO: result: no" >&5
2205 echo "${ECHO_T}no" >&6
2206 fi
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3596 $as_echo "$CC" >&6; }
3597 else
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3599 $as_echo "no" >&6; }
3600 fi
3601
22073602
22083603 fi
22093604 if test -z "$ac_cv_prog_CC"; then
22103605 ac_ct_CC=$CC
22113606 # Extract the first word of "gcc", so it can be a program name with args.
22123607 set dummy gcc; ac_word=$2
2213 echo "$as_me:$LINENO: checking for $ac_word" >&5
2214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2215 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2216 echo $ECHO_N "(cached) $ECHO_C" >&6
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3609 $as_echo_n "checking for $ac_word... " >&6; }
3610 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3611 $as_echo_n "(cached) " >&6
22173612 else
22183613 if test -n "$ac_ct_CC"; then
22193614 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
22233618 do
22243619 IFS=$as_save_IFS
22253620 test -z "$as_dir" && as_dir=.
2226 for ac_exec_ext in '' $ac_executable_extensions; do
2227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3621 for ac_exec_ext in '' $ac_executable_extensions; do
3622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22283623 ac_cv_prog_ac_ct_CC="gcc"
2229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22303625 break 2
22313626 fi
22323627 done
2233 done
3628 done
3629 IFS=$as_save_IFS
22343630
22353631 fi
22363632 fi
22373633 ac_ct_CC=$ac_cv_prog_ac_ct_CC
22383634 if test -n "$ac_ct_CC"; then
2239 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2240 echo "${ECHO_T}$ac_ct_CC" >&6
2241 else
2242 echo "$as_me:$LINENO: result: no" >&5
2243 echo "${ECHO_T}no" >&6
2244 fi
2245
2246 CC=$ac_ct_CC
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3636 $as_echo "$ac_ct_CC" >&6; }
3637 else
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3639 $as_echo "no" >&6; }
3640 fi
3641
3642 if test "x$ac_ct_CC" = x; then
3643 CC=""
3644 else
3645 case $cross_compiling:$ac_tool_warned in
3646 yes:)
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3649 ac_tool_warned=yes ;;
3650 esac
3651 CC=$ac_ct_CC
3652 fi
22473653 else
22483654 CC="$ac_cv_prog_CC"
22493655 fi
22503656
22513657 if test -z "$CC"; then
2252 if test -n "$ac_tool_prefix"; then
2253 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3658 if test -n "$ac_tool_prefix"; then
3659 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
22543660 set dummy ${ac_tool_prefix}cc; ac_word=$2
2255 echo "$as_me:$LINENO: checking for $ac_word" >&5
2256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2257 if test "${ac_cv_prog_CC+set}" = set; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3662 $as_echo_n "checking for $ac_word... " >&6; }
3663 if ${ac_cv_prog_CC+:} false; then :
3664 $as_echo_n "(cached) " >&6
22593665 else
22603666 if test -n "$CC"; then
22613667 ac_cv_prog_CC="$CC" # Let the user override the test.
22653671 do
22663672 IFS=$as_save_IFS
22673673 test -z "$as_dir" && as_dir=.
2268 for ac_exec_ext in '' $ac_executable_extensions; do
2269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3674 for ac_exec_ext in '' $ac_executable_extensions; do
3675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22703676 ac_cv_prog_CC="${ac_tool_prefix}cc"
2271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22723678 break 2
22733679 fi
22743680 done
2275 done
3681 done
3682 IFS=$as_save_IFS
22763683
22773684 fi
22783685 fi
22793686 CC=$ac_cv_prog_CC
22803687 if test -n "$CC"; then
2281 echo "$as_me:$LINENO: result: $CC" >&5
2282 echo "${ECHO_T}$CC" >&6
2283 else
2284 echo "$as_me:$LINENO: result: no" >&5
2285 echo "${ECHO_T}no" >&6
2286 fi
2287
2288 fi
2289 if test -z "$ac_cv_prog_CC"; then
2290 ac_ct_CC=$CC
2291 # Extract the first word of "cc", so it can be a program name with args.
2292 set dummy cc; ac_word=$2
2293 echo "$as_me:$LINENO: checking for $ac_word" >&5
2294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2295 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2296 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 else
2298 if test -n "$ac_ct_CC"; then
2299 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2300 else
2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302 for as_dir in $PATH
2303 do
2304 IFS=$as_save_IFS
2305 test -z "$as_dir" && as_dir=.
2306 for ac_exec_ext in '' $ac_executable_extensions; do
2307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2308 ac_cv_prog_ac_ct_CC="cc"
2309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2310 break 2
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3689 $as_echo "$CC" >&6; }
3690 else
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3692 $as_echo "no" >&6; }
3693 fi
3694
3695
23113696 fi
2312 done
2313 done
2314
2315 fi
2316 fi
2317 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2318 if test -n "$ac_ct_CC"; then
2319 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2320 echo "${ECHO_T}$ac_ct_CC" >&6
2321 else
2322 echo "$as_me:$LINENO: result: no" >&5
2323 echo "${ECHO_T}no" >&6
2324 fi
2325
2326 CC=$ac_ct_CC
2327 else
2328 CC="$ac_cv_prog_CC"
2329 fi
2330
23313697 fi
23323698 if test -z "$CC"; then
23333699 # Extract the first word of "cc", so it can be a program name with args.
23343700 set dummy cc; ac_word=$2
2335 echo "$as_me:$LINENO: checking for $ac_word" >&5
2336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2337 if test "${ac_cv_prog_CC+set}" = set; then
2338 echo $ECHO_N "(cached) $ECHO_C" >&6
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3702 $as_echo_n "checking for $ac_word... " >&6; }
3703 if ${ac_cv_prog_CC+:} false; then :
3704 $as_echo_n "(cached) " >&6
23393705 else
23403706 if test -n "$CC"; then
23413707 ac_cv_prog_CC="$CC" # Let the user override the test.
23463712 do
23473713 IFS=$as_save_IFS
23483714 test -z "$as_dir" && as_dir=.
2349 for ac_exec_ext in '' $ac_executable_extensions; do
2350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3715 for ac_exec_ext in '' $ac_executable_extensions; do
3716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23513717 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
23523718 ac_prog_rejected=yes
23533719 continue
23543720 fi
23553721 ac_cv_prog_CC="cc"
2356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23573723 break 2
23583724 fi
23593725 done
2360 done
3726 done
3727 IFS=$as_save_IFS
23613728
23623729 if test $ac_prog_rejected = yes; then
23633730 # We found a bogon in the path, so make sure we never use it.
23753742 fi
23763743 CC=$ac_cv_prog_CC
23773744 if test -n "$CC"; then
2378 echo "$as_me:$LINENO: result: $CC" >&5
2379 echo "${ECHO_T}$CC" >&6
2380 else
2381 echo "$as_me:$LINENO: result: no" >&5
2382 echo "${ECHO_T}no" >&6
2383 fi
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3746 $as_echo "$CC" >&6; }
3747 else
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3749 $as_echo "no" >&6; }
3750 fi
3751
23843752
23853753 fi
23863754 if test -z "$CC"; then
23873755 if test -n "$ac_tool_prefix"; then
2388 for ac_prog in cl
3756 for ac_prog in cl.exe
23893757 do
23903758 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
23913759 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2392 echo "$as_me:$LINENO: checking for $ac_word" >&5
2393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2394 if test "${ac_cv_prog_CC+set}" = set; then
2395 echo $ECHO_N "(cached) $ECHO_C" >&6
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3761 $as_echo_n "checking for $ac_word... " >&6; }
3762 if ${ac_cv_prog_CC+:} false; then :
3763 $as_echo_n "(cached) " >&6
23963764 else
23973765 if test -n "$CC"; then
23983766 ac_cv_prog_CC="$CC" # Let the user override the test.
24023770 do
24033771 IFS=$as_save_IFS
24043772 test -z "$as_dir" && as_dir=.
2405 for ac_exec_ext in '' $ac_executable_extensions; do
2406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3773 for ac_exec_ext in '' $ac_executable_extensions; do
3774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24073775 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24093777 break 2
24103778 fi
24113779 done
2412 done
3780 done
3781 IFS=$as_save_IFS
24133782
24143783 fi
24153784 fi
24163785 CC=$ac_cv_prog_CC
24173786 if test -n "$CC"; then
2418 echo "$as_me:$LINENO: result: $CC" >&5
2419 echo "${ECHO_T}$CC" >&6
2420 else
2421 echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6
2423 fi
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3788 $as_echo "$CC" >&6; }
3789 else
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3791 $as_echo "no" >&6; }
3792 fi
3793
24243794
24253795 test -n "$CC" && break
24263796 done
24273797 fi
24283798 if test -z "$CC"; then
24293799 ac_ct_CC=$CC
2430 for ac_prog in cl
3800 for ac_prog in cl.exe
24313801 do
24323802 # Extract the first word of "$ac_prog", so it can be a program name with args.
24333803 set dummy $ac_prog; ac_word=$2
2434 echo "$as_me:$LINENO: checking for $ac_word" >&5
2435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2436 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3805 $as_echo_n "checking for $ac_word... " >&6; }
3806 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3807 $as_echo_n "(cached) " >&6
24383808 else
24393809 if test -n "$ac_ct_CC"; then
24403810 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
24443814 do
24453815 IFS=$as_save_IFS
24463816 test -z "$as_dir" && as_dir=.
2447 for ac_exec_ext in '' $ac_executable_extensions; do
2448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3817 for ac_exec_ext in '' $ac_executable_extensions; do
3818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24493819 ac_cv_prog_ac_ct_CC="$ac_prog"
2450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24513821 break 2
24523822 fi
24533823 done
2454 done
3824 done
3825 IFS=$as_save_IFS
24553826
24563827 fi
24573828 fi
24583829 ac_ct_CC=$ac_cv_prog_ac_ct_CC
24593830 if test -n "$ac_ct_CC"; then
2460 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2461 echo "${ECHO_T}$ac_ct_CC" >&6
2462 else
2463 echo "$as_me:$LINENO: result: no" >&5
2464 echo "${ECHO_T}no" >&6
2465 fi
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3832 $as_echo "$ac_ct_CC" >&6; }
3833 else
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3835 $as_echo "no" >&6; }
3836 fi
3837
24663838
24673839 test -n "$ac_ct_CC" && break
24683840 done
24693841
2470 CC=$ac_ct_CC
2471 fi
2472
2473 fi
2474
2475
2476 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2477 See \`config.log' for more details." >&5
2478 echo "$as_me: error: no acceptable C compiler found in \$PATH
2479 See \`config.log' for more details." >&2;}
2480 { (exit 1); exit 1; }; }
3842 if test "x$ac_ct_CC" = x; then
3843 CC=""
3844 else
3845 case $cross_compiling:$ac_tool_warned in
3846 yes:)
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3849 ac_tool_warned=yes ;;
3850 esac
3851 CC=$ac_ct_CC
3852 fi
3853 fi
3854
3855 fi
3856
3857
3858 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3860 as_fn_error $? "no acceptable C compiler found in \$PATH
3861 See \`config.log' for more details" "$LINENO" 5; }
24813862
24823863 # Provide some information about the compiler.
2483 echo "$as_me:$LINENO:" \
2484 "checking for C compiler version" >&5
2485 ac_compiler=`set X $ac_compile; echo $2`
2486 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2487 (eval $ac_compiler --version </dev/null >&5) 2>&5
3864 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3865 set X $ac_compile
3866 ac_compiler=$2
3867 for ac_option in --version -v -V -qversion; do
3868 { { ac_try="$ac_compiler $ac_option >&5"
3869 case "(($ac_try" in
3870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3871 *) ac_try_echo=$ac_try;;
3872 esac
3873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3874 $as_echo "$ac_try_echo"; } >&5
3875 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
24883876 ac_status=$?
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); }
2491 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2492 (eval $ac_compiler -v </dev/null >&5) 2>&5
2493 ac_status=$?
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); }
2496 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2497 (eval $ac_compiler -V </dev/null >&5) 2>&5
2498 ac_status=$?
2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500 (exit $ac_status); }
2501
2502 cat >conftest.$ac_ext <<_ACEOF
2503 /* confdefs.h. */
2504 _ACEOF
2505 cat confdefs.h >>conftest.$ac_ext
2506 cat >>conftest.$ac_ext <<_ACEOF
3877 if test -s conftest.err; then
3878 sed '10a\
3879 ... rest of stderr output deleted ...
3880 10q' conftest.err >conftest.er1
3881 cat conftest.er1 >&5
3882 fi
3883 rm -f conftest.er1 conftest.err
3884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3885 test $ac_status = 0; }
3886 done
3887
3888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25073889 /* end confdefs.h. */
25083890
25093891 int
25153897 }
25163898 _ACEOF
25173899 ac_clean_files_save=$ac_clean_files
2518 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3900 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
25193901 # Try to create an executable without -o first, disregard a.out.
25203902 # It will help us diagnose broken compilers, and finding out an intuition
25213903 # of exeext.
2522 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2523 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2524 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2525 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2526 (eval $ac_link_default) 2>&5
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3905 $as_echo_n "checking whether the C compiler works... " >&6; }
3906 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3907
3908 # The possible output files:
3909 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3910
3911 ac_rmfiles=
3912 for ac_file in $ac_files
3913 do
3914 case $ac_file in
3915 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3916 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3917 esac
3918 done
3919 rm -f $ac_rmfiles
3920
3921 if { { ac_try="$ac_link_default"
3922 case "(($ac_try" in
3923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3924 *) ac_try_echo=$ac_try;;
3925 esac
3926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3927 $as_echo "$ac_try_echo"; } >&5
3928 (eval "$ac_link_default") 2>&5
25273929 ac_status=$?
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }; then
2530 # Find the output, starting from the most likely. This scheme is
2531 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2532 # resort.
2533
2534 # Be careful to initialize this variable, since it used to be cached.
2535 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2536 ac_cv_exeext=
2537 # b.out is created by i960 compilers.
2538 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3931 test $ac_status = 0; }; then :
3932 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3933 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3934 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3935 # so that the user can short-circuit this test for compilers unknown to
3936 # Autoconf.
3937 for ac_file in $ac_files ''
25393938 do
25403939 test -f "$ac_file" || continue
25413940 case $ac_file in
2542 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2543 ;;
2544 conftest.$ac_ext )
2545 # This is the source file.
3941 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
25463942 ;;
25473943 [ab].out )
25483944 # We found the default executable, but exeext='' is most
25493945 # certainly right.
25503946 break;;
25513947 *.* )
2552 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2553 # FIXME: I believe we export ac_cv_exeext for Libtool,
2554 # but it would be cool to find out if it's true. Does anybody
2555 # maintain Libtool? --akim.
2556 export ac_cv_exeext
3948 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3949 then :; else
3950 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3951 fi
3952 # We set ac_cv_exeext here because the later test for it is not
3953 # safe: cross compilers may not add the suffix if given an `-o'
3954 # argument, so we may need to know it at that point already.
3955 # Even if this section looks crufty: it has the advantage of
3956 # actually working.
25573957 break;;
25583958 * )
25593959 break;;
25603960 esac
25613961 done
2562 else
2563 echo "$as_me: failed program was:" >&5
3962 test "$ac_cv_exeext" = no && ac_cv_exeext=
3963
3964 else
3965 ac_file=''
3966 fi
3967 if test -z "$ac_file"; then :
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3969 $as_echo "no" >&6; }
3970 $as_echo "$as_me: failed program was:" >&5
25643971 sed 's/^/| /' conftest.$ac_ext >&5
25653972
2566 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2567 See \`config.log' for more details." >&5
2568 echo "$as_me: error: C compiler cannot create executables
2569 See \`config.log' for more details." >&2;}
2570 { (exit 77); exit 77; }; }
2571 fi
2572
3973 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3975 as_fn_error 77 "C compiler cannot create executables
3976 See \`config.log' for more details" "$LINENO" 5; }
3977 else
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3979 $as_echo "yes" >&6; }
3980 fi
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3982 $as_echo_n "checking for C compiler default output file name... " >&6; }
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3984 $as_echo "$ac_file" >&6; }
25733985 ac_exeext=$ac_cv_exeext
2574 echo "$as_me:$LINENO: result: $ac_file" >&5
2575 echo "${ECHO_T}$ac_file" >&6
2576
2577 # Check the compiler produces executables we can run. If not, either
2578 # the compiler is broken, or we cross compile.
2579 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2580 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2581 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2582 # If not cross compiling, check that we can run a simple program.
2583 if test "$cross_compiling" != yes; then
2584 if { ac_try='./$ac_file'
2585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586 (eval $ac_try) 2>&5
3986
3987 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3988 ac_clean_files=$ac_clean_files_save
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3990 $as_echo_n "checking for suffix of executables... " >&6; }
3991 if { { ac_try="$ac_link"
3992 case "(($ac_try" in
3993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3994 *) ac_try_echo=$ac_try;;
3995 esac
3996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3997 $as_echo "$ac_try_echo"; } >&5
3998 (eval "$ac_link") 2>&5
25873999 ac_status=$?
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); }; }; then
2590 cross_compiling=no
2591 else
2592 if test "$cross_compiling" = maybe; then
2593 cross_compiling=yes
2594 else
2595 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2596 If you meant to cross compile, use \`--host'.
2597 See \`config.log' for more details." >&5
2598 echo "$as_me: error: cannot run C compiled programs.
2599 If you meant to cross compile, use \`--host'.
2600 See \`config.log' for more details." >&2;}
2601 { (exit 1); exit 1; }; }
2602 fi
2603 fi
2604 fi
2605 echo "$as_me:$LINENO: result: yes" >&5
2606 echo "${ECHO_T}yes" >&6
2607
2608 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2609 ac_clean_files=$ac_clean_files_save
2610 # Check the compiler produces executables we can run. If not, either
2611 # the compiler is broken, or we cross compile.
2612 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2613 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2614 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2615 echo "${ECHO_T}$cross_compiling" >&6
2616
2617 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2618 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2620 (eval $ac_link) 2>&5
2621 ac_status=$?
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; then
4000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4001 test $ac_status = 0; }; then :
26244002 # If both `conftest.exe' and `conftest' are `present' (well, observable)
26254003 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
26264004 # work properly (i.e., refer to `conftest.exe'), while it won't with
26284006 for ac_file in conftest.exe conftest conftest.*; do
26294007 test -f "$ac_file" || continue
26304008 case $ac_file in
2631 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
4009 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
26324010 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2633 export ac_cv_exeext
26344011 break;;
26354012 * ) break;;
26364013 esac
26374014 done
26384015 else
2639 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2640 See \`config.log' for more details." >&5
2641 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2642 See \`config.log' for more details." >&2;}
2643 { (exit 1); exit 1; }; }
2644 fi
2645
2646 rm -f conftest$ac_cv_exeext
2647 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2648 echo "${ECHO_T}$ac_cv_exeext" >&6
4016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4018 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4019 See \`config.log' for more details" "$LINENO" 5; }
4020 fi
4021 rm -f conftest conftest$ac_cv_exeext
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4023 $as_echo "$ac_cv_exeext" >&6; }
26494024
26504025 rm -f conftest.$ac_ext
26514026 EXEEXT=$ac_cv_exeext
26524027 ac_exeext=$EXEEXT
2653 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2654 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2655 if test "${ac_cv_objext+set}" = set; then
2656 echo $ECHO_N "(cached) $ECHO_C" >&6
2657 else
2658 cat >conftest.$ac_ext <<_ACEOF
2659 /* confdefs.h. */
2660 _ACEOF
2661 cat confdefs.h >>conftest.$ac_ext
2662 cat >>conftest.$ac_ext <<_ACEOF
4028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26634029 /* end confdefs.h. */
2664
4030 #include <stdio.h>
26654031 int
26664032 main ()
26674033 {
4034 FILE *f = fopen ("conftest.out", "w");
4035 return ferror (f) || fclose (f) != 0;
26684036
26694037 ;
26704038 return 0;
26714039 }
26724040 _ACEOF
4041 ac_clean_files="$ac_clean_files conftest.out"
4042 # Check that the compiler produces executables we can run. If not, either
4043 # the compiler is broken, or we cross compile.
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4045 $as_echo_n "checking whether we are cross compiling... " >&6; }
4046 if test "$cross_compiling" != yes; then
4047 { { ac_try="$ac_link"
4048 case "(($ac_try" in
4049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4050 *) ac_try_echo=$ac_try;;
4051 esac
4052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4053 $as_echo "$ac_try_echo"; } >&5
4054 (eval "$ac_link") 2>&5
4055 ac_status=$?
4056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4057 test $ac_status = 0; }
4058 if { ac_try='./conftest$ac_cv_exeext'
4059 { { case "(($ac_try" in
4060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4061 *) ac_try_echo=$ac_try;;
4062 esac
4063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4064 $as_echo "$ac_try_echo"; } >&5
4065 (eval "$ac_try") 2>&5
4066 ac_status=$?
4067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4068 test $ac_status = 0; }; }; then
4069 cross_compiling=no
4070 else
4071 if test "$cross_compiling" = maybe; then
4072 cross_compiling=yes
4073 else
4074 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4076 as_fn_error $? "cannot run C compiled programs.
4077 If you meant to cross compile, use \`--host'.
4078 See \`config.log' for more details" "$LINENO" 5; }
4079 fi
4080 fi
4081 fi
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4083 $as_echo "$cross_compiling" >&6; }
4084
4085 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4086 ac_clean_files=$ac_clean_files_save
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4088 $as_echo_n "checking for suffix of object files... " >&6; }
4089 if ${ac_cv_objext+:} false; then :
4090 $as_echo_n "(cached) " >&6
4091 else
4092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4093 /* end confdefs.h. */
4094
4095 int
4096 main ()
4097 {
4098
4099 ;
4100 return 0;
4101 }
4102 _ACEOF
26734103 rm -f conftest.o conftest.obj
2674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2675 (eval $ac_compile) 2>&5
4104 if { { ac_try="$ac_compile"
4105 case "(($ac_try" in
4106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4107 *) ac_try_echo=$ac_try;;
4108 esac
4109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4110 $as_echo "$ac_try_echo"; } >&5
4111 (eval "$ac_compile") 2>&5
26764112 ac_status=$?
2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678 (exit $ac_status); }; then
2679 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
4113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4114 test $ac_status = 0; }; then :
4115 for ac_file in conftest.o conftest.obj conftest.*; do
4116 test -f "$ac_file" || continue;
26804117 case $ac_file in
2681 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
4118 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
26824119 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
26834120 break;;
26844121 esac
26854122 done
26864123 else
2687 echo "$as_me: failed program was:" >&5
4124 $as_echo "$as_me: failed program was:" >&5
26884125 sed 's/^/| /' conftest.$ac_ext >&5
26894126
2690 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2691 See \`config.log' for more details." >&5
2692 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2693 See \`config.log' for more details." >&2;}
2694 { (exit 1); exit 1; }; }
2695 fi
2696
4127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4129 as_fn_error $? "cannot compute suffix of object files: cannot compile
4130 See \`config.log' for more details" "$LINENO" 5; }
4131 fi
26974132 rm -f conftest.$ac_cv_objext conftest.$ac_ext
26984133 fi
2699 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2700 echo "${ECHO_T}$ac_cv_objext" >&6
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4135 $as_echo "$ac_cv_objext" >&6; }
27014136 OBJEXT=$ac_cv_objext
27024137 ac_objext=$OBJEXT
2703 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2704 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2705 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2706 echo $ECHO_N "(cached) $ECHO_C" >&6
2707 else
2708 cat >conftest.$ac_ext <<_ACEOF
2709 /* confdefs.h. */
2710 _ACEOF
2711 cat confdefs.h >>conftest.$ac_ext
2712 cat >>conftest.$ac_ext <<_ACEOF
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4139 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4140 if ${ac_cv_c_compiler_gnu+:} false; then :
4141 $as_echo_n "(cached) " >&6
4142 else
4143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27134144 /* end confdefs.h. */
27144145
27154146 int
27234154 return 0;
27244155 }
27254156 _ACEOF
2726 rm -f conftest.$ac_objext
2727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2728 (eval $ac_compile) 2>conftest.er1
2729 ac_status=$?
2730 grep -v '^ *+' conftest.er1 >conftest.err
2731 rm -f conftest.er1
2732 cat conftest.err >&5
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 (exit $ac_status); } &&
2735 { ac_try='test -z "$ac_c_werror_flag"
2736 || test ! -s conftest.err'
2737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2738 (eval $ac_try) 2>&5
2739 ac_status=$?
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); }; } &&
2742 { ac_try='test -s conftest.$ac_objext'
2743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2744 (eval $ac_try) 2>&5
2745 ac_status=$?
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); }; }; then
4157 if ac_fn_c_try_compile "$LINENO"; then :
27484158 ac_compiler_gnu=yes
27494159 else
2750 echo "$as_me: failed program was:" >&5
2751 sed 's/^/| /' conftest.$ac_ext >&5
2752
2753 ac_compiler_gnu=no
2754 fi
2755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4160 ac_compiler_gnu=no
4161 fi
4162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27564163 ac_cv_c_compiler_gnu=$ac_compiler_gnu
27574164
27584165 fi
2759 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2760 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2761 GCC=`test $ac_compiler_gnu = yes && echo yes`
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4167 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4168 if test $ac_compiler_gnu = yes; then
4169 GCC=yes
4170 else
4171 GCC=
4172 fi
27624173 ac_test_CFLAGS=${CFLAGS+set}
27634174 ac_save_CFLAGS=$CFLAGS
2764 CFLAGS="-g"
2765 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2766 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2767 if test "${ac_cv_prog_cc_g+set}" = set; then
2768 echo $ECHO_N "(cached) $ECHO_C" >&6
2769 else
2770 cat >conftest.$ac_ext <<_ACEOF
2771 /* confdefs.h. */
2772 _ACEOF
2773 cat confdefs.h >>conftest.$ac_ext
2774 cat >>conftest.$ac_ext <<_ACEOF
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4176 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4177 if ${ac_cv_prog_cc_g+:} false; then :
4178 $as_echo_n "(cached) " >&6
4179 else
4180 ac_save_c_werror_flag=$ac_c_werror_flag
4181 ac_c_werror_flag=yes
4182 ac_cv_prog_cc_g=no
4183 CFLAGS="-g"
4184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27754185 /* end confdefs.h. */
27764186
27774187 int
27824192 return 0;
27834193 }
27844194 _ACEOF
2785 rm -f conftest.$ac_objext
2786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2787 (eval $ac_compile) 2>conftest.er1
2788 ac_status=$?
2789 grep -v '^ *+' conftest.er1 >conftest.err
2790 rm -f conftest.er1
2791 cat conftest.err >&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); } &&
2794 { ac_try='test -z "$ac_c_werror_flag"
2795 || test ! -s conftest.err'
2796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2797 (eval $ac_try) 2>&5
2798 ac_status=$?
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }; } &&
2801 { ac_try='test -s conftest.$ac_objext'
2802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2803 (eval $ac_try) 2>&5
2804 ac_status=$?
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); }; }; then
4195 if ac_fn_c_try_compile "$LINENO"; then :
28074196 ac_cv_prog_cc_g=yes
28084197 else
2809 echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.$ac_ext >&5
2811
2812 ac_cv_prog_cc_g=no
2813 fi
2814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2815 fi
2816 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2817 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4198 CFLAGS=""
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4201
4202 int
4203 main ()
4204 {
4205
4206 ;
4207 return 0;
4208 }
4209 _ACEOF
4210 if ac_fn_c_try_compile "$LINENO"; then :
4211
4212 else
4213 ac_c_werror_flag=$ac_save_c_werror_flag
4214 CFLAGS="-g"
4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4217
4218 int
4219 main ()
4220 {
4221
4222 ;
4223 return 0;
4224 }
4225 _ACEOF
4226 if ac_fn_c_try_compile "$LINENO"; then :
4227 ac_cv_prog_cc_g=yes
4228 fi
4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4230 fi
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4232 fi
4233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4234 ac_c_werror_flag=$ac_save_c_werror_flag
4235 fi
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4237 $as_echo "$ac_cv_prog_cc_g" >&6; }
28184238 if test "$ac_test_CFLAGS" = set; then
28194239 CFLAGS=$ac_save_CFLAGS
28204240 elif test $ac_cv_prog_cc_g = yes; then
28304250 CFLAGS=
28314251 fi
28324252 fi
2833 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2834 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2835 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2836 echo $ECHO_N "(cached) $ECHO_C" >&6
2837 else
2838 ac_cv_prog_cc_stdc=no
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4254 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4255 if ${ac_cv_prog_cc_c89+:} false; then :
4256 $as_echo_n "(cached) " >&6
4257 else
4258 ac_cv_prog_cc_c89=no
28394259 ac_save_CC=$CC
2840 cat >conftest.$ac_ext <<_ACEOF
2841 /* confdefs.h. */
2842 _ACEOF
2843 cat confdefs.h >>conftest.$ac_ext
2844 cat >>conftest.$ac_ext <<_ACEOF
4260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28454261 /* end confdefs.h. */
28464262 #include <stdarg.h>
28474263 #include <stdio.h>
2848 #include <sys/types.h>
2849 #include <sys/stat.h>
4264 struct stat;
28504265 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
28514266 struct buf { int x; };
28524267 FILE * (*rcsopen) (struct buf *, struct stat *, int);
28694284 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
28704285 function prototypes and stuff, but not '\xHH' hex character constants.
28714286 These don't provoke an error unfortunately, instead are silently treated
2872 as 'x'. The following induces an error, until -std1 is added to get
4287 as 'x'. The following induces an error, until -std is added to get
28734288 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
28744289 array size at least. It's necessary to write '\x00'==0 to get something
2875 that's true only with -std1. */
4290 that's true only with -std. */
28764291 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4292
4293 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4294 inside strings and character constants. */
4295 #define FOO(x) 'x'
4296 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
28774297
28784298 int test (int i, double x);
28794299 struct s1 {int (*f) (int a);};
28894309 return 0;
28904310 }
28914311 _ACEOF
2892 # Don't try gcc -ansi; that turns off useful extensions and
2893 # breaks some systems' header files.
2894 # AIX -qlanglvl=ansi
2895 # Ultrix and OSF/1 -std1
2896 # HP-UX 10.20 and later -Ae
2897 # HP-UX older versions -Aa -D_HPUX_SOURCE
2898 # SVR4 -Xc -D__EXTENSIONS__
2899 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4312 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4313 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
29004314 do
29014315 CC="$ac_save_CC $ac_arg"
2902 rm -f conftest.$ac_objext
2903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2904 (eval $ac_compile) 2>conftest.er1
2905 ac_status=$?
2906 grep -v '^ *+' conftest.er1 >conftest.err
2907 rm -f conftest.er1
2908 cat conftest.err >&5
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); } &&
2911 { ac_try='test -z "$ac_c_werror_flag"
2912 || test ! -s conftest.err'
2913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914 (eval $ac_try) 2>&5
2915 ac_status=$?
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); }; } &&
2918 { ac_try='test -s conftest.$ac_objext'
2919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2920 (eval $ac_try) 2>&5
2921 ac_status=$?
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); }; }; then
2924 ac_cv_prog_cc_stdc=$ac_arg
2925 break
2926 else
2927 echo "$as_me: failed program was:" >&5
2928 sed 's/^/| /' conftest.$ac_ext >&5
2929
2930 fi
2931 rm -f conftest.err conftest.$ac_objext
4316 if ac_fn_c_try_compile "$LINENO"; then :
4317 ac_cv_prog_cc_c89=$ac_arg
4318 fi
4319 rm -f core conftest.err conftest.$ac_objext
4320 test "x$ac_cv_prog_cc_c89" != "xno" && break
29324321 done
2933 rm -f conftest.$ac_ext conftest.$ac_objext
4322 rm -f conftest.$ac_ext
29344323 CC=$ac_save_CC
29354324
29364325 fi
2937
2938 case "x$ac_cv_prog_cc_stdc" in
2939 x|xno)
2940 echo "$as_me:$LINENO: result: none needed" >&5
2941 echo "${ECHO_T}none needed" >&6 ;;
4326 # AC_CACHE_VAL
4327 case "x$ac_cv_prog_cc_c89" in
4328 x)
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4330 $as_echo "none needed" >&6; } ;;
4331 xno)
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4333 $as_echo "unsupported" >&6; } ;;
29424334 *)
2943 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2944 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2945 CC="$CC $ac_cv_prog_cc_stdc" ;;
4335 CC="$CC $ac_cv_prog_cc_c89"
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4337 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
29464338 esac
2947
2948 # Some people use a C++ compiler to compile C. Since we use `exit',
2949 # in C++ we need to declare it. In case someone uses the same compiler
2950 # for both compiling C and C++ we need to have the C++ compiler decide
2951 # the declaration of exit, since it's the most demanding environment.
2952 cat >conftest.$ac_ext <<_ACEOF
2953 #ifndef __cplusplus
2954 choke me
2955 #endif
2956 _ACEOF
2957 rm -f conftest.$ac_objext
2958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2959 (eval $ac_compile) 2>conftest.er1
2960 ac_status=$?
2961 grep -v '^ *+' conftest.er1 >conftest.err
2962 rm -f conftest.er1
2963 cat conftest.err >&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); } &&
2966 { ac_try='test -z "$ac_c_werror_flag"
2967 || test ! -s conftest.err'
2968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 (eval $ac_try) 2>&5
2970 ac_status=$?
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); }; } &&
2973 { ac_try='test -s conftest.$ac_objext'
2974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2975 (eval $ac_try) 2>&5
2976 ac_status=$?
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }; }; then
2979 for ac_declaration in \
2980 '' \
2981 'extern "C" void std::exit (int) throw (); using std::exit;' \
2982 'extern "C" void std::exit (int); using std::exit;' \
2983 'extern "C" void exit (int) throw ();' \
2984 'extern "C" void exit (int);' \
2985 'void exit (int);'
2986 do
2987 cat >conftest.$ac_ext <<_ACEOF
2988 /* confdefs.h. */
2989 _ACEOF
2990 cat confdefs.h >>conftest.$ac_ext
2991 cat >>conftest.$ac_ext <<_ACEOF
2992 /* end confdefs.h. */
2993 $ac_declaration
2994 #include <stdlib.h>
2995 int
2996 main ()
2997 {
2998 exit (42);
2999 ;
3000 return 0;
3001 }
3002 _ACEOF
3003 rm -f conftest.$ac_objext
3004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3005 (eval $ac_compile) 2>conftest.er1
3006 ac_status=$?
3007 grep -v '^ *+' conftest.er1 >conftest.err
3008 rm -f conftest.er1
3009 cat conftest.err >&5
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); } &&
3012 { ac_try='test -z "$ac_c_werror_flag"
3013 || test ! -s conftest.err'
3014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3015 (eval $ac_try) 2>&5
3016 ac_status=$?
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); }; } &&
3019 { ac_try='test -s conftest.$ac_objext'
3020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3021 (eval $ac_try) 2>&5
3022 ac_status=$?
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); }; }; then
3025 :
3026 else
3027 echo "$as_me: failed program was:" >&5
3028 sed 's/^/| /' conftest.$ac_ext >&5
3029
3030 continue
3031 fi
3032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3033 cat >conftest.$ac_ext <<_ACEOF
3034 /* confdefs.h. */
3035 _ACEOF
3036 cat confdefs.h >>conftest.$ac_ext
3037 cat >>conftest.$ac_ext <<_ACEOF
3038 /* end confdefs.h. */
3039 $ac_declaration
3040 int
3041 main ()
3042 {
3043 exit (42);
3044 ;
3045 return 0;
3046 }
3047 _ACEOF
3048 rm -f conftest.$ac_objext
3049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3050 (eval $ac_compile) 2>conftest.er1
3051 ac_status=$?
3052 grep -v '^ *+' conftest.er1 >conftest.err
3053 rm -f conftest.er1
3054 cat conftest.err >&5
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); } &&
3057 { ac_try='test -z "$ac_c_werror_flag"
3058 || test ! -s conftest.err'
3059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3060 (eval $ac_try) 2>&5
3061 ac_status=$?
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); }; } &&
3064 { ac_try='test -s conftest.$ac_objext'
3065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3066 (eval $ac_try) 2>&5
3067 ac_status=$?
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); }; }; then
3070 break
3071 else
3072 echo "$as_me: failed program was:" >&5
3073 sed 's/^/| /' conftest.$ac_ext >&5
3074
3075 fi
3076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3077 done
3078 rm -f conftest*
3079 if test -n "$ac_declaration"; then
3080 echo '#ifdef __cplusplus' >>confdefs.h
3081 echo $ac_declaration >>confdefs.h
3082 echo '#endif' >>confdefs.h
3083 fi
3084
3085 else
3086 echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.$ac_ext >&5
3088
3089 fi
3090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4339 if test "x$ac_cv_prog_cc_c89" != xno; then :
4340
4341 fi
4342
30914343 ac_ext=c
30924344 ac_cpp='$CPP $CPPFLAGS'
30934345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30964348
30974349 depcc="$CC" am_compiler_list=
30984350
3099 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3100 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3101 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3102 echo $ECHO_N "(cached) $ECHO_C" >&6
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4352 $as_echo_n "checking dependency style of $depcc... " >&6; }
4353 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4354 $as_echo_n "(cached) " >&6
31034355 else
31044356 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
31054357 # We make a subdir and do the tests there. Otherwise we can end up
31864438 fi
31874439
31884440 fi
3189 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3190 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4442 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
31914443 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
31924444
31934445
32034455 fi
32044456
32054457
3206 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3207 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3208 if test "${lt_cv_path_SED+set}" = set; then
3209 echo $ECHO_N "(cached) $ECHO_C" >&6
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4459 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4460 if ${lt_cv_path_SED+:} false; then :
4461 $as_echo_n "(cached) " >&6
32104462 else
32114463 # Loop through the user's path and test for sed and gsed.
32124464 # Then use that list of sed's as ones to test for truncation.
32574509 fi
32584510
32594511 SED=$lt_cv_path_SED
3260 echo "$as_me:$LINENO: result: $SED" >&5
3261 echo "${ECHO_T}$SED" >&6
3262
3263 echo "$as_me:$LINENO: checking for egrep" >&5
3264 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3265 if test "${ac_cv_prog_egrep+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3267 else
3268 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3269 then ac_cv_prog_egrep='grep -E'
3270 else ac_cv_prog_egrep='egrep'
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4513 $as_echo "$SED" >&6; }
4514
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4516 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4517 if ${ac_cv_path_GREP+:} false; then :
4518 $as_echo_n "(cached) " >&6
4519 else
4520 if test -z "$GREP"; then
4521 ac_path_GREP_found=false
4522 # Loop through the user's path and test for each of PROGNAME-LIST
4523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4524 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4525 do
4526 IFS=$as_save_IFS
4527 test -z "$as_dir" && as_dir=.
4528 for ac_prog in grep ggrep; do
4529 for ac_exec_ext in '' $ac_executable_extensions; do
4530 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4531 as_fn_executable_p "$ac_path_GREP" || continue
4532 # Check for GNU ac_path_GREP and select it if it is found.
4533 # Check for GNU $ac_path_GREP
4534 case `"$ac_path_GREP" --version 2>&1` in
4535 *GNU*)
4536 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4537 *)
4538 ac_count=0
4539 $as_echo_n 0123456789 >"conftest.in"
4540 while :
4541 do
4542 cat "conftest.in" "conftest.in" >"conftest.tmp"
4543 mv "conftest.tmp" "conftest.in"
4544 cp "conftest.in" "conftest.nl"
4545 $as_echo 'GREP' >> "conftest.nl"
4546 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4547 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4548 as_fn_arith $ac_count + 1 && ac_count=$as_val
4549 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4550 # Best one so far, save it but keep looking for a better one
4551 ac_cv_path_GREP="$ac_path_GREP"
4552 ac_path_GREP_max=$ac_count
32714553 fi
3272 fi
3273 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3274 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3275 EGREP=$ac_cv_prog_egrep
3276
3277
3278
3279 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3280 if test "${with_gnu_ld+set}" = set; then
3281 withval="$with_gnu_ld"
3282 test "$withval" = no || with_gnu_ld=yes
4554 # 10*(2^10) chars as input seems more than enough
4555 test $ac_count -gt 10 && break
4556 done
4557 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4558 esac
4559
4560 $ac_path_GREP_found && break 3
4561 done
4562 done
4563 done
4564 IFS=$as_save_IFS
4565 if test -z "$ac_cv_path_GREP"; then
4566 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4567 fi
4568 else
4569 ac_cv_path_GREP=$GREP
4570 fi
4571
4572 fi
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4574 $as_echo "$ac_cv_path_GREP" >&6; }
4575 GREP="$ac_cv_path_GREP"
4576
4577
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4579 $as_echo_n "checking for egrep... " >&6; }
4580 if ${ac_cv_path_EGREP+:} false; then :
4581 $as_echo_n "(cached) " >&6
4582 else
4583 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4584 then ac_cv_path_EGREP="$GREP -E"
4585 else
4586 if test -z "$EGREP"; then
4587 ac_path_EGREP_found=false
4588 # Loop through the user's path and test for each of PROGNAME-LIST
4589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4590 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4591 do
4592 IFS=$as_save_IFS
4593 test -z "$as_dir" && as_dir=.
4594 for ac_prog in egrep; do
4595 for ac_exec_ext in '' $ac_executable_extensions; do
4596 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4597 as_fn_executable_p "$ac_path_EGREP" || continue
4598 # Check for GNU ac_path_EGREP and select it if it is found.
4599 # Check for GNU $ac_path_EGREP
4600 case `"$ac_path_EGREP" --version 2>&1` in
4601 *GNU*)
4602 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4603 *)
4604 ac_count=0
4605 $as_echo_n 0123456789 >"conftest.in"
4606 while :
4607 do
4608 cat "conftest.in" "conftest.in" >"conftest.tmp"
4609 mv "conftest.tmp" "conftest.in"
4610 cp "conftest.in" "conftest.nl"
4611 $as_echo 'EGREP' >> "conftest.nl"
4612 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4613 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4614 as_fn_arith $ac_count + 1 && ac_count=$as_val
4615 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4616 # Best one so far, save it but keep looking for a better one
4617 ac_cv_path_EGREP="$ac_path_EGREP"
4618 ac_path_EGREP_max=$ac_count
4619 fi
4620 # 10*(2^10) chars as input seems more than enough
4621 test $ac_count -gt 10 && break
4622 done
4623 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4624 esac
4625
4626 $ac_path_EGREP_found && break 3
4627 done
4628 done
4629 done
4630 IFS=$as_save_IFS
4631 if test -z "$ac_cv_path_EGREP"; then
4632 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4633 fi
4634 else
4635 ac_cv_path_EGREP=$EGREP
4636 fi
4637
4638 fi
4639 fi
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4641 $as_echo "$ac_cv_path_EGREP" >&6; }
4642 EGREP="$ac_cv_path_EGREP"
4643
4644
4645
4646 # Check whether --with-gnu-ld was given.
4647 if test "${with_gnu_ld+set}" = set; then :
4648 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
32834649 else
32844650 with_gnu_ld=no
3285 fi;
4651 fi
4652
32864653 ac_prog=ld
32874654 if test "$GCC" = yes; then
32884655 # Check if gcc -print-prog-name=ld gives a path.
3289 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3290 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4657 $as_echo_n "checking for ld used by $CC... " >&6; }
32914658 case $host in
32924659 *-*-mingw*)
32934660 # gcc leaves a trailing carriage return which upsets mingw
33164683 ;;
33174684 esac
33184685 elif test "$with_gnu_ld" = yes; then
3319 echo "$as_me:$LINENO: checking for GNU ld" >&5
3320 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3321 else
3322 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3323 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3324 fi
3325 if test "${lt_cv_path_LD+set}" = set; then
3326 echo $ECHO_N "(cached) $ECHO_C" >&6
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4687 $as_echo_n "checking for GNU ld... " >&6; }
4688 else
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4690 $as_echo_n "checking for non-GNU ld... " >&6; }
4691 fi
4692 if ${lt_cv_path_LD+:} false; then :
4693 $as_echo_n "(cached) " >&6
33274694 else
33284695 if test -z "$LD"; then
33294696 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
33534720
33544721 LD="$lt_cv_path_LD"
33554722 if test -n "$LD"; then
3356 echo "$as_me:$LINENO: result: $LD" >&5
3357 echo "${ECHO_T}$LD" >&6
3358 else
3359 echo "$as_me:$LINENO: result: no" >&5
3360 echo "${ECHO_T}no" >&6
3361 fi
3362 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3363 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3364 { (exit 1); exit 1; }; }
3365 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3366 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3367 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3368 echo $ECHO_N "(cached) $ECHO_C" >&6
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4724 $as_echo "$LD" >&6; }
4725 else
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4727 $as_echo "no" >&6; }
4728 fi
4729 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4731 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4732 if ${lt_cv_prog_gnu_ld+:} false; then :
4733 $as_echo_n "(cached) " >&6
33694734 else
33704735 # I'd rather use --version here, but apparently some GNU lds only accept -v.
33714736 case `$LD -v 2>&1 </dev/null` in
33774742 ;;
33784743 esac
33794744 fi
3380 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3381 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4746 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
33824747 with_gnu_ld=$lt_cv_prog_gnu_ld
33834748
33844749
3385 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3386 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3387 if test "${lt_cv_ld_reload_flag+set}" = set; then
3388 echo $ECHO_N "(cached) $ECHO_C" >&6
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4751 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4752 if ${lt_cv_ld_reload_flag+:} false; then :
4753 $as_echo_n "(cached) " >&6
33894754 else
33904755 lt_cv_ld_reload_flag='-r'
33914756 fi
3392 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3393 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4758 $as_echo "$lt_cv_ld_reload_flag" >&6; }
33944759 reload_flag=$lt_cv_ld_reload_flag
33954760 case $reload_flag in
33964761 "" | " "*) ;;
34074772 ;;
34084773 esac
34094774
3410 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3411 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3412 if test "${lt_cv_path_NM+set}" = set; then
3413 echo $ECHO_N "(cached) $ECHO_C" >&6
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD-compatible nm" >&5
4776 $as_echo_n "checking for BSD-compatible nm... " >&6; }
4777 if ${lt_cv_path_NM+:} false; then :
4778 $as_echo_n "(cached) " >&6
34144779 else
34154780 if test -n "$NM"; then
34164781 # Let the user override the test.
34564821 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
34574822 fi
34584823 fi
3459 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3460 echo "${ECHO_T}$lt_cv_path_NM" >&6
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4825 $as_echo "$lt_cv_path_NM" >&6; }
34614826 NM="$lt_cv_path_NM"
34624827
3463 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3464 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4829 $as_echo_n "checking whether ln -s works... " >&6; }
34654830 LN_S=$as_ln_s
34664831 if test "$LN_S" = "ln -s"; then
3467 echo "$as_me:$LINENO: result: yes" >&5
3468 echo "${ECHO_T}yes" >&6
3469 else
3470 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3471 echo "${ECHO_T}no, using $LN_S" >&6
3472 fi
3473
3474 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3475 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3476 if test "${lt_cv_deplibs_check_method+set}" = set; then
3477 echo $ECHO_N "(cached) $ECHO_C" >&6
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4833 $as_echo "yes" >&6; }
4834 else
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4836 $as_echo "no, using $LN_S" >&6; }
4837 fi
4838
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognise dependent libraries" >&5
4840 $as_echo_n "checking how to recognise dependent libraries... " >&6; }
4841 if ${lt_cv_deplibs_check_method+:} false; then :
4842 $as_echo_n "(cached) " >&6
34784843 else
34794844 lt_cv_file_magic_cmd='$MAGIC_CMD'
34804845 lt_cv_file_magic_test_file=
36475012 esac
36485013
36495014 fi
3650 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3651 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5016 $as_echo "$lt_cv_deplibs_check_method" >&6; }
36525017 file_magic_cmd=$lt_cv_file_magic_cmd
36535018 deplibs_check_method=$lt_cv_deplibs_check_method
36545019 test -z "$deplibs_check_method" && deplibs_check_method=unknown
36665031 compiler=$CC
36675032
36685033
3669 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3670 if test "${enable_libtool_lock+set}" = set; then
3671 enableval="$enable_libtool_lock"
3672
3673 fi;
5034 # Check whether --enable-libtool-lock was given.
5035 if test "${enable_libtool_lock+set}" = set; then :
5036 enableval=$enable_libtool_lock;
5037 fi
5038
36745039 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
36755040
36765041 # Some flags need to be propagated to the compiler or linker for good
36795044 ia64-*-hpux*)
36805045 # Find out which ABI we are using.
36815046 echo 'int i;' > conftest.$ac_ext
3682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
36835048 (eval $ac_compile) 2>&5
36845049 ac_status=$?
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); }; then
5050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5051 test $ac_status = 0; }; then
36875052 case `/usr/bin/file conftest.$ac_objext` in
36885053 *ELF-32*)
36895054 HPUX_IA64_MODE="32"
36975062 ;;
36985063 *-*-irix6*)
36995064 # Find out which ABI we are using.
3700 echo '#line 3701 "configure"' > conftest.$ac_ext
3701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5065 echo '#line 5066 "configure"' > conftest.$ac_ext
5066 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
37025067 (eval $ac_compile) 2>&5
37035068 ac_status=$?
3704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705 (exit $ac_status); }; then
5069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5070 test $ac_status = 0; }; then
37065071 if test "$lt_cv_prog_gnu_ld" = yes; then
37075072 case `/usr/bin/file conftest.$ac_objext` in
37085073 *32-bit*)
37355100 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
37365101 # Find out which ABI we are using.
37375102 echo 'int i;' > conftest.$ac_ext
3738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5103 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
37395104 (eval $ac_compile) 2>&5
37405105 ac_status=$?
3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742 (exit $ac_status); }; then
5106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5107 test $ac_status = 0; }; then
37435108 case `/usr/bin/file conftest.o` in
37445109 *32-bit*)
37455110 case $host in
37825147 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
37835148 SAVE_CFLAGS="$CFLAGS"
37845149 CFLAGS="$CFLAGS -belf"
3785 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3786 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3787 if test "${lt_cv_cc_needs_belf+set}" = set; then
3788 echo $ECHO_N "(cached) $ECHO_C" >&6
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5151 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5152 if ${lt_cv_cc_needs_belf+:} false; then :
5153 $as_echo_n "(cached) " >&6
37895154 else
37905155 ac_ext=c
37915156 ac_cpp='$CPP $CPPFLAGS'
37935158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37945159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37955160
3796 cat >conftest.$ac_ext <<_ACEOF
3797 /* confdefs.h. */
3798 _ACEOF
3799 cat confdefs.h >>conftest.$ac_ext
3800 cat >>conftest.$ac_ext <<_ACEOF
5161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38015162 /* end confdefs.h. */
38025163
38035164 int
38085169 return 0;
38095170 }
38105171 _ACEOF
3811 rm -f conftest.$ac_objext conftest$ac_exeext
3812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3813 (eval $ac_link) 2>conftest.er1
3814 ac_status=$?
3815 grep -v '^ *+' conftest.er1 >conftest.err
3816 rm -f conftest.er1
3817 cat conftest.err >&5
3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819 (exit $ac_status); } &&
3820 { ac_try='test -z "$ac_c_werror_flag"
3821 || test ! -s conftest.err'
3822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3823 (eval $ac_try) 2>&5
3824 ac_status=$?
3825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3826 (exit $ac_status); }; } &&
3827 { ac_try='test -s conftest$ac_exeext'
3828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3829 (eval $ac_try) 2>&5
3830 ac_status=$?
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); }; }; then
5172 if ac_fn_c_try_link "$LINENO"; then :
38335173 lt_cv_cc_needs_belf=yes
38345174 else
3835 echo "$as_me: failed program was:" >&5
3836 sed 's/^/| /' conftest.$ac_ext >&5
3837
3838 lt_cv_cc_needs_belf=no
3839 fi
3840 rm -f conftest.err conftest.$ac_objext \
3841 conftest$ac_exeext conftest.$ac_ext
5175 lt_cv_cc_needs_belf=no
5176 fi
5177 rm -f core conftest.err conftest.$ac_objext \
5178 conftest$ac_exeext conftest.$ac_ext
38425179 ac_ext=c
38435180 ac_cpp='$CPP $CPPFLAGS'
38445181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38465183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38475184
38485185 fi
3849 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3850 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5187 $as_echo "$lt_cv_cc_needs_belf" >&6; }
38515188 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
38525189 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
38535190 CFLAGS="$SAVE_CFLAGS"
38565193 sparc*-*solaris*)
38575194 # Find out which ABI we are using.
38585195 echo 'int i;' > conftest.$ac_ext
3859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5196 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
38605197 (eval $ac_compile) 2>&5
38615198 ac_status=$?
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); }; then
5199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5200 test $ac_status = 0; }; then
38645201 case `/usr/bin/file conftest.o` in
38655202 *64-bit*)
38665203 case $lt_cv_prog_gnu_ld in
38845221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38855222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38865223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3887 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3888 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5225 $as_echo_n "checking how to run the C preprocessor... " >&6; }
38895226 # On Suns, sometimes $CPP names a directory.
38905227 if test -n "$CPP" && test -d "$CPP"; then
38915228 CPP=
38925229 fi
38935230 if test -z "$CPP"; then
3894 if test "${ac_cv_prog_CPP+set}" = set; then
3895 echo $ECHO_N "(cached) $ECHO_C" >&6
5231 if ${ac_cv_prog_CPP+:} false; then :
5232 $as_echo_n "(cached) " >&6
38965233 else
38975234 # Double quotes because CPP needs to be expanded
38985235 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
39065243 # <limits.h> exists even on freestanding compilers.
39075244 # On the NeXT, cc -E runs the code through the compiler's parser,
39085245 # not just through cpp. "Syntax error" is here to catch this case.
3909 cat >conftest.$ac_ext <<_ACEOF
3910 /* confdefs.h. */
3911 _ACEOF
3912 cat confdefs.h >>conftest.$ac_ext
3913 cat >>conftest.$ac_ext <<_ACEOF
5246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39145247 /* end confdefs.h. */
39155248 #ifdef __STDC__
39165249 # include <limits.h>
39195252 #endif
39205253 Syntax error
39215254 _ACEOF
3922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3923 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3924 ac_status=$?
3925 grep -v '^ *+' conftest.er1 >conftest.err
3926 rm -f conftest.er1
3927 cat conftest.err >&5
3928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929 (exit $ac_status); } >/dev/null; then
3930 if test -s conftest.err; then
3931 ac_cpp_err=$ac_c_preproc_warn_flag
3932 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3933 else
3934 ac_cpp_err=
3935 fi
3936 else
3937 ac_cpp_err=yes
3938 fi
3939 if test -z "$ac_cpp_err"; then
3940 :
3941 else
3942 echo "$as_me: failed program was:" >&5
3943 sed 's/^/| /' conftest.$ac_ext >&5
3944
5255 if ac_fn_c_try_cpp "$LINENO"; then :
5256
5257 else
39455258 # Broken: fails on valid input.
39465259 continue
39475260 fi
3948 rm -f conftest.err conftest.$ac_ext
3949
3950 # OK, works on sane cases. Now check whether non-existent headers
5261 rm -f conftest.err conftest.i conftest.$ac_ext
5262
5263 # OK, works on sane cases. Now check whether nonexistent headers
39515264 # can be detected and how.
3952 cat >conftest.$ac_ext <<_ACEOF
3953 /* confdefs.h. */
3954 _ACEOF
3955 cat confdefs.h >>conftest.$ac_ext
3956 cat >>conftest.$ac_ext <<_ACEOF
5265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39575266 /* end confdefs.h. */
39585267 #include <ac_nonexistent.h>
39595268 _ACEOF
3960 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3961 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3962 ac_status=$?
3963 grep -v '^ *+' conftest.er1 >conftest.err
3964 rm -f conftest.er1
3965 cat conftest.err >&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); } >/dev/null; then
3968 if test -s conftest.err; then
3969 ac_cpp_err=$ac_c_preproc_warn_flag
3970 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3971 else
3972 ac_cpp_err=
3973 fi
3974 else
3975 ac_cpp_err=yes
3976 fi
3977 if test -z "$ac_cpp_err"; then
5269 if ac_fn_c_try_cpp "$LINENO"; then :
39785270 # Broken: success on invalid input.
39795271 continue
39805272 else
3981 echo "$as_me: failed program was:" >&5
3982 sed 's/^/| /' conftest.$ac_ext >&5
3983
39845273 # Passes both tests.
39855274 ac_preproc_ok=:
39865275 break
39875276 fi
3988 rm -f conftest.err conftest.$ac_ext
5277 rm -f conftest.err conftest.i conftest.$ac_ext
39895278
39905279 done
39915280 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3992 rm -f conftest.err conftest.$ac_ext
3993 if $ac_preproc_ok; then
5281 rm -f conftest.i conftest.err conftest.$ac_ext
5282 if $ac_preproc_ok; then :
39945283 break
39955284 fi
39965285
40025291 else
40035292 ac_cv_prog_CPP=$CPP
40045293 fi
4005 echo "$as_me:$LINENO: result: $CPP" >&5
4006 echo "${ECHO_T}$CPP" >&6
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5295 $as_echo "$CPP" >&6; }
40075296 ac_preproc_ok=false
40085297 for ac_c_preproc_warn_flag in '' yes
40095298 do
40135302 # <limits.h> exists even on freestanding compilers.
40145303 # On the NeXT, cc -E runs the code through the compiler's parser,
40155304 # not just through cpp. "Syntax error" is here to catch this case.
4016 cat >conftest.$ac_ext <<_ACEOF
4017 /* confdefs.h. */
4018 _ACEOF
4019 cat confdefs.h >>conftest.$ac_ext
4020 cat >>conftest.$ac_ext <<_ACEOF
5305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40215306 /* end confdefs.h. */
40225307 #ifdef __STDC__
40235308 # include <limits.h>
40265311 #endif
40275312 Syntax error
40285313 _ACEOF
4029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4030 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4031 ac_status=$?
4032 grep -v '^ *+' conftest.er1 >conftest.err
4033 rm -f conftest.er1
4034 cat conftest.err >&5
4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4036 (exit $ac_status); } >/dev/null; then
4037 if test -s conftest.err; then
4038 ac_cpp_err=$ac_c_preproc_warn_flag
4039 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4040 else
4041 ac_cpp_err=
4042 fi
4043 else
4044 ac_cpp_err=yes
4045 fi
4046 if test -z "$ac_cpp_err"; then
4047 :
4048 else
4049 echo "$as_me: failed program was:" >&5
4050 sed 's/^/| /' conftest.$ac_ext >&5
4051
5314 if ac_fn_c_try_cpp "$LINENO"; then :
5315
5316 else
40525317 # Broken: fails on valid input.
40535318 continue
40545319 fi
4055 rm -f conftest.err conftest.$ac_ext
4056
4057 # OK, works on sane cases. Now check whether non-existent headers
5320 rm -f conftest.err conftest.i conftest.$ac_ext
5321
5322 # OK, works on sane cases. Now check whether nonexistent headers
40585323 # can be detected and how.
4059 cat >conftest.$ac_ext <<_ACEOF
4060 /* confdefs.h. */
4061 _ACEOF
4062 cat confdefs.h >>conftest.$ac_ext
4063 cat >>conftest.$ac_ext <<_ACEOF
5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40645325 /* end confdefs.h. */
40655326 #include <ac_nonexistent.h>
40665327 _ACEOF
4067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4068 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4069 ac_status=$?
4070 grep -v '^ *+' conftest.er1 >conftest.err
4071 rm -f conftest.er1
4072 cat conftest.err >&5
4073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074 (exit $ac_status); } >/dev/null; then
4075 if test -s conftest.err; then
4076 ac_cpp_err=$ac_c_preproc_warn_flag
4077 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4078 else
4079 ac_cpp_err=
4080 fi
4081 else
4082 ac_cpp_err=yes
4083 fi
4084 if test -z "$ac_cpp_err"; then
5328 if ac_fn_c_try_cpp "$LINENO"; then :
40855329 # Broken: success on invalid input.
40865330 continue
40875331 else
4088 echo "$as_me: failed program was:" >&5
4089 sed 's/^/| /' conftest.$ac_ext >&5
4090
40915332 # Passes both tests.
40925333 ac_preproc_ok=:
40935334 break
40945335 fi
4095 rm -f conftest.err conftest.$ac_ext
5336 rm -f conftest.err conftest.i conftest.$ac_ext
40965337
40975338 done
40985339 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4099 rm -f conftest.err conftest.$ac_ext
4100 if $ac_preproc_ok; then
4101 :
4102 else
4103 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4104 See \`config.log' for more details." >&5
4105 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4106 See \`config.log' for more details." >&2;}
4107 { (exit 1); exit 1; }; }
5340 rm -f conftest.i conftest.err conftest.$ac_ext
5341 if $ac_preproc_ok; then :
5342
5343 else
5344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5346 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5347 See \`config.log' for more details" "$LINENO" 5; }
41085348 fi
41095349
41105350 ac_ext=c
41145354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41155355
41165356
4117 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4118 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4119 if test "${ac_cv_header_stdc+set}" = set; then
4120 echo $ECHO_N "(cached) $ECHO_C" >&6
4121 else
4122 cat >conftest.$ac_ext <<_ACEOF
4123 /* confdefs.h. */
4124 _ACEOF
4125 cat confdefs.h >>conftest.$ac_ext
4126 cat >>conftest.$ac_ext <<_ACEOF
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5358 $as_echo_n "checking for ANSI C header files... " >&6; }
5359 if ${ac_cv_header_stdc+:} false; then :
5360 $as_echo_n "(cached) " >&6
5361 else
5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41275363 /* end confdefs.h. */
41285364 #include <stdlib.h>
41295365 #include <stdarg.h>
41385374 return 0;
41395375 }
41405376 _ACEOF
4141 rm -f conftest.$ac_objext
4142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4143 (eval $ac_compile) 2>conftest.er1
4144 ac_status=$?
4145 grep -v '^ *+' conftest.er1 >conftest.err
4146 rm -f conftest.er1
4147 cat conftest.err >&5
4148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4149 (exit $ac_status); } &&
4150 { ac_try='test -z "$ac_c_werror_flag"
4151 || test ! -s conftest.err'
4152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4153 (eval $ac_try) 2>&5
4154 ac_status=$?
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); }; } &&
4157 { ac_try='test -s conftest.$ac_objext'
4158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4159 (eval $ac_try) 2>&5
4160 ac_status=$?
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); }; }; then
5377 if ac_fn_c_try_compile "$LINENO"; then :
41635378 ac_cv_header_stdc=yes
41645379 else
4165 echo "$as_me: failed program was:" >&5
4166 sed 's/^/| /' conftest.$ac_ext >&5
4167
4168 ac_cv_header_stdc=no
4169 fi
4170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5380 ac_cv_header_stdc=no
5381 fi
5382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41715383
41725384 if test $ac_cv_header_stdc = yes; then
41735385 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4174 cat >conftest.$ac_ext <<_ACEOF
4175 /* confdefs.h. */
4176 _ACEOF
4177 cat confdefs.h >>conftest.$ac_ext
4178 cat >>conftest.$ac_ext <<_ACEOF
5386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41795387 /* end confdefs.h. */
41805388 #include <string.h>
41815389
41825390 _ACEOF
41835391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4184 $EGREP "memchr" >/dev/null 2>&1; then
4185 :
5392 $EGREP "memchr" >/dev/null 2>&1; then :
5393
41865394 else
41875395 ac_cv_header_stdc=no
41885396 fi
41925400
41935401 if test $ac_cv_header_stdc = yes; then
41945402 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4195 cat >conftest.$ac_ext <<_ACEOF
4196 /* confdefs.h. */
4197 _ACEOF
4198 cat confdefs.h >>conftest.$ac_ext
4199 cat >>conftest.$ac_ext <<_ACEOF
5403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42005404 /* end confdefs.h. */
42015405 #include <stdlib.h>
42025406
42035407 _ACEOF
42045408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4205 $EGREP "free" >/dev/null 2>&1; then
4206 :
5409 $EGREP "free" >/dev/null 2>&1; then :
5410
42075411 else
42085412 ac_cv_header_stdc=no
42095413 fi
42135417
42145418 if test $ac_cv_header_stdc = yes; then
42155419 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4216 if test "$cross_compiling" = yes; then
5420 if test "$cross_compiling" = yes; then :
42175421 :
42185422 else
4219 cat >conftest.$ac_ext <<_ACEOF
4220 /* confdefs.h. */
4221 _ACEOF
4222 cat confdefs.h >>conftest.$ac_ext
4223 cat >>conftest.$ac_ext <<_ACEOF
5423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42245424 /* end confdefs.h. */
42255425 #include <ctype.h>
5426 #include <stdlib.h>
42265427 #if ((' ' & 0x0FF) == 0x020)
42275428 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
42285429 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
42425443 for (i = 0; i < 256; i++)
42435444 if (XOR (islower (i), ISLOWER (i))
42445445 || toupper (i) != TOUPPER (i))
4245 exit(2);
4246 exit (0);
5446 return 2;
5447 return 0;
42475448 }
42485449 _ACEOF
4249 rm -f conftest$ac_exeext
4250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4251 (eval $ac_link) 2>&5
4252 ac_status=$?
4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4256 (eval $ac_try) 2>&5
4257 ac_status=$?
4258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259 (exit $ac_status); }; }; then
4260 :
4261 else
4262 echo "$as_me: program exited with status $ac_status" >&5
4263 echo "$as_me: failed program was:" >&5
4264 sed 's/^/| /' conftest.$ac_ext >&5
4265
4266 ( exit $ac_status )
4267 ac_cv_header_stdc=no
4268 fi
4269 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4270 fi
4271 fi
4272 fi
4273 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4274 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5450 if ac_fn_c_try_run "$LINENO"; then :
5451
5452 else
5453 ac_cv_header_stdc=no
5454 fi
5455 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5456 conftest.$ac_objext conftest.beam conftest.$ac_ext
5457 fi
5458
5459 fi
5460 fi
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5462 $as_echo "$ac_cv_header_stdc" >&6; }
42755463 if test $ac_cv_header_stdc = yes; then
42765464
4277 cat >>confdefs.h <<\_ACEOF
4278 #define STDC_HEADERS 1
4279 _ACEOF
5465 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
42805466
42815467 fi
42825468
42835469 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4284
4285
4286
4287
4288
4289
4290
4291
4292
42935470 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
42945471 inttypes.h stdint.h unistd.h
4295 do
4296 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4297 echo "$as_me:$LINENO: checking for $ac_header" >&5
4298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4300 echo $ECHO_N "(cached) $ECHO_C" >&6
4301 else
4302 cat >conftest.$ac_ext <<_ACEOF
4303 /* confdefs.h. */
4304 _ACEOF
4305 cat confdefs.h >>conftest.$ac_ext
4306 cat >>conftest.$ac_ext <<_ACEOF
4307 /* end confdefs.h. */
4308 $ac_includes_default
4309
4310 #include <$ac_header>
4311 _ACEOF
4312 rm -f conftest.$ac_objext
4313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4314 (eval $ac_compile) 2>conftest.er1
4315 ac_status=$?
4316 grep -v '^ *+' conftest.er1 >conftest.err
4317 rm -f conftest.er1
4318 cat conftest.err >&5
4319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4320 (exit $ac_status); } &&
4321 { ac_try='test -z "$ac_c_werror_flag"
4322 || test ! -s conftest.err'
4323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4324 (eval $ac_try) 2>&5
4325 ac_status=$?
4326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); }; } &&
4328 { ac_try='test -s conftest.$ac_objext'
4329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4330 (eval $ac_try) 2>&5
4331 ac_status=$?
4332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333 (exit $ac_status); }; }; then
4334 eval "$as_ac_Header=yes"
4335 else
4336 echo "$as_me: failed program was:" >&5
4337 sed 's/^/| /' conftest.$ac_ext >&5
4338
4339 eval "$as_ac_Header=no"
4340 fi
4341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4342 fi
4343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4344 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5472 do :
5473 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5474 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5475 "
5476 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
43465477 cat >>confdefs.h <<_ACEOF
4347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5478 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
43485479 _ACEOF
43495480
43505481 fi
43525483 done
43535484
43545485
4355
43565486 for ac_header in dlfcn.h
4357 do
4358 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4360 echo "$as_me:$LINENO: checking for $ac_header" >&5
4361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4363 echo $ECHO_N "(cached) $ECHO_C" >&6
4364 fi
4365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4367 else
4368 # Is the header compilable?
4369 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4370 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4371 cat >conftest.$ac_ext <<_ACEOF
4372 /* confdefs.h. */
4373 _ACEOF
4374 cat confdefs.h >>conftest.$ac_ext
4375 cat >>conftest.$ac_ext <<_ACEOF
4376 /* end confdefs.h. */
4377 $ac_includes_default
4378 #include <$ac_header>
4379 _ACEOF
4380 rm -f conftest.$ac_objext
4381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4382 (eval $ac_compile) 2>conftest.er1
4383 ac_status=$?
4384 grep -v '^ *+' conftest.er1 >conftest.err
4385 rm -f conftest.er1
4386 cat conftest.err >&5
4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388 (exit $ac_status); } &&
4389 { ac_try='test -z "$ac_c_werror_flag"
4390 || test ! -s conftest.err'
4391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4392 (eval $ac_try) 2>&5
4393 ac_status=$?
4394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395 (exit $ac_status); }; } &&
4396 { ac_try='test -s conftest.$ac_objext'
4397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4398 (eval $ac_try) 2>&5
4399 ac_status=$?
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); }; }; then
4402 ac_header_compiler=yes
4403 else
4404 echo "$as_me: failed program was:" >&5
4405 sed 's/^/| /' conftest.$ac_ext >&5
4406
4407 ac_header_compiler=no
4408 fi
4409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4410 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4411 echo "${ECHO_T}$ac_header_compiler" >&6
4412
4413 # Is the header present?
4414 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4415 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4416 cat >conftest.$ac_ext <<_ACEOF
4417 /* confdefs.h. */
4418 _ACEOF
4419 cat confdefs.h >>conftest.$ac_ext
4420 cat >>conftest.$ac_ext <<_ACEOF
4421 /* end confdefs.h. */
4422 #include <$ac_header>
4423 _ACEOF
4424 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4425 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4426 ac_status=$?
4427 grep -v '^ *+' conftest.er1 >conftest.err
4428 rm -f conftest.er1
4429 cat conftest.err >&5
4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431 (exit $ac_status); } >/dev/null; then
4432 if test -s conftest.err; then
4433 ac_cpp_err=$ac_c_preproc_warn_flag
4434 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4435 else
4436 ac_cpp_err=
4437 fi
4438 else
4439 ac_cpp_err=yes
4440 fi
4441 if test -z "$ac_cpp_err"; then
4442 ac_header_preproc=yes
4443 else
4444 echo "$as_me: failed program was:" >&5
4445 sed 's/^/| /' conftest.$ac_ext >&5
4446
4447 ac_header_preproc=no
4448 fi
4449 rm -f conftest.err conftest.$ac_ext
4450 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4451 echo "${ECHO_T}$ac_header_preproc" >&6
4452
4453 # So? What about this header?
4454 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4455 yes:no: )
4456 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4457 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4459 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4460 ac_header_preproc=yes
4461 ;;
4462 no:yes:* )
4463 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4464 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4465 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4466 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4467 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4468 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4469 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4470 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4472 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4473 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4474 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4475 (
4476 cat <<\_ASBOX
4477 ## ----------------------------- ##
4478 ## Report this to the dx lists. ##
4479 ## ----------------------------- ##
4480 _ASBOX
4481 ) |
4482 sed "s/^/$as_me: WARNING: /" >&2
4483 ;;
4484 esac
4485 echo "$as_me:$LINENO: checking for $ac_header" >&5
4486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4488 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 else
4490 eval "$as_ac_Header=\$ac_header_preproc"
4491 fi
4492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4494
4495 fi
4496 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5487 do :
5488 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
5489 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
44975490 cat >>confdefs.h <<_ACEOF
4498 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5491 #define HAVE_DLFCN_H 1
44995492 _ACEOF
45005493
45015494 fi
45025495
45035496 done
45045497
4505 ac_ext=cc
5498 ac_ext=cpp
45065499 ac_cpp='$CXXCPP $CPPFLAGS'
45075500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45085501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45095502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4510 if test -n "$ac_tool_prefix"; then
4511 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
5503 if test -z "$CXX"; then
5504 if test -n "$CCC"; then
5505 CXX=$CCC
5506 else
5507 if test -n "$ac_tool_prefix"; then
5508 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
45125509 do
45135510 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
45145511 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4515 echo "$as_me:$LINENO: checking for $ac_word" >&5
4516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4517 if test "${ac_cv_prog_CXX+set}" = set; then
4518 echo $ECHO_N "(cached) $ECHO_C" >&6
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513 $as_echo_n "checking for $ac_word... " >&6; }
5514 if ${ac_cv_prog_CXX+:} false; then :
5515 $as_echo_n "(cached) " >&6
45195516 else
45205517 if test -n "$CXX"; then
45215518 ac_cv_prog_CXX="$CXX" # Let the user override the test.
45255522 do
45265523 IFS=$as_save_IFS
45275524 test -z "$as_dir" && as_dir=.
4528 for ac_exec_ext in '' $ac_executable_extensions; do
4529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5525 for ac_exec_ext in '' $ac_executable_extensions; do
5526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45305527 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
45325529 break 2
45335530 fi
45345531 done
4535 done
5532 done
5533 IFS=$as_save_IFS
45365534
45375535 fi
45385536 fi
45395537 CXX=$ac_cv_prog_CXX
45405538 if test -n "$CXX"; then
4541 echo "$as_me:$LINENO: result: $CXX" >&5
4542 echo "${ECHO_T}$CXX" >&6
4543 else
4544 echo "$as_me:$LINENO: result: no" >&5
4545 echo "${ECHO_T}no" >&6
4546 fi
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5540 $as_echo "$CXX" >&6; }
5541 else
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543 $as_echo "no" >&6; }
5544 fi
5545
45475546
45485547 test -n "$CXX" && break
45495548 done
45505549 fi
45515550 if test -z "$CXX"; then
45525551 ac_ct_CXX=$CXX
4553 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
5552 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
45545553 do
45555554 # Extract the first word of "$ac_prog", so it can be a program name with args.
45565555 set dummy $ac_prog; ac_word=$2
4557 echo "$as_me:$LINENO: checking for $ac_word" >&5
4558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4559 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4560 echo $ECHO_N "(cached) $ECHO_C" >&6
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5557 $as_echo_n "checking for $ac_word... " >&6; }
5558 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5559 $as_echo_n "(cached) " >&6
45615560 else
45625561 if test -n "$ac_ct_CXX"; then
45635562 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
45675566 do
45685567 IFS=$as_save_IFS
45695568 test -z "$as_dir" && as_dir=.
4570 for ac_exec_ext in '' $ac_executable_extensions; do
4571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5569 for ac_exec_ext in '' $ac_executable_extensions; do
5570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45725571 ac_cv_prog_ac_ct_CXX="$ac_prog"
4573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
45745573 break 2
45755574 fi
45765575 done
4577 done
5576 done
5577 IFS=$as_save_IFS
45785578
45795579 fi
45805580 fi
45815581 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
45825582 if test -n "$ac_ct_CXX"; then
4583 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4584 echo "${ECHO_T}$ac_ct_CXX" >&6
4585 else
4586 echo "$as_me:$LINENO: result: no" >&5
4587 echo "${ECHO_T}no" >&6
4588 fi
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5584 $as_echo "$ac_ct_CXX" >&6; }
5585 else
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5587 $as_echo "no" >&6; }
5588 fi
5589
45895590
45905591 test -n "$ac_ct_CXX" && break
45915592 done
4592 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4593
4594 CXX=$ac_ct_CXX
4595 fi
4596
4597
5593
5594 if test "x$ac_ct_CXX" = x; then
5595 CXX="g++"
5596 else
5597 case $cross_compiling:$ac_tool_warned in
5598 yes:)
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5601 ac_tool_warned=yes ;;
5602 esac
5603 CXX=$ac_ct_CXX
5604 fi
5605 fi
5606
5607 fi
5608 fi
45985609 # Provide some information about the compiler.
4599 echo "$as_me:$LINENO:" \
4600 "checking for C++ compiler version" >&5
4601 ac_compiler=`set X $ac_compile; echo $2`
4602 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4603 (eval $ac_compiler --version </dev/null >&5) 2>&5
5610 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5611 set X $ac_compile
5612 ac_compiler=$2
5613 for ac_option in --version -v -V -qversion; do
5614 { { ac_try="$ac_compiler $ac_option >&5"
5615 case "(($ac_try" in
5616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5617 *) ac_try_echo=$ac_try;;
5618 esac
5619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5620 $as_echo "$ac_try_echo"; } >&5
5621 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
46045622 ac_status=$?
4605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 (exit $ac_status); }
4607 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4608 (eval $ac_compiler -v </dev/null >&5) 2>&5
4609 ac_status=$?
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); }
4612 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4613 (eval $ac_compiler -V </dev/null >&5) 2>&5
4614 ac_status=$?
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); }
4617
4618 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4619 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4620 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4621 echo $ECHO_N "(cached) $ECHO_C" >&6
4622 else
4623 cat >conftest.$ac_ext <<_ACEOF
4624 /* confdefs.h. */
4625 _ACEOF
4626 cat confdefs.h >>conftest.$ac_ext
4627 cat >>conftest.$ac_ext <<_ACEOF
5623 if test -s conftest.err; then
5624 sed '10a\
5625 ... rest of stderr output deleted ...
5626 10q' conftest.err >conftest.er1
5627 cat conftest.er1 >&5
5628 fi
5629 rm -f conftest.er1 conftest.err
5630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5631 test $ac_status = 0; }
5632 done
5633
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5635 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5636 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5637 $as_echo_n "(cached) " >&6
5638 else
5639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46285640 /* end confdefs.h. */
46295641
46305642 int
46385650 return 0;
46395651 }
46405652 _ACEOF
4641 rm -f conftest.$ac_objext
4642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4643 (eval $ac_compile) 2>conftest.er1
4644 ac_status=$?
4645 grep -v '^ *+' conftest.er1 >conftest.err
4646 rm -f conftest.er1
4647 cat conftest.err >&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } &&
4650 { ac_try='test -z "$ac_cxx_werror_flag"
4651 || test ! -s conftest.err'
4652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4653 (eval $ac_try) 2>&5
4654 ac_status=$?
4655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656 (exit $ac_status); }; } &&
4657 { ac_try='test -s conftest.$ac_objext'
4658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4659 (eval $ac_try) 2>&5
4660 ac_status=$?
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662 (exit $ac_status); }; }; then
5653 if ac_fn_cxx_try_compile "$LINENO"; then :
46635654 ac_compiler_gnu=yes
46645655 else
4665 echo "$as_me: failed program was:" >&5
4666 sed 's/^/| /' conftest.$ac_ext >&5
4667
4668 ac_compiler_gnu=no
4669 fi
4670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5656 ac_compiler_gnu=no
5657 fi
5658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46715659 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
46725660
46735661 fi
4674 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4675 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4676 GXX=`test $ac_compiler_gnu = yes && echo yes`
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5663 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5664 if test $ac_compiler_gnu = yes; then
5665 GXX=yes
5666 else
5667 GXX=
5668 fi
46775669 ac_test_CXXFLAGS=${CXXFLAGS+set}
46785670 ac_save_CXXFLAGS=$CXXFLAGS
4679 CXXFLAGS="-g"
4680 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4681 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4682 if test "${ac_cv_prog_cxx_g+set}" = set; then
4683 echo $ECHO_N "(cached) $ECHO_C" >&6
4684 else
4685 cat >conftest.$ac_ext <<_ACEOF
4686 /* confdefs.h. */
4687 _ACEOF
4688 cat confdefs.h >>conftest.$ac_ext
4689 cat >>conftest.$ac_ext <<_ACEOF
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5672 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5673 if ${ac_cv_prog_cxx_g+:} false; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5677 ac_cxx_werror_flag=yes
5678 ac_cv_prog_cxx_g=no
5679 CXXFLAGS="-g"
5680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46905681 /* end confdefs.h. */
46915682
46925683 int
46975688 return 0;
46985689 }
46995690 _ACEOF
4700 rm -f conftest.$ac_objext
4701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4702 (eval $ac_compile) 2>conftest.er1
4703 ac_status=$?
4704 grep -v '^ *+' conftest.er1 >conftest.err
4705 rm -f conftest.er1
4706 cat conftest.err >&5
4707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); } &&
4709 { ac_try='test -z "$ac_cxx_werror_flag"
4710 || test ! -s conftest.err'
4711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4712 (eval $ac_try) 2>&5
4713 ac_status=$?
4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715 (exit $ac_status); }; } &&
4716 { ac_try='test -s conftest.$ac_objext'
4717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4718 (eval $ac_try) 2>&5
4719 ac_status=$?
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); }; }; then
5691 if ac_fn_cxx_try_compile "$LINENO"; then :
47225692 ac_cv_prog_cxx_g=yes
47235693 else
4724 echo "$as_me: failed program was:" >&5
4725 sed 's/^/| /' conftest.$ac_ext >&5
4726
4727 ac_cv_prog_cxx_g=no
4728 fi
4729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4730 fi
4731 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4732 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5694 CXXFLAGS=""
5695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5696 /* end confdefs.h. */
5697
5698 int
5699 main ()
5700 {
5701
5702 ;
5703 return 0;
5704 }
5705 _ACEOF
5706 if ac_fn_cxx_try_compile "$LINENO"; then :
5707
5708 else
5709 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5710 CXXFLAGS="-g"
5711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5712 /* end confdefs.h. */
5713
5714 int
5715 main ()
5716 {
5717
5718 ;
5719 return 0;
5720 }
5721 _ACEOF
5722 if ac_fn_cxx_try_compile "$LINENO"; then :
5723 ac_cv_prog_cxx_g=yes
5724 fi
5725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5726 fi
5727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5728 fi
5729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5730 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5731 fi
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5733 $as_echo "$ac_cv_prog_cxx_g" >&6; }
47335734 if test "$ac_test_CXXFLAGS" = set; then
47345735 CXXFLAGS=$ac_save_CXXFLAGS
47355736 elif test $ac_cv_prog_cxx_g = yes; then
47455746 CXXFLAGS=
47465747 fi
47475748 fi
4748 for ac_declaration in \
4749 '' \
4750 'extern "C" void std::exit (int) throw (); using std::exit;' \
4751 'extern "C" void std::exit (int); using std::exit;' \
4752 'extern "C" void exit (int) throw ();' \
4753 'extern "C" void exit (int);' \
4754 'void exit (int);'
4755 do
4756 cat >conftest.$ac_ext <<_ACEOF
4757 /* confdefs.h. */
4758 _ACEOF
4759 cat confdefs.h >>conftest.$ac_ext
4760 cat >>conftest.$ac_ext <<_ACEOF
4761 /* end confdefs.h. */
4762 $ac_declaration
4763 #include <stdlib.h>
4764 int
4765 main ()
4766 {
4767 exit (42);
4768 ;
4769 return 0;
4770 }
4771 _ACEOF
4772 rm -f conftest.$ac_objext
4773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4774 (eval $ac_compile) 2>conftest.er1
4775 ac_status=$?
4776 grep -v '^ *+' conftest.er1 >conftest.err
4777 rm -f conftest.er1
4778 cat conftest.err >&5
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 (exit $ac_status); } &&
4781 { ac_try='test -z "$ac_cxx_werror_flag"
4782 || test ! -s conftest.err'
4783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4784 (eval $ac_try) 2>&5
4785 ac_status=$?
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); }; } &&
4788 { ac_try='test -s conftest.$ac_objext'
4789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4790 (eval $ac_try) 2>&5
4791 ac_status=$?
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); }; }; then
4794 :
4795 else
4796 echo "$as_me: failed program was:" >&5
4797 sed 's/^/| /' conftest.$ac_ext >&5
4798
4799 continue
4800 fi
4801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4802 cat >conftest.$ac_ext <<_ACEOF
4803 /* confdefs.h. */
4804 _ACEOF
4805 cat confdefs.h >>conftest.$ac_ext
4806 cat >>conftest.$ac_ext <<_ACEOF
4807 /* end confdefs.h. */
4808 $ac_declaration
4809 int
4810 main ()
4811 {
4812 exit (42);
4813 ;
4814 return 0;
4815 }
4816 _ACEOF
4817 rm -f conftest.$ac_objext
4818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4819 (eval $ac_compile) 2>conftest.er1
4820 ac_status=$?
4821 grep -v '^ *+' conftest.er1 >conftest.err
4822 rm -f conftest.er1
4823 cat conftest.err >&5
4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4825 (exit $ac_status); } &&
4826 { ac_try='test -z "$ac_cxx_werror_flag"
4827 || test ! -s conftest.err'
4828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4829 (eval $ac_try) 2>&5
4830 ac_status=$?
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); }; } &&
4833 { ac_try='test -s conftest.$ac_objext'
4834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4835 (eval $ac_try) 2>&5
4836 ac_status=$?
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); }; }; then
4839 break
4840 else
4841 echo "$as_me: failed program was:" >&5
4842 sed 's/^/| /' conftest.$ac_ext >&5
4843
4844 fi
4845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4846 done
4847 rm -f conftest*
4848 if test -n "$ac_declaration"; then
4849 echo '#ifdef __cplusplus' >>confdefs.h
4850 echo $ac_declaration >>confdefs.h
4851 echo '#endif' >>confdefs.h
4852 fi
4853
4854 ac_ext=cc
5749 ac_ext=cpp
48555750 ac_cpp='$CXXCPP $CPPFLAGS'
48565751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48575752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48595754
48605755 depcc="$CXX" am_compiler_list=
48615756
4862 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4863 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4864 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4865 echo $ECHO_N "(cached) $ECHO_C" >&6
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5758 $as_echo_n "checking dependency style of $depcc... " >&6; }
5759 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5760 $as_echo_n "(cached) " >&6
48665761 else
48675762 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
48685763 # We make a subdir and do the tests there. Otherwise we can end up
49495844 fi
49505845
49515846 fi
4952 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4953 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5848 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
49545849 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
49555850
49565851
49715866 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
49725867 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
49735868 (test "X$CXX" != "Xg++"))) ; then
4974 ac_ext=cc
5869 ac_ext=cpp
49755870 ac_cpp='$CXXCPP $CPPFLAGS'
49765871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49775872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49785873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4979 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4980 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
5875 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
49815876 if test -z "$CXXCPP"; then
4982 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4983 echo $ECHO_N "(cached) $ECHO_C" >&6
5877 if ${ac_cv_prog_CXXCPP+:} false; then :
5878 $as_echo_n "(cached) " >&6
49845879 else
49855880 # Double quotes because CXXCPP needs to be expanded
49865881 for CXXCPP in "$CXX -E" "/lib/cpp"
49945889 # <limits.h> exists even on freestanding compilers.
49955890 # On the NeXT, cc -E runs the code through the compiler's parser,
49965891 # not just through cpp. "Syntax error" is here to catch this case.
4997 cat >conftest.$ac_ext <<_ACEOF
4998 /* confdefs.h. */
4999 _ACEOF
5000 cat confdefs.h >>conftest.$ac_ext
5001 cat >>conftest.$ac_ext <<_ACEOF
5892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50025893 /* end confdefs.h. */
50035894 #ifdef __STDC__
50045895 # include <limits.h>
50075898 #endif
50085899 Syntax error
50095900 _ACEOF
5010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5011 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5012 ac_status=$?
5013 grep -v '^ *+' conftest.er1 >conftest.err
5014 rm -f conftest.er1
5015 cat conftest.err >&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); } >/dev/null; then
5018 if test -s conftest.err; then
5019 ac_cpp_err=$ac_cxx_preproc_warn_flag
5020 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5021 else
5022 ac_cpp_err=
5023 fi
5024 else
5025 ac_cpp_err=yes
5026 fi
5027 if test -z "$ac_cpp_err"; then
5028 :
5029 else
5030 echo "$as_me: failed program was:" >&5
5031 sed 's/^/| /' conftest.$ac_ext >&5
5032
5901 if ac_fn_cxx_try_cpp "$LINENO"; then :
5902
5903 else
50335904 # Broken: fails on valid input.
50345905 continue
50355906 fi
5036 rm -f conftest.err conftest.$ac_ext
5037
5038 # OK, works on sane cases. Now check whether non-existent headers
5907 rm -f conftest.err conftest.i conftest.$ac_ext
5908
5909 # OK, works on sane cases. Now check whether nonexistent headers
50395910 # can be detected and how.
5040 cat >conftest.$ac_ext <<_ACEOF
5041 /* confdefs.h. */
5042 _ACEOF
5043 cat confdefs.h >>conftest.$ac_ext
5044 cat >>conftest.$ac_ext <<_ACEOF
5911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50455912 /* end confdefs.h. */
50465913 #include <ac_nonexistent.h>
50475914 _ACEOF
5048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5049 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5050 ac_status=$?
5051 grep -v '^ *+' conftest.er1 >conftest.err
5052 rm -f conftest.er1
5053 cat conftest.err >&5
5054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5055 (exit $ac_status); } >/dev/null; then
5056 if test -s conftest.err; then
5057 ac_cpp_err=$ac_cxx_preproc_warn_flag
5058 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5059 else
5060 ac_cpp_err=
5061 fi
5062 else
5063 ac_cpp_err=yes
5064 fi
5065 if test -z "$ac_cpp_err"; then
5915 if ac_fn_cxx_try_cpp "$LINENO"; then :
50665916 # Broken: success on invalid input.
50675917 continue
50685918 else
5069 echo "$as_me: failed program was:" >&5
5070 sed 's/^/| /' conftest.$ac_ext >&5
5071
50725919 # Passes both tests.
50735920 ac_preproc_ok=:
50745921 break
50755922 fi
5076 rm -f conftest.err conftest.$ac_ext
5923 rm -f conftest.err conftest.i conftest.$ac_ext
50775924
50785925 done
50795926 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5080 rm -f conftest.err conftest.$ac_ext
5081 if $ac_preproc_ok; then
5927 rm -f conftest.i conftest.err conftest.$ac_ext
5928 if $ac_preproc_ok; then :
50825929 break
50835930 fi
50845931
50905937 else
50915938 ac_cv_prog_CXXCPP=$CXXCPP
50925939 fi
5093 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5094 echo "${ECHO_T}$CXXCPP" >&6
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
5941 $as_echo "$CXXCPP" >&6; }
50955942 ac_preproc_ok=false
50965943 for ac_cxx_preproc_warn_flag in '' yes
50975944 do
51015948 # <limits.h> exists even on freestanding compilers.
51025949 # On the NeXT, cc -E runs the code through the compiler's parser,
51035950 # not just through cpp. "Syntax error" is here to catch this case.
5104 cat >conftest.$ac_ext <<_ACEOF
5105 /* confdefs.h. */
5106 _ACEOF
5107 cat confdefs.h >>conftest.$ac_ext
5108 cat >>conftest.$ac_ext <<_ACEOF
5951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51095952 /* end confdefs.h. */
51105953 #ifdef __STDC__
51115954 # include <limits.h>
51145957 #endif
51155958 Syntax error
51165959 _ACEOF
5117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5119 ac_status=$?
5120 grep -v '^ *+' conftest.er1 >conftest.err
5121 rm -f conftest.er1
5122 cat conftest.err >&5
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); } >/dev/null; then
5125 if test -s conftest.err; then
5126 ac_cpp_err=$ac_cxx_preproc_warn_flag
5127 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5128 else
5129 ac_cpp_err=
5130 fi
5131 else
5132 ac_cpp_err=yes
5133 fi
5134 if test -z "$ac_cpp_err"; then
5135 :
5136 else
5137 echo "$as_me: failed program was:" >&5
5138 sed 's/^/| /' conftest.$ac_ext >&5
5139
5960 if ac_fn_cxx_try_cpp "$LINENO"; then :
5961
5962 else
51405963 # Broken: fails on valid input.
51415964 continue
51425965 fi
5143 rm -f conftest.err conftest.$ac_ext
5144
5145 # OK, works on sane cases. Now check whether non-existent headers
5966 rm -f conftest.err conftest.i conftest.$ac_ext
5967
5968 # OK, works on sane cases. Now check whether nonexistent headers
51465969 # can be detected and how.
5147 cat >conftest.$ac_ext <<_ACEOF
5148 /* confdefs.h. */
5149 _ACEOF
5150 cat confdefs.h >>conftest.$ac_ext
5151 cat >>conftest.$ac_ext <<_ACEOF
5970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51525971 /* end confdefs.h. */
51535972 #include <ac_nonexistent.h>
51545973 _ACEOF
5155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5157 ac_status=$?
5158 grep -v '^ *+' conftest.er1 >conftest.err
5159 rm -f conftest.er1
5160 cat conftest.err >&5
5161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162 (exit $ac_status); } >/dev/null; then
5163 if test -s conftest.err; then
5164 ac_cpp_err=$ac_cxx_preproc_warn_flag
5165 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5166 else
5167 ac_cpp_err=
5168 fi
5169 else
5170 ac_cpp_err=yes
5171 fi
5172 if test -z "$ac_cpp_err"; then
5974 if ac_fn_cxx_try_cpp "$LINENO"; then :
51735975 # Broken: success on invalid input.
51745976 continue
51755977 else
5176 echo "$as_me: failed program was:" >&5
5177 sed 's/^/| /' conftest.$ac_ext >&5
5178
51795978 # Passes both tests.
51805979 ac_preproc_ok=:
51815980 break
51825981 fi
5183 rm -f conftest.err conftest.$ac_ext
5982 rm -f conftest.err conftest.i conftest.$ac_ext
51845983
51855984 done
51865985 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5187 rm -f conftest.err conftest.$ac_ext
5188 if $ac_preproc_ok; then
5189 :
5190 else
5191 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5192 See \`config.log' for more details." >&5
5193 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5194 See \`config.log' for more details." >&2;}
5195 { (exit 1); exit 1; }; }
5196 fi
5197
5198 ac_ext=cc
5986 rm -f conftest.i conftest.err conftest.$ac_ext
5987 if $ac_preproc_ok; then :
5988
5989 else
5990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5992 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
5993 See \`config.log' for more details" "$LINENO" 5; }
5994 fi
5995
5996 ac_ext=cpp
51995997 ac_cpp='$CXXCPP $CPPFLAGS'
52005998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52015999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52096007 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52106008 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
52116009 if test -n "$ac_tool_prefix"; then
5212 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6010 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
52136011 do
52146012 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
52156013 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5216 echo "$as_me:$LINENO: checking for $ac_word" >&5
5217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5218 if test "${ac_cv_prog_F77+set}" = set; then
5219 echo $ECHO_N "(cached) $ECHO_C" >&6
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015 $as_echo_n "checking for $ac_word... " >&6; }
6016 if ${ac_cv_prog_F77+:} false; then :
6017 $as_echo_n "(cached) " >&6
52206018 else
52216019 if test -n "$F77"; then
52226020 ac_cv_prog_F77="$F77" # Let the user override the test.
52266024 do
52276025 IFS=$as_save_IFS
52286026 test -z "$as_dir" && as_dir=.
5229 for ac_exec_ext in '' $ac_executable_extensions; do
5230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
52316029 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
52336031 break 2
52346032 fi
52356033 done
5236 done
6034 done
6035 IFS=$as_save_IFS
52376036
52386037 fi
52396038 fi
52406039 F77=$ac_cv_prog_F77
52416040 if test -n "$F77"; then
5242 echo "$as_me:$LINENO: result: $F77" >&5
5243 echo "${ECHO_T}$F77" >&6
5244 else
5245 echo "$as_me:$LINENO: result: no" >&5
5246 echo "${ECHO_T}no" >&6
5247 fi
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
6042 $as_echo "$F77" >&6; }
6043 else
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 $as_echo "no" >&6; }
6046 fi
6047
52486048
52496049 test -n "$F77" && break
52506050 done
52516051 fi
52526052 if test -z "$F77"; then
52536053 ac_ct_F77=$F77
5254 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6054 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
52556055 do
52566056 # Extract the first word of "$ac_prog", so it can be a program name with args.
52576057 set dummy $ac_prog; ac_word=$2
5258 echo "$as_me:$LINENO: checking for $ac_word" >&5
5259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5260 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5261 echo $ECHO_N "(cached) $ECHO_C" >&6
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6059 $as_echo_n "checking for $ac_word... " >&6; }
6060 if ${ac_cv_prog_ac_ct_F77+:} false; then :
6061 $as_echo_n "(cached) " >&6
52626062 else
52636063 if test -n "$ac_ct_F77"; then
52646064 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
52686068 do
52696069 IFS=$as_save_IFS
52706070 test -z "$as_dir" && as_dir=.
5271 for ac_exec_ext in '' $ac_executable_extensions; do
5272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6071 for ac_exec_ext in '' $ac_executable_extensions; do
6072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
52736073 ac_cv_prog_ac_ct_F77="$ac_prog"
5274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
52756075 break 2
52766076 fi
52776077 done
5278 done
6078 done
6079 IFS=$as_save_IFS
52796080
52806081 fi
52816082 fi
52826083 ac_ct_F77=$ac_cv_prog_ac_ct_F77
52836084 if test -n "$ac_ct_F77"; then
5284 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5285 echo "${ECHO_T}$ac_ct_F77" >&6
5286 else
5287 echo "$as_me:$LINENO: result: no" >&5
5288 echo "${ECHO_T}no" >&6
5289 fi
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
6086 $as_echo "$ac_ct_F77" >&6; }
6087 else
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6089 $as_echo "no" >&6; }
6090 fi
6091
52906092
52916093 test -n "$ac_ct_F77" && break
52926094 done
52936095
5294 F77=$ac_ct_F77
6096 if test "x$ac_ct_F77" = x; then
6097 F77=""
6098 else
6099 case $cross_compiling:$ac_tool_warned in
6100 yes:)
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6103 ac_tool_warned=yes ;;
6104 esac
6105 F77=$ac_ct_F77
6106 fi
52956107 fi
52966108
52976109
52986110 # Provide some information about the compiler.
5299 echo "$as_me:5300:" \
5300 "checking for Fortran 77 compiler version" >&5
5301 ac_compiler=`set X $ac_compile; echo $2`
5302 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5303 (eval $ac_compiler --version </dev/null >&5) 2>&5
6111 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
6112 set X $ac_compile
6113 ac_compiler=$2
6114 for ac_option in --version -v -V -qversion; do
6115 { { ac_try="$ac_compiler $ac_option >&5"
6116 case "(($ac_try" in
6117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6118 *) ac_try_echo=$ac_try;;
6119 esac
6120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6121 $as_echo "$ac_try_echo"; } >&5
6122 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
53046123 ac_status=$?
5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); }
5307 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5308 (eval $ac_compiler -v </dev/null >&5) 2>&5
5309 ac_status=$?
5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311 (exit $ac_status); }
5312 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5313 (eval $ac_compiler -V </dev/null >&5) 2>&5
5314 ac_status=$?
5315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316 (exit $ac_status); }
6124 if test -s conftest.err; then
6125 sed '10a\
6126 ... rest of stderr output deleted ...
6127 10q' conftest.err >conftest.er1
6128 cat conftest.er1 >&5
6129 fi
6130 rm -f conftest.er1 conftest.err
6131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6132 test $ac_status = 0; }
6133 done
53176134 rm -f a.out
53186135
53196136 # If we don't use `.F' as extension, the preprocessor is not run on the
53206137 # input file. (Note that this only needs to work for GNU compilers.)
53216138 ac_save_ext=$ac_ext
53226139 ac_ext=F
5323 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5324 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5325 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5326 echo $ECHO_N "(cached) $ECHO_C" >&6
5327 else
5328 cat >conftest.$ac_ext <<_ACEOF
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
6141 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
6142 if ${ac_cv_f77_compiler_gnu+:} false; then :
6143 $as_echo_n "(cached) " >&6
6144 else
6145 cat > conftest.$ac_ext <<_ACEOF
53296146 program main
53306147 #ifndef __GNUC__
53316148 choke me
53336150
53346151 end
53356152 _ACEOF
5336 rm -f conftest.$ac_objext
5337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5338 (eval $ac_compile) 2>conftest.er1
5339 ac_status=$?
5340 grep -v '^ *+' conftest.er1 >conftest.err
5341 rm -f conftest.er1
5342 cat conftest.err >&5
5343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5344 (exit $ac_status); } &&
5345 { ac_try='test -z "$ac_f77_werror_flag"
5346 || test ! -s conftest.err'
5347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5348 (eval $ac_try) 2>&5
5349 ac_status=$?
5350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351 (exit $ac_status); }; } &&
5352 { ac_try='test -s conftest.$ac_objext'
5353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5354 (eval $ac_try) 2>&5
5355 ac_status=$?
5356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5357 (exit $ac_status); }; }; then
6153 if ac_fn_f77_try_compile "$LINENO"; then :
53586154 ac_compiler_gnu=yes
53596155 else
5360 echo "$as_me: failed program was:" >&5
5361 sed 's/^/| /' conftest.$ac_ext >&5
5362
5363 ac_compiler_gnu=no
5364 fi
5365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6156 ac_compiler_gnu=no
6157 fi
6158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53666159 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
53676160
53686161 fi
5369 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5370 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
6163 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
53716164 ac_ext=$ac_save_ext
53726165 ac_test_FFLAGS=${FFLAGS+set}
53736166 ac_save_FFLAGS=$FFLAGS
53746167 FFLAGS=
5375 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5376 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5377 if test "${ac_cv_prog_f77_g+set}" = set; then
5378 echo $ECHO_N "(cached) $ECHO_C" >&6
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
6169 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
6170 if ${ac_cv_prog_f77_g+:} false; then :
6171 $as_echo_n "(cached) " >&6
53796172 else
53806173 FFLAGS=-g
5381 cat >conftest.$ac_ext <<_ACEOF
6174 cat > conftest.$ac_ext <<_ACEOF
53826175 program main
53836176
53846177 end
53856178 _ACEOF
5386 rm -f conftest.$ac_objext
5387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5388 (eval $ac_compile) 2>conftest.er1
5389 ac_status=$?
5390 grep -v '^ *+' conftest.er1 >conftest.err
5391 rm -f conftest.er1
5392 cat conftest.err >&5
5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); } &&
5395 { ac_try='test -z "$ac_f77_werror_flag"
5396 || test ! -s conftest.err'
5397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5398 (eval $ac_try) 2>&5
5399 ac_status=$?
5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401 (exit $ac_status); }; } &&
5402 { ac_try='test -s conftest.$ac_objext'
5403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5404 (eval $ac_try) 2>&5
5405 ac_status=$?
5406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5407 (exit $ac_status); }; }; then
6179 if ac_fn_f77_try_compile "$LINENO"; then :
54086180 ac_cv_prog_f77_g=yes
54096181 else
5410 echo "$as_me: failed program was:" >&5
5411 sed 's/^/| /' conftest.$ac_ext >&5
5412
5413 ac_cv_prog_f77_g=no
5414 fi
5415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5416
5417 fi
5418 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5419 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
6182 ac_cv_prog_f77_g=no
6183 fi
6184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6185
6186 fi
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
6188 $as_echo "$ac_cv_prog_f77_g" >&6; }
54206189 if test "$ac_test_FFLAGS" = set; then
54216190 FFLAGS=$ac_save_FFLAGS
54226191 elif test $ac_cv_prog_f77_g = yes; then
54336202 fi
54346203 fi
54356204
5436 G77=`test $ac_compiler_gnu = yes && echo yes`
6205 if test $ac_compiler_gnu = yes; then
6206 G77=yes
6207 else
6208 G77=
6209 fi
54376210 ac_ext=c
54386211 ac_cpp='$CPP $CPPFLAGS'
54396212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54456218 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
54466219
54476220 # find the maximum length of command line arguments
5448 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5449 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5450 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5451 echo $ECHO_N "(cached) $ECHO_C" >&6
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6222 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6223 if ${lt_cv_sys_max_cmd_len+:} false; then :
6224 $as_echo_n "(cached) " >&6
54526225 else
54536226 i=0
54546227 teststring="ABCD"
55546327 fi
55556328
55566329 if test -n $lt_cv_sys_max_cmd_len ; then
5557 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5558 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5559 else
5560 echo "$as_me:$LINENO: result: none" >&5
5561 echo "${ECHO_T}none" >&6
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6331 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6332 else
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6334 $as_echo "none" >&6; }
55626335 fi
55636336
55646337
55656338
55666339
55676340 # Check for command to grab the raw symbol name followed by C symbol from nm.
5568 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5569 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5570 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5571 echo $ECHO_N "(cached) $ECHO_C" >&6
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6342 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6343 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6344 $as_echo_n "(cached) " >&6
55726345 else
55736346
55746347 # These are sane defaults that work on at least a few old systems.
56706443 int main(){nm_test_var='a';nm_test_func();return(0);}
56716444 EOF
56726445
5673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
56746447 (eval $ac_compile) 2>&5
56756448 ac_status=$?
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677 (exit $ac_status); }; then
6449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6450 test $ac_status = 0; }; then
56786451 # Now try to grab the symbols.
56796452 nlist=conftest.nm
5680 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
56816454 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
56826455 ac_status=$?
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); } && test -s "$nlist"; then
6456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6457 test $ac_status = 0; } && test -s "$nlist"; then
56856458 # Try sorting and uniquifying the output.
56866459 if sort "$nlist" | uniq > "$nlist"T; then
56876460 mv -f "$nlist"T "$nlist"
57326505 lt_save_CFLAGS="$CFLAGS"
57336506 LIBS="conftstm.$ac_objext"
57346507 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6508 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
57366509 (eval $ac_link) 2>&5
57376510 ac_status=$?
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6512 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
57406513 pipe_works=yes
57416514 fi
57426515 LIBS="$lt_save_LIBS"
57706543 lt_cv_sys_global_symbol_to_cdecl=
57716544 fi
57726545 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5773 echo "$as_me:$LINENO: result: failed" >&5
5774 echo "${ECHO_T}failed" >&6
5775 else
5776 echo "$as_me:$LINENO: result: ok" >&5
5777 echo "${ECHO_T}ok" >&6
5778 fi
5779
5780 echo "$as_me:$LINENO: checking for objdir" >&5
5781 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5782 if test "${lt_cv_objdir+set}" = set; then
5783 echo $ECHO_N "(cached) $ECHO_C" >&6
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6547 $as_echo "failed" >&6; }
6548 else
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6550 $as_echo "ok" >&6; }
6551 fi
6552
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6554 $as_echo_n "checking for objdir... " >&6; }
6555 if ${lt_cv_objdir+:} false; then :
6556 $as_echo_n "(cached) " >&6
57846557 else
57856558 rm -f .libs 2>/dev/null
57866559 mkdir .libs 2>/dev/null
57926565 fi
57936566 rmdir .libs 2>/dev/null
57946567 fi
5795 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5796 echo "${ECHO_T}$lt_cv_objdir" >&6
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6569 $as_echo "$lt_cv_objdir" >&6; }
57976570 objdir=$lt_cv_objdir
57986571
57996572
58446617 if test -n "$ac_tool_prefix"; then
58456618 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
58466619 set dummy ${ac_tool_prefix}ar; ac_word=$2
5847 echo "$as_me:$LINENO: checking for $ac_word" >&5
5848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5849 if test "${ac_cv_prog_AR+set}" = set; then
5850 echo $ECHO_N "(cached) $ECHO_C" >&6
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 $as_echo_n "checking for $ac_word... " >&6; }
6622 if ${ac_cv_prog_AR+:} false; then :
6623 $as_echo_n "(cached) " >&6
58516624 else
58526625 if test -n "$AR"; then
58536626 ac_cv_prog_AR="$AR" # Let the user override the test.
58576630 do
58586631 IFS=$as_save_IFS
58596632 test -z "$as_dir" && as_dir=.
5860 for ac_exec_ext in '' $ac_executable_extensions; do
5861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
58626635 ac_cv_prog_AR="${ac_tool_prefix}ar"
5863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
58646637 break 2
58656638 fi
58666639 done
5867 done
6640 done
6641 IFS=$as_save_IFS
58686642
58696643 fi
58706644 fi
58716645 AR=$ac_cv_prog_AR
58726646 if test -n "$AR"; then
5873 echo "$as_me:$LINENO: result: $AR" >&5
5874 echo "${ECHO_T}$AR" >&6
5875 else
5876 echo "$as_me:$LINENO: result: no" >&5
5877 echo "${ECHO_T}no" >&6
5878 fi
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6648 $as_echo "$AR" >&6; }
6649 else
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 $as_echo "no" >&6; }
6652 fi
6653
58796654
58806655 fi
58816656 if test -z "$ac_cv_prog_AR"; then
58826657 ac_ct_AR=$AR
58836658 # Extract the first word of "ar", so it can be a program name with args.
58846659 set dummy ar; ac_word=$2
5885 echo "$as_me:$LINENO: checking for $ac_word" >&5
5886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5887 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5888 echo $ECHO_N "(cached) $ECHO_C" >&6
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661 $as_echo_n "checking for $ac_word... " >&6; }
6662 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6663 $as_echo_n "(cached) " >&6
58896664 else
58906665 if test -n "$ac_ct_AR"; then
58916666 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
58956670 do
58966671 IFS=$as_save_IFS
58976672 test -z "$as_dir" && as_dir=.
5898 for ac_exec_ext in '' $ac_executable_extensions; do
5899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6673 for ac_exec_ext in '' $ac_executable_extensions; do
6674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
59006675 ac_cv_prog_ac_ct_AR="ar"
5901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
59026677 break 2
59036678 fi
59046679 done
5905 done
5906
5907 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
6680 done
6681 IFS=$as_save_IFS
6682
59086683 fi
59096684 fi
59106685 ac_ct_AR=$ac_cv_prog_ac_ct_AR
59116686 if test -n "$ac_ct_AR"; then
5912 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5913 echo "${ECHO_T}$ac_ct_AR" >&6
5914 else
5915 echo "$as_me:$LINENO: result: no" >&5
5916 echo "${ECHO_T}no" >&6
5917 fi
5918
5919 AR=$ac_ct_AR
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6688 $as_echo "$ac_ct_AR" >&6; }
6689 else
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691 $as_echo "no" >&6; }
6692 fi
6693
6694 if test "x$ac_ct_AR" = x; then
6695 AR="false"
6696 else
6697 case $cross_compiling:$ac_tool_warned in
6698 yes:)
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6701 ac_tool_warned=yes ;;
6702 esac
6703 AR=$ac_ct_AR
6704 fi
59206705 else
59216706 AR="$ac_cv_prog_AR"
59226707 fi
59246709 if test -n "$ac_tool_prefix"; then
59256710 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
59266711 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5927 echo "$as_me:$LINENO: checking for $ac_word" >&5
5928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5929 if test "${ac_cv_prog_RANLIB+set}" = set; then
5930 echo $ECHO_N "(cached) $ECHO_C" >&6
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6713 $as_echo_n "checking for $ac_word... " >&6; }
6714 if ${ac_cv_prog_RANLIB+:} false; then :
6715 $as_echo_n "(cached) " >&6
59316716 else
59326717 if test -n "$RANLIB"; then
59336718 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
59376722 do
59386723 IFS=$as_save_IFS
59396724 test -z "$as_dir" && as_dir=.
5940 for ac_exec_ext in '' $ac_executable_extensions; do
5941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6725 for ac_exec_ext in '' $ac_executable_extensions; do
6726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
59426727 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
59446729 break 2
59456730 fi
59466731 done
5947 done
6732 done
6733 IFS=$as_save_IFS
59486734
59496735 fi
59506736 fi
59516737 RANLIB=$ac_cv_prog_RANLIB
59526738 if test -n "$RANLIB"; then
5953 echo "$as_me:$LINENO: result: $RANLIB" >&5
5954 echo "${ECHO_T}$RANLIB" >&6
5955 else
5956 echo "$as_me:$LINENO: result: no" >&5
5957 echo "${ECHO_T}no" >&6
5958 fi
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6740 $as_echo "$RANLIB" >&6; }
6741 else
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6743 $as_echo "no" >&6; }
6744 fi
6745
59596746
59606747 fi
59616748 if test -z "$ac_cv_prog_RANLIB"; then
59626749 ac_ct_RANLIB=$RANLIB
59636750 # Extract the first word of "ranlib", so it can be a program name with args.
59646751 set dummy ranlib; ac_word=$2
5965 echo "$as_me:$LINENO: checking for $ac_word" >&5
5966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5967 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5968 echo $ECHO_N "(cached) $ECHO_C" >&6
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6753 $as_echo_n "checking for $ac_word... " >&6; }
6754 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6755 $as_echo_n "(cached) " >&6
59696756 else
59706757 if test -n "$ac_ct_RANLIB"; then
59716758 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
59756762 do
59766763 IFS=$as_save_IFS
59776764 test -z "$as_dir" && as_dir=.
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6765 for ac_exec_ext in '' $ac_executable_extensions; do
6766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
59806767 ac_cv_prog_ac_ct_RANLIB="ranlib"
5981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
59826769 break 2
59836770 fi
59846771 done
5985 done
5986
5987 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6772 done
6773 IFS=$as_save_IFS
6774
59886775 fi
59896776 fi
59906777 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
59916778 if test -n "$ac_ct_RANLIB"; then
5992 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5993 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5994 else
5995 echo "$as_me:$LINENO: result: no" >&5
5996 echo "${ECHO_T}no" >&6
5997 fi
5998
5999 RANLIB=$ac_ct_RANLIB
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6780 $as_echo "$ac_ct_RANLIB" >&6; }
6781 else
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6783 $as_echo "no" >&6; }
6784 fi
6785
6786 if test "x$ac_ct_RANLIB" = x; then
6787 RANLIB=":"
6788 else
6789 case $cross_compiling:$ac_tool_warned in
6790 yes:)
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6793 ac_tool_warned=yes ;;
6794 esac
6795 RANLIB=$ac_ct_RANLIB
6796 fi
60006797 else
60016798 RANLIB="$ac_cv_prog_RANLIB"
60026799 fi
60046801 if test -n "$ac_tool_prefix"; then
60056802 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
60066803 set dummy ${ac_tool_prefix}strip; ac_word=$2
6007 echo "$as_me:$LINENO: checking for $ac_word" >&5
6008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6009 if test "${ac_cv_prog_STRIP+set}" = set; then
6010 echo $ECHO_N "(cached) $ECHO_C" >&6
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805 $as_echo_n "checking for $ac_word... " >&6; }
6806 if ${ac_cv_prog_STRIP+:} false; then :
6807 $as_echo_n "(cached) " >&6
60116808 else
60126809 if test -n "$STRIP"; then
60136810 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
60176814 do
60186815 IFS=$as_save_IFS
60196816 test -z "$as_dir" && as_dir=.
6020 for ac_exec_ext in '' $ac_executable_extensions; do
6021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6817 for ac_exec_ext in '' $ac_executable_extensions; do
6818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60226819 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
60246821 break 2
60256822 fi
60266823 done
6027 done
6824 done
6825 IFS=$as_save_IFS
60286826
60296827 fi
60306828 fi
60316829 STRIP=$ac_cv_prog_STRIP
60326830 if test -n "$STRIP"; then
6033 echo "$as_me:$LINENO: result: $STRIP" >&5
6034 echo "${ECHO_T}$STRIP" >&6
6035 else
6036 echo "$as_me:$LINENO: result: no" >&5
6037 echo "${ECHO_T}no" >&6
6038 fi
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6832 $as_echo "$STRIP" >&6; }
6833 else
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835 $as_echo "no" >&6; }
6836 fi
6837
60396838
60406839 fi
60416840 if test -z "$ac_cv_prog_STRIP"; then
60426841 ac_ct_STRIP=$STRIP
60436842 # Extract the first word of "strip", so it can be a program name with args.
60446843 set dummy strip; ac_word=$2
6045 echo "$as_me:$LINENO: checking for $ac_word" >&5
6046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6047 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6048 echo $ECHO_N "(cached) $ECHO_C" >&6
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6845 $as_echo_n "checking for $ac_word... " >&6; }
6846 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6847 $as_echo_n "(cached) " >&6
60496848 else
60506849 if test -n "$ac_ct_STRIP"; then
60516850 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
60556854 do
60566855 IFS=$as_save_IFS
60576856 test -z "$as_dir" && as_dir=.
6058 for ac_exec_ext in '' $ac_executable_extensions; do
6059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6857 for ac_exec_ext in '' $ac_executable_extensions; do
6858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60606859 ac_cv_prog_ac_ct_STRIP="strip"
6061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
60626861 break 2
60636862 fi
60646863 done
6065 done
6066
6067 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6864 done
6865 IFS=$as_save_IFS
6866
60686867 fi
60696868 fi
60706869 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
60716870 if test -n "$ac_ct_STRIP"; then
6072 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6073 echo "${ECHO_T}$ac_ct_STRIP" >&6
6074 else
6075 echo "$as_me:$LINENO: result: no" >&5
6076 echo "${ECHO_T}no" >&6
6077 fi
6078
6079 STRIP=$ac_ct_STRIP
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6872 $as_echo "$ac_ct_STRIP" >&6; }
6873 else
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6875 $as_echo "no" >&6; }
6876 fi
6877
6878 if test "x$ac_ct_STRIP" = x; then
6879 STRIP=":"
6880 else
6881 case $cross_compiling:$ac_tool_warned in
6882 yes:)
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6885 ac_tool_warned=yes ;;
6886 esac
6887 STRIP=$ac_ct_STRIP
6888 fi
60806889 else
60816890 STRIP="$ac_cv_prog_STRIP"
60826891 fi
61356944 case $deplibs_check_method in
61366945 file_magic*)
61376946 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6138 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6139 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6140 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6948 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6949 if ${lt_cv_path_MAGIC_CMD+:} false; then :
6950 $as_echo_n "(cached) " >&6
61426951 else
61436952 case $MAGIC_CMD in
61446953 [\\/*] | ?:[\\/]*)
61886997
61896998 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
61906999 if test -n "$MAGIC_CMD"; then
6191 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6192 echo "${ECHO_T}$MAGIC_CMD" >&6
6193 else
6194 echo "$as_me:$LINENO: result: no" >&5
6195 echo "${ECHO_T}no" >&6
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7001 $as_echo "$MAGIC_CMD" >&6; }
7002 else
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7004 $as_echo "no" >&6; }
61967005 fi
61977006
61987007 if test -z "$lt_cv_path_MAGIC_CMD"; then
61997008 if test -n "$ac_tool_prefix"; then
6200 echo "$as_me:$LINENO: checking for file" >&5
6201 echo $ECHO_N "checking for file... $ECHO_C" >&6
6202 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6203 echo $ECHO_N "(cached) $ECHO_C" >&6
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7010 $as_echo_n "checking for file... " >&6; }
7011 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7012 $as_echo_n "(cached) " >&6
62047013 else
62057014 case $MAGIC_CMD in
62067015 [\\/*] | ?:[\\/]*)
62507059
62517060 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
62527061 if test -n "$MAGIC_CMD"; then
6253 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6254 echo "${ECHO_T}$MAGIC_CMD" >&6
6255 else
6256 echo "$as_me:$LINENO: result: no" >&5
6257 echo "${ECHO_T}no" >&6
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7063 $as_echo "$MAGIC_CMD" >&6; }
7064 else
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7066 $as_echo "no" >&6; }
62587067 fi
62597068
62607069 else
62697078 enable_dlopen=no
62707079 enable_win32_dll=no
62717080
6272 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6273 if test "${enable_libtool_lock+set}" = set; then
6274 enableval="$enable_libtool_lock"
6275
6276 fi;
7081 # Check whether --enable-libtool-lock was given.
7082 if test "${enable_libtool_lock+set}" = set; then :
7083 enableval=$enable_libtool_lock;
7084 fi
7085
62777086 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
62787087
62797088
6280 # Check whether --with-pic or --without-pic was given.
6281 if test "${with_pic+set}" = set; then
6282 withval="$with_pic"
6283 pic_mode="$withval"
7089 # Check whether --with-pic was given.
7090 if test "${with_pic+set}" = set; then :
7091 withval=$with_pic; pic_mode="$withval"
62847092 else
62857093 pic_mode=default
6286 fi;
7094 fi
7095
62877096 test -z "$pic_mode" && pic_mode=default
62887097
62897098 # Use C for the default configuration in the libtool script
63417150 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
63427151
63437152
6344 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6345 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6346 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6347 echo $ECHO_N "(cached) $ECHO_C" >&6
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7154 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7155 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7156 $as_echo_n "(cached) " >&6
63487157 else
63497158 lt_cv_prog_compiler_rtti_exceptions=no
63507159 ac_outfile=conftest.$ac_objext
63597168 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
63607169 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
63617170 -e 's:$: $lt_compiler_flag:'`
6362 (eval echo "\"\$as_me:6363: $lt_compile\"" >&5)
7171 (eval echo "\"\$as_me:7172: $lt_compile\"" >&5)
63637172 (eval "$lt_compile" 2>conftest.err)
63647173 ac_status=$?
63657174 cat conftest.err >&5
6366 echo "$as_me:6367: \$? = $ac_status" >&5
7175 echo "$as_me:7176: \$? = $ac_status" >&5
63677176 if (exit $ac_status) && test -s "$ac_outfile"; then
63687177 # The compiler can only warn and ignore the option if not recognized
63697178 # So say no if there are warnings other than the usual output.
63767185 $rm conftest*
63777186
63787187 fi
6379 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6380 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7189 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
63817190
63827191 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
63837192 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
63917200 lt_prog_compiler_pic=
63927201 lt_prog_compiler_static=
63937202
6394 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6395 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7204 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
63967205
63977206 if test "$GCC" = yes; then
63987207 lt_prog_compiler_wl='-Wl,'
66017410 esac
66027411 fi
66037412
6604 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6605 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7414 $as_echo "$lt_prog_compiler_pic" >&6; }
66067415
66077416 #
66087417 # Check to make sure the PIC flag actually works.
66097418 #
66107419 if test -n "$lt_prog_compiler_pic"; then
66117420
6612 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6613 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6614 if test "${lt_prog_compiler_pic_works+set}" = set; then
6615 echo $ECHO_N "(cached) $ECHO_C" >&6
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7422 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7423 if ${lt_prog_compiler_pic_works+:} false; then :
7424 $as_echo_n "(cached) " >&6
66167425 else
66177426 lt_prog_compiler_pic_works=no
66187427 ac_outfile=conftest.$ac_objext
66277436 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
66287437 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
66297438 -e 's:$: $lt_compiler_flag:'`
6630 (eval echo "\"\$as_me:6631: $lt_compile\"" >&5)
7439 (eval echo "\"\$as_me:7440: $lt_compile\"" >&5)
66317440 (eval "$lt_compile" 2>conftest.err)
66327441 ac_status=$?
66337442 cat conftest.err >&5
6634 echo "$as_me:6635: \$? = $ac_status" >&5
7443 echo "$as_me:7444: \$? = $ac_status" >&5
66357444 if (exit $ac_status) && test -s "$ac_outfile"; then
66367445 # The compiler can only warn and ignore the option if not recognized
66377446 # So say no if there are warnings other than the usual output.
66447453 $rm conftest*
66457454
66467455 fi
6647 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6648 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works" >&5
7457 $as_echo "$lt_prog_compiler_pic_works" >&6; }
66497458
66507459 if test x"$lt_prog_compiler_pic_works" = xyes; then
66517460 case $lt_prog_compiler_pic in
66727481 # Check to make sure the static flag actually works.
66737482 #
66747483 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6675 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6676 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6677 if test "${lt_prog_compiler_static_works+set}" = set; then
6678 echo $ECHO_N "(cached) $ECHO_C" >&6
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7485 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7486 if ${lt_prog_compiler_static_works+:} false; then :
7487 $as_echo_n "(cached) " >&6
66797488 else
66807489 lt_prog_compiler_static_works=no
66817490 save_LDFLAGS="$LDFLAGS"
67007509 LDFLAGS="$save_LDFLAGS"
67017510
67027511 fi
6703 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6704 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works" >&5
7513 $as_echo "$lt_prog_compiler_static_works" >&6; }
67057514
67067515 if test x"$lt_prog_compiler_static_works" = xyes; then
67077516 :
67107519 fi
67117520
67127521
6713 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6714 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6715 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6716 echo $ECHO_N "(cached) $ECHO_C" >&6
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7523 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7524 if ${lt_cv_prog_compiler_c_o+:} false; then :
7525 $as_echo_n "(cached) " >&6
67177526 else
67187527 lt_cv_prog_compiler_c_o=no
67197528 $rm -r conftest 2>/dev/null
67317540 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
67327541 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
67337542 -e 's:$: $lt_compiler_flag:'`
6734 (eval echo "\"\$as_me:6735: $lt_compile\"" >&5)
7543 (eval echo "\"\$as_me:7544: $lt_compile\"" >&5)
67357544 (eval "$lt_compile" 2>out/conftest.err)
67367545 ac_status=$?
67377546 cat out/conftest.err >&5
6738 echo "$as_me:6739: \$? = $ac_status" >&5
7547 echo "$as_me:7548: \$? = $ac_status" >&5
67397548 if (exit $ac_status) && test -s out/conftest2.$ac_objext
67407549 then
67417550 # The compiler can only warn and ignore the option if not recognized
67577566 $rm conftest*
67587567
67597568 fi
6760 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6761 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7570 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
67627571
67637572
67647573 hard_links="nottested"
67657574 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
67667575 # do not overwrite the value of need_locks provided by the user
6767 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6768 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7577 $as_echo_n "checking if we can lock with hard links... " >&6; }
67697578 hard_links=yes
67707579 $rm conftest*
67717580 ln conftest.a conftest.b 2>/dev/null && hard_links=no
67727581 touch conftest.a
67737582 ln conftest.a conftest.b 2>&5 || hard_links=no
67747583 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6775 echo "$as_me:$LINENO: result: $hard_links" >&5
6776 echo "${ECHO_T}$hard_links" >&6
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7585 $as_echo "$hard_links" >&6; }
67777586 if test "$hard_links" = no; then
6778 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6779 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7588 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
67807589 need_locks=warn
67817590 fi
67827591 else
67837592 need_locks=no
67847593 fi
67857594
6786 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6787 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7596 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
67887597
67897598 runpath_var=
67907599 allow_undefined_flag=
71837992 # -berok will link without error, but may produce a broken library.
71847993 allow_undefined_flag='-berok'
71857994 # Determine the default libpath from the value encoded in an empty executable.
7186 cat >conftest.$ac_ext <<_ACEOF
7187 /* confdefs.h. */
7188 _ACEOF
7189 cat confdefs.h >>conftest.$ac_ext
7190 cat >>conftest.$ac_ext <<_ACEOF
7995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71917996 /* end confdefs.h. */
71927997
71937998 int
71988003 return 0;
71998004 }
72008005 _ACEOF
7201 rm -f conftest.$ac_objext conftest$ac_exeext
7202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7203 (eval $ac_link) 2>conftest.er1
7204 ac_status=$?
7205 grep -v '^ *+' conftest.er1 >conftest.err
7206 rm -f conftest.er1
7207 cat conftest.err >&5
7208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7209 (exit $ac_status); } &&
7210 { ac_try='test -z "$ac_c_werror_flag"
7211 || test ! -s conftest.err'
7212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7213 (eval $ac_try) 2>&5
7214 ac_status=$?
7215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216 (exit $ac_status); }; } &&
7217 { ac_try='test -s conftest$ac_exeext'
7218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7219 (eval $ac_try) 2>&5
7220 ac_status=$?
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); }; }; then
8006 if ac_fn_c_try_link "$LINENO"; then :
72238007
72248008 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
72258009 }'`
72268010 # Check for a 64-bit object if we didn't find anything.
72278011 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
72288012 }'`; fi
7229 else
7230 echo "$as_me: failed program was:" >&5
7231 sed 's/^/| /' conftest.$ac_ext >&5
7232
7233 fi
7234 rm -f conftest.err conftest.$ac_objext \
7235 conftest$ac_exeext conftest.$ac_ext
8013 fi
8014 rm -f core conftest.err conftest.$ac_objext \
8015 conftest$ac_exeext conftest.$ac_ext
72368016 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
72378017
72388018 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
72448024 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
72458025 else
72468026 # Determine the default libpath from the value encoded in an empty executable.
7247 cat >conftest.$ac_ext <<_ACEOF
7248 /* confdefs.h. */
7249 _ACEOF
7250 cat confdefs.h >>conftest.$ac_ext
7251 cat >>conftest.$ac_ext <<_ACEOF
8027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72528028 /* end confdefs.h. */
72538029
72548030 int
72598035 return 0;
72608036 }
72618037 _ACEOF
7262 rm -f conftest.$ac_objext conftest$ac_exeext
7263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7264 (eval $ac_link) 2>conftest.er1
7265 ac_status=$?
7266 grep -v '^ *+' conftest.er1 >conftest.err
7267 rm -f conftest.er1
7268 cat conftest.err >&5
7269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7270 (exit $ac_status); } &&
7271 { ac_try='test -z "$ac_c_werror_flag"
7272 || test ! -s conftest.err'
7273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7274 (eval $ac_try) 2>&5
7275 ac_status=$?
7276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7277 (exit $ac_status); }; } &&
7278 { ac_try='test -s conftest$ac_exeext'
7279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7280 (eval $ac_try) 2>&5
7281 ac_status=$?
7282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 (exit $ac_status); }; }; then
8038 if ac_fn_c_try_link "$LINENO"; then :
72848039
72858040 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
72868041 }'`
72878042 # Check for a 64-bit object if we didn't find anything.
72888043 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
72898044 }'`; fi
7290 else
7291 echo "$as_me: failed program was:" >&5
7292 sed 's/^/| /' conftest.$ac_ext >&5
7293
7294 fi
7295 rm -f conftest.err conftest.$ac_objext \
7296 conftest$ac_exeext conftest.$ac_ext
8045 fi
8046 rm -f core conftest.err conftest.$ac_objext \
8047 conftest$ac_exeext conftest.$ac_ext
72978048 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
72988049
72998050 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
77418492 esac
77428493 fi
77438494
7744 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7745 echo "${ECHO_T}$ld_shlibs" >&6
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8496 $as_echo "$ld_shlibs" >&6; }
77468497 test "$ld_shlibs" = no && can_build_shared=no
77478498
77488499 #
77628513 # Test whether the compiler implicitly links with -lc since on some
77638514 # systems, -lgcc has to come before -lc. If gcc already passes -lc
77648515 # to ld, don't add -lc before -lgcc.
7765 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7766 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8517 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
77678518 $rm conftest*
77688519 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
77698520
7770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8521 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
77718522 (eval $ac_compile) 2>&5
77728523 ac_status=$?
7773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774 (exit $ac_status); } 2>conftest.err; then
8524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8525 test $ac_status = 0; } 2>conftest.err; then
77758526 soname=conftest
77768527 lib=conftest
77778528 libobjs=conftest.$ac_objext
77858536 libname=conftest
77868537 lt_save_allow_undefined_flag=$allow_undefined_flag
77878538 allow_undefined_flag=
7788 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8539 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
77898540 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
77908541 ac_status=$?
7791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7792 (exit $ac_status); }
8542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8543 test $ac_status = 0; }
77938544 then
77948545 archive_cmds_need_lc=no
77958546 else
78008551 cat conftest.err 1>&5
78018552 fi
78028553 $rm conftest*
7803 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7804 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8555 $as_echo "$archive_cmds_need_lc" >&6; }
78058556 ;;
78068557 esac
78078558 fi
78088559 ;;
78098560 esac
78108561
7811 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7812 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8563 $as_echo_n "checking dynamic linker characteristics... " >&6; }
78138564 library_names_spec=
78148565 libname_spec='lib$name'
78158566 soname_spec=
83969147 dynamic_linker=no
83979148 ;;
83989149 esac
8399 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8400 echo "${ECHO_T}$dynamic_linker" >&6
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9151 $as_echo "$dynamic_linker" >&6; }
84019152 test "$dynamic_linker" = no && can_build_shared=no
84029153
84039154 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
84059156 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
84069157 fi
84079158
8408 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8409 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9160 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
84109161 hardcode_action=
84119162 if test -n "$hardcode_libdir_flag_spec" || \
84129163 test -n "$runpath_var" || \
84309181 # directories.
84319182 hardcode_action=unsupported
84329183 fi
8433 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8434 echo "${ECHO_T}$hardcode_action" >&6
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9185 $as_echo "$hardcode_action" >&6; }
84359186
84369187 if test "$hardcode_action" = relink; then
84379188 # Fast installation is not supported
84449195
84459196 striplib=
84469197 old_striplib=
8447 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8448 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9199 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
84499200 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
84509201 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
84519202 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8452 echo "$as_me:$LINENO: result: yes" >&5
8453 echo "${ECHO_T}yes" >&6
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9204 $as_echo "yes" >&6; }
84549205 else
84559206 # FIXME - insert some real tests, host_os isn't really good enough
84569207 case $host_os in
84579208 darwin*)
84589209 if test -n "$STRIP" ; then
84599210 striplib="$STRIP -x"
8460 echo "$as_me:$LINENO: result: yes" >&5
8461 echo "${ECHO_T}yes" >&6
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9212 $as_echo "yes" >&6; }
84629213 else
8463 echo "$as_me:$LINENO: result: no" >&5
8464 echo "${ECHO_T}no" >&6
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9215 $as_echo "no" >&6; }
84659216 fi
84669217 ;;
84679218 *)
8468 echo "$as_me:$LINENO: result: no" >&5
8469 echo "${ECHO_T}no" >&6
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9220 $as_echo "no" >&6; }
84709221 ;;
84719222 esac
84729223 fi
84989249
84999250 darwin*)
85009251 # if libdl is installed we need to link against it
8501 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8502 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8503 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8504 echo $ECHO_N "(cached) $ECHO_C" >&6
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9253 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9254 if ${ac_cv_lib_dl_dlopen+:} false; then :
9255 $as_echo_n "(cached) " >&6
85059256 else
85069257 ac_check_lib_save_LIBS=$LIBS
85079258 LIBS="-ldl $LIBS"
8508 cat >conftest.$ac_ext <<_ACEOF
8509 /* confdefs.h. */
8510 _ACEOF
8511 cat confdefs.h >>conftest.$ac_ext
8512 cat >>conftest.$ac_ext <<_ACEOF
9259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85139260 /* end confdefs.h. */
85149261
8515 /* Override any gcc2 internal prototype to avoid an error. */
9262 /* Override any GCC internal prototype to avoid an error.
9263 Use char because int might match the return type of a GCC
9264 builtin and then its argument prototype would still apply. */
85169265 #ifdef __cplusplus
85179266 extern "C"
85189267 #endif
8519 /* We use char because int might match the return type of a gcc2
8520 builtin and then its argument prototype would still apply. */
85219268 char dlopen ();
85229269 int
85239270 main ()
85249271 {
8525 dlopen ();
9272 return dlopen ();
85269273 ;
85279274 return 0;
85289275 }
85299276 _ACEOF
8530 rm -f conftest.$ac_objext conftest$ac_exeext
8531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8532 (eval $ac_link) 2>conftest.er1
8533 ac_status=$?
8534 grep -v '^ *+' conftest.er1 >conftest.err
8535 rm -f conftest.er1
8536 cat conftest.err >&5
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); } &&
8539 { ac_try='test -z "$ac_c_werror_flag"
8540 || test ! -s conftest.err'
8541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8542 (eval $ac_try) 2>&5
8543 ac_status=$?
8544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545 (exit $ac_status); }; } &&
8546 { ac_try='test -s conftest$ac_exeext'
8547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8548 (eval $ac_try) 2>&5
8549 ac_status=$?
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); }; }; then
9277 if ac_fn_c_try_link "$LINENO"; then :
85529278 ac_cv_lib_dl_dlopen=yes
85539279 else
8554 echo "$as_me: failed program was:" >&5
8555 sed 's/^/| /' conftest.$ac_ext >&5
8556
8557 ac_cv_lib_dl_dlopen=no
8558 fi
8559 rm -f conftest.err conftest.$ac_objext \
8560 conftest$ac_exeext conftest.$ac_ext
9280 ac_cv_lib_dl_dlopen=no
9281 fi
9282 rm -f core conftest.err conftest.$ac_objext \
9283 conftest$ac_exeext conftest.$ac_ext
85619284 LIBS=$ac_check_lib_save_LIBS
85629285 fi
8563 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8564 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8565 if test $ac_cv_lib_dl_dlopen = yes; then
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9287 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9288 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
85669289 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
85679290 else
85689291
85759298 ;;
85769299
85779300 *)
8578 echo "$as_me:$LINENO: checking for shl_load" >&5
8579 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8580 if test "${ac_cv_func_shl_load+set}" = set; then
8581 echo $ECHO_N "(cached) $ECHO_C" >&6
8582 else
8583 cat >conftest.$ac_ext <<_ACEOF
8584 /* confdefs.h. */
8585 _ACEOF
8586 cat confdefs.h >>conftest.$ac_ext
8587 cat >>conftest.$ac_ext <<_ACEOF
8588 /* end confdefs.h. */
8589 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8591 #define shl_load innocuous_shl_load
8592
8593 /* System header to define __stub macros and hopefully few prototypes,
8594 which can conflict with char shl_load (); below.
8595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8596 <limits.h> exists even on freestanding compilers. */
8597
8598 #ifdef __STDC__
8599 # include <limits.h>
8600 #else
8601 # include <assert.h>
8602 #endif
8603
8604 #undef shl_load
8605
8606 /* Override any gcc2 internal prototype to avoid an error. */
8607 #ifdef __cplusplus
8608 extern "C"
8609 {
8610 #endif
8611 /* We use char because int might match the return type of a gcc2
8612 builtin and then its argument prototype would still apply. */
8613 char shl_load ();
8614 /* The GNU C library defines this for functions which it implements
8615 to always fail with ENOSYS. Some functions are actually named
8616 something starting with __ and the normal name is an alias. */
8617 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8618 choke me
8619 #else
8620 char (*f) () = shl_load;
8621 #endif
8622 #ifdef __cplusplus
8623 }
8624 #endif
8625
8626 int
8627 main ()
8628 {
8629 return f != shl_load;
8630 ;
8631 return 0;
8632 }
8633 _ACEOF
8634 rm -f conftest.$ac_objext conftest$ac_exeext
8635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8636 (eval $ac_link) 2>conftest.er1
8637 ac_status=$?
8638 grep -v '^ *+' conftest.er1 >conftest.err
8639 rm -f conftest.er1
8640 cat conftest.err >&5
8641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8642 (exit $ac_status); } &&
8643 { ac_try='test -z "$ac_c_werror_flag"
8644 || test ! -s conftest.err'
8645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8646 (eval $ac_try) 2>&5
8647 ac_status=$?
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); }; } &&
8650 { ac_try='test -s conftest$ac_exeext'
8651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8652 (eval $ac_try) 2>&5
8653 ac_status=$?
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); }; }; then
8656 ac_cv_func_shl_load=yes
8657 else
8658 echo "$as_me: failed program was:" >&5
8659 sed 's/^/| /' conftest.$ac_ext >&5
8660
8661 ac_cv_func_shl_load=no
8662 fi
8663 rm -f conftest.err conftest.$ac_objext \
8664 conftest$ac_exeext conftest.$ac_ext
8665 fi
8666 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8667 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8668 if test $ac_cv_func_shl_load = yes; then
9301 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
9302 if test "x$ac_cv_func_shl_load" = xyes; then :
86699303 lt_cv_dlopen="shl_load"
86709304 else
8671 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8672 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8673 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8674 echo $ECHO_N "(cached) $ECHO_C" >&6
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9306 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9307 if ${ac_cv_lib_dld_shl_load+:} false; then :
9308 $as_echo_n "(cached) " >&6
86759309 else
86769310 ac_check_lib_save_LIBS=$LIBS
86779311 LIBS="-ldld $LIBS"
8678 cat >conftest.$ac_ext <<_ACEOF
8679 /* confdefs.h. */
8680 _ACEOF
8681 cat confdefs.h >>conftest.$ac_ext
8682 cat >>conftest.$ac_ext <<_ACEOF
9312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86839313 /* end confdefs.h. */
86849314
8685 /* Override any gcc2 internal prototype to avoid an error. */
9315 /* Override any GCC internal prototype to avoid an error.
9316 Use char because int might match the return type of a GCC
9317 builtin and then its argument prototype would still apply. */
86869318 #ifdef __cplusplus
86879319 extern "C"
86889320 #endif
8689 /* We use char because int might match the return type of a gcc2
8690 builtin and then its argument prototype would still apply. */
86919321 char shl_load ();
86929322 int
86939323 main ()
86949324 {
8695 shl_load ();
9325 return shl_load ();
86969326 ;
86979327 return 0;
86989328 }
86999329 _ACEOF
8700 rm -f conftest.$ac_objext conftest$ac_exeext
8701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8702 (eval $ac_link) 2>conftest.er1
8703 ac_status=$?
8704 grep -v '^ *+' conftest.er1 >conftest.err
8705 rm -f conftest.er1
8706 cat conftest.err >&5
8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 (exit $ac_status); } &&
8709 { ac_try='test -z "$ac_c_werror_flag"
8710 || test ! -s conftest.err'
8711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8712 (eval $ac_try) 2>&5
8713 ac_status=$?
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); }; } &&
8716 { ac_try='test -s conftest$ac_exeext'
8717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8718 (eval $ac_try) 2>&5
8719 ac_status=$?
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); }; }; then
9330 if ac_fn_c_try_link "$LINENO"; then :
87229331 ac_cv_lib_dld_shl_load=yes
87239332 else
8724 echo "$as_me: failed program was:" >&5
8725 sed 's/^/| /' conftest.$ac_ext >&5
8726
8727 ac_cv_lib_dld_shl_load=no
8728 fi
8729 rm -f conftest.err conftest.$ac_objext \
8730 conftest$ac_exeext conftest.$ac_ext
9333 ac_cv_lib_dld_shl_load=no
9334 fi
9335 rm -f core conftest.err conftest.$ac_objext \
9336 conftest$ac_exeext conftest.$ac_ext
87319337 LIBS=$ac_check_lib_save_LIBS
87329338 fi
8733 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8734 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8735 if test $ac_cv_lib_dld_shl_load = yes; then
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9340 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9341 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
87369342 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
87379343 else
8738 echo "$as_me:$LINENO: checking for dlopen" >&5
8739 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8740 if test "${ac_cv_func_dlopen+set}" = set; then
8741 echo $ECHO_N "(cached) $ECHO_C" >&6
8742 else
8743 cat >conftest.$ac_ext <<_ACEOF
8744 /* confdefs.h. */
8745 _ACEOF
8746 cat confdefs.h >>conftest.$ac_ext
8747 cat >>conftest.$ac_ext <<_ACEOF
8748 /* end confdefs.h. */
8749 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8751 #define dlopen innocuous_dlopen
8752
8753 /* System header to define __stub macros and hopefully few prototypes,
8754 which can conflict with char dlopen (); below.
8755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8756 <limits.h> exists even on freestanding compilers. */
8757
8758 #ifdef __STDC__
8759 # include <limits.h>
8760 #else
8761 # include <assert.h>
8762 #endif
8763
8764 #undef dlopen
8765
8766 /* Override any gcc2 internal prototype to avoid an error. */
8767 #ifdef __cplusplus
8768 extern "C"
8769 {
8770 #endif
8771 /* We use char because int might match the return type of a gcc2
8772 builtin and then its argument prototype would still apply. */
8773 char dlopen ();
8774 /* The GNU C library defines this for functions which it implements
8775 to always fail with ENOSYS. Some functions are actually named
8776 something starting with __ and the normal name is an alias. */
8777 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8778 choke me
8779 #else
8780 char (*f) () = dlopen;
8781 #endif
8782 #ifdef __cplusplus
8783 }
8784 #endif
8785
8786 int
8787 main ()
8788 {
8789 return f != dlopen;
8790 ;
8791 return 0;
8792 }
8793 _ACEOF
8794 rm -f conftest.$ac_objext conftest$ac_exeext
8795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8796 (eval $ac_link) 2>conftest.er1
8797 ac_status=$?
8798 grep -v '^ *+' conftest.er1 >conftest.err
8799 rm -f conftest.er1
8800 cat conftest.err >&5
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); } &&
8803 { ac_try='test -z "$ac_c_werror_flag"
8804 || test ! -s conftest.err'
8805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8806 (eval $ac_try) 2>&5
8807 ac_status=$?
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 (exit $ac_status); }; } &&
8810 { ac_try='test -s conftest$ac_exeext'
8811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8812 (eval $ac_try) 2>&5
8813 ac_status=$?
8814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8815 (exit $ac_status); }; }; then
8816 ac_cv_func_dlopen=yes
8817 else
8818 echo "$as_me: failed program was:" >&5
8819 sed 's/^/| /' conftest.$ac_ext >&5
8820
8821 ac_cv_func_dlopen=no
8822 fi
8823 rm -f conftest.err conftest.$ac_objext \
8824 conftest$ac_exeext conftest.$ac_ext
8825 fi
8826 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8827 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8828 if test $ac_cv_func_dlopen = yes; then
9344 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
9345 if test "x$ac_cv_func_dlopen" = xyes; then :
88299346 lt_cv_dlopen="dlopen"
88309347 else
8831 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8832 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8833 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8834 echo $ECHO_N "(cached) $ECHO_C" >&6
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9349 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9350 if ${ac_cv_lib_dl_dlopen+:} false; then :
9351 $as_echo_n "(cached) " >&6
88359352 else
88369353 ac_check_lib_save_LIBS=$LIBS
88379354 LIBS="-ldl $LIBS"
8838 cat >conftest.$ac_ext <<_ACEOF
8839 /* confdefs.h. */
8840 _ACEOF
8841 cat confdefs.h >>conftest.$ac_ext
8842 cat >>conftest.$ac_ext <<_ACEOF
9355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88439356 /* end confdefs.h. */
88449357
8845 /* Override any gcc2 internal prototype to avoid an error. */
9358 /* Override any GCC internal prototype to avoid an error.
9359 Use char because int might match the return type of a GCC
9360 builtin and then its argument prototype would still apply. */
88469361 #ifdef __cplusplus
88479362 extern "C"
88489363 #endif
8849 /* We use char because int might match the return type of a gcc2
8850 builtin and then its argument prototype would still apply. */
88519364 char dlopen ();
88529365 int
88539366 main ()
88549367 {
8855 dlopen ();
9368 return dlopen ();
88569369 ;
88579370 return 0;
88589371 }
88599372 _ACEOF
8860 rm -f conftest.$ac_objext conftest$ac_exeext
8861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8862 (eval $ac_link) 2>conftest.er1
8863 ac_status=$?
8864 grep -v '^ *+' conftest.er1 >conftest.err
8865 rm -f conftest.er1
8866 cat conftest.err >&5
8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 (exit $ac_status); } &&
8869 { ac_try='test -z "$ac_c_werror_flag"
8870 || test ! -s conftest.err'
8871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8872 (eval $ac_try) 2>&5
8873 ac_status=$?
8874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8875 (exit $ac_status); }; } &&
8876 { ac_try='test -s conftest$ac_exeext'
8877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8878 (eval $ac_try) 2>&5
8879 ac_status=$?
8880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8881 (exit $ac_status); }; }; then
9373 if ac_fn_c_try_link "$LINENO"; then :
88829374 ac_cv_lib_dl_dlopen=yes
88839375 else
8884 echo "$as_me: failed program was:" >&5
8885 sed 's/^/| /' conftest.$ac_ext >&5
8886
8887 ac_cv_lib_dl_dlopen=no
8888 fi
8889 rm -f conftest.err conftest.$ac_objext \
8890 conftest$ac_exeext conftest.$ac_ext
9376 ac_cv_lib_dl_dlopen=no
9377 fi
9378 rm -f core conftest.err conftest.$ac_objext \
9379 conftest$ac_exeext conftest.$ac_ext
88919380 LIBS=$ac_check_lib_save_LIBS
88929381 fi
8893 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8894 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8895 if test $ac_cv_lib_dl_dlopen = yes; then
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9383 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9384 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
88969385 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
88979386 else
8898 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8899 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8900 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8901 echo $ECHO_N "(cached) $ECHO_C" >&6
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9388 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9389 if ${ac_cv_lib_svld_dlopen+:} false; then :
9390 $as_echo_n "(cached) " >&6
89029391 else
89039392 ac_check_lib_save_LIBS=$LIBS
89049393 LIBS="-lsvld $LIBS"
8905 cat >conftest.$ac_ext <<_ACEOF
8906 /* confdefs.h. */
8907 _ACEOF
8908 cat confdefs.h >>conftest.$ac_ext
8909 cat >>conftest.$ac_ext <<_ACEOF
9394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89109395 /* end confdefs.h. */
89119396
8912 /* Override any gcc2 internal prototype to avoid an error. */
9397 /* Override any GCC internal prototype to avoid an error.
9398 Use char because int might match the return type of a GCC
9399 builtin and then its argument prototype would still apply. */
89139400 #ifdef __cplusplus
89149401 extern "C"
89159402 #endif
8916 /* We use char because int might match the return type of a gcc2
8917 builtin and then its argument prototype would still apply. */
89189403 char dlopen ();
89199404 int
89209405 main ()
89219406 {
8922 dlopen ();
9407 return dlopen ();
89239408 ;
89249409 return 0;
89259410 }
89269411 _ACEOF
8927 rm -f conftest.$ac_objext conftest$ac_exeext
8928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8929 (eval $ac_link) 2>conftest.er1
8930 ac_status=$?
8931 grep -v '^ *+' conftest.er1 >conftest.err
8932 rm -f conftest.er1
8933 cat conftest.err >&5
8934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935 (exit $ac_status); } &&
8936 { ac_try='test -z "$ac_c_werror_flag"
8937 || test ! -s conftest.err'
8938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8939 (eval $ac_try) 2>&5
8940 ac_status=$?
8941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942 (exit $ac_status); }; } &&
8943 { ac_try='test -s conftest$ac_exeext'
8944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8945 (eval $ac_try) 2>&5
8946 ac_status=$?
8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948 (exit $ac_status); }; }; then
9412 if ac_fn_c_try_link "$LINENO"; then :
89499413 ac_cv_lib_svld_dlopen=yes
89509414 else
8951 echo "$as_me: failed program was:" >&5
8952 sed 's/^/| /' conftest.$ac_ext >&5
8953
8954 ac_cv_lib_svld_dlopen=no
8955 fi
8956 rm -f conftest.err conftest.$ac_objext \
8957 conftest$ac_exeext conftest.$ac_ext
9415 ac_cv_lib_svld_dlopen=no
9416 fi
9417 rm -f core conftest.err conftest.$ac_objext \
9418 conftest$ac_exeext conftest.$ac_ext
89589419 LIBS=$ac_check_lib_save_LIBS
89599420 fi
8960 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8961 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8962 if test $ac_cv_lib_svld_dlopen = yes; then
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9422 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9423 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
89639424 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
89649425 else
8965 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8966 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8967 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8968 echo $ECHO_N "(cached) $ECHO_C" >&6
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9427 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9428 if ${ac_cv_lib_dld_dld_link+:} false; then :
9429 $as_echo_n "(cached) " >&6
89699430 else
89709431 ac_check_lib_save_LIBS=$LIBS
89719432 LIBS="-ldld $LIBS"
8972 cat >conftest.$ac_ext <<_ACEOF
8973 /* confdefs.h. */
8974 _ACEOF
8975 cat confdefs.h >>conftest.$ac_ext
8976 cat >>conftest.$ac_ext <<_ACEOF
9433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89779434 /* end confdefs.h. */
89789435
8979 /* Override any gcc2 internal prototype to avoid an error. */
9436 /* Override any GCC internal prototype to avoid an error.
9437 Use char because int might match the return type of a GCC
9438 builtin and then its argument prototype would still apply. */
89809439 #ifdef __cplusplus
89819440 extern "C"
89829441 #endif
8983 /* We use char because int might match the return type of a gcc2
8984 builtin and then its argument prototype would still apply. */
89859442 char dld_link ();
89869443 int
89879444 main ()
89889445 {
8989 dld_link ();
9446 return dld_link ();
89909447 ;
89919448 return 0;
89929449 }
89939450 _ACEOF
8994 rm -f conftest.$ac_objext conftest$ac_exeext
8995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8996 (eval $ac_link) 2>conftest.er1
8997 ac_status=$?
8998 grep -v '^ *+' conftest.er1 >conftest.err
8999 rm -f conftest.er1
9000 cat conftest.err >&5
9001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9002 (exit $ac_status); } &&
9003 { ac_try='test -z "$ac_c_werror_flag"
9004 || test ! -s conftest.err'
9005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9006 (eval $ac_try) 2>&5
9007 ac_status=$?
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 (exit $ac_status); }; } &&
9010 { ac_try='test -s conftest$ac_exeext'
9011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9012 (eval $ac_try) 2>&5
9013 ac_status=$?
9014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9015 (exit $ac_status); }; }; then
9451 if ac_fn_c_try_link "$LINENO"; then :
90169452 ac_cv_lib_dld_dld_link=yes
90179453 else
9018 echo "$as_me: failed program was:" >&5
9019 sed 's/^/| /' conftest.$ac_ext >&5
9020
9021 ac_cv_lib_dld_dld_link=no
9022 fi
9023 rm -f conftest.err conftest.$ac_objext \
9024 conftest$ac_exeext conftest.$ac_ext
9454 ac_cv_lib_dld_dld_link=no
9455 fi
9456 rm -f core conftest.err conftest.$ac_objext \
9457 conftest$ac_exeext conftest.$ac_ext
90259458 LIBS=$ac_check_lib_save_LIBS
90269459 fi
9027 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9028 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9029 if test $ac_cv_lib_dld_dld_link = yes; then
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9461 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9462 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
90309463 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
90319464 fi
90329465
90659498 save_LIBS="$LIBS"
90669499 LIBS="$lt_cv_dlopen_libs $LIBS"
90679500
9068 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9069 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9070 if test "${lt_cv_dlopen_self+set}" = set; then
9071 echo $ECHO_N "(cached) $ECHO_C" >&6
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9502 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9503 if ${lt_cv_dlopen_self+:} false; then :
9504 $as_echo_n "(cached) " >&6
90729505 else
90739506 if test "$cross_compiling" = yes; then :
90749507 lt_cv_dlopen_self=cross
90769509 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
90779510 lt_status=$lt_dlunknown
90789511 cat > conftest.$ac_ext <<EOF
9079 #line 9080 "configure"
9512 #line 9513 "configure"
90809513 #include "confdefs.h"
90819514
90829515 #if HAVE_DLFCN_H
91399572 exit (status);
91409573 }
91419574 EOF
9142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9575 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
91439576 (eval $ac_link) 2>&5
91449577 ac_status=$?
9145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9579 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
91479580 (./conftest; exit; ) >&5 2>/dev/null
91489581 lt_status=$?
91499582 case x$lt_status in
91609593
91619594
91629595 fi
9163 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9164 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9597 $as_echo "$lt_cv_dlopen_self" >&6; }
91659598
91669599 if test "x$lt_cv_dlopen_self" = xyes; then
91679600 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9168 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9169 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9170 if test "${lt_cv_dlopen_self_static+set}" = set; then
9171 echo $ECHO_N "(cached) $ECHO_C" >&6
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9602 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9603 if ${lt_cv_dlopen_self_static+:} false; then :
9604 $as_echo_n "(cached) " >&6
91729605 else
91739606 if test "$cross_compiling" = yes; then :
91749607 lt_cv_dlopen_self_static=cross
91769609 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
91779610 lt_status=$lt_dlunknown
91789611 cat > conftest.$ac_ext <<EOF
9179 #line 9180 "configure"
9612 #line 9613 "configure"
91809613 #include "confdefs.h"
91819614
91829615 #if HAVE_DLFCN_H
92399672 exit (status);
92409673 }
92419674 EOF
9242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9675 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
92439676 (eval $ac_link) 2>&5
92449677 ac_status=$?
9245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9246 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9679 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
92479680 (./conftest; exit; ) >&5 2>/dev/null
92489681 lt_status=$?
92499682 case x$lt_status in
92609693
92619694
92629695 fi
9263 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9264 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9697 $as_echo "$lt_cv_dlopen_self_static" >&6; }
92659698 fi
92669699
92679700 CPPFLAGS="$save_CPPFLAGS"
92839716
92849717
92859718 # Report which library types will actually be built
9286 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9287 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9288 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9289 echo "${ECHO_T}$can_build_shared" >&6
9290
9291 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9292 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9720 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9722 $as_echo "$can_build_shared" >&6; }
9723
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9725 $as_echo_n "checking whether to build shared libraries... " >&6; }
92939726 test "$can_build_shared" = "no" && enable_shared=no
92949727
92959728 # On AIX, shared libraries and static libraries use the same namespace, and
93099742 fi
93109743 ;;
93119744 esac
9312 echo "$as_me:$LINENO: result: $enable_shared" >&5
9313 echo "${ECHO_T}$enable_shared" >&6
9314
9315 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9316 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
9746 $as_echo "$enable_shared" >&6; }
9747
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
9749 $as_echo_n "checking whether to build static libraries... " >&6; }
93179750 # Make sure either enable_shared or enable_static is yes.
93189751 test "$enable_shared" = yes || enable_static=yes
9319 echo "$as_me:$LINENO: result: $enable_static" >&5
9320 echo "${ECHO_T}$enable_static" >&6
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
9753 $as_echo "$enable_static" >&6; }
93219754
93229755 # The else clause should only fire when bootstrapping the
93239756 # libtool distribution, otherwise you forgot to ship ltmain.sh
94089841 cfgfile="${ofile}T"
94099842 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
94109843 $rm -f "$cfgfile"
9411 { echo "$as_me:$LINENO: creating $ofile" >&5
9412 echo "$as_me: creating $ofile" >&6;}
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
9845 $as_echo "$as_me: creating $ofile" >&6;}
94139846
94149847 cat <<__EOF__ >> "$cfgfile"
94159848 #! $SHELL
980910242 CC="$lt_save_CC"
981010243
981110244
9812 # Check whether --with-tags or --without-tags was given.
9813 if test "${with_tags+set}" = set; then
9814 withval="$with_tags"
9815 tagnames="$withval"
9816 fi;
10245 # Check whether --with-tags was given.
10246 if test "${with_tags+set}" = set; then :
10247 withval=$with_tags; tagnames="$withval"
10248 fi
10249
981710250
981810251 if test -f "$ltmain" && test -n "$tagnames"; then
981910252 if test ! -f "${ofile}"; then
9820 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9821 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not exist" >&5
10254 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
982210255 fi
982310256
982410257 if test -z "$LTCC"; then
982510258 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
982610259 if test -z "$LTCC"; then
9827 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9828 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10261 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
982910262 else
9830 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9831 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10264 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
983210265 fi
983310266 fi
983410267 if test -z "$LTCFLAGS"; then
984510278 # Check whether tagname contains only valid characters
984610279 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
984710280 "") ;;
9848 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9849 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9850 { (exit 1); exit 1; }; }
10281 *) as_fn_error $? "invalid tag name: $tagname" "$LINENO" 5
985110282 ;;
985210283 esac
985310284
985410285 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
985510286 then
9856 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9857 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9858 { (exit 1); exit 1; }; }
10287 as_fn_error $? "tag name \"$tagname\" already exists" "$LINENO" 5
985910288 fi
986010289
986110290 # Update the list of available tags.
986710296 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
986810297 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
986910298 (test "X$CXX" != "Xg++"))) ; then
9870 ac_ext=cc
10299 ac_ext=cpp
987110300 ac_cpp='$CXXCPP $CPPFLAGS'
987210301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
987310302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
998610415 # Set up default GNU C++ configuration
998710416
998810417
9989 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9990 if test "${with_gnu_ld+set}" = set; then
9991 withval="$with_gnu_ld"
9992 test "$withval" = no || with_gnu_ld=yes
10418 # Check whether --with-gnu-ld was given.
10419 if test "${with_gnu_ld+set}" = set; then :
10420 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
999310421 else
999410422 with_gnu_ld=no
9995 fi;
10423 fi
10424
999610425 ac_prog=ld
999710426 if test "$GCC" = yes; then
999810427 # Check if gcc -print-prog-name=ld gives a path.
9999 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10000 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
10429 $as_echo_n "checking for ld used by $CC... " >&6; }
1000110430 case $host in
1000210431 *-*-mingw*)
1000310432 # gcc leaves a trailing carriage return which upsets mingw
1002610455 ;;
1002710456 esac
1002810457 elif test "$with_gnu_ld" = yes; then
10029 echo "$as_me:$LINENO: checking for GNU ld" >&5
10030 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10031 else
10032 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10033 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10034 fi
10035 if test "${lt_cv_path_LD+set}" = set; then
10036 echo $ECHO_N "(cached) $ECHO_C" >&6
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
10459 $as_echo_n "checking for GNU ld... " >&6; }
10460 else
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
10462 $as_echo_n "checking for non-GNU ld... " >&6; }
10463 fi
10464 if ${lt_cv_path_LD+:} false; then :
10465 $as_echo_n "(cached) " >&6
1003710466 else
1003810467 if test -z "$LD"; then
1003910468 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1006310492
1006410493 LD="$lt_cv_path_LD"
1006510494 if test -n "$LD"; then
10066 echo "$as_me:$LINENO: result: $LD" >&5
10067 echo "${ECHO_T}$LD" >&6
10068 else
10069 echo "$as_me:$LINENO: result: no" >&5
10070 echo "${ECHO_T}no" >&6
10071 fi
10072 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10073 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10074 { (exit 1); exit 1; }; }
10075 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10076 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10077 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10078 echo $ECHO_N "(cached) $ECHO_C" >&6
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
10496 $as_echo "$LD" >&6; }
10497 else
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10499 $as_echo "no" >&6; }
10500 fi
10501 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
10503 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
10504 if ${lt_cv_prog_gnu_ld+:} false; then :
10505 $as_echo_n "(cached) " >&6
1007910506 else
1008010507 # I'd rather use --version here, but apparently some GNU lds only accept -v.
1008110508 case `$LD -v 2>&1 </dev/null` in
1008710514 ;;
1008810515 esac
1008910516 fi
10090 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10091 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
10518 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1009210519 with_gnu_ld=$lt_cv_prog_gnu_ld
1009310520
1009410521
1013810565 fi
1013910566
1014010567 # PORTME: fill in a description of your system's C++ link characteristics
10141 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10142 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10569 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1014310570 ld_shlibs_CXX=yes
1014410571 case $host_os in
1014510572 aix3*)
1023510662 # -berok will link without error, but may produce a broken library.
1023610663 allow_undefined_flag_CXX='-berok'
1023710664 # Determine the default libpath from the value encoded in an empty executable.
10238 cat >conftest.$ac_ext <<_ACEOF
10239 /* confdefs.h. */
10240 _ACEOF
10241 cat confdefs.h >>conftest.$ac_ext
10242 cat >>conftest.$ac_ext <<_ACEOF
10665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1024310666 /* end confdefs.h. */
1024410667
1024510668 int
1025010673 return 0;
1025110674 }
1025210675 _ACEOF
10253 rm -f conftest.$ac_objext conftest$ac_exeext
10254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10255 (eval $ac_link) 2>conftest.er1
10256 ac_status=$?
10257 grep -v '^ *+' conftest.er1 >conftest.err
10258 rm -f conftest.er1
10259 cat conftest.err >&5
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); } &&
10262 { ac_try='test -z "$ac_cxx_werror_flag"
10263 || test ! -s conftest.err'
10264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10265 (eval $ac_try) 2>&5
10266 ac_status=$?
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); }; } &&
10269 { ac_try='test -s conftest$ac_exeext'
10270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10271 (eval $ac_try) 2>&5
10272 ac_status=$?
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); }; }; then
10676 if ac_fn_cxx_try_link "$LINENO"; then :
1027510677
1027610678 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1027710679 }'`
1027810680 # Check for a 64-bit object if we didn't find anything.
1027910681 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1028010682 }'`; fi
10281 else
10282 echo "$as_me: failed program was:" >&5
10283 sed 's/^/| /' conftest.$ac_ext >&5
10284
10285 fi
10286 rm -f conftest.err conftest.$ac_objext \
10287 conftest$ac_exeext conftest.$ac_ext
10683 fi
10684 rm -f core conftest.err conftest.$ac_objext \
10685 conftest$ac_exeext conftest.$ac_ext
1028810686 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1028910687
1029010688 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
1029710695 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
1029810696 else
1029910697 # Determine the default libpath from the value encoded in an empty executable.
10300 cat >conftest.$ac_ext <<_ACEOF
10301 /* confdefs.h. */
10302 _ACEOF
10303 cat confdefs.h >>conftest.$ac_ext
10304 cat >>conftest.$ac_ext <<_ACEOF
10698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1030510699 /* end confdefs.h. */
1030610700
1030710701 int
1031210706 return 0;
1031310707 }
1031410708 _ACEOF
10315 rm -f conftest.$ac_objext conftest$ac_exeext
10316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10317 (eval $ac_link) 2>conftest.er1
10318 ac_status=$?
10319 grep -v '^ *+' conftest.er1 >conftest.err
10320 rm -f conftest.er1
10321 cat conftest.err >&5
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); } &&
10324 { ac_try='test -z "$ac_cxx_werror_flag"
10325 || test ! -s conftest.err'
10326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10327 (eval $ac_try) 2>&5
10328 ac_status=$?
10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10330 (exit $ac_status); }; } &&
10331 { ac_try='test -s conftest$ac_exeext'
10332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10333 (eval $ac_try) 2>&5
10334 ac_status=$?
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); }; }; then
10709 if ac_fn_cxx_try_link "$LINENO"; then :
1033710710
1033810711 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1033910712 }'`
1034010713 # Check for a 64-bit object if we didn't find anything.
1034110714 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1034210715 }'`; fi
10343 else
10344 echo "$as_me: failed program was:" >&5
10345 sed 's/^/| /' conftest.$ac_ext >&5
10346
10347 fi
10348 rm -f conftest.err conftest.$ac_objext \
10349 conftest$ac_exeext conftest.$ac_ext
10716 fi
10717 rm -f core conftest.err conftest.$ac_objext \
10718 conftest$ac_exeext conftest.$ac_ext
1035010719 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1035110720
1035210721 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
1107611445 ld_shlibs_CXX=no
1107711446 ;;
1107811447 esac
11079 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11080 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
11449 $as_echo "$ld_shlibs_CXX" >&6; }
1108111450 test "$ld_shlibs_CXX" = no && can_build_shared=no
1108211451
1108311452 GCC_CXX="$GXX"
1109411463 };
1109511464 EOF
1109611465
11097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11466 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1109811467 (eval $ac_compile) 2>&5
1109911468 ac_status=$?
11100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); }; then
11469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11470 test $ac_status = 0; }; then
1110211471 # Parse the compiler output and extract the necessary
1110311472 # objects, libraries and library flags.
1110411473
1121611585 lt_prog_compiler_pic_CXX=
1121711586 lt_prog_compiler_static_CXX=
1121811587
11219 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11220 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11589 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
1122111590
1122211591 # C++ specific cases for pic, static, wl, etc.
1122311592 if test "$GXX" = yes; then
1149011859 esac
1149111860 fi
1149211861
11493 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11494 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
11863 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
1149511864
1149611865 #
1149711866 # Check to make sure the PIC flag actually works.
1149811867 #
1149911868 if test -n "$lt_prog_compiler_pic_CXX"; then
1150011869
11501 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11502 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11503 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11504 echo $ECHO_N "(cached) $ECHO_C" >&6
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11871 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
11872 if ${lt_prog_compiler_pic_works_CXX+:} false; then :
11873 $as_echo_n "(cached) " >&6
1150511874 else
1150611875 lt_prog_compiler_pic_works_CXX=no
1150711876 ac_outfile=conftest.$ac_objext
1151611885 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1151711886 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1151811887 -e 's:$: $lt_compiler_flag:'`
11519 (eval echo "\"\$as_me:11520: $lt_compile\"" >&5)
11888 (eval echo "\"\$as_me:11889: $lt_compile\"" >&5)
1152011889 (eval "$lt_compile" 2>conftest.err)
1152111890 ac_status=$?
1152211891 cat conftest.err >&5
11523 echo "$as_me:11524: \$? = $ac_status" >&5
11892 echo "$as_me:11893: \$? = $ac_status" >&5
1152411893 if (exit $ac_status) && test -s "$ac_outfile"; then
1152511894 # The compiler can only warn and ignore the option if not recognized
1152611895 # So say no if there are warnings other than the usual output.
1153311902 $rm conftest*
1153411903
1153511904 fi
11536 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11537 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_CXX" >&5
11906 $as_echo "$lt_prog_compiler_pic_works_CXX" >&6; }
1153811907
1153911908 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
1154011909 case $lt_prog_compiler_pic_CXX in
1156111930 # Check to make sure the static flag actually works.
1156211931 #
1156311932 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
11564 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11565 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11566 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11567 echo $ECHO_N "(cached) $ECHO_C" >&6
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11934 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11935 if ${lt_prog_compiler_static_works_CXX+:} false; then :
11936 $as_echo_n "(cached) " >&6
1156811937 else
1156911938 lt_prog_compiler_static_works_CXX=no
1157011939 save_LDFLAGS="$LDFLAGS"
1158911958 LDFLAGS="$save_LDFLAGS"
1159011959
1159111960 fi
11592 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11593 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works_CXX" >&5
11962 $as_echo "$lt_prog_compiler_static_works_CXX" >&6; }
1159411963
1159511964 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
1159611965 :
1159911968 fi
1160011969
1160111970
11602 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11603 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11604 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11605 echo $ECHO_N "(cached) $ECHO_C" >&6
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11972 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11973 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
11974 $as_echo_n "(cached) " >&6
1160611975 else
1160711976 lt_cv_prog_compiler_c_o_CXX=no
1160811977 $rm -r conftest 2>/dev/null
1162011989 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1162111990 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1162211991 -e 's:$: $lt_compiler_flag:'`
11623 (eval echo "\"\$as_me:11624: $lt_compile\"" >&5)
11992 (eval echo "\"\$as_me:11993: $lt_compile\"" >&5)
1162411993 (eval "$lt_compile" 2>out/conftest.err)
1162511994 ac_status=$?
1162611995 cat out/conftest.err >&5
11627 echo "$as_me:11628: \$? = $ac_status" >&5
11996 echo "$as_me:11997: \$? = $ac_status" >&5
1162811997 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1162911998 then
1163011999 # The compiler can only warn and ignore the option if not recognized
1164612015 $rm conftest*
1164712016
1164812017 fi
11649 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11650 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12019 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1165112020
1165212021
1165312022 hard_links="nottested"
1165412023 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
1165512024 # do not overwrite the value of need_locks provided by the user
11656 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11657 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12026 $as_echo_n "checking if we can lock with hard links... " >&6; }
1165812027 hard_links=yes
1165912028 $rm conftest*
1166012029 ln conftest.a conftest.b 2>/dev/null && hard_links=no
1166112030 touch conftest.a
1166212031 ln conftest.a conftest.b 2>&5 || hard_links=no
1166312032 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11664 echo "$as_me:$LINENO: result: $hard_links" >&5
11665 echo "${ECHO_T}$hard_links" >&6
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12034 $as_echo "$hard_links" >&6; }
1166612035 if test "$hard_links" = no; then
11667 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11668 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12037 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1166912038 need_locks=warn
1167012039 fi
1167112040 else
1167212041 need_locks=no
1167312042 fi
1167412043
11675 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11676 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12045 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1167712046
1167812047 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1167912048 case $host_os in
1169712066 ;;
1169812067 esac
1169912068
11700 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11701 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12070 $as_echo "$ld_shlibs_CXX" >&6; }
1170212071 test "$ld_shlibs_CXX" = no && can_build_shared=no
1170312072
1170412073 #
1171812087 # Test whether the compiler implicitly links with -lc since on some
1171912088 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1172012089 # to ld, don't add -lc before -lgcc.
11721 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11722 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12091 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1172312092 $rm conftest*
1172412093 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1172512094
11726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12095 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1172712096 (eval $ac_compile) 2>&5
1172812097 ac_status=$?
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); } 2>conftest.err; then
12098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12099 test $ac_status = 0; } 2>conftest.err; then
1173112100 soname=conftest
1173212101 lib=conftest
1173312102 libobjs=conftest.$ac_objext
1174112110 libname=conftest
1174212111 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
1174312112 allow_undefined_flag_CXX=
11744 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12113 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1174512114 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1174612115 ac_status=$?
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); }
12116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12117 test $ac_status = 0; }
1174912118 then
1175012119 archive_cmds_need_lc_CXX=no
1175112120 else
1175612125 cat conftest.err 1>&5
1175712126 fi
1175812127 $rm conftest*
11759 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11760 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
12129 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
1176112130 ;;
1176212131 esac
1176312132 fi
1176412133 ;;
1176512134 esac
1176612135
11767 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11768 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12137 $as_echo_n "checking dynamic linker characteristics... " >&6; }
1176912138 library_names_spec=
1177012139 libname_spec='lib$name'
1177112140 soname_spec=
1235212721 dynamic_linker=no
1235312722 ;;
1235412723 esac
12355 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12356 echo "${ECHO_T}$dynamic_linker" >&6
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12725 $as_echo "$dynamic_linker" >&6; }
1235712726 test "$dynamic_linker" = no && can_build_shared=no
1235812727
1235912728 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1236112730 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1236212731 fi
1236312732
12364 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12365 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12734 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1236612735 hardcode_action_CXX=
1236712736 if test -n "$hardcode_libdir_flag_spec_CXX" || \
1236812737 test -n "$runpath_var_CXX" || \
1238612755 # directories.
1238712756 hardcode_action_CXX=unsupported
1238812757 fi
12389 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12390 echo "${ECHO_T}$hardcode_action_CXX" >&6
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
12759 $as_echo "$hardcode_action_CXX" >&6; }
1239112760
1239212761 if test "$hardcode_action_CXX" = relink; then
1239312762 # Fast installation is not supported
1291213281 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1291313282
1291413283
12915 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12916 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12917 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12918 echo "${ECHO_T}$can_build_shared" >&6
12919
12920 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12921 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13285 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13287 $as_echo "$can_build_shared" >&6; }
13288
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13290 $as_echo_n "checking whether to build shared libraries... " >&6; }
1292213291 test "$can_build_shared" = "no" && enable_shared=no
1292313292
1292413293 # On AIX, shared libraries and static libraries use the same namespace, and
1293713306 fi
1293813307 ;;
1293913308 esac
12940 echo "$as_me:$LINENO: result: $enable_shared" >&5
12941 echo "${ECHO_T}$enable_shared" >&6
12942
12943 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12944 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13310 $as_echo "$enable_shared" >&6; }
13311
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13313 $as_echo_n "checking whether to build static libraries... " >&6; }
1294513314 # Make sure either enable_shared or enable_static is yes.
1294613315 test "$enable_shared" = yes || enable_static=yes
12947 echo "$as_me:$LINENO: result: $enable_static" >&5
12948 echo "${ECHO_T}$enable_static" >&6
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13317 $as_echo "$enable_static" >&6; }
1294913318
1295013319 GCC_F77="$G77"
1295113320 LD_F77="$LD"
1295413323 lt_prog_compiler_pic_F77=
1295513324 lt_prog_compiler_static_F77=
1295613325
12957 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12958 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13327 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
1295913328
1296013329 if test "$GCC" = yes; then
1296113330 lt_prog_compiler_wl_F77='-Wl,'
1316413533 esac
1316513534 fi
1316613535
13167 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13168 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_F77" >&5
13537 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
1316913538
1317013539 #
1317113540 # Check to make sure the PIC flag actually works.
1317213541 #
1317313542 if test -n "$lt_prog_compiler_pic_F77"; then
1317413543
13175 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13176 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13177 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13178 echo $ECHO_N "(cached) $ECHO_C" >&6
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13545 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
13546 if ${lt_prog_compiler_pic_works_F77+:} false; then :
13547 $as_echo_n "(cached) " >&6
1317913548 else
1318013549 lt_prog_compiler_pic_works_F77=no
1318113550 ac_outfile=conftest.$ac_objext
1319013559 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1319113560 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1319213561 -e 's:$: $lt_compiler_flag:'`
13193 (eval echo "\"\$as_me:13194: $lt_compile\"" >&5)
13562 (eval echo "\"\$as_me:13563: $lt_compile\"" >&5)
1319413563 (eval "$lt_compile" 2>conftest.err)
1319513564 ac_status=$?
1319613565 cat conftest.err >&5
13197 echo "$as_me:13198: \$? = $ac_status" >&5
13566 echo "$as_me:13567: \$? = $ac_status" >&5
1319813567 if (exit $ac_status) && test -s "$ac_outfile"; then
1319913568 # The compiler can only warn and ignore the option if not recognized
1320013569 # So say no if there are warnings other than the usual output.
1320713576 $rm conftest*
1320813577
1320913578 fi
13210 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13211 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_F77" >&5
13580 $as_echo "$lt_prog_compiler_pic_works_F77" >&6; }
1321213581
1321313582 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
1321413583 case $lt_prog_compiler_pic_F77 in
1323513604 # Check to make sure the static flag actually works.
1323613605 #
1323713606 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13238 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13239 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13240 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13241 echo $ECHO_N "(cached) $ECHO_C" >&6
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13608 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13609 if ${lt_prog_compiler_static_works_F77+:} false; then :
13610 $as_echo_n "(cached) " >&6
1324213611 else
1324313612 lt_prog_compiler_static_works_F77=no
1324413613 save_LDFLAGS="$LDFLAGS"
1326313632 LDFLAGS="$save_LDFLAGS"
1326413633
1326513634 fi
13266 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13267 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works_F77" >&5
13636 $as_echo "$lt_prog_compiler_static_works_F77" >&6; }
1326813637
1326913638 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
1327013639 :
1327313642 fi
1327413643
1327513644
13276 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13277 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13278 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13279 echo $ECHO_N "(cached) $ECHO_C" >&6
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13646 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13647 if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
13648 $as_echo_n "(cached) " >&6
1328013649 else
1328113650 lt_cv_prog_compiler_c_o_F77=no
1328213651 $rm -r conftest 2>/dev/null
1329413663 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1329513664 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1329613665 -e 's:$: $lt_compiler_flag:'`
13297 (eval echo "\"\$as_me:13298: $lt_compile\"" >&5)
13666 (eval echo "\"\$as_me:13667: $lt_compile\"" >&5)
1329813667 (eval "$lt_compile" 2>out/conftest.err)
1329913668 ac_status=$?
1330013669 cat out/conftest.err >&5
13301 echo "$as_me:13302: \$? = $ac_status" >&5
13670 echo "$as_me:13671: \$? = $ac_status" >&5
1330213671 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1330313672 then
1330413673 # The compiler can only warn and ignore the option if not recognized
1332013689 $rm conftest*
1332113690
1332213691 fi
13323 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13324 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
13693 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
1332513694
1332613695
1332713696 hard_links="nottested"
1332813697 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
1332913698 # do not overwrite the value of need_locks provided by the user
13330 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13331 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13700 $as_echo_n "checking if we can lock with hard links... " >&6; }
1333213701 hard_links=yes
1333313702 $rm conftest*
1333413703 ln conftest.a conftest.b 2>/dev/null && hard_links=no
1333513704 touch conftest.a
1333613705 ln conftest.a conftest.b 2>&5 || hard_links=no
1333713706 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13338 echo "$as_me:$LINENO: result: $hard_links" >&5
13339 echo "${ECHO_T}$hard_links" >&6
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13708 $as_echo "$hard_links" >&6; }
1334013709 if test "$hard_links" = no; then
13341 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13342 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13711 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1334313712 need_locks=warn
1334413713 fi
1334513714 else
1334613715 need_locks=no
1334713716 fi
1334813717
13349 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13350 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13719 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1335113720
1335213721 runpath_var=
1335313722 allow_undefined_flag_F77=
1374614115 # -berok will link without error, but may produce a broken library.
1374714116 allow_undefined_flag_F77='-berok'
1374814117 # Determine the default libpath from the value encoded in an empty executable.
13749 cat >conftest.$ac_ext <<_ACEOF
14118 cat > conftest.$ac_ext <<_ACEOF
1375014119 program main
1375114120
1375214121 end
1375314122 _ACEOF
13754 rm -f conftest.$ac_objext conftest$ac_exeext
13755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13756 (eval $ac_link) 2>conftest.er1
13757 ac_status=$?
13758 grep -v '^ *+' conftest.er1 >conftest.err
13759 rm -f conftest.er1
13760 cat conftest.err >&5
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); } &&
13763 { ac_try='test -z "$ac_f77_werror_flag"
13764 || test ! -s conftest.err'
13765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13766 (eval $ac_try) 2>&5
13767 ac_status=$?
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); }; } &&
13770 { ac_try='test -s conftest$ac_exeext'
13771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13772 (eval $ac_try) 2>&5
13773 ac_status=$?
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); }; }; then
14123 if ac_fn_f77_try_link "$LINENO"; then :
1377614124
1377714125 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1377814126 }'`
1377914127 # Check for a 64-bit object if we didn't find anything.
1378014128 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1378114129 }'`; fi
13782 else
13783 echo "$as_me: failed program was:" >&5
13784 sed 's/^/| /' conftest.$ac_ext >&5
13785
13786 fi
13787 rm -f conftest.err conftest.$ac_objext \
13788 conftest$ac_exeext conftest.$ac_ext
14130 fi
14131 rm -f core conftest.err conftest.$ac_objext \
14132 conftest$ac_exeext conftest.$ac_ext
1378914133 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1379014134
1379114135 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
1379714141 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
1379814142 else
1379914143 # Determine the default libpath from the value encoded in an empty executable.
13800 cat >conftest.$ac_ext <<_ACEOF
14144 cat > conftest.$ac_ext <<_ACEOF
1380114145 program main
1380214146
1380314147 end
1380414148 _ACEOF
13805 rm -f conftest.$ac_objext conftest$ac_exeext
13806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13807 (eval $ac_link) 2>conftest.er1
13808 ac_status=$?
13809 grep -v '^ *+' conftest.er1 >conftest.err
13810 rm -f conftest.er1
13811 cat conftest.err >&5
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); } &&
13814 { ac_try='test -z "$ac_f77_werror_flag"
13815 || test ! -s conftest.err'
13816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13817 (eval $ac_try) 2>&5
13818 ac_status=$?
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); }; } &&
13821 { ac_try='test -s conftest$ac_exeext'
13822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13823 (eval $ac_try) 2>&5
13824 ac_status=$?
13825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13826 (exit $ac_status); }; }; then
14149 if ac_fn_f77_try_link "$LINENO"; then :
1382714150
1382814151 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1382914152 }'`
1383014153 # Check for a 64-bit object if we didn't find anything.
1383114154 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1383214155 }'`; fi
13833 else
13834 echo "$as_me: failed program was:" >&5
13835 sed 's/^/| /' conftest.$ac_ext >&5
13836
13837 fi
13838 rm -f conftest.err conftest.$ac_objext \
13839 conftest$ac_exeext conftest.$ac_ext
14156 fi
14157 rm -f core conftest.err conftest.$ac_objext \
14158 conftest$ac_exeext conftest.$ac_ext
1384014159 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1384114160
1384214161 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
1428414603 esac
1428514604 fi
1428614605
14287 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14288 echo "${ECHO_T}$ld_shlibs_F77" >&6
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_F77" >&5
14607 $as_echo "$ld_shlibs_F77" >&6; }
1428914608 test "$ld_shlibs_F77" = no && can_build_shared=no
1429014609
1429114610 #
1430514624 # Test whether the compiler implicitly links with -lc since on some
1430614625 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1430714626 # to ld, don't add -lc before -lgcc.
14308 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14309 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14628 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1431014629 $rm conftest*
1431114630 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1431214631
14313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14632 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1431414633 (eval $ac_compile) 2>&5
1431514634 ac_status=$?
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); } 2>conftest.err; then
14635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14636 test $ac_status = 0; } 2>conftest.err; then
1431814637 soname=conftest
1431914638 lib=conftest
1432014639 libobjs=conftest.$ac_objext
1432814647 libname=conftest
1432914648 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
1433014649 allow_undefined_flag_F77=
14331 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14650 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1433214651 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1433314652 ac_status=$?
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); }
14653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14654 test $ac_status = 0; }
1433614655 then
1433714656 archive_cmds_need_lc_F77=no
1433814657 else
1434314662 cat conftest.err 1>&5
1434414663 fi
1434514664 $rm conftest*
14346 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14347 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_F77" >&5
14666 $as_echo "$archive_cmds_need_lc_F77" >&6; }
1434814667 ;;
1434914668 esac
1435014669 fi
1435114670 ;;
1435214671 esac
1435314672
14354 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14355 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14674 $as_echo_n "checking dynamic linker characteristics... " >&6; }
1435614675 library_names_spec=
1435714676 libname_spec='lib$name'
1435814677 soname_spec=
1493915258 dynamic_linker=no
1494015259 ;;
1494115260 esac
14942 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14943 echo "${ECHO_T}$dynamic_linker" >&6
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15262 $as_echo "$dynamic_linker" >&6; }
1494415263 test "$dynamic_linker" = no && can_build_shared=no
1494515264
1494615265 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1494815267 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1494915268 fi
1495015269
14951 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14952 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15271 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1495315272 hardcode_action_F77=
1495415273 if test -n "$hardcode_libdir_flag_spec_F77" || \
1495515274 test -n "$runpath_var_F77" || \
1497315292 # directories.
1497415293 hardcode_action_F77=unsupported
1497515294 fi
14976 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14977 echo "${ECHO_T}$hardcode_action_F77" >&6
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_F77" >&5
15296 $as_echo "$hardcode_action_F77" >&6; }
1497815297
1497915298 if test "$hardcode_action_F77" = relink; then
1498015299 # Fast installation is not supported
1541115730 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
1541215731
1541315732
15414
1541515733 # Source file extension for Java test sources.
1541615734 ac_ext=java
1541715735
1547915797 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
1548015798
1548115799
15482 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15483 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15484 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15485 echo $ECHO_N "(cached) $ECHO_C" >&6
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15801 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
15802 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
15803 $as_echo_n "(cached) " >&6
1548615804 else
1548715805 lt_cv_prog_compiler_rtti_exceptions=no
1548815806 ac_outfile=conftest.$ac_objext
1549715815 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1549815816 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1549915817 -e 's:$: $lt_compiler_flag:'`
15500 (eval echo "\"\$as_me:15501: $lt_compile\"" >&5)
15818 (eval echo "\"\$as_me:15819: $lt_compile\"" >&5)
1550115819 (eval "$lt_compile" 2>conftest.err)
1550215820 ac_status=$?
1550315821 cat conftest.err >&5
15504 echo "$as_me:15505: \$? = $ac_status" >&5
15822 echo "$as_me:15823: \$? = $ac_status" >&5
1550515823 if (exit $ac_status) && test -s "$ac_outfile"; then
1550615824 # The compiler can only warn and ignore the option if not recognized
1550715825 # So say no if there are warnings other than the usual output.
1551415832 $rm conftest*
1551515833
1551615834 fi
15517 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15518 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15836 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1551915837
1552015838 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
1552115839 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
1552915847 lt_prog_compiler_pic_GCJ=
1553015848 lt_prog_compiler_static_GCJ=
1553115849
15532 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15533 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15851 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
1553415852
1553515853 if test "$GCC" = yes; then
1553615854 lt_prog_compiler_wl_GCJ='-Wl,'
1573916057 esac
1574016058 fi
1574116059
15742 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15743 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GCJ" >&5
16061 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
1574416062
1574516063 #
1574616064 # Check to make sure the PIC flag actually works.
1574716065 #
1574816066 if test -n "$lt_prog_compiler_pic_GCJ"; then
1574916067
15750 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15751 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15752 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15753 echo $ECHO_N "(cached) $ECHO_C" >&6
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16069 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
16070 if ${lt_prog_compiler_pic_works_GCJ+:} false; then :
16071 $as_echo_n "(cached) " >&6
1575416072 else
1575516073 lt_prog_compiler_pic_works_GCJ=no
1575616074 ac_outfile=conftest.$ac_objext
1576516083 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1576616084 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1576716085 -e 's:$: $lt_compiler_flag:'`
15768 (eval echo "\"\$as_me:15769: $lt_compile\"" >&5)
16086 (eval echo "\"\$as_me:16087: $lt_compile\"" >&5)
1576916087 (eval "$lt_compile" 2>conftest.err)
1577016088 ac_status=$?
1577116089 cat conftest.err >&5
15772 echo "$as_me:15773: \$? = $ac_status" >&5
16090 echo "$as_me:16091: \$? = $ac_status" >&5
1577316091 if (exit $ac_status) && test -s "$ac_outfile"; then
1577416092 # The compiler can only warn and ignore the option if not recognized
1577516093 # So say no if there are warnings other than the usual output.
1578216100 $rm conftest*
1578316101
1578416102 fi
15785 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15786 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_GCJ" >&5
16104 $as_echo "$lt_prog_compiler_pic_works_GCJ" >&6; }
1578716105
1578816106 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
1578916107 case $lt_prog_compiler_pic_GCJ in
1581016128 # Check to make sure the static flag actually works.
1581116129 #
1581216130 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
15813 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15814 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15815 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15816 echo $ECHO_N "(cached) $ECHO_C" >&6
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16132 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16133 if ${lt_prog_compiler_static_works_GCJ+:} false; then :
16134 $as_echo_n "(cached) " >&6
1581716135 else
1581816136 lt_prog_compiler_static_works_GCJ=no
1581916137 save_LDFLAGS="$LDFLAGS"
1583816156 LDFLAGS="$save_LDFLAGS"
1583916157
1584016158 fi
15841 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
15842 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works_GCJ" >&5
16160 $as_echo "$lt_prog_compiler_static_works_GCJ" >&6; }
1584316161
1584416162 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
1584516163 :
1584816166 fi
1584916167
1585016168
15851 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15852 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15853 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15854 echo $ECHO_N "(cached) $ECHO_C" >&6
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16170 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16171 if ${lt_cv_prog_compiler_c_o_GCJ+:} false; then :
16172 $as_echo_n "(cached) " >&6
1585516173 else
1585616174 lt_cv_prog_compiler_c_o_GCJ=no
1585716175 $rm -r conftest 2>/dev/null
1586916187 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1587016188 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1587116189 -e 's:$: $lt_compiler_flag:'`
15872 (eval echo "\"\$as_me:15873: $lt_compile\"" >&5)
16190 (eval echo "\"\$as_me:16191: $lt_compile\"" >&5)
1587316191 (eval "$lt_compile" 2>out/conftest.err)
1587416192 ac_status=$?
1587516193 cat out/conftest.err >&5
15876 echo "$as_me:15877: \$? = $ac_status" >&5
16194 echo "$as_me:16195: \$? = $ac_status" >&5
1587716195 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1587816196 then
1587916197 # The compiler can only warn and ignore the option if not recognized
1589516213 $rm conftest*
1589616214
1589716215 fi
15898 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15899 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16217 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
1590016218
1590116219
1590216220 hard_links="nottested"
1590316221 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
1590416222 # do not overwrite the value of need_locks provided by the user
15905 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15906 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16224 $as_echo_n "checking if we can lock with hard links... " >&6; }
1590716225 hard_links=yes
1590816226 $rm conftest*
1590916227 ln conftest.a conftest.b 2>/dev/null && hard_links=no
1591016228 touch conftest.a
1591116229 ln conftest.a conftest.b 2>&5 || hard_links=no
1591216230 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15913 echo "$as_me:$LINENO: result: $hard_links" >&5
15914 echo "${ECHO_T}$hard_links" >&6
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16232 $as_echo "$hard_links" >&6; }
1591516233 if test "$hard_links" = no; then
15916 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15917 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16235 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1591816236 need_locks=warn
1591916237 fi
1592016238 else
1592116239 need_locks=no
1592216240 fi
1592316241
15924 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15925 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16243 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1592616244
1592716245 runpath_var=
1592816246 allow_undefined_flag_GCJ=
1632116639 # -berok will link without error, but may produce a broken library.
1632216640 allow_undefined_flag_GCJ='-berok'
1632316641 # Determine the default libpath from the value encoded in an empty executable.
16324 cat >conftest.$ac_ext <<_ACEOF
16325 /* confdefs.h. */
16326 _ACEOF
16327 cat confdefs.h >>conftest.$ac_ext
16328 cat >>conftest.$ac_ext <<_ACEOF
16642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1632916643 /* end confdefs.h. */
1633016644
1633116645 int
1633616650 return 0;
1633716651 }
1633816652 _ACEOF
16339 rm -f conftest.$ac_objext conftest$ac_exeext
16340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16341 (eval $ac_link) 2>conftest.er1
16342 ac_status=$?
16343 grep -v '^ *+' conftest.er1 >conftest.err
16344 rm -f conftest.er1
16345 cat conftest.err >&5
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); } &&
16348 { ac_try='test -z "$ac_c_werror_flag"
16349 || test ! -s conftest.err'
16350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16351 (eval $ac_try) 2>&5
16352 ac_status=$?
16353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16354 (exit $ac_status); }; } &&
16355 { ac_try='test -s conftest$ac_exeext'
16356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16357 (eval $ac_try) 2>&5
16358 ac_status=$?
16359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); }; }; then
16653 if ac_fn_c_try_link "$LINENO"; then :
1636116654
1636216655 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1636316656 }'`
1636416657 # Check for a 64-bit object if we didn't find anything.
1636516658 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1636616659 }'`; fi
16367 else
16368 echo "$as_me: failed program was:" >&5
16369 sed 's/^/| /' conftest.$ac_ext >&5
16370
16371 fi
16372 rm -f conftest.err conftest.$ac_objext \
16373 conftest$ac_exeext conftest.$ac_ext
16660 fi
16661 rm -f core conftest.err conftest.$ac_objext \
16662 conftest$ac_exeext conftest.$ac_ext
1637416663 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1637516664
1637616665 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
1638216671 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
1638316672 else
1638416673 # Determine the default libpath from the value encoded in an empty executable.
16385 cat >conftest.$ac_ext <<_ACEOF
16386 /* confdefs.h. */
16387 _ACEOF
16388 cat confdefs.h >>conftest.$ac_ext
16389 cat >>conftest.$ac_ext <<_ACEOF
16674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1639016675 /* end confdefs.h. */
1639116676
1639216677 int
1639716682 return 0;
1639816683 }
1639916684 _ACEOF
16400 rm -f conftest.$ac_objext conftest$ac_exeext
16401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16402 (eval $ac_link) 2>conftest.er1
16403 ac_status=$?
16404 grep -v '^ *+' conftest.er1 >conftest.err
16405 rm -f conftest.er1
16406 cat conftest.err >&5
16407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16408 (exit $ac_status); } &&
16409 { ac_try='test -z "$ac_c_werror_flag"
16410 || test ! -s conftest.err'
16411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16412 (eval $ac_try) 2>&5
16413 ac_status=$?
16414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415 (exit $ac_status); }; } &&
16416 { ac_try='test -s conftest$ac_exeext'
16417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16418 (eval $ac_try) 2>&5
16419 ac_status=$?
16420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16421 (exit $ac_status); }; }; then
16685 if ac_fn_c_try_link "$LINENO"; then :
1642216686
1642316687 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1642416688 }'`
1642516689 # Check for a 64-bit object if we didn't find anything.
1642616690 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1642716691 }'`; fi
16428 else
16429 echo "$as_me: failed program was:" >&5
16430 sed 's/^/| /' conftest.$ac_ext >&5
16431
16432 fi
16433 rm -f conftest.err conftest.$ac_objext \
16434 conftest$ac_exeext conftest.$ac_ext
16692 fi
16693 rm -f core conftest.err conftest.$ac_objext \
16694 conftest$ac_exeext conftest.$ac_ext
1643516695 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1643616696
1643716697 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
1687917139 esac
1688017140 fi
1688117141
16882 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16883 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5
17143 $as_echo "$ld_shlibs_GCJ" >&6; }
1688417144 test "$ld_shlibs_GCJ" = no && can_build_shared=no
1688517145
1688617146 #
1690017160 # Test whether the compiler implicitly links with -lc since on some
1690117161 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1690217162 # to ld, don't add -lc before -lgcc.
16903 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16904 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17164 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1690517165 $rm conftest*
1690617166 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1690717167
16908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17168 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1690917169 (eval $ac_compile) 2>&5
1691017170 ac_status=$?
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); } 2>conftest.err; then
17171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17172 test $ac_status = 0; } 2>conftest.err; then
1691317173 soname=conftest
1691417174 lib=conftest
1691517175 libobjs=conftest.$ac_objext
1692317183 libname=conftest
1692417184 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
1692517185 allow_undefined_flag_GCJ=
16926 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17186 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1692717187 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1692817188 ac_status=$?
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); }
17189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17190 test $ac_status = 0; }
1693117191 then
1693217192 archive_cmds_need_lc_GCJ=no
1693317193 else
1693817198 cat conftest.err 1>&5
1693917199 fi
1694017200 $rm conftest*
16941 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16942 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_GCJ" >&5
17202 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
1694317203 ;;
1694417204 esac
1694517205 fi
1694617206 ;;
1694717207 esac
1694817208
16949 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16950 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17210 $as_echo_n "checking dynamic linker characteristics... " >&6; }
1695117211 library_names_spec=
1695217212 libname_spec='lib$name'
1695317213 soname_spec=
1753417794 dynamic_linker=no
1753517795 ;;
1753617796 esac
17537 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17538 echo "${ECHO_T}$dynamic_linker" >&6
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17798 $as_echo "$dynamic_linker" >&6; }
1753917799 test "$dynamic_linker" = no && can_build_shared=no
1754017800
1754117801 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1754317803 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1754417804 fi
1754517805
17546 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17547 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17807 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1754817808 hardcode_action_GCJ=
1754917809 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
1755017810 test -n "$runpath_var_GCJ" || \
1756817828 # directories.
1756917829 hardcode_action_GCJ=unsupported
1757017830 fi
17571 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17572 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5
17832 $as_echo "$hardcode_action_GCJ" >&6; }
1757317833
1757417834 if test "$hardcode_action_GCJ" = relink; then
1757517835 # Fast installation is not supported
1800518265 RC)
1800618266
1800718267
18008
1800918268 # Source file extension for RC test sources.
1801018269 ac_ext=rc
1801118270
1848118740 ;;
1848218741
1848318742 *)
18484 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18485 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18486 { (exit 1); exit 1; }; }
18743 as_fn_error $? "Unsupported tag name: $tagname" "$LINENO" 5
1848718744 ;;
1848818745 esac
1848918746
1850118758 chmod +x "$ofile"
1850218759 else
1850318760 rm -f "${ofile}T"
18504 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18505 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18506 { (exit 1); exit 1; }; }
18761 as_fn_error $? "unable to update list of available tagged configurations." "$LINENO" 5
1850718762 fi
1850818763 fi
1850918764
1854218797 MINOR_VERSION=4
1854318798 MICRO_VERSION=4
1854418799
18545 cat >>confdefs.h <<\_ACEOF
18546 #define DXD_VERSION_STRING "04.4.4000"
18547 _ACEOF
18548
18549
18550 cat >>confdefs.h <<\_ACEOF
18551 #define DXD_COPYRIGHT_STRING "Open Visualization Data Explorer\nMore Info at www.research.ibm.com/dx\nand www.opendx.org\nVersion - 4.4.4"
18552 _ACEOF
18800 $as_echo "#define DXD_VERSION_STRING \"04.4.4000\"" >>confdefs.h
18801
18802
18803 $as_echo "#define DXD_COPYRIGHT_STRING \"Open Visualization Data Explorer\\nMore Info at www.research.ibm.com/dx\\nand www.opendx.org\\nVersion - 4.4.4\"" >>confdefs.h
1855318804
1855418805
1855518806 cat >>confdefs.h <<_ACEOF
1860918860
1861018861
1861118862
18612 # Check whether --enable-smp_linux or --disable-smp_linux was given.
18613 if test "${enable_smp_linux+set}" = set; then
18614 enableval="$enable_smp_linux"
18615 with_smp_linux=$enableval
18863 # Check whether --enable-smp_linux was given.
18864 if test "${enable_smp_linux+set}" = set; then :
18865 enableval=$enable_smp_linux; with_smp_linux=$enableval
1861618866 else
1861718867 with_smp_linux='no'
18618 fi;
18619
18620 # Check whether --enable-ddx or --disable-ddx was given.
18621 if test "${enable_ddx+set}" = set; then
18622 enableval="$enable_ddx"
18623 with_ddx=$enableval
18868 fi
18869
18870
18871 # Check whether --enable-ddx was given.
18872 if test "${enable_ddx+set}" = set; then :
18873 enableval=$enable_ddx; with_ddx=$enableval
1862418874 else
1862518875 with_ddx='no'
18626 fi;
18627
18628 # Check whether --enable-new-keylayout or --disable-new-keylayout was given.
18629 if test "${enable_new_keylayout+set}" = set; then
18630 enableval="$enable_new_keylayout"
18631 with_new_keylayout=$enableval
18876 fi
18877
18878
18879 # Check whether --enable-new-keylayout was given.
18880 if test "${enable_new_keylayout+set}" = set; then :
18881 enableval=$enable_new_keylayout; with_new_keylayout=$enableval
1863218882 else
1863318883 with_new_keylayout='no'
18634 fi;
18635
18636
18637 # Check whether --enable-buildlibdx or --disable-buildlibdx was given.
18638 if test "${enable_buildlibdx+set}" = set; then
18639 enableval="$enable_buildlibdx"
18640 with_buildlibdx=$enableval
18884 fi
18885
18886
18887
18888 # Check whether --enable-buildlibdx was given.
18889 if test "${enable_buildlibdx+set}" = set; then :
18890 enableval=$enable_buildlibdx; with_buildlibdx=$enableval
1864118891 else
1864218892 with_buildlibdx='yes'
18643 fi;
18644
18645 # Check whether --enable-installhtml or --disable-installhtml was given.
18646 if test "${enable_installhtml+set}" = set; then
18647 enableval="$enable_installhtml"
18648 with_installhtml=$enableval
18893 fi
18894
18895
18896 # Check whether --enable-installhtml was given.
18897 if test "${enable_installhtml+set}" = set; then :
18898 enableval=$enable_installhtml; with_installhtml=$enableval
1864918899 else
1865018900 with_installhtml='yes'
18651 fi;
18901 fi
18902
1865218903
1865318904
1865418905 # Disable support for largefiles
1865518906
18656 # Check whether --with-largefiles or --without-largefiles was given.
18657 if test "${with_largefiles+set}" = set; then
18658 withval="$with_largefiles"
18659 with_largefiles=$withval
18907 # Check whether --with-largefiles was given.
18908 if test "${with_largefiles+set}" = set; then :
18909 withval=$with_largefiles; with_largefiles=$withval
1866018910 else
1866118911 with_largefiles='yes'
18662 fi;
18912 fi
18913
1866318914
1866418915 # Enable HDF.
1866518916
18666 # Check whether --with-hdf or --without-hdf was given.
18667 if test "${with_hdf+set}" = set; then
18668 withval="$with_hdf"
18669 with_hdf=$withval
18917 # Check whether --with-hdf was given.
18918 if test "${with_hdf+set}" = set; then :
18919 withval=$with_hdf; with_hdf=$withval
1867018920 else
1867118921 with_hdf='yes'
18672 fi;
18922 fi
18923
1867318924
1867418925 # Enable TIFF.
1867518926
18676 # Check whether --with-tiff or --without-tiff was given.
18677 if test "${with_tiff+set}" = set; then
18678 withval="$with_tiff"
18679 with_tiff=$withval
18927 # Check whether --with-tiff was given.
18928 if test "${with_tiff+set}" = set; then :
18929 withval=$with_tiff; with_tiff=$withval
1868018930 else
1868118931 with_tiff='yes'
18682 fi;
18683
18684
18685 # Check whether --with-magick or --without-magick was given.
18686 if test "${with_magick+set}" = set; then
18687 withval="$with_magick"
18688 with_magick=$withval
18932 fi
18933
18934
18935
18936 # Check whether --with-magick was given.
18937 if test "${with_magick+set}" = set; then :
18938 withval=$with_magick; with_magick=$withval
1868918939 else
1869018940 with_magick='yes'
18691 fi;
18692
18693
18694 # Check whether --with-statmagick or --without-statmagick was given.
18695 if test "${with_statmagick+set}" = set; then
18696 withval="$with_statmagick"
18697 with_smagick=$withval
18941 fi
18942
18943
18944
18945 # Check whether --with-statmagick was given.
18946 if test "${with_statmagick+set}" = set; then :
18947 withval=$with_statmagick; with_smagick=$withval
1869818948 else
1869918949 with_smagick='no'
18700 fi;
18950 fi
18951
1870118952
1870218953 # Enable CDF.
1870318954
18704 # Check whether --with-cdf or --without-cdf was given.
18705 if test "${with_cdf+set}" = set; then
18706 withval="$with_cdf"
18707 with_cdf=$withval
18955 # Check whether --with-cdf was given.
18956 if test "${with_cdf+set}" = set; then :
18957 withval=$with_cdf; with_cdf=$withval
1870818958 else
1870918959 with_cdf='yes'
18710 fi;
18960 fi
18961
1871118962
1871218963 # Enable NetCDF.
1871318964
18714 # Check whether --with-netcdf or --without-netcdf was given.
18715 if test "${with_netcdf+set}" = set; then
18716 withval="$with_netcdf"
18717 with_netcdf=$withval
18965 # Check whether --with-netcdf was given.
18966 if test "${with_netcdf+set}" = set; then :
18967 withval=$with_netcdf; with_netcdf=$withval
1871818968 else
1871918969 with_netcdf='yes'
18720 fi;
18970 fi
18971
1872118972
1872218973 # Enable 64-bit arenas, if supported
1872318974
18724 # Check whether --with-large-arenas or --without-large-arenas was given.
18725 if test "${with_large_arenas+set}" = set; then
18726 withval="$with_large_arenas"
18727 with_large_arenas=$withval
18975 # Check whether --with-large-arenas was given.
18976 if test "${with_large_arenas+set}" = set; then :
18977 withval=$with_large_arenas; with_large_arenas=$withval
1872818978 else
1872918979 with_large_arenas='no'
18730 fi;
18731
18732
18733 # Check whether --with-javadx or --without-javadx was given.
18734 if test "${with_javadx+set}" = set; then
18735 withval="$with_javadx"
18736 with_javadx=$withval
18980 fi
18981
18982
18983
18984 # Check whether --with-javadx was given.
18985 if test "${with_javadx+set}" = set; then :
18986 withval=$with_javadx; with_javadx=$withval
1873718987 else
1873818988 with_javadx='yes'
18739 fi;
18740
18741
18742 # Check whether --with-jni-path or --without-jni-path was given.
18743 if test "${with_jni_path+set}" = set; then
18744 withval="$with_jni_path"
18745 with_jni_path=$withval
18989 fi
18990
18991
18992
18993 # Check whether --with-jni-path was given.
18994 if test "${with_jni_path+set}" = set; then :
18995 withval=$with_jni_path; with_jni_path=$withval
1874618996 else
1874718997 with_jni_path=''
18748 fi;
18998 fi
18999
1874919000 if test "$with_jni_path" = "yes"
1875019001 then
1875119002 with_jni_path=''
1875219003 fi
1875319004
1875419005
18755 # Check whether --with-java40jar-path or --without-java40jar-path was given.
18756 if test "${with_java40jar_path+set}" = set; then
18757 withval="$with_java40jar_path"
18758 with_java40jar_path=$withval
19006 # Check whether --with-java40jar-path was given.
19007 if test "${with_java40jar_path+set}" = set; then :
19008 withval=$with_java40jar_path; with_java40jar_path=$withval
1875919009 else
1876019010 with_java40jar_path=''
18761 fi;
19011 fi
19012
1876219013 if test "$with_java40jar_path" != "yes" && test -z "$with_java40jar_path"
1876319014 then
1876419015 with_java40jar_path=''
1876519016 fi
1876619017
1876719018
18768 # Check whether --with-cosmojar-path or --without-cosmojar-path was given.
18769 if test "${with_cosmojar_path+set}" = set; then
18770 withval="$with_cosmojar_path"
18771 with_cosmojar_path=$withval
19019 # Check whether --with-cosmojar-path was given.
19020 if test "${with_cosmojar_path+set}" = set; then :
19021 withval=$with_cosmojar_path; with_cosmojar_path=$withval
1877219022 else
1877319023 with_cosmojar_path=''
18774 fi;
19024 fi
19025
1877519026 if test "$with_cosmojar_path" != "yes" && test -z "$with_cosmojar_path"
1877619027 then
1877719028 with_cosmojar_path=''
1877919030
1878019031 # Looking for rsh and path
1878119032
18782 # Check whether --with-rsh or --without-rsh was given.
18783 if test "${with_rsh+set}" = set; then
18784 withval="$with_rsh"
18785
19033 # Check whether --with-rsh was given.
19034 if test "${with_rsh+set}" = set; then :
19035 withval=$with_rsh;
1878619036 rsh_path=$withval
1878719037
1878819038 else
1879219042 else
1879319043 # Extract the first word of "rsh", so it can be a program name with args.
1879419044 set dummy rsh; ac_word=$2
18795 echo "$as_me:$LINENO: checking for $ac_word" >&5
18796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18797 if test "${ac_cv_path_rsh_path+set}" = set; then
18798 echo $ECHO_N "(cached) $ECHO_C" >&6
19045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19046 $as_echo_n "checking for $ac_word... " >&6; }
19047 if ${ac_cv_path_rsh_path+:} false; then :
19048 $as_echo_n "(cached) " >&6
1879919049 else
1880019050 case $rsh_path in
1880119051 [\\/]* | ?:[\\/]*)
1880719057 do
1880819058 IFS=$as_save_IFS
1880919059 test -z "$as_dir" && as_dir=.
18810 for ac_exec_ext in '' $ac_executable_extensions; do
18811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19060 for ac_exec_ext in '' $ac_executable_extensions; do
19061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1881219062 ac_cv_path_rsh_path="$as_dir/$ac_word$ac_exec_ext"
18813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1881419064 break 2
1881519065 fi
1881619066 done
18817 done
19067 done
19068 IFS=$as_save_IFS
1881819069
1881919070 ;;
1882019071 esac
1882119072 fi
1882219073 rsh_path=$ac_cv_path_rsh_path
18823
1882419074 if test -n "$rsh_path"; then
18825 echo "$as_me:$LINENO: result: $rsh_path" >&5
18826 echo "${ECHO_T}$rsh_path" >&6
18827 else
18828 echo "$as_me:$LINENO: result: no" >&5
18829 echo "${ECHO_T}no" >&6
18830 fi
18831
18832 fi
18833
18834
18835 fi;
19075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsh_path" >&5
19076 $as_echo "$rsh_path" >&6; }
19077 else
19078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19079 $as_echo "no" >&6; }
19080 fi
19081
19082
19083 fi
19084
19085
19086 fi
19087
1883619088
1883719089 cat >>confdefs.h <<_ACEOF
1883819090 #define RSH "$rsh_path"
1884019092
1884119093
1884219094
18843 # Check whether --with-bsh or --without-bsh was given.
18844 if test "${with_bsh+set}" = set; then
18845 withval="$with_bsh"
18846
19095 # Check whether --with-bsh was given.
19096 if test "${with_bsh+set}" = set; then :
19097 withval=$with_bsh;
1884719098 if test "x$withval" != "$no" ; then
1884819099 bsh_path=$withval
1884919100 fi
1885219103
1885319104 # Extract the first word of "sh", so it can be a program name with args.
1885419105 set dummy sh; ac_word=$2
18855 echo "$as_me:$LINENO: checking for $ac_word" >&5
18856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18857 if test "${ac_cv_path_bsh_path+set}" = set; then
18858 echo $ECHO_N "(cached) $ECHO_C" >&6
19106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19107 $as_echo_n "checking for $ac_word... " >&6; }
19108 if ${ac_cv_path_bsh_path+:} false; then :
19109 $as_echo_n "(cached) " >&6
1885919110 else
1886019111 case $bsh_path in
1886119112 [\\/]* | ?:[\\/]*)
1886719118 do
1886819119 IFS=$as_save_IFS
1886919120 test -z "$as_dir" && as_dir=.
18870 for ac_exec_ext in '' $ac_executable_extensions; do
18871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19121 for ac_exec_ext in '' $ac_executable_extensions; do
19122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1887219123 ac_cv_path_bsh_path="$as_dir/$ac_word$ac_exec_ext"
18873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1887419125 break 2
1887519126 fi
1887619127 done
18877 done
19128 done
19129 IFS=$as_save_IFS
1887819130
1887919131 ;;
1888019132 esac
1888119133 fi
1888219134 bsh_path=$ac_cv_path_bsh_path
18883
1888419135 if test -n "$bsh_path"; then
18885 echo "$as_me:$LINENO: result: $bsh_path" >&5
18886 echo "${ECHO_T}$bsh_path" >&6
18887 else
18888 echo "$as_me:$LINENO: result: no" >&5
18889 echo "${ECHO_T}no" >&6
18890 fi
18891
18892
18893
18894 fi;
19136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bsh_path" >&5
19137 $as_echo "$bsh_path" >&6; }
19138 else
19139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19140 $as_echo "no" >&6; }
19141 fi
19142
19143
19144
19145
19146 fi
19147
1889519148
1889619149 cat >>confdefs.h <<_ACEOF
1889719150 #define BSH "$bsh_path"
1889919152
1890019153
1890119154
18902 ac_ext=cc
19155 ac_ext=cpp
1890319156 ac_cpp='$CXXCPP $CPPFLAGS'
1890419157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1890519158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1890619159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1890719160
1890819161
18909
1891019162 for ac_header in stdlib.h
18911 do
18912 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18914 echo "$as_me:$LINENO: checking for $ac_header" >&5
18915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18917 echo $ECHO_N "(cached) $ECHO_C" >&6
18918 fi
18919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18921 else
18922 # Is the header compilable?
18923 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18924 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18925 cat >conftest.$ac_ext <<_ACEOF
18926 /* confdefs.h. */
18927 _ACEOF
18928 cat confdefs.h >>conftest.$ac_ext
18929 cat >>conftest.$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18931 $ac_includes_default
18932 #include <$ac_header>
18933 _ACEOF
18934 rm -f conftest.$ac_objext
18935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18936 (eval $ac_compile) 2>conftest.er1
18937 ac_status=$?
18938 grep -v '^ *+' conftest.er1 >conftest.err
18939 rm -f conftest.er1
18940 cat conftest.err >&5
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); } &&
18943 { ac_try='test -z "$ac_cxx_werror_flag"
18944 || test ! -s conftest.err'
18945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18946 (eval $ac_try) 2>&5
18947 ac_status=$?
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); }; } &&
18950 { ac_try='test -s conftest.$ac_objext'
18951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18952 (eval $ac_try) 2>&5
18953 ac_status=$?
18954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955 (exit $ac_status); }; }; then
18956 ac_header_compiler=yes
18957 else
18958 echo "$as_me: failed program was:" >&5
18959 sed 's/^/| /' conftest.$ac_ext >&5
18960
18961 ac_header_compiler=no
18962 fi
18963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18965 echo "${ECHO_T}$ac_header_compiler" >&6
18966
18967 # Is the header present?
18968 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18969 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18970 cat >conftest.$ac_ext <<_ACEOF
18971 /* confdefs.h. */
18972 _ACEOF
18973 cat confdefs.h >>conftest.$ac_ext
18974 cat >>conftest.$ac_ext <<_ACEOF
18975 /* end confdefs.h. */
18976 #include <$ac_header>
18977 _ACEOF
18978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18980 ac_status=$?
18981 grep -v '^ *+' conftest.er1 >conftest.err
18982 rm -f conftest.er1
18983 cat conftest.err >&5
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); } >/dev/null; then
18986 if test -s conftest.err; then
18987 ac_cpp_err=$ac_cxx_preproc_warn_flag
18988 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18989 else
18990 ac_cpp_err=
18991 fi
18992 else
18993 ac_cpp_err=yes
18994 fi
18995 if test -z "$ac_cpp_err"; then
18996 ac_header_preproc=yes
18997 else
18998 echo "$as_me: failed program was:" >&5
18999 sed 's/^/| /' conftest.$ac_ext >&5
19000
19001 ac_header_preproc=no
19002 fi
19003 rm -f conftest.err conftest.$ac_ext
19004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19005 echo "${ECHO_T}$ac_header_preproc" >&6
19006
19007 # So? What about this header?
19008 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19009 yes:no: )
19010 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19011 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19012 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19013 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19014 ac_header_preproc=yes
19015 ;;
19016 no:yes:* )
19017 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19018 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19019 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19020 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19021 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19022 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19023 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19024 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19026 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19027 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19028 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19029 (
19030 cat <<\_ASBOX
19031 ## ----------------------------- ##
19032 ## Report this to the dx lists. ##
19033 ## ----------------------------- ##
19034 _ASBOX
19035 ) |
19036 sed "s/^/$as_me: WARNING: /" >&2
19037 ;;
19038 esac
19039 echo "$as_me:$LINENO: checking for $ac_header" >&5
19040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19042 echo $ECHO_N "(cached) $ECHO_C" >&6
19043 else
19044 eval "$as_ac_Header=\$ac_header_preproc"
19045 fi
19046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19048
19049 fi
19050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19163 do :
19164 ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
19165 if test "x$ac_cv_header_stdlib_h" = xyes; then :
1905119166 cat >>confdefs.h <<_ACEOF
19052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19167 #define HAVE_STDLIB_H 1
1905319168 _ACEOF
1905419169
1905519170 fi
1906919184 LIB_LF=''
1907019185 if test "$with_largefiles" = 'yes'
1907119186 then
19072 echo "$as_me:$LINENO: checking whether large file support needs explicit enabling" >&5
19073 echo $ECHO_N "checking whether large file support needs explicit enabling... $ECHO_C" >&6
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether large file support needs explicit enabling" >&5
19188 $as_echo_n "checking whether large file support needs explicit enabling... " >&6; }
1907419189 result='no'
1907519190 getconf='getconf LFS_CFLAGS'
1907619191 if ($getconf) >/dev/null 2>&1
1909119206 LIBS="$LIB_LF $LIBS"
1909219207 result='yes'
1909319208 fi
19094 echo "$as_me:$LINENO: result: $result" >&5
19095 echo "${ECHO_T}$result" >&6
19096 fi
19097
19098
19099
19100 echo "$as_me:$LINENO: checking architecture type" >&5
19101 echo $ECHO_N "checking architecture type... $ECHO_C" >&6
19102 if test "${ac_cv_dx_arch+set}" = set; then
19103 echo $ECHO_N "(cached) $ECHO_C" >&6
19209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
19210 $as_echo "$result" >&6; }
19211 fi
19212
19213
19214
19215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking architecture type" >&5
19216 $as_echo_n "checking architecture type... " >&6; }
19217 if ${ac_cv_dx_arch+:} false; then :
19218 $as_echo_n "(cached) " >&6
1910419219 else
1910519220
1910619221 ac_cv_dx_arch=$ARCH
1913219247 fi
1913319248
1913419249 ARCH=$ac_cv_dx_arch
19135 echo "$as_me:$LINENO: result: $ARCH" >&5
19136 echo "${ECHO_T}$ARCH" >&6
19250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ARCH" >&5
19251 $as_echo "$ARCH" >&6; }
1913719252
1913819253 cat >>confdefs.h <<_ACEOF
1913919254 #define $ARCH 1
1914619261
1914719262
1914819263
19149 echo "$as_me:$LINENO: checking architecture specific stuff" >&5
19150 echo $ECHO_N "checking architecture specific stuff... $ECHO_C" >&6
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking architecture specific stuff" >&5
19265 $as_echo_n "checking architecture specific stuff... " >&6; }
1915119266 case $ARCH in
1915219267 ibm6000)
1915319268 a=`echo $CC | sed "s/.*gcc.*/YES/"`
1920819323
1920919324 ;;
1921019325 esac
19211 echo "$as_me:$LINENO: result: done" >&5
19212 echo "${ECHO_T}done" >&6
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19327 $as_echo "done" >&6; }
1921319328
1921419329
1921519330 if test "$MKDEP" = "" ; then
1922419339 INSTALL_BIN_SCRIPT="dx"
1922519340 fi
1922619341
19227 # Find a good install program. We prefer a C program (faster),
19228 # so one script is as good as another. But avoid the broken or
19229 # incompatible versions:
19230 # SysV /etc/install, /usr/sbin/install
19231 # SunOS /usr/etc/install
19232 # IRIX /sbin/install
19233 # AIX /bin/install
19234 # AmigaOS /C/install, which installs bootblocks on floppy discs
19235 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19236 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19237 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19238 # OS/2's system install, which has a completely different semantic
19239 # ./install, which can be erroneously created by make from ./install.sh.
19240 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19241 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
19242 if test -z "$INSTALL"; then
19243 if test "${ac_cv_path_install+set}" = set; then
19244 echo $ECHO_N "(cached) $ECHO_C" >&6
19245 else
19246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19247 for as_dir in $PATH
19248 do
19249 IFS=$as_save_IFS
19250 test -z "$as_dir" && as_dir=.
19251 # Account for people who put trailing slashes in PATH elements.
19252 case $as_dir/ in
19253 ./ | .// | /cC/* | \
19254 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19255 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19256 /usr/ucb/* ) ;;
19257 *)
19258 # OSF1 and SCO ODT 3.0 have their own names for install.
19259 # Don't use installbsd from OSF since it installs stuff as root
19260 # by default.
19261 for ac_prog in ginstall scoinst install; do
19262 for ac_exec_ext in '' $ac_executable_extensions; do
19263 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
19264 if test $ac_prog = install &&
19265 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19266 # AIX install. It has an incompatible calling convention.
19267 :
19268 elif test $ac_prog = install &&
19269 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19270 # program-specific install script used by HP pwplus--don't use.
19271 :
19272 else
19273 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19274 break 3
19275 fi
19276 fi
19277 done
19278 done
19279 ;;
19280 esac
19281 done
19282
19283
19284 fi
19285 if test "${ac_cv_path_install+set}" = set; then
19286 INSTALL=$ac_cv_path_install
19287 else
19288 # As a last resort, use the slow shell script. We don't cache a
19289 # path for INSTALL within a source directory, because that will
19290 # break other packages using the cache if that directory is
19291 # removed, or if the path is relative.
19292 INSTALL=$ac_install_sh
19293 fi
19294 fi
19295 echo "$as_me:$LINENO: result: $INSTALL" >&5
19296 echo "${ECHO_T}$INSTALL" >&6
19297
19298 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19299 # It thinks the first close brace ends the variable substitution.
19300 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19301
19302 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19303
19304 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1930519342
1930619343
1930719344 if test -z "$LN_S" ; then
19308 echo "$as_me:$LINENO: checking whether ln -s works" >&5
19309 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
19345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
19346 $as_echo_n "checking whether ln -s works... " >&6; }
1931019347 LN_S=$as_ln_s
1931119348 if test "$LN_S" = "ln -s"; then
19312 echo "$as_me:$LINENO: result: yes" >&5
19313 echo "${ECHO_T}yes" >&6
19314 else
19315 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
19316 echo "${ECHO_T}no, using $LN_S" >&6
19317 fi
19318
19319 fi
19320
19321 ac_ext=cc
19349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19350 $as_echo "yes" >&6; }
19351 else
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
19353 $as_echo "no, using $LN_S" >&6; }
19354 fi
19355
19356 fi
19357
19358 ac_ext=cpp
1932219359 ac_cpp='$CXXCPP $CPPFLAGS'
1932319360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1932419361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1932519362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19326 if test -n "$ac_tool_prefix"; then
19327 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
19363 if test -z "$CXX"; then
19364 if test -n "$CCC"; then
19365 CXX=$CCC
19366 else
19367 if test -n "$ac_tool_prefix"; then
19368 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1932819369 do
1932919370 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1933019371 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19331 echo "$as_me:$LINENO: checking for $ac_word" >&5
19332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19333 if test "${ac_cv_prog_CXX+set}" = set; then
19334 echo $ECHO_N "(cached) $ECHO_C" >&6
19372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19373 $as_echo_n "checking for $ac_word... " >&6; }
19374 if ${ac_cv_prog_CXX+:} false; then :
19375 $as_echo_n "(cached) " >&6
1933519376 else
1933619377 if test -n "$CXX"; then
1933719378 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1934119382 do
1934219383 IFS=$as_save_IFS
1934319384 test -z "$as_dir" && as_dir=.
19344 for ac_exec_ext in '' $ac_executable_extensions; do
19345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19385 for ac_exec_ext in '' $ac_executable_extensions; do
19386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1934619387 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
19347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1934819389 break 2
1934919390 fi
1935019391 done
19351 done
19392 done
19393 IFS=$as_save_IFS
1935219394
1935319395 fi
1935419396 fi
1935519397 CXX=$ac_cv_prog_CXX
1935619398 if test -n "$CXX"; then
19357 echo "$as_me:$LINENO: result: $CXX" >&5
19358 echo "${ECHO_T}$CXX" >&6
19359 else
19360 echo "$as_me:$LINENO: result: no" >&5
19361 echo "${ECHO_T}no" >&6
19362 fi
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
19400 $as_echo "$CXX" >&6; }
19401 else
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19403 $as_echo "no" >&6; }
19404 fi
19405
1936319406
1936419407 test -n "$CXX" && break
1936519408 done
1936619409 fi
1936719410 if test -z "$CXX"; then
1936819411 ac_ct_CXX=$CXX
19369 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
19412 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1937019413 do
1937119414 # Extract the first word of "$ac_prog", so it can be a program name with args.
1937219415 set dummy $ac_prog; ac_word=$2
19373 echo "$as_me:$LINENO: checking for $ac_word" >&5
19374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19375 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19376 echo $ECHO_N "(cached) $ECHO_C" >&6
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19417 $as_echo_n "checking for $ac_word... " >&6; }
19418 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
19419 $as_echo_n "(cached) " >&6
1937719420 else
1937819421 if test -n "$ac_ct_CXX"; then
1937919422 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1938319426 do
1938419427 IFS=$as_save_IFS
1938519428 test -z "$as_dir" && as_dir=.
19386 for ac_exec_ext in '' $ac_executable_extensions; do
19387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19429 for ac_exec_ext in '' $ac_executable_extensions; do
19430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1938819431 ac_cv_prog_ac_ct_CXX="$ac_prog"
19389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1939019433 break 2
1939119434 fi
1939219435 done
19393 done
19436 done
19437 IFS=$as_save_IFS
1939419438
1939519439 fi
1939619440 fi
1939719441 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1939819442 if test -n "$ac_ct_CXX"; then
19399 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19400 echo "${ECHO_T}$ac_ct_CXX" >&6
19401 else
19402 echo "$as_me:$LINENO: result: no" >&5
19403 echo "${ECHO_T}no" >&6
19404 fi
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
19444 $as_echo "$ac_ct_CXX" >&6; }
19445 else
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19447 $as_echo "no" >&6; }
19448 fi
19449
1940519450
1940619451 test -n "$ac_ct_CXX" && break
1940719452 done
19408 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
19409
19410 CXX=$ac_ct_CXX
19411 fi
19412
19413
19453
19454 if test "x$ac_ct_CXX" = x; then
19455 CXX="g++"
19456 else
19457 case $cross_compiling:$ac_tool_warned in
19458 yes:)
19459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19461 ac_tool_warned=yes ;;
19462 esac
19463 CXX=$ac_ct_CXX
19464 fi
19465 fi
19466
19467 fi
19468 fi
1941419469 # Provide some information about the compiler.
19415 echo "$as_me:$LINENO:" \
19416 "checking for C++ compiler version" >&5
19417 ac_compiler=`set X $ac_compile; echo $2`
19418 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
19419 (eval $ac_compiler --version </dev/null >&5) 2>&5
19470 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
19471 set X $ac_compile
19472 ac_compiler=$2
19473 for ac_option in --version -v -V -qversion; do
19474 { { ac_try="$ac_compiler $ac_option >&5"
19475 case "(($ac_try" in
19476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19477 *) ac_try_echo=$ac_try;;
19478 esac
19479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19480 $as_echo "$ac_try_echo"; } >&5
19481 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1942019482 ac_status=$?
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); }
19423 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
19424 (eval $ac_compiler -v </dev/null >&5) 2>&5
19425 ac_status=$?
19426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19427 (exit $ac_status); }
19428 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
19429 (eval $ac_compiler -V </dev/null >&5) 2>&5
19430 ac_status=$?
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); }
19433
19434 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19435 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
19436 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19437 echo $ECHO_N "(cached) $ECHO_C" >&6
19438 else
19439 cat >conftest.$ac_ext <<_ACEOF
19440 /* confdefs.h. */
19441 _ACEOF
19442 cat confdefs.h >>conftest.$ac_ext
19443 cat >>conftest.$ac_ext <<_ACEOF
19483 if test -s conftest.err; then
19484 sed '10a\
19485 ... rest of stderr output deleted ...
19486 10q' conftest.err >conftest.er1
19487 cat conftest.er1 >&5
19488 fi
19489 rm -f conftest.er1 conftest.err
19490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19491 test $ac_status = 0; }
19492 done
19493
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
19495 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
19496 if ${ac_cv_cxx_compiler_gnu+:} false; then :
19497 $as_echo_n "(cached) " >&6
19498 else
19499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1944419500 /* end confdefs.h. */
1944519501
1944619502 int
1945419510 return 0;
1945519511 }
1945619512 _ACEOF
19457 rm -f conftest.$ac_objext
19458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19459 (eval $ac_compile) 2>conftest.er1
19460 ac_status=$?
19461 grep -v '^ *+' conftest.er1 >conftest.err
19462 rm -f conftest.er1
19463 cat conftest.err >&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); } &&
19466 { ac_try='test -z "$ac_cxx_werror_flag"
19467 || test ! -s conftest.err'
19468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19469 (eval $ac_try) 2>&5
19470 ac_status=$?
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); }; } &&
19473 { ac_try='test -s conftest.$ac_objext'
19474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19475 (eval $ac_try) 2>&5
19476 ac_status=$?
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); }; }; then
19513 if ac_fn_cxx_try_compile "$LINENO"; then :
1947919514 ac_compiler_gnu=yes
1948019515 else
19481 echo "$as_me: failed program was:" >&5
19482 sed 's/^/| /' conftest.$ac_ext >&5
19483
19484 ac_compiler_gnu=no
19485 fi
19486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19516 ac_compiler_gnu=no
19517 fi
19518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1948719519 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1948819520
1948919521 fi
19490 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19491 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
19492 GXX=`test $ac_compiler_gnu = yes && echo yes`
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
19523 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
19524 if test $ac_compiler_gnu = yes; then
19525 GXX=yes
19526 else
19527 GXX=
19528 fi
1949319529 ac_test_CXXFLAGS=${CXXFLAGS+set}
1949419530 ac_save_CXXFLAGS=$CXXFLAGS
19495 CXXFLAGS="-g"
19496 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19497 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
19498 if test "${ac_cv_prog_cxx_g+set}" = set; then
19499 echo $ECHO_N "(cached) $ECHO_C" >&6
19500 else
19501 cat >conftest.$ac_ext <<_ACEOF
19502 /* confdefs.h. */
19503 _ACEOF
19504 cat confdefs.h >>conftest.$ac_ext
19505 cat >>conftest.$ac_ext <<_ACEOF
19531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
19532 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
19533 if ${ac_cv_prog_cxx_g+:} false; then :
19534 $as_echo_n "(cached) " >&6
19535 else
19536 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
19537 ac_cxx_werror_flag=yes
19538 ac_cv_prog_cxx_g=no
19539 CXXFLAGS="-g"
19540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1950619541 /* end confdefs.h. */
1950719542
1950819543 int
1951319548 return 0;
1951419549 }
1951519550 _ACEOF
19516 rm -f conftest.$ac_objext
19517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19518 (eval $ac_compile) 2>conftest.er1
19519 ac_status=$?
19520 grep -v '^ *+' conftest.er1 >conftest.err
19521 rm -f conftest.er1
19522 cat conftest.err >&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); } &&
19525 { ac_try='test -z "$ac_cxx_werror_flag"
19526 || test ! -s conftest.err'
19527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528 (eval $ac_try) 2>&5
19529 ac_status=$?
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; } &&
19532 { ac_try='test -s conftest.$ac_objext'
19533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19534 (eval $ac_try) 2>&5
19535 ac_status=$?
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); }; }; then
19551 if ac_fn_cxx_try_compile "$LINENO"; then :
1953819552 ac_cv_prog_cxx_g=yes
1953919553 else
19540 echo "$as_me: failed program was:" >&5
19541 sed 's/^/| /' conftest.$ac_ext >&5
19542
19543 ac_cv_prog_cxx_g=no
19544 fi
19545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19546 fi
19547 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19548 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
19554 CXXFLAGS=""
19555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19556 /* end confdefs.h. */
19557
19558 int
19559 main ()
19560 {
19561
19562 ;
19563 return 0;
19564 }
19565 _ACEOF
19566 if ac_fn_cxx_try_compile "$LINENO"; then :
19567
19568 else
19569 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19570 CXXFLAGS="-g"
19571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19572 /* end confdefs.h. */
19573
19574 int
19575 main ()
19576 {
19577
19578 ;
19579 return 0;
19580 }
19581 _ACEOF
19582 if ac_fn_cxx_try_compile "$LINENO"; then :
19583 ac_cv_prog_cxx_g=yes
19584 fi
19585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19586 fi
19587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19588 fi
19589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19590 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19591 fi
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
19593 $as_echo "$ac_cv_prog_cxx_g" >&6; }
1954919594 if test "$ac_test_CXXFLAGS" = set; then
1955019595 CXXFLAGS=$ac_save_CXXFLAGS
1955119596 elif test $ac_cv_prog_cxx_g = yes; then
1956119606 CXXFLAGS=
1956219607 fi
1956319608 fi
19564 for ac_declaration in \
19565 '' \
19566 'extern "C" void std::exit (int) throw (); using std::exit;' \
19567 'extern "C" void std::exit (int); using std::exit;' \
19568 'extern "C" void exit (int) throw ();' \
19569 'extern "C" void exit (int);' \
19570 'void exit (int);'
19571 do
19572 cat >conftest.$ac_ext <<_ACEOF
19573 /* confdefs.h. */
19574 _ACEOF
19575 cat confdefs.h >>conftest.$ac_ext
19576 cat >>conftest.$ac_ext <<_ACEOF
19577 /* end confdefs.h. */
19578 $ac_declaration
19579 #include <stdlib.h>
19580 int
19581 main ()
19582 {
19583 exit (42);
19584 ;
19585 return 0;
19586 }
19587 _ACEOF
19588 rm -f conftest.$ac_objext
19589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19590 (eval $ac_compile) 2>conftest.er1
19591 ac_status=$?
19592 grep -v '^ *+' conftest.er1 >conftest.err
19593 rm -f conftest.er1
19594 cat conftest.err >&5
19595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596 (exit $ac_status); } &&
19597 { ac_try='test -z "$ac_cxx_werror_flag"
19598 || test ! -s conftest.err'
19599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19600 (eval $ac_try) 2>&5
19601 ac_status=$?
19602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19603 (exit $ac_status); }; } &&
19604 { ac_try='test -s conftest.$ac_objext'
19605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19606 (eval $ac_try) 2>&5
19607 ac_status=$?
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); }; }; then
19610 :
19611 else
19612 echo "$as_me: failed program was:" >&5
19613 sed 's/^/| /' conftest.$ac_ext >&5
19614
19615 continue
19616 fi
19617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19618 cat >conftest.$ac_ext <<_ACEOF
19619 /* confdefs.h. */
19620 _ACEOF
19621 cat confdefs.h >>conftest.$ac_ext
19622 cat >>conftest.$ac_ext <<_ACEOF
19623 /* end confdefs.h. */
19624 $ac_declaration
19625 int
19626 main ()
19627 {
19628 exit (42);
19629 ;
19630 return 0;
19631 }
19632 _ACEOF
19633 rm -f conftest.$ac_objext
19634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19635 (eval $ac_compile) 2>conftest.er1
19636 ac_status=$?
19637 grep -v '^ *+' conftest.er1 >conftest.err
19638 rm -f conftest.er1
19639 cat conftest.err >&5
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); } &&
19642 { ac_try='test -z "$ac_cxx_werror_flag"
19643 || test ! -s conftest.err'
19644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19645 (eval $ac_try) 2>&5
19646 ac_status=$?
19647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); }; } &&
19649 { ac_try='test -s conftest.$ac_objext'
19650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19651 (eval $ac_try) 2>&5
19652 ac_status=$?
19653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654 (exit $ac_status); }; }; then
19655 break
19656 else
19657 echo "$as_me: failed program was:" >&5
19658 sed 's/^/| /' conftest.$ac_ext >&5
19659
19660 fi
19661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19662 done
19663 rm -f conftest*
19664 if test -n "$ac_declaration"; then
19665 echo '#ifdef __cplusplus' >>confdefs.h
19666 echo $ac_declaration >>confdefs.h
19667 echo '#endif' >>confdefs.h
19668 fi
19669
1967019609 ac_ext=c
1967119610 ac_cpp='$CPP $CPPFLAGS'
1967219611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1967519614
1967619615 depcc="$CXX" am_compiler_list=
1967719616
19678 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
19679 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
19680 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
19681 echo $ECHO_N "(cached) $ECHO_C" >&6
19617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
19618 $as_echo_n "checking dependency style of $depcc... " >&6; }
19619 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
19620 $as_echo_n "(cached) " >&6
1968219621 else
1968319622 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1968419623 # We make a subdir and do the tests there. Otherwise we can end up
1976519704 fi
1976619705
1976719706 fi
19768 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
19769 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
19708 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
1977019709 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
1977119710
1977219711
1978619725 ac_cv_prog_CXXCPP=$CXXCPP
1978719726 fi
1978819727
19789 ac_ext=cc
19728 ac_ext=cpp
1979019729 ac_cpp='$CXXCPP $CPPFLAGS'
1979119730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1979219731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1979319732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19794 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
19795 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
19733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
19734 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
1979619735 if test -z "$CXXCPP"; then
19797 if test "${ac_cv_prog_CXXCPP+set}" = set; then
19798 echo $ECHO_N "(cached) $ECHO_C" >&6
19736 if ${ac_cv_prog_CXXCPP+:} false; then :
19737 $as_echo_n "(cached) " >&6
1979919738 else
1980019739 # Double quotes because CXXCPP needs to be expanded
1980119740 for CXXCPP in "$CXX -E" "/lib/cpp"
1980919748 # <limits.h> exists even on freestanding compilers.
1981019749 # On the NeXT, cc -E runs the code through the compiler's parser,
1981119750 # not just through cpp. "Syntax error" is here to catch this case.
19812 cat >conftest.$ac_ext <<_ACEOF
19813 /* confdefs.h. */
19814 _ACEOF
19815 cat confdefs.h >>conftest.$ac_ext
19816 cat >>conftest.$ac_ext <<_ACEOF
19751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981719752 /* end confdefs.h. */
1981819753 #ifdef __STDC__
1981919754 # include <limits.h>
1982219757 #endif
1982319758 Syntax error
1982419759 _ACEOF
19825 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19826 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19827 ac_status=$?
19828 grep -v '^ *+' conftest.er1 >conftest.err
19829 rm -f conftest.er1
19830 cat conftest.err >&5
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); } >/dev/null; then
19833 if test -s conftest.err; then
19834 ac_cpp_err=$ac_cxx_preproc_warn_flag
19835 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19836 else
19837 ac_cpp_err=
19838 fi
19839 else
19840 ac_cpp_err=yes
19841 fi
19842 if test -z "$ac_cpp_err"; then
19843 :
19844 else
19845 echo "$as_me: failed program was:" >&5
19846 sed 's/^/| /' conftest.$ac_ext >&5
19847
19760 if ac_fn_cxx_try_cpp "$LINENO"; then :
19761
19762 else
1984819763 # Broken: fails on valid input.
1984919764 continue
1985019765 fi
19851 rm -f conftest.err conftest.$ac_ext
19852
19853 # OK, works on sane cases. Now check whether non-existent headers
19766 rm -f conftest.err conftest.i conftest.$ac_ext
19767
19768 # OK, works on sane cases. Now check whether nonexistent headers
1985419769 # can be detected and how.
19855 cat >conftest.$ac_ext <<_ACEOF
19856 /* confdefs.h. */
19857 _ACEOF
19858 cat confdefs.h >>conftest.$ac_ext
19859 cat >>conftest.$ac_ext <<_ACEOF
19770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1986019771 /* end confdefs.h. */
1986119772 #include <ac_nonexistent.h>
1986219773 _ACEOF
19863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19864 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19865 ac_status=$?
19866 grep -v '^ *+' conftest.er1 >conftest.err
19867 rm -f conftest.er1
19868 cat conftest.err >&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); } >/dev/null; then
19871 if test -s conftest.err; then
19872 ac_cpp_err=$ac_cxx_preproc_warn_flag
19873 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19874 else
19875 ac_cpp_err=
19876 fi
19877 else
19878 ac_cpp_err=yes
19879 fi
19880 if test -z "$ac_cpp_err"; then
19774 if ac_fn_cxx_try_cpp "$LINENO"; then :
1988119775 # Broken: success on invalid input.
1988219776 continue
1988319777 else
19884 echo "$as_me: failed program was:" >&5
19885 sed 's/^/| /' conftest.$ac_ext >&5
19886
1988719778 # Passes both tests.
1988819779 ac_preproc_ok=:
1988919780 break
1989019781 fi
19891 rm -f conftest.err conftest.$ac_ext
19782 rm -f conftest.err conftest.i conftest.$ac_ext
1989219783
1989319784 done
1989419785 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19895 rm -f conftest.err conftest.$ac_ext
19896 if $ac_preproc_ok; then
19786 rm -f conftest.i conftest.err conftest.$ac_ext
19787 if $ac_preproc_ok; then :
1989719788 break
1989819789 fi
1989919790
1990519796 else
1990619797 ac_cv_prog_CXXCPP=$CXXCPP
1990719798 fi
19908 echo "$as_me:$LINENO: result: $CXXCPP" >&5
19909 echo "${ECHO_T}$CXXCPP" >&6
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
19800 $as_echo "$CXXCPP" >&6; }
1991019801 ac_preproc_ok=false
1991119802 for ac_cxx_preproc_warn_flag in '' yes
1991219803 do
1991619807 # <limits.h> exists even on freestanding compilers.
1991719808 # On the NeXT, cc -E runs the code through the compiler's parser,
1991819809 # not just through cpp. "Syntax error" is here to catch this case.
19919 cat >conftest.$ac_ext <<_ACEOF
19920 /* confdefs.h. */
19921 _ACEOF
19922 cat confdefs.h >>conftest.$ac_ext
19923 cat >>conftest.$ac_ext <<_ACEOF
19810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1992419811 /* end confdefs.h. */
1992519812 #ifdef __STDC__
1992619813 # include <limits.h>
1992919816 #endif
1993019817 Syntax error
1993119818 _ACEOF
19932 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19933 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19934 ac_status=$?
19935 grep -v '^ *+' conftest.er1 >conftest.err
19936 rm -f conftest.er1
19937 cat conftest.err >&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); } >/dev/null; then
19940 if test -s conftest.err; then
19941 ac_cpp_err=$ac_cxx_preproc_warn_flag
19942 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19943 else
19944 ac_cpp_err=
19945 fi
19946 else
19947 ac_cpp_err=yes
19948 fi
19949 if test -z "$ac_cpp_err"; then
19950 :
19951 else
19952 echo "$as_me: failed program was:" >&5
19953 sed 's/^/| /' conftest.$ac_ext >&5
19954
19819 if ac_fn_cxx_try_cpp "$LINENO"; then :
19820
19821 else
1995519822 # Broken: fails on valid input.
1995619823 continue
1995719824 fi
19958 rm -f conftest.err conftest.$ac_ext
19959
19960 # OK, works on sane cases. Now check whether non-existent headers
19825 rm -f conftest.err conftest.i conftest.$ac_ext
19826
19827 # OK, works on sane cases. Now check whether nonexistent headers
1996119828 # can be detected and how.
19962 cat >conftest.$ac_ext <<_ACEOF
19963 /* confdefs.h. */
19964 _ACEOF
19965 cat confdefs.h >>conftest.$ac_ext
19966 cat >>conftest.$ac_ext <<_ACEOF
19829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996719830 /* end confdefs.h. */
1996819831 #include <ac_nonexistent.h>
1996919832 _ACEOF
19970 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19971 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19972 ac_status=$?
19973 grep -v '^ *+' conftest.er1 >conftest.err
19974 rm -f conftest.er1
19975 cat conftest.err >&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); } >/dev/null; then
19978 if test -s conftest.err; then
19979 ac_cpp_err=$ac_cxx_preproc_warn_flag
19980 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19981 else
19982 ac_cpp_err=
19983 fi
19984 else
19985 ac_cpp_err=yes
19986 fi
19987 if test -z "$ac_cpp_err"; then
19833 if ac_fn_cxx_try_cpp "$LINENO"; then :
1998819834 # Broken: success on invalid input.
1998919835 continue
1999019836 else
19991 echo "$as_me: failed program was:" >&5
19992 sed 's/^/| /' conftest.$ac_ext >&5
19993
1999419837 # Passes both tests.
1999519838 ac_preproc_ok=:
1999619839 break
1999719840 fi
19998 rm -f conftest.err conftest.$ac_ext
19841 rm -f conftest.err conftest.i conftest.$ac_ext
1999919842
2000019843 done
2000119844 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20002 rm -f conftest.err conftest.$ac_ext
20003 if $ac_preproc_ok; then
20004 :
20005 else
20006 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20007 See \`config.log' for more details." >&5
20008 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20009 See \`config.log' for more details." >&2;}
20010 { (exit 1); exit 1; }; }
19845 rm -f conftest.i conftest.err conftest.$ac_ext
19846 if $ac_preproc_ok; then :
19847
19848 else
19849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19851 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
19852 See \`config.log' for more details" "$LINENO" 5; }
2001119853 fi
2001219854
2001319855 ac_ext=c
2002419866 if test -n "$ac_tool_prefix"; then
2002519867 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2002619868 set dummy ${ac_tool_prefix}gcc; ac_word=$2
20027 echo "$as_me:$LINENO: checking for $ac_word" >&5
20028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20029 if test "${ac_cv_prog_CC+set}" = set; then
20030 echo $ECHO_N "(cached) $ECHO_C" >&6
19869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19870 $as_echo_n "checking for $ac_word... " >&6; }
19871 if ${ac_cv_prog_CC+:} false; then :
19872 $as_echo_n "(cached) " >&6
2003119873 else
2003219874 if test -n "$CC"; then
2003319875 ac_cv_prog_CC="$CC" # Let the user override the test.
2003719879 do
2003819880 IFS=$as_save_IFS
2003919881 test -z "$as_dir" && as_dir=.
20040 for ac_exec_ext in '' $ac_executable_extensions; do
20041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19882 for ac_exec_ext in '' $ac_executable_extensions; do
19883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2004219884 ac_cv_prog_CC="${ac_tool_prefix}gcc"
20043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2004419886 break 2
2004519887 fi
2004619888 done
20047 done
19889 done
19890 IFS=$as_save_IFS
2004819891
2004919892 fi
2005019893 fi
2005119894 CC=$ac_cv_prog_CC
2005219895 if test -n "$CC"; then
20053 echo "$as_me:$LINENO: result: $CC" >&5
20054 echo "${ECHO_T}$CC" >&6
20055 else
20056 echo "$as_me:$LINENO: result: no" >&5
20057 echo "${ECHO_T}no" >&6
20058 fi
19896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
19897 $as_echo "$CC" >&6; }
19898 else
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19900 $as_echo "no" >&6; }
19901 fi
19902
2005919903
2006019904 fi
2006119905 if test -z "$ac_cv_prog_CC"; then
2006219906 ac_ct_CC=$CC
2006319907 # Extract the first word of "gcc", so it can be a program name with args.
2006419908 set dummy gcc; ac_word=$2
20065 echo "$as_me:$LINENO: checking for $ac_word" >&5
20066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20067 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
20068 echo $ECHO_N "(cached) $ECHO_C" >&6
19909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19910 $as_echo_n "checking for $ac_word... " >&6; }
19911 if ${ac_cv_prog_ac_ct_CC+:} false; then :
19912 $as_echo_n "(cached) " >&6
2006919913 else
2007019914 if test -n "$ac_ct_CC"; then
2007119915 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2007519919 do
2007619920 IFS=$as_save_IFS
2007719921 test -z "$as_dir" && as_dir=.
20078 for ac_exec_ext in '' $ac_executable_extensions; do
20079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19922 for ac_exec_ext in '' $ac_executable_extensions; do
19923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2008019924 ac_cv_prog_ac_ct_CC="gcc"
20081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2008219926 break 2
2008319927 fi
2008419928 done
20085 done
19929 done
19930 IFS=$as_save_IFS
2008619931
2008719932 fi
2008819933 fi
2008919934 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2009019935 if test -n "$ac_ct_CC"; then
20091 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
20092 echo "${ECHO_T}$ac_ct_CC" >&6
20093 else
20094 echo "$as_me:$LINENO: result: no" >&5
20095 echo "${ECHO_T}no" >&6
20096 fi
20097
20098 CC=$ac_ct_CC
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
19937 $as_echo "$ac_ct_CC" >&6; }
19938 else
19939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19940 $as_echo "no" >&6; }
19941 fi
19942
19943 if test "x$ac_ct_CC" = x; then
19944 CC=""
19945 else
19946 case $cross_compiling:$ac_tool_warned in
19947 yes:)
19948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19950 ac_tool_warned=yes ;;
19951 esac
19952 CC=$ac_ct_CC
19953 fi
2009919954 else
2010019955 CC="$ac_cv_prog_CC"
2010119956 fi
2010219957
2010319958 if test -z "$CC"; then
20104 if test -n "$ac_tool_prefix"; then
20105 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
19959 if test -n "$ac_tool_prefix"; then
19960 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2010619961 set dummy ${ac_tool_prefix}cc; ac_word=$2
20107 echo "$as_me:$LINENO: checking for $ac_word" >&5
20108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20109 if test "${ac_cv_prog_CC+set}" = set; then
20110 echo $ECHO_N "(cached) $ECHO_C" >&6
19962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19963 $as_echo_n "checking for $ac_word... " >&6; }
19964 if ${ac_cv_prog_CC+:} false; then :
19965 $as_echo_n "(cached) " >&6
2011119966 else
2011219967 if test -n "$CC"; then
2011319968 ac_cv_prog_CC="$CC" # Let the user override the test.
2011719972 do
2011819973 IFS=$as_save_IFS
2011919974 test -z "$as_dir" && as_dir=.
20120 for ac_exec_ext in '' $ac_executable_extensions; do
20121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19975 for ac_exec_ext in '' $ac_executable_extensions; do
19976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2012219977 ac_cv_prog_CC="${ac_tool_prefix}cc"
20123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2012419979 break 2
2012519980 fi
2012619981 done
20127 done
19982 done
19983 IFS=$as_save_IFS
2012819984
2012919985 fi
2013019986 fi
2013119987 CC=$ac_cv_prog_CC
2013219988 if test -n "$CC"; then
20133 echo "$as_me:$LINENO: result: $CC" >&5
20134 echo "${ECHO_T}$CC" >&6
20135 else
20136 echo "$as_me:$LINENO: result: no" >&5
20137 echo "${ECHO_T}no" >&6
20138 fi
20139
20140 fi
20141 if test -z "$ac_cv_prog_CC"; then
20142 ac_ct_CC=$CC
20143 # Extract the first word of "cc", so it can be a program name with args.
20144 set dummy cc; ac_word=$2
20145 echo "$as_me:$LINENO: checking for $ac_word" >&5
20146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20147 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
20148 echo $ECHO_N "(cached) $ECHO_C" >&6
20149 else
20150 if test -n "$ac_ct_CC"; then
20151 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
20152 else
20153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20154 for as_dir in $PATH
20155 do
20156 IFS=$as_save_IFS
20157 test -z "$as_dir" && as_dir=.
20158 for ac_exec_ext in '' $ac_executable_extensions; do
20159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20160 ac_cv_prog_ac_ct_CC="cc"
20161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20162 break 2
19989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
19990 $as_echo "$CC" >&6; }
19991 else
19992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19993 $as_echo "no" >&6; }
19994 fi
19995
19996
2016319997 fi
20164 done
20165 done
20166
20167 fi
20168 fi
20169 ac_ct_CC=$ac_cv_prog_ac_ct_CC
20170 if test -n "$ac_ct_CC"; then
20171 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
20172 echo "${ECHO_T}$ac_ct_CC" >&6
20173 else
20174 echo "$as_me:$LINENO: result: no" >&5
20175 echo "${ECHO_T}no" >&6
20176 fi
20177
20178 CC=$ac_ct_CC
20179 else
20180 CC="$ac_cv_prog_CC"
20181 fi
20182
2018319998 fi
2018419999 if test -z "$CC"; then
2018520000 # Extract the first word of "cc", so it can be a program name with args.
2018620001 set dummy cc; ac_word=$2
20187 echo "$as_me:$LINENO: checking for $ac_word" >&5
20188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20189 if test "${ac_cv_prog_CC+set}" = set; then
20190 echo $ECHO_N "(cached) $ECHO_C" >&6
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20003 $as_echo_n "checking for $ac_word... " >&6; }
20004 if ${ac_cv_prog_CC+:} false; then :
20005 $as_echo_n "(cached) " >&6
2019120006 else
2019220007 if test -n "$CC"; then
2019320008 ac_cv_prog_CC="$CC" # Let the user override the test.
2019820013 do
2019920014 IFS=$as_save_IFS
2020020015 test -z "$as_dir" && as_dir=.
20201 for ac_exec_ext in '' $ac_executable_extensions; do
20202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20016 for ac_exec_ext in '' $ac_executable_extensions; do
20017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2020320018 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2020420019 ac_prog_rejected=yes
2020520020 continue
2020620021 fi
2020720022 ac_cv_prog_CC="cc"
20208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2020920024 break 2
2021020025 fi
2021120026 done
20212 done
20027 done
20028 IFS=$as_save_IFS
2021320029
2021420030 if test $ac_prog_rejected = yes; then
2021520031 # We found a bogon in the path, so make sure we never use it.
2022720043 fi
2022820044 CC=$ac_cv_prog_CC
2022920045 if test -n "$CC"; then
20230 echo "$as_me:$LINENO: result: $CC" >&5
20231 echo "${ECHO_T}$CC" >&6
20232 else
20233 echo "$as_me:$LINENO: result: no" >&5
20234 echo "${ECHO_T}no" >&6
20235 fi
20046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
20047 $as_echo "$CC" >&6; }
20048 else
20049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20050 $as_echo "no" >&6; }
20051 fi
20052
2023620053
2023720054 fi
2023820055 if test -z "$CC"; then
2023920056 if test -n "$ac_tool_prefix"; then
20240 for ac_prog in cl
20057 for ac_prog in cl.exe
2024120058 do
2024220059 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2024320060 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
20244 echo "$as_me:$LINENO: checking for $ac_word" >&5
20245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20246 if test "${ac_cv_prog_CC+set}" = set; then
20247 echo $ECHO_N "(cached) $ECHO_C" >&6
20061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20062 $as_echo_n "checking for $ac_word... " >&6; }
20063 if ${ac_cv_prog_CC+:} false; then :
20064 $as_echo_n "(cached) " >&6
2024820065 else
2024920066 if test -n "$CC"; then
2025020067 ac_cv_prog_CC="$CC" # Let the user override the test.
2025420071 do
2025520072 IFS=$as_save_IFS
2025620073 test -z "$as_dir" && as_dir=.
20257 for ac_exec_ext in '' $ac_executable_extensions; do
20258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20074 for ac_exec_ext in '' $ac_executable_extensions; do
20075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2025920076 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
20260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2026120078 break 2
2026220079 fi
2026320080 done
20264 done
20081 done
20082 IFS=$as_save_IFS
2026520083
2026620084 fi
2026720085 fi
2026820086 CC=$ac_cv_prog_CC
2026920087 if test -n "$CC"; then
20270 echo "$as_me:$LINENO: result: $CC" >&5
20271 echo "${ECHO_T}$CC" >&6
20272 else
20273 echo "$as_me:$LINENO: result: no" >&5
20274 echo "${ECHO_T}no" >&6
20275 fi
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
20089 $as_echo "$CC" >&6; }
20090 else
20091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20092 $as_echo "no" >&6; }
20093 fi
20094
2027620095
2027720096 test -n "$CC" && break
2027820097 done
2027920098 fi
2028020099 if test -z "$CC"; then
2028120100 ac_ct_CC=$CC
20282 for ac_prog in cl
20101 for ac_prog in cl.exe
2028320102 do
2028420103 # Extract the first word of "$ac_prog", so it can be a program name with args.
2028520104 set dummy $ac_prog; ac_word=$2
20286 echo "$as_me:$LINENO: checking for $ac_word" >&5
20287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20288 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
20289 echo $ECHO_N "(cached) $ECHO_C" >&6
20105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20106 $as_echo_n "checking for $ac_word... " >&6; }
20107 if ${ac_cv_prog_ac_ct_CC+:} false; then :
20108 $as_echo_n "(cached) " >&6
2029020109 else
2029120110 if test -n "$ac_ct_CC"; then
2029220111 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2029620115 do
2029720116 IFS=$as_save_IFS
2029820117 test -z "$as_dir" && as_dir=.
20299 for ac_exec_ext in '' $ac_executable_extensions; do
20300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20118 for ac_exec_ext in '' $ac_executable_extensions; do
20119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2030120120 ac_cv_prog_ac_ct_CC="$ac_prog"
20302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2030320122 break 2
2030420123 fi
2030520124 done
20306 done
20125 done
20126 IFS=$as_save_IFS
2030720127
2030820128 fi
2030920129 fi
2031020130 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2031120131 if test -n "$ac_ct_CC"; then
20312 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
20313 echo "${ECHO_T}$ac_ct_CC" >&6
20314 else
20315 echo "$as_me:$LINENO: result: no" >&5
20316 echo "${ECHO_T}no" >&6
20317 fi
20132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
20133 $as_echo "$ac_ct_CC" >&6; }
20134 else
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20136 $as_echo "no" >&6; }
20137 fi
20138
2031820139
2031920140 test -n "$ac_ct_CC" && break
2032020141 done
2032120142
20322 CC=$ac_ct_CC
20323 fi
20324
20325 fi
20326
20327
20328 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
20329 See \`config.log' for more details." >&5
20330 echo "$as_me: error: no acceptable C compiler found in \$PATH
20331 See \`config.log' for more details." >&2;}
20332 { (exit 1); exit 1; }; }
20143 if test "x$ac_ct_CC" = x; then
20144 CC=""
20145 else
20146 case $cross_compiling:$ac_tool_warned in
20147 yes:)
20148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20150 ac_tool_warned=yes ;;
20151 esac
20152 CC=$ac_ct_CC
20153 fi
20154 fi
20155
20156 fi
20157
20158
20159 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20161 as_fn_error $? "no acceptable C compiler found in \$PATH
20162 See \`config.log' for more details" "$LINENO" 5; }
2033320163
2033420164 # Provide some information about the compiler.
20335 echo "$as_me:$LINENO:" \
20336 "checking for C compiler version" >&5
20337 ac_compiler=`set X $ac_compile; echo $2`
20338 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
20339 (eval $ac_compiler --version </dev/null >&5) 2>&5
20165 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
20166 set X $ac_compile
20167 ac_compiler=$2
20168 for ac_option in --version -v -V -qversion; do
20169 { { ac_try="$ac_compiler $ac_option >&5"
20170 case "(($ac_try" in
20171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20172 *) ac_try_echo=$ac_try;;
20173 esac
20174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20175 $as_echo "$ac_try_echo"; } >&5
20176 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2034020177 ac_status=$?
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); }
20343 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
20344 (eval $ac_compiler -v </dev/null >&5) 2>&5
20345 ac_status=$?
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); }
20348 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
20349 (eval $ac_compiler -V </dev/null >&5) 2>&5
20350 ac_status=$?
20351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352 (exit $ac_status); }
20353
20354 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
20355 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
20356 if test "${ac_cv_c_compiler_gnu+set}" = set; then
20357 echo $ECHO_N "(cached) $ECHO_C" >&6
20358 else
20359 cat >conftest.$ac_ext <<_ACEOF
20360 /* confdefs.h. */
20361 _ACEOF
20362 cat confdefs.h >>conftest.$ac_ext
20363 cat >>conftest.$ac_ext <<_ACEOF
20178 if test -s conftest.err; then
20179 sed '10a\
20180 ... rest of stderr output deleted ...
20181 10q' conftest.err >conftest.er1
20182 cat conftest.er1 >&5
20183 fi
20184 rm -f conftest.er1 conftest.err
20185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20186 test $ac_status = 0; }
20187 done
20188
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
20190 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
20191 if ${ac_cv_c_compiler_gnu+:} false; then :
20192 $as_echo_n "(cached) " >&6
20193 else
20194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2036420195 /* end confdefs.h. */
2036520196
2036620197 int
2037420205 return 0;
2037520206 }
2037620207 _ACEOF
20377 rm -f conftest.$ac_objext
20378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20379 (eval $ac_compile) 2>conftest.er1
20380 ac_status=$?
20381 grep -v '^ *+' conftest.er1 >conftest.err
20382 rm -f conftest.er1
20383 cat conftest.err >&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); } &&
20386 { ac_try='test -z "$ac_c_werror_flag"
20387 || test ! -s conftest.err'
20388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20389 (eval $ac_try) 2>&5
20390 ac_status=$?
20391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20392 (exit $ac_status); }; } &&
20393 { ac_try='test -s conftest.$ac_objext'
20394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20395 (eval $ac_try) 2>&5
20396 ac_status=$?
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); }; }; then
20208 if ac_fn_c_try_compile "$LINENO"; then :
2039920209 ac_compiler_gnu=yes
2040020210 else
20401 echo "$as_me: failed program was:" >&5
20402 sed 's/^/| /' conftest.$ac_ext >&5
20403
20404 ac_compiler_gnu=no
20405 fi
20406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20211 ac_compiler_gnu=no
20212 fi
20213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2040720214 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2040820215
2040920216 fi
20410 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
20411 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
20412 GCC=`test $ac_compiler_gnu = yes && echo yes`
20217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
20218 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
20219 if test $ac_compiler_gnu = yes; then
20220 GCC=yes
20221 else
20222 GCC=
20223 fi
2041320224 ac_test_CFLAGS=${CFLAGS+set}
2041420225 ac_save_CFLAGS=$CFLAGS
20415 CFLAGS="-g"
20416 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
20417 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
20418 if test "${ac_cv_prog_cc_g+set}" = set; then
20419 echo $ECHO_N "(cached) $ECHO_C" >&6
20420 else
20421 cat >conftest.$ac_ext <<_ACEOF
20422 /* confdefs.h. */
20423 _ACEOF
20424 cat confdefs.h >>conftest.$ac_ext
20425 cat >>conftest.$ac_ext <<_ACEOF
20226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
20227 $as_echo_n "checking whether $CC accepts -g... " >&6; }
20228 if ${ac_cv_prog_cc_g+:} false; then :
20229 $as_echo_n "(cached) " >&6
20230 else
20231 ac_save_c_werror_flag=$ac_c_werror_flag
20232 ac_c_werror_flag=yes
20233 ac_cv_prog_cc_g=no
20234 CFLAGS="-g"
20235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2042620236 /* end confdefs.h. */
2042720237
2042820238 int
2043320243 return 0;
2043420244 }
2043520245 _ACEOF
20436 rm -f conftest.$ac_objext
20437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20438 (eval $ac_compile) 2>conftest.er1
20439 ac_status=$?
20440 grep -v '^ *+' conftest.er1 >conftest.err
20441 rm -f conftest.er1
20442 cat conftest.err >&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); } &&
20445 { ac_try='test -z "$ac_c_werror_flag"
20446 || test ! -s conftest.err'
20447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20448 (eval $ac_try) 2>&5
20449 ac_status=$?
20450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20451 (exit $ac_status); }; } &&
20452 { ac_try='test -s conftest.$ac_objext'
20453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20454 (eval $ac_try) 2>&5
20455 ac_status=$?
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); }; }; then
20246 if ac_fn_c_try_compile "$LINENO"; then :
2045820247 ac_cv_prog_cc_g=yes
2045920248 else
20460 echo "$as_me: failed program was:" >&5
20461 sed 's/^/| /' conftest.$ac_ext >&5
20462
20463 ac_cv_prog_cc_g=no
20464 fi
20465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20466 fi
20467 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
20468 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
20249 CFLAGS=""
20250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20251 /* end confdefs.h. */
20252
20253 int
20254 main ()
20255 {
20256
20257 ;
20258 return 0;
20259 }
20260 _ACEOF
20261 if ac_fn_c_try_compile "$LINENO"; then :
20262
20263 else
20264 ac_c_werror_flag=$ac_save_c_werror_flag
20265 CFLAGS="-g"
20266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20267 /* end confdefs.h. */
20268
20269 int
20270 main ()
20271 {
20272
20273 ;
20274 return 0;
20275 }
20276 _ACEOF
20277 if ac_fn_c_try_compile "$LINENO"; then :
20278 ac_cv_prog_cc_g=yes
20279 fi
20280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20281 fi
20282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20283 fi
20284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20285 ac_c_werror_flag=$ac_save_c_werror_flag
20286 fi
20287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
20288 $as_echo "$ac_cv_prog_cc_g" >&6; }
2046920289 if test "$ac_test_CFLAGS" = set; then
2047020290 CFLAGS=$ac_save_CFLAGS
2047120291 elif test $ac_cv_prog_cc_g = yes; then
2048120301 CFLAGS=
2048220302 fi
2048320303 fi
20484 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
20485 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
20486 if test "${ac_cv_prog_cc_stdc+set}" = set; then
20487 echo $ECHO_N "(cached) $ECHO_C" >&6
20488 else
20489 ac_cv_prog_cc_stdc=no
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
20305 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
20306 if ${ac_cv_prog_cc_c89+:} false; then :
20307 $as_echo_n "(cached) " >&6
20308 else
20309 ac_cv_prog_cc_c89=no
2049020310 ac_save_CC=$CC
20491 cat >conftest.$ac_ext <<_ACEOF
20492 /* confdefs.h. */
20493 _ACEOF
20494 cat confdefs.h >>conftest.$ac_ext
20495 cat >>conftest.$ac_ext <<_ACEOF
20311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2049620312 /* end confdefs.h. */
2049720313 #include <stdarg.h>
2049820314 #include <stdio.h>
20499 #include <sys/types.h>
20500 #include <sys/stat.h>
20315 struct stat;
2050120316 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2050220317 struct buf { int x; };
2050320318 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2052020335 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2052120336 function prototypes and stuff, but not '\xHH' hex character constants.
2052220337 These don't provoke an error unfortunately, instead are silently treated
20523 as 'x'. The following induces an error, until -std1 is added to get
20338 as 'x'. The following induces an error, until -std is added to get
2052420339 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2052520340 array size at least. It's necessary to write '\x00'==0 to get something
20526 that's true only with -std1. */
20341 that's true only with -std. */
2052720342 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
20343
20344 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
20345 inside strings and character constants. */
20346 #define FOO(x) 'x'
20347 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2052820348
2052920349 int test (int i, double x);
2053020350 struct s1 {int (*f) (int a);};
2054020360 return 0;
2054120361 }
2054220362 _ACEOF
20543 # Don't try gcc -ansi; that turns off useful extensions and
20544 # breaks some systems' header files.
20545 # AIX -qlanglvl=ansi
20546 # Ultrix and OSF/1 -std1
20547 # HP-UX 10.20 and later -Ae
20548 # HP-UX older versions -Aa -D_HPUX_SOURCE
20549 # SVR4 -Xc -D__EXTENSIONS__
20550 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
20363 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
20364 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2055120365 do
2055220366 CC="$ac_save_CC $ac_arg"
20553 rm -f conftest.$ac_objext
20554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20555 (eval $ac_compile) 2>conftest.er1
20556 ac_status=$?
20557 grep -v '^ *+' conftest.er1 >conftest.err
20558 rm -f conftest.er1
20559 cat conftest.err >&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); } &&
20562 { ac_try='test -z "$ac_c_werror_flag"
20563 || test ! -s conftest.err'
20564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20565 (eval $ac_try) 2>&5
20566 ac_status=$?
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); }; } &&
20569 { ac_try='test -s conftest.$ac_objext'
20570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20571 (eval $ac_try) 2>&5
20572 ac_status=$?
20573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574 (exit $ac_status); }; }; then
20575 ac_cv_prog_cc_stdc=$ac_arg
20576 break
20577 else
20578 echo "$as_me: failed program was:" >&5
20579 sed 's/^/| /' conftest.$ac_ext >&5
20580
20581 fi
20582 rm -f conftest.err conftest.$ac_objext
20367 if ac_fn_c_try_compile "$LINENO"; then :
20368 ac_cv_prog_cc_c89=$ac_arg
20369 fi
20370 rm -f core conftest.err conftest.$ac_objext
20371 test "x$ac_cv_prog_cc_c89" != "xno" && break
2058320372 done
20584 rm -f conftest.$ac_ext conftest.$ac_objext
20373 rm -f conftest.$ac_ext
2058520374 CC=$ac_save_CC
2058620375
2058720376 fi
20588
20589 case "x$ac_cv_prog_cc_stdc" in
20590 x|xno)
20591 echo "$as_me:$LINENO: result: none needed" >&5
20592 echo "${ECHO_T}none needed" >&6 ;;
20377 # AC_CACHE_VAL
20378 case "x$ac_cv_prog_cc_c89" in
20379 x)
20380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
20381 $as_echo "none needed" >&6; } ;;
20382 xno)
20383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
20384 $as_echo "unsupported" >&6; } ;;
2059320385 *)
20594 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
20595 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
20596 CC="$CC $ac_cv_prog_cc_stdc" ;;
20386 CC="$CC $ac_cv_prog_cc_c89"
20387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
20388 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2059720389 esac
20598
20599 # Some people use a C++ compiler to compile C. Since we use `exit',
20600 # in C++ we need to declare it. In case someone uses the same compiler
20601 # for both compiling C and C++ we need to have the C++ compiler decide
20602 # the declaration of exit, since it's the most demanding environment.
20603 cat >conftest.$ac_ext <<_ACEOF
20604 #ifndef __cplusplus
20605 choke me
20606 #endif
20607 _ACEOF
20608 rm -f conftest.$ac_objext
20609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20610 (eval $ac_compile) 2>conftest.er1
20611 ac_status=$?
20612 grep -v '^ *+' conftest.er1 >conftest.err
20613 rm -f conftest.er1
20614 cat conftest.err >&5
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); } &&
20617 { ac_try='test -z "$ac_c_werror_flag"
20618 || test ! -s conftest.err'
20619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20620 (eval $ac_try) 2>&5
20621 ac_status=$?
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); }; } &&
20624 { ac_try='test -s conftest.$ac_objext'
20625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626 (eval $ac_try) 2>&5
20627 ac_status=$?
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; }; then
20630 for ac_declaration in \
20631 '' \
20632 'extern "C" void std::exit (int) throw (); using std::exit;' \
20633 'extern "C" void std::exit (int); using std::exit;' \
20634 'extern "C" void exit (int) throw ();' \
20635 'extern "C" void exit (int);' \
20636 'void exit (int);'
20637 do
20638 cat >conftest.$ac_ext <<_ACEOF
20639 /* confdefs.h. */
20640 _ACEOF
20641 cat confdefs.h >>conftest.$ac_ext
20642 cat >>conftest.$ac_ext <<_ACEOF
20643 /* end confdefs.h. */
20644 $ac_declaration
20645 #include <stdlib.h>
20646 int
20647 main ()
20648 {
20649 exit (42);
20650 ;
20651 return 0;
20652 }
20653 _ACEOF
20654 rm -f conftest.$ac_objext
20655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20656 (eval $ac_compile) 2>conftest.er1
20657 ac_status=$?
20658 grep -v '^ *+' conftest.er1 >conftest.err
20659 rm -f conftest.er1
20660 cat conftest.err >&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); } &&
20663 { ac_try='test -z "$ac_c_werror_flag"
20664 || test ! -s conftest.err'
20665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20666 (eval $ac_try) 2>&5
20667 ac_status=$?
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); }; } &&
20670 { ac_try='test -s conftest.$ac_objext'
20671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20672 (eval $ac_try) 2>&5
20673 ac_status=$?
20674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20675 (exit $ac_status); }; }; then
20676 :
20677 else
20678 echo "$as_me: failed program was:" >&5
20679 sed 's/^/| /' conftest.$ac_ext >&5
20680
20681 continue
20682 fi
20683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20684 cat >conftest.$ac_ext <<_ACEOF
20685 /* confdefs.h. */
20686 _ACEOF
20687 cat confdefs.h >>conftest.$ac_ext
20688 cat >>conftest.$ac_ext <<_ACEOF
20689 /* end confdefs.h. */
20690 $ac_declaration
20691 int
20692 main ()
20693 {
20694 exit (42);
20695 ;
20696 return 0;
20697 }
20698 _ACEOF
20699 rm -f conftest.$ac_objext
20700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20701 (eval $ac_compile) 2>conftest.er1
20702 ac_status=$?
20703 grep -v '^ *+' conftest.er1 >conftest.err
20704 rm -f conftest.er1
20705 cat conftest.err >&5
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); } &&
20708 { ac_try='test -z "$ac_c_werror_flag"
20709 || test ! -s conftest.err'
20710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20711 (eval $ac_try) 2>&5
20712 ac_status=$?
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); }; } &&
20715 { ac_try='test -s conftest.$ac_objext'
20716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20717 (eval $ac_try) 2>&5
20718 ac_status=$?
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); }; }; then
20721 break
20722 else
20723 echo "$as_me: failed program was:" >&5
20724 sed 's/^/| /' conftest.$ac_ext >&5
20725
20726 fi
20727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20728 done
20729 rm -f conftest*
20730 if test -n "$ac_declaration"; then
20731 echo '#ifdef __cplusplus' >>confdefs.h
20732 echo $ac_declaration >>confdefs.h
20733 echo '#endif' >>confdefs.h
20734 fi
20735
20736 else
20737 echo "$as_me: failed program was:" >&5
20738 sed 's/^/| /' conftest.$ac_ext >&5
20739
20740 fi
20741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20390 if test "x$ac_cv_prog_cc_c89" != xno; then :
20391
20392 fi
20393
2074220394 ac_ext=c
2074320395 ac_cpp='$CPP $CPPFLAGS'
2074420396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2074720399
2074820400 depcc="$CC" am_compiler_list=
2074920401
20750 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
20751 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
20752 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
20753 echo $ECHO_N "(cached) $ECHO_C" >&6
20402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
20403 $as_echo_n "checking dependency style of $depcc... " >&6; }
20404 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
20405 $as_echo_n "(cached) " >&6
2075420406 else
2075520407 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2075620408 # We make a subdir and do the tests there. Otherwise we can end up
2083720489 fi
2083820490
2083920491 fi
20840 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
20841 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
20492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
20493 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2084220494 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2084320495
2084420496
2085920511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2086020512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2086120513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20862 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
20863 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
20514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
20515 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2086420516 # On Suns, sometimes $CPP names a directory.
2086520517 if test -n "$CPP" && test -d "$CPP"; then
2086620518 CPP=
2086720519 fi
2086820520 if test -z "$CPP"; then
20869 if test "${ac_cv_prog_CPP+set}" = set; then
20870 echo $ECHO_N "(cached) $ECHO_C" >&6
20521 if ${ac_cv_prog_CPP+:} false; then :
20522 $as_echo_n "(cached) " >&6
2087120523 else
2087220524 # Double quotes because CPP needs to be expanded
2087320525 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2088120533 # <limits.h> exists even on freestanding compilers.
2088220534 # On the NeXT, cc -E runs the code through the compiler's parser,
2088320535 # not just through cpp. "Syntax error" is here to catch this case.
20884 cat >conftest.$ac_ext <<_ACEOF
20885 /* confdefs.h. */
20886 _ACEOF
20887 cat confdefs.h >>conftest.$ac_ext
20888 cat >>conftest.$ac_ext <<_ACEOF
20536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2088920537 /* end confdefs.h. */
2089020538 #ifdef __STDC__
2089120539 # include <limits.h>
2089420542 #endif
2089520543 Syntax error
2089620544 _ACEOF
20897 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20898 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20899 ac_status=$?
20900 grep -v '^ *+' conftest.er1 >conftest.err
20901 rm -f conftest.er1
20902 cat conftest.err >&5
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); } >/dev/null; then
20905 if test -s conftest.err; then
20906 ac_cpp_err=$ac_c_preproc_warn_flag
20907 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20908 else
20909 ac_cpp_err=
20910 fi
20911 else
20912 ac_cpp_err=yes
20913 fi
20914 if test -z "$ac_cpp_err"; then
20915 :
20916 else
20917 echo "$as_me: failed program was:" >&5
20918 sed 's/^/| /' conftest.$ac_ext >&5
20919
20545 if ac_fn_c_try_cpp "$LINENO"; then :
20546
20547 else
2092020548 # Broken: fails on valid input.
2092120549 continue
2092220550 fi
20923 rm -f conftest.err conftest.$ac_ext
20924
20925 # OK, works on sane cases. Now check whether non-existent headers
20551 rm -f conftest.err conftest.i conftest.$ac_ext
20552
20553 # OK, works on sane cases. Now check whether nonexistent headers
2092620554 # can be detected and how.
20927 cat >conftest.$ac_ext <<_ACEOF
20928 /* confdefs.h. */
20929 _ACEOF
20930 cat confdefs.h >>conftest.$ac_ext
20931 cat >>conftest.$ac_ext <<_ACEOF
20555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2093220556 /* end confdefs.h. */
2093320557 #include <ac_nonexistent.h>
2093420558 _ACEOF
20935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20936 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20937 ac_status=$?
20938 grep -v '^ *+' conftest.er1 >conftest.err
20939 rm -f conftest.er1
20940 cat conftest.err >&5
20941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20942 (exit $ac_status); } >/dev/null; then
20943 if test -s conftest.err; then
20944 ac_cpp_err=$ac_c_preproc_warn_flag
20945 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20946 else
20947 ac_cpp_err=
20948 fi
20949 else
20950 ac_cpp_err=yes
20951 fi
20952 if test -z "$ac_cpp_err"; then
20559 if ac_fn_c_try_cpp "$LINENO"; then :
2095320560 # Broken: success on invalid input.
2095420561 continue
2095520562 else
20956 echo "$as_me: failed program was:" >&5
20957 sed 's/^/| /' conftest.$ac_ext >&5
20958
2095920563 # Passes both tests.
2096020564 ac_preproc_ok=:
2096120565 break
2096220566 fi
20963 rm -f conftest.err conftest.$ac_ext
20567 rm -f conftest.err conftest.i conftest.$ac_ext
2096420568
2096520569 done
2096620570 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20967 rm -f conftest.err conftest.$ac_ext
20968 if $ac_preproc_ok; then
20571 rm -f conftest.i conftest.err conftest.$ac_ext
20572 if $ac_preproc_ok; then :
2096920573 break
2097020574 fi
2097120575
2097720581 else
2097820582 ac_cv_prog_CPP=$CPP
2097920583 fi
20980 echo "$as_me:$LINENO: result: $CPP" >&5
20981 echo "${ECHO_T}$CPP" >&6
20584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
20585 $as_echo "$CPP" >&6; }
2098220586 ac_preproc_ok=false
2098320587 for ac_c_preproc_warn_flag in '' yes
2098420588 do
2098820592 # <limits.h> exists even on freestanding compilers.
2098920593 # On the NeXT, cc -E runs the code through the compiler's parser,
2099020594 # not just through cpp. "Syntax error" is here to catch this case.
20991 cat >conftest.$ac_ext <<_ACEOF
20992 /* confdefs.h. */
20993 _ACEOF
20994 cat confdefs.h >>conftest.$ac_ext
20995 cat >>conftest.$ac_ext <<_ACEOF
20595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2099620596 /* end confdefs.h. */
2099720597 #ifdef __STDC__
2099820598 # include <limits.h>
2100120601 #endif
2100220602 Syntax error
2100320603 _ACEOF
21004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21005 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21006 ac_status=$?
21007 grep -v '^ *+' conftest.er1 >conftest.err
21008 rm -f conftest.er1
21009 cat conftest.err >&5
21010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21011 (exit $ac_status); } >/dev/null; then
21012 if test -s conftest.err; then
21013 ac_cpp_err=$ac_c_preproc_warn_flag
21014 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21015 else
21016 ac_cpp_err=
21017 fi
21018 else
21019 ac_cpp_err=yes
21020 fi
21021 if test -z "$ac_cpp_err"; then
21022 :
21023 else
21024 echo "$as_me: failed program was:" >&5
21025 sed 's/^/| /' conftest.$ac_ext >&5
21026
20604 if ac_fn_c_try_cpp "$LINENO"; then :
20605
20606 else
2102720607 # Broken: fails on valid input.
2102820608 continue
2102920609 fi
21030 rm -f conftest.err conftest.$ac_ext
21031
21032 # OK, works on sane cases. Now check whether non-existent headers
20610 rm -f conftest.err conftest.i conftest.$ac_ext
20611
20612 # OK, works on sane cases. Now check whether nonexistent headers
2103320613 # can be detected and how.
21034 cat >conftest.$ac_ext <<_ACEOF
21035 /* confdefs.h. */
21036 _ACEOF
21037 cat confdefs.h >>conftest.$ac_ext
21038 cat >>conftest.$ac_ext <<_ACEOF
20614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2103920615 /* end confdefs.h. */
2104020616 #include <ac_nonexistent.h>
2104120617 _ACEOF
21042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21043 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21044 ac_status=$?
21045 grep -v '^ *+' conftest.er1 >conftest.err
21046 rm -f conftest.er1
21047 cat conftest.err >&5
21048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 (exit $ac_status); } >/dev/null; then
21050 if test -s conftest.err; then
21051 ac_cpp_err=$ac_c_preproc_warn_flag
21052 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21053 else
21054 ac_cpp_err=
21055 fi
21056 else
21057 ac_cpp_err=yes
21058 fi
21059 if test -z "$ac_cpp_err"; then
20618 if ac_fn_c_try_cpp "$LINENO"; then :
2106020619 # Broken: success on invalid input.
2106120620 continue
2106220621 else
21063 echo "$as_me: failed program was:" >&5
21064 sed 's/^/| /' conftest.$ac_ext >&5
21065
2106620622 # Passes both tests.
2106720623 ac_preproc_ok=:
2106820624 break
2106920625 fi
21070 rm -f conftest.err conftest.$ac_ext
20626 rm -f conftest.err conftest.i conftest.$ac_ext
2107120627
2107220628 done
2107320629 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21074 rm -f conftest.err conftest.$ac_ext
21075 if $ac_preproc_ok; then
21076 :
21077 else
21078 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
21079 See \`config.log' for more details." >&5
21080 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
21081 See \`config.log' for more details." >&2;}
21082 { (exit 1); exit 1; }; }
20630 rm -f conftest.i conftest.err conftest.$ac_ext
20631 if $ac_preproc_ok; then :
20632
20633 else
20634 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20636 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
20637 See \`config.log' for more details" "$LINENO" 5; }
2108320638 fi
2108420639
2108520640 ac_ext=c
2108820643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2108920644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2109020645
21091 echo "$as_me:$LINENO: checking for Cygwin environment" >&5
21092 echo $ECHO_N "checking for Cygwin environment... $ECHO_C" >&6
21093 if test "${ac_cv_cygwin+set}" = set; then
21094 echo $ECHO_N "(cached) $ECHO_C" >&6
21095 else
21096 cat >conftest.$ac_ext <<_ACEOF
21097 /* confdefs.h. */
21098 _ACEOF
21099 cat confdefs.h >>conftest.$ac_ext
21100 cat >>conftest.$ac_ext <<_ACEOF
20646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cygwin environment" >&5
20647 $as_echo_n "checking for Cygwin environment... " >&6; }
20648 if ${ac_cv_cygwin+:} false; then :
20649 $as_echo_n "(cached) " >&6
20650 else
20651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2110120652 /* end confdefs.h. */
2110220653
2110320654 int
2111220663 return 0;
2111320664 }
2111420665 _ACEOF
21115 rm -f conftest.$ac_objext
21116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21117 (eval $ac_compile) 2>conftest.er1
21118 ac_status=$?
21119 grep -v '^ *+' conftest.er1 >conftest.err
21120 rm -f conftest.er1
21121 cat conftest.err >&5
21122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21123 (exit $ac_status); } &&
21124 { ac_try='test -z "$ac_c_werror_flag"
21125 || test ! -s conftest.err'
21126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21127 (eval $ac_try) 2>&5
21128 ac_status=$?
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); }; } &&
21131 { ac_try='test -s conftest.$ac_objext'
21132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21133 (eval $ac_try) 2>&5
21134 ac_status=$?
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); }; }; then
20666 if ac_fn_c_try_compile "$LINENO"; then :
2113720667 ac_cv_cygwin=yes
2113820668 else
21139 echo "$as_me: failed program was:" >&5
21140 sed 's/^/| /' conftest.$ac_ext >&5
21141
21142 ac_cv_cygwin=no
21143 fi
21144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20669 ac_cv_cygwin=no
20670 fi
20671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2114520672 rm -f conftest*
2114620673 fi
21147 echo "$as_me:$LINENO: result: $ac_cv_cygwin" >&5
21148 echo "${ECHO_T}$ac_cv_cygwin" >&6
20674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cygwin" >&5
20675 $as_echo "$ac_cv_cygwin" >&6; }
2114920676 CYGWIN=
2115020677 test "$ac_cv_cygwin" = yes && CYGWIN=yes
2115120678 case $host_os in
2115220679 *cygwin* ) CYGWIN=yes;;
2115320680 * ) CYGWIN=no;;
2115420681 esac
21155 echo "$as_me:$LINENO: checking for executable suffix" >&5
21156 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
21157
21158 if test "${ac_cv_exeext+set}" = set; then
21159 echo $ECHO_N "(cached) $ECHO_C" >&6
20682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for executable suffix" >&5
20683 $as_echo_n "checking for executable suffix... " >&6; }
20684
20685 if ${ac_cv_exeext+:} false; then :
20686 $as_echo_n "(cached) " >&6
2116020687 else
2116120688 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
2116220689 ac_cv_exeext=.exe
2116420691 rm -f conftest*
2116520692 echo 'int main () { return 0; }' > conftest.$ac_ext
2116620693 ac_cv_exeext=
21167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
2116820695 (eval $ac_link) 2>&5
2116920696 ac_status=$?
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); }; then
20697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20698 test $ac_status = 0; }; then
2117220699 for file in conftest.*; do
2117320700 case $file in
2117420701 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
2117620703 esac
2117720704 done
2117820705 else
21179 { { echo "$as_me:$LINENO: error: installation or configuration problem: compiler cannot create executables." >&5
21180 echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;}
21181 { (exit 1); exit 1; }; }
20706 as_fn_error $? "installation or configuration problem: compiler cannot create executables." "$LINENO" 5
2118220707 fi
2118320708 rm -f conftest*
2118420709 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
2118720712
2118820713 EXEEXT=""
2118920714 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
21190 echo "$as_me:$LINENO: result: ${ac_cv_exeext}" >&5
21191 echo "${ECHO_T}${ac_cv_exeext}" >&6
20715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_exeext}" >&5
20716 $as_echo "${ac_cv_exeext}" >&6; }
2119220717 ac_exeext=$EXEEXT
2119320718
2119420719 if test -z "$EXEEXT" ; then
2119620721 else
2119720722 DOT_EXE_EXT=".$EXEEXT";
2119820723 fi
21199 echo "$as_me:$LINENO: checking for object file suffix" >&5
21200 echo $ECHO_N "checking for object file suffix... $ECHO_C" >&6
21201 if test "${ac_cv_objext+set}" = set; then
21202 echo $ECHO_N "(cached) $ECHO_C" >&6
20724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for object file suffix" >&5
20725 $as_echo_n "checking for object file suffix... " >&6; }
20726 if ${ac_cv_objext+:} false; then :
20727 $as_echo_n "(cached) " >&6
2120320728 else
2120420729
2120520730 rm -f conftest*
2120620731 echo 'int main () { return 0; }' > conftest.$ac_ext
2120720732 ac_cv_objext=
21208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
2120920734 (eval $ac_compile) 2>&5
2121020735 ac_status=$?
21211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212 (exit $ac_status); }; then
20736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20737 test $ac_status = 0; }; then
2121320738 for file in conftest.*; do
2121420739 case $file in
2121520740 *.c ) ;;
2121720742 esac
2121820743 done
2121920744 else
21220 { { echo "$as_me:$LINENO: error: installation or configuration problem: compiler cannot create executables." >&5
21221 echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;}
21222 { (exit 1); exit 1; }; }
20745 as_fn_error $? "installation or configuration problem: compiler cannot create executables." "$LINENO" 5
2122320746 fi
2122420747 rm -f conftest*
2122520748 test x"${ac_cv_objext}" = x && ac_cv_objext=no
2122820751
2122920752 OBJEXT=""
2123020753 test x"${ac_cv_objext}" != xno && OBJEXT=${ac_cv_objext}
21231 echo "$as_me:$LINENO: result: ${ac_cv_objext}" >&5
21232 echo "${ECHO_T}${ac_cv_objext}" >&6
20754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_objext}" >&5
20755 $as_echo "${ac_cv_objext}" >&6; }
2123320756 ac_objext=$OBJEXT
2123420757
2123520758
2123620759 if test "$ARCH" = "intelnt" ; then
21237
21238 for ac_header in windows.h
21239 do
21240 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21242 echo "$as_me:$LINENO: checking for $ac_header" >&5
21243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21245 echo $ECHO_N "(cached) $ECHO_C" >&6
21246 fi
21247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21249 else
21250 # Is the header compilable?
21251 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21252 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21253 cat >conftest.$ac_ext <<_ACEOF
21254 /* confdefs.h. */
21255 _ACEOF
21256 cat confdefs.h >>conftest.$ac_ext
21257 cat >>conftest.$ac_ext <<_ACEOF
21258 /* end confdefs.h. */
21259 $ac_includes_default
21260 #include <$ac_header>
21261 _ACEOF
21262 rm -f conftest.$ac_objext
21263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21264 (eval $ac_compile) 2>conftest.er1
21265 ac_status=$?
21266 grep -v '^ *+' conftest.er1 >conftest.err
21267 rm -f conftest.er1
21268 cat conftest.err >&5
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); } &&
21271 { ac_try='test -z "$ac_c_werror_flag"
21272 || test ! -s conftest.err'
21273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21274 (eval $ac_try) 2>&5
21275 ac_status=$?
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); }; } &&
21278 { ac_try='test -s conftest.$ac_objext'
21279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21280 (eval $ac_try) 2>&5
21281 ac_status=$?
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); }; }; then
21284 ac_header_compiler=yes
21285 else
21286 echo "$as_me: failed program was:" >&5
21287 sed 's/^/| /' conftest.$ac_ext >&5
21288
21289 ac_header_compiler=no
21290 fi
21291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21292 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21293 echo "${ECHO_T}$ac_header_compiler" >&6
21294
21295 # Is the header present?
21296 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21297 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21298 cat >conftest.$ac_ext <<_ACEOF
21299 /* confdefs.h. */
21300 _ACEOF
21301 cat confdefs.h >>conftest.$ac_ext
21302 cat >>conftest.$ac_ext <<_ACEOF
21303 /* end confdefs.h. */
21304 #include <$ac_header>
21305 _ACEOF
21306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21307 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21308 ac_status=$?
21309 grep -v '^ *+' conftest.er1 >conftest.err
21310 rm -f conftest.er1
21311 cat conftest.err >&5
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); } >/dev/null; then
21314 if test -s conftest.err; then
21315 ac_cpp_err=$ac_c_preproc_warn_flag
21316 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21317 else
21318 ac_cpp_err=
21319 fi
21320 else
21321 ac_cpp_err=yes
21322 fi
21323 if test -z "$ac_cpp_err"; then
21324 ac_header_preproc=yes
21325 else
21326 echo "$as_me: failed program was:" >&5
21327 sed 's/^/| /' conftest.$ac_ext >&5
21328
21329 ac_header_preproc=no
21330 fi
21331 rm -f conftest.err conftest.$ac_ext
21332 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21333 echo "${ECHO_T}$ac_header_preproc" >&6
21334
21335 # So? What about this header?
21336 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21337 yes:no: )
21338 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21339 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21341 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21342 ac_header_preproc=yes
21343 ;;
21344 no:yes:* )
21345 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21346 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21347 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21348 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21349 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21350 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21351 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21352 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21354 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21355 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21356 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21357 (
21358 cat <<\_ASBOX
21359 ## ----------------------------- ##
21360 ## Report this to the dx lists. ##
21361 ## ----------------------------- ##
21362 _ASBOX
21363 ) |
21364 sed "s/^/$as_me: WARNING: /" >&2
21365 ;;
21366 esac
21367 echo "$as_me:$LINENO: checking for $ac_header" >&5
21368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21370 echo $ECHO_N "(cached) $ECHO_C" >&6
21371 else
21372 eval "$as_ac_Header=\$ac_header_preproc"
21373 fi
21374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21376
21377 fi
21378 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20760 for ac_header in windows.h
20761 do :
20762 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
20763 if test "x$ac_cv_header_windows_h" = xyes; then :
2137920764 cat >>confdefs.h <<_ACEOF
21380 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20765 #define HAVE_WINDOWS_H 1
2138120766 _ACEOF
2138220767
2138320768 fi
2139120776 # On SGI, detect the ABI we're compiling for (handles all methods that
2139220777 # can be used to set the ABI target).
2139320778 if test "$ARCH" = "sgi" ; then
21394 echo "$as_me:$LINENO: checking for the target SGI ABI ..." >&5
21395 echo $ECHO_N "checking for the target SGI ABI ...... $ECHO_C" >&6
21396 cat >conftest.$ac_ext <<_ACEOF
21397 /* confdefs.h. */
21398 _ACEOF
21399 cat confdefs.h >>conftest.$ac_ext
21400 cat >>conftest.$ac_ext <<_ACEOF
20779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target SGI ABI ..." >&5
20780 $as_echo_n "checking for the target SGI ABI ...... " >&6; }
20781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2140120782 /* end confdefs.h. */
2140220783
2140320784 int
2141420795 return 0;
2141520796 }
2141620797 _ACEOF
21417 rm -f conftest.$ac_objext
21418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21419 (eval $ac_compile) 2>conftest.er1
21420 ac_status=$?
21421 grep -v '^ *+' conftest.er1 >conftest.err
21422 rm -f conftest.er1
21423 cat conftest.err >&5
21424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21425 (exit $ac_status); } &&
21426 { ac_try='test -z "$ac_c_werror_flag"
21427 || test ! -s conftest.err'
21428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21429 (eval $ac_try) 2>&5
21430 ac_status=$?
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); }; } &&
21433 { ac_try='test -s conftest.$ac_objext'
21434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21435 (eval $ac_try) 2>&5
21436 ac_status=$?
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); }; }; then
21439 echo "$as_me:$LINENO: result: \"-64\"" >&5
21440 echo "${ECHO_T}\"-64\"" >&6
21441
21442 cat >>confdefs.h <<\_ACEOF
21443 #define SGI_ABI -64
21444 _ACEOF
21445
21446
21447 else
21448 echo "$as_me: failed program was:" >&5
21449 sed 's/^/| /' conftest.$ac_ext >&5
21450
21451 cat >conftest.$ac_ext <<_ACEOF
21452 /* confdefs.h. */
21453 _ACEOF
21454 cat confdefs.h >>conftest.$ac_ext
21455 cat >>conftest.$ac_ext <<_ACEOF
20798 if ac_fn_c_try_compile "$LINENO"; then :
20799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"-64\"" >&5
20800 $as_echo "\"-64\"" >&6; }
20801
20802 $as_echo "#define SGI_ABI -64" >>confdefs.h
20803
20804
20805 else
20806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2145620807 /* end confdefs.h. */
2145720808
2145820809 int
2146920820 return 0;
2147020821 }
2147120822 _ACEOF
21472 rm -f conftest.$ac_objext
21473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21474 (eval $ac_compile) 2>conftest.er1
21475 ac_status=$?
21476 grep -v '^ *+' conftest.er1 >conftest.err
21477 rm -f conftest.er1
21478 cat conftest.err >&5
21479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480 (exit $ac_status); } &&
21481 { ac_try='test -z "$ac_c_werror_flag"
21482 || test ! -s conftest.err'
21483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21484 (eval $ac_try) 2>&5
21485 ac_status=$?
21486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21487 (exit $ac_status); }; } &&
21488 { ac_try='test -s conftest.$ac_objext'
21489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21490 (eval $ac_try) 2>&5
21491 ac_status=$?
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); }; }; then
21494 echo "$as_me:$LINENO: result: \"-32\"" >&5
21495 echo "${ECHO_T}\"-32\"" >&6
21496 cat >>confdefs.h <<\_ACEOF
21497 #define SGI_ABI -32
21498 _ACEOF
21499
21500 else
21501 echo "$as_me: failed program was:" >&5
21502 sed 's/^/| /' conftest.$ac_ext >&5
21503
21504 echo "$as_me:$LINENO: result: \"-n32\"" >&5
21505 echo "${ECHO_T}\"-n32\"" >&6
21506 cat >>confdefs.h <<\_ACEOF
21507 #define SGI_ABI -n32
21508 _ACEOF
21509
21510
21511 fi
21512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21513
21514
21515 fi
21516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20823 if ac_fn_c_try_compile "$LINENO"; then :
20824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"-32\"" >&5
20825 $as_echo "\"-32\"" >&6; }
20826 $as_echo "#define SGI_ABI -32" >>confdefs.h
20827
20828 else
20829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"-n32\"" >&5
20830 $as_echo "\"-n32\"" >&6; }
20831 $as_echo "#define SGI_ABI -n32" >>confdefs.h
20832
20833
20834 fi
20835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20836
20837
20838 fi
20839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2151720840 fi
2151820841
2151920842 # For SGI, set DXABI based on SGI_ABI
2152820851 #
2152920852 # Enable 64-bit arenas if requested and supported
2153020853 #
21531 echo "$as_me:$LINENO: checking whether to enable large arenas ..." >&5
21532 echo $ECHO_N "checking whether to enable large arenas ...... $ECHO_C" >&6
20854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable large arenas ..." >&5
20855 $as_echo_n "checking whether to enable large arenas ...... " >&6; }
2153320856 if test "$with_large_arenas" != 'no' -a \
2153420857 "$ARCH" = "sgi" -a "$SGI_ABI" = "-64"; then
2153520858
21536 cat >>confdefs.h <<\_ACEOF
21537 #define ENABLE_LARGE_ARENAS 1
21538 _ACEOF
21539
21540 echo "$as_me:$LINENO: result: \"yes\"" >&5
21541 echo "${ECHO_T}\"yes\"" >&6
21542 else
21543 echo "$as_me:$LINENO: result: \"no\"" >&5
21544 echo "${ECHO_T}\"no\"" >&6
20859 $as_echo "#define ENABLE_LARGE_ARENAS 1" >>confdefs.h
20860
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
20862 $as_echo "\"yes\"" >&6; }
20863 else
20864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
20865 $as_echo "\"no\"" >&6; }
2154520866 fi
2154620867
2154720868 # Code to enable JAVADX to be built
2155620877 failed=0;
2155720878 passed=0;
2155820879
21559 { echo "$as_me:$LINENO: checking for java compiler..." >&5
21560 echo "$as_me: checking for java compiler..." >&6;}
20880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for java compiler..." >&5
20881 $as_echo "$as_me: checking for java compiler..." >&6;}
2156120882 if test -n "$JAVAC"; then
21562 { echo "$as_me:$LINENO: WARNING: JAVAC was preset" >&5
21563 echo "$as_me: WARNING: JAVAC was preset" >&2;}
20883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: JAVAC was preset" >&5
20884 $as_echo "$as_me: WARNING: JAVAC was preset" >&2;}
2156420885 # Extract the first word of "$JAVAC", so it can be a program name with args.
2156520886 set dummy $JAVAC; ac_word=$2
21566 echo "$as_me:$LINENO: checking for $ac_word" >&5
21567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21568 if test "${ac_cv_prog_JAVAC+set}" = set; then
21569 echo $ECHO_N "(cached) $ECHO_C" >&6
20887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20888 $as_echo_n "checking for $ac_word... " >&6; }
20889 if ${ac_cv_prog_JAVAC+:} false; then :
20890 $as_echo_n "(cached) " >&6
2157020891 else
2157120892 if test -n "$JAVAC"; then
2157220893 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
2157620897 do
2157720898 IFS=$as_save_IFS
2157820899 test -z "$as_dir" && as_dir=.
21579 for ac_exec_ext in '' $ac_executable_extensions; do
21580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20900 for ac_exec_ext in '' $ac_executable_extensions; do
20901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2158120902 ac_cv_prog_JAVAC=""
21582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2158320904 break 2
2158420905 fi
2158520906 done
21586 done
20907 done
20908 IFS=$as_save_IFS
2158720909
2158820910 fi
2158920911 fi
2159020912 JAVAC=$ac_cv_prog_JAVAC
2159120913 if test -n "$JAVAC"; then
21592 echo "$as_me:$LINENO: result: $JAVAC" >&5
21593 echo "${ECHO_T}$JAVAC" >&6
21594 else
21595 echo "$as_me:$LINENO: result: no" >&5
21596 echo "${ECHO_T}no" >&6
21597 fi
20914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
20915 $as_echo "$JAVAC" >&6; }
20916 else
20917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20918 $as_echo "no" >&6; }
20919 fi
20920
2159820921
2159920922 else
2160020923 for ac_prog in javac "gcj -C" guavac jikes
2160120924 do
2160220925 # Extract the first word of "$ac_prog", so it can be a program name with args.
2160320926 set dummy $ac_prog; ac_word=$2
21604 echo "$as_me:$LINENO: checking for $ac_word" >&5
21605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21606 if test "${ac_cv_prog_JAVAC+set}" = set; then
21607 echo $ECHO_N "(cached) $ECHO_C" >&6
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20928 $as_echo_n "checking for $ac_word... " >&6; }
20929 if ${ac_cv_prog_JAVAC+:} false; then :
20930 $as_echo_n "(cached) " >&6
2160820931 else
2160920932 if test -n "$JAVAC"; then
2161020933 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
2161420937 do
2161520938 IFS=$as_save_IFS
2161620939 test -z "$as_dir" && as_dir=.
21617 for ac_exec_ext in '' $ac_executable_extensions; do
21618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20940 for ac_exec_ext in '' $ac_executable_extensions; do
20941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2161920942 ac_cv_prog_JAVAC="$ac_prog"
21620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2162120944 break 2
2162220945 fi
2162320946 done
21624 done
20947 done
20948 IFS=$as_save_IFS
2162520949
2162620950 fi
2162720951 fi
2162820952 JAVAC=$ac_cv_prog_JAVAC
2162920953 if test -n "$JAVAC"; then
21630 echo "$as_me:$LINENO: result: $JAVAC" >&5
21631 echo "${ECHO_T}$JAVAC" >&6
21632 else
21633 echo "$as_me:$LINENO: result: no" >&5
21634 echo "${ECHO_T}no" >&6
21635 fi
20954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
20955 $as_echo "$JAVAC" >&6; }
20956 else
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20958 $as_echo "no" >&6; }
20959 fi
20960
2163620961
2163720962 test -n "$JAVAC" && break
2163820963 done
2163920964
2164020965 fi
2164120966 if test -z "$JAVAC"; then
21642 { echo "$as_me:$LINENO: WARNING: No java compiler found" >&5
21643 echo "$as_me: WARNING: No java compiler found" >&2;}
20967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No java compiler found" >&5
20968 $as_echo "$as_me: WARNING: No java compiler found" >&2;}
2164420969 failed=`expr $failed + 1`
2164520970 else
2164620971
21647 echo "$as_me:$LINENO: checking if $JAVAC works..." >&5
21648 echo $ECHO_N "checking if $JAVAC works...... $ECHO_C" >&6
20972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works..." >&5
20973 $as_echo_n "checking if $JAVAC works...... " >&6; }
2164920974 dx_test_java_classname="dx_conf"
2165020975 dx_test_java_prog=$dx_test_java_classname".java"
2165120976 dx_test_java_class=$dx_test_java_classname".class"
2165820983 EOF_JAVA
2165920984
2166020985 if { ac_try='$JAVAC $dx_test_java_prog'
21661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20986 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
2166220987 (eval $ac_try) 2>&5
2166320988 ac_status=$?
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); }; } >/dev/null 2>&1; then
21666 echo "$as_me:$LINENO: result: yes" >&5
21667 echo "${ECHO_T}yes" >&6
20989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20990 test $ac_status = 0; }; } >/dev/null 2>&1; then
20991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20992 $as_echo "yes" >&6; }
2166820993 passed=`expr $passed + 1`
2166920994 else
21670 echo "$as_me:$LINENO: result: no" >&5
21671 echo "${ECHO_T}no" >&6
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20996 $as_echo "no" >&6; }
2167220997 failed=`expr $failed + 1`
21673 { echo "$as_me:$LINENO: WARNING: $JAVAC failed to compile (see config.log, check your CLASSPATH?)" >&5
21674 echo "$as_me: WARNING: $JAVAC failed to compile (see config.log, check your CLASSPATH?)" >&2;}
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $JAVAC failed to compile (see config.log, check your CLASSPATH?)" >&5
20999 $as_echo "$as_me: WARNING: $JAVAC failed to compile (see config.log, check your CLASSPATH?)" >&2;}
2167521000 fi
2167621001 rm -f $dx_test_java_prog $dx_test_java_class
2167721002
2167821003 fi
2167921004
2168021005
21681 { echo "$as_me:$LINENO: checking for jar..." >&5
21682 echo "$as_me: checking for jar..." >&6;}
21006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jar..." >&5
21007 $as_echo "$as_me: checking for jar..." >&6;}
2168321008 if test -n "$JAR"; then
21684 { echo "$as_me:$LINENO: WARNING: JAR was preset" >&5
21685 echo "$as_me: WARNING: JAR was preset" >&2;}
21009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: JAR was preset" >&5
21010 $as_echo "$as_me: WARNING: JAR was preset" >&2;}
2168621011 # Extract the first word of "$JAR", so it can be a program name with args.
2168721012 set dummy $JAR; ac_word=$2
21688 echo "$as_me:$LINENO: checking for $ac_word" >&5
21689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21690 if test "${ac_cv_prog_JAR+set}" = set; then
21691 echo $ECHO_N "(cached) $ECHO_C" >&6
21013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21014 $as_echo_n "checking for $ac_word... " >&6; }
21015 if ${ac_cv_prog_JAR+:} false; then :
21016 $as_echo_n "(cached) " >&6
2169221017 else
2169321018 if test -n "$JAR"; then
2169421019 ac_cv_prog_JAR="$JAR" # Let the user override the test.
2169821023 do
2169921024 IFS=$as_save_IFS
2170021025 test -z "$as_dir" && as_dir=.
21701 for ac_exec_ext in '' $ac_executable_extensions; do
21702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21026 for ac_exec_ext in '' $ac_executable_extensions; do
21027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2170321028 ac_cv_prog_JAR=""
21704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2170521030 break 2
2170621031 fi
2170721032 done
21708 done
21033 done
21034 IFS=$as_save_IFS
2170921035
2171021036 fi
2171121037 fi
2171221038 JAR=$ac_cv_prog_JAR
2171321039 if test -n "$JAR"; then
21714 echo "$as_me:$LINENO: result: $JAR" >&5
21715 echo "${ECHO_T}$JAR" >&6
21716 else
21717 echo "$as_me:$LINENO: result: no" >&5
21718 echo "${ECHO_T}no" >&6
21719 fi
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
21041 $as_echo "$JAR" >&6; }
21042 else
21043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21044 $as_echo "no" >&6; }
21045 fi
21046
2172021047
2172121048 else
2172221049 for ac_prog in jar
2172321050 do
2172421051 # Extract the first word of "$ac_prog", so it can be a program name with args.
2172521052 set dummy $ac_prog; ac_word=$2
21726 echo "$as_me:$LINENO: checking for $ac_word" >&5
21727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21728 if test "${ac_cv_prog_JAR+set}" = set; then
21729 echo $ECHO_N "(cached) $ECHO_C" >&6
21053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21054 $as_echo_n "checking for $ac_word... " >&6; }
21055 if ${ac_cv_prog_JAR+:} false; then :
21056 $as_echo_n "(cached) " >&6
2173021057 else
2173121058 if test -n "$JAR"; then
2173221059 ac_cv_prog_JAR="$JAR" # Let the user override the test.
2173621063 do
2173721064 IFS=$as_save_IFS
2173821065 test -z "$as_dir" && as_dir=.
21739 for ac_exec_ext in '' $ac_executable_extensions; do
21740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21066 for ac_exec_ext in '' $ac_executable_extensions; do
21067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2174121068 ac_cv_prog_JAR="$ac_prog"
21742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2174321070 break 2
2174421071 fi
2174521072 done
21746 done
21073 done
21074 IFS=$as_save_IFS
2174721075
2174821076 fi
2174921077 fi
2175021078 JAR=$ac_cv_prog_JAR
2175121079 if test -n "$JAR"; then
21752 echo "$as_me:$LINENO: result: $JAR" >&5
21753 echo "${ECHO_T}$JAR" >&6
21754 else
21755 echo "$as_me:$LINENO: result: no" >&5
21756 echo "${ECHO_T}no" >&6
21757 fi
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
21081 $as_echo "$JAR" >&6; }
21082 else
21083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21084 $as_echo "no" >&6; }
21085 fi
21086
2175821087
2175921088 test -n "$JAR" && break
2176021089 done
2176121090
2176221091 fi
2176321092 if test -z "$JAR"; then
21764 { echo "$as_me:$LINENO: WARNING: jar class packager not found in \$PATH" >&5
21765 echo "$as_me: WARNING: jar class packager not found in \$PATH" >&2;}
21093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: jar class packager not found in \$PATH" >&5
21094 $as_echo "$as_me: WARNING: jar class packager not found in \$PATH" >&2;}
2176621095 failed=`expr $failed + 1`
2176721096 else
2176821097 passed=`expr $passed + 1`
2176921098 fi
2177021099
2177121100
21772 { echo "$as_me:$LINENO: checking for javah..." >&5
21773 echo "$as_me: checking for javah..." >&6;}
21101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for javah..." >&5
21102 $as_echo "$as_me: checking for javah..." >&6;}
2177421103 if test -n "$JAVAH"; then
21775 { echo "$as_me:$LINENO: WARNING: JAVAH was preset" >&5
21776 echo "$as_me: WARNING: JAVAH was preset" >&2;}
21104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: JAVAH was preset" >&5
21105 $as_echo "$as_me: WARNING: JAVAH was preset" >&2;}
2177721106 # Extract the first word of "$JAVAH", so it can be a program name with args.
2177821107 set dummy $JAVAH; ac_word=$2
21779 echo "$as_me:$LINENO: checking for $ac_word" >&5
21780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21781 if test "${ac_cv_prog_JAVAH+set}" = set; then
21782 echo $ECHO_N "(cached) $ECHO_C" >&6
21108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21109 $as_echo_n "checking for $ac_word... " >&6; }
21110 if ${ac_cv_prog_JAVAH+:} false; then :
21111 $as_echo_n "(cached) " >&6
2178321112 else
2178421113 if test -n "$JAVAH"; then
2178521114 ac_cv_prog_JAVAH="$JAVAH" # Let the user override the test.
2178921118 do
2179021119 IFS=$as_save_IFS
2179121120 test -z "$as_dir" && as_dir=.
21792 for ac_exec_ext in '' $ac_executable_extensions; do
21793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21121 for ac_exec_ext in '' $ac_executable_extensions; do
21122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2179421123 ac_cv_prog_JAVAH=""
21795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2179621125 break 2
2179721126 fi
2179821127 done
21799 done
21128 done
21129 IFS=$as_save_IFS
2180021130
2180121131 fi
2180221132 fi
2180321133 JAVAH=$ac_cv_prog_JAVAH
2180421134 if test -n "$JAVAH"; then
21805 echo "$as_me:$LINENO: result: $JAVAH" >&5
21806 echo "${ECHO_T}$JAVAH" >&6
21807 else
21808 echo "$as_me:$LINENO: result: no" >&5
21809 echo "${ECHO_T}no" >&6
21810 fi
21135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5
21136 $as_echo "$JAVAH" >&6; }
21137 else
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21139 $as_echo "no" >&6; }
21140 fi
21141
2181121142
2181221143 else
2181321144 for ac_prog in javah gcjh
2181421145 do
2181521146 # Extract the first word of "$ac_prog", so it can be a program name with args.
2181621147 set dummy $ac_prog; ac_word=$2
21817 echo "$as_me:$LINENO: checking for $ac_word" >&5
21818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21819 if test "${ac_cv_prog_JAVAH+set}" = set; then
21820 echo $ECHO_N "(cached) $ECHO_C" >&6
21148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21149 $as_echo_n "checking for $ac_word... " >&6; }
21150 if ${ac_cv_prog_JAVAH+:} false; then :
21151 $as_echo_n "(cached) " >&6
2182121152 else
2182221153 if test -n "$JAVAH"; then
2182321154 ac_cv_prog_JAVAH="$JAVAH" # Let the user override the test.
2182721158 do
2182821159 IFS=$as_save_IFS
2182921160 test -z "$as_dir" && as_dir=.
21830 for ac_exec_ext in '' $ac_executable_extensions; do
21831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21161 for ac_exec_ext in '' $ac_executable_extensions; do
21162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2183221163 ac_cv_prog_JAVAH="$ac_prog"
21833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2183421165 break 2
2183521166 fi
2183621167 done
21837 done
21168 done
21169 IFS=$as_save_IFS
2183821170
2183921171 fi
2184021172 fi
2184121173 JAVAH=$ac_cv_prog_JAVAH
2184221174 if test -n "$JAVAH"; then
21843 echo "$as_me:$LINENO: result: $JAVAH" >&5
21844 echo "${ECHO_T}$JAVAH" >&6
21845 else
21846 echo "$as_me:$LINENO: result: no" >&5
21847 echo "${ECHO_T}no" >&6
21848 fi
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5
21176 $as_echo "$JAVAH" >&6; }
21177 else
21178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21179 $as_echo "no" >&6; }
21180 fi
21181
2184921182
2185021183 test -n "$JAVAH" && break
2185121184 done
2185221185
2185321186 fi
2185421187 if test -z "$JAVAH"; then
21855 { echo "$as_me:$LINENO: WARNING: no acceptable jni header generator found in \$PATH" >&5
21856 echo "$as_me: WARNING: no acceptable jni header generator found in \$PATH" >&2;}
21188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no acceptable jni header generator found in \$PATH" >&5
21189 $as_echo "$as_me: WARNING: no acceptable jni header generator found in \$PATH" >&2;}
2185721190 failed=`expr $failed + 1`
2185821191 else
2185921192 passed=`expr $passed + 1`
2186121194
2186221195
2186321196 if test -n "$JAVA"; then
21864 { echo "$as_me:$LINENO: WARNING: JAVA was preset" >&5
21865 echo "$as_me: WARNING: JAVA was preset" >&2;}
21197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: JAVA was preset" >&5
21198 $as_echo "$as_me: WARNING: JAVA was preset" >&2;}
2186621199 # Extract the first word of "$JAVAH", so it can be a program name with args.
2186721200 set dummy $JAVAH; ac_word=$2
21868 echo "$as_me:$LINENO: checking for $ac_word" >&5
21869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21870 if test "${ac_cv_path_JAVA+set}" = set; then
21871 echo $ECHO_N "(cached) $ECHO_C" >&6
21201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21202 $as_echo_n "checking for $ac_word... " >&6; }
21203 if ${ac_cv_path_JAVA+:} false; then :
21204 $as_echo_n "(cached) " >&6
2187221205 else
2187321206 case $JAVA in
2187421207 [\\/]* | ?:[\\/]*)
2188021213 do
2188121214 IFS=$as_save_IFS
2188221215 test -z "$as_dir" && as_dir=.
21883 for ac_exec_ext in '' $ac_executable_extensions; do
21884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21216 for ac_exec_ext in '' $ac_executable_extensions; do
21217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2188521218 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext"
21886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2188721220 break 2
2188821221 fi
2188921222 done
21890 done
21223 done
21224 IFS=$as_save_IFS
2189121225
2189221226 ;;
2189321227 esac
2189421228 fi
2189521229 JAVA=$ac_cv_path_JAVA
21896
2189721230 if test -n "$JAVA"; then
21898 echo "$as_me:$LINENO: result: $JAVA" >&5
21899 echo "${ECHO_T}$JAVA" >&6
21900 else
21901 echo "$as_me:$LINENO: result: no" >&5
21902 echo "${ECHO_T}no" >&6
21903 fi
21231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
21232 $as_echo "$JAVA" >&6; }
21233 else
21234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21235 $as_echo "no" >&6; }
21236 fi
21237
2190421238
2190521239 else
2190621240 for ac_prog in java
2190721241 do
2190821242 # Extract the first word of "$ac_prog", so it can be a program name with args.
2190921243 set dummy $ac_prog; ac_word=$2
21910 echo "$as_me:$LINENO: checking for $ac_word" >&5
21911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21912 if test "${ac_cv_path_JAVA+set}" = set; then
21913 echo $ECHO_N "(cached) $ECHO_C" >&6
21244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21245 $as_echo_n "checking for $ac_word... " >&6; }
21246 if ${ac_cv_path_JAVA+:} false; then :
21247 $as_echo_n "(cached) " >&6
2191421248 else
2191521249 case $JAVA in
2191621250 [\\/]* | ?:[\\/]*)
2192221256 do
2192321257 IFS=$as_save_IFS
2192421258 test -z "$as_dir" && as_dir=.
21925 for ac_exec_ext in '' $ac_executable_extensions; do
21926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21259 for ac_exec_ext in '' $ac_executable_extensions; do
21260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2192721261 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext"
21928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2192921263 break 2
2193021264 fi
2193121265 done
21932 done
21266 done
21267 IFS=$as_save_IFS
2193321268
2193421269 ;;
2193521270 esac
2193621271 fi
2193721272 JAVA=$ac_cv_path_JAVA
21938
2193921273 if test -n "$JAVA"; then
21940 echo "$as_me:$LINENO: result: $JAVA" >&5
21941 echo "${ECHO_T}$JAVA" >&6
21942 else
21943 echo "$as_me:$LINENO: result: no" >&5
21944 echo "${ECHO_T}no" >&6
21945 fi
21274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
21275 $as_echo "$JAVA" >&6; }
21276 else
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21278 $as_echo "no" >&6; }
21279 fi
21280
2194621281
2194721282 test -n "$JAVA" && break
2194821283 done
2194921284
2195021285 fi
2195121286 if test -z "$JAVA"; then
21952 { echo "$as_me:$LINENO: WARNING: no java executable found in \$PATH" >&5
21953 echo "$as_me: WARNING: no java executable found in \$PATH" >&2;}
21287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no java executable found in \$PATH" >&5
21288 $as_echo "$as_me: WARNING: no java executable found in \$PATH" >&2;}
2195421289
2195521290 else
2195621291 DX_JBASE_TRAILING=`echo $JAVA | sed -e "s&.*/&&"`
2196521300 if test -z "$JNIPATH" ; then
2196621301
2196721302
21968 if test "${ac_cv_jdk_base+set}" = set; then
21969 echo $ECHO_N "(cached) $ECHO_C" >&6
21970 else
21971
21972
21973
21974 echo "$as_me:$LINENO: checking java architecture type" >&5
21975 echo $ECHO_N "checking java architecture type... $ECHO_C" >&6
21303 if ${ac_cv_jdk_base+:} false; then :
21304 $as_echo_n "(cached) " >&6
21305 else
21306
21307
21308
21309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking java architecture type" >&5
21310 $as_echo_n "checking java architecture type... " >&6; }
2197621311 if test "$JAVA_ARCH" = "linux" ; then
2197721312 JNI_CFLAGS=-DIBM_LINUX
2197821313 fi
2200321338 *) JAVA_ARCH=$lc ;;
2200421339 esac
2200521340 fi
22006 echo "$as_me:$LINENO: result: $JAVA_ARCH" >&5
22007 echo "${ECHO_T}$JAVA_ARCH" >&6
21341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA_ARCH" >&5
21342 $as_echo "$JAVA_ARCH" >&6; }
2200821343
2200921344
2201021345
2201121346 dx_find_jdk=""
22012 echo "$as_me:$LINENO: checking for jdk classes" >&5
22013 echo $ECHO_N "checking for jdk classes... $ECHO_C" >&6
22014 if test "${ac_cv_jdk_classes+set}" = set; then
22015 echo $ECHO_N "(cached) $ECHO_C" >&6
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jdk classes" >&5
21348 $as_echo_n "checking for jdk classes... " >&6; }
21349 if ${ac_cv_jdk_classes+:} false; then :
21350 $as_echo_n "(cached) " >&6
2201621351 else
2201721352
2201821353 ac_cv_jdk_classes=""
2201921354
2202021355 if test "$JAVAC" = "javac" ; then
2202121356
22022 echo "$as_me:$LINENO: result: trying javac -verbose" >&5
22023 echo "${ECHO_T}trying javac -verbose" >&6
22024
22025
22026 echo "$as_me:$LINENO: checking for jdk classes verbosely" >&5
22027 echo $ECHO_N "checking for jdk classes verbosely... $ECHO_C" >&6
21357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: trying javac -verbose" >&5
21358 $as_echo "trying javac -verbose" >&6; }
21359
21360
21361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jdk classes verbosely" >&5
21362 $as_echo_n "checking for jdk classes verbosely... " >&6; }
2202821363
2202921364 cat > jdkpath.java <<EOF
2203021365 // used to find jdk path via -verbose option to javac
2204121376
2204221377 rm -f jdkpath.*
2204321378
22044 echo "$as_me:$LINENO: result: $ac_cv_jdk_classes" >&5
22045 echo "${ECHO_T}$ac_cv_jdk_classes" >&6
22046 else
22047
22048 echo "$as_me:$LINENO: result: none" >&5
22049 echo "${ECHO_T}none" >&6
21379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_jdk_classes" >&5
21380 $as_echo "$ac_cv_jdk_classes" >&6; }
21381 else
21382
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
21384 $as_echo "none" >&6; }
2205021385
2205121386 fi
2205221387 dx_find_jdk="yes"
2205421389 fi
2205521390
2205621391 if test -z "$dx_find_jdk" ; then
22057 echo "$as_me:$LINENO: result: $ac_cv_jdk_classes" >&5
22058 echo "${ECHO_T}$ac_cv_jdk_classes" >&6
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_jdk_classes" >&5
21393 $as_echo "$ac_cv_jdk_classes" >&6; }
2205921394 fi
2206021395
2206121396
2206221397 if test -z "$ac_cv_jdk_classes" ; then
2206321398
22064 echo "$as_me:$LINENO: result: trying default path" >&5
22065 echo "${ECHO_T}trying default path" >&6
21399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: trying default path" >&5
21400 $as_echo "trying default path" >&6; }
2206621401 ac_cv_jdk_base="/usr/include:/usr/include/$JAVA_ARCH"
2206721402 else
2206821403
2208521420
2208621421 fi
2208721422
22088 echo "$as_me:$LINENO: checking for jni headers path" >&5
22089 echo $ECHO_N "checking for jni headers path... $ECHO_C" >&6
22090 echo "$as_me:$LINENO: result: $ac_cv_jdk_base" >&5
22091 echo "${ECHO_T}$ac_cv_jdk_base" >&6
22092
22093
22094 echo "$as_me:$LINENO: checking for valid jni headers path" >&5
22095 echo $ECHO_N "checking for valid jni headers path... $ECHO_C" >&6
22096 if test "${ac_cv_include_jni+set}" = set; then
22097 echo $ECHO_N "(cached) $ECHO_C" >&6
21423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jni headers path" >&5
21424 $as_echo_n "checking for jni headers path... " >&6; }
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_jdk_base" >&5
21426 $as_echo "$ac_cv_jdk_base" >&6; }
21427
21428
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valid jni headers path" >&5
21430 $as_echo_n "checking for valid jni headers path... " >&6; }
21431 if ${ac_cv_include_jni+:} false; then :
21432 $as_echo_n "(cached) " >&6
2209821433 else
2209921434
2210021435
2212221457 fi
2212321458
2212421459 if test -z "$ac_cv_include_jni" ; then
22125 echo "$as_me:$LINENO: result: no" >&5
22126 echo "${ECHO_T}no" >&6
21460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21461 $as_echo "no" >&6; }
2212721462 failed=`expr $failed + 1`
2212821463 else
22129 echo "$as_me:$LINENO: result: yes" >&5
22130 echo "${ECHO_T}yes" >&6
21464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21465 $as_echo "yes" >&6; }
2213121466 passed=`expr $passed + 1`
2213221467 if test -z "$JINC"; then
2213321468 JINC="$ac_cv_include_jni"
2213721472
2213821473 else
2213921474
22140 echo "$as_me:$LINENO: checking for valid jni headers path" >&5
22141 echo $ECHO_N "checking for valid jni headers path... $ECHO_C" >&6
22142 if test "${ac_cv_include_jni+set}" = set; then
22143 echo $ECHO_N "(cached) $ECHO_C" >&6
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valid jni headers path" >&5
21476 $as_echo_n "checking for valid jni headers path... " >&6; }
21477 if ${ac_cv_include_jni+:} false; then :
21478 $as_echo_n "(cached) " >&6
2214421479 else
2214521480
2214621481
2216821503 fi
2216921504
2217021505 if test -z "$ac_cv_include_jni" ; then
22171 echo "$as_me:$LINENO: result: no" >&5
22172 echo "${ECHO_T}no" >&6
21506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21507 $as_echo "no" >&6; }
2217321508 failed=`expr $failed + 1`
2217421509 else
22175 echo "$as_me:$LINENO: result: yes" >&5
22176 echo "${ECHO_T}yes" >&6
21510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21511 $as_echo "yes" >&6; }
2217721512 passed=`expr $passed + 1`
2217821513 if test -z "$JINC"; then
2217921514 JINC="$ac_cv_include_jni"
2218321518 fi
2218421519 else
2218521520
22186 echo "$as_me:$LINENO: checking for valid jni headers path" >&5
22187 echo $ECHO_N "checking for valid jni headers path... $ECHO_C" >&6
22188 if test "${ac_cv_include_jni+set}" = set; then
22189 echo $ECHO_N "(cached) $ECHO_C" >&6
21521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valid jni headers path" >&5
21522 $as_echo_n "checking for valid jni headers path... " >&6; }
21523 if ${ac_cv_include_jni+:} false; then :
21524 $as_echo_n "(cached) " >&6
2219021525 else
2219121526
2219221527
2221421549 fi
2221521550
2221621551 if test -z "$ac_cv_include_jni" ; then
22217 echo "$as_me:$LINENO: result: no" >&5
22218 echo "${ECHO_T}no" >&6
21552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21553 $as_echo "no" >&6; }
2221921554 failed=`expr $failed + 1`
2222021555 else
22221 echo "$as_me:$LINENO: result: yes" >&5
22222 echo "${ECHO_T}yes" >&6
21556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21557 $as_echo "yes" >&6; }
2222321558 passed=`expr $passed + 1`
2222421559 if test -z "$JINC"; then
2222521560 JINC="$ac_cv_include_jni"
2223121566
2223221567 if test $failed -gt 0; then
2223321568 with_javadx='no'
22234 { echo "$as_me:$LINENO: WARNING: JavaDX will be skipped during compilation due to limitations." >&5
22235 echo "$as_me: WARNING: JavaDX will be skipped during compilation due to limitations." >&2;}
21569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: JavaDX will be skipped during compilation due to limitations." >&5
21570 $as_echo "$as_me: WARNING: JavaDX will be skipped during compilation due to limitations." >&2;}
2223621571 else
2223721572 with_javadx='yes'
2223821573 JAVABRANCH=java
2223921574
2224021575 dx_find_jdk=""
22241 echo "$as_me:$LINENO: checking for jdk classes" >&5
22242 echo $ECHO_N "checking for jdk classes... $ECHO_C" >&6
22243 if test "${ac_cv_jdk_classes+set}" = set; then
22244 echo $ECHO_N "(cached) $ECHO_C" >&6
21576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jdk classes" >&5
21577 $as_echo_n "checking for jdk classes... " >&6; }
21578 if ${ac_cv_jdk_classes+:} false; then :
21579 $as_echo_n "(cached) " >&6
2224521580 else
2224621581
2224721582 ac_cv_jdk_classes=""
2224821583
2224921584 if test "$JAVAC" = "javac" ; then
2225021585
22251 echo "$as_me:$LINENO: result: trying javac -verbose" >&5
22252 echo "${ECHO_T}trying javac -verbose" >&6
22253
22254
22255 echo "$as_me:$LINENO: checking for jdk classes verbosely" >&5
22256 echo $ECHO_N "checking for jdk classes verbosely... $ECHO_C" >&6
21586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: trying javac -verbose" >&5
21587 $as_echo "trying javac -verbose" >&6; }
21588
21589
21590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jdk classes verbosely" >&5
21591 $as_echo_n "checking for jdk classes verbosely... " >&6; }
2225721592
2225821593 cat > jdkpath.java <<EOF
2225921594 // used to find jdk path via -verbose option to javac
2227021605
2227121606 rm -f jdkpath.*
2227221607
22273 echo "$as_me:$LINENO: result: $ac_cv_jdk_classes" >&5
22274 echo "${ECHO_T}$ac_cv_jdk_classes" >&6
22275 else
22276
22277 echo "$as_me:$LINENO: result: none" >&5
22278 echo "${ECHO_T}none" >&6
21608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_jdk_classes" >&5
21609 $as_echo "$ac_cv_jdk_classes" >&6; }
21610 else
21611
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
21613 $as_echo "none" >&6; }
2227921614
2228021615 fi
2228121616 dx_find_jdk="yes"
2228321618 fi
2228421619
2228521620 if test -z "$dx_find_jdk" ; then
22286 echo "$as_me:$LINENO: result: $ac_cv_jdk_classes" >&5
22287 echo "${ECHO_T}$ac_cv_jdk_classes" >&6
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_jdk_classes" >&5
21622 $as_echo "$ac_cv_jdk_classes" >&6; }
2228821623 fi
2228921624
2229021625 DX_JAVA_CLASSPATH="$ac_cv_jdk_classes"
2229421629
2229521630
2229621631
22297 echo "$as_me:$LINENO: checking for netscape jar files" >&5
22298 echo $ECHO_N "checking for netscape jar files... $ECHO_C" >&6
22299 if test "${ac_cv_class_netscape+set}" = set; then
22300 echo $ECHO_N "(cached) $ECHO_C" >&6
21632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netscape jar files" >&5
21633 $as_echo_n "checking for netscape jar files... " >&6; }
21634 if ${ac_cv_class_netscape+:} false; then :
21635 $as_echo_n "(cached) " >&6
2230121636 else
2230221637
2230321638 if test -r /usr/lib/netscape/java/classes/java40.jar; then
2230721642 fi
2230821643
2230921644 if test -n "$ac_cv_class_netscape" ; then
22310 echo "$as_me:$LINENO: result: yes" >&5
22311 echo "${ECHO_T}yes" >&6
22312
22313 else
22314 echo "$as_me:$LINENO: result: no -- netscape support will not be complete" >&5
22315 echo "${ECHO_T}no -- netscape support will not be complete" >&6
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21646 $as_echo "yes" >&6; }
21647
21648 else
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- netscape support will not be complete" >&5
21650 $as_echo "no -- netscape support will not be complete" >&6; }
2231621651
2231721652 fi
2231821653
2232021655
2232121656 else
2232221657
22323 echo "$as_me:$LINENO: checking for netscape jar files" >&5
22324 echo $ECHO_N "checking for netscape jar files... $ECHO_C" >&6
22325 if test "${ac_cv_class_netscape+set}" = set; then
22326 echo $ECHO_N "(cached) $ECHO_C" >&6
21658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netscape jar files" >&5
21659 $as_echo_n "checking for netscape jar files... " >&6; }
21660 if ${ac_cv_class_netscape+:} false; then :
21661 $as_echo_n "(cached) " >&6
2232721662 else
2232821663
2232921664 if test -r $JAVA40JAR; then
2233321668 fi
2233421669
2233521670 if test -n "$ac_cv_class_netscape" ; then
22336 echo "$as_me:$LINENO: result: yes" >&5
22337 echo "${ECHO_T}yes" >&6
22338
22339 else
22340 echo "$as_me:$LINENO: result: no -- netscape support will not be complete" >&5
22341 echo "${ECHO_T}no -- netscape support will not be complete" >&6
21671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21672 $as_echo "yes" >&6; }
21673
21674 else
21675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- netscape support will not be complete" >&5
21676 $as_echo "no -- netscape support will not be complete" >&6; }
2234221677
2234321678 fi
2234421679
2234521680 fi
2234621681 else
2234721682
22348 echo "$as_me:$LINENO: checking for netscape jar files" >&5
22349 echo $ECHO_N "checking for netscape jar files... $ECHO_C" >&6
22350 if test "${ac_cv_class_netscape+set}" = set; then
22351 echo $ECHO_N "(cached) $ECHO_C" >&6
21683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netscape jar files" >&5
21684 $as_echo_n "checking for netscape jar files... " >&6; }
21685 if ${ac_cv_class_netscape+:} false; then :
21686 $as_echo_n "(cached) " >&6
2235221687 else
2235321688
2235421689 if test -r $with_java40jar_path; then
2235821693 fi
2235921694
2236021695 if test -n "$ac_cv_class_netscape" ; then
22361 echo "$as_me:$LINENO: result: yes" >&5
22362 echo "${ECHO_T}yes" >&6
22363
22364 else
22365 echo "$as_me:$LINENO: result: no -- netscape support will not be complete" >&5
22366 echo "${ECHO_T}no -- netscape support will not be complete" >&6
21696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21697 $as_echo "yes" >&6; }
21698
21699 else
21700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- netscape support will not be complete" >&5
21701 $as_echo "no -- netscape support will not be complete" >&6; }
2236721702
2236821703 fi
2236921704
2237421709
2237521710
2237621711
22377 echo "$as_me:$LINENO: checking for cosmo jar files" >&5
22378 echo $ECHO_N "checking for cosmo jar files... $ECHO_C" >&6
22379 if test "${ac_cv_class_cosmo+set}" = set; then
22380 echo $ECHO_N "(cached) $ECHO_C" >&6
21712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosmo jar files" >&5
21713 $as_echo_n "checking for cosmo jar files... " >&6; }
21714 if ${ac_cv_class_cosmo+:} false; then :
21715 $as_echo_n "(cached) " >&6
2238121716 else
2238221717
2238321718 if test -r /usr/lib/netscape/java/classes/npcosmop211.jar; then
2238721722 fi
2238821723
2238921724 if test -n "$ac_cv_class_cosmo" ; then
22390 echo "$as_me:$LINENO: result: yes" >&5
22391 echo "${ECHO_T}yes" >&6
22392
22393 else
22394 echo "$as_me:$LINENO: result: no -- comso support will not be complete" >&5
22395 echo "${ECHO_T}no -- comso support will not be complete" >&6
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21726 $as_echo "yes" >&6; }
21727
21728 else
21729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- comso support will not be complete" >&5
21730 $as_echo "no -- comso support will not be complete" >&6; }
2239621731
2239721732 fi
2239821733
2240021735
2240121736 else
2240221737
22403 echo "$as_me:$LINENO: checking for cosmo jar files" >&5
22404 echo $ECHO_N "checking for cosmo jar files... $ECHO_C" >&6
22405 if test "${ac_cv_class_cosmo+set}" = set; then
22406 echo $ECHO_N "(cached) $ECHO_C" >&6
21738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosmo jar files" >&5
21739 $as_echo_n "checking for cosmo jar files... " >&6; }
21740 if ${ac_cv_class_cosmo+:} false; then :
21741 $as_echo_n "(cached) " >&6
2240721742 else
2240821743
2240921744 if test -r $COSMOJAR; then
2241321748 fi
2241421749
2241521750 if test -n "$ac_cv_class_cosmo" ; then
22416 echo "$as_me:$LINENO: result: yes" >&5
22417 echo "${ECHO_T}yes" >&6
22418
22419 else
22420 echo "$as_me:$LINENO: result: no -- comso support will not be complete" >&5
22421 echo "${ECHO_T}no -- comso support will not be complete" >&6
21751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21752 $as_echo "yes" >&6; }
21753
21754 else
21755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- comso support will not be complete" >&5
21756 $as_echo "no -- comso support will not be complete" >&6; }
2242221757
2242321758 fi
2242421759
2242521760 fi
2242621761 else
2242721762
22428 echo "$as_me:$LINENO: checking for cosmo jar files" >&5
22429 echo $ECHO_N "checking for cosmo jar files... $ECHO_C" >&6
22430 if test "${ac_cv_class_cosmo+set}" = set; then
22431 echo $ECHO_N "(cached) $ECHO_C" >&6
21763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosmo jar files" >&5
21764 $as_echo_n "checking for cosmo jar files... " >&6; }
21765 if ${ac_cv_class_cosmo+:} false; then :
21766 $as_echo_n "(cached) " >&6
2243221767 else
2243321768
2243421769 if test -r $with_cosmojar_path; then
2243821773 fi
2243921774
2244021775 if test -n "$ac_cv_class_cosmo" ; then
22441 echo "$as_me:$LINENO: result: yes" >&5
22442 echo "${ECHO_T}yes" >&6
22443
22444 else
22445 echo "$as_me:$LINENO: result: no -- comso support will not be complete" >&5
22446 echo "${ECHO_T}no -- comso support will not be complete" >&6
21776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21777 $as_echo "yes" >&6; }
21778
21779 else
21780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- comso support will not be complete" >&5
21781 $as_echo "no -- comso support will not be complete" >&6; }
2244721782
2244821783 fi
2244921784
2246721802 TMP_CLASSPATH=$DX_JAVA_CLASSPATH$DIRSEP$TMP_CLASSPATH
2246821803 fi
2246921804 DX_JAVA_CLASSPATH=$TMP_CLASSPATH
22470 { echo "$as_me:$LINENO: DX_JAVA_CLASSPATH :: $DX_JAVA_CLASSPATH " >&5
22471 echo "$as_me: DX_JAVA_CLASSPATH :: $DX_JAVA_CLASSPATH " >&6;}
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: DX_JAVA_CLASSPATH :: $DX_JAVA_CLASSPATH " >&5
21806 $as_echo "$as_me: DX_JAVA_CLASSPATH :: $DX_JAVA_CLASSPATH " >&6;}
2247221807 fi
2247321808
2247421809 fi
2248121816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2248221817
2248321818
22484
22485
22486
22487
22488
2248921819 ac_header_dirent=no
2249021820 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
22491 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
22492 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
22493 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
22494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22495 echo $ECHO_N "(cached) $ECHO_C" >&6
22496 else
22497 cat >conftest.$ac_ext <<_ACEOF
22498 /* confdefs.h. */
22499 _ACEOF
22500 cat confdefs.h >>conftest.$ac_ext
22501 cat >>conftest.$ac_ext <<_ACEOF
21821 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
21822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
21823 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
21824 if eval \${$as_ac_Header+:} false; then :
21825 $as_echo_n "(cached) " >&6
21826 else
21827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2250221828 /* end confdefs.h. */
2250321829 #include <sys/types.h>
2250421830 #include <$ac_hdr>
2251221838 return 0;
2251321839 }
2251421840 _ACEOF
22515 rm -f conftest.$ac_objext
22516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22517 (eval $ac_compile) 2>conftest.er1
22518 ac_status=$?
22519 grep -v '^ *+' conftest.er1 >conftest.err
22520 rm -f conftest.er1
22521 cat conftest.err >&5
22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523 (exit $ac_status); } &&
22524 { ac_try='test -z "$ac_c_werror_flag"
22525 || test ! -s conftest.err'
22526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22527 (eval $ac_try) 2>&5
22528 ac_status=$?
22529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22530 (exit $ac_status); }; } &&
22531 { ac_try='test -s conftest.$ac_objext'
22532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22533 (eval $ac_try) 2>&5
22534 ac_status=$?
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); }; }; then
21841 if ac_fn_c_try_compile "$LINENO"; then :
2253721842 eval "$as_ac_Header=yes"
2253821843 else
22539 echo "$as_me: failed program was:" >&5
22540 sed 's/^/| /' conftest.$ac_ext >&5
22541
22542 eval "$as_ac_Header=no"
22543 fi
22544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22545 fi
22546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22548 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21844 eval "$as_ac_Header=no"
21845 fi
21846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21847 fi
21848 eval ac_res=\$$as_ac_Header
21849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21850 $as_echo "$ac_res" >&6; }
21851 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
2254921852 cat >>confdefs.h <<_ACEOF
22550 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
21853 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
2255121854 _ACEOF
2255221855
2255321856 ac_header_dirent=$ac_hdr; break
2255621859 done
2255721860 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2255821861 if test $ac_header_dirent = dirent.h; then
22559 echo "$as_me:$LINENO: checking for library containing opendir" >&5
22560 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
22561 if test "${ac_cv_search_opendir+set}" = set; then
22562 echo $ECHO_N "(cached) $ECHO_C" >&6
21862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
21863 $as_echo_n "checking for library containing opendir... " >&6; }
21864 if ${ac_cv_search_opendir+:} false; then :
21865 $as_echo_n "(cached) " >&6
2256321866 else
2256421867 ac_func_search_save_LIBS=$LIBS
22565 ac_cv_search_opendir=no
22566 cat >conftest.$ac_ext <<_ACEOF
22567 /* confdefs.h. */
22568 _ACEOF
22569 cat confdefs.h >>conftest.$ac_ext
22570 cat >>conftest.$ac_ext <<_ACEOF
21868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2257121869 /* end confdefs.h. */
2257221870
22573 /* Override any gcc2 internal prototype to avoid an error. */
21871 /* Override any GCC internal prototype to avoid an error.
21872 Use char because int might match the return type of a GCC
21873 builtin and then its argument prototype would still apply. */
2257421874 #ifdef __cplusplus
2257521875 extern "C"
2257621876 #endif
22577 /* We use char because int might match the return type of a gcc2
22578 builtin and then its argument prototype would still apply. */
2257921877 char opendir ();
2258021878 int
2258121879 main ()
2258221880 {
22583 opendir ();
21881 return opendir ();
2258421882 ;
2258521883 return 0;
2258621884 }
2258721885 _ACEOF
22588 rm -f conftest.$ac_objext conftest$ac_exeext
22589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22590 (eval $ac_link) 2>conftest.er1
22591 ac_status=$?
22592 grep -v '^ *+' conftest.er1 >conftest.err
22593 rm -f conftest.er1
22594 cat conftest.err >&5
22595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22596 (exit $ac_status); } &&
22597 { ac_try='test -z "$ac_c_werror_flag"
22598 || test ! -s conftest.err'
22599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22600 (eval $ac_try) 2>&5
22601 ac_status=$?
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); }; } &&
22604 { ac_try='test -s conftest$ac_exeext'
22605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22606 (eval $ac_try) 2>&5
22607 ac_status=$?
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); }; }; then
22610 ac_cv_search_opendir="none required"
22611 else
22612 echo "$as_me: failed program was:" >&5
22613 sed 's/^/| /' conftest.$ac_ext >&5
22614
22615 fi
22616 rm -f conftest.err conftest.$ac_objext \
22617 conftest$ac_exeext conftest.$ac_ext
22618 if test "$ac_cv_search_opendir" = no; then
22619 for ac_lib in dir; do
21886 for ac_lib in '' dir; do
21887 if test -z "$ac_lib"; then
21888 ac_res="none required"
21889 else
21890 ac_res=-l$ac_lib
2262021891 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22621 cat >conftest.$ac_ext <<_ACEOF
22622 /* confdefs.h. */
22623 _ACEOF
22624 cat confdefs.h >>conftest.$ac_ext
22625 cat >>conftest.$ac_ext <<_ACEOF
21892 fi
21893 if ac_fn_c_try_link "$LINENO"; then :
21894 ac_cv_search_opendir=$ac_res
21895 fi
21896 rm -f core conftest.err conftest.$ac_objext \
21897 conftest$ac_exeext
21898 if ${ac_cv_search_opendir+:} false; then :
21899 break
21900 fi
21901 done
21902 if ${ac_cv_search_opendir+:} false; then :
21903
21904 else
21905 ac_cv_search_opendir=no
21906 fi
21907 rm conftest.$ac_ext
21908 LIBS=$ac_func_search_save_LIBS
21909 fi
21910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
21911 $as_echo "$ac_cv_search_opendir" >&6; }
21912 ac_res=$ac_cv_search_opendir
21913 if test "$ac_res" != no; then :
21914 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21915
21916 fi
21917
21918 else
21919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
21920 $as_echo_n "checking for library containing opendir... " >&6; }
21921 if ${ac_cv_search_opendir+:} false; then :
21922 $as_echo_n "(cached) " >&6
21923 else
21924 ac_func_search_save_LIBS=$LIBS
21925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2262621926 /* end confdefs.h. */
2262721927
22628 /* Override any gcc2 internal prototype to avoid an error. */
21928 /* Override any GCC internal prototype to avoid an error.
21929 Use char because int might match the return type of a GCC
21930 builtin and then its argument prototype would still apply. */
2262921931 #ifdef __cplusplus
2263021932 extern "C"
2263121933 #endif
22632 /* We use char because int might match the return type of a gcc2
22633 builtin and then its argument prototype would still apply. */
2263421934 char opendir ();
2263521935 int
2263621936 main ()
2263721937 {
22638 opendir ();
21938 return opendir ();
2263921939 ;
2264021940 return 0;
2264121941 }
2264221942 _ACEOF
22643 rm -f conftest.$ac_objext conftest$ac_exeext
22644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22645 (eval $ac_link) 2>conftest.er1
22646 ac_status=$?
22647 grep -v '^ *+' conftest.er1 >conftest.err
22648 rm -f conftest.er1
22649 cat conftest.err >&5
22650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22651 (exit $ac_status); } &&
22652 { ac_try='test -z "$ac_c_werror_flag"
22653 || test ! -s conftest.err'
22654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22655 (eval $ac_try) 2>&5
22656 ac_status=$?
22657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22658 (exit $ac_status); }; } &&
22659 { ac_try='test -s conftest$ac_exeext'
22660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22661 (eval $ac_try) 2>&5
22662 ac_status=$?
22663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22664 (exit $ac_status); }; }; then
22665 ac_cv_search_opendir="-l$ac_lib"
22666 break
22667 else
22668 echo "$as_me: failed program was:" >&5
22669 sed 's/^/| /' conftest.$ac_ext >&5
22670
22671 fi
22672 rm -f conftest.err conftest.$ac_objext \
22673 conftest$ac_exeext conftest.$ac_ext
22674 done
22675 fi
21943 for ac_lib in '' x; do
21944 if test -z "$ac_lib"; then
21945 ac_res="none required"
21946 else
21947 ac_res=-l$ac_lib
21948 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21949 fi
21950 if ac_fn_c_try_link "$LINENO"; then :
21951 ac_cv_search_opendir=$ac_res
21952 fi
21953 rm -f core conftest.err conftest.$ac_objext \
21954 conftest$ac_exeext
21955 if ${ac_cv_search_opendir+:} false; then :
21956 break
21957 fi
21958 done
21959 if ${ac_cv_search_opendir+:} false; then :
21960
21961 else
21962 ac_cv_search_opendir=no
21963 fi
21964 rm conftest.$ac_ext
2267621965 LIBS=$ac_func_search_save_LIBS
2267721966 fi
22678 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
22679 echo "${ECHO_T}$ac_cv_search_opendir" >&6
22680 if test "$ac_cv_search_opendir" != no; then
22681 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
22682
22683 fi
22684
22685 else
22686 echo "$as_me:$LINENO: checking for library containing opendir" >&5
22687 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
22688 if test "${ac_cv_search_opendir+set}" = set; then
22689 echo $ECHO_N "(cached) $ECHO_C" >&6
22690 else
22691 ac_func_search_save_LIBS=$LIBS
22692 ac_cv_search_opendir=no
22693 cat >conftest.$ac_ext <<_ACEOF
22694 /* confdefs.h. */
22695 _ACEOF
22696 cat confdefs.h >>conftest.$ac_ext
22697 cat >>conftest.$ac_ext <<_ACEOF
22698 /* end confdefs.h. */
22699
22700 /* Override any gcc2 internal prototype to avoid an error. */
22701 #ifdef __cplusplus
22702 extern "C"
22703 #endif
22704 /* We use char because int might match the return type of a gcc2
22705 builtin and then its argument prototype would still apply. */
22706 char opendir ();
22707 int
22708 main ()
22709 {
22710 opendir ();
22711 ;
22712 return 0;
22713 }
22714 _ACEOF
22715 rm -f conftest.$ac_objext conftest$ac_exeext
22716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22717 (eval $ac_link) 2>conftest.er1
22718 ac_status=$?
22719 grep -v '^ *+' conftest.er1 >conftest.err
22720 rm -f conftest.er1
22721 cat conftest.err >&5
22722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22723 (exit $ac_status); } &&
22724 { ac_try='test -z "$ac_c_werror_flag"
22725 || test ! -s conftest.err'
22726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22727 (eval $ac_try) 2>&5
22728 ac_status=$?
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730 (exit $ac_status); }; } &&
22731 { ac_try='test -s conftest$ac_exeext'
22732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22733 (eval $ac_try) 2>&5
22734 ac_status=$?
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); }; }; then
22737 ac_cv_search_opendir="none required"
22738 else
22739 echo "$as_me: failed program was:" >&5
22740 sed 's/^/| /' conftest.$ac_ext >&5
22741
22742 fi
22743 rm -f conftest.err conftest.$ac_objext \
22744 conftest$ac_exeext conftest.$ac_ext
22745 if test "$ac_cv_search_opendir" = no; then
22746 for ac_lib in x; do
22747 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22748 cat >conftest.$ac_ext <<_ACEOF
22749 /* confdefs.h. */
22750 _ACEOF
22751 cat confdefs.h >>conftest.$ac_ext
22752 cat >>conftest.$ac_ext <<_ACEOF
22753 /* end confdefs.h. */
22754
22755 /* Override any gcc2 internal prototype to avoid an error. */
22756 #ifdef __cplusplus
22757 extern "C"
22758 #endif
22759 /* We use char because int might match the return type of a gcc2
22760 builtin and then its argument prototype would still apply. */
22761 char opendir ();
22762 int
22763 main ()
22764 {
22765 opendir ();
22766 ;
22767 return 0;
22768 }
22769 _ACEOF
22770 rm -f conftest.$ac_objext conftest$ac_exeext
22771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22772 (eval $ac_link) 2>conftest.er1
22773 ac_status=$?
22774 grep -v '^ *+' conftest.er1 >conftest.err
22775 rm -f conftest.er1
22776 cat conftest.err >&5
22777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22778 (exit $ac_status); } &&
22779 { ac_try='test -z "$ac_c_werror_flag"
22780 || test ! -s conftest.err'
22781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22782 (eval $ac_try) 2>&5
22783 ac_status=$?
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); }; } &&
22786 { ac_try='test -s conftest$ac_exeext'
22787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22788 (eval $ac_try) 2>&5
22789 ac_status=$?
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); }; }; then
22792 ac_cv_search_opendir="-l$ac_lib"
22793 break
22794 else
22795 echo "$as_me: failed program was:" >&5
22796 sed 's/^/| /' conftest.$ac_ext >&5
22797
22798 fi
22799 rm -f conftest.err conftest.$ac_objext \
22800 conftest$ac_exeext conftest.$ac_ext
22801 done
22802 fi
22803 LIBS=$ac_func_search_save_LIBS
22804 fi
22805 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
22806 echo "${ECHO_T}$ac_cv_search_opendir" >&6
22807 if test "$ac_cv_search_opendir" != no; then
22808 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
22809
22810 fi
22811
22812 fi
22813
22814 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
22815 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
22816 if test "${ac_cv_header_stdc+set}" = set; then
22817 echo $ECHO_N "(cached) $ECHO_C" >&6
22818 else
22819 cat >conftest.$ac_ext <<_ACEOF
22820 /* confdefs.h. */
22821 _ACEOF
22822 cat confdefs.h >>conftest.$ac_ext
22823 cat >>conftest.$ac_ext <<_ACEOF
21967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
21968 $as_echo "$ac_cv_search_opendir" >&6; }
21969 ac_res=$ac_cv_search_opendir
21970 if test "$ac_res" != no; then :
21971 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21972
21973 fi
21974
21975 fi
21976
21977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
21978 $as_echo_n "checking for ANSI C header files... " >&6; }
21979 if ${ac_cv_header_stdc+:} false; then :
21980 $as_echo_n "(cached) " >&6
21981 else
21982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2282421983 /* end confdefs.h. */
2282521984 #include <stdlib.h>
2282621985 #include <stdarg.h>
2283521994 return 0;
2283621995 }
2283721996 _ACEOF
22838 rm -f conftest.$ac_objext
22839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22840 (eval $ac_compile) 2>conftest.er1
22841 ac_status=$?
22842 grep -v '^ *+' conftest.er1 >conftest.err
22843 rm -f conftest.er1
22844 cat conftest.err >&5
22845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22846 (exit $ac_status); } &&
22847 { ac_try='test -z "$ac_c_werror_flag"
22848 || test ! -s conftest.err'
22849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22850 (eval $ac_try) 2>&5
22851 ac_status=$?
22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853 (exit $ac_status); }; } &&
22854 { ac_try='test -s conftest.$ac_objext'
22855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22856 (eval $ac_try) 2>&5
22857 ac_status=$?
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); }; }; then
21997 if ac_fn_c_try_compile "$LINENO"; then :
2286021998 ac_cv_header_stdc=yes
2286121999 else
22862 echo "$as_me: failed program was:" >&5
22863 sed 's/^/| /' conftest.$ac_ext >&5
22864
22865 ac_cv_header_stdc=no
22866 fi
22867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22000 ac_cv_header_stdc=no
22001 fi
22002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2286822003
2286922004 if test $ac_cv_header_stdc = yes; then
2287022005 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
22871 cat >conftest.$ac_ext <<_ACEOF
22872 /* confdefs.h. */
22873 _ACEOF
22874 cat confdefs.h >>conftest.$ac_ext
22875 cat >>conftest.$ac_ext <<_ACEOF
22006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2287622007 /* end confdefs.h. */
2287722008 #include <string.h>
2287822009
2287922010 _ACEOF
2288022011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22881 $EGREP "memchr" >/dev/null 2>&1; then
22882 :
22012 $EGREP "memchr" >/dev/null 2>&1; then :
22013
2288322014 else
2288422015 ac_cv_header_stdc=no
2288522016 fi
2288922020
2289022021 if test $ac_cv_header_stdc = yes; then
2289122022 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
22892 cat >conftest.$ac_ext <<_ACEOF
22893 /* confdefs.h. */
22894 _ACEOF
22895 cat confdefs.h >>conftest.$ac_ext
22896 cat >>conftest.$ac_ext <<_ACEOF
22023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2289722024 /* end confdefs.h. */
2289822025 #include <stdlib.h>
2289922026
2290022027 _ACEOF
2290122028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22902 $EGREP "free" >/dev/null 2>&1; then
22903 :
22029 $EGREP "free" >/dev/null 2>&1; then :
22030
2290422031 else
2290522032 ac_cv_header_stdc=no
2290622033 fi
2291022037
2291122038 if test $ac_cv_header_stdc = yes; then
2291222039 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
22913 if test "$cross_compiling" = yes; then
22040 if test "$cross_compiling" = yes; then :
2291422041 :
2291522042 else
22916 cat >conftest.$ac_ext <<_ACEOF
22917 /* confdefs.h. */
22918 _ACEOF
22919 cat confdefs.h >>conftest.$ac_ext
22920 cat >>conftest.$ac_ext <<_ACEOF
22043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2292122044 /* end confdefs.h. */
2292222045 #include <ctype.h>
22046 #include <stdlib.h>
2292322047 #if ((' ' & 0x0FF) == 0x020)
2292422048 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2292522049 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2293922063 for (i = 0; i < 256; i++)
2294022064 if (XOR (islower (i), ISLOWER (i))
2294122065 || toupper (i) != TOUPPER (i))
22942 exit(2);
22943 exit (0);
22066 return 2;
22067 return 0;
2294422068 }
2294522069 _ACEOF
22946 rm -f conftest$ac_exeext
22947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22948 (eval $ac_link) 2>&5
22949 ac_status=$?
22950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22953 (eval $ac_try) 2>&5
22954 ac_status=$?
22955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22956 (exit $ac_status); }; }; then
22957 :
22958 else
22959 echo "$as_me: program exited with status $ac_status" >&5
22960 echo "$as_me: failed program was:" >&5
22961 sed 's/^/| /' conftest.$ac_ext >&5
22962
22963 ( exit $ac_status )
22964 ac_cv_header_stdc=no
22965 fi
22966 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22967 fi
22968 fi
22969 fi
22970 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
22971 echo "${ECHO_T}$ac_cv_header_stdc" >&6
22070 if ac_fn_c_try_run "$LINENO"; then :
22071
22072 else
22073 ac_cv_header_stdc=no
22074 fi
22075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22076 conftest.$ac_objext conftest.beam conftest.$ac_ext
22077 fi
22078
22079 fi
22080 fi
22081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
22082 $as_echo "$ac_cv_header_stdc" >&6; }
2297222083 if test $ac_cv_header_stdc = yes; then
2297322084
22974 cat >>confdefs.h <<\_ACEOF
22975 #define STDC_HEADERS 1
22976 _ACEOF
22977
22978 fi
22979
22980 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
22981 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
22982 if test "${ac_cv_header_sys_wait_h+set}" = set; then
22983 echo $ECHO_N "(cached) $ECHO_C" >&6
22984 else
22985 cat >conftest.$ac_ext <<_ACEOF
22986 /* confdefs.h. */
22987 _ACEOF
22988 cat confdefs.h >>conftest.$ac_ext
22989 cat >>conftest.$ac_ext <<_ACEOF
22085 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
22086
22087 fi
22088
22089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
22090 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
22091 if ${ac_cv_header_sys_wait_h+:} false; then :
22092 $as_echo_n "(cached) " >&6
22093 else
22094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2299022095 /* end confdefs.h. */
2299122096 #include <sys/types.h>
2299222097 #include <sys/wait.h>
2299322098 #ifndef WEXITSTATUS
22994 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
22099 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
2299522100 #endif
2299622101 #ifndef WIFEXITED
2299722102 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2300722112 return 0;
2300822113 }
2300922114 _ACEOF
23010 rm -f conftest.$ac_objext
23011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23012 (eval $ac_compile) 2>conftest.er1
23013 ac_status=$?
23014 grep -v '^ *+' conftest.er1 >conftest.err
23015 rm -f conftest.er1
23016 cat conftest.err >&5
23017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018 (exit $ac_status); } &&
23019 { ac_try='test -z "$ac_c_werror_flag"
23020 || test ! -s conftest.err'
23021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23022 (eval $ac_try) 2>&5
23023 ac_status=$?
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); }; } &&
23026 { ac_try='test -s conftest.$ac_objext'
23027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23028 (eval $ac_try) 2>&5
23029 ac_status=$?
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); }; }; then
22115 if ac_fn_c_try_compile "$LINENO"; then :
2303222116 ac_cv_header_sys_wait_h=yes
2303322117 else
23034 echo "$as_me: failed program was:" >&5
23035 sed 's/^/| /' conftest.$ac_ext >&5
23036
23037 ac_cv_header_sys_wait_h=no
23038 fi
23039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23040 fi
23041 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
23042 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
22118 ac_cv_header_sys_wait_h=no
22119 fi
22120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22121 fi
22122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
22123 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
2304322124 if test $ac_cv_header_sys_wait_h = yes; then
2304422125
23045 cat >>confdefs.h <<\_ACEOF
23046 #define HAVE_SYS_WAIT_H 1
23047 _ACEOF
23048
23049 fi
23050
23051
23052 echo "$as_me:$LINENO: checking for mode_t" >&5
23053 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
23054 if test "${ac_cv_type_mode_t+set}" = set; then
23055 echo $ECHO_N "(cached) $ECHO_C" >&6
23056 else
23057 cat >conftest.$ac_ext <<_ACEOF
23058 /* confdefs.h. */
23059 _ACEOF
23060 cat confdefs.h >>conftest.$ac_ext
23061 cat >>conftest.$ac_ext <<_ACEOF
23062 /* end confdefs.h. */
23063 $ac_includes_default
23064 int
23065 main ()
23066 {
23067 if ((mode_t *) 0)
23068 return 0;
23069 if (sizeof (mode_t))
23070 return 0;
23071 ;
23072 return 0;
23073 }
23074 _ACEOF
23075 rm -f conftest.$ac_objext
23076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23077 (eval $ac_compile) 2>conftest.er1
23078 ac_status=$?
23079 grep -v '^ *+' conftest.er1 >conftest.err
23080 rm -f conftest.er1
23081 cat conftest.err >&5
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); } &&
23084 { ac_try='test -z "$ac_c_werror_flag"
23085 || test ! -s conftest.err'
23086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23087 (eval $ac_try) 2>&5
23088 ac_status=$?
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); }; } &&
23091 { ac_try='test -s conftest.$ac_objext'
23092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23093 (eval $ac_try) 2>&5
23094 ac_status=$?
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); }; }; then
23097 ac_cv_type_mode_t=yes
23098 else
23099 echo "$as_me: failed program was:" >&5
23100 sed 's/^/| /' conftest.$ac_ext >&5
23101
23102 ac_cv_type_mode_t=no
23103 fi
23104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23105 fi
23106 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
23107 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
23108 if test $ac_cv_type_mode_t = yes; then
23109 :
22126 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
22127
22128 fi
22129
22130
22131 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
22132 if test "x$ac_cv_type_mode_t" = xyes; then :
22133
2311022134 else
2311122135
2311222136 cat >>confdefs.h <<_ACEOF
2311522139
2311622140 fi
2311722141
23118 echo "$as_me:$LINENO: checking for pid_t" >&5
23119 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
23120 if test "${ac_cv_type_pid_t+set}" = set; then
23121 echo $ECHO_N "(cached) $ECHO_C" >&6
23122 else
23123 cat >conftest.$ac_ext <<_ACEOF
23124 /* confdefs.h. */
23125 _ACEOF
23126 cat confdefs.h >>conftest.$ac_ext
23127 cat >>conftest.$ac_ext <<_ACEOF
23128 /* end confdefs.h. */
23129 $ac_includes_default
23130 int
23131 main ()
23132 {
23133 if ((pid_t *) 0)
23134 return 0;
23135 if (sizeof (pid_t))
23136 return 0;
23137 ;
23138 return 0;
23139 }
23140 _ACEOF
23141 rm -f conftest.$ac_objext
23142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23143 (eval $ac_compile) 2>conftest.er1
23144 ac_status=$?
23145 grep -v '^ *+' conftest.er1 >conftest.err
23146 rm -f conftest.er1
23147 cat conftest.err >&5
23148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23149 (exit $ac_status); } &&
23150 { ac_try='test -z "$ac_c_werror_flag"
23151 || test ! -s conftest.err'
23152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23153 (eval $ac_try) 2>&5
23154 ac_status=$?
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); }; } &&
23157 { ac_try='test -s conftest.$ac_objext'
23158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23159 (eval $ac_try) 2>&5
23160 ac_status=$?
23161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23162 (exit $ac_status); }; }; then
23163 ac_cv_type_pid_t=yes
23164 else
23165 echo "$as_me: failed program was:" >&5
23166 sed 's/^/| /' conftest.$ac_ext >&5
23167
23168 ac_cv_type_pid_t=no
23169 fi
23170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23171 fi
23172 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
23173 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
23174 if test $ac_cv_type_pid_t = yes; then
23175 :
22142 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
22143 if test "x$ac_cv_type_pid_t" = xyes; then :
22144
2317622145 else
2317722146
2317822147 cat >>confdefs.h <<_ACEOF
2318122150
2318222151 fi
2318322152
23184 echo "$as_me:$LINENO: checking for size_t" >&5
23185 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
23186 if test "${ac_cv_type_size_t+set}" = set; then
23187 echo $ECHO_N "(cached) $ECHO_C" >&6
23188 else
23189 cat >conftest.$ac_ext <<_ACEOF
23190 /* confdefs.h. */
23191 _ACEOF
23192 cat confdefs.h >>conftest.$ac_ext
23193 cat >>conftest.$ac_ext <<_ACEOF
23194 /* end confdefs.h. */
23195 $ac_includes_default
23196 int
23197 main ()
23198 {
23199 if ((size_t *) 0)
23200 return 0;
23201 if (sizeof (size_t))
23202 return 0;
23203 ;
23204 return 0;
23205 }
23206 _ACEOF
23207 rm -f conftest.$ac_objext
23208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23209 (eval $ac_compile) 2>conftest.er1
23210 ac_status=$?
23211 grep -v '^ *+' conftest.er1 >conftest.err
23212 rm -f conftest.er1
23213 cat conftest.err >&5
23214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23215 (exit $ac_status); } &&
23216 { ac_try='test -z "$ac_c_werror_flag"
23217 || test ! -s conftest.err'
23218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23219 (eval $ac_try) 2>&5
23220 ac_status=$?
23221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23222 (exit $ac_status); }; } &&
23223 { ac_try='test -s conftest.$ac_objext'
23224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23225 (eval $ac_try) 2>&5
23226 ac_status=$?
23227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23228 (exit $ac_status); }; }; then
23229 ac_cv_type_size_t=yes
23230 else
23231 echo "$as_me: failed program was:" >&5
23232 sed 's/^/| /' conftest.$ac_ext >&5
23233
23234 ac_cv_type_size_t=no
23235 fi
23236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23237 fi
23238 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23239 echo "${ECHO_T}$ac_cv_type_size_t" >&6
23240 if test $ac_cv_type_size_t = yes; then
23241 :
22153 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
22154 if test "x$ac_cv_type_size_t" = xyes; then :
22155
2324222156 else
2324322157
2324422158 cat >>confdefs.h <<_ACEOF
23245 #define size_t unsigned
23246 _ACEOF
23247
23248 fi
23249
23250 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
23251 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
23252 if test "${ac_cv_header_time+set}" = set; then
23253 echo $ECHO_N "(cached) $ECHO_C" >&6
23254 else
23255 cat >conftest.$ac_ext <<_ACEOF
23256 /* confdefs.h. */
23257 _ACEOF
23258 cat confdefs.h >>conftest.$ac_ext
23259 cat >>conftest.$ac_ext <<_ACEOF
22159 #define size_t unsigned int
22160 _ACEOF
22161
22162 fi
22163
22164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
22165 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
22166 if ${ac_cv_header_time+:} false; then :
22167 $as_echo_n "(cached) " >&6
22168 else
22169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326022170 /* end confdefs.h. */
2326122171 #include <sys/types.h>
2326222172 #include <sys/time.h>
2327122181 return 0;
2327222182 }
2327322183 _ACEOF
23274 rm -f conftest.$ac_objext
23275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23276 (eval $ac_compile) 2>conftest.er1
23277 ac_status=$?
23278 grep -v '^ *+' conftest.er1 >conftest.err
23279 rm -f conftest.er1
23280 cat conftest.err >&5
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); } &&
23283 { ac_try='test -z "$ac_c_werror_flag"
23284 || test ! -s conftest.err'
23285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23286 (eval $ac_try) 2>&5
23287 ac_status=$?
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); }; } &&
23290 { ac_try='test -s conftest.$ac_objext'
23291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23292 (eval $ac_try) 2>&5
23293 ac_status=$?
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); }; }; then
22184 if ac_fn_c_try_compile "$LINENO"; then :
2329622185 ac_cv_header_time=yes
2329722186 else
23298 echo "$as_me: failed program was:" >&5
23299 sed 's/^/| /' conftest.$ac_ext >&5
23300
23301 ac_cv_header_time=no
23302 fi
23303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23304 fi
23305 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
23306 echo "${ECHO_T}$ac_cv_header_time" >&6
22187 ac_cv_header_time=no
22188 fi
22189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22190 fi
22191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
22192 $as_echo "$ac_cv_header_time" >&6; }
2330722193 if test $ac_cv_header_time = yes; then
2330822194
23309 cat >>confdefs.h <<\_ACEOF
23310 #define TIME_WITH_SYS_TIME 1
23311 _ACEOF
23312
23313 fi
23314
23315 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
23316 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
23317 if test "${ac_cv_struct_tm+set}" = set; then
23318 echo $ECHO_N "(cached) $ECHO_C" >&6
23319 else
23320 cat >conftest.$ac_ext <<_ACEOF
23321 /* confdefs.h. */
23322 _ACEOF
23323 cat confdefs.h >>conftest.$ac_ext
23324 cat >>conftest.$ac_ext <<_ACEOF
22195 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
22196
22197 fi
22198
22199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
22200 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
22201 if ${ac_cv_struct_tm+:} false; then :
22202 $as_echo_n "(cached) " >&6
22203 else
22204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2332522205 /* end confdefs.h. */
2332622206 #include <sys/types.h>
2332722207 #include <time.h>
2332922209 int
2333022210 main ()
2333122211 {
23332 struct tm *tp; tp->tm_sec;
22212 struct tm tm;
22213 int *p = &tm.tm_sec;
22214 return !p;
2333322215 ;
2333422216 return 0;
2333522217 }
2333622218 _ACEOF
23337 rm -f conftest.$ac_objext
23338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23339 (eval $ac_compile) 2>conftest.er1
23340 ac_status=$?
23341 grep -v '^ *+' conftest.er1 >conftest.err
23342 rm -f conftest.er1
23343 cat conftest.err >&5
23344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23345 (exit $ac_status); } &&
23346 { ac_try='test -z "$ac_c_werror_flag"
23347 || test ! -s conftest.err'
23348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23349 (eval $ac_try) 2>&5
23350 ac_status=$?
23351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352 (exit $ac_status); }; } &&
23353 { ac_try='test -s conftest.$ac_objext'
23354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23355 (eval $ac_try) 2>&5
23356 ac_status=$?
23357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358 (exit $ac_status); }; }; then
22219 if ac_fn_c_try_compile "$LINENO"; then :
2335922220 ac_cv_struct_tm=time.h
2336022221 else
23361 echo "$as_me: failed program was:" >&5
23362 sed 's/^/| /' conftest.$ac_ext >&5
23363
23364 ac_cv_struct_tm=sys/time.h
23365 fi
23366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23367 fi
23368 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
23369 echo "${ECHO_T}$ac_cv_struct_tm" >&6
22222 ac_cv_struct_tm=sys/time.h
22223 fi
22224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22225 fi
22226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
22227 $as_echo "$ac_cv_struct_tm" >&6; }
2337022228 if test $ac_cv_struct_tm = sys/time.h; then
2337122229
23372 cat >>confdefs.h <<\_ACEOF
23373 #define TM_IN_SYS_TIME 1
23374 _ACEOF
22230 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
2337522231
2337622232 fi
2337722233
2346122317 DX_RTL_DXENTRY="-eDXEntry"
2346222318 fi
2346322319
23464
23465 echo "$as_me:$LINENO: checking for pthread_getspecific in -lpthread" >&5
23466 echo $ECHO_N "checking for pthread_getspecific in -lpthread... $ECHO_C" >&6
23467 if test "${ac_cv_lib_pthread_pthread_getspecific+set}" = set; then
23468 echo $ECHO_N "(cached) $ECHO_C" >&6
22320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_getspecific in -lpthread" >&5
22321 $as_echo_n "checking for pthread_getspecific in -lpthread... " >&6; }
22322 if ${ac_cv_lib_pthread_pthread_getspecific+:} false; then :
22323 $as_echo_n "(cached) " >&6
2346922324 else
2347022325 ac_check_lib_save_LIBS=$LIBS
2347122326 LIBS="-lpthread $LIBS"
23472 cat >conftest.$ac_ext <<_ACEOF
23473 /* confdefs.h. */
23474 _ACEOF
23475 cat confdefs.h >>conftest.$ac_ext
23476 cat >>conftest.$ac_ext <<_ACEOF
22327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2347722328 /* end confdefs.h. */
2347822329
23479 /* Override any gcc2 internal prototype to avoid an error. */
22330 /* Override any GCC internal prototype to avoid an error.
22331 Use char because int might match the return type of a GCC
22332 builtin and then its argument prototype would still apply. */
2348022333 #ifdef __cplusplus
2348122334 extern "C"
2348222335 #endif
23483 /* We use char because int might match the return type of a gcc2
23484 builtin and then its argument prototype would still apply. */
2348522336 char pthread_getspecific ();
2348622337 int
2348722338 main ()
2348822339 {
23489 pthread_getspecific ();
22340 return pthread_getspecific ();
2349022341 ;
2349122342 return 0;
2349222343 }
2349322344 _ACEOF
23494 rm -f conftest.$ac_objext conftest$ac_exeext
23495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23496 (eval $ac_link) 2>conftest.er1
23497 ac_status=$?
23498 grep -v '^ *+' conftest.er1 >conftest.err
23499 rm -f conftest.er1
23500 cat conftest.err >&5
23501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502 (exit $ac_status); } &&
23503 { ac_try='test -z "$ac_c_werror_flag"
23504 || test ! -s conftest.err'
23505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23506 (eval $ac_try) 2>&5
23507 ac_status=$?
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); }; } &&
23510 { ac_try='test -s conftest$ac_exeext'
23511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23512 (eval $ac_try) 2>&5
23513 ac_status=$?
23514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23515 (exit $ac_status); }; }; then
22345 if ac_fn_c_try_link "$LINENO"; then :
2351622346 ac_cv_lib_pthread_pthread_getspecific=yes
2351722347 else
23518 echo "$as_me: failed program was:" >&5
23519 sed 's/^/| /' conftest.$ac_ext >&5
23520
23521 ac_cv_lib_pthread_pthread_getspecific=no
23522 fi
23523 rm -f conftest.err conftest.$ac_objext \
23524 conftest$ac_exeext conftest.$ac_ext
22348 ac_cv_lib_pthread_pthread_getspecific=no
22349 fi
22350 rm -f core conftest.err conftest.$ac_objext \
22351 conftest$ac_exeext conftest.$ac_ext
2352522352 LIBS=$ac_check_lib_save_LIBS
2352622353 fi
23527 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_getspecific" >&5
23528 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_getspecific" >&6
23529 if test $ac_cv_lib_pthread_pthread_getspecific = yes; then
22354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_getspecific" >&5
22355 $as_echo "$ac_cv_lib_pthread_pthread_getspecific" >&6; }
22356 if test "x$ac_cv_lib_pthread_pthread_getspecific" = xyes; then :
2353022357 cat >>confdefs.h <<_ACEOF
2353122358 #define HAVE_LIBPTHREAD 1
2353222359 _ACEOF
2353722364
2353822365
2353922366
23540 echo "$as_me:$LINENO: checking for X" >&5
23541 echo $ECHO_N "checking for X... $ECHO_C" >&6
23542
23543
23544 # Check whether --with-x or --without-x was given.
23545 if test "${with_x+set}" = set; then
23546 withval="$with_x"
23547
23548 fi;
22367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
22368 $as_echo_n "checking for X... " >&6; }
22369
22370
22371 # Check whether --with-x was given.
22372 if test "${with_x+set}" = set; then :
22373 withval=$with_x;
22374 fi
22375
2354922376 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2355022377 if test "x$with_x" = xno; then
2355122378 # The user explicitly disabled X.
2355222379 have_x=disabled
2355322380 else
23554 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
23555 # Both variables are already set.
23556 have_x=yes
23557 else
23558 if test "${ac_cv_have_x+set}" = set; then
23559 echo $ECHO_N "(cached) $ECHO_C" >&6
22381 case $x_includes,$x_libraries in #(
22382 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
22383 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
22384 $as_echo_n "(cached) " >&6
2356022385 else
2356122386 # One or both of the vars are not set, and there is no cached value.
2356222387 ac_x_includes=no ac_x_libraries=no
23563 rm -fr conftest.dir
22388 rm -f -r conftest.dir
2356422389 if mkdir conftest.dir; then
2356522390 cd conftest.dir
23566 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2356722391 cat >Imakefile <<'_ACEOF'
23568 acfindx:
23569 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23570 _ACEOF
23571 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
23572 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23573 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
22392 incroot:
22393 @echo incroot='${INCROOT}'
22394 usrlibdir:
22395 @echo usrlibdir='${USRLIBDIR}'
22396 libdir:
22397 @echo libdir='${LIBDIR}'
22398 _ACEOF
22399 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
22400 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22401 for ac_var in incroot usrlibdir libdir; do
22402 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
22403 done
2357422404 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23575 for ac_extension in a so sl; do
23576 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
23577 test -f $ac_im_libdir/libX11.$ac_extension; then
22405 for ac_extension in a so sl dylib la dll; do
22406 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
22407 test -f "$ac_im_libdir/libX11.$ac_extension"; then
2357822408 ac_im_usrlibdir=$ac_im_libdir; break
2357922409 fi
2358022410 done
2358222412 # bogus both because they are the default anyway, and because
2358322413 # using them would break gcc on systems where it needs fixed includes.
2358422414 case $ac_im_incroot in
23585 /usr/include) ;;
22415 /usr/include) ac_x_includes= ;;
2358622416 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
2358722417 esac
2358822418 case $ac_im_usrlibdir in
23589 /usr/lib | /lib) ;;
22419 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
2359022420 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
2359122421 esac
2359222422 fi
2359322423 cd ..
23594 rm -fr conftest.dir
22424 rm -f -r conftest.dir
2359522425 fi
2359622426
2359722427 # Standard set of common directories for X headers.
2359822428 # Check X11 before X11Rn because it is often a symlink to the current release.
2359922429 ac_x_header_dirs='
2360022430 /usr/X11/include
22431 /usr/X11R7/include
2360122432 /usr/X11R6/include
2360222433 /usr/X11R5/include
2360322434 /usr/X11R4/include
2360422435
2360522436 /usr/include/X11
22437 /usr/include/X11R7
2360622438 /usr/include/X11R6
2360722439 /usr/include/X11R5
2360822440 /usr/include/X11R4
2360922441
2361022442 /usr/local/X11/include
22443 /usr/local/X11R7/include
2361122444 /usr/local/X11R6/include
2361222445 /usr/local/X11R5/include
2361322446 /usr/local/X11R4/include
2361422447
2361522448 /usr/local/include/X11
22449 /usr/local/include/X11R7
2361622450 /usr/local/include/X11R6
2361722451 /usr/local/include/X11R5
2361822452 /usr/local/include/X11R4
2363222466 /usr/openwin/share/include'
2363322467
2363422468 if test "$ac_x_includes" = no; then
23635 # Guess where to find include files, by looking for Intrinsic.h.
22469 # Guess where to find include files, by looking for Xlib.h.
2363622470 # First, try using that file with no special directory specified.
23637 cat >conftest.$ac_ext <<_ACEOF
23638 /* confdefs.h. */
23639 _ACEOF
23640 cat confdefs.h >>conftest.$ac_ext
23641 cat >>conftest.$ac_ext <<_ACEOF
22471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2364222472 /* end confdefs.h. */
23643 #include <X11/Intrinsic.h>
23644 _ACEOF
23645 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23646 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23647 ac_status=$?
23648 grep -v '^ *+' conftest.er1 >conftest.err
23649 rm -f conftest.er1
23650 cat conftest.err >&5
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); } >/dev/null; then
23653 if test -s conftest.err; then
23654 ac_cpp_err=$ac_c_preproc_warn_flag
23655 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23656 else
23657 ac_cpp_err=
23658 fi
23659 else
23660 ac_cpp_err=yes
23661 fi
23662 if test -z "$ac_cpp_err"; then
22473 #include <X11/Xlib.h>
22474 _ACEOF
22475 if ac_fn_c_try_cpp "$LINENO"; then :
2366322476 # We can compile using X headers with no special include directory.
2366422477 ac_x_includes=
2366522478 else
23666 echo "$as_me: failed program was:" >&5
23667 sed 's/^/| /' conftest.$ac_ext >&5
23668
2366922479 for ac_dir in $ac_x_header_dirs; do
23670 if test -r "$ac_dir/X11/Intrinsic.h"; then
22480 if test -r "$ac_dir/X11/Xlib.h"; then
2367122481 ac_x_includes=$ac_dir
2367222482 break
2367322483 fi
2367422484 done
2367522485 fi
23676 rm -f conftest.err conftest.$ac_ext
22486 rm -f conftest.err conftest.i conftest.$ac_ext
2367722487 fi # $ac_x_includes = no
2367822488
2367922489 if test "$ac_x_libraries" = no; then
2368122491 # See if we find them without any special options.
2368222492 # Don't add to $LIBS permanently.
2368322493 ac_save_LIBS=$LIBS
23684 LIBS="-lXt $LIBS"
23685 cat >conftest.$ac_ext <<_ACEOF
23686 /* confdefs.h. */
23687 _ACEOF
23688 cat confdefs.h >>conftest.$ac_ext
23689 cat >>conftest.$ac_ext <<_ACEOF
22494 LIBS="-lX11 $LIBS"
22495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2369022496 /* end confdefs.h. */
23691 #include <X11/Intrinsic.h>
22497 #include <X11/Xlib.h>
2369222498 int
2369322499 main ()
2369422500 {
23695 XtMalloc (0)
22501 XrmInitialize ()
2369622502 ;
2369722503 return 0;
2369822504 }
2369922505 _ACEOF
23700 rm -f conftest.$ac_objext conftest$ac_exeext
23701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23702 (eval $ac_link) 2>conftest.er1
23703 ac_status=$?
23704 grep -v '^ *+' conftest.er1 >conftest.err
23705 rm -f conftest.er1
23706 cat conftest.err >&5
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); } &&
23709 { ac_try='test -z "$ac_c_werror_flag"
23710 || test ! -s conftest.err'
23711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23712 (eval $ac_try) 2>&5
23713 ac_status=$?
23714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23715 (exit $ac_status); }; } &&
23716 { ac_try='test -s conftest$ac_exeext'
23717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23718 (eval $ac_try) 2>&5
23719 ac_status=$?
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); }; }; then
22506 if ac_fn_c_try_link "$LINENO"; then :
2372222507 LIBS=$ac_save_LIBS
2372322508 # We can link X programs with no special library path.
2372422509 ac_x_libraries=
2372522510 else
23726 echo "$as_me: failed program was:" >&5
23727 sed 's/^/| /' conftest.$ac_ext >&5
23728
23729 LIBS=$ac_save_LIBS
23730 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22511 LIBS=$ac_save_LIBS
22512 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2373122513 do
2373222514 # Don't even attempt the hair of trying to link an X program!
23733 for ac_extension in a so sl; do
23734 if test -r $ac_dir/libXt.$ac_extension; then
22515 for ac_extension in a so sl dylib la dll; do
22516 if test -r "$ac_dir/libX11.$ac_extension"; then
2373522517 ac_x_libraries=$ac_dir
2373622518 break 2
2373722519 fi
2373822520 done
2373922521 done
2374022522 fi
23741 rm -f conftest.err conftest.$ac_objext \
23742 conftest$ac_exeext conftest.$ac_ext
22523 rm -f core conftest.err conftest.$ac_objext \
22524 conftest$ac_exeext conftest.$ac_ext
2374322525 fi # $ac_x_libraries = no
2374422526
23745 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
23746 # Didn't find X anywhere. Cache the known absence of X.
23747 ac_cv_have_x="have_x=no"
23748 else
23749 # Record where we found X for the cache.
23750 ac_cv_have_x="have_x=yes \
23751 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23752 fi
23753 fi
23754
23755 fi
22527 case $ac_x_includes,$ac_x_libraries in #(
22528 no,* | *,no | *\'*)
22529 # Didn't find X, or a directory has "'" in its name.
22530 ac_cv_have_x="have_x=no";; #(
22531 *)
22532 # Record where we found X for the cache.
22533 ac_cv_have_x="have_x=yes\
22534 ac_x_includes='$ac_x_includes'\
22535 ac_x_libraries='$ac_x_libraries'"
22536 esac
22537 fi
22538 ;; #(
22539 *) have_x=yes;;
22540 esac
2375622541 eval "$ac_cv_have_x"
2375722542 fi # $with_x != no
2375822543
2375922544 if test "$have_x" != yes; then
23760 echo "$as_me:$LINENO: result: $have_x" >&5
23761 echo "${ECHO_T}$have_x" >&6
22545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
22546 $as_echo "$have_x" >&6; }
2376222547 no_x=yes
2376322548 else
2376422549 # If each of the values was on the command line, it overrides each guess.
2376522550 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
2376622551 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
2376722552 # Update the cache value to reflect the command line values.
23768 ac_cv_have_x="have_x=yes \
23769 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23770 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23771 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
22553 ac_cv_have_x="have_x=yes\
22554 ac_x_includes='$x_includes'\
22555 ac_x_libraries='$x_libraries'"
22556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
22557 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
2377222558 fi
2377322559
2377422560 if test "$x_includes" != "" ; then
2378022566 LIBS="-L$x_libraries $LIBS"
2378122567 fi
2378222568
23783
23784 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23785 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23786 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23787 echo $ECHO_N "(cached) $ECHO_C" >&6
22569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
22570 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
22571 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
22572 $as_echo_n "(cached) " >&6
2378822573 else
2378922574 ac_check_lib_save_LIBS=$LIBS
2379022575 LIBS="-lICE $LIBS"
23791 cat >conftest.$ac_ext <<_ACEOF
23792 /* confdefs.h. */
23793 _ACEOF
23794 cat confdefs.h >>conftest.$ac_ext
23795 cat >>conftest.$ac_ext <<_ACEOF
22576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2379622577 /* end confdefs.h. */
2379722578
23798 /* Override any gcc2 internal prototype to avoid an error. */
22579 /* Override any GCC internal prototype to avoid an error.
22580 Use char because int might match the return type of a GCC
22581 builtin and then its argument prototype would still apply. */
2379922582 #ifdef __cplusplus
2380022583 extern "C"
2380122584 #endif
23802 /* We use char because int might match the return type of a gcc2
23803 builtin and then its argument prototype would still apply. */
2380422585 char IceConnectionNumber ();
2380522586 int
2380622587 main ()
2380722588 {
23808 IceConnectionNumber ();
22589 return IceConnectionNumber ();
2380922590 ;
2381022591 return 0;
2381122592 }
2381222593 _ACEOF
23813 rm -f conftest.$ac_objext conftest$ac_exeext
23814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23815 (eval $ac_link) 2>conftest.er1
23816 ac_status=$?
23817 grep -v '^ *+' conftest.er1 >conftest.err
23818 rm -f conftest.er1
23819 cat conftest.err >&5
23820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23821 (exit $ac_status); } &&
23822 { ac_try='test -z "$ac_c_werror_flag"
23823 || test ! -s conftest.err'
23824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23825 (eval $ac_try) 2>&5
23826 ac_status=$?
23827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23828 (exit $ac_status); }; } &&
23829 { ac_try='test -s conftest$ac_exeext'
23830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23831 (eval $ac_try) 2>&5
23832 ac_status=$?
23833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23834 (exit $ac_status); }; }; then
22594 if ac_fn_c_try_link "$LINENO"; then :
2383522595 ac_cv_lib_ICE_IceConnectionNumber=yes
2383622596 else
23837 echo "$as_me: failed program was:" >&5
23838 sed 's/^/| /' conftest.$ac_ext >&5
23839
23840 ac_cv_lib_ICE_IceConnectionNumber=no
23841 fi
23842 rm -f conftest.err conftest.$ac_objext \
23843 conftest$ac_exeext conftest.$ac_ext
22597 ac_cv_lib_ICE_IceConnectionNumber=no
22598 fi
22599 rm -f core conftest.err conftest.$ac_objext \
22600 conftest$ac_exeext conftest.$ac_ext
2384422601 LIBS=$ac_check_lib_save_LIBS
2384522602 fi
23846 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23847 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23848 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22604 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
22605 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
2384922606 cat >>confdefs.h <<_ACEOF
2385022607 #define HAVE_LIBICE 1
2385122608 _ACEOF
2385422611
2385522612 fi
2385622613
23857
23858 echo "$as_me:$LINENO: checking for SmcSetProperties in -lSM" >&5
23859 echo $ECHO_N "checking for SmcSetProperties in -lSM... $ECHO_C" >&6
23860 if test "${ac_cv_lib_SM_SmcSetProperties+set}" = set; then
23861 echo $ECHO_N "(cached) $ECHO_C" >&6
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcSetProperties in -lSM" >&5
22615 $as_echo_n "checking for SmcSetProperties in -lSM... " >&6; }
22616 if ${ac_cv_lib_SM_SmcSetProperties+:} false; then :
22617 $as_echo_n "(cached) " >&6
2386222618 else
2386322619 ac_check_lib_save_LIBS=$LIBS
2386422620 LIBS="-lSM $LIBS"
23865 cat >conftest.$ac_ext <<_ACEOF
23866 /* confdefs.h. */
23867 _ACEOF
23868 cat confdefs.h >>conftest.$ac_ext
23869 cat >>conftest.$ac_ext <<_ACEOF
22621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2387022622 /* end confdefs.h. */
2387122623
23872 /* Override any gcc2 internal prototype to avoid an error. */
22624 /* Override any GCC internal prototype to avoid an error.
22625 Use char because int might match the return type of a GCC
22626 builtin and then its argument prototype would still apply. */
2387322627 #ifdef __cplusplus
2387422628 extern "C"
2387522629 #endif
23876 /* We use char because int might match the return type of a gcc2
23877 builtin and then its argument prototype would still apply. */
2387822630 char SmcSetProperties ();
2387922631 int
2388022632 main ()
2388122633 {
23882 SmcSetProperties ();
22634 return SmcSetProperties ();
2388322635 ;
2388422636 return 0;
2388522637 }
2388622638 _ACEOF
23887 rm -f conftest.$ac_objext conftest$ac_exeext
23888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23889 (eval $ac_link) 2>conftest.er1
23890 ac_status=$?
23891 grep -v '^ *+' conftest.er1 >conftest.err
23892 rm -f conftest.er1
23893 cat conftest.err >&5
23894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23895 (exit $ac_status); } &&
23896 { ac_try='test -z "$ac_c_werror_flag"
23897 || test ! -s conftest.err'
23898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23899 (eval $ac_try) 2>&5
23900 ac_status=$?
23901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902 (exit $ac_status); }; } &&
23903 { ac_try='test -s conftest$ac_exeext'
23904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23905 (eval $ac_try) 2>&5
23906 ac_status=$?
23907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23908 (exit $ac_status); }; }; then
22639 if ac_fn_c_try_link "$LINENO"; then :
2390922640 ac_cv_lib_SM_SmcSetProperties=yes
2391022641 else
23911 echo "$as_me: failed program was:" >&5
23912 sed 's/^/| /' conftest.$ac_ext >&5
23913
23914 ac_cv_lib_SM_SmcSetProperties=no
23915 fi
23916 rm -f conftest.err conftest.$ac_objext \
23917 conftest$ac_exeext conftest.$ac_ext
22642 ac_cv_lib_SM_SmcSetProperties=no
22643 fi
22644 rm -f core conftest.err conftest.$ac_objext \
22645 conftest$ac_exeext conftest.$ac_ext
2391822646 LIBS=$ac_check_lib_save_LIBS
2391922647 fi
23920 echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcSetProperties" >&5
23921 echo "${ECHO_T}$ac_cv_lib_SM_SmcSetProperties" >&6
23922 if test $ac_cv_lib_SM_SmcSetProperties = yes; then
22648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcSetProperties" >&5
22649 $as_echo "$ac_cv_lib_SM_SmcSetProperties" >&6; }
22650 if test "x$ac_cv_lib_SM_SmcSetProperties" = xyes; then :
2392322651 cat >>confdefs.h <<_ACEOF
2392422652 #define HAVE_LIBSM 1
2392522653 _ACEOF
2392822656
2392922657 fi
2393022658
23931
23932 echo "$as_me:$LINENO: checking for printf in -lxlibcon" >&5
23933 echo $ECHO_N "checking for printf in -lxlibcon... $ECHO_C" >&6
23934 if test "${ac_cv_lib_xlibcon_printf+set}" = set; then
23935 echo $ECHO_N "(cached) $ECHO_C" >&6
22659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for printf in -lxlibcon" >&5
22660 $as_echo_n "checking for printf in -lxlibcon... " >&6; }
22661 if ${ac_cv_lib_xlibcon_printf+:} false; then :
22662 $as_echo_n "(cached) " >&6
2393622663 else
2393722664 ac_check_lib_save_LIBS=$LIBS
2393822665 LIBS="-lxlibcon $LIBS"
23939 cat >conftest.$ac_ext <<_ACEOF
23940 /* confdefs.h. */
23941 _ACEOF
23942 cat confdefs.h >>conftest.$ac_ext
23943 cat >>conftest.$ac_ext <<_ACEOF
22666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2394422667 /* end confdefs.h. */
2394522668
23946 /* Override any gcc2 internal prototype to avoid an error. */
22669 /* Override any GCC internal prototype to avoid an error.
22670 Use char because int might match the return type of a GCC
22671 builtin and then its argument prototype would still apply. */
2394722672 #ifdef __cplusplus
2394822673 extern "C"
2394922674 #endif
23950 /* We use char because int might match the return type of a gcc2
23951 builtin and then its argument prototype would still apply. */
2395222675 char printf ();
2395322676 int
2395422677 main ()
2395522678 {
23956 printf ();
22679 return printf ();
2395722680 ;
2395822681 return 0;
2395922682 }
2396022683 _ACEOF
23961 rm -f conftest.$ac_objext conftest$ac_exeext
23962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23963 (eval $ac_link) 2>conftest.er1
23964 ac_status=$?
23965 grep -v '^ *+' conftest.er1 >conftest.err
23966 rm -f conftest.er1
23967 cat conftest.err >&5
23968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 (exit $ac_status); } &&
23970 { ac_try='test -z "$ac_c_werror_flag"
23971 || test ! -s conftest.err'
23972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23973 (eval $ac_try) 2>&5
23974 ac_status=$?
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); }; } &&
23977 { ac_try='test -s conftest$ac_exeext'
23978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23979 (eval $ac_try) 2>&5
23980 ac_status=$?
23981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982 (exit $ac_status); }; }; then
22684 if ac_fn_c_try_link "$LINENO"; then :
2398322685 ac_cv_lib_xlibcon_printf=yes
2398422686 else
23985 echo "$as_me: failed program was:" >&5
23986 sed 's/^/| /' conftest.$ac_ext >&5
23987
23988 ac_cv_lib_xlibcon_printf=no
23989 fi
23990 rm -f conftest.err conftest.$ac_objext \
23991 conftest$ac_exeext conftest.$ac_ext
22687 ac_cv_lib_xlibcon_printf=no
22688 fi
22689 rm -f core conftest.err conftest.$ac_objext \
22690 conftest$ac_exeext conftest.$ac_ext
2399222691 LIBS=$ac_check_lib_save_LIBS
2399322692 fi
23994 echo "$as_me:$LINENO: result: $ac_cv_lib_xlibcon_printf" >&5
23995 echo "${ECHO_T}$ac_cv_lib_xlibcon_printf" >&6
23996 if test $ac_cv_lib_xlibcon_printf = yes; then
22693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xlibcon_printf" >&5
22694 $as_echo "$ac_cv_lib_xlibcon_printf" >&6; }
22695 if test "x$ac_cv_lib_xlibcon_printf" = xyes; then :
2399722696 cat >>confdefs.h <<_ACEOF
2399822697 #define HAVE_LIBXLIBCON 1
2399922698 _ACEOF
2400222701
2400322702 fi
2400422703
24005
24006 echo "$as_me:$LINENO: checking for XCreateWindow in -lxlib" >&5
24007 echo $ECHO_N "checking for XCreateWindow in -lxlib... $ECHO_C" >&6
24008 if test "${ac_cv_lib_xlib_XCreateWindow+set}" = set; then
24009 echo $ECHO_N "(cached) $ECHO_C" >&6
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateWindow in -lxlib" >&5
22705 $as_echo_n "checking for XCreateWindow in -lxlib... " >&6; }
22706 if ${ac_cv_lib_xlib_XCreateWindow+:} false; then :
22707 $as_echo_n "(cached) " >&6
2401022708 else
2401122709 ac_check_lib_save_LIBS=$LIBS
2401222710 LIBS="-lxlib $LIBS"
24013 cat >conftest.$ac_ext <<_ACEOF
24014 /* confdefs.h. */
24015 _ACEOF
24016 cat confdefs.h >>conftest.$ac_ext
24017 cat >>conftest.$ac_ext <<_ACEOF
22711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2401822712 /* end confdefs.h. */
2401922713
24020 /* Override any gcc2 internal prototype to avoid an error. */
22714 /* Override any GCC internal prototype to avoid an error.
22715 Use char because int might match the return type of a GCC
22716 builtin and then its argument prototype would still apply. */
2402122717 #ifdef __cplusplus
2402222718 extern "C"
2402322719 #endif
24024 /* We use char because int might match the return type of a gcc2
24025 builtin and then its argument prototype would still apply. */
2402622720 char XCreateWindow ();
2402722721 int
2402822722 main ()
2402922723 {
24030 XCreateWindow ();
22724 return XCreateWindow ();
2403122725 ;
2403222726 return 0;
2403322727 }
2403422728 _ACEOF
24035 rm -f conftest.$ac_objext conftest$ac_exeext
24036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24037 (eval $ac_link) 2>conftest.er1
24038 ac_status=$?
24039 grep -v '^ *+' conftest.er1 >conftest.err
24040 rm -f conftest.er1
24041 cat conftest.err >&5
24042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24043 (exit $ac_status); } &&
24044 { ac_try='test -z "$ac_c_werror_flag"
24045 || test ! -s conftest.err'
24046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24047 (eval $ac_try) 2>&5
24048 ac_status=$?
24049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24050 (exit $ac_status); }; } &&
24051 { ac_try='test -s conftest$ac_exeext'
24052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24053 (eval $ac_try) 2>&5
24054 ac_status=$?
24055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24056 (exit $ac_status); }; }; then
22729 if ac_fn_c_try_link "$LINENO"; then :
2405722730 ac_cv_lib_xlib_XCreateWindow=yes
2405822731 else
24059 echo "$as_me: failed program was:" >&5
24060 sed 's/^/| /' conftest.$ac_ext >&5
24061
24062 ac_cv_lib_xlib_XCreateWindow=no
24063 fi
24064 rm -f conftest.err conftest.$ac_objext \
24065 conftest$ac_exeext conftest.$ac_ext
22732 ac_cv_lib_xlib_XCreateWindow=no
22733 fi
22734 rm -f core conftest.err conftest.$ac_objext \
22735 conftest$ac_exeext conftest.$ac_ext
2406622736 LIBS=$ac_check_lib_save_LIBS
2406722737 fi
24068 echo "$as_me:$LINENO: result: $ac_cv_lib_xlib_XCreateWindow" >&5
24069 echo "${ECHO_T}$ac_cv_lib_xlib_XCreateWindow" >&6
24070 if test $ac_cv_lib_xlib_XCreateWindow = yes; then
22738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xlib_XCreateWindow" >&5
22739 $as_echo "$ac_cv_lib_xlib_XCreateWindow" >&6; }
22740 if test "x$ac_cv_lib_xlib_XCreateWindow" = xyes; then :
2407122741 cat >>confdefs.h <<_ACEOF
2407222742 #define HAVE_LIBXLIB 1
2407322743 _ACEOF
2407622746
2407722747 fi
2407822748
24079
24080 echo "$as_me:$LINENO: checking for XtVaGetValues in -lxt" >&5
24081 echo $ECHO_N "checking for XtVaGetValues in -lxt... $ECHO_C" >&6
24082 if test "${ac_cv_lib_xt_XtVaGetValues+set}" = set; then
24083 echo $ECHO_N "(cached) $ECHO_C" >&6
22749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XtVaGetValues in -lxt" >&5
22750 $as_echo_n "checking for XtVaGetValues in -lxt... " >&6; }
22751 if ${ac_cv_lib_xt_XtVaGetValues+:} false; then :
22752 $as_echo_n "(cached) " >&6
2408422753 else
2408522754 ac_check_lib_save_LIBS=$LIBS
2408622755 LIBS="-lxt $LIBS"
24087 cat >conftest.$ac_ext <<_ACEOF
24088 /* confdefs.h. */
24089 _ACEOF
24090 cat confdefs.h >>conftest.$ac_ext
24091 cat >>conftest.$ac_ext <<_ACEOF
22756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2409222757 /* end confdefs.h. */
2409322758
24094 /* Override any gcc2 internal prototype to avoid an error. */
22759 /* Override any GCC internal prototype to avoid an error.
22760 Use char because int might match the return type of a GCC
22761 builtin and then its argument prototype would still apply. */
2409522762 #ifdef __cplusplus
2409622763 extern "C"
2409722764 #endif
24098 /* We use char because int might match the return type of a gcc2
24099 builtin and then its argument prototype would still apply. */
2410022765 char XtVaGetValues ();
2410122766 int
2410222767 main ()
2410322768 {
24104 XtVaGetValues ();
22769 return XtVaGetValues ();
2410522770 ;
2410622771 return 0;
2410722772 }
2410822773 _ACEOF
24109 rm -f conftest.$ac_objext conftest$ac_exeext
24110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24111 (eval $ac_link) 2>conftest.er1
24112 ac_status=$?
24113 grep -v '^ *+' conftest.er1 >conftest.err
24114 rm -f conftest.er1
24115 cat conftest.err >&5
24116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24117 (exit $ac_status); } &&
24118 { ac_try='test -z "$ac_c_werror_flag"
24119 || test ! -s conftest.err'
24120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24121 (eval $ac_try) 2>&5
24122 ac_status=$?
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); }; } &&
24125 { ac_try='test -s conftest$ac_exeext'
24126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24127 (eval $ac_try) 2>&5
24128 ac_status=$?
24129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130 (exit $ac_status); }; }; then
22774 if ac_fn_c_try_link "$LINENO"; then :
2413122775 ac_cv_lib_xt_XtVaGetValues=yes
2413222776 else
24133 echo "$as_me: failed program was:" >&5
24134 sed 's/^/| /' conftest.$ac_ext >&5
24135
24136 ac_cv_lib_xt_XtVaGetValues=no
24137 fi
24138 rm -f conftest.err conftest.$ac_objext \
24139 conftest$ac_exeext conftest.$ac_ext
22777 ac_cv_lib_xt_XtVaGetValues=no
22778 fi
22779 rm -f core conftest.err conftest.$ac_objext \
22780 conftest$ac_exeext conftest.$ac_ext
2414022781 LIBS=$ac_check_lib_save_LIBS
2414122782 fi
24142 echo "$as_me:$LINENO: result: $ac_cv_lib_xt_XtVaGetValues" >&5
24143 echo "${ECHO_T}$ac_cv_lib_xt_XtVaGetValues" >&6
24144 if test $ac_cv_lib_xt_XtVaGetValues = yes; then
22783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xt_XtVaGetValues" >&5
22784 $as_echo "$ac_cv_lib_xt_XtVaGetValues" >&6; }
22785 if test "x$ac_cv_lib_xt_XtVaGetValues" = xyes; then :
2414522786 cat >>confdefs.h <<_ACEOF
2414622787 #define HAVE_LIBXT 1
2414722788 _ACEOF
2415022791
2415122792 fi
2415222793
24153
24154 echo "$as_me:$LINENO: checking for XtVaGetValues in -lxmstatxt" >&5
24155 echo $ECHO_N "checking for XtVaGetValues in -lxmstatxt... $ECHO_C" >&6
24156 if test "${ac_cv_lib_xmstatxt_XtVaGetValues+set}" = set; then
24157 echo $ECHO_N "(cached) $ECHO_C" >&6
22794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XtVaGetValues in -lxmstatxt" >&5
22795 $as_echo_n "checking for XtVaGetValues in -lxmstatxt... " >&6; }
22796 if ${ac_cv_lib_xmstatxt_XtVaGetValues+:} false; then :
22797 $as_echo_n "(cached) " >&6
2415822798 else
2415922799 ac_check_lib_save_LIBS=$LIBS
2416022800 LIBS="-lxmstatxt $LIBS"
24161 cat >conftest.$ac_ext <<_ACEOF
24162 /* confdefs.h. */
24163 _ACEOF
24164 cat confdefs.h >>conftest.$ac_ext
24165 cat >>conftest.$ac_ext <<_ACEOF
22801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2416622802 /* end confdefs.h. */
2416722803
24168 /* Override any gcc2 internal prototype to avoid an error. */
22804 /* Override any GCC internal prototype to avoid an error.
22805 Use char because int might match the return type of a GCC
22806 builtin and then its argument prototype would still apply. */
2416922807 #ifdef __cplusplus
2417022808 extern "C"
2417122809 #endif
24172 /* We use char because int might match the return type of a gcc2
24173 builtin and then its argument prototype would still apply. */
2417422810 char XtVaGetValues ();
2417522811 int
2417622812 main ()
2417722813 {
24178 XtVaGetValues ();
22814 return XtVaGetValues ();
2417922815 ;
2418022816 return 0;
2418122817 }
2418222818 _ACEOF
24183 rm -f conftest.$ac_objext conftest$ac_exeext
24184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24185 (eval $ac_link) 2>conftest.er1
24186 ac_status=$?
24187 grep -v '^ *+' conftest.er1 >conftest.err
24188 rm -f conftest.er1
24189 cat conftest.err >&5
24190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24191 (exit $ac_status); } &&
24192 { ac_try='test -z "$ac_c_werror_flag"
24193 || test ! -s conftest.err'
24194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24195 (eval $ac_try) 2>&5
24196 ac_status=$?
24197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24198 (exit $ac_status); }; } &&
24199 { ac_try='test -s conftest$ac_exeext'
24200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24201 (eval $ac_try) 2>&5
24202 ac_status=$?
24203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24204 (exit $ac_status); }; }; then
22819 if ac_fn_c_try_link "$LINENO"; then :
2420522820 ac_cv_lib_xmstatxt_XtVaGetValues=yes
2420622821 else
24207 echo "$as_me: failed program was:" >&5
24208 sed 's/^/| /' conftest.$ac_ext >&5
24209
24210 ac_cv_lib_xmstatxt_XtVaGetValues=no
24211 fi
24212 rm -f conftest.err conftest.$ac_objext \
24213 conftest$ac_exeext conftest.$ac_ext
22822 ac_cv_lib_xmstatxt_XtVaGetValues=no
22823 fi
22824 rm -f core conftest.err conftest.$ac_objext \
22825 conftest$ac_exeext conftest.$ac_ext
2421422826 LIBS=$ac_check_lib_save_LIBS
2421522827 fi
24216 echo "$as_me:$LINENO: result: $ac_cv_lib_xmstatxt_XtVaGetValues" >&5
24217 echo "${ECHO_T}$ac_cv_lib_xmstatxt_XtVaGetValues" >&6
24218 if test $ac_cv_lib_xmstatxt_XtVaGetValues = yes; then
22828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xmstatxt_XtVaGetValues" >&5
22829 $as_echo "$ac_cv_lib_xmstatxt_XtVaGetValues" >&6; }
22830 if test "x$ac_cv_lib_xmstatxt_XtVaGetValues" = xyes; then :
2421922831 cat >>confdefs.h <<_ACEOF
2422022832 #define HAVE_LIBXMSTATXT 1
2422122833 _ACEOF
2422422836
2422522837 fi
2422622838
24227
24228 echo "$as_me:$LINENO: checking for XmStringFree in -lxmstatic" >&5
24229 echo $ECHO_N "checking for XmStringFree in -lxmstatic... $ECHO_C" >&6
24230 if test "${ac_cv_lib_xmstatic_XmStringFree+set}" = set; then
24231 echo $ECHO_N "(cached) $ECHO_C" >&6
22839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmStringFree in -lxmstatic" >&5
22840 $as_echo_n "checking for XmStringFree in -lxmstatic... " >&6; }
22841 if ${ac_cv_lib_xmstatic_XmStringFree+:} false; then :
22842 $as_echo_n "(cached) " >&6
2423222843 else
2423322844 ac_check_lib_save_LIBS=$LIBS
2423422845 LIBS="-lxmstatic $LIBS"
24235 cat >conftest.$ac_ext <<_ACEOF
24236 /* confdefs.h. */
24237 _ACEOF
24238 cat confdefs.h >>conftest.$ac_ext
24239 cat >>conftest.$ac_ext <<_ACEOF
22846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2424022847 /* end confdefs.h. */
2424122848
24242 /* Override any gcc2 internal prototype to avoid an error. */
22849 /* Override any GCC internal prototype to avoid an error.
22850 Use char because int might match the return type of a GCC
22851 builtin and then its argument prototype would still apply. */
2424322852 #ifdef __cplusplus
2424422853 extern "C"
2424522854 #endif
24246 /* We use char because int might match the return type of a gcc2
24247 builtin and then its argument prototype would still apply. */
2424822855 char XmStringFree ();
2424922856 int
2425022857 main ()
2425122858 {
24252 XmStringFree ();
22859 return XmStringFree ();
2425322860 ;
2425422861 return 0;
2425522862 }
2425622863 _ACEOF
24257 rm -f conftest.$ac_objext conftest$ac_exeext
24258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24259 (eval $ac_link) 2>conftest.er1
24260 ac_status=$?
24261 grep -v '^ *+' conftest.er1 >conftest.err
24262 rm -f conftest.er1
24263 cat conftest.err >&5
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); } &&
24266 { ac_try='test -z "$ac_c_werror_flag"
24267 || test ! -s conftest.err'
24268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24269 (eval $ac_try) 2>&5
24270 ac_status=$?
24271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); }; } &&
24273 { ac_try='test -s conftest$ac_exeext'
24274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24275 (eval $ac_try) 2>&5
24276 ac_status=$?
24277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24278 (exit $ac_status); }; }; then
22864 if ac_fn_c_try_link "$LINENO"; then :
2427922865 ac_cv_lib_xmstatic_XmStringFree=yes
2428022866 else
24281 echo "$as_me: failed program was:" >&5
24282 sed 's/^/| /' conftest.$ac_ext >&5
24283
24284 ac_cv_lib_xmstatic_XmStringFree=no
24285 fi
24286 rm -f conftest.err conftest.$ac_objext \
24287 conftest$ac_exeext conftest.$ac_ext
22867 ac_cv_lib_xmstatic_XmStringFree=no
22868 fi
22869 rm -f core conftest.err conftest.$ac_objext \
22870 conftest$ac_exeext conftest.$ac_ext
2428822871 LIBS=$ac_check_lib_save_LIBS
2428922872 fi
24290 echo "$as_me:$LINENO: result: $ac_cv_lib_xmstatic_XmStringFree" >&5
24291 echo "${ECHO_T}$ac_cv_lib_xmstatic_XmStringFree" >&6
24292 if test $ac_cv_lib_xmstatic_XmStringFree = yes; then
22873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xmstatic_XmStringFree" >&5
22874 $as_echo "$ac_cv_lib_xmstatic_XmStringFree" >&6; }
22875 if test "x$ac_cv_lib_xmstatic_XmStringFree" = xyes; then :
2429322876 cat >>confdefs.h <<_ACEOF
2429422877 #define HAVE_LIBXMSTATIC 1
2429522878 _ACEOF
2429822881
2429922882 fi
2430022883
24301
24302 echo "$as_me:$LINENO: checking for XmStringFree in -lxm" >&5
24303 echo $ECHO_N "checking for XmStringFree in -lxm... $ECHO_C" >&6
24304 if test "${ac_cv_lib_xm_XmStringFree+set}" = set; then
24305 echo $ECHO_N "(cached) $ECHO_C" >&6
22884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmStringFree in -lxm" >&5
22885 $as_echo_n "checking for XmStringFree in -lxm... " >&6; }
22886 if ${ac_cv_lib_xm_XmStringFree+:} false; then :
22887 $as_echo_n "(cached) " >&6
2430622888 else
2430722889 ac_check_lib_save_LIBS=$LIBS
2430822890 LIBS="-lxm $LIBS"
24309 cat >conftest.$ac_ext <<_ACEOF
24310 /* confdefs.h. */
24311 _ACEOF
24312 cat confdefs.h >>conftest.$ac_ext
24313 cat >>conftest.$ac_ext <<_ACEOF
22891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2431422892 /* end confdefs.h. */
2431522893
24316 /* Override any gcc2 internal prototype to avoid an error. */
22894 /* Override any GCC internal prototype to avoid an error.
22895 Use char because int might match the return type of a GCC
22896 builtin and then its argument prototype would still apply. */
2431722897 #ifdef __cplusplus
2431822898 extern "C"
2431922899 #endif
24320 /* We use char because int might match the return type of a gcc2
24321 builtin and then its argument prototype would still apply. */
2432222900 char XmStringFree ();
2432322901 int
2432422902 main ()
2432522903 {
24326 XmStringFree ();
22904 return XmStringFree ();
2432722905 ;
2432822906 return 0;
2432922907 }
2433022908 _ACEOF
24331 rm -f conftest.$ac_objext conftest$ac_exeext
24332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24333 (eval $ac_link) 2>conftest.er1
24334 ac_status=$?
24335 grep -v '^ *+' conftest.er1 >conftest.err
24336 rm -f conftest.er1
24337 cat conftest.err >&5
24338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24339 (exit $ac_status); } &&
24340 { ac_try='test -z "$ac_c_werror_flag"
24341 || test ! -s conftest.err'
24342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24343 (eval $ac_try) 2>&5
24344 ac_status=$?
24345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24346 (exit $ac_status); }; } &&
24347 { ac_try='test -s conftest$ac_exeext'
24348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24349 (eval $ac_try) 2>&5
24350 ac_status=$?
24351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24352 (exit $ac_status); }; }; then
22909 if ac_fn_c_try_link "$LINENO"; then :
2435322910 ac_cv_lib_xm_XmStringFree=yes
2435422911 else
24355 echo "$as_me: failed program was:" >&5
24356 sed 's/^/| /' conftest.$ac_ext >&5
24357
24358 ac_cv_lib_xm_XmStringFree=no
24359 fi
24360 rm -f conftest.err conftest.$ac_objext \
24361 conftest$ac_exeext conftest.$ac_ext
22912 ac_cv_lib_xm_XmStringFree=no
22913 fi
22914 rm -f core conftest.err conftest.$ac_objext \
22915 conftest$ac_exeext conftest.$ac_ext
2436222916 LIBS=$ac_check_lib_save_LIBS
2436322917 fi
24364 echo "$as_me:$LINENO: result: $ac_cv_lib_xm_XmStringFree" >&5
24365 echo "${ECHO_T}$ac_cv_lib_xm_XmStringFree" >&6
24366 if test $ac_cv_lib_xm_XmStringFree = yes; then
22918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xm_XmStringFree" >&5
22919 $as_echo "$ac_cv_lib_xm_XmStringFree" >&6; }
22920 if test "x$ac_cv_lib_xm_XmStringFree" = xyes; then :
2436722921 cat >>confdefs.h <<_ACEOF
2436822922 #define HAVE_LIBXM 1
2436922923 _ACEOF
2437222926
2437322927 fi
2437422928
24375
24376 echo "$as_me:$LINENO: checking for glXGetConfig in -lhclglx" >&5
24377 echo $ECHO_N "checking for glXGetConfig in -lhclglx... $ECHO_C" >&6
24378 if test "${ac_cv_lib_hclglx_glXGetConfig+set}" = set; then
24379 echo $ECHO_N "(cached) $ECHO_C" >&6
22929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXGetConfig in -lhclglx" >&5
22930 $as_echo_n "checking for glXGetConfig in -lhclglx... " >&6; }
22931 if ${ac_cv_lib_hclglx_glXGetConfig+:} false; then :
22932 $as_echo_n "(cached) " >&6
2438022933 else
2438122934 ac_check_lib_save_LIBS=$LIBS
2438222935 LIBS="-lhclglx $LIBS"
24383 cat >conftest.$ac_ext <<_ACEOF
24384 /* confdefs.h. */
24385 _ACEOF
24386 cat confdefs.h >>conftest.$ac_ext
24387 cat >>conftest.$ac_ext <<_ACEOF
22936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2438822937 /* end confdefs.h. */
2438922938
24390 /* Override any gcc2 internal prototype to avoid an error. */
22939 /* Override any GCC internal prototype to avoid an error.
22940 Use char because int might match the return type of a GCC
22941 builtin and then its argument prototype would still apply. */
2439122942 #ifdef __cplusplus
2439222943 extern "C"
2439322944 #endif
24394 /* We use char because int might match the return type of a gcc2
24395 builtin and then its argument prototype would still apply. */
2439622945 char glXGetConfig ();
2439722946 int
2439822947 main ()
2439922948 {
24400 glXGetConfig ();
22949 return glXGetConfig ();
2440122950 ;
2440222951 return 0;
2440322952 }
2440422953 _ACEOF
24405 rm -f conftest.$ac_objext conftest$ac_exeext
24406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24407 (eval $ac_link) 2>conftest.er1
24408 ac_status=$?
24409 grep -v '^ *+' conftest.er1 >conftest.err
24410 rm -f conftest.er1
24411 cat conftest.err >&5
24412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24413 (exit $ac_status); } &&
24414 { ac_try='test -z "$ac_c_werror_flag"
24415 || test ! -s conftest.err'
24416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24417 (eval $ac_try) 2>&5
24418 ac_status=$?
24419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24420 (exit $ac_status); }; } &&
24421 { ac_try='test -s conftest$ac_exeext'
24422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24423 (eval $ac_try) 2>&5
24424 ac_status=$?
24425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24426 (exit $ac_status); }; }; then
22954 if ac_fn_c_try_link "$LINENO"; then :
2442722955 ac_cv_lib_hclglx_glXGetConfig=yes
2442822956 else
24429 echo "$as_me: failed program was:" >&5
24430 sed 's/^/| /' conftest.$ac_ext >&5
24431
24432 ac_cv_lib_hclglx_glXGetConfig=no
24433 fi
24434 rm -f conftest.err conftest.$ac_objext \
24435 conftest$ac_exeext conftest.$ac_ext
22957 ac_cv_lib_hclglx_glXGetConfig=no
22958 fi
22959 rm -f core conftest.err conftest.$ac_objext \
22960 conftest$ac_exeext conftest.$ac_ext
2443622961 LIBS=$ac_check_lib_save_LIBS
2443722962 fi
24438 echo "$as_me:$LINENO: result: $ac_cv_lib_hclglx_glXGetConfig" >&5
24439 echo "${ECHO_T}$ac_cv_lib_hclglx_glXGetConfig" >&6
24440 if test $ac_cv_lib_hclglx_glXGetConfig = yes; then
22963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hclglx_glXGetConfig" >&5
22964 $as_echo "$ac_cv_lib_hclglx_glXGetConfig" >&6; }
22965 if test "x$ac_cv_lib_hclglx_glXGetConfig" = xyes; then :
2444122966 cat >>confdefs.h <<_ACEOF
2444222967 #define HAVE_LIBHCLGLX 1
2444322968 _ACEOF
2444622971
2444722972 fi
2444822973
24449
24450 echo "$as_me:$LINENO: checking for gluBuild2DMipmaps in -lhclglu" >&5
24451 echo $ECHO_N "checking for gluBuild2DMipmaps in -lhclglu... $ECHO_C" >&6
24452 if test "${ac_cv_lib_hclglu_gluBuild2DMipmaps+set}" = set; then
24453 echo $ECHO_N "(cached) $ECHO_C" >&6
22974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBuild2DMipmaps in -lhclglu" >&5
22975 $as_echo_n "checking for gluBuild2DMipmaps in -lhclglu... " >&6; }
22976 if ${ac_cv_lib_hclglu_gluBuild2DMipmaps+:} false; then :
22977 $as_echo_n "(cached) " >&6
2445422978 else
2445522979 ac_check_lib_save_LIBS=$LIBS
2445622980 LIBS="-lhclglu $LIBS"
24457 cat >conftest.$ac_ext <<_ACEOF
24458 /* confdefs.h. */
24459 _ACEOF
24460 cat confdefs.h >>conftest.$ac_ext
24461 cat >>conftest.$ac_ext <<_ACEOF
22981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2446222982 /* end confdefs.h. */
2446322983
24464 /* Override any gcc2 internal prototype to avoid an error. */
22984 /* Override any GCC internal prototype to avoid an error.
22985 Use char because int might match the return type of a GCC
22986 builtin and then its argument prototype would still apply. */
2446522987 #ifdef __cplusplus
2446622988 extern "C"
2446722989 #endif
24468 /* We use char because int might match the return type of a gcc2
24469 builtin and then its argument prototype would still apply. */
2447022990 char gluBuild2DMipmaps ();
2447122991 int
2447222992 main ()
2447322993 {
24474 gluBuild2DMipmaps ();
22994 return gluBuild2DMipmaps ();
2447522995 ;
2447622996 return 0;
2447722997 }
2447822998 _ACEOF
24479 rm -f conftest.$ac_objext conftest$ac_exeext
24480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24481 (eval $ac_link) 2>conftest.er1
24482 ac_status=$?
24483 grep -v '^ *+' conftest.er1 >conftest.err
24484 rm -f conftest.er1
24485 cat conftest.err >&5
24486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487 (exit $ac_status); } &&
24488 { ac_try='test -z "$ac_c_werror_flag"
24489 || test ! -s conftest.err'
24490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24491 (eval $ac_try) 2>&5
24492 ac_status=$?
24493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24494 (exit $ac_status); }; } &&
24495 { ac_try='test -s conftest$ac_exeext'
24496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24497 (eval $ac_try) 2>&5
24498 ac_status=$?
24499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24500 (exit $ac_status); }; }; then
22999 if ac_fn_c_try_link "$LINENO"; then :
2450123000 ac_cv_lib_hclglu_gluBuild2DMipmaps=yes
2450223001 else
24503 echo "$as_me: failed program was:" >&5
24504 sed 's/^/| /' conftest.$ac_ext >&5
24505
24506 ac_cv_lib_hclglu_gluBuild2DMipmaps=no
24507 fi
24508 rm -f conftest.err conftest.$ac_objext \
24509 conftest$ac_exeext conftest.$ac_ext
23002 ac_cv_lib_hclglu_gluBuild2DMipmaps=no
23003 fi
23004 rm -f core conftest.err conftest.$ac_objext \
23005 conftest$ac_exeext conftest.$ac_ext
2451023006 LIBS=$ac_check_lib_save_LIBS
2451123007 fi
24512 echo "$as_me:$LINENO: result: $ac_cv_lib_hclglu_gluBuild2DMipmaps" >&5
24513 echo "${ECHO_T}$ac_cv_lib_hclglu_gluBuild2DMipmaps" >&6
24514 if test $ac_cv_lib_hclglu_gluBuild2DMipmaps = yes; then
23008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hclglu_gluBuild2DMipmaps" >&5
23009 $as_echo "$ac_cv_lib_hclglu_gluBuild2DMipmaps" >&6; }
23010 if test "x$ac_cv_lib_hclglu_gluBuild2DMipmaps" = xyes; then :
2451523011 cat >>confdefs.h <<_ACEOF
2451623012 #define HAVE_LIBHCLGLU 1
2451723013 _ACEOF
2452023016
2452123017 fi
2452223018
24523
24524 echo "$as_me:$LINENO: checking for glAccum in -lglwstati" >&5
24525 echo $ECHO_N "checking for glAccum in -lglwstati... $ECHO_C" >&6
24526 if test "${ac_cv_lib_glwstati_glAccum+set}" = set; then
24527 echo $ECHO_N "(cached) $ECHO_C" >&6
23019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glAccum in -lglwstati" >&5
23020 $as_echo_n "checking for glAccum in -lglwstati... " >&6; }
23021 if ${ac_cv_lib_glwstati_glAccum+:} false; then :
23022 $as_echo_n "(cached) " >&6
2452823023 else
2452923024 ac_check_lib_save_LIBS=$LIBS
2453023025 LIBS="-lglwstati $LIBS"
24531 cat >conftest.$ac_ext <<_ACEOF
24532 /* confdefs.h. */
24533 _ACEOF
24534 cat confdefs.h >>conftest.$ac_ext
24535 cat >>conftest.$ac_ext <<_ACEOF
23026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2453623027 /* end confdefs.h. */
2453723028
24538 /* Override any gcc2 internal prototype to avoid an error. */
23029 /* Override any GCC internal prototype to avoid an error.
23030 Use char because int might match the return type of a GCC
23031 builtin and then its argument prototype would still apply. */
2453923032 #ifdef __cplusplus
2454023033 extern "C"
2454123034 #endif
24542 /* We use char because int might match the return type of a gcc2
24543 builtin and then its argument prototype would still apply. */
2454423035 char glAccum ();
2454523036 int
2454623037 main ()
2454723038 {
24548 glAccum ();
23039 return glAccum ();
2454923040 ;
2455023041 return 0;
2455123042 }
2455223043 _ACEOF
24553 rm -f conftest.$ac_objext conftest$ac_exeext
24554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24555 (eval $ac_link) 2>conftest.er1
24556 ac_status=$?
24557 grep -v '^ *+' conftest.er1 >conftest.err
24558 rm -f conftest.er1
24559 cat conftest.err >&5
24560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561 (exit $ac_status); } &&
24562 { ac_try='test -z "$ac_c_werror_flag"
24563 || test ! -s conftest.err'
24564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24565 (eval $ac_try) 2>&5
24566 ac_status=$?
24567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24568 (exit $ac_status); }; } &&
24569 { ac_try='test -s conftest$ac_exeext'
24570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24571 (eval $ac_try) 2>&5
24572 ac_status=$?
24573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24574 (exit $ac_status); }; }; then
23044 if ac_fn_c_try_link "$LINENO"; then :
2457523045 ac_cv_lib_glwstati_glAccum=yes
2457623046 else
24577 echo "$as_me: failed program was:" >&5
24578 sed 's/^/| /' conftest.$ac_ext >&5
24579
24580 ac_cv_lib_glwstati_glAccum=no
24581 fi
24582 rm -f conftest.err conftest.$ac_objext \
24583 conftest$ac_exeext conftest.$ac_ext
23047 ac_cv_lib_glwstati_glAccum=no
23048 fi
23049 rm -f core conftest.err conftest.$ac_objext \
23050 conftest$ac_exeext conftest.$ac_ext
2458423051 LIBS=$ac_check_lib_save_LIBS
2458523052 fi
24586 echo "$as_me:$LINENO: result: $ac_cv_lib_glwstati_glAccum" >&5
24587 echo "${ECHO_T}$ac_cv_lib_glwstati_glAccum" >&6
24588 if test $ac_cv_lib_glwstati_glAccum = yes; then
23053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glwstati_glAccum" >&5
23054 $as_echo "$ac_cv_lib_glwstati_glAccum" >&6; }
23055 if test "x$ac_cv_lib_glwstati_glAccum" = xyes; then :
2458923056 cat >>confdefs.h <<_ACEOF
2459023057 #define HAVE_LIBGLWSTATI 1
2459123058 _ACEOF
2459523062 fi
2459623063
2459723064
24598
24599 echo "$as_me:$LINENO: checking for XCreateGC in -lX11" >&5
24600 echo $ECHO_N "checking for XCreateGC in -lX11... $ECHO_C" >&6
24601 if test "${ac_cv_lib_X11_XCreateGC+set}" = set; then
24602 echo $ECHO_N "(cached) $ECHO_C" >&6
23065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateGC in -lX11" >&5
23066 $as_echo_n "checking for XCreateGC in -lX11... " >&6; }
23067 if ${ac_cv_lib_X11_XCreateGC+:} false; then :
23068 $as_echo_n "(cached) " >&6
2460323069 else
2460423070 ac_check_lib_save_LIBS=$LIBS
2460523071 LIBS="-lX11 $LIBS"
24606 cat >conftest.$ac_ext <<_ACEOF
24607 /* confdefs.h. */
24608 _ACEOF
24609 cat confdefs.h >>conftest.$ac_ext
24610 cat >>conftest.$ac_ext <<_ACEOF
23072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2461123073 /* end confdefs.h. */
2461223074
24613 /* Override any gcc2 internal prototype to avoid an error. */
23075 /* Override any GCC internal prototype to avoid an error.
23076 Use char because int might match the return type of a GCC
23077 builtin and then its argument prototype would still apply. */
2461423078 #ifdef __cplusplus
2461523079 extern "C"
2461623080 #endif
24617 /* We use char because int might match the return type of a gcc2
24618 builtin and then its argument prototype would still apply. */
2461923081 char XCreateGC ();
2462023082 int
2462123083 main ()
2462223084 {
24623 XCreateGC ();
23085 return XCreateGC ();
2462423086 ;
2462523087 return 0;
2462623088 }
2462723089 _ACEOF
24628 rm -f conftest.$ac_objext conftest$ac_exeext
24629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24630 (eval $ac_link) 2>conftest.er1
24631 ac_status=$?
24632 grep -v '^ *+' conftest.er1 >conftest.err
24633 rm -f conftest.er1
24634 cat conftest.err >&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); } &&
24637 { ac_try='test -z "$ac_c_werror_flag"
24638 || test ! -s conftest.err'
24639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24640 (eval $ac_try) 2>&5
24641 ac_status=$?
24642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643 (exit $ac_status); }; } &&
24644 { ac_try='test -s conftest$ac_exeext'
24645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24646 (eval $ac_try) 2>&5
24647 ac_status=$?
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); }; }; then
23090 if ac_fn_c_try_link "$LINENO"; then :
2465023091 ac_cv_lib_X11_XCreateGC=yes
2465123092 else
24652 echo "$as_me: failed program was:" >&5
24653 sed 's/^/| /' conftest.$ac_ext >&5
24654
24655 ac_cv_lib_X11_XCreateGC=no
24656 fi
24657 rm -f conftest.err conftest.$ac_objext \
24658 conftest$ac_exeext conftest.$ac_ext
23093 ac_cv_lib_X11_XCreateGC=no
23094 fi
23095 rm -f core conftest.err conftest.$ac_objext \
23096 conftest$ac_exeext conftest.$ac_ext
2465923097 LIBS=$ac_check_lib_save_LIBS
2466023098 fi
24661 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XCreateGC" >&5
24662 echo "${ECHO_T}$ac_cv_lib_X11_XCreateGC" >&6
24663 if test $ac_cv_lib_X11_XCreateGC = yes; then
23099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateGC" >&5
23100 $as_echo "$ac_cv_lib_X11_XCreateGC" >&6; }
23101 if test "x$ac_cv_lib_X11_XCreateGC" = xyes; then :
2466423102 cat >>confdefs.h <<_ACEOF
2466523103 #define HAVE_LIBX11 1
2466623104 _ACEOF
2466923107
2467023108 fi
2467123109
24672
24673 echo "$as_me:$LINENO: checking for XtMalloc in -lXt" >&5
24674 echo $ECHO_N "checking for XtMalloc in -lXt... $ECHO_C" >&6
24675 if test "${ac_cv_lib_Xt_XtMalloc+set}" = set; then
24676 echo $ECHO_N "(cached) $ECHO_C" >&6
23110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XtMalloc in -lXt" >&5
23111 $as_echo_n "checking for XtMalloc in -lXt... " >&6; }
23112 if ${ac_cv_lib_Xt_XtMalloc+:} false; then :
23113 $as_echo_n "(cached) " >&6
2467723114 else
2467823115 ac_check_lib_save_LIBS=$LIBS
2467923116 LIBS="-lXt $LIBS"
24680 cat >conftest.$ac_ext <<_ACEOF
24681 /* confdefs.h. */
24682 _ACEOF
24683 cat confdefs.h >>conftest.$ac_ext
24684 cat >>conftest.$ac_ext <<_ACEOF
23117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2468523118 /* end confdefs.h. */
2468623119
24687 /* Override any gcc2 internal prototype to avoid an error. */
23120 /* Override any GCC internal prototype to avoid an error.
23121 Use char because int might match the return type of a GCC
23122 builtin and then its argument prototype would still apply. */
2468823123 #ifdef __cplusplus
2468923124 extern "C"
2469023125 #endif
24691 /* We use char because int might match the return type of a gcc2
24692 builtin and then its argument prototype would still apply. */
2469323126 char XtMalloc ();
2469423127 int
2469523128 main ()
2469623129 {
24697 XtMalloc ();
23130 return XtMalloc ();
2469823131 ;
2469923132 return 0;
2470023133 }
2470123134 _ACEOF
24702 rm -f conftest.$ac_objext conftest$ac_exeext
24703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24704 (eval $ac_link) 2>conftest.er1
24705 ac_status=$?
24706 grep -v '^ *+' conftest.er1 >conftest.err
24707 rm -f conftest.er1
24708 cat conftest.err >&5
24709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24710 (exit $ac_status); } &&
24711 { ac_try='test -z "$ac_c_werror_flag"
24712 || test ! -s conftest.err'
24713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24714 (eval $ac_try) 2>&5
24715 ac_status=$?
24716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24717 (exit $ac_status); }; } &&
24718 { ac_try='test -s conftest$ac_exeext'
24719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24720 (eval $ac_try) 2>&5
24721 ac_status=$?
24722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24723 (exit $ac_status); }; }; then
23135 if ac_fn_c_try_link "$LINENO"; then :
2472423136 ac_cv_lib_Xt_XtMalloc=yes
2472523137 else
24726 echo "$as_me: failed program was:" >&5
24727 sed 's/^/| /' conftest.$ac_ext >&5
24728
24729 ac_cv_lib_Xt_XtMalloc=no
24730 fi
24731 rm -f conftest.err conftest.$ac_objext \
24732 conftest$ac_exeext conftest.$ac_ext
23138 ac_cv_lib_Xt_XtMalloc=no
23139 fi
23140 rm -f core conftest.err conftest.$ac_objext \
23141 conftest$ac_exeext conftest.$ac_ext
2473323142 LIBS=$ac_check_lib_save_LIBS
2473423143 fi
24735 echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_XtMalloc" >&5
24736 echo "${ECHO_T}$ac_cv_lib_Xt_XtMalloc" >&6
24737 if test $ac_cv_lib_Xt_XtMalloc = yes; then
23144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xt_XtMalloc" >&5
23145 $as_echo "$ac_cv_lib_Xt_XtMalloc" >&6; }
23146 if test "x$ac_cv_lib_Xt_XtMalloc" = xyes; then :
2473823147 cat >>confdefs.h <<_ACEOF
2473923148 #define HAVE_LIBXT 1
2474023149 _ACEOF
2474323152
2474423153 fi
2474523154
24746
24747 echo "$as_me:$LINENO: checking for XextAddDisplay in -lXext" >&5
24748 echo $ECHO_N "checking for XextAddDisplay in -lXext... $ECHO_C" >&6
24749 if test "${ac_cv_lib_Xext_XextAddDisplay+set}" = set; then
24750 echo $ECHO_N "(cached) $ECHO_C" >&6
23155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XextAddDisplay in -lXext" >&5
23156 $as_echo_n "checking for XextAddDisplay in -lXext... " >&6; }
23157 if ${ac_cv_lib_Xext_XextAddDisplay+:} false; then :
23158 $as_echo_n "(cached) " >&6
2475123159 else
2475223160 ac_check_lib_save_LIBS=$LIBS
2475323161 LIBS="-lXext $LIBS"
24754 cat >conftest.$ac_ext <<_ACEOF
24755 /* confdefs.h. */
24756 _ACEOF
24757 cat confdefs.h >>conftest.$ac_ext
24758 cat >>conftest.$ac_ext <<_ACEOF
23162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2475923163 /* end confdefs.h. */
2476023164
24761 /* Override any gcc2 internal prototype to avoid an error. */
23165 /* Override any GCC internal prototype to avoid an error.
23166 Use char because int might match the return type of a GCC
23167 builtin and then its argument prototype would still apply. */
2476223168 #ifdef __cplusplus
2476323169 extern "C"
2476423170 #endif
24765 /* We use char because int might match the return type of a gcc2
24766 builtin and then its argument prototype would still apply. */
2476723171 char XextAddDisplay ();
2476823172 int
2476923173 main ()
2477023174 {
24771 XextAddDisplay ();
23175 return XextAddDisplay ();
2477223176 ;
2477323177 return 0;
2477423178 }
2477523179 _ACEOF
24776 rm -f conftest.$ac_objext conftest$ac_exeext
24777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24778 (eval $ac_link) 2>conftest.er1
24779 ac_status=$?
24780 grep -v '^ *+' conftest.er1 >conftest.err
24781 rm -f conftest.er1
24782 cat conftest.err >&5
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784 (exit $ac_status); } &&
24785 { ac_try='test -z "$ac_c_werror_flag"
24786 || test ! -s conftest.err'
24787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24788 (eval $ac_try) 2>&5
24789 ac_status=$?
24790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24791 (exit $ac_status); }; } &&
24792 { ac_try='test -s conftest$ac_exeext'
24793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24794 (eval $ac_try) 2>&5
24795 ac_status=$?
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); }; }; then
23180 if ac_fn_c_try_link "$LINENO"; then :
2479823181 ac_cv_lib_Xext_XextAddDisplay=yes
2479923182 else
24800 echo "$as_me: failed program was:" >&5
24801 sed 's/^/| /' conftest.$ac_ext >&5
24802
24803 ac_cv_lib_Xext_XextAddDisplay=no
24804 fi
24805 rm -f conftest.err conftest.$ac_objext \
24806 conftest$ac_exeext conftest.$ac_ext
23183 ac_cv_lib_Xext_XextAddDisplay=no
23184 fi
23185 rm -f core conftest.err conftest.$ac_objext \
23186 conftest$ac_exeext conftest.$ac_ext
2480723187 LIBS=$ac_check_lib_save_LIBS
2480823188 fi
24809 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XextAddDisplay" >&5
24810 echo "${ECHO_T}$ac_cv_lib_Xext_XextAddDisplay" >&6
24811 if test $ac_cv_lib_Xext_XextAddDisplay = yes; then
23189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XextAddDisplay" >&5
23190 $as_echo "$ac_cv_lib_Xext_XextAddDisplay" >&6; }
23191 if test "x$ac_cv_lib_Xext_XextAddDisplay" = xyes; then :
2481223192 cat >>confdefs.h <<_ACEOF
2481323193 #define HAVE_LIBXEXT 1
2481423194 _ACEOF
2481723197
2481823198 fi
2481923199
24820
24821 echo "$as_me:$LINENO: checking for XmuAddInitializer in -lXmu" >&5
24822 echo $ECHO_N "checking for XmuAddInitializer in -lXmu... $ECHO_C" >&6
24823 if test "${ac_cv_lib_Xmu_XmuAddInitializer+set}" = set; then
24824 echo $ECHO_N "(cached) $ECHO_C" >&6
23200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuAddInitializer in -lXmu" >&5
23201 $as_echo_n "checking for XmuAddInitializer in -lXmu... " >&6; }
23202 if ${ac_cv_lib_Xmu_XmuAddInitializer+:} false; then :
23203 $as_echo_n "(cached) " >&6
2482523204 else
2482623205 ac_check_lib_save_LIBS=$LIBS
2482723206 LIBS="-lXmu $LIBS"
24828 cat >conftest.$ac_ext <<_ACEOF
24829 /* confdefs.h. */
24830 _ACEOF
24831 cat confdefs.h >>conftest.$ac_ext
24832 cat >>conftest.$ac_ext <<_ACEOF
23207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2483323208 /* end confdefs.h. */
2483423209
24835 /* Override any gcc2 internal prototype to avoid an error. */
23210 /* Override any GCC internal prototype to avoid an error.
23211 Use char because int might match the return type of a GCC
23212 builtin and then its argument prototype would still apply. */
2483623213 #ifdef __cplusplus
2483723214 extern "C"
2483823215 #endif
24839 /* We use char because int might match the return type of a gcc2
24840 builtin and then its argument prototype would still apply. */
2484123216 char XmuAddInitializer ();
2484223217 int
2484323218 main ()
2484423219 {
24845 XmuAddInitializer ();
23220 return XmuAddInitializer ();
2484623221 ;
2484723222 return 0;
2484823223 }
2484923224 _ACEOF
24850 rm -f conftest.$ac_objext conftest$ac_exeext
24851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24852 (eval $ac_link) 2>conftest.er1
24853 ac_status=$?
24854 grep -v '^ *+' conftest.er1 >conftest.err
24855 rm -f conftest.er1
24856 cat conftest.err >&5
24857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24858 (exit $ac_status); } &&
24859 { ac_try='test -z "$ac_c_werror_flag"
24860 || test ! -s conftest.err'
24861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24862 (eval $ac_try) 2>&5
24863 ac_status=$?
24864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865 (exit $ac_status); }; } &&
24866 { ac_try='test -s conftest$ac_exeext'
24867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24868 (eval $ac_try) 2>&5
24869 ac_status=$?
24870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); }; }; then
23225 if ac_fn_c_try_link "$LINENO"; then :
2487223226 ac_cv_lib_Xmu_XmuAddInitializer=yes
2487323227 else
24874 echo "$as_me: failed program was:" >&5
24875 sed 's/^/| /' conftest.$ac_ext >&5
24876
24877 ac_cv_lib_Xmu_XmuAddInitializer=no
24878 fi
24879 rm -f conftest.err conftest.$ac_objext \
24880 conftest$ac_exeext conftest.$ac_ext
23228 ac_cv_lib_Xmu_XmuAddInitializer=no
23229 fi
23230 rm -f core conftest.err conftest.$ac_objext \
23231 conftest$ac_exeext conftest.$ac_ext
2488123232 LIBS=$ac_check_lib_save_LIBS
2488223233 fi
24883 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuAddInitializer" >&5
24884 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuAddInitializer" >&6
24885 if test $ac_cv_lib_Xmu_XmuAddInitializer = yes; then
23234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuAddInitializer" >&5
23235 $as_echo "$ac_cv_lib_Xmu_XmuAddInitializer" >&6; }
23236 if test "x$ac_cv_lib_Xmu_XmuAddInitializer" = xyes; then :
2488623237 cat >>confdefs.h <<_ACEOF
2488723238 #define HAVE_LIBXMU 1
2488823239 _ACEOF
2489123242
2489223243 fi
2489323244
24894
24895 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
24896 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
24897 if test "${ac_cv_lib_m_sqrt+set}" = set; then
24898 echo $ECHO_N "(cached) $ECHO_C" >&6
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
23246 $as_echo_n "checking for sqrt in -lm... " >&6; }
23247 if ${ac_cv_lib_m_sqrt+:} false; then :
23248 $as_echo_n "(cached) " >&6
2489923249 else
2490023250 ac_check_lib_save_LIBS=$LIBS
2490123251 LIBS="-lm $LIBS"
24902 cat >conftest.$ac_ext <<_ACEOF
24903 /* confdefs.h. */
24904 _ACEOF
24905 cat confdefs.h >>conftest.$ac_ext
24906 cat >>conftest.$ac_ext <<_ACEOF
23252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2490723253 /* end confdefs.h. */
2490823254
24909 /* Override any gcc2 internal prototype to avoid an error. */
23255 /* Override any GCC internal prototype to avoid an error.
23256 Use char because int might match the return type of a GCC
23257 builtin and then its argument prototype would still apply. */
2491023258 #ifdef __cplusplus
2491123259 extern "C"
2491223260 #endif
24913 /* We use char because int might match the return type of a gcc2
24914 builtin and then its argument prototype would still apply. */
2491523261 char sqrt ();
2491623262 int
2491723263 main ()
2491823264 {
24919 sqrt ();
23265 return sqrt ();
2492023266 ;
2492123267 return 0;
2492223268 }
2492323269 _ACEOF
24924 rm -f conftest.$ac_objext conftest$ac_exeext
24925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24926 (eval $ac_link) 2>conftest.er1
24927 ac_status=$?
24928 grep -v '^ *+' conftest.er1 >conftest.err
24929 rm -f conftest.er1
24930 cat conftest.err >&5
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); } &&
24933 { ac_try='test -z "$ac_c_werror_flag"
24934 || test ! -s conftest.err'
24935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24936 (eval $ac_try) 2>&5
24937 ac_status=$?
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); }; } &&
24940 { ac_try='test -s conftest$ac_exeext'
24941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24942 (eval $ac_try) 2>&5
24943 ac_status=$?
24944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945 (exit $ac_status); }; }; then
23270 if ac_fn_c_try_link "$LINENO"; then :
2494623271 ac_cv_lib_m_sqrt=yes
2494723272 else
24948 echo "$as_me: failed program was:" >&5
24949 sed 's/^/| /' conftest.$ac_ext >&5
24950
24951 ac_cv_lib_m_sqrt=no
24952 fi
24953 rm -f conftest.err conftest.$ac_objext \
24954 conftest$ac_exeext conftest.$ac_ext
23273 ac_cv_lib_m_sqrt=no
23274 fi
23275 rm -f core conftest.err conftest.$ac_objext \
23276 conftest$ac_exeext conftest.$ac_ext
2495523277 LIBS=$ac_check_lib_save_LIBS
2495623278 fi
24957 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
24958 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
24959 if test $ac_cv_lib_m_sqrt = yes; then
23279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
23280 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
23281 if test "x$ac_cv_lib_m_sqrt" = xyes; then :
2496023282 cat >>confdefs.h <<_ACEOF
2496123283 #define HAVE_LIBM 1
2496223284 _ACEOF
2496823290
2496923291
2497023292
24971 # Check whether --with-motif-includes or --without-motif-includes was given.
24972 if test "${with_motif_includes+set}" = set; then
24973 withval="$with_motif_includes"
24974 with_motif_includes=$withval
23293 # Check whether --with-motif-includes was given.
23294 if test "${with_motif_includes+set}" = set; then :
23295 withval=$with_motif_includes; with_motif_includes=$withval
2497523296 else
2497623297 with_motif_includes=''
24977 fi;
23298 fi
23299
2497823300 if test "$with_motif_includes" != "yes" && test -z "$with_motif_includes"
2497923301 then
2498023302 with_motif_includes=''
2498123303 fi
2498223304
2498323305
24984 # Check whether --with-motif-libs or --without-motif-libs was given.
24985 if test "${with_motif_libs+set}" = set; then
24986 withval="$with_motif_libs"
24987 with_motif_libs=$withval
23306 # Check whether --with-motif-libs was given.
23307 if test "${with_motif_libs+set}" = set; then :
23308 withval=$with_motif_libs; with_motif_libs=$withval
2498823309 else
2498923310 with_motif_libs=''
24990 fi;
23311 fi
23312
2499123313 if test "$with_motif_libs" != "yes" && test -z "$with_motif_libs"
2499223314 then
2499323315 with_motif_libs=''
2499723319 test -z "$xm_direct_test_include" && xm_direct_test_include=Xm/Xm.h
2499823320
2499923321 # First, try using that file with no special directory specified.
25000 cat >conftest.$ac_ext <<_ACEOF
25001 /* confdefs.h. */
25002 _ACEOF
25003 cat confdefs.h >>conftest.$ac_ext
25004 cat >>conftest.$ac_ext <<_ACEOF
23322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2500523323 /* end confdefs.h. */
2500623324 #include <$xm_direct_test_include>
2500723325 _ACEOF
25008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25010 ac_status=$?
25011 grep -v '^ *+' conftest.er1 >conftest.err
25012 rm -f conftest.er1
25013 cat conftest.err >&5
25014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25015 (exit $ac_status); } >/dev/null; then
25016 if test -s conftest.err; then
25017 ac_cpp_err=$ac_c_preproc_warn_flag
25018 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25019 else
25020 ac_cpp_err=
25021 fi
25022 else
25023 ac_cpp_err=yes
25024 fi
25025 if test -z "$ac_cpp_err"; then
23326 if ac_fn_c_try_cpp "$LINENO"; then :
2502623327 # We can compile using X headers with no special include directory.
2502723328 xm_includes=
2502823329 else
25029 echo "$as_me: failed program was:" >&5
25030 sed 's/^/| /' conftest.$ac_ext >&5
25031
2503223330 # Look for the header file in a standard set of common directories.
2503323331 # Check X11 before X11Rn because it is often a symlink to the current release.
2503423332 for ac_dir in \
2507423372 fi
2507523373 done
2507623374 fi
25077 rm -f conftest.err conftest.$ac_ext
23375 rm -f conftest.err conftest.i conftest.$ac_ext
2507823376
2507923377 # Check for the libraries.
2508023378
2508523383 # Don't add to $LIBS permanently.
2508623384 ac_save_LIBS="$LIBS"
2508723385 LIBS="-l$xm_direct_test_library $LIBS"
25088 cat >conftest.$ac_ext <<_ACEOF
25089 /* confdefs.h. */
25090 _ACEOF
25091 cat confdefs.h >>conftest.$ac_ext
25092 cat >>conftest.$ac_ext <<_ACEOF
23386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2509323387 /* end confdefs.h. */
2509423388
2509523389 int
2510023394 return 0;
2510123395 }
2510223396 _ACEOF
25103 rm -f conftest.$ac_objext conftest$ac_exeext
25104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25105 (eval $ac_link) 2>conftest.er1
25106 ac_status=$?
25107 grep -v '^ *+' conftest.er1 >conftest.err
25108 rm -f conftest.er1
25109 cat conftest.err >&5
25110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25111 (exit $ac_status); } &&
25112 { ac_try='test -z "$ac_c_werror_flag"
25113 || test ! -s conftest.err'
25114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25115 (eval $ac_try) 2>&5
25116 ac_status=$?
25117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 (exit $ac_status); }; } &&
25119 { ac_try='test -s conftest$ac_exeext'
25120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25121 (eval $ac_try) 2>&5
25122 ac_status=$?
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); }; }; then
23397 if ac_fn_c_try_link "$LINENO"; then :
2512523398 LIBS="$ac_save_LIBS"
2512623399 # We can link Motif programs with no special library path.
2512723400 xm_libraries=
2512823401 else
25129 echo "$as_me: failed program was:" >&5
25130 sed 's/^/| /' conftest.$ac_ext >&5
25131
25132 LIBS="$ac_save_LIBS"
23402 LIBS="$ac_save_LIBS"
2513323403 # First see if replacing the include by lib works.
2513423404 # Check X11 before X11Rn because it is often a symlink to the current release.
2513523405 for ac_dir in `echo "$xm_includes" | sed s/include/lib/` \
2517723447 done
2517823448 done
2517923449 fi
25180 rm -f conftest.err conftest.$ac_objext \
25181 conftest$ac_exeext conftest.$ac_ext
23450 rm -f core conftest.err conftest.$ac_objext \
23451 conftest$ac_exeext conftest.$ac_ext
2518223452
2518323453 if test "$xm_includes" != "" ; then
2518423454 CFLAGS="$CFLAGS -I$xm_includes"
2518923459 LIBS="-L$xm_libraries $LIBS"
2519023460 fi
2519123461
25192
25193 echo "$as_me:$LINENO: checking for glXGetConfig in -lGL" >&5
25194 echo $ECHO_N "checking for glXGetConfig in -lGL... $ECHO_C" >&6
25195 if test "${ac_cv_lib_GL_glXGetConfig+set}" = set; then
25196 echo $ECHO_N "(cached) $ECHO_C" >&6
23462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXGetConfig in -lGL" >&5
23463 $as_echo_n "checking for glXGetConfig in -lGL... " >&6; }
23464 if ${ac_cv_lib_GL_glXGetConfig+:} false; then :
23465 $as_echo_n "(cached) " >&6
2519723466 else
2519823467 ac_check_lib_save_LIBS=$LIBS
2519923468 LIBS="-lGL $LIBS"
25200 cat >conftest.$ac_ext <<_ACEOF
25201 /* confdefs.h. */
25202 _ACEOF
25203 cat confdefs.h >>conftest.$ac_ext
25204 cat >>conftest.$ac_ext <<_ACEOF
23469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2520523470 /* end confdefs.h. */
2520623471
25207 /* Override any gcc2 internal prototype to avoid an error. */
23472 /* Override any GCC internal prototype to avoid an error.
23473 Use char because int might match the return type of a GCC
23474 builtin and then its argument prototype would still apply. */
2520823475 #ifdef __cplusplus
2520923476 extern "C"
2521023477 #endif
25211 /* We use char because int might match the return type of a gcc2
25212 builtin and then its argument prototype would still apply. */
2521323478 char glXGetConfig ();
2521423479 int
2521523480 main ()
2521623481 {
25217 glXGetConfig ();
23482 return glXGetConfig ();
2521823483 ;
2521923484 return 0;
2522023485 }
2522123486 _ACEOF
25222 rm -f conftest.$ac_objext conftest$ac_exeext
25223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25224 (eval $ac_link) 2>conftest.er1
25225 ac_status=$?
25226 grep -v '^ *+' conftest.er1 >conftest.err
25227 rm -f conftest.er1
25228 cat conftest.err >&5
25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25230 (exit $ac_status); } &&
25231 { ac_try='test -z "$ac_c_werror_flag"
25232 || test ! -s conftest.err'
25233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25234 (eval $ac_try) 2>&5
25235 ac_status=$?
25236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25237 (exit $ac_status); }; } &&
25238 { ac_try='test -s conftest$ac_exeext'
25239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25240 (eval $ac_try) 2>&5
25241 ac_status=$?
25242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25243 (exit $ac_status); }; }; then
23487 if ac_fn_c_try_link "$LINENO"; then :
2524423488 ac_cv_lib_GL_glXGetConfig=yes
2524523489 else
25246 echo "$as_me: failed program was:" >&5
25247 sed 's/^/| /' conftest.$ac_ext >&5
25248
25249 ac_cv_lib_GL_glXGetConfig=no
25250 fi
25251 rm -f conftest.err conftest.$ac_objext \
25252 conftest$ac_exeext conftest.$ac_ext
23490 ac_cv_lib_GL_glXGetConfig=no
23491 fi
23492 rm -f core conftest.err conftest.$ac_objext \
23493 conftest$ac_exeext conftest.$ac_ext
2525323494 LIBS=$ac_check_lib_save_LIBS
2525423495 fi
25255 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetConfig" >&5
25256 echo "${ECHO_T}$ac_cv_lib_GL_glXGetConfig" >&6
25257 if test $ac_cv_lib_GL_glXGetConfig = yes; then
23496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXGetConfig" >&5
23497 $as_echo "$ac_cv_lib_GL_glXGetConfig" >&6; }
23498 if test "x$ac_cv_lib_GL_glXGetConfig" = xyes; then :
2525823499 cat >>confdefs.h <<_ACEOF
2525923500 #define HAVE_LIBGL 1
2526023501 _ACEOF
2526323504
2526423505 fi
2526523506
25266
25267 echo "$as_me:$LINENO: checking for gluBuild2DMipmaps in -lGLU" >&5
25268 echo $ECHO_N "checking for gluBuild2DMipmaps in -lGLU... $ECHO_C" >&6
25269 if test "${ac_cv_lib_GLU_gluBuild2DMipmaps+set}" = set; then
25270 echo $ECHO_N "(cached) $ECHO_C" >&6
23507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBuild2DMipmaps in -lGLU" >&5
23508 $as_echo_n "checking for gluBuild2DMipmaps in -lGLU... " >&6; }
23509 if ${ac_cv_lib_GLU_gluBuild2DMipmaps+:} false; then :
23510 $as_echo_n "(cached) " >&6
2527123511 else
2527223512 ac_check_lib_save_LIBS=$LIBS
2527323513 LIBS="-lGLU $LIBS"
25274 cat >conftest.$ac_ext <<_ACEOF
25275 /* confdefs.h. */
25276 _ACEOF
25277 cat confdefs.h >>conftest.$ac_ext
25278 cat >>conftest.$ac_ext <<_ACEOF
23514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2527923515 /* end confdefs.h. */
2528023516
25281 /* Override any gcc2 internal prototype to avoid an error. */
23517 /* Override any GCC internal prototype to avoid an error.
23518 Use char because int might match the return type of a GCC
23519 builtin and then its argument prototype would still apply. */
2528223520 #ifdef __cplusplus
2528323521 extern "C"
2528423522 #endif
25285 /* We use char because int might match the return type of a gcc2
25286 builtin and then its argument prototype would still apply. */
2528723523 char gluBuild2DMipmaps ();
2528823524 int
2528923525 main ()
2529023526 {
25291 gluBuild2DMipmaps ();
23527 return gluBuild2DMipmaps ();
2529223528 ;
2529323529 return 0;
2529423530 }
2529523531 _ACEOF
25296 rm -f conftest.$ac_objext conftest$ac_exeext
25297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25298 (eval $ac_link) 2>conftest.er1
25299 ac_status=$?
25300 grep -v '^ *+' conftest.er1 >conftest.err
25301 rm -f conftest.er1
25302 cat conftest.err >&5
25303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25304 (exit $ac_status); } &&
25305 { ac_try='test -z "$ac_c_werror_flag"
25306 || test ! -s conftest.err'
25307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25308 (eval $ac_try) 2>&5
25309 ac_status=$?
25310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25311 (exit $ac_status); }; } &&
25312 { ac_try='test -s conftest$ac_exeext'
25313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25314 (eval $ac_try) 2>&5
25315 ac_status=$?
25316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25317 (exit $ac_status); }; }; then
23532 if ac_fn_c_try_link "$LINENO"; then :
2531823533 ac_cv_lib_GLU_gluBuild2DMipmaps=yes
2531923534 else
25320 echo "$as_me: failed program was:" >&5
25321 sed 's/^/| /' conftest.$ac_ext >&5
25322
25323 ac_cv_lib_GLU_gluBuild2DMipmaps=no
25324 fi
25325 rm -f conftest.err conftest.$ac_objext \
25326 conftest$ac_exeext conftest.$ac_ext
23535 ac_cv_lib_GLU_gluBuild2DMipmaps=no
23536 fi
23537 rm -f core conftest.err conftest.$ac_objext \
23538 conftest$ac_exeext conftest.$ac_ext
2532723539 LIBS=$ac_check_lib_save_LIBS
2532823540 fi
25329 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBuild2DMipmaps" >&5
25330 echo "${ECHO_T}$ac_cv_lib_GLU_gluBuild2DMipmaps" >&6
25331 if test $ac_cv_lib_GLU_gluBuild2DMipmaps = yes; then
23541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBuild2DMipmaps" >&5
23542 $as_echo "$ac_cv_lib_GLU_gluBuild2DMipmaps" >&6; }
23543 if test "x$ac_cv_lib_GLU_gluBuild2DMipmaps" = xyes; then :
2533223544 cat >>confdefs.h <<_ACEOF
2533323545 #define HAVE_LIBGLU 1
2533423546 _ACEOF
2533823550 fi
2533923551
2534023552
25341
25342 echo "$as_me:$LINENO: checking for XpSetImageResolution in -lXp" >&5
25343 echo $ECHO_N "checking for XpSetImageResolution in -lXp... $ECHO_C" >&6
25344 if test "${ac_cv_lib_Xp_XpSetImageResolution+set}" = set; then
25345 echo $ECHO_N "(cached) $ECHO_C" >&6
23553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpSetImageResolution in -lXp" >&5
23554 $as_echo_n "checking for XpSetImageResolution in -lXp... " >&6; }
23555 if ${ac_cv_lib_Xp_XpSetImageResolution+:} false; then :
23556 $as_echo_n "(cached) " >&6
2534623557 else
2534723558 ac_check_lib_save_LIBS=$LIBS
2534823559 LIBS="-lXp $LIBS"
25349 cat >conftest.$ac_ext <<_ACEOF
25350 /* confdefs.h. */
25351 _ACEOF
25352 cat confdefs.h >>conftest.$ac_ext
25353 cat >>conftest.$ac_ext <<_ACEOF
23560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2535423561 /* end confdefs.h. */
2535523562
25356 /* Override any gcc2 internal prototype to avoid an error. */
23563 /* Override any GCC internal prototype to avoid an error.
23564 Use char because int might match the return type of a GCC
23565 builtin and then its argument prototype would still apply. */
2535723566 #ifdef __cplusplus
2535823567 extern "C"
2535923568 #endif
25360 /* We use char because int might match the return type of a gcc2
25361 builtin and then its argument prototype would still apply. */
2536223569 char XpSetImageResolution ();
2536323570 int
2536423571 main ()
2536523572 {
25366 XpSetImageResolution ();
23573 return XpSetImageResolution ();
2536723574 ;
2536823575 return 0;
2536923576 }
2537023577 _ACEOF
25371 rm -f conftest.$ac_objext conftest$ac_exeext
25372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25373 (eval $ac_link) 2>conftest.er1
25374 ac_status=$?
25375 grep -v '^ *+' conftest.er1 >conftest.err
25376 rm -f conftest.er1
25377 cat conftest.err >&5
25378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25379 (exit $ac_status); } &&
25380 { ac_try='test -z "$ac_c_werror_flag"
25381 || test ! -s conftest.err'
25382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25383 (eval $ac_try) 2>&5
25384 ac_status=$?
25385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25386 (exit $ac_status); }; } &&
25387 { ac_try='test -s conftest$ac_exeext'
25388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25389 (eval $ac_try) 2>&5
25390 ac_status=$?
25391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25392 (exit $ac_status); }; }; then
23578 if ac_fn_c_try_link "$LINENO"; then :
2539323579 ac_cv_lib_Xp_XpSetImageResolution=yes
2539423580 else
25395 echo "$as_me: failed program was:" >&5
25396 sed 's/^/| /' conftest.$ac_ext >&5
25397
25398 ac_cv_lib_Xp_XpSetImageResolution=no
25399 fi
25400 rm -f conftest.err conftest.$ac_objext \
25401 conftest$ac_exeext conftest.$ac_ext
23581 ac_cv_lib_Xp_XpSetImageResolution=no
23582 fi
23583 rm -f core conftest.err conftest.$ac_objext \
23584 conftest$ac_exeext conftest.$ac_ext
2540223585 LIBS=$ac_check_lib_save_LIBS
2540323586 fi
25404 echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpSetImageResolution" >&5
25405 echo "${ECHO_T}$ac_cv_lib_Xp_XpSetImageResolution" >&6
25406 if test $ac_cv_lib_Xp_XpSetImageResolution = yes; then
23587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpSetImageResolution" >&5
23588 $as_echo "$ac_cv_lib_Xp_XpSetImageResolution" >&6; }
23589 if test "x$ac_cv_lib_Xp_XpSetImageResolution" = xyes; then :
2540723590 cat >>confdefs.h <<_ACEOF
2540823591 #define HAVE_LIBXP 1
2540923592 _ACEOF
2541223595
2541323596 fi
2541423597
25415
25416 echo "$as_me:$LINENO: checking for XmGetDestination in -lXm" >&5
25417 echo $ECHO_N "checking for XmGetDestination in -lXm... $ECHO_C" >&6
25418 if test "${ac_cv_lib_Xm_XmGetDestination+set}" = set; then
25419 echo $ECHO_N "(cached) $ECHO_C" >&6
23598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmGetDestination in -lXm" >&5
23599 $as_echo_n "checking for XmGetDestination in -lXm... " >&6; }
23600 if ${ac_cv_lib_Xm_XmGetDestination+:} false; then :
23601 $as_echo_n "(cached) " >&6
2542023602 else
2542123603 ac_check_lib_save_LIBS=$LIBS
2542223604 LIBS="-lXm $LIBS"
25423 cat >conftest.$ac_ext <<_ACEOF
25424 /* confdefs.h. */
25425 _ACEOF
25426 cat confdefs.h >>conftest.$ac_ext
25427 cat >>conftest.$ac_ext <<_ACEOF
23605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2542823606 /* end confdefs.h. */
2542923607
25430 /* Override any gcc2 internal prototype to avoid an error. */
23608 /* Override any GCC internal prototype to avoid an error.
23609 Use char because int might match the return type of a GCC
23610 builtin and then its argument prototype would still apply. */
2543123611 #ifdef __cplusplus
2543223612 extern "C"
2543323613 #endif
25434 /* We use char because int might match the return type of a gcc2
25435 builtin and then its argument prototype would still apply. */
2543623614 char XmGetDestination ();
2543723615 int
2543823616 main ()
2543923617 {
25440 XmGetDestination ();
23618 return XmGetDestination ();
2544123619 ;
2544223620 return 0;
2544323621 }
2544423622 _ACEOF
25445 rm -f conftest.$ac_objext conftest$ac_exeext
25446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25447 (eval $ac_link) 2>conftest.er1
25448 ac_status=$?
25449 grep -v '^ *+' conftest.er1 >conftest.err
25450 rm -f conftest.er1
25451 cat conftest.err >&5
25452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25453 (exit $ac_status); } &&
25454 { ac_try='test -z "$ac_c_werror_flag"
25455 || test ! -s conftest.err'
25456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25457 (eval $ac_try) 2>&5
25458 ac_status=$?
25459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25460 (exit $ac_status); }; } &&
25461 { ac_try='test -s conftest$ac_exeext'
25462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25463 (eval $ac_try) 2>&5
25464 ac_status=$?
25465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25466 (exit $ac_status); }; }; then
23623 if ac_fn_c_try_link "$LINENO"; then :
2546723624 ac_cv_lib_Xm_XmGetDestination=yes
2546823625 else
25469 echo "$as_me: failed program was:" >&5
25470 sed 's/^/| /' conftest.$ac_ext >&5
25471
25472 ac_cv_lib_Xm_XmGetDestination=no
25473 fi
25474 rm -f conftest.err conftest.$ac_objext \
25475 conftest$ac_exeext conftest.$ac_ext
23626 ac_cv_lib_Xm_XmGetDestination=no
23627 fi
23628 rm -f core conftest.err conftest.$ac_objext \
23629 conftest$ac_exeext conftest.$ac_ext
2547623630 LIBS=$ac_check_lib_save_LIBS
2547723631 fi
25478 echo "$as_me:$LINENO: result: $ac_cv_lib_Xm_XmGetDestination" >&5
25479 echo "${ECHO_T}$ac_cv_lib_Xm_XmGetDestination" >&6
25480 if test $ac_cv_lib_Xm_XmGetDestination = yes; then
23632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_XmGetDestination" >&5
23633 $as_echo "$ac_cv_lib_Xm_XmGetDestination" >&6; }
23634 if test "x$ac_cv_lib_Xm_XmGetDestination" = xyes; then :
2548123635 cat >>confdefs.h <<_ACEOF
2548223636 #define HAVE_LIBXM 1
2548323637 _ACEOF
2548623640
2548723641 fi
2548823642
25489 cat >conftest.$ac_ext <<_ACEOF
25490 /* confdefs.h. */
25491 _ACEOF
25492 cat confdefs.h >>conftest.$ac_ext
25493 cat >>conftest.$ac_ext <<_ACEOF
23643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2549423644 /* end confdefs.h. */
2549523645
25496 /* Override any gcc2 internal prototype to avoid an error. */
23646 /* Override any GCC internal prototype to avoid an error.
23647 Use char because int might match the return type of a GCC
23648 builtin and then its argument prototype would still apply. */
2549723649 #ifdef __cplusplus
2549823650 extern "C"
2549923651 #endif
25500 /* We use char because int might match the return type of a gcc2
25501 builtin and then its argument prototype would still apply. */
2550223652 char _XmMapKeyEvents ();
2550323653 int
2550423654 main ()
2550523655 {
25506 _XmMapKeyEvents ();
23656 return _XmMapKeyEvents ();
2550723657 ;
2550823658 return 0;
2550923659 }
2551023660 _ACEOF
25511 rm -f conftest.$ac_objext conftest$ac_exeext
25512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25513 (eval $ac_link) 2>conftest.er1
25514 ac_status=$?
25515 grep -v '^ *+' conftest.er1 >conftest.err
25516 rm -f conftest.er1
25517 cat conftest.err >&5
25518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25519 (exit $ac_status); } &&
25520 { ac_try='test -z "$ac_c_werror_flag"
25521 || test ! -s conftest.err'
25522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25523 (eval $ac_try) 2>&5
25524 ac_status=$?
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); }; } &&
25527 { ac_try='test -s conftest$ac_exeext'
25528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25529 (eval $ac_try) 2>&5
25530 ac_status=$?
25531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25532 (exit $ac_status); }; }; then
25533
25534 cat >>confdefs.h <<\_ACEOF
25535 #define HAVE_XMMAPKEYEVENTS 1
25536 _ACEOF
25537
25538 else
25539 echo "$as_me: failed program was:" >&5
25540 sed 's/^/| /' conftest.$ac_ext >&5
25541
25542 fi
25543 rm -f conftest.err conftest.$ac_objext \
25544 conftest$ac_exeext conftest.$ac_ext
25545 cat >conftest.$ac_ext <<_ACEOF
25546 /* confdefs.h. */
25547 _ACEOF
25548 cat confdefs.h >>conftest.$ac_ext
25549 cat >>conftest.$ac_ext <<_ACEOF
23661 if ac_fn_c_try_link "$LINENO"; then :
23662
23663 $as_echo "#define HAVE_XMMAPKEYEVENTS 1" >>confdefs.h
23664
23665 fi
23666 rm -f core conftest.err conftest.$ac_objext \
23667 conftest$ac_exeext conftest.$ac_ext
23668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2555023669 /* end confdefs.h. */
2555123670
25552 /* Override any gcc2 internal prototype to avoid an error. */
23671 /* Override any GCC internal prototype to avoid an error.
23672 Use char because int might match the return type of a GCC
23673 builtin and then its argument prototype would still apply. */
2555323674 #ifdef __cplusplus
2555423675 extern "C"
2555523676 #endif
25556 /* We use char because int might match the return type of a gcc2
25557 builtin and then its argument prototype would still apply. */
2555823677 char HCLXmInit ();
2555923678 int
2556023679 main ()
2556123680 {
25562 HCLXmInit ();
23681 return HCLXmInit ();
2556323682 ;
2556423683 return 0;
2556523684 }
2556623685 _ACEOF
25567 rm -f conftest.$ac_objext conftest$ac_exeext
25568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25569 (eval $ac_link) 2>conftest.er1
25570 ac_status=$?
25571 grep -v '^ *+' conftest.er1 >conftest.err
25572 rm -f conftest.er1
25573 cat conftest.err >&5
25574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25575 (exit $ac_status); } &&
25576 { ac_try='test -z "$ac_c_werror_flag"
25577 || test ! -s conftest.err'
25578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25579 (eval $ac_try) 2>&5
25580 ac_status=$?
25581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25582 (exit $ac_status); }; } &&
25583 { ac_try='test -s conftest$ac_exeext'
25584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25585 (eval $ac_try) 2>&5
25586 ac_status=$?
25587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588 (exit $ac_status); }; }; then
25589
25590 cat >>confdefs.h <<\_ACEOF
25591 #define HAVE_HCLXMINIT 1
25592 _ACEOF
25593
25594 else
25595 echo "$as_me: failed program was:" >&5
25596 sed 's/^/| /' conftest.$ac_ext >&5
25597
25598 fi
25599 rm -f conftest.err conftest.$ac_objext \
25600 conftest$ac_exeext conftest.$ac_ext
25601 cat >conftest.$ac_ext <<_ACEOF
25602 /* confdefs.h. */
25603 _ACEOF
25604 cat confdefs.h >>conftest.$ac_ext
25605 cat >>conftest.$ac_ext <<_ACEOF
23686 if ac_fn_c_try_link "$LINENO"; then :
23687
23688 $as_echo "#define HAVE_HCLXMINIT 1" >>confdefs.h
23689
23690 fi
23691 rm -f core conftest.err conftest.$ac_objext \
23692 conftest$ac_exeext conftest.$ac_ext
23693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2560623694 /* end confdefs.h. */
2560723695
25608 /* Override any gcc2 internal prototype to avoid an error. */
23696 /* Override any GCC internal prototype to avoid an error.
23697 Use char because int might match the return type of a GCC
23698 builtin and then its argument prototype would still apply. */
2560923699 #ifdef __cplusplus
2561023700 extern "C"
2561123701 #endif
25612 /* We use char because int might match the return type of a gcc2
25613 builtin and then its argument prototype would still apply. */
2561423702 char HCLXtInit ();
2561523703 int
2561623704 main ()
2561723705 {
25618 HCLXtInit ();
23706 return HCLXtInit ();
2561923707 ;
2562023708 return 0;
2562123709 }
2562223710 _ACEOF
25623 rm -f conftest.$ac_objext conftest$ac_exeext
25624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25625 (eval $ac_link) 2>conftest.er1
25626 ac_status=$?
25627 grep -v '^ *+' conftest.er1 >conftest.err
25628 rm -f conftest.er1
25629 cat conftest.err >&5
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); } &&
25632 { ac_try='test -z "$ac_c_werror_flag"
25633 || test ! -s conftest.err'
25634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25635 (eval $ac_try) 2>&5
25636 ac_status=$?
25637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638 (exit $ac_status); }; } &&
25639 { ac_try='test -s conftest$ac_exeext'
25640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25641 (eval $ac_try) 2>&5
25642 ac_status=$?
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); }; }; then
25645
25646 cat >>confdefs.h <<\_ACEOF
25647 #define HAVE_HCLXTINIT 1
25648 _ACEOF
25649
25650 else
25651 echo "$as_me: failed program was:" >&5
25652 sed 's/^/| /' conftest.$ac_ext >&5
25653
25654 fi
25655 rm -f conftest.err conftest.$ac_objext \
25656 conftest$ac_exeext conftest.$ac_ext
23711 if ac_fn_c_try_link "$LINENO"; then :
23712
23713 $as_echo "#define HAVE_HCLXTINIT 1" >>confdefs.h
23714
23715 fi
23716 rm -f core conftest.err conftest.$ac_objext \
23717 conftest$ac_exeext conftest.$ac_ext
2565723718
2565823719 DX_X_LINK_LIBS="$LIBS"
2565923720
25660 cat >conftest.$ac_ext <<_ACEOF
25661 /* confdefs.h. */
25662 _ACEOF
25663 cat confdefs.h >>conftest.$ac_ext
25664 cat >>conftest.$ac_ext <<_ACEOF
23721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2566523722 /* end confdefs.h. */
2566623723
2566723724 #include <Xm/FormP.h>
2567723734 return 0;
2567823735 }
2567923736 _ACEOF
25680 rm -f conftest.$ac_objext conftest$ac_exeext
25681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25682 (eval $ac_link) 2>conftest.er1
25683 ac_status=$?
25684 grep -v '^ *+' conftest.er1 >conftest.err
25685 rm -f conftest.er1
25686 cat conftest.err >&5
25687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25688 (exit $ac_status); } &&
25689 { ac_try='test -z "$ac_c_werror_flag"
25690 || test ! -s conftest.err'
25691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25692 (eval $ac_try) 2>&5
25693 ac_status=$?
25694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695 (exit $ac_status); }; } &&
25696 { ac_try='test -s conftest$ac_exeext'
25697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25698 (eval $ac_try) 2>&5
25699 ac_status=$?
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); }; }; then
25702 :
25703 else
25704 echo "$as_me: failed program was:" >&5
25705 sed 's/^/| /' conftest.$ac_ext >&5
25706
23737 if ac_fn_c_try_link "$LINENO"; then :
23738
23739 else
2570723740
2570823741
2570923742 cat >>confdefs.h <<_ACEOF
2571023743 #define OLD_LESSTIF 1
2571123744 _ACEOF
2571223745
25713 { echo "$as_me:$LINENO: using old version of LESSTIF" >&5
25714 echo "$as_me: using old version of LESSTIF" >&6;}
25715
25716 fi
25717 rm -f conftest.err conftest.$ac_objext \
25718 conftest$ac_exeext conftest.$ac_ext
23746 { $as_echo "$as_me:${as_lineno-$LINENO}: using old version of LESSTIF" >&5
23747 $as_echo "$as_me: using old version of LESSTIF" >&6;}
23748
23749 fi
23750 rm -f core conftest.err conftest.$ac_objext \
23751 conftest$ac_exeext conftest.$ac_ext
2571923752
2572023753 if test "$ARCH" = "solaris" ; then
2572123754 OLDLIBS=$LIBS
2572223755 LIBS="-L/usr/openwin/lib $LIBS"
25723 echo "$as_me:$LINENO: checking for dga_draw_devfd in -ldga" >&5
25724 echo $ECHO_N "checking for dga_draw_devfd in -ldga... $ECHO_C" >&6
25725 if test "${ac_cv_lib_dga_dga_draw_devfd+set}" = set; then
25726 echo $ECHO_N "(cached) $ECHO_C" >&6
23756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dga_draw_devfd in -ldga" >&5
23757 $as_echo_n "checking for dga_draw_devfd in -ldga... " >&6; }
23758 if ${ac_cv_lib_dga_dga_draw_devfd+:} false; then :
23759 $as_echo_n "(cached) " >&6
2572723760 else
2572823761 ac_check_lib_save_LIBS=$LIBS
2572923762 LIBS="-ldga -lX11 $LIBS"
25730 cat >conftest.$ac_ext <<_ACEOF
25731 /* confdefs.h. */
25732 _ACEOF
25733 cat confdefs.h >>conftest.$ac_ext
25734 cat >>conftest.$ac_ext <<_ACEOF
23763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2573523764 /* end confdefs.h. */
2573623765
25737 /* Override any gcc2 internal prototype to avoid an error. */
23766 /* Override any GCC internal prototype to avoid an error.
23767 Use char because int might match the return type of a GCC
23768 builtin and then its argument prototype would still apply. */
2573823769 #ifdef __cplusplus
2573923770 extern "C"
2574023771 #endif
25741 /* We use char because int might match the return type of a gcc2
25742 builtin and then its argument prototype would still apply. */
2574323772 char dga_draw_devfd ();
2574423773 int
2574523774 main ()
2574623775 {
25747 dga_draw_devfd ();
23776 return dga_draw_devfd ();
2574823777 ;
2574923778 return 0;
2575023779 }
2575123780 _ACEOF
25752 rm -f conftest.$ac_objext conftest$ac_exeext
25753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25754 (eval $ac_link) 2>conftest.er1
25755 ac_status=$?
25756 grep -v '^ *+' conftest.er1 >conftest.err
25757 rm -f conftest.er1
25758 cat conftest.err >&5
25759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25760 (exit $ac_status); } &&
25761 { ac_try='test -z "$ac_c_werror_flag"
25762 || test ! -s conftest.err'
25763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25764 (eval $ac_try) 2>&5
25765 ac_status=$?
25766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25767 (exit $ac_status); }; } &&
25768 { ac_try='test -s conftest$ac_exeext'
25769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25770 (eval $ac_try) 2>&5
25771 ac_status=$?
25772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773 (exit $ac_status); }; }; then
23781 if ac_fn_c_try_link "$LINENO"; then :
2577423782 ac_cv_lib_dga_dga_draw_devfd=yes
2577523783 else
25776 echo "$as_me: failed program was:" >&5
25777 sed 's/^/| /' conftest.$ac_ext >&5
25778
25779 ac_cv_lib_dga_dga_draw_devfd=no
25780 fi
25781 rm -f conftest.err conftest.$ac_objext \
25782 conftest$ac_exeext conftest.$ac_ext
23784 ac_cv_lib_dga_dga_draw_devfd=no
23785 fi
23786 rm -f core conftest.err conftest.$ac_objext \
23787 conftest$ac_exeext conftest.$ac_ext
2578323788 LIBS=$ac_check_lib_save_LIBS
2578423789 fi
25785 echo "$as_me:$LINENO: result: $ac_cv_lib_dga_dga_draw_devfd" >&5
25786 echo "${ECHO_T}$ac_cv_lib_dga_dga_draw_devfd" >&6
25787 if test $ac_cv_lib_dga_dga_draw_devfd = yes; then
23790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dga_dga_draw_devfd" >&5
23791 $as_echo "$ac_cv_lib_dga_dga_draw_devfd" >&6; }
23792 if test "x$ac_cv_lib_dga_dga_draw_devfd" = xyes; then :
2578823793
2578923794 LIBS="$LIBS -ldga"
25790 echo "$as_me:$LINENO: checking for XmuAddInitializer in -lXmu" >&5
25791 echo $ECHO_N "checking for XmuAddInitializer in -lXmu... $ECHO_C" >&6
25792 if test "${ac_cv_lib_Xmu_XmuAddInitializer+set}" = set; then
25793 echo $ECHO_N "(cached) $ECHO_C" >&6
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuAddInitializer in -lXmu" >&5
23796 $as_echo_n "checking for XmuAddInitializer in -lXmu... " >&6; }
23797 if ${ac_cv_lib_Xmu_XmuAddInitializer+:} false; then :
23798 $as_echo_n "(cached) " >&6
2579423799 else
2579523800 ac_check_lib_save_LIBS=$LIBS
2579623801 LIBS="-lXmu $LIBS"
25797 cat >conftest.$ac_ext <<_ACEOF
25798 /* confdefs.h. */
25799 _ACEOF
25800 cat confdefs.h >>conftest.$ac_ext
25801 cat >>conftest.$ac_ext <<_ACEOF
23802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2580223803 /* end confdefs.h. */
2580323804
25804 /* Override any gcc2 internal prototype to avoid an error. */
23805 /* Override any GCC internal prototype to avoid an error.
23806 Use char because int might match the return type of a GCC
23807 builtin and then its argument prototype would still apply. */
2580523808 #ifdef __cplusplus
2580623809 extern "C"
2580723810 #endif
25808 /* We use char because int might match the return type of a gcc2
25809 builtin and then its argument prototype would still apply. */
2581023811 char XmuAddInitializer ();
2581123812 int
2581223813 main ()
2581323814 {
25814 XmuAddInitializer ();
23815 return XmuAddInitializer ();
2581523816 ;
2581623817 return 0;
2581723818 }
2581823819 _ACEOF
25819 rm -f conftest.$ac_objext conftest$ac_exeext
25820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25821 (eval $ac_link) 2>conftest.er1
25822 ac_status=$?
25823 grep -v '^ *+' conftest.er1 >conftest.err
25824 rm -f conftest.er1
25825 cat conftest.err >&5
25826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25827 (exit $ac_status); } &&
25828 { ac_try='test -z "$ac_c_werror_flag"
25829 || test ! -s conftest.err'
25830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25831 (eval $ac_try) 2>&5
25832 ac_status=$?
25833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25834 (exit $ac_status); }; } &&
25835 { ac_try='test -s conftest$ac_exeext'
25836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25837 (eval $ac_try) 2>&5
25838 ac_status=$?
25839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25840 (exit $ac_status); }; }; then
23820 if ac_fn_c_try_link "$LINENO"; then :
2584123821 ac_cv_lib_Xmu_XmuAddInitializer=yes
2584223822 else
25843 echo "$as_me: failed program was:" >&5
25844 sed 's/^/| /' conftest.$ac_ext >&5
25845
25846 ac_cv_lib_Xmu_XmuAddInitializer=no
25847 fi
25848 rm -f conftest.err conftest.$ac_objext \
25849 conftest$ac_exeext conftest.$ac_ext
23823 ac_cv_lib_Xmu_XmuAddInitializer=no
23824 fi
23825 rm -f core conftest.err conftest.$ac_objext \
23826 conftest$ac_exeext conftest.$ac_ext
2585023827 LIBS=$ac_check_lib_save_LIBS
2585123828 fi
25852 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuAddInitializer" >&5
25853 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuAddInitializer" >&6
25854 if test $ac_cv_lib_Xmu_XmuAddInitializer = yes; then
23829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuAddInitializer" >&5
23830 $as_echo "$ac_cv_lib_Xmu_XmuAddInitializer" >&6; }
23831 if test "x$ac_cv_lib_Xmu_XmuAddInitializer" = xyes; then :
2585523832 LIBS="$LIBS -lXmu"
2585623833 fi
2585723834
2586223839
2586323840 fi
2586423841
25865
25866 echo "$as_me:$LINENO: checking for regcomp in -lREXP" >&5
25867 echo $ECHO_N "checking for regcomp in -lREXP... $ECHO_C" >&6
25868 if test "${ac_cv_lib_REXP_regcomp+set}" = set; then
25869 echo $ECHO_N "(cached) $ECHO_C" >&6
23842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for regcomp in -lREXP" >&5
23843 $as_echo_n "checking for regcomp in -lREXP... " >&6; }
23844 if ${ac_cv_lib_REXP_regcomp+:} false; then :
23845 $as_echo_n "(cached) " >&6
2587023846 else
2587123847 ac_check_lib_save_LIBS=$LIBS
2587223848 LIBS="-lREXP $LIBS"
25873 cat >conftest.$ac_ext <<_ACEOF
25874 /* confdefs.h. */
25875 _ACEOF
25876 cat confdefs.h >>conftest.$ac_ext
25877 cat >>conftest.$ac_ext <<_ACEOF
23849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2587823850 /* end confdefs.h. */
2587923851
25880 /* Override any gcc2 internal prototype to avoid an error. */
23852 /* Override any GCC internal prototype to avoid an error.
23853 Use char because int might match the return type of a GCC
23854 builtin and then its argument prototype would still apply. */
2588123855 #ifdef __cplusplus
2588223856 extern "C"
2588323857 #endif
25884 /* We use char because int might match the return type of a gcc2
25885 builtin and then its argument prototype would still apply. */
2588623858 char regcomp ();
2588723859 int
2588823860 main ()
2588923861 {
25890 regcomp ();
23862 return regcomp ();
2589123863 ;
2589223864 return 0;
2589323865 }
2589423866 _ACEOF
25895 rm -f conftest.$ac_objext conftest$ac_exeext
25896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25897 (eval $ac_link) 2>conftest.er1
25898 ac_status=$?
25899 grep -v '^ *+' conftest.er1 >conftest.err
25900 rm -f conftest.er1
25901 cat conftest.err >&5
25902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25903 (exit $ac_status); } &&
25904 { ac_try='test -z "$ac_c_werror_flag"
25905 || test ! -s conftest.err'
25906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25907 (eval $ac_try) 2>&5
25908 ac_status=$?
25909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25910 (exit $ac_status); }; } &&
25911 { ac_try='test -s conftest$ac_exeext'
25912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25913 (eval $ac_try) 2>&5
25914 ac_status=$?
25915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25916 (exit $ac_status); }; }; then
23867 if ac_fn_c_try_link "$LINENO"; then :
2591723868 ac_cv_lib_REXP_regcomp=yes
2591823869 else
25919 echo "$as_me: failed program was:" >&5
25920 sed 's/^/| /' conftest.$ac_ext >&5
25921
25922 ac_cv_lib_REXP_regcomp=no
25923 fi
25924 rm -f conftest.err conftest.$ac_objext \
25925 conftest$ac_exeext conftest.$ac_ext
23870 ac_cv_lib_REXP_regcomp=no
23871 fi
23872 rm -f core conftest.err conftest.$ac_objext \
23873 conftest$ac_exeext conftest.$ac_ext
2592623874 LIBS=$ac_check_lib_save_LIBS
2592723875 fi
25928 echo "$as_me:$LINENO: result: $ac_cv_lib_REXP_regcomp" >&5
25929 echo "${ECHO_T}$ac_cv_lib_REXP_regcomp" >&6
25930 if test $ac_cv_lib_REXP_regcomp = yes; then
23876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_REXP_regcomp" >&5
23877 $as_echo "$ac_cv_lib_REXP_regcomp" >&6; }
23878 if test "x$ac_cv_lib_REXP_regcomp" = xyes; then :
2593123879 cat >>confdefs.h <<_ACEOF
2593223880 #define HAVE_LIBREXP 1
2593323881 _ACEOF
2593623884
2593723885 fi
2593823886
25939 echo "$as_me:$LINENO: checking whether we are using GNU glibc math" >&5
25940 echo $ECHO_N "checking whether we are using GNU glibc math... $ECHO_C" >&6
25941 if test "${ac_cv_lib_glibcmath+set}" = set; then
25942 echo $ECHO_N "(cached) $ECHO_C" >&6
23887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU glibc math" >&5
23888 $as_echo_n "checking whether we are using GNU glibc math... " >&6; }
23889 if ${ac_cv_lib_glibcmath+:} false; then :
23890 $as_echo_n "(cached) " >&6
2594323891 else
2594423892 cat > conftest.c <<EOF
2594523893 /* Because certain platforms using glibc and gcc will not use certain
2595123899 #endif
2595223900 EOF
2595323901 if { ac_try='${CC-cc} -E conftest.c'
25954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23902 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
2595523903 (eval $ac_try) 2>&5
2595623904 ac_status=$?
25957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25958 (exit $ac_status); }; } | egrep yes > foo 2>&1; then
23905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23906 test $ac_status = 0; }; } | egrep yes > foo 2>&1; then
2595923907 ac_cv_lib_glibcmath=-D_GNU_SOURCE
2596023908 fi
2596123909 rm foo
2596223910
2596323911 fi
25964 echo "$as_me:$LINENO: result: $ac_cv_lib_glibcmath" >&5
25965 echo "${ECHO_T}$ac_cv_lib_glibcmath" >&6
23912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glibcmath" >&5
23913 $as_echo "$ac_cv_lib_glibcmath" >&6; }
2596623914 if test -n "$ac_cv_lib_glibcmath" ; then
2596723915 CFLAGS="$CFLAGS $ac_cv_lib_glibcmath"
2596823916 fi
2599023938
2599123939
2599223940
25993
25994 echo "$as_me:$LINENO: checking for main in -lg++" >&5
25995 echo $ECHO_N "checking for main in -lg++... $ECHO_C" >&6
25996 if test "${ac_cv_lib_gpp_main+set}" = set; then
25997 echo $ECHO_N "(cached) $ECHO_C" >&6
23941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg++" >&5
23942 $as_echo_n "checking for main in -lg++... " >&6; }
23943 if ${ac_cv_lib_gpp_main+:} false; then :
23944 $as_echo_n "(cached) " >&6
2599823945 else
2599923946 ac_check_lib_save_LIBS=$LIBS
2600023947 LIBS="-lg++ $LIBS"
26001 cat >conftest.$ac_ext <<_ACEOF
26002 /* confdefs.h. */
26003 _ACEOF
26004 cat confdefs.h >>conftest.$ac_ext
26005 cat >>conftest.$ac_ext <<_ACEOF
23948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2600623949 /* end confdefs.h. */
2600723950
2600823951
2600923952 int
2601023953 main ()
2601123954 {
26012 main ();
23955 return main ();
2601323956 ;
2601423957 return 0;
2601523958 }
2601623959 _ACEOF
26017 rm -f conftest.$ac_objext conftest$ac_exeext
26018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26019 (eval $ac_link) 2>conftest.er1
26020 ac_status=$?
26021 grep -v '^ *+' conftest.er1 >conftest.err
26022 rm -f conftest.er1
26023 cat conftest.err >&5
26024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26025 (exit $ac_status); } &&
26026 { ac_try='test -z "$ac_c_werror_flag"
26027 || test ! -s conftest.err'
26028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26029 (eval $ac_try) 2>&5
26030 ac_status=$?
26031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26032 (exit $ac_status); }; } &&
26033 { ac_try='test -s conftest$ac_exeext'
26034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26035 (eval $ac_try) 2>&5
26036 ac_status=$?
26037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26038 (exit $ac_status); }; }; then
23960 if ac_fn_c_try_link "$LINENO"; then :
2603923961 ac_cv_lib_gpp_main=yes
2604023962 else
26041 echo "$as_me: failed program was:" >&5
26042 sed 's/^/| /' conftest.$ac_ext >&5
26043
26044 ac_cv_lib_gpp_main=no
26045 fi
26046 rm -f conftest.err conftest.$ac_objext \
26047 conftest$ac_exeext conftest.$ac_ext
23963 ac_cv_lib_gpp_main=no
23964 fi
23965 rm -f core conftest.err conftest.$ac_objext \
23966 conftest$ac_exeext conftest.$ac_ext
2604823967 LIBS=$ac_check_lib_save_LIBS
2604923968 fi
26050 echo "$as_me:$LINENO: result: $ac_cv_lib_gpp_main" >&5
26051 echo "${ECHO_T}$ac_cv_lib_gpp_main" >&6
26052 if test $ac_cv_lib_gpp_main = yes; then
23969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpp_main" >&5
23970 $as_echo "$ac_cv_lib_gpp_main" >&6; }
23971 if test "x$ac_cv_lib_gpp_main" = xyes; then :
2605323972 cat >>confdefs.h <<_ACEOF
2605423973 #define HAVE_LIBG__ 1
2605523974 _ACEOF
2605823977
2605923978 fi
2606023979
26061
26062 echo "$as_me:$LINENO: checking for main in -ldl" >&5
26063 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
26064 if test "${ac_cv_lib_dl_main+set}" = set; then
26065 echo $ECHO_N "(cached) $ECHO_C" >&6
23980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&5
23981 $as_echo_n "checking for main in -ldl... " >&6; }
23982 if ${ac_cv_lib_dl_main+:} false; then :
23983 $as_echo_n "(cached) " >&6
2606623984 else
2606723985 ac_check_lib_save_LIBS=$LIBS
2606823986 LIBS="-ldl $LIBS"
26069 cat >conftest.$ac_ext <<_ACEOF
26070 /* confdefs.h. */
26071 _ACEOF
26072 cat confdefs.h >>conftest.$ac_ext
26073 cat >>conftest.$ac_ext <<_ACEOF
23987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2607423988 /* end confdefs.h. */
2607523989
2607623990
2607723991 int
2607823992 main ()
2607923993 {
26080 main ();
23994 return main ();
2608123995 ;
2608223996 return 0;
2608323997 }
2608423998 _ACEOF
26085 rm -f conftest.$ac_objext conftest$ac_exeext
26086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26087 (eval $ac_link) 2>conftest.er1
26088 ac_status=$?
26089 grep -v '^ *+' conftest.er1 >conftest.err
26090 rm -f conftest.er1
26091 cat conftest.err >&5
26092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093 (exit $ac_status); } &&
26094 { ac_try='test -z "$ac_c_werror_flag"
26095 || test ! -s conftest.err'
26096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26097 (eval $ac_try) 2>&5
26098 ac_status=$?
26099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100 (exit $ac_status); }; } &&
26101 { ac_try='test -s conftest$ac_exeext'
26102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26103 (eval $ac_try) 2>&5
26104 ac_status=$?
26105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26106 (exit $ac_status); }; }; then
23999 if ac_fn_c_try_link "$LINENO"; then :
2610724000 ac_cv_lib_dl_main=yes
2610824001 else
26109 echo "$as_me: failed program was:" >&5
26110 sed 's/^/| /' conftest.$ac_ext >&5
26111
26112 ac_cv_lib_dl_main=no
26113 fi
26114 rm -f conftest.err conftest.$ac_objext \
26115 conftest$ac_exeext conftest.$ac_ext
24002 ac_cv_lib_dl_main=no
24003 fi
24004 rm -f core conftest.err conftest.$ac_objext \
24005 conftest$ac_exeext conftest.$ac_ext
2611624006 LIBS=$ac_check_lib_save_LIBS
2611724007 fi
26118 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
26119 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
26120 if test $ac_cv_lib_dl_main = yes; then
24008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_main" >&5
24009 $as_echo "$ac_cv_lib_dl_main" >&6; }
24010 if test "x$ac_cv_lib_dl_main" = xyes; then :
2612124011 cat >>confdefs.h <<_ACEOF
2612224012 #define HAVE_LIBDL 1
2612324013 _ACEOF
2614424034 LIB_TIFF=''
2614524035 if test "$with_tiff" != 'no'
2614624036 then
26147 { echo "$as_me:$LINENO: checking for TIFF support ......" >&5
26148 echo "$as_me: checking for TIFF support ......" >&6;}
24037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFF support ......" >&5
24038 $as_echo "$as_me: checking for TIFF support ......" >&6;}
2614924039 failed=0;
2615024040 passed=0;
26151 if test "${ac_cv_header_tiff_h+set}" = set; then
26152 echo "$as_me:$LINENO: checking for tiff.h" >&5
26153 echo $ECHO_N "checking for tiff.h... $ECHO_C" >&6
26154 if test "${ac_cv_header_tiff_h+set}" = set; then
26155 echo $ECHO_N "(cached) $ECHO_C" >&6
26156 fi
26157 echo "$as_me:$LINENO: result: $ac_cv_header_tiff_h" >&5
26158 echo "${ECHO_T}$ac_cv_header_tiff_h" >&6
26159 else
26160 # Is the header compilable?
26161 echo "$as_me:$LINENO: checking tiff.h usability" >&5
26162 echo $ECHO_N "checking tiff.h usability... $ECHO_C" >&6
26163 cat >conftest.$ac_ext <<_ACEOF
26164 /* confdefs.h. */
26165 _ACEOF
26166 cat confdefs.h >>conftest.$ac_ext
26167 cat >>conftest.$ac_ext <<_ACEOF
26168 /* end confdefs.h. */
26169 $ac_includes_default
26170 #include <tiff.h>
26171 _ACEOF
26172 rm -f conftest.$ac_objext
26173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26174 (eval $ac_compile) 2>conftest.er1
26175 ac_status=$?
26176 grep -v '^ *+' conftest.er1 >conftest.err
26177 rm -f conftest.er1
26178 cat conftest.err >&5
26179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26180 (exit $ac_status); } &&
26181 { ac_try='test -z "$ac_c_werror_flag"
26182 || test ! -s conftest.err'
26183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26184 (eval $ac_try) 2>&5
26185 ac_status=$?
26186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26187 (exit $ac_status); }; } &&
26188 { ac_try='test -s conftest.$ac_objext'
26189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26190 (eval $ac_try) 2>&5
26191 ac_status=$?
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); }; }; then
26194 ac_header_compiler=yes
26195 else
26196 echo "$as_me: failed program was:" >&5
26197 sed 's/^/| /' conftest.$ac_ext >&5
26198
26199 ac_header_compiler=no
26200 fi
26201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26203 echo "${ECHO_T}$ac_header_compiler" >&6
26204
26205 # Is the header present?
26206 echo "$as_me:$LINENO: checking tiff.h presence" >&5
26207 echo $ECHO_N "checking tiff.h presence... $ECHO_C" >&6
26208 cat >conftest.$ac_ext <<_ACEOF
26209 /* confdefs.h. */
26210 _ACEOF
26211 cat confdefs.h >>conftest.$ac_ext
26212 cat >>conftest.$ac_ext <<_ACEOF
26213 /* end confdefs.h. */
26214 #include <tiff.h>
26215 _ACEOF
26216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26218 ac_status=$?
26219 grep -v '^ *+' conftest.er1 >conftest.err
26220 rm -f conftest.er1
26221 cat conftest.err >&5
26222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26223 (exit $ac_status); } >/dev/null; then
26224 if test -s conftest.err; then
26225 ac_cpp_err=$ac_c_preproc_warn_flag
26226 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26227 else
26228 ac_cpp_err=
26229 fi
26230 else
26231 ac_cpp_err=yes
26232 fi
26233 if test -z "$ac_cpp_err"; then
26234 ac_header_preproc=yes
26235 else
26236 echo "$as_me: failed program was:" >&5
26237 sed 's/^/| /' conftest.$ac_ext >&5
26238
26239 ac_header_preproc=no
26240 fi
26241 rm -f conftest.err conftest.$ac_ext
26242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26243 echo "${ECHO_T}$ac_header_preproc" >&6
26244
26245 # So? What about this header?
26246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26247 yes:no: )
26248 { echo "$as_me:$LINENO: WARNING: tiff.h: accepted by the compiler, rejected by the preprocessor!" >&5
26249 echo "$as_me: WARNING: tiff.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26250 { echo "$as_me:$LINENO: WARNING: tiff.h: proceeding with the compiler's result" >&5
26251 echo "$as_me: WARNING: tiff.h: proceeding with the compiler's result" >&2;}
26252 ac_header_preproc=yes
26253 ;;
26254 no:yes:* )
26255 { echo "$as_me:$LINENO: WARNING: tiff.h: present but cannot be compiled" >&5
26256 echo "$as_me: WARNING: tiff.h: present but cannot be compiled" >&2;}
26257 { echo "$as_me:$LINENO: WARNING: tiff.h: check for missing prerequisite headers?" >&5
26258 echo "$as_me: WARNING: tiff.h: check for missing prerequisite headers?" >&2;}
26259 { echo "$as_me:$LINENO: WARNING: tiff.h: see the Autoconf documentation" >&5
26260 echo "$as_me: WARNING: tiff.h: see the Autoconf documentation" >&2;}
26261 { echo "$as_me:$LINENO: WARNING: tiff.h: section \"Present But Cannot Be Compiled\"" >&5
26262 echo "$as_me: WARNING: tiff.h: section \"Present But Cannot Be Compiled\"" >&2;}
26263 { echo "$as_me:$LINENO: WARNING: tiff.h: proceeding with the preprocessor's result" >&5
26264 echo "$as_me: WARNING: tiff.h: proceeding with the preprocessor's result" >&2;}
26265 { echo "$as_me:$LINENO: WARNING: tiff.h: in the future, the compiler will take precedence" >&5
26266 echo "$as_me: WARNING: tiff.h: in the future, the compiler will take precedence" >&2;}
26267 (
26268 cat <<\_ASBOX
26269 ## ----------------------------- ##
26270 ## Report this to the dx lists. ##
26271 ## ----------------------------- ##
26272 _ASBOX
26273 ) |
26274 sed "s/^/$as_me: WARNING: /" >&2
26275 ;;
26276 esac
26277 echo "$as_me:$LINENO: checking for tiff.h" >&5
26278 echo $ECHO_N "checking for tiff.h... $ECHO_C" >&6
26279 if test "${ac_cv_header_tiff_h+set}" = set; then
26280 echo $ECHO_N "(cached) $ECHO_C" >&6
26281 else
26282 ac_cv_header_tiff_h=$ac_header_preproc
26283 fi
26284 echo "$as_me:$LINENO: result: $ac_cv_header_tiff_h" >&5
26285 echo "${ECHO_T}$ac_cv_header_tiff_h" >&6
26286
26287 fi
26288 if test $ac_cv_header_tiff_h = yes; then
24041 ac_fn_c_check_header_mongrel "$LINENO" "tiff.h" "ac_cv_header_tiff_h" "$ac_includes_default"
24042 if test "x$ac_cv_header_tiff_h" = xyes; then :
2628924043 passed=`expr $passed + 1`
2629024044 else
2629124045 failed=`expr $failed + 1`
2629224046 fi
2629324047
2629424048
26295 if test "${ac_cv_header_tiffio_h+set}" = set; then
26296 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26297 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26298 if test "${ac_cv_header_tiffio_h+set}" = set; then
26299 echo $ECHO_N "(cached) $ECHO_C" >&6
26300 fi
26301 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26302 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26303 else
26304 # Is the header compilable?
26305 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26306 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26307 cat >conftest.$ac_ext <<_ACEOF
26308 /* confdefs.h. */
26309 _ACEOF
26310 cat confdefs.h >>conftest.$ac_ext
26311 cat >>conftest.$ac_ext <<_ACEOF
26312 /* end confdefs.h. */
26313 $ac_includes_default
26314 #include <tiffio.h>
26315 _ACEOF
26316 rm -f conftest.$ac_objext
26317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26318 (eval $ac_compile) 2>conftest.er1
26319 ac_status=$?
26320 grep -v '^ *+' conftest.er1 >conftest.err
26321 rm -f conftest.er1
26322 cat conftest.err >&5
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); } &&
26325 { ac_try='test -z "$ac_c_werror_flag"
26326 || test ! -s conftest.err'
26327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26328 (eval $ac_try) 2>&5
26329 ac_status=$?
26330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331 (exit $ac_status); }; } &&
26332 { ac_try='test -s conftest.$ac_objext'
26333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26334 (eval $ac_try) 2>&5
26335 ac_status=$?
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); }; }; then
26338 ac_header_compiler=yes
26339 else
26340 echo "$as_me: failed program was:" >&5
26341 sed 's/^/| /' conftest.$ac_ext >&5
26342
26343 ac_header_compiler=no
26344 fi
26345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26346 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26347 echo "${ECHO_T}$ac_header_compiler" >&6
26348
26349 # Is the header present?
26350 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26351 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26352 cat >conftest.$ac_ext <<_ACEOF
26353 /* confdefs.h. */
26354 _ACEOF
26355 cat confdefs.h >>conftest.$ac_ext
26356 cat >>conftest.$ac_ext <<_ACEOF
26357 /* end confdefs.h. */
26358 #include <tiffio.h>
26359 _ACEOF
26360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26362 ac_status=$?
26363 grep -v '^ *+' conftest.er1 >conftest.err
26364 rm -f conftest.er1
26365 cat conftest.err >&5
26366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26367 (exit $ac_status); } >/dev/null; then
26368 if test -s conftest.err; then
26369 ac_cpp_err=$ac_c_preproc_warn_flag
26370 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26371 else
26372 ac_cpp_err=
26373 fi
26374 else
26375 ac_cpp_err=yes
26376 fi
26377 if test -z "$ac_cpp_err"; then
26378 ac_header_preproc=yes
26379 else
26380 echo "$as_me: failed program was:" >&5
26381 sed 's/^/| /' conftest.$ac_ext >&5
26382
26383 ac_header_preproc=no
26384 fi
26385 rm -f conftest.err conftest.$ac_ext
26386 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26387 echo "${ECHO_T}$ac_header_preproc" >&6
26388
26389 # So? What about this header?
26390 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26391 yes:no: )
26392 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26393 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26394 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26395 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26396 ac_header_preproc=yes
26397 ;;
26398 no:yes:* )
26399 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26400 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26401 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26402 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26403 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26404 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26405 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26406 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26407 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26408 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26409 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26410 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26411 (
26412 cat <<\_ASBOX
26413 ## ----------------------------- ##
26414 ## Report this to the dx lists. ##
26415 ## ----------------------------- ##
26416 _ASBOX
26417 ) |
26418 sed "s/^/$as_me: WARNING: /" >&2
26419 ;;
26420 esac
26421 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26422 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26423 if test "${ac_cv_header_tiffio_h+set}" = set; then
26424 echo $ECHO_N "(cached) $ECHO_C" >&6
26425 else
26426 ac_cv_header_tiffio_h=$ac_header_preproc
26427 fi
26428 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26429 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26430
26431 fi
26432 if test $ac_cv_header_tiffio_h = yes; then
24049 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
24050 if test "x$ac_cv_header_tiffio_h" = xyes; then :
2643324051 passed=`expr $passed + 1`
2643424052 else
2643524053 failed=`expr $failed + 1`
2643624054 fi
2643724055
2643824056
26439 echo "$as_me:$LINENO: checking for TIFFOpen in -ltiff" >&5
26440 echo $ECHO_N "checking for TIFFOpen in -ltiff... $ECHO_C" >&6
26441 if test "${ac_cv_lib_tiff_TIFFOpen+set}" = set; then
26442 echo $ECHO_N "(cached) $ECHO_C" >&6
24057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFOpen in -ltiff" >&5
24058 $as_echo_n "checking for TIFFOpen in -ltiff... " >&6; }
24059 if ${ac_cv_lib_tiff_TIFFOpen+:} false; then :
24060 $as_echo_n "(cached) " >&6
2644324061 else
2644424062 ac_check_lib_save_LIBS=$LIBS
2644524063 LIBS="-ltiff -lm $LIBS"
26446 cat >conftest.$ac_ext <<_ACEOF
26447 /* confdefs.h. */
26448 _ACEOF
26449 cat confdefs.h >>conftest.$ac_ext
26450 cat >>conftest.$ac_ext <<_ACEOF
24064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2645124065 /* end confdefs.h. */
2645224066
26453 /* Override any gcc2 internal prototype to avoid an error. */
24067 /* Override any GCC internal prototype to avoid an error.
24068 Use char because int might match the return type of a GCC
24069 builtin and then its argument prototype would still apply. */
2645424070 #ifdef __cplusplus
2645524071 extern "C"
2645624072 #endif
26457 /* We use char because int might match the return type of a gcc2
26458 builtin and then its argument prototype would still apply. */
2645924073 char TIFFOpen ();
2646024074 int
2646124075 main ()
2646224076 {
26463 TIFFOpen ();
24077 return TIFFOpen ();
2646424078 ;
2646524079 return 0;
2646624080 }
2646724081 _ACEOF
26468 rm -f conftest.$ac_objext conftest$ac_exeext
26469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26470 (eval $ac_link) 2>conftest.er1
26471 ac_status=$?
26472 grep -v '^ *+' conftest.er1 >conftest.err
26473 rm -f conftest.er1
26474 cat conftest.err >&5
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); } &&
26477 { ac_try='test -z "$ac_c_werror_flag"
26478 || test ! -s conftest.err'
26479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26480 (eval $ac_try) 2>&5
26481 ac_status=$?
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); }; } &&
26484 { ac_try='test -s conftest$ac_exeext'
26485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26486 (eval $ac_try) 2>&5
26487 ac_status=$?
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); }; }; then
24082 if ac_fn_c_try_link "$LINENO"; then :
2649024083 ac_cv_lib_tiff_TIFFOpen=yes
2649124084 else
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.$ac_ext >&5
26494
26495 ac_cv_lib_tiff_TIFFOpen=no
26496 fi
26497 rm -f conftest.err conftest.$ac_objext \
26498 conftest$ac_exeext conftest.$ac_ext
24085 ac_cv_lib_tiff_TIFFOpen=no
24086 fi
24087 rm -f core conftest.err conftest.$ac_objext \
24088 conftest$ac_exeext conftest.$ac_ext
2649924089 LIBS=$ac_check_lib_save_LIBS
2650024090 fi
26501 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFOpen" >&5
26502 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFOpen" >&6
26503 if test $ac_cv_lib_tiff_TIFFOpen = yes; then
24091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFOpen" >&5
24092 $as_echo "$ac_cv_lib_tiff_TIFFOpen" >&6; }
24093 if test "x$ac_cv_lib_tiff_TIFFOpen" = xyes; then :
2650424094 passed=`expr $passed + 1`
2650524095 else
2650624096 failed=`expr $failed + 1`
2650724097 fi
2650824098
26509 echo "$as_me:$LINENO: checking if TIFF package is complete" >&5
26510 echo $ECHO_N "checking if TIFF package is complete... $ECHO_C" >&6
24099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if TIFF package is complete" >&5
24100 $as_echo_n "checking if TIFF package is complete... " >&6; }
2651124101 if test $passed -gt 0
2651224102 then
2651324103 if test $failed -gt 0
2651424104 then
26515 echo "$as_me:$LINENO: result: no -- some components failed test" >&5
26516 echo "${ECHO_T}no -- some components failed test" >&6
24105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
24106 $as_echo "no -- some components failed test" >&6; }
2651724107 have_tiff='no (failed tests)'
2651824108 else
2651924109 LIB_TIFF='-ltiff'
2652024110 LIBS="$LIB_TIFF $LIBS"
2652124111 FMT_LIBS="$FMT_LIBS libtiff.a"
2652224112
26523 cat >>confdefs.h <<\_ACEOF
26524 #define HAVE_LIBTIFF 1
26525 _ACEOF
26526
26527 echo "$as_me:$LINENO: result: yes" >&5
26528 echo "${ECHO_T}yes" >&6
24113 $as_echo "#define HAVE_LIBTIFF 1" >>confdefs.h
24114
24115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24116 $as_echo "yes" >&6; }
2652924117 have_tiff='yes'
2653024118 fi
2653124119 else
26532 echo "$as_me:$LINENO: result: no" >&5
26533 echo "${ECHO_T}no" >&6
24120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24121 $as_echo "no" >&6; }
2653424122 fi
2653524123 fi
2653624124
2653924127 #
2654024128 have_xpm='no'
2654124129 LIB_XPM=''
26542 { echo "$as_me:$LINENO: checking for XPM support ......" >&5
26543 echo "$as_me: checking for XPM support ......" >&6;}
24130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPM support ......" >&5
24131 $as_echo "$as_me: checking for XPM support ......" >&6;}
2654424132 failed=0;
2654524133 passed=0;
26546
26547
2654824134 for ac_header in xpm.h X11/xpm.h
26549 do
26550 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26552 echo "$as_me:$LINENO: checking for $ac_header" >&5
26553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26555 echo $ECHO_N "(cached) $ECHO_C" >&6
26556 fi
26557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26559 else
26560 # Is the header compilable?
26561 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26562 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26563 cat >conftest.$ac_ext <<_ACEOF
26564 /* confdefs.h. */
26565 _ACEOF
26566 cat confdefs.h >>conftest.$ac_ext
26567 cat >>conftest.$ac_ext <<_ACEOF
26568 /* end confdefs.h. */
26569 $ac_includes_default
26570 #include <$ac_header>
26571 _ACEOF
26572 rm -f conftest.$ac_objext
26573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26574 (eval $ac_compile) 2>conftest.er1
26575 ac_status=$?
26576 grep -v '^ *+' conftest.er1 >conftest.err
26577 rm -f conftest.er1
26578 cat conftest.err >&5
26579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26580 (exit $ac_status); } &&
26581 { ac_try='test -z "$ac_c_werror_flag"
26582 || test ! -s conftest.err'
26583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26584 (eval $ac_try) 2>&5
26585 ac_status=$?
26586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26587 (exit $ac_status); }; } &&
26588 { ac_try='test -s conftest.$ac_objext'
26589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26590 (eval $ac_try) 2>&5
26591 ac_status=$?
26592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 (exit $ac_status); }; }; then
26594 ac_header_compiler=yes
26595 else
26596 echo "$as_me: failed program was:" >&5
26597 sed 's/^/| /' conftest.$ac_ext >&5
26598
26599 ac_header_compiler=no
26600 fi
26601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26602 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26603 echo "${ECHO_T}$ac_header_compiler" >&6
26604
26605 # Is the header present?
26606 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26607 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26608 cat >conftest.$ac_ext <<_ACEOF
26609 /* confdefs.h. */
26610 _ACEOF
26611 cat confdefs.h >>conftest.$ac_ext
26612 cat >>conftest.$ac_ext <<_ACEOF
26613 /* end confdefs.h. */
26614 #include <$ac_header>
26615 _ACEOF
26616 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26617 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26618 ac_status=$?
26619 grep -v '^ *+' conftest.er1 >conftest.err
26620 rm -f conftest.er1
26621 cat conftest.err >&5
26622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623 (exit $ac_status); } >/dev/null; then
26624 if test -s conftest.err; then
26625 ac_cpp_err=$ac_c_preproc_warn_flag
26626 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26627 else
26628 ac_cpp_err=
26629 fi
26630 else
26631 ac_cpp_err=yes
26632 fi
26633 if test -z "$ac_cpp_err"; then
26634 ac_header_preproc=yes
26635 else
26636 echo "$as_me: failed program was:" >&5
26637 sed 's/^/| /' conftest.$ac_ext >&5
26638
26639 ac_header_preproc=no
26640 fi
26641 rm -f conftest.err conftest.$ac_ext
26642 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26643 echo "${ECHO_T}$ac_header_preproc" >&6
26644
26645 # So? What about this header?
26646 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26647 yes:no: )
26648 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26649 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26650 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26651 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26652 ac_header_preproc=yes
26653 ;;
26654 no:yes:* )
26655 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26656 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26657 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26658 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26659 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26660 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26661 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26662 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26663 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26664 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26665 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26666 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26667 (
26668 cat <<\_ASBOX
26669 ## ----------------------------- ##
26670 ## Report this to the dx lists. ##
26671 ## ----------------------------- ##
26672 _ASBOX
26673 ) |
26674 sed "s/^/$as_me: WARNING: /" >&2
26675 ;;
26676 esac
26677 echo "$as_me:$LINENO: checking for $ac_header" >&5
26678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26680 echo $ECHO_N "(cached) $ECHO_C" >&6
26681 else
26682 eval "$as_ac_Header=\$ac_header_preproc"
26683 fi
26684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26685 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26686
26687 fi
26688 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24135 do :
24136 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24137 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24138 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
2668924139 cat >>confdefs.h <<_ACEOF
26690 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24140 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
2669124141 _ACEOF
2669224142
2669324143 fi
2670024150 else
2670124151 failed=`expr $failed + 1`
2670224152 fi
26703 echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
26704 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
26705 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
26706 echo $ECHO_N "(cached) $ECHO_C" >&6
24153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5
24154 $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; }
24155 if ${ac_cv_lib_Xpm_XpmReadFileToPixmap+:} false; then :
24156 $as_echo_n "(cached) " >&6
2670724157 else
2670824158 ac_check_lib_save_LIBS=$LIBS
2670924159 LIBS="-lXpm $LIBS"
26710 cat >conftest.$ac_ext <<_ACEOF
26711 /* confdefs.h. */
26712 _ACEOF
26713 cat confdefs.h >>conftest.$ac_ext
26714 cat >>conftest.$ac_ext <<_ACEOF
24160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2671524161 /* end confdefs.h. */
2671624162
26717 /* Override any gcc2 internal prototype to avoid an error. */
24163 /* Override any GCC internal prototype to avoid an error.
24164 Use char because int might match the return type of a GCC
24165 builtin and then its argument prototype would still apply. */
2671824166 #ifdef __cplusplus
2671924167 extern "C"
2672024168 #endif
26721 /* We use char because int might match the return type of a gcc2
26722 builtin and then its argument prototype would still apply. */
2672324169 char XpmReadFileToPixmap ();
2672424170 int
2672524171 main ()
2672624172 {
26727 XpmReadFileToPixmap ();
24173 return XpmReadFileToPixmap ();
2672824174 ;
2672924175 return 0;
2673024176 }
2673124177 _ACEOF
26732 rm -f conftest.$ac_objext conftest$ac_exeext
26733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26734 (eval $ac_link) 2>conftest.er1
26735 ac_status=$?
26736 grep -v '^ *+' conftest.er1 >conftest.err
26737 rm -f conftest.er1
26738 cat conftest.err >&5
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); } &&
26741 { ac_try='test -z "$ac_c_werror_flag"
26742 || test ! -s conftest.err'
26743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26744 (eval $ac_try) 2>&5
26745 ac_status=$?
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); }; } &&
26748 { ac_try='test -s conftest$ac_exeext'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26751 ac_status=$?
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; }; then
24178 if ac_fn_c_try_link "$LINENO"; then :
2675424179 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
2675524180 else
26756 echo "$as_me: failed program was:" >&5
26757 sed 's/^/| /' conftest.$ac_ext >&5
26758
26759 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
26760 fi
26761 rm -f conftest.err conftest.$ac_objext \
26762 conftest$ac_exeext conftest.$ac_ext
24181 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
24182 fi
24183 rm -f core conftest.err conftest.$ac_objext \
24184 conftest$ac_exeext conftest.$ac_ext
2676324185 LIBS=$ac_check_lib_save_LIBS
2676424186 fi
26765 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
26766 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
26767 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
24187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
24188 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
24189 if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = xyes; then :
2676824190 passed=`expr $passed + 1`
2676924191 else
2677024192 failed=`expr $failed + 1`
2677124193 fi
2677224194
26773 echo "$as_me:$LINENO: checking if XPM package is complete" >&5
26774 echo $ECHO_N "checking if XPM package is complete... $ECHO_C" >&6
24195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if XPM package is complete" >&5
24196 $as_echo_n "checking if XPM package is complete... " >&6; }
2677524197 if test $passed -gt 0
2677624198 then
2677724199 if test $failed -gt 0
2677824200 then
26779 echo "$as_me:$LINENO: result: no -- some components failed test" >&5
26780 echo "${ECHO_T}no -- some components failed test" >&6
24201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
24202 $as_echo "no -- some components failed test" >&6; }
2678124203 have_xpm='no (failed tests)'
2678224204 else
2678324205 LIB_XPM='-lXpm'
2678424206 LIBS="$LIB_XPM $LIBS"
2678524207
26786 cat >>confdefs.h <<\_ACEOF
26787 #define HAVE_LIBXPM 1
26788 _ACEOF
26789
26790 echo "$as_me:$LINENO: result: yes" >&5
26791 echo "${ECHO_T}yes" >&6
24208 $as_echo "#define HAVE_LIBXPM 1" >>confdefs.h
24209
24210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24211 $as_echo "yes" >&6; }
2679224212 have_xpm='yes'
2679324213 fi
2679424214 else
26795 echo "$as_me:$LINENO: result: no" >&5
26796 echo "${ECHO_T}no" >&6
24215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24216 $as_echo "no" >&6; }
2679724217 fi
2679824218
2679924219
2680424224 LIB_HDF=''
2680524225 if test "$with_hdf" != 'no'
2680624226 then
26807 { echo "$as_me:$LINENO: checking for HDF components ......" >&5
26808 echo "$as_me: checking for HDF components ......" >&6;}
24227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HDF components ......" >&5
24228 $as_echo "$as_me: checking for HDF components ......" >&6;}
2680924229 failed=0;
2681024230 passed=0;
26811
26812
26813 for ac_header in dfsd.h hdf/dfsd.h
26814 do
26815 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26817 echo "$as_me:$LINENO: checking for $ac_header" >&5
26818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26820 echo $ECHO_N "(cached) $ECHO_C" >&6
26821 fi
26822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26824 else
26825 # Is the header compilable?
26826 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26827 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26828 cat >conftest.$ac_ext <<_ACEOF
26829 /* confdefs.h. */
26830 _ACEOF
26831 cat confdefs.h >>conftest.$ac_ext
26832 cat >>conftest.$ac_ext <<_ACEOF
26833 /* end confdefs.h. */
26834 $ac_includes_default
26835 #include <$ac_header>
26836 _ACEOF
26837 rm -f conftest.$ac_objext
26838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26839 (eval $ac_compile) 2>conftest.er1
26840 ac_status=$?
26841 grep -v '^ *+' conftest.er1 >conftest.err
26842 rm -f conftest.er1
26843 cat conftest.err >&5
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); } &&
26846 { ac_try='test -z "$ac_c_werror_flag"
26847 || test ! -s conftest.err'
26848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26849 (eval $ac_try) 2>&5
26850 ac_status=$?
26851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26852 (exit $ac_status); }; } &&
26853 { ac_try='test -s conftest.$ac_objext'
26854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26855 (eval $ac_try) 2>&5
26856 ac_status=$?
26857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26858 (exit $ac_status); }; }; then
26859 ac_header_compiler=yes
26860 else
26861 echo "$as_me: failed program was:" >&5
26862 sed 's/^/| /' conftest.$ac_ext >&5
26863
26864 ac_header_compiler=no
26865 fi
26866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26867 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26868 echo "${ECHO_T}$ac_header_compiler" >&6
26869
26870 # Is the header present?
26871 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26872 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26873 cat >conftest.$ac_ext <<_ACEOF
26874 /* confdefs.h. */
26875 _ACEOF
26876 cat confdefs.h >>conftest.$ac_ext
26877 cat >>conftest.$ac_ext <<_ACEOF
26878 /* end confdefs.h. */
26879 #include <$ac_header>
26880 _ACEOF
26881 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26882 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26883 ac_status=$?
26884 grep -v '^ *+' conftest.er1 >conftest.err
26885 rm -f conftest.er1
26886 cat conftest.err >&5
26887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888 (exit $ac_status); } >/dev/null; then
26889 if test -s conftest.err; then
26890 ac_cpp_err=$ac_c_preproc_warn_flag
26891 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26892 else
26893 ac_cpp_err=
26894 fi
26895 else
26896 ac_cpp_err=yes
26897 fi
26898 if test -z "$ac_cpp_err"; then
26899 ac_header_preproc=yes
26900 else
26901 echo "$as_me: failed program was:" >&5
26902 sed 's/^/| /' conftest.$ac_ext >&5
26903
26904 ac_header_preproc=no
26905 fi
26906 rm -f conftest.err conftest.$ac_ext
26907 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26908 echo "${ECHO_T}$ac_header_preproc" >&6
26909
26910 # So? What about this header?
26911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26912 yes:no: )
26913 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26914 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26916 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26917 ac_header_preproc=yes
26918 ;;
26919 no:yes:* )
26920 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26922 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26923 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26924 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26925 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26926 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26927 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26930 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26931 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26932 (
26933 cat <<\_ASBOX
26934 ## ----------------------------- ##
26935 ## Report this to the dx lists. ##
26936 ## ----------------------------- ##
26937 _ASBOX
26938 ) |
26939 sed "s/^/$as_me: WARNING: /" >&2
26940 ;;
26941 esac
26942 echo "$as_me:$LINENO: checking for $ac_header" >&5
26943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26945 echo $ECHO_N "(cached) $ECHO_C" >&6
26946 else
26947 eval "$as_ac_Header=\$ac_header_preproc"
26948 fi
26949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26951
26952 fi
26953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24231 for ac_header in dfsd.h hdf/dfsd.h
24232 do :
24233 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24234 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24235 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
2695424236 cat >>confdefs.h <<_ACEOF
26955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24237 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
2695624238 _ACEOF
2695724239
2695824240 fi
2696624248 failed=`expr $failed + 1`
2696724249 fi
2696824250 if test "$ARCH" = "intelnt" ; then
26969 echo "$as_me:$LINENO: checking for Hopen in -lhd421m" >&5
26970 echo $ECHO_N "checking for Hopen in -lhd421m... $ECHO_C" >&6
26971 if test "${ac_cv_lib_hd421m_Hopen+set}" = set; then
26972 echo $ECHO_N "(cached) $ECHO_C" >&6
24251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Hopen in -lhd421m" >&5
24252 $as_echo_n "checking for Hopen in -lhd421m... " >&6; }
24253 if ${ac_cv_lib_hd421m_Hopen+:} false; then :
24254 $as_echo_n "(cached) " >&6
2697324255 else
2697424256 ac_check_lib_save_LIBS=$LIBS
2697524257 LIBS="-lhd421m hm421m.lib $LIBS"
26976 cat >conftest.$ac_ext <<_ACEOF
26977 /* confdefs.h. */
26978 _ACEOF
26979 cat confdefs.h >>conftest.$ac_ext
26980 cat >>conftest.$ac_ext <<_ACEOF
24258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2698124259 /* end confdefs.h. */
2698224260
26983 /* Override any gcc2 internal prototype to avoid an error. */
24261 /* Override any GCC internal prototype to avoid an error.
24262 Use char because int might match the return type of a GCC
24263 builtin and then its argument prototype would still apply. */
2698424264 #ifdef __cplusplus
2698524265 extern "C"
2698624266 #endif
26987 /* We use char because int might match the return type of a gcc2
26988 builtin and then its argument prototype would still apply. */
2698924267 char Hopen ();
2699024268 int
2699124269 main ()
2699224270 {
26993 Hopen ();
24271 return Hopen ();
2699424272 ;
2699524273 return 0;
2699624274 }
2699724275 _ACEOF
26998 rm -f conftest.$ac_objext conftest$ac_exeext
26999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27000 (eval $ac_link) 2>conftest.er1
27001 ac_status=$?
27002 grep -v '^ *+' conftest.er1 >conftest.err
27003 rm -f conftest.er1
27004 cat conftest.err >&5
27005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27006 (exit $ac_status); } &&
27007 { ac_try='test -z "$ac_c_werror_flag"
27008 || test ! -s conftest.err'
27009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27010 (eval $ac_try) 2>&5
27011 ac_status=$?
27012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27013 (exit $ac_status); }; } &&
27014 { ac_try='test -s conftest$ac_exeext'
27015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27016 (eval $ac_try) 2>&5
27017 ac_status=$?
27018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27019 (exit $ac_status); }; }; then
24276 if ac_fn_c_try_link "$LINENO"; then :
2702024277 ac_cv_lib_hd421m_Hopen=yes
2702124278 else
27022 echo "$as_me: failed program was:" >&5
27023 sed 's/^/| /' conftest.$ac_ext >&5
27024
27025 ac_cv_lib_hd421m_Hopen=no
27026 fi
27027 rm -f conftest.err conftest.$ac_objext \
27028 conftest$ac_exeext conftest.$ac_ext
24279 ac_cv_lib_hd421m_Hopen=no
24280 fi
24281 rm -f core conftest.err conftest.$ac_objext \
24282 conftest$ac_exeext conftest.$ac_ext
2702924283 LIBS=$ac_check_lib_save_LIBS
2703024284 fi
27031 echo "$as_me:$LINENO: result: $ac_cv_lib_hd421m_Hopen" >&5
27032 echo "${ECHO_T}$ac_cv_lib_hd421m_Hopen" >&6
27033 if test $ac_cv_lib_hd421m_Hopen = yes; then
24285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hd421m_Hopen" >&5
24286 $as_echo "$ac_cv_lib_hd421m_Hopen" >&6; }
24287 if test "x$ac_cv_lib_hd421m_Hopen" = xyes; then :
2703424288 passed=`expr $passed + 1`
2703524289 else
2703624290 failed=`expr $failed + 1`
2703724291 fi
2703824292
27039 echo "$as_me:$LINENO: checking if HDF package is complete" >&5
27040 echo $ECHO_N "checking if HDF package is complete... $ECHO_C" >&6
24293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if HDF package is complete" >&5
24294 $as_echo_n "checking if HDF package is complete... " >&6; }
2704124295 if test $passed -gt 0
2704224296 then
2704324297 if test $failed -gt 0
2704424298 then
27045 echo "$as_me:$LINENO: result: no -- some components failed test" >&5
27046 echo "${ECHO_T}no -- some components failed test" >&6
24299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
24300 $as_echo "no -- some components failed test" >&6; }
2704724301 have_hdf='no (failed tests)'
2704824302 else
2704924303 LIB_HDF='-lhm421m'
2705024304 LIBS="$LIB_HDF $LIBS"
2705124305 FMT_LIBS="$FMT_LIBS hm421m.lib"
2705224306
27053 cat >>confdefs.h <<\_ACEOF
27054 #define HAVE_LIBDF 1
27055 _ACEOF
27056
27057 echo "$as_me:$LINENO: result: yes" >&5
27058 echo "${ECHO_T}yes" >&6
24307 $as_echo "#define HAVE_LIBDF 1" >>confdefs.h
24308
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24310 $as_echo "yes" >&6; }
2705924311 have_hdf='yes'
2706024312 fi
2706124313 else
27062 echo "$as_me:$LINENO: result: no" >&5
27063 echo "${ECHO_T}no" >&6
24314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24315 $as_echo "no" >&6; }
2706424316 fi
2706524317 else
27066 echo "$as_me:$LINENO: checking for Hopen in -ldf" >&5
27067 echo $ECHO_N "checking for Hopen in -ldf... $ECHO_C" >&6
27068 if test "${ac_cv_lib_df_Hopen+set}" = set; then
27069 echo $ECHO_N "(cached) $ECHO_C" >&6
24318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Hopen in -ldf" >&5
24319 $as_echo_n "checking for Hopen in -ldf... " >&6; }
24320 if ${ac_cv_lib_df_Hopen+:} false; then :
24321 $as_echo_n "(cached) " >&6
2707024322 else
2707124323 ac_check_lib_save_LIBS=$LIBS
2707224324 LIBS="-ldf -lz -ljpeg $LIBS"
27073 cat >conftest.$ac_ext <<_ACEOF
27074 /* confdefs.h. */
27075 _ACEOF
27076 cat confdefs.h >>conftest.$ac_ext
27077 cat >>conftest.$ac_ext <<_ACEOF
24325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2707824326 /* end confdefs.h. */
2707924327
27080 /* Override any gcc2 internal prototype to avoid an error. */
24328 /* Override any GCC internal prototype to avoid an error.
24329 Use char because int might match the return type of a GCC
24330 builtin and then its argument prototype would still apply. */
2708124331 #ifdef __cplusplus
2708224332 extern "C"
2708324333 #endif
27084 /* We use char because int might match the return type of a gcc2
27085 builtin and then its argument prototype would still apply. */
2708624334 char Hopen ();
2708724335 int
2708824336 main ()
2708924337 {
27090 Hopen ();
24338 return Hopen ();
2709124339 ;
2709224340 return 0;
2709324341 }
2709424342 _ACEOF
27095 rm -f conftest.$ac_objext conftest$ac_exeext
27096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27097 (eval $ac_link) 2>conftest.er1
27098 ac_status=$?
27099 grep -v '^ *+' conftest.er1 >conftest.err
27100 rm -f conftest.er1
27101 cat conftest.err >&5
27102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27103 (exit $ac_status); } &&
27104 { ac_try='test -z "$ac_c_werror_flag"
27105 || test ! -s conftest.err'
27106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27107 (eval $ac_try) 2>&5
27108 ac_status=$?
27109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27110 (exit $ac_status); }; } &&
27111 { ac_try='test -s conftest$ac_exeext'
27112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27113 (eval $ac_try) 2>&5
27114 ac_status=$?
27115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27116 (exit $ac_status); }; }; then
24343 if ac_fn_c_try_link "$LINENO"; then :
2711724344 ac_cv_lib_df_Hopen=yes
2711824345 else
27119 echo "$as_me: failed program was:" >&5
27120 sed 's/^/| /' conftest.$ac_ext >&5
27121
27122 ac_cv_lib_df_Hopen=no
27123 fi
27124 rm -f conftest.err conftest.$ac_objext \
27125 conftest$ac_exeext conftest.$ac_ext
24346 ac_cv_lib_df_Hopen=no
24347 fi
24348 rm -f core conftest.err conftest.$ac_objext \
24349 conftest$ac_exeext conftest.$ac_ext
2712624350 LIBS=$ac_check_lib_save_LIBS
2712724351 fi
27128 echo "$as_me:$LINENO: result: $ac_cv_lib_df_Hopen" >&5
27129 echo "${ECHO_T}$ac_cv_lib_df_Hopen" >&6
27130 if test $ac_cv_lib_df_Hopen = yes; then
24352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_df_Hopen" >&5
24353 $as_echo "$ac_cv_lib_df_Hopen" >&6; }
24354 if test "x$ac_cv_lib_df_Hopen" = xyes; then :
2713124355 passed=`expr $passed + 1`
2713224356 else
2713324357 failed=`expr $failed + 1`
2713424358 fi
2713524359
27136 echo "$as_me:$LINENO: checking if HDF package is complete" >&5
27137 echo $ECHO_N "checking if HDF package is complete... $ECHO_C" >&6
24360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if HDF package is complete" >&5
24361 $as_echo_n "checking if HDF package is complete... " >&6; }
2713824362 if test $passed -gt 0
2713924363 then
2714024364 if test $failed -gt 0
2714124365 then
27142 echo "$as_me:$LINENO: result: no -- some components failed test" >&5
27143 echo "${ECHO_T}no -- some components failed test" >&6
24366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
24367 $as_echo "no -- some components failed test" >&6; }
2714424368 have_hdf='no (failed tests)'
2714524369 else
2714624370 LIB_HDF='-ldf'
2714724371 LIBS="$LIB_HDF $LIBS"
2714824372 FMT_LIBS="$FMT_LIBS libdf.a"
2714924373
27150 cat >>confdefs.h <<\_ACEOF
27151 #define HAVE_LIBDF 1
27152 _ACEOF
27153
27154 echo "$as_me:$LINENO: result: yes" >&5
27155 echo "${ECHO_T}yes" >&6
24374 $as_echo "#define HAVE_LIBDF 1" >>confdefs.h
24375
24376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24377 $as_echo "yes" >&6; }
2715624378 have_hdf='yes'
2715724379 fi
2715824380 else
27159 echo "$as_me:$LINENO: result: no" >&5
27160 echo "${ECHO_T}no" >&6
24381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24382 $as_echo "no" >&6; }
2716124383 fi
2716224384 fi
2716324385 fi
2717024392 LIB_CDF=''
2717124393 if test "$with_cdf" != 'no'
2717224394 then
27173 { echo "$as_me:$LINENO: checking for CDF support ......" >&5
27174 echo "$as_me: checking for CDF support ......" >&6;}
24395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CDF support ......" >&5
24396 $as_echo "$as_me: checking for CDF support ......" >&6;}
2717524397 failed=0;
2717624398 passed=0;
27177 if test "${ac_cv_header_cdf_h+set}" = set; then
27178 echo "$as_me:$LINENO: checking for cdf.h" >&5
27179 echo $ECHO_N "checking for cdf.h... $ECHO_C" >&6
27180 if test "${ac_cv_header_cdf_h+set}" = set; then
27181 echo $ECHO_N "(cached) $ECHO_C" >&6
27182 fi
27183 echo "$as_me:$LINENO: result: $ac_cv_header_cdf_h" >&5
27184 echo "${ECHO_T}$ac_cv_header_cdf_h" >&6
27185 else
27186 # Is the header compilable?
27187 echo "$as_me:$LINENO: checking cdf.h usability" >&5
27188 echo $ECHO_N "checking cdf.h usability... $ECHO_C" >&6
27189 cat >conftest.$ac_ext <<_ACEOF
27190 /* confdefs.h. */
27191 _ACEOF
27192 cat confdefs.h >>conftest.$ac_ext
27193 cat >>conftest.$ac_ext <<_ACEOF
27194 /* end confdefs.h. */
27195 $ac_includes_default
27196 #include <cdf.h>
27197 _ACEOF
27198 rm -f conftest.$ac_objext
27199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27200 (eval $ac_compile) 2>conftest.er1
27201 ac_status=$?
27202 grep -v '^ *+' conftest.er1 >conftest.err
27203 rm -f conftest.er1
27204 cat conftest.err >&5
27205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27206 (exit $ac_status); } &&
27207 { ac_try='test -z "$ac_c_werror_flag"
27208 || test ! -s conftest.err'
27209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27210 (eval $ac_try) 2>&5
27211 ac_status=$?
27212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27213 (exit $ac_status); }; } &&
27214 { ac_try='test -s conftest.$ac_objext'
27215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27216 (eval $ac_try) 2>&5
27217 ac_status=$?
27218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219 (exit $ac_status); }; }; then
27220 ac_header_compiler=yes
27221 else
27222 echo "$as_me: failed program was:" >&5
27223 sed 's/^/| /' conftest.$ac_ext >&5
27224
27225 ac_header_compiler=no
27226 fi
27227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27228 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27229 echo "${ECHO_T}$ac_header_compiler" >&6
27230
27231 # Is the header present?
27232 echo "$as_me:$LINENO: checking cdf.h presence" >&5
27233 echo $ECHO_N "checking cdf.h presence... $ECHO_C" >&6
27234 cat >conftest.$ac_ext <<_ACEOF
27235 /* confdefs.h. */
27236 _ACEOF
27237 cat confdefs.h >>conftest.$ac_ext
27238 cat >>conftest.$ac_ext <<_ACEOF
27239 /* end confdefs.h. */
27240 #include <cdf.h>
27241 _ACEOF
27242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27243 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27244 ac_status=$?
27245 grep -v '^ *+' conftest.er1 >conftest.err
27246 rm -f conftest.er1
27247 cat conftest.err >&5
27248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27249 (exit $ac_status); } >/dev/null; then
27250 if test -s conftest.err; then
27251 ac_cpp_err=$ac_c_preproc_warn_flag
27252 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27253 else
27254 ac_cpp_err=
27255 fi
27256 else
27257 ac_cpp_err=yes
27258 fi
27259 if test -z "$ac_cpp_err"; then
27260 ac_header_preproc=yes
27261 else
27262 echo "$as_me: failed program was:" >&5
27263 sed 's/^/| /' conftest.$ac_ext >&5
27264
27265 ac_header_preproc=no
27266 fi
27267 rm -f conftest.err conftest.$ac_ext
27268 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27269 echo "${ECHO_T}$ac_header_preproc" >&6
27270
27271 # So? What about this header?
27272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27273 yes:no: )
27274 { echo "$as_me:$LINENO: WARNING: cdf.h: accepted by the compiler, rejected by the preprocessor!" >&5
27275 echo "$as_me: WARNING: cdf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27276 { echo "$as_me:$LINENO: WARNING: cdf.h: proceeding with the compiler's result" >&5
27277 echo "$as_me: WARNING: cdf.h: proceeding with the compiler's result" >&2;}
27278 ac_header_preproc=yes
27279 ;;
27280 no:yes:* )
27281 { echo "$as_me:$LINENO: WARNING: cdf.h: present but cannot be compiled" >&5
27282 echo "$as_me: WARNING: cdf.h: present but cannot be compiled" >&2;}
27283 { echo "$as_me:$LINENO: WARNING: cdf.h: check for missing prerequisite headers?" >&5
27284 echo "$as_me: WARNING: cdf.h: check for missing prerequisite headers?" >&2;}
27285 { echo "$as_me:$LINENO: WARNING: cdf.h: see the Autoconf documentation" >&5
27286 echo "$as_me: WARNING: cdf.h: see the Autoconf documentation" >&2;}
27287 { echo "$as_me:$LINENO: WARNING: cdf.h: section \"Present But Cannot Be Compiled\"" >&5
27288 echo "$as_me: WARNING: cdf.h: section \"Present But Cannot Be Compiled\"" >&2;}
27289 { echo "$as_me:$LINENO: WARNING: cdf.h: proceeding with the preprocessor's result" >&5
27290 echo "$as_me: WARNING: cdf.h: proceeding with the preprocessor's result" >&2;}
27291 { echo "$as_me:$LINENO: WARNING: cdf.h: in the future, the compiler will take precedence" >&5
27292 echo "$as_me: WARNING: cdf.h: in the future, the compiler will take precedence" >&2;}
27293 (
27294 cat <<\_ASBOX
27295 ## ----------------------------- ##
27296 ## Report this to the dx lists. ##
27297 ## ----------------------------- ##
27298 _ASBOX
27299 ) |
27300 sed "s/^/$as_me: WARNING: /" >&2
27301 ;;
27302 esac
27303 echo "$as_me:$LINENO: checking for cdf.h" >&5
27304 echo $ECHO_N "checking for cdf.h... $ECHO_C" >&6
27305 if test "${ac_cv_header_cdf_h+set}" = set; then
27306 echo $ECHO_N "(cached) $ECHO_C" >&6
27307 else
27308 ac_cv_header_cdf_h=$ac_header_preproc
27309 fi
27310 echo "$as_me:$LINENO: result: $ac_cv_header_cdf_h" >&5
27311 echo "${ECHO_T}$ac_cv_header_cdf_h" >&6
27312
27313 fi
27314 if test $ac_cv_header_cdf_h = yes; then
24399 ac_fn_c_check_header_mongrel "$LINENO" "cdf.h" "ac_cv_header_cdf_h" "$ac_includes_default"
24400 if test "x$ac_cv_header_cdf_h" = xyes; then :
2731524401 passed=`expr $passed + 1`
2731624402 else
2731724403 failed=`expr $failed + 1`
2731924405
2732024406
2732124407 if test "$ARCH" = "intelnt" ; then
27322 echo "$as_me:$LINENO: checking for Hopen in -ldllcdf" >&5
27323 echo $ECHO_N "checking for Hopen in -ldllcdf... $ECHO_C" >&6
27324 if test "${ac_cv_lib_dllcdf_Hopen+set}" = set; then
27325 echo $ECHO_N "(cached) $ECHO_C" >&6
24408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Hopen in -ldllcdf" >&5
24409 $as_echo_n "checking for Hopen in -ldllcdf... " >&6; }
24410 if ${ac_cv_lib_dllcdf_Hopen+:} false; then :
24411 $as_echo_n "(cached) " >&6
2732624412 else
2732724413 ac_check_lib_save_LIBS=$LIBS
2732824414 LIBS="-ldllcdf $LIBS"
27329 cat >conftest.$ac_ext <<_ACEOF
27330 /* confdefs.h. */
27331 _ACEOF
27332 cat confdefs.h >>conftest.$ac_ext
27333 cat >>conftest.$ac_ext <<_ACEOF
24415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2733424416 /* end confdefs.h. */
2733524417
27336 /* Override any gcc2 internal prototype to avoid an error. */
24418 /* Override any GCC internal prototype to avoid an error.
24419 Use char because int might match the return type of a GCC
24420 builtin and then its argument prototype would still apply. */
2733724421 #ifdef __cplusplus
2733824422 extern "C"
2733924423 #endif
27340 /* We use char because int might match the return type of a gcc2
27341 builtin and then its argument prototype would still apply. */
2734224424 char Hopen ();
2734324425 int
2734424426 main ()
2734524427 {
27346 Hopen ();
24428 return Hopen ();
2734724429 ;
2734824430 return 0;
2734924431 }
2735024432 _ACEOF
27351 rm -f conftest.$ac_objext conftest$ac_exeext
27352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27353 (eval $ac_link) 2>conftest.er1
27354 ac_status=$?
27355 grep -v '^ *+' conftest.er1 >conftest.err
27356 rm -f conftest.er1
27357 cat conftest.err >&5
27358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27359 (exit $ac_status); } &&
27360 { ac_try='test -z "$ac_c_werror_flag"
27361 || test ! -s conftest.err'
27362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27363 (eval $ac_try) 2>&5
27364 ac_status=$?
27365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27366 (exit $ac_status); }; } &&
27367 { ac_try='test -s conftest$ac_exeext'
27368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27369 (eval $ac_try) 2>&5
27370 ac_status=$?
27371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372 (exit $ac_status); }; }; then
24433 if ac_fn_c_try_link "$LINENO"; then :
2737324434 ac_cv_lib_dllcdf_Hopen=yes
2737424435 else
27375 echo "$as_me: failed program was:" >&5
27376 sed 's/^/| /' conftest.$ac_ext >&5
27377
27378 ac_cv_lib_dllcdf_Hopen=no
27379 fi
27380 rm -f conftest.err conftest.$ac_objext \
27381 conftest$ac_exeext conftest.$ac_ext
24436 ac_cv_lib_dllcdf_Hopen=no
24437 fi
24438 rm -f core conftest.err conftest.$ac_objext \
24439 conftest$ac_exeext conftest.$ac_ext
2738224440 LIBS=$ac_check_lib_save_LIBS
2738324441 fi
27384 echo "$as_me:$LINENO: result: $ac_cv_lib_dllcdf_Hopen" >&5
27385 echo "${ECHO_T}$ac_cv_lib_dllcdf_Hopen" >&6
27386 if test $ac_cv_lib_dllcdf_Hopen = yes; then
24442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dllcdf_Hopen" >&5
24443 $as_echo "$ac_cv_lib_dllcdf_Hopen" >&6; }
24444 if test "x$ac_cv_lib_dllcdf_Hopen" = xyes; then :
2738724445 passed=`expr $passed + 1`
2738824446 else
2738924447 failed=`expr $failed + 1`
2739024448 fi
2739124449
27392 echo "$as_me:$LINENO: checking if CDF package is complete" >&5
27393 echo $ECHO_N "checking if CDF package is complete... $ECHO_C" >&6
24450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CDF package is complete" >&5
24451 $as_echo_n "checking if CDF package is complete... " >&6; }
2739424452 if test $passed -gt 0
2739524453 then
2739624454 if test $failed -gt 0
2739724455 then
27398 echo "$as_me:$LINENO: result: no -- some components failed test" >&5
27399 echo "${ECHO_T}no -- some components failed test" >&6
24456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
24457 $as_echo "no -- some components failed test" >&6; }
2740024458 have_cdf='no (failed tests)'
2740124459 else
2740224460 LIB_HDF='-ldllcdf'
2740324461 LIBS="$LIB_HDF $LIBS"
2740424462 FMT_LIBS="$FMT_LIBS dllcdf.lib"
2740524463
27406 cat >>confdefs.h <<\_ACEOF
27407 #define HAVE_LIBCDF 1
27408 _ACEOF
27409
27410 echo "$as_me:$LINENO: result: yes" >&5
27411 echo "${ECHO_T}yes" >&6
24464 $as_echo "#define HAVE_LIBCDF 1" >>confdefs.h
24465
24466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24467 $as_echo "yes" >&6; }
2741224468 have_cdf='yes'
2741324469 fi
2741424470 else
27415 echo "$as_me:$LINENO: result: no" >&5
27416 echo "${ECHO_T}no" >&6
24471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24472 $as_echo "no" >&6; }
2741724473 fi
2741824474 else
27419 echo "$as_me:$LINENO: checking for CDFlib in -lcdf" >&5
27420 echo $ECHO_N "checking for CDFlib in -lcdf... $ECHO_C" >&6
27421 if test "${ac_cv_lib_cdf_CDFlib+set}" = set; then
27422 echo $ECHO_N "(cached) $ECHO_C" >&6
24475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CDFlib in -lcdf" >&5
24476 $as_echo_n "checking for CDFlib in -lcdf... " >&6; }
24477 if ${ac_cv_lib_cdf_CDFlib+:} false; then :
24478 $as_echo_n "(cached) " >&6
2742324479 else
2742424480 ac_check_lib_save_LIBS=$LIBS
2742524481 LIBS="-lcdf $LIBS"
27426 cat >conftest.$ac_ext <<_ACEOF
27427 /* confdefs.h. */
27428 _ACEOF
27429 cat confdefs.h >>conftest.$ac_ext
27430 cat >>conftest.$ac_ext <<_ACEOF
24482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2743124483 /* end confdefs.h. */
2743224484
27433 /* Override any gcc2 internal prototype to avoid an error. */
24485 /* Override any GCC internal prototype to avoid an error.
24486 Use char because int might match the return type of a GCC
24487 builtin and then its argument prototype would still apply. */
2743424488 #ifdef __cplusplus
2743524489 extern "C"
2743624490 #endif
27437 /* We use char because int might match the return type of a gcc2
27438 builtin and then its argument prototype would still apply. */
2743924491 char CDFlib ();
2744024492 int
2744124493 main ()
2744224494 {
27443 CDFlib ();
24495 return CDFlib ();
2744424496 ;
2744524497 return 0;
2744624498 }
2744724499 _ACEOF
27448 rm -f conftest.$ac_objext conftest$ac_exeext
27449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27450 (eval $ac_link) 2>conftest.er1
27451 ac_status=$?
27452 grep -v '^ *+' conftest.er1 >conftest.err
27453 rm -f conftest.er1
27454 cat conftest.err >&5
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); } &&
27457 { ac_try='test -z "$ac_c_werror_flag"
27458 || test ! -s conftest.err'
27459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27460 (eval $ac_try) 2>&5
27461 ac_status=$?
27462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27463 (exit $ac_status); }; } &&
27464 { ac_try='test -s conftest$ac_exeext'
27465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27466 (eval $ac_try) 2>&5
27467 ac_status=$?
27468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27469 (exit $ac_status); }; }; then
24500 if ac_fn_c_try_link "$LINENO"; then :
2747024501 ac_cv_lib_cdf_CDFlib=yes
2747124502 else
27472 echo "$as_me: failed program was:" >&5
27473 sed 's/^/| /' conftest.$ac_ext >&5
27474
27475 ac_cv_lib_cdf_CDFlib=no
27476 fi
27477 rm -f conftest.err conftest.$ac_objext \
27478 conftest$ac_exeext conftest.$ac_ext
24503 ac_cv_lib_cdf_CDFlib=no
24504 fi
24505 rm -f core conftest.err conftest.$ac_objext \
24506 conftest$ac_exeext conftest.$ac_ext
2747924507 LIBS=$ac_check_lib_save_LIBS
2748024508 fi
27481 echo "$as_me:$LINENO: result: $ac_cv_lib_cdf_CDFlib" >&5
27482 echo "${ECHO_T}$ac_cv_lib_cdf_CDFlib" >&6
27483 if test $ac_cv_lib_cdf_CDFlib = yes; then
24509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdf_CDFlib" >&5
24510 $as_echo "$ac_cv_lib_cdf_CDFlib" >&6; }
24511 if test "x$ac_cv_lib_cdf_CDFlib" = xyes; then :
2748424512 passed=`expr $passed + 1`
2748524513 else
2748624514 failed=`expr $failed + 1`
2748724515 fi
2748824516
27489 echo "$as_me:$LINENO: checking if CDF package is complete" >&5
27490 echo $ECHO_N "checking if CDF package is complete... $ECHO_C" >&6
24517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CDF package is complete" >&5
24518 $as_echo_n "checking if CDF package is complete... " >&6; }
2749124519 if test $passed -gt 0
2749224520 then
2749324521 if test $failed -gt 0
2749424522 then
27495 echo "$as_me:$LINENO: result: no -- some components failed test" >&5
27496 echo "${ECHO_T}no -- some components failed test" >&6
24523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
24524 $as_echo "no -- some components failed test" >&6; }
2749724525 have_cdf='no (failed tests)'
2749824526 else
2749924527 LIB_CDF='-lcdf'
2750024528 LIBS="$LIB_CDF $LIBS"
2750124529 FMT_LIBS="$FMT_LIBS libcdf.a"
2750224530
27503 cat >>confdefs.h <<\_ACEOF
27504 #define HAVE_LIBCDF 1
27505 _ACEOF
27506
27507 echo "$as_me:$LINENO: result: yes" >&5
27508 echo "${ECHO_T}yes" >&6
24531 $as_echo "#define HAVE_LIBCDF 1" >>confdefs.h
24532
24533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24534 $as_echo "yes" >&6; }
2750924535 have_cdf='yes'
2751024536 fi
2751124537 else
27512 echo "$as_me:$LINENO: result: no" >&5
27513 echo "${ECHO_T}no" >&6
24538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24539 $as_echo "no" >&6; }
2751424540 fi
2751524541 fi
2751624542 fi
2752324549 LIB_NETCDF=''
2752424550 if test "$with_netcdf" != 'no'
2752524551 then
27526 { echo "$as_me:$LINENO: checking for NETCDF support ......" >&5
27527 echo "$as_me: checking for NETCDF support ......" >&6;}
24552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NETCDF support ......" >&5
24553 $as_echo "$as_me: checking for NETCDF support ......" >&6;}
2752824554 failed=0;
2752924555 passed=0;
27530 if test "${ac_cv_header_netcdf_h+set}" = set; then
27531 echo "$as_me:$LINENO: checking for netcdf.h" >&5
27532 echo $ECHO_N "checking for netcdf.h... $ECHO_C" >&6
27533 if test "${ac_cv_header_netcdf_h+set}" = set; then
27534 echo $ECHO_N "(cached) $ECHO_C" >&6
27535 fi
27536 echo "$as_me:$LINENO: result: $ac_cv_header_netcdf_h" >&5
27537 echo "${ECHO_T}$ac_cv_header_netcdf_h" >&6
27538 else
27539 # Is the header compilable?
27540 echo "$as_me:$LINENO: checking netcdf.h usability" >&5
27541 echo $ECHO_N "checking netcdf.h usability... $ECHO_C" >&6
27542 cat >conftest.$ac_ext <<_ACEOF
27543 /* confdefs.h. */
27544 _ACEOF
27545 cat confdefs.h >>conftest.$ac_ext
27546 cat >>conftest.$ac_ext <<_ACEOF
27547 /* end confdefs.h. */
27548 $ac_includes_default
27549 #include <netcdf.h>
27550 _ACEOF
27551 rm -f conftest.$ac_objext
27552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27553 (eval $ac_compile) 2>conftest.er1
27554 ac_status=$?
27555 grep -v '^ *+' conftest.er1 >conftest.err
27556 rm -f conftest.er1
27557 cat conftest.err >&5
27558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27559 (exit $ac_status); } &&
27560 { ac_try='test -z "$ac_c_werror_flag"
27561 || test ! -s conftest.err'
27562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27563 (eval $ac_try) 2>&5
27564 ac_status=$?
27565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27566 (exit $ac_status); }; } &&
27567 { ac_try='test -s conftest.$ac_objext'
27568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27569 (eval $ac_try) 2>&5
27570 ac_status=$?
27571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27572 (exit $ac_status); }; }; then
27573 ac_header_compiler=yes
27574 else
27575 echo "$as_me: failed program was:" >&5
27576 sed 's/^/| /' conftest.$ac_ext >&5
27577
27578 ac_header_compiler=no
27579 fi
27580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27581 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27582 echo "${ECHO_T}$ac_header_compiler" >&6
27583
27584 # Is the header present?
27585 echo "$as_me:$LINENO: checking netcdf.h presence" >&5
27586 echo $ECHO_N "checking netcdf.h presence... $ECHO_C" >&6
27587 cat >conftest.$ac_ext <<_ACEOF
27588 /* confdefs.h. */
27589 _ACEOF
27590 cat confdefs.h >>conftest.$ac_ext
27591 cat >>conftest.$ac_ext <<_ACEOF
27592 /* end confdefs.h. */
27593 #include <netcdf.h>
27594 _ACEOF
27595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27596 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27597 ac_status=$?
27598 grep -v '^ *+' conftest.er1 >conftest.err
27599 rm -f conftest.er1
27600 cat conftest.err >&5
27601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27602 (exit $ac_status); } >/dev/null; then
27603 if test -s conftest.err; then
27604 ac_cpp_err=$ac_c_preproc_warn_flag
27605 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27606 else
27607 ac_cpp_err=
27608 fi
27609 else
27610 ac_cpp_err=yes
27611 fi
27612 if test -z "$ac_cpp_err"; then
27613 ac_header_preproc=yes
27614 else
27615 echo "$as_me: failed program was:" >&5
27616 sed 's/^/| /' conftest.$ac_ext >&5
27617
27618 ac_header_preproc=no
27619 fi
27620 rm -f conftest.err conftest.$ac_ext
27621 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27622 echo "${ECHO_T}$ac_header_preproc" >&6
27623
27624 # So? What about this header?
27625 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27626 yes:no: )
27627 { echo "$as_me:$LINENO: WARNING: netcdf.h: accepted by the compiler, rejected by the preprocessor!" >&5
27628 echo "$as_me: WARNING: netcdf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27629 { echo "$as_me:$LINENO: WARNING: netcdf.h: proceeding with the compiler's result" >&5
27630 echo "$as_me: WARNING: netcdf.h: proceeding with the compiler's result" >&2;}
27631 ac_header_preproc=yes
27632 ;;
27633 no:yes:* )
27634 { echo "$as_me:$LINENO: WARNING: netcdf.h: present but cannot be compiled" >&5
27635 echo "$as_me: WARNING: netcdf.h: present but cannot be compiled" >&2;}
27636 { echo "$as_me:$LINENO: WARNING: netcdf.h: check for missing prerequisite headers?" >&5
27637 echo "$as_me: WARNING: netcdf.h: check for missing prerequisite headers?" >&2;}
27638 { echo "$as_me:$LINENO: WARNING: netcdf.h: see the Autoconf documentation" >&5
27639 echo "$as_me: WARNING: netcdf.h: see the Autoconf documentation" >&2;}
27640 { echo "$as_me:$LINENO: WARNING: netcdf.h: section \"Present But Cannot Be Compiled\"" >&5
27641 echo "$as_me: WARNING: netcdf.h: section \"Present But Cannot Be Compiled\"" >&2;}
27642 { echo "$as_me:$LINENO: WARNING: netcdf.h: proceeding with the preprocessor's result" >&5
27643 echo "$as_me: WARNING: netcdf.h: proceeding with the preprocessor's result" >&2;}
27644 { echo "$as_me:$LINENO: WARNING: netcdf.h: in the future, the compiler will take precedence" >&5
27645 echo "$as_me: WARNING: netcdf.h: in the future, the compiler will take precedence" >&2;}
27646 (
27647 cat <<\_ASBOX
27648 ## ----------------------------- ##
27649 ## Report this to the dx lists. ##
27650 ## ----------------------------- ##
27651 _ASBOX
27652 ) |
27653 sed "s/^/$as_me: WARNING: /" >&2
27654 ;;
27655 esac
27656 echo "$as_me:$LINENO: checking for netcdf.h" >&5
27657 echo $ECHO_N "checking for netcdf.h... $ECHO_C" >&6
27658 if test "${ac_cv_header_netcdf_h+set}" = set; then
27659 echo $ECHO_N "(cached) $ECHO_C" >&6
27660 else
27661 ac_cv_header_netcdf_h=$ac_header_preproc
27662 fi
27663 echo "$as_me:$LINENO: result: $ac_cv_header_netcdf_h" >&5
27664 echo "${ECHO_T}$ac_cv_header_netcdf_h" >&6
27665
27666 fi
27667 if test $ac_cv_header_netcdf_h = yes; then
24556 ac_fn_c_check_header_mongrel "$LINENO" "netcdf.h" "ac_cv_header_netcdf_h" "$ac_includes_default"
24557 if test "x$ac_cv_header_netcdf_h" = xyes; then :
2766824558 passed=`expr $passed + 1`
2766924559 else
2767024560 failed=`expr $failed + 1`
2767124561 fi
2767224562
2767324563
27674 echo "$as_me:$LINENO: checking for nc_copy_att in -lnetcdf" >&5
27675 echo $ECHO_N "checking for nc_copy_att in -lnetcdf... $ECHO_C" >&6
27676 if test "${ac_cv_lib_netcdf_nc_copy_att+set}" = set; then
27677 echo $ECHO_N "(cached) $ECHO_C" >&6
24564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nc_copy_att in -lnetcdf" >&5
24565 $as_echo_n "checking for nc_copy_att in -lnetcdf... " >&6; }
24566 if ${ac_cv_lib_netcdf_nc_copy_att+:} false; then :
24567 $as_echo_n "(cached) " >&6
2767824568 else
2767924569 ac_check_lib_save_LIBS=$LIBS
2768024570 LIBS="-lnetcdf $LIBS"
27681 cat >conftest.$ac_ext <<_ACEOF
27682 /* confdefs.h. */
27683 _ACEOF
27684 cat confdefs.h >>conftest.$ac_ext
27685 cat >>conftest.$ac_ext <<_ACEOF
24571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2768624572 /* end confdefs.h. */
2768724573
27688 /* Override any gcc2 internal prototype to avoid an error. */
24574 /* Override any GCC internal prototype to avoid an error.
24575 Use char because int might match the return type of a GCC
24576 builtin and then its argument prototype would still apply. */
2768924577 #ifdef __cplusplus
2769024578 extern "C"
2769124579 #endif
27692 /* We use char because int might match the return type of a gcc2
27693 builtin and then its argument prototype would still apply. */
2769424580 char nc_copy_att ();
2769524581 int
2769624582 main ()
2769724583 {
27698 nc_copy_att ();
24584 return nc_copy_att ();
2769924585 ;
2770024586 return 0;
2770124587 }
2770224588 _ACEOF
27703 rm -f conftest.$ac_objext conftest$ac_exeext
27704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27705 (eval $ac_link) 2>conftest.er1
27706 ac_status=$?
27707 grep -v '^ *+' conftest.er1 >conftest.err
27708 rm -f conftest.er1
27709 cat conftest.err >&5
27710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27711 (exit $ac_status); } &&
27712 { ac_try='test -z "$ac_c_werror_flag"
27713 || test ! -s conftest.err'
27714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27715 (eval $ac_try) 2>&5
27716 ac_status=$?
27717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27718 (exit $ac_status); }; } &&
27719 { ac_try='test -s conftest$ac_exeext'
27720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27721 (eval $ac_try) 2>&5
27722 ac_status=$?
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); }; }; then
24589 if ac_fn_c_try_link "$LINENO"; then :
2772524590 ac_cv_lib_netcdf_nc_copy_att=yes
2772624591 else
27727 echo "$as_me: failed program was:" >&5
27728 sed 's/^/| /' conftest.$ac_ext >&5
27729
27730 ac_cv_lib_netcdf_nc_copy_att=no
27731 fi
27732 rm -f conftest.err conftest.$ac_objext \
27733 conftest$ac_exeext conftest.$ac_ext
24592 ac_cv_lib_netcdf_nc_copy_att=no
24593 fi
24594 rm -f core conftest.err conftest.$ac_objext \
24595 conftest$ac_exeext conftest.$ac_ext
2773424596 LIBS=$ac_check_lib_save_LIBS
2773524597 fi
27736 echo "$as_me:$LINENO: result: $ac_cv_lib_netcdf_nc_copy_att" >&5
27737 echo "${ECHO_T}$ac_cv_lib_netcdf_nc_copy_att" >&6
27738 if test $ac_cv_lib_netcdf_nc_copy_att = yes; then
24598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_netcdf_nc_copy_att" >&5
24599 $as_echo "$ac_cv_lib_netcdf_nc_copy_att" >&6; }
24600 if test "x$ac_cv_lib_netcdf_nc_copy_att" = xyes; then :
2773924601 passed=`expr $passed + 1`
2774024602 else
2774124603 failed=`expr $failed + 1`
2774224604 fi
2774324605
27744 echo "$as_me:$LINENO: checking if NETCDF package is complete" >&5
27745 echo $ECHO_N "checking if NETCDF package is complete... $ECHO_C" >&6
24606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if NETCDF package is complete" >&5
24607 $as_echo_n "checking if NETCDF package is complete... " >&6; }
2774624608 if test $passed -gt 0
2774724609 then
2774824610 if test $failed -gt 0
2774924611 then
27750 echo "$as_me:$LINENO: result: no -- some components failed test" >&5
27751 echo "${ECHO_T}no -- some components failed test" >&6
24612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
24613 $as_echo "no -- some components failed test" >&6; }
2775224614 have_netcdf='no (failed tests)'
2775324615 else
2775424616 LIB_NETCDF='-lnetcdf'
2775524617 LIBS="$LIB_NETCDF $LIBS"
2775624618 FMT_LIBS="$FMT_LIBS libnetcdf.a"
2775724619
27758 cat >>confdefs.h <<\_ACEOF
27759 #define HAVE_LIBNETCDF 1
27760 _ACEOF
27761
27762 echo "$as_me:$LINENO: result: yes" >&5
27763 echo "${ECHO_T}yes" >&6
24620 $as_echo "#define HAVE_LIBNETCDF 1" >>confdefs.h
24621
24622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24623 $as_echo "yes" >&6; }
2776424624 have_netcdf='yes'
2776524625 fi
2776624626 else
27767 echo "$as_me:$LINENO: result: no" >&5
27768 echo "${ECHO_T}no" >&6
24627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24628 $as_echo "no" >&6; }
2776924629 fi
2777024630 fi
2777124631
2777724637 LIB_MAGICK=''
2777824638 if test "$with_magick" != 'no'
2777924639 then
27780 { echo "$as_me:$LINENO: checking for ImageMagick support ......" >&5
27781 echo "$as_me: checking for ImageMagick support ......" >&6;}
24640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ImageMagick support ......" >&5
24641 $as_echo "$as_me: checking for ImageMagick support ......" >&6;}
2778224642 # Extract the first word of "Magick-config", so it can be a program name with args.
2778324643 set dummy Magick-config; ac_word=$2
27784 echo "$as_me:$LINENO: checking for $ac_word" >&5
27785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27786 if test "${ac_cv_prog_HAVE_MC+set}" = set; then
27787 echo $ECHO_N "(cached) $ECHO_C" >&6
24644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24645 $as_echo_n "checking for $ac_word... " >&6; }
24646 if ${ac_cv_prog_HAVE_MC+:} false; then :
24647 $as_echo_n "(cached) " >&6
2778824648 else
2778924649 if test -n "$HAVE_MC"; then
2779024650 ac_cv_prog_HAVE_MC="$HAVE_MC" # Let the user override the test.
2779424654 do
2779524655 IFS=$as_save_IFS
2779624656 test -z "$as_dir" && as_dir=.
27797 for ac_exec_ext in '' $ac_executable_extensions; do
27798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24657 for ac_exec_ext in '' $ac_executable_extensions; do
24658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2779924659 ac_cv_prog_HAVE_MC="yes"
27800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2780124661 break 2
2780224662 fi
2780324663 done
27804 done
24664 done
24665 IFS=$as_save_IFS
2780524666
2780624667 test -z "$ac_cv_prog_HAVE_MC" && ac_cv_prog_HAVE_MC="no"
2780724668 fi
2780824669 fi
2780924670 HAVE_MC=$ac_cv_prog_HAVE_MC
2781024671 if test -n "$HAVE_MC"; then
27811 echo "$as_me:$LINENO: result: $HAVE_MC" >&5
27812 echo "${ECHO_T}$HAVE_MC" >&6
27813 else
27814 echo "$as_me:$LINENO: result: no" >&5
27815 echo "${ECHO_T}no" >&6
27816 fi
24672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_MC" >&5
24673 $as_echo "$HAVE_MC" >&6; }
24674 else
24675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24676 $as_echo "no" >&6; }
24677 fi
24678
2781724679
2781824680
2781924681 failed=0;
2782024682 passed=0;
27821 if test "${ac_cv_header_magick_api_h+set}" = set; then
27822 echo "$as_me:$LINENO: checking for magick/api.h" >&5
27823 echo $ECHO_N "checking for magick/api.h... $ECHO_C" >&6
27824 if test "${ac_cv_header_magick_api_h+set}" = set; then
27825 echo $ECHO_N "(cached) $ECHO_C" >&6
27826 fi
27827 echo "$as_me:$LINENO: result: $ac_cv_header_magick_api_h" >&5
27828 echo "${ECHO_T}$ac_cv_header_magick_api_h" >&6
27829 else
27830 # Is the header compilable?
27831 echo "$as_me:$LINENO: checking magick/api.h usability" >&5
27832 echo $ECHO_N "checking magick/api.h usability... $ECHO_C" >&6
27833 cat >conftest.$ac_ext <<_ACEOF
27834 /* confdefs.h. */
27835 _ACEOF
27836 cat confdefs.h >>conftest.$ac_ext
27837 cat >>conftest.$ac_ext <<_ACEOF
27838 /* end confdefs.h. */
27839 $ac_includes_default
27840 #include <magick/api.h>
27841 _ACEOF
27842 rm -f conftest.$ac_objext
27843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27844 (eval $ac_compile) 2>conftest.er1
27845 ac_status=$?
27846 grep -v '^ *+' conftest.er1 >conftest.err
27847 rm -f conftest.er1
27848 cat conftest.err >&5
27849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27850 (exit $ac_status); } &&
27851 { ac_try='test -z "$ac_c_werror_flag"
27852 || test ! -s conftest.err'
27853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27854 (eval $ac_try) 2>&5
27855 ac_status=$?
27856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27857 (exit $ac_status); }; } &&
27858 { ac_try='test -s conftest.$ac_objext'
27859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27860 (eval $ac_try) 2>&5
27861 ac_status=$?
27862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27863 (exit $ac_status); }; }; then
27864 ac_header_compiler=yes
27865 else
27866 echo "$as_me: failed program was:" >&5
27867 sed 's/^/| /' conftest.$ac_ext >&5
27868
27869 ac_header_compiler=no
27870 fi
27871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27872 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27873 echo "${ECHO_T}$ac_header_compiler" >&6
27874
27875 # Is the header present?
27876 echo "$as_me:$LINENO: checking magick/api.h presence" >&5
27877 echo $ECHO_N "checking magick/api.h presence... $ECHO_C" >&6
27878 cat >conftest.$ac_ext <<_ACEOF
27879 /* confdefs.h. */
27880 _ACEOF
27881 cat confdefs.h >>conftest.$ac_ext
27882 cat >>conftest.$ac_ext <<_ACEOF
27883 /* end confdefs.h. */
27884 #include <magick/api.h>
27885 _ACEOF
27886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27887 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27888 ac_status=$?
27889 grep -v '^ *+' conftest.er1 >conftest.err
27890 rm -f conftest.er1
27891 cat conftest.err >&5
27892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27893 (exit $ac_status); } >/dev/null; then
27894 if test -s conftest.err; then
27895 ac_cpp_err=$ac_c_preproc_warn_flag
27896 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27897 else
27898 ac_cpp_err=
27899 fi
27900 else
27901 ac_cpp_err=yes
27902 fi
27903 if test -z "$ac_cpp_err"; then
27904 ac_header_preproc=yes
27905 else
27906 echo "$as_me: failed program was:" >&5
27907 sed 's/^/| /' conftest.$ac_ext >&5
27908
27909 ac_header_preproc=no
27910 fi
27911 rm -f conftest.err conftest.$ac_ext
27912 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27913 echo "${ECHO_T}$ac_header_preproc" >&6
27914
27915 # So? What about this header?
27916 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27917 yes:no: )
27918 { echo "$as_me:$LINENO: WARNING: magick/api.h: accepted by the compiler, rejected by the preprocessor!" >&5
27919 echo "$as_me: WARNING: magick/api.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27920 { echo "$as_me:$LINENO: WARNING: magick/api.h: proceeding with the compiler's result" >&5
27921 echo "$as_me: WARNING: magick/api.h: proceeding with the compiler's result" >&2;}
27922 ac_header_preproc=yes
27923 ;;
27924 no:yes:* )
27925 { echo "$as_me:$LINENO: WARNING: magick/api.h: present but cannot be compiled" >&5
27926 echo "$as_me: WARNING: magick/api.h: present but cannot be compiled" >&2;}
27927 { echo "$as_me:$LINENO: WARNING: magick/api.h: check for missing prerequisite headers?" >&5
27928 echo "$as_me: WARNING: magick/api.h: check for missing prerequisite headers?" >&2;}
27929 { echo "$as_me:$LINENO: WARNING: magick/api.h: see the Autoconf documentation" >&5
27930 echo "$as_me: WARNING: magick/api.h: see the Autoconf documentation" >&2;}
27931 { echo "$as_me:$LINENO: WARNING: magick/api.h: section \"Present But Cannot Be Compiled\"" >&5
27932 echo "$as_me: WARNING: magick/api.h: section \"Present But Cannot Be Compiled\"" >&2;}
27933 { echo "$as_me:$LINENO: WARNING: magick/api.h: proceeding with the preprocessor's result" >&5
27934 echo "$as_me: WARNING: magick/api.h: proceeding with the preprocessor's result" >&2;}
27935 { echo "$as_me:$LINENO: WARNING: magick/api.h: in the future, the compiler will take precedence" >&5
27936 echo "$as_me: WARNING: magick/api.h: in the future, the compiler will take precedence" >&2;}
27937 (
27938 cat <<\_ASBOX
27939 ## ----------------------------- ##
27940 ## Report this to the dx lists. ##
27941 ## ----------------------------- ##
27942 _ASBOX
27943 ) |
27944 sed "s/^/$as_me: WARNING: /" >&2
27945 ;;
27946 esac
27947 echo "$as_me:$LINENO: checking for magick/api.h" >&5
27948 echo $ECHO_N "checking for magick/api.h... $ECHO_C" >&6
27949 if test "${ac_cv_header_magick_api_h+set}" = set; then
27950 echo $ECHO_N "(cached) $ECHO_C" >&6
27951 else
27952 ac_cv_header_magick_api_h=$ac_header_preproc
27953 fi
27954 echo "$as_me:$LINENO: result: $ac_cv_header_magick_api_h" >&5
27955 echo "${ECHO_T}$ac_cv_header_magick_api_h" >&6
27956
27957 fi
27958 if test $ac_cv_header_magick_api_h = yes; then
24683 ac_fn_c_check_header_mongrel "$LINENO" "magick/api.h" "ac_cv_header_magick_api_h" "$ac_includes_default"
24684 if test "x$ac_cv_header_magick_api_h" = xyes; then :
2795924685 passed=`expr $passed + 1`
2796024686 else
2796124687 failed=`expr $failed + 1`
2796324689
2796424690
2796524691 if test "$ARCH" = "intelnt" ; then
27966 echo "$as_me:$LINENO: checking for Hopen in -lCORE_RL_magick_" >&5
27967 echo $ECHO_N "checking for Hopen in -lCORE_RL_magick_... $ECHO_C" >&6
27968 if test "${ac_cv_lib_CORE_RL_magick__Hopen+set}" = set; then
27969 echo $ECHO_N "(cached) $ECHO_C" >&6
24692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Hopen in -lCORE_RL_magick_" >&5
24693 $as_echo_n "checking for Hopen in -lCORE_RL_magick_... " >&6; }
24694 if ${ac_cv_lib_CORE_RL_magick__Hopen+:} false; then :
24695 $as_echo_n "(cached) " >&6
2797024696 else
2797124697 ac_check_lib_save_LIBS=$LIBS
2797224698 LIBS="-lCORE_RL_magick_ $LIBS"
27973 cat >conftest.$ac_ext <<_ACEOF
27974 /* confdefs.h. */
27975 _ACEOF
27976 cat confdefs.h >>conftest.$ac_ext
27977 cat >>conftest.$ac_ext <<_ACEOF
24699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2797824700 /* end confdefs.h. */
2797924701
27980 /* Override any gcc2 internal prototype to avoid an error. */
24702 /* Override any GCC internal prototype to avoid an error.
24703 Use char because int might match the return type of a GCC
24704 builtin and then its argument prototype would still apply. */
2798124705 #ifdef __cplusplus
2798224706 extern "C"
2798324707 #endif
27984 /* We use char because int might match the return type of a gcc2
27985 builtin and then its argument prototype would still apply. */
2798624708 char Hopen ();
2798724709 int
2798824710 main ()
2798924711 {
27990 Hopen ();
24712 return Hopen ();
2799124713 ;
2799224714 return 0;
2799324715 }
2799424716 _ACEOF
27995 rm -f conftest.$ac_objext conftest$ac_exeext
27996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27997 (eval $ac_link) 2>conftest.er1
27998 ac_status=$?
27999 grep -v '^ *+' conftest.er1 >conftest.err
28000 rm -f conftest.er1
28001 cat conftest.err >&5
28002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28003 (exit $ac_status); } &&
28004 { ac_try='test -z "$ac_c_werror_flag"
28005 || test ! -s conftest.err'
28006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28007 (eval $ac_try) 2>&5
28008 ac_status=$?
28009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28010 (exit $ac_status); }; } &&
28011 { ac_try='test -s conftest$ac_exeext'
28012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28013 (eval $ac_try) 2>&5
28014 ac_status=$?
28015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28016 (exit $ac_status); }; }; then
24717 if ac_fn_c_try_link "$LINENO"; then :
2801724718 ac_cv_lib_CORE_RL_magick__Hopen=yes
2801824719 else
28019 echo "$as_me: failed program was:" >&5
28020 sed 's/^/| /' conftest.$ac_ext >&5
28021
28022 ac_cv_lib_CORE_RL_magick__Hopen=no
28023 fi
28024 rm -f conftest.err conftest.$ac_objext \
28025 conftest$ac_exeext conftest.$ac_ext
24720 ac_cv_lib_CORE_RL_magick__Hopen=no
24721 fi
24722 rm -f core conftest.err conftest.$ac_objext \
24723 conftest$ac_exeext conftest.$ac_ext
2802624724 LIBS=$ac_check_lib_save_LIBS
2802724725 fi
28028 echo "$as_me:$LINENO: result: $ac_cv_lib_CORE_RL_magick__Hopen" >&5
28029 echo "${ECHO_T}$ac_cv_lib_CORE_RL_magick__Hopen" >&6
28030 if test $ac_cv_lib_CORE_RL_magick__Hopen = yes; then
24726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_CORE_RL_magick__Hopen" >&5
24727 $as_echo "$ac_cv_lib_CORE_RL_magick__Hopen" >&6; }
24728 if test "x$ac_cv_lib_CORE_RL_magick__Hopen" = xyes; then :
2803124729 passed=`expr $passed + 1`
2803224730 else
2803324731 failed=`expr $failed + 1`
2803424732 fi
2803524733
28036 echo "$as_me:$LINENO: checking if ImageMagick package is complete" >&5
28037 echo $ECHO_N "checking if ImageMagick package is complete... $ECHO_C" >&6
24734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ImageMagick package is complete" >&5
24735 $as_echo_n "checking if ImageMagick package is complete... " >&6; }
2803824736 if test $passed -gt 0
2803924737 then
2804024738 if test $failed -gt 0
2804124739 then
28042 echo "$as_me:$LINENO: result: no -- some components failed test" >&5
28043 echo "${ECHO_T}no -- some components failed test" >&6
24740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
24741 $as_echo "no -- some components failed test" >&6; }
2804424742 have_magick='no (failed tests)'
2804524743 else
2804624744 if test "$with_smagick" != 'no'
2805224750 LIBS="$LIB_MAGICK $LIBS"
2805324751 FMT_LIBS="$FMT_LIBS CORE_RL_magick_.lib"
2805424752
28055 cat >>confdefs.h <<\_ACEOF
28056 #define HAVE_LIBMAGICK 1
28057 _ACEOF
28058
28059 echo "$as_me:$LINENO: result: yes" >&5
28060 echo "${ECHO_T}yes" >&6
24753 $as_echo "#define HAVE_LIBMAGICK 1" >>confdefs.h
24754
24755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24756 $as_echo "yes" >&6; }
2806124757 have_magick='yes'
2806224758 fi
2806324759 else
28064 echo "$as_me:$LINENO: result: no" >&5
28065 echo "${ECHO_T}no" >&6
24760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24761 $as_echo "no" >&6; }
2806624762 fi
2806724763 else
2806824764
2806924765
2807024766 if test "$HAVE_MC" = "yes" ; then
2807124767 LIB_MAGICK="`Magick-config --ldflags` `Magick-config --libs`"
28072 echo "$as_me:$LINENO: checking for GetImageInfo in -lMagick" >&5
28073 echo $ECHO_N "checking for GetImageInfo in -lMagick... $ECHO_C" >&6
28074 if test "${ac_cv_lib_Magick_GetImageInfo+set}" = set; then
28075 echo $ECHO_N "(cached) $ECHO_C" >&6
24768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GetImageInfo in -lMagick" >&5
24769 $as_echo_n "checking for GetImageInfo in -lMagick... " >&6; }
24770 if ${ac_cv_lib_Magick_GetImageInfo+:} false; then :
24771 $as_echo_n "(cached) " >&6
2807624772 else
2807724773 ac_check_lib_save_LIBS=$LIBS
2807824774 LIBS="-lMagick $LIB_MAGICK $LIBS"
28079 cat >conftest.$ac_ext <<_ACEOF
28080 /* confdefs.h. */
28081 _ACEOF
28082 cat confdefs.h >>conftest.$ac_ext
28083 cat >>conftest.$ac_ext <<_ACEOF
24775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2808424776 /* end confdefs.h. */
2808524777
28086 /* Override any gcc2 internal prototype to avoid an error. */
24778 /* Override any GCC internal prototype to avoid an error.
24779 Use char because int might match the return type of a GCC
24780 builtin and then its argument prototype would still apply. */
2808724781 #ifdef __cplusplus
2808824782 extern "C"
2808924783 #endif
28090 /* We use char because int might match the return type of a gcc2
28091 builtin and then its argument prototype would still apply. */
2809224784 char GetImageInfo ();
2809324785 int
2809424786 main ()
2809524787 {
28096 GetImageInfo ();
24788 return GetImageInfo ();
2809724789 ;
2809824790 return 0;
2809924791 }
2810024792 _ACEOF
28101 rm -f conftest.$ac_objext conftest$ac_exeext
28102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28103 (eval $ac_link) 2>conftest.er1
28104 ac_status=$?
28105 grep -v '^ *+' conftest.er1 >conftest.err
28106 rm -f conftest.er1
28107 cat conftest.err >&5
28108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28109 (exit $ac_status); } &&
28110 { ac_try='test -z "$ac_c_werror_flag"
28111 || test ! -s conftest.err'
28112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28113 (eval $ac_try) 2>&5
28114 ac_status=$?
28115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28116 (exit $ac_status); }; } &&
28117 { ac_try='test -s conftest$ac_exeext'
28118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28119 (eval $ac_try) 2>&5
28120 ac_status=$?
28121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28122 (exit $ac_status); }; }; then
24793 if ac_fn_c_try_link "$LINENO"; then :
2812324794 ac_cv_lib_Magick_GetImageInfo=yes
2812424795 else
28125 echo "$as_me: failed program was:" >&5
28126 sed 's/^/| /' conftest.$ac_ext >&5
28127
28128 ac_cv_lib_Magick_GetImageInfo=no
28129 fi
28130 rm -f conftest.err conftest.$ac_objext \
28131 conftest$ac_exeext conftest.$ac_ext
24796 ac_cv_lib_Magick_GetImageInfo=no
24797 fi
24798 rm -f core conftest.err conftest.$ac_objext \
24799 conftest$ac_exeext conftest.$ac_ext
2813224800 LIBS=$ac_check_lib_save_LIBS
2813324801 fi
28134 echo "$as_me:$LINENO: result: $ac_cv_lib_Magick_GetImageInfo" >&5
28135 echo "${ECHO_T}$ac_cv_lib_Magick_GetImageInfo" >&6
28136 if test $ac_cv_lib_Magick_GetImageInfo = yes; then
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Magick_GetImageInfo" >&5
24803 $as_echo "$ac_cv_lib_Magick_GetImageInfo" >&6; }
24804 if test "x$ac_cv_lib_Magick_GetImageInfo" = xyes; then :
2813724805 passed=`expr $passed + 1`
2813824806 else
2813924807 failed=`expr $failed + 1`
2814024808 fi
2814124809
28142 echo "$as_me:$LINENO: checking if ImageMagick package is complete" >&5
28143 echo $ECHO_N "checking if ImageMagick package is complete... $ECHO_C" >&6
24810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ImageMagick package is complete" >&5
24811 $as_echo_n "checking if ImageMagick package is complete... " >&6; }
2814424812 if test $passed -gt 0
2814524813 then
2814624814 if test $failed -gt 0
2814724815 then
28148 echo "$as_me:$LINENO: result: no -- some components failed test" >&5
28149 echo "${ECHO_T}no -- some components failed test" >&6
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
24817 $as_echo "no -- some components failed test" >&6; }
2815024818 have_magick='no (failed tests)'
2815124819 else
2815224820 CPPFLAGS="`Magick-config --cppflags` $CPPFLAGS"
2817724845
2817824846 FMT_LIBS="$FMT_LIBS libMagick.a"
2817924847
28180 cat >>confdefs.h <<\_ACEOF
28181 #define HAVE_LIBMAGICK 1
28182 _ACEOF
28183
28184 echo "$as_me:$LINENO: result: yes" >&5
28185 echo "${ECHO_T}yes" >&6
24848 $as_echo "#define HAVE_LIBMAGICK 1" >>confdefs.h
24849
24850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24851 $as_echo "yes" >&6; }
2818624852 have_magick='yes'
2818724853 fi
2818824854 else
28189 echo "$as_me:$LINENO: result: no" >&5
28190 echo "${ECHO_T}no" >&6
24855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24856 $as_echo "no" >&6; }
2819124857 fi
2819224858 else
28193 echo "$as_me:$LINENO: result: no - Magick-config not found" >&5
28194 echo "${ECHO_T}no - Magick-config not found" >&6
24859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - Magick-config not found" >&5
24860 $as_echo "no - Magick-config not found" >&6; }
2819524861 fi
2819624862 fi
2819724863 fi
2819824864
28199 ac_ext=cc
24865 ac_ext=cpp
2820024866 ac_cpp='$CXXCPP $CPPFLAGS'
2820124867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2820224868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2820324869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2820424870
28205 cat >conftest.$ac_ext <<_ACEOF
28206 /* confdefs.h. */
28207 _ACEOF
28208 cat confdefs.h >>conftest.$ac_ext
28209 cat >>conftest.$ac_ext <<_ACEOF
24871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2821024872 /* end confdefs.h. */
2821124873
2821224874 int
2821724879 return 0;
2821824880 }
2821924881 _ACEOF
28220 rm -f conftest.$ac_objext
28221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28222 (eval $ac_compile) 2>conftest.er1
28223 ac_status=$?
28224 grep -v '^ *+' conftest.er1 >conftest.err
28225 rm -f conftest.er1
28226 cat conftest.err >&5
28227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28228 (exit $ac_status); } &&
28229 { ac_try='test -z "$ac_cxx_werror_flag"
28230 || test ! -s conftest.err'
28231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28232 (eval $ac_try) 2>&5
28233 ac_status=$?
28234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235 (exit $ac_status); }; } &&
28236 { ac_try='test -s conftest.$ac_objext'
28237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28238 (eval $ac_try) 2>&5
28239 ac_status=$?
28240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241 (exit $ac_status); }; }; then
28242
28243 cat >>confdefs.h <<\_ACEOF
28244 #define CXX_HAS_TRUE 1
28245 _ACEOF
28246
28247 else
28248 echo "$as_me: failed program was:" >&5
28249 sed 's/^/| /' conftest.$ac_ext >&5
28250
28251 cat >>confdefs.h <<\_ACEOF
28252 #define CXX_HAS_TRUE 0
28253 _ACEOF
28254
28255 fi
28256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28257 cat >conftest.$ac_ext <<_ACEOF
28258 /* confdefs.h. */
28259 _ACEOF
28260 cat confdefs.h >>conftest.$ac_ext
28261 cat >>conftest.$ac_ext <<_ACEOF
24882 if ac_fn_cxx_try_compile "$LINENO"; then :
24883
24884 $as_echo "#define CXX_HAS_TRUE 1" >>confdefs.h
24885
24886 else
24887 $as_echo "#define CXX_HAS_TRUE 0" >>confdefs.h
24888
24889 fi
24890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2826224892 /* end confdefs.h. */
2826324893
2826424894 int
2826924899 return 0;
2827024900 }
2827124901 _ACEOF
28272 rm -f conftest.$ac_objext
28273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28274 (eval $ac_compile) 2>conftest.er1
28275 ac_status=$?
28276 grep -v '^ *+' conftest.er1 >conftest.err
28277 rm -f conftest.er1
28278 cat conftest.err >&5
28279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28280 (exit $ac_status); } &&
28281 { ac_try='test -z "$ac_cxx_werror_flag"
28282 || test ! -s conftest.err'
28283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28284 (eval $ac_try) 2>&5
28285 ac_status=$?
28286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28287 (exit $ac_status); }; } &&
28288 { ac_try='test -s conftest.$ac_objext'
28289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28290 (eval $ac_try) 2>&5
28291 ac_status=$?
28292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28293 (exit $ac_status); }; }; then
28294
28295 cat >>confdefs.h <<\_ACEOF
28296 #define CXX_HAS_FALSE 1
28297 _ACEOF
28298
28299 else
28300 echo "$as_me: failed program was:" >&5
28301 sed 's/^/| /' conftest.$ac_ext >&5
28302
28303 cat >>confdefs.h <<\_ACEOF
28304 #define CXX_HAS_FALSE 0
28305 _ACEOF
28306
28307 fi
28308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28309
24902 if ac_fn_cxx_try_compile "$LINENO"; then :
24903
24904 $as_echo "#define CXX_HAS_FALSE 1" >>confdefs.h
24905
24906 else
24907 $as_echo "#define CXX_HAS_FALSE 0" >>confdefs.h
24908
24909 fi
24910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2831024911 for ac_func in getdtablesize
28311 do
28312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28313 echo "$as_me:$LINENO: checking for $ac_func" >&5
28314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28315 if eval "test \"\${$as_ac_var+set}\" = set"; then
28316 echo $ECHO_N "(cached) $ECHO_C" >&6
28317 else
28318 cat >conftest.$ac_ext <<_ACEOF
28319 /* confdefs.h. */
28320 _ACEOF
28321 cat confdefs.h >>conftest.$ac_ext
28322 cat >>conftest.$ac_ext <<_ACEOF
28323 /* end confdefs.h. */
28324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28326 #define $ac_func innocuous_$ac_func
28327
28328 /* System header to define __stub macros and hopefully few prototypes,
28329 which can conflict with char $ac_func (); below.
28330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28331 <limits.h> exists even on freestanding compilers. */
28332
28333 #ifdef __STDC__
28334 # include <limits.h>
28335 #else
28336 # include <assert.h>
28337 #endif
28338
28339 #undef $ac_func
28340
28341 /* Override any gcc2 internal prototype to avoid an error. */
28342 #ifdef __cplusplus
28343 extern "C"
28344 {
28345 #endif
28346 /* We use char because int might match the return type of a gcc2
28347 builtin and then its argument prototype would still apply. */
28348 char $ac_func ();
28349 /* The GNU C library defines this for functions which it implements
28350 to always fail with ENOSYS. Some functions are actually named
28351 something starting with __ and the normal name is an alias. */
28352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28353 choke me
28354 #else
28355 char (*f) () = $ac_func;
28356 #endif
28357 #ifdef __cplusplus
28358 }
28359 #endif
28360
28361 int
28362 main ()
28363 {
28364 return f != $ac_func;
28365 ;
28366 return 0;
28367 }
28368 _ACEOF
28369 rm -f conftest.$ac_objext conftest$ac_exeext
28370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28371 (eval $ac_link) 2>conftest.er1
28372 ac_status=$?
28373 grep -v '^ *+' conftest.er1 >conftest.err
28374 rm -f conftest.er1
28375 cat conftest.err >&5
28376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28377 (exit $ac_status); } &&
28378 { ac_try='test -z "$ac_cxx_werror_flag"
28379 || test ! -s conftest.err'
28380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28381 (eval $ac_try) 2>&5
28382 ac_status=$?
28383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28384 (exit $ac_status); }; } &&
28385 { ac_try='test -s conftest$ac_exeext'
28386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28387 (eval $ac_try) 2>&5
28388 ac_status=$?
28389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28390 (exit $ac_status); }; }; then
28391 eval "$as_ac_var=yes"
28392 else
28393 echo "$as_me: failed program was:" >&5
28394 sed 's/^/| /' conftest.$ac_ext >&5
28395
28396 eval "$as_ac_var=no"
28397 fi
28398 rm -f conftest.err conftest.$ac_objext \
28399 conftest$ac_exeext conftest.$ac_ext
28400 fi
28401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28403 if test `eval echo '${'$as_ac_var'}'` = yes; then
24912 do :
24913 ac_fn_cxx_check_func "$LINENO" "getdtablesize" "ac_cv_func_getdtablesize"
24914 if test "x$ac_cv_func_getdtablesize" = xyes; then :
2840424915 cat >>confdefs.h <<_ACEOF
28405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24916 #define HAVE_GETDTABLESIZE 1
2840624917 _ACEOF
2840724918
2840824919 fi
2841424925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2841524926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2841624927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28417
28418
28419
28420
28421
28422
28423
28424
28425
28426
28427
28428
28429
28430
28431
28432
28433
28434
28435
28436
28437
28438
28439
28440
28441
28442
28443
28444
28445
28446
28447
28448
28449
28450
28451
28452
28453
28454
28455
28456
28457
28458
28459
28460
28461
28462
28463
28464
28465
28466
28467
28468
28469
28470
2847124928
2847224929
2847324930 for ac_func in getcwd gethostname gettimeofday mkdir mkfifo mktime \
2847824935 shmat getopt srand opendir _findfirst strrstr strcasecmp \
2847924936 stricmp getpid _getpid unlink _unlink getlogin isatty _isatty \
2848024937 setsockopt isnan finite
28481 do
28482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28483 echo "$as_me:$LINENO: checking for $ac_func" >&5
28484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28485 if eval "test \"\${$as_ac_var+set}\" = set"; then
28486 echo $ECHO_N "(cached) $ECHO_C" >&6
28487 else
28488 cat >conftest.$ac_ext <<_ACEOF
28489 /* confdefs.h. */
28490 _ACEOF
28491 cat confdefs.h >>conftest.$ac_ext
28492 cat >>conftest.$ac_ext <<_ACEOF
28493 /* end confdefs.h. */
28494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28496 #define $ac_func innocuous_$ac_func
28497
28498 /* System header to define __stub macros and hopefully few prototypes,
28499 which can conflict with char $ac_func (); below.
28500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28501 <limits.h> exists even on freestanding compilers. */
28502
28503 #ifdef __STDC__
28504 # include <limits.h>
28505 #else
28506 # include <assert.h>
28507 #endif
28508
28509 #undef $ac_func
28510
28511 /* Override any gcc2 internal prototype to avoid an error. */
28512 #ifdef __cplusplus
28513 extern "C"
28514 {
28515 #endif
28516 /* We use char because int might match the return type of a gcc2
28517 builtin and then its argument prototype would still apply. */
28518 char $ac_func ();
28519 /* The GNU C library defines this for functions which it implements
28520 to always fail with ENOSYS. Some functions are actually named
28521 something starting with __ and the normal name is an alias. */
28522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28523 choke me
28524 #else
28525 char (*f) () = $ac_func;
28526 #endif
28527 #ifdef __cplusplus
28528 }
28529 #endif
28530
28531 int
28532 main ()
28533 {
28534 return f != $ac_func;
28535 ;
28536 return 0;
28537 }
28538 _ACEOF
28539 rm -f conftest.$ac_objext conftest$ac_exeext
28540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28541 (eval $ac_link) 2>conftest.er1
28542 ac_status=$?
28543 grep -v '^ *+' conftest.er1 >conftest.err
28544 rm -f conftest.er1
28545 cat conftest.err >&5
28546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547 (exit $ac_status); } &&
28548 { ac_try='test -z "$ac_c_werror_flag"
28549 || test ! -s conftest.err'
28550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28551 (eval $ac_try) 2>&5
28552 ac_status=$?
28553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28554 (exit $ac_status); }; } &&
28555 { ac_try='test -s conftest$ac_exeext'
28556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28557 (eval $ac_try) 2>&5
28558 ac_status=$?
28559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28560 (exit $ac_status); }; }; then
28561 eval "$as_ac_var=yes"
28562 else
28563 echo "$as_me: failed program was:" >&5
28564 sed 's/^/| /' conftest.$ac_ext >&5
28565
28566 eval "$as_ac_var=no"
28567 fi
28568 rm -f conftest.err conftest.$ac_objext \
28569 conftest$ac_exeext conftest.$ac_ext
28570 fi
28571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28573 if test `eval echo '${'$as_ac_var'}'` = yes; then
24938 do :
24939 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24940 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24941 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
2857424942 cat >>confdefs.h <<_ACEOF
28575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24943 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
2857624944 _ACEOF
2857724945
2857824946 fi
2857924947 done
2858024948
2858124949
28582 echo "$as_me:$LINENO: checking if RAND_MAX defined" >&5
28583 echo $ECHO_N "checking if RAND_MAX defined... $ECHO_C" >&6
28584 cat >conftest.$ac_ext <<_ACEOF
28585 /* confdefs.h. */
28586 _ACEOF
28587 cat confdefs.h >>conftest.$ac_ext
28588 cat >>conftest.$ac_ext <<_ACEOF
24950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if RAND_MAX defined" >&5
24951 $as_echo_n "checking if RAND_MAX defined... " >&6; }
24952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2858924953 /* end confdefs.h. */
2859024954 #include <stdlib.h>
2859124955 int
2859624960 return 0;
2859724961 }
2859824962 _ACEOF
28599 rm -f conftest.$ac_objext
28600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28601 (eval $ac_compile) 2>conftest.er1
28602 ac_status=$?
28603 grep -v '^ *+' conftest.er1 >conftest.err
28604 rm -f conftest.er1
28605 cat conftest.err >&5
28606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28607 (exit $ac_status); } &&
28608 { ac_try='test -z "$ac_c_werror_flag"
28609 || test ! -s conftest.err'
28610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28611 (eval $ac_try) 2>&5
28612 ac_status=$?
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); }; } &&
28615 { ac_try='test -s conftest.$ac_objext'
28616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28617 (eval $ac_try) 2>&5
28618 ac_status=$?
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); }; }; then
28621
28622 cat >>confdefs.h <<\_ACEOF
28623 #define HAVE_RAND_MAX 1
28624 _ACEOF
28625
28626 echo "$as_me:$LINENO: result: yes" >&5
28627 echo "${ECHO_T}yes" >&6
28628 else
28629 echo "$as_me: failed program was:" >&5
28630 sed 's/^/| /' conftest.$ac_ext >&5
28631
28632 echo "$as_me:$LINENO: result: no" >&5
28633 echo "${ECHO_T}no" >&6
28634
28635 fi
28636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28637
28638 echo "$as_me:$LINENO: checking if signal.h defines SIGBUS" >&5
28639 echo $ECHO_N "checking if signal.h defines SIGBUS... $ECHO_C" >&6
28640 cat >conftest.$ac_ext <<_ACEOF
28641 /* confdefs.h. */
28642 _ACEOF
28643 cat confdefs.h >>conftest.$ac_ext
28644 cat >>conftest.$ac_ext <<_ACEOF
24963 if ac_fn_c_try_compile "$LINENO"; then :
24964
24965 $as_echo "#define HAVE_RAND_MAX 1" >>confdefs.h
24966
24967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24968 $as_echo "yes" >&6; }
24969 else
24970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24971 $as_echo "no" >&6; }
24972
24973 fi
24974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24975
24976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal.h defines SIGBUS" >&5
24977 $as_echo_n "checking if signal.h defines SIGBUS... " >&6; }
24978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2864524979 /* end confdefs.h. */
2864624980
2864724981 #include <signal.h>
2865124985
2865224986 _ACEOF
2865324987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28654 $EGREP "xyzzy" >/dev/null 2>&1; then
28655
28656 cat >>confdefs.h <<\_ACEOF
28657 #define HAVE_SIGBUS 1
28658 _ACEOF
28659
28660 echo "$as_me:$LINENO: result: yes" >&5
28661 echo "${ECHO_T}yes" >&6
28662 else
28663 echo "$as_me:$LINENO: result: no" >&5
28664 echo "${ECHO_T}no" >&6
24988 $EGREP "xyzzy" >/dev/null 2>&1; then :
24989
24990 $as_echo "#define HAVE_SIGBUS 1" >>confdefs.h
24991
24992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24993 $as_echo "yes" >&6; }
24994 else
24995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24996 $as_echo "no" >&6; }
2866524997
2866624998 fi
2866724999 rm -f conftest*
2866825000
2866925001
28670 echo "$as_me:$LINENO: checking if signal.h defines SIGKILL" >&5
28671 echo $ECHO_N "checking if signal.h defines SIGKILL... $ECHO_C" >&6
28672 cat >conftest.$ac_ext <<_ACEOF
28673 /* confdefs.h. */
28674 _ACEOF
28675 cat confdefs.h >>conftest.$ac_ext
28676 cat >>conftest.$ac_ext <<_ACEOF
25002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal.h defines SIGKILL" >&5
25003 $as_echo_n "checking if signal.h defines SIGKILL... " >&6; }
25004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867725005 /* end confdefs.h. */
2867825006
2867925007 #include <signal.h>
2868325011
2868425012 _ACEOF
2868525013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28686 $EGREP "xyzzy" >/dev/null 2>&1; then
28687
28688 cat >>confdefs.h <<\_ACEOF
28689 #define HAVE_SIGKILL 1
28690 _ACEOF
28691
28692 echo "$as_me:$LINENO: result: yes" >&5
28693 echo "${ECHO_T}yes" >&6
28694 else
28695 echo "$as_me:$LINENO: result: no" >&5
28696 echo "${ECHO_T}no" >&6
25014 $EGREP "xyzzy" >/dev/null 2>&1; then :
25015
25016 $as_echo "#define HAVE_SIGKILL 1" >>confdefs.h
25017
25018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25019 $as_echo "yes" >&6; }
25020 else
25021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25022 $as_echo "no" >&6; }
2869725023 fi
2869825024 rm -f conftest*
2869925025
2870025026
28701 echo "$as_me:$LINENO: checking if signal.h defines SIGDANGER" >&5
28702 echo $ECHO_N "checking if signal.h defines SIGDANGER... $ECHO_C" >&6
28703 cat >conftest.$ac_ext <<_ACEOF
28704 /* confdefs.h. */
28705 _ACEOF
28706 cat confdefs.h >>conftest.$ac_ext
28707 cat >>conftest.$ac_ext <<_ACEOF
25027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal.h defines SIGDANGER" >&5
25028 $as_echo_n "checking if signal.h defines SIGDANGER... " >&6; }
25029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2870825030 /* end confdefs.h. */
2870925031
2871025032 #include <signal.h>
2871425036
2871525037 _ACEOF
2871625038 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28717 $EGREP "xyzzy" >/dev/null 2>&1; then
28718
28719 cat >>confdefs.h <<\_ACEOF
28720 #define HAVE_SIGDANGER 1
28721 _ACEOF
28722
28723 echo "$as_me:$LINENO: result: yes" >&5
28724 echo "${ECHO_T}yes" >&6
28725 else
28726 echo "$as_me:$LINENO: result: no" >&5
28727 echo "${ECHO_T}no" >&6
25039 $EGREP "xyzzy" >/dev/null 2>&1; then :
25040
25041 $as_echo "#define HAVE_SIGDANGER 1" >>confdefs.h
25042
25043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25044 $as_echo "yes" >&6; }
25045 else
25046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25047 $as_echo "no" >&6; }
2872825048 fi
2872925049 rm -f conftest*
2873025050
2873125051
28732 echo "$as_me:$LINENO: checking if signal.h defines SIGPIPE" >&5
28733 echo $ECHO_N "checking if signal.h defines SIGPIPE... $ECHO_C" >&6
28734 cat >conftest.$ac_ext <<_ACEOF
28735 /* confdefs.h. */
28736 _ACEOF
28737 cat confdefs.h >>conftest.$ac_ext
28738 cat >>conftest.$ac_ext <<_ACEOF
25052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal.h defines SIGPIPE" >&5
25053 $as_echo_n "checking if signal.h defines SIGPIPE... " >&6; }
25054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2873925055 /* end confdefs.h. */
2874025056
2874125057 #include <signal.h>
2874525061
2874625062 _ACEOF
2874725063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28748 $EGREP "xyzzy" >/dev/null 2>&1; then
28749
28750 cat >>confdefs.h <<\_ACEOF
28751 #define HAVE_SIGPIPE 1
28752 _ACEOF
28753
28754 echo "$as_me:$LINENO: result: yes" >&5
28755 echo "${ECHO_T}yes" >&6
28756 else
28757 echo "$as_me:$LINENO: result: no" >&5
28758 echo "${ECHO_T}no" >&6
25064 $EGREP "xyzzy" >/dev/null 2>&1; then :
25065
25066 $as_echo "#define HAVE_SIGPIPE 1" >>confdefs.h
25067
25068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25069 $as_echo "yes" >&6; }
25070 else
25071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25072 $as_echo "no" >&6; }
2875925073 fi
2876025074 rm -f conftest*
2876125075
2876225076
28763 echo "$as_me:$LINENO: checking if signal.h defines SIGQUIT" >&5
28764 echo $ECHO_N "checking if signal.h defines SIGQUIT... $ECHO_C" >&6
28765 cat >conftest.$ac_ext <<_ACEOF
28766 /* confdefs.h. */
28767 _ACEOF
28768 cat confdefs.h >>conftest.$ac_ext
28769 cat >>conftest.$ac_ext <<_ACEOF
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal.h defines SIGQUIT" >&5
25078 $as_echo_n "checking if signal.h defines SIGQUIT... " >&6; }
25079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2877025080 /* end confdefs.h. */
2877125081
2877225082 #include <signal.h>
2877625086
2877725087 _ACEOF
2877825088 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28779 $EGREP "xyzzy" >/dev/null 2>&1; then
28780
28781 cat >>confdefs.h <<\_ACEOF
28782 #define HAVE_SIGQUIT 1
28783 _ACEOF
28784
28785 echo "$as_me:$LINENO: result: yes" >&5
28786 echo "${ECHO_T}yes" >&6
28787 else
28788 echo "$as_me:$LINENO: result: no" >&5
28789 echo "${ECHO_T}no" >&6
25089 $EGREP "xyzzy" >/dev/null 2>&1; then :
25090
25091 $as_echo "#define HAVE_SIGQUIT 1" >>confdefs.h
25092
25093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25094 $as_echo "yes" >&6; }
25095 else
25096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25097 $as_echo "no" >&6; }
2879025098 fi
2879125099 rm -f conftest*
2879225100
2879325101
28794 cat >conftest.$ac_ext <<_ACEOF
28795 /* confdefs.h. */
28796 _ACEOF
28797 cat confdefs.h >>conftest.$ac_ext
28798 cat >>conftest.$ac_ext <<_ACEOF
25102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2879925103 /* end confdefs.h. */
2880025104
2880125105 int
2880625110 return 0;
2880725111 }
2880825112 _ACEOF
28809 rm -f conftest.$ac_objext
28810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28811 (eval $ac_compile) 2>conftest.er1
28812 ac_status=$?
28813 grep -v '^ *+' conftest.er1 >conftest.err
28814 rm -f conftest.er1
28815 cat conftest.err >&5
28816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28817 (exit $ac_status); } &&
28818 { ac_try='test -z "$ac_c_werror_flag"
28819 || test ! -s conftest.err'
28820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28821 (eval $ac_try) 2>&5
28822 ac_status=$?
28823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28824 (exit $ac_status); }; } &&
28825 { ac_try='test -s conftest.$ac_objext'
28826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28827 (eval $ac_try) 2>&5
28828 ac_status=$?
28829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28830 (exit $ac_status); }; }; then
25113 if ac_fn_c_try_compile "$LINENO"; then :
2883125114
2883225115 cat >>confdefs.h <<_ACEOF
2883325116 #define GETENV_ARG const char *
2883425117 _ACEOF
2883525118
2883625119 else
28837 echo "$as_me: failed program was:" >&5
28838 sed 's/^/| /' conftest.$ac_ext >&5
28839
28840 cat >>confdefs.h <<_ACEOF
25120 cat >>confdefs.h <<_ACEOF
2884125121 #define GETENV_ARG char *
2884225122 _ACEOF
2884325123
2884425124 fi
28845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28846
28847 cat >conftest.$ac_ext <<_ACEOF
28848 /* confdefs.h. */
28849 _ACEOF
28850 cat confdefs.h >>conftest.$ac_ext
28851 cat >>conftest.$ac_ext <<_ACEOF
25125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25126
25127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2885225128 /* end confdefs.h. */
2885325129
2885425130 #include <sys/systemcfg.h>
2886325139 return 0;
2886425140 }
2886525141 _ACEOF
28866 rm -f conftest.$ac_objext conftest$ac_exeext
28867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28868 (eval $ac_link) 2>conftest.er1
28869 ac_status=$?
28870 grep -v '^ *+' conftest.er1 >conftest.err
28871 rm -f conftest.er1
28872 cat conftest.err >&5
28873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28874 (exit $ac_status); } &&
28875 { ac_try='test -z "$ac_c_werror_flag"
28876 || test ! -s conftest.err'
28877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28878 (eval $ac_try) 2>&5
28879 ac_status=$?
28880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28881 (exit $ac_status); }; } &&
28882 { ac_try='test -s conftest$ac_exeext'
28883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28884 (eval $ac_try) 2>&5
28885 ac_status=$?
28886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28887 (exit $ac_status); }; }; then
25142 if ac_fn_c_try_link "$LINENO"; then :
2888825143
2888925144
2889025145 cat >>confdefs.h <<_ACEOF
2889225147 _ACEOF
2889325148
2889425149
28895 else
28896 echo "$as_me: failed program was:" >&5
28897 sed 's/^/| /' conftest.$ac_ext >&5
28898
28899 fi
28900 rm -f conftest.err conftest.$ac_objext \
28901 conftest$ac_exeext conftest.$ac_ext
25150 fi
25151 rm -f core conftest.err conftest.$ac_objext \
25152 conftest$ac_exeext conftest.$ac_ext
2890225153
2890325154 for ac_prog in flex lex
2890425155 do
2890525156 # Extract the first word of "$ac_prog", so it can be a program name with args.
2890625157 set dummy $ac_prog; ac_word=$2
28907 echo "$as_me:$LINENO: checking for $ac_word" >&5
28908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28909 if test "${ac_cv_prog_LEX+set}" = set; then
28910 echo $ECHO_N "(cached) $ECHO_C" >&6
25158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25159 $as_echo_n "checking for $ac_word... " >&6; }
25160 if ${ac_cv_prog_LEX+:} false; then :
25161 $as_echo_n "(cached) " >&6
2891125162 else
2891225163 if test -n "$LEX"; then
2891325164 ac_cv_prog_LEX="$LEX" # Let the user override the test.
2891725168 do
2891825169 IFS=$as_save_IFS
2891925170 test -z "$as_dir" && as_dir=.
28920 for ac_exec_ext in '' $ac_executable_extensions; do
28921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25171 for ac_exec_ext in '' $ac_executable_extensions; do
25172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2892225173 ac_cv_prog_LEX="$ac_prog"
28923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2892425175 break 2
2892525176 fi
2892625177 done
28927 done
25178 done
25179 IFS=$as_save_IFS
2892825180
2892925181 fi
2893025182 fi
2893125183 LEX=$ac_cv_prog_LEX
2893225184 if test -n "$LEX"; then
28933 echo "$as_me:$LINENO: result: $LEX" >&5
28934 echo "${ECHO_T}$LEX" >&6
28935 else
28936 echo "$as_me:$LINENO: result: no" >&5
28937 echo "${ECHO_T}no" >&6
28938 fi
25185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
25186 $as_echo "$LEX" >&6; }
25187 else
25188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25189 $as_echo "no" >&6; }
25190 fi
25191
2893925192
2894025193 test -n "$LEX" && break
2894125194 done
2894225195 test -n "$LEX" || LEX=":"
2894325196
28944 if test -z "$LEXLIB"
28945 then
28946 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
28947 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
28948 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
28949 echo $ECHO_N "(cached) $ECHO_C" >&6
28950 else
28951 ac_check_lib_save_LIBS=$LIBS
28952 LIBS="-lfl $LIBS"
28953 cat >conftest.$ac_ext <<_ACEOF
28954 /* confdefs.h. */
28955 _ACEOF
28956 cat confdefs.h >>conftest.$ac_ext
28957 cat >>conftest.$ac_ext <<_ACEOF
28958 /* end confdefs.h. */
28959
28960 /* Override any gcc2 internal prototype to avoid an error. */
28961 #ifdef __cplusplus
28962 extern "C"
25197 if test "x$LEX" != "x:"; then
25198 cat >conftest.l <<_ACEOF
25199 %%
25200 a { ECHO; }
25201 b { REJECT; }
25202 c { yymore (); }
25203 d { yyless (1); }
25204 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
25205 yyless ((input () != 0)); }
25206 f { unput (yytext[0]); }
25207 . { BEGIN INITIAL; }
25208 %%
25209 #ifdef YYTEXT_POINTER
25210 extern char *yytext;
2896325211 #endif
28964 /* We use char because int might match the return type of a gcc2
28965 builtin and then its argument prototype would still apply. */
28966 char yywrap ();
2896725212 int
28968 main ()
25213 main (void)
2896925214 {
28970 yywrap ();
28971 ;
28972 return 0;
25215 return ! yylex () + ! yywrap ();
2897325216 }
2897425217 _ACEOF
28975 rm -f conftest.$ac_objext conftest$ac_exeext
28976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28977 (eval $ac_link) 2>conftest.er1
25218 { { ac_try="$LEX conftest.l"
25219 case "(($ac_try" in
25220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25221 *) ac_try_echo=$ac_try;;
25222 esac
25223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
25224 $as_echo "$ac_try_echo"; } >&5
25225 (eval "$LEX conftest.l") 2>&5
2897825226 ac_status=$?
28979 grep -v '^ *+' conftest.er1 >conftest.err
28980 rm -f conftest.er1
28981 cat conftest.err >&5
28982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28983 (exit $ac_status); } &&
28984 { ac_try='test -z "$ac_c_werror_flag"
28985 || test ! -s conftest.err'
28986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28987 (eval $ac_try) 2>&5
28988 ac_status=$?
28989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28990 (exit $ac_status); }; } &&
28991 { ac_try='test -s conftest$ac_exeext'
28992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28993 (eval $ac_try) 2>&5
28994 ac_status=$?
28995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28996 (exit $ac_status); }; }; then
28997 ac_cv_lib_fl_yywrap=yes
28998 else
28999 echo "$as_me: failed program was:" >&5
29000 sed 's/^/| /' conftest.$ac_ext >&5
29001
29002 ac_cv_lib_fl_yywrap=no
29003 fi
29004 rm -f conftest.err conftest.$ac_objext \
29005 conftest$ac_exeext conftest.$ac_ext
29006 LIBS=$ac_check_lib_save_LIBS
29007 fi
29008 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
29009 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
29010 if test $ac_cv_lib_fl_yywrap = yes; then
29011 LEXLIB="-lfl"
29012 else
29013 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
29014 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
29015 if test "${ac_cv_lib_l_yywrap+set}" = set; then
29016 echo $ECHO_N "(cached) $ECHO_C" >&6
29017 else
29018 ac_check_lib_save_LIBS=$LIBS
29019 LIBS="-ll $LIBS"
29020 cat >conftest.$ac_ext <<_ACEOF
29021 /* confdefs.h. */
29022 _ACEOF
29023 cat confdefs.h >>conftest.$ac_ext
29024 cat >>conftest.$ac_ext <<_ACEOF
29025 /* end confdefs.h. */
29026
29027 /* Override any gcc2 internal prototype to avoid an error. */
29028 #ifdef __cplusplus
29029 extern "C"
29030 #endif
29031 /* We use char because int might match the return type of a gcc2
29032 builtin and then its argument prototype would still apply. */
29033 char yywrap ();
29034 int
29035 main ()
29036 {
29037 yywrap ();
29038 ;
29039 return 0;
29040 }
29041 _ACEOF
29042 rm -f conftest.$ac_objext conftest$ac_exeext
29043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29044 (eval $ac_link) 2>conftest.er1
29045 ac_status=$?
29046 grep -v '^ *+' conftest.er1 >conftest.err
29047 rm -f conftest.er1
29048 cat conftest.err >&5
29049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29050 (exit $ac_status); } &&
29051 { ac_try='test -z "$ac_c_werror_flag"
29052 || test ! -s conftest.err'
29053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29054 (eval $ac_try) 2>&5
29055 ac_status=$?
29056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29057 (exit $ac_status); }; } &&
29058 { ac_try='test -s conftest$ac_exeext'
29059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29060 (eval $ac_try) 2>&5
29061 ac_status=$?
29062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29063 (exit $ac_status); }; }; then
29064 ac_cv_lib_l_yywrap=yes
29065 else
29066 echo "$as_me: failed program was:" >&5
29067 sed 's/^/| /' conftest.$ac_ext >&5
29068
29069 ac_cv_lib_l_yywrap=no
29070 fi
29071 rm -f conftest.err conftest.$ac_objext \
29072 conftest$ac_exeext conftest.$ac_ext
29073 LIBS=$ac_check_lib_save_LIBS
29074 fi
29075 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
29076 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
29077 if test $ac_cv_lib_l_yywrap = yes; then
29078 LEXLIB="-ll"
29079 fi
29080
29081 fi
29082
29083 fi
29084
29085 if test "x$LEX" != "x:"; then
29086 echo "$as_me:$LINENO: checking lex output file root" >&5
29087 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
29088 if test "${ac_cv_prog_lex_root+set}" = set; then
29089 echo $ECHO_N "(cached) $ECHO_C" >&6
29090 else
29091 # The minimal lex program is just a single line: %%. But some broken lexes
29092 # (Solaris, I think it was) want two %% lines, so accommodate them.
29093 cat >conftest.l <<_ACEOF
29094 %%
29095 %%
29096 _ACEOF
29097 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
29098 (eval $LEX conftest.l) 2>&5
29099 ac_status=$?
29100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29101 (exit $ac_status); }
25227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25228 test $ac_status = 0; }
25229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
25230 $as_echo_n "checking lex output file root... " >&6; }
25231 if ${ac_cv_prog_lex_root+:} false; then :
25232 $as_echo_n "(cached) " >&6
25233 else
25234
2910225235 if test -f lex.yy.c; then
2910325236 ac_cv_prog_lex_root=lex.yy
2910425237 elif test -f lexyy.c; then
2910525238 ac_cv_prog_lex_root=lexyy
2910625239 else
29107 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
29108 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
29109 { (exit 1); exit 1; }; }
29110 fi
29111 fi
29112 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
29113 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
29114 rm -f conftest.l
25240 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
25241 fi
25242 fi
25243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
25244 $as_echo "$ac_cv_prog_lex_root" >&6; }
2911525245 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
2911625246
29117 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
29118 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
29119 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
29120 echo $ECHO_N "(cached) $ECHO_C" >&6
25247 if test -z "${LEXLIB+set}"; then
25248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
25249 $as_echo_n "checking lex library... " >&6; }
25250 if ${ac_cv_lib_lex+:} false; then :
25251 $as_echo_n "(cached) " >&6
25252 else
25253
25254 ac_save_LIBS=$LIBS
25255 ac_cv_lib_lex='none needed'
25256 for ac_lib in '' -lfl -ll; do
25257 LIBS="$ac_lib $ac_save_LIBS"
25258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25259 /* end confdefs.h. */
25260 `cat $LEX_OUTPUT_ROOT.c`
25261 _ACEOF
25262 if ac_fn_c_try_link "$LINENO"; then :
25263 ac_cv_lib_lex=$ac_lib
25264 fi
25265 rm -f core conftest.err conftest.$ac_objext \
25266 conftest$ac_exeext conftest.$ac_ext
25267 test "$ac_cv_lib_lex" != 'none needed' && break
25268 done
25269 LIBS=$ac_save_LIBS
25270
25271 fi
25272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
25273 $as_echo "$ac_cv_lib_lex" >&6; }
25274 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
25275 fi
25276
25277
25278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
25279 $as_echo_n "checking whether yytext is a pointer... " >&6; }
25280 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
25281 $as_echo_n "(cached) " >&6
2912125282 else
2912225283 # POSIX says lex can declare yytext either as a pointer or an array; the
29123 # default is implementation-dependent. Figure out which it is, since
25284 # default is implementation-dependent. Figure out which it is, since
2912425285 # not all implementations provide the %pointer and %array declarations.
2912525286 ac_cv_prog_lex_yytext_pointer=no
29126 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
2912725287 ac_save_LIBS=$LIBS
29128 LIBS="$LIBS $LEXLIB"
29129 cat >conftest.$ac_ext <<_ACEOF
25288 LIBS="$LEXLIB $ac_save_LIBS"
25289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25290 /* end confdefs.h. */
25291
25292 #define YYTEXT_POINTER 1
2913025293 `cat $LEX_OUTPUT_ROOT.c`
2913125294 _ACEOF
29132 rm -f conftest.$ac_objext conftest$ac_exeext
29133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29134 (eval $ac_link) 2>conftest.er1
29135 ac_status=$?
29136 grep -v '^ *+' conftest.er1 >conftest.err
29137 rm -f conftest.er1
29138 cat conftest.err >&5
29139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140 (exit $ac_status); } &&
29141 { ac_try='test -z "$ac_c_werror_flag"
29142 || test ! -s conftest.err'
29143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29144 (eval $ac_try) 2>&5
29145 ac_status=$?
29146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29147 (exit $ac_status); }; } &&
29148 { ac_try='test -s conftest$ac_exeext'
29149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29150 (eval $ac_try) 2>&5
29151 ac_status=$?
29152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29153 (exit $ac_status); }; }; then
25295 if ac_fn_c_try_link "$LINENO"; then :
2915425296 ac_cv_prog_lex_yytext_pointer=yes
29155 else
29156 echo "$as_me: failed program was:" >&5
29157 sed 's/^/| /' conftest.$ac_ext >&5
29158
29159 fi
29160 rm -f conftest.err conftest.$ac_objext \
29161 conftest$ac_exeext conftest.$ac_ext
25297 fi
25298 rm -f core conftest.err conftest.$ac_objext \
25299 conftest$ac_exeext conftest.$ac_ext
2916225300 LIBS=$ac_save_LIBS
29163 rm -f "${LEX_OUTPUT_ROOT}.c"
29164
29165 fi
29166 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
29167 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
25301
25302 fi
25303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
25304 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
2916825305 if test $ac_cv_prog_lex_yytext_pointer = yes; then
2916925306
29170 cat >>confdefs.h <<\_ACEOF
29171 #define YYTEXT_POINTER 1
29172 _ACEOF
29173
29174 fi
25307 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
25308
25309 fi
25310 rm -f conftest.l $LEX_OUTPUT_ROOT.c
2917525311
2917625312 fi
2917725313 if test "$LEX" = "flex" ; then
2917825314
29179 cat >>confdefs.h <<\_ACEOF
29180 #define USING_FLEX 1
29181 _ACEOF
25315 $as_echo "#define USING_FLEX 1" >>confdefs.h
2918225316
2918325317 LEX="flex -l"
2918425318 fi
2918525319
29186 echo "$as_me:$LINENO: checking lex output file root" >&5
29187 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
29188 if test "${ac_cv_prog_lex_root+set}" = set; then
29189 echo $ECHO_N "(cached) $ECHO_C" >&6
25320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
25321 $as_echo_n "checking lex output file root... " >&6; }
25322 if ${ac_cv_prog_lex_root+:} false; then :
25323 $as_echo_n "(cached) " >&6
2919025324 else
2919125325 # The minimal lex program is just a single line: %%. But some broken lexes
2919225326 # (Solaris, I think it was) want two %% lines, so accommodate them.
2919725331 elif test -f lexyy.c; then
2919825332 ac_cv_prog_lex_root=lexyy
2919925333 else
29200 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
29201 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
29202 { (exit 1); exit 1; }; }
29203 fi
29204 fi
29205 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
29206 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
25334 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
25335 fi
25336 fi
25337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
25338 $as_echo "$ac_cv_prog_lex_root" >&6; }
2920725339 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
2920825340
29209 echo "$as_me:$LINENO: checking whether yylineno is defined" >&5
29210 echo $ECHO_N "checking whether yylineno is defined... $ECHO_C" >&6
25341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yylineno is defined" >&5
25342 $as_echo_n "checking whether yylineno is defined... " >&6; }
2921125343 cat > conftest.lex <<EOF
2921225344 %%
2921325345 test printf( "testing for yylineno" );
2922425356 $LEX conftest.lex
2922525357 ac_save_LIBS=$LIBS
2922625358 LIBS="$LIBS $LEXLIB"
29227 cat >conftest.$ac_ext <<_ACEOF
25359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25360 /* end confdefs.h. */
2922825361 `cat $LEX_OUTPUT_ROOT.c`
2922925362 _ACEOF
29230 rm -f conftest.$ac_objext conftest$ac_exeext
29231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29232 (eval $ac_link) 2>conftest.er1
29233 ac_status=$?
29234 grep -v '^ *+' conftest.er1 >conftest.err
29235 rm -f conftest.er1
29236 cat conftest.err >&5
29237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29238 (exit $ac_status); } &&
29239 { ac_try='test -z "$ac_c_werror_flag"
29240 || test ! -s conftest.err'
29241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29242 (eval $ac_try) 2>&5
29243 ac_status=$?
29244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29245 (exit $ac_status); }; } &&
29246 { ac_try='test -s conftest$ac_exeext'
29247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29248 (eval $ac_try) 2>&5
29249 ac_status=$?
29250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29251 (exit $ac_status); }; }; then
29252 echo "$as_me:$LINENO: result: yes" >&5
29253 echo "${ECHO_T}yes" >&6
29254
29255 cat >>confdefs.h <<\_ACEOF
29256 #define YYLINENO_DEFINED 1
29257 _ACEOF
29258
29259 else
29260 echo "$as_me: failed program was:" >&5
29261 sed 's/^/| /' conftest.$ac_ext >&5
29262
29263 echo "$as_me:$LINENO: result: no" >&5
29264 echo "${ECHO_T}no" >&6
29265 fi
29266 rm -f conftest.err conftest.$ac_objext \
29267 conftest$ac_exeext conftest.$ac_ext
25363 if ac_fn_c_try_link "$LINENO"; then :
25364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25365 $as_echo "yes" >&6; }
25366
25367 $as_echo "#define YYLINENO_DEFINED 1" >>confdefs.h
25368
25369 else
25370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25371 $as_echo "no" >&6; }
25372 fi
25373 rm -f core conftest.err conftest.$ac_objext \
25374 conftest$ac_exeext conftest.$ac_ext
2926825375 LIBS=$ac_save_LIBS
2926925376 rm -f "${LEX_OUTPUT_ROOT}.c"
2927025377 rm -f "conftesst.lex"
2927325380
2927425381 # Extract the first word of "bison", so it can be a program name with args.
2927525382 set dummy bison; ac_word=$2
29276 echo "$as_me:$LINENO: checking for $ac_word" >&5
29277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29278 if test "${ac_cv_prog_yakker+set}" = set; then
29279 echo $ECHO_N "(cached) $ECHO_C" >&6
25383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25384 $as_echo_n "checking for $ac_word... " >&6; }
25385 if ${ac_cv_prog_yakker+:} false; then :
25386 $as_echo_n "(cached) " >&6
2928025387 else
2928125388 if test -n "$yakker"; then
2928225389 ac_cv_prog_yakker="$yakker" # Let the user override the test.
2928625393 do
2928725394 IFS=$as_save_IFS
2928825395 test -z "$as_dir" && as_dir=.
29289 for ac_exec_ext in '' $ac_executable_extensions; do
29290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25396 for ac_exec_ext in '' $ac_executable_extensions; do
25397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2929125398 ac_cv_prog_yakker=""bison""
29292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2929325400 break 2
2929425401 fi
2929525402 done
29296 done
25403 done
25404 IFS=$as_save_IFS
2929725405
2929825406 test -z "$ac_cv_prog_yakker" && ac_cv_prog_yakker=""yacc""
2929925407 fi
2930025408 fi
2930125409 yakker=$ac_cv_prog_yakker
2930225410 if test -n "$yakker"; then
29303 echo "$as_me:$LINENO: result: $yakker" >&5
29304 echo "${ECHO_T}$yakker" >&6
29305 else
29306 echo "$as_me:$LINENO: result: no" >&5
29307 echo "${ECHO_T}no" >&6
29308 fi
25411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $yakker" >&5
25412 $as_echo "$yakker" >&6; }
25413 else
25414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25415 $as_echo "no" >&6; }
25416 fi
25417
2930925418
2931025419 if test "$yakker" = "bison" ; then
2931125420
29312 cat >>confdefs.h <<\_ACEOF
29313 #define USING_BISON 1
29314 _ACEOF
25421 $as_echo "#define USING_BISON 1" >>confdefs.h
2931525422
2931625423 YACC="bison -y"
2931725424 else
2931825425 YACC=yacc
2931925426 fi
2932025427
29321 cat >>confdefs.h <<\_ACEOF
29322 #define USING_BISON 1
29323 _ACEOF
25428 $as_echo "#define USING_BISON 1" >>confdefs.h
2932425429
2932525430
2932625431
2934925454 xgl/xgl.h
2935025455 do
2935125456 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
29352 echo "$as_me:$LINENO: checking for $ac_hdr" >&5
29353 echo $ECHO_N "checking for $ac_hdr... $ECHO_C" >&6
29354 if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then
29355 echo $ECHO_N "(cached) $ECHO_C" >&6
29356 else
29357 cat >conftest.$ac_ext <<_ACEOF
29358 /* confdefs.h. */
29359 _ACEOF
29360 cat confdefs.h >>conftest.$ac_ext
29361 cat >>conftest.$ac_ext <<_ACEOF
25457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr" >&5
25458 $as_echo_n "checking for $ac_hdr... " >&6; }
25459 if eval \${ac_cv_header_$ac_safe+:} false; then :
25460 $as_echo_n "(cached) " >&6
25461 else
25462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2936225463 /* end confdefs.h. */
29363 [#]line 29364 "configure"
25464 [#]line 25465 "configure"
2936425465 #include "confdefs.h"
2936525466 #include <$ac_hdr>
2936625467 _ACEOF
29367 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29368 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29369 ac_status=$?
29370 grep -v '^ *+' conftest.er1 >conftest.err
29371 rm -f conftest.er1
29372 cat conftest.err >&5
29373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29374 (exit $ac_status); } >/dev/null; then
29375 if test -s conftest.err; then
29376 ac_cpp_err=$ac_c_preproc_warn_flag
29377 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29378 else
29379 ac_cpp_err=
29380 fi
29381 else
29382 ac_cpp_err=yes
29383 fi
29384 if test -z "$ac_cpp_err"; then
25468 if ac_fn_c_try_cpp "$LINENO"; then :
2938525469 eval "ac_cv_header_$ac_safe=yes"
2938625470 else
29387 echo "$as_me: failed program was:" >&5
29388 sed 's/^/| /' conftest.$ac_ext >&5
29389
2939025471 eval "ac_cv_header_$ac_safe=no"
2939125472 fi
29392 rm -f conftest.err conftest.$ac_ext
25473 rm -f conftest.err conftest.i conftest.$ac_ext
2939325474 fi
2939425475 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
29395 echo "$as_me:$LINENO: result: yes" >&5
29396 echo "${ECHO_T}yes" >&6
25476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25477 $as_echo "yes" >&6; }
2939725478 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2939825479 cat >>confdefs.h <<_ACEOF
2939925480 #define $ac_tr_hdr 1
2940025481 _ACEOF
2940125482
2940225483 else
29403 echo "$as_me:$LINENO: result: no" >&5
29404 echo "${ECHO_T}no" >&6
25484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25485 $as_echo "no" >&6; }
2940525486 fi
2940625487 done
2940725488
2940825489
2940925490
29410
29411
29412
29413
29414
29415
2941625491 for ac_header in arpa/inet.h CC/osfcn.h conio.h crypt.h ctype.h cygwin/socket.h
29417 do
29418 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29420 echo "$as_me:$LINENO: checking for $ac_header" >&5
29421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29423 echo $ECHO_N "(cached) $ECHO_C" >&6
29424 fi
29425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29427 else
29428 # Is the header compilable?
29429 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29430 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29431 cat >conftest.$ac_ext <<_ACEOF
29432 /* confdefs.h. */
29433 _ACEOF
29434 cat confdefs.h >>conftest.$ac_ext
29435 cat >>conftest.$ac_ext <<_ACEOF
29436 /* end confdefs.h. */
29437 $ac_includes_default
29438 #include <$ac_header>
29439 _ACEOF
29440 rm -f conftest.$ac_objext
29441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29442 (eval $ac_compile) 2>conftest.er1
29443 ac_status=$?
29444 grep -v '^ *+' conftest.er1 >conftest.err
29445 rm -f conftest.er1
29446 cat conftest.err >&5
29447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29448 (exit $ac_status); } &&
29449 { ac_try='test -z "$ac_c_werror_flag"
29450 || test ! -s conftest.err'
29451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29452 (eval $ac_try) 2>&5
29453 ac_status=$?
29454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29455 (exit $ac_status); }; } &&
29456 { ac_try='test -s conftest.$ac_objext'
29457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29458 (eval $ac_try) 2>&5
29459 ac_status=$?
29460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29461 (exit $ac_status); }; }; then
29462 ac_header_compiler=yes
29463 else
29464 echo "$as_me: failed program was:" >&5
29465 sed 's/^/| /' conftest.$ac_ext >&5
29466
29467 ac_header_compiler=no
29468 fi
29469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29471 echo "${ECHO_T}$ac_header_compiler" >&6
29472
29473 # Is the header present?
29474 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29475 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29476 cat >conftest.$ac_ext <<_ACEOF
29477 /* confdefs.h. */
29478 _ACEOF
29479 cat confdefs.h >>conftest.$ac_ext
29480 cat >>conftest.$ac_ext <<_ACEOF
29481 /* end confdefs.h. */
29482 #include <$ac_header>
29483 _ACEOF
29484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29485 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29486 ac_status=$?
29487 grep -v '^ *+' conftest.er1 >conftest.err
29488 rm -f conftest.er1
29489 cat conftest.err >&5
29490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29491 (exit $ac_status); } >/dev/null; then
29492 if test -s conftest.err; then
29493 ac_cpp_err=$ac_c_preproc_warn_flag
29494 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29495 else
29496 ac_cpp_err=
29497 fi
29498 else
29499 ac_cpp_err=yes
29500 fi
29501 if test -z "$ac_cpp_err"; then
29502 ac_header_preproc=yes
29503 else
29504 echo "$as_me: failed program was:" >&5
29505 sed 's/^/| /' conftest.$ac_ext >&5
29506
29507 ac_header_preproc=no
29508 fi
29509 rm -f conftest.err conftest.$ac_ext
29510 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29511 echo "${ECHO_T}$ac_header_preproc" >&6
29512
29513 # So? What about this header?
29514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29515 yes:no: )
29516 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29517 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29519 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29520 ac_header_preproc=yes
29521 ;;
29522 no:yes:* )
29523 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29524 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29525 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29526 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29527 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29528 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29529 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29530 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29532 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29533 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29534 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29535 (
29536 cat <<\_ASBOX
29537 ## ----------------------------- ##
29538 ## Report this to the dx lists. ##
29539 ## ----------------------------- ##
29540 _ASBOX
29541 ) |
29542 sed "s/^/$as_me: WARNING: /" >&2
29543 ;;
29544 esac
29545 echo "$as_me:$LINENO: checking for $ac_header" >&5
29546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29548 echo $ECHO_N "(cached) $ECHO_C" >&6
29549 else
29550 eval "$as_ac_Header=\$ac_header_preproc"
29551 fi
29552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29554
29555 fi
29556 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25492 do :
25493 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25494 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25495 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
2955725496 cat >>confdefs.h <<_ACEOF
29558 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25497 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
2955925498 _ACEOF
2956025499
2956125500 fi
2956225501
2956325502 done
2956425503
29565
29566
29567
29568
29569
29570
29571
29572
2957325504 for ac_header in sys/socket.h dlfcn.h errno.h fcntl.h get.h io.h limits.h malloc.h
29574 do
29575 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29577 echo "$as_me:$LINENO: checking for $ac_header" >&5
29578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29580 echo $ECHO_N "(cached) $ECHO_C" >&6
29581 fi
29582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29584 else
29585 # Is the header compilable?
29586 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29587 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29588 cat >conftest.$ac_ext <<_ACEOF
29589 /* confdefs.h. */
29590 _ACEOF
29591 cat confdefs.h >>conftest.$ac_ext
29592 cat >>conftest.$ac_ext <<_ACEOF
29593 /* end confdefs.h. */
29594 $ac_includes_default
29595 #include <$ac_header>
29596 _ACEOF
29597 rm -f conftest.$ac_objext
29598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29599 (eval $ac_compile) 2>conftest.er1
29600 ac_status=$?
29601 grep -v '^ *+' conftest.er1 >conftest.err
29602 rm -f conftest.er1
29603 cat conftest.err >&5
29604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29605 (exit $ac_status); } &&
29606 { ac_try='test -z "$ac_c_werror_flag"
29607 || test ! -s conftest.err'
29608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29609 (eval $ac_try) 2>&5
29610 ac_status=$?
29611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29612 (exit $ac_status); }; } &&
29613 { ac_try='test -s conftest.$ac_objext'
29614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29615 (eval $ac_try) 2>&5
29616 ac_status=$?
29617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29618 (exit $ac_status); }; }; then
29619 ac_header_compiler=yes
29620 else
29621 echo "$as_me: failed program was:" >&5
29622 sed 's/^/| /' conftest.$ac_ext >&5
29623
29624 ac_header_compiler=no
29625 fi
29626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29627 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29628 echo "${ECHO_T}$ac_header_compiler" >&6
29629
29630 # Is the header present?
29631 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29632 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29633 cat >conftest.$ac_ext <<_ACEOF
29634 /* confdefs.h. */
29635 _ACEOF
29636 cat confdefs.h >>conftest.$ac_ext
29637 cat >>conftest.$ac_ext <<_ACEOF
29638 /* end confdefs.h. */
29639 #include <$ac_header>
29640 _ACEOF
29641 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29642 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29643 ac_status=$?
29644 grep -v '^ *+' conftest.er1 >conftest.err
29645 rm -f conftest.er1
29646 cat conftest.err >&5
29647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29648 (exit $ac_status); } >/dev/null; then
29649 if test -s conftest.err; then
29650 ac_cpp_err=$ac_c_preproc_warn_flag
29651 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29652 else
29653 ac_cpp_err=
29654 fi
29655 else
29656 ac_cpp_err=yes
29657 fi
29658 if test -z "$ac_cpp_err"; then
29659 ac_header_preproc=yes
29660 else
29661 echo "$as_me: failed program was:" >&5
29662 sed 's/^/| /' conftest.$ac_ext >&5
29663
29664 ac_header_preproc=no
29665 fi
29666 rm -f conftest.err conftest.$ac_ext
29667 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29668 echo "${ECHO_T}$ac_header_preproc" >&6
29669
29670 # So? What about this header?
29671 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29672 yes:no: )
29673 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29674 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29675 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29676 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29677 ac_header_preproc=yes
29678 ;;
29679 no:yes:* )
29680 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29681 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29682 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29683 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29684 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29685 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29686 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29687 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29689 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29690 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29691 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29692 (
29693 cat <<\_ASBOX
29694 ## ----------------------------- ##
29695 ## Report this to the dx lists. ##
29696 ## ----------------------------- ##
29697 _ASBOX
29698 ) |
29699 sed "s/^/$as_me: WARNING: /" >&2
29700 ;;
29701 esac
29702 echo "$as_me:$LINENO: checking for $ac_header" >&5
29703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29704 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29705 echo $ECHO_N "(cached) $ECHO_C" >&6
29706 else
29707 eval "$as_ac_Header=\$ac_header_preproc"
29708 fi
29709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29710 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29711
29712 fi
29713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25505 do :
25506 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25507 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25508 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
2971425509 cat >>confdefs.h <<_ACEOF
29715 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25510 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
2971625511 _ACEOF
2971725512
2971825513 fi
2971925514
2972025515 done
2972125516
29722
29723
29724
29725
29726
29727
2972825517 for ac_header in netdb.h netinet/in.h process.h pwd.h signal.h string.h
29729 do
29730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29732 echo "$as_me:$LINENO: checking for $ac_header" >&5
29733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29735 echo $ECHO_N "(cached) $ECHO_C" >&6
29736 fi
29737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29739 else
29740 # Is the header compilable?
29741 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29742 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29743 cat >conftest.$ac_ext <<_ACEOF
29744 /* confdefs.h. */
29745 _ACEOF
29746 cat confdefs.h >>conftest.$ac_ext
29747 cat >>conftest.$ac_ext <<_ACEOF
29748 /* end confdefs.h. */
29749 $ac_includes_default
29750 #include <$ac_header>
29751 _ACEOF
29752 rm -f conftest.$ac_objext
29753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29754 (eval $ac_compile) 2>conftest.er1
29755 ac_status=$?
29756 grep -v '^ *+' conftest.er1 >conftest.err
29757 rm -f conftest.er1
29758 cat conftest.err >&5
29759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29760 (exit $ac_status); } &&
29761 { ac_try='test -z "$ac_c_werror_flag"
29762 || test ! -s conftest.err'
29763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29764 (eval $ac_try) 2>&5
29765 ac_status=$?
29766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29767 (exit $ac_status); }; } &&
29768 { ac_try='test -s conftest.$ac_objext'
29769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29770 (eval $ac_try) 2>&5
29771 ac_status=$?
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); }; }; then
29774 ac_header_compiler=yes
29775 else
29776 echo "$as_me: failed program was:" >&5
29777 sed 's/^/| /' conftest.$ac_ext >&5
29778
29779 ac_header_compiler=no
29780 fi
29781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29782 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29783 echo "${ECHO_T}$ac_header_compiler" >&6
29784
29785 # Is the header present?
29786 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29787 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29788 cat >conftest.$ac_ext <<_ACEOF
29789 /* confdefs.h. */
29790 _ACEOF
29791 cat confdefs.h >>conftest.$ac_ext
29792 cat >>conftest.$ac_ext <<_ACEOF
29793 /* end confdefs.h. */
29794 #include <$ac_header>
29795 _ACEOF
29796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29797 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29798 ac_status=$?
29799 grep -v '^ *+' conftest.er1 >conftest.err
29800 rm -f conftest.er1
29801 cat conftest.err >&5
29802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803 (exit $ac_status); } >/dev/null; then
29804 if test -s conftest.err; then
29805 ac_cpp_err=$ac_c_preproc_warn_flag
29806 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29807 else
29808 ac_cpp_err=
29809 fi
29810 else
29811 ac_cpp_err=yes
29812 fi
29813 if test -z "$ac_cpp_err"; then
29814 ac_header_preproc=yes
29815 else
29816 echo "$as_me: failed program was:" >&5
29817 sed 's/^/| /' conftest.$ac_ext >&5
29818
29819 ac_header_preproc=no
29820 fi
29821 rm -f conftest.err conftest.$ac_ext
29822 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29823 echo "${ECHO_T}$ac_header_preproc" >&6
29824
29825 # So? What about this header?
29826 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29827 yes:no: )
29828 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29829 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29831 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29832 ac_header_preproc=yes
29833 ;;
29834 no:yes:* )
29835 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29836 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29837 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29838 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29839 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29840 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29841 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29842 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29845 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29846 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29847 (
29848 cat <<\_ASBOX
29849 ## ----------------------------- ##
29850 ## Report this to the dx lists. ##
29851 ## ----------------------------- ##
29852 _ASBOX
29853 ) |
29854 sed "s/^/$as_me: WARNING: /" >&2
29855 ;;
29856 esac
29857 echo "$as_me:$LINENO: checking for $ac_header" >&5
29858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29860 echo $ECHO_N "(cached) $ECHO_C" >&6
29861 else
29862 eval "$as_ac_Header=\$ac_header_preproc"
29863 fi
29864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29866
29867 fi
29868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25518 do :
25519 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25520 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25521 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
2986925522 cat >>confdefs.h <<_ACEOF
29870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25523 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
2987125524 _ACEOF
2987225525
2987325526 fi
2987425527
2987525528 done
2987625529
29877
29878
29879
29880
29881
2988225530 for ac_header in strings.h sys/bsd_types.h sys/errno.h sys/file.h sys/filio.h
29883 do
29884 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29886 echo "$as_me:$LINENO: checking for $ac_header" >&5
29887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29889 echo $ECHO_N "(cached) $ECHO_C" >&6
29890 fi
29891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29892 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29893 else
29894 # Is the header compilable?
29895 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29896 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29897 cat >conftest.$ac_ext <<_ACEOF
29898 /* confdefs.h. */
29899 _ACEOF
29900 cat confdefs.h >>conftest.$ac_ext
29901 cat >>conftest.$ac_ext <<_ACEOF
29902 /* end confdefs.h. */
29903 $ac_includes_default
29904 #include <$ac_header>
29905 _ACEOF
29906 rm -f conftest.$ac_objext
29907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29908 (eval $ac_compile) 2>conftest.er1
29909 ac_status=$?
29910 grep -v '^ *+' conftest.er1 >conftest.err
29911 rm -f conftest.er1
29912 cat conftest.err >&5
29913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29914 (exit $ac_status); } &&
29915 { ac_try='test -z "$ac_c_werror_flag"
29916 || test ! -s conftest.err'
29917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29918 (eval $ac_try) 2>&5
29919 ac_status=$?
29920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29921 (exit $ac_status); }; } &&
29922 { ac_try='test -s conftest.$ac_objext'
29923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29924 (eval $ac_try) 2>&5
29925 ac_status=$?
29926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29927 (exit $ac_status); }; }; then
29928 ac_header_compiler=yes
29929 else
29930 echo "$as_me: failed program was:" >&5
29931 sed 's/^/| /' conftest.$ac_ext >&5
29932
29933 ac_header_compiler=no
29934 fi
29935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29936 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29937 echo "${ECHO_T}$ac_header_compiler" >&6
29938
29939 # Is the header present?
29940 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29941 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29942 cat >conftest.$ac_ext <<_ACEOF
29943 /* confdefs.h. */
29944 _ACEOF
29945 cat confdefs.h >>conftest.$ac_ext
29946 cat >>conftest.$ac_ext <<_ACEOF
29947 /* end confdefs.h. */
29948 #include <$ac_header>
29949 _ACEOF
29950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29951 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29952 ac_status=$?
29953 grep -v '^ *+' conftest.er1 >conftest.err
29954 rm -f conftest.er1
29955 cat conftest.err >&5
29956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29957 (exit $ac_status); } >/dev/null; then
29958 if test -s conftest.err; then
29959 ac_cpp_err=$ac_c_preproc_warn_flag
29960 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29961 else
29962 ac_cpp_err=
29963 fi
29964 else
29965 ac_cpp_err=yes
29966 fi
29967 if test -z "$ac_cpp_err"; then
29968 ac_header_preproc=yes
29969 else
29970 echo "$as_me: failed program was:" >&5
29971 sed 's/^/| /' conftest.$ac_ext >&5
29972
29973 ac_header_preproc=no
29974 fi
29975 rm -f conftest.err conftest.$ac_ext
29976 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29977 echo "${ECHO_T}$ac_header_preproc" >&6
29978
29979 # So? What about this header?
29980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29981 yes:no: )
29982 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29983 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29985 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29986 ac_header_preproc=yes
29987 ;;
29988 no:yes:* )
29989 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29990 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29991 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29992 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29993 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29994 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29995 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29996 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29998 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29999 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30000 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30001 (
30002 cat <<\_ASBOX
30003 ## ----------------------------- ##
30004 ## Report this to the dx lists. ##
30005 ## ----------------------------- ##
30006 _ASBOX
30007 ) |
30008 sed "s/^/$as_me: WARNING: /" >&2
30009 ;;
30010 esac
30011 echo "$as_me:$LINENO: checking for $ac_header" >&5
30012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30014 echo $ECHO_N "(cached) $ECHO_C" >&6
30015 else
30016 eval "$as_ac_Header=\$ac_header_preproc"
30017 fi
30018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30020
30021 fi
30022 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25531 do :
25532 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25533 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25534 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3002325535 cat >>confdefs.h <<_ACEOF
30024 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25536 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3002525537 _ACEOF
3002625538
3002725539 fi
3002825540
3002925541 done
3003025542
30031
30032
30033
30034
30035
3003625543 for ac_header in sys/ioctl.h sys/ldr.h sys/m_wait.h sys/param.h sys/select.h
30037 do
30038 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30040 echo "$as_me:$LINENO: checking for $ac_header" >&5
30041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30043 echo $ECHO_N "(cached) $ECHO_C" >&6
30044 fi
30045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30047 else
30048 # Is the header compilable?
30049 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30050 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30051 cat >conftest.$ac_ext <<_ACEOF
30052 /* confdefs.h. */
30053 _ACEOF
30054 cat confdefs.h >>conftest.$ac_ext
30055 cat >>conftest.$ac_ext <<_ACEOF
30056 /* end confdefs.h. */
30057 $ac_includes_default
30058 #include <$ac_header>
30059 _ACEOF
30060 rm -f conftest.$ac_objext
30061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30062 (eval $ac_compile) 2>conftest.er1
30063 ac_status=$?
30064 grep -v '^ *+' conftest.er1 >conftest.err
30065 rm -f conftest.er1
30066 cat conftest.err >&5
30067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30068 (exit $ac_status); } &&
30069 { ac_try='test -z "$ac_c_werror_flag"
30070 || test ! -s conftest.err'
30071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30072 (eval $ac_try) 2>&5
30073 ac_status=$?
30074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30075 (exit $ac_status); }; } &&
30076 { ac_try='test -s conftest.$ac_objext'
30077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30078 (eval $ac_try) 2>&5
30079 ac_status=$?
30080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30081 (exit $ac_status); }; }; then
30082 ac_header_compiler=yes
30083 else
30084 echo "$as_me: failed program was:" >&5
30085 sed 's/^/| /' conftest.$ac_ext >&5
30086
30087 ac_header_compiler=no
30088 fi
30089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30090 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30091 echo "${ECHO_T}$ac_header_compiler" >&6
30092
30093 # Is the header present?
30094 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30095 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30096 cat >conftest.$ac_ext <<_ACEOF
30097 /* confdefs.h. */
30098 _ACEOF
30099 cat confdefs.h >>conftest.$ac_ext
30100 cat >>conftest.$ac_ext <<_ACEOF
30101 /* end confdefs.h. */
30102 #include <$ac_header>
30103 _ACEOF
30104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30106 ac_status=$?
30107 grep -v '^ *+' conftest.er1 >conftest.err
30108 rm -f conftest.er1
30109 cat conftest.err >&5
30110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30111 (exit $ac_status); } >/dev/null; then
30112 if test -s conftest.err; then
30113 ac_cpp_err=$ac_c_preproc_warn_flag
30114 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30115 else
30116 ac_cpp_err=
30117 fi
30118 else
30119 ac_cpp_err=yes
30120 fi
30121 if test -z "$ac_cpp_err"; then
30122 ac_header_preproc=yes
30123 else
30124 echo "$as_me: failed program was:" >&5
30125 sed 's/^/| /' conftest.$ac_ext >&5
30126
30127 ac_header_preproc=no
30128 fi
30129 rm -f conftest.err conftest.$ac_ext
30130 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30131 echo "${ECHO_T}$ac_header_preproc" >&6
30132
30133 # So? What about this header?
30134 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30135 yes:no: )
30136 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30137 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30139 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30140 ac_header_preproc=yes
30141 ;;
30142 no:yes:* )
30143 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30144 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30145 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30146 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30147 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30148 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30149 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30150 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30152 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30153 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30154 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30155 (
30156 cat <<\_ASBOX
30157 ## ----------------------------- ##
30158 ## Report this to the dx lists. ##
30159 ## ----------------------------- ##
30160 _ASBOX
30161 ) |
30162 sed "s/^/$as_me: WARNING: /" >&2
30163 ;;
30164 esac
30165 echo "$as_me:$LINENO: checking for $ac_header" >&5
30166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30168 echo $ECHO_N "(cached) $ECHO_C" >&6
30169 else
30170 eval "$as_ac_Header=\$ac_header_preproc"
30171 fi
30172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30174
30175 fi
30176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25544 do :
25545 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25546 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25547 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3017725548 cat >>confdefs.h <<_ACEOF
30178 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25549 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3017925550 _ACEOF
3018025551
3018125552 fi
3018225553
3018325554 done
3018425555
30185
30186
30187
30188
3018925556 for ac_header in sys/shm.h sys/signal.h sys/stat.h sys/sysmp.h
30190 do
30191 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30193 echo "$as_me:$LINENO: checking for $ac_header" >&5
30194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30196 echo $ECHO_N "(cached) $ECHO_C" >&6
30197 fi
30198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30200 else
30201 # Is the header compilable?
30202 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30203 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30204 cat >conftest.$ac_ext <<_ACEOF
30205 /* confdefs.h. */
30206 _ACEOF
30207 cat confdefs.h >>conftest.$ac_ext
30208 cat >>conftest.$ac_ext <<_ACEOF
30209 /* end confdefs.h. */
30210 $ac_includes_default
30211 #include <$ac_header>
30212 _ACEOF
30213 rm -f conftest.$ac_objext
30214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30215 (eval $ac_compile) 2>conftest.er1
30216 ac_status=$?
30217 grep -v '^ *+' conftest.er1 >conftest.err
30218 rm -f conftest.er1
30219 cat conftest.err >&5
30220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30221 (exit $ac_status); } &&
30222 { ac_try='test -z "$ac_c_werror_flag"
30223 || test ! -s conftest.err'
30224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30225 (eval $ac_try) 2>&5
30226 ac_status=$?
30227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30228 (exit $ac_status); }; } &&
30229 { ac_try='test -s conftest.$ac_objext'
30230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30231 (eval $ac_try) 2>&5
30232 ac_status=$?
30233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30234 (exit $ac_status); }; }; then
30235 ac_header_compiler=yes
30236 else
30237 echo "$as_me: failed program was:" >&5
30238 sed 's/^/| /' conftest.$ac_ext >&5
30239
30240 ac_header_compiler=no
30241 fi
30242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30243 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30244 echo "${ECHO_T}$ac_header_compiler" >&6
30245
30246 # Is the header present?
30247 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30248 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30249 cat >conftest.$ac_ext <<_ACEOF
30250 /* confdefs.h. */
30251 _ACEOF
30252 cat confdefs.h >>conftest.$ac_ext
30253 cat >>conftest.$ac_ext <<_ACEOF
30254 /* end confdefs.h. */
30255 #include <$ac_header>
30256 _ACEOF
30257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30258 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30259 ac_status=$?
30260 grep -v '^ *+' conftest.er1 >conftest.err
30261 rm -f conftest.er1
30262 cat conftest.err >&5
30263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30264 (exit $ac_status); } >/dev/null; then
30265 if test -s conftest.err; then
30266 ac_cpp_err=$ac_c_preproc_warn_flag
30267 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30268 else
30269 ac_cpp_err=
30270 fi
30271 else
30272 ac_cpp_err=yes
30273 fi
30274 if test -z "$ac_cpp_err"; then
30275 ac_header_preproc=yes
30276 else
30277 echo "$as_me: failed program was:" >&5
30278 sed 's/^/| /' conftest.$ac_ext >&5
30279
30280 ac_header_preproc=no
30281 fi
30282 rm -f conftest.err conftest.$ac_ext
30283 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30284 echo "${ECHO_T}$ac_header_preproc" >&6
30285
30286 # So? What about this header?
30287 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30288 yes:no: )
30289 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30290 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30292 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30293 ac_header_preproc=yes
30294 ;;
30295 no:yes:* )
30296 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30297 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30298 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30299 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30300 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30301 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30302 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30303 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30305 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30306 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30307 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30308 (
30309 cat <<\_ASBOX
30310 ## ----------------------------- ##
30311 ## Report this to the dx lists. ##
30312 ## ----------------------------- ##
30313 _ASBOX
30314 ) |
30315 sed "s/^/$as_me: WARNING: /" >&2
30316 ;;
30317 esac
30318 echo "$as_me:$LINENO: checking for $ac_header" >&5
30319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30321 echo $ECHO_N "(cached) $ECHO_C" >&6
30322 else
30323 eval "$as_ac_Header=\$ac_header_preproc"
30324 fi
30325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30327
30328 fi
30329 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25557 do :
25558 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25559 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25560 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3033025561 cat >>confdefs.h <<_ACEOF
30331 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25562 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3033225563 _ACEOF
3033325564
3033425565 fi
3033525566
3033625567 done
3033725568
30338
30339
30340
30341
30342
3034325569 for ac_header in sys/systemcfg.h sys/systeminfo.h sys/timeb.h sys/times.h sys/time.h
30344 do
30345 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30347 echo "$as_me:$LINENO: checking for $ac_header" >&5
30348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30350 echo $ECHO_N "(cached) $ECHO_C" >&6
30351 fi
30352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30354 else
30355 # Is the header compilable?
30356 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30357 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30358 cat >conftest.$ac_ext <<_ACEOF
30359 /* confdefs.h. */
30360 _ACEOF
30361 cat confdefs.h >>conftest.$ac_ext
30362 cat >>conftest.$ac_ext <<_ACEOF
30363 /* end confdefs.h. */
30364 $ac_includes_default
30365 #include <$ac_header>
30366 _ACEOF
30367 rm -f conftest.$ac_objext
30368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30369 (eval $ac_compile) 2>conftest.er1
30370 ac_status=$?
30371 grep -v '^ *+' conftest.er1 >conftest.err
30372 rm -f conftest.er1
30373 cat conftest.err >&5
30374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30375 (exit $ac_status); } &&
30376 { ac_try='test -z "$ac_c_werror_flag"
30377 || test ! -s conftest.err'
30378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30379 (eval $ac_try) 2>&5
30380 ac_status=$?
30381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30382 (exit $ac_status); }; } &&
30383 { ac_try='test -s conftest.$ac_objext'
30384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30385 (eval $ac_try) 2>&5
30386 ac_status=$?
30387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30388 (exit $ac_status); }; }; then
30389 ac_header_compiler=yes
30390 else
30391 echo "$as_me: failed program was:" >&5
30392 sed 's/^/| /' conftest.$ac_ext >&5
30393
30394 ac_header_compiler=no
30395 fi
30396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30397 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30398 echo "${ECHO_T}$ac_header_compiler" >&6
30399
30400 # Is the header present?
30401 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30402 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30403 cat >conftest.$ac_ext <<_ACEOF
30404 /* confdefs.h. */
30405 _ACEOF
30406 cat confdefs.h >>conftest.$ac_ext
30407 cat >>conftest.$ac_ext <<_ACEOF
30408 /* end confdefs.h. */
30409 #include <$ac_header>
30410 _ACEOF
30411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30413 ac_status=$?
30414 grep -v '^ *+' conftest.er1 >conftest.err
30415 rm -f conftest.er1
30416 cat conftest.err >&5
30417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30418 (exit $ac_status); } >/dev/null; then
30419 if test -s conftest.err; then
30420 ac_cpp_err=$ac_c_preproc_warn_flag
30421 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30422 else
30423 ac_cpp_err=
30424 fi
30425 else
30426 ac_cpp_err=yes
30427 fi
30428 if test -z "$ac_cpp_err"; then
30429 ac_header_preproc=yes
30430 else
30431 echo "$as_me: failed program was:" >&5
30432 sed 's/^/| /' conftest.$ac_ext >&5
30433
30434 ac_header_preproc=no
30435 fi
30436 rm -f conftest.err conftest.$ac_ext
30437 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30438 echo "${ECHO_T}$ac_header_preproc" >&6
30439
30440 # So? What about this header?
30441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30442 yes:no: )
30443 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30444 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30446 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30447 ac_header_preproc=yes
30448 ;;
30449 no:yes:* )
30450 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30451 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30452 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30453 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30454 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30455 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30456 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30457 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30460 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30461 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30462 (
30463 cat <<\_ASBOX
30464 ## ----------------------------- ##
30465 ## Report this to the dx lists. ##
30466 ## ----------------------------- ##
30467 _ASBOX
30468 ) |
30469 sed "s/^/$as_me: WARNING: /" >&2
30470 ;;
30471 esac
30472 echo "$as_me:$LINENO: checking for $ac_header" >&5
30473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30475 echo $ECHO_N "(cached) $ECHO_C" >&6
30476 else
30477 eval "$as_ac_Header=\$ac_header_preproc"
30478 fi
30479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30481
30482 fi
30483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25570 do :
25571 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25572 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25573 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3048425574 cat >>confdefs.h <<_ACEOF
30485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25575 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3048625576 _ACEOF
3048725577
3048825578 fi
3048925579
3049025580 done
3049125581
30492
30493
30494
30495
3049625582 for ac_header in sys/types.h sys/un.h sys/utsname.h time.h
30497 do
30498 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30500 echo "$as_me:$LINENO: checking for $ac_header" >&5
30501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30503 echo $ECHO_N "(cached) $ECHO_C" >&6
30504 fi
30505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30507 else
30508 # Is the header compilable?
30509 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30510 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30511 cat >conftest.$ac_ext <<_ACEOF
30512 /* confdefs.h. */
30513 _ACEOF
30514 cat confdefs.h >>conftest.$ac_ext
30515 cat >>conftest.$ac_ext <<_ACEOF
30516 /* end confdefs.h. */
30517 $ac_includes_default
30518 #include <$ac_header>
30519 _ACEOF
30520 rm -f conftest.$ac_objext
30521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30522 (eval $ac_compile) 2>conftest.er1
30523 ac_status=$?
30524 grep -v '^ *+' conftest.er1 >conftest.err
30525 rm -f conftest.er1
30526 cat conftest.err >&5
30527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30528 (exit $ac_status); } &&
30529 { ac_try='test -z "$ac_c_werror_flag"
30530 || test ! -s conftest.err'
30531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30532 (eval $ac_try) 2>&5
30533 ac_status=$?
30534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30535 (exit $ac_status); }; } &&
30536 { ac_try='test -s conftest.$ac_objext'
30537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30538 (eval $ac_try) 2>&5
30539 ac_status=$?
30540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30541 (exit $ac_status); }; }; then
30542 ac_header_compiler=yes
30543 else
30544 echo "$as_me: failed program was:" >&5
30545 sed 's/^/| /' conftest.$ac_ext >&5
30546
30547 ac_header_compiler=no
30548 fi
30549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30551 echo "${ECHO_T}$ac_header_compiler" >&6
30552
30553 # Is the header present?
30554 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30555 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30556 cat >conftest.$ac_ext <<_ACEOF
30557 /* confdefs.h. */
30558 _ACEOF
30559 cat confdefs.h >>conftest.$ac_ext
30560 cat >>conftest.$ac_ext <<_ACEOF
30561 /* end confdefs.h. */
30562 #include <$ac_header>
30563 _ACEOF
30564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30565 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30566 ac_status=$?
30567 grep -v '^ *+' conftest.er1 >conftest.err
30568 rm -f conftest.er1
30569 cat conftest.err >&5
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); } >/dev/null; then
30572 if test -s conftest.err; then
30573 ac_cpp_err=$ac_c_preproc_warn_flag
30574 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30575 else
30576 ac_cpp_err=
30577 fi
30578 else
30579 ac_cpp_err=yes
30580 fi
30581 if test -z "$ac_cpp_err"; then
30582 ac_header_preproc=yes
30583 else
30584 echo "$as_me: failed program was:" >&5
30585 sed 's/^/| /' conftest.$ac_ext >&5
30586
30587 ac_header_preproc=no
30588 fi
30589 rm -f conftest.err conftest.$ac_ext
30590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30591 echo "${ECHO_T}$ac_header_preproc" >&6
30592
30593 # So? What about this header?
30594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30595 yes:no: )
30596 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30597 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30599 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30600 ac_header_preproc=yes
30601 ;;
30602 no:yes:* )
30603 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30604 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30605 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30606 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30607 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30608 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30609 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30610 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30612 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30613 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30614 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30615 (
30616 cat <<\_ASBOX
30617 ## ----------------------------- ##
30618 ## Report this to the dx lists. ##
30619 ## ----------------------------- ##
30620 _ASBOX
30621 ) |
30622 sed "s/^/$as_me: WARNING: /" >&2
30623 ;;
30624 esac
30625 echo "$as_me:$LINENO: checking for $ac_header" >&5
30626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30628 echo $ECHO_N "(cached) $ECHO_C" >&6
30629 else
30630 eval "$as_ac_Header=\$ac_header_preproc"
30631 fi
30632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30634
30635 fi
30636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25583 do :
25584 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25585 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25586 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3063725587 cat >>confdefs.h <<_ACEOF
30638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25588 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3063925589 _ACEOF
3064025590
3064125591 fi
3064225592
3064325593 done
3064425594
30645
30646
30647
30648
3064925595 for ac_header in types.h unistd.h values.h wait.h
30650 do
30651 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30652 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30653 echo "$as_me:$LINENO: checking for $ac_header" >&5
30654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30656 echo $ECHO_N "(cached) $ECHO_C" >&6
30657 fi
30658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30660 else
30661 # Is the header compilable?
30662 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30663 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30664 cat >conftest.$ac_ext <<_ACEOF
30665 /* confdefs.h. */
30666 _ACEOF
30667 cat confdefs.h >>conftest.$ac_ext
30668 cat >>conftest.$ac_ext <<_ACEOF
30669 /* end confdefs.h. */
30670 $ac_includes_default
30671 #include <$ac_header>
30672 _ACEOF
30673 rm -f conftest.$ac_objext
30674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30675 (eval $ac_compile) 2>conftest.er1
30676 ac_status=$?
30677 grep -v '^ *+' conftest.er1 >conftest.err
30678 rm -f conftest.er1
30679 cat conftest.err >&5
30680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30681 (exit $ac_status); } &&
30682 { ac_try='test -z "$ac_c_werror_flag"
30683 || test ! -s conftest.err'
30684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30685 (eval $ac_try) 2>&5
30686 ac_status=$?
30687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30688 (exit $ac_status); }; } &&
30689 { ac_try='test -s conftest.$ac_objext'
30690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30691 (eval $ac_try) 2>&5
30692 ac_status=$?
30693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30694 (exit $ac_status); }; }; then
30695 ac_header_compiler=yes
30696 else
30697 echo "$as_me: failed program was:" >&5
30698 sed 's/^/| /' conftest.$ac_ext >&5
30699
30700 ac_header_compiler=no
30701 fi
30702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30703 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30704 echo "${ECHO_T}$ac_header_compiler" >&6
30705
30706 # Is the header present?
30707 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30708 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30709 cat >conftest.$ac_ext <<_ACEOF
30710 /* confdefs.h. */
30711 _ACEOF
30712 cat confdefs.h >>conftest.$ac_ext
30713 cat >>conftest.$ac_ext <<_ACEOF
30714 /* end confdefs.h. */
30715 #include <$ac_header>
30716 _ACEOF
30717 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30718 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30719 ac_status=$?
30720 grep -v '^ *+' conftest.er1 >conftest.err
30721 rm -f conftest.er1
30722 cat conftest.err >&5
30723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724 (exit $ac_status); } >/dev/null; then
30725 if test -s conftest.err; then
30726 ac_cpp_err=$ac_c_preproc_warn_flag
30727 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30728 else
30729 ac_cpp_err=
30730 fi
30731 else
30732 ac_cpp_err=yes
30733 fi
30734 if test -z "$ac_cpp_err"; then
30735 ac_header_preproc=yes
30736 else
30737 echo "$as_me: failed program was:" >&5
30738 sed 's/^/| /' conftest.$ac_ext >&5
30739
30740 ac_header_preproc=no
30741 fi
30742 rm -f conftest.err conftest.$ac_ext
30743 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30744 echo "${ECHO_T}$ac_header_preproc" >&6
30745
30746 # So? What about this header?
30747 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30748 yes:no: )
30749 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30750 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30752 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30753 ac_header_preproc=yes
30754 ;;
30755 no:yes:* )
30756 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30757 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30758 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30759 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30760 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30761 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30762 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30763 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30765 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30766 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30767 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30768 (
30769 cat <<\_ASBOX
30770 ## ----------------------------- ##
30771 ## Report this to the dx lists. ##
30772 ## ----------------------------- ##
30773 _ASBOX
30774 ) |
30775 sed "s/^/$as_me: WARNING: /" >&2
30776 ;;
30777 esac
30778 echo "$as_me:$LINENO: checking for $ac_header" >&5
30779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30781 echo $ECHO_N "(cached) $ECHO_C" >&6
30782 else
30783 eval "$as_ac_Header=\$ac_header_preproc"
30784 fi
30785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30787
30788 fi
30789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25596 do :
25597 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25598 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25599 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3079025600 cat >>confdefs.h <<_ACEOF
30791 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25601 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3079225602 _ACEOF
3079325603
3079425604 fi
3079525605
3079625606 done
3079725607
30798
3079925608 for ac_header in X11/Xmu/Editres.h
30800 do
30801 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30802 echo "$as_me:$LINENO: checking for $ac_header" >&5
30803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30805 echo $ECHO_N "(cached) $ECHO_C" >&6
30806 else
30807 cat >conftest.$ac_ext <<_ACEOF
30808 /* confdefs.h. */
30809 _ACEOF
30810 cat confdefs.h >>conftest.$ac_ext
30811 cat >>conftest.$ac_ext <<_ACEOF
30812 /* end confdefs.h. */
30813 #if HAVE_X11_INTRINSIC_H
25609 do :
25610 ac_fn_c_check_header_compile "$LINENO" "X11/Xmu/Editres.h" "ac_cv_header_X11_Xmu_Editres_h" "#if HAVE_X11_INTRINSIC_H
3081425611 #include <X11/Intrinsic.h>
3081525612 #endif
3081625613
30817
30818 #include <$ac_header>
30819 _ACEOF
30820 rm -f conftest.$ac_objext
30821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30822 (eval $ac_compile) 2>conftest.er1
30823 ac_status=$?
30824 grep -v '^ *+' conftest.er1 >conftest.err
30825 rm -f conftest.er1
30826 cat conftest.err >&5
30827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30828 (exit $ac_status); } &&
30829 { ac_try='test -z "$ac_c_werror_flag"
30830 || test ! -s conftest.err'
30831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30832 (eval $ac_try) 2>&5
30833 ac_status=$?
30834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 (exit $ac_status); }; } &&
30836 { ac_try='test -s conftest.$ac_objext'
30837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30838 (eval $ac_try) 2>&5
30839 ac_status=$?
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); }; }; then
30842 eval "$as_ac_Header=yes"
30843 else
30844 echo "$as_me: failed program was:" >&5
30845 sed 's/^/| /' conftest.$ac_ext >&5
30846
30847 eval "$as_ac_Header=no"
30848 fi
30849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30850 fi
30851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30853 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25614 "
25615 if test "x$ac_cv_header_X11_Xmu_Editres_h" = xyes; then :
3085425616 cat >>confdefs.h <<_ACEOF
30855 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25617 #define HAVE_X11_XMU_EDITRES_H 1
3085625618 _ACEOF
3085725619
3085825620 fi
3086625628 #
3086725629 have_xinerama='no'
3086825630 LIB_XINERAMA=''
30869 { echo "$as_me:$LINENO: checking for XINERAMA support ......" >&5
30870 echo "$as_me: checking for XINERAMA support ......" >&6;}
25631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XINERAMA support ......" >&5
25632 $as_echo "$as_me: checking for XINERAMA support ......" >&6;}
3087125633 failed=0;
3087225634 passed=0;
30873
3087425635 for ac_header in X11/extensions/Xinerama.h
30875 do
30876 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30877 echo "$as_me:$LINENO: checking for $ac_header" >&5
30878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30880 echo $ECHO_N "(cached) $ECHO_C" >&6
30881 else
30882 cat >conftest.$ac_ext <<_ACEOF
30883 /* confdefs.h. */
30884 _ACEOF
30885 cat confdefs.h >>conftest.$ac_ext
30886 cat >>conftest.$ac_ext <<_ACEOF
30887 /* end confdefs.h. */
30888 #if HAVE_X11_INTRINSIC_H
25636 do :
25637 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#if HAVE_X11_INTRINSIC_H
3088925638 #include <X11/Intrinsic.h>
3089025639 #endif
3089125640
30892
30893 #include <$ac_header>
30894 _ACEOF
30895 rm -f conftest.$ac_objext
30896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30897 (eval $ac_compile) 2>conftest.er1
30898 ac_status=$?
30899 grep -v '^ *+' conftest.er1 >conftest.err
30900 rm -f conftest.er1
30901 cat conftest.err >&5
30902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30903 (exit $ac_status); } &&
30904 { ac_try='test -z "$ac_c_werror_flag"
30905 || test ! -s conftest.err'
30906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30907 (eval $ac_try) 2>&5
30908 ac_status=$?
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); }; } &&
30911 { ac_try='test -s conftest.$ac_objext'
30912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30913 (eval $ac_try) 2>&5
30914 ac_status=$?
30915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916 (exit $ac_status); }; }; then
30917 eval "$as_ac_Header=yes"
30918 else
30919 echo "$as_me: failed program was:" >&5
30920 sed 's/^/| /' conftest.$ac_ext >&5
30921
30922 eval "$as_ac_Header=no"
30923 fi
30924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30925 fi
30926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30928 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25641 "
25642 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes; then :
3092925643 cat >>confdefs.h <<_ACEOF
30930 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25644 #define HAVE_X11_EXTENSIONS_XINERAMA_H 1
3093125645 _ACEOF
3093225646 passed=`expr $passed + 1`
3093325647 else
3093625650
3093725651 done
3093825652
30939 echo "$as_me:$LINENO: checking for XineramaQueryExtension in -lXinerama" >&5
30940 echo $ECHO_N "checking for XineramaQueryExtension in -lXinerama... $ECHO_C" >&6
30941 if test "${ac_cv_lib_Xinerama_XineramaQueryExtension+set}" = set; then
30942 echo $ECHO_N "(cached) $ECHO_C" >&6
25653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryExtension in -lXinerama" >&5
25654 $as_echo_n "checking for XineramaQueryExtension in -lXinerama... " >&6; }
25655 if ${ac_cv_lib_Xinerama_XineramaQueryExtension+:} false; then :
25656 $as_echo_n "(cached) " >&6
3094325657 else
3094425658 ac_check_lib_save_LIBS=$LIBS
3094525659 LIBS="-lXinerama -lXt $LIBS"
30946 cat >conftest.$ac_ext <<_ACEOF
30947 /* confdefs.h. */
30948 _ACEOF
30949 cat confdefs.h >>conftest.$ac_ext
30950 cat >>conftest.$ac_ext <<_ACEOF
25660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3095125661 /* end confdefs.h. */
3095225662
30953 /* Override any gcc2 internal prototype to avoid an error. */
25663 /* Override any GCC internal prototype to avoid an error.
25664 Use char because int might match the return type of a GCC
25665 builtin and then its argument prototype would still apply. */
3095425666 #ifdef __cplusplus
3095525667 extern "C"
3095625668 #endif
30957 /* We use char because int might match the return type of a gcc2
30958 builtin and then its argument prototype would still apply. */
3095925669 char XineramaQueryExtension ();
3096025670 int
3096125671 main ()
3096225672 {
30963 XineramaQueryExtension ();
25673 return XineramaQueryExtension ();
3096425674 ;
3096525675 return 0;
3096625676 }
3096725677 _ACEOF
30968 rm -f conftest.$ac_objext conftest$ac_exeext
30969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30970 (eval $ac_link) 2>conftest.er1
30971 ac_status=$?
30972 grep -v '^ *+' conftest.er1 >conftest.err
30973 rm -f conftest.er1
30974 cat conftest.err >&5
30975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30976 (exit $ac_status); } &&
30977 { ac_try='test -z "$ac_c_werror_flag"
30978 || test ! -s conftest.err'
30979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30980 (eval $ac_try) 2>&5
30981 ac_status=$?
30982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30983 (exit $ac_status); }; } &&
30984 { ac_try='test -s conftest$ac_exeext'
30985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30986 (eval $ac_try) 2>&5
30987 ac_status=$?
30988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30989 (exit $ac_status); }; }; then
25678 if ac_fn_c_try_link "$LINENO"; then :
3099025679 ac_cv_lib_Xinerama_XineramaQueryExtension=yes
3099125680 else
30992 echo "$as_me: failed program was:" >&5
30993 sed 's/^/| /' conftest.$ac_ext >&5
30994
30995 ac_cv_lib_Xinerama_XineramaQueryExtension=no
30996 fi
30997 rm -f conftest.err conftest.$ac_objext \
30998 conftest$ac_exeext conftest.$ac_ext
25681 ac_cv_lib_Xinerama_XineramaQueryExtension=no
25682 fi
25683 rm -f core conftest.err conftest.$ac_objext \
25684 conftest$ac_exeext conftest.$ac_ext
3099925685 LIBS=$ac_check_lib_save_LIBS
3100025686 fi
31001 echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryExtension" >&5
31002 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryExtension" >&6
31003 if test $ac_cv_lib_Xinerama_XineramaQueryExtension = yes; then
25687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryExtension" >&5
25688 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryExtension" >&6; }
25689 if test "x$ac_cv_lib_Xinerama_XineramaQueryExtension" = xyes; then :
3100425690 passed=`expr $passed + 1`
3100525691 else
3100625692 failed=`expr $failed + 1`
3100725693 fi
3100825694
3100925695
31010 echo "$as_me:$LINENO: checking if Xinerama package is complete" >&5
31011 echo $ECHO_N "checking if Xinerama package is complete... $ECHO_C" >&6
25696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xinerama package is complete" >&5
25697 $as_echo_n "checking if Xinerama package is complete... " >&6; }
3101225698 if test $passed -gt 0
3101325699 then
3101425700 if test $failed -gt 0
3101525701 then
31016 echo "$as_me:$LINENO: result: no -- some components failed test" >&5
31017 echo "${ECHO_T}no -- some components failed test" >&6
25702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
25703 $as_echo "no -- some components failed test" >&6; }
3101825704 have_xinerama='no (failed tests)'
3101925705 else
3102025706 LIB_XINERAMA='-lXinerama'
3102125707 LIBS="$LIB_XINERAMA $LIBS"
3102225708
31023 cat >>confdefs.h <<\_ACEOF
31024 #define HAVE_XINERAMA 1
31025 _ACEOF
31026
31027 echo "$as_me:$LINENO: result: yes" >&5
31028 echo "${ECHO_T}yes" >&6
25709 $as_echo "#define HAVE_XINERAMA 1" >>confdefs.h
25710
25711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25712 $as_echo "yes" >&6; }
3102925713 have_xinerama='yes'
3103025714 fi
3103125715 else
31032 echo "$as_me:$LINENO: result: no" >&5
31033 echo "${ECHO_T}no" >&6
31034 fi
31035
25716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25717 $as_echo "no" >&6; }
25718 fi
3103625719
3103725720
3103825721 for ac_header in net/if.h
31039 do
31040 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31041 echo "$as_me:$LINENO: checking for $ac_header" >&5
31042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31044 echo $ECHO_N "(cached) $ECHO_C" >&6
31045 else
31046 cat >conftest.$ac_ext <<_ACEOF
31047 /* confdefs.h. */
31048 _ACEOF
31049 cat confdefs.h >>conftest.$ac_ext
31050 cat >>conftest.$ac_ext <<_ACEOF
31051 /* end confdefs.h. */
31052 #include <stdio.h>
25722 do :
25723 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <stdio.h>
3105325724 #if HAVE_SYS_TYPES_H
3105425725 # include <sys/types.h>
3105525726 #endif
3108725758 # include <sys/socket.h>
3108825759 #endif
3108925760
31090
31091 #include <$ac_header>
31092 _ACEOF
31093 rm -f conftest.$ac_objext
31094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31095 (eval $ac_compile) 2>conftest.er1
31096 ac_status=$?
31097 grep -v '^ *+' conftest.er1 >conftest.err
31098 rm -f conftest.er1
31099 cat conftest.err >&5
31100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31101 (exit $ac_status); } &&
31102 { ac_try='test -z "$ac_c_werror_flag"
31103 || test ! -s conftest.err'
31104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31105 (eval $ac_try) 2>&5
31106 ac_status=$?
31107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31108 (exit $ac_status); }; } &&
31109 { ac_try='test -s conftest.$ac_objext'
31110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31111 (eval $ac_try) 2>&5
31112 ac_status=$?
31113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114 (exit $ac_status); }; }; then
31115 eval "$as_ac_Header=yes"
31116 else
31117 echo "$as_me: failed program was:" >&5
31118 sed 's/^/| /' conftest.$ac_ext >&5
31119
31120 eval "$as_ac_Header=no"
31121 fi
31122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31123 fi
31124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31126 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25761 "
25762 if test "x$ac_cv_header_net_if_h" = xyes; then :
3112725763 cat >>confdefs.h <<_ACEOF
31128 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25764 #define HAVE_NET_IF_H 1
3112925765 _ACEOF
3113025766
3113125767 fi
3113325769 done
3113425770
3113525771
31136 echo "$as_me:$LINENO: checking for O_RDONLY" >&5
31137 echo $ECHO_N "checking for O_RDONLY... $ECHO_C" >&6
31138 cat >conftest.$ac_ext <<_ACEOF
31139 /* confdefs.h. */
31140 _ACEOF
31141 cat confdefs.h >>conftest.$ac_ext
31142 cat >>conftest.$ac_ext <<_ACEOF
25772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for O_RDONLY" >&5
25773 $as_echo_n "checking for O_RDONLY... " >&6; }
25774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3114325775 /* end confdefs.h. */
3114425776
3114525777 #if defined(HAVE_FCNTL_H)
3115625788 return 0;
3115725789 }
3115825790 _ACEOF
31159 rm -f conftest.$ac_objext
31160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31161 (eval $ac_compile) 2>conftest.er1
31162 ac_status=$?
31163 grep -v '^ *+' conftest.er1 >conftest.err
31164 rm -f conftest.er1
31165 cat conftest.err >&5
31166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31167 (exit $ac_status); } &&
31168 { ac_try='test -z "$ac_c_werror_flag"
31169 || test ! -s conftest.err'
31170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31171 (eval $ac_try) 2>&5
31172 ac_status=$?
31173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31174 (exit $ac_status); }; } &&
31175 { ac_try='test -s conftest.$ac_objext'
31176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31177 (eval $ac_try) 2>&5
31178 ac_status=$?
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); }; }; then
31181
31182 echo "$as_me:$LINENO: result: yes" >&5
31183 echo "${ECHO_T}yes" >&6
31184
31185 else
31186 echo "$as_me: failed program was:" >&5
31187 sed 's/^/| /' conftest.$ac_ext >&5
31188
31189
31190 echo "$as_me:$LINENO: result: no" >&5
31191 echo "${ECHO_T}no" >&6
25791 if ac_fn_c_try_compile "$LINENO"; then :
25792
25793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25794 $as_echo "yes" >&6; }
25795
25796 else
25797
25798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25799 $as_echo "no" >&6; }
3119225800
3119325801 cat >>confdefs.h <<_ACEOF
3119425802 #define O_RDONLY _O_RDONLY
3119625804
3119725805
3119825806 fi
31199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3120025808
3120125809 if test "$ARCH" = "intelnt" ; then
31202
31203
31204
31205
31206 for ac_header in winbase.h wingdi.h winioctl.h winsock.h
31207 do
31208 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31209 echo "$as_me:$LINENO: checking for $ac_header" >&5
31210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31212 echo $ECHO_N "(cached) $ECHO_C" >&6
31213 else
31214 cat >conftest.$ac_ext <<_ACEOF
31215 /* confdefs.h. */
31216 _ACEOF
31217 cat confdefs.h >>conftest.$ac_ext
31218 cat >>conftest.$ac_ext <<_ACEOF
31219 /* end confdefs.h. */
31220 #if HAVE_WINDOWS_H
25810 for ac_header in winbase.h wingdi.h winioctl.h winsock.h
25811 do :
25812 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25813 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " #if HAVE_WINDOWS_H
3122125814 #include <windows.h>
3122225815 #endif
3122325816
31224
31225 #include <$ac_header>
31226 _ACEOF
31227 rm -f conftest.$ac_objext
31228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31229 (eval $ac_compile) 2>conftest.er1
31230 ac_status=$?
31231 grep -v '^ *+' conftest.er1 >conftest.err
31232 rm -f conftest.er1
31233 cat conftest.err >&5
31234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31235 (exit $ac_status); } &&
31236 { ac_try='test -z "$ac_c_werror_flag"
31237 || test ! -s conftest.err'
31238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31239 (eval $ac_try) 2>&5
31240 ac_status=$?
31241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242 (exit $ac_status); }; } &&
31243 { ac_try='test -s conftest.$ac_objext'
31244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31245 (eval $ac_try) 2>&5
31246 ac_status=$?
31247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31248 (exit $ac_status); }; }; then
31249 eval "$as_ac_Header=yes"
31250 else
31251 echo "$as_me: failed program was:" >&5
31252 sed 's/^/| /' conftest.$ac_ext >&5
31253
31254 eval "$as_ac_Header=no"
31255 fi
31256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31257 fi
31258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31260 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25817 "
25818 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3126125819 cat >>confdefs.h <<_ACEOF
31262 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25820 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3126325821 _ACEOF
3126425822
3126525823 fi
3126925827 fi
3127025828
3127125829
31272 ac_ext=cc
25830 ac_ext=cpp
3127325831 ac_cpp='$CXXCPP $CPPFLAGS'
3127425832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3127525833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3127625834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3127725835
3127825836 echo "/* */" > statHdrs.h
31279 if test "${ac_cv_header_windows_h+set}" = set; then
31280 echo "$as_me:$LINENO: checking for windows.h" >&5
31281 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
31282 if test "${ac_cv_header_windows_h+set}" = set; then
31283 echo $ECHO_N "(cached) $ECHO_C" >&6
31284 fi
31285 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
31286 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
31287 else
31288 # Is the header compilable?
31289 echo "$as_me:$LINENO: checking windows.h usability" >&5
31290 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
31291 cat >conftest.$ac_ext <<_ACEOF
31292 /* confdefs.h. */
31293 _ACEOF
31294 cat confdefs.h >>conftest.$ac_ext
31295 cat >>conftest.$ac_ext <<_ACEOF
31296 /* end confdefs.h. */
31297 $ac_includes_default
31298 #include <windows.h>
31299 _ACEOF
31300 rm -f conftest.$ac_objext
31301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31302 (eval $ac_compile) 2>conftest.er1
31303 ac_status=$?
31304 grep -v '^ *+' conftest.er1 >conftest.err
31305 rm -f conftest.er1
31306 cat conftest.err >&5
31307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31308 (exit $ac_status); } &&
31309 { ac_try='test -z "$ac_cxx_werror_flag"
31310 || test ! -s conftest.err'
31311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31312 (eval $ac_try) 2>&5
31313 ac_status=$?
31314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31315 (exit $ac_status); }; } &&
31316 { ac_try='test -s conftest.$ac_objext'
31317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31318 (eval $ac_try) 2>&5
31319 ac_status=$?
31320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31321 (exit $ac_status); }; }; then
31322 ac_header_compiler=yes
31323 else
31324 echo "$as_me: failed program was:" >&5
31325 sed 's/^/| /' conftest.$ac_ext >&5
31326
31327 ac_header_compiler=no
31328 fi
31329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31330 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31331 echo "${ECHO_T}$ac_header_compiler" >&6
31332
31333 # Is the header present?
31334 echo "$as_me:$LINENO: checking windows.h presence" >&5
31335 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
31336 cat >conftest.$ac_ext <<_ACEOF
31337 /* confdefs.h. */
31338 _ACEOF
31339 cat confdefs.h >>conftest.$ac_ext
31340 cat >>conftest.$ac_ext <<_ACEOF
31341 /* end confdefs.h. */
31342 #include <windows.h>
31343 _ACEOF
31344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31345 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31346 ac_status=$?
31347 grep -v '^ *+' conftest.er1 >conftest.err
31348 rm -f conftest.er1
31349 cat conftest.err >&5
31350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31351 (exit $ac_status); } >/dev/null; then
31352 if test -s conftest.err; then
31353 ac_cpp_err=$ac_cxx_preproc_warn_flag
31354 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31355 else
31356 ac_cpp_err=
31357 fi
31358 else
31359 ac_cpp_err=yes
31360 fi
31361 if test -z "$ac_cpp_err"; then
31362 ac_header_preproc=yes
31363 else
31364 echo "$as_me: failed program was:" >&5
31365 sed 's/^/| /' conftest.$ac_ext >&5
31366
31367 ac_header_preproc=no
31368 fi
31369 rm -f conftest.err conftest.$ac_ext
31370 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31371 echo "${ECHO_T}$ac_header_preproc" >&6
31372
31373 # So? What about this header?
31374 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31375 yes:no: )
31376 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
31377 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31378 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
31379 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
31380 ac_header_preproc=yes
31381 ;;
31382 no:yes:* )
31383 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
31384 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
31385 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
31386 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
31387 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
31388 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
31389 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
31390 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
31391 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
31392 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
31393 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
31394 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
31395 (
31396 cat <<\_ASBOX
31397 ## ----------------------------- ##
31398 ## Report this to the dx lists. ##
31399 ## ----------------------------- ##
31400 _ASBOX
31401 ) |
31402 sed "s/^/$as_me: WARNING: /" >&2
31403 ;;
31404 esac
31405 echo "$as_me:$LINENO: checking for windows.h" >&5
31406 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
31407 if test "${ac_cv_header_windows_h+set}" = set; then
31408 echo $ECHO_N "(cached) $ECHO_C" >&6
31409 else
31410 ac_cv_header_windows_h=$ac_header_preproc
31411 fi
31412 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
31413 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
31414
31415 fi
31416 if test $ac_cv_header_windows_h = yes; then
25837 ac_fn_cxx_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
25838 if test "x$ac_cv_header_windows_h" = xyes; then :
3141725839 echo "#include <windows.h>" >> statHdrs.h
3141825840 fi
3141925841
3142025842
31421 if test "${ac_cv_header_unistd_h+set}" = set; then
31422 echo "$as_me:$LINENO: checking for unistd.h" >&5
31423 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6
31424 if test "${ac_cv_header_unistd_h+set}" = set; then
31425 echo $ECHO_N "(cached) $ECHO_C" >&6
31426 fi
31427 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5
31428 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6
31429 else
31430 # Is the header compilable?
31431 echo "$as_me:$LINENO: checking unistd.h usability" >&5
31432 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6
31433 cat >conftest.$ac_ext <<_ACEOF
31434 /* confdefs.h. */
31435 _ACEOF
31436 cat confdefs.h >>conftest.$ac_ext
31437 cat >>conftest.$ac_ext <<_ACEOF
31438 /* end confdefs.h. */
31439 $ac_includes_default
31440 #include <unistd.h>
31441 _ACEOF
31442 rm -f conftest.$ac_objext
31443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31444 (eval $ac_compile) 2>conftest.er1
31445 ac_status=$?
31446 grep -v '^ *+' conftest.er1 >conftest.err
31447 rm -f conftest.er1
31448 cat conftest.err >&5
31449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450 (exit $ac_status); } &&
31451 { ac_try='test -z "$ac_cxx_werror_flag"
31452 || test ! -s conftest.err'
31453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31454 (eval $ac_try) 2>&5
31455 ac_status=$?
31456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31457 (exit $ac_status); }; } &&
31458 { ac_try='test -s conftest.$ac_objext'
31459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31460 (eval $ac_try) 2>&5
31461 ac_status=$?
31462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31463 (exit $ac_status); }; }; then
31464 ac_header_compiler=yes
31465 else
31466 echo "$as_me: failed program was:" >&5
31467 sed 's/^/| /' conftest.$ac_ext >&5
31468
31469 ac_header_compiler=no
31470 fi
31471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31472 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31473 echo "${ECHO_T}$ac_header_compiler" >&6
31474
31475 # Is the header present?
31476 echo "$as_me:$LINENO: checking unistd.h presence" >&5
31477 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6
31478 cat >conftest.$ac_ext <<_ACEOF
31479 /* confdefs.h. */
31480 _ACEOF
31481 cat confdefs.h >>conftest.$ac_ext
31482 cat >>conftest.$ac_ext <<_ACEOF
31483 /* end confdefs.h. */
31484 #include <unistd.h>
31485 _ACEOF
31486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31487 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31488 ac_status=$?
31489 grep -v '^ *+' conftest.er1 >conftest.err
31490 rm -f conftest.er1
31491 cat conftest.err >&5
31492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31493 (exit $ac_status); } >/dev/null; then
31494 if test -s conftest.err; then
31495 ac_cpp_err=$ac_cxx_preproc_warn_flag
31496 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31497 else
31498 ac_cpp_err=
31499 fi
31500 else
31501 ac_cpp_err=yes
31502 fi
31503 if test -z "$ac_cpp_err"; then
31504 ac_header_preproc=yes
31505 else
31506 echo "$as_me: failed program was:" >&5
31507 sed 's/^/| /' conftest.$ac_ext >&5
31508
31509 ac_header_preproc=no
31510 fi
31511 rm -f conftest.err conftest.$ac_ext
31512 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31513 echo "${ECHO_T}$ac_header_preproc" >&6
31514
31515 # So? What about this header?
31516 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31517 yes:no: )
31518 { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5
31519 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31520 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5
31521 echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;}
31522 ac_header_preproc=yes
31523 ;;
31524 no:yes:* )
31525 { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5
31526 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;}
31527 { echo "$as_me:$LINENO: WARNING: unistd.h: check for missing prerequisite headers?" >&5
31528 echo "$as_me: WARNING: unistd.h: check for missing prerequisite headers?" >&2;}
31529 { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5
31530 echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;}
31531 { echo "$as_me:$LINENO: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&5
31532 echo "$as_me: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&2;}
31533 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5
31534 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;}
31535 { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5
31536 echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;}
31537 (
31538 cat <<\_ASBOX
31539 ## ----------------------------- ##
31540 ## Report this to the dx lists. ##
31541 ## ----------------------------- ##
31542 _ASBOX
31543 ) |
31544 sed "s/^/$as_me: WARNING: /" >&2
31545 ;;
31546 esac
31547 echo "$as_me:$LINENO: checking for unistd.h" >&5
31548 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6
31549 if test "${ac_cv_header_unistd_h+set}" = set; then
31550 echo $ECHO_N "(cached) $ECHO_C" >&6
31551 else
31552 ac_cv_header_unistd_h=$ac_header_preproc
31553 fi
31554 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5
31555 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6
31556
31557 fi
31558 if test $ac_cv_header_unistd_h = yes; then
25843 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
25844 if test "x$ac_cv_header_unistd_h" = xyes; then :
3155925845 echo "#include <unistd.h>" >> statHdrs.h
3156025846 fi
3156125847
3156225848
31563 if test "${ac_cv_header_sys_types_h+set}" = set; then
31564 echo "$as_me:$LINENO: checking for sys/types.h" >&5
31565 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6
31566 if test "${ac_cv_header_sys_types_h+set}" = set; then
31567 echo $ECHO_N "(cached) $ECHO_C" >&6
31568 fi
31569 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5
31570 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6
31571 else
31572 # Is the header compilable?
31573 echo "$as_me:$LINENO: checking sys/types.h usability" >&5
31574 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6
31575 cat >conftest.$ac_ext <<_ACEOF
31576 /* confdefs.h. */
31577 _ACEOF
31578 cat confdefs.h >>conftest.$ac_ext
31579 cat >>conftest.$ac_ext <<_ACEOF
31580 /* end confdefs.h. */
31581 $ac_includes_default
31582 #include <sys/types.h>
31583 _ACEOF
31584 rm -f conftest.$ac_objext
31585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31586 (eval $ac_compile) 2>conftest.er1
31587 ac_status=$?
31588 grep -v '^ *+' conftest.er1 >conftest.err
31589 rm -f conftest.er1
31590 cat conftest.err >&5
31591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31592 (exit $ac_status); } &&
31593 { ac_try='test -z "$ac_cxx_werror_flag"
31594 || test ! -s conftest.err'
31595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31596 (eval $ac_try) 2>&5
31597 ac_status=$?
31598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31599 (exit $ac_status); }; } &&
31600 { ac_try='test -s conftest.$ac_objext'
31601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31602 (eval $ac_try) 2>&5
31603 ac_status=$?
31604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31605 (exit $ac_status); }; }; then
31606 ac_header_compiler=yes
31607 else
31608 echo "$as_me: failed program was:" >&5
31609 sed 's/^/| /' conftest.$ac_ext >&5
31610
31611 ac_header_compiler=no
31612 fi
31613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31614 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31615 echo "${ECHO_T}$ac_header_compiler" >&6
31616
31617 # Is the header present?
31618 echo "$as_me:$LINENO: checking sys/types.h presence" >&5
31619 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6
31620 cat >conftest.$ac_ext <<_ACEOF
31621 /* confdefs.h. */
31622 _ACEOF
31623 cat confdefs.h >>conftest.$ac_ext
31624 cat >>conftest.$ac_ext <<_ACEOF
31625 /* end confdefs.h. */
31626 #include <sys/types.h>
31627 _ACEOF
31628 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31629 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31630 ac_status=$?
31631 grep -v '^ *+' conftest.er1 >conftest.err
31632 rm -f conftest.er1
31633 cat conftest.err >&5
31634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31635 (exit $ac_status); } >/dev/null; then
31636 if test -s conftest.err; then
31637 ac_cpp_err=$ac_cxx_preproc_warn_flag
31638 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31639 else
31640 ac_cpp_err=
31641 fi
31642 else
31643 ac_cpp_err=yes
31644 fi
31645 if test -z "$ac_cpp_err"; then
31646 ac_header_preproc=yes
31647 else
31648 echo "$as_me: failed program was:" >&5
31649 sed 's/^/| /' conftest.$ac_ext >&5
31650
31651 ac_header_preproc=no
31652 fi
31653 rm -f conftest.err conftest.$ac_ext
31654 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31655 echo "${ECHO_T}$ac_header_preproc" >&6
31656
31657 # So? What about this header?
31658 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31659 yes:no: )
31660 { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5
31661 echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31662 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5
31663 echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;}
31664 ac_header_preproc=yes
31665 ;;
31666 no:yes:* )
31667 { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5
31668 echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;}
31669 { echo "$as_me:$LINENO: WARNING: sys/types.h: check for missing prerequisite headers?" >&5
31670 echo "$as_me: WARNING: sys/types.h: check for missing prerequisite headers?" >&2;}
31671 { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5
31672 echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;}
31673 { echo "$as_me:$LINENO: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&5
31674 echo "$as_me: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&2;}
31675 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5
31676 echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;}
31677 { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5
31678 echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;}
31679 (
31680 cat <<\_ASBOX
31681 ## ----------------------------- ##
31682 ## Report this to the dx lists. ##
31683 ## ----------------------------- ##
31684 _ASBOX
31685 ) |
31686 sed "s/^/$as_me: WARNING: /" >&2
31687 ;;
31688 esac
31689 echo "$as_me:$LINENO: checking for sys/types.h" >&5
31690 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6
31691 if test "${ac_cv_header_sys_types_h+set}" = set; then
31692 echo $ECHO_N "(cached) $ECHO_C" >&6
31693 else
31694 ac_cv_header_sys_types_h=$ac_header_preproc
31695 fi
31696 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5
31697 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6
31698
31699 fi
31700 if test $ac_cv_header_sys_types_h = yes; then
25849 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
25850 if test "x$ac_cv_header_sys_types_h" = xyes; then :
3170125851 echo "#include <sys/types.h>" >> statHdrs.h
3170225852 fi
3170325853
3170425854
31705 if test "${ac_cv_header_sys_stat_h+set}" = set; then
31706 echo "$as_me:$LINENO: checking for sys/stat.h" >&5
31707 echo $ECHO_N "checking for sys/stat.h... $ECHO_C" >&6
31708 if test "${ac_cv_header_sys_stat_h+set}" = set; then
31709 echo $ECHO_N "(cached) $ECHO_C" >&6
31710 fi
31711 echo "$as_me:$LINENO: result: $ac_cv_header_sys_stat_h" >&5
31712 echo "${ECHO_T}$ac_cv_header_sys_stat_h" >&6
31713 else
31714 # Is the header compilable?
31715 echo "$as_me:$LINENO: checking sys/stat.h usability" >&5
31716 echo $ECHO_N "checking sys/stat.h usability... $ECHO_C" >&6
31717 cat >conftest.$ac_ext <<_ACEOF
31718 /* confdefs.h. */
31719 _ACEOF
31720 cat confdefs.h >>conftest.$ac_ext
31721 cat >>conftest.$ac_ext <<_ACEOF
31722 /* end confdefs.h. */
31723 $ac_includes_default
31724 #include <sys/stat.h>
31725 _ACEOF
31726 rm -f conftest.$ac_objext
31727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31728 (eval $ac_compile) 2>conftest.er1
31729 ac_status=$?
31730 grep -v '^ *+' conftest.er1 >conftest.err
31731 rm -f conftest.er1
31732 cat conftest.err >&5
31733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31734 (exit $ac_status); } &&
31735 { ac_try='test -z "$ac_cxx_werror_flag"
31736 || test ! -s conftest.err'
31737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31738 (eval $ac_try) 2>&5
31739 ac_status=$?
31740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31741 (exit $ac_status); }; } &&
31742 { ac_try='test -s conftest.$ac_objext'
31743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31744 (eval $ac_try) 2>&5
31745 ac_status=$?
31746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31747 (exit $ac_status); }; }; then
31748 ac_header_compiler=yes
31749 else
31750 echo "$as_me: failed program was:" >&5
31751 sed 's/^/| /' conftest.$ac_ext >&5
31752
31753 ac_header_compiler=no
31754 fi
31755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31757 echo "${ECHO_T}$ac_header_compiler" >&6
31758
31759 # Is the header present?
31760 echo "$as_me:$LINENO: checking sys/stat.h presence" >&5
31761 echo $ECHO_N "checking sys/stat.h presence... $ECHO_C" >&6
31762 cat >conftest.$ac_ext <<_ACEOF
31763 /* confdefs.h. */
31764 _ACEOF
31765 cat confdefs.h >>conftest.$ac_ext
31766 cat >>conftest.$ac_ext <<_ACEOF
31767 /* end confdefs.h. */
31768 #include <sys/stat.h>
31769 _ACEOF
31770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31771 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31772 ac_status=$?
31773 grep -v '^ *+' conftest.er1 >conftest.err
31774 rm -f conftest.er1
31775 cat conftest.err >&5
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); } >/dev/null; then
31778 if test -s conftest.err; then
31779 ac_cpp_err=$ac_cxx_preproc_warn_flag
31780 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31781 else
31782 ac_cpp_err=
31783 fi
31784 else
31785 ac_cpp_err=yes
31786 fi
31787 if test -z "$ac_cpp_err"; then
31788 ac_header_preproc=yes
31789 else
31790 echo "$as_me: failed program was:" >&5
31791 sed 's/^/| /' conftest.$ac_ext >&5
31792
31793 ac_header_preproc=no
31794 fi
31795 rm -f conftest.err conftest.$ac_ext
31796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31797 echo "${ECHO_T}$ac_header_preproc" >&6
31798
31799 # So? What about this header?
31800 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31801 yes:no: )
31802 { echo "$as_me:$LINENO: WARNING: sys/stat.h: accepted by the compiler, rejected by the preprocessor!" >&5
31803 echo "$as_me: WARNING: sys/stat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31804 { echo "$as_me:$LINENO: WARNING: sys/stat.h: proceeding with the compiler's result" >&5
31805 echo "$as_me: WARNING: sys/stat.h: proceeding with the compiler's result" >&2;}
31806 ac_header_preproc=yes
31807 ;;
31808 no:yes:* )
31809 { echo "$as_me:$LINENO: WARNING: sys/stat.h: present but cannot be compiled" >&5
31810 echo "$as_me: WARNING: sys/stat.h: present but cannot be compiled" >&2;}
31811 { echo "$as_me:$LINENO: WARNING: sys/stat.h: check for missing prerequisite headers?" >&5
31812 echo "$as_me: WARNING: sys/stat.h: check for missing prerequisite headers?" >&2;}
31813 { echo "$as_me:$LINENO: WARNING: sys/stat.h: see the Autoconf documentation" >&5
31814 echo "$as_me: WARNING: sys/stat.h: see the Autoconf documentation" >&2;}
31815 { echo "$as_me:$LINENO: WARNING: sys/stat.h: section \"Present But Cannot Be Compiled\"" >&5
31816 echo "$as_me: WARNING: sys/stat.h: section \"Present But Cannot Be Compiled\"" >&2;}
31817 { echo "$as_me:$LINENO: WARNING: sys/stat.h: proceeding with the preprocessor's result" >&5
31818 echo "$as_me: WARNING: sys/stat.h: proceeding with the preprocessor's result" >&2;}
31819 { echo "$as_me:$LINENO: WARNING: sys/stat.h: in the future, the compiler will take precedence" >&5
31820 echo "$as_me: WARNING: sys/stat.h: in the future, the compiler will take precedence" >&2;}
31821 (
31822 cat <<\_ASBOX
31823 ## ----------------------------- ##
31824 ## Report this to the dx lists. ##
31825 ## ----------------------------- ##
31826 _ASBOX
31827 ) |
31828 sed "s/^/$as_me: WARNING: /" >&2
31829 ;;
31830 esac
31831 echo "$as_me:$LINENO: checking for sys/stat.h" >&5
31832 echo $ECHO_N "checking for sys/stat.h... $ECHO_C" >&6
31833 if test "${ac_cv_header_sys_stat_h+set}" = set; then
31834 echo $ECHO_N "(cached) $ECHO_C" >&6
31835 else
31836 ac_cv_header_sys_stat_h=$ac_header_preproc
31837 fi
31838 echo "$as_me:$LINENO: result: $ac_cv_header_sys_stat_h" >&5
31839 echo "${ECHO_T}$ac_cv_header_sys_stat_h" >&6
31840
31841 fi
31842 if test $ac_cv_header_sys_stat_h = yes; then
25855 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
25856 if test "x$ac_cv_header_sys_stat_h" = xyes; then :
3184325857 echo "#include <sys/stat.h>" >> statHdrs.h
3184425858 fi
3184525859
3184825862 str="X"
3184925863 for f in stat _stat ; do
3185025864 for s in stat _stat ; do
31851 cat >conftest.$ac_ext <<_ACEOF
31852 /* confdefs.h. */
31853 _ACEOF
31854 cat confdefs.h >>conftest.$ac_ext
31855 cat >>conftest.$ac_ext <<_ACEOF
25865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3185625866 /* end confdefs.h. */
3185725867 #include <stdlib.h>
3185825868 #include "statHdrs.h"
3186725877 return 0;
3186825878 }
3186925879 _ACEOF
31870 rm -f conftest.$ac_objext conftest$ac_exeext
31871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31872 (eval $ac_link) 2>conftest.er1
31873 ac_status=$?
31874 grep -v '^ *+' conftest.er1 >conftest.err
31875 rm -f conftest.er1
31876 cat conftest.err >&5
31877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31878 (exit $ac_status); } &&
31879 { ac_try='test -z "$ac_cxx_werror_flag"
31880 || test ! -s conftest.err'
31881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31882 (eval $ac_try) 2>&5
31883 ac_status=$?
31884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31885 (exit $ac_status); }; } &&
31886 { ac_try='test -s conftest$ac_exeext'
31887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31888 (eval $ac_try) 2>&5
31889 ac_status=$?
31890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31891 (exit $ac_status); }; }; then
25880 if ac_fn_cxx_try_link "$LINENO"; then :
3189225881
3189325882 fnc=$f
3189425883 str=$s
3189525884
31896 else
31897 echo "$as_me: failed program was:" >&5
31898 sed 's/^/| /' conftest.$ac_ext >&5
31899
31900 fi
31901 rm -f conftest.err conftest.$ac_objext \
31902 conftest$ac_exeext conftest.$ac_ext
25885 fi
25886 rm -f core conftest.err conftest.$ac_objext \
25887 conftest$ac_exeext conftest.$ac_ext
3190325888 done
3190425889 done
3190525890 if test "$fnc" = "X" -o "$str" = "X" ; then
3192625911
3192725912
3192825913
31929 ac_ext=cc
25914 ac_ext=cpp
3193025915 ac_cpp='$CXXCPP $CPPFLAGS'
3193125916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3193225917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3193425919
3193525920
3193625921
31937
31938
31939
31940
31941
31942
3194325922 for ac_header in CC/libc.h direct.h dirent.h iostream iostream.h regex.h
31944 do
31945 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31947 echo "$as_me:$LINENO: checking for $ac_header" >&5
31948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31950 echo $ECHO_N "(cached) $ECHO_C" >&6
31951 fi
31952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31954 else
31955 # Is the header compilable?
31956 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31957 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31958 cat >conftest.$ac_ext <<_ACEOF
31959 /* confdefs.h. */
31960 _ACEOF
31961 cat confdefs.h >>conftest.$ac_ext
31962 cat >>conftest.$ac_ext <<_ACEOF
31963 /* end confdefs.h. */
31964 $ac_includes_default
31965 #include <$ac_header>
31966 _ACEOF
31967 rm -f conftest.$ac_objext
31968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31969 (eval $ac_compile) 2>conftest.er1
31970 ac_status=$?
31971 grep -v '^ *+' conftest.er1 >conftest.err
31972 rm -f conftest.er1
31973 cat conftest.err >&5
31974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31975 (exit $ac_status); } &&
31976 { ac_try='test -z "$ac_cxx_werror_flag"
31977 || test ! -s conftest.err'
31978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31979 (eval $ac_try) 2>&5
31980 ac_status=$?
31981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982 (exit $ac_status); }; } &&
31983 { ac_try='test -s conftest.$ac_objext'
31984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31985 (eval $ac_try) 2>&5
31986 ac_status=$?
31987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31988 (exit $ac_status); }; }; then
31989 ac_header_compiler=yes
31990 else
31991 echo "$as_me: failed program was:" >&5
31992 sed 's/^/| /' conftest.$ac_ext >&5
31993
31994 ac_header_compiler=no
31995 fi
31996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31998 echo "${ECHO_T}$ac_header_compiler" >&6
31999
32000 # Is the header present?
32001 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32003 cat >conftest.$ac_ext <<_ACEOF
32004 /* confdefs.h. */
32005 _ACEOF
32006 cat confdefs.h >>conftest.$ac_ext
32007 cat >>conftest.$ac_ext <<_ACEOF
32008 /* end confdefs.h. */
32009 #include <$ac_header>
32010 _ACEOF
32011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32013 ac_status=$?
32014 grep -v '^ *+' conftest.er1 >conftest.err
32015 rm -f conftest.er1
32016 cat conftest.err >&5
32017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32018 (exit $ac_status); } >/dev/null; then
32019 if test -s conftest.err; then
32020 ac_cpp_err=$ac_cxx_preproc_warn_flag
32021 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32022 else
32023 ac_cpp_err=
32024 fi
32025 else
32026 ac_cpp_err=yes
32027 fi
32028 if test -z "$ac_cpp_err"; then
32029 ac_header_preproc=yes
32030 else
32031 echo "$as_me: failed program was:" >&5
32032 sed 's/^/| /' conftest.$ac_ext >&5
32033
32034 ac_header_preproc=no
32035 fi
32036 rm -f conftest.err conftest.$ac_ext
32037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32038 echo "${ECHO_T}$ac_header_preproc" >&6
32039
32040 # So? What about this header?
32041 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32042 yes:no: )
32043 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32044 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32046 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32047 ac_header_preproc=yes
32048 ;;
32049 no:yes:* )
32050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32053 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32054 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32055 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32056 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32057 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32060 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32061 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32062 (
32063 cat <<\_ASBOX
32064 ## ----------------------------- ##
32065 ## Report this to the dx lists. ##
32066 ## ----------------------------- ##
32067 _ASBOX
32068 ) |
32069 sed "s/^/$as_me: WARNING: /" >&2
32070 ;;
32071 esac
32072 echo "$as_me:$LINENO: checking for $ac_header" >&5
32073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32075 echo $ECHO_N "(cached) $ECHO_C" >&6
32076 else
32077 eval "$as_ac_Header=\$ac_header_preproc"
32078 fi
32079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32081
32082 fi
32083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25923 do :
25924 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25925 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25926 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3208425927 cat >>confdefs.h <<_ACEOF
32085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25928 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3208625929 _ACEOF
3208725930
3208825931 fi
3208925932
3209025933 done
3209125934
32092
32093
3209425935 for ac_header in stream stream.h
32095 do
32096 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32098 echo "$as_me:$LINENO: checking for $ac_header" >&5
32099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32101 echo $ECHO_N "(cached) $ECHO_C" >&6
32102 fi
32103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32105 else
32106 # Is the header compilable?
32107 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32108 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32109 cat >conftest.$ac_ext <<_ACEOF
32110 /* confdefs.h. */
32111 _ACEOF
32112 cat confdefs.h >>conftest.$ac_ext
32113 cat >>conftest.$ac_ext <<_ACEOF
32114 /* end confdefs.h. */
32115 $ac_includes_default
32116 #include <$ac_header>
32117 _ACEOF
32118 rm -f conftest.$ac_objext
32119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32120 (eval $ac_compile) 2>conftest.er1
32121 ac_status=$?
32122 grep -v '^ *+' conftest.er1 >conftest.err
32123 rm -f conftest.er1
32124 cat conftest.err >&5
32125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126 (exit $ac_status); } &&
32127 { ac_try='test -z "$ac_cxx_werror_flag"
32128 || test ! -s conftest.err'
32129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32130 (eval $ac_try) 2>&5
32131 ac_status=$?
32132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32133 (exit $ac_status); }; } &&
32134 { ac_try='test -s conftest.$ac_objext'
32135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32136 (eval $ac_try) 2>&5
32137 ac_status=$?
32138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139 (exit $ac_status); }; }; then
32140 ac_header_compiler=yes
32141 else
32142 echo "$as_me: failed program was:" >&5
32143 sed 's/^/| /' conftest.$ac_ext >&5
32144
32145 ac_header_compiler=no
32146 fi
32147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32148 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32149 echo "${ECHO_T}$ac_header_compiler" >&6
32150
32151 # Is the header present?
32152 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32154 cat >conftest.$ac_ext <<_ACEOF
32155 /* confdefs.h. */
32156 _ACEOF
32157 cat confdefs.h >>conftest.$ac_ext
32158 cat >>conftest.$ac_ext <<_ACEOF
32159 /* end confdefs.h. */
32160 #include <$ac_header>
32161 _ACEOF
32162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32163 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32164 ac_status=$?
32165 grep -v '^ *+' conftest.er1 >conftest.err
32166 rm -f conftest.er1
32167 cat conftest.err >&5
32168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32169 (exit $ac_status); } >/dev/null; then
32170 if test -s conftest.err; then
32171 ac_cpp_err=$ac_cxx_preproc_warn_flag
32172 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32173 else
32174 ac_cpp_err=
32175 fi
32176 else
32177 ac_cpp_err=yes
32178 fi
32179 if test -z "$ac_cpp_err"; then
32180 ac_header_preproc=yes
32181 else
32182 echo "$as_me: failed program was:" >&5
32183 sed 's/^/| /' conftest.$ac_ext >&5
32184
32185 ac_header_preproc=no
32186 fi
32187 rm -f conftest.err conftest.$ac_ext
32188 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32189 echo "${ECHO_T}$ac_header_preproc" >&6
32190
32191 # So? What about this header?
32192 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32193 yes:no: )
32194 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32195 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32197 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32198 ac_header_preproc=yes
32199 ;;
32200 no:yes:* )
32201 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32202 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32203 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32204 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32205 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32206 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32207 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32208 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32210 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32211 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32212 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32213 (
32214 cat <<\_ASBOX
32215 ## ----------------------------- ##
32216 ## Report this to the dx lists. ##
32217 ## ----------------------------- ##
32218 _ASBOX
32219 ) |
32220 sed "s/^/$as_me: WARNING: /" >&2
32221 ;;
32222 esac
32223 echo "$as_me:$LINENO: checking for $ac_header" >&5
32224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32226 echo $ECHO_N "(cached) $ECHO_C" >&6
32227 else
32228 eval "$as_ac_Header=\$ac_header_preproc"
32229 fi
32230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32232
32233 fi
32234 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25936 do :
25937 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25938 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25939 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3223525940 cat >>confdefs.h <<_ACEOF
32236 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3223725942 _ACEOF
3223825943
3223925944 fi
3224025945
3224125946 done
3224225947
32243
32244
32245
32246
3224725948 for ac_header in sstream strstream.h strstrea.h sysent.h
32248 do
32249 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32251 echo "$as_me:$LINENO: checking for $ac_header" >&5
32252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32254 echo $ECHO_N "(cached) $ECHO_C" >&6
32255 fi
32256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32257 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32258 else
32259 # Is the header compilable?
32260 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32261 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32262 cat >conftest.$ac_ext <<_ACEOF
32263 /* confdefs.h. */
32264 _ACEOF
32265 cat confdefs.h >>conftest.$ac_ext
32266 cat >>conftest.$ac_ext <<_ACEOF
32267 /* end confdefs.h. */
32268 $ac_includes_default
32269 #include <$ac_header>
32270 _ACEOF
32271 rm -f conftest.$ac_objext
32272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32273 (eval $ac_compile) 2>conftest.er1
32274 ac_status=$?
32275 grep -v '^ *+' conftest.er1 >conftest.err
32276 rm -f conftest.er1
32277 cat conftest.err >&5
32278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32279 (exit $ac_status); } &&
32280 { ac_try='test -z "$ac_cxx_werror_flag"
32281 || test ! -s conftest.err'
32282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32283 (eval $ac_try) 2>&5
32284 ac_status=$?
32285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286 (exit $ac_status); }; } &&
32287 { ac_try='test -s conftest.$ac_objext'
32288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32289 (eval $ac_try) 2>&5
32290 ac_status=$?
32291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32292 (exit $ac_status); }; }; then
32293 ac_header_compiler=yes
32294 else
32295 echo "$as_me: failed program was:" >&5
32296 sed 's/^/| /' conftest.$ac_ext >&5
32297
32298 ac_header_compiler=no
32299 fi
32300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32301 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32302 echo "${ECHO_T}$ac_header_compiler" >&6
32303
32304 # Is the header present?
32305 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32306 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32307 cat >conftest.$ac_ext <<_ACEOF
32308 /* confdefs.h. */
32309 _ACEOF
32310 cat confdefs.h >>conftest.$ac_ext
32311 cat >>conftest.$ac_ext <<_ACEOF
32312 /* end confdefs.h. */
32313 #include <$ac_header>
32314 _ACEOF
32315 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32316 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32317 ac_status=$?
32318 grep -v '^ *+' conftest.er1 >conftest.err
32319 rm -f conftest.er1
32320 cat conftest.err >&5
32321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32322 (exit $ac_status); } >/dev/null; then
32323 if test -s conftest.err; then
32324 ac_cpp_err=$ac_cxx_preproc_warn_flag
32325 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32326 else
32327 ac_cpp_err=
32328 fi
32329 else
32330 ac_cpp_err=yes
32331 fi
32332 if test -z "$ac_cpp_err"; then
32333 ac_header_preproc=yes
32334 else
32335 echo "$as_me: failed program was:" >&5
32336 sed 's/^/| /' conftest.$ac_ext >&5
32337
32338 ac_header_preproc=no
32339 fi
32340 rm -f conftest.err conftest.$ac_ext
32341 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32342 echo "${ECHO_T}$ac_header_preproc" >&6
32343
32344 # So? What about this header?
32345 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32346 yes:no: )
32347 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32348 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32350 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32351 ac_header_preproc=yes
32352 ;;
32353 no:yes:* )
32354 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32355 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32356 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32357 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32358 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32359 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32360 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32361 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32363 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32364 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32365 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32366 (
32367 cat <<\_ASBOX
32368 ## ----------------------------- ##
32369 ## Report this to the dx lists. ##
32370 ## ----------------------------- ##
32371 _ASBOX
32372 ) |
32373 sed "s/^/$as_me: WARNING: /" >&2
32374 ;;
32375 esac
32376 echo "$as_me:$LINENO: checking for $ac_header" >&5
32377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32379 echo $ECHO_N "(cached) $ECHO_C" >&6
32380 else
32381 eval "$as_ac_Header=\$ac_header_preproc"
32382 fi
32383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32385
32386 fi
32387 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25949 do :
25950 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25951 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25952 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3238825953 cat >>confdefs.h <<_ACEOF
32389 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25954 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3239025955 _ACEOF
3239125956
3239225957 fi
3239325958
3239425959 done
3239525960
32396
32397
3239825961 for ac_header in fstream fstream.h
32399 do
32400 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32402 echo "$as_me:$LINENO: checking for $ac_header" >&5
32403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32405 echo $ECHO_N "(cached) $ECHO_C" >&6
32406 fi
32407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32408 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32409 else
32410 # Is the header compilable?
32411 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32412 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32413 cat >conftest.$ac_ext <<_ACEOF
32414 /* confdefs.h. */
32415 _ACEOF
32416 cat confdefs.h >>conftest.$ac_ext
32417 cat >>conftest.$ac_ext <<_ACEOF
32418 /* end confdefs.h. */
32419 $ac_includes_default
32420 #include <$ac_header>
32421 _ACEOF
32422 rm -f conftest.$ac_objext
32423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32424 (eval $ac_compile) 2>conftest.er1
32425 ac_status=$?
32426 grep -v '^ *+' conftest.er1 >conftest.err
32427 rm -f conftest.er1
32428 cat conftest.err >&5
32429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32430 (exit $ac_status); } &&
32431 { ac_try='test -z "$ac_cxx_werror_flag"
32432 || test ! -s conftest.err'
32433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32434 (eval $ac_try) 2>&5
32435 ac_status=$?
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); }; } &&
32438 { ac_try='test -s conftest.$ac_objext'
32439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32440 (eval $ac_try) 2>&5
32441 ac_status=$?
32442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32443 (exit $ac_status); }; }; then
32444 ac_header_compiler=yes
32445 else
32446 echo "$as_me: failed program was:" >&5
32447 sed 's/^/| /' conftest.$ac_ext >&5
32448
32449 ac_header_compiler=no
32450 fi
32451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32452 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32453 echo "${ECHO_T}$ac_header_compiler" >&6
32454
32455 # Is the header present?
32456 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32457 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32458 cat >conftest.$ac_ext <<_ACEOF
32459 /* confdefs.h. */
32460 _ACEOF
32461 cat confdefs.h >>conftest.$ac_ext
32462 cat >>conftest.$ac_ext <<_ACEOF
32463 /* end confdefs.h. */
32464 #include <$ac_header>
32465 _ACEOF
32466 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32467 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32468 ac_status=$?
32469 grep -v '^ *+' conftest.er1 >conftest.err
32470 rm -f conftest.er1
32471 cat conftest.err >&5
32472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32473 (exit $ac_status); } >/dev/null; then
32474 if test -s conftest.err; then
32475 ac_cpp_err=$ac_cxx_preproc_warn_flag
32476 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32477 else
32478 ac_cpp_err=
32479 fi
32480 else
32481 ac_cpp_err=yes
32482 fi
32483 if test -z "$ac_cpp_err"; then
32484 ac_header_preproc=yes
32485 else
32486 echo "$as_me: failed program was:" >&5
32487 sed 's/^/| /' conftest.$ac_ext >&5
32488
32489 ac_header_preproc=no
32490 fi
32491 rm -f conftest.err conftest.$ac_ext
32492 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32493 echo "${ECHO_T}$ac_header_preproc" >&6
32494
32495 # So? What about this header?
32496 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32497 yes:no: )
32498 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32499 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32500 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32501 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32502 ac_header_preproc=yes
32503 ;;
32504 no:yes:* )
32505 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32506 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32507 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32508 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32509 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32510 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32511 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32512 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32514 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32515 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32516 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32517 (
32518 cat <<\_ASBOX
32519 ## ----------------------------- ##
32520 ## Report this to the dx lists. ##
32521 ## ----------------------------- ##
32522 _ASBOX
32523 ) |
32524 sed "s/^/$as_me: WARNING: /" >&2
32525 ;;
32526 esac
32527 echo "$as_me:$LINENO: checking for $ac_header" >&5
32528 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32530 echo $ECHO_N "(cached) $ECHO_C" >&6
32531 else
32532 eval "$as_ac_Header=\$ac_header_preproc"
32533 fi
32534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32535 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32536
32537 fi
32538 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25962 do :
25963 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25964 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25965 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3253925966 cat >>confdefs.h <<_ACEOF
32540 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25967 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3254125968 _ACEOF
3254225969
3254325970 fi
3254425971
3254525972 done
3254625973
32547
3254825974 for ac_header in regexp.h
32549 do
32550 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32551 echo "$as_me:$LINENO: checking for $ac_header" >&5
32552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32554 echo $ECHO_N "(cached) $ECHO_C" >&6
32555 else
32556 cat >conftest.$ac_ext <<_ACEOF
32557 /* confdefs.h. */
32558 _ACEOF
32559 cat confdefs.h >>conftest.$ac_ext
32560 cat >>conftest.$ac_ext <<_ACEOF
32561 /* end confdefs.h. */
32562 #define INIT const char *sp = "";
25975 do :
25976 ac_fn_cxx_check_header_compile "$LINENO" "regexp.h" "ac_cv_header_regexp_h" " #define INIT const char *sp = \"\";
3256325977 #define GETC() (*sp++)
3256425978 #define PEEKC() (*sp)
3256525979 #define UNGETC(c) (--sp)
3256625980 #define RETURN(pointer) return(pointer);
3256725981 #define ERROR(val) /**/
3256825982
32569
32570 #include <$ac_header>
32571 _ACEOF
32572 rm -f conftest.$ac_objext
32573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32574 (eval $ac_compile) 2>conftest.er1
32575 ac_status=$?
32576 grep -v '^ *+' conftest.er1 >conftest.err
32577 rm -f conftest.er1
32578 cat conftest.err >&5
32579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32580 (exit $ac_status); } &&
32581 { ac_try='test -z "$ac_cxx_werror_flag"
32582 || test ! -s conftest.err'
32583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32584 (eval $ac_try) 2>&5
32585 ac_status=$?
32586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32587 (exit $ac_status); }; } &&
32588 { ac_try='test -s conftest.$ac_objext'
32589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32590 (eval $ac_try) 2>&5
32591 ac_status=$?
32592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32593 (exit $ac_status); }; }; then
32594 eval "$as_ac_Header=yes"
32595 else
32596 echo "$as_me: failed program was:" >&5
32597 sed 's/^/| /' conftest.$ac_ext >&5
32598
32599 eval "$as_ac_Header=no"
32600 fi
32601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32602 fi
32603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25983 "
25984 if test "x$ac_cv_header_regexp_h" = xyes; then :
3260625985 cat >>confdefs.h <<_ACEOF
32607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25986 #define HAVE_REGEXP_H 1
3260825987 _ACEOF
3260925988
3261025989 fi
3261225991 done
3261325992
3261425993
32615
32616 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
32617 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
32618 if test "${ac_cv_lib_socket_socket+set}" = set; then
32619 echo $ECHO_N "(cached) $ECHO_C" >&6
25994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
25995 $as_echo_n "checking for socket in -lsocket... " >&6; }
25996 if ${ac_cv_lib_socket_socket+:} false; then :
25997 $as_echo_n "(cached) " >&6
3262025998 else
3262125999 ac_check_lib_save_LIBS=$LIBS
3262226000 LIBS="-lsocket $LIBS"
32623 cat >conftest.$ac_ext <<_ACEOF
32624 /* confdefs.h. */
32625 _ACEOF
32626 cat confdefs.h >>conftest.$ac_ext
32627 cat >>conftest.$ac_ext <<_ACEOF
26001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262826002 /* end confdefs.h. */
3262926003
32630 /* Override any gcc2 internal prototype to avoid an error. */
26004 /* Override any GCC internal prototype to avoid an error.
26005 Use char because int might match the return type of a GCC
26006 builtin and then its argument prototype would still apply. */
3263126007 #ifdef __cplusplus
3263226008 extern "C"
3263326009 #endif
32634 /* We use char because int might match the return type of a gcc2
32635 builtin and then its argument prototype would still apply. */
3263626010 char socket ();
3263726011 int
3263826012 main ()
3263926013 {
32640 socket ();
26014 return socket ();
3264126015 ;
3264226016 return 0;
3264326017 }
3264426018 _ACEOF
32645 rm -f conftest.$ac_objext conftest$ac_exeext
32646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32647 (eval $ac_link) 2>conftest.er1
32648 ac_status=$?
32649 grep -v '^ *+' conftest.er1 >conftest.err
32650 rm -f conftest.er1
32651 cat conftest.err >&5
32652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32653 (exit $ac_status); } &&
32654 { ac_try='test -z "$ac_cxx_werror_flag"
32655 || test ! -s conftest.err'
32656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32657 (eval $ac_try) 2>&5
32658 ac_status=$?
32659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32660 (exit $ac_status); }; } &&
32661 { ac_try='test -s conftest$ac_exeext'
32662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32663 (eval $ac_try) 2>&5
32664 ac_status=$?
32665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32666 (exit $ac_status); }; }; then
26019 if ac_fn_cxx_try_link "$LINENO"; then :
3266726020 ac_cv_lib_socket_socket=yes
3266826021 else
32669 echo "$as_me: failed program was:" >&5
32670 sed 's/^/| /' conftest.$ac_ext >&5
32671
32672 ac_cv_lib_socket_socket=no
32673 fi
32674 rm -f conftest.err conftest.$ac_objext \
32675 conftest$ac_exeext conftest.$ac_ext
26022 ac_cv_lib_socket_socket=no
26023 fi
26024 rm -f core conftest.err conftest.$ac_objext \
26025 conftest$ac_exeext conftest.$ac_ext
3267626026 LIBS=$ac_check_lib_save_LIBS
3267726027 fi
32678 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
32679 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
32680 if test $ac_cv_lib_socket_socket = yes; then
26028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
26029 $as_echo "$ac_cv_lib_socket_socket" >&6; }
26030 if test "x$ac_cv_lib_socket_socket" = xyes; then :
3268126031 cat >>confdefs.h <<_ACEOF
3268226032 #define HAVE_LIBSOCKET 1
3268326033 _ACEOF
3268626036
3268726037 fi
3268826038
32689
32690 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32691 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32692 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32693 echo $ECHO_N "(cached) $ECHO_C" >&6
26039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
26040 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
26041 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
26042 $as_echo_n "(cached) " >&6
3269426043 else
3269526044 ac_check_lib_save_LIBS=$LIBS
3269626045 LIBS="-lnsl $LIBS"
32697 cat >conftest.$ac_ext <<_ACEOF
32698 /* confdefs.h. */
32699 _ACEOF
32700 cat confdefs.h >>conftest.$ac_ext
32701 cat >>conftest.$ac_ext <<_ACEOF
26046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270226047 /* end confdefs.h. */
3270326048
32704 /* Override any gcc2 internal prototype to avoid an error. */
26049 /* Override any GCC internal prototype to avoid an error.
26050 Use char because int might match the return type of a GCC
26051 builtin and then its argument prototype would still apply. */
3270526052 #ifdef __cplusplus
3270626053 extern "C"
3270726054 #endif
32708 /* We use char because int might match the return type of a gcc2
32709 builtin and then its argument prototype would still apply. */
3271026055 char inet_addr ();
3271126056 int
3271226057 main ()
3271326058 {
32714 inet_addr ();
26059 return inet_addr ();
3271526060 ;
3271626061 return 0;
3271726062 }
3271826063 _ACEOF
32719 rm -f conftest.$ac_objext conftest$ac_exeext
32720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32721 (eval $ac_link) 2>conftest.er1
32722 ac_status=$?
32723 grep -v '^ *+' conftest.er1 >conftest.err
32724 rm -f conftest.er1
32725 cat conftest.err >&5
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); } &&
32728 { ac_try='test -z "$ac_cxx_werror_flag"
32729 || test ! -s conftest.err'
32730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32731 (eval $ac_try) 2>&5
32732 ac_status=$?
32733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32734 (exit $ac_status); }; } &&
32735 { ac_try='test -s conftest$ac_exeext'
32736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32737 (eval $ac_try) 2>&5
32738 ac_status=$?
32739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32740 (exit $ac_status); }; }; then
26064 if ac_fn_cxx_try_link "$LINENO"; then :
3274126065 ac_cv_lib_nsl_inet_addr=yes
3274226066 else
32743 echo "$as_me: failed program was:" >&5
32744 sed 's/^/| /' conftest.$ac_ext >&5
32745
32746 ac_cv_lib_nsl_inet_addr=no
32747 fi
32748 rm -f conftest.err conftest.$ac_objext \
32749 conftest$ac_exeext conftest.$ac_ext
26067 ac_cv_lib_nsl_inet_addr=no
26068 fi
26069 rm -f core conftest.err conftest.$ac_objext \
26070 conftest$ac_exeext conftest.$ac_ext
3275026071 LIBS=$ac_check_lib_save_LIBS
3275126072 fi
32752 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
32753 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
32754 if test $ac_cv_lib_nsl_inet_addr = yes; then
26073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
26074 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
26075 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
3275526076 cat >>confdefs.h <<_ACEOF
3275626077 #define HAVE_LIBNSL 1
3275726078 _ACEOF
3276026081
3276126082 fi
3276226083
32763
32764 echo "$as_me:$LINENO: checking for regex in -lgen" >&5
32765 echo $ECHO_N "checking for regex in -lgen... $ECHO_C" >&6
32766 if test "${ac_cv_lib_gen_regex+set}" = set; then
32767 echo $ECHO_N "(cached) $ECHO_C" >&6
26084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for regex in -lgen" >&5
26085 $as_echo_n "checking for regex in -lgen... " >&6; }
26086 if ${ac_cv_lib_gen_regex+:} false; then :
26087 $as_echo_n "(cached) " >&6
3276826088 else
3276926089 ac_check_lib_save_LIBS=$LIBS
3277026090 LIBS="-lgen $LIBS"
32771 cat >conftest.$ac_ext <<_ACEOF
32772 /* confdefs.h. */
32773 _ACEOF
32774 cat confdefs.h >>conftest.$ac_ext
32775 cat >>conftest.$ac_ext <<_ACEOF
26091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277626092 /* end confdefs.h. */
3277726093
32778 /* Override any gcc2 internal prototype to avoid an error. */
26094 /* Override any GCC internal prototype to avoid an error.
26095 Use char because int might match the return type of a GCC
26096 builtin and then its argument prototype would still apply. */
3277926097 #ifdef __cplusplus
3278026098 extern "C"
3278126099 #endif
32782 /* We use char because int might match the return type of a gcc2
32783 builtin and then its argument prototype would still apply. */
3278426100 char regex ();
3278526101 int
3278626102 main ()
3278726103 {
32788 regex ();
26104 return regex ();
3278926105 ;
3279026106 return 0;
3279126107 }
3279226108 _ACEOF
32793 rm -f conftest.$ac_objext conftest$ac_exeext
32794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32795 (eval $ac_link) 2>conftest.er1
32796 ac_status=$?
32797 grep -v '^ *+' conftest.er1 >conftest.err
32798 rm -f conftest.er1
32799 cat conftest.err >&5
32800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32801 (exit $ac_status); } &&
32802 { ac_try='test -z "$ac_cxx_werror_flag"
32803 || test ! -s conftest.err'
32804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32805 (eval $ac_try) 2>&5
32806 ac_status=$?
32807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32808 (exit $ac_status); }; } &&
32809 { ac_try='test -s conftest$ac_exeext'
32810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32811 (eval $ac_try) 2>&5
32812 ac_status=$?
32813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32814 (exit $ac_status); }; }; then
26109 if ac_fn_cxx_try_link "$LINENO"; then :
3281526110 ac_cv_lib_gen_regex=yes
3281626111 else
32817 echo "$as_me: failed program was:" >&5
32818 sed 's/^/| /' conftest.$ac_ext >&5
32819
32820 ac_cv_lib_gen_regex=no
32821 fi
32822 rm -f conftest.err conftest.$ac_objext \
32823 conftest$ac_exeext conftest.$ac_ext
26112 ac_cv_lib_gen_regex=no
26113 fi
26114 rm -f core conftest.err conftest.$ac_objext \
26115 conftest$ac_exeext conftest.$ac_ext
3282426116 LIBS=$ac_check_lib_save_LIBS
3282526117 fi
32826 echo "$as_me:$LINENO: result: $ac_cv_lib_gen_regex" >&5
32827 echo "${ECHO_T}$ac_cv_lib_gen_regex" >&6
32828 if test $ac_cv_lib_gen_regex = yes; then
26118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_regex" >&5
26119 $as_echo "$ac_cv_lib_gen_regex" >&6; }
26120 if test "x$ac_cv_lib_gen_regex" = xyes; then :
3282926121 cat >>confdefs.h <<_ACEOF
3283026122 #define HAVE_LIBGEN 1
3283126123 _ACEOF
3283426126
3283526127 fi
3283626128
32837
32838 echo "$as_me:$LINENO: checking for regcomp in -lregex" >&5
32839 echo $ECHO_N "checking for regcomp in -lregex... $ECHO_C" >&6
32840 if test "${ac_cv_lib_regex_regcomp+set}" = set; then
32841 echo $ECHO_N "(cached) $ECHO_C" >&6
26129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for regcomp in -lregex" >&5
26130 $as_echo_n "checking for regcomp in -lregex... " >&6; }
26131 if ${ac_cv_lib_regex_regcomp+:} false; then :
26132 $as_echo_n "(cached) " >&6
3284226133 else
3284326134 ac_check_lib_save_LIBS=$LIBS
3284426135 LIBS="-lregex $LIBS"
32845 cat >conftest.$ac_ext <<_ACEOF
32846 /* confdefs.h. */
32847 _ACEOF
32848 cat confdefs.h >>conftest.$ac_ext
32849 cat >>conftest.$ac_ext <<_ACEOF
26136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285026137 /* end confdefs.h. */
3285126138
32852 /* Override any gcc2 internal prototype to avoid an error. */
26139 /* Override any GCC internal prototype to avoid an error.
26140 Use char because int might match the return type of a GCC
26141 builtin and then its argument prototype would still apply. */
3285326142 #ifdef __cplusplus
3285426143 extern "C"
3285526144 #endif
32856 /* We use char because int might match the return type of a gcc2
32857 builtin and then its argument prototype would still apply. */
3285826145 char regcomp ();
3285926146 int
3286026147 main ()
3286126148 {
32862 regcomp ();
26149 return regcomp ();
3286326150 ;
3286426151 return 0;
3286526152 }
3286626153 _ACEOF
32867 rm -f conftest.$ac_objext conftest$ac_exeext
32868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32869 (eval $ac_link) 2>conftest.er1
32870 ac_status=$?
32871 grep -v '^ *+' conftest.er1 >conftest.err
32872 rm -f conftest.er1
32873 cat conftest.err >&5
32874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32875 (exit $ac_status); } &&
32876 { ac_try='test -z "$ac_cxx_werror_flag"
32877 || test ! -s conftest.err'
32878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32879 (eval $ac_try) 2>&5
32880 ac_status=$?
32881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32882 (exit $ac_status); }; } &&
32883 { ac_try='test -s conftest$ac_exeext'
32884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32885 (eval $ac_try) 2>&5
32886 ac_status=$?
32887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32888 (exit $ac_status); }; }; then
26154 if ac_fn_cxx_try_link "$LINENO"; then :
3288926155 ac_cv_lib_regex_regcomp=yes
3289026156 else
32891 echo "$as_me: failed program was:" >&5
32892 sed 's/^/| /' conftest.$ac_ext >&5
32893
32894 ac_cv_lib_regex_regcomp=no
32895 fi
32896 rm -f conftest.err conftest.$ac_objext \
32897 conftest$ac_exeext conftest.$ac_ext
26157 ac_cv_lib_regex_regcomp=no
26158 fi
26159 rm -f core conftest.err conftest.$ac_objext \
26160 conftest$ac_exeext conftest.$ac_ext
3289826161 LIBS=$ac_check_lib_save_LIBS
3289926162 fi
32900 echo "$as_me:$LINENO: result: $ac_cv_lib_regex_regcomp" >&5
32901 echo "${ECHO_T}$ac_cv_lib_regex_regcomp" >&6
32902 if test $ac_cv_lib_regex_regcomp = yes; then
26163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_regex_regcomp" >&5
26164 $as_echo "$ac_cv_lib_regex_regcomp" >&6; }
26165 if test "x$ac_cv_lib_regex_regcomp" = xyes; then :
3290326166 cat >>confdefs.h <<_ACEOF
3290426167 #define HAVE_LIBREGEX 1
3290526168 _ACEOF
3290826171
3290926172 fi
3291026173
32911
32912 echo "$as_me:$LINENO: checking for regcomp in -lREXP" >&5
32913 echo $ECHO_N "checking for regcomp in -lREXP... $ECHO_C" >&6
32914 if test "${ac_cv_lib_REXP_regcomp+set}" = set; then
32915 echo $ECHO_N "(cached) $ECHO_C" >&6
26174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for regcomp in -lREXP" >&5
26175 $as_echo_n "checking for regcomp in -lREXP... " >&6; }
26176 if ${ac_cv_lib_REXP_regcomp+:} false; then :
26177 $as_echo_n "(cached) " >&6
3291626178 else
3291726179 ac_check_lib_save_LIBS=$LIBS
3291826180 LIBS="-lREXP $LIBS"
32919 cat >conftest.$ac_ext <<_ACEOF
32920 /* confdefs.h. */
32921 _ACEOF
32922 cat confdefs.h >>conftest.$ac_ext
32923 cat >>conftest.$ac_ext <<_ACEOF
26181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292426182 /* end confdefs.h. */
3292526183
32926 /* Override any gcc2 internal prototype to avoid an error. */
26184 /* Override any GCC internal prototype to avoid an error.
26185 Use char because int might match the return type of a GCC
26186 builtin and then its argument prototype would still apply. */
3292726187 #ifdef __cplusplus
3292826188 extern "C"
3292926189 #endif
32930 /* We use char because int might match the return type of a gcc2
32931 builtin and then its argument prototype would still apply. */
3293226190 char regcomp ();
3293326191 int
3293426192 main ()
3293526193 {
32936 regcomp ();
26194 return regcomp ();
3293726195 ;
3293826196 return 0;
3293926197 }
3294026198 _ACEOF
32941 rm -f conftest.$ac_objext conftest$ac_exeext
32942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32943 (eval $ac_link) 2>conftest.er1
32944 ac_status=$?
32945 grep -v '^ *+' conftest.er1 >conftest.err
32946 rm -f conftest.er1
32947 cat conftest.err >&5
32948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32949 (exit $ac_status); } &&
32950 { ac_try='test -z "$ac_cxx_werror_flag"
32951 || test ! -s conftest.err'
32952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32953 (eval $ac_try) 2>&5
32954 ac_status=$?
32955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32956 (exit $ac_status); }; } &&
32957 { ac_try='test -s conftest$ac_exeext'
32958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32959 (eval $ac_try) 2>&5
32960 ac_status=$?
32961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32962 (exit $ac_status); }; }; then
26199 if ac_fn_cxx_try_link "$LINENO"; then :
3296326200 ac_cv_lib_REXP_regcomp=yes
3296426201 else
32965 echo "$as_me: failed program was:" >&5
32966 sed 's/^/| /' conftest.$ac_ext >&5
32967
32968 ac_cv_lib_REXP_regcomp=no
32969 fi
32970 rm -f conftest.err conftest.$ac_objext \
32971 conftest$ac_exeext conftest.$ac_ext
26202 ac_cv_lib_REXP_regcomp=no
26203 fi
26204 rm -f core conftest.err conftest.$ac_objext \
26205 conftest$ac_exeext conftest.$ac_ext
3297226206 LIBS=$ac_check_lib_save_LIBS
3297326207 fi
32974 echo "$as_me:$LINENO: result: $ac_cv_lib_REXP_regcomp" >&5
32975 echo "${ECHO_T}$ac_cv_lib_REXP_regcomp" >&6
32976 if test $ac_cv_lib_REXP_regcomp = yes; then
26208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_REXP_regcomp" >&5
26209 $as_echo "$ac_cv_lib_REXP_regcomp" >&6; }
26210 if test "x$ac_cv_lib_REXP_regcomp" = xyes; then :
3297726211 cat >>confdefs.h <<_ACEOF
3297826212 #define HAVE_LIBREXP 1
3297926213 _ACEOF
3298426218
3298526219
3298626220
32987 echo "$as_me:$LINENO: checking whether -O2 interferes with fstream in C++" >&5
32988 echo $ECHO_N "checking whether -O2 interferes with fstream in C++... $ECHO_C" >&6
32989 ac_ext=cc
26221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -O2 interferes with fstream in C++" >&5
26222 $as_echo_n "checking whether -O2 interferes with fstream in C++... " >&6; }
26223 ac_ext=cpp
3299026224 ac_cpp='$CXXCPP $CPPFLAGS'
3299126225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3299226226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3299326227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3299426228
32995 cat >conftest.$ac_ext <<_ACEOF
32996 /* confdefs.h. */
32997 _ACEOF
32998 cat confdefs.h >>conftest.$ac_ext
32999 cat >>conftest.$ac_ext <<_ACEOF
26229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3300026230 /* end confdefs.h. */
3300126231
3300226232 #include <stdio.h>
3301826248 return 0;
3301926249 }
3302026250 _ACEOF
33021 rm -f conftest.$ac_objext conftest$ac_exeext
33022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33023 (eval $ac_link) 2>conftest.er1
33024 ac_status=$?
33025 grep -v '^ *+' conftest.er1 >conftest.err
33026 rm -f conftest.er1
33027 cat conftest.err >&5
33028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33029 (exit $ac_status); } &&
33030 { ac_try='test -z "$ac_cxx_werror_flag"
33031 || test ! -s conftest.err'
33032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33033 (eval $ac_try) 2>&5
33034 ac_status=$?
33035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33036 (exit $ac_status); }; } &&
33037 { ac_try='test -s conftest$ac_exeext'
33038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33039 (eval $ac_try) 2>&5
33040 ac_status=$?
33041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33042 (exit $ac_status); }; }; then
33043 echo "$as_me:$LINENO: result: no" >&5
33044 echo "${ECHO_T}no" >&6
33045
33046 else
33047 echo "$as_me: failed program was:" >&5
33048 sed 's/^/| /' conftest.$ac_ext >&5
33049
33050 CXXFLAGS=`echo $CXXFLAGS | sed "s/-O2//"`
33051 echo "$as_me:$LINENO: result: yes" >&5
33052 echo "${ECHO_T}yes" >&6
33053
33054 fi
33055 rm -f conftest.err conftest.$ac_objext \
33056 conftest$ac_exeext conftest.$ac_ext
33057 ac_ext=cc
26251 if ac_fn_cxx_try_link "$LINENO"; then :
26252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26253 $as_echo "no" >&6; }
26254
26255 else
26256 CXXFLAGS=`echo $CXXFLAGS | sed "s/-O2//"`
26257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26258 $as_echo "yes" >&6; }
26259
26260 fi
26261 rm -f core conftest.err conftest.$ac_objext \
26262 conftest$ac_exeext conftest.$ac_ext
26263 ac_ext=cpp
3305826264 ac_cpp='$CXXCPP $CPPFLAGS'
3305926265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3306026266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3306326269
3306426270
3306526271
33066 cat >conftest.$ac_ext <<_ACEOF
33067 /* confdefs.h. */
33068 _ACEOF
33069 cat confdefs.h >>conftest.$ac_ext
33070 cat >>conftest.$ac_ext <<_ACEOF
26272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3307126273 /* end confdefs.h. */
3307226274
3307326275 #include <unistd.h>
3308326285 return 0;
3308426286 }
3308526287 _ACEOF
33086 rm -f conftest.$ac_objext conftest$ac_exeext
33087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33088 (eval $ac_link) 2>conftest.er1
33089 ac_status=$?
33090 grep -v '^ *+' conftest.er1 >conftest.err
33091 rm -f conftest.er1
33092 cat conftest.err >&5
33093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33094 (exit $ac_status); } &&
33095 { ac_try='test -z "$ac_cxx_werror_flag"
33096 || test ! -s conftest.err'
33097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33098 (eval $ac_try) 2>&5
33099 ac_status=$?
33100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33101 (exit $ac_status); }; } &&
33102 { ac_try='test -s conftest$ac_exeext'
33103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33104 (eval $ac_try) 2>&5
33105 ac_status=$?
33106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107 (exit $ac_status); }; }; then
26288 if ac_fn_cxx_try_link "$LINENO"; then :
3310826289
3310926290 cat >>confdefs.h <<_ACEOF
3311026291 #define REQUIRES_GETHOSTNAME_DECLARATION 0
3311126292 _ACEOF
3311226293
3311326294 else
33114 echo "$as_me: failed program was:" >&5
33115 sed 's/^/| /' conftest.$ac_ext >&5
33116
33117 cat >>confdefs.h <<_ACEOF
26295 cat >>confdefs.h <<_ACEOF
3311826296 #define REQUIRES_GETHOSTNAME_DECLARATION 1
3311926297 _ACEOF
3312026298
3312126299 fi
33122 rm -f conftest.err conftest.$ac_objext \
33123 conftest$ac_exeext conftest.$ac_ext
33124
33125 cat >conftest.$ac_ext <<_ACEOF
33126 /* confdefs.h. */
33127 _ACEOF
33128 cat confdefs.h >>conftest.$ac_ext
33129 cat >>conftest.$ac_ext <<_ACEOF
26300 rm -f core conftest.err conftest.$ac_objext \
26301 conftest$ac_exeext conftest.$ac_ext
26302
26303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3313026304 /* end confdefs.h. */
3313126305
3313226306 #include <strings.h>
3314226316 return 0;
3314326317 }
3314426318 _ACEOF
33145 rm -f conftest.$ac_objext conftest$ac_exeext
33146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33147 (eval $ac_link) 2>conftest.er1
33148 ac_status=$?
33149 grep -v '^ *+' conftest.er1 >conftest.err
33150 rm -f conftest.er1
33151 cat conftest.err >&5
33152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33153 (exit $ac_status); } &&
33154 { ac_try='test -z "$ac_cxx_werror_flag"
33155 || test ! -s conftest.err'
33156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33157 (eval $ac_try) 2>&5
33158 ac_status=$?
33159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33160 (exit $ac_status); }; } &&
33161 { ac_try='test -s conftest$ac_exeext'
33162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33163 (eval $ac_try) 2>&5
33164 ac_status=$?
33165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33166 (exit $ac_status); }; }; then
26319 if ac_fn_cxx_try_link "$LINENO"; then :
3316726320
3316826321 cat >>confdefs.h <<_ACEOF
3316926322 #define REQUIRES_BZERO_DECLARATION 0
3317026323 _ACEOF
3317126324
3317226325 else
33173 echo "$as_me: failed program was:" >&5
33174 sed 's/^/| /' conftest.$ac_ext >&5
33175
33176 cat >>confdefs.h <<_ACEOF
26326 cat >>confdefs.h <<_ACEOF
3317726327 #define REQUIRES_BZERO_DECLARATION 1
3317826328 _ACEOF
3317926329
3318026330 fi
33181 rm -f conftest.err conftest.$ac_objext \
33182 conftest$ac_exeext conftest.$ac_ext
33183
33184
33185
33186 echo "$as_me:$LINENO: checking whether header file math.h contains symbol M_PI" >&5
33187 echo $ECHO_N "checking whether header file math.h contains symbol M_PI... $ECHO_C" >&6
26331 rm -f core conftest.err conftest.$ac_objext \
26332 conftest$ac_exeext conftest.$ac_ext
26333
26334
26335
26336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header file math.h contains symbol M_PI" >&5
26337 $as_echo_n "checking whether header file math.h contains symbol M_PI... " >&6; }
3318826338 ac_ext=C
3318926339 found="no"
3319026340 for i in math.h
3319126341 do
33192 cat >conftest.$ac_ext <<_ACEOF
33193 /* confdefs.h. */
33194 _ACEOF
33195 cat confdefs.h >>conftest.$ac_ext
33196 cat >>conftest.$ac_ext <<_ACEOF
26342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3319726343 /* end confdefs.h. */
3319826344 #include <$i>
3319926345 #ifdef M_PI
3320226348
3320326349 _ACEOF
3320426350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33205 $EGREP "yes" >/dev/null 2>&1; then
26351 $EGREP "yes" >/dev/null 2>&1; then :
3320626352 found="yes"
3320726353 fi
3320826354 rm -f conftest*
3321126357 if test $found = "no" ; then
3321226358 for i in math.h
3321326359 do
33214 cat >conftest.$ac_ext <<_ACEOF
33215 /* confdefs.h. */
33216 _ACEOF
33217 cat confdefs.h >>conftest.$ac_ext
33218 cat >>conftest.$ac_ext <<_ACEOF
26360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3321926361 /* end confdefs.h. */
3322026362 #include <math.h>
3322126363
3322226364 _ACEOF
3322326365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33224 $EGREP "M_PI" >/dev/null 2>&1; then
26366 $EGREP "M_PI" >/dev/null 2>&1; then :
3322526367 found="yes"
3322626368 fi
3322726369 rm -f conftest*
3323426376 #define HAS_M_PI 1
3323526377 _ACEOF
3323626378
33237 echo "$as_me:$LINENO: result: \"yes\"" >&5
33238 echo "${ECHO_T}\"yes\"" >&6
26379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
26380 $as_echo "\"yes\"" >&6; }
3323926381 else
33240 echo "$as_me:$LINENO: result: \"no\"" >&5
33241 echo "${ECHO_T}\"no\"" >&6
26382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
26383 $as_echo "\"no\"" >&6; }
3324226384 fi
3324326385
3324426386
33245 echo "$as_me:$LINENO: checking whether header file math.h contains symbol M_SQRT2" >&5
33246 echo $ECHO_N "checking whether header file math.h contains symbol M_SQRT2... $ECHO_C" >&6
26387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header file math.h contains symbol M_SQRT2" >&5
26388 $as_echo_n "checking whether header file math.h contains symbol M_SQRT2... " >&6; }
3324726389 ac_ext=C
3324826390 found="no"
3324926391 for i in math.h
3325026392 do
33251 cat >conftest.$ac_ext <<_ACEOF
33252 /* confdefs.h. */
33253 _ACEOF
33254 cat confdefs.h >>conftest.$ac_ext
33255 cat >>conftest.$ac_ext <<_ACEOF
26393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3325626394 /* end confdefs.h. */
3325726395 #include <$i>
3325826396 #ifdef M_SQRT2
3326126399
3326226400 _ACEOF
3326326401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33264 $EGREP "yes" >/dev/null 2>&1; then
26402 $EGREP "yes" >/dev/null 2>&1; then :
3326526403 found="yes"
3326626404 fi
3326726405 rm -f conftest*
3327026408 if test $found = "no" ; then
3327126409 for i in math.h
3327226410 do
33273 cat >conftest.$ac_ext <<_ACEOF
33274 /* confdefs.h. */
33275 _ACEOF
33276 cat confdefs.h >>conftest.$ac_ext
33277 cat >>conftest.$ac_ext <<_ACEOF
26411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3327826412 /* end confdefs.h. */
3327926413 #include <math.h>
3328026414
3328126415 _ACEOF
3328226416 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33283 $EGREP "M_SQRT2" >/dev/null 2>&1; then
26417 $EGREP "M_SQRT2" >/dev/null 2>&1; then :
3328426418 found="yes"
3328526419 fi
3328626420 rm -f conftest*
3329326427 #define HAS_M_SQRT2 1
3329426428 _ACEOF
3329526429
33296 echo "$as_me:$LINENO: result: \"yes\"" >&5
33297 echo "${ECHO_T}\"yes\"" >&6
26430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
26431 $as_echo "\"yes\"" >&6; }
3329826432 else
33299 echo "$as_me:$LINENO: result: \"no\"" >&5
33300 echo "${ECHO_T}\"no\"" >&6
26433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
26434 $as_echo "\"no\"" >&6; }
3330126435 fi
3330226436
3330326437
33304 echo "$as_me:$LINENO: checking whether header file sys/stat.h contains symbol S_ISDIR" >&5
33305 echo $ECHO_N "checking whether header file sys/stat.h contains symbol S_ISDIR... $ECHO_C" >&6
26438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header file sys/stat.h contains symbol S_ISDIR" >&5
26439 $as_echo_n "checking whether header file sys/stat.h contains symbol S_ISDIR... " >&6; }
3330626440 ac_ext=C
3330726441 found="no"
3330826442 for i in sys/stat.h
3330926443 do
33310 cat >conftest.$ac_ext <<_ACEOF
33311 /* confdefs.h. */
33312 _ACEOF
33313 cat confdefs.h >>conftest.$ac_ext
33314 cat >>conftest.$ac_ext <<_ACEOF
26444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3331526445 /* end confdefs.h. */
3331626446 #include <$i>
3331726447 #ifdef S_ISDIR
3332026450
3332126451 _ACEOF
3332226452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33323 $EGREP "yes" >/dev/null 2>&1; then
26453 $EGREP "yes" >/dev/null 2>&1; then :
3332426454 found="yes"
3332526455 fi
3332626456 rm -f conftest*
3332926459 if test $found = "no" ; then
3333026460 for i in sys/stat.h
3333126461 do
33332 cat >conftest.$ac_ext <<_ACEOF
33333 /* confdefs.h. */
33334 _ACEOF
33335 cat confdefs.h >>conftest.$ac_ext
33336 cat >>conftest.$ac_ext <<_ACEOF
26462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3333726463 /* end confdefs.h. */
3333826464 #include <sys/stat.h>
3333926465
3334026466 _ACEOF
3334126467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33342 $EGREP "S_ISDIR" >/dev/null 2>&1; then
26468 $EGREP "S_ISDIR" >/dev/null 2>&1; then :
3334326469 found="yes"
3334426470 fi
3334526471 rm -f conftest*
3335226478 #define HAS_S_ISDIR 1
3335326479 _ACEOF
3335426480
33355 echo "$as_me:$LINENO: result: \"yes\"" >&5
33356 echo "${ECHO_T}\"yes\"" >&6
26481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
26482 $as_echo "\"yes\"" >&6; }
3335726483 else
33358 echo "$as_me:$LINENO: result: \"no\"" >&5
33359 echo "${ECHO_T}\"no\"" >&6
26484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
26485 $as_echo "\"no\"" >&6; }
3336026486 fi
3336126487
3336226488
33363 echo "$as_me:$LINENO: checking whether header file sys/mode.h contains symbol S_ISDIR" >&5
33364 echo $ECHO_N "checking whether header file sys/mode.h contains symbol S_ISDIR... $ECHO_C" >&6
26489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header file sys/mode.h contains symbol S_ISDIR" >&5
26490 $as_echo_n "checking whether header file sys/mode.h contains symbol S_ISDIR... " >&6; }
3336526491 ac_ext=C
3336626492 found="no"
3336726493 for i in sys/mode.h
3336826494 do
33369 cat >conftest.$ac_ext <<_ACEOF
33370 /* confdefs.h. */
33371 _ACEOF
33372 cat confdefs.h >>conftest.$ac_ext
33373 cat >>conftest.$ac_ext <<_ACEOF
26495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337426496 /* end confdefs.h. */
3337526497 #include <$i>
3337626498 #ifdef S_ISDIR
3337926501
3338026502 _ACEOF
3338126503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33382 $EGREP "yes" >/dev/null 2>&1; then
26504 $EGREP "yes" >/dev/null 2>&1; then :
3338326505 found="yes"
3338426506 fi
3338526507 rm -f conftest*
3338826510 if test $found = "no" ; then
3338926511 for i in sys/mode.h
3339026512 do
33391 cat >conftest.$ac_ext <<_ACEOF
33392 /* confdefs.h. */
33393 _ACEOF
33394 cat confdefs.h >>conftest.$ac_ext
33395 cat >>conftest.$ac_ext <<_ACEOF
26513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339626514 /* end confdefs.h. */
3339726515 #include <sys/mode.h>
3339826516
3339926517 _ACEOF
3340026518 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33401 $EGREP "S_ISDIR" >/dev/null 2>&1; then
26519 $EGREP "S_ISDIR" >/dev/null 2>&1; then :
3340226520 found="yes"
3340326521 fi
3340426522 rm -f conftest*
3341126529 #define HAS_S_ISDIR 1
3341226530 _ACEOF
3341326531
33414 echo "$as_me:$LINENO: result: \"yes\"" >&5
33415 echo "${ECHO_T}\"yes\"" >&6
26532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
26533 $as_echo "\"yes\"" >&6; }
3341626534 else
33417 echo "$as_me:$LINENO: result: \"no\"" >&5
33418 echo "${ECHO_T}\"no\"" >&6
26535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
26536 $as_echo "\"no\"" >&6; }
3341926537 fi
3342026538
3342126539
33422 echo "$as_me:$LINENO: checking whether header file sys/sysmp.h contains symbol sysmp" >&5
33423 echo $ECHO_N "checking whether header file sys/sysmp.h contains symbol sysmp... $ECHO_C" >&6
26540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether header file sys/sysmp.h contains symbol sysmp" >&5
26541 $as_echo_n "checking whether header file sys/sysmp.h contains symbol sysmp... " >&6; }
3342426542 ac_ext=C
3342526543 found="no"
3342626544 for i in sys/sysmp.h
3342726545 do
33428 cat >conftest.$ac_ext <<_ACEOF
33429 /* confdefs.h. */
33430 _ACEOF
33431 cat confdefs.h >>conftest.$ac_ext
33432 cat >>conftest.$ac_ext <<_ACEOF
26546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343326547 /* end confdefs.h. */
3343426548 #include <$i>
3343526549 #ifdef sysmp
3343826552
3343926553 _ACEOF
3344026554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33441 $EGREP "yes" >/dev/null 2>&1; then
26555 $EGREP "yes" >/dev/null 2>&1; then :
3344226556 found="yes"
3344326557 fi
3344426558 rm -f conftest*
3344726561 if test $found = "no" ; then
3344826562 for i in sys/sysmp.h
3344926563 do
33450 cat >conftest.$ac_ext <<_ACEOF
33451 /* confdefs.h. */
33452 _ACEOF
33453 cat confdefs.h >>conftest.$ac_ext
33454 cat >>conftest.$ac_ext <<_ACEOF
26564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3345526565 /* end confdefs.h. */
3345626566 #include <sys/sysmp.h>
3345726567
3345826568 _ACEOF
3345926569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33460 $EGREP "sysmp" >/dev/null 2>&1; then
26570 $EGREP "sysmp" >/dev/null 2>&1; then :
3346126571 found="yes"
3346226572 fi
3346326573 rm -f conftest*
3347026580 #define HAS_sysmp 1
3347126581 _ACEOF
3347226582
33473 echo "$as_me:$LINENO: result: \"yes\"" >&5
33474 echo "${ECHO_T}\"yes\"" >&6
26583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
26584 $as_echo "\"yes\"" >&6; }
3347526585 else
33476 echo "$as_me:$LINENO: result: \"no\"" >&5
33477 echo "${ECHO_T}\"no\"" >&6
26586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
26587 $as_echo "\"no\"" >&6; }
3347826588 fi
3347926589
3348026590
3348526595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3348626596
3348726597
33488 echo "$as_me:$LINENO: checking for working memcmp" >&5
33489 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
33490 if test "${ac_cv_func_memcmp_working+set}" = set; then
33491 echo $ECHO_N "(cached) $ECHO_C" >&6
33492 else
33493 if test "$cross_compiling" = yes; then
26598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
26599 $as_echo_n "checking for working memcmp... " >&6; }
26600 if ${ac_cv_func_memcmp_working+:} false; then :
26601 $as_echo_n "(cached) " >&6
26602 else
26603 if test "$cross_compiling" = yes; then :
3349426604 ac_cv_func_memcmp_working=no
3349526605 else
33496 cat >conftest.$ac_ext <<_ACEOF
33497 /* confdefs.h. */
33498 _ACEOF
33499 cat confdefs.h >>conftest.$ac_ext
33500 cat >>conftest.$ac_ext <<_ACEOF
26606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350126607 /* end confdefs.h. */
3350226608 $ac_includes_default
3350326609 int
3350526611 {
3350626612
3350726613 /* Some versions of memcmp are not 8-bit clean. */
33508 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
26614 char c0 = '\100', c1 = '\200', c2 = '\201';
3350926615 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
33510 exit (1);
26616 return 1;
3351126617
3351226618 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
3351326619 or more and with at least one buffer not starting on a 4-byte boundary.
3352326629 strcpy (a, "--------01111111");
3352426630 strcpy (b, "--------10000000");
3352526631 if (memcmp (a, b, 16) >= 0)
33526 exit (1);
26632 return 1;
3352726633 }
33528 exit (0);
26634 return 0;
3352926635 }
3353026636
3353126637 ;
3353226638 return 0;
3353326639 }
3353426640 _ACEOF
33535 rm -f conftest$ac_exeext
33536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33537 (eval $ac_link) 2>&5
33538 ac_status=$?
33539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33542 (eval $ac_try) 2>&5
33543 ac_status=$?
33544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33545 (exit $ac_status); }; }; then
26641 if ac_fn_c_try_run "$LINENO"; then :
3354626642 ac_cv_func_memcmp_working=yes
3354726643 else
33548 echo "$as_me: program exited with status $ac_status" >&5
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.$ac_ext >&5
33551
33552 ( exit $ac_status )
33553 ac_cv_func_memcmp_working=no
33554 fi
33555 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33556 fi
33557 fi
33558 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
33559 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
33560 test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
33561 "memcmp.$ac_objext" | \
33562 *" memcmp.$ac_objext" | \
33563 "memcmp.$ac_objext "* | \
26644 ac_cv_func_memcmp_working=no
26645 fi
26646 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26647 conftest.$ac_objext conftest.beam conftest.$ac_ext
26648 fi
26649
26650 fi
26651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
26652 $as_echo "$ac_cv_func_memcmp_working" >&6; }
26653 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
3356426654 *" memcmp.$ac_objext "* ) ;;
33565 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
26655 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
26656 ;;
3356626657 esac
3356726658
3356826659
33569 echo "$as_me:$LINENO: checking for function prototypes" >&5
33570 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
33571 if test "$ac_cv_prog_cc_stdc" != no; then
33572 echo "$as_me:$LINENO: result: yes" >&5
33573 echo "${ECHO_T}yes" >&6
33574
33575 cat >>confdefs.h <<\_ACEOF
33576 #define PROTOTYPES 1
33577 _ACEOF
33578
33579
33580 cat >>confdefs.h <<\_ACEOF
33581 #define __PROTOTYPES 1
33582 _ACEOF
33583
33584 else
33585 echo "$as_me:$LINENO: result: no" >&5
33586 echo "${ECHO_T}no" >&6
33587 fi
33588
33589 echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
33590 echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6
33591 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
33592 echo $ECHO_N "(cached) $ECHO_C" >&6
26660 if ${ac_cv_func_setvbuf_reversed+:} false; then :
26661 $as_echo_n "(cached) " >&6
3359326662 else
3359426663 ac_cv_func_setvbuf_reversed=no
33595 cat >conftest.$ac_ext <<_ACEOF
33596 /* confdefs.h. */
33597 _ACEOF
33598 cat confdefs.h >>conftest.$ac_ext
33599 cat >>conftest.$ac_ext <<_ACEOF
26664 fi
26665
26666
26667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
26668 $as_echo_n "checking return type of signal handlers... " >&6; }
26669 if ${ac_cv_type_signal+:} false; then :
26670 $as_echo_n "(cached) " >&6
26671 else
26672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360026673 /* end confdefs.h. */
33601 #include <stdio.h>
33602 # if PROTOTYPES
33603 int (setvbuf) (FILE *, int, char *, size_t);
33604 # endif
26674 #include <sys/types.h>
26675 #include <signal.h>
26676
3360526677 int
3360626678 main ()
3360726679 {
33608 char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
26680 return *(signal (0, 0)) (0) == 1;
3360926681 ;
3361026682 return 0;
3361126683 }
3361226684 _ACEOF
33613 rm -f conftest.$ac_objext conftest$ac_exeext
33614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33615 (eval $ac_link) 2>conftest.er1
33616 ac_status=$?
33617 grep -v '^ *+' conftest.er1 >conftest.err
33618 rm -f conftest.er1
33619 cat conftest.err >&5
33620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33621 (exit $ac_status); } &&
33622 { ac_try='test -z "$ac_c_werror_flag"
33623 || test ! -s conftest.err'
33624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33625 (eval $ac_try) 2>&5
33626 ac_status=$?
33627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33628 (exit $ac_status); }; } &&
33629 { ac_try='test -s conftest$ac_exeext'
33630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33631 (eval $ac_try) 2>&5
33632 ac_status=$?
33633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33634 (exit $ac_status); }; }; then
33635 cat >conftest.$ac_ext <<_ACEOF
33636 /* confdefs.h. */
33637 _ACEOF
33638 cat confdefs.h >>conftest.$ac_ext
33639 cat >>conftest.$ac_ext <<_ACEOF
26685 if ac_fn_c_try_compile "$LINENO"; then :
26686 ac_cv_type_signal=int
26687 else
26688 ac_cv_type_signal=void
26689 fi
26690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26691 fi
26692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
26693 $as_echo "$ac_cv_type_signal" >&6; }
26694
26695 cat >>confdefs.h <<_ACEOF
26696 #define RETSIGTYPE $ac_cv_type_signal
26697 _ACEOF
26698
26699
26700 for ac_header in vfork.h
26701 do :
26702 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
26703 if test "x$ac_cv_header_vfork_h" = xyes; then :
26704 cat >>confdefs.h <<_ACEOF
26705 #define HAVE_VFORK_H 1
26706 _ACEOF
26707
26708 fi
26709
26710 done
26711
26712 for ac_func in fork vfork
26713 do :
26714 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26715 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26716 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26717 cat >>confdefs.h <<_ACEOF
26718 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26719 _ACEOF
26720
26721 fi
26722 done
26723
26724 if test "x$ac_cv_func_fork" = xyes; then
26725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
26726 $as_echo_n "checking for working fork... " >&6; }
26727 if ${ac_cv_func_fork_works+:} false; then :
26728 $as_echo_n "(cached) " >&6
26729 else
26730 if test "$cross_compiling" = yes; then :
26731 ac_cv_func_fork_works=cross
26732 else
26733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364026734 /* end confdefs.h. */
33641 #include <stdio.h>
33642 # if PROTOTYPES
33643 int (setvbuf) (FILE *, int, char *, size_t);
33644 # endif
26735 $ac_includes_default
3364526736 int
3364626737 main ()
3364726738 {
33648 char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
26739
26740 /* By Ruediger Kuhlmann. */
26741 return fork () < 0;
26742
3364926743 ;
3365026744 return 0;
3365126745 }
3365226746 _ACEOF
33653 rm -f conftest.$ac_objext conftest$ac_exeext
33654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33655 (eval $ac_link) 2>conftest.er1
33656 ac_status=$?
33657 grep -v '^ *+' conftest.er1 >conftest.err
33658 rm -f conftest.er1
33659 cat conftest.err >&5
33660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33661 (exit $ac_status); } &&
33662 { ac_try='test -z "$ac_c_werror_flag"
33663 || test ! -s conftest.err'
33664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33665 (eval $ac_try) 2>&5
33666 ac_status=$?
33667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33668 (exit $ac_status); }; } &&
33669 { ac_try='test -s conftest$ac_exeext'
33670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33671 (eval $ac_try) 2>&5
33672 ac_status=$?
33673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33674 (exit $ac_status); }; }; then
33675 # It compiles and links either way, so it must not be declared
33676 # with a prototype and most likely this is a K&R C compiler.
33677 # Try running it.
33678 if test "$cross_compiling" = yes; then
33679 : # Assume setvbuf is not reversed when cross-compiling.
33680 else
33681 cat >conftest.$ac_ext <<_ACEOF
33682 /* confdefs.h. */
33683 _ACEOF
33684 cat confdefs.h >>conftest.$ac_ext
33685 cat >>conftest.$ac_ext <<_ACEOF
33686 /* end confdefs.h. */
33687 #include <stdio.h>
33688 int
33689 main ()
33690 {
33691 /* This call has the arguments reversed.
33692 A reversed system may check and see that the address of buf
33693 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
33694 char buf;
33695 if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
33696 exit (1);
33697 putchar ('\r');
33698 exit (0); /* Non-reversed systems SEGV here. */
33699 ;
33700 return 0;
33701 }
33702 _ACEOF
33703 rm -f conftest$ac_exeext
33704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33705 (eval $ac_link) 2>&5
33706 ac_status=$?
33707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33708 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33710 (eval $ac_try) 2>&5
33711 ac_status=$?
33712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33713 (exit $ac_status); }; }; then
33714 ac_cv_func_setvbuf_reversed=yes
33715 else
33716 echo "$as_me: program exited with status $ac_status" >&5
33717 echo "$as_me: failed program was:" >&5
33718 sed 's/^/| /' conftest.$ac_ext >&5
33719
33720 ( exit $ac_status )
33721 rm -f core *.core
33722 fi
33723 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33724 fi
33725 ac_cv_func_setvbuf_reversed=yes
33726 else
33727 echo "$as_me: failed program was:" >&5
33728 sed 's/^/| /' conftest.$ac_ext >&5
33729
33730 fi
33731 rm -f conftest.err conftest.$ac_objext \
33732 conftest$ac_exeext conftest.$ac_ext
33733 else
33734 echo "$as_me: failed program was:" >&5
33735 sed 's/^/| /' conftest.$ac_ext >&5
33736
33737 fi
33738 rm -f conftest.err conftest.$ac_objext \
33739 conftest$ac_exeext conftest.$ac_ext
33740 fi
33741 echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
33742 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6
33743 if test $ac_cv_func_setvbuf_reversed = yes; then
33744
33745 cat >>confdefs.h <<\_ACEOF
33746 #define SETVBUF_REVERSED 1
33747 _ACEOF
33748
33749 fi
33750
33751 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
33752 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
33753 if test "${ac_cv_type_signal+set}" = set; then
33754 echo $ECHO_N "(cached) $ECHO_C" >&6
33755 else
33756 cat >conftest.$ac_ext <<_ACEOF
33757 /* confdefs.h. */
33758 _ACEOF
33759 cat confdefs.h >>conftest.$ac_ext
33760 cat >>conftest.$ac_ext <<_ACEOF
33761 /* end confdefs.h. */
33762 #include <sys/types.h>
33763 #include <signal.h>
33764 #ifdef signal
33765 # undef signal
33766 #endif
33767 #ifdef __cplusplus
33768 extern "C" void (*signal (int, void (*)(int)))(int);
33769 #else
33770 void (*signal ()) ();
33771 #endif
33772
33773 int
33774 main ()
33775 {
33776 int i;
33777 ;
33778 return 0;
33779 }
33780 _ACEOF
33781 rm -f conftest.$ac_objext
33782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33783 (eval $ac_compile) 2>conftest.er1
33784 ac_status=$?
33785 grep -v '^ *+' conftest.er1 >conftest.err
33786 rm -f conftest.er1
33787 cat conftest.err >&5
33788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33789 (exit $ac_status); } &&
33790 { ac_try='test -z "$ac_c_werror_flag"
33791 || test ! -s conftest.err'
33792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33793 (eval $ac_try) 2>&5
33794 ac_status=$?
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); }; } &&
33797 { ac_try='test -s conftest.$ac_objext'
33798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33799 (eval $ac_try) 2>&5
33800 ac_status=$?
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); }; }; then
33803 ac_cv_type_signal=void
33804 else
33805 echo "$as_me: failed program was:" >&5
33806 sed 's/^/| /' conftest.$ac_ext >&5
33807
33808 ac_cv_type_signal=int
33809 fi
33810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33811 fi
33812 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
33813 echo "${ECHO_T}$ac_cv_type_signal" >&6
33814
33815 cat >>confdefs.h <<_ACEOF
33816 #define RETSIGTYPE $ac_cv_type_signal
33817 _ACEOF
33818
33819
33820
33821
33822 for ac_header in unistd.h vfork.h
33823 do
33824 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33826 echo "$as_me:$LINENO: checking for $ac_header" >&5
33827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33829 echo $ECHO_N "(cached) $ECHO_C" >&6
33830 fi
33831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33833 else
33834 # Is the header compilable?
33835 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33836 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33837 cat >conftest.$ac_ext <<_ACEOF
33838 /* confdefs.h. */
33839 _ACEOF
33840 cat confdefs.h >>conftest.$ac_ext
33841 cat >>conftest.$ac_ext <<_ACEOF
33842 /* end confdefs.h. */
33843 $ac_includes_default
33844 #include <$ac_header>
33845 _ACEOF
33846 rm -f conftest.$ac_objext
33847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33848 (eval $ac_compile) 2>conftest.er1
33849 ac_status=$?
33850 grep -v '^ *+' conftest.er1 >conftest.err
33851 rm -f conftest.er1
33852 cat conftest.err >&5
33853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33854 (exit $ac_status); } &&
33855 { ac_try='test -z "$ac_c_werror_flag"
33856 || test ! -s conftest.err'
33857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33858 (eval $ac_try) 2>&5
33859 ac_status=$?
33860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33861 (exit $ac_status); }; } &&
33862 { ac_try='test -s conftest.$ac_objext'
33863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33864 (eval $ac_try) 2>&5
33865 ac_status=$?
33866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33867 (exit $ac_status); }; }; then
33868 ac_header_compiler=yes
33869 else
33870 echo "$as_me: failed program was:" >&5
33871 sed 's/^/| /' conftest.$ac_ext >&5
33872
33873 ac_header_compiler=no
33874 fi
33875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33877 echo "${ECHO_T}$ac_header_compiler" >&6
33878
33879 # Is the header present?
33880 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33881 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33882 cat >conftest.$ac_ext <<_ACEOF
33883 /* confdefs.h. */
33884 _ACEOF
33885 cat confdefs.h >>conftest.$ac_ext
33886 cat >>conftest.$ac_ext <<_ACEOF
33887 /* end confdefs.h. */
33888 #include <$ac_header>
33889 _ACEOF
33890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33891 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33892 ac_status=$?
33893 grep -v '^ *+' conftest.er1 >conftest.err
33894 rm -f conftest.er1
33895 cat conftest.err >&5
33896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33897 (exit $ac_status); } >/dev/null; then
33898 if test -s conftest.err; then
33899 ac_cpp_err=$ac_c_preproc_warn_flag
33900 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33901 else
33902 ac_cpp_err=
33903 fi
33904 else
33905 ac_cpp_err=yes
33906 fi
33907 if test -z "$ac_cpp_err"; then
33908 ac_header_preproc=yes
33909 else
33910 echo "$as_me: failed program was:" >&5
33911 sed 's/^/| /' conftest.$ac_ext >&5
33912
33913 ac_header_preproc=no
33914 fi
33915 rm -f conftest.err conftest.$ac_ext
33916 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33917 echo "${ECHO_T}$ac_header_preproc" >&6
33918
33919 # So? What about this header?
33920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33921 yes:no: )
33922 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33923 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33925 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33926 ac_header_preproc=yes
33927 ;;
33928 no:yes:* )
33929 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33930 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33931 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33932 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33933 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33934 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33935 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33936 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33938 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33939 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33940 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33941 (
33942 cat <<\_ASBOX
33943 ## ----------------------------- ##
33944 ## Report this to the dx lists. ##
33945 ## ----------------------------- ##
33946 _ASBOX
33947 ) |
33948 sed "s/^/$as_me: WARNING: /" >&2
33949 ;;
33950 esac
33951 echo "$as_me:$LINENO: checking for $ac_header" >&5
33952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33954 echo $ECHO_N "(cached) $ECHO_C" >&6
33955 else
33956 eval "$as_ac_Header=\$ac_header_preproc"
33957 fi
33958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33960
33961 fi
33962 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33963 cat >>confdefs.h <<_ACEOF
33964 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33965 _ACEOF
33966
33967 fi
33968
33969 done
33970
33971
33972
33973 for ac_func in fork vfork
33974 do
33975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33976 echo "$as_me:$LINENO: checking for $ac_func" >&5
33977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33978 if eval "test \"\${$as_ac_var+set}\" = set"; then
33979 echo $ECHO_N "(cached) $ECHO_C" >&6
33980 else
33981 cat >conftest.$ac_ext <<_ACEOF
33982 /* confdefs.h. */
33983 _ACEOF
33984 cat confdefs.h >>conftest.$ac_ext
33985 cat >>conftest.$ac_ext <<_ACEOF
33986 /* end confdefs.h. */
33987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33989 #define $ac_func innocuous_$ac_func
33990
33991 /* System header to define __stub macros and hopefully few prototypes,
33992 which can conflict with char $ac_func (); below.
33993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33994 <limits.h> exists even on freestanding compilers. */
33995
33996 #ifdef __STDC__
33997 # include <limits.h>
33998 #else
33999 # include <assert.h>
34000 #endif
34001
34002 #undef $ac_func
34003
34004 /* Override any gcc2 internal prototype to avoid an error. */
34005 #ifdef __cplusplus
34006 extern "C"
34007 {
34008 #endif
34009 /* We use char because int might match the return type of a gcc2
34010 builtin and then its argument prototype would still apply. */
34011 char $ac_func ();
34012 /* The GNU C library defines this for functions which it implements
34013 to always fail with ENOSYS. Some functions are actually named
34014 something starting with __ and the normal name is an alias. */
34015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34016 choke me
34017 #else
34018 char (*f) () = $ac_func;
34019 #endif
34020 #ifdef __cplusplus
34021 }
34022 #endif
34023
34024 int
34025 main ()
34026 {
34027 return f != $ac_func;
34028 ;
34029 return 0;
34030 }
34031 _ACEOF
34032 rm -f conftest.$ac_objext conftest$ac_exeext
34033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34034 (eval $ac_link) 2>conftest.er1
34035 ac_status=$?
34036 grep -v '^ *+' conftest.er1 >conftest.err
34037 rm -f conftest.er1
34038 cat conftest.err >&5
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); } &&
34041 { ac_try='test -z "$ac_c_werror_flag"
34042 || test ! -s conftest.err'
34043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34044 (eval $ac_try) 2>&5
34045 ac_status=$?
34046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34047 (exit $ac_status); }; } &&
34048 { ac_try='test -s conftest$ac_exeext'
34049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34050 (eval $ac_try) 2>&5
34051 ac_status=$?
34052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053 (exit $ac_status); }; }; then
34054 eval "$as_ac_var=yes"
34055 else
34056 echo "$as_me: failed program was:" >&5
34057 sed 's/^/| /' conftest.$ac_ext >&5
34058
34059 eval "$as_ac_var=no"
34060 fi
34061 rm -f conftest.err conftest.$ac_objext \
34062 conftest$ac_exeext conftest.$ac_ext
34063 fi
34064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34066 if test `eval echo '${'$as_ac_var'}'` = yes; then
34067 cat >>confdefs.h <<_ACEOF
34068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34069 _ACEOF
34070
34071 fi
34072 done
34073
34074 if test "x$ac_cv_func_fork" = xyes; then
34075 echo "$as_me:$LINENO: checking for working fork" >&5
34076 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
34077 if test "${ac_cv_func_fork_works+set}" = set; then
34078 echo $ECHO_N "(cached) $ECHO_C" >&6
34079 else
34080 if test "$cross_compiling" = yes; then
34081 ac_cv_func_fork_works=cross
34082 else
34083 cat >conftest.$ac_ext <<_ACEOF
34084 /* By Ruediger Kuhlmann. */
34085 #include <sys/types.h>
34086 #if HAVE_UNISTD_H
34087 # include <unistd.h>
34088 #endif
34089 /* Some systems only have a dummy stub for fork() */
34090 int main ()
34091 {
34092 if (fork() < 0)
34093 exit (1);
34094 exit (0);
34095 }
34096 _ACEOF
34097 rm -f conftest$ac_exeext
34098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34099 (eval $ac_link) 2>&5
34100 ac_status=$?
34101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34102 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34104 (eval $ac_try) 2>&5
34105 ac_status=$?
34106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34107 (exit $ac_status); }; }; then
26747 if ac_fn_c_try_run "$LINENO"; then :
3410826748 ac_cv_func_fork_works=yes
3410926749 else
34110 echo "$as_me: program exited with status $ac_status" >&5
34111 echo "$as_me: failed program was:" >&5
34112 sed 's/^/| /' conftest.$ac_ext >&5
34113
34114 ( exit $ac_status )
34115 ac_cv_func_fork_works=no
34116 fi
34117 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34118 fi
34119 fi
34120 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
34121 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
26750 ac_cv_func_fork_works=no
26751 fi
26752 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26753 conftest.$ac_objext conftest.beam conftest.$ac_ext
26754 fi
26755
26756 fi
26757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
26758 $as_echo "$ac_cv_func_fork_works" >&6; }
3412226759
3412326760 else
3412426761 ac_cv_func_fork_works=$ac_cv_func_fork
3413326770 ac_cv_func_fork_works=yes
3413426771 ;;
3413526772 esac
34136 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
34137 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
26773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
26774 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
3413826775 fi
3413926776 ac_cv_func_vfork_works=$ac_cv_func_vfork
3414026777 if test "x$ac_cv_func_vfork" = xyes; then
34141 echo "$as_me:$LINENO: checking for working vfork" >&5
34142 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
34143 if test "${ac_cv_func_vfork_works+set}" = set; then
34144 echo $ECHO_N "(cached) $ECHO_C" >&6
34145 else
34146 if test "$cross_compiling" = yes; then
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
26779 $as_echo_n "checking for working vfork... " >&6; }
26780 if ${ac_cv_func_vfork_works+:} false; then :
26781 $as_echo_n "(cached) " >&6
26782 else
26783 if test "$cross_compiling" = yes; then :
3414726784 ac_cv_func_vfork_works=cross
3414826785 else
34149 cat >conftest.$ac_ext <<_ACEOF
34150 /* confdefs.h. */
34151 _ACEOF
34152 cat confdefs.h >>conftest.$ac_ext
34153 cat >>conftest.$ac_ext <<_ACEOF
26786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415426787 /* end confdefs.h. */
3415526788 /* Thanks to Paul Eggert for this test. */
34156 #include <stdio.h>
34157 #include <stdlib.h>
34158 #include <sys/types.h>
34159 #include <sys/stat.h>
26789 $ac_includes_default
3416026790 #include <sys/wait.h>
34161 #if HAVE_UNISTD_H
34162 # include <unistd.h>
34163 #endif
34164 #if HAVE_VFORK_H
26791 #ifdef HAVE_VFORK_H
3416526792 # include <vfork.h>
3416626793 #endif
3416726794 /* On some sparc systems, changes by the child to local and incoming
3423226859
3423326860 while (wait(&status) != child)
3423426861 ;
34235 exit(
26862 return (
3423626863 /* Was there some problem with vforking? */
3423726864 child < 0
3423826865
3424826875 }
3424926876 }
3425026877 _ACEOF
34251 rm -f conftest$ac_exeext
34252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34253 (eval $ac_link) 2>&5
34254 ac_status=$?
34255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34256 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34258 (eval $ac_try) 2>&5
34259 ac_status=$?
34260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34261 (exit $ac_status); }; }; then
26878 if ac_fn_c_try_run "$LINENO"; then :
3426226879 ac_cv_func_vfork_works=yes
3426326880 else
34264 echo "$as_me: program exited with status $ac_status" >&5
34265 echo "$as_me: failed program was:" >&5
34266 sed 's/^/| /' conftest.$ac_ext >&5
34267
34268 ( exit $ac_status )
34269 ac_cv_func_vfork_works=no
34270 fi
34271 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34272 fi
34273 fi
34274 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
34275 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
26881 ac_cv_func_vfork_works=no
26882 fi
26883 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26884 conftest.$ac_objext conftest.beam conftest.$ac_ext
26885 fi
26886
26887 fi
26888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
26889 $as_echo "$ac_cv_func_vfork_works" >&6; }
3427626890
3427726891 fi;
3427826892 if test "x$ac_cv_func_fork_works" = xcross; then
3427926893 ac_cv_func_vfork_works=$ac_cv_func_vfork
34280 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
34281 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
26894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
26895 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
3428226896 fi
3428326897
3428426898 if test "x$ac_cv_func_vfork_works" = xyes; then
3428526899
34286 cat >>confdefs.h <<\_ACEOF
34287 #define HAVE_WORKING_VFORK 1
34288 _ACEOF
34289
34290 else
34291
34292 cat >>confdefs.h <<\_ACEOF
34293 #define vfork fork
34294 _ACEOF
26900 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
26901
26902 else
26903
26904 $as_echo "#define vfork fork" >>confdefs.h
3429526905
3429626906 fi
3429726907 if test "x$ac_cv_func_fork_works" = xyes; then
3429826908
34299 cat >>confdefs.h <<\_ACEOF
34300 #define HAVE_WORKING_FORK 1
34301 _ACEOF
34302
34303 fi
34304
26909 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
26910
26911 fi
3430526912
3430626913 for ac_func in vprintf
34307 do
34308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34309 echo "$as_me:$LINENO: checking for $ac_func" >&5
34310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34311 if eval "test \"\${$as_ac_var+set}\" = set"; then
34312 echo $ECHO_N "(cached) $ECHO_C" >&6
34313 else
34314 cat >conftest.$ac_ext <<_ACEOF
34315 /* confdefs.h. */
34316 _ACEOF
34317 cat confdefs.h >>conftest.$ac_ext
34318 cat >>conftest.$ac_ext <<_ACEOF
34319 /* end confdefs.h. */
34320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34322 #define $ac_func innocuous_$ac_func
34323
34324 /* System header to define __stub macros and hopefully few prototypes,
34325 which can conflict with char $ac_func (); below.
34326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34327 <limits.h> exists even on freestanding compilers. */
34328
34329 #ifdef __STDC__
34330 # include <limits.h>
34331 #else
34332 # include <assert.h>
34333 #endif
34334
34335 #undef $ac_func
34336
34337 /* Override any gcc2 internal prototype to avoid an error. */
34338 #ifdef __cplusplus
34339 extern "C"
34340 {
34341 #endif
34342 /* We use char because int might match the return type of a gcc2
34343 builtin and then its argument prototype would still apply. */
34344 char $ac_func ();
34345 /* The GNU C library defines this for functions which it implements
34346 to always fail with ENOSYS. Some functions are actually named
34347 something starting with __ and the normal name is an alias. */
34348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34349 choke me
34350 #else
34351 char (*f) () = $ac_func;
34352 #endif
34353 #ifdef __cplusplus
34354 }
34355 #endif
34356
34357 int
34358 main ()
34359 {
34360 return f != $ac_func;
34361 ;
34362 return 0;
34363 }
34364 _ACEOF
34365 rm -f conftest.$ac_objext conftest$ac_exeext
34366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34367 (eval $ac_link) 2>conftest.er1
34368 ac_status=$?
34369 grep -v '^ *+' conftest.er1 >conftest.err
34370 rm -f conftest.er1
34371 cat conftest.err >&5
34372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34373 (exit $ac_status); } &&
34374 { ac_try='test -z "$ac_c_werror_flag"
34375 || test ! -s conftest.err'
34376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34377 (eval $ac_try) 2>&5
34378 ac_status=$?
34379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34380 (exit $ac_status); }; } &&
34381 { ac_try='test -s conftest$ac_exeext'
34382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34383 (eval $ac_try) 2>&5
34384 ac_status=$?
34385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34386 (exit $ac_status); }; }; then
34387 eval "$as_ac_var=yes"
34388 else
34389 echo "$as_me: failed program was:" >&5
34390 sed 's/^/| /' conftest.$ac_ext >&5
34391
34392 eval "$as_ac_var=no"
34393 fi
34394 rm -f conftest.err conftest.$ac_objext \
34395 conftest$ac_exeext conftest.$ac_ext
34396 fi
34397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34399 if test `eval echo '${'$as_ac_var'}'` = yes; then
26914 do :
26915 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
26916 if test "x$ac_cv_func_vprintf" = xyes; then :
3440026917 cat >>confdefs.h <<_ACEOF
34401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34402 _ACEOF
34403
34404 echo "$as_me:$LINENO: checking for _doprnt" >&5
34405 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
34406 if test "${ac_cv_func__doprnt+set}" = set; then
34407 echo $ECHO_N "(cached) $ECHO_C" >&6
34408 else
34409 cat >conftest.$ac_ext <<_ACEOF
34410 /* confdefs.h. */
34411 _ACEOF
34412 cat confdefs.h >>conftest.$ac_ext
34413 cat >>conftest.$ac_ext <<_ACEOF
34414 /* end confdefs.h. */
34415 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
34416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34417 #define _doprnt innocuous__doprnt
34418
34419 /* System header to define __stub macros and hopefully few prototypes,
34420 which can conflict with char _doprnt (); below.
34421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34422 <limits.h> exists even on freestanding compilers. */
34423
34424 #ifdef __STDC__
34425 # include <limits.h>
34426 #else
34427 # include <assert.h>
34428 #endif
34429
34430 #undef _doprnt
34431
34432 /* Override any gcc2 internal prototype to avoid an error. */
34433 #ifdef __cplusplus
34434 extern "C"
34435 {
34436 #endif
34437 /* We use char because int might match the return type of a gcc2
34438 builtin and then its argument prototype would still apply. */
34439 char _doprnt ();
34440 /* The GNU C library defines this for functions which it implements
34441 to always fail with ENOSYS. Some functions are actually named
34442 something starting with __ and the normal name is an alias. */
34443 #if defined (__stub__doprnt) || defined (__stub____doprnt)
34444 choke me
34445 #else
34446 char (*f) () = _doprnt;
34447 #endif
34448 #ifdef __cplusplus
34449 }
34450 #endif
34451
34452 int
34453 main ()
34454 {
34455 return f != _doprnt;
34456 ;
34457 return 0;
34458 }
34459 _ACEOF
34460 rm -f conftest.$ac_objext conftest$ac_exeext
34461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34462 (eval $ac_link) 2>conftest.er1
34463 ac_status=$?
34464 grep -v '^ *+' conftest.er1 >conftest.err
34465 rm -f conftest.er1
34466 cat conftest.err >&5
34467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34468 (exit $ac_status); } &&
34469 { ac_try='test -z "$ac_c_werror_flag"
34470 || test ! -s conftest.err'
34471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34472 (eval $ac_try) 2>&5
34473 ac_status=$?
34474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34475 (exit $ac_status); }; } &&
34476 { ac_try='test -s conftest$ac_exeext'
34477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34478 (eval $ac_try) 2>&5
34479 ac_status=$?
34480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34481 (exit $ac_status); }; }; then
34482 ac_cv_func__doprnt=yes
34483 else
34484 echo "$as_me: failed program was:" >&5
34485 sed 's/^/| /' conftest.$ac_ext >&5
34486
34487 ac_cv_func__doprnt=no
34488 fi
34489 rm -f conftest.err conftest.$ac_objext \
34490 conftest$ac_exeext conftest.$ac_ext
34491 fi
34492 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
34493 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
34494 if test $ac_cv_func__doprnt = yes; then
34495
34496 cat >>confdefs.h <<\_ACEOF
34497 #define HAVE_DOPRNT 1
34498 _ACEOF
26918 #define HAVE_VPRINTF 1
26919 _ACEOF
26920
26921 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
26922 if test "x$ac_cv_func__doprnt" = xyes; then :
26923
26924 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
3449926925
3450026926 fi
3450126927
3450526931
3450626932
3450726933
34508 echo "$as_me:$LINENO: checking for uint" >&5
34509 echo $ECHO_N "checking for uint... $ECHO_C" >&6
34510 if test "${ac_cv_type_uint+set}" = set; then
34511 echo $ECHO_N "(cached) $ECHO_C" >&6
26934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint" >&5
26935 $as_echo_n "checking for uint... " >&6; }
26936 if ${ac_cv_type_uint+:} false; then :
26937 $as_echo_n "(cached) " >&6
3451226938 else
3451326939
3451426940 if test "$ac_cv_header_windows_h" = "yes" ; then
34515 cat >conftest.$ac_ext <<_ACEOF
34516 /* confdefs.h. */
34517 _ACEOF
34518 cat confdefs.h >>conftest.$ac_ext
34519 cat >>conftest.$ac_ext <<_ACEOF
26941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3452026942 /* end confdefs.h. */
3452126943
3452226944 #include <sys/types.h>
3452826950
3452926951 _ACEOF
3453026952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34531 $EGREP "[^a-zA-Z_0-9]uint[^a-zA-Z_0-9]" >/dev/null 2>&1; then
26953 $EGREP "[^a-zA-Z_0-9]uint[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3453226954 ac_cv_type_uint=yes
3453326955 else
3453426956 ac_cv_type_uint=no
3453626958 rm -f conftest*
3453726959
3453826960 else
34539 cat >conftest.$ac_ext <<_ACEOF
34540 /* confdefs.h. */
34541 _ACEOF
34542 cat confdefs.h >>conftest.$ac_ext
34543 cat >>conftest.$ac_ext <<_ACEOF
26961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3454426962 /* end confdefs.h. */
3454526963
3454626964 #include <sys/types.h>
3455126969
3455226970 _ACEOF
3455326971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34554 $EGREP "[^a-zA-Z_0-9]uint[^a-zA-Z_0-9]" >/dev/null 2>&1; then
26972 $EGREP "[^a-zA-Z_0-9]uint[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3455526973 ac_cv_type_uint=yes
3455626974 else
3455726975 ac_cv_type_uint=no
3456126979
3456226980 fi
3456326981 if test $ac_cv_type_uint = no; then
34564 cat >conftest.$ac_ext <<_ACEOF
34565 /* confdefs.h. */
34566 _ACEOF
34567 cat confdefs.h >>conftest.$ac_ext
34568 cat >>conftest.$ac_ext <<_ACEOF
26982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456926983 /* end confdefs.h. */
3457026984
3457126985 int
3457626990 return 0;
3457726991 }
3457826992 _ACEOF
34579 rm -f conftest.$ac_objext
34580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34581 (eval $ac_compile) 2>conftest.er1
34582 ac_status=$?
34583 grep -v '^ *+' conftest.er1 >conftest.err
34584 rm -f conftest.er1
34585 cat conftest.err >&5
34586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34587 (exit $ac_status); } &&
34588 { ac_try='test -z "$ac_c_werror_flag"
34589 || test ! -s conftest.err'
34590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34591 (eval $ac_try) 2>&5
34592 ac_status=$?
34593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34594 (exit $ac_status); }; } &&
34595 { ac_try='test -s conftest.$ac_objext'
34596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34597 (eval $ac_try) 2>&5
34598 ac_status=$?
34599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34600 (exit $ac_status); }; }; then
26993 if ac_fn_c_try_compile "$LINENO"; then :
3460126994 ac_cv_type_uint=yes
3460226995 else
34603 echo "$as_me: failed program was:" >&5
34604 sed 's/^/| /' conftest.$ac_ext >&5
34605
34606 ac_cv_type_uint=no
34607 fi
34608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26996 ac_cv_type_uint=no
26997 fi
26998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3460926999 fi
3461027000
3461127001 fi
3461227002
34613 echo "$as_me:$LINENO: result: $ac_cv_type_uint" >&5
34614 echo "${ECHO_T}$ac_cv_type_uint" >&6
27003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uint" >&5
27004 $as_echo "$ac_cv_type_uint" >&6; }
3461527005 if test $ac_cv_type_uint = no; then
3461627006
34617 cat >>confdefs.h <<\_ACEOF
34618 #define uint unsigned int
34619 _ACEOF
27007 $as_echo "#define uint unsigned int" >>confdefs.h
3462027008
3462127009 fi
3462227010
3462327011
34624 echo "$as_me:$LINENO: checking for byte" >&5
34625 echo $ECHO_N "checking for byte... $ECHO_C" >&6
34626 if test "${ac_cv_type_byte+set}" = set; then
34627 echo $ECHO_N "(cached) $ECHO_C" >&6
27012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for byte" >&5
27013 $as_echo_n "checking for byte... " >&6; }
27014 if ${ac_cv_type_byte+:} false; then :
27015 $as_echo_n "(cached) " >&6
3462827016 else
3462927017
3463027018 if test "$ac_cv_header_windows_h" = "yes" ; then
34631 cat >conftest.$ac_ext <<_ACEOF
34632 /* confdefs.h. */
34633 _ACEOF
34634 cat confdefs.h >>conftest.$ac_ext
34635 cat >>conftest.$ac_ext <<_ACEOF
27019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463627020 /* end confdefs.h. */
3463727021
3463827022 #include <sys/types.h>
3464427028
3464527029 _ACEOF
3464627030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34647 $EGREP "[^a-zA-Z_0-9]byte[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27031 $EGREP "[^a-zA-Z_0-9]byte[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3464827032 ac_cv_type_byte=yes
3464927033 else
3465027034 ac_cv_type_byte=no
3465227036 rm -f conftest*
3465327037
3465427038 else
34655 cat >conftest.$ac_ext <<_ACEOF
34656 /* confdefs.h. */
34657 _ACEOF
34658 cat confdefs.h >>conftest.$ac_ext
34659 cat >>conftest.$ac_ext <<_ACEOF
27039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466027040 /* end confdefs.h. */
3466127041
3466227042 #include <sys/types.h>
3466727047
3466827048 _ACEOF
3466927049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34670 $EGREP "[^a-zA-Z_0-9]byte[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27050 $EGREP "[^a-zA-Z_0-9]byte[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3467127051 ac_cv_type_byte=yes
3467227052 else
3467327053 ac_cv_type_byte=no
3467727057
3467827058 fi
3467927059 if test $ac_cv_type_byte = no; then
34680 cat >conftest.$ac_ext <<_ACEOF
34681 /* confdefs.h. */
34682 _ACEOF
34683 cat confdefs.h >>conftest.$ac_ext
34684 cat >>conftest.$ac_ext <<_ACEOF
27060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3468527061 /* end confdefs.h. */
3468627062
3468727063 int
3469227068 return 0;
3469327069 }
3469427070 _ACEOF
34695 rm -f conftest.$ac_objext
34696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34697 (eval $ac_compile) 2>conftest.er1
34698 ac_status=$?
34699 grep -v '^ *+' conftest.er1 >conftest.err
34700 rm -f conftest.er1
34701 cat conftest.err >&5
34702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34703 (exit $ac_status); } &&
34704 { ac_try='test -z "$ac_c_werror_flag"
34705 || test ! -s conftest.err'
34706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34707 (eval $ac_try) 2>&5
34708 ac_status=$?
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); }; } &&
34711 { ac_try='test -s conftest.$ac_objext'
34712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34713 (eval $ac_try) 2>&5
34714 ac_status=$?
34715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34716 (exit $ac_status); }; }; then
27071 if ac_fn_c_try_compile "$LINENO"; then :
3471727072 ac_cv_type_byte=yes
3471827073 else
34719 echo "$as_me: failed program was:" >&5
34720 sed 's/^/| /' conftest.$ac_ext >&5
34721
34722 ac_cv_type_byte=no
34723 fi
34724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27074 ac_cv_type_byte=no
27075 fi
27076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3472527077 fi
3472627078
3472727079 fi
3472827080
34729 echo "$as_me:$LINENO: result: $ac_cv_type_byte" >&5
34730 echo "${ECHO_T}$ac_cv_type_byte" >&6
27081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_byte" >&5
27082 $as_echo "$ac_cv_type_byte" >&6; }
3473127083 if test $ac_cv_type_byte = no; then
3473227084
34733 cat >>confdefs.h <<\_ACEOF
34734 #define byte signed char
34735 _ACEOF
27085 $as_echo "#define byte signed char" >>confdefs.h
3473627086
3473727087 fi
3473827088
3473927089
34740 echo "$as_me:$LINENO: checking for ubyte" >&5
34741 echo $ECHO_N "checking for ubyte... $ECHO_C" >&6
34742 if test "${ac_cv_type_ubyte+set}" = set; then
34743 echo $ECHO_N "(cached) $ECHO_C" >&6
27090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ubyte" >&5
27091 $as_echo_n "checking for ubyte... " >&6; }
27092 if ${ac_cv_type_ubyte+:} false; then :
27093 $as_echo_n "(cached) " >&6
3474427094 else
3474527095
3474627096 if test "$ac_cv_header_windows_h" = "yes" ; then
34747 cat >conftest.$ac_ext <<_ACEOF
34748 /* confdefs.h. */
34749 _ACEOF
34750 cat confdefs.h >>conftest.$ac_ext
34751 cat >>conftest.$ac_ext <<_ACEOF
27097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3475227098 /* end confdefs.h. */
3475327099
3475427100 #include <sys/types.h>
3476027106
3476127107 _ACEOF
3476227108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34763 $EGREP "[^a-zA-Z_0-9]ubyte[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27109 $EGREP "[^a-zA-Z_0-9]ubyte[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3476427110 ac_cv_type_ubyte=yes
3476527111 else
3476627112 ac_cv_type_ubyte=no
3476827114 rm -f conftest*
3476927115
3477027116 else
34771 cat >conftest.$ac_ext <<_ACEOF
34772 /* confdefs.h. */
34773 _ACEOF
34774 cat confdefs.h >>conftest.$ac_ext
34775 cat >>conftest.$ac_ext <<_ACEOF
27117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3477627118 /* end confdefs.h. */
3477727119
3477827120 #include <sys/types.h>
3478327125
3478427126 _ACEOF
3478527127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34786 $EGREP "[^a-zA-Z_0-9]ubyte[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27128 $EGREP "[^a-zA-Z_0-9]ubyte[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3478727129 ac_cv_type_ubyte=yes
3478827130 else
3478927131 ac_cv_type_ubyte=no
3479327135
3479427136 fi
3479527137 if test $ac_cv_type_ubyte = no; then
34796 cat >conftest.$ac_ext <<_ACEOF
34797 /* confdefs.h. */
34798 _ACEOF
34799 cat confdefs.h >>conftest.$ac_ext
34800 cat >>conftest.$ac_ext <<_ACEOF
27138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480127139 /* end confdefs.h. */
3480227140
3480327141 int
3480827146 return 0;
3480927147 }
3481027148 _ACEOF
34811 rm -f conftest.$ac_objext
34812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34813 (eval $ac_compile) 2>conftest.er1
34814 ac_status=$?
34815 grep -v '^ *+' conftest.er1 >conftest.err
34816 rm -f conftest.er1
34817 cat conftest.err >&5
34818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34819 (exit $ac_status); } &&
34820 { ac_try='test -z "$ac_c_werror_flag"
34821 || test ! -s conftest.err'
34822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34823 (eval $ac_try) 2>&5
34824 ac_status=$?
34825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34826 (exit $ac_status); }; } &&
34827 { ac_try='test -s conftest.$ac_objext'
34828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34829 (eval $ac_try) 2>&5
34830 ac_status=$?
34831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34832 (exit $ac_status); }; }; then
27149 if ac_fn_c_try_compile "$LINENO"; then :
3483327150 ac_cv_type_ubyte=yes
3483427151 else
34835 echo "$as_me: failed program was:" >&5
34836 sed 's/^/| /' conftest.$ac_ext >&5
34837
34838 ac_cv_type_ubyte=no
34839 fi
34840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27152 ac_cv_type_ubyte=no
27153 fi
27154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3484127155 fi
3484227156
3484327157 fi
3484427158
34845 echo "$as_me:$LINENO: result: $ac_cv_type_ubyte" >&5
34846 echo "${ECHO_T}$ac_cv_type_ubyte" >&6
27159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_ubyte" >&5
27160 $as_echo "$ac_cv_type_ubyte" >&6; }
3484727161 if test $ac_cv_type_ubyte = no; then
3484827162
34849 cat >>confdefs.h <<\_ACEOF
34850 #define ubyte unsigned char
34851 _ACEOF
27163 $as_echo "#define ubyte unsigned char" >>confdefs.h
3485227164
3485327165 fi
3485427166
3485527167
34856 echo "$as_me:$LINENO: checking for short" >&5
34857 echo $ECHO_N "checking for short... $ECHO_C" >&6
34858 if test "${ac_cv_type_short+set}" = set; then
34859 echo $ECHO_N "(cached) $ECHO_C" >&6
27168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for short" >&5
27169 $as_echo_n "checking for short... " >&6; }
27170 if ${ac_cv_type_short+:} false; then :
27171 $as_echo_n "(cached) " >&6
3486027172 else
3486127173
3486227174 if test "$ac_cv_header_windows_h" = "yes" ; then
34863 cat >conftest.$ac_ext <<_ACEOF
34864 /* confdefs.h. */
34865 _ACEOF
34866 cat confdefs.h >>conftest.$ac_ext
34867 cat >>conftest.$ac_ext <<_ACEOF
27175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3486827176 /* end confdefs.h. */
3486927177
3487027178 #include <sys/types.h>
3487627184
3487727185 _ACEOF
3487827186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34879 $EGREP "[^a-zA-Z_0-9]short[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27187 $EGREP "[^a-zA-Z_0-9]short[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3488027188 ac_cv_type_short=yes
3488127189 else
3488227190 ac_cv_type_short=no
3488427192 rm -f conftest*
3488527193
3488627194 else
34887 cat >conftest.$ac_ext <<_ACEOF
34888 /* confdefs.h. */
34889 _ACEOF
34890 cat confdefs.h >>conftest.$ac_ext
34891 cat >>conftest.$ac_ext <<_ACEOF
27195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489227196 /* end confdefs.h. */
3489327197
3489427198 #include <sys/types.h>
3489927203
3490027204 _ACEOF
3490127205 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34902 $EGREP "[^a-zA-Z_0-9]short[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27206 $EGREP "[^a-zA-Z_0-9]short[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3490327207 ac_cv_type_short=yes
3490427208 else
3490527209 ac_cv_type_short=no
3490927213
3491027214 fi
3491127215 if test $ac_cv_type_short = no; then
34912 cat >conftest.$ac_ext <<_ACEOF
34913 /* confdefs.h. */
34914 _ACEOF
34915 cat confdefs.h >>conftest.$ac_ext
34916 cat >>conftest.$ac_ext <<_ACEOF
27216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491727217 /* end confdefs.h. */
3491827218
3491927219 int
3492427224 return 0;
3492527225 }
3492627226 _ACEOF
34927 rm -f conftest.$ac_objext
34928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34929 (eval $ac_compile) 2>conftest.er1
34930 ac_status=$?
34931 grep -v '^ *+' conftest.er1 >conftest.err
34932 rm -f conftest.er1
34933 cat conftest.err >&5
34934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34935 (exit $ac_status); } &&
34936 { ac_try='test -z "$ac_c_werror_flag"
34937 || test ! -s conftest.err'
34938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34939 (eval $ac_try) 2>&5
34940 ac_status=$?
34941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34942 (exit $ac_status); }; } &&
34943 { ac_try='test -s conftest.$ac_objext'
34944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34945 (eval $ac_try) 2>&5
34946 ac_status=$?
34947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34948 (exit $ac_status); }; }; then
27227 if ac_fn_c_try_compile "$LINENO"; then :
3494927228 ac_cv_type_short=yes
3495027229 else
34951 echo "$as_me: failed program was:" >&5
34952 sed 's/^/| /' conftest.$ac_ext >&5
34953
34954 ac_cv_type_short=no
34955 fi
34956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27230 ac_cv_type_short=no
27231 fi
27232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3495727233 fi
3495827234
3495927235 fi
3496027236
34961 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
34962 echo "${ECHO_T}$ac_cv_type_short" >&6
27237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_short" >&5
27238 $as_echo "$ac_cv_type_short" >&6; }
3496327239 if test $ac_cv_type_short = no; then
3496427240
34965 cat >>confdefs.h <<\_ACEOF
34966 #define short short
34967 _ACEOF
27241 $as_echo "#define short short" >>confdefs.h
3496827242
3496927243 fi
3497027244
3497127245
34972 echo "$as_me:$LINENO: checking for ushort" >&5
34973 echo $ECHO_N "checking for ushort... $ECHO_C" >&6
34974 if test "${ac_cv_type_ushort+set}" = set; then
34975 echo $ECHO_N "(cached) $ECHO_C" >&6
27246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ushort" >&5
27247 $as_echo_n "checking for ushort... " >&6; }
27248 if ${ac_cv_type_ushort+:} false; then :
27249 $as_echo_n "(cached) " >&6
3497627250 else
3497727251
3497827252 if test "$ac_cv_header_windows_h" = "yes" ; then
34979 cat >conftest.$ac_ext <<_ACEOF
34980 /* confdefs.h. */
34981 _ACEOF
34982 cat confdefs.h >>conftest.$ac_ext
34983 cat >>conftest.$ac_ext <<_ACEOF
27253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498427254 /* end confdefs.h. */
3498527255
3498627256 #include <sys/types.h>
3499227262
3499327263 _ACEOF
3499427264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34995 $EGREP "[^a-zA-Z_0-9]ushort[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27265 $EGREP "[^a-zA-Z_0-9]ushort[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3499627266 ac_cv_type_ushort=yes
3499727267 else
3499827268 ac_cv_type_ushort=no
3500027270 rm -f conftest*
3500127271
3500227272 else
35003 cat >conftest.$ac_ext <<_ACEOF
35004 /* confdefs.h. */
35005 _ACEOF
35006 cat confdefs.h >>conftest.$ac_ext
35007 cat >>conftest.$ac_ext <<_ACEOF
27273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3500827274 /* end confdefs.h. */
3500927275
3501027276 #include <sys/types.h>
3501527281
3501627282 _ACEOF
3501727283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35018 $EGREP "[^a-zA-Z_0-9]ushort[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27284 $EGREP "[^a-zA-Z_0-9]ushort[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3501927285 ac_cv_type_ushort=yes
3502027286 else
3502127287 ac_cv_type_ushort=no
3502527291
3502627292 fi
3502727293 if test $ac_cv_type_ushort = no; then
35028 cat >conftest.$ac_ext <<_ACEOF
35029 /* confdefs.h. */
35030 _ACEOF
35031 cat confdefs.h >>conftest.$ac_ext
35032 cat >>conftest.$ac_ext <<_ACEOF
27294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3503327295 /* end confdefs.h. */
3503427296
3503527297 int
3504027302 return 0;
3504127303 }
3504227304 _ACEOF
35043 rm -f conftest.$ac_objext
35044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35045 (eval $ac_compile) 2>conftest.er1
35046 ac_status=$?
35047 grep -v '^ *+' conftest.er1 >conftest.err
35048 rm -f conftest.er1
35049 cat conftest.err >&5
35050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35051 (exit $ac_status); } &&
35052 { ac_try='test -z "$ac_c_werror_flag"
35053 || test ! -s conftest.err'
35054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35055 (eval $ac_try) 2>&5
35056 ac_status=$?
35057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35058 (exit $ac_status); }; } &&
35059 { ac_try='test -s conftest.$ac_objext'
35060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35061 (eval $ac_try) 2>&5
35062 ac_status=$?
35063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35064 (exit $ac_status); }; }; then
27305 if ac_fn_c_try_compile "$LINENO"; then :
3506527306 ac_cv_type_ushort=yes
3506627307 else
35067 echo "$as_me: failed program was:" >&5
35068 sed 's/^/| /' conftest.$ac_ext >&5
35069
35070 ac_cv_type_ushort=no
35071 fi
35072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27308 ac_cv_type_ushort=no
27309 fi
27310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3507327311 fi
3507427312
3507527313 fi
3507627314
35077 echo "$as_me:$LINENO: result: $ac_cv_type_ushort" >&5
35078 echo "${ECHO_T}$ac_cv_type_ushort" >&6
27315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_ushort" >&5
27316 $as_echo "$ac_cv_type_ushort" >&6; }
3507927317 if test $ac_cv_type_ushort = no; then
3508027318
35081 cat >>confdefs.h <<\_ACEOF
35082 #define ushort unsigned short
35083 _ACEOF
27319 $as_echo "#define ushort unsigned short" >>confdefs.h
3508427320
3508527321 fi
3508627322
3508727323
35088 echo "$as_me:$LINENO: checking for ulong" >&5
35089 echo $ECHO_N "checking for ulong... $ECHO_C" >&6
35090 if test "${ac_cv_type_ulong+set}" = set; then
35091 echo $ECHO_N "(cached) $ECHO_C" >&6
27324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ulong" >&5
27325 $as_echo_n "checking for ulong... " >&6; }
27326 if ${ac_cv_type_ulong+:} false; then :
27327 $as_echo_n "(cached) " >&6
3509227328 else
3509327329
3509427330 if test "$ac_cv_header_windows_h" = "yes" ; then
35095 cat >conftest.$ac_ext <<_ACEOF
35096 /* confdefs.h. */
35097 _ACEOF
35098 cat confdefs.h >>conftest.$ac_ext
35099 cat >>conftest.$ac_ext <<_ACEOF
27331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3510027332 /* end confdefs.h. */
3510127333
3510227334 #include <sys/types.h>
3510827340
3510927341 _ACEOF
3511027342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35111 $EGREP "[^a-zA-Z_0-9]ulong[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27343 $EGREP "[^a-zA-Z_0-9]ulong[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3511227344 ac_cv_type_ulong=yes
3511327345 else
3511427346 ac_cv_type_ulong=no
3511627348 rm -f conftest*
3511727349
3511827350 else
35119 cat >conftest.$ac_ext <<_ACEOF
35120 /* confdefs.h. */
35121 _ACEOF
35122 cat confdefs.h >>conftest.$ac_ext
35123 cat >>conftest.$ac_ext <<_ACEOF
27351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3512427352 /* end confdefs.h. */
3512527353
3512627354 #include <sys/types.h>
3513127359
3513227360 _ACEOF
3513327361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35134 $EGREP "[^a-zA-Z_0-9]ulong[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27362 $EGREP "[^a-zA-Z_0-9]ulong[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3513527363 ac_cv_type_ulong=yes
3513627364 else
3513727365 ac_cv_type_ulong=no
3514127369
3514227370 fi
3514327371 if test $ac_cv_type_ulong = no; then
35144 cat >conftest.$ac_ext <<_ACEOF
35145 /* confdefs.h. */
35146 _ACEOF
35147 cat confdefs.h >>conftest.$ac_ext
35148 cat >>conftest.$ac_ext <<_ACEOF
27372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514927373 /* end confdefs.h. */
3515027374
3515127375 int
3515627380 return 0;
3515727381 }
3515827382 _ACEOF
35159 rm -f conftest.$ac_objext
35160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35161 (eval $ac_compile) 2>conftest.er1
35162 ac_status=$?
35163 grep -v '^ *+' conftest.er1 >conftest.err
35164 rm -f conftest.er1
35165 cat conftest.err >&5
35166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35167 (exit $ac_status); } &&
35168 { ac_try='test -z "$ac_c_werror_flag"
35169 || test ! -s conftest.err'
35170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35171 (eval $ac_try) 2>&5
35172 ac_status=$?
35173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35174 (exit $ac_status); }; } &&
35175 { ac_try='test -s conftest.$ac_objext'
35176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35177 (eval $ac_try) 2>&5
35178 ac_status=$?
35179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35180 (exit $ac_status); }; }; then
27383 if ac_fn_c_try_compile "$LINENO"; then :
3518127384 ac_cv_type_ulong=yes
3518227385 else
35183 echo "$as_me: failed program was:" >&5
35184 sed 's/^/| /' conftest.$ac_ext >&5
35185
35186 ac_cv_type_ulong=no
35187 fi
35188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27386 ac_cv_type_ulong=no
27387 fi
27388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3518927389 fi
3519027390
3519127391 fi
3519227392
35193 echo "$as_me:$LINENO: result: $ac_cv_type_ulong" >&5
35194 echo "${ECHO_T}$ac_cv_type_ulong" >&6
27393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_ulong" >&5
27394 $as_echo "$ac_cv_type_ulong" >&6; }
3519527395 if test $ac_cv_type_ulong = no; then
3519627396
35197 cat >>confdefs.h <<\_ACEOF
35198 #define ulong unsigned long
35199 _ACEOF
27397 $as_echo "#define ulong unsigned long" >>confdefs.h
3520027398
3520127399 fi
3520227400
3520327401
35204 echo "$as_me:$LINENO: checking for int8" >&5
35205 echo $ECHO_N "checking for int8... $ECHO_C" >&6
35206 if test "${ac_cv_type_int8+set}" = set; then
35207 echo $ECHO_N "(cached) $ECHO_C" >&6
27402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int8" >&5
27403 $as_echo_n "checking for int8... " >&6; }
27404 if ${ac_cv_type_int8+:} false; then :
27405 $as_echo_n "(cached) " >&6
3520827406 else
3520927407
3521027408 if test "$ac_cv_header_windows_h" = "yes" ; then
35211 cat >conftest.$ac_ext <<_ACEOF
35212 /* confdefs.h. */
35213 _ACEOF
35214 cat confdefs.h >>conftest.$ac_ext
35215 cat >>conftest.$ac_ext <<_ACEOF
27409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3521627410 /* end confdefs.h. */
3521727411
3521827412 #include <sys/types.h>
3522427418
3522527419 _ACEOF
3522627420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35227 $EGREP "[^a-zA-Z_0-9]int8[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27421 $EGREP "[^a-zA-Z_0-9]int8[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3522827422 ac_cv_type_int8=yes
3522927423 else
3523027424 ac_cv_type_int8=no
3523227426 rm -f conftest*
3523327427
3523427428 else
35235 cat >conftest.$ac_ext <<_ACEOF
35236 /* confdefs.h. */
35237 _ACEOF
35238 cat confdefs.h >>conftest.$ac_ext
35239 cat >>conftest.$ac_ext <<_ACEOF
27429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3524027430 /* end confdefs.h. */
3524127431
3524227432 #include <sys/types.h>
3524727437
3524827438 _ACEOF
3524927439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35250 $EGREP "[^a-zA-Z_0-9]int8[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27440 $EGREP "[^a-zA-Z_0-9]int8[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3525127441 ac_cv_type_int8=yes
3525227442 else
3525327443 ac_cv_type_int8=no
3525727447
3525827448 fi
3525927449 if test $ac_cv_type_int8 = no; then
35260 cat >conftest.$ac_ext <<_ACEOF
35261 /* confdefs.h. */
35262 _ACEOF
35263 cat confdefs.h >>conftest.$ac_ext
35264 cat >>conftest.$ac_ext <<_ACEOF
27450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3526527451 /* end confdefs.h. */
3526627452
3526727453 int
3527227458 return 0;
3527327459 }
3527427460 _ACEOF
35275 rm -f conftest.$ac_objext
35276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35277 (eval $ac_compile) 2>conftest.er1
35278 ac_status=$?
35279 grep -v '^ *+' conftest.er1 >conftest.err
35280 rm -f conftest.er1
35281 cat conftest.err >&5
35282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35283 (exit $ac_status); } &&
35284 { ac_try='test -z "$ac_c_werror_flag"
35285 || test ! -s conftest.err'
35286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35287 (eval $ac_try) 2>&5
35288 ac_status=$?
35289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35290 (exit $ac_status); }; } &&
35291 { ac_try='test -s conftest.$ac_objext'
35292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35293 (eval $ac_try) 2>&5
35294 ac_status=$?
35295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35296 (exit $ac_status); }; }; then
27461 if ac_fn_c_try_compile "$LINENO"; then :
3529727462 ac_cv_type_int8=yes
3529827463 else
35299 echo "$as_me: failed program was:" >&5
35300 sed 's/^/| /' conftest.$ac_ext >&5
35301
35302 ac_cv_type_int8=no
35303 fi
35304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27464 ac_cv_type_int8=no
27465 fi
27466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3530527467 fi
3530627468
3530727469 fi
3530827470
35309 echo "$as_me:$LINENO: result: $ac_cv_type_int8" >&5
35310 echo "${ECHO_T}$ac_cv_type_int8" >&6
27471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_int8" >&5
27472 $as_echo "$ac_cv_type_int8" >&6; }
3531127473 if test $ac_cv_type_int8 = no; then
3531227474
35313 cat >>confdefs.h <<\_ACEOF
35314 #define int8 char
35315 _ACEOF
27475 $as_echo "#define int8 char" >>confdefs.h
3531627476
3531727477 fi
3531827478
3531927479
35320 echo "$as_me:$LINENO: checking for uint8" >&5
35321 echo $ECHO_N "checking for uint8... $ECHO_C" >&6
35322 if test "${ac_cv_type_uint8+set}" = set; then
35323 echo $ECHO_N "(cached) $ECHO_C" >&6
27480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint8" >&5
27481 $as_echo_n "checking for uint8... " >&6; }
27482 if ${ac_cv_type_uint8+:} false; then :
27483 $as_echo_n "(cached) " >&6
3532427484 else
3532527485
3532627486 if test "$ac_cv_header_windows_h" = "yes" ; then
35327 cat >conftest.$ac_ext <<_ACEOF
35328 /* confdefs.h. */
35329 _ACEOF
35330 cat confdefs.h >>conftest.$ac_ext
35331 cat >>conftest.$ac_ext <<_ACEOF
27487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3533227488 /* end confdefs.h. */
3533327489
3533427490 #include <sys/types.h>
3534027496
3534127497 _ACEOF
3534227498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35343 $EGREP "[^a-zA-Z_0-9]uint8[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27499 $EGREP "[^a-zA-Z_0-9]uint8[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3534427500 ac_cv_type_uint8=yes
3534527501 else
3534627502 ac_cv_type_uint8=no
3534827504 rm -f conftest*
3534927505
3535027506 else
35351 cat >conftest.$ac_ext <<_ACEOF
35352 /* confdefs.h. */
35353 _ACEOF
35354 cat confdefs.h >>conftest.$ac_ext
35355 cat >>conftest.$ac_ext <<_ACEOF
27507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3535627508 /* end confdefs.h. */
3535727509
3535827510 #include <sys/types.h>
3536327515
3536427516 _ACEOF
3536527517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35366 $EGREP "[^a-zA-Z_0-9]uint8[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27518 $EGREP "[^a-zA-Z_0-9]uint8[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3536727519 ac_cv_type_uint8=yes
3536827520 else
3536927521 ac_cv_type_uint8=no
3537327525
3537427526 fi
3537527527 if test $ac_cv_type_uint8 = no; then
35376 cat >conftest.$ac_ext <<_ACEOF
35377 /* confdefs.h. */
35378 _ACEOF
35379 cat confdefs.h >>conftest.$ac_ext
35380 cat >>conftest.$ac_ext <<_ACEOF
27528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3538127529 /* end confdefs.h. */
3538227530
3538327531 int
3538827536 return 0;
3538927537 }
3539027538 _ACEOF
35391 rm -f conftest.$ac_objext
35392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35393 (eval $ac_compile) 2>conftest.er1
35394 ac_status=$?
35395 grep -v '^ *+' conftest.er1 >conftest.err
35396 rm -f conftest.er1
35397 cat conftest.err >&5
35398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35399 (exit $ac_status); } &&
35400 { ac_try='test -z "$ac_c_werror_flag"
35401 || test ! -s conftest.err'
35402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35403 (eval $ac_try) 2>&5
35404 ac_status=$?
35405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35406 (exit $ac_status); }; } &&
35407 { ac_try='test -s conftest.$ac_objext'
35408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35409 (eval $ac_try) 2>&5
35410 ac_status=$?
35411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35412 (exit $ac_status); }; }; then
27539 if ac_fn_c_try_compile "$LINENO"; then :
3541327540 ac_cv_type_uint8=yes
3541427541 else
35415 echo "$as_me: failed program was:" >&5
35416 sed 's/^/| /' conftest.$ac_ext >&5
35417
35418 ac_cv_type_uint8=no
35419 fi
35420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27542 ac_cv_type_uint8=no
27543 fi
27544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3542127545 fi
3542227546
3542327547 fi
3542427548
35425 echo "$as_me:$LINENO: result: $ac_cv_type_uint8" >&5
35426 echo "${ECHO_T}$ac_cv_type_uint8" >&6
27549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uint8" >&5
27550 $as_echo "$ac_cv_type_uint8" >&6; }
3542727551 if test $ac_cv_type_uint8 = no; then
3542827552
35429 cat >>confdefs.h <<\_ACEOF
35430 #define uint8 unsigned char
35431 _ACEOF
27553 $as_echo "#define uint8 unsigned char" >>confdefs.h
3543227554
3543327555 fi
3543427556
3543527557
35436 echo "$as_me:$LINENO: checking for int16" >&5
35437 echo $ECHO_N "checking for int16... $ECHO_C" >&6
35438 if test "${ac_cv_type_int16+set}" = set; then
35439 echo $ECHO_N "(cached) $ECHO_C" >&6
27558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int16" >&5
27559 $as_echo_n "checking for int16... " >&6; }
27560 if ${ac_cv_type_int16+:} false; then :
27561 $as_echo_n "(cached) " >&6
3544027562 else
3544127563
3544227564 if test "$ac_cv_header_windows_h" = "yes" ; then
35443 cat >conftest.$ac_ext <<_ACEOF
35444 /* confdefs.h. */
35445 _ACEOF
35446 cat confdefs.h >>conftest.$ac_ext
35447 cat >>conftest.$ac_ext <<_ACEOF
27565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3544827566 /* end confdefs.h. */
3544927567
3545027568 #include <sys/types.h>
3545627574
3545727575 _ACEOF
3545827576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35459 $EGREP "[^a-zA-Z_0-9]int16[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27577 $EGREP "[^a-zA-Z_0-9]int16[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3546027578 ac_cv_type_int16=yes
3546127579 else
3546227580 ac_cv_type_int16=no
3546427582 rm -f conftest*
3546527583
3546627584 else
35467 cat >conftest.$ac_ext <<_ACEOF
35468 /* confdefs.h. */
35469 _ACEOF
35470 cat confdefs.h >>conftest.$ac_ext
35471 cat >>conftest.$ac_ext <<_ACEOF
27585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3547227586 /* end confdefs.h. */
3547327587
3547427588 #include <sys/types.h>
3547927593
3548027594 _ACEOF
3548127595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35482 $EGREP "[^a-zA-Z_0-9]int16[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27596 $EGREP "[^a-zA-Z_0-9]int16[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3548327597 ac_cv_type_int16=yes
3548427598 else
3548527599 ac_cv_type_int16=no
3548927603
3549027604 fi
3549127605 if test $ac_cv_type_int16 = no; then
35492 cat >conftest.$ac_ext <<_ACEOF
35493 /* confdefs.h. */
35494 _ACEOF
35495 cat confdefs.h >>conftest.$ac_ext
35496 cat >>conftest.$ac_ext <<_ACEOF
27606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549727607 /* end confdefs.h. */
3549827608
3549927609 int
3550427614 return 0;
3550527615 }
3550627616 _ACEOF
35507 rm -f conftest.$ac_objext
35508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35509 (eval $ac_compile) 2>conftest.er1
35510 ac_status=$?
35511 grep -v '^ *+' conftest.er1 >conftest.err
35512 rm -f conftest.er1
35513 cat conftest.err >&5
35514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35515 (exit $ac_status); } &&
35516 { ac_try='test -z "$ac_c_werror_flag"
35517 || test ! -s conftest.err'
35518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35519 (eval $ac_try) 2>&5
35520 ac_status=$?
35521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522 (exit $ac_status); }; } &&
35523 { ac_try='test -s conftest.$ac_objext'
35524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35525 (eval $ac_try) 2>&5
35526 ac_status=$?
35527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35528 (exit $ac_status); }; }; then
27617 if ac_fn_c_try_compile "$LINENO"; then :
3552927618 ac_cv_type_int16=yes
3553027619 else
35531 echo "$as_me: failed program was:" >&5
35532 sed 's/^/| /' conftest.$ac_ext >&5
35533
35534 ac_cv_type_int16=no
35535 fi
35536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27620 ac_cv_type_int16=no
27621 fi
27622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3553727623 fi
3553827624
3553927625 fi
3554027626
35541 echo "$as_me:$LINENO: result: $ac_cv_type_int16" >&5
35542 echo "${ECHO_T}$ac_cv_type_int16" >&6
27627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_int16" >&5
27628 $as_echo "$ac_cv_type_int16" >&6; }
3554327629 if test $ac_cv_type_int16 = no; then
3554427630
35545 cat >>confdefs.h <<\_ACEOF
35546 #define int16 short
35547 _ACEOF
27631 $as_echo "#define int16 short" >>confdefs.h
3554827632
3554927633 fi
3555027634
3555127635
35552 echo "$as_me:$LINENO: checking for uint16" >&5
35553 echo $ECHO_N "checking for uint16... $ECHO_C" >&6
35554 if test "${ac_cv_type_uint16+set}" = set; then
35555 echo $ECHO_N "(cached) $ECHO_C" >&6
27636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint16" >&5
27637 $as_echo_n "checking for uint16... " >&6; }
27638 if ${ac_cv_type_uint16+:} false; then :
27639 $as_echo_n "(cached) " >&6
3555627640 else
3555727641
3555827642 if test "$ac_cv_header_windows_h" = "yes" ; then
35559 cat >conftest.$ac_ext <<_ACEOF
35560 /* confdefs.h. */
35561 _ACEOF
35562 cat confdefs.h >>conftest.$ac_ext
35563 cat >>conftest.$ac_ext <<_ACEOF
27643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3556427644 /* end confdefs.h. */
3556527645
3556627646 #include <sys/types.h>
3557227652
3557327653 _ACEOF
3557427654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35575 $EGREP "[^a-zA-Z_0-9]uint16[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27655 $EGREP "[^a-zA-Z_0-9]uint16[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3557627656 ac_cv_type_uint16=yes
3557727657 else
3557827658 ac_cv_type_uint16=no
3558027660 rm -f conftest*
3558127661
3558227662 else
35583 cat >conftest.$ac_ext <<_ACEOF
35584 /* confdefs.h. */
35585 _ACEOF
35586 cat confdefs.h >>conftest.$ac_ext
35587 cat >>conftest.$ac_ext <<_ACEOF
27663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558827664 /* end confdefs.h. */
3558927665
3559027666 #include <sys/types.h>
3559527671
3559627672 _ACEOF
3559727673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35598 $EGREP "[^a-zA-Z_0-9]uint16[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27674 $EGREP "[^a-zA-Z_0-9]uint16[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3559927675 ac_cv_type_uint16=yes
3560027676 else
3560127677 ac_cv_type_uint16=no
3560527681
3560627682 fi
3560727683 if test $ac_cv_type_uint16 = no; then
35608 cat >conftest.$ac_ext <<_ACEOF
35609 /* confdefs.h. */
35610 _ACEOF
35611 cat confdefs.h >>conftest.$ac_ext
35612 cat >>conftest.$ac_ext <<_ACEOF
27684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3561327685 /* end confdefs.h. */
3561427686
3561527687 int
3562027692 return 0;
3562127693 }
3562227694 _ACEOF
35623 rm -f conftest.$ac_objext
35624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35625 (eval $ac_compile) 2>conftest.er1
35626 ac_status=$?
35627 grep -v '^ *+' conftest.er1 >conftest.err
35628 rm -f conftest.er1
35629 cat conftest.err >&5
35630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35631 (exit $ac_status); } &&
35632 { ac_try='test -z "$ac_c_werror_flag"
35633 || test ! -s conftest.err'
35634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35635 (eval $ac_try) 2>&5
35636 ac_status=$?
35637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35638 (exit $ac_status); }; } &&
35639 { ac_try='test -s conftest.$ac_objext'
35640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35641 (eval $ac_try) 2>&5
35642 ac_status=$?
35643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35644 (exit $ac_status); }; }; then
27695 if ac_fn_c_try_compile "$LINENO"; then :
3564527696 ac_cv_type_uint16=yes
3564627697 else
35647 echo "$as_me: failed program was:" >&5
35648 sed 's/^/| /' conftest.$ac_ext >&5
35649
35650 ac_cv_type_uint16=no
35651 fi
35652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27698 ac_cv_type_uint16=no
27699 fi
27700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3565327701 fi
3565427702
3565527703 fi
3565627704
35657 echo "$as_me:$LINENO: result: $ac_cv_type_uint16" >&5
35658 echo "${ECHO_T}$ac_cv_type_uint16" >&6
27705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uint16" >&5
27706 $as_echo "$ac_cv_type_uint16" >&6; }
3565927707 if test $ac_cv_type_uint16 = no; then
3566027708
35661 cat >>confdefs.h <<\_ACEOF
35662 #define uint16 unsigned short
35663 _ACEOF
27709 $as_echo "#define uint16 unsigned short" >>confdefs.h
3566427710
3566527711 fi
3566627712
3566727713
35668 echo "$as_me:$LINENO: checking for int32" >&5
35669 echo $ECHO_N "checking for int32... $ECHO_C" >&6
35670 if test "${ac_cv_type_int32+set}" = set; then
35671 echo $ECHO_N "(cached) $ECHO_C" >&6
27714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int32" >&5
27715 $as_echo_n "checking for int32... " >&6; }
27716 if ${ac_cv_type_int32+:} false; then :
27717 $as_echo_n "(cached) " >&6
3567227718 else
3567327719
3567427720 if test "$ac_cv_header_windows_h" = "yes" ; then
35675 cat >conftest.$ac_ext <<_ACEOF
35676 /* confdefs.h. */
35677 _ACEOF
35678 cat confdefs.h >>conftest.$ac_ext
35679 cat >>conftest.$ac_ext <<_ACEOF
27721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3568027722 /* end confdefs.h. */
3568127723
3568227724 #include <sys/types.h>
3568827730
3568927731 _ACEOF
3569027732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35691 $EGREP "[^a-zA-Z_0-9]int32[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27733 $EGREP "[^a-zA-Z_0-9]int32[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3569227734 ac_cv_type_int32=yes
3569327735 else
3569427736 ac_cv_type_int32=no
3569627738 rm -f conftest*
3569727739
3569827740 else
35699 cat >conftest.$ac_ext <<_ACEOF
35700 /* confdefs.h. */
35701 _ACEOF
35702 cat confdefs.h >>conftest.$ac_ext
35703 cat >>conftest.$ac_ext <<_ACEOF
27741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570427742 /* end confdefs.h. */
3570527743
3570627744 #include <sys/types.h>
3571127749
3571227750 _ACEOF
3571327751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35714 $EGREP "[^a-zA-Z_0-9]int32[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27752 $EGREP "[^a-zA-Z_0-9]int32[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3571527753 ac_cv_type_int32=yes
3571627754 else
3571727755 ac_cv_type_int32=no
3572127759
3572227760 fi
3572327761 if test $ac_cv_type_int32 = no; then
35724 cat >conftest.$ac_ext <<_ACEOF
35725 /* confdefs.h. */
35726 _ACEOF
35727 cat confdefs.h >>conftest.$ac_ext
35728 cat >>conftest.$ac_ext <<_ACEOF
27762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3572927763 /* end confdefs.h. */
3573027764
3573127765 int
3573627770 return 0;
3573727771 }
3573827772 _ACEOF
35739 rm -f conftest.$ac_objext
35740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35741 (eval $ac_compile) 2>conftest.er1
35742 ac_status=$?
35743 grep -v '^ *+' conftest.er1 >conftest.err
35744 rm -f conftest.er1
35745 cat conftest.err >&5
35746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35747 (exit $ac_status); } &&
35748 { ac_try='test -z "$ac_c_werror_flag"
35749 || test ! -s conftest.err'
35750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35751 (eval $ac_try) 2>&5
35752 ac_status=$?
35753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35754 (exit $ac_status); }; } &&
35755 { ac_try='test -s conftest.$ac_objext'
35756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35757 (eval $ac_try) 2>&5
35758 ac_status=$?
35759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35760 (exit $ac_status); }; }; then
27773 if ac_fn_c_try_compile "$LINENO"; then :
3576127774 ac_cv_type_int32=yes
3576227775 else
35763 echo "$as_me: failed program was:" >&5
35764 sed 's/^/| /' conftest.$ac_ext >&5
35765
35766 ac_cv_type_int32=no
35767 fi
35768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27776 ac_cv_type_int32=no
27777 fi
27778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3576927779 fi
3577027780
3577127781 fi
3577227782
35773 echo "$as_me:$LINENO: result: $ac_cv_type_int32" >&5
35774 echo "${ECHO_T}$ac_cv_type_int32" >&6
27783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_int32" >&5
27784 $as_echo "$ac_cv_type_int32" >&6; }
3577527785 if test $ac_cv_type_int32 = no; then
3577627786
35777 cat >>confdefs.h <<\_ACEOF
35778 #define int32 int
35779 _ACEOF
27787 $as_echo "#define int32 int" >>confdefs.h
3578027788
3578127789 fi
3578227790
3578327791
35784 echo "$as_me:$LINENO: checking for uint32" >&5
35785 echo $ECHO_N "checking for uint32... $ECHO_C" >&6
35786 if test "${ac_cv_type_uint32+set}" = set; then
35787 echo $ECHO_N "(cached) $ECHO_C" >&6
27792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint32" >&5
27793 $as_echo_n "checking for uint32... " >&6; }
27794 if ${ac_cv_type_uint32+:} false; then :
27795 $as_echo_n "(cached) " >&6
3578827796 else
3578927797
3579027798 if test "$ac_cv_header_windows_h" = "yes" ; then
35791 cat >conftest.$ac_ext <<_ACEOF
35792 /* confdefs.h. */
35793 _ACEOF
35794 cat confdefs.h >>conftest.$ac_ext
35795 cat >>conftest.$ac_ext <<_ACEOF
27799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579627800 /* end confdefs.h. */
3579727801
3579827802 #include <sys/types.h>
3580427808
3580527809 _ACEOF
3580627810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35807 $EGREP "[^a-zA-Z_0-9]uint32[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27811 $EGREP "[^a-zA-Z_0-9]uint32[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3580827812 ac_cv_type_uint32=yes
3580927813 else
3581027814 ac_cv_type_uint32=no
3581227816 rm -f conftest*
3581327817
3581427818 else
35815 cat >conftest.$ac_ext <<_ACEOF
35816 /* confdefs.h. */
35817 _ACEOF
35818 cat confdefs.h >>conftest.$ac_ext
35819 cat >>conftest.$ac_ext <<_ACEOF
27819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582027820 /* end confdefs.h. */
3582127821
3582227822 #include <sys/types.h>
3582727827
3582827828 _ACEOF
3582927829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35830 $EGREP "[^a-zA-Z_0-9]uint32[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27830 $EGREP "[^a-zA-Z_0-9]uint32[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3583127831 ac_cv_type_uint32=yes
3583227832 else
3583327833 ac_cv_type_uint32=no
3583727837
3583827838 fi
3583927839 if test $ac_cv_type_uint32 = no; then
35840 cat >conftest.$ac_ext <<_ACEOF
35841 /* confdefs.h. */
35842 _ACEOF
35843 cat confdefs.h >>conftest.$ac_ext
35844 cat >>conftest.$ac_ext <<_ACEOF
27840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584527841 /* end confdefs.h. */
3584627842
3584727843 int
3585227848 return 0;
3585327849 }
3585427850 _ACEOF
35855 rm -f conftest.$ac_objext
35856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35857 (eval $ac_compile) 2>conftest.er1
35858 ac_status=$?
35859 grep -v '^ *+' conftest.er1 >conftest.err
35860 rm -f conftest.er1
35861 cat conftest.err >&5
35862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35863 (exit $ac_status); } &&
35864 { ac_try='test -z "$ac_c_werror_flag"
35865 || test ! -s conftest.err'
35866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35867 (eval $ac_try) 2>&5
35868 ac_status=$?
35869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35870 (exit $ac_status); }; } &&
35871 { ac_try='test -s conftest.$ac_objext'
35872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35873 (eval $ac_try) 2>&5
35874 ac_status=$?
35875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35876 (exit $ac_status); }; }; then
27851 if ac_fn_c_try_compile "$LINENO"; then :
3587727852 ac_cv_type_uint32=yes
3587827853 else
35879 echo "$as_me: failed program was:" >&5
35880 sed 's/^/| /' conftest.$ac_ext >&5
35881
35882 ac_cv_type_uint32=no
35883 fi
35884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27854 ac_cv_type_uint32=no
27855 fi
27856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588527857 fi
3588627858
3588727859 fi
3588827860
35889 echo "$as_me:$LINENO: result: $ac_cv_type_uint32" >&5
35890 echo "${ECHO_T}$ac_cv_type_uint32" >&6
27861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uint32" >&5
27862 $as_echo "$ac_cv_type_uint32" >&6; }
3589127863 if test $ac_cv_type_uint32 = no; then
3589227864
35893 cat >>confdefs.h <<\_ACEOF
35894 #define uint32 unsigned int
35895 _ACEOF
27865 $as_echo "#define uint32 unsigned int" >>confdefs.h
3589627866
3589727867 fi
3589827868
3589927869
35900 echo "$as_me:$LINENO: checking for int64" >&5
35901 echo $ECHO_N "checking for int64... $ECHO_C" >&6
35902 if test "${ac_cv_type_int64+set}" = set; then
35903 echo $ECHO_N "(cached) $ECHO_C" >&6
27870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64" >&5
27871 $as_echo_n "checking for int64... " >&6; }
27872 if ${ac_cv_type_int64+:} false; then :
27873 $as_echo_n "(cached) " >&6
3590427874 else
3590527875
3590627876 if test "$ac_cv_header_windows_h" = "yes" ; then
35907 cat >conftest.$ac_ext <<_ACEOF
35908 /* confdefs.h. */
35909 _ACEOF
35910 cat confdefs.h >>conftest.$ac_ext
35911 cat >>conftest.$ac_ext <<_ACEOF
27877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3591227878 /* end confdefs.h. */
3591327879
3591427880 #include <sys/types.h>
3592027886
3592127887 _ACEOF
3592227888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35923 $EGREP "[^a-zA-Z_0-9]int64[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27889 $EGREP "[^a-zA-Z_0-9]int64[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3592427890 ac_cv_type_int64=yes
3592527891 else
3592627892 ac_cv_type_int64=no
3592827894 rm -f conftest*
3592927895
3593027896 else
35931 cat >conftest.$ac_ext <<_ACEOF
35932 /* confdefs.h. */
35933 _ACEOF
35934 cat confdefs.h >>conftest.$ac_ext
35935 cat >>conftest.$ac_ext <<_ACEOF
27897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3593627898 /* end confdefs.h. */
3593727899
3593827900 #include <sys/types.h>
3594327905
3594427906 _ACEOF
3594527907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35946 $EGREP "[^a-zA-Z_0-9]int64[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27908 $EGREP "[^a-zA-Z_0-9]int64[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3594727909 ac_cv_type_int64=yes
3594827910 else
3594927911 ac_cv_type_int64=no
3595327915
3595427916 fi
3595527917 if test $ac_cv_type_int64 = no; then
35956 cat >conftest.$ac_ext <<_ACEOF
35957 /* confdefs.h. */
35958 _ACEOF
35959 cat confdefs.h >>conftest.$ac_ext
35960 cat >>conftest.$ac_ext <<_ACEOF
27918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3596127919 /* end confdefs.h. */
3596227920
3596327921 int
3596827926 return 0;
3596927927 }
3597027928 _ACEOF
35971 rm -f conftest.$ac_objext
35972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35973 (eval $ac_compile) 2>conftest.er1
35974 ac_status=$?
35975 grep -v '^ *+' conftest.er1 >conftest.err
35976 rm -f conftest.er1
35977 cat conftest.err >&5
35978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35979 (exit $ac_status); } &&
35980 { ac_try='test -z "$ac_c_werror_flag"
35981 || test ! -s conftest.err'
35982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35983 (eval $ac_try) 2>&5
35984 ac_status=$?
35985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35986 (exit $ac_status); }; } &&
35987 { ac_try='test -s conftest.$ac_objext'
35988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35989 (eval $ac_try) 2>&5
35990 ac_status=$?
35991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35992 (exit $ac_status); }; }; then
27929 if ac_fn_c_try_compile "$LINENO"; then :
3599327930 ac_cv_type_int64=yes
3599427931 else
35995 echo "$as_me: failed program was:" >&5
35996 sed 's/^/| /' conftest.$ac_ext >&5
35997
35998 ac_cv_type_int64=no
35999 fi
36000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27932 ac_cv_type_int64=no
27933 fi
27934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3600127935 fi
3600227936
3600327937 fi
3600427938
36005 echo "$as_me:$LINENO: result: $ac_cv_type_int64" >&5
36006 echo "${ECHO_T}$ac_cv_type_int64" >&6
27939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_int64" >&5
27940 $as_echo "$ac_cv_type_int64" >&6; }
3600727941 if test $ac_cv_type_int64 = no; then
3600827942
36009 cat >>confdefs.h <<\_ACEOF
36010 #define int64 long
36011 _ACEOF
27943 $as_echo "#define int64 long" >>confdefs.h
3601227944
3601327945 fi
3601427946
3601527947
36016 echo "$as_me:$LINENO: checking for float64" >&5
36017 echo $ECHO_N "checking for float64... $ECHO_C" >&6
36018 if test "${ac_cv_type_float64+set}" = set; then
36019 echo $ECHO_N "(cached) $ECHO_C" >&6
27948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float64" >&5
27949 $as_echo_n "checking for float64... " >&6; }
27950 if ${ac_cv_type_float64+:} false; then :
27951 $as_echo_n "(cached) " >&6
3602027952 else
3602127953
3602227954 if test "$ac_cv_header_windows_h" = "yes" ; then
36023 cat >conftest.$ac_ext <<_ACEOF
36024 /* confdefs.h. */
36025 _ACEOF
36026 cat confdefs.h >>conftest.$ac_ext
36027 cat >>conftest.$ac_ext <<_ACEOF
27955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3602827956 /* end confdefs.h. */
3602927957
3603027958 #include <sys/types.h>
3603627964
3603727965 _ACEOF
3603827966 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36039 $EGREP "[^a-zA-Z_0-9]float64[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27967 $EGREP "[^a-zA-Z_0-9]float64[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3604027968 ac_cv_type_float64=yes
3604127969 else
3604227970 ac_cv_type_float64=no
3604427972 rm -f conftest*
3604527973
3604627974 else
36047 cat >conftest.$ac_ext <<_ACEOF
36048 /* confdefs.h. */
36049 _ACEOF
36050 cat confdefs.h >>conftest.$ac_ext
36051 cat >>conftest.$ac_ext <<_ACEOF
27975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605227976 /* end confdefs.h. */
3605327977
3605427978 #include <sys/types.h>
3605927983
3606027984 _ACEOF
3606127985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36062 $EGREP "[^a-zA-Z_0-9]float64[^a-zA-Z_0-9]" >/dev/null 2>&1; then
27986 $EGREP "[^a-zA-Z_0-9]float64[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3606327987 ac_cv_type_float64=yes
3606427988 else
3606527989 ac_cv_type_float64=no
3606927993
3607027994 fi
3607127995 if test $ac_cv_type_float64 = no; then
36072 cat >conftest.$ac_ext <<_ACEOF
36073 /* confdefs.h. */
36074 _ACEOF
36075 cat confdefs.h >>conftest.$ac_ext
36076 cat >>conftest.$ac_ext <<_ACEOF
27996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3607727997 /* end confdefs.h. */
3607827998
3607927999 int
3608428004 return 0;
3608528005 }
3608628006 _ACEOF
36087 rm -f conftest.$ac_objext
36088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36089 (eval $ac_compile) 2>conftest.er1
36090 ac_status=$?
36091 grep -v '^ *+' conftest.er1 >conftest.err
36092 rm -f conftest.er1
36093 cat conftest.err >&5
36094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36095 (exit $ac_status); } &&
36096 { ac_try='test -z "$ac_c_werror_flag"
36097 || test ! -s conftest.err'
36098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36099 (eval $ac_try) 2>&5
36100 ac_status=$?
36101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36102 (exit $ac_status); }; } &&
36103 { ac_try='test -s conftest.$ac_objext'
36104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36105 (eval $ac_try) 2>&5
36106 ac_status=$?
36107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36108 (exit $ac_status); }; }; then
28007 if ac_fn_c_try_compile "$LINENO"; then :
3610928008 ac_cv_type_float64=yes
3611028009 else
36111 echo "$as_me: failed program was:" >&5
36112 sed 's/^/| /' conftest.$ac_ext >&5
36113
36114 ac_cv_type_float64=no
36115 fi
36116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28010 ac_cv_type_float64=no
28011 fi
28012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3611728013 fi
3611828014
3611928015 fi
3612028016
36121 echo "$as_me:$LINENO: result: $ac_cv_type_float64" >&5
36122 echo "${ECHO_T}$ac_cv_type_float64" >&6
28017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_float64" >&5
28018 $as_echo "$ac_cv_type_float64" >&6; }
3612328019 if test $ac_cv_type_float64 = no; then
3612428020
36125 cat >>confdefs.h <<\_ACEOF
36126 #define float64 double
36127 _ACEOF
28021 $as_echo "#define float64 double" >>confdefs.h
3612828022
3612928023 fi
3613028024
3613128025
36132 echo "$as_me:$LINENO: checking for uint64" >&5
36133 echo $ECHO_N "checking for uint64... $ECHO_C" >&6
36134 if test "${ac_cv_type_uint64+set}" = set; then
36135 echo $ECHO_N "(cached) $ECHO_C" >&6
28026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint64" >&5
28027 $as_echo_n "checking for uint64... " >&6; }
28028 if ${ac_cv_type_uint64+:} false; then :
28029 $as_echo_n "(cached) " >&6
3613628030 else
3613728031
3613828032 if test "$ac_cv_header_windows_h" = "yes" ; then
36139 cat >conftest.$ac_ext <<_ACEOF
36140 /* confdefs.h. */
36141 _ACEOF
36142 cat confdefs.h >>conftest.$ac_ext
36143 cat >>conftest.$ac_ext <<_ACEOF
28033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614428034 /* end confdefs.h. */
3614528035
3614628036 #include <sys/types.h>
3615228042
3615328043 _ACEOF
3615428044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36155 $EGREP "[^a-zA-Z_0-9]uint64[^a-zA-Z_0-9]" >/dev/null 2>&1; then
28045 $EGREP "[^a-zA-Z_0-9]uint64[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3615628046 ac_cv_type_uint64=yes
3615728047 else
3615828048 ac_cv_type_uint64=no
3616028050 rm -f conftest*
3616128051
3616228052 else
36163 cat >conftest.$ac_ext <<_ACEOF
36164 /* confdefs.h. */
36165 _ACEOF
36166 cat confdefs.h >>conftest.$ac_ext
36167 cat >>conftest.$ac_ext <<_ACEOF
28053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3616828054 /* end confdefs.h. */
3616928055
3617028056 #include <sys/types.h>
3617528061
3617628062 _ACEOF
3617728063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36178 $EGREP "[^a-zA-Z_0-9]uint64[^a-zA-Z_0-9]" >/dev/null 2>&1; then
28064 $EGREP "[^a-zA-Z_0-9]uint64[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3617928065 ac_cv_type_uint64=yes
3618028066 else
3618128067 ac_cv_type_uint64=no
3618528071
3618628072 fi
3618728073 if test $ac_cv_type_uint64 = no; then
36188 cat >conftest.$ac_ext <<_ACEOF
36189 /* confdefs.h. */
36190 _ACEOF
36191 cat confdefs.h >>conftest.$ac_ext
36192 cat >>conftest.$ac_ext <<_ACEOF
28074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619328075 /* end confdefs.h. */
3619428076
3619528077 int
3620028082 return 0;
3620128083 }
3620228084 _ACEOF
36203 rm -f conftest.$ac_objext
36204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36205 (eval $ac_compile) 2>conftest.er1
36206 ac_status=$?
36207 grep -v '^ *+' conftest.er1 >conftest.err
36208 rm -f conftest.er1
36209 cat conftest.err >&5
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); } &&
36212 { ac_try='test -z "$ac_c_werror_flag"
36213 || test ! -s conftest.err'
36214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36215 (eval $ac_try) 2>&5
36216 ac_status=$?
36217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36218 (exit $ac_status); }; } &&
36219 { ac_try='test -s conftest.$ac_objext'
36220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36221 (eval $ac_try) 2>&5
36222 ac_status=$?
36223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36224 (exit $ac_status); }; }; then
28085 if ac_fn_c_try_compile "$LINENO"; then :
3622528086 ac_cv_type_uint64=yes
3622628087 else
36227 echo "$as_me: failed program was:" >&5
36228 sed 's/^/| /' conftest.$ac_ext >&5
36229
36230 ac_cv_type_uint64=no
36231 fi
36232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28088 ac_cv_type_uint64=no
28089 fi
28090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3623328091 fi
3623428092
3623528093 fi
3623628094
36237 echo "$as_me:$LINENO: result: $ac_cv_type_uint64" >&5
36238 echo "${ECHO_T}$ac_cv_type_uint64" >&6
28095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uint64" >&5
28096 $as_echo "$ac_cv_type_uint64" >&6; }
3623928097 if test $ac_cv_type_uint64 = no; then
3624028098
36241 cat >>confdefs.h <<\_ACEOF
36242 #define uint64 unsigned long
36243 _ACEOF
28099 $as_echo "#define uint64 unsigned long" >>confdefs.h
3624428100
3624528101 fi
3624628102
3624728103
3624828104 if test "$ARCH" != "intelnt" ; then
3624928105
36250 echo "$as_me:$LINENO: checking for __int64" >&5
36251 echo $ECHO_N "checking for __int64... $ECHO_C" >&6
36252 if test "${ac_cv_type___int64+set}" = set; then
36253 echo $ECHO_N "(cached) $ECHO_C" >&6
28106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int64" >&5
28107 $as_echo_n "checking for __int64... " >&6; }
28108 if ${ac_cv_type___int64+:} false; then :
28109 $as_echo_n "(cached) " >&6
3625428110 else
3625528111
3625628112 if test "$ac_cv_header_windows_h" = "yes" ; then
36257 cat >conftest.$ac_ext <<_ACEOF
36258 /* confdefs.h. */
36259 _ACEOF
36260 cat confdefs.h >>conftest.$ac_ext
36261 cat >>conftest.$ac_ext <<_ACEOF
28113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3626228114 /* end confdefs.h. */
3626328115
3626428116 #include <sys/types.h>
3627028122
3627128123 _ACEOF
3627228124 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36273 $EGREP "[^a-zA-Z_0-9]__int64[^a-zA-Z_0-9]" >/dev/null 2>&1; then
28125 $EGREP "[^a-zA-Z_0-9]__int64[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3627428126 ac_cv_type___int64=yes
3627528127 else
3627628128 ac_cv_type___int64=no
3627828130 rm -f conftest*
3627928131
3628028132 else
36281 cat >conftest.$ac_ext <<_ACEOF
36282 /* confdefs.h. */
36283 _ACEOF
36284 cat confdefs.h >>conftest.$ac_ext
36285 cat >>conftest.$ac_ext <<_ACEOF
28133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3628628134 /* end confdefs.h. */
3628728135
3628828136 #include <sys/types.h>
3629328141
3629428142 _ACEOF
3629528143 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36296 $EGREP "[^a-zA-Z_0-9]__int64[^a-zA-Z_0-9]" >/dev/null 2>&1; then
28144 $EGREP "[^a-zA-Z_0-9]__int64[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3629728145 ac_cv_type___int64=yes
3629828146 else
3629928147 ac_cv_type___int64=no
3630328151
3630428152 fi
3630528153 if test $ac_cv_type___int64 = no; then
36306 cat >conftest.$ac_ext <<_ACEOF
36307 /* confdefs.h. */
36308 _ACEOF
36309 cat confdefs.h >>conftest.$ac_ext
36310 cat >>conftest.$ac_ext <<_ACEOF
28154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631128155 /* end confdefs.h. */
3631228156
3631328157 int
3631828162 return 0;
3631928163 }
3632028164 _ACEOF
36321 rm -f conftest.$ac_objext
36322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36323 (eval $ac_compile) 2>conftest.er1
36324 ac_status=$?
36325 grep -v '^ *+' conftest.er1 >conftest.err
36326 rm -f conftest.er1
36327 cat conftest.err >&5
36328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36329 (exit $ac_status); } &&
36330 { ac_try='test -z "$ac_c_werror_flag"
36331 || test ! -s conftest.err'
36332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36333 (eval $ac_try) 2>&5
36334 ac_status=$?
36335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36336 (exit $ac_status); }; } &&
36337 { ac_try='test -s conftest.$ac_objext'
36338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36339 (eval $ac_try) 2>&5
36340 ac_status=$?
36341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36342 (exit $ac_status); }; }; then
28165 if ac_fn_c_try_compile "$LINENO"; then :
3634328166 ac_cv_type___int64=yes
3634428167 else
36345 echo "$as_me: failed program was:" >&5
36346 sed 's/^/| /' conftest.$ac_ext >&5
36347
36348 ac_cv_type___int64=no
36349 fi
36350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28168 ac_cv_type___int64=no
28169 fi
28170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3635128171 fi
3635228172
3635328173 fi
3635428174
36355 echo "$as_me:$LINENO: result: $ac_cv_type___int64" >&5
36356 echo "${ECHO_T}$ac_cv_type___int64" >&6
28175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type___int64" >&5
28176 $as_echo "$ac_cv_type___int64" >&6; }
3635728177 if test $ac_cv_type___int64 = no; then
3635828178
36359 cat >>confdefs.h <<\_ACEOF
36360 #define __int64 long long
36361 _ACEOF
28179 $as_echo "#define __int64 long long" >>confdefs.h
3636228180
3636328181 fi
3636428182
3636528183
36366 echo "$as_me:$LINENO: checking for float32" >&5
36367 echo $ECHO_N "checking for float32... $ECHO_C" >&6
36368 if test "${ac_cv_type_float32+set}" = set; then
36369 echo $ECHO_N "(cached) $ECHO_C" >&6
28184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float32" >&5
28185 $as_echo_n "checking for float32... " >&6; }
28186 if ${ac_cv_type_float32+:} false; then :
28187 $as_echo_n "(cached) " >&6
3637028188 else
3637128189
3637228190 if test "$ac_cv_header_windows_h" = "yes" ; then
36373 cat >conftest.$ac_ext <<_ACEOF
36374 /* confdefs.h. */
36375 _ACEOF
36376 cat confdefs.h >>conftest.$ac_ext
36377 cat >>conftest.$ac_ext <<_ACEOF
28191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3637828192 /* end confdefs.h. */
3637928193
3638028194 #include <sys/types.h>
3638628200
3638728201 _ACEOF
3638828202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36389 $EGREP "[^a-zA-Z_0-9]float32[^a-zA-Z_0-9]" >/dev/null 2>&1; then
28203 $EGREP "[^a-zA-Z_0-9]float32[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3639028204 ac_cv_type_float32=yes
3639128205 else
3639228206 ac_cv_type_float32=no
3639428208 rm -f conftest*
3639528209
3639628210 else
36397 cat >conftest.$ac_ext <<_ACEOF
36398 /* confdefs.h. */
36399 _ACEOF
36400 cat confdefs.h >>conftest.$ac_ext
36401 cat >>conftest.$ac_ext <<_ACEOF
28211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3640228212 /* end confdefs.h. */
3640328213
3640428214 #include <sys/types.h>
3640928219
3641028220 _ACEOF
3641128221 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36412 $EGREP "[^a-zA-Z_0-9]float32[^a-zA-Z_0-9]" >/dev/null 2>&1; then
28222 $EGREP "[^a-zA-Z_0-9]float32[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
3641328223 ac_cv_type_float32=yes
3641428224 else
3641528225 ac_cv_type_float32=no
3641928229
3642028230 fi
3642128231 if test $ac_cv_type_float32 = no; then
36422 cat >conftest.$ac_ext <<_ACEOF
36423 /* confdefs.h. */
36424 _ACEOF
36425 cat confdefs.h >>conftest.$ac_ext
36426 cat >>conftest.$ac_ext <<_ACEOF
28232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3642728233 /* end confdefs.h. */
3642828234
3642928235 int
3643428240 return 0;
3643528241 }
3643628242 _ACEOF
36437 rm -f conftest.$ac_objext
36438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36439 (eval $ac_compile) 2>conftest.er1
36440 ac_status=$?
36441 grep -v '^ *+' conftest.er1 >conftest.err
36442 rm -f conftest.er1
36443 cat conftest.err >&5
36444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36445 (exit $ac_status); } &&
36446 { ac_try='test -z "$ac_c_werror_flag"
36447 || test ! -s conftest.err'
36448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36449 (eval $ac_try) 2>&5
36450 ac_status=$?
36451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36452 (exit $ac_status); }; } &&
36453 { ac_try='test -s conftest.$ac_objext'
36454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36455 (eval $ac_try) 2>&5
36456 ac_status=$?
36457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36458 (exit $ac_status); }; }; then
28243 if ac_fn_c_try_compile "$LINENO"; then :
3645928244 ac_cv_type_float32=yes
3646028245 else
36461 echo "$as_me: failed program was:" >&5
36462 sed 's/^/| /' conftest.$ac_ext >&5
36463
36464 ac_cv_type_float32=no
36465 fi
36466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28246 ac_cv_type_float32=no
28247 fi
28248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3646728249 fi
3646828250
3646928251 fi
3647028252
36471 echo "$as_me:$LINENO: result: $ac_cv_type_float32" >&5
36472 echo "${ECHO_T}$ac_cv_type_float32" >&6
28253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_float32" >&5
28254 $as_echo "$ac_cv_type_float32" >&6; }
3647328255 if test $ac_cv_type_float32 = no; then
3647428256
36475 cat >>confdefs.h <<\_ACEOF
36476 #define float32 float
36477 _ACEOF
28257 $as_echo "#define float32 float" >>confdefs.h
3647828258
3647928259 fi
3648028260
3648128261 fi
3648228262
36483 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
36484 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
36485 if test "${ac_cv_c_bigendian+set}" = set; then
36486 echo $ECHO_N "(cached) $ECHO_C" >&6
36487 else
36488 # See if sys/param.h defines the BYTE_ORDER macro.
36489 cat >conftest.$ac_ext <<_ACEOF
36490 /* confdefs.h. */
36491 _ACEOF
36492 cat confdefs.h >>conftest.$ac_ext
36493 cat >>conftest.$ac_ext <<_ACEOF
28263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
28264 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
28265 if ${ac_cv_c_bigendian+:} false; then :
28266 $as_echo_n "(cached) " >&6
28267 else
28268 ac_cv_c_bigendian=unknown
28269 # See if we're dealing with a universal compiler.
28270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28271 /* end confdefs.h. */
28272 #ifndef __APPLE_CC__
28273 not a universal capable compiler
28274 #endif
28275 typedef int dummy;
28276
28277 _ACEOF
28278 if ac_fn_c_try_compile "$LINENO"; then :
28279
28280 # Check for potential -arch flags. It is not universal unless
28281 # there are at least two -arch flags with different values.
28282 ac_arch=
28283 ac_prev=
28284 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
28285 if test -n "$ac_prev"; then
28286 case $ac_word in
28287 i?86 | x86_64 | ppc | ppc64)
28288 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
28289 ac_arch=$ac_word
28290 else
28291 ac_cv_c_bigendian=universal
28292 break
28293 fi
28294 ;;
28295 esac
28296 ac_prev=
28297 elif test "x$ac_word" = "x-arch"; then
28298 ac_prev=arch
28299 fi
28300 done
28301 fi
28302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28303 if test $ac_cv_c_bigendian = unknown; then
28304 # See if sys/param.h defines the BYTE_ORDER macro.
28305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649428306 /* end confdefs.h. */
3649528307 #include <sys/types.h>
36496 #include <sys/param.h>
28308 #include <sys/param.h>
3649728309
3649828310 int
3649928311 main ()
3650028312 {
36501 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
36502 bogus endian macros
36503 #endif
28313 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
28314 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
28315 && LITTLE_ENDIAN)
28316 bogus endian macros
28317 #endif
3650428318
3650528319 ;
3650628320 return 0;
3650728321 }
3650828322 _ACEOF
36509 rm -f conftest.$ac_objext
36510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36511 (eval $ac_compile) 2>conftest.er1
36512 ac_status=$?
36513 grep -v '^ *+' conftest.er1 >conftest.err
36514 rm -f conftest.er1
36515 cat conftest.err >&5
36516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36517 (exit $ac_status); } &&
36518 { ac_try='test -z "$ac_c_werror_flag"
36519 || test ! -s conftest.err'
36520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36521 (eval $ac_try) 2>&5
36522 ac_status=$?
36523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36524 (exit $ac_status); }; } &&
36525 { ac_try='test -s conftest.$ac_objext'
36526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36527 (eval $ac_try) 2>&5
36528 ac_status=$?
36529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36530 (exit $ac_status); }; }; then
28323 if ac_fn_c_try_compile "$LINENO"; then :
3653128324 # It does; now see whether it defined to BIG_ENDIAN or not.
36532 cat >conftest.$ac_ext <<_ACEOF
36533 /* confdefs.h. */
36534 _ACEOF
36535 cat confdefs.h >>conftest.$ac_ext
36536 cat >>conftest.$ac_ext <<_ACEOF
28325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3653728326 /* end confdefs.h. */
3653828327 #include <sys/types.h>
36539 #include <sys/param.h>
28328 #include <sys/param.h>
3654028329
3654128330 int
3654228331 main ()
3654328332 {
3654428333 #if BYTE_ORDER != BIG_ENDIAN
36545 not big endian
36546 #endif
28334 not big endian
28335 #endif
3654728336
3654828337 ;
3654928338 return 0;
3655028339 }
3655128340 _ACEOF
36552 rm -f conftest.$ac_objext
36553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36554 (eval $ac_compile) 2>conftest.er1
36555 ac_status=$?
36556 grep -v '^ *+' conftest.er1 >conftest.err
36557 rm -f conftest.er1
36558 cat conftest.err >&5
36559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36560 (exit $ac_status); } &&
36561 { ac_try='test -z "$ac_c_werror_flag"
36562 || test ! -s conftest.err'
36563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36564 (eval $ac_try) 2>&5
36565 ac_status=$?
36566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36567 (exit $ac_status); }; } &&
36568 { ac_try='test -s conftest.$ac_objext'
36569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36570 (eval $ac_try) 2>&5
36571 ac_status=$?
36572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36573 (exit $ac_status); }; }; then
28341 if ac_fn_c_try_compile "$LINENO"; then :
3657428342 ac_cv_c_bigendian=yes
3657528343 else
36576 echo "$as_me: failed program was:" >&5
36577 sed 's/^/| /' conftest.$ac_ext >&5
36578
36579 ac_cv_c_bigendian=no
36580 fi
36581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36582 else
36583 echo "$as_me: failed program was:" >&5
36584 sed 's/^/| /' conftest.$ac_ext >&5
36585
36586 # It does not; compile a test program.
36587 if test "$cross_compiling" = yes; then
36588 # try to guess the endianness by grepping values into an object file
36589 ac_cv_c_bigendian=unknown
36590 cat >conftest.$ac_ext <<_ACEOF
36591 /* confdefs.h. */
36592 _ACEOF
36593 cat confdefs.h >>conftest.$ac_ext
36594 cat >>conftest.$ac_ext <<_ACEOF
28344 ac_cv_c_bigendian=no
28345 fi
28346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28347 fi
28348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28349 fi
28350 if test $ac_cv_c_bigendian = unknown; then
28351 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
28352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3659528353 /* end confdefs.h. */
36596 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
36597 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
36598 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
36599 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
36600 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
36601 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
28354 #include <limits.h>
28355
3660228356 int
3660328357 main ()
3660428358 {
36605 _ascii (); _ebcdic ();
28359 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
28360 bogus endian macros
28361 #endif
28362
3660628363 ;
3660728364 return 0;
3660828365 }
3660928366 _ACEOF
36610 rm -f conftest.$ac_objext
36611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36612 (eval $ac_compile) 2>conftest.er1
36613 ac_status=$?
36614 grep -v '^ *+' conftest.er1 >conftest.err
36615 rm -f conftest.er1
36616 cat conftest.err >&5
36617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36618 (exit $ac_status); } &&
36619 { ac_try='test -z "$ac_c_werror_flag"
36620 || test ! -s conftest.err'
36621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36622 (eval $ac_try) 2>&5
36623 ac_status=$?
36624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36625 (exit $ac_status); }; } &&
36626 { ac_try='test -s conftest.$ac_objext'
36627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36628 (eval $ac_try) 2>&5
36629 ac_status=$?
36630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36631 (exit $ac_status); }; }; then
36632 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
36633 ac_cv_c_bigendian=yes
36634 fi
36635 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
36636 if test "$ac_cv_c_bigendian" = unknown; then
36637 ac_cv_c_bigendian=no
36638 else
36639 # finding both strings is unlikely to happen, but who knows?
36640 ac_cv_c_bigendian=unknown
36641 fi
36642 fi
36643 else
36644 echo "$as_me: failed program was:" >&5
36645 sed 's/^/| /' conftest.$ac_ext >&5
36646
36647 fi
36648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36649 else
36650 cat >conftest.$ac_ext <<_ACEOF
36651 /* confdefs.h. */
36652 _ACEOF
36653 cat confdefs.h >>conftest.$ac_ext
36654 cat >>conftest.$ac_ext <<_ACEOF
28367 if ac_fn_c_try_compile "$LINENO"; then :
28368 # It does; now see whether it defined to _BIG_ENDIAN or not.
28369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3665528370 /* end confdefs.h. */
28371 #include <limits.h>
28372
3665628373 int
3665728374 main ()
3665828375 {
36659 /* Are we little or big endian? From Harbison&Steele. */
36660 union
36661 {
36662 long l;
36663 char c[sizeof (long)];
36664 } u;
36665 u.l = 1;
36666 exit (u.c[sizeof (long) - 1] == 1);
28376 #ifndef _BIG_ENDIAN
28377 not big endian
28378 #endif
28379
28380 ;
28381 return 0;
3666728382 }
3666828383 _ACEOF
36669 rm -f conftest$ac_exeext
36670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36671 (eval $ac_link) 2>&5
36672 ac_status=$?
36673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36674 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36676 (eval $ac_try) 2>&5
36677 ac_status=$?
36678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36679 (exit $ac_status); }; }; then
28384 if ac_fn_c_try_compile "$LINENO"; then :
28385 ac_cv_c_bigendian=yes
28386 else
3668028387 ac_cv_c_bigendian=no
36681 else
36682 echo "$as_me: program exited with status $ac_status" >&5
36683 echo "$as_me: failed program was:" >&5
36684 sed 's/^/| /' conftest.$ac_ext >&5
36685
36686 ( exit $ac_status )
36687 ac_cv_c_bigendian=yes
36688 fi
36689 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36690 fi
36691 fi
36692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36693 fi
36694 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
36695 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
36696 case $ac_cv_c_bigendian in
36697 yes)
36698
36699 cat >>confdefs.h <<\_ACEOF
36700 #define WORDS_BIGENDIAN 1
36701 _ACEOF
36702 ;;
36703 no)
36704 ;;
36705 *)
36706 { { echo "$as_me:$LINENO: error: unknown endianness
36707 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
36708 echo "$as_me: error: unknown endianness
36709 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
36710 { (exit 1); exit 1; }; } ;;
36711 esac
36712
36713
36714 ac_ext=cc
28388 fi
28389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28390 fi
28391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28392 fi
28393 if test $ac_cv_c_bigendian = unknown; then
28394 # Compile a test program.
28395 if test "$cross_compiling" = yes; then :
28396 # Try to guess by grepping values from an object file.
28397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28398 /* end confdefs.h. */
28399 short int ascii_mm[] =
28400 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
28401 short int ascii_ii[] =
28402 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
28403 int use_ascii (int i) {
28404 return ascii_mm[i] + ascii_ii[i];
28405 }
28406 short int ebcdic_ii[] =
28407 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
28408 short int ebcdic_mm[] =
28409 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
28410 int use_ebcdic (int i) {
28411 return ebcdic_mm[i] + ebcdic_ii[i];
28412 }
28413 extern int foo;
28414
28415 int
28416 main ()
28417 {
28418 return use_ascii (foo) == use_ebcdic (foo);
28419 ;
28420 return 0;
28421 }
28422 _ACEOF
28423 if ac_fn_c_try_compile "$LINENO"; then :
28424 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
28425 ac_cv_c_bigendian=yes
28426 fi
28427 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
28428 if test "$ac_cv_c_bigendian" = unknown; then
28429 ac_cv_c_bigendian=no
28430 else
28431 # finding both strings is unlikely to happen, but who knows?
28432 ac_cv_c_bigendian=unknown
28433 fi
28434 fi
28435 fi
28436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28437 else
28438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28439 /* end confdefs.h. */
28440 $ac_includes_default
28441 int
28442 main ()
28443 {
28444
28445 /* Are we little or big endian? From Harbison&Steele. */
28446 union
28447 {
28448 long int l;
28449 char c[sizeof (long int)];
28450 } u;
28451 u.l = 1;
28452 return u.c[sizeof (long int) - 1] == 1;
28453
28454 ;
28455 return 0;
28456 }
28457 _ACEOF
28458 if ac_fn_c_try_run "$LINENO"; then :
28459 ac_cv_c_bigendian=no
28460 else
28461 ac_cv_c_bigendian=yes
28462 fi
28463 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28464 conftest.$ac_objext conftest.beam conftest.$ac_ext
28465 fi
28466
28467 fi
28468 fi
28469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
28470 $as_echo "$ac_cv_c_bigendian" >&6; }
28471 case $ac_cv_c_bigendian in #(
28472 yes)
28473 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
28474 ;; #(
28475 no)
28476 ;; #(
28477 universal)
28478
28479 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
28480
28481 ;; #(
28482 *)
28483 as_fn_error $? "unknown endianness
28484 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
28485 esac
28486
28487
28488 ac_ext=cpp
3671528489 ac_cpp='$CXXCPP $CPPFLAGS'
3671628490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3671728491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3671828492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3671928493
3672028494
36721 echo "$as_me:$LINENO: checking for signal argument list in C++" >&5
36722 echo $ECHO_N "checking for signal argument list in C++... $ECHO_C" >&6
36723 cat >conftest.$ac_ext <<_ACEOF
36724 /* confdefs.h. */
36725 _ACEOF
36726 cat confdefs.h >>conftest.$ac_ext
36727 cat >>conftest.$ac_ext <<_ACEOF
28495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signal argument list in C++" >&5
28496 $as_echo_n "checking for signal argument list in C++... " >&6; }
28497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3672828498 /* end confdefs.h. */
3672928499
3673028500 #include <signal.h>
3674028510 return 0;
3674128511 }
3674228512 _ACEOF
36743 rm -f conftest.$ac_objext conftest$ac_exeext
36744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36745 (eval $ac_link) 2>conftest.er1
36746 ac_status=$?
36747 grep -v '^ *+' conftest.er1 >conftest.err
36748 rm -f conftest.er1
36749 cat conftest.err >&5
36750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36751 (exit $ac_status); } &&
36752 { ac_try='test -z "$ac_cxx_werror_flag"
36753 || test ! -s conftest.err'
36754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36755 (eval $ac_try) 2>&5
36756 ac_status=$?
36757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36758 (exit $ac_status); }; } &&
36759 { ac_try='test -s conftest$ac_exeext'
36760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36761 (eval $ac_try) 2>&5
36762 ac_status=$?
36763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36764 (exit $ac_status); }; }; then
36765
36766 echo "$as_me:$LINENO: result: alternate" >&5
36767 echo "${ECHO_T}alternate" >&6
28513 if ac_fn_cxx_try_link "$LINENO"; then :
28514
28515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: alternate" >&5
28516 $as_echo "alternate" >&6; }
3676828517
3676928518 cat >>confdefs.h <<_ACEOF
3677028519 #define ALTERNATE_CXX_SIGNAL 1
3677228521
3677328522
3677428523 else
36775 echo "$as_me: failed program was:" >&5
36776 sed 's/^/| /' conftest.$ac_ext >&5
36777
36778
36779 echo "$as_me:$LINENO: result: standard" >&5
36780 echo "${ECHO_T}standard" >&6
36781
36782 fi
36783 rm -f conftest.err conftest.$ac_objext \
36784 conftest$ac_exeext conftest.$ac_ext
28524
28525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: standard" >&5
28526 $as_echo "standard" >&6; }
28527
28528 fi
28529 rm -f core conftest.err conftest.$ac_objext \
28530 conftest$ac_exeext conftest.$ac_ext
3678528531
3678628532 ac_ext=c
3678728533 ac_cpp='$CPP $CPPFLAGS'
3679128537
3679228538
3679328539
36794 ac_ext=cc
28540 ac_ext=cpp
3679528541 ac_cpp='$CXXCPP $CPPFLAGS'
3679628542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3679728543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3680028546 select_argtype=
3680128547 cat > selectHdrs.h << EOF
3680228548 EOF
36803 if test "${ac_cv_header_windows_h+set}" = set; then
36804 echo "$as_me:$LINENO: checking for windows.h" >&5
36805 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
36806 if test "${ac_cv_header_windows_h+set}" = set; then
36807 echo $ECHO_N "(cached) $ECHO_C" >&6
36808 fi
36809 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
36810 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
36811 else
36812 # Is the header compilable?
36813 echo "$as_me:$LINENO: checking windows.h usability" >&5
36814 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
36815 cat >conftest.$ac_ext <<_ACEOF
36816 /* confdefs.h. */
36817 _ACEOF
36818 cat confdefs.h >>conftest.$ac_ext
36819 cat >>conftest.$ac_ext <<_ACEOF
36820 /* end confdefs.h. */
36821 $ac_includes_default
36822 #include <windows.h>
36823 _ACEOF
36824 rm -f conftest.$ac_objext
36825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36826 (eval $ac_compile) 2>conftest.er1
36827 ac_status=$?
36828 grep -v '^ *+' conftest.er1 >conftest.err
36829 rm -f conftest.er1
36830 cat conftest.err >&5
36831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36832 (exit $ac_status); } &&
36833 { ac_try='test -z "$ac_cxx_werror_flag"
36834 || test ! -s conftest.err'
36835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36836 (eval $ac_try) 2>&5
36837 ac_status=$?
36838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36839 (exit $ac_status); }; } &&
36840 { ac_try='test -s conftest.$ac_objext'
36841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36842 (eval $ac_try) 2>&5
36843 ac_status=$?
36844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36845 (exit $ac_status); }; }; then
36846 ac_header_compiler=yes
36847 else
36848 echo "$as_me: failed program was:" >&5
36849 sed 's/^/| /' conftest.$ac_ext >&5
36850
36851 ac_header_compiler=no
36852 fi
36853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36854 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36855 echo "${ECHO_T}$ac_header_compiler" >&6
36856
36857 # Is the header present?
36858 echo "$as_me:$LINENO: checking windows.h presence" >&5
36859 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
36860 cat >conftest.$ac_ext <<_ACEOF
36861 /* confdefs.h. */
36862 _ACEOF
36863 cat confdefs.h >>conftest.$ac_ext
36864 cat >>conftest.$ac_ext <<_ACEOF
36865 /* end confdefs.h. */
36866 #include <windows.h>
36867 _ACEOF
36868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36869 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36870 ac_status=$?
36871 grep -v '^ *+' conftest.er1 >conftest.err
36872 rm -f conftest.er1
36873 cat conftest.err >&5
36874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36875 (exit $ac_status); } >/dev/null; then
36876 if test -s conftest.err; then
36877 ac_cpp_err=$ac_cxx_preproc_warn_flag
36878 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
36879 else
36880 ac_cpp_err=
36881 fi
36882 else
36883 ac_cpp_err=yes
36884 fi
36885 if test -z "$ac_cpp_err"; then
36886 ac_header_preproc=yes
36887 else
36888 echo "$as_me: failed program was:" >&5
36889 sed 's/^/| /' conftest.$ac_ext >&5
36890
36891 ac_header_preproc=no
36892 fi
36893 rm -f conftest.err conftest.$ac_ext
36894 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36895 echo "${ECHO_T}$ac_header_preproc" >&6
36896
36897 # So? What about this header?
36898 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
36899 yes:no: )
36900 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
36901 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
36902 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
36903 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
36904 ac_header_preproc=yes
36905 ;;
36906 no:yes:* )
36907 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
36908 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
36909 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
36910 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
36911 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
36912 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
36913 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
36914 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
36915 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
36916 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
36917 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
36918 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
36919 (
36920 cat <<\_ASBOX
36921 ## ----------------------------- ##
36922 ## Report this to the dx lists. ##
36923 ## ----------------------------- ##
36924 _ASBOX
36925 ) |
36926 sed "s/^/$as_me: WARNING: /" >&2
36927 ;;
36928 esac
36929 echo "$as_me:$LINENO: checking for windows.h" >&5
36930 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
36931 if test "${ac_cv_header_windows_h+set}" = set; then
36932 echo $ECHO_N "(cached) $ECHO_C" >&6
36933 else
36934 ac_cv_header_windows_h=$ac_header_preproc
36935 fi
36936 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
36937 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
36938
36939 fi
36940 if test $ac_cv_header_windows_h = yes; then
28549 ac_fn_cxx_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
28550 if test "x$ac_cv_header_windows_h" = xyes; then :
3694128551 echo "#include <windows.h>" >> selectHdrs.h
3694228552 fi
3694328553
3694428554
36945 if test "${ac_cv_header_unistd_h+set}" = set; then
36946 echo "$as_me:$LINENO: checking for unistd.h" >&5
36947 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6
36948 if test "${ac_cv_header_unistd_h+set}" = set; then
36949 echo $ECHO_N "(cached) $ECHO_C" >&6
36950 fi
36951 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5
36952 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6
36953 else
36954 # Is the header compilable?
36955 echo "$as_me:$LINENO: checking unistd.h usability" >&5
36956 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6
36957 cat >conftest.$ac_ext <<_ACEOF
36958 /* confdefs.h. */
36959 _ACEOF
36960 cat confdefs.h >>conftest.$ac_ext
36961 cat >>conftest.$ac_ext <<_ACEOF
36962 /* end confdefs.h. */
36963 $ac_includes_default
36964 #include <unistd.h>
36965 _ACEOF
36966 rm -f conftest.$ac_objext
36967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36968 (eval $ac_compile) 2>conftest.er1
36969 ac_status=$?
36970 grep -v '^ *+' conftest.er1 >conftest.err
36971 rm -f conftest.er1
36972 cat conftest.err >&5
36973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36974 (exit $ac_status); } &&
36975 { ac_try='test -z "$ac_cxx_werror_flag"
36976 || test ! -s conftest.err'
36977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36978 (eval $ac_try) 2>&5
36979 ac_status=$?
36980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36981 (exit $ac_status); }; } &&
36982 { ac_try='test -s conftest.$ac_objext'
36983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36984 (eval $ac_try) 2>&5
36985 ac_status=$?
36986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36987 (exit $ac_status); }; }; then
36988 ac_header_compiler=yes
36989 else
36990 echo "$as_me: failed program was:" >&5
36991 sed 's/^/| /' conftest.$ac_ext >&5
36992
36993 ac_header_compiler=no
36994 fi
36995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36997 echo "${ECHO_T}$ac_header_compiler" >&6
36998
36999 # Is the header present?
37000 echo "$as_me:$LINENO: checking unistd.h presence" >&5
37001 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6
37002 cat >conftest.$ac_ext <<_ACEOF
37003 /* confdefs.h. */
37004 _ACEOF
37005 cat confdefs.h >>conftest.$ac_ext
37006 cat >>conftest.$ac_ext <<_ACEOF
37007 /* end confdefs.h. */
37008 #include <unistd.h>
37009 _ACEOF
37010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37011 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37012 ac_status=$?
37013 grep -v '^ *+' conftest.er1 >conftest.err
37014 rm -f conftest.er1
37015 cat conftest.err >&5
37016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37017 (exit $ac_status); } >/dev/null; then
37018 if test -s conftest.err; then
37019 ac_cpp_err=$ac_cxx_preproc_warn_flag
37020 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
37021 else
37022 ac_cpp_err=
37023 fi
37024 else
37025 ac_cpp_err=yes
37026 fi
37027 if test -z "$ac_cpp_err"; then
37028 ac_header_preproc=yes
37029 else
37030 echo "$as_me: failed program was:" >&5
37031 sed 's/^/| /' conftest.$ac_ext >&5
37032
37033 ac_header_preproc=no
37034 fi
37035 rm -f conftest.err conftest.$ac_ext
37036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37037 echo "${ECHO_T}$ac_header_preproc" >&6
37038
37039 # So? What about this header?
37040 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37041 yes:no: )
37042 { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5
37043 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37044 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5
37045 echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;}
37046 ac_header_preproc=yes
37047 ;;
37048 no:yes:* )
37049 { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5
37050 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;}
37051 { echo "$as_me:$LINENO: WARNING: unistd.h: check for missing prerequisite headers?" >&5
37052 echo "$as_me: WARNING: unistd.h: check for missing prerequisite headers?" >&2;}
37053 { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5
37054 echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;}
37055 { echo "$as_me:$LINENO: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&5
37056 echo "$as_me: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&2;}
37057 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5
37058 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;}
37059 { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5
37060 echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;}
37061 (
37062 cat <<\_ASBOX
37063 ## ----------------------------- ##
37064 ## Report this to the dx lists. ##
37065 ## ----------------------------- ##
37066 _ASBOX
37067 ) |
37068 sed "s/^/$as_me: WARNING: /" >&2
37069 ;;
37070 esac
37071 echo "$as_me:$LINENO: checking for unistd.h" >&5
37072 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6
37073 if test "${ac_cv_header_unistd_h+set}" = set; then
37074 echo $ECHO_N "(cached) $ECHO_C" >&6
37075 else
37076 ac_cv_header_unistd_h=$ac_header_preproc
37077 fi
37078 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5
37079 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6
37080
37081 fi
37082 if test $ac_cv_header_unistd_h = yes; then
28555 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
28556 if test "x$ac_cv_header_unistd_h" = xyes; then :
3708328557 echo "#include <unistd.h>" >> selectHdrs.h
3708428558 fi
3708528559
3708628560
37087 if test "${ac_cv_header_sys_types_h+set}" = set; then
37088 echo "$as_me:$LINENO: checking for sys/types.h" >&5
37089 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6
37090 if test "${ac_cv_header_sys_types_h+set}" = set; then
37091 echo $ECHO_N "(cached) $ECHO_C" >&6
37092 fi
37093 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5
37094 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6
37095 else
37096 # Is the header compilable?
37097 echo "$as_me:$LINENO: checking sys/types.h usability" >&5
37098 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6
37099 cat >conftest.$ac_ext <<_ACEOF
37100 /* confdefs.h. */
37101 _ACEOF
37102 cat confdefs.h >>conftest.$ac_ext
37103 cat >>conftest.$ac_ext <<_ACEOF
37104 /* end confdefs.h. */
37105 $ac_includes_default
37106 #include <sys/types.h>
37107 _ACEOF
37108 rm -f conftest.$ac_objext
37109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37110 (eval $ac_compile) 2>conftest.er1
37111 ac_status=$?
37112 grep -v '^ *+' conftest.er1 >conftest.err
37113 rm -f conftest.er1
37114 cat conftest.err >&5
37115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37116 (exit $ac_status); } &&
37117 { ac_try='test -z "$ac_cxx_werror_flag"
37118 || test ! -s conftest.err'
37119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37120 (eval $ac_try) 2>&5
37121 ac_status=$?
37122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37123 (exit $ac_status); }; } &&
37124 { ac_try='test -s conftest.$ac_objext'
37125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37126 (eval $ac_try) 2>&5
37127 ac_status=$?
37128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37129 (exit $ac_status); }; }; then
37130 ac_header_compiler=yes
37131 else
37132 echo "$as_me: failed program was:" >&5
37133 sed 's/^/| /' conftest.$ac_ext >&5
37134
37135 ac_header_compiler=no
37136 fi
37137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37139 echo "${ECHO_T}$ac_header_compiler" >&6
37140
37141 # Is the header present?
37142 echo "$as_me:$LINENO: checking sys/types.h presence" >&5
37143 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6
37144 cat >conftest.$ac_ext <<_ACEOF
37145 /* confdefs.h. */
37146 _ACEOF
37147 cat confdefs.h >>conftest.$ac_ext
37148 cat >>conftest.$ac_ext <<_ACEOF
37149 /* end confdefs.h. */
37150 #include <sys/types.h>
37151 _ACEOF
37152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37153 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37154 ac_status=$?
37155 grep -v '^ *+' conftest.er1 >conftest.err
37156 rm -f conftest.er1
37157 cat conftest.err >&5
37158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37159 (exit $ac_status); } >/dev/null; then
37160 if test -s conftest.err; then
37161 ac_cpp_err=$ac_cxx_preproc_warn_flag
37162 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
37163 else
37164 ac_cpp_err=
37165 fi
37166 else
37167 ac_cpp_err=yes
37168 fi
37169 if test -z "$ac_cpp_err"; then
37170 ac_header_preproc=yes
37171 else
37172 echo "$as_me: failed program was:" >&5
37173 sed 's/^/| /' conftest.$ac_ext >&5
37174
37175 ac_header_preproc=no
37176 fi
37177 rm -f conftest.err conftest.$ac_ext
37178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37179 echo "${ECHO_T}$ac_header_preproc" >&6
37180
37181 # So? What about this header?
37182 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37183 yes:no: )
37184 { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5
37185 echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37186 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5
37187 echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;}
37188 ac_header_preproc=yes
37189 ;;
37190 no:yes:* )
37191 { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5
37192 echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;}
37193 { echo "$as_me:$LINENO: WARNING: sys/types.h: check for missing prerequisite headers?" >&5
37194 echo "$as_me: WARNING: sys/types.h: check for missing prerequisite headers?" >&2;}
37195 { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5
37196 echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;}
37197 { echo "$as_me:$LINENO: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&5
37198 echo "$as_me: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&2;}
37199 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5
37200 echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;}
37201 { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5
37202 echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;}
37203 (
37204 cat <<\_ASBOX
37205 ## ----------------------------- ##
37206 ## Report this to the dx lists. ##
37207 ## ----------------------------- ##
37208 _ASBOX
37209 ) |
37210 sed "s/^/$as_me: WARNING: /" >&2
37211 ;;
37212 esac
37213 echo "$as_me:$LINENO: checking for sys/types.h" >&5
37214 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6
37215 if test "${ac_cv_header_sys_types_h+set}" = set; then
37216 echo $ECHO_N "(cached) $ECHO_C" >&6
37217 else
37218 ac_cv_header_sys_types_h=$ac_header_preproc
37219 fi
37220 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5
37221 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6
37222
37223 fi
37224 if test $ac_cv_header_sys_types_h = yes; then
28561 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
28562 if test "x$ac_cv_header_sys_types_h" = xyes; then :
3722528563 echo "#include <sys/types.h>" >> selectHdrs.h
3722628564 fi
3722728565
3722828566
37229 if test "${ac_cv_header_select_h+set}" = set; then
37230 echo "$as_me:$LINENO: checking for select.h" >&5
37231 echo $ECHO_N "checking for select.h... $ECHO_C" >&6
37232 if test "${ac_cv_header_select_h+set}" = set; then
37233 echo $ECHO_N "(cached) $ECHO_C" >&6
37234 fi
37235 echo "$as_me:$LINENO: result: $ac_cv_header_select_h" >&5
37236 echo "${ECHO_T}$ac_cv_header_select_h" >&6
37237 else
37238 # Is the header compilable?
37239 echo "$as_me:$LINENO: checking select.h usability" >&5
37240 echo $ECHO_N "checking select.h usability... $ECHO_C" >&6
37241 cat >conftest.$ac_ext <<_ACEOF
37242 /* confdefs.h. */
37243 _ACEOF
37244 cat confdefs.h >>conftest.$ac_ext
37245 cat >>conftest.$ac_ext <<_ACEOF
37246 /* end confdefs.h. */
37247 $ac_includes_default
37248 #include <select.h>
37249 _ACEOF
37250 rm -f conftest.$ac_objext
37251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37252 (eval $ac_compile) 2>conftest.er1
37253 ac_status=$?
37254 grep -v '^ *+' conftest.er1 >conftest.err
37255 rm -f conftest.er1
37256 cat conftest.err >&5
37257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37258 (exit $ac_status); } &&
37259 { ac_try='test -z "$ac_cxx_werror_flag"
37260 || test ! -s conftest.err'
37261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37262 (eval $ac_try) 2>&5
37263 ac_status=$?
37264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37265 (exit $ac_status); }; } &&
37266 { ac_try='test -s conftest.$ac_objext'
37267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37268 (eval $ac_try) 2>&5
37269 ac_status=$?
37270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37271 (exit $ac_status); }; }; then
37272 ac_header_compiler=yes
37273 else
37274 echo "$as_me: failed program was:" >&5
37275 sed 's/^/| /' conftest.$ac_ext >&5
37276
37277 ac_header_compiler=no
37278 fi
37279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37281 echo "${ECHO_T}$ac_header_compiler" >&6
37282
37283 # Is the header present?
37284 echo "$as_me:$LINENO: checking select.h presence" >&5
37285 echo $ECHO_N "checking select.h presence... $ECHO_C" >&6
37286 cat >conftest.$ac_ext <<_ACEOF
37287 /* confdefs.h. */
37288 _ACEOF
37289 cat confdefs.h >>conftest.$ac_ext
37290 cat >>conftest.$ac_ext <<_ACEOF
37291 /* end confdefs.h. */
37292 #include <select.h>
37293 _ACEOF
37294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37295 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37296 ac_status=$?
37297 grep -v '^ *+' conftest.er1 >conftest.err
37298 rm -f conftest.er1
37299 cat conftest.err >&5
37300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37301 (exit $ac_status); } >/dev/null; then
37302 if test -s conftest.err; then
37303 ac_cpp_err=$ac_cxx_preproc_warn_flag
37304 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
37305 else
37306 ac_cpp_err=
37307 fi
37308 else
37309 ac_cpp_err=yes
37310 fi
37311 if test -z "$ac_cpp_err"; then
37312 ac_header_preproc=yes
37313 else
37314 echo "$as_me: failed program was:" >&5
37315 sed 's/^/| /' conftest.$ac_ext >&5
37316
37317 ac_header_preproc=no
37318 fi
37319 rm -f conftest.err conftest.$ac_ext
37320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37321 echo "${ECHO_T}$ac_header_preproc" >&6
37322
37323 # So? What about this header?
37324 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37325 yes:no: )
37326 { echo "$as_me:$LINENO: WARNING: select.h: accepted by the compiler, rejected by the preprocessor!" >&5
37327 echo "$as_me: WARNING: select.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37328 { echo "$as_me:$LINENO: WARNING: select.h: proceeding with the compiler's result" >&5
37329 echo "$as_me: WARNING: select.h: proceeding with the compiler's result" >&2;}
37330 ac_header_preproc=yes
37331 ;;
37332 no:yes:* )
37333 { echo "$as_me:$LINENO: WARNING: select.h: present but cannot be compiled" >&5
37334 echo "$as_me: WARNING: select.h: present but cannot be compiled" >&2;}
37335 { echo "$as_me:$LINENO: WARNING: select.h: check for missing prerequisite headers?" >&5
37336 echo "$as_me: WARNING: select.h: check for missing prerequisite headers?" >&2;}
37337 { echo "$as_me:$LINENO: WARNING: select.h: see the Autoconf documentation" >&5
37338 echo "$as_me: WARNING: select.h: see the Autoconf documentation" >&2;}
37339 { echo "$as_me:$LINENO: WARNING: select.h: section \"Present But Cannot Be Compiled\"" >&5
37340 echo "$as_me: WARNING: select.h: section \"Present But Cannot Be Compiled\"" >&2;}
37341 { echo "$as_me:$LINENO: WARNING: select.h: proceeding with the preprocessor's result" >&5
37342 echo "$as_me: WARNING: select.h: proceeding with the preprocessor's result" >&2;}
37343 { echo "$as_me:$LINENO: WARNING: select.h: in the future, the compiler will take precedence" >&5
37344 echo "$as_me: WARNING: select.h: in the future, the compiler will take precedence" >&2;}
37345 (
37346 cat <<\_ASBOX
37347 ## ----------------------------- ##
37348 ## Report this to the dx lists. ##
37349 ## ----------------------------- ##
37350 _ASBOX
37351 ) |
37352 sed "s/^/$as_me: WARNING: /" >&2
37353 ;;
37354 esac
37355 echo "$as_me:$LINENO: checking for select.h" >&5
37356 echo $ECHO_N "checking for select.h... $ECHO_C" >&6
37357 if test "${ac_cv_header_select_h+set}" = set; then
37358 echo $ECHO_N "(cached) $ECHO_C" >&6
37359 else
37360 ac_cv_header_select_h=$ac_header_preproc
37361 fi
37362 echo "$as_me:$LINENO: result: $ac_cv_header_select_h" >&5
37363 echo "${ECHO_T}$ac_cv_header_select_h" >&6
37364
37365 fi
37366 if test $ac_cv_header_select_h = yes; then
28567 ac_fn_cxx_check_header_mongrel "$LINENO" "select.h" "ac_cv_header_select_h" "$ac_includes_default"
28568 if test "x$ac_cv_header_select_h" = xyes; then :
3736728569 echo "#include <select.h>" >> selectHdrs.h
3736828570 fi
3736928571
3737028572
37371 if test "${ac_cv_header_sys_select_h+set}" = set; then
37372 echo "$as_me:$LINENO: checking for sys/select.h" >&5
37373 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6
37374 if test "${ac_cv_header_sys_select_h+set}" = set; then
37375 echo $ECHO_N "(cached) $ECHO_C" >&6
37376 fi
37377 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
37378 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6
37379 else
37380 # Is the header compilable?
37381 echo "$as_me:$LINENO: checking sys/select.h usability" >&5
37382 echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6
37383 cat >conftest.$ac_ext <<_ACEOF
37384 /* confdefs.h. */
37385 _ACEOF
37386 cat confdefs.h >>conftest.$ac_ext
37387 cat >>conftest.$ac_ext <<_ACEOF
37388 /* end confdefs.h. */
37389 $ac_includes_default
37390 #include <sys/select.h>
37391 _ACEOF
37392 rm -f conftest.$ac_objext
37393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37394 (eval $ac_compile) 2>conftest.er1
37395 ac_status=$?
37396 grep -v '^ *+' conftest.er1 >conftest.err
37397 rm -f conftest.er1
37398 cat conftest.err >&5
37399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37400 (exit $ac_status); } &&
37401 { ac_try='test -z "$ac_cxx_werror_flag"
37402 || test ! -s conftest.err'
37403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37404 (eval $ac_try) 2>&5
37405 ac_status=$?
37406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37407 (exit $ac_status); }; } &&
37408 { ac_try='test -s conftest.$ac_objext'
37409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37410 (eval $ac_try) 2>&5
37411 ac_status=$?
37412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37413 (exit $ac_status); }; }; then
37414 ac_header_compiler=yes
37415 else
37416 echo "$as_me: failed program was:" >&5
37417 sed 's/^/| /' conftest.$ac_ext >&5
37418
37419 ac_header_compiler=no
37420 fi
37421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37423 echo "${ECHO_T}$ac_header_compiler" >&6
37424
37425 # Is the header present?
37426 echo "$as_me:$LINENO: checking sys/select.h presence" >&5
37427 echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6
37428 cat >conftest.$ac_ext <<_ACEOF
37429 /* confdefs.h. */
37430 _ACEOF
37431 cat confdefs.h >>conftest.$ac_ext
37432 cat >>conftest.$ac_ext <<_ACEOF
37433 /* end confdefs.h. */
37434 #include <sys/select.h>
37435 _ACEOF
37436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37437 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37438 ac_status=$?
37439 grep -v '^ *+' conftest.er1 >conftest.err
37440 rm -f conftest.er1
37441 cat conftest.err >&5
37442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37443 (exit $ac_status); } >/dev/null; then
37444 if test -s conftest.err; then
37445 ac_cpp_err=$ac_cxx_preproc_warn_flag
37446 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
37447 else
37448 ac_cpp_err=
37449 fi
37450 else
37451 ac_cpp_err=yes
37452 fi
37453 if test -z "$ac_cpp_err"; then
37454 ac_header_preproc=yes
37455 else
37456 echo "$as_me: failed program was:" >&5
37457 sed 's/^/| /' conftest.$ac_ext >&5
37458
37459 ac_header_preproc=no
37460 fi
37461 rm -f conftest.err conftest.$ac_ext
37462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37463 echo "${ECHO_T}$ac_header_preproc" >&6
37464
37465 # So? What about this header?
37466 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37467 yes:no: )
37468 { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5
37469 echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37470 { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5
37471 echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;}
37472 ac_header_preproc=yes
37473 ;;
37474 no:yes:* )
37475 { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5
37476 echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;}
37477 { echo "$as_me:$LINENO: WARNING: sys/select.h: check for missing prerequisite headers?" >&5
37478 echo "$as_me: WARNING: sys/select.h: check for missing prerequisite headers?" >&2;}
37479 { echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5
37480 echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;}
37481 { echo "$as_me:$LINENO: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&5
37482 echo "$as_me: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&2;}
37483 { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5
37484 echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;}
37485 { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5
37486 echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;}
37487 (
37488 cat <<\_ASBOX
37489 ## ----------------------------- ##
37490 ## Report this to the dx lists. ##
37491 ## ----------------------------- ##
37492 _ASBOX
37493 ) |
37494 sed "s/^/$as_me: WARNING: /" >&2
37495 ;;
37496 esac
37497 echo "$as_me:$LINENO: checking for sys/select.h" >&5
37498 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6
37499 if test "${ac_cv_header_sys_select_h+set}" = set; then
37500 echo $ECHO_N "(cached) $ECHO_C" >&6
37501 else
37502 ac_cv_header_sys_select_h=$ac_header_preproc
37503 fi
37504 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
37505 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6
37506
37507 fi
37508 if test $ac_cv_header_sys_select_h = yes; then
28573 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
28574 if test "x$ac_cv_header_sys_select_h" = xyes; then :
3750928575 echo "#include <sys/select.h>" >> selectHdrs.h
3751028576 fi
3751128577
3751828584
3751928585 for try in sellist fd_set int void
3752028586 do
37521 cat >conftest.$ac_ext <<_ACEOF
37522 /* confdefs.h. */
37523 _ACEOF
37524 cat confdefs.h >>conftest.$ac_ext
37525 cat >>conftest.$ac_ext <<_ACEOF
28587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3752628588 /* end confdefs.h. */
3752728589
3752828590 #include <stdio.h>
3753828600 return 0;
3753928601 }
3754028602 _ACEOF
37541 rm -f conftest.$ac_objext conftest$ac_exeext
37542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37543 (eval $ac_link) 2>conftest.er1
37544 ac_status=$?
37545 grep -v '^ *+' conftest.er1 >conftest.err
37546 rm -f conftest.er1
37547 cat conftest.err >&5
37548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37549 (exit $ac_status); } &&
37550 { ac_try='test -z "$ac_c_werror_flag"
37551 || test ! -s conftest.err'
37552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37553 (eval $ac_try) 2>&5
37554 ac_status=$?
37555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37556 (exit $ac_status); }; } &&
37557 { ac_try='test -s conftest$ac_exeext'
37558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37559 (eval $ac_try) 2>&5
37560 ac_status=$?
37561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37562 (exit $ac_status); }; }; then
28603 if ac_fn_c_try_link "$LINENO"; then :
3756328604
3756428605 select_argtype=$try
3756528606
3756828609 _ACEOF
3756928610
3757028611
37571 else
37572 echo "$as_me: failed program was:" >&5
37573 sed 's/^/| /' conftest.$ac_ext >&5
37574
37575 fi
37576 rm -f conftest.err conftest.$ac_objext \
37577 conftest$ac_exeext conftest.$ac_ext
28612 fi
28613 rm -f core conftest.err conftest.$ac_objext \
28614 conftest$ac_exeext conftest.$ac_ext
3757828615 if test ! -z "$select_argtype" ; then
3757928616 break
3758028617 fi
3759228629 socket_argtype=
3759328630 cat > socketHdrs.h << EOF
3759428631 EOF
37595 if test "${ac_cv_header_unistd_h+set}" = set; then
37596 echo "$as_me:$LINENO: checking for unistd.h" >&5
37597 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6
37598 if test "${ac_cv_header_unistd_h+set}" = set; then
37599 echo $ECHO_N "(cached) $ECHO_C" >&6
37600 fi
37601 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5
37602 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6
37603 else
37604 # Is the header compilable?
37605 echo "$as_me:$LINENO: checking unistd.h usability" >&5
37606 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6
37607 cat >conftest.$ac_ext <<_ACEOF
37608 /* confdefs.h. */
37609 _ACEOF
37610 cat confdefs.h >>conftest.$ac_ext
37611 cat >>conftest.$ac_ext <<_ACEOF
37612 /* end confdefs.h. */
37613 $ac_includes_default
37614 #include <unistd.h>
37615 _ACEOF
37616 rm -f conftest.$ac_objext
37617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37618 (eval $ac_compile) 2>conftest.er1
37619 ac_status=$?
37620 grep -v '^ *+' conftest.er1 >conftest.err
37621 rm -f conftest.er1
37622 cat conftest.err >&5
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); } &&
37625 { ac_try='test -z "$ac_c_werror_flag"
37626 || test ! -s conftest.err'
37627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37628 (eval $ac_try) 2>&5
37629 ac_status=$?
37630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37631 (exit $ac_status); }; } &&
37632 { ac_try='test -s conftest.$ac_objext'
37633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37634 (eval $ac_try) 2>&5
37635 ac_status=$?
37636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37637 (exit $ac_status); }; }; then
37638 ac_header_compiler=yes
37639 else
37640 echo "$as_me: failed program was:" >&5
37641 sed 's/^/| /' conftest.$ac_ext >&5
37642
37643 ac_header_compiler=no
37644 fi
37645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37646 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37647 echo "${ECHO_T}$ac_header_compiler" >&6
37648
37649 # Is the header present?
37650 echo "$as_me:$LINENO: checking unistd.h presence" >&5
37651 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6
37652 cat >conftest.$ac_ext <<_ACEOF
37653 /* confdefs.h. */
37654 _ACEOF
37655 cat confdefs.h >>conftest.$ac_ext
37656 cat >>conftest.$ac_ext <<_ACEOF
37657 /* end confdefs.h. */
37658 #include <unistd.h>
37659 _ACEOF
37660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37661 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37662 ac_status=$?
37663 grep -v '^ *+' conftest.er1 >conftest.err
37664 rm -f conftest.er1
37665 cat conftest.err >&5
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); } >/dev/null; then
37668 if test -s conftest.err; then
37669 ac_cpp_err=$ac_c_preproc_warn_flag
37670 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37671 else
37672 ac_cpp_err=
37673 fi
37674 else
37675 ac_cpp_err=yes
37676 fi
37677 if test -z "$ac_cpp_err"; then
37678 ac_header_preproc=yes
37679 else
37680 echo "$as_me: failed program was:" >&5
37681 sed 's/^/| /' conftest.$ac_ext >&5
37682
37683 ac_header_preproc=no
37684 fi
37685 rm -f conftest.err conftest.$ac_ext
37686 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37687 echo "${ECHO_T}$ac_header_preproc" >&6
37688
37689 # So? What about this header?
37690 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37691 yes:no: )
37692 { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5
37693 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37694 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5
37695 echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;}
37696 ac_header_preproc=yes
37697 ;;
37698 no:yes:* )
37699 { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5
37700 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;}
37701 { echo "$as_me:$LINENO: WARNING: unistd.h: check for missing prerequisite headers?" >&5
37702 echo "$as_me: WARNING: unistd.h: check for missing prerequisite headers?" >&2;}
37703 { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5
37704 echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;}
37705 { echo "$as_me:$LINENO: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&5
37706 echo "$as_me: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&2;}
37707 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5
37708 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;}
37709 { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5
37710 echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;}
37711 (
37712 cat <<\_ASBOX
37713 ## ----------------------------- ##
37714 ## Report this to the dx lists. ##
37715 ## ----------------------------- ##
37716 _ASBOX
37717 ) |
37718 sed "s/^/$as_me: WARNING: /" >&2
37719 ;;
37720 esac
37721 echo "$as_me:$LINENO: checking for unistd.h" >&5
37722 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6
37723 if test "${ac_cv_header_unistd_h+set}" = set; then
37724 echo $ECHO_N "(cached) $ECHO_C" >&6
37725 else
37726 ac_cv_header_unistd_h=$ac_header_preproc
37727 fi
37728 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5
37729 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6
37730
37731 fi
37732 if test $ac_cv_header_unistd_h = yes; then
28632 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
28633 if test "x$ac_cv_header_unistd_h" = xyes; then :
3773328634 echo "#include <unistd.h>" >> socketHdrs.h
3773428635 fi
3773528636
3773628637
37737 if test "${ac_cv_header_sys_types_h+set}" = set; then
37738 echo "$as_me:$LINENO: checking for sys/types.h" >&5
37739 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6
37740 if test "${ac_cv_header_sys_types_h+set}" = set; then
37741 echo $ECHO_N "(cached) $ECHO_C" >&6
37742 fi
37743 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5
37744 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6
37745 else
37746 # Is the header compilable?
37747 echo "$as_me:$LINENO: checking sys/types.h usability" >&5
37748 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6
37749 cat >conftest.$ac_ext <<_ACEOF
37750 /* confdefs.h. */
37751 _ACEOF
37752 cat confdefs.h >>conftest.$ac_ext
37753 cat >>conftest.$ac_ext <<_ACEOF
37754 /* end confdefs.h. */
37755 $ac_includes_default
37756 #include <sys/types.h>
37757 _ACEOF
37758 rm -f conftest.$ac_objext
37759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37760 (eval $ac_compile) 2>conftest.er1
37761 ac_status=$?
37762 grep -v '^ *+' conftest.er1 >conftest.err
37763 rm -f conftest.er1
37764 cat conftest.err >&5
37765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37766 (exit $ac_status); } &&
37767 { ac_try='test -z "$ac_c_werror_flag"
37768 || test ! -s conftest.err'
37769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37770 (eval $ac_try) 2>&5
37771 ac_status=$?
37772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37773 (exit $ac_status); }; } &&
37774 { ac_try='test -s conftest.$ac_objext'
37775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37776 (eval $ac_try) 2>&5
37777 ac_status=$?
37778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37779 (exit $ac_status); }; }; then
37780 ac_header_compiler=yes
37781 else
37782 echo "$as_me: failed program was:" >&5
37783 sed 's/^/| /' conftest.$ac_ext >&5
37784
37785 ac_header_compiler=no
37786 fi
37787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37788 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37789 echo "${ECHO_T}$ac_header_compiler" >&6
37790
37791 # Is the header present?
37792 echo "$as_me:$LINENO: checking sys/types.h presence" >&5
37793 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6
37794 cat >conftest.$ac_ext <<_ACEOF
37795 /* confdefs.h. */
37796 _ACEOF
37797 cat confdefs.h >>conftest.$ac_ext
37798 cat >>conftest.$ac_ext <<_ACEOF
37799 /* end confdefs.h. */
37800 #include <sys/types.h>
37801 _ACEOF
37802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37803 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37804 ac_status=$?
37805 grep -v '^ *+' conftest.er1 >conftest.err
37806 rm -f conftest.er1
37807 cat conftest.err >&5
37808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37809 (exit $ac_status); } >/dev/null; then
37810 if test -s conftest.err; then
37811 ac_cpp_err=$ac_c_preproc_warn_flag
37812 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37813 else
37814 ac_cpp_err=
37815 fi
37816 else
37817 ac_cpp_err=yes
37818 fi
37819 if test -z "$ac_cpp_err"; then
37820 ac_header_preproc=yes
37821 else
37822 echo "$as_me: failed program was:" >&5
37823 sed 's/^/| /' conftest.$ac_ext >&5
37824
37825 ac_header_preproc=no
37826 fi
37827 rm -f conftest.err conftest.$ac_ext
37828 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37829 echo "${ECHO_T}$ac_header_preproc" >&6
37830
37831 # So? What about this header?
37832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37833 yes:no: )
37834 { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5
37835 echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37836 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5
37837 echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;}
37838 ac_header_preproc=yes
37839 ;;
37840 no:yes:* )
37841 { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5
37842 echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;}
37843 { echo "$as_me:$LINENO: WARNING: sys/types.h: check for missing prerequisite headers?" >&5
37844 echo "$as_me: WARNING: sys/types.h: check for missing prerequisite headers?" >&2;}
37845 { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5
37846 echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;}
37847 { echo "$as_me:$LINENO: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&5
37848 echo "$as_me: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&2;}
37849 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5
37850 echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;}
37851 { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5
37852 echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;}
37853 (
37854 cat <<\_ASBOX
37855 ## ----------------------------- ##
37856 ## Report this to the dx lists. ##
37857 ## ----------------------------- ##
37858 _ASBOX
37859 ) |
37860 sed "s/^/$as_me: WARNING: /" >&2
37861 ;;
37862 esac
37863 echo "$as_me:$LINENO: checking for sys/types.h" >&5
37864 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6
37865 if test "${ac_cv_header_sys_types_h+set}" = set; then
37866 echo $ECHO_N "(cached) $ECHO_C" >&6
37867 else
37868 ac_cv_header_sys_types_h=$ac_header_preproc
37869 fi
37870 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5
37871 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6
37872
37873 fi
37874 if test $ac_cv_header_sys_types_h = yes; then
28638 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
28639 if test "x$ac_cv_header_sys_types_h" = xyes; then :
3787528640 echo "#include <sys/types.h>" >> socketHdrs.h
3787628641 fi
3787728642
3787828643
37879 if test "${ac_cv_header_sys_socket_h+set}" = set; then
37880 echo "$as_me:$LINENO: checking for sys/socket.h" >&5
37881 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6
37882 if test "${ac_cv_header_sys_socket_h+set}" = set; then
37883 echo $ECHO_N "(cached) $ECHO_C" >&6
37884 fi
37885 echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5
37886 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6
37887 else
37888 # Is the header compilable?
37889 echo "$as_me:$LINENO: checking sys/socket.h usability" >&5
37890 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6
37891 cat >conftest.$ac_ext <<_ACEOF
37892 /* confdefs.h. */
37893 _ACEOF
37894 cat confdefs.h >>conftest.$ac_ext
37895 cat >>conftest.$ac_ext <<_ACEOF
37896 /* end confdefs.h. */
37897 $ac_includes_default
37898 #include <sys/socket.h>
37899 _ACEOF
37900 rm -f conftest.$ac_objext
37901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37902 (eval $ac_compile) 2>conftest.er1
37903 ac_status=$?
37904 grep -v '^ *+' conftest.er1 >conftest.err
37905 rm -f conftest.er1
37906 cat conftest.err >&5
37907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37908 (exit $ac_status); } &&
37909 { ac_try='test -z "$ac_c_werror_flag"
37910 || test ! -s conftest.err'
37911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37912 (eval $ac_try) 2>&5
37913 ac_status=$?
37914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37915 (exit $ac_status); }; } &&
37916 { ac_try='test -s conftest.$ac_objext'
37917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37918 (eval $ac_try) 2>&5
37919 ac_status=$?
37920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37921 (exit $ac_status); }; }; then
37922 ac_header_compiler=yes
37923 else
37924 echo "$as_me: failed program was:" >&5
37925 sed 's/^/| /' conftest.$ac_ext >&5
37926
37927 ac_header_compiler=no
37928 fi
37929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37930 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37931 echo "${ECHO_T}$ac_header_compiler" >&6
37932
37933 # Is the header present?
37934 echo "$as_me:$LINENO: checking sys/socket.h presence" >&5
37935 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6
37936 cat >conftest.$ac_ext <<_ACEOF
37937 /* confdefs.h. */
37938 _ACEOF
37939 cat confdefs.h >>conftest.$ac_ext
37940 cat >>conftest.$ac_ext <<_ACEOF
37941 /* end confdefs.h. */
37942 #include <sys/socket.h>
37943 _ACEOF
37944 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37945 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37946 ac_status=$?
37947 grep -v '^ *+' conftest.er1 >conftest.err
37948 rm -f conftest.er1
37949 cat conftest.err >&5
37950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37951 (exit $ac_status); } >/dev/null; then
37952 if test -s conftest.err; then
37953 ac_cpp_err=$ac_c_preproc_warn_flag
37954 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37955 else
37956 ac_cpp_err=
37957 fi
37958 else
37959 ac_cpp_err=yes
37960 fi
37961 if test -z "$ac_cpp_err"; then
37962 ac_header_preproc=yes
37963 else
37964 echo "$as_me: failed program was:" >&5
37965 sed 's/^/| /' conftest.$ac_ext >&5
37966
37967 ac_header_preproc=no
37968 fi
37969 rm -f conftest.err conftest.$ac_ext
37970 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37971 echo "${ECHO_T}$ac_header_preproc" >&6
37972
37973 # So? What about this header?
37974 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37975 yes:no: )
37976 { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5
37977 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37978 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5
37979 echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;}
37980 ac_header_preproc=yes
37981 ;;
37982 no:yes:* )
37983 { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5
37984 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;}
37985 { echo "$as_me:$LINENO: WARNING: sys/socket.h: check for missing prerequisite headers?" >&5
37986 echo "$as_me: WARNING: sys/socket.h: check for missing prerequisite headers?" >&2;}
37987 { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5
37988 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;}
37989 { echo "$as_me:$LINENO: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&5
37990 echo "$as_me: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&2;}
37991 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5
37992 echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;}
37993 { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5
37994 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;}
37995 (
37996 cat <<\_ASBOX
37997 ## ----------------------------- ##
37998 ## Report this to the dx lists. ##
37999 ## ----------------------------- ##
38000 _ASBOX
38001 ) |
38002 sed "s/^/$as_me: WARNING: /" >&2
38003 ;;
38004 esac
38005 echo "$as_me:$LINENO: checking for sys/socket.h" >&5
38006 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6
38007 if test "${ac_cv_header_sys_socket_h+set}" = set; then
38008 echo $ECHO_N "(cached) $ECHO_C" >&6
38009 else
38010 ac_cv_header_sys_socket_h=$ac_header_preproc
38011 fi
38012 echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5
38013 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6
38014
38015 fi
38016 if test $ac_cv_header_sys_socket_h = yes; then
28644 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
28645 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
3801728646 echo "#include <sys/socket.h>" >> socketHdrs.h
3801828647 fi
3801928648
3802028649
3802128650 if test "$ARCH" = "intelnt" ; then
38022 if test "${ac_cv_header_winsock2_h+set}" = set; then
38023 echo "$as_me:$LINENO: checking for winsock2.h" >&5
38024 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6
38025 if test "${ac_cv_header_winsock2_h+set}" = set; then
38026 echo $ECHO_N "(cached) $ECHO_C" >&6
38027 fi
38028 echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5
38029 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6
38030 else
38031 # Is the header compilable?
38032 echo "$as_me:$LINENO: checking winsock2.h usability" >&5
38033 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6
38034 cat >conftest.$ac_ext <<_ACEOF
38035 /* confdefs.h. */
38036 _ACEOF
38037 cat confdefs.h >>conftest.$ac_ext
38038 cat >>conftest.$ac_ext <<_ACEOF
38039 /* end confdefs.h. */
38040 $ac_includes_default
38041 #include <winsock2.h>
38042 _ACEOF
38043 rm -f conftest.$ac_objext
38044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38045 (eval $ac_compile) 2>conftest.er1
38046 ac_status=$?
38047 grep -v '^ *+' conftest.er1 >conftest.err
38048 rm -f conftest.er1
38049 cat conftest.err >&5
38050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38051 (exit $ac_status); } &&
38052 { ac_try='test -z "$ac_c_werror_flag"
38053 || test ! -s conftest.err'
38054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38055 (eval $ac_try) 2>&5
38056 ac_status=$?
38057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38058 (exit $ac_status); }; } &&
38059 { ac_try='test -s conftest.$ac_objext'
38060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38061 (eval $ac_try) 2>&5
38062 ac_status=$?
38063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38064 (exit $ac_status); }; }; then
38065 ac_header_compiler=yes
38066 else
38067 echo "$as_me: failed program was:" >&5
38068 sed 's/^/| /' conftest.$ac_ext >&5
38069
38070 ac_header_compiler=no
38071 fi
38072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38074 echo "${ECHO_T}$ac_header_compiler" >&6
38075
38076 # Is the header present?
38077 echo "$as_me:$LINENO: checking winsock2.h presence" >&5
38078 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6
38079 cat >conftest.$ac_ext <<_ACEOF
38080 /* confdefs.h. */
38081 _ACEOF
38082 cat confdefs.h >>conftest.$ac_ext
38083 cat >>conftest.$ac_ext <<_ACEOF
38084 /* end confdefs.h. */
38085 #include <winsock2.h>
38086 _ACEOF
38087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38088 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38089 ac_status=$?
38090 grep -v '^ *+' conftest.er1 >conftest.err
38091 rm -f conftest.er1
38092 cat conftest.err >&5
38093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38094 (exit $ac_status); } >/dev/null; then
38095 if test -s conftest.err; then
38096 ac_cpp_err=$ac_c_preproc_warn_flag
38097 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38098 else
38099 ac_cpp_err=
38100 fi
38101 else
38102 ac_cpp_err=yes
38103 fi
38104 if test -z "$ac_cpp_err"; then
38105 ac_header_preproc=yes
38106 else
38107 echo "$as_me: failed program was:" >&5
38108 sed 's/^/| /' conftest.$ac_ext >&5
38109
38110 ac_header_preproc=no
38111 fi
38112 rm -f conftest.err conftest.$ac_ext
38113 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38114 echo "${ECHO_T}$ac_header_preproc" >&6
38115
38116 # So? What about this header?
38117 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38118 yes:no: )
38119 { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5
38120 echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
38121 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5
38122 echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;}
38123 ac_header_preproc=yes
38124 ;;
38125 no:yes:* )
38126 { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5
38127 echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;}
38128 { echo "$as_me:$LINENO: WARNING: winsock2.h: check for missing prerequisite headers?" >&5
38129 echo "$as_me: WARNING: winsock2.h: check for missing prerequisite headers?" >&2;}
38130 { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5
38131 echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;}
38132 { echo "$as_me:$LINENO: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&5
38133 echo "$as_me: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&2;}
38134 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5
38135 echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;}
38136 { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5
38137 echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;}
38138 (
38139 cat <<\_ASBOX
38140 ## ----------------------------- ##
38141 ## Report this to the dx lists. ##
38142 ## ----------------------------- ##
38143 _ASBOX
38144 ) |
38145 sed "s/^/$as_me: WARNING: /" >&2
38146 ;;
38147 esac
38148 echo "$as_me:$LINENO: checking for winsock2.h" >&5
38149 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6
38150 if test "${ac_cv_header_winsock2_h+set}" = set; then
38151 echo $ECHO_N "(cached) $ECHO_C" >&6
38152 else
38153 ac_cv_header_winsock2_h=$ac_header_preproc
38154 fi
38155 echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5
38156 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6
38157
38158 fi
38159 if test $ac_cv_header_winsock2_h = yes; then
28651 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
28652 if test "x$ac_cv_header_winsock2_h" = xyes; then :
3816028653 echo "#include <winsock2.h>" >> socketHdrs.h
3816128654 fi
3816228655
3816828661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3816928662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3817028663
38171 ac_ext=cc
28664 ac_ext=cpp
3817228665 ac_cpp='$CXXCPP $CPPFLAGS'
3817328666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3817428667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3817628669
3817728670 for try in socklen_t size_t int "unsigned int"
3817828671 do
38179 cat >conftest.$ac_ext <<_ACEOF
38180 /* confdefs.h. */
38181 _ACEOF
38182 cat confdefs.h >>conftest.$ac_ext
38183 cat >>conftest.$ac_ext <<_ACEOF
28672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3818428673 /* end confdefs.h. */
3818528674
3818628675 #include <stdio.h>
3819728686 return 0;
3819828687 }
3819928688 _ACEOF
38200 rm -f conftest.$ac_objext conftest$ac_exeext
38201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38202 (eval $ac_link) 2>conftest.er1
38203 ac_status=$?
38204 grep -v '^ *+' conftest.er1 >conftest.err
38205 rm -f conftest.er1
38206 cat conftest.err >&5
38207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38208 (exit $ac_status); } &&
38209 { ac_try='test -z "$ac_cxx_werror_flag"
38210 || test ! -s conftest.err'
38211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38212 (eval $ac_try) 2>&5
38213 ac_status=$?
38214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38215 (exit $ac_status); }; } &&
38216 { ac_try='test -s conftest$ac_exeext'
38217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38218 (eval $ac_try) 2>&5
38219 ac_status=$?
38220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38221 (exit $ac_status); }; }; then
28689 if ac_fn_cxx_try_link "$LINENO"; then :
3822228690
3822328691 socket_argtype=$try
3822428692
3822728695 _ACEOF
3822828696
3822928697
38230 else
38231 echo "$as_me: failed program was:" >&5
38232 sed 's/^/| /' conftest.$ac_ext >&5
38233
38234 fi
38235 rm -f conftest.err conftest.$ac_objext \
38236 conftest$ac_exeext conftest.$ac_ext
28698 fi
28699 rm -f core conftest.err conftest.$ac_objext \
28700 conftest$ac_exeext conftest.$ac_ext
3823728701 if test ! -z "$socket_argtype" ; then
3823828702 break
3823928703 fi
3824928713
3825028714
3825128715
38252 echo "$as_me:$LINENO: checking whether -lstdc++ is needed" >&5
38253 echo $ECHO_N "checking whether -lstdc++ is needed... $ECHO_C" >&6
28716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lstdc++ is needed" >&5
28717 $as_echo_n "checking whether -lstdc++ is needed... " >&6; }
3825428718 tmpLIBS=$LIBS
38255 if test "${ac_cv_requires_lstdcxx+set}" = set; then
38256 echo $ECHO_N "(cached) $ECHO_C" >&6
38257 else
38258
38259 ac_ext=cc
28719 if ${ac_cv_requires_lstdcxx+:} false; then :
28720 $as_echo_n "(cached) " >&6
28721 else
28722
28723 ac_ext=cpp
3826028724 ac_cpp='$CXXCPP $CPPFLAGS'
3826128725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3826228726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3826328727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3826428728
38265 cat >conftest.$ac_ext <<_ACEOF
38266 /* confdefs.h. */
38267 _ACEOF
38268 cat confdefs.h >>conftest.$ac_ext
38269 cat >>conftest.$ac_ext <<_ACEOF
28729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827028730 /* end confdefs.h. */
3827128731
3827228732 #ifdef HAVE_IOSTREAM
3828528745 return 0;
3828628746 }
3828728747 _ACEOF
38288 rm -f conftest.$ac_objext conftest$ac_exeext
38289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38290 (eval $ac_link) 2>conftest.er1
38291 ac_status=$?
38292 grep -v '^ *+' conftest.er1 >conftest.err
38293 rm -f conftest.er1
38294 cat conftest.err >&5
38295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38296 (exit $ac_status); } &&
38297 { ac_try='test -z "$ac_cxx_werror_flag"
38298 || test ! -s conftest.err'
38299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38300 (eval $ac_try) 2>&5
38301 ac_status=$?
38302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38303 (exit $ac_status); }; } &&
38304 { ac_try='test -s conftest$ac_exeext'
38305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38306 (eval $ac_try) 2>&5
38307 ac_status=$?
38308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38309 (exit $ac_status); }; }; then
28748 if ac_fn_cxx_try_link "$LINENO"; then :
3831028749 ac_cv_requires_lstdcxx="no"
3831128750 else
38312 echo "$as_me: failed program was:" >&5
38313 sed 's/^/| /' conftest.$ac_ext >&5
38314
3831528751
3831628752 LIBS="$LIBS -lstdc++"
38317 cat >conftest.$ac_ext <<_ACEOF
38318 /* confdefs.h. */
38319 _ACEOF
38320 cat confdefs.h >>conftest.$ac_ext
38321 cat >>conftest.$ac_ext <<_ACEOF
28753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3832228754 /* end confdefs.h. */
3832328755
3832428756 #ifdef HAVE_IOSTREAM
3833728769 return 0;
3833828770 }
3833928771 _ACEOF
38340 rm -f conftest.$ac_objext conftest$ac_exeext
38341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38342 (eval $ac_link) 2>conftest.er1
38343 ac_status=$?
38344 grep -v '^ *+' conftest.er1 >conftest.err
38345 rm -f conftest.er1
38346 cat conftest.err >&5
38347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38348 (exit $ac_status); } &&
38349 { ac_try='test -z "$ac_cxx_werror_flag"
38350 || test ! -s conftest.err'
38351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38352 (eval $ac_try) 2>&5
38353 ac_status=$?
38354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38355 (exit $ac_status); }; } &&
38356 { ac_try='test -s conftest$ac_exeext'
38357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38358 (eval $ac_try) 2>&5
38359 ac_status=$?
38360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38361 (exit $ac_status); }; }; then
28772 if ac_fn_cxx_try_link "$LINENO"; then :
3836228773 ac_cv_requires_lstdcxx="yes"
3836328774 else
38364 echo "$as_me: failed program was:" >&5
38365 sed 's/^/| /' conftest.$ac_ext >&5
38366
38367
38368 echo "$as_me:$LINENO: result: failed even with lstdc++" >&5
38369 echo "${ECHO_T}failed even with lstdc++" >&6
28775
28776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed even with lstdc++" >&5
28777 $as_echo "failed even with lstdc++" >&6; }
3837028778 exit 1
3837128779
3837228780
3837328781 fi
38374 rm -f conftest.err conftest.$ac_objext \
38375 conftest$ac_exeext conftest.$ac_ext
38376
38377
38378 fi
38379 rm -f conftest.err conftest.$ac_objext \
38380 conftest$ac_exeext conftest.$ac_ext
28782 rm -f core conftest.err conftest.$ac_objext \
28783 conftest$ac_exeext conftest.$ac_ext
28784
28785
28786 fi
28787 rm -f core conftest.err conftest.$ac_objext \
28788 conftest$ac_exeext conftest.$ac_ext
3838128789 ac_ext=c
3838228790 ac_cpp='$CPP $CPPFLAGS'
3838328791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3838728795
3838828796 fi
3838928797
38390 echo "$as_me:$LINENO: result: ${ac_cv_requires_lstdcxx}" >&5
38391 echo "${ECHO_T}${ac_cv_requires_lstdcxx}" >&6
28798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_requires_lstdcxx}" >&5
28799 $as_echo "${ac_cv_requires_lstdcxx}" >&6; }
3839228800
3839328801
3839428802 DX_GL_LINK_LIBS=" -lGL "
3839728805
3839828806 if test "$with_ddx" = 'yes' ; then
3839928807
38400 cat >>confdefs.h <<\_ACEOF
38401 #define DDX 1
38402 _ACEOF
28808 $as_echo "#define DDX 1" >>confdefs.h
3840328809
3840428810 fi
3840528811
3840628812 if test "$with_smp_linux" = 'yes' ; then
3840728813
38408 cat >>confdefs.h <<\_ACEOF
38409 #define ENABLE_SMP_LINUX 1
38410 _ACEOF
38411
38412 else
38413 cat >>confdefs.h <<\_ACEOF
38414 #define ENABLE_SMP_LINUX 0
38415 _ACEOF
38416
38417 fi
38418
38419 ac_config_files="$ac_config_files Makefile bin/Makefile bin/dx bin/mdf2c doc/Makefile fonts/Makefile help/Makefile html/Makefile html/images/Makefile html/pages/Makefile include/Makefile include/dx/Makefile lib/Makefile man/Makefile man/catl/Makefile man/manl/Makefile src/Makefile src/exec/Makefile src/exec/dpexec/Makefile src/exec/dpexec/local.mk src/exec/dxexec/Makefile src/exec/dxmods/Makefile src/exec/dxmods/local.mk src/exec/hwrender/Makefile src/exec/hwrender/gl/Makefile src/exec/hwrender/opengl/Makefile src/exec/hwrender/starbase/Makefile src/exec/hwrender/xgl/Makefile src/exec/libdx/Makefile src/exec/libdx/local.mk src/misc/Makefile src/misc/arch.mak src/uipp/Makefile src/uipp/base/Makefile src/uipp/dxl/Makefile src/uipp/dxui/Makefile src/uipp/dxuilib/Makefile src/uipp/dxuilib/local.mk src/uipp/java/Makefile src/uipp/java/dx/Makefile src/uipp/java/dx/protocol/Makefile src/uipp/java/dx/protocol/server/Makefile src/uipp/java/dx/runtime/Makefile src/uipp/java/layout/Makefile src/uipp/java/server/Makefile src/uipp/java/server/macros/Makefile src/uipp/java/server/dxserver.paths src/uipp/java/server/startserver src/uipp/java/dx/client/Makefile src/uipp/java/dx/net/Makefile src/uipp/mb/Makefile src/uipp/prompter/Makefile src/uipp/startup/Makefile src/uipp/tutor/Makefile src/uipp/ui/Makefile src/uipp/widgets/Makefile windows/Makefile"
28814 $as_echo "#define ENABLE_SMP_LINUX 1" >>confdefs.h
28815
28816 else
28817 $as_echo "#define ENABLE_SMP_LINUX 0" >>confdefs.h
28818
28819 fi
28820
28821 ac_config_files="$ac_config_files Makefile bin/Makefile bin/dx bin/mdf2c doc/Makefile fonts/Makefile help/Makefile html/Makefile html/images/Makefile html/pages/Makefile include/Makefile include/dx/Makefile lib/Makefile man/Makefile man/catl/Makefile man/manl/Makefile src/Makefile src/exec/Makefile src/exec/dpexec/Makefile src/exec/dpexec/local.mk src/exec/dxexec/Makefile src/exec/dxmods/Makefile src/exec/dxmods/local.mk src/exec/hwrender/Makefile src/exec/hwrender/gl/Makefile src/exec/hwrender/opengl/Makefile src/exec/hwrender/starbase/Makefile src/exec/hwrender/xgl/Makefile src/exec/libdx/Makefile src/exec/libdx/local.mk src/misc/Makefile src/misc/arch.mak src/uipp/Makefile src/uipp/base/Makefile src/uipp/dxl/Makefile src/uipp/dxui/Makefile src/uipp/dxuilib/Makefile src/uipp/dxuilib/local.mk src/uipp/java/Makefile src/uipp/java/dx/Makefile src/uipp/java/dx/protocol/Makefile src/uipp/java/dx/protocol/server/Makefile src/uipp/java/dx/runtime/Makefile src/uipp/java/layout/Makefile src/uipp/java/server/Makefile src/uipp/java/server/macros/Makefile src/uipp/java/server/dxserver.paths src/uipp/java/server/startserver src/uipp/java/dx/client/Makefile src/uipp/java/dx/net/Makefile src/uipp/mb/Makefile src/uipp/prompter/Makefile src/uipp/startup/Makefile src/uipp/tutor/Makefile src/uipp/ui/Makefile src/uipp/widgets/Makefile windows/Makefile"
3842028822
3842128823 cat >confcache <<\_ACEOF
3842228824 # This file is a shell script that caches the results of configure
3843628838
3843728839 # The following way of writing the cache mishandles newlines in values,
3843828840 # but we know of no workaround that is simple, portable, and efficient.
38439 # So, don't put newlines in cache variables' values.
28841 # So, we kill variables containing newlines.
3844028842 # Ultrix sh set writes to stderr and can't be redirected directly,
3844128843 # and sets the high bit in the cache file unless we assign to the vars.
38442 {
28844 (
28845 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
28846 eval ac_val=\$$ac_var
28847 case $ac_val in #(
28848 *${as_nl}*)
28849 case $ac_var in #(
28850 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
28851 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
28852 esac
28853 case $ac_var in #(
28854 _ | IFS | as_nl) ;; #(
28855 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
28856 *) { eval $ac_var=; unset $ac_var;} ;;
28857 esac ;;
28858 esac
28859 done
28860
3844328861 (set) 2>&1 |
38444 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38445 *ac_space=\ *)
38446 # `set' does not quote correctly, so add quotes (double-quote
38447 # substitution turns \\\\ into \\, and sed turns \\ into \).
28862 case $as_nl`(ac_space=' '; set) 2>&1` in #(
28863 *${as_nl}ac_space=\ *)
28864 # `set' does not quote correctly, so add quotes: double-quote
28865 # substitution turns \\\\ into \\, and sed turns \\ into \.
3844828866 sed -n \
3844928867 "s/'/'\\\\''/g;
3845028868 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38451 ;;
28869 ;; #(
3845228870 *)
3845328871 # `set' quotes correctly as required by POSIX, so do not add quotes.
38454 sed -n \
38455 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28872 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3845628873 ;;
38457 esac;
38458 } |
28874 esac |
28875 sort
28876 ) |
3845928877 sed '
28878 /^ac_cv_env_/b end
3846028879 t clear
38461 : clear
28880 :clear
3846228881 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3846328882 t end
38464 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38465 : end' >>confcache
38466 if diff $cache_file confcache >/dev/null 2>&1; then :; else
38467 if test -w $cache_file; then
38468 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38469 cat confcache >$cache_file
28883 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28884 :end' >>confcache
28885 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
28886 if test -w "$cache_file"; then
28887 if test "x$cache_file" != "x/dev/null"; then
28888 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
28889 $as_echo "$as_me: updating cache $cache_file" >&6;}
28890 if test ! -f "$cache_file" || test -h "$cache_file"; then
28891 cat confcache >"$cache_file"
28892 else
28893 case $cache_file in #(
28894 */* | ?:*)
28895 mv -f confcache "$cache_file"$$ &&
28896 mv -f "$cache_file"$$ "$cache_file" ;; #(
28897 *)
28898 mv -f confcache "$cache_file" ;;
28899 esac
28900 fi
28901 fi
3847028902 else
38471 echo "not updating unwritable cache $cache_file"
28903 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
28904 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3847228905 fi
3847328906 fi
3847428907 rm -f confcache
3847728910 # Let make expand exec_prefix.
3847828911 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3847928912
38480 # VPATH may cause trouble with some makes, so we remove $(srcdir),
38481 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
38482 # trailing colons and then remove the whole line if VPATH becomes empty
38483 # (actually we leave an empty line to preserve line numbers).
38484 if test "x$srcdir" = x.; then
38485 ac_vpsub='/^[ ]*VPATH[ ]*=/{
38486 s/:*\$(srcdir):*/:/;
38487 s/:*\${srcdir}:*/:/;
38488 s/:*@srcdir@:*/:/;
38489 s/^\([^=]*=[ ]*\):*/\1/;
38490 s/:*$//;
38491 s/^[^=]*=[ ]*$//;
38492 }'
38493 fi
38494
3849528913 DEFS=-DHAVE_CONFIG_H
3849628914
3849728915 ac_libobjs=
3849828916 ac_ltlibobjs=
28917 U=
3849928918 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3850028919 # 1. Remove the extension, and $U if already installed.
38501 ac_i=`echo "$ac_i" |
38502 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
38503 # 2. Add them.
38504 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
38505 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
28920 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
28921 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
28922 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
28923 # will be set to the directory where LIBOBJS objects are built.
28924 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
28925 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3850628926 done
3850728927 LIBOBJS=$ac_libobjs
3850828928
3851028930
3851128931
3851228932 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
38513 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
38514 Usually this means the macro was only invoked conditionally." >&5
38515 echo "$as_me: error: conditional \"AMDEP\" was never defined.
38516 Usually this means the macro was only invoked conditionally." >&2;}
38517 { (exit 1); exit 1; }; }
28933 as_fn_error $? "conditional \"AMDEP\" was never defined.
28934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3851828935 fi
3851928936 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
38520 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
38521 Usually this means the macro was only invoked conditionally." >&5
38522 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
38523 Usually this means the macro was only invoked conditionally." >&2;}
38524 { (exit 1); exit 1; }; }
28937 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
28938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3852528939 fi
3852628940 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
38527 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
38528 Usually this means the macro was only invoked conditionally." >&5
38529 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
38530 Usually this means the macro was only invoked conditionally." >&2;}
38531 { (exit 1); exit 1; }; }
28941 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
28942 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3853228943 fi
3853328944 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
38534 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
38535 Usually this means the macro was only invoked conditionally." >&5
38536 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
38537 Usually this means the macro was only invoked conditionally." >&2;}
38538 { (exit 1); exit 1; }; }
28945 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
28946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3853928947 fi
3854028948 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
38541 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
38542 Usually this means the macro was only invoked conditionally." >&5
38543 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
38544 Usually this means the macro was only invoked conditionally." >&2;}
38545 { (exit 1); exit 1; }; }
28949 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
28950 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3854628951 fi
3854728952 if test -z "${WITH_BUILDLIBDX_TRUE}" && test -z "${WITH_BUILDLIBDX_FALSE}"; then
38548 { { echo "$as_me:$LINENO: error: conditional \"WITH_BUILDLIBDX\" was never defined.
38549 Usually this means the macro was only invoked conditionally." >&5
38550 echo "$as_me: error: conditional \"WITH_BUILDLIBDX\" was never defined.
38551 Usually this means the macro was only invoked conditionally." >&2;}
38552 { (exit 1); exit 1; }; }
28953 as_fn_error $? "conditional \"WITH_BUILDLIBDX\" was never defined.
28954 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3855328955 fi
3855428956 if test -z "${WITH_INSTALLHTML_TRUE}" && test -z "${WITH_INSTALLHTML_FALSE}"; then
38555 { { echo "$as_me:$LINENO: error: conditional \"WITH_INSTALLHTML\" was never defined.
38556 Usually this means the macro was only invoked conditionally." >&5
38557 echo "$as_me: error: conditional \"WITH_INSTALLHTML\" was never defined.
38558 Usually this means the macro was only invoked conditionally." >&2;}
38559 { (exit 1); exit 1; }; }
38560 fi
38561
38562 : ${CONFIG_STATUS=./config.status}
28957 as_fn_error $? "conditional \"WITH_INSTALLHTML\" was never defined.
28958 Usually this means the macro was only invoked conditionally." "$LINENO" 5
28959 fi
28960
28961
28962 : "${CONFIG_STATUS=./config.status}"
28963 ac_write_fail=0
3856328964 ac_clean_files_save=$ac_clean_files
3856428965 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
38565 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
38566 echo "$as_me: creating $CONFIG_STATUS" >&6;}
38567 cat >$CONFIG_STATUS <<_ACEOF
28966 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
28967 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
28968 as_write_fail=0
28969 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3856828970 #! $SHELL
3856928971 # Generated by $as_me.
3857028972 # Run this file to recreate the current configuration.
3857428976 debug=false
3857528977 ac_cs_recheck=false
3857628978 ac_cs_silent=false
28979
3857728980 SHELL=\${CONFIG_SHELL-$SHELL}
38578 _ACEOF
38579
38580 cat >>$CONFIG_STATUS <<\_ACEOF
38581 ## --------------------- ##
38582 ## M4sh Initialization. ##
38583 ## --------------------- ##
38584
38585 # Be Bourne compatible
38586 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
28981 export SHELL
28982 _ASEOF
28983 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
28984 ## -------------------- ##
28985 ## M4sh Initialization. ##
28986 ## -------------------- ##
28987
28988 # Be more Bourne compatible
28989 DUALCASE=1; export DUALCASE # for MKS sh
28990 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3858728991 emulate sh
3858828992 NULLCMD=:
38589 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28993 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3859028994 # is contrary to our usage. Disable this feature.
3859128995 alias -g '${1+"$@"}'='"$@"'
38592 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
38593 set -o posix
38594 fi
38595 DUALCASE=1; export DUALCASE # for MKS sh
38596
38597 # Support unset when possible.
38598 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
38599 as_unset=unset
38600 else
38601 as_unset=false
38602 fi
38603
38604
38605 # Work around bugs in pre-3.0 UWIN ksh.
38606 $as_unset ENV MAIL MAILPATH
28996 setopt NO_GLOB_SUBST
28997 else
28998 case `(set -o) 2>/dev/null` in #(
28999 *posix*) :
29000 set -o posix ;; #(
29001 *) :
29002 ;;
29003 esac
29004 fi
29005
29006
29007 as_nl='
29008 '
29009 export as_nl
29010 # Printing a long string crashes Solaris 7 /usr/bin/printf.
29011 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
29012 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
29013 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
29014 # Prefer a ksh shell builtin over an external printf program on Solaris,
29015 # but without wasting forks for bash or zsh.
29016 if test -z "$BASH_VERSION$ZSH_VERSION" \
29017 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
29018 as_echo='print -r --'
29019 as_echo_n='print -rn --'
29020 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
29021 as_echo='printf %s\n'
29022 as_echo_n='printf %s'
29023 else
29024 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
29025 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
29026 as_echo_n='/usr/ucb/echo -n'
29027 else
29028 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
29029 as_echo_n_body='eval
29030 arg=$1;
29031 case $arg in #(
29032 *"$as_nl"*)
29033 expr "X$arg" : "X\\(.*\\)$as_nl";
29034 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
29035 esac;
29036 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
29037 '
29038 export as_echo_n_body
29039 as_echo_n='sh -c $as_echo_n_body as_echo'
29040 fi
29041 export as_echo_body
29042 as_echo='sh -c $as_echo_body as_echo'
29043 fi
29044
29045 # The user is always right.
29046 if test "${PATH_SEPARATOR+set}" != set; then
29047 PATH_SEPARATOR=:
29048 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
29049 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
29050 PATH_SEPARATOR=';'
29051 }
29052 fi
29053
29054
29055 # IFS
29056 # We need space, tab and new line, in precisely that order. Quoting is
29057 # there to prevent editors from complaining about space-tab.
29058 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
29059 # splitting by setting IFS to empty value.)
29060 IFS=" "" $as_nl"
29061
29062 # Find who we are. Look in the path if we contain no directory separator.
29063 as_myself=
29064 case $0 in #((
29065 *[\\/]* ) as_myself=$0 ;;
29066 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29067 for as_dir in $PATH
29068 do
29069 IFS=$as_save_IFS
29070 test -z "$as_dir" && as_dir=.
29071 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
29072 done
29073 IFS=$as_save_IFS
29074
29075 ;;
29076 esac
29077 # We did not find ourselves, most probably we were run as `sh COMMAND'
29078 # in which case we are not to be found in the path.
29079 if test "x$as_myself" = x; then
29080 as_myself=$0
29081 fi
29082 if test ! -f "$as_myself"; then
29083 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
29084 exit 1
29085 fi
29086
29087 # Unset variables that we do not need and which cause bugs (e.g. in
29088 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
29089 # suppresses any "Segmentation fault" message there. '((' could
29090 # trigger a bug in pdksh 5.2.14.
29091 for as_var in BASH_ENV ENV MAIL MAILPATH
29092 do eval test x\${$as_var+set} = xset \
29093 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
29094 done
3860729095 PS1='$ '
3860829096 PS2='> '
3860929097 PS4='+ '
3861029098
3861129099 # NLS nuisances.
38612 for as_var in \
38613 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
38614 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
38615 LC_TELEPHONE LC_TIME
38616 do
38617 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
38618 eval $as_var=C; export $as_var
38619 else
38620 $as_unset $as_var
29100 LC_ALL=C
29101 export LC_ALL
29102 LANGUAGE=C
29103 export LANGUAGE
29104
29105 # CDPATH.
29106 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
29107
29108
29109 # as_fn_error STATUS ERROR [LINENO LOG_FD]
29110 # ----------------------------------------
29111 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
29112 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
29113 # script with STATUS, using 1 if that was 0.
29114 as_fn_error ()
29115 {
29116 as_status=$1; test $as_status -eq 0 && as_status=1
29117 if test "$4"; then
29118 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
29119 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3862129120 fi
38622 done
38623
38624 # Required to use basename.
38625 if expr a : '\(a\)' >/dev/null 2>&1; then
29121 $as_echo "$as_me: error: $2" >&2
29122 as_fn_exit $as_status
29123 } # as_fn_error
29124
29125
29126 # as_fn_set_status STATUS
29127 # -----------------------
29128 # Set $? to STATUS, without forking.
29129 as_fn_set_status ()
29130 {
29131 return $1
29132 } # as_fn_set_status
29133
29134 # as_fn_exit STATUS
29135 # -----------------
29136 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
29137 as_fn_exit ()
29138 {
29139 set +e
29140 as_fn_set_status $1
29141 exit $1
29142 } # as_fn_exit
29143
29144 # as_fn_unset VAR
29145 # ---------------
29146 # Portably unset VAR.
29147 as_fn_unset ()
29148 {
29149 { eval $1=; unset $1;}
29150 }
29151 as_unset=as_fn_unset
29152 # as_fn_append VAR VALUE
29153 # ----------------------
29154 # Append the text in VALUE to the end of the definition contained in VAR. Take
29155 # advantage of any shell optimizations that allow amortized linear growth over
29156 # repeated appends, instead of the typical quadratic growth present in naive
29157 # implementations.
29158 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
29159 eval 'as_fn_append ()
29160 {
29161 eval $1+=\$2
29162 }'
29163 else
29164 as_fn_append ()
29165 {
29166 eval $1=\$$1\$2
29167 }
29168 fi # as_fn_append
29169
29170 # as_fn_arith ARG...
29171 # ------------------
29172 # Perform arithmetic evaluation on the ARGs, and store the result in the
29173 # global $as_val. Take advantage of shells that can avoid forks. The arguments
29174 # must be portable across $(()) and expr.
29175 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
29176 eval 'as_fn_arith ()
29177 {
29178 as_val=$(( $* ))
29179 }'
29180 else
29181 as_fn_arith ()
29182 {
29183 as_val=`expr "$@" || test $? -eq 1`
29184 }
29185 fi # as_fn_arith
29186
29187
29188 if expr a : '\(a\)' >/dev/null 2>&1 &&
29189 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3862629190 as_expr=expr
3862729191 else
3862829192 as_expr=false
3862929193 fi
3863029194
38631 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
29195 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3863229196 as_basename=basename
3863329197 else
3863429198 as_basename=false
3863529199 fi
3863629200
38637
38638 # Name of the executable.
38639 as_me=`$as_basename "$0" ||
29201 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
29202 as_dirname=dirname
29203 else
29204 as_dirname=false
29205 fi
29206
29207 as_me=`$as_basename -- "$0" ||
3864029208 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3864129209 X"$0" : 'X\(//\)$' \| \
38642 X"$0" : 'X\(/\)$' \| \
38643 . : '\(.\)' 2>/dev/null ||
38644 echo X/"$0" |
38645 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
38646 /^X\/\(\/\/\)$/{ s//\1/; q; }
38647 /^X\/\(\/\).*/{ s//\1/; q; }
38648 s/.*/./; q'`
38649
38650
38651 # PATH needs CR, and LINENO needs CR and PATH.
29210 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
29211 $as_echo X/"$0" |
29212 sed '/^.*\/\([^/][^/]*\)\/*$/{
29213 s//\1/
29214 q
29215 }
29216 /^X\/\(\/\/\)$/{
29217 s//\1/
29218 q
29219 }
29220 /^X\/\(\/\).*/{
29221 s//\1/
29222 q
29223 }
29224 s/.*/./; q'`
29225
3865229226 # Avoid depending upon Character Ranges.
3865329227 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3865429228 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3865629230 as_cr_digits='0123456789'
3865729231 as_cr_alnum=$as_cr_Letters$as_cr_digits
3865829232
38659 # The user is always right.
38660 if test "${PATH_SEPARATOR+set}" != set; then
38661 echo "#! /bin/sh" >conf$$.sh
38662 echo "exit 0" >>conf$$.sh
38663 chmod +x conf$$.sh
38664 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
38665 PATH_SEPARATOR=';'
29233 ECHO_C= ECHO_N= ECHO_T=
29234 case `echo -n x` in #(((((
29235 -n*)
29236 case `echo 'xy\c'` in
29237 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
29238 xy) ECHO_C='\c';;
29239 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
29240 ECHO_T=' ';;
29241 esac;;
29242 *)
29243 ECHO_N='-n';;
29244 esac
29245
29246 rm -f conf$$ conf$$.exe conf$$.file
29247 if test -d conf$$.dir; then
29248 rm -f conf$$.dir/conf$$.file
29249 else
29250 rm -f conf$$.dir
29251 mkdir conf$$.dir 2>/dev/null
29252 fi
29253 if (echo >conf$$.file) 2>/dev/null; then
29254 if ln -s conf$$.file conf$$ 2>/dev/null; then
29255 as_ln_s='ln -s'
29256 # ... but there are two gotchas:
29257 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
29258 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
29259 # In both cases, we have to default to `cp -pR'.
29260 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
29261 as_ln_s='cp -pR'
29262 elif ln conf$$.file conf$$ 2>/dev/null; then
29263 as_ln_s=ln
3866629264 else
38667 PATH_SEPARATOR=:
29265 as_ln_s='cp -pR'
3866829266 fi
38669 rm -f conf$$.sh
38670 fi
38671
38672
38673 as_lineno_1=$LINENO
38674 as_lineno_2=$LINENO
38675 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
38676 test "x$as_lineno_1" != "x$as_lineno_2" &&
38677 test "x$as_lineno_3" = "x$as_lineno_2" || {
38678 # Find who we are. Look in the path if we contain no path at all
38679 # relative or not.
38680 case $0 in
38681 *[\\/]* ) as_myself=$0 ;;
38682 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38683 for as_dir in $PATH
38684 do
38685 IFS=$as_save_IFS
38686 test -z "$as_dir" && as_dir=.
38687 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
38688 done
38689
38690 ;;
29267 else
29268 as_ln_s='cp -pR'
29269 fi
29270 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
29271 rmdir conf$$.dir 2>/dev/null
29272
29273
29274 # as_fn_mkdir_p
29275 # -------------
29276 # Create "$as_dir" as a directory, including parents if necessary.
29277 as_fn_mkdir_p ()
29278 {
29279
29280 case $as_dir in #(
29281 -*) as_dir=./$as_dir;;
3869129282 esac
38692 # We did not find ourselves, most probably we were run as `sh COMMAND'
38693 # in which case we are not to be found in the path.
38694 if test "x$as_myself" = x; then
38695 as_myself=$0
38696 fi
38697 if test ! -f "$as_myself"; then
38698 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
38699 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
38700 { (exit 1); exit 1; }; }
38701 fi
38702 case $CONFIG_SHELL in
38703 '')
38704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38705 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
38706 do
38707 IFS=$as_save_IFS
38708 test -z "$as_dir" && as_dir=.
38709 for as_base in sh bash ksh sh5; do
38710 case $as_dir in
38711 /*)
38712 if ("$as_dir/$as_base" -c '
38713 as_lineno_1=$LINENO
38714 as_lineno_2=$LINENO
38715 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
38716 test "x$as_lineno_1" != "x$as_lineno_2" &&
38717 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
38718 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
38719 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
38720 CONFIG_SHELL=$as_dir/$as_base
38721 export CONFIG_SHELL
38722 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
38723 fi;;
38724 esac
38725 done
38726 done
38727 ;;
38728 esac
38729
38730 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
38731 # uniformly replaced by the line number. The first 'sed' inserts a
38732 # line-number line before each line; the second 'sed' does the real
38733 # work. The second script uses 'N' to pair each line-number line
38734 # with the numbered line, and appends trailing '-' during
38735 # substitution so that $LINENO is not a special case at line end.
38736 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
38737 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
38738 sed '=' <$as_myself |
38739 sed '
38740 N
38741 s,$,-,
38742 : loop
38743 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
38744 t loop
38745 s,-$,,
38746 s,^['$as_cr_digits']*\n,,
38747 ' >$as_me.lineno &&
38748 chmod +x $as_me.lineno ||
38749 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
38750 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
38751 { (exit 1); exit 1; }; }
38752
38753 # Don't try to exec as it changes $[0], causing all sort of problems
38754 # (the dirname of $[0] is not the place where we might find the
38755 # original and so on. Autoconf is especially sensible to this).
38756 . ./$as_me.lineno
38757 # Exit status is that of the last command.
38758 exit
38759 }
38760
38761
38762 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
38763 *c*,-n*) ECHO_N= ECHO_C='
38764 ' ECHO_T=' ' ;;
38765 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
38766 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
38767 esac
38768
38769 if expr a : '\(a\)' >/dev/null 2>&1; then
38770 as_expr=expr
38771 else
38772 as_expr=false
38773 fi
38774
38775 rm -f conf$$ conf$$.exe conf$$.file
38776 echo >conf$$.file
38777 if ln -s conf$$.file conf$$ 2>/dev/null; then
38778 # We could just check for DJGPP; but this test a) works b) is more generic
38779 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
38780 if test -f conf$$.exe; then
38781 # Don't use ln at all; we don't have any links
38782 as_ln_s='cp -p'
38783 else
38784 as_ln_s='ln -s'
38785 fi
38786 elif ln conf$$.file conf$$ 2>/dev/null; then
38787 as_ln_s=ln
38788 else
38789 as_ln_s='cp -p'
38790 fi
38791 rm -f conf$$ conf$$.exe conf$$.file
38792
29283 test -d "$as_dir" || eval $as_mkdir_p || {
29284 as_dirs=
29285 while :; do
29286 case $as_dir in #(
29287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
29288 *) as_qdir=$as_dir;;
29289 esac
29290 as_dirs="'$as_qdir' $as_dirs"
29291 as_dir=`$as_dirname -- "$as_dir" ||
29292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29293 X"$as_dir" : 'X\(//\)[^/]' \| \
29294 X"$as_dir" : 'X\(//\)$' \| \
29295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
29296 $as_echo X"$as_dir" |
29297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29298 s//\1/
29299 q
29300 }
29301 /^X\(\/\/\)[^/].*/{
29302 s//\1/
29303 q
29304 }
29305 /^X\(\/\/\)$/{
29306 s//\1/
29307 q
29308 }
29309 /^X\(\/\).*/{
29310 s//\1/
29311 q
29312 }
29313 s/.*/./; q'`
29314 test -d "$as_dir" && break
29315 done
29316 test -z "$as_dirs" || eval "mkdir $as_dirs"
29317 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
29318
29319
29320 } # as_fn_mkdir_p
3879329321 if mkdir -p . 2>/dev/null; then
38794 as_mkdir_p=:
29322 as_mkdir_p='mkdir -p "$as_dir"'
3879529323 else
3879629324 test -d ./-p && rmdir ./-p
3879729325 as_mkdir_p=false
3879829326 fi
3879929327
38800 as_executable_p="test -f"
29328
29329 # as_fn_executable_p FILE
29330 # -----------------------
29331 # Test if FILE is an executable regular file.
29332 as_fn_executable_p ()
29333 {
29334 test -f "$1" && test -x "$1"
29335 } # as_fn_executable_p
29336 as_test_x='test -x'
29337 as_executable_p=as_fn_executable_p
3880129338
3880229339 # Sed expression to map a string onto a valid CPP name.
3880329340 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3880629343 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3880729344
3880829345
38809 # IFS
38810 # We need space, tab and new line, in precisely that order.
38811 as_nl='
38812 '
38813 IFS=" $as_nl"
38814
38815 # CDPATH.
38816 $as_unset CDPATH
38817
3881829346 exec 6>&1
38819
38820 # Open the log real soon, to keep \$[0] and so on meaningful, and to
29347 ## ----------------------------------- ##
29348 ## Main body of $CONFIG_STATUS script. ##
29349 ## ----------------------------------- ##
29350 _ASEOF
29351 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
29352
29353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29354 # Save the log message, to keep $0 and so on meaningful, and to
3882129355 # report actual input values of CONFIG_FILES etc. instead of their
38822 # values after options handling. Logging --version etc. is OK.
29356 # values after options handling.
29357 ac_log="
29358 This file was extended by dx $as_me 4.4.4, which was
29359 generated by GNU Autoconf 2.69. Invocation command line was
29360
29361 CONFIG_FILES = $CONFIG_FILES
29362 CONFIG_HEADERS = $CONFIG_HEADERS
29363 CONFIG_LINKS = $CONFIG_LINKS
29364 CONFIG_COMMANDS = $CONFIG_COMMANDS
29365 $ $0 $@
29366
29367 on `(hostname || uname -n) 2>/dev/null | sed 1q`
29368 "
29369
29370 _ACEOF
29371
29372 case $ac_config_files in *"
29373 "*) set x $ac_config_files; shift; ac_config_files=$*;;
29374 esac
29375
29376 case $ac_config_headers in *"
29377 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
29378 esac
29379
29380
29381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29382 # Files that config.status was made for.
29383 config_files="$ac_config_files"
29384 config_headers="$ac_config_headers"
29385 config_commands="$ac_config_commands"
29386
29387 _ACEOF
29388
29389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29390 ac_cs_usage="\
29391 \`$as_me' instantiates files and other configuration actions
29392 from templates according to the current configuration. Unless the files
29393 and actions are specified as TAGs, all are instantiated by default.
29394
29395 Usage: $0 [OPTION]... [TAG]...
29396
29397 -h, --help print this help, then exit
29398 -V, --version print version number and configuration settings, then exit
29399 --config print configuration, then exit
29400 -q, --quiet, --silent
29401 do not print progress messages
29402 -d, --debug don't remove temporary files
29403 --recheck update $as_me by reconfiguring in the same conditions
29404 --file=FILE[:TEMPLATE]
29405 instantiate the configuration file FILE
29406 --header=FILE[:TEMPLATE]
29407 instantiate the configuration header FILE
29408
29409 Configuration files:
29410 $config_files
29411
29412 Configuration headers:
29413 $config_headers
29414
29415 Configuration commands:
29416 $config_commands
29417
29418 Report bugs to the package provider."
29419
29420 _ACEOF
29421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29422 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
29423 ac_cs_version="\\
29424 dx config.status 4.4.4
29425 configured by $0, generated by GNU Autoconf 2.69,
29426 with options \\"\$ac_cs_config\\"
29427
29428 Copyright (C) 2012 Free Software Foundation, Inc.
29429 This config.status script is free software; the Free Software Foundation
29430 gives unlimited permission to copy, distribute and modify it."
29431
29432 ac_pwd='$ac_pwd'
29433 srcdir='$srcdir'
29434 INSTALL='$INSTALL'
29435 AWK='$AWK'
29436 test -n "\$AWK" || AWK=awk
29437 _ACEOF
29438
29439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29440 # The default lists apply if the user does not specify any file.
29441 ac_need_defaults=:
29442 while test $# != 0
29443 do
29444 case $1 in
29445 --*=?*)
29446 ac_option=`expr "X$1" : 'X\([^=]*\)='`
29447 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
29448 ac_shift=:
29449 ;;
29450 --*=)
29451 ac_option=`expr "X$1" : 'X\([^=]*\)='`
29452 ac_optarg=
29453 ac_shift=:
29454 ;;
29455 *)
29456 ac_option=$1
29457 ac_optarg=$2
29458 ac_shift=shift
29459 ;;
29460 esac
29461
29462 case $ac_option in
29463 # Handling of the options.
29464 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
29465 ac_cs_recheck=: ;;
29466 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
29467 $as_echo "$ac_cs_version"; exit ;;
29468 --config | --confi | --conf | --con | --co | --c )
29469 $as_echo "$ac_cs_config"; exit ;;
29470 --debug | --debu | --deb | --de | --d | -d )
29471 debug=: ;;
29472 --file | --fil | --fi | --f )
29473 $ac_shift
29474 case $ac_optarg in
29475 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
29476 '') as_fn_error $? "missing file argument" ;;
29477 esac
29478 as_fn_append CONFIG_FILES " '$ac_optarg'"
29479 ac_need_defaults=false;;
29480 --header | --heade | --head | --hea )
29481 $ac_shift
29482 case $ac_optarg in
29483 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
29484 esac
29485 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
29486 ac_need_defaults=false;;
29487 --he | --h)
29488 # Conflict between --help and --header
29489 as_fn_error $? "ambiguous option: \`$1'
29490 Try \`$0 --help' for more information.";;
29491 --help | --hel | -h )
29492 $as_echo "$ac_cs_usage"; exit ;;
29493 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
29494 | -silent | --silent | --silen | --sile | --sil | --si | --s)
29495 ac_cs_silent=: ;;
29496
29497 # This is an error.
29498 -*) as_fn_error $? "unrecognized option: \`$1'
29499 Try \`$0 --help' for more information." ;;
29500
29501 *) as_fn_append ac_config_targets " $1"
29502 ac_need_defaults=false ;;
29503
29504 esac
29505 shift
29506 done
29507
29508 ac_configure_extra_args=
29509
29510 if $ac_cs_silent; then
29511 exec 6>/dev/null
29512 ac_configure_extra_args="$ac_configure_extra_args --silent"
29513 fi
29514
29515 _ACEOF
29516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29517 if \$ac_cs_recheck; then
29518 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29519 shift
29520 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
29521 CONFIG_SHELL='$SHELL'
29522 export CONFIG_SHELL
29523 exec "\$@"
29524 fi
29525
29526 _ACEOF
29527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3882329528 exec 5>>config.log
3882429529 {
3882529530 echo
3882629531 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3882729532 ## Running $as_me. ##
3882829533 _ASBOX
29534 $as_echo "$ac_log"
3882929535 } >&5
38830 cat >&5 <<_CSEOF
38831
38832 This file was extended by dx $as_me 4.4.4, which was
38833 generated by GNU Autoconf 2.59. Invocation command line was
38834
38835 CONFIG_FILES = $CONFIG_FILES
38836 CONFIG_HEADERS = $CONFIG_HEADERS
38837 CONFIG_LINKS = $CONFIG_LINKS
38838 CONFIG_COMMANDS = $CONFIG_COMMANDS
38839 $ $0 $@
38840
38841 _CSEOF
38842 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
38843 echo >&5
38844 _ACEOF
38845
38846 # Files that config.status was made for.
38847 if test -n "$ac_config_files"; then
38848 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
38849 fi
38850
38851 if test -n "$ac_config_headers"; then
38852 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
38853 fi
38854
38855 if test -n "$ac_config_links"; then
38856 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
38857 fi
38858
38859 if test -n "$ac_config_commands"; then
38860 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
38861 fi
38862
38863 cat >>$CONFIG_STATUS <<\_ACEOF
38864
38865 ac_cs_usage="\
38866 \`$as_me' instantiates files from templates according to the
38867 current configuration.
38868
38869 Usage: $0 [OPTIONS] [FILE]...
38870
38871 -h, --help print this help, then exit
38872 -V, --version print version number, then exit
38873 -q, --quiet do not print progress messages
38874 -d, --debug don't remove temporary files
38875 --recheck update $as_me by reconfiguring in the same conditions
38876 --file=FILE[:TEMPLATE]
38877 instantiate the configuration file FILE
38878 --header=FILE[:TEMPLATE]
38879 instantiate the configuration header FILE
38880
38881 Configuration files:
38882 $config_files
38883
38884 Configuration headers:
38885 $config_headers
38886
38887 Configuration commands:
38888 $config_commands
38889
38890 Report bugs to <bug-autoconf@gnu.org>."
38891 _ACEOF
38892
38893 cat >>$CONFIG_STATUS <<_ACEOF
38894 ac_cs_version="\\
38895 dx config.status 4.4.4
38896 configured by $0, generated by GNU Autoconf 2.59,
38897 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
38898
38899 Copyright (C) 2003 Free Software Foundation, Inc.
38900 This config.status script is free software; the Free Software Foundation
38901 gives unlimited permission to copy, distribute and modify it."
38902 srcdir=$srcdir
38903 INSTALL="$INSTALL"
38904 _ACEOF
38905
38906 cat >>$CONFIG_STATUS <<\_ACEOF
38907 # If no file are specified by the user, then we need to provide default
38908 # value. By we need to know if files were specified by the user.
38909 ac_need_defaults=:
38910 while test $# != 0
38911 do
38912 case $1 in
38913 --*=*)
38914 ac_option=`expr "x$1" : 'x\([^=]*\)='`
38915 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
38916 ac_shift=:
38917 ;;
38918 -*)
38919 ac_option=$1
38920 ac_optarg=$2
38921 ac_shift=shift
38922 ;;
38923 *) # This is not an option, so the user has probably given explicit
38924 # arguments.
38925 ac_option=$1
38926 ac_need_defaults=false;;
38927 esac
38928
38929 case $ac_option in
38930 # Handling of the options.
38931 _ACEOF
38932 cat >>$CONFIG_STATUS <<\_ACEOF
38933 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
38934 ac_cs_recheck=: ;;
38935 --version | --vers* | -V )
38936 echo "$ac_cs_version"; exit 0 ;;
38937 --he | --h)
38938 # Conflict between --help and --header
38939 { { echo "$as_me:$LINENO: error: ambiguous option: $1
38940 Try \`$0 --help' for more information." >&5
38941 echo "$as_me: error: ambiguous option: $1
38942 Try \`$0 --help' for more information." >&2;}
38943 { (exit 1); exit 1; }; };;
38944 --help | --hel | -h )
38945 echo "$ac_cs_usage"; exit 0 ;;
38946 --debug | --d* | -d )
38947 debug=: ;;
38948 --file | --fil | --fi | --f )
38949 $ac_shift
38950 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
38951 ac_need_defaults=false;;
38952 --header | --heade | --head | --hea )
38953 $ac_shift
38954 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
38955 ac_need_defaults=false;;
38956 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
38957 | -silent | --silent | --silen | --sile | --sil | --si | --s)
38958 ac_cs_silent=: ;;
38959
38960 # This is an error.
38961 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
38962 Try \`$0 --help' for more information." >&5
38963 echo "$as_me: error: unrecognized option: $1
38964 Try \`$0 --help' for more information." >&2;}
38965 { (exit 1); exit 1; }; } ;;
38966
38967 *) ac_config_targets="$ac_config_targets $1" ;;
38968
38969 esac
38970 shift
38971 done
38972
38973 ac_configure_extra_args=
38974
38975 if $ac_cs_silent; then
38976 exec 6>/dev/null
38977 ac_configure_extra_args="$ac_configure_extra_args --silent"
38978 fi
38979
38980 _ACEOF
38981 cat >>$CONFIG_STATUS <<_ACEOF
38982 if \$ac_cs_recheck; then
38983 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
38984 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
38985 fi
38986
38987 _ACEOF
38988
38989 cat >>$CONFIG_STATUS <<_ACEOF
29536
29537 _ACEOF
29538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3899029539 #
38991 # INIT-COMMANDS section.
29540 # INIT-COMMANDS
3899229541 #
38993
3899429542 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3899529543
3899629544 _ACEOF
3899729545
38998
38999
39000 cat >>$CONFIG_STATUS <<\_ACEOF
29546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29547
29548 # Handling of arguments.
3900129549 for ac_config_target in $ac_config_targets
3900229550 do
39003 case "$ac_config_target" in
39004 # Handling of arguments.
39005 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
39006 "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
39007 "bin/dx" ) CONFIG_FILES="$CONFIG_FILES bin/dx" ;;
39008 "bin/mdf2c" ) CONFIG_FILES="$CONFIG_FILES bin/mdf2c" ;;
39009 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
39010 "fonts/Makefile" ) CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
39011 "help/Makefile" ) CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
39012 "html/Makefile" ) CONFIG_FILES="$CONFIG_FILES html/Makefile" ;;
39013 "html/images/Makefile" ) CONFIG_FILES="$CONFIG_FILES html/images/Makefile" ;;
39014 "html/pages/Makefile" ) CONFIG_FILES="$CONFIG_FILES html/pages/Makefile" ;;
39015 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
39016 "include/dx/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/dx/Makefile" ;;
39017 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
39018 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
39019 "man/catl/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/catl/Makefile" ;;
39020 "man/manl/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/manl/Makefile" ;;
39021 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
39022 "src/exec/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/exec/Makefile" ;;
39023 "src/exec/dpexec/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/exec/dpexec/Makefile" ;;
39024 "src/exec/dpexec/local.mk" ) CONFIG_FILES="$CONFIG_FILES src/exec/dpexec/local.mk" ;;
39025 "src/exec/dxexec/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/exec/dxexec/Makefile" ;;
39026 "src/exec/dxmods/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/exec/dxmods/Makefile" ;;
39027 "src/exec/dxmods/local.mk" ) CONFIG_FILES="$CONFIG_FILES src/exec/dxmods/local.mk" ;;
39028 "src/exec/hwrender/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/exec/hwrender/Makefile" ;;
39029 "src/exec/hwrender/gl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/exec/hwrender/gl/Makefile" ;;
39030 "src/exec/hwrender/opengl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/exec/hwrender/opengl/Makefile" ;;
39031 "src/exec/hwrender/starbase/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/exec/hwrender/starbase/Makefile" ;;
39032 "src/exec/hwrender/xgl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/exec/hwrender/xgl/Makefile" ;;
39033 "src/exec/libdx/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/exec/libdx/Makefile" ;;
39034 "src/exec/libdx/local.mk" ) CONFIG_FILES="$CONFIG_FILES src/exec/libdx/local.mk" ;;
39035 "src/misc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/misc/Makefile" ;;
39036 "src/misc/arch.mak" ) CONFIG_FILES="$CONFIG_FILES src/misc/arch.mak" ;;
39037 "src/uipp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/Makefile" ;;
39038 "src/uipp/base/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/base/Makefile" ;;
39039 "src/uipp/dxl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/dxl/Makefile" ;;
39040 "src/uipp/dxui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/dxui/Makefile" ;;
39041 "src/uipp/dxuilib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/dxuilib/Makefile" ;;
39042 "src/uipp/dxuilib/local.mk" ) CONFIG_FILES="$CONFIG_FILES src/uipp/dxuilib/local.mk" ;;
39043 "src/uipp/java/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/java/Makefile" ;;
39044 "src/uipp/java/dx/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/java/dx/Makefile" ;;
39045 "src/uipp/java/dx/protocol/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/java/dx/protocol/Makefile" ;;
39046 "src/uipp/java/dx/protocol/server/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/java/dx/protocol/server/Makefile" ;;
39047 "src/uipp/java/dx/runtime/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/java/dx/runtime/Makefile" ;;
39048 "src/uipp/java/layout/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/java/layout/Makefile" ;;
39049 "src/uipp/java/server/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/java/server/Makefile" ;;
39050 "src/uipp/java/server/macros/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/java/server/macros/Makefile" ;;
39051 "src/uipp/java/server/dxserver.paths" ) CONFIG_FILES="$CONFIG_FILES src/uipp/java/server/dxserver.paths" ;;
39052 "src/uipp/java/server/startserver" ) CONFIG_FILES="$CONFIG_FILES src/uipp/java/server/startserver" ;;
39053 "src/uipp/java/dx/client/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/java/dx/client/Makefile" ;;
39054 "src/uipp/java/dx/net/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/java/dx/net/Makefile" ;;
39055 "src/uipp/mb/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/mb/Makefile" ;;
39056 "src/uipp/prompter/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/prompter/Makefile" ;;
39057 "src/uipp/startup/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/startup/Makefile" ;;
39058 "src/uipp/tutor/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/tutor/Makefile" ;;
39059 "src/uipp/ui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/ui/Makefile" ;;
39060 "src/uipp/widgets/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/uipp/widgets/Makefile" ;;
39061 "windows/Makefile" ) CONFIG_FILES="$CONFIG_FILES windows/Makefile" ;;
39062 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
39063 "include/dxconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/dxconfig.h" ;;
39064 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
39065 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
39066 { (exit 1); exit 1; }; };;
29551 case $ac_config_target in
29552 "include/dxconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS include/dxconfig.h" ;;
29553 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
29554 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
29555 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
29556 "bin/dx") CONFIG_FILES="$CONFIG_FILES bin/dx" ;;
29557 "bin/mdf2c") CONFIG_FILES="$CONFIG_FILES bin/mdf2c" ;;
29558 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
29559 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
29560 "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
29561 "html/Makefile") CONFIG_FILES="$CONFIG_FILES html/Makefile" ;;
29562 "html/images/Makefile") CONFIG_FILES="$CONFIG_FILES html/images/Makefile" ;;
29563 "html/pages/Makefile") CONFIG_FILES="$CONFIG_FILES html/pages/Makefile" ;;
29564 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
29565 "include/dx/Makefile") CONFIG_FILES="$CONFIG_FILES include/dx/Makefile" ;;
29566 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
29567 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
29568 "man/catl/Makefile") CONFIG_FILES="$CONFIG_FILES man/catl/Makefile" ;;
29569 "man/manl/Makefile") CONFIG_FILES="$CONFIG_FILES man/manl/Makefile" ;;
29570 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
29571 "src/exec/Makefile") CONFIG_FILES="$CONFIG_FILES src/exec/Makefile" ;;
29572 "src/exec/dpexec/Makefile") CONFIG_FILES="$CONFIG_FILES src/exec/dpexec/Makefile" ;;
29573 "src/exec/dpexec/local.mk") CONFIG_FILES="$CONFIG_FILES src/exec/dpexec/local.mk" ;;
29574 "src/exec/dxexec/Makefile") CONFIG_FILES="$CONFIG_FILES src/exec/dxexec/Makefile" ;;
29575 "src/exec/dxmods/Makefile") CONFIG_FILES="$CONFIG_FILES src/exec/dxmods/Makefile" ;;
29576 "src/exec/dxmods/local.mk") CONFIG_FILES="$CONFIG_FILES src/exec/dxmods/local.mk" ;;
29577 "src/exec/hwrender/Makefile") CONFIG_FILES="$CONFIG_FILES src/exec/hwrender/Makefile" ;;
29578 "src/exec/hwrender/gl/Makefile") CONFIG_FILES="$CONFIG_FILES src/exec/hwrender/gl/Makefile" ;;
29579 "src/exec/hwrender/opengl/Makefile") CONFIG_FILES="$CONFIG_FILES src/exec/hwrender/opengl/Makefile" ;;
29580 "src/exec/hwrender/starbase/Makefile") CONFIG_FILES="$CONFIG_FILES src/exec/hwrender/starbase/Makefile" ;;
29581 "src/exec/hwrender/xgl/Makefile") CONFIG_FILES="$CONFIG_FILES src/exec/hwrender/xgl/Makefile" ;;
29582 "src/exec/libdx/Makefile") CONFIG_FILES="$CONFIG_FILES src/exec/libdx/Makefile" ;;
29583 "src/exec/libdx/local.mk") CONFIG_FILES="$CONFIG_FILES src/exec/libdx/local.mk" ;;
29584 "src/misc/Makefile") CONFIG_FILES="$CONFIG_FILES src/misc/Makefile" ;;
29585 "src/misc/arch.mak") CONFIG_FILES="$CONFIG_FILES src/misc/arch.mak" ;;
29586 "src/uipp/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/Makefile" ;;
29587 "src/uipp/base/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/base/Makefile" ;;
29588 "src/uipp/dxl/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/dxl/Makefile" ;;
29589 "src/uipp/dxui/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/dxui/Makefile" ;;
29590 "src/uipp/dxuilib/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/dxuilib/Makefile" ;;
29591 "src/uipp/dxuilib/local.mk") CONFIG_FILES="$CONFIG_FILES src/uipp/dxuilib/local.mk" ;;
29592 "src/uipp/java/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/java/Makefile" ;;
29593 "src/uipp/java/dx/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/java/dx/Makefile" ;;
29594 "src/uipp/java/dx/protocol/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/java/dx/protocol/Makefile" ;;
29595 "src/uipp/java/dx/protocol/server/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/java/dx/protocol/server/Makefile" ;;
29596 "src/uipp/java/dx/runtime/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/java/dx/runtime/Makefile" ;;
29597 "src/uipp/java/layout/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/java/layout/Makefile" ;;
29598 "src/uipp/java/server/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/java/server/Makefile" ;;
29599 "src/uipp/java/server/macros/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/java/server/macros/Makefile" ;;
29600 "src/uipp/java/server/dxserver.paths") CONFIG_FILES="$CONFIG_FILES src/uipp/java/server/dxserver.paths" ;;
29601 "src/uipp/java/server/startserver") CONFIG_FILES="$CONFIG_FILES src/uipp/java/server/startserver" ;;
29602 "src/uipp/java/dx/client/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/java/dx/client/Makefile" ;;
29603 "src/uipp/java/dx/net/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/java/dx/net/Makefile" ;;
29604 "src/uipp/mb/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/mb/Makefile" ;;
29605 "src/uipp/prompter/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/prompter/Makefile" ;;
29606 "src/uipp/startup/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/startup/Makefile" ;;
29607 "src/uipp/tutor/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/tutor/Makefile" ;;
29608 "src/uipp/ui/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/ui/Makefile" ;;
29609 "src/uipp/widgets/Makefile") CONFIG_FILES="$CONFIG_FILES src/uipp/widgets/Makefile" ;;
29610 "windows/Makefile") CONFIG_FILES="$CONFIG_FILES windows/Makefile" ;;
29611
29612 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3906729613 esac
3906829614 done
29615
3906929616
3907029617 # If the user did not use the arguments to specify the items to instantiate,
3907129618 # then the envvar interface is used. Set only those that are not.
3907829625 fi
3907929626
3908029627 # Have a temporary directory for convenience. Make it in the build tree
39081 # simply because there is no reason to put it here, and in addition,
29628 # simply because there is no reason against having it here, and in addition,
3908229629 # creating and moving files from /tmp can sometimes cause problems.
39083 # Create a temporary directory, and hook for its removal unless debugging.
29630 # Hook for its removal unless debugging.
29631 # Note that there is a small window in which the directory will not be cleaned:
29632 # after its creation but before its name has been assigned to `$tmp'.
3908429633 $debug ||
3908529634 {
39086 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
39087 trap '{ (exit 1); exit 1; }' 1 2 13 15
29635 tmp= ac_tmp=
29636 trap 'exit_status=$?
29637 : "${ac_tmp:=$tmp}"
29638 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
29639 ' 0
29640 trap 'as_fn_exit 1' 1 2 13 15
3908829641 }
39089
3909029642 # Create a (secure) tmp directory for tmp files.
3909129643
3909229644 {
39093 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
39094 test -n "$tmp" && test -d "$tmp"
29645 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
29646 test -d "$tmp"
3909529647 } ||
3909629648 {
39097 tmp=./confstat$$-$RANDOM
39098 (umask 077 && mkdir $tmp)
39099 } ||
29649 tmp=./conf$$-$RANDOM
29650 (umask 077 && mkdir "$tmp")
29651 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
29652 ac_tmp=$tmp
29653
29654 # Set up the scripts for CONFIG_FILES section.
29655 # No need to generate them if there are no CONFIG_FILES.
29656 # This happens for instance with `./config.status config.h'.
29657 if test -n "$CONFIG_FILES"; then
29658
29659
29660 ac_cr=`echo X | tr X '\015'`
29661 # On cygwin, bash can eat \r inside `` if the user requested igncr.
29662 # But we know of no other shell where ac_cr would be empty at this
29663 # point, so we can use a bashism as a fallback.
29664 if test "x$ac_cr" = x; then
29665 eval ac_cr=\$\'\\r\'
29666 fi
29667 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
29668 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
29669 ac_cs_awk_cr='\\r'
29670 else
29671 ac_cs_awk_cr=$ac_cr
29672 fi
29673
29674 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
29675 _ACEOF
29676
29677
3910029678 {
39101 echo "$me: cannot create a temporary directory in ." >&2
39102 { (exit 1); exit 1; }
29679 echo "cat >conf$$subs.awk <<_ACEOF" &&
29680 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
29681 echo "_ACEOF"
29682 } >conf$$subs.sh ||
29683 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
29684 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
29685 ac_delim='%!_!# '
29686 for ac_last_try in false false false false false :; do
29687 . ./conf$$subs.sh ||
29688 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
29689
29690 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
29691 if test $ac_delim_n = $ac_delim_num; then
29692 break
29693 elif $ac_last_try; then
29694 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
29695 else
29696 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29697 fi
29698 done
29699 rm -f conf$$subs.sh
29700
29701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29702 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
29703 _ACEOF
29704 sed -n '
29705 h
29706 s/^/S["/; s/!.*/"]=/
29707 p
29708 g
29709 s/^[^!]*!//
29710 :repl
29711 t repl
29712 s/'"$ac_delim"'$//
29713 t delim
29714 :nl
29715 h
29716 s/\(.\{148\}\)..*/\1/
29717 t more1
29718 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
29719 p
29720 n
29721 b repl
29722 :more1
29723 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
29724 p
29725 g
29726 s/.\{148\}//
29727 t nl
29728 :delim
29729 h
29730 s/\(.\{148\}\)..*/\1/
29731 t more2
29732 s/["\\]/\\&/g; s/^/"/; s/$/"/
29733 p
29734 b
29735 :more2
29736 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
29737 p
29738 g
29739 s/.\{148\}//
29740 t delim
29741 ' <conf$$subs.awk | sed '
29742 /^[^""]/{
29743 N
29744 s/\n//
3910329745 }
39104
39105 _ACEOF
39106
39107 cat >>$CONFIG_STATUS <<_ACEOF
39108
39109 #
39110 # CONFIG_FILES section.
39111 #
39112
39113 # No need to generate the scripts if there are no CONFIG_FILES.
39114 # This happens for instance when ./config.status config.h
39115 if test -n "\$CONFIG_FILES"; then
39116 # Protect against being on the right side of a sed subst in config.status.
39117 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
39118 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
39119 s,@SHELL@,$SHELL,;t t
39120 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
39121 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
39122 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
39123 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
39124 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
39125 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
39126 s,@exec_prefix@,$exec_prefix,;t t
39127 s,@prefix@,$prefix,;t t
39128 s,@program_transform_name@,$program_transform_name,;t t
39129 s,@bindir@,$bindir,;t t
39130 s,@sbindir@,$sbindir,;t t
39131 s,@libexecdir@,$libexecdir,;t t
39132 s,@datadir@,$datadir,;t t
39133 s,@sysconfdir@,$sysconfdir,;t t
39134 s,@sharedstatedir@,$sharedstatedir,;t t
39135 s,@localstatedir@,$localstatedir,;t t
39136 s,@libdir@,$libdir,;t t
39137 s,@includedir@,$includedir,;t t
39138 s,@oldincludedir@,$oldincludedir,;t t
39139 s,@infodir@,$infodir,;t t
39140 s,@mandir@,$mandir,;t t
39141 s,@build_alias@,$build_alias,;t t
39142 s,@host_alias@,$host_alias,;t t
39143 s,@target_alias@,$target_alias,;t t
39144 s,@DEFS@,$DEFS,;t t
39145 s,@ECHO_C@,$ECHO_C,;t t
39146 s,@ECHO_N@,$ECHO_N,;t t
39147 s,@ECHO_T@,$ECHO_T,;t t
39148 s,@LIBS@,$LIBS,;t t
39149 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
39150 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
39151 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
39152 s,@CYGPATH_W@,$CYGPATH_W,;t t
39153 s,@PACKAGE@,$PACKAGE,;t t
39154 s,@VERSION@,$VERSION,;t t
39155 s,@ACLOCAL@,$ACLOCAL,;t t
39156 s,@AUTOCONF@,$AUTOCONF,;t t
39157 s,@AUTOMAKE@,$AUTOMAKE,;t t
39158 s,@AUTOHEADER@,$AUTOHEADER,;t t
39159 s,@MAKEINFO@,$MAKEINFO,;t t
39160 s,@install_sh@,$install_sh,;t t
39161 s,@STRIP@,$STRIP,;t t
39162 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
39163 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
39164 s,@mkdir_p@,$mkdir_p,;t t
39165 s,@AWK@,$AWK,;t t
39166 s,@SET_MAKE@,$SET_MAKE,;t t
39167 s,@am__leading_dot@,$am__leading_dot,;t t
39168 s,@AMTAR@,$AMTAR,;t t
39169 s,@am__tar@,$am__tar,;t t
39170 s,@am__untar@,$am__untar,;t t
39171 s,@build@,$build,;t t
39172 s,@build_cpu@,$build_cpu,;t t
39173 s,@build_vendor@,$build_vendor,;t t
39174 s,@build_os@,$build_os,;t t
39175 s,@host@,$host,;t t
39176 s,@host_cpu@,$host_cpu,;t t
39177 s,@host_vendor@,$host_vendor,;t t
39178 s,@host_os@,$host_os,;t t
39179 s,@CC@,$CC,;t t
39180 s,@CFLAGS@,$CFLAGS,;t t
39181 s,@LDFLAGS@,$LDFLAGS,;t t
39182 s,@CPPFLAGS@,$CPPFLAGS,;t t
39183 s,@ac_ct_CC@,$ac_ct_CC,;t t
39184 s,@EXEEXT@,$EXEEXT,;t t
39185 s,@OBJEXT@,$OBJEXT,;t t
39186 s,@DEPDIR@,$DEPDIR,;t t
39187 s,@am__include@,$am__include,;t t
39188 s,@am__quote@,$am__quote,;t t
39189 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
39190 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
39191 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
39192 s,@CCDEPMODE@,$CCDEPMODE,;t t
39193 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
39194 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
39195 s,@EGREP@,$EGREP,;t t
39196 s,@LN_S@,$LN_S,;t t
39197 s,@ECHO@,$ECHO,;t t
39198 s,@AR@,$AR,;t t
39199 s,@ac_ct_AR@,$ac_ct_AR,;t t
39200 s,@RANLIB@,$RANLIB,;t t
39201 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
39202 s,@CPP@,$CPP,;t t
39203 s,@CXX@,$CXX,;t t
39204 s,@CXXFLAGS@,$CXXFLAGS,;t t
39205 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
39206 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
39207 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
39208 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
39209 s,@CXXCPP@,$CXXCPP,;t t
39210 s,@F77@,$F77,;t t
39211 s,@FFLAGS@,$FFLAGS,;t t
39212 s,@ac_ct_F77@,$ac_ct_F77,;t t
39213 s,@LIBTOOL@,$LIBTOOL,;t t
39214 s,@MAJOR_VERSION@,$MAJOR_VERSION,;t t
39215 s,@MINOR_VERSION@,$MINOR_VERSION,;t t
39216 s,@MICRO_VERSION@,$MICRO_VERSION,;t t
39217 s,@YACC@,$YACC,;t t
39218 s,@ARCH@,$ARCH,;t t
39219 s,@DOT_EXE_EXT@,$DOT_EXE_EXT,;t t
39220 s,@INSTALL_BIN_PROGRAM@,$INSTALL_BIN_PROGRAM,;t t
39221 s,@INSTALL_BIN_SCRIPT@,$INSTALL_BIN_SCRIPT,;t t
39222 s,@FMT_LIBS@,$FMT_LIBS,;t t
39223 s,@JAVABRANCH@,$JAVABRANCH,;t t
39224 s,@JAVAC@,$JAVAC,;t t
39225 s,@JAR@,$JAR,;t t
39226 s,@JAVAH@,$JAVAH,;t t
39227 s,@JINC@,$JINC,;t t
39228 s,@DX_JAVA_CLASSPATH@,$DX_JAVA_CLASSPATH,;t t
39229 s,@JNI_CFLAGS@,$JNI_CFLAGS,;t t
39230 s,@BUILDBASE@,$BUILDBASE,;t t
39231 s,@DXEXEC_EXP@,$DXEXEC_EXP,;t t
39232 s,@DXEXEC_IMP@,$DXEXEC_IMP,;t t
39233 s,@DXUI_ALDFLAGS@,$DXUI_ALDFLAGS,;t t
39234 s,@VERSION_STRING@,$VERSION_STRING,;t t
39235 s,@ANYDX@,$ANYDX,;t t
39236 s,@DXABI@,$DXABI,;t t
39237 s,@DX_RTL_CFLAGS@,$DX_RTL_CFLAGS,;t t
39238 s,@DX_RTL_ALDFLAGS@,$DX_RTL_ALDFLAGS,;t t
39239 s,@DX_RTL_SYSLIBS@,$DX_RTL_SYSLIBS,;t t
39240 s,@DX_RTL_IMPORTS@,$DX_RTL_IMPORTS,;t t
39241 s,@DX_RTL_DXENTRY@,$DX_RTL_DXENTRY,;t t
39242 s,@DX_OUTBOARD_LIBS@,$DX_OUTBOARD_LIBS,;t t
39243 s,@DX_X_LINK_LIBS@,$DX_X_LINK_LIBS,;t t
39244 s,@DX_GL_LINK_LIBS@,$DX_GL_LINK_LIBS,;t t
39245 s,@SHARED_LINK@,$SHARED_LINK,;t t
39246 s,@MKDEP@,$MKDEP,;t t
39247 s,@LOCALMAKE@,$LOCALMAKE,;t t
39248 s,@rsh_path@,$rsh_path,;t t
39249 s,@bsh_path@,$bsh_path,;t t
39250 s,@LIB_LF@,$LIB_LF,;t t
39251 s,@JAVA@,$JAVA,;t t
39252 s,@WITH_BUILDLIBDX_TRUE@,$WITH_BUILDLIBDX_TRUE,;t t
39253 s,@WITH_BUILDLIBDX_FALSE@,$WITH_BUILDLIBDX_FALSE,;t t
39254 s,@WITH_INSTALLHTML_TRUE@,$WITH_INSTALLHTML_TRUE,;t t
39255 s,@WITH_INSTALLHTML_FALSE@,$WITH_INSTALLHTML_FALSE,;t t
39256 s,@HAVE_MC@,$HAVE_MC,;t t
39257 s,@LEX@,$LEX,;t t
39258 s,@LEXLIB@,$LEXLIB,;t t
39259 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
39260 s,@yakker@,$yakker,;t t
39261 s,@LIBOBJS@,$LIBOBJS,;t t
39262 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
39263 CEOF
39264
39265 _ACEOF
39266
39267 cat >>$CONFIG_STATUS <<\_ACEOF
39268 # Split the substitutions into bite-sized pieces for seds with
39269 # small command number limits, like on Digital OSF/1 and HP-UX.
39270 ac_max_sed_lines=48
39271 ac_sed_frag=1 # Number of current file.
39272 ac_beg=1 # First line for current file.
39273 ac_end=$ac_max_sed_lines # Line after last line for current file.
39274 ac_more_lines=:
39275 ac_sed_cmds=
39276 while $ac_more_lines; do
39277 if test $ac_beg -gt 1; then
39278 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
39279 else
39280 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
29746 ' >>$CONFIG_STATUS || ac_write_fail=1
29747 rm -f conf$$subs.awk
29748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29749 _ACAWK
29750 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
29751 for (key in S) S_is_set[key] = 1
29752 FS = ""
29753
29754 }
29755 {
29756 line = $ 0
29757 nfields = split(line, field, "@")
29758 substed = 0
29759 len = length(field[1])
29760 for (i = 2; i < nfields; i++) {
29761 key = field[i]
29762 keylen = length(key)
29763 if (S_is_set[key]) {
29764 value = S[key]
29765 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
29766 len += length(value) + length(field[++i])
29767 substed = 1
29768 } else
29769 len += 1 + keylen
29770 }
29771
29772 print line
29773 }
29774
29775 _ACAWK
29776 _ACEOF
29777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29778 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
29779 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
29780 else
29781 cat
29782 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
29783 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
29784 _ACEOF
29785
29786 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
29787 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
29788 # trailing colons and then remove the whole line if VPATH becomes empty
29789 # (actually we leave an empty line to preserve line numbers).
29790 if test "x$srcdir" = x.; then
29791 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
29792 h
29793 s///
29794 s/^/:/
29795 s/[ ]*$/:/
29796 s/:\$(srcdir):/:/g
29797 s/:\${srcdir}:/:/g
29798 s/:@srcdir@:/:/g
29799 s/^:*//
29800 s/:*$//
29801 x
29802 s/\(=[ ]*\).*/\1/
29803 G
29804 s/\n//
29805 s/^[^=]*=[ ]*$//
29806 }'
29807 fi
29808
29809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29810 fi # test -n "$CONFIG_FILES"
29811
29812 # Set up the scripts for CONFIG_HEADERS section.
29813 # No need to generate them if there are no CONFIG_HEADERS.
29814 # This happens for instance with `./config.status Makefile'.
29815 if test -n "$CONFIG_HEADERS"; then
29816 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
29817 BEGIN {
29818 _ACEOF
29819
29820 # Transform confdefs.h into an awk script `defines.awk', embedded as
29821 # here-document in config.status, that substitutes the proper values into
29822 # config.h.in to produce config.h.
29823
29824 # Create a delimiter string that does not exist in confdefs.h, to ease
29825 # handling of long lines.
29826 ac_delim='%!_!# '
29827 for ac_last_try in false false :; do
29828 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
29829 if test -z "$ac_tt"; then
29830 break
29831 elif $ac_last_try; then
29832 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
29833 else
29834 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29835 fi
29836 done
29837
29838 # For the awk script, D is an array of macro values keyed by name,
29839 # likewise P contains macro parameters if any. Preserve backslash
29840 # newline sequences.
29841
29842 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
29843 sed -n '
29844 s/.\{148\}/&'"$ac_delim"'/g
29845 t rset
29846 :rset
29847 s/^[ ]*#[ ]*define[ ][ ]*/ /
29848 t def
29849 d
29850 :def
29851 s/\\$//
29852 t bsnl
29853 s/["\\]/\\&/g
29854 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
29855 D["\1"]=" \3"/p
29856 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
29857 d
29858 :bsnl
29859 s/["\\]/\\&/g
29860 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
29861 D["\1"]=" \3\\\\\\n"\\/p
29862 t cont
29863 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
29864 t cont
29865 d
29866 :cont
29867 n
29868 s/.\{148\}/&'"$ac_delim"'/g
29869 t clear
29870 :clear
29871 s/\\$//
29872 t bsnlc
29873 s/["\\]/\\&/g; s/^/"/; s/$/"/p
29874 d
29875 :bsnlc
29876 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
29877 b cont
29878 ' <confdefs.h | sed '
29879 s/'"$ac_delim"'/"\\\
29880 "/g' >>$CONFIG_STATUS || ac_write_fail=1
29881
29882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29883 for (key in D) D_is_set[key] = 1
29884 FS = ""
29885 }
29886 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
29887 line = \$ 0
29888 split(line, arg, " ")
29889 if (arg[1] == "#") {
29890 defundef = arg[2]
29891 mac1 = arg[3]
29892 } else {
29893 defundef = substr(arg[1], 2)
29894 mac1 = arg[2]
29895 }
29896 split(mac1, mac2, "(") #)
29897 macro = mac2[1]
29898 prefix = substr(line, 1, index(line, defundef) - 1)
29899 if (D_is_set[macro]) {
29900 # Preserve the white space surrounding the "#".
29901 print prefix "define", macro P[macro] D[macro]
29902 next
29903 } else {
29904 # Replace #undef with comments. This is necessary, for example,
29905 # in the case of _POSIX_SOURCE, which is predefined and required
29906 # on some systems where configure will not decide to define it.
29907 if (defundef == "undef") {
29908 print "/*", prefix defundef, macro, "*/"
29909 next
29910 }
29911 }
29912 }
29913 { print }
29914 _ACAWK
29915 _ACEOF
29916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29917 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
29918 fi # test -n "$CONFIG_HEADERS"
29919
29920
29921 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
29922 shift
29923 for ac_tag
29924 do
29925 case $ac_tag in
29926 :[FHLC]) ac_mode=$ac_tag; continue;;
29927 esac
29928 case $ac_mode$ac_tag in
29929 :[FHL]*:*);;
29930 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
29931 :[FH]-) ac_tag=-:-;;
29932 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
29933 esac
29934 ac_save_IFS=$IFS
29935 IFS=:
29936 set x $ac_tag
29937 IFS=$ac_save_IFS
29938 shift
29939 ac_file=$1
29940 shift
29941
29942 case $ac_mode in
29943 :L) ac_source=$1;;
29944 :[FH])
29945 ac_file_inputs=
29946 for ac_f
29947 do
29948 case $ac_f in
29949 -) ac_f="$ac_tmp/stdin";;
29950 *) # Look for the file first in the build tree, then in the source tree
29951 # (if the path is not absolute). The absolute path cannot be DOS-style,
29952 # because $ac_f cannot contain `:'.
29953 test -f "$ac_f" ||
29954 case $ac_f in
29955 [\\/$]*) false;;
29956 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
29957 esac ||
29958 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
29959 esac
29960 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
29961 as_fn_append ac_file_inputs " '$ac_f'"
29962 done
29963
29964 # Let's still pretend it is `configure' which instantiates (i.e., don't
29965 # use $as_me), people would be surprised to read:
29966 # /* config.h. Generated by config.status. */
29967 configure_input='Generated from '`
29968 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
29969 `' by configure.'
29970 if test x"$ac_file" != x-; then
29971 configure_input="$ac_file. $configure_input"
29972 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
29973 $as_echo "$as_me: creating $ac_file" >&6;}
3928129974 fi
39282 if test ! -s $tmp/subs.frag; then
39283 ac_more_lines=false
39284 else
39285 # The purpose of the label and of the branching condition is to
39286 # speed up the sed processing (if there are no `@' at all, there
39287 # is no need to browse any of the substitutions).
39288 # These are the two extra sed commands mentioned above.
39289 (echo ':t
39290 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
39291 if test -z "$ac_sed_cmds"; then
39292 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
39293 else
39294 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
39295 fi
39296 ac_sed_frag=`expr $ac_sed_frag + 1`
39297 ac_beg=$ac_end
39298 ac_end=`expr $ac_end + $ac_max_sed_lines`
39299 fi
39300 done
39301 if test -z "$ac_sed_cmds"; then
39302 ac_sed_cmds=cat
39303 fi
39304 fi # test -n "$CONFIG_FILES"
39305
39306 _ACEOF
39307 cat >>$CONFIG_STATUS <<\_ACEOF
39308 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
39309 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
39310 case $ac_file in
39311 - | *:- | *:-:* ) # input from stdin
39312 cat >$tmp/stdin
39313 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
39314 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
39315 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
39316 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
39317 * ) ac_file_in=$ac_file.in ;;
29975 # Neutralize special characters interpreted by sed in replacement strings.
29976 case $configure_input in #(
29977 *\&* | *\|* | *\\* )
29978 ac_sed_conf_input=`$as_echo "$configure_input" |
29979 sed 's/[\\\\&|]/\\\\&/g'`;; #(
29980 *) ac_sed_conf_input=$configure_input;;
29981 esac
29982
29983 case $ac_tag in
29984 *:-:* | *:-) cat >"$ac_tmp/stdin" \
29985 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
29986 esac
29987 ;;
3931829988 esac
3931929989
39320 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
39321 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
29990 ac_dir=`$as_dirname -- "$ac_file" ||
3932229991 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3932329992 X"$ac_file" : 'X\(//\)[^/]' \| \
3932429993 X"$ac_file" : 'X\(//\)$' \| \
39325 X"$ac_file" : 'X\(/\)' \| \
39326 . : '\(.\)' 2>/dev/null ||
39327 echo X"$ac_file" |
39328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39329 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39330 /^X\(\/\/\)$/{ s//\1/; q; }
39331 /^X\(\/\).*/{ s//\1/; q; }
39332 s/.*/./; q'`
39333 { if $as_mkdir_p; then
39334 mkdir -p "$ac_dir"
39335 else
39336 as_dir="$ac_dir"
39337 as_dirs=
39338 while test ! -d "$as_dir"; do
39339 as_dirs="$as_dir $as_dirs"
39340 as_dir=`(dirname "$as_dir") 2>/dev/null ||
39341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39342 X"$as_dir" : 'X\(//\)[^/]' \| \
39343 X"$as_dir" : 'X\(//\)$' \| \
39344 X"$as_dir" : 'X\(/\)' \| \
39345 . : '\(.\)' 2>/dev/null ||
39346 echo X"$as_dir" |
39347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39348 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39349 /^X\(\/\/\)$/{ s//\1/; q; }
39350 /^X\(\/\).*/{ s//\1/; q; }
39351 s/.*/./; q'`
39352 done
39353 test ! -n "$as_dirs" || mkdir $as_dirs
39354 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
39355 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
39356 { (exit 1); exit 1; }; }; }
39357
29994 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
29995 $as_echo X"$ac_file" |
29996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29997 s//\1/
29998 q
29999 }
30000 /^X\(\/\/\)[^/].*/{
30001 s//\1/
30002 q
30003 }
30004 /^X\(\/\/\)$/{
30005 s//\1/
30006 q
30007 }
30008 /^X\(\/\).*/{
30009 s//\1/
30010 q
30011 }
30012 s/.*/./; q'`
30013 as_dir="$ac_dir"; as_fn_mkdir_p
3935830014 ac_builddir=.
3935930015
39360 if test "$ac_dir" != .; then
39361 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
39362 # A "../" for each directory in $ac_dir_suffix.
39363 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
39364 else
39365 ac_dir_suffix= ac_top_builddir=
39366 fi
30016 case "$ac_dir" in
30017 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
30018 *)
30019 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
30020 # A ".." for each directory in $ac_dir_suffix.
30021 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
30022 case $ac_top_builddir_sub in
30023 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
30024 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
30025 esac ;;
30026 esac
30027 ac_abs_top_builddir=$ac_pwd
30028 ac_abs_builddir=$ac_pwd$ac_dir_suffix
30029 # for backward compatibility:
30030 ac_top_builddir=$ac_top_build_prefix
3936730031
3936830032 case $srcdir in
39369 .) # No --srcdir option. We are building in place.
30033 .) # We are building in place.
3937030034 ac_srcdir=.
39371 if test -z "$ac_top_builddir"; then
39372 ac_top_srcdir=.
39373 else
39374 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
39375 fi ;;
39376 [\\/]* | ?:[\\/]* ) # Absolute path.
30035 ac_top_srcdir=$ac_top_builddir_sub
30036 ac_abs_top_srcdir=$ac_pwd ;;
30037 [\\/]* | ?:[\\/]* ) # Absolute name.
3937730038 ac_srcdir=$srcdir$ac_dir_suffix;
39378 ac_top_srcdir=$srcdir ;;
39379 *) # Relative path.
39380 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
39381 ac_top_srcdir=$ac_top_builddir$srcdir ;;
30039 ac_top_srcdir=$srcdir
30040 ac_abs_top_srcdir=$srcdir ;;
30041 *) # Relative name.
30042 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
30043 ac_top_srcdir=$ac_top_build_prefix$srcdir
30044 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3938230045 esac
39383
39384 # Do not use `cd foo && pwd` to compute absolute paths, because
39385 # the directories may not exist.
39386 case `pwd` in
39387 .) ac_abs_builddir="$ac_dir";;
39388 *)
39389 case "$ac_dir" in
39390 .) ac_abs_builddir=`pwd`;;
39391 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
39392 *) ac_abs_builddir=`pwd`/"$ac_dir";;
39393 esac;;
39394 esac
39395 case $ac_abs_builddir in
39396 .) ac_abs_top_builddir=${ac_top_builddir}.;;
39397 *)
39398 case ${ac_top_builddir}. in
39399 .) ac_abs_top_builddir=$ac_abs_builddir;;
39400 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
39401 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
39402 esac;;
39403 esac
39404 case $ac_abs_builddir in
39405 .) ac_abs_srcdir=$ac_srcdir;;
39406 *)
39407 case $ac_srcdir in
39408 .) ac_abs_srcdir=$ac_abs_builddir;;
39409 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
39410 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
39411 esac;;
39412 esac
39413 case $ac_abs_builddir in
39414 .) ac_abs_top_srcdir=$ac_top_srcdir;;
39415 *)
39416 case $ac_top_srcdir in
39417 .) ac_abs_top_srcdir=$ac_abs_builddir;;
39418 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
39419 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
39420 esac;;
39421 esac
39422
30046 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
30047
30048
30049 case $ac_mode in
30050 :F)
30051 #
30052 # CONFIG_FILE
30053 #
3942330054
3942430055 case $INSTALL in
3942530056 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
39426 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
30057 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3942730058 esac
39428
39429 if test x"$ac_file" != x-; then
39430 { echo "$as_me:$LINENO: creating $ac_file" >&5
39431 echo "$as_me: creating $ac_file" >&6;}
39432 rm -f "$ac_file"
39433 fi
39434 # Let's still pretend it is `configure' which instantiates (i.e., don't
39435 # use $as_me), people would be surprised to read:
39436 # /* config.h. Generated by config.status. */
39437 if test x"$ac_file" = x-; then
39438 configure_input=
39439 else
39440 configure_input="$ac_file. "
39441 fi
39442 configure_input=$configure_input"Generated from `echo $ac_file_in |
39443 sed 's,.*/,,'` by configure."
39444
39445 # First look for the input files in the build tree, otherwise in the
39446 # src tree.
39447 ac_file_inputs=`IFS=:
39448 for f in $ac_file_in; do
39449 case $f in
39450 -) echo $tmp/stdin ;;
39451 [\\/$]*)
39452 # Absolute (can't be DOS-style, as IFS=:)
39453 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
39454 echo "$as_me: error: cannot find input file: $f" >&2;}
39455 { (exit 1); exit 1; }; }
39456 echo "$f";;
39457 *) # Relative
39458 if test -f "$f"; then
39459 # Build tree
39460 echo "$f"
39461 elif test -f "$srcdir/$f"; then
39462 # Source tree
39463 echo "$srcdir/$f"
39464 else
39465 # /dev/null tree
39466 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
39467 echo "$as_me: error: cannot find input file: $f" >&2;}
39468 { (exit 1); exit 1; }; }
39469 fi;;
39470 esac
39471 done` || { (exit 1); exit 1; }
39472 _ACEOF
39473 cat >>$CONFIG_STATUS <<_ACEOF
39474 sed "$ac_vpsub
30059 _ACEOF
30060
30061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30062 # If the template does not know about datarootdir, expand it.
30063 # FIXME: This hack should be removed a few years after 2.60.
30064 ac_datarootdir_hack=; ac_datarootdir_seen=
30065 ac_sed_dataroot='
30066 /datarootdir/ {
30067 p
30068 q
30069 }
30070 /@datadir@/p
30071 /@docdir@/p
30072 /@infodir@/p
30073 /@localedir@/p
30074 /@mandir@/p'
30075 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
30076 *datarootdir*) ac_datarootdir_seen=yes;;
30077 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
30078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
30079 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
30080 _ACEOF
30081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30082 ac_datarootdir_hack='
30083 s&@datadir@&$datadir&g
30084 s&@docdir@&$docdir&g
30085 s&@infodir@&$infodir&g
30086 s&@localedir@&$localedir&g
30087 s&@mandir@&$mandir&g
30088 s&\\\${datarootdir}&$datarootdir&g' ;;
30089 esac
30090 _ACEOF
30091
30092 # Neutralize VPATH when `$srcdir' = `.'.
30093 # Shell code in configure.ac might set extrasub.
30094 # FIXME: do we really want to maintain this feature?
30095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30096 ac_sed_extra="$ac_vpsub
3947530097 $extrasub
3947630098 _ACEOF
39477 cat >>$CONFIG_STATUS <<\_ACEOF
30099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3947830100 :t
3947930101 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
39480 s,@configure_input@,$configure_input,;t t
39481 s,@srcdir@,$ac_srcdir,;t t
39482 s,@abs_srcdir@,$ac_abs_srcdir,;t t
39483 s,@top_srcdir@,$ac_top_srcdir,;t t
39484 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
39485 s,@builddir@,$ac_builddir,;t t
39486 s,@abs_builddir@,$ac_abs_builddir,;t t
39487 s,@top_builddir@,$ac_top_builddir,;t t
39488 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
39489 s,@INSTALL@,$ac_INSTALL,;t t
39490 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
39491 rm -f $tmp/stdin
30102 s|@configure_input@|$ac_sed_conf_input|;t t
30103 s&@top_builddir@&$ac_top_builddir_sub&;t t
30104 s&@top_build_prefix@&$ac_top_build_prefix&;t t
30105 s&@srcdir@&$ac_srcdir&;t t
30106 s&@abs_srcdir@&$ac_abs_srcdir&;t t
30107 s&@top_srcdir@&$ac_top_srcdir&;t t
30108 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
30109 s&@builddir@&$ac_builddir&;t t
30110 s&@abs_builddir@&$ac_abs_builddir&;t t
30111 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
30112 s&@INSTALL@&$ac_INSTALL&;t t
30113 $ac_datarootdir_hack
30114 "
30115 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
30116 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
30117
30118 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
30119 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
30120 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
30121 "$ac_tmp/out"`; test -z "$ac_out"; } &&
30122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30123 which seems to be undefined. Please make sure it is defined" >&5
30124 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30125 which seems to be undefined. Please make sure it is defined" >&2;}
30126
30127 rm -f "$ac_tmp/stdin"
30128 case $ac_file in
30129 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
30130 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
30131 esac \
30132 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
30133 ;;
30134 :H)
30135 #
30136 # CONFIG_HEADER
30137 #
3949230138 if test x"$ac_file" != x-; then
39493 mv $tmp/out $ac_file
39494 else
39495 cat $tmp/out
39496 rm -f $tmp/out
39497 fi
39498
39499 done
39500 _ACEOF
39501 cat >>$CONFIG_STATUS <<\_ACEOF
39502
39503 #
39504 # CONFIG_HEADER section.
39505 #
39506
39507 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
39508 # NAME is the cpp macro being defined and VALUE is the value it is being given.
39509 #
39510 # ac_d sets the value in "#define NAME VALUE" lines.
39511 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
39512 ac_dB='[ ].*$,\1#\2'
39513 ac_dC=' '
39514 ac_dD=',;t'
39515 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
39516 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
39517 ac_uB='$,\1#\2define\3'
39518 ac_uC=' '
39519 ac_uD=',;t'
39520
39521 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
39522 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
39523 case $ac_file in
39524 - | *:- | *:-:* ) # input from stdin
39525 cat >$tmp/stdin
39526 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
39527 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
39528 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
39529 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
39530 * ) ac_file_in=$ac_file.in ;;
39531 esac
39532
39533 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
39534 echo "$as_me: creating $ac_file" >&6;}
39535
39536 # First look for the input files in the build tree, otherwise in the
39537 # src tree.
39538 ac_file_inputs=`IFS=:
39539 for f in $ac_file_in; do
39540 case $f in
39541 -) echo $tmp/stdin ;;
39542 [\\/$]*)
39543 # Absolute (can't be DOS-style, as IFS=:)
39544 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
39545 echo "$as_me: error: cannot find input file: $f" >&2;}
39546 { (exit 1); exit 1; }; }
39547 # Do quote $f, to prevent DOS paths from being IFS'd.
39548 echo "$f";;
39549 *) # Relative
39550 if test -f "$f"; then
39551 # Build tree
39552 echo "$f"
39553 elif test -f "$srcdir/$f"; then
39554 # Source tree
39555 echo "$srcdir/$f"
39556 else
39557 # /dev/null tree
39558 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
39559 echo "$as_me: error: cannot find input file: $f" >&2;}
39560 { (exit 1); exit 1; }; }
39561 fi;;
39562 esac
39563 done` || { (exit 1); exit 1; }
39564 # Remove the trailing spaces.
39565 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
39566
39567 _ACEOF
39568
39569 # Transform confdefs.h into two sed scripts, `conftest.defines' and
39570 # `conftest.undefs', that substitutes the proper values into
39571 # config.h.in to produce config.h. The first handles `#define'
39572 # templates, and the second `#undef' templates.
39573 # And first: Protect against being on the right side of a sed subst in
39574 # config.status. Protect against being in an unquoted here document
39575 # in config.status.
39576 rm -f conftest.defines conftest.undefs
39577 # Using a here document instead of a string reduces the quoting nightmare.
39578 # Putting comments in sed scripts is not portable.
39579 #
39580 # `end' is used to avoid that the second main sed command (meant for
39581 # 0-ary CPP macros) applies to n-ary macro definitions.
39582 # See the Autoconf documentation for `clear'.
39583 cat >confdef2sed.sed <<\_ACEOF
39584 s/[\\&,]/\\&/g
39585 s,[\\$`],\\&,g
39586 t clear
39587 : clear
39588 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
39589 t end
39590 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
39591 : end
39592 _ACEOF
39593 # If some macros were called several times there might be several times
39594 # the same #defines, which is useless. Nevertheless, we may not want to
39595 # sort them, since we want the *last* AC-DEFINE to be honored.
39596 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
39597 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
39598 rm -f confdef2sed.sed
39599
39600 # This sed command replaces #undef with comments. This is necessary, for
39601 # example, in the case of _POSIX_SOURCE, which is predefined and required
39602 # on some systems where configure will not decide to define it.
39603 cat >>conftest.undefs <<\_ACEOF
39604 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
39605 _ACEOF
39606
39607 # Break up conftest.defines because some shells have a limit on the size
39608 # of here documents, and old seds have small limits too (100 cmds).
39609 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
39610 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
39611 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
39612 echo ' :' >>$CONFIG_STATUS
39613 rm -f conftest.tail
39614 while grep . conftest.defines >/dev/null
39615 do
39616 # Write a limited-size here document to $tmp/defines.sed.
39617 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
39618 # Speed up: don't consider the non `#define' lines.
39619 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
39620 # Work around the forget-to-reset-the-flag bug.
39621 echo 't clr' >>$CONFIG_STATUS
39622 echo ': clr' >>$CONFIG_STATUS
39623 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
39624 echo 'CEOF
39625 sed -f $tmp/defines.sed $tmp/in >$tmp/out
39626 rm -f $tmp/in
39627 mv $tmp/out $tmp/in
39628 ' >>$CONFIG_STATUS
39629 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
39630 rm -f conftest.defines
39631 mv conftest.tail conftest.defines
39632 done
39633 rm -f conftest.defines
39634 echo ' fi # grep' >>$CONFIG_STATUS
39635 echo >>$CONFIG_STATUS
39636
39637 # Break up conftest.undefs because some shells have a limit on the size
39638 # of here documents, and old seds have small limits too (100 cmds).
39639 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
39640 rm -f conftest.tail
39641 while grep . conftest.undefs >/dev/null
39642 do
39643 # Write a limited-size here document to $tmp/undefs.sed.
39644 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
39645 # Speed up: don't consider the non `#undef'
39646 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
39647 # Work around the forget-to-reset-the-flag bug.
39648 echo 't clr' >>$CONFIG_STATUS
39649 echo ': clr' >>$CONFIG_STATUS
39650 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
39651 echo 'CEOF
39652 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
39653 rm -f $tmp/in
39654 mv $tmp/out $tmp/in
39655 ' >>$CONFIG_STATUS
39656 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
39657 rm -f conftest.undefs
39658 mv conftest.tail conftest.undefs
39659 done
39660 rm -f conftest.undefs
39661
39662 cat >>$CONFIG_STATUS <<\_ACEOF
39663 # Let's still pretend it is `configure' which instantiates (i.e., don't
39664 # use $as_me), people would be surprised to read:
39665 # /* config.h. Generated by config.status. */
39666 if test x"$ac_file" = x-; then
39667 echo "/* Generated by configure. */" >$tmp/config.h
39668 else
39669 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
39670 fi
39671 cat $tmp/in >>$tmp/config.h
39672 rm -f $tmp/in
39673 if test x"$ac_file" != x-; then
39674 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
39675 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
39676 echo "$as_me: $ac_file is unchanged" >&6;}
30139 {
30140 $as_echo "/* $configure_input */" \
30141 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
30142 } >"$ac_tmp/config.h" \
30143 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
30144 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
30145 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
30146 $as_echo "$as_me: $ac_file is unchanged" >&6;}
3967730147 else
39678 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
39679 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39680 X"$ac_file" : 'X\(//\)[^/]' \| \
39681 X"$ac_file" : 'X\(//\)$' \| \
39682 X"$ac_file" : 'X\(/\)' \| \
39683 . : '\(.\)' 2>/dev/null ||
39684 echo X"$ac_file" |
39685 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39686 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39687 /^X\(\/\/\)$/{ s//\1/; q; }
39688 /^X\(\/\).*/{ s//\1/; q; }
39689 s/.*/./; q'`
39690 { if $as_mkdir_p; then
39691 mkdir -p "$ac_dir"
39692 else
39693 as_dir="$ac_dir"
39694 as_dirs=
39695 while test ! -d "$as_dir"; do
39696 as_dirs="$as_dir $as_dirs"
39697 as_dir=`(dirname "$as_dir") 2>/dev/null ||
39698 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39699 X"$as_dir" : 'X\(//\)[^/]' \| \
39700 X"$as_dir" : 'X\(//\)$' \| \
39701 X"$as_dir" : 'X\(/\)' \| \
39702 . : '\(.\)' 2>/dev/null ||
39703 echo X"$as_dir" |
39704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39705 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39706 /^X\(\/\/\)$/{ s//\1/; q; }
39707 /^X\(\/\).*/{ s//\1/; q; }
39708 s/.*/./; q'`
39709 done
39710 test ! -n "$as_dirs" || mkdir $as_dirs
39711 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
39712 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
39713 { (exit 1); exit 1; }; }; }
39714
39715 rm -f $ac_file
39716 mv $tmp/config.h $ac_file
30148 rm -f "$ac_file"
30149 mv "$ac_tmp/config.h" "$ac_file" \
30150 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3971730151 fi
3971830152 else
39719 cat $tmp/config.h
39720 rm -f $tmp/config.h
30153 $as_echo "/* $configure_input */" \
30154 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
30155 || as_fn_error $? "could not create -" "$LINENO" 5
3972130156 fi
39722 # Compute $ac_file's index in $config_headers.
30157 # Compute "$ac_file"'s index in $config_headers.
3972330158 _am_stamp_count=1
3972430159 for _am_header in $config_headers :; do
3972530160 case $_am_header in
39726 $ac_file | $ac_file:* )
30161 "$ac_file" | "$ac_file":* )
3972730162 break ;;
3972830163 * )
3972930164 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
3973030165 esac
3973130166 done
39732 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
39733 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39734 X$ac_file : 'X\(//\)[^/]' \| \
39735 X$ac_file : 'X\(//\)$' \| \
39736 X$ac_file : 'X\(/\)' \| \
39737 . : '\(.\)' 2>/dev/null ||
39738 echo X$ac_file |
39739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39740 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39741 /^X\(\/\/\)$/{ s//\1/; q; }
39742 /^X\(\/\).*/{ s//\1/; q; }
39743 s/.*/./; q'`/stamp-h$_am_stamp_count
39744 done
39745 _ACEOF
39746 cat >>$CONFIG_STATUS <<\_ACEOF
39747
39748 #
39749 # CONFIG_COMMANDS section.
39750 #
39751 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
39752 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
39753 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
39754 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
39755 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39756 X"$ac_dest" : 'X\(//\)[^/]' \| \
39757 X"$ac_dest" : 'X\(//\)$' \| \
39758 X"$ac_dest" : 'X\(/\)' \| \
39759 . : '\(.\)' 2>/dev/null ||
39760 echo X"$ac_dest" |
39761 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39762 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39763 /^X\(\/\/\)$/{ s//\1/; q; }
39764 /^X\(\/\).*/{ s//\1/; q; }
39765 s/.*/./; q'`
39766 { if $as_mkdir_p; then
39767 mkdir -p "$ac_dir"
39768 else
39769 as_dir="$ac_dir"
39770 as_dirs=
39771 while test ! -d "$as_dir"; do
39772 as_dirs="$as_dir $as_dirs"
39773 as_dir=`(dirname "$as_dir") 2>/dev/null ||
39774 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39775 X"$as_dir" : 'X\(//\)[^/]' \| \
39776 X"$as_dir" : 'X\(//\)$' \| \
39777 X"$as_dir" : 'X\(/\)' \| \
39778 . : '\(.\)' 2>/dev/null ||
39779 echo X"$as_dir" |
39780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39781 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39782 /^X\(\/\/\)$/{ s//\1/; q; }
39783 /^X\(\/\).*/{ s//\1/; q; }
39784 s/.*/./; q'`
39785 done
39786 test ! -n "$as_dirs" || mkdir $as_dirs
39787 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
39788 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
39789 { (exit 1); exit 1; }; }; }
39790
39791 ac_builddir=.
39792
39793 if test "$ac_dir" != .; then
39794 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
39795 # A "../" for each directory in $ac_dir_suffix.
39796 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
39797 else
39798 ac_dir_suffix= ac_top_builddir=
39799 fi
39800
39801 case $srcdir in
39802 .) # No --srcdir option. We are building in place.
39803 ac_srcdir=.
39804 if test -z "$ac_top_builddir"; then
39805 ac_top_srcdir=.
39806 else
39807 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
39808 fi ;;
39809 [\\/]* | ?:[\\/]* ) # Absolute path.
39810 ac_srcdir=$srcdir$ac_dir_suffix;
39811 ac_top_srcdir=$srcdir ;;
39812 *) # Relative path.
39813 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
39814 ac_top_srcdir=$ac_top_builddir$srcdir ;;
39815 esac
39816
39817 # Do not use `cd foo && pwd` to compute absolute paths, because
39818 # the directories may not exist.
39819 case `pwd` in
39820 .) ac_abs_builddir="$ac_dir";;
39821 *)
39822 case "$ac_dir" in
39823 .) ac_abs_builddir=`pwd`;;
39824 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
39825 *) ac_abs_builddir=`pwd`/"$ac_dir";;
39826 esac;;
39827 esac
39828 case $ac_abs_builddir in
39829 .) ac_abs_top_builddir=${ac_top_builddir}.;;
39830 *)
39831 case ${ac_top_builddir}. in
39832 .) ac_abs_top_builddir=$ac_abs_builddir;;
39833 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
39834 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
39835 esac;;
39836 esac
39837 case $ac_abs_builddir in
39838 .) ac_abs_srcdir=$ac_srcdir;;
39839 *)
39840 case $ac_srcdir in
39841 .) ac_abs_srcdir=$ac_abs_builddir;;
39842 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
39843 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
39844 esac;;
39845 esac
39846 case $ac_abs_builddir in
39847 .) ac_abs_top_srcdir=$ac_top_srcdir;;
39848 *)
39849 case $ac_top_srcdir in
39850 .) ac_abs_top_srcdir=$ac_abs_builddir;;
39851 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
39852 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
39853 esac;;
39854 esac
39855
39856
39857 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
39858 echo "$as_me: executing $ac_dest commands" >&6;}
39859 case $ac_dest in
39860 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
30167 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
30168 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30169 X"$ac_file" : 'X\(//\)[^/]' \| \
30170 X"$ac_file" : 'X\(//\)$' \| \
30171 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
30172 $as_echo X"$ac_file" |
30173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30174 s//\1/
30175 q
30176 }
30177 /^X\(\/\/\)[^/].*/{
30178 s//\1/
30179 q
30180 }
30181 /^X\(\/\/\)$/{
30182 s//\1/
30183 q
30184 }
30185 /^X\(\/\).*/{
30186 s//\1/
30187 q
30188 }
30189 s/.*/./; q'`/stamp-h$_am_stamp_count
30190 ;;
30191
30192 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
30193 $as_echo "$as_me: executing $ac_file commands" >&6;}
30194 ;;
30195 esac
30196
30197
30198 case $ac_file$ac_mode in
30199 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
3986130200 # Strip MF so we end up with the name of the file.
3986230201 mf=`echo "$mf" | sed -e 's/:.*$//'`
3986330202 # Check whether this is an Automake generated Makefile or not.
3986730206 # each Makefile.in and add a new line on top of each file to say so.
3986830207 # So let's grep whole file.
3986930208 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
39870 dirpart=`(dirname "$mf") 2>/dev/null ||
30209 dirpart=`$as_dirname -- "$mf" ||
3987130210 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3987230211 X"$mf" : 'X\(//\)[^/]' \| \
3987330212 X"$mf" : 'X\(//\)$' \| \
39874 X"$mf" : 'X\(/\)' \| \
39875 . : '\(.\)' 2>/dev/null ||
39876 echo X"$mf" |
39877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39878 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39879 /^X\(\/\/\)$/{ s//\1/; q; }
39880 /^X\(\/\).*/{ s//\1/; q; }
39881 s/.*/./; q'`
30213 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
30214 $as_echo X"$mf" |
30215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30216 s//\1/
30217 q
30218 }
30219 /^X\(\/\/\)[^/].*/{
30220 s//\1/
30221 q
30222 }
30223 /^X\(\/\/\)$/{
30224 s//\1/
30225 q
30226 }
30227 /^X\(\/\).*/{
30228 s//\1/
30229 q
30230 }
30231 s/.*/./; q'`
3988230232 else
3988330233 continue
3988430234 fi
3990030250 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3990130251 # Make sure the directory exists.
3990230252 test -f "$dirpart/$file" && continue
39903 fdir=`(dirname "$file") 2>/dev/null ||
30253 fdir=`$as_dirname -- "$file" ||
3990430254 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3990530255 X"$file" : 'X\(//\)[^/]' \| \
3990630256 X"$file" : 'X\(//\)$' \| \
39907 X"$file" : 'X\(/\)' \| \
39908 . : '\(.\)' 2>/dev/null ||
39909 echo X"$file" |
39910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39911 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39912 /^X\(\/\/\)$/{ s//\1/; q; }
39913 /^X\(\/\).*/{ s//\1/; q; }
39914 s/.*/./; q'`
39915 { if $as_mkdir_p; then
39916 mkdir -p $dirpart/$fdir
39917 else
39918 as_dir=$dirpart/$fdir
39919 as_dirs=
39920 while test ! -d "$as_dir"; do
39921 as_dirs="$as_dir $as_dirs"
39922 as_dir=`(dirname "$as_dir") 2>/dev/null ||
39923 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39924 X"$as_dir" : 'X\(//\)[^/]' \| \
39925 X"$as_dir" : 'X\(//\)$' \| \
39926 X"$as_dir" : 'X\(/\)' \| \
39927 . : '\(.\)' 2>/dev/null ||
39928 echo X"$as_dir" |
39929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39930 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39931 /^X\(\/\/\)$/{ s//\1/; q; }
39932 /^X\(\/\).*/{ s//\1/; q; }
39933 s/.*/./; q'`
39934 done
39935 test ! -n "$as_dirs" || mkdir $as_dirs
39936 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
39937 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
39938 { (exit 1); exit 1; }; }; }
39939
30257 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
30258 $as_echo X"$file" |
30259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30260 s//\1/
30261 q
30262 }
30263 /^X\(\/\/\)[^/].*/{
30264 s//\1/
30265 q
30266 }
30267 /^X\(\/\/\)$/{
30268 s//\1/
30269 q
30270 }
30271 /^X\(\/\).*/{
30272 s//\1/
30273 q
30274 }
30275 s/.*/./; q'`
30276 as_dir=$dirpart/$fdir; as_fn_mkdir_p
3994030277 # echo "creating $dirpart/$file"
3994130278 echo '# dummy' > "$dirpart/$file"
3994230279 done
3994330280 done
3994430281 ;;
30282
3994530283 esac
39946 done
39947 _ACEOF
39948
39949 cat >>$CONFIG_STATUS <<\_ACEOF
39950
39951 { (exit 0); exit 0; }
39952 _ACEOF
39953 chmod +x $CONFIG_STATUS
30284 done # for ac_tag
30285
30286
30287 as_fn_exit 0
30288 _ACEOF
3995430289 ac_clean_files=$ac_clean_files_save
30290
30291 test $ac_write_fail = 0 ||
30292 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3995530293
3995630294
3995730295 # configure is writing to config.log, and then calls config.status.
3997230310 exec 5>>config.log
3997330311 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3997430312 # would make configure fail if this is the last instruction.
39975 $ac_cs_success || { (exit 1); exit 1; }
39976 fi
39977
30313 $ac_cs_success || as_fn_exit 1
30314 fi
30315 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
30316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
30317 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
30318 fi
30319
doc/._README_solaris less more
Binary diff not shown
html/._README_solaris.htm less more
Binary diff not shown
html/._allguide.htm less more
Binary diff not shown
html/pages/._progu335.htm less more
Binary diff not shown
html/pages/._refgu086.htm less more
Binary diff not shown
html/pages/._usrgu059.htm less more
Binary diff not shown
include/dx/._arch.h less more
Binary diff not shown
include/dx/._array.h less more
Binary diff not shown
00 /* include/dxconfig.h.in. Generated from configure.ac by autoheader. */
1
2 /* Define if building universal (internal helper macro) */
3 #undef AC_APPLE_UNIVERSAL_BUILD
14
25 /* Define to 1 to use alternate signal argument list in C++ */
36 #undef ALTERNATE_CXX_SIGNAL
649652 /* Define to the one symbol short name of this package. */
650653 #undef PACKAGE_TARNAME
651654
655 /* Define to the home page for this package. */
656 #undef PACKAGE_URL
657
652658 /* Define to the version of this package. */
653659 #undef PACKAGE_VERSION
654660
655 /* Define to 1 if the C compiler supports function prototypes. */
656 #undef PROTOTYPES
657
658661 /* Define to 1 if bzero needs declared */
659662 #undef REQUIRES_BZERO_DECLARATION
660663
670673 /* Arguments for select */
671674 #undef SELECT_ARG_TYPE
672675
673 /* Define to 1 if the `setvbuf' function takes the buffering type as its
674 second argument and the buffer pointer as the third, as on System V before
675 release 3. */
676 #undef SETVBUF_REVERSED
677
678676 /* SGI specific ABI */
679677 #undef SGI_ABI
680678
705703 /* Version number of package */
706704 #undef VERSION
707705
708 /* Define to 1 if your processor stores words with the most significant byte
709 first (like Motorola and SPARC, unlike Intel and VAX). */
710 #undef WORDS_BIGENDIAN
706 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
707 significant byte first (like Motorola and SPARC, unlike Intel). */
708 #if defined AC_APPLE_UNIVERSAL_BUILD
709 # if defined __BIG_ENDIAN__
710 # define WORDS_BIGENDIAN 1
711 # endif
712 #else
713 # ifndef WORDS_BIGENDIAN
714 # undef WORDS_BIGENDIAN
715 # endif
716 #endif
711717
712718 /* set to 1 if lexer adds yylineno */
713719 #undef YYLINENO_DEFINED
716722 `char[]'. */
717723 #undef YYTEXT_POINTER
718724
719 /* Define like PROTOTYPES; this can be used by system headers. */
720 #undef __PROTOTYPES
721
722725 /* Do not define __int64 if already have type __int64 */
723726 #undef __int64
724727
752755 /* Do not define short if already have type short */
753756 #undef short
754757
755 /* Define to `unsigned' if <sys/types.h> does not define. */
758 /* Define to `unsigned int' if <sys/types.h> does not define. */
756759 #undef size_t
757760
758761 /* Do not define ubyte if already have type ubyte */
src/exec/dpexec/._ccm.c less more
Binary diff not shown
src/exec/dpexec/._distpacket.c less more
Binary diff not shown
src/exec/dpexec/._log.c less more
Binary diff not shown
src/exec/dpexec/._packet.c less more
Binary diff not shown
src/exec/dpexec/._pendingcmds.c less more
Binary diff not shown
src/exec/dpexec/._remote.c less more
Binary diff not shown
src/exec/dpexec/._sfile.c less more
Binary diff not shown
src/exec/dxexec/._main.c less more
Binary diff not shown
src/exec/dxmods/.__cat_util.c less more
Binary diff not shown
src/exec/dxmods/.__compoper.c less more
Binary diff not shown
src/exec/dxmods/.__compoper2.c less more
Binary diff not shown
src/exec/dxmods/.__getfield.c less more
Binary diff not shown
src/exec/dxmods/.__isosurface.c less more
Binary diff not shown
src/exec/dxmods/.__plot.c less more
Binary diff not shown
src/exec/dxmods/.__regstream.c less more
Binary diff not shown
src/exec/dxmods/.__simplesurf.c less more
Binary diff not shown
src/exec/dxmods/._autoaxes.c less more
Binary diff not shown
src/exec/dxmods/._autoregrid.c less more
Binary diff not shown
src/exec/dxmods/._cat.h less more
Binary diff not shown
src/exec/dxmods/._categorize.c less more
Binary diff not shown
src/exec/dxmods/._catstats.c less more
Binary diff not shown
src/exec/dxmods/._changemember.c less more
Binary diff not shown
src/exec/dxmods/._changetype.c less more
Binary diff not shown
src/exec/dxmods/._colorbar.c less more
Binary diff not shown
src/exec/dxmods/._describe.c less more
Binary diff not shown
src/exec/dxmods/._dxlmessage.c less more
Binary diff not shown
src/exec/dxmods/._dxloutvalue.c less more
Binary diff not shown
src/exec/dxmods/._dxmdf.src less more
Binary diff not shown
src/exec/dxmods/._getscene.c less more
Binary diff not shown
src/exec/dxmods/._glyph_ARRW.h less more
Binary diff not shown
src/exec/dxmods/._glyph_ARRW2D.h less more
Binary diff not shown
src/exec/dxmods/._glyph_BOX.h less more
Binary diff not shown
src/exec/dxmods/._glyph_CIRCLE10.h less more
Binary diff not shown
src/exec/dxmods/._glyph_CIRCLE20.h less more
Binary diff not shown
src/exec/dxmods/._glyph_CIRCLE4.h less more
Binary diff not shown
src/exec/dxmods/._glyph_CIRCLE40.h less more
Binary diff not shown
src/exec/dxmods/._glyph_CIRCLE6.h less more
Binary diff not shown
src/exec/dxmods/._glyph_CIRCLE8.h less more
Binary diff not shown
src/exec/dxmods/._glyph_DMND.h less more
Binary diff not shown
src/exec/dxmods/._glyph_NDDL.h less more
Binary diff not shown
src/exec/dxmods/._glyph_NDDL2D.h less more
Binary diff not shown
src/exec/dxmods/._glyph_PNT.h less more
Binary diff not shown
src/exec/dxmods/._glyph_RCKT12.h less more
Binary diff not shown
src/exec/dxmods/._glyph_RCKT20.h less more
Binary diff not shown
src/exec/dxmods/._glyph_RCKT2D.h less more
Binary diff not shown
src/exec/dxmods/._glyph_RCKT3.h less more
Binary diff not shown
src/exec/dxmods/._glyph_RCKT4.h less more
Binary diff not shown
src/exec/dxmods/._glyph_RCKT6.h less more
Binary diff not shown
src/exec/dxmods/._glyph_RCKT8.h less more
Binary diff not shown
src/exec/dxmods/._glyph_SPHR114.h less more
Binary diff not shown
src/exec/dxmods/._glyph_SPHR12.h less more
Binary diff not shown
src/exec/dxmods/._glyph_SPHR14.h less more
Binary diff not shown
src/exec/dxmods/._glyph_SPHR146.h less more
Binary diff not shown
src/exec/dxmods/._glyph_SPHR26.h less more
Binary diff not shown
src/exec/dxmods/._glyph_SPHR266.h less more
Binary diff not shown
src/exec/dxmods/._glyph_SPHR42.h less more
Binary diff not shown
src/exec/dxmods/._glyph_SPHR62.h less more
Binary diff not shown
src/exec/dxmods/._glyph_SQUARE.h less more
Binary diff not shown
src/exec/dxmods/._grid.c less more
Binary diff not shown
src/exec/dxmods/._histogram.c less more
Binary diff not shown
src/exec/dxmods/._import_cm.c less more
Binary diff not shown
src/exec/dxmods/._include.c less more
Binary diff not shown
src/exec/dxmods/._inquire.c less more
Binary diff not shown
src/exec/dxmods/._integer.c less more
Binary diff not shown
src/exec/dxmods/._isolate.c less more
Binary diff not shown
src/exec/dxmods/._lookup.c less more
Binary diff not shown
src/exec/dxmods/._mark.c less more
Binary diff not shown
src/exec/dxmods/._measure.c less more
Binary diff not shown
src/exec/dxmods/._parse.c less more
Binary diff not shown
src/exec/dxmods/._partition.c less more
Binary diff not shown
src/exec/dxmods/._pick.c less more
Binary diff not shown
src/exec/dxmods/._pie.c less more
Binary diff not shown
src/exec/dxmods/._programctl.c less more
Binary diff not shown
src/exec/dxmods/._regrid.c less more
Binary diff not shown
src/exec/dxmods/._rename.c less more
Binary diff not shown
src/exec/dxmods/._reorient.c less more
Binary diff not shown
src/exec/dxmods/._replace.c less more
Binary diff not shown
src/exec/dxmods/._scalar.c less more
Binary diff not shown
src/exec/dxmods/._select.c less more
Binary diff not shown
src/exec/dxmods/._selector.c less more
Binary diff not shown
src/exec/dxmods/._separate.c less more
Binary diff not shown
src/exec/dxmods/._simplesurf.c less more
Binary diff not shown
src/exec/dxmods/._slice.c less more
Binary diff not shown
src/exec/dxmods/._socketconnect.c less more
Binary diff not shown
src/exec/dxmods/._sort.c less more
Binary diff not shown
src/exec/dxmods/._stack.c less more
Binary diff not shown
src/exec/dxmods/._stringlegend.c less more
Binary diff not shown
src/exec/dxmods/._superwinW.c less more
Binary diff not shown
src/exec/dxmods/._toggle.c less more
Binary diff not shown
src/exec/dxmods/._trace.c less more
Binary diff not shown
src/exec/dxmods/._unmark.c less more
Binary diff not shown
src/exec/dxmods/._usage.c less more
Binary diff not shown
src/exec/dxmods/._vector.c less more
Binary diff not shown
src/exec/dxmods/._visualobject.c less more
Binary diff not shown
src/exec/hwrender/._hwClientMessage.c less more
Binary diff not shown
src/exec/hwrender/._hwCursorInteractor.c less more
Binary diff not shown
src/exec/hwrender/._hwDebug.h less more
Binary diff not shown
src/exec/hwrender/._hwGather.c less more
Binary diff not shown
src/exec/hwrender/._hwGlobeEchoDef.h less more
Binary diff not shown
src/exec/hwrender/._hwMatrix.c less more
Binary diff not shown
src/exec/hwrender/._hwNavigateInteractor.c less more
Binary diff not shown
src/exec/hwrender/._hwPaint.c less more
Binary diff not shown
src/exec/hwrender/._hwPolyline.c less more
Binary diff not shown
src/exec/hwrender/._hwPortLayer.h less more
Binary diff not shown
src/exec/hwrender/._hwQmesh.c less more
Binary diff not shown
src/exec/hwrender/._hwRotateInteractor.c less more
Binary diff not shown
src/exec/hwrender/._hwStereo.c less more
Binary diff not shown
src/exec/hwrender/._hwStereoSys.c less more
Binary diff not shown
src/exec/hwrender/._hwUpdateview.c less more
Binary diff not shown
src/exec/hwrender/._hwUserInteractor.c less more
Binary diff not shown
src/exec/hwrender/._hwView.c less more
Binary diff not shown
src/exec/hwrender/opengl/._hwInteractorEchoOGL.c less more
Binary diff not shown
src/exec/hwrender/starbase/._hwPortSB.c less more
Binary diff not shown
src/exec/libdx/._Makefile.am less more
Binary diff not shown
src/exec/libdx/._callm_init.c less more
Binary diff not shown
src/exec/libdx/._client.c less more
Binary diff not shown
src/exec/libdx/._displayutil.h less more
Binary diff not shown
src/exec/libdx/._edf.h less more
Binary diff not shown
src/exec/libdx/._edfio.c less more
Binary diff not shown
src/exec/libdx/._edfprint.c less more
Binary diff not shown
src/exec/libdx/._hash.c less more
Binary diff not shown
src/exec/libdx/._lbcamera.c less more
Binary diff not shown
src/exec/libdx/._lbprint.c less more
Binary diff not shown
src/exec/libdx/._neighbors.c less more
Binary diff not shown
src/exec/libdx/._notify.c less more
Binary diff not shown
src/exec/libdx/._reggrow.c less more
Binary diff not shown
src/exec/libdx/._render.h less more
Binary diff not shown
src/exec/libdx/._triangles.h less more
Binary diff not shown
218218 }
219219 }
220220 };
221 };
221 }
222 ;
222223 } else if (cmap && !omap) {
223224 unsigned char *icp;
224225 RGBColor *ocp;
398399 }
399400 }
400401 };
401 };
402 }
403 ;
402404 } else {
403405
404406 if (((scale)<0? -(scale) : (scale)) > 1.0) {
574576 }
575577 }
576578 };
577 };
579 }
580 ;
578581 }
579582 } else if (otype==type_colors) {
580583 {
16541657
16551658
16561659 }
1657 };
1660 }
1661 ;
16581662 } else if (otype==type_big) {
16591663 if (clip) {
16601664 {
21942198
21952199
21962200 }
2197 };
2201 }
2202 ;
21982203 } else {
21992204 {
22002205 RGBColor *icp;
27332738
27342739
27352740 }
2736 };
2741 }
2742 ;
27372743 }
27382744 }
27392745 return OK;
23972397 CAT(qtcdc,2) :
23982398 continue;
23992399 }
2400 };
2400 }
2401 ;
24012402 } else if (buf->pix_type==pix_fast) {
24022403 {
24032404 Point *p;
30583059 CAT(qtfdc,2) :
30593060 continue;
30603061 }
3061 };
3062 }
3063 ;
30623064 } else if (buf->pix_type==pix_big) {
30633065 {
30643066 Point *p;
37193721 CAT(qtbdc,2) :
37203722 continue;
37213723 }
3722 };
3724 }
3725 ;
37233726 } else {
37243727 DXSetError(ERROR_INTERNAL, "unknown pix_type %d", buf->pix_type);
37253728 return ERROR;
43874390 CAT(qtcdp,2) :
43884391 continue;
43894392 }
4390 };
4393 }
4394 ;
43914395 } else if (buf->pix_type==pix_fast) {
43924396 {
43934397 Point *p;
50485052 CAT(qtfdp,2) :
50495053 continue;
50505054 }
5051 };
5055 }
5056 ;
50525057 } else if (buf->pix_type==pix_big) {
50535058 {
50545059 Point *p;
57095714 CAT(qtbdp,2) :
57105715 continue;
57115716 }
5712 };
5717 }
5718 ;
57135719 } else {
57145720 DXSetError(ERROR_INTERNAL, "unknown pix_type %d", buf->pix_type);
57155721 return ERROR;
1272712733 CAT(qftc,2) :
1272812734 continue;
1272912735 }
12730 };
12736 }
12737 ;
1273112738 } else if (buf->pix_type==pix_fast) {
1273212739 {
1273312740 Point *p;
1338813395 CAT(qftf,2) :
1338913396 continue;
1339013397 }
13391 };
13398 }
13399 ;
1339213400 } else if (buf->pix_type==pix_big) {
1339313401 {
1339413402 Point *p;
1404914057 CAT(qftb,2) :
1405014058 continue;
1405114059 }
14052 };
14060 }
14061 ;
1405314062 } else {
1405414063 DXSetError(ERROR_INTERNAL, "unknown pix_type %d", buf->pix_type);
1405514064 return ERROR;
1474414753 CAT(qfoc,2) :
1474514754 continue;
1474614755 }
14747 };
14756 }
14757 ;
1474814758 } else if (buf->pix_type==pix_fast) {
1474914759 {
1475014760 Point *p;
1540515415 CAT(qfof,2) :
1540615416 continue;
1540715417 }
15408 };
15418 }
15419 ;
1540915420 } else if (buf->pix_type==pix_big) {
1541015421 {
1541115422 Point *p;
1606616077 CAT(qfob,2) :
1606716078 continue;
1606816079 }
16069 };
16080 }
16081 ;
1607016082 } else {
1607116083 DXSetError(ERROR_INTERNAL, "unknown pix_type %d", buf->pix_type);
1607216084 return ERROR;
12641264 CAT(ttcdc,1) :
12651265 continue;
12661266 }
1267 };
1267 }
1268 ;
12681269 } else if (buf->pix_type==pix_fast) {
12691270 {
12701271 Point *p;
16161617 CAT(ttfdc,1) :
16171618 continue;
16181619 }
1619 };
1620 }
1621 ;
16201622 } else if (buf->pix_type==pix_big) {
16211623 {
16221624 Point *p;
19681970 CAT(ttbdc,1) :
19691971 continue;
19701972 }
1971 };
1973 }
1974 ;
19721975 } else {
19731976 DXSetError(ERROR_INTERNAL, "unknown pix_type %d", buf->pix_type);
19741977 return ERROR;
23282331 CAT(ttcdp,1) :
23292332 continue;
23302333 }
2331 };
2334 }
2335 ;
23322336 } else if (buf->pix_type==pix_fast) {
23332337 {
23342338 Point *p;
26802684 CAT(ttfdp,1) :
26812685 continue;
26822686 }
2683 };
2687 }
2688 ;
26842689 } else if (buf->pix_type==pix_big) {
26852690 {
26862691 Point *p;
30323037 CAT(ttbdp,1) :
30333038 continue;
30343039 }
3035 };
3040 }
3041 ;
30363042 } else {
30373043 DXSetError(ERROR_INTERNAL, "unknown pix_type %d", buf->pix_type);
30383044 return ERROR;
53795385 CAT(tftc,1) :
53805386 continue;
53815387 }
5382 };
5388 }
5389 ;
53835390 } else if (buf->pix_type==pix_fast) {
53845391 {
53855392 Point *p;
57315738 CAT(tftf,1) :
57325739 continue;
57335740 }
5734 };
5741 }
5742 ;
57355743 } else if (buf->pix_type==pix_big) {
57365744 {
57375745 Point *p;
60836091 CAT(tftb,1) :
60846092 continue;
60856093 }
6086 };
6094 }
6095 ;
60876096 } else {
60886097 DXSetError(ERROR_INTERNAL, "unknown pix_type %d", buf->pix_type);
60896098 return ERROR;
64696478 CAT(tfoc,1) :
64706479 continue;
64716480 }
6472 };
6481 }
6482 ;
64736483 } else if (buf->pix_type==pix_fast) {
64746484 {
64756485 Point *p;
68216831 CAT(tfof,1) :
68226832 continue;
68236833 }
6824 };
6834 }
6835 ;
68256836 } else if (buf->pix_type==pix_big) {
68266837 {
68276838 Point *p;
71737184 CAT(tfob,1) :
71747185 continue;
71757186 }
7176 };
7187 }
7188 ;
71777189 } else {
71787190 DXSetError(ERROR_INTERNAL, "unknown pix_type %d", buf->pix_type);
71797191 return ERROR;
src/uipp/base/._Application.C less more
Binary diff not shown
src/uipp/base/._Application.h less more
Binary diff not shown
src/uipp/base/._HelpWin.C less more
Binary diff not shown
src/uipp/base/._MainWindow.h less more
Binary diff not shown
src/uipp/base/._Server.C less more
Binary diff not shown
src/uipp/base/._StartWebBrowser.C less more
Binary diff not shown
src/uipp/base/._StringTable.C less more
Binary diff not shown
src/uipp/base/._StringTable.h less more
Binary diff not shown
src/uipp/base/._SymbolManager.h less more
Binary diff not shown
src/uipp/base/._TimedMessage.C less more
Binary diff not shown
src/uipp/base/._TreeNode.h less more
Binary diff not shown
src/uipp/base/._UIComponent.C less more
Binary diff not shown
src/uipp/base/._UIComponent.h less more
Binary diff not shown
src/uipp/dxl/._open.c less more
Binary diff not shown
src/uipp/dxl/._send.c less more
Binary diff not shown
src/uipp/dxui/._DialInteractor.C less more
Binary diff not shown
src/uipp/dxuilib/._AutoAxesDialog.C less more
Binary diff not shown
src/uipp/dxuilib/._ColormapAddCtlDialog.C less more
Binary diff not shown
src/uipp/dxuilib/._ControlPanel.C less more
Binary diff not shown
src/uipp/dxuilib/._DXWindow.C less more
Binary diff not shown
src/uipp/dxuilib/._EditorWindow.C less more
Binary diff not shown
src/uipp/dxuilib/._EditorWorkSpace.C less more
Binary diff not shown
src/uipp/dxuilib/._FileSelectorInstance.C less more
Binary diff not shown
src/uipp/dxuilib/._FileSelectorInstance.h less more
Binary diff not shown
src/uipp/dxuilib/._GraphLayout.C less more
Binary diff not shown
src/uipp/dxuilib/._ImageFormatDialog.C less more
Binary diff not shown
src/uipp/dxuilib/._InteractorInstance.C less more
Binary diff not shown
src/uipp/dxuilib/._JavaNet.C less more
Binary diff not shown
src/uipp/dxuilib/._LabelDecorator.C less more
Binary diff not shown
src/uipp/dxuilib/._PacketIF.C less more
Binary diff not shown
src/uipp/dxuilib/._PostScriptImageFormat.C less more
Binary diff not shown
src/uipp/dxuilib/._ResourceManager.C less more
Binary diff not shown
src/uipp/dxuilib/._ScalarInstance.C less more
Binary diff not shown
src/uipp/dxuilib/._SelectorInstance.C less more
Binary diff not shown
src/uipp/dxuilib/._SelectorListInstance.C less more
Binary diff not shown
src/uipp/dxuilib/._SeparatorDecorator.C less more
Binary diff not shown
src/uipp/dxuilib/._SetScalarAttrDialog.C less more
Binary diff not shown
src/uipp/dxuilib/._ThrottleDialog.C less more
Binary diff not shown
src/uipp/dxuilib/._TickLabel.C less more
Binary diff not shown
src/uipp/dxuilib/._ToggleInstance.C less more
Binary diff not shown
src/uipp/dxuilib/._ToolSelector.C less more
Binary diff not shown
src/uipp/dxuilib/._ViewControlDialog.C less more
Binary diff not shown
src/uipp/dxuilib/._WorkSpaceComponent.C less more
Binary diff not shown
0 /* A Bison parser, made by GNU Bison 1.875. */
1
2 /* Skeleton parser for Yacc-like parsing with Bison,
3 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
4
5 This program is free software; you can redistribute it and/or modify
0 /* A Bison parser, made by GNU Bison 3.7.6. */
1
2 /* Bison implementation for Yacc-like parsers in C
3
4 Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
5 Inc.
6
7 This program is free software: you can redistribute it and/or modify
68 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2, or (at your option)
8 any later version.
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
911
1012 This program is distributed in the hope that it will be useful,
1113 but WITHOUT ANY WARRANTY; without even the implied warranty of
1315 GNU General Public License for more details.
1416
1517 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA. */
19
20 /* As a special exception, when this file is copied by Bison into a
21 Bison output file, you may use that output file without restriction.
22 This special exception was added by the Free Software Foundation
23 in version 1.24 of Bison. */
24
25 /* Written by Richard Stallman by simplifying the original so called
26 ``semantic'' parser. */
18 along with this program. If not, see <https://www.gnu.org/licenses/>. */
19
20 /* As a special exception, you may create a larger work that contains
21 part or all of the Bison parser skeleton and distribute that work
22 under terms of your choice, so long as that work isn't itself a
23 parser generator using the skeleton or a modified version thereof
24 as a parser skeleton. Alternatively, if you modify or redistribute
25 the parser skeleton itself, you may (at your option) remove this
26 special exception, which will cause the skeleton and the resulting
27 Bison output files to be licensed under the GNU General Public
28 License without this special exception.
29
30 This special exception was added by the Free Software Foundation in
31 version 2.2 of Bison. */
32
33 /* C LALR(1) parser skeleton written by Richard Stallman, by
34 simplifying the original so-called "semantic" parser. */
35
36 /* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
37 especially those whose name start with YY_ or yy_. They are
38 private implementation details that can be changed or removed. */
2739
2840 /* All symbols defined below should begin with yy or YY, to avoid
2941 infringing on user name space. This should be done even for local
3244 define necessary library symbols; they are noted "INFRINGES ON
3345 USER NAME SPACE" below. */
3446
35 /* Identify Bison output. */
36 #define YYBISON 1
47 /* Identify Bison output, and Bison version. */
48 #define YYBISON 30706
49
50 /* Bison version string. */
51 #define YYBISON_VERSION "3.7.6"
3752
3853 /* Skeleton name. */
3954 #define YYSKELETON_NAME "yacc.c"
4156 /* Pure parsers. */
4257 #define YYPURE 0
4358
44 /* Using locations. */
45 #define YYLSP_NEEDED 0
46
47
48
49 /* Tokens. */
59 /* Push parsers. */
60 #define YYPUSH 0
61
62 /* Pull parsers. */
63 #define YYPULL 1
64
65
66
67
68 /* First part of user prologue. */
69 #line 1 "./net.y"
70
71
72 /***********************************************************************/
73 /* Open Visualization Data Explorer */
74 /* (C) Copyright IBM Corp. 1989,1999 */
75 /* ALL RIGHTS RESERVED */
76 /* This code licensed under the */
77 /* "IBM PUBLIC LICENSE - Open Visualization Data Explorer" */
78 /***********************************************************************/
79
80 /*****************************************************************************/
81 /* uin.yacc - */
82 /* */
83 /* Contains SVS script language grammar for yacc. */
84 /* */
85 /*****************************************************************************/
86
87 /*
88 * $Header: /src/master/dx/src/uipp/dxuilib/net.y,v 1.1 2002/06/13 20:56:27 gda Exp $
89 */
90
91 #include "Parse.h"
92
93
94 #line 96 "y.tab.c"
95
96 # ifndef YY_CAST
97 # ifdef __cplusplus
98 # define YY_CAST(Type, Val) static_cast<Type> (Val)
99 # define YY_REINTERPRET_CAST(Type, Val) reinterpret_cast<Type> (Val)
100 # else
101 # define YY_CAST(Type, Val) ((Type) (Val))
102 # define YY_REINTERPRET_CAST(Type, Val) ((Type) (Val))
103 # endif
104 # endif
105 # ifndef YY_NULLPTR
106 # if defined __cplusplus
107 # if 201103L <= __cplusplus
108 # define YY_NULLPTR nullptr
109 # else
110 # define YY_NULLPTR 0
111 # endif
112 # else
113 # define YY_NULLPTR ((void*)0)
114 # endif
115 # endif
116
117
118 /* Debug traces. */
119 #ifndef YYDEBUG
120 # define YYDEBUG 0
121 #endif
122 #if YYDEBUG
123 extern int yydebug;
124 #endif
125
126 /* Token kinds. */
50127 #ifndef YYTOKENTYPE
51128 # define YYTOKENTYPE
52 /* Put the tokens into the symbol table, so that GDB and other debuggers
53 know about them. */
54 enum yytokentype {
55 L_OR = 258,
56 L_AND = 259,
57 L_NOT = 260,
58 L_NEQ = 261,
59 L_EQ = 262,
60 L_GEQ = 263,
61 L_LEQ = 264,
62 L_GT = 265,
63 L_LT = 266,
64 A_MINUS = 267,
65 A_PLUS = 268,
66 A_MOD = 269,
67 A_IDIV = 270,
68 A_DIV = 271,
69 A_TIMES = 272,
70 A_EXP = 273,
71 U_MINUS = 274,
72 V_TRUE = 275,
73 V_FALSE = 276,
74 T_BAR = 277,
75 T_LPAR = 278,
76 T_RPAR = 279,
77 T_LBRA = 280,
78 T_RBRA = 281,
79 T_LSQB = 282,
80 T_RSQB = 283,
81 T_ASSIGN = 284,
82 T_COMMA = 285,
83 T_COLON = 286,
84 T_SEMI = 287,
85 T_PP = 288,
86 T_MM = 289,
87 T_RA = 290,
88 T_DOTDOT = 291,
89 T_COMMENT = 292,
90 T_ID = 293,
91 T_EXID = 294,
92 T_INT = 295,
93 T_STRING = 296,
94 T_FLOAT = 297,
95 K_BACKWARD = 298,
96 K_CANCEL = 299,
97 K_ELSE = 300,
98 K_FOR = 301,
99 K_FORWARD = 302,
100 K_IF = 303,
101 K_INCLUDE = 304,
102 K_LOOP = 305,
103 K_MACRO = 306,
104 K_MODULE = 307,
105 K_NULL = 308,
106 K_OFF = 309,
107 K_ON = 310,
108 K_PALINDROME = 311,
109 K_PAUSE = 312,
110 K_PLAY = 313,
111 K_QUIT = 314,
112 K_REPEAT = 315,
113 K_RESUME = 316,
114 K_SEQUENCE = 317,
115 K_STEP = 318,
116 K_STOP = 319,
117 K_SUSPEND = 320,
118 K_THEN = 321,
119 K_UNTIL = 322,
120 K_WHILE = 323,
121 P_INTERRUPT = 324,
122 P_SYSTEM = 325,
123 P_ACK = 326,
124 P_MACRO = 327,
125 P_FOREGROUND = 328,
126 P_BACKGROUND = 329,
127 P_ERROR = 330,
128 P_MESSAGE = 331,
129 P_INFO = 332,
130 P_LINQ = 333,
131 P_SINQ = 334,
132 P_VINQ = 335,
133 P_LRESP = 336,
134 P_SRESP = 337,
135 P_VRESP = 338,
136 P_DATA = 339
137 };
138 #endif
129 enum yytokentype
130 {
131 YYEMPTY = -2,
132 YYEOF = 0, /* "end of file" */
133 YYerror = 256, /* error */
134 YYUNDEF = 257, /* "invalid token" */
135 L_OR = 258, /* L_OR */
136 L_AND = 259, /* L_AND */
137 L_NOT = 260, /* L_NOT */
138 L_EQ = 261, /* L_EQ */
139 L_NEQ = 262, /* L_NEQ */
140 L_LT = 263, /* L_LT */
141 L_GT = 264, /* L_GT */
142 L_LEQ = 265, /* L_LEQ */
143 L_GEQ = 266, /* L_GEQ */
144 A_PLUS = 267, /* A_PLUS */
145 A_MINUS = 268, /* A_MINUS */
146 A_TIMES = 269, /* A_TIMES */
147 A_DIV = 270, /* A_DIV */
148 A_IDIV = 271, /* A_IDIV */
149 A_MOD = 272, /* A_MOD */
150 A_EXP = 273, /* A_EXP */
151 U_MINUS = 274, /* U_MINUS */
152 V_TRUE = 275, /* V_TRUE */
153 V_FALSE = 276, /* V_FALSE */
154 T_BAR = 277, /* T_BAR */
155 T_LPAR = 278, /* T_LPAR */
156 T_RPAR = 279, /* T_RPAR */
157 T_LBRA = 280, /* T_LBRA */
158 T_RBRA = 281, /* T_RBRA */
159 T_LSQB = 282, /* T_LSQB */
160 T_RSQB = 283, /* T_RSQB */
161 T_ASSIGN = 284, /* T_ASSIGN */
162 T_COMMA = 285, /* T_COMMA */
163 T_COLON = 286, /* T_COLON */
164 T_SEMI = 287, /* T_SEMI */
165 T_PP = 288, /* T_PP */
166 T_MM = 289, /* T_MM */
167 T_RA = 290, /* T_RA */
168 T_DOTDOT = 291, /* T_DOTDOT */
169 T_COMMENT = 292, /* T_COMMENT */
170 T_ID = 293, /* T_ID */
171 T_EXID = 294, /* T_EXID */
172 T_INT = 295, /* T_INT */
173 T_STRING = 296, /* T_STRING */
174 T_FLOAT = 297, /* T_FLOAT */
175 K_BACKWARD = 298, /* K_BACKWARD */
176 K_CANCEL = 299, /* K_CANCEL */
177 K_ELSE = 300, /* K_ELSE */
178 K_FOR = 301, /* K_FOR */
179 K_FORWARD = 302, /* K_FORWARD */
180 K_IF = 303, /* K_IF */
181 K_INCLUDE = 304, /* K_INCLUDE */
182 K_LOOP = 305, /* K_LOOP */
183 K_MACRO = 306, /* K_MACRO */
184 K_MODULE = 307, /* K_MODULE */
185 K_NULL = 308, /* K_NULL */
186 K_OFF = 309, /* K_OFF */
187 K_ON = 310, /* K_ON */
188 K_PALINDROME = 311, /* K_PALINDROME */
189 K_PAUSE = 312, /* K_PAUSE */
190 K_PLAY = 313, /* K_PLAY */
191 K_QUIT = 314, /* K_QUIT */
192 K_REPEAT = 315, /* K_REPEAT */
193 K_RESUME = 316, /* K_RESUME */
194 K_SEQUENCE = 317, /* K_SEQUENCE */
195 K_STEP = 318, /* K_STEP */
196 K_STOP = 319, /* K_STOP */
197 K_SUSPEND = 320, /* K_SUSPEND */
198 K_THEN = 321, /* K_THEN */
199 K_UNTIL = 322, /* K_UNTIL */
200 K_WHILE = 323, /* K_WHILE */
201 P_INTERRUPT = 324, /* P_INTERRUPT */
202 P_SYSTEM = 325, /* P_SYSTEM */
203 P_ACK = 326, /* P_ACK */
204 P_MACRO = 327, /* P_MACRO */
205 P_FOREGROUND = 328, /* P_FOREGROUND */
206 P_BACKGROUND = 329, /* P_BACKGROUND */
207 P_ERROR = 330, /* P_ERROR */
208 P_MESSAGE = 331, /* P_MESSAGE */
209 P_INFO = 332, /* P_INFO */
210 P_LINQ = 333, /* P_LINQ */
211 P_SINQ = 334, /* P_SINQ */
212 P_VINQ = 335, /* P_VINQ */
213 P_LRESP = 336, /* P_LRESP */
214 P_SRESP = 337, /* P_SRESP */
215 P_VRESP = 338, /* P_VRESP */
216 P_DATA = 339 /* P_DATA */
217 };
218 typedef enum yytokentype yytoken_kind_t;
219 #endif
220 /* Token kinds. */
221 #define YYEMPTY -2
222 #define YYEOF 0
223 #define YYerror 256
224 #define YYUNDEF 257
139225 #define L_OR 258
140226 #define L_AND 259
141227 #define L_NOT 260
142 #define L_NEQ 261
143 #define L_EQ 262
144 #define L_GEQ 263
145 #define L_LEQ 264
146 #define L_GT 265
147 #define L_LT 266
148 #define A_MINUS 267
149 #define A_PLUS 268
150 #define A_MOD 269
151 #define A_IDIV 270
152 #define A_DIV 271
153 #define A_TIMES 272
228 #define L_EQ 261
229 #define L_NEQ 262
230 #define L_LT 263
231 #define L_GT 264
232 #define L_LEQ 265
233 #define L_GEQ 266
234 #define A_PLUS 267
235 #define A_MINUS 268
236 #define A_TIMES 269
237 #define A_DIV 270
238 #define A_IDIV 271
239 #define A_MOD 272
154240 #define A_EXP 273
155241 #define U_MINUS 274
156242 #define V_TRUE 275
219305 #define P_VRESP 338
220306 #define P_DATA 339
221307
222
223
224
225 /* Copy the first part of user declarations. */
226 #line 1 "./net.y"
227
228
229 /***********************************************************************/
230 /* Open Visualization Data Explorer */
231 /* (C) Copyright IBM Corp. 1989,1999 */
232 /* ALL RIGHTS RESERVED */
233 /* This code licensed under the */
234 /* "IBM PUBLIC LICENSE - Open Visualization Data Explorer" */
235 /***********************************************************************/
236
237 /*****************************************************************************/
238 /* uin.yacc - */
239 /* */
240 /* Contains SVS script language grammar for yacc. */
241 /* */
242 /*****************************************************************************/
243
244 /*
245 * $Header: /src/master/dx/src/uipp/dxuilib/net.y,v 1.1 2002/06/13 20:56:27 gda Exp $
246 */
247
248 #include "Parse.h"
249
250
251
252 /* Enabling traces. */
253 #ifndef YYDEBUG
254 # define YYDEBUG 0
255 #endif
256
257 /* Enabling verbose error messages. */
258 #ifdef YYERROR_VERBOSE
259 # undef YYERROR_VERBOSE
260 # define YYERROR_VERBOSE 1
261 #else
262 # define YYERROR_VERBOSE 0
263 #endif
264
265 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
308 /* Value type. */
309 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
310 union YYSTYPE
311 {
266312 #line 27 "./net.y"
267 typedef union YYSTYPE {
313
268314 union
269315 {
270316 char c;
272318 float f;
273319 char s[4096]; /* 4096 == YYLMAX in net.lex */
274320 } ast;
275 } YYSTYPE;
276 /* Line 191 of yacc.c. */
277 #line 278 "y.tab.c"
278 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
321
322 #line 324 "y.tab.c"
323
324 };
325 typedef union YYSTYPE YYSTYPE;
326 # define YYSTYPE_IS_TRIVIAL 1
279327 # define YYSTYPE_IS_DECLARED 1
280 # define YYSTYPE_IS_TRIVIAL 1
281 #endif
282
283
284
285 /* Copy the second part of user declarations. */
286
287
288 /* Line 214 of yacc.c. */
289 #line 290 "y.tab.c"
290
291 #if ! defined (yyoverflow) || YYERROR_VERBOSE
328 #endif
329
330
331 extern YYSTYPE yylval;
332
333 int yyparse (void);
334
335
336 /* Symbol kind. */
337 enum yysymbol_kind_t
338 {
339 YYSYMBOL_YYEMPTY = -2,
340 YYSYMBOL_YYEOF = 0, /* "end of file" */
341 YYSYMBOL_YYerror = 1, /* error */
342 YYSYMBOL_YYUNDEF = 2, /* "invalid token" */
343 YYSYMBOL_L_OR = 3, /* L_OR */
344 YYSYMBOL_L_AND = 4, /* L_AND */
345 YYSYMBOL_L_NOT = 5, /* L_NOT */
346 YYSYMBOL_L_EQ = 6, /* L_EQ */
347 YYSYMBOL_L_NEQ = 7, /* L_NEQ */
348 YYSYMBOL_L_LT = 8, /* L_LT */
349 YYSYMBOL_L_GT = 9, /* L_GT */
350 YYSYMBOL_L_LEQ = 10, /* L_LEQ */
351 YYSYMBOL_L_GEQ = 11, /* L_GEQ */
352 YYSYMBOL_A_PLUS = 12, /* A_PLUS */
353 YYSYMBOL_A_MINUS = 13, /* A_MINUS */
354 YYSYMBOL_A_TIMES = 14, /* A_TIMES */
355 YYSYMBOL_A_DIV = 15, /* A_DIV */
356 YYSYMBOL_A_IDIV = 16, /* A_IDIV */
357 YYSYMBOL_A_MOD = 17, /* A_MOD */
358 YYSYMBOL_A_EXP = 18, /* A_EXP */
359 YYSYMBOL_U_MINUS = 19, /* U_MINUS */
360 YYSYMBOL_V_TRUE = 20, /* V_TRUE */
361 YYSYMBOL_V_FALSE = 21, /* V_FALSE */
362 YYSYMBOL_T_BAR = 22, /* T_BAR */
363 YYSYMBOL_T_LPAR = 23, /* T_LPAR */
364 YYSYMBOL_T_RPAR = 24, /* T_RPAR */
365 YYSYMBOL_T_LBRA = 25, /* T_LBRA */
366 YYSYMBOL_T_RBRA = 26, /* T_RBRA */
367 YYSYMBOL_T_LSQB = 27, /* T_LSQB */
368 YYSYMBOL_T_RSQB = 28, /* T_RSQB */
369 YYSYMBOL_T_ASSIGN = 29, /* T_ASSIGN */
370 YYSYMBOL_T_COMMA = 30, /* T_COMMA */
371 YYSYMBOL_T_COLON = 31, /* T_COLON */
372 YYSYMBOL_T_SEMI = 32, /* T_SEMI */
373 YYSYMBOL_T_PP = 33, /* T_PP */
374 YYSYMBOL_T_MM = 34, /* T_MM */
375 YYSYMBOL_T_RA = 35, /* T_RA */
376 YYSYMBOL_T_DOTDOT = 36, /* T_DOTDOT */
377 YYSYMBOL_T_COMMENT = 37, /* T_COMMENT */
378 YYSYMBOL_T_ID = 38, /* T_ID */
379 YYSYMBOL_T_EXID = 39, /* T_EXID */
380 YYSYMBOL_T_INT = 40, /* T_INT */
381 YYSYMBOL_T_STRING = 41, /* T_STRING */
382 YYSYMBOL_T_FLOAT = 42, /* T_FLOAT */
383 YYSYMBOL_K_BACKWARD = 43, /* K_BACKWARD */
384 YYSYMBOL_K_CANCEL = 44, /* K_CANCEL */
385 YYSYMBOL_K_ELSE = 45, /* K_ELSE */
386 YYSYMBOL_K_FOR = 46, /* K_FOR */
387 YYSYMBOL_K_FORWARD = 47, /* K_FORWARD */
388 YYSYMBOL_K_IF = 48, /* K_IF */
389 YYSYMBOL_K_INCLUDE = 49, /* K_INCLUDE */
390 YYSYMBOL_K_LOOP = 50, /* K_LOOP */
391 YYSYMBOL_K_MACRO = 51, /* K_MACRO */
392 YYSYMBOL_K_MODULE = 52, /* K_MODULE */
393 YYSYMBOL_K_NULL = 53, /* K_NULL */
394 YYSYMBOL_K_OFF = 54, /* K_OFF */
395 YYSYMBOL_K_ON = 55, /* K_ON */
396 YYSYMBOL_K_PALINDROME = 56, /* K_PALINDROME */
397 YYSYMBOL_K_PAUSE = 57, /* K_PAUSE */
398 YYSYMBOL_K_PLAY = 58, /* K_PLAY */
399 YYSYMBOL_K_QUIT = 59, /* K_QUIT */
400 YYSYMBOL_K_REPEAT = 60, /* K_REPEAT */
401 YYSYMBOL_K_RESUME = 61, /* K_RESUME */
402 YYSYMBOL_K_SEQUENCE = 62, /* K_SEQUENCE */
403 YYSYMBOL_K_STEP = 63, /* K_STEP */
404 YYSYMBOL_K_STOP = 64, /* K_STOP */
405 YYSYMBOL_K_SUSPEND = 65, /* K_SUSPEND */
406 YYSYMBOL_K_THEN = 66, /* K_THEN */
407 YYSYMBOL_K_UNTIL = 67, /* K_UNTIL */
408 YYSYMBOL_K_WHILE = 68, /* K_WHILE */
409 YYSYMBOL_P_INTERRUPT = 69, /* P_INTERRUPT */
410 YYSYMBOL_P_SYSTEM = 70, /* P_SYSTEM */
411 YYSYMBOL_P_ACK = 71, /* P_ACK */
412 YYSYMBOL_P_MACRO = 72, /* P_MACRO */
413 YYSYMBOL_P_FOREGROUND = 73, /* P_FOREGROUND */
414 YYSYMBOL_P_BACKGROUND = 74, /* P_BACKGROUND */
415 YYSYMBOL_P_ERROR = 75, /* P_ERROR */
416 YYSYMBOL_P_MESSAGE = 76, /* P_MESSAGE */
417 YYSYMBOL_P_INFO = 77, /* P_INFO */
418 YYSYMBOL_P_LINQ = 78, /* P_LINQ */
419 YYSYMBOL_P_SINQ = 79, /* P_SINQ */
420 YYSYMBOL_P_VINQ = 80, /* P_VINQ */
421 YYSYMBOL_P_LRESP = 81, /* P_LRESP */
422 YYSYMBOL_P_SRESP = 82, /* P_SRESP */
423 YYSYMBOL_P_VRESP = 83, /* P_VRESP */
424 YYSYMBOL_P_DATA = 84, /* P_DATA */
425 YYSYMBOL_YYACCEPT = 85, /* $accept */
426 YYSYMBOL_start = 86, /* start */
427 YYSYMBOL_c_0 = 87, /* c_0 */
428 YYSYMBOL_top = 88, /* top */
429 YYSYMBOL_macro = 89, /* macro */
430 YYSYMBOL_formal_s0 = 90, /* formal_s0 */
431 YYSYMBOL_formal_s = 91, /* formal_s */
432 YYSYMBOL_formal = 92, /* formal */
433 YYSYMBOL_block = 93, /* block */
434 YYSYMBOL_statement_s0 = 94, /* statement_s0 */
435 YYSYMBOL_statement_s = 95, /* statement_s */
436 YYSYMBOL_statement = 96, /* statement */
437 YYSYMBOL_include = 97, /* include */
438 YYSYMBOL_assignment = 98, /* assignment */
439 YYSYMBOL_f_assignment = 99, /* f_assignment */
440 YYSYMBOL_s_assignment = 100, /* s_assignment */
441 YYSYMBOL_attributes_0 = 101, /* attributes_0 */
442 YYSYMBOL_attributes = 102, /* attributes */
443 YYSYMBOL_attribute_s0 = 103, /* attribute_s0 */
444 YYSYMBOL_attribute_s = 104, /* attribute_s */
445 YYSYMBOL_attribute = 105, /* attribute */
446 YYSYMBOL_function_call = 106, /* function_call */
447 YYSYMBOL_107_1 = 107, /* $@1 */
448 YYSYMBOL_argument_s0 = 108, /* argument_s0 */
449 YYSYMBOL_argument_s = 109, /* argument_s */
450 YYSYMBOL_argument = 110, /* argument */
451 YYSYMBOL_value = 111, /* value */
452 YYSYMBOL_comment = 112, /* comment */
453 YYSYMBOL_expression_s = 113, /* expression_s */
454 YYSYMBOL_expression = 114, /* expression */
455 YYSYMBOL_constant = 115, /* constant */
456 YYSYMBOL_list = 116, /* list */
457 YYSYMBOL_tensor_s = 117, /* tensor_s */
458 YYSYMBOL_tensor = 118, /* tensor */
459 YYSYMBOL_scalar_s = 119, /* scalar_s */
460 YYSYMBOL_scalar = 120, /* scalar */
461 YYSYMBOL_real = 121, /* real */
462 YYSYMBOL_complex = 122, /* complex */
463 YYSYMBOL_quaternion = 123, /* quaternion */
464 YYSYMBOL_int = 124, /* int */
465 YYSYMBOL_float = 125, /* float */
466 YYSYMBOL_string_s = 126, /* string_s */
467 YYSYMBOL_string = 127, /* string */
468 YYSYMBOL_l_value_s = 128, /* l_value_s */
469 YYSYMBOL_l_value = 129, /* l_value */
470 YYSYMBOL_r_value = 130, /* r_value */
471 YYSYMBOL_empty = 131 /* empty */
472 };
473 typedef enum yysymbol_kind_t yysymbol_kind_t;
474
475
476
477
478 #ifdef short
479 # undef short
480 #endif
481
482 /* On compilers that do not define __PTRDIFF_MAX__ etc., make sure
483 <limits.h> and (if available) <stdint.h> are included
484 so that the code can choose integer types of a good width. */
485
486 #ifndef __PTRDIFF_MAX__
487 # include <limits.h> /* INFRINGES ON USER NAME SPACE */
488 # if defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__
489 # include <stdint.h> /* INFRINGES ON USER NAME SPACE */
490 # define YY_STDINT_H
491 # endif
492 #endif
493
494 /* Narrow types that promote to a signed type and that can represent a
495 signed or unsigned integer of at least N bits. In tables they can
496 save space and decrease cache pressure. Promoting to a signed type
497 helps avoid bugs in integer arithmetic. */
498
499 #ifdef __INT_LEAST8_MAX__
500 typedef __INT_LEAST8_TYPE__ yytype_int8;
501 #elif defined YY_STDINT_H
502 typedef int_least8_t yytype_int8;
503 #else
504 typedef signed char yytype_int8;
505 #endif
506
507 #ifdef __INT_LEAST16_MAX__
508 typedef __INT_LEAST16_TYPE__ yytype_int16;
509 #elif defined YY_STDINT_H
510 typedef int_least16_t yytype_int16;
511 #else
512 typedef short yytype_int16;
513 #endif
514
515 /* Work around bug in HP-UX 11.23, which defines these macros
516 incorrectly for preprocessor constants. This workaround can likely
517 be removed in 2023, as HPE has promised support for HP-UX 11.23
518 (aka HP-UX 11i v2) only through the end of 2022; see Table 2 of
519 <https://h20195.www2.hpe.com/V2/getpdf.aspx/4AA4-7673ENW.pdf>. */
520 #ifdef __hpux
521 # undef UINT_LEAST8_MAX
522 # undef UINT_LEAST16_MAX
523 # define UINT_LEAST8_MAX 255
524 # define UINT_LEAST16_MAX 65535
525 #endif
526
527 #if defined __UINT_LEAST8_MAX__ && __UINT_LEAST8_MAX__ <= __INT_MAX__
528 typedef __UINT_LEAST8_TYPE__ yytype_uint8;
529 #elif (!defined __UINT_LEAST8_MAX__ && defined YY_STDINT_H \
530 && UINT_LEAST8_MAX <= INT_MAX)
531 typedef uint_least8_t yytype_uint8;
532 #elif !defined __UINT_LEAST8_MAX__ && UCHAR_MAX <= INT_MAX
533 typedef unsigned char yytype_uint8;
534 #else
535 typedef short yytype_uint8;
536 #endif
537
538 #if defined __UINT_LEAST16_MAX__ && __UINT_LEAST16_MAX__ <= __INT_MAX__
539 typedef __UINT_LEAST16_TYPE__ yytype_uint16;
540 #elif (!defined __UINT_LEAST16_MAX__ && defined YY_STDINT_H \
541 && UINT_LEAST16_MAX <= INT_MAX)
542 typedef uint_least16_t yytype_uint16;
543 #elif !defined __UINT_LEAST16_MAX__ && USHRT_MAX <= INT_MAX
544 typedef unsigned short yytype_uint16;
545 #else
546 typedef int yytype_uint16;
547 #endif
548
549 #ifndef YYPTRDIFF_T
550 # if defined __PTRDIFF_TYPE__ && defined __PTRDIFF_MAX__
551 # define YYPTRDIFF_T __PTRDIFF_TYPE__
552 # define YYPTRDIFF_MAXIMUM __PTRDIFF_MAX__
553 # elif defined PTRDIFF_MAX
554 # ifndef ptrdiff_t
555 # include <stddef.h> /* INFRINGES ON USER NAME SPACE */
556 # endif
557 # define YYPTRDIFF_T ptrdiff_t
558 # define YYPTRDIFF_MAXIMUM PTRDIFF_MAX
559 # else
560 # define YYPTRDIFF_T long
561 # define YYPTRDIFF_MAXIMUM LONG_MAX
562 # endif
563 #endif
564
565 #ifndef YYSIZE_T
566 # ifdef __SIZE_TYPE__
567 # define YYSIZE_T __SIZE_TYPE__
568 # elif defined size_t
569 # define YYSIZE_T size_t
570 # elif defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__
571 # include <stddef.h> /* INFRINGES ON USER NAME SPACE */
572 # define YYSIZE_T size_t
573 # else
574 # define YYSIZE_T unsigned
575 # endif
576 #endif
577
578 #define YYSIZE_MAXIMUM \
579 YY_CAST (YYPTRDIFF_T, \
580 (YYPTRDIFF_MAXIMUM < YY_CAST (YYSIZE_T, -1) \
581 ? YYPTRDIFF_MAXIMUM \
582 : YY_CAST (YYSIZE_T, -1)))
583
584 #define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
585
586
587 /* Stored state numbers (used for stacks). */
588 typedef yytype_uint8 yy_state_t;
589
590 /* State numbers in computations. */
591 typedef int yy_state_fast_t;
592
593 #ifndef YY_
594 # if defined YYENABLE_NLS && YYENABLE_NLS
595 # if ENABLE_NLS
596 # include <libintl.h> /* INFRINGES ON USER NAME SPACE */
597 # define YY_(Msgid) dgettext ("bison-runtime", Msgid)
598 # endif
599 # endif
600 # ifndef YY_
601 # define YY_(Msgid) Msgid
602 # endif
603 #endif
604
605
606 #ifndef YY_ATTRIBUTE_PURE
607 # if defined __GNUC__ && 2 < __GNUC__ + (96 <= __GNUC_MINOR__)
608 # define YY_ATTRIBUTE_PURE __attribute__ ((__pure__))
609 # else
610 # define YY_ATTRIBUTE_PURE
611 # endif
612 #endif
613
614 #ifndef YY_ATTRIBUTE_UNUSED
615 # if defined __GNUC__ && 2 < __GNUC__ + (7 <= __GNUC_MINOR__)
616 # define YY_ATTRIBUTE_UNUSED __attribute__ ((__unused__))
617 # else
618 # define YY_ATTRIBUTE_UNUSED
619 # endif
620 #endif
621
622 /* Suppress unused-variable warnings by "using" E. */
623 #if ! defined lint || defined __GNUC__
624 # define YY_USE(E) ((void) (E))
625 #else
626 # define YY_USE(E) /* empty */
627 #endif
628
629 #if defined __GNUC__ && ! defined __ICC && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
630 /* Suppress an incorrect diagnostic about yylval being uninitialized. */
631 # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \
632 _Pragma ("GCC diagnostic push") \
633 _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") \
634 _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
635 # define YY_IGNORE_MAYBE_UNINITIALIZED_END \
636 _Pragma ("GCC diagnostic pop")
637 #else
638 # define YY_INITIAL_VALUE(Value) Value
639 #endif
640 #ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
641 # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
642 # define YY_IGNORE_MAYBE_UNINITIALIZED_END
643 #endif
644 #ifndef YY_INITIAL_VALUE
645 # define YY_INITIAL_VALUE(Value) /* Nothing. */
646 #endif
647
648 #if defined __cplusplus && defined __GNUC__ && ! defined __ICC && 6 <= __GNUC__
649 # define YY_IGNORE_USELESS_CAST_BEGIN \
650 _Pragma ("GCC diagnostic push") \
651 _Pragma ("GCC diagnostic ignored \"-Wuseless-cast\"")
652 # define YY_IGNORE_USELESS_CAST_END \
653 _Pragma ("GCC diagnostic pop")
654 #endif
655 #ifndef YY_IGNORE_USELESS_CAST_BEGIN
656 # define YY_IGNORE_USELESS_CAST_BEGIN
657 # define YY_IGNORE_USELESS_CAST_END
658 #endif
659
660
661 #define YY_ASSERT(E) ((void) (0 && (E)))
662
663 #if !defined yyoverflow
292664
293665 /* The parser invokes alloca or malloc; define the necessary symbols. */
294666
295 # if YYSTACK_USE_ALLOCA
296 # define YYSTACK_ALLOC alloca
297 # else
298 # ifndef YYSTACK_USE_ALLOCA
299 # if defined (alloca) || defined (_ALLOCA_H)
667 # ifdef YYSTACK_USE_ALLOCA
668 # if YYSTACK_USE_ALLOCA
669 # ifdef __GNUC__
670 # define YYSTACK_ALLOC __builtin_alloca
671 # elif defined __BUILTIN_VA_ARG_INCR
672 # include <alloca.h> /* INFRINGES ON USER NAME SPACE */
673 # elif defined _AIX
674 # define YYSTACK_ALLOC __alloca
675 # elif defined _MSC_VER
676 # include <malloc.h> /* INFRINGES ON USER NAME SPACE */
677 # define alloca _alloca
678 # else
300679 # define YYSTACK_ALLOC alloca
301 # else
302 # ifdef __GNUC__
303 # define YYSTACK_ALLOC __builtin_alloca
680 # if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS
681 # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
682 /* Use EXIT_SUCCESS as a witness for stdlib.h. */
683 # ifndef EXIT_SUCCESS
684 # define EXIT_SUCCESS 0
685 # endif
304686 # endif
305687 # endif
306688 # endif
307689 # endif
308690
309691 # ifdef YYSTACK_ALLOC
310 /* Pacify GCC's `empty if-body' warning. */
692 /* Pacify GCC's 'empty if-body' warning. */
311693 # define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
694 # ifndef YYSTACK_ALLOC_MAXIMUM
695 /* The OS might guarantee only one guard page at the bottom of the stack,
696 and a page size can be as small as 4096 bytes. So we cannot safely
697 invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
698 to allow for a few compiler-allocated temporary stack slots. */
699 # define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
700 # endif
312701 # else
313 # if defined (__STDC__) || defined (__cplusplus)
702 # define YYSTACK_ALLOC YYMALLOC
703 # define YYSTACK_FREE YYFREE
704 # ifndef YYSTACK_ALLOC_MAXIMUM
705 # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
706 # endif
707 # if (defined __cplusplus && ! defined EXIT_SUCCESS \
708 && ! ((defined YYMALLOC || defined malloc) \
709 && (defined YYFREE || defined free)))
314710 # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
315 # define YYSIZE_T size_t
711 # ifndef EXIT_SUCCESS
712 # define EXIT_SUCCESS 0
713 # endif
316714 # endif
317 # define YYSTACK_ALLOC malloc
318 # define YYSTACK_FREE free
715 # ifndef YYMALLOC
716 # define YYMALLOC malloc
717 # if ! defined malloc && ! defined EXIT_SUCCESS
718 void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
719 # endif
720 # endif
721 # ifndef YYFREE
722 # define YYFREE free
723 # if ! defined free && ! defined EXIT_SUCCESS
724 void free (void *); /* INFRINGES ON USER NAME SPACE */
725 # endif
726 # endif
319727 # endif
320 #endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */
321
322
323 #if (! defined (yyoverflow) \
324 && (! defined (__cplusplus) \
325 || (YYSTYPE_IS_TRIVIAL)))
728 #endif /* !defined yyoverflow */
729
730 #if (! defined yyoverflow \
731 && (! defined __cplusplus \
732 || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
326733
327734 /* A type that is properly aligned for any stack member. */
328735 union yyalloc
329736 {
330 short yyss;
331 YYSTYPE yyvs;
332 };
737 yy_state_t yyss_alloc;
738 YYSTYPE yyvs_alloc;
739 };
333740
334741 /* The size of the maximum gap between one aligned stack and the next. */
335 # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
742 # define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
336743
337744 /* The size of an array large to enough to hold all stacks, each with
338745 N elements. */
339746 # define YYSTACK_BYTES(N) \
340 ((N) * (sizeof (short) + sizeof (YYSTYPE)) \
747 ((N) * (YYSIZEOF (yy_state_t) + YYSIZEOF (YYSTYPE)) \
341748 + YYSTACK_GAP_MAXIMUM)
342749
343 /* Copy COUNT objects from FROM to TO. The source and destination do
344 not overlap. */
345 # ifndef YYCOPY
346 # if 1 < __GNUC__
347 # define YYCOPY(To, From, Count) \
348 __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
349 # else
350 # define YYCOPY(To, From, Count) \
351 do \
352 { \
353 register YYSIZE_T yyi; \
354 for (yyi = 0; yyi < (Count); yyi++) \
355 (To)[yyi] = (From)[yyi]; \
356 } \
357 while (0)
358 # endif
359 # endif
750 # define YYCOPY_NEEDED 1
360751
361752 /* Relocate STACK from its old location to the new one. The
362753 local variables YYSIZE and YYSTACKSIZE give the old and new number of
363754 elements in the stack, and YYPTR gives the new location of the
364755 stack. Advance YYPTR to a properly aligned location for the next
365756 stack. */
366 # define YYSTACK_RELOCATE(Stack) \
367 do \
368 { \
369 YYSIZE_T yynewbytes; \
370 YYCOPY (&yyptr->Stack, Stack, yysize); \
371 Stack = &yyptr->Stack; \
372 yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
373 yyptr += yynewbytes / sizeof (*yyptr); \
374 } \
757 # define YYSTACK_RELOCATE(Stack_alloc, Stack) \
758 do \
759 { \
760 YYPTRDIFF_T yynewbytes; \
761 YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
762 Stack = &yyptr->Stack_alloc; \
763 yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
764 yyptr += yynewbytes / YYSIZEOF (*yyptr); \
765 } \
375766 while (0)
376767
377768 #endif
378769
379 #if defined (__STDC__) || defined (__cplusplus)
380 typedef signed char yysigned_char;
381 #else
382 typedef short yysigned_char;
383 #endif
384
385 /* YYFINAL -- State number of the termination state. */
770 #if defined YYCOPY_NEEDED && YYCOPY_NEEDED
771 /* Copy COUNT objects from SRC to DST. The source and destination do
772 not overlap. */
773 # ifndef YYCOPY
774 # if defined __GNUC__ && 1 < __GNUC__
775 # define YYCOPY(Dst, Src, Count) \
776 __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
777 # else
778 # define YYCOPY(Dst, Src, Count) \
779 do \
780 { \
781 YYPTRDIFF_T yyi; \
782 for (yyi = 0; yyi < (Count); yyi++) \
783 (Dst)[yyi] = (Src)[yyi]; \
784 } \
785 while (0)
786 # endif
787 # endif
788 #endif /* !YYCOPY_NEEDED */
789
790 /* YYFINAL -- State number of the termination state. */
386791 #define YYFINAL 30
387792 /* YYLAST -- Last index in YYTABLE. */
388793 #define YYLAST 205
389794
390 /* YYNTOKENS -- Number of terminals. */
795 /* YYNTOKENS -- Number of terminals. */
391796 #define YYNTOKENS 85
392 /* YYNNTS -- Number of nonterminals. */
797 /* YYNNTS -- Number of nonterminals. */
393798 #define YYNNTS 47
394 /* YYNRULES -- Number of rules. */
799 /* YYNRULES -- Number of rules. */
395800 #define YYNRULES 96
396 /* YYNRULES -- Number of states. */
801 /* YYNSTATES -- Number of states. */
397802 #define YYNSTATES 172
398803
399 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
400 #define YYUNDEFTOK 2
804 /* YYMAXUTOK -- Last valid token kind. */
401805 #define YYMAXUTOK 339
402806
403 #define YYTRANSLATE(YYX) \
404 ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
405
406 /* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
407 static const unsigned char yytranslate[] =
807
808 /* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM
809 as returned by yylex, with out-of-bounds checking. */
810 #define YYTRANSLATE(YYX) \
811 (0 <= (YYX) && (YYX) <= YYMAXUTOK \
812 ? YY_CAST (yysymbol_kind_t, yytranslate[YYX]) \
813 : YYSYMBOL_YYUNDEF)
814
815 /* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM
816 as returned by yylex. */
817 static const yytype_int8 yytranslate[] =
408818 {
409819 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
410820 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
443853 };
444854
445855 #if YYDEBUG
446 /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
447 YYRHS. */
448 static const unsigned short yyprhs[] =
449 {
450 0, 0, 3, 6, 7, 9, 11, 13, 25, 33,
451 35, 37, 40, 45, 47, 51, 55, 61, 65, 67,
452 69, 71, 74, 76, 80, 84, 86, 88, 91, 93,
453 95, 99, 103, 106, 109, 111, 113, 117, 119, 121,
454 123, 127, 131, 135, 136, 142, 144, 146, 148, 152,
455 154, 158, 160, 162, 164, 166, 170, 172, 174, 178,
456 180, 182, 184, 186, 188, 192, 196, 200, 206, 214,
457 216, 219, 223, 227, 231, 233, 236, 240, 242, 244,
458 246, 248, 250, 256, 262, 272, 282, 284, 286, 288,
459 291, 295, 297, 300, 305, 307, 309
460 };
461
462 /* YYRHS -- A `-1'-separated list of the rules' RHS. */
463 static const short yyrhs[] =
464 {
465 86, 0, -1, 88, 87, -1, -1, 96, -1, 89,
466 -1, 131, -1, 51, 38, 23, 90, 24, 35, 23,
467 90, 24, 101, 93, -1, 51, 38, 23, 90, 24,
468 101, 93, -1, 131, -1, 91, -1, 92, 101, -1,
469 91, 30, 92, 101, -1, 38, -1, 38, 29, 38,
470 -1, 38, 29, 115, -1, 38, 29, 38, 29, 115,
471 -1, 25, 94, 26, -1, 131, -1, 95, -1, 96,
472 -1, 95, 96, -1, 93, -1, 98, 101, 32, -1,
473 106, 101, 32, -1, 97, -1, 112, -1, 49, 127,
474 -1, 99, -1, 100, -1, 128, 29, 106, -1, 128,
475 29, 113, -1, 38, 33, -1, 38, 34, -1, 131,
476 -1, 102, -1, 27, 103, 28, -1, 131, -1, 104,
477 -1, 105, -1, 104, 30, 105, -1, 38, 31, 127,
478 -1, 38, 31, 124, -1, -1, 38, 107, 23, 108,
479 24, -1, 131, -1, 109, -1, 110, -1, 109, 30,
480 110, -1, 111, -1, 38, 29, 111, -1, 115, -1,
481 38, -1, 37, -1, 114, -1, 113, 30, 114, -1,
482 115, -1, 130, -1, 23, 114, 24, -1, 120, -1,
483 118, -1, 116, -1, 127, -1, 53, -1, 25, 119,
484 26, -1, 25, 117, 26, -1, 25, 126, 26, -1,
485 25, 121, 36, 121, 26, -1, 25, 121, 36, 121,
486 31, 121, 26, -1, 118, -1, 117, 118, -1, 117,
487 30, 118, -1, 27, 119, 28, -1, 27, 117, 28,
488 -1, 120, -1, 119, 120, -1, 119, 30, 120, -1,
489 121, -1, 122, -1, 123, -1, 124, -1, 125, -1,
490 23, 124, 30, 124, 24, -1, 23, 125, 30, 125,
491 24, -1, 23, 124, 30, 124, 30, 124, 30, 124,
492 24, -1, 23, 125, 30, 125, 30, 125, 30, 125,
493 24, -1, 40, -1, 42, -1, 127, -1, 126, 127,
494 -1, 126, 30, 127, -1, 41, -1, 129, 101, -1,
495 128, 30, 129, 101, -1, 38, -1, 38, -1, -1
496 };
497
498 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */
499 static const unsigned short yyrline[] =
856 /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */
857 static const yytype_int16 yyrline[] =
500858 {
501859 0, 198, 198, 201, 203, 204, 205, 212, 219, 227,
502860 228, 231, 232, 235, 236, 237, 238, 245, 252, 253,
511869 };
512870 #endif
513871
514 #if YYDEBUG || YYERROR_VERBOSE
515 /* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
516 First, the terminals, then, starting at YYNTOKENS, nonterminals. */
872 /** Accessing symbol of state STATE. */
873 #define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
874
875 #if YYDEBUG || 0
876 /* The user-facing name of the symbol whose (internal) number is
877 YYSYMBOL. No bounds checking. */
878 static const char *yysymbol_name (yysymbol_kind_t yysymbol) YY_ATTRIBUTE_UNUSED;
879
880 /* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
881 First, the terminals, then, starting at YYNTOKENS, nonterminals. */
517882 static const char *const yytname[] =
518883 {
519 "$end", "error", "$undefined", "L_OR", "L_AND", "L_NOT", "L_NEQ", "L_EQ",
520 "L_GEQ", "L_LEQ", "L_GT", "L_LT", "A_MINUS", "A_PLUS", "A_MOD",
521 "A_IDIV", "A_DIV", "A_TIMES", "A_EXP", "U_MINUS", "V_TRUE", "V_FALSE",
522 "T_BAR", "T_LPAR", "T_RPAR", "T_LBRA", "T_RBRA", "T_LSQB", "T_RSQB",
523 "T_ASSIGN", "T_COMMA", "T_COLON", "T_SEMI", "T_PP", "T_MM", "T_RA",
524 "T_DOTDOT", "T_COMMENT", "T_ID", "T_EXID", "T_INT", "T_STRING",
525 "T_FLOAT", "K_BACKWARD", "K_CANCEL", "K_ELSE", "K_FOR", "K_FORWARD",
526 "K_IF", "K_INCLUDE", "K_LOOP", "K_MACRO", "K_MODULE", "K_NULL", "K_OFF",
527 "K_ON", "K_PALINDROME", "K_PAUSE", "K_PLAY", "K_QUIT", "K_REPEAT",
528 "K_RESUME", "K_SEQUENCE", "K_STEP", "K_STOP", "K_SUSPEND", "K_THEN",
529 "K_UNTIL", "K_WHILE", "P_INTERRUPT", "P_SYSTEM", "P_ACK", "P_MACRO",
530 "P_FOREGROUND", "P_BACKGROUND", "P_ERROR", "P_MESSAGE", "P_INFO",
531 "P_LINQ", "P_SINQ", "P_VINQ", "P_LRESP", "P_SRESP", "P_VRESP", "P_DATA",
532 "$accept", "start", "c_0", "top", "macro", "formal_s0", "formal_s",
533 "formal", "block", "statement_s0", "statement_s", "statement",
534 "include", "assignment", "f_assignment", "s_assignment", "attributes_0",
535 "attributes", "attribute_s0", "attribute_s", "attribute",
536 "function_call", "@1", "argument_s0", "argument_s", "argument", "value",
537 "comment", "expression_s", "expression", "constant", "list", "tensor_s",
538 "tensor", "scalar_s", "scalar", "real", "complex", "quaternion", "int",
539 "float", "string_s", "string", "l_value_s", "l_value", "r_value",
540 "empty", 0
884 "\"end of file\"", "error", "\"invalid token\"", "L_OR", "L_AND",
885 "L_NOT", "L_EQ", "L_NEQ", "L_LT", "L_GT", "L_LEQ", "L_GEQ", "A_PLUS",
886 "A_MINUS", "A_TIMES", "A_DIV", "A_IDIV", "A_MOD", "A_EXP", "U_MINUS",
887 "V_TRUE", "V_FALSE", "T_BAR", "T_LPAR", "T_RPAR", "T_LBRA", "T_RBRA",
888 "T_LSQB", "T_RSQB", "T_ASSIGN", "T_COMMA", "T_COLON", "T_SEMI", "T_PP",
889 "T_MM", "T_RA", "T_DOTDOT", "T_COMMENT", "T_ID", "T_EXID", "T_INT",
890 "T_STRING", "T_FLOAT", "K_BACKWARD", "K_CANCEL", "K_ELSE", "K_FOR",
891 "K_FORWARD", "K_IF", "K_INCLUDE", "K_LOOP", "K_MACRO", "K_MODULE",
892 "K_NULL", "K_OFF", "K_ON", "K_PALINDROME", "K_PAUSE", "K_PLAY", "K_QUIT",
893 "K_REPEAT", "K_RESUME", "K_SEQUENCE", "K_STEP", "K_STOP", "K_SUSPEND",
894 "K_THEN", "K_UNTIL", "K_WHILE", "P_INTERRUPT", "P_SYSTEM", "P_ACK",
895 "P_MACRO", "P_FOREGROUND", "P_BACKGROUND", "P_ERROR", "P_MESSAGE",
896 "P_INFO", "P_LINQ", "P_SINQ", "P_VINQ", "P_LRESP", "P_SRESP", "P_VRESP",
897 "P_DATA", "$accept", "start", "c_0", "top", "macro", "formal_s0",
898 "formal_s", "formal", "block", "statement_s0", "statement_s",
899 "statement", "include", "assignment", "f_assignment", "s_assignment",
900 "attributes_0", "attributes", "attribute_s0", "attribute_s", "attribute",
901 "function_call", "$@1", "argument_s0", "argument_s", "argument", "value",
902 "comment", "expression_s", "expression", "constant", "list", "tensor_s",
903 "tensor", "scalar_s", "scalar", "real", "complex", "quaternion", "int",
904 "float", "string_s", "string", "l_value_s", "l_value", "r_value",
905 "empty", YY_NULLPTR
541906 };
542 #endif
543
544 # ifdef YYPRINT
545 /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
546 token YYLEX-NUM. */
547 static const unsigned short yytoknum[] =
907
908 static const char *
909 yysymbol_name (yysymbol_kind_t yysymbol)
910 {
911 return yytname[yysymbol];
912 }
913 #endif
914
915 #ifdef YYPRINT
916 /* YYTOKNUM[NUM] -- (External) token number corresponding to the
917 (internal) symbol number NUM (which must be that of a token). */
918 static const yytype_int16 yytoknum[] =
548919 {
549920 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
550921 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
556927 325, 326, 327, 328, 329, 330, 331, 332, 333, 334,
557928 335, 336, 337, 338, 339
558929 };
559 # endif
560
561 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
562 static const unsigned char yyr1[] =
563 {
564 0, 85, 86, 87, 88, 88, 88, 89, 89, 90,
565 90, 91, 91, 92, 92, 92, 92, 93, 94, 94,
566 95, 95, 96, 96, 96, 96, 96, 97, 98, 98,
567 99, 100, 100, 100, 101, 101, 102, 103, 103, 104,
568 104, 105, 105, 107, 106, 108, 108, 109, 109, 110,
569 110, 111, 111, 112, 113, 113, 114, 114, 114, 115,
570 115, 115, 115, 115, 116, 116, 116, 116, 116, 117,
571 117, 117, 118, 118, 119, 119, 119, 120, 120, 120,
572 121, 121, 122, 122, 123, 123, 124, 125, 126, 126,
573 126, 127, 128, 128, 129, 130, 131
930 #endif
931
932 #define YYPACT_NINF (-126)
933
934 #define yypact_value_is_default(Yyn) \
935 ((Yyn) == YYPACT_NINF)
936
937 #define YYTABLE_NINF (-44)
938
939 #define yytable_value_is_error(Yyn) \
940 0
941
942 /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
943 STATE-NUM. */
944 static const yytype_int16 yypact[] =
945 {
946 54, 9, -126, -6, -31, -14, 30, -126, -126, -126,
947 -126, -126, 39, -126, -126, 39, -126, 70, 39, -126,
948 37, 9, -126, -126, -126, -126, 45, -126, -126, 47,
949 -126, -126, 52, 75, -126, -126, 78, -5, 56, -126,
950 -126, -126, 55, 80, 92, 97, 101, -126, -126, -126,
951 -126, 94, 46, 148, 110, -126, -126, -126, -126, 108,
952 -126, -126, -126, -126, -126, -126, -126, -126, -126, -126,
953 -126, -126, -126, 39, 10, 114, 121, 120, -126, -126,
954 -126, -126, 124, 131, 126, 39, -126, 88, -126, 52,
955 -126, 140, 133, 135, 147, -126, 128, -126, 130, 150,
956 -126, 85, 139, 94, -126, 133, 135, 99, -126, 55,
957 119, 18, 80, -126, -126, -126, -126, -126, 138, 141,
958 -126, 155, -126, -126, 62, -126, 10, -126, -31, -126,
959 -126, -126, -126, -126, -126, -126, 156, -126, 161, 162,
960 39, -11, 35, -126, -126, 36, -126, -2, 80, -126,
961 -126, -126, 138, -126, 141, -126, 10, -126, 165, 163,
962 164, 160, 39, 138, 141, -126, 162, 168, 171, -126,
963 -126, -126
574964 };
575965
576 /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
577 static const unsigned char yyr2[] =
578 {
579 0, 2, 2, 0, 1, 1, 1, 11, 7, 1,
580 1, 2, 4, 1, 3, 3, 5, 3, 1, 1,
581 1, 2, 1, 3, 3, 1, 1, 2, 1, 1,
582 3, 3, 2, 2, 1, 1, 3, 1, 1, 1,
583 3, 3, 3, 0, 5, 1, 1, 1, 3, 1,
584 3, 1, 1, 1, 1, 3, 1, 1, 3, 1,
585 1, 1, 1, 1, 3, 3, 3, 5, 7, 1,
586 2, 3, 3, 3, 1, 2, 3, 1, 1, 1,
587 1, 1, 5, 5, 9, 9, 1, 1, 1, 2,
588 3, 1, 2, 4, 1, 1, 0
589 };
590
591 /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
592 STATE-NUM when YYTABLE doesn't specify something else to do. Zero
593 means the default is an error. */
594 static const unsigned char yydefact[] =
966 /* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
967 Performed when YYTABLE does not specify something else to do. Zero
968 means the default is an error. */
969 static const yytype_int8 yydefact[] =
595970 {
596971 96, 96, 53, 94, 0, 0, 0, 3, 5, 22,
597972 4, 25, 96, 28, 29, 96, 26, 0, 96, 6,
613988 84, 85
614989 };
615990
616 /* YYDEFGOTO[NTERM-NUM]. */
617 static const yysigned_char yydefgoto[] =
618 {
619 -1, 6, 31, 7, 8, 83, 84, 85, 9, 20,
620 21, 10, 11, 12, 13, 14, 33, 34, 45, 46,
621 47, 15, 26, 76, 77, 78, 79, 16, 59, 60,
622 61, 62, 94, 63, 96, 64, 65, 66, 67, 68,
623 69, 99, 70, 17, 18, 71, 35
624 };
625
626 /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
627 STATE-NUM. */
628 #define YYPACT_NINF -126
629 static const short yypact[] =
630 {
631 54, 9, -126, -6, -31, -14, 30, -126, -126, -126,
632 -126, -126, 39, -126, -126, 39, -126, 70, 39, -126,
633 37, 9, -126, -126, -126, -126, 45, -126, -126, 47,
634 -126, -126, 52, 75, -126, -126, 78, -5, 56, -126,
635 -126, -126, 55, 80, 92, 97, 101, -126, -126, -126,
636 -126, 94, 46, 148, 110, -126, -126, -126, -126, 108,
637 -126, -126, -126, -126, -126, -126, -126, -126, -126, -126,
638 -126, -126, -126, 39, 10, 114, 121, 120, -126, -126,
639 -126, -126, 124, 131, 126, 39, -126, 88, -126, 52,
640 -126, 140, 133, 135, 147, -126, 128, -126, 130, 150,
641 -126, 85, 139, 94, -126, 133, 135, 99, -126, 55,
642 119, 18, 80, -126, -126, -126, -126, -126, 138, 141,
643 -126, 155, -126, -126, 62, -126, 10, -126, -31, -126,
644 -126, -126, -126, -126, -126, -126, 156, -126, 161, 162,
645 39, -11, 35, -126, -126, 36, -126, -2, 80, -126,
646 -126, -126, 138, -126, 141, -126, 10, -126, 165, 163,
647 164, 160, 39, 138, 141, -126, 162, 168, 171, -126,
648 -126, -126
649 };
650
651 /* YYPGOTO[NTERM-NUM]. */
652 static const short yypgoto[] =
991 /* YYPGOTO[NTERM-NUM]. */
992 static const yytype_int16 yypgoto[] =
653993 {
654994 -126, -126, -126, -126, -126, 48, -126, 86, -125, -126,
655995 -126, 28, -126, -126, -126, -126, -13, -126, -126, -126,
658998 -48, -126, 2, -126, 167, -126, 0
659999 };
6601000
661 /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
662 positive, shift that token. If negative, reduce the rule which
663 number is the opposite. If zero, do what YYDEFACT says.
664 If YYTABLE_NINF, syntax error. */
665 #define YYTABLE_NINF -44
666 static const short yytable[] =
1001 /* YYDEFGOTO[NTERM-NUM]. */
1002 static const yytype_int8 yydefgoto[] =
1003 {
1004 0, 6, 31, 7, 8, 83, 84, 85, 9, 20,
1005 21, 10, 11, 12, 13, 14, 33, 34, 45, 46,
1006 47, 15, 26, 76, 77, 78, 79, 16, 59, 60,
1007 61, 62, 94, 63, 96, 64, 65, 66, 67, 68,
1008 69, 99, 70, 17, 18, 71, 35
1009 };
1010
1011 /* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If
1012 positive, shift that token. If negative, reduce the rule whose
1013 number is the opposite. If YYTABLE_NINF, syntax error. */
1014 static const yytype_int16 yytable[] =
6671015 {
6681016 19, 23, 36, 93, 91, 39, 28, 98, 92, 80,
6691017 27, 97, 97, 151, 149, 95, 95, -43, 51, 152,
6881036 116, 0, 134, 58, 102, 73
6891037 };
6901038
691 static const short yycheck[] =
1039 static const yytype_int16 yycheck[] =
6921040 {
6931041 0, 1, 15, 51, 51, 18, 4, 52, 51, 42,
6941042 41, 52, 53, 24, 139, 52, 53, 23, 23, 30,
7131061 89, -1, 107, 37, 53, 38
7141062 };
7151063
716 /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
717 symbol of state STATE-NUM. */
718 static const unsigned char yystos[] =
1064 /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
1065 symbol of state STATE-NUM. */
1066 static const yytype_uint8 yystos[] =
7191067 {
7201068 0, 25, 37, 38, 49, 51, 86, 88, 89, 93,
7211069 96, 97, 98, 99, 100, 106, 112, 128, 129, 131,
7371085 24, 24
7381086 };
7391087
740 #if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
741 # define YYSIZE_T __SIZE_TYPE__
742 #endif
743 #if ! defined (YYSIZE_T) && defined (size_t)
744 # define YYSIZE_T size_t
745 #endif
746 #if ! defined (YYSIZE_T)
747 # if defined (__STDC__) || defined (__cplusplus)
748 # include <stddef.h> /* INFRINGES ON USER NAME SPACE */
749 # define YYSIZE_T size_t
750 # endif
751 #endif
752 #if ! defined (YYSIZE_T)
753 # define YYSIZE_T unsigned int
754 #endif
755
756 #define yyerrok (yyerrstatus = 0)
757 #define yyclearin (yychar = YYEMPTY)
758 #define YYEMPTY (-2)
759 #define YYEOF 0
760
761 #define YYACCEPT goto yyacceptlab
762 #define YYABORT goto yyabortlab
763 #define YYERROR goto yyerrlab1
764
765 /* Like YYERROR except do call yyerror. This remains here temporarily
766 to ease the transition to the new meaning of YYERROR, for GCC.
767 Once GCC version 2 has supplanted version 1, this can go. */
768
769 #define YYFAIL goto yyerrlab
1088 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
1089 static const yytype_uint8 yyr1[] =
1090 {
1091 0, 85, 86, 87, 88, 88, 88, 89, 89, 90,
1092 90, 91, 91, 92, 92, 92, 92, 93, 94, 94,
1093 95, 95, 96, 96, 96, 96, 96, 97, 98, 98,
1094 99, 100, 100, 100, 101, 101, 102, 103, 103, 104,
1095 104, 105, 105, 107, 106, 108, 108, 109, 109, 110,
1096 110, 111, 111, 112, 113, 113, 114, 114, 114, 115,
1097 115, 115, 115, 115, 116, 116, 116, 116, 116, 117,
1098 117, 117, 118, 118, 119, 119, 119, 120, 120, 120,
1099 121, 121, 122, 122, 123, 123, 124, 125, 126, 126,
1100 126, 127, 128, 128, 129, 130, 131
1101 };
1102
1103 /* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */
1104 static const yytype_int8 yyr2[] =
1105 {
1106 0, 2, 2, 0, 1, 1, 1, 11, 7, 1,
1107 1, 2, 4, 1, 3, 3, 5, 3, 1, 1,
1108 1, 2, 1, 3, 3, 1, 1, 2, 1, 1,
1109 3, 3, 2, 2, 1, 1, 3, 1, 1, 1,
1110 3, 3, 3, 0, 5, 1, 1, 1, 3, 1,
1111 3, 1, 1, 1, 1, 3, 1, 1, 3, 1,
1112 1, 1, 1, 1, 3, 3, 3, 5, 7, 1,
1113 2, 3, 3, 3, 1, 2, 3, 1, 1, 1,
1114 1, 1, 5, 5, 9, 9, 1, 1, 1, 2,
1115 3, 1, 2, 4, 1, 1, 0
1116 };
1117
1118
1119 enum { YYENOMEM = -2 };
1120
1121 #define yyerrok (yyerrstatus = 0)
1122 #define yyclearin (yychar = YYEMPTY)
1123
1124 #define YYACCEPT goto yyacceptlab
1125 #define YYABORT goto yyabortlab
1126 #define YYERROR goto yyerrorlab
1127
7701128
7711129 #define YYRECOVERING() (!!yyerrstatus)
7721130
773 #define YYBACKUP(Token, Value) \
774 do \
775 if (yychar == YYEMPTY && yylen == 1) \
776 { \
777 yychar = (Token); \
778 yylval = (Value); \
779 yytoken = YYTRANSLATE (yychar); \
780 YYPOPSTACK; \
781 goto yybackup; \
782 } \
783 else \
784 { \
785 yyerror ("syntax error: cannot back up");\
786 YYERROR; \
787 } \
788 while (0)
789
790 #define YYTERROR 1
791 #define YYERRCODE 256
792
793 /* YYLLOC_DEFAULT -- Compute the default location (before the actions
794 are run). */
795
796 #ifndef YYLLOC_DEFAULT
797 # define YYLLOC_DEFAULT(Current, Rhs, N) \
798 Current.first_line = Rhs[1].first_line; \
799 Current.first_column = Rhs[1].first_column; \
800 Current.last_line = Rhs[N].last_line; \
801 Current.last_column = Rhs[N].last_column;
802 #endif
803
804 /* YYLEX -- calling `yylex' with the right arguments. */
805
806 #ifdef YYLEX_PARAM
807 # define YYLEX yylex (YYLEX_PARAM)
808 #else
809 # define YYLEX yylex ()
810 #endif
1131 #define YYBACKUP(Token, Value) \
1132 do \
1133 if (yychar == YYEMPTY) \
1134 { \
1135 yychar = (Token); \
1136 yylval = (Value); \
1137 YYPOPSTACK (yylen); \
1138 yystate = *yyssp; \
1139 goto yybackup; \
1140 } \
1141 else \
1142 { \
1143 yyerror (YY_("syntax error: cannot back up")); \
1144 YYERROR; \
1145 } \
1146 while (0)
1147
1148 /* Backward compatibility with an undocumented macro.
1149 Use YYerror or YYUNDEF. */
1150 #define YYERRCODE YYUNDEF
1151
8111152
8121153 /* Enable debugging if requested. */
8131154 #if YYDEBUG
8171158 # define YYFPRINTF fprintf
8181159 # endif
8191160
820 # define YYDPRINTF(Args) \
821 do { \
822 if (yydebug) \
823 YYFPRINTF Args; \
1161 # define YYDPRINTF(Args) \
1162 do { \
1163 if (yydebug) \
1164 YYFPRINTF Args; \
8241165 } while (0)
8251166
826 # define YYDSYMPRINT(Args) \
827 do { \
828 if (yydebug) \
829 yysymprint Args; \
1167 /* This macro is provided for backward compatibility. */
1168 # ifndef YY_LOCATION_PRINT
1169 # define YY_LOCATION_PRINT(File, Loc) ((void) 0)
1170 # endif
1171
1172
1173 # define YY_SYMBOL_PRINT(Title, Kind, Value, Location) \
1174 do { \
1175 if (yydebug) \
1176 { \
1177 YYFPRINTF (stderr, "%s ", Title); \
1178 yy_symbol_print (stderr, \
1179 Kind, Value); \
1180 YYFPRINTF (stderr, "\n"); \
1181 } \
8301182 } while (0)
8311183
832 # define YYDSYMPRINTF(Title, Token, Value, Location) \
833 do { \
834 if (yydebug) \
835 { \
836 YYFPRINTF (stderr, "%s ", Title); \
837 yysymprint (stderr, \
838 Token, Value); \
839 YYFPRINTF (stderr, "\n"); \
840 } \
841 } while (0)
1184
1185 /*-----------------------------------.
1186 | Print this symbol's value on YYO. |
1187 `-----------------------------------*/
1188
1189 static void
1190 yy_symbol_value_print (FILE *yyo,
1191 yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep)
1192 {
1193 FILE *yyoutput = yyo;
1194 YY_USE (yyoutput);
1195 if (!yyvaluep)
1196 return;
1197 # ifdef YYPRINT
1198 if (yykind < YYNTOKENS)
1199 YYPRINT (yyo, yytoknum[yykind], *yyvaluep);
1200 # endif
1201 YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
1202 YY_USE (yykind);
1203 YY_IGNORE_MAYBE_UNINITIALIZED_END
1204 }
1205
1206
1207 /*---------------------------.
1208 | Print this symbol on YYO. |
1209 `---------------------------*/
1210
1211 static void
1212 yy_symbol_print (FILE *yyo,
1213 yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep)
1214 {
1215 YYFPRINTF (yyo, "%s %s (",
1216 yykind < YYNTOKENS ? "token" : "nterm", yysymbol_name (yykind));
1217
1218 yy_symbol_value_print (yyo, yykind, yyvaluep);
1219 YYFPRINTF (yyo, ")");
1220 }
8421221
8431222 /*------------------------------------------------------------------.
8441223 | yy_stack_print -- Print the state stack from its BOTTOM up to its |
845 | TOP (cinluded). |
1224 | TOP (included). |
8461225 `------------------------------------------------------------------*/
8471226
848 #if defined (__STDC__) || defined (__cplusplus)
8491227 static void
850 yy_stack_print (short *bottom, short *top)
851 #else
852 static void
853 yy_stack_print (bottom, top)
854 short *bottom;
855 short *top;
856 #endif
1228 yy_stack_print (yy_state_t *yybottom, yy_state_t *yytop)
8571229 {
8581230 YYFPRINTF (stderr, "Stack now");
859 for (/* Nothing. */; bottom <= top; ++bottom)
860 YYFPRINTF (stderr, " %d", *bottom);
1231 for (; yybottom <= yytop; yybottom++)
1232 {
1233 int yybot = *yybottom;
1234 YYFPRINTF (stderr, " %d", yybot);
1235 }
8611236 YYFPRINTF (stderr, "\n");
8621237 }
8631238
864 # define YY_STACK_PRINT(Bottom, Top) \
865 do { \
866 if (yydebug) \
867 yy_stack_print ((Bottom), (Top)); \
1239 # define YY_STACK_PRINT(Bottom, Top) \
1240 do { \
1241 if (yydebug) \
1242 yy_stack_print ((Bottom), (Top)); \
8681243 } while (0)
8691244
8701245
8721247 | Report that the YYRULE is going to be reduced. |
8731248 `------------------------------------------------*/
8741249
875 #if defined (__STDC__) || defined (__cplusplus)
8761250 static void
877 yy_reduce_print (int yyrule)
878 #else
879 static void
880 yy_reduce_print (yyrule)
881 int yyrule;
882 #endif
883 {
1251 yy_reduce_print (yy_state_t *yyssp, YYSTYPE *yyvsp,
1252 int yyrule)
1253 {
1254 int yylno = yyrline[yyrule];
1255 int yynrhs = yyr2[yyrule];
8841256 int yyi;
885 unsigned int yylineno = yyrline[yyrule];
886 YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ",
887 yyrule - 1, yylineno);
888 /* Print the symbols being reduced, and their result. */
889 for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)
890 YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]);
891 YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]);
1257 YYFPRINTF (stderr, "Reducing stack by rule %d (line %d):\n",
1258 yyrule - 1, yylno);
1259 /* The symbols being reduced. */
1260 for (yyi = 0; yyi < yynrhs; yyi++)
1261 {
1262 YYFPRINTF (stderr, " $%d = ", yyi + 1);
1263 yy_symbol_print (stderr,
1264 YY_ACCESSING_SYMBOL (+yyssp[yyi + 1 - yynrhs]),
1265 &yyvsp[(yyi + 1) - (yynrhs)]);
1266 YYFPRINTF (stderr, "\n");
1267 }
8921268 }
8931269
894 # define YY_REDUCE_PRINT(Rule) \
895 do { \
896 if (yydebug) \
897 yy_reduce_print (Rule); \
1270 # define YY_REDUCE_PRINT(Rule) \
1271 do { \
1272 if (yydebug) \
1273 yy_reduce_print (yyssp, yyvsp, Rule); \
8981274 } while (0)
8991275
9001276 /* Nonzero means print parse trace. It is left uninitialized so that
9011277 multiple parsers can coexist. */
9021278 int yydebug;
9031279 #else /* !YYDEBUG */
904 # define YYDPRINTF(Args)
905 # define YYDSYMPRINT(Args)
906 # define YYDSYMPRINTF(Title, Token, Value, Location)
1280 # define YYDPRINTF(Args) ((void) 0)
1281 # define YY_SYMBOL_PRINT(Title, Kind, Value, Location)
9071282 # define YY_STACK_PRINT(Bottom, Top)
9081283 # define YY_REDUCE_PRINT(Rule)
9091284 #endif /* !YYDEBUG */
9101285
9111286
9121287 /* YYINITDEPTH -- initial size of the parser's stacks. */
913 #ifndef YYINITDEPTH
1288 #ifndef YYINITDEPTH
9141289 # define YYINITDEPTH 200
9151290 #endif
9161291
9181293 if the built-in stack extension method is used).
9191294
9201295 Do not make this value too large; the results are undefined if
921 SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH)
1296 YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)
9221297 evaluated with infinite-precision integer arithmetic. */
923
924 #if YYMAXDEPTH == 0
925 # undef YYMAXDEPTH
926 #endif
9271298
9281299 #ifndef YYMAXDEPTH
9291300 # define YYMAXDEPTH 10000
9301301 #endif
9311302
932
933
934 #if YYERROR_VERBOSE
935
936 # ifndef yystrlen
937 # if defined (__GLIBC__) && defined (_STRING_H)
938 # define yystrlen strlen
939 # else
940 /* Return the length of YYSTR. */
941 static YYSIZE_T
942 # if defined (__STDC__) || defined (__cplusplus)
943 yystrlen (const char *yystr)
944 # else
945 yystrlen (yystr)
946 const char *yystr;
947 # endif
948 {
949 register const char *yys = yystr;
950
951 while (*yys++ != '\0')
952 continue;
953
954 return yys - yystr - 1;
955 }
956 # endif
957 # endif
958
959 # ifndef yystpcpy
960 # if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE)
961 # define yystpcpy stpcpy
962 # else
963 /* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
964 YYDEST. */
965 static char *
966 # if defined (__STDC__) || defined (__cplusplus)
967 yystpcpy (char *yydest, const char *yysrc)
968 # else
969 yystpcpy (yydest, yysrc)
970 char *yydest;
971 const char *yysrc;
972 # endif
973 {
974 register char *yyd = yydest;
975 register const char *yys = yysrc;
976
977 while ((*yyd++ = *yys++) != '\0')
978 continue;
979
980 return yyd - 1;
981 }
982 # endif
983 # endif
984
985 #endif /* !YYERROR_VERBOSE */
986
987
988
989 #if YYDEBUG
990 /*--------------------------------.
991 | Print this symbol on YYOUTPUT. |
992 `--------------------------------*/
993
994 #if defined (__STDC__) || defined (__cplusplus)
995 static void
996 yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep)
997 #else
998 static void
999 yysymprint (yyoutput, yytype, yyvaluep)
1000 FILE *yyoutput;
1001 int yytype;
1002 YYSTYPE *yyvaluep;
1003 #endif
1004 {
1005 /* Pacify ``unused variable'' warnings. */
1006 (void) yyvaluep;
1007
1008 if (yytype < YYNTOKENS)
1009 {
1010 YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
1011 # ifdef YYPRINT
1012 YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
1013 # endif
1014 }
1015 else
1016 YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
1017
1018 switch (yytype)
1019 {
1020 default:
1021 break;
1022 }
1023 YYFPRINTF (yyoutput, ")");
1024 }
1025
1026 #endif /* ! YYDEBUG */
1303
1304
1305
1306
1307
10271308 /*-----------------------------------------------.
10281309 | Release the memory associated to this symbol. |
10291310 `-----------------------------------------------*/
10301311
1031 #if defined (__STDC__) || defined (__cplusplus)
10321312 static void
1033 yydestruct (int yytype, YYSTYPE *yyvaluep)
1034 #else
1035 static void
1036 yydestruct (yytype, yyvaluep)
1037 int yytype;
1038 YYSTYPE *yyvaluep;
1039 #endif
1040 {
1041 /* Pacify ``unused variable'' warnings. */
1042 (void) yyvaluep;
1043
1044 switch (yytype)
1045 {
1046
1047 default:
1048 break;
1049 }
1313 yydestruct (const char *yymsg,
1314 yysymbol_kind_t yykind, YYSTYPE *yyvaluep)
1315 {
1316 YY_USE (yyvaluep);
1317 if (!yymsg)
1318 yymsg = "Deleting";
1319 YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp);
1320
1321 YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
1322 YY_USE (yykind);
1323 YY_IGNORE_MAYBE_UNINITIALIZED_END
10501324 }
1051
1052
1053 /* Prevent warnings from -Wmissing-prototypes. */
1054
1055 #ifdef YYPARSE_PARAM
1056 # if defined (__STDC__) || defined (__cplusplus)
1057 int yyparse (void *YYPARSE_PARAM);
1058 # else
1059 int yyparse ();
1060 # endif
1061 #else /* ! YYPARSE_PARAM */
1062 #if defined (__STDC__) || defined (__cplusplus)
1063 int yyparse (void);
1064 #else
1065 int yyparse ();
1066 #endif
1067 #endif /* ! YYPARSE_PARAM */
1068
1069
1070
1071 /* The lookahead symbol. */
1325
1326
1327 /* Lookahead token kind. */
10721328 int yychar;
10731329
10741330 /* The semantic value of the lookahead symbol. */
10751331 YYSTYPE yylval;
1076
10771332 /* Number of syntax errors so far. */
10781333 int yynerrs;
1334
10791335
10801336
10811337
10831339 | yyparse. |
10841340 `----------*/
10851341
1086 #ifdef YYPARSE_PARAM
1087 # if defined (__STDC__) || defined (__cplusplus)
1088 int yyparse (void *YYPARSE_PARAM)
1089 # else
1090 int yyparse (YYPARSE_PARAM)
1091 void *YYPARSE_PARAM;
1092 # endif
1093 #else /* ! YYPARSE_PARAM */
1094 #if defined (__STDC__) || defined (__cplusplus)
10951342 int
10961343 yyparse (void)
1097 #else
1098 int
1099 yyparse ()
1100
1101 #endif
1102 #endif
1103 {
1104
1105 register int yystate;
1106 register int yyn;
1344 {
1345 yy_state_fast_t yystate = 0;
1346 /* Number of tokens to shift before error messages enabled. */
1347 int yyerrstatus = 0;
1348
1349 /* Refer to the stacks through separate pointers, to allow yyoverflow
1350 to reallocate them elsewhere. */
1351
1352 /* Their size. */
1353 YYPTRDIFF_T yystacksize = YYINITDEPTH;
1354
1355 /* The state stack: array, bottom, top. */
1356 yy_state_t yyssa[YYINITDEPTH];
1357 yy_state_t *yyss = yyssa;
1358 yy_state_t *yyssp = yyss;
1359
1360 /* The semantic value stack: array, bottom, top. */
1361 YYSTYPE yyvsa[YYINITDEPTH];
1362 YYSTYPE *yyvs = yyvsa;
1363 YYSTYPE *yyvsp = yyvs;
1364
1365 int yyn;
1366 /* The return value of yyparse. */
11071367 int yyresult;
1108 /* Number of tokens to shift before error messages enabled. */
1109 int yyerrstatus;
1110 /* Lookahead token as an internal (translated) token number. */
1111 int yytoken = 0;
1112
1113 /* Three stacks and their tools:
1114 `yyss': related to states,
1115 `yyvs': related to semantic values,
1116 `yyls': related to locations.
1117
1118 Refer to the stacks thru separate pointers, to allow yyoverflow
1119 to reallocate them elsewhere. */
1120
1121 /* The state stack. */
1122 short yyssa[YYINITDEPTH];
1123 short *yyss = yyssa;
1124 register short *yyssp;
1125
1126 /* The semantic value stack. */
1127 YYSTYPE yyvsa[YYINITDEPTH];
1128 YYSTYPE *yyvs = yyvsa;
1129 register YYSTYPE *yyvsp;
1130
1131
1132
1133 #define YYPOPSTACK (yyvsp--, yyssp--)
1134
1135 YYSIZE_T yystacksize = YYINITDEPTH;
1136
1368 /* Lookahead symbol kind. */
1369 yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY;
11371370 /* The variables used to return semantic value and location from the
11381371 action routines. */
11391372 YYSTYPE yyval;
11401373
11411374
1142 /* When reducing, the number of symbols on the RHS of the reduced
1143 rule. */
1144 int yylen;
1375
1376 #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))
1377
1378 /* The number of symbols on the RHS of the reduced rule.
1379 Keep to zero when no symbol should be popped. */
1380 int yylen = 0;
11451381
11461382 YYDPRINTF ((stderr, "Starting parse\n"));
11471383
1148 yystate = 0;
1149 yyerrstatus = 0;
1150 yynerrs = 0;
1151 yychar = YYEMPTY; /* Cause a token to be read. */
1152
1153 /* Initialize stack pointers.
1154 Waste one element of value and location stack
1155 so that they stay on the same level as the state stack.
1156 The wasted elements are never initialized. */
1157
1158 yyssp = yyss;
1159 yyvsp = yyvs;
1160
1384 yychar = YYEMPTY; /* Cause a token to be read. */
11611385 goto yysetstate;
11621386
1387
11631388 /*------------------------------------------------------------.
1164 | yynewstate -- Push a new state, which is found in yystate. |
1389 | yynewstate -- push a new state, which is found in yystate. |
11651390 `------------------------------------------------------------*/
1166 yynewstate:
1391 yynewstate:
11671392 /* In all cases, when you get here, the value and location stacks
1168 have just been pushed. so pushing a state here evens the stacks.
1169 */
1393 have just been pushed. So pushing a state here evens the stacks. */
11701394 yyssp++;
11711395
1172 yysetstate:
1173 *yyssp = yystate;
1396
1397 /*--------------------------------------------------------------------.
1398 | yysetstate -- set current state (the top of the stack) to yystate. |
1399 `--------------------------------------------------------------------*/
1400 yysetstate:
1401 YYDPRINTF ((stderr, "Entering state %d\n", yystate));
1402 YY_ASSERT (0 <= yystate && yystate < YYNSTATES);
1403 YY_IGNORE_USELESS_CAST_BEGIN
1404 *yyssp = YY_CAST (yy_state_t, yystate);
1405 YY_IGNORE_USELESS_CAST_END
1406 YY_STACK_PRINT (yyss, yyssp);
11741407
11751408 if (yyss + yystacksize - 1 <= yyssp)
1409 #if !defined yyoverflow && !defined YYSTACK_RELOCATE
1410 goto yyexhaustedlab;
1411 #else
11761412 {
11771413 /* Get the current used size of the three stacks, in elements. */
1178 YYSIZE_T yysize = yyssp - yyss + 1;
1179
1180 #ifdef yyoverflow
1414 YYPTRDIFF_T yysize = yyssp - yyss + 1;
1415
1416 # if defined yyoverflow
11811417 {
1182 /* Give user a chance to reallocate the stack. Use copies of
1183 these so that the &'s don't force the real ones into
1184 memory. */
1185 YYSTYPE *yyvs1 = yyvs;
1186 short *yyss1 = yyss;
1187
1188
1189 /* Each stack pointer address is followed by the size of the
1190 data in use in that stack, in bytes. This used to be a
1191 conditional around just the two extra args, but that might
1192 be undefined if yyoverflow is a macro. */
1193 yyoverflow ("parser stack overflow",
1194 &yyss1, yysize * sizeof (*yyssp),
1195 &yyvs1, yysize * sizeof (*yyvsp),
1196
1197 &yystacksize);
1198
1199 yyss = yyss1;
1200 yyvs = yyvs1;
1418 /* Give user a chance to reallocate the stack. Use copies of
1419 these so that the &'s don't force the real ones into
1420 memory. */
1421 yy_state_t *yyss1 = yyss;
1422 YYSTYPE *yyvs1 = yyvs;
1423
1424 /* Each stack pointer address is followed by the size of the
1425 data in use in that stack, in bytes. This used to be a
1426 conditional around just the two extra args, but that might
1427 be undefined if yyoverflow is a macro. */
1428 yyoverflow (YY_("memory exhausted"),
1429 &yyss1, yysize * YYSIZEOF (*yyssp),
1430 &yyvs1, yysize * YYSIZEOF (*yyvsp),
1431 &yystacksize);
1432 yyss = yyss1;
1433 yyvs = yyvs1;
12011434 }
1202 #else /* no yyoverflow */
1203 # ifndef YYSTACK_RELOCATE
1204 goto yyoverflowlab;
1205 # else
1435 # else /* defined YYSTACK_RELOCATE */
12061436 /* Extend the stack our own way. */
12071437 if (YYMAXDEPTH <= yystacksize)
1208 goto yyoverflowlab;
1438 goto yyexhaustedlab;
12091439 yystacksize *= 2;
12101440 if (YYMAXDEPTH < yystacksize)
1211 yystacksize = YYMAXDEPTH;
1441 yystacksize = YYMAXDEPTH;
12121442
12131443 {
1214 short *yyss1 = yyss;
1215 union yyalloc *yyptr =
1216 (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
1217 if (! yyptr)
1218 goto yyoverflowlab;
1219 YYSTACK_RELOCATE (yyss);
1220 YYSTACK_RELOCATE (yyvs);
1221
1444 yy_state_t *yyss1 = yyss;
1445 union yyalloc *yyptr =
1446 YY_CAST (union yyalloc *,
1447 YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize))));
1448 if (! yyptr)
1449 goto yyexhaustedlab;
1450 YYSTACK_RELOCATE (yyss_alloc, yyss);
1451 YYSTACK_RELOCATE (yyvs_alloc, yyvs);
12221452 # undef YYSTACK_RELOCATE
1223 if (yyss1 != yyssa)
1224 YYSTACK_FREE (yyss1);
1453 if (yyss1 != yyssa)
1454 YYSTACK_FREE (yyss1);
12251455 }
12261456 # endif
1227 #endif /* no yyoverflow */
12281457
12291458 yyssp = yyss + yysize - 1;
12301459 yyvsp = yyvs + yysize - 1;
12311460
1232
1233 YYDPRINTF ((stderr, "Stack size increased to %lu\n",
1234 (unsigned long int) yystacksize));
1461 YY_IGNORE_USELESS_CAST_BEGIN
1462 YYDPRINTF ((stderr, "Stack size increased to %ld\n",
1463 YY_CAST (long, yystacksize)));
1464 YY_IGNORE_USELESS_CAST_END
12351465
12361466 if (yyss + yystacksize - 1 <= yyssp)
1237 YYABORT;
1467 YYABORT;
12381468 }
1239
1240 YYDPRINTF ((stderr, "Entering state %d\n", yystate));
1469 #endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */
1470
1471 if (yystate == YYFINAL)
1472 YYACCEPT;
12411473
12421474 goto yybackup;
1475
12431476
12441477 /*-----------.
12451478 | yybackup. |
12461479 `-----------*/
12471480 yybackup:
1248
1249 /* Do appropriate processing given the current state. */
1250 /* Read a lookahead token if we need one and don't already have one. */
1251 /* yyresume: */
1481 /* Do appropriate processing given the current state. Read a
1482 lookahead token if we need one and don't already have one. */
12521483
12531484 /* First try to decide what to do without reference to lookahead token. */
1254
12551485 yyn = yypact[yystate];
1256 if (yyn == YYPACT_NINF)
1486 if (yypact_value_is_default (yyn))
12571487 goto yydefault;
12581488
12591489 /* Not known => get a lookahead token if don't already have one. */
12601490
1261 /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */
1491 /* YYCHAR is either empty, or end-of-input, or a valid lookahead. */
12621492 if (yychar == YYEMPTY)
12631493 {
1264 YYDPRINTF ((stderr, "Reading a token: "));
1265 yychar = YYLEX;
1494 YYDPRINTF ((stderr, "Reading a token\n"));
1495 yychar = yylex ();
12661496 }
12671497
12681498 if (yychar <= YYEOF)
12691499 {
1270 yychar = yytoken = YYEOF;
1500 yychar = YYEOF;
1501 yytoken = YYSYMBOL_YYEOF;
12711502 YYDPRINTF ((stderr, "Now at end of input.\n"));
1503 }
1504 else if (yychar == YYerror)
1505 {
1506 /* The scanner already issued an error message, process directly
1507 to error recovery. But do not keep the error token as
1508 lookahead, it is too special and may lead us to an endless
1509 loop in error recovery. */
1510 yychar = YYUNDEF;
1511 yytoken = YYSYMBOL_YYerror;
1512 goto yyerrlab1;
12721513 }
12731514 else
12741515 {
12751516 yytoken = YYTRANSLATE (yychar);
1276 YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc);
1517 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
12771518 }
12781519
12791520 /* If the proper action on seeing token YYTOKEN is to reduce or to
12841525 yyn = yytable[yyn];
12851526 if (yyn <= 0)
12861527 {
1287 if (yyn == 0 || yyn == YYTABLE_NINF)
1288 goto yyerrlab;
1528 if (yytable_value_is_error (yyn))
1529 goto yyerrlab;
12891530 yyn = -yyn;
12901531 goto yyreduce;
12911532 }
1292
1293 if (yyn == YYFINAL)
1294 YYACCEPT;
1295
1296 /* Shift the lookahead token. */
1297 YYDPRINTF ((stderr, "Shifting token %s, ", yytname[yytoken]));
1298
1299 /* Discard the token being shifted unless it is eof. */
1300 if (yychar != YYEOF)
1301 yychar = YYEMPTY;
1302
1303 *++yyvsp = yylval;
1304
13051533
13061534 /* Count tokens shifted since error; after three, turn off error
13071535 status. */
13081536 if (yyerrstatus)
13091537 yyerrstatus--;
13101538
1539 /* Shift the lookahead token. */
1540 YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
13111541 yystate = yyn;
1542 YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
1543 *++yyvsp = yylval;
1544 YY_IGNORE_MAYBE_UNINITIALIZED_END
1545
1546 /* Discard the shifted token. */
1547 yychar = YYEMPTY;
13121548 goto yynewstate;
13131549
13141550
13231559
13241560
13251561 /*-----------------------------.
1326 | yyreduce -- Do a reduction. |
1562 | yyreduce -- do a reduction. |
13271563 `-----------------------------*/
13281564 yyreduce:
13291565 /* yyn is the number of a rule to reduce with. */
13301566 yylen = yyr2[yyn];
13311567
13321568 /* If YYLEN is nonzero, implement the default value of the action:
1333 `$$ = $1'.
1569 '$$ = $1'.
13341570
13351571 Otherwise, the following line sets YYVAL to garbage.
13361572 This behavior is undocumented and Bison
13431579 YY_REDUCE_PRINT (yyn);
13441580 switch (yyn)
13451581 {
1346 case 3:
1582 case 3: /* c_0: %empty */
13471583 #line 201 "./net.y"
1348 { return (0); }
1584 { return (0); }
1585 #line 1587 "y.tab.c"
13491586 break;
13501587
1351 case 7:
1588 case 7: /* macro: K_MACRO T_ID T_LPAR formal_s0 T_RPAR T_RA T_LPAR formal_s0 T_RPAR attributes_0 block */
13521589 #line 216 "./net.y"
1353 {
1590 {
13541591 ParseEndOfMacroDefinition();
13551592 }
1593 #line 1595 "y.tab.c"
13561594 break;
13571595
1358 case 8:
1596 case 8: /* macro: K_MACRO T_ID T_LPAR formal_s0 T_RPAR attributes_0 block */
13591597 #line 222 "./net.y"
1360 {
1598 {
13611599 ParseEndOfMacroDefinition();
13621600 }
1601 #line 1603 "y.tab.c"
13631602 break;
13641603
1365 case 41:
1604 case 41: /* attribute: T_ID T_COLON string */
13661605 #line 316 "./net.y"
1367 {
1368 ParseStringAttribute(yyvsp[-2].ast.s, yyvsp[0].ast.s);
1606 {
1607 ParseStringAttribute((yyvsp[-2].ast).s, (yyvsp[0].ast).s);
13691608 }
1609 #line 1611 "y.tab.c"
13701610 break;
13711611
1372 case 42:
1612 case 42: /* attribute: T_ID T_COLON int */
13731613 #line 322 "./net.y"
1374 {
1375 ParseIntAttribute(yyvsp[-2].ast.s, yyvsp[0].ast.i);
1614 {
1615 ParseIntAttribute((yyvsp[-2].ast).s, (yyvsp[0].ast).i);
13761616 }
1617 #line 1619 "y.tab.c"
13771618 break;
13781619
1379 case 43:
1620 case 43: /* $@1: %empty */
13801621 #line 332 "./net.y"
1381 {
1382 ParseFunctionID(yyvsp[0].ast.s);
1622 {
1623 ParseFunctionID((yyvsp[0].ast).s);
13831624 }
1625 #line 1627 "y.tab.c"
13841626 break;
13851627
1386 case 51:
1628 case 51: /* value: constant */
13871629 #line 355 "./net.y"
1388 {
1389 ParseArgument(yyvsp[0].ast.s,0);
1630 {
1631 ParseArgument((yyvsp[0].ast).s,0);
13901632 }
1633 #line 1635 "y.tab.c"
13911634 break;
13921635
1393 case 52:
1636 case 52: /* value: T_ID */
13941637 #line 359 "./net.y"
1395 {
1396 ParseArgument(yyvsp[0].ast.s,1);
1638 {
1639 ParseArgument((yyvsp[0].ast).s,1);
13971640 }
1641 #line 1643 "y.tab.c"
13981642 break;
13991643
1400 case 53:
1644 case 53: /* comment: T_COMMENT */
14011645 #line 369 "./net.y"
1402 {
1403 ParseComment(yyvsp[0].ast.s);
1646 {
1647 ParseComment((yyvsp[0].ast).s);
14041648 }
1649 #line 1651 "y.tab.c"
14051650 break;
14061651
1407 case 94:
1652 case 94: /* l_value: T_ID */
14081653 #line 455 "./net.y"
1409 {
1410 ParseLValue(yyvsp[0].ast.s);
1654 {
1655 ParseLValue((yyvsp[0].ast).s);
14111656 }
1657 #line 1659 "y.tab.c"
14121658 break;
14131659
1414 case 95:
1660 case 95: /* r_value: T_ID */
14151661 #line 461 "./net.y"
1416 {
1417 ParseRValue(yyvsp[0].ast.s);
1662 {
1663 ParseRValue((yyvsp[0].ast).s);
14181664 }
1665 #line 1667 "y.tab.c"
14191666 break;
14201667
1421 case 96:
1668 case 96: /* empty: %empty */
14221669 #line 467 "./net.y"
1423 {
1670 {
14241671 }
1672 #line 1674 "y.tab.c"
14251673 break;
14261674
14271675
1676 #line 1678 "y.tab.c"
1677
1678 default: break;
14281679 }
1429
1430 /* Line 991 of yacc.c. */
1431 #line 1432 "y.tab.c"
1432
1433 yyvsp -= yylen;
1434 yyssp -= yylen;
1435
1436
1437 YY_STACK_PRINT (yyss, yyssp);
1680 /* User semantic actions sometimes alter yychar, and that requires
1681 that yytoken be updated with the new translation. We take the
1682 approach of translating immediately before every use of yytoken.
1683 One alternative is translating here after every semantic action,
1684 but that translation would be missed if the semantic action invokes
1685 YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
1686 if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an
1687 incorrect destructor might then be invoked immediately. In the
1688 case of YYERROR or YYBACKUP, subsequent parser actions might lead
1689 to an incorrect destructor call or verbose syntax error message
1690 before the lookahead is translated. */
1691 YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc);
1692
1693 YYPOPSTACK (yylen);
1694 yylen = 0;
14381695
14391696 *++yyvsp = yyval;
14401697
1441
1442 /* Now `shift' the result of the reduction. Determine what state
1698 /* Now 'shift' the result of the reduction. Determine what state
14431699 that goes to, based on the state we popped back to and the rule
14441700 number reduced by. */
1445
1446 yyn = yyr1[yyn];
1447
1448 yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;
1449 if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)
1450 yystate = yytable[yystate];
1451 else
1452 yystate = yydefgoto[yyn - YYNTOKENS];
1701 {
1702 const int yylhs = yyr1[yyn] - YYNTOKENS;
1703 const int yyi = yypgoto[yylhs] + *yyssp;
1704 yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp
1705 ? yytable[yyi]
1706 : yydefgoto[yylhs]);
1707 }
14531708
14541709 goto yynewstate;
14551710
14561711
1457 /*------------------------------------.
1458 | yyerrlab -- here on detecting error |
1459 `------------------------------------*/
1712 /*--------------------------------------.
1713 | yyerrlab -- here on detecting error. |
1714 `--------------------------------------*/
14601715 yyerrlab:
1716 /* Make sure we have latest lookahead translation. See comments at
1717 user semantic actions for why this is necessary. */
1718 yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
14611719 /* If not already recovering from an error, report this error. */
14621720 if (!yyerrstatus)
14631721 {
14641722 ++yynerrs;
1465 #if YYERROR_VERBOSE
1466 yyn = yypact[yystate];
1467
1468 if (YYPACT_NINF < yyn && yyn < YYLAST)
1469 {
1470 YYSIZE_T yysize = 0;
1471 int yytype = YYTRANSLATE (yychar);
1472 char *yymsg;
1473 int yyx, yycount;
1474
1475 yycount = 0;
1476 /* Start YYX at -YYN if negative to avoid negative indexes in
1477 YYCHECK. */
1478 for (yyx = yyn < 0 ? -yyn : 0;
1479 yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++)
1480 if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
1481 yysize += yystrlen (yytname[yyx]) + 15, yycount++;
1482 yysize += yystrlen ("syntax error, unexpected ") + 1;
1483 yysize += yystrlen (yytname[yytype]);
1484 yymsg = (char *) YYSTACK_ALLOC (yysize);
1485 if (yymsg != 0)
1486 {
1487 char *yyp = yystpcpy (yymsg, "syntax error, unexpected ");
1488 yyp = yystpcpy (yyp, yytname[yytype]);
1489
1490 if (yycount < 5)
1491 {
1492 yycount = 0;
1493 for (yyx = yyn < 0 ? -yyn : 0;
1494 yyx < (int) (sizeof (yytname) / sizeof (char *));
1495 yyx++)
1496 if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
1497 {
1498 const char *yyq = ! yycount ? ", expecting " : " or ";
1499 yyp = yystpcpy (yyp, yyq);
1500 yyp = yystpcpy (yyp, yytname[yyx]);
1501 yycount++;
1502 }
1503 }
1504 yyerror (yymsg);
1505 YYSTACK_FREE (yymsg);
1506 }
1507 else
1508 yyerror ("syntax error; also virtual memory exhausted");
1509 }
1510 else
1511 #endif /* YYERROR_VERBOSE */
1512 yyerror ("syntax error");
1723 yyerror (YY_("syntax error"));
15131724 }
1514
1515
15161725
15171726 if (yyerrstatus == 3)
15181727 {
15191728 /* If just tried and failed to reuse lookahead token after an
1520 error, discard it. */
1521
1522 /* Return failure if at end of input. */
1523 if (yychar == YYEOF)
1729 error, discard it. */
1730
1731 if (yychar <= YYEOF)
15241732 {
1525 /* Pop the error token. */
1526 YYPOPSTACK;
1527 /* Pop the rest of the stack. */
1528 while (yyss < yyssp)
1529 {
1530 YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp);
1531 yydestruct (yystos[*yyssp], yyvsp);
1532 YYPOPSTACK;
1533 }
1534 YYABORT;
1733 /* Return failure if at end of input. */
1734 if (yychar == YYEOF)
1735 YYABORT;
15351736 }
1536
1537 YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc);
1538 yydestruct (yytoken, &yylval);
1539 yychar = YYEMPTY;
1540
1737 else
1738 {
1739 yydestruct ("Error: discarding",
1740 yytoken, &yylval);
1741 yychar = YYEMPTY;
1742 }
15411743 }
15421744
15431745 /* Else will try to reuse lookahead token after shifting the error
15441746 token. */
1545 goto yyerrlab2;
1546
1547
1548 /*----------------------------------------------------.
1549 | yyerrlab1 -- error raised explicitly by an action. |
1550 `----------------------------------------------------*/
1747 goto yyerrlab1;
1748
1749
1750 /*---------------------------------------------------.
1751 | yyerrorlab -- error raised explicitly by YYERROR. |
1752 `---------------------------------------------------*/
1753 yyerrorlab:
1754 /* Pacify compilers when the user code never invokes YYERROR and the
1755 label yyerrorlab therefore never appears in user code. */
1756 if (0)
1757 YYERROR;
1758
1759 /* Do not reclaim the symbols of the rule whose action triggered
1760 this YYERROR. */
1761 YYPOPSTACK (yylen);
1762 yylen = 0;
1763 YY_STACK_PRINT (yyss, yyssp);
1764 yystate = *yyssp;
1765 goto yyerrlab1;
1766
1767
1768 /*-------------------------------------------------------------.
1769 | yyerrlab1 -- common code for both syntax error and YYERROR. |
1770 `-------------------------------------------------------------*/
15511771 yyerrlab1:
1552
1553 /* Suppress GCC warning that yyerrlab1 is unused when no action
1554 invokes YYERROR. */
1555 #if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__)
1556 __attribute__ ((__unused__))
1557 #endif
1558
1559
1560 goto yyerrlab2;
1561
1562
1563 /*---------------------------------------------------------------.
1564 | yyerrlab2 -- pop states until the error token can be shifted. |
1565 `---------------------------------------------------------------*/
1566 yyerrlab2:
1567 yyerrstatus = 3; /* Each real token shifted decrements this. */
1568
1772 yyerrstatus = 3; /* Each real token shifted decrements this. */
1773
1774 /* Pop stack until we find a state that shifts the error token. */
15691775 for (;;)
15701776 {
15711777 yyn = yypact[yystate];
1572 if (yyn != YYPACT_NINF)
1573 {
1574 yyn += YYTERROR;
1575 if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
1576 {
1577 yyn = yytable[yyn];
1578 if (0 < yyn)
1579 break;
1580 }
1581 }
1778 if (!yypact_value_is_default (yyn))
1779 {
1780 yyn += YYSYMBOL_YYerror;
1781 if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror)
1782 {
1783 yyn = yytable[yyn];
1784 if (0 < yyn)
1785 break;
1786 }
1787 }
15821788
15831789 /* Pop the current state because it cannot handle the error token. */
15841790 if (yyssp == yyss)
1585 YYABORT;
1586
1587 YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp);
1588 yydestruct (yystos[yystate], yyvsp);
1589 yyvsp--;
1590 yystate = *--yyssp;
1591
1791 YYABORT;
1792
1793
1794 yydestruct ("Error: popping",
1795 YY_ACCESSING_SYMBOL (yystate), yyvsp);
1796 YYPOPSTACK (1);
1797 yystate = *yyssp;
15921798 YY_STACK_PRINT (yyss, yyssp);
15931799 }
15941800
1595 if (yyn == YYFINAL)
1596 YYACCEPT;
1597
1598 YYDPRINTF ((stderr, "Shifting error token, "));
1599
1801 YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
16001802 *++yyvsp = yylval;
1601
1803 YY_IGNORE_MAYBE_UNINITIALIZED_END
1804
1805
1806 /* Shift the error token. */
1807 YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp);
16021808
16031809 yystate = yyn;
16041810 goto yynewstate;
16111817 yyresult = 0;
16121818 goto yyreturn;
16131819
1820
16141821 /*-----------------------------------.
16151822 | yyabortlab -- YYABORT comes here. |
16161823 `-----------------------------------*/
16181825 yyresult = 1;
16191826 goto yyreturn;
16201827
1621 #ifndef yyoverflow
1622 /*----------------------------------------------.
1623 | yyoverflowlab -- parser overflow comes here. |
1624 `----------------------------------------------*/
1625 yyoverflowlab:
1626 yyerror ("parser stack overflow");
1828
1829 #if !defined yyoverflow
1830 /*-------------------------------------------------.
1831 | yyexhaustedlab -- memory exhaustion comes here. |
1832 `-------------------------------------------------*/
1833 yyexhaustedlab:
1834 yyerror (YY_("memory exhausted"));
16271835 yyresult = 2;
1628 /* Fall through. */
1629 #endif
1630
1836 goto yyreturn;
1837 #endif
1838
1839
1840 /*-------------------------------------------------------.
1841 | yyreturn -- parsing is finished, clean up and return. |
1842 `-------------------------------------------------------*/
16311843 yyreturn:
1844 if (yychar != YYEMPTY)
1845 {
1846 /* Make sure we have latest lookahead translation. See comments at
1847 user semantic actions for why this is necessary. */
1848 yytoken = YYTRANSLATE (yychar);
1849 yydestruct ("Cleanup: discarding lookahead",
1850 yytoken, &yylval);
1851 }
1852 /* Do not reclaim the symbols of the rule whose action triggered
1853 this YYABORT or YYACCEPT. */
1854 YYPOPSTACK (yylen);
1855 YY_STACK_PRINT (yyss, yyssp);
1856 while (yyssp != yyss)
1857 {
1858 yydestruct ("Cleanup: popping",
1859 YY_ACCESSING_SYMBOL (+*yyssp), yyvsp);
1860 YYPOPSTACK (1);
1861 }
16321862 #ifndef yyoverflow
16331863 if (yyss != yyssa)
16341864 YYSTACK_FREE (yyss);
16351865 #endif
1866
16361867 return yyresult;
16371868 }
16381869
1639
16401870 #line 471 "./net.y"
16411871
16421872
16431873
16441874 #include "netlex.c"
1645
1646
src/uipp/java/._makeall.java less more
Binary diff not shown
src/uipp/java/dx/net/._PacketIF.java less more
Binary diff not shown
src/uipp/java/dx/net/._TabbedPanel.java less more
Binary diff not shown
src/uipp/java/dx/protocol/._clientMsg.java less more
Binary diff not shown
src/uipp/java/dx/protocol/._message.java less more
Binary diff not shown
src/uipp/java/layout/._SingleFiledLayout.java less more
Binary diff not shown
src/uipp/java/layout/._TableLayout.java less more
Binary diff not shown
src/uipp/java/layout/._TableLayoutConstants.java less more
Binary diff not shown
src/uipp/java/layout/._TableLayoutConstraints.java less more
Binary diff not shown
src/uipp/java/server/._ConnectThread.java less more
Binary diff not shown
src/uipp/java/server/._DXServer.java less more
Binary diff not shown
src/uipp/java/server/._DXThread.java less more
Binary diff not shown
1919 PATH=$PATH:/usr/local/dx/bin
2020 export PATH
2121 if [ "$CLASSPATH" = "" ]; then
22 CLASSPATH=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/Users/dthompsn/src/java40.jar:/Users/dthompsn/src/npcosmop211.jar:./:./:./server.jar
22 CLASSPATH=:./:./server.jar
2323 else
24 CLASSPATH=$CLASSPATH:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/Users/dthompsn/src/java40.jar:/Users/dthompsn/src/npcosmop211.jar:./:./:./server.jar
24 CLASSPATH=$CLASSPATH::./:./server.jar
2525 fi
2626 export CLASSPATH
2727 ##
src/uipp/prompter/._GARApplication.h less more
Binary diff not shown
src/uipp/prompter/._GARChooserWindow.C less more
Binary diff not shown
src/uipp/prompter/._GARMainWindow.C less more
Binary diff not shown
src/uipp/prompter/._GARMainWindow.h less more
Binary diff not shown
src/uipp/startup/._StartupApplication.C less more
Binary diff not shown
src/uipp/startup/._StartupApplication.h less more
Binary diff not shown
src/uipp/widgets/._ColorMapEditor.c less more
Binary diff not shown
src/uipp/widgets/._ControlPoint.c less more
Binary diff not shown
src/uipp/widgets/._Dial.c less more
Binary diff not shown
src/uipp/widgets/._FrameControl.c less more
Binary diff not shown
src/uipp/widgets/._Image.c less more
Binary diff not shown
src/uipp/widgets/._MultiText.h less more
Binary diff not shown
src/uipp/widgets/._SlideBar.c less more
Binary diff not shown
src/uipp/widgets/._VCRControl.c less more
Binary diff not shown