"Fossies" - the Fresh Open Source Software Archive 
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the latest
Fossies "Diffs" side-by-side code changes report for "configure":
6.12.0.107_vs_6.12.0.122.
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for mono 6.12.0.122.
4 #
5 # Report bugs to <https://github.com/mono/mono/issues/new>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
202
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
211 as_have_required=yes
212 else
213 as_have_required=no
214 fi
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222 IFS=$as_save_IFS
223 test -z "$as_dir" && as_dir=.
224 as_found=:
225 case $as_dir in #(
226 /*)
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234 break 2
235 fi
236 fi
237 done;;
238 esac
239 as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248 if test "x$CONFIG_SHELL" != x; then :
249 export CONFIG_SHELL
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258 *v*x* | *x*v* ) as_opts=-vx ;;
259 *v* ) as_opts=-v ;;
260 *x* ) as_opts=-x ;;
261 * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276 else
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: https://github.com/mono/mono/issues/new about your
279 $0: system, including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
282 fi
283 exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301 { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310 return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318 set +e
319 as_fn_set_status $1
320 exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329 case $as_dir in #(
330 -*) as_dir=./$as_dir;;
331 esac
332 test -d "$as_dir" || eval $as_mkdir_p || {
333 as_dirs=
334 while :; do
335 case $as_dir in #(
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337 *) as_qdir=$as_dir;;
338 esac
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347 s//\1/
348 q
349 }
350 /^X\(\/\/\)[^/].*/{
351 s//\1/
352 q
353 }
354 /^X\(\/\/\)$/{
355 s//\1/
356 q
357 }
358 /^X\(\/\).*/{
359 s//\1/
360 q
361 }
362 s/.*/./; q'`
363 test -d "$as_dir" && break
364 done
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
386 {
387 eval $1+=\$2
388 }'
389 else
390 as_fn_append ()
391 {
392 eval $1=\$$1\$2
393 }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402 eval 'as_fn_arith ()
403 {
404 as_val=$(( $* ))
405 }'
406 else
407 as_fn_arith ()
408 {
409 as_val=`expr "$@" || test $? -eq 1`
410 }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421 as_status=$1; test $as_status -eq 0 && as_status=1
422 if test "$4"; then
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425 fi
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
432 as_expr=expr
433 else
434 as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438 as_basename=basename
439 else
440 as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444 as_dirname=dirname
445 else
446 as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
455 s//\1/
456 q
457 }
458 /^X\/\(\/\/\)$/{
459 s//\1/
460 q
461 }
462 /^X\/\(\/\).*/{
463 s//\1/
464 q
465 }
466 s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 sed -n '
482 p
483 /[$]LINENO/=
484 ' <$as_myself |
485 sed '
486 s/[$]LINENO.*/&-/
487 t lineno
488 b
489 :lineno
490 N
491 :loop
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 t loop
494 s/-\n.*//
495 ' >$as_me.lineno &&
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
506 . "./$as_me.lineno"
507 # Exit status is that of the last command.
508 exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
516 xy) ECHO_C='\c';;
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
518 ECHO_T=' ';;
519 esac;;
520 *)
521 ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
527 else
528 rm -f conf$$.dir
529 mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s='ln -s'
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539 as_ln_s='cp -pR'
540 elif ln conf$$.file conf$$ 2>/dev/null; then
541 as_ln_s=ln
542 else
543 as_ln_s='cp -pR'
544 fi
545 else
546 as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
553 else
554 test -d ./-p && rmdir ./-p
555 as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='mono'
592 PACKAGE_TARNAME='mono'
593 PACKAGE_VERSION='6.12.0.122'
594 PACKAGE_STRING='mono 6.12.0.122'
595 PACKAGE_BUGREPORT='https://github.com/mono/mono/issues/new'
596 PACKAGE_URL=''
597
598 ac_unique_file="Makefile.am"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
601 #include <stdio.h>
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
604 #endif
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
607 #endif
608 #ifdef STDC_HEADERS
609 # include <stdlib.h>
610 # include <stddef.h>
611 #else
612 # ifdef HAVE_STDLIB_H
613 # include <stdlib.h>
614 # endif
615 #endif
616 #ifdef HAVE_STRING_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 # include <memory.h>
619 # endif
620 # include <string.h>
621 #endif
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
624 #endif
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
627 #endif
628 #ifdef HAVE_STDINT_H
629 # include <stdint.h>
630 #endif
631 #ifdef HAVE_UNISTD_H
632 # include <unistd.h>
633 #endif"
634
635 enable_option_checking=no
636 ac_subst_vars='am__EXEEXT_FALSE
637 am__EXEEXT_TRUE
638 LTLIBOBJS
639 LIBOBJS
640 ZLIB_CFLAGS
641 MONO_CXXLD
642 MONO_NATIVE_PLATFORM_TYPE_UNIFIED
643 MONO_NATIVE_PLATFORM_TYPE_COMPAT
644 MONO_NATIVE_PLATFORM_TYPE
645 MONO_NATIVE_PLATFORM_HAIKU_FALSE
646 MONO_NATIVE_PLATFORM_HAIKU_TRUE
647 MONO_NATIVE_PLATFORM_NETBSD_FALSE
648 MONO_NATIVE_PLATFORM_NETBSD_TRUE
649 MONO_NATIVE_PLATFORM_FREEBSD_FALSE
650 MONO_NATIVE_PLATFORM_FREEBSD_TRUE
651 MONO_NATIVE_PLATFORM_ANDROID_FALSE
652 MONO_NATIVE_PLATFORM_ANDROID_TRUE
653 MONO_NATIVE_PLATFORM_AIX_FALSE
654 MONO_NATIVE_PLATFORM_AIX_TRUE
655 MONO_NATIVE_PLATFORM_LINUX_FALSE
656 MONO_NATIVE_PLATFORM_LINUX_TRUE
657 MONO_NATIVE_PLATFORM_IOS_FALSE
658 MONO_NATIVE_PLATFORM_IOS_TRUE
659 MONO_NATIVE_PLATFORM_MACOS_FALSE
660 MONO_NATIVE_PLATFORM_MACOS_TRUE
661 MONO_NATIVE_COMPAT_FALSE
662 MONO_NATIVE_COMPAT_TRUE
663 MONO_NATIVE_FALSE
664 MONO_NATIVE_TRUE
665 MONO_NATIVE_LIBADD
666 MONO_NATIVE_LIBRARY_NAME
667 MONO_NATIVE_UNIFIED_LDFLAGS
668 MONO_NATIVE_COMPAT_LDFLAGS
669 MONO_NATIVE_LDFLAGS
670 MONO_NATIVE_UNIFIED_CFLAGS
671 MONO_NATIVE_COMPAT_CFLAGS
672 MONO_NATIVE_CFLAGS
673 MONO_NATIVE_UNIFIED_CXXFLAGS
674 MONO_NATIVE_COMPAT_CXXFLAGS
675 MONO_NATIVE_CXXFLAGS
676 MONO_NATIVE_UNIFIED_CPPFLAGS
677 MONO_NATIVE_COMPAT_CPPFLAGS
678 MONO_NATIVE_CPPFLAGS
679 MONO_NATIVE_UNIFIED_CCASFLAGS
680 MONO_NATIVE_COMPAT_CCASFLAGS
681 MONO_NATIVE_CCASFLAGS
682 MONO_NATIVE_CXX
683 MONO_NATIVE_CC
684 MONO_NATIVE_PLATFORM
685 MONO_NOINST_SUBDIRS
686 MONO_SUBDIRS
687 CSC
688 mono_cfg_dir
689 CSC_IS_ROSLYN_FALSE
690 CSC_IS_ROSLYN_TRUE
691 mono_runtime_wrapper
692 mono_runtime
693 mono_msvc_build_bin_dir
694 mono_msvc_build_lib_dir
695 mono_msvc_build_dir
696 ENABLE_MSVC_FALSE
697 ENABLE_MSVC_TRUE
698 ENABLE_MSVC_ONLY_FALSE
699 ENABLE_MSVC_ONLY_TRUE
700 mono_build_root
701 arch_target
702 XINERAMA
703 GTKX11
704 GDKX11
705 X11
706 ODBC
707 SQLITE3
708 SQLITE
709 INTL
710 LIBC
711 CROSS_COMPILE_FALSE
712 CROSS_COMPILE_TRUE
713 HOST_RISCV64_FALSE
714 HOST_RISCV64_TRUE
715 HOST_RISCV32_FALSE
716 HOST_RISCV32_TRUE
717 HOST_RISCV_FALSE
718 HOST_RISCV_TRUE
719 HOST_ARM64_FALSE
720 HOST_ARM64_TRUE
721 HOST_ARM_FALSE
722 HOST_ARM_TRUE
723 HOST_AMD64_FALSE
724 HOST_AMD64_TRUE
725 HOST_X86_FALSE
726 HOST_X86_TRUE
727 WASM_FALSE
728 WASM_TRUE
729 RISCV64_FALSE
730 RISCV64_TRUE
731 RISCV32_FALSE
732 RISCV32_TRUE
733 RISCV_FALSE
734 RISCV_TRUE
735 S390X_FALSE
736 S390X_TRUE
737 ARM64_FALSE
738 ARM64_TRUE
739 ARM_FALSE
740 ARM_TRUE
741 POWERPC64_FALSE
742 POWERPC64_TRUE
743 POWERPC_FALSE
744 POWERPC_TRUE
745 MIPS_FALSE
746 MIPS_TRUE
747 AMD64_FALSE
748 AMD64_TRUE
749 X86_FALSE
750 X86_TRUE
751 SPARC64_FALSE
752 SPARC64_TRUE
753 SPARC_FALSE
754 SPARC_TRUE
755 MIPS_SGI_FALSE
756 MIPS_SGI_TRUE
757 MIPS_GCC_FALSE
758 MIPS_GCC_TRUE
759 BUILD_SUPPORT_FALSE
760 BUILD_SUPPORT_TRUE
761 BUILD_MCS_FALSE
762 BUILD_MCS_TRUE
763 BTLS_ANDROID_FALSE
764 BTLS_ANDROID_TRUE
765 BTLS_CMAKE_ARGS
766 BTLS_PLATFORM
767 BTLS_CFLAGS
768 BTLS_ARCH
769 HAVE_YASM
770 BTLS_ROOT
771 CMAKE
772 BTLS_FALSE
773 BTLS_TRUE
774 LIBMONO_LA
775 NEED_VASPRINTF_FALSE
776 NEED_VASPRINTF_TRUE
777 ENABLE_EXPERIMENT_TIERED_FALSE
778 ENABLE_EXPERIMENT_TIERED_TRUE
779 ENABLE_HYBRID_SUSPEND_FALSE
780 ENABLE_HYBRID_SUSPEND_TRUE
781 ENABLE_COOP_SUSPEND_FALSE
782 ENABLE_COOP_SUSPEND_TRUE
783 subdirs
784 CORETARGETS
785 COREARCH
786 RID
787 DISABLE_ICALL_TABLES_FALSE
788 DISABLE_ICALL_TABLES_TRUE
789 libgdiplus_install_loc
790 libgdiplus_loc
791 GSSIZE
792 GSIZE
793 GSIZE_FORMAT
794 HAVE_ALLOCA_H
795 PIDTYPE
796 OS
797 SEARCHSEP
798 PATHSEP
799 ORDER
800 BREAKPOINT
801 GNUC_NORETURN
802 GNUC_UNUSED
803 GNUC_PRETTY
804 libsuffix
805 XMKMF
806 SUPPORT_SGEN_FALSE
807 SUPPORT_SGEN_TRUE
808 SGEN_DEFINES
809 SIZEOF_VOID_P
810 TARGET_OSX_FALSE
811 TARGET_OSX_TRUE
812 VTUNE_CFLAGS
813 VTUNE_LIBS
814 HAVE_VTUNE_FALSE
815 HAVE_VTUNE_TRUE
816 TARGET_WASM_FALSE
817 TARGET_WASM_TRUE
818 MONO_ARCH_GSHAREDVT_SUPPORTED_FALSE
819 MONO_ARCH_GSHAREDVT_SUPPORTED_TRUE
820 INTERP_CFLAGS
821 ENABLE_LLVM_RUNTIME_FALSE
822 ENABLE_LLVM_RUNTIME_TRUE
823 LOADED_LLVM_FALSE
824 LOADED_LLVM_TRUE
825 ENABLE_LLVM_FALSE
826 ENABLE_LLVM_TRUE
827 INTERNAL_LLVM_ASSERTS_FALSE
828 INTERNAL_LLVM_ASSERTS_TRUE
829 INTERNAL_LLVM_FALSE
830 INTERNAL_LLVM_TRUE
831 EXTERNAL_LLVM_CONFIG_WIN32
832 EXTERNAL_LLVM_CONFIG
833 LLVM_CODEGEN_LIBS
834 DTRACE_G_REQUIRED_FALSE
835 DTRACE_G_REQUIRED_TRUE
836 ENABLE_DTRACE_FALSE
837 ENABLE_DTRACE_TRUE
838 DTRACEFLAGS
839 DTRACE
840 ENABLE_GSS_FALSE
841 ENABLE_GSS_TRUE
842 XATTR_LIB
843 SUPPORT_NULLGC_FALSE
844 SUPPORT_NULLGC_TRUE
845 BOEHM_DEFINES
846 LIBGC_STATIC_LIBS
847 LIBGC_LIBS
848 LIBGC_CPPFLAGS
849 SUPPORT_BOEHM_FALSE
850 SUPPORT_BOEHM_TRUE
851 HAS_EXTENSION_MODULE_FALSE
852 HAS_EXTENSION_MODULE_TRUE
853 DISABLE_EXECUTABLES_FALSE
854 DISABLE_EXECUTABLES_TRUE
855 DISABLE_DEBUGGER_AGENT_FALSE
856 DISABLE_DEBUGGER_AGENT_TRUE
857 ENABLE_ILGEN_FALSE
858 ENABLE_ILGEN_TRUE
859 DISABLE_INTERPRETER_FALSE
860 DISABLE_INTERPRETER_TRUE
861 DISABLE_JIT_FALSE
862 DISABLE_JIT_TRUE
863 DISABLE_PROFILER_FALSE
864 DISABLE_PROFILER_TRUE
865 ENABLE_STATIC_GCC_LIBS_FALSE
866 ENABLE_STATIC_GCC_LIBS_TRUE
867 STATIC_GCC_LIBS
868 DEFAULT_PROFILE
869 DEFAULT_TESTS_FALSE
870 DEFAULT_TESTS_TRUE
871 FULL_AOT_INTERP_TESTS_FALSE
872 FULL_AOT_INTERP_TESTS_TRUE
873 FULL_AOT_TESTS_FALSE
874 FULL_AOT_TESTS_TRUE
875 HYBRID_AOT_TESTS_FALSE
876 HYBRID_AOT_TESTS_TRUE
877 INSTALL_NETCORE_FALSE
878 INSTALL_NETCORE_TRUE
879 INSTALL_WASM_FALSE
880 INSTALL_WASM_TRUE
881 INSTALL_UNREAL_FALSE
882 INSTALL_UNREAL_TRUE
883 INSTALL_ORBIS_FALSE
884 INSTALL_ORBIS_TRUE
885 INSTALL_TESTING_WINAOT_INTERP_FALSE
886 INSTALL_TESTING_WINAOT_INTERP_TRUE
887 INSTALL_WINAOT_FALSE
888 INSTALL_WINAOT_TRUE
889 INSTALL_TESTING_AOT_FULL_FALSE
890 INSTALL_TESTING_AOT_FULL_TRUE
891 INSTALL_TESTING_AOT_HYBRID_FALSE
892 INSTALL_TESTING_AOT_HYBRID_TRUE
893 INSTALL_TESTING_AOT_FULL_INTERP_FALSE
894 INSTALL_TESTING_AOT_FULL_INTERP_TRUE
895 INSTALL_XAMMAC_FALSE
896 INSTALL_XAMMAC_TRUE
897 BITCODE_FALSE
898 BITCODE_TRUE
899 INSTALL_MONOTOUCH_TV_FALSE
900 INSTALL_MONOTOUCH_TV_TRUE
901 INSTALL_MONOTOUCH_WATCH_FALSE
902 INSTALL_MONOTOUCH_WATCH_TRUE
903 INSTALL_MONOTOUCH_FALSE
904 INSTALL_MONOTOUCH_TRUE
905 INSTALL_MONODROID_FALSE
906 INSTALL_MONODROID_TRUE
907 INSTALL_4_x_FALSE
908 INSTALL_4_x_TRUE
909 TEST_PROFILE
910 INVARIANT_AOT_OPTIONS
911 AOT_RUN_FLAGS
912 AOT_BUILD_FLAGS
913 CXX_REMOVE_CFLAGS
914 CXX_ADD_CFLAGS
915 CXXFLAGS_COMMON
916 ENABLE_CXX_FALSE
917 ENABLE_CXX_TRUE
918 ENABLE_MONOTOUCH_FALSE
919 ENABLE_MONOTOUCH_TRUE
920 ENABLE_MONODROID_FALSE
921 ENABLE_MONODROID_TRUE
922 JEMALLOC_AUTOCONF_FLAGS
923 JEMALLOC_LDFLAGS
924 JEMALLOC_CPPFLAGS
925 JEMALLOC_CFLAGS
926 MONO_JEMALLOC_ENABLED
927 MONO_JEMALLOC_ENABLED_FALSE
928 MONO_JEMALLOC_ENABLED_TRUE
929 MONO_JEMALLOC_DEFAULT
930 MONO_JEMALLOC_DEFAULT_FALSE
931 MONO_JEMALLOC_DEFAULT_TRUE
932 MONO_JEMALLOC_ASSERT
933 MONO_JEMALLOC_ASSERT_FALSE
934 MONO_JEMALLOC_ASSERT_TRUE
935 SHARED_MONO_FALSE
936 SHARED_MONO_TRUE
937 STATIC_MONO_FALSE
938 STATIC_MONO_TRUE
939 DISABLE_LIBRARIES_FALSE
940 DISABLE_LIBRARIES_TRUE
941 GLIB_CFLAGS
942 SHARED_CFLAGS
943 WERROR_CFLAGS
944 NINJA_FALSE
945 NINJA_TRUE
946 HAVE_NINJA
947 PKG_CONFIG
948 HAVE_MSGFMT
949 XGETTEXT_EXTRA_OPTIONS
950 MSGMERGE
951 XGETTEXT_015
952 XGETTEXT
953 GMSGFMT_015
954 MSGFMT_015
955 GMSGFMT
956 MSGFMT
957 GETTEXT_MACRO_VERSION
958 USE_NLS
959 mcs_topdir_from_srcdir
960 mcs_topdir
961 ENABLE_NETCORE_FALSE
962 ENABLE_NETCORE_TRUE
963 HAVE_SYS_ZLIB_FALSE
964 HAVE_SYS_ZLIB_TRUE
965 HAVE_STATIC_ZLIB_FALSE
966 HAVE_STATIC_ZLIB_TRUE
967 STATIC_ZLIB_PATH
968 HAVE_UNISTD_H
969 export_ldflags
970 LTCXXCOMPILE
971 LTCOMPILE
972 DOLT_BASH
973 CXXCPP
974 LT_SYS_LIBRARY_PATH
975 OTOOL64
976 OTOOL
977 LIPO
978 NMEDIT
979 DSYMUTIL
980 MANIFEST_TOOL
981 RANLIB
982 ac_ct_AR
983 AR
984 NM
985 ac_ct_DUMPBIN
986 DUMPBIN
987 LD
988 FGREP
989 SED
990 LIBTOOL
991 OBJDUMP
992 DLLTOOL
993 AS
994 EGREP
995 GREP
996 CPP
997 USE_BATCH_FILES_FALSE
998 USE_BATCH_FILES_TRUE
999 CROSS_COMPILING_FALSE
1000 CROSS_COMPILING_TRUE
1001 BUILD_EXEEXT
1002 HOST_CC
1003 CFLAGS_FOR_BUILD
1004 CC_FOR_BUILD
1005 am__fastdepCCAS_FALSE
1006 am__fastdepCCAS_TRUE
1007 CCASDEPMODE
1008 CCASFLAGS
1009 CCAS
1010 pkgpyexecdir
1011 pyexecdir
1012 pkgpythondir
1013 pythondir
1014 PYTHON_PLATFORM
1015 PYTHON_EXEC_PREFIX
1016 PYTHON_PREFIX
1017 PYTHON_VERSION
1018 PYTHON
1019 am__fastdepCXX_FALSE
1020 am__fastdepCXX_TRUE
1021 CXXDEPMODE
1022 ac_ct_CXX
1023 CXXFLAGS
1024 CXX
1025 am__fastdepCC_FALSE
1026 am__fastdepCC_TRUE
1027 CCDEPMODE
1028 am__nodep
1029 AMDEPBACKSLASH
1030 AMDEP_FALSE
1031 AMDEP_TRUE
1032 am__quote
1033 am__include
1034 DEPDIR
1035 OBJEXT
1036 EXEEXT
1037 ac_ct_CC
1038 CPPFLAGS
1039 LDFLAGS
1040 CFLAGS
1041 CC
1042 PLATFORM_AOT_PREFIX
1043 PLATFORM_AOT_SUFFIX
1044 HOST_AIX_FALSE
1045 HOST_AIX_TRUE
1046 HOST_WASM_FALSE
1047 HOST_WASM_TRUE
1048 HOST_IOS_FALSE
1049 HOST_IOS_TRUE
1050 HOST_TIZEN_FALSE
1051 HOST_TIZEN_TRUE
1052 HOST_ANDROID_FALSE
1053 HOST_ANDROID_TRUE
1054 HOST_SIGPOSIX_FALSE
1055 HOST_SIGPOSIX_TRUE
1056 HOST_DARWIN_FALSE
1057 HOST_DARWIN_TRUE
1058 HOST_LINUX_FALSE
1059 HOST_LINUX_TRUE
1060 TARGET_WIN32_FALSE
1061 TARGET_WIN32_TRUE
1062 HOST_WIN32_FALSE
1063 HOST_WIN32_TRUE
1064 extra_runtime_ldflags
1065 reloc_libdir
1066 libmono_ldflags
1067 libmono_cflags
1068 MONO_CORLIB_VERSION
1069 LN_S
1070 API_VER
1071 MAINT
1072 MAINTAINER_MODE_FALSE
1073 MAINTAINER_MODE_TRUE
1074 AM_BACKSLASH
1075 AM_DEFAULT_VERBOSITY
1076 AM_DEFAULT_V
1077 AM_V
1078 am__untar
1079 am__tar
1080 AMTAR
1081 am__leading_dot
1082 SET_MAKE
1083 AWK
1084 mkdir_p
1085 MKDIR_P
1086 INSTALL_STRIP_PROGRAM
1087 STRIP
1088 install_sh
1089 MAKEINFO
1090 AUTOHEADER
1091 AUTOMAKE
1092 AUTOCONF
1093 ACLOCAL
1094 VERSION
1095 PACKAGE
1096 CYGPATH_W
1097 am__isrc
1098 INSTALL_DATA
1099 INSTALL_SCRIPT
1100 INSTALL_PROGRAM
1101 target_os
1102 target_vendor
1103 target_cpu
1104 target
1105 host_os
1106 host_vendor
1107 host_cpu
1108 host
1109 build_os
1110 build_vendor
1111 build_cpu
1112 build
1113 target_alias
1114 host_alias
1115 build_alias
1116 LIBS
1117 ECHO_T
1118 ECHO_N
1119 ECHO_C
1120 DEFS
1121 mandir
1122 localedir
1123 libdir
1124 psdir
1125 pdfdir
1126 dvidir
1127 htmldir
1128 infodir
1129 docdir
1130 oldincludedir
1131 includedir
1132 runstatedir
1133 localstatedir
1134 sharedstatedir
1135 sysconfdir
1136 datadir
1137 datarootdir
1138 libexecdir
1139 sbindir
1140 bindir
1141 program_transform_name
1142 prefix
1143 exec_prefix
1144 PACKAGE_URL
1145 PACKAGE_BUGREPORT
1146 PACKAGE_STRING
1147 PACKAGE_VERSION
1148 PACKAGE_TARNAME
1149 PACKAGE_NAME
1150 PATH_SEPARATOR
1151 SHELL'
1152 ac_subst_files=''
1153 ac_user_opts='
1154 enable_option_checking
1155 enable_silent_rules
1156 enable_maintainer_mode
1157 enable_dependency_tracking
1158 enable_shared
1159 enable_static
1160 with_pic
1161 enable_fast_install
1162 with_aix_soname
1163 with_gnu_ld
1164 with_sysroot
1165 enable_libtool_lock
1166 with_static_zlib
1167 enable_visibility_hidden
1168 with_mcs_path
1169 with_jumptables
1170 with_core
1171 enable_solaris_tar_check
1172 enable_nls
1173 with_crosspkgdir
1174 enable_ninja
1175 enable_werror
1176 with_tls
1177 with_sigaltstack
1178 with_static_mono
1179 with_shared_mono
1180 enable_libraries
1181 enable_mcs_build
1182 enable_support_build
1183 with_xen_opt
1184 enable_small_config
1185 enable_system_aot
1186 with_csc
1187 with_jemalloc
1188 with_jemalloc_always
1189 with_jemalloc_assert
1190 with_crash_privacy
1191 with_structured_crashes
1192 enable_crash_reporting
1193 enable_monodroid
1194 enable_monotouch
1195 enable_cxx
1196 with_profile4_x
1197 with_monodroid
1198 with_monotouch
1199 with_monotouch_watch
1200 with_monotouch_tv
1201 with_bitcode
1202 with_xammac
1203 with_testing_aot_full_interp
1204 with_testing_aot_hybrid
1205 with_testing_aot_full
1206 with_winaot
1207 with_testing_winaot_interp
1208 with_orbis
1209 with_unreal
1210 with_wasm
1211 with_runtime_preset
1212 with_spectre_mitigation
1213 with_spectre_indirect_branch_choice
1214 with_spectre_function_return_choice
1215 enable_static_gcc_libs
1216 enable_minimal
1217 enable_executables
1218 enable_extension_module
1219 enable_gsharedvt
1220 with_libgc
1221 enable_boehm
1222 enable_parallel_mark
1223 with_large_heap
1224 with_ikvm_native
1225 enable_dev_random
1226 enable_bcl_opt
1227 enable_big_arrays
1228 enable_dtrace
1229 with_cross_offsets
1230 enable_llvm
1231 enable_loadedllvm
1232 enable_llvm_version_check
1233 enable_llvm_runtime
1234 enable_llvm_asserts
1235 with_llvm
1236 enable_vtune
1237 with_vtune
1238 with_sgen
1239 with_sgen_default_concurrent
1240 with_x
1241 with_overridable_allocators
1242 with_libgdiplus
1243 enable_icall_symbol_map
1244 enable_icall_export
1245 enable_icall_tables
1246 with_riscv_fpabi
1247 with_malloc_mempools
1248 with_mcs_docs
1249 with_lazy_gc_thread_creation
1250 with_cooperative_gc
1251 enable_cooperative_suspend
1252 enable_hybrid_suspend
1253 enable_experiment
1254 enable_checked_build
1255 enable_btls
1256 enable_btls_lib
1257 with_btls_android_ndk
1258 with_btls_android_api
1259 with_btls_android_cmake_toolchain
1260 with_btls_android_ndk_asm_workaround
1261 enable_msvc_only
1262 enable_msvc
1263 with_compiler_server
1264 '
1265 ac_precious_vars='build_alias
1266 host_alias
1267 target_alias
1268 CC
1269 CFLAGS
1270 LDFLAGS
1271 LIBS
1272 CPPFLAGS
1273 CXX
1274 CXXFLAGS
1275 CCC
1276 PYTHON
1277 CCAS
1278 CCASFLAGS
1279 CPP
1280 LT_SYS_LIBRARY_PATH
1281 CXXCPP
1282 XMKMF'
1283 ac_subdirs_all='external/bdwgc'
1284
1285 # Initialize some variables set by options.
1286 ac_init_help=
1287 ac_init_version=false
1288 ac_unrecognized_opts=
1289 ac_unrecognized_sep=
1290 # The variables have the same names as the options, with
1291 # dashes changed to underlines.
1292 cache_file=/dev/null
1293 exec_prefix=NONE
1294 no_create=
1295 no_recursion=
1296 prefix=NONE
1297 program_prefix=NONE
1298 program_suffix=NONE
1299 program_transform_name=s,x,x,
1300 silent=
1301 site=
1302 srcdir=
1303 verbose=
1304 x_includes=NONE
1305 x_libraries=NONE
1306
1307 # Installation directory options.
1308 # These are left unexpanded so users can "make install exec_prefix=/foo"
1309 # and all the variables that are supposed to be based on exec_prefix
1310 # by default will actually change.
1311 # Use braces instead of parens because sh, perl, etc. also accept them.
1312 # (The list follows the same order as the GNU Coding Standards.)
1313 bindir='${exec_prefix}/bin'
1314 sbindir='${exec_prefix}/sbin'
1315 libexecdir='${exec_prefix}/libexec'
1316 datarootdir='${prefix}/share'
1317 datadir='${datarootdir}'
1318 sysconfdir='${prefix}/etc'
1319 sharedstatedir='${prefix}/com'
1320 localstatedir='${prefix}/var'
1321 runstatedir='${localstatedir}/run'
1322 includedir='${prefix}/include'
1323 oldincludedir='/usr/include'
1324 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1325 infodir='${datarootdir}/info'
1326 htmldir='${docdir}'
1327 dvidir='${docdir}'
1328 pdfdir='${docdir}'
1329 psdir='${docdir}'
1330 libdir='${exec_prefix}/lib'
1331 localedir='${datarootdir}/locale'
1332 mandir='${datarootdir}/man'
1333
1334 ac_prev=
1335 ac_dashdash=
1336 for ac_option
1337 do
1338 # If the previous option needs an argument, assign it.
1339 if test -n "$ac_prev"; then
1340 eval $ac_prev=\$ac_option
1341 ac_prev=
1342 continue
1343 fi
1344
1345 case $ac_option in
1346 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1347 *=) ac_optarg= ;;
1348 *) ac_optarg=yes ;;
1349 esac
1350
1351 # Accept the important Cygnus configure options, so we can diagnose typos.
1352
1353 case $ac_dashdash$ac_option in
1354 --)
1355 ac_dashdash=yes ;;
1356
1357 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1358 ac_prev=bindir ;;
1359 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1360 bindir=$ac_optarg ;;
1361
1362 -build | --build | --buil | --bui | --bu)
1363 ac_prev=build_alias ;;
1364 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1365 build_alias=$ac_optarg ;;
1366
1367 -cache-file | --cache-file | --cache-fil | --cache-fi \
1368 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1369 ac_prev=cache_file ;;
1370 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1371 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1372 cache_file=$ac_optarg ;;
1373
1374 --config-cache | -C)
1375 cache_file=config.cache ;;
1376
1377 -datadir | --datadir | --datadi | --datad)
1378 ac_prev=datadir ;;
1379 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1380 datadir=$ac_optarg ;;
1381
1382 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1383 | --dataroo | --dataro | --datar)
1384 ac_prev=datarootdir ;;
1385 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1386 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1387 datarootdir=$ac_optarg ;;
1388
1389 -disable-* | --disable-*)
1390 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1391 # Reject names that are not valid shell variable names.
1392 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1393 as_fn_error $? "invalid feature name: $ac_useropt"
1394 ac_useropt_orig=$ac_useropt
1395 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1396 case $ac_user_opts in
1397 *"
1398 "enable_$ac_useropt"
1399 "*) ;;
1400 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1401 ac_unrecognized_sep=', ';;
1402 esac
1403 eval enable_$ac_useropt=no ;;
1404
1405 -docdir | --docdir | --docdi | --doc | --do)
1406 ac_prev=docdir ;;
1407 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1408 docdir=$ac_optarg ;;
1409
1410 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1411 ac_prev=dvidir ;;
1412 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1413 dvidir=$ac_optarg ;;
1414
1415 -enable-* | --enable-*)
1416 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1419 as_fn_error $? "invalid feature name: $ac_useropt"
1420 ac_useropt_orig=$ac_useropt
1421 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1422 case $ac_user_opts in
1423 *"
1424 "enable_$ac_useropt"
1425 "*) ;;
1426 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1427 ac_unrecognized_sep=', ';;
1428 esac
1429 eval enable_$ac_useropt=\$ac_optarg ;;
1430
1431 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1432 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1433 | --exec | --exe | --ex)
1434 ac_prev=exec_prefix ;;
1435 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1436 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1437 | --exec=* | --exe=* | --ex=*)
1438 exec_prefix=$ac_optarg ;;
1439
1440 -gas | --gas | --ga | --g)
1441 # Obsolete; use --with-gas.
1442 with_gas=yes ;;
1443
1444 -help | --help | --hel | --he | -h)
1445 ac_init_help=long ;;
1446 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1447 ac_init_help=recursive ;;
1448 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1449 ac_init_help=short ;;
1450
1451 -host | --host | --hos | --ho)
1452 ac_prev=host_alias ;;
1453 -host=* | --host=* | --hos=* | --ho=*)
1454 host_alias=$ac_optarg ;;
1455
1456 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1457 ac_prev=htmldir ;;
1458 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1459 | --ht=*)
1460 htmldir=$ac_optarg ;;
1461
1462 -includedir | --includedir | --includedi | --included | --include \
1463 | --includ | --inclu | --incl | --inc)
1464 ac_prev=includedir ;;
1465 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1466 | --includ=* | --inclu=* | --incl=* | --inc=*)
1467 includedir=$ac_optarg ;;
1468
1469 -infodir | --infodir | --infodi | --infod | --info | --inf)
1470 ac_prev=infodir ;;
1471 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1472 infodir=$ac_optarg ;;
1473
1474 -libdir | --libdir | --libdi | --libd)
1475 ac_prev=libdir ;;
1476 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1477 libdir=$ac_optarg ;;
1478
1479 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1480 | --libexe | --libex | --libe)
1481 ac_prev=libexecdir ;;
1482 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1483 | --libexe=* | --libex=* | --libe=*)
1484 libexecdir=$ac_optarg ;;
1485
1486 -localedir | --localedir | --localedi | --localed | --locale)
1487 ac_prev=localedir ;;
1488 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1489 localedir=$ac_optarg ;;
1490
1491 -localstatedir | --localstatedir | --localstatedi | --localstated \
1492 | --localstate | --localstat | --localsta | --localst | --locals)
1493 ac_prev=localstatedir ;;
1494 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1495 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1496 localstatedir=$ac_optarg ;;
1497
1498 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1499 ac_prev=mandir ;;
1500 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1501 mandir=$ac_optarg ;;
1502
1503 -nfp | --nfp | --nf)
1504 # Obsolete; use --without-fp.
1505 with_fp=no ;;
1506
1507 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1508 | --no-cr | --no-c | -n)
1509 no_create=yes ;;
1510
1511 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1512 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1513 no_recursion=yes ;;
1514
1515 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1516 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1517 | --oldin | --oldi | --old | --ol | --o)
1518 ac_prev=oldincludedir ;;
1519 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1520 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1521 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1522 oldincludedir=$ac_optarg ;;
1523
1524 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1525 ac_prev=prefix ;;
1526 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1527 prefix=$ac_optarg ;;
1528
1529 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1530 | --program-pre | --program-pr | --program-p)
1531 ac_prev=program_prefix ;;
1532 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1533 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1534 program_prefix=$ac_optarg ;;
1535
1536 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1537 | --program-suf | --program-su | --program-s)
1538 ac_prev=program_suffix ;;
1539 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1540 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1541 program_suffix=$ac_optarg ;;
1542
1543 -program-transform-name | --program-transform-name \
1544 | --program-transform-nam | --program-transform-na \
1545 | --program-transform-n | --program-transform- \
1546 | --program-transform | --program-transfor \
1547 | --program-transfo | --program-transf \
1548 | --program-trans | --program-tran \
1549 | --progr-tra | --program-tr | --program-t)
1550 ac_prev=program_transform_name ;;
1551 -program-transform-name=* | --program-transform-name=* \
1552 | --program-transform-nam=* | --program-transform-na=* \
1553 | --program-transform-n=* | --program-transform-=* \
1554 | --program-transform=* | --program-transfor=* \
1555 | --program-transfo=* | --program-transf=* \
1556 | --program-trans=* | --program-tran=* \
1557 | --progr-tra=* | --program-tr=* | --program-t=*)
1558 program_transform_name=$ac_optarg ;;
1559
1560 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1561 ac_prev=pdfdir ;;
1562 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1563 pdfdir=$ac_optarg ;;
1564
1565 -psdir | --psdir | --psdi | --psd | --ps)
1566 ac_prev=psdir ;;
1567 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1568 psdir=$ac_optarg ;;
1569
1570 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1571 | -silent | --silent | --silen | --sile | --sil)
1572 silent=yes ;;
1573
1574 -runstatedir | --runstatedir | --runstatedi | --runstated \
1575 | --runstate | --runstat | --runsta | --runst | --runs \
1576 | --run | --ru | --r)
1577 ac_prev=runstatedir ;;
1578 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1579 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1580 | --run=* | --ru=* | --r=*)
1581 runstatedir=$ac_optarg ;;
1582
1583 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1584 ac_prev=sbindir ;;
1585 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1586 | --sbi=* | --sb=*)
1587 sbindir=$ac_optarg ;;
1588
1589 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1590 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1591 | --sharedst | --shareds | --shared | --share | --shar \
1592 | --sha | --sh)
1593 ac_prev=sharedstatedir ;;
1594 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1595 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1596 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1597 | --sha=* | --sh=*)
1598 sharedstatedir=$ac_optarg ;;
1599
1600 -site | --site | --sit)
1601 ac_prev=site ;;
1602 -site=* | --site=* | --sit=*)
1603 site=$ac_optarg ;;
1604
1605 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1606 ac_prev=srcdir ;;
1607 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1608 srcdir=$ac_optarg ;;
1609
1610 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1611 | --syscon | --sysco | --sysc | --sys | --sy)
1612 ac_prev=sysconfdir ;;
1613 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1614 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1615 sysconfdir=$ac_optarg ;;
1616
1617 -target | --target | --targe | --targ | --tar | --ta | --t)
1618 ac_prev=target_alias ;;
1619 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1620 target_alias=$ac_optarg ;;
1621
1622 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1623 verbose=yes ;;
1624
1625 -version | --version | --versio | --versi | --vers | -V)
1626 ac_init_version=: ;;
1627
1628 -with-* | --with-*)
1629 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1630 # Reject names that are not valid shell variable names.
1631 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1632 as_fn_error $? "invalid package name: $ac_useropt"
1633 ac_useropt_orig=$ac_useropt
1634 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1635 case $ac_user_opts in
1636 *"
1637 "with_$ac_useropt"
1638 "*) ;;
1639 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1640 ac_unrecognized_sep=', ';;
1641 esac
1642 eval with_$ac_useropt=\$ac_optarg ;;
1643
1644 -without-* | --without-*)
1645 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1646 # Reject names that are not valid shell variable names.
1647 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1648 as_fn_error $? "invalid package name: $ac_useropt"
1649 ac_useropt_orig=$ac_useropt
1650 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1651 case $ac_user_opts in
1652 *"
1653 "with_$ac_useropt"
1654 "*) ;;
1655 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1656 ac_unrecognized_sep=', ';;
1657 esac
1658 eval with_$ac_useropt=no ;;
1659
1660 --x)
1661 # Obsolete; use --with-x.
1662 with_x=yes ;;
1663
1664 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1665 | --x-incl | --x-inc | --x-in | --x-i)
1666 ac_prev=x_includes ;;
1667 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1668 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1669 x_includes=$ac_optarg ;;
1670
1671 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1672 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1673 ac_prev=x_libraries ;;
1674 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1675 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1676 x_libraries=$ac_optarg ;;
1677
1678 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1679 Try \`$0 --help' for more information"
1680 ;;
1681
1682 *=*)
1683 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1684 # Reject names that are not valid shell variable names.
1685 case $ac_envvar in #(
1686 '' | [0-9]* | *[!_$as_cr_alnum]* )
1687 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1688 esac
1689 eval $ac_envvar=\$ac_optarg
1690 export $ac_envvar ;;
1691
1692 *)
1693 # FIXME: should be removed in autoconf 3.0.
1694 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1695 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1696 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1697 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1698 ;;
1699
1700 esac
1701 done
1702
1703 if test -n "$ac_prev"; then
1704 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1705 as_fn_error $? "missing argument to $ac_option"
1706 fi
1707
1708 if test -n "$ac_unrecognized_opts"; then
1709 case $enable_option_checking in
1710 no) ;;
1711 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1712 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1713 esac
1714 fi
1715
1716 # Check all directory arguments for consistency.
1717 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1718 datadir sysconfdir sharedstatedir localstatedir includedir \
1719 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1720 libdir localedir mandir runstatedir
1721 do
1722 eval ac_val=\$$ac_var
1723 # Remove trailing slashes.
1724 case $ac_val in
1725 */ )
1726 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1727 eval $ac_var=\$ac_val;;
1728 esac
1729 # Be sure to have absolute directory names.
1730 case $ac_val in
1731 [\\/$]* | ?:[\\/]* ) continue;;
1732 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1733 esac
1734 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1735 done
1736
1737 # There might be people who depend on the old broken behavior: `$host'
1738 # used to hold the argument of --host etc.
1739 # FIXME: To remove some day.
1740 build=$build_alias
1741 host=$host_alias
1742 target=$target_alias
1743
1744 # FIXME: To remove some day.
1745 if test "x$host_alias" != x; then
1746 if test "x$build_alias" = x; then
1747 cross_compiling=maybe
1748 elif test "x$build_alias" != "x$host_alias"; then
1749 cross_compiling=yes
1750 fi
1751 fi
1752
1753 ac_tool_prefix=
1754 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1755
1756 test "$silent" = yes && exec 6>/dev/null
1757
1758
1759 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1760 ac_ls_di=`ls -di .` &&
1761 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1762 as_fn_error $? "working directory cannot be determined"
1763 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1764 as_fn_error $? "pwd does not report name of working directory"
1765
1766
1767 # Find the source files, if location was not specified.
1768 if test -z "$srcdir"; then
1769 ac_srcdir_defaulted=yes
1770 # Try the directory containing this script, then the parent directory.
1771 ac_confdir=`$as_dirname -- "$as_myself" ||
1772 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1773 X"$as_myself" : 'X\(//\)[^/]' \| \
1774 X"$as_myself" : 'X\(//\)$' \| \
1775 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1776 $as_echo X"$as_myself" |
1777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1778 s//\1/
1779 q
1780 }
1781 /^X\(\/\/\)[^/].*/{
1782 s//\1/
1783 q
1784 }
1785 /^X\(\/\/\)$/{
1786 s//\1/
1787 q
1788 }
1789 /^X\(\/\).*/{
1790 s//\1/
1791 q
1792 }
1793 s/.*/./; q'`
1794 srcdir=$ac_confdir
1795 if test ! -r "$srcdir/$ac_unique_file"; then
1796 srcdir=..
1797 fi
1798 else
1799 ac_srcdir_defaulted=no
1800 fi
1801 if test ! -r "$srcdir/$ac_unique_file"; then
1802 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1803 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1804 fi
1805 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1806 ac_abs_confdir=`(
1807 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1808 pwd)`
1809 # When building in place, set srcdir=.
1810 if test "$ac_abs_confdir" = "$ac_pwd"; then
1811 srcdir=.
1812 fi
1813 # Remove unnecessary trailing slashes from srcdir.
1814 # Double slashes in file names in object file debugging info
1815 # mess up M-x gdb in Emacs.
1816 case $srcdir in
1817 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1818 esac
1819 for ac_var in $ac_precious_vars; do
1820 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1821 eval ac_env_${ac_var}_value=\$${ac_var}
1822 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1823 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1824 done
1825
1826 #
1827 # Report the --help message.
1828 #
1829 if test "$ac_init_help" = "long"; then
1830 # Omit some internal or obsolete options to make the list less imposing.
1831 # This message is too long to be a string in the A/UX 3.1 sh.
1832 cat <<_ACEOF
1833 \`configure' configures mono 6.12.0.122 to adapt to many kinds of systems.
1834
1835 Usage: $0 [OPTION]... [VAR=VALUE]...
1836
1837 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1838 VAR=VALUE. See below for descriptions of some of the useful variables.
1839
1840 Defaults for the options are specified in brackets.
1841
1842 Configuration:
1843 -h, --help display this help and exit
1844 --help=short display options specific to this package
1845 --help=recursive display the short help of all the included packages
1846 -V, --version display version information and exit
1847 -q, --quiet, --silent do not print \`checking ...' messages
1848 --cache-file=FILE cache test results in FILE [disabled]
1849 -C, --config-cache alias for \`--cache-file=config.cache'
1850 -n, --no-create do not create output files
1851 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1852
1853 Installation directories:
1854 --prefix=PREFIX install architecture-independent files in PREFIX
1855 [$ac_default_prefix]
1856 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1857 [PREFIX]
1858
1859 By default, \`make install' will install all the files in
1860 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1861 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1862 for instance \`--prefix=\$HOME'.
1863
1864 For better control, use the options below.
1865
1866 Fine tuning of the installation directories:
1867 --bindir=DIR user executables [EPREFIX/bin]
1868 --sbindir=DIR system admin executables [EPREFIX/sbin]
1869 --libexecdir=DIR program executables [EPREFIX/libexec]
1870 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1871 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1872 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1873 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1874 --libdir=DIR object code libraries [EPREFIX/lib]
1875 --includedir=DIR C header files [PREFIX/include]
1876 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1877 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1878 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1879 --infodir=DIR info documentation [DATAROOTDIR/info]
1880 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1881 --mandir=DIR man documentation [DATAROOTDIR/man]
1882 --docdir=DIR documentation root [DATAROOTDIR/doc/mono]
1883 --htmldir=DIR html documentation [DOCDIR]
1884 --dvidir=DIR dvi documentation [DOCDIR]
1885 --pdfdir=DIR pdf documentation [DOCDIR]
1886 --psdir=DIR ps documentation [DOCDIR]
1887 _ACEOF
1888
1889 cat <<\_ACEOF
1890
1891 Program names:
1892 --program-prefix=PREFIX prepend PREFIX to installed program names
1893 --program-suffix=SUFFIX append SUFFIX to installed program names
1894 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1895
1896 X features:
1897 --x-includes=DIR X include files are in DIR
1898 --x-libraries=DIR X library files are in DIR
1899
1900 System types:
1901 --build=BUILD configure for building on BUILD [guessed]
1902 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1903 --target=TARGET configure for building compilers for TARGET [HOST]
1904 _ACEOF
1905 fi
1906
1907 if test -n "$ac_init_help"; then
1908 case $ac_init_help in
1909 short | recursive ) echo "Configuration of mono 6.12.0.122:";;
1910 esac
1911 cat <<\_ACEOF
1912
1913 Optional Features:
1914 --disable-option-checking ignore unrecognized --enable/--with options
1915 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1916 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1917 --enable-silent-rules less verbose build output (undo: "make V=1")
1918 --disable-silent-rules verbose build output (undo: "make V=0")
1919 --enable-maintainer-mode
1920 enable make rules and dependencies not useful (and
1921 sometimes confusing) to the casual installer
1922 --enable-dependency-tracking
1923 do not reject slow dependency extractors
1924 --disable-dependency-tracking
1925 speeds up one-time build
1926 --enable-shared[=PKGS] build shared libraries [default=yes]
1927 --enable-static[=PKGS] build static libraries [default=yes]
1928 --enable-fast-install[=PKGS]
1929 optimize for fast installation [default=yes]
1930 --disable-libtool-lock avoid locking (might break parallel builds)
1931 --disable-visibility-hidden disable usage of -fvisiblity=hidden
1932 --disable-solaris-tar-check disable solaris tar check
1933 --disable-nls do not use Native Language Support
1934 --enable-ninja Enable using ninja where available
1935 --enable-werror Pass -Werror to the C compiler
1936 --disable-libraries disable the build of libmono
1937 --disable-mcs-build disable the build of the mcs directory
1938 --disable-support-build disable the build of the support directory
1939 --enable-small-config Enable tweaks to reduce requirements (and capabilities)
1940 --enable-system-aot Enable the Ahead-Of-Time compilation of system assemblies during the build (on by default on some platforms)
1941 --disable-crash-reporting Enable or Disable crash reporting subsystem
1942 --enable-monodroid Enable runtime support for Monodroid (Xamarin.Android)
1943 --enable-monotouch Enable runtime support for Monotouch (Xamarin.iOS and Xamarin.Mac)
1944 --enable-cxx compile some code as C++
1945 --enable-static-gcc-libs Statically link GCC support libs (for MinGW32)
1946 --enable-minimal=LIST drop support for LIST subsystems.
1947 LIST is a comma-separated list from: aot, profiler, decimal, pinvoke, debug, appdomains, verifier, dllmap,
1948 reflection_emit, reflection_emit_save, large_code, logging, com, ssa, generics, attach, jit, interpreter, simd, soft_debug, perfcounters, normalization, desktop_loader, shared_perfcounters, remoting,
1949 security, lldb, mdb, assert_messages, cfgdir_config, cleanup, sgen_marksweep_conc, sgen_split_nursery, sgen_gc_bridge, sgen_debug_helpers, sockets, gac, threads.
1950 --disable-executables disable the build of the runtime executables
1951 --enable-extension-module=LIST enable the core-extensions from LIST
1952 --enable-gsharedvt Enable generic valuetype sharing (Deprecated)
1953 --disable-boehm Disable the Boehm GC.
1954 --enable-parallel-mark Enables Boehm GC Parallel Marking
1955 --disable-dev-random disable the use of the random device (enabled by default)
1956 --disable-bcl-opt BCL is compiled with no optimizations (allows accurate BCL debugging)
1957 --enable-big-arrays Enable the allocation and indexing of arrays greater than Int32.MaxValue
1958 --enable-dtrace Enable DTrace probes
1959 --enable-llvm Enable the LLVM back-end
1960 --enable-loadedllvm Load the LLVM back-end dynamically
1961 --enable-llvm-version-check Check that the LLVM matches the version expected by mono
1962 --enable-llvm-runtime Enable runtime support for llvmonly code
1963 --enable-llvm-asserts Enable llvm asserts (option to LLVM in CMake)
1964 --enable-vtune Enable the VTUNE back-end
1965 --enable-icall-symbol-map Generate tables which map icall functions to their C symbols
1966 --enable-icall-export Export icall functions
1967 --disable-icall-tables Disable the runtime lookup of icalls
1968 --enable-cooperative-suspend Enable cooperative stop-the-world garbage collection (sgen only) (defaults to no)
1969 --enable-hybrid-suspend Enable hybrid stop-the-world garbage collection (sgen only) - cooperative suspend for threads running managed and runtime code, and preemptive suspend for threads running native and P/Invoke code (defaults to no)
1970 --enable-experiment=LIST Enable experimental fatures from the comma-separate LIST. Available experiments: null,tiered
1971 --enable-checked-build=LIST To enable checked build (expensive asserts), configure with a comma-separated LIST of checked build modules and then include that same list in the environment variable MONO_CHECK_MODE at runtime. Recognized checked build modules: all, gc, metadata, thread, private_types, crash_reporting
1972 --disable-btls Disable the BoringTls provider
1973 --disable-btls-lib Disable building the BTLS native library
1974 --enable-msvc-only Build only with Visual Studio (msvc) (defaults to no). Disable gcc build.
1975 --enable-msvc Build with Visual Studio (msvc) (defaults to no)
1976
1977 Optional Packages:
1978 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1979 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1980 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1981 both]
1982 --with-aix-soname=aix|svr4|both
1983 shared library versioning (aka "SONAME") variant to
1984 provide on AIX, [default=aix].
1985 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1986 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1987 compiler's sysroot if not specified).
1988 --with-static-zlib=PATH use the specified static zlib instead of -lz
1989 --with-mcs-path=/path/to/mcs Specify an alternate mcs source tree
1990 --with-jumptables=yes,no enable/disable support for jumptables (ARM-only for now) (defaults to no)
1991 --with-core=only controls whether to build Mono as a .NET Core runtime (defaults to no)
1992 --with-crosspkgdir=/path/to/pkg-config/dir Change pkg-config dir to custom dir
1993 --with-tls=__thread,pthread select Thread Local Storage implementation (defaults to __thread)
1994 --with-sigaltstack=yes,no enable/disable support for sigaltstack (defaults to yes)
1995 --with-static_mono=yes,no link mono statically to libmono (faster) (defaults to yes)
1996 --with-shared_mono=yes,no build a shared libmono library (defaults to yes)
1997 --with-xen_opt=yes,no Enable Xen-specific behaviour (defaults to yes)
1998 --with-csc=mcs,roslyn,default Configures the CSharp compiler to use
1999 --with-jemalloc=yes,no If jemalloc is enabled (defaults to no)
2000 --with-jemalloc_always=yes,no If jemalloc is enabled and always used (defaults to yes)
2001 --with-jemalloc_assert=yes,no If jemalloc performs runtime checks for memory correctness (defaults to no)
2002 --with-crash_privacy=yes,no If you want your crashes to not include names of symbols present in the binary.
2003 --with-structured_crashes=yes,no If you want your unmanaged crashes to result in a small crash dump file.
2004 --with-profile4_x=yes,no If you want to install the 4.x FX (defaults to yes)
2005 --with-monodroid=yes,no If you want to build the MonoDroid assemblies (defaults to no)
2006 --with-monotouch=yes,no If you want to build the Xamarin.iOS assemblies (defaults to no)
2007 --with-monotouch_watch=yes,no If you want to build the Xamarin.WatchOS assemblies (defaults to no)
2008 --with-monotouch_tv=yes,no If you want to build the Xamarin.TVOS assemblies (defaults to no)
2009 --with-bitcode=yes,no If bitcode is enabled (defaults to no)
2010 --with-xammac=yes,no If you want to build the Xamarin.Mac assemblies (defaults to no)
2011 --with-testing_aot_full_interp=yes,no If you want to build the testing_aot_full_interp assemblies (defaults to no)
2012 --with-testing_aot_hybrid=yes,no If you want to build the testing_aot_hybrid assemblies (defaults to no)
2013 --with-testing_aot_full=yes,no If you want to build the testing_aot_full assemblies (defaults to no)
2014 --with-winaot=yes,no If you want to build the Windows friendly AOT assemblies (defaults to no)
2015 --with-testing_winaot_interp=yes,no If you want to build the Windows friendly AOT + Interpreter testing assemblies (defaults to no)
2016 --with-orbis=yes,no If you want to build the Orbis assemblies (defaults to no)
2017 --with-unreal=yes,no If you want to build the Unreal assemblies (defaults to no)
2018 --with-wasm=yes,no If you want to build the WebAssembly (defaults to no)
2019 --with-runtime-preset=net_4_x,all,aot,aot_llvm,hybridaot,hybridaot_llvm,fullaot,fullaot_llvm,winaot,winaotinterp,winaot_llvm,winaotinterp_llvm,bitcode,bitcodeinterp,unreal,fullaotinterp,fullaotinterp_llvm Which default profile to build (defaults to net_4_x)
2020 --with-spectre-mitigation=yes,no If you want to build the runtime with compiler flags that enable Spectre mitigation (defaults to no)
2021 --with-spectre-indirect-branch-choice=keep,thunk,inline,extern Convert indirect branches to the specified kind of thunk (defaults to inline)
2022 --with-spectre-function-return-choice=keep,thunk,inline,extern Convert function return instructions to the specified kind of thunk (defaults to inline)
2023 --with-libgc=included,none Controls the Boehm GC config, default=included
2024 --with-large-heap=yes,no Enable support for GC heaps larger than 3GB (defaults to no)
2025 --with-ikvm-native=yes,no build the IKVM JNI interface library (defaults to yes)
2026 --with-cross-offsets=<offsets file path> Explicit AOT cross offsets file
2027 --with-llvm=<llvm prefix> Enable the LLVM back-end
2028 --with-vtune=<vtune prefix> Enable jit vtune profiling
2029 --with-sgen=yes,no Extra Generational GC, default=yes
2030 --with-sgen-default-concurrent=yes,no Use Concurrent GC, default=no
2031 --with-x use the X Window System
2032 --with-overridable-allocators allow g_*alloc/g_free to call custom allocators set via g_mem_set_vtable
2033 --with-libgdiplus=installed|sibling|<path> Override the libgdiplus used for System.Drawing tests (defaults to installed)
2034 --with-riscv-fpabi=auto,double,soft Select RISC-V floating point ABI (auto)
2035 --with-malloc-mempools=yes,no Use malloc for each single mempool allocation (only for runtime debugging, defaults to no)
2036 --with-mcs-docs=yes,no If you want to build the documentation under mcs (defaults to yes)
2037 --with-lazy-gc-thread-creation=yes|no Enable lazy runtime thread creation, embedding host must do it explicitly (defaults to no)
2038 --with-cooperative-gc=yes|no Enable cooperative stop-the-world garbage collection (sgen only) (defaults to no)
2039 --with-btls-android-ndk Android NDK for BoringTls
2040 --with-btls-android-api Android NDK API level for BTLS build
2041 --with-btls-android-cmake-toolchain Path to the cmake toolchain file for Android
2042 --with-btls-android-ndk-asm-workaround Work around a problem with NDK r18+ clang compiler when compiling some AES assembly for ARM
2043 --with-compiler-server=yes,no,default,force Enables or disables compiler server
2044
2045 Some influential environment variables:
2046 CC C compiler command
2047 CFLAGS C compiler flags
2048 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2049 nonstandard directory <lib dir>
2050 LIBS libraries to pass to the linker, e.g. -l<library>
2051 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2052 you have headers in a nonstandard directory <include dir>
2053 CXX C++ compiler command
2054 CXXFLAGS C++ compiler flags
2055 PYTHON the Python interpreter
2056 CCAS assembler compiler command (defaults to CC)
2057 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
2058 CPP C preprocessor
2059 LT_SYS_LIBRARY_PATH
2060 User-defined run-time library search path.
2061 CXXCPP C++ preprocessor
2062 XMKMF Path to xmkmf, Makefile generator for X Window System
2063
2064 Use these variables to override the choices made by `configure' or to help
2065 it to find libraries and programs with nonstandard names/locations.
2066
2067 Report bugs to <https://github.com/mono/mono/issues/new>.
2068 _ACEOF
2069 ac_status=$?
2070 fi
2071
2072 if test "$ac_init_help" = "recursive"; then
2073 # If there are subdirs, report their specific --help.
2074 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2075 test -d "$ac_dir" ||
2076 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2077 continue
2078 ac_builddir=.
2079
2080 case "$ac_dir" in
2081 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2082 *)
2083 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2084 # A ".." for each directory in $ac_dir_suffix.
2085 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2086 case $ac_top_builddir_sub in
2087 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2088 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2089 esac ;;
2090 esac
2091 ac_abs_top_builddir=$ac_pwd
2092 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2093 # for backward compatibility:
2094 ac_top_builddir=$ac_top_build_prefix
2095
2096 case $srcdir in
2097 .) # We are building in place.
2098 ac_srcdir=.
2099 ac_top_srcdir=$ac_top_builddir_sub
2100 ac_abs_top_srcdir=$ac_pwd ;;
2101 [\\/]* | ?:[\\/]* ) # Absolute name.
2102 ac_srcdir=$srcdir$ac_dir_suffix;
2103 ac_top_srcdir=$srcdir
2104 ac_abs_top_srcdir=$srcdir ;;
2105 *) # Relative name.
2106 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2107 ac_top_srcdir=$ac_top_build_prefix$srcdir
2108 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2109 esac
2110 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2111
2112 cd "$ac_dir" || { ac_status=$?; continue; }
2113 # Check for guested configure.
2114 if test -f "$ac_srcdir/configure.gnu"; then
2115 echo &&
2116 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2117 elif test -f "$ac_srcdir/configure"; then
2118 echo &&
2119 $SHELL "$ac_srcdir/configure" --help=recursive
2120 else
2121 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2122 fi || ac_status=$?
2123 cd "$ac_pwd" || { ac_status=$?; break; }
2124 done
2125 fi
2126
2127 test -n "$ac_init_help" && exit $ac_status
2128 if $ac_init_version; then
2129 cat <<\_ACEOF
2130 mono configure 6.12.0.122
2131 generated by GNU Autoconf 2.69
2132
2133 Copyright (C) 2012 Free Software Foundation, Inc.
2134 This configure script is free software; the Free Software Foundation
2135 gives unlimited permission to copy, distribute and modify it.
2136 _ACEOF
2137 exit
2138 fi
2139
2140 ## ------------------------ ##
2141 ## Autoconf initialization. ##
2142 ## ------------------------ ##
2143
2144 # ac_fn_c_try_compile LINENO
2145 # --------------------------
2146 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2147 ac_fn_c_try_compile ()
2148 {
2149 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2150 rm -f conftest.$ac_objext
2151 if { { ac_try="$ac_compile"
2152 case "(($ac_try" in
2153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2154 *) ac_try_echo=$ac_try;;
2155 esac
2156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2157 $as_echo "$ac_try_echo"; } >&5
2158 (eval "$ac_compile") 2>conftest.err
2159 ac_status=$?
2160 if test -s conftest.err; then
2161 grep -v '^ *+' conftest.err >conftest.er1
2162 cat conftest.er1 >&5
2163 mv -f conftest.er1 conftest.err
2164 fi
2165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2166 test $ac_status = 0; } && {
2167 test -z "$ac_c_werror_flag" ||
2168 test ! -s conftest.err
2169 } && test -s conftest.$ac_objext; then :
2170 ac_retval=0
2171 else
2172 $as_echo "$as_me: failed program was:" >&5
2173 sed 's/^/| /' conftest.$ac_ext >&5
2174
2175 ac_retval=1
2176 fi
2177 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2178 as_fn_set_status $ac_retval
2179
2180 } # ac_fn_c_try_compile
2181
2182 # ac_fn_cxx_try_compile LINENO
2183 # ----------------------------
2184 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2185 ac_fn_cxx_try_compile ()
2186 {
2187 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2188 rm -f conftest.$ac_objext
2189 if { { ac_try="$ac_compile"
2190 case "(($ac_try" in
2191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2192 *) ac_try_echo=$ac_try;;
2193 esac
2194 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2195 $as_echo "$ac_try_echo"; } >&5
2196 (eval "$ac_compile") 2>conftest.err
2197 ac_status=$?
2198 if test -s conftest.err; then
2199 grep -v '^ *+' conftest.err >conftest.er1
2200 cat conftest.er1 >&5
2201 mv -f conftest.er1 conftest.err
2202 fi
2203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2204 test $ac_status = 0; } && {
2205 test -z "$ac_cxx_werror_flag" ||
2206 test ! -s conftest.err
2207 } && test -s conftest.$ac_objext; then :
2208 ac_retval=0
2209 else
2210 $as_echo "$as_me: failed program was:" >&5
2211 sed 's/^/| /' conftest.$ac_ext >&5
2212
2213 ac_retval=1
2214 fi
2215 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2216 as_fn_set_status $ac_retval
2217
2218 } # ac_fn_cxx_try_compile
2219
2220 # ac_fn_c_try_cpp LINENO
2221 # ----------------------
2222 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2223 ac_fn_c_try_cpp ()
2224 {
2225 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2226 if { { ac_try="$ac_cpp conftest.$ac_ext"
2227 case "(($ac_try" in
2228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2229 *) ac_try_echo=$ac_try;;
2230 esac
2231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2232 $as_echo "$ac_try_echo"; } >&5
2233 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2234 ac_status=$?
2235 if test -s conftest.err; then
2236 grep -v '^ *+' conftest.err >conftest.er1
2237 cat conftest.er1 >&5
2238 mv -f conftest.er1 conftest.err
2239 fi
2240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2241 test $ac_status = 0; } > conftest.i && {
2242 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2243 test ! -s conftest.err
2244 }; then :
2245 ac_retval=0
2246 else
2247 $as_echo "$as_me: failed program was:" >&5
2248 sed 's/^/| /' conftest.$ac_ext >&5
2249
2250 ac_retval=1
2251 fi
2252 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2253 as_fn_set_status $ac_retval
2254
2255 } # ac_fn_c_try_cpp
2256
2257 # ac_fn_c_try_run LINENO
2258 # ----------------------
2259 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2260 # that executables *can* be run.
2261 ac_fn_c_try_run ()
2262 {
2263 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2264 if { { ac_try="$ac_link"
2265 case "(($ac_try" in
2266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2267 *) ac_try_echo=$ac_try;;
2268 esac
2269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2270 $as_echo "$ac_try_echo"; } >&5
2271 (eval "$ac_link") 2>&5
2272 ac_status=$?
2273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2274 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2275 { { case "(($ac_try" in
2276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2277 *) ac_try_echo=$ac_try;;
2278 esac
2279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2280 $as_echo "$ac_try_echo"; } >&5
2281 (eval "$ac_try") 2>&5
2282 ac_status=$?
2283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2284 test $ac_status = 0; }; }; then :
2285 ac_retval=0
2286 else
2287 $as_echo "$as_me: program exited with status $ac_status" >&5
2288 $as_echo "$as_me: failed program was:" >&5
2289 sed 's/^/| /' conftest.$ac_ext >&5
2290
2291 ac_retval=$ac_status
2292 fi
2293 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2294 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2295 as_fn_set_status $ac_retval
2296
2297 } # ac_fn_c_try_run
2298
2299 # ac_fn_c_try_link LINENO
2300 # -----------------------
2301 # Try to link conftest.$ac_ext, and return whether this succeeded.
2302 ac_fn_c_try_link ()
2303 {
2304 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2305 rm -f conftest.$ac_objext conftest$ac_exeext
2306 if { { ac_try="$ac_link"
2307 case "(($ac_try" in
2308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2309 *) ac_try_echo=$ac_try;;
2310 esac
2311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2312 $as_echo "$ac_try_echo"; } >&5
2313 (eval "$ac_link") 2>conftest.err
2314 ac_status=$?
2315 if test -s conftest.err; then
2316 grep -v '^ *+' conftest.err >conftest.er1
2317 cat conftest.er1 >&5
2318 mv -f conftest.er1 conftest.err
2319 fi
2320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2321 test $ac_status = 0; } && {
2322 test -z "$ac_c_werror_flag" ||
2323 test ! -s conftest.err
2324 } && test -s conftest$ac_exeext && {
2325 test "$cross_compiling" = yes ||
2326 test -x conftest$ac_exeext
2327 }; then :
2328 ac_retval=0
2329 else
2330 $as_echo "$as_me: failed program was:" >&5
2331 sed 's/^/| /' conftest.$ac_ext >&5
2332
2333 ac_retval=1
2334 fi
2335 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2336 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2337 # interfere with the next link command; also delete a directory that is
2338 # left behind by Apple's compiler. We do this before executing the actions.
2339 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2340 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2341 as_fn_set_status $ac_retval
2342
2343 } # ac_fn_c_try_link
2344
2345 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2346 # -------------------------------------------------------
2347 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2348 # the include files in INCLUDES and setting the cache variable VAR
2349 # accordingly.
2350 ac_fn_c_check_header_mongrel ()
2351 {
2352 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2353 if eval \${$3+:} false; then :
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2355 $as_echo_n "checking for $2... " >&6; }
2356 if eval \${$3+:} false; then :
2357 $as_echo_n "(cached) " >&6
2358 fi
2359 eval ac_res=\$$3
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2361 $as_echo "$ac_res" >&6; }
2362 else
2363 # Is the header compilable?
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2365 $as_echo_n "checking $2 usability... " >&6; }
2366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2367 /* end confdefs.h. */
2368 $4
2369 #include <$2>
2370 _ACEOF
2371 if ac_fn_c_try_compile "$LINENO"; then :
2372 ac_header_compiler=yes
2373 else
2374 ac_header_compiler=no
2375 fi
2376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2378 $as_echo "$ac_header_compiler" >&6; }
2379
2380 # Is the header present?
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2382 $as_echo_n "checking $2 presence... " >&6; }
2383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2384 /* end confdefs.h. */
2385 #include <$2>
2386 _ACEOF
2387 if ac_fn_c_try_cpp "$LINENO"; then :
2388 ac_header_preproc=yes
2389 else
2390 ac_header_preproc=no
2391 fi
2392 rm -f conftest.err conftest.i conftest.$ac_ext
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2394 $as_echo "$ac_header_preproc" >&6; }
2395
2396 # So? What about this header?
2397 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2398 yes:no: )
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2400 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2402 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2403 ;;
2404 no:yes:* )
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2406 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2408 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2410 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2412 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2414 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2415 ( $as_echo "## ------------------------------------------------------ ##
2416 ## Report this to https://github.com/mono/mono/issues/new ##
2417 ## ------------------------------------------------------ ##"
2418 ) | sed "s/^/$as_me: WARNING: /" >&2
2419 ;;
2420 esac
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2422 $as_echo_n "checking for $2... " >&6; }
2423 if eval \${$3+:} false; then :
2424 $as_echo_n "(cached) " >&6
2425 else
2426 eval "$3=\$ac_header_compiler"
2427 fi
2428 eval ac_res=\$$3
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2430 $as_echo "$ac_res" >&6; }
2431 fi
2432 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2433
2434 } # ac_fn_c_check_header_mongrel
2435
2436 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2437 # -------------------------------------------------------
2438 # Tests whether HEADER exists and can be compiled using the include files in
2439 # INCLUDES, setting the cache variable VAR accordingly.
2440 ac_fn_c_check_header_compile ()
2441 {
2442 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2444 $as_echo_n "checking for $2... " >&6; }
2445 if eval \${$3+:} false; then :
2446 $as_echo_n "(cached) " >&6
2447 else
2448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h. */
2450 $4
2451 #include <$2>
2452 _ACEOF
2453 if ac_fn_c_try_compile "$LINENO"; then :
2454 eval "$3=yes"
2455 else
2456 eval "$3=no"
2457 fi
2458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2459 fi
2460 eval ac_res=\$$3
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2462 $as_echo "$ac_res" >&6; }
2463 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2464
2465 } # ac_fn_c_check_header_compile
2466
2467 # ac_fn_c_check_func LINENO FUNC VAR
2468 # ----------------------------------
2469 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2470 ac_fn_c_check_func ()
2471 {
2472 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2474 $as_echo_n "checking for $2... " >&6; }
2475 if eval \${$3+:} false; then :
2476 $as_echo_n "(cached) " >&6
2477 else
2478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2479 /* end confdefs.h. */
2480 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2482 #define $2 innocuous_$2
2483
2484 /* System header to define __stub macros and hopefully few prototypes,
2485 which can conflict with char $2 (); below.
2486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2487 <limits.h> exists even on freestanding compilers. */
2488
2489 #ifdef __STDC__
2490 # include <limits.h>
2491 #else
2492 # include <assert.h>
2493 #endif
2494
2495 #undef $2
2496
2497 /* Override any GCC internal prototype to avoid an error.
2498 Use char because int might match the return type of a GCC
2499 builtin and then its argument prototype would still apply. */
2500 #ifdef __cplusplus
2501 extern "C"
2502 #endif
2503 char $2 ();
2504 /* The GNU C library defines this for functions which it implements
2505 to always fail with ENOSYS. Some functions are actually named
2506 something starting with __ and the normal name is an alias. */
2507 #if defined __stub_$2 || defined __stub___$2
2508 choke me
2509 #endif
2510
2511 int
2512 main ()
2513 {
2514 return $2 ();
2515 ;
2516 return 0;
2517 }
2518 _ACEOF
2519 if ac_fn_c_try_link "$LINENO"; then :
2520 eval "$3=yes"
2521 else
2522 eval "$3=no"
2523 fi
2524 rm -f core conftest.err conftest.$ac_objext \
2525 conftest$ac_exeext conftest.$ac_ext
2526 fi
2527 eval ac_res=\$$3
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2529 $as_echo "$ac_res" >&6; }
2530 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2531
2532 } # ac_fn_c_check_func
2533
2534 # ac_fn_cxx_try_cpp LINENO
2535 # ------------------------
2536 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2537 ac_fn_cxx_try_cpp ()
2538 {
2539 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2540 if { { ac_try="$ac_cpp conftest.$ac_ext"
2541 case "(($ac_try" in
2542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2543 *) ac_try_echo=$ac_try;;
2544 esac
2545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2546 $as_echo "$ac_try_echo"; } >&5
2547 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2548 ac_status=$?
2549 if test -s conftest.err; then
2550 grep -v '^ *+' conftest.err >conftest.er1
2551 cat conftest.er1 >&5
2552 mv -f conftest.er1 conftest.err
2553 fi
2554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2555 test $ac_status = 0; } > conftest.i && {
2556 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2557 test ! -s conftest.err
2558 }; then :
2559 ac_retval=0
2560 else
2561 $as_echo "$as_me: failed program was:" >&5
2562 sed 's/^/| /' conftest.$ac_ext >&5
2563
2564 ac_retval=1
2565 fi
2566 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2567 as_fn_set_status $ac_retval
2568
2569 } # ac_fn_cxx_try_cpp
2570
2571 # ac_fn_cxx_try_link LINENO
2572 # -------------------------
2573 # Try to link conftest.$ac_ext, and return whether this succeeded.
2574 ac_fn_cxx_try_link ()
2575 {
2576 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2577 rm -f conftest.$ac_objext conftest$ac_exeext
2578 if { { ac_try="$ac_link"
2579 case "(($ac_try" in
2580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2581 *) ac_try_echo=$ac_try;;
2582 esac
2583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2584 $as_echo "$ac_try_echo"; } >&5
2585 (eval "$ac_link") 2>conftest.err
2586 ac_status=$?
2587 if test -s conftest.err; then
2588 grep -v '^ *+' conftest.err >conftest.er1
2589 cat conftest.er1 >&5
2590 mv -f conftest.er1 conftest.err
2591 fi
2592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2593 test $ac_status = 0; } && {
2594 test -z "$ac_cxx_werror_flag" ||
2595 test ! -s conftest.err
2596 } && test -s conftest$ac_exeext && {
2597 test "$cross_compiling" = yes ||
2598 test -x conftest$ac_exeext
2599 }; then :
2600 ac_retval=0
2601 else
2602 $as_echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.$ac_ext >&5
2604
2605 ac_retval=1
2606 fi
2607 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2608 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2609 # interfere with the next link command; also delete a directory that is
2610 # left behind by Apple's compiler. We do this before executing the actions.
2611 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2613 as_fn_set_status $ac_retval
2614
2615 } # ac_fn_cxx_try_link
2616
2617 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2618 # --------------------------------------------
2619 # Tries to find the compile-time value of EXPR in a program that includes
2620 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2621 # computed
2622 ac_fn_c_compute_int ()
2623 {
2624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2625 if test "$cross_compiling" = yes; then
2626 # Depending upon the size, compute the lo and hi bounds.
2627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2628 /* end confdefs.h. */
2629 $4
2630 int
2631 main ()
2632 {
2633 static int test_array [1 - 2 * !(($2) >= 0)];
2634 test_array [0] = 0;
2635 return test_array [0];
2636
2637 ;
2638 return 0;
2639 }
2640 _ACEOF
2641 if ac_fn_c_try_compile "$LINENO"; then :
2642 ac_lo=0 ac_mid=0
2643 while :; do
2644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2645 /* end confdefs.h. */
2646 $4
2647 int
2648 main ()
2649 {
2650 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2651 test_array [0] = 0;
2652 return test_array [0];
2653
2654 ;
2655 return 0;
2656 }
2657 _ACEOF
2658 if ac_fn_c_try_compile "$LINENO"; then :
2659 ac_hi=$ac_mid; break
2660 else
2661 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2662 if test $ac_lo -le $ac_mid; then
2663 ac_lo= ac_hi=
2664 break
2665 fi
2666 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2667 fi
2668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2669 done
2670 else
2671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2672 /* end confdefs.h. */
2673 $4
2674 int
2675 main ()
2676 {
2677 static int test_array [1 - 2 * !(($2) < 0)];
2678 test_array [0] = 0;
2679 return test_array [0];
2680
2681 ;
2682 return 0;
2683 }
2684 _ACEOF
2685 if ac_fn_c_try_compile "$LINENO"; then :
2686 ac_hi=-1 ac_mid=-1
2687 while :; do
2688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2689 /* end confdefs.h. */
2690 $4
2691 int
2692 main ()
2693 {
2694 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2695 test_array [0] = 0;
2696 return test_array [0];
2697
2698 ;
2699 return 0;
2700 }
2701 _ACEOF
2702 if ac_fn_c_try_compile "$LINENO"; then :
2703 ac_lo=$ac_mid; break
2704 else
2705 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2706 if test $ac_mid -le $ac_hi; then
2707 ac_lo= ac_hi=
2708 break
2709 fi
2710 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2711 fi
2712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2713 done
2714 else
2715 ac_lo= ac_hi=
2716 fi
2717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2718 fi
2719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2720 # Binary search between lo and hi bounds.
2721 while test "x$ac_lo" != "x$ac_hi"; do
2722 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2725 $4
2726 int
2727 main ()
2728 {
2729 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2730 test_array [0] = 0;
2731 return test_array [0];
2732
2733 ;
2734 return 0;
2735 }
2736 _ACEOF
2737 if ac_fn_c_try_compile "$LINENO"; then :
2738 ac_hi=$ac_mid
2739 else
2740 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2741 fi
2742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2743 done
2744 case $ac_lo in #((
2745 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2746 '') ac_retval=1 ;;
2747 esac
2748 else
2749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2750 /* end confdefs.h. */
2751 $4
2752 static long int longval () { return $2; }
2753 static unsigned long int ulongval () { return $2; }
2754 #include <stdio.h>
2755 #include <stdlib.h>
2756 int
2757 main ()
2758 {
2759
2760 FILE *f = fopen ("conftest.val", "w");
2761 if (! f)
2762 return 1;
2763 if (($2) < 0)
2764 {
2765 long int i = longval ();
2766 if (i != ($2))
2767 return 1;
2768 fprintf (f, "%ld", i);
2769 }
2770 else
2771 {
2772 unsigned long int i = ulongval ();
2773 if (i != ($2))
2774 return 1;
2775 fprintf (f, "%lu", i);
2776 }
2777 /* Do not output a trailing newline, as this causes \r\n confusion
2778 on some platforms. */
2779 return ferror (f) || fclose (f) != 0;
2780
2781 ;
2782 return 0;
2783 }
2784 _ACEOF
2785 if ac_fn_c_try_run "$LINENO"; then :
2786 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2787 else
2788 ac_retval=1
2789 fi
2790 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2791 conftest.$ac_objext conftest.beam conftest.$ac_ext
2792 rm -f conftest.val
2793
2794 fi
2795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2796 as_fn_set_status $ac_retval
2797
2798 } # ac_fn_c_compute_int
2799
2800 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2801 # ---------------------------------------------
2802 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2803 # accordingly.
2804 ac_fn_c_check_decl ()
2805 {
2806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2807 as_decl_name=`echo $2|sed 's/ *(.*//'`
2808 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2810 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2811 if eval \${$3+:} false; then :
2812 $as_echo_n "(cached) " >&6
2813 else
2814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2815 /* end confdefs.h. */
2816 $4
2817 int
2818 main ()
2819 {
2820 #ifndef $as_decl_name
2821 #ifdef __cplusplus
2822 (void) $as_decl_use;
2823 #else
2824 (void) $as_decl_name;
2825 #endif
2826 #endif
2827
2828 ;
2829 return 0;
2830 }
2831 _ACEOF
2832 if ac_fn_c_try_compile "$LINENO"; then :
2833 eval "$3=yes"
2834 else
2835 eval "$3=no"
2836 fi
2837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 fi
2839 eval ac_res=\$$3
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2841 $as_echo "$ac_res" >&6; }
2842 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2843
2844 } # ac_fn_c_check_decl
2845
2846 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2847 # -------------------------------------------
2848 # Tests whether TYPE exists after having included INCLUDES, setting cache
2849 # variable VAR accordingly.
2850 ac_fn_c_check_type ()
2851 {
2852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2854 $as_echo_n "checking for $2... " >&6; }
2855 if eval \${$3+:} false; then :
2856 $as_echo_n "(cached) " >&6
2857 else
2858 eval "$3=no"
2859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2860 /* end confdefs.h. */
2861 $4
2862 int
2863 main ()
2864 {
2865 if (sizeof ($2))
2866 return 0;
2867 ;
2868 return 0;
2869 }
2870 _ACEOF
2871 if ac_fn_c_try_compile "$LINENO"; then :
2872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2873 /* end confdefs.h. */
2874 $4
2875 int
2876 main ()
2877 {
2878 if (sizeof (($2)))
2879 return 0;
2880 ;
2881 return 0;
2882 }
2883 _ACEOF
2884 if ac_fn_c_try_compile "$LINENO"; then :
2885
2886 else
2887 eval "$3=yes"
2888 fi
2889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2890 fi
2891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2892 fi
2893 eval ac_res=\$$3
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2895 $as_echo "$ac_res" >&6; }
2896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2897
2898 } # ac_fn_c_check_type
2899
2900 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2901 # ----------------------------------------------------
2902 # Tries to find if the field MEMBER exists in type AGGR, after including
2903 # INCLUDES, setting cache variable VAR accordingly.
2904 ac_fn_c_check_member ()
2905 {
2906 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2908 $as_echo_n "checking for $2.$3... " >&6; }
2909 if eval \${$4+:} false; then :
2910 $as_echo_n "(cached) " >&6
2911 else
2912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2913 /* end confdefs.h. */
2914 $5
2915 int
2916 main ()
2917 {
2918 static $2 ac_aggr;
2919 if (ac_aggr.$3)
2920 return 0;
2921 ;
2922 return 0;
2923 }
2924 _ACEOF
2925 if ac_fn_c_try_compile "$LINENO"; then :
2926 eval "$4=yes"
2927 else
2928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2929 /* end confdefs.h. */
2930 $5
2931 int
2932 main ()
2933 {
2934 static $2 ac_aggr;
2935 if (sizeof ac_aggr.$3)
2936 return 0;
2937 ;
2938 return 0;
2939 }
2940 _ACEOF
2941 if ac_fn_c_try_compile "$LINENO"; then :
2942 eval "$4=yes"
2943 else
2944 eval "$4=no"
2945 fi
2946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2947 fi
2948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2949 fi
2950 eval ac_res=\$$4
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2952 $as_echo "$ac_res" >&6; }
2953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2954
2955 } # ac_fn_c_check_member
2956 cat >config.log <<_ACEOF
2957 This file contains any messages produced by compilers while
2958 running configure, to aid debugging if configure makes a mistake.
2959
2960 It was created by mono $as_me 6.12.0.122, which was
2961 generated by GNU Autoconf 2.69. Invocation command line was
2962
2963 $ $0 $@
2964
2965 _ACEOF
2966 exec 5>>config.log
2967 {
2968 cat <<_ASUNAME
2969 ## --------- ##
2970 ## Platform. ##
2971 ## --------- ##
2972
2973 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2974 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2975 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2976 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2977 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2978
2979 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2980 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2981
2982 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2983 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2984 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2985 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2986 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2987 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2988 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2989
2990 _ASUNAME
2991
2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2993 for as_dir in $PATH
2994 do
2995 IFS=$as_save_IFS
2996 test -z "$as_dir" && as_dir=.
2997 $as_echo "PATH: $as_dir"
2998 done
2999 IFS=$as_save_IFS
3000
3001 } >&5
3002
3003 cat >&5 <<_ACEOF
3004
3005
3006 ## ----------- ##
3007 ## Core tests. ##
3008 ## ----------- ##
3009
3010 _ACEOF
3011
3012
3013 # Keep a trace of the command line.
3014 # Strip out --no-create and --no-recursion so they do not pile up.
3015 # Strip out --silent because we don't want to record it for future runs.
3016 # Also quote any args containing shell meta-characters.
3017 # Make two passes to allow for proper duplicate-argument suppression.
3018 ac_configure_args=
3019 ac_configure_args0=
3020 ac_configure_args1=
3021 ac_must_keep_next=false
3022 for ac_pass in 1 2
3023 do
3024 for ac_arg
3025 do
3026 case $ac_arg in
3027 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3028 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3029 | -silent | --silent | --silen | --sile | --sil)
3030 continue ;;
3031 *\'*)
3032 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3033 esac
3034 case $ac_pass in
3035 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3036 2)
3037 as_fn_append ac_configure_args1 " '$ac_arg'"
3038 if test $ac_must_keep_next = true; then
3039 ac_must_keep_next=false # Got value, back to normal.
3040 else
3041 case $ac_arg in
3042 *=* | --config-cache | -C | -disable-* | --disable-* \
3043 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3044 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3045 | -with-* | --with-* | -without-* | --without-* | --x)
3046 case "$ac_configure_args0 " in
3047 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3048 esac
3049 ;;
3050 -* ) ac_must_keep_next=true ;;
3051 esac
3052 fi
3053 as_fn_append ac_configure_args " '$ac_arg'"
3054 ;;
3055 esac
3056 done
3057 done
3058 { ac_configure_args0=; unset ac_configure_args0;}
3059 { ac_configure_args1=; unset ac_configure_args1;}
3060
3061 # When interrupted or exit'd, cleanup temporary files, and complete
3062 # config.log. We remove comments because anyway the quotes in there
3063 # would cause problems or look ugly.
3064 # WARNING: Use '\'' to represent an apostrophe within the trap.
3065 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3066 trap 'exit_status=$?
3067 # Save into config.log some information that might help in debugging.
3068 {
3069 echo
3070
3071 $as_echo "## ---------------- ##
3072 ## Cache variables. ##
3073 ## ---------------- ##"
3074 echo
3075 # The following way of writing the cache mishandles newlines in values,
3076 (
3077 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3078 eval ac_val=\$$ac_var
3079 case $ac_val in #(
3080 *${as_nl}*)
3081 case $ac_var in #(
3082 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3083 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3084 esac
3085 case $ac_var in #(
3086 _ | IFS | as_nl) ;; #(
3087 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3088 *) { eval $ac_var=; unset $ac_var;} ;;
3089 esac ;;
3090 esac
3091 done
3092 (set) 2>&1 |
3093 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3094 *${as_nl}ac_space=\ *)
3095 sed -n \
3096 "s/'\''/'\''\\\\'\'''\''/g;
3097 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3098 ;; #(
3099 *)
3100 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3101 ;;
3102 esac |
3103 sort
3104 )
3105 echo
3106
3107 $as_echo "## ----------------- ##
3108 ## Output variables. ##
3109 ## ----------------- ##"
3110 echo
3111 for ac_var in $ac_subst_vars
3112 do
3113 eval ac_val=\$$ac_var
3114 case $ac_val in
3115 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3116 esac
3117 $as_echo "$ac_var='\''$ac_val'\''"
3118 done | sort
3119 echo
3120
3121 if test -n "$ac_subst_files"; then
3122 $as_echo "## ------------------- ##
3123 ## File substitutions. ##
3124 ## ------------------- ##"
3125 echo
3126 for ac_var in $ac_subst_files
3127 do
3128 eval ac_val=\$$ac_var
3129 case $ac_val in
3130 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3131 esac
3132 $as_echo "$ac_var='\''$ac_val'\''"
3133 done | sort
3134 echo
3135 fi
3136
3137 if test -s confdefs.h; then
3138 $as_echo "## ----------- ##
3139 ## confdefs.h. ##
3140 ## ----------- ##"
3141 echo
3142 cat confdefs.h
3143 echo
3144 fi
3145 test "$ac_signal" != 0 &&
3146 $as_echo "$as_me: caught signal $ac_signal"
3147 $as_echo "$as_me: exit $exit_status"
3148 } >&5
3149 rm -f core *.core core.conftest.* &&
3150 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3151 exit $exit_status
3152 ' 0
3153 for ac_signal in 1 2 13 15; do
3154 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3155 done
3156 ac_signal=0
3157
3158 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3159 rm -f -r conftest* confdefs.h
3160
3161 $as_echo "/* confdefs.h */" > confdefs.h
3162
3163 # Predefined preprocessor variables.
3164
3165 cat >>confdefs.h <<_ACEOF
3166 #define PACKAGE_NAME "$PACKAGE_NAME"
3167 _ACEOF
3168
3169 cat >>confdefs.h <<_ACEOF
3170 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3171 _ACEOF
3172
3173 cat >>confdefs.h <<_ACEOF
3174 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3175 _ACEOF
3176
3177 cat >>confdefs.h <<_ACEOF
3178 #define PACKAGE_STRING "$PACKAGE_STRING"
3179 _ACEOF
3180
3181 cat >>confdefs.h <<_ACEOF
3182 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3183 _ACEOF
3184
3185 cat >>confdefs.h <<_ACEOF
3186 #define PACKAGE_URL "$PACKAGE_URL"
3187 _ACEOF
3188
3189
3190 # Let the site file select an alternate cache file if it wants to.
3191 # Prefer an explicitly selected file to automatically selected ones.
3192 ac_site_file1=NONE
3193 ac_site_file2=NONE
3194 if test -n "$CONFIG_SITE"; then
3195 # We do not want a PATH search for config.site.
3196 case $CONFIG_SITE in #((
3197 -*) ac_site_file1=./$CONFIG_SITE;;
3198 */*) ac_site_file1=$CONFIG_SITE;;
3199 *) ac_site_file1=./$CONFIG_SITE;;
3200 esac
3201 elif test "x$prefix" != xNONE; then
3202 ac_site_file1=$prefix/share/config.site
3203 ac_site_file2=$prefix/etc/config.site
3204 else
3205 ac_site_file1=$ac_default_prefix/share/config.site
3206 ac_site_file2=$ac_default_prefix/etc/config.site
3207 fi
3208 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3209 do
3210 test "x$ac_site_file" = xNONE && continue
3211 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3213 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3214 sed 's/^/| /' "$ac_site_file" >&5
3215 . "$ac_site_file" \
3216 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3217 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3218 as_fn_error $? "failed to load site script $ac_site_file
3219 See \`config.log' for more details" "$LINENO" 5; }
3220 fi
3221 done
3222
3223 if test -r "$cache_file"; then
3224 # Some versions of bash will fail to source /dev/null (special files
3225 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3226 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3228 $as_echo "$as_me: loading cache $cache_file" >&6;}
3229 case $cache_file in
3230 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3231 *) . "./$cache_file";;
3232 esac
3233 fi
3234 else
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3236 $as_echo "$as_me: creating cache $cache_file" >&6;}
3237 >$cache_file
3238 fi
3239
3240 # Check that the precious variables saved in the cache have kept the same
3241 # value.
3242 ac_cache_corrupted=false
3243 for ac_var in $ac_precious_vars; do
3244 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3245 eval ac_new_set=\$ac_env_${ac_var}_set
3246 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3247 eval ac_new_val=\$ac_env_${ac_var}_value
3248 case $ac_old_set,$ac_new_set in
3249 set,)
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3251 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3252 ac_cache_corrupted=: ;;
3253 ,set)
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3255 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3256 ac_cache_corrupted=: ;;
3257 ,);;
3258 *)
3259 if test "x$ac_old_val" != "x$ac_new_val"; then
3260 # differences in whitespace do not lead to failure.
3261 ac_old_val_w=`echo x $ac_old_val`
3262 ac_new_val_w=`echo x $ac_new_val`
3263 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3265 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3266 ac_cache_corrupted=:
3267 else
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3269 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3270 eval $ac_var=\$ac_old_val
3271 fi
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3273 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3275 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3276 fi;;
3277 esac
3278 # Pass precious variables to config.status.
3279 if test "$ac_new_set" = set; then
3280 case $ac_new_val in
3281 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3282 *) ac_arg=$ac_var=$ac_new_val ;;
3283 esac
3284 case " $ac_configure_args " in
3285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3286 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3287 esac
3288 fi
3289 done
3290 if $ac_cache_corrupted; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3294 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3295 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3296 fi
3297 ## -------------------- ##
3298 ## Main body of script. ##
3299 ## -------------------- ##
3300
3301 ac_ext=c
3302 ac_cpp='$CPP $CPPFLAGS'
3303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3306
3307
3308
3309
3310
3311
3312 ac_aux_dir=
3313 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3314 if test -f "$ac_dir/install-sh"; then
3315 ac_aux_dir=$ac_dir
3316 ac_install_sh="$ac_aux_dir/install-sh -c"
3317 break
3318 elif test -f "$ac_dir/install.sh"; then
3319 ac_aux_dir=$ac_dir
3320 ac_install_sh="$ac_aux_dir/install.sh -c"
3321 break
3322 elif test -f "$ac_dir/shtool"; then
3323 ac_aux_dir=$ac_dir
3324 ac_install_sh="$ac_aux_dir/shtool install -c"
3325 break
3326 fi
3327 done
3328 if test -z "$ac_aux_dir"; then
3329 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3330 fi
3331
3332 # These three variables are undocumented and unsupported,
3333 # and are intended to be withdrawn in a future Autoconf release.
3334 # They can cause serious problems if a builder's source tree is in a directory
3335 # whose full name contains unusual characters.
3336 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3337 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3338 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3339
3340
3341 # Make sure we can run config.sub.
3342 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3343 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3344
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3346 $as_echo_n "checking build system type... " >&6; }
3347 if ${ac_cv_build+:} false; then :
3348 $as_echo_n "(cached) " >&6
3349 else
3350 ac_build_alias=$build_alias
3351 test "x$ac_build_alias" = x &&
3352 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3353 test "x$ac_build_alias" = x &&
3354 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3355 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3356 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3357
3358 fi
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3360 $as_echo "$ac_cv_build" >&6; }
3361 case $ac_cv_build in
3362 *-*-*) ;;
3363 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3364 esac
3365 build=$ac_cv_build
3366 ac_save_IFS=$IFS; IFS='-'
3367 set x $ac_cv_build
3368 shift
3369 build_cpu=$1
3370 build_vendor=$2
3371 shift; shift
3372 # Remember, the first character of IFS is used to create $*,
3373 # except with old shells:
3374 build_os=$*
3375 IFS=$ac_save_IFS
3376 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3377
3378
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3380 $as_echo_n "checking host system type... " >&6; }
3381 if ${ac_cv_host+:} false; then :
3382 $as_echo_n "(cached) " >&6
3383 else
3384 if test "x$host_alias" = x; then
3385 ac_cv_host=$ac_cv_build
3386 else
3387 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3388 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3389 fi
3390
3391 fi
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3393 $as_echo "$ac_cv_host" >&6; }
3394 case $ac_cv_host in
3395 *-*-*) ;;
3396 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3397 esac
3398 host=$ac_cv_host
3399 ac_save_IFS=$IFS; IFS='-'
3400 set x $ac_cv_host
3401 shift
3402 host_cpu=$1
3403 host_vendor=$2
3404 shift; shift
3405 # Remember, the first character of IFS is used to create $*,
3406 # except with old shells:
3407 host_os=$*
3408 IFS=$ac_save_IFS
3409 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3410
3411
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3413 $as_echo_n "checking target system type... " >&6; }
3414 if ${ac_cv_target+:} false; then :
3415 $as_echo_n "(cached) " >&6
3416 else
3417 if test "x$target_alias" = x; then
3418 ac_cv_target=$ac_cv_host
3419 else
3420 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3421 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3422 fi
3423
3424 fi
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3426 $as_echo "$ac_cv_target" >&6; }
3427 case $ac_cv_target in
3428 *-*-*) ;;
3429 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3430 esac
3431 target=$ac_cv_target
3432 ac_save_IFS=$IFS; IFS='-'
3433 set x $ac_cv_target
3434 shift
3435 target_cpu=$1
3436 target_vendor=$2
3437 shift; shift
3438 # Remember, the first character of IFS is used to create $*,
3439 # except with old shells:
3440 target_os=$*
3441 IFS=$ac_save_IFS
3442 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3443
3444
3445 # The aliases save the names the user supplied, while $host etc.
3446 # will get canonicalized.
3447 test -n "$target_alias" &&
3448 test "$program_prefix$program_suffix$program_transform_name" = \
3449 NONENONEs,x,x, &&
3450 program_prefix=${target_alias}-
3451
3452
3453
3454 # Gross hack to enable 'make dist' on automake 1.9+tar 1.14.
3455 # The extra brackets are to foil regex-based scans.
3456
3457
3458 am__api_version='1.15'
3459
3460 # Find a good install program. We prefer a C program (faster),
3461 # so one script is as good as another. But avoid the broken or
3462 # incompatible versions:
3463 # SysV /etc/install, /usr/sbin/install
3464 # SunOS /usr/etc/install
3465 # IRIX /sbin/install
3466 # AIX /bin/install
3467 # AmigaOS /C/install, which installs bootblocks on floppy discs
3468 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3469 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3470 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3471 # OS/2's system install, which has a completely different semantic
3472 # ./install, which can be erroneously created by make from ./install.sh.
3473 # Reject install programs that cannot install multiple files.
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3475 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3476 if test -z "$INSTALL"; then
3477 if ${ac_cv_path_install+:} false; then :
3478 $as_echo_n "(cached) " >&6
3479 else
3480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3481 for as_dir in $PATH
3482 do
3483 IFS=$as_save_IFS
3484 test -z "$as_dir" && as_dir=.
3485 # Account for people who put trailing slashes in PATH elements.
3486 case $as_dir/ in #((
3487 ./ | .// | /[cC]/* | \
3488 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3489 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3490 /usr/ucb/* ) ;;
3491 *)
3492 # OSF1 and SCO ODT 3.0 have their own names for install.
3493 # Don't use installbsd from OSF since it installs stuff as root
3494 # by default.
3495 for ac_prog in ginstall scoinst install; do
3496 for ac_exec_ext in '' $ac_executable_extensions; do
3497 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3498 if test $ac_prog = install &&
3499 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3500 # AIX install. It has an incompatible calling convention.
3501 :
3502 elif test $ac_prog = install &&
3503 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3504 # program-specific install script used by HP pwplus--don't use.
3505 :
3506 else
3507 rm -rf conftest.one conftest.two conftest.dir
3508 echo one > conftest.one
3509 echo two > conftest.two
3510 mkdir conftest.dir
3511 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3512 test -s conftest.one && test -s conftest.two &&
3513 test -s conftest.dir/conftest.one &&
3514 test -s conftest.dir/conftest.two
3515 then
3516 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3517 break 3
3518 fi
3519 fi
3520 fi
3521 done
3522 done
3523 ;;
3524 esac
3525
3526 done
3527 IFS=$as_save_IFS
3528
3529 rm -rf conftest.one conftest.two conftest.dir
3530
3531 fi
3532 if test "${ac_cv_path_install+set}" = set; then
3533 INSTALL=$ac_cv_path_install
3534 else
3535 # As a last resort, use the slow shell script. Don't cache a
3536 # value for INSTALL within a source directory, because that will
3537 # break other packages using the cache if that directory is
3538 # removed, or if the value is a relative name.
3539 INSTALL=$ac_install_sh
3540 fi
3541 fi
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3543 $as_echo "$INSTALL" >&6; }
3544
3545 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3546 # It thinks the first close brace ends the variable substitution.
3547 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3548
3549 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3550
3551 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3552
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3554 $as_echo_n "checking whether build environment is sane... " >&6; }
3555 # Reject unsafe characters in $srcdir or the absolute working directory
3556 # name. Accept space and tab only in the latter.
3557 am_lf='
3558 '
3559 case `pwd` in
3560 *[\\\"\#\$\&\'\`$am_lf]*)
3561 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3562 esac
3563 case $srcdir in
3564 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3565 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3566 esac
3567
3568 # Do 'set' in a subshell so we don't clobber the current shell's
3569 # arguments. Must try -L first in case configure is actually a
3570 # symlink; some systems play weird games with the mod time of symlinks
3571 # (eg FreeBSD returns the mod time of the symlink's containing
3572 # directory).
3573 if (
3574 am_has_slept=no
3575 for am_try in 1 2; do
3576 echo "timestamp, slept: $am_has_slept" > conftest.file
3577 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3578 if test "$*" = "X"; then
3579 # -L didn't work.
3580 set X `ls -t "$srcdir/configure" conftest.file`
3581 fi
3582 if test "$*" != "X $srcdir/configure conftest.file" \
3583 && test "$*" != "X conftest.file $srcdir/configure"; then
3584
3585 # If neither matched, then we have a broken ls. This can happen
3586 # if, for instance, CONFIG_SHELL is bash and it inherits a
3587 # broken ls alias from the environment. This has actually
3588 # happened. Such a system could not be considered "sane".
3589 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3590 alias in your environment" "$LINENO" 5
3591 fi
3592 if test "$2" = conftest.file || test $am_try -eq 2; then
3593 break
3594 fi
3595 # Just in case.
3596 sleep 1
3597 am_has_slept=yes
3598 done
3599 test "$2" = conftest.file
3600 )
3601 then
3602 # Ok.
3603 :
3604 else
3605 as_fn_error $? "newly created file is older than distributed files!
3606 Check your system clock" "$LINENO" 5
3607 fi
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3609 $as_echo "yes" >&6; }
3610 # If we didn't sleep, we still need to ensure time stamps of config.status and
3611 # generated files are strictly newer.
3612 am_sleep_pid=
3613 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3614 ( sleep 1 ) &
3615 am_sleep_pid=$!
3616 fi
3617
3618 rm -f conftest.file
3619
3620 test "$program_prefix" != NONE &&
3621 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3622 # Use a double $ so make ignores it.
3623 test "$program_suffix" != NONE &&
3624 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3625 # Double any \ or $.
3626 # By default was `s,x,x', remove it if useless.
3627 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3628 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3629
3630 # Expand $ac_aux_dir to an absolute path.
3631 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3632
3633 if test x"${MISSING+set}" != xset; then
3634 case $am_aux_dir in
3635 *\ * | *\ *)
3636 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3637 *)
3638 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3639 esac
3640 fi
3641 # Use eval to expand $SHELL
3642 if eval "$MISSING --is-lightweight"; then
3643 am_missing_run="$MISSING "
3644 else
3645 am_missing_run=
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3647 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3648 fi
3649
3650 if test x"${install_sh+set}" != xset; then
3651 case $am_aux_dir in
3652 *\ * | *\ *)
3653 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3654 *)
3655 install_sh="\${SHELL} $am_aux_dir/install-sh"
3656 esac
3657 fi
3658
3659 # Installed binaries are usually stripped using 'strip' when the user
3660 # run "make install-strip". However 'strip' might not be the right
3661 # tool to use in cross-compilation environments, therefore Automake
3662 # will honor the 'STRIP' environment variable to overrule this program.
3663 if test "$cross_compiling" != no; then
3664 if test -n "$ac_tool_prefix"; then
3665 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3666 set dummy ${ac_tool_prefix}strip; ac_word=$2
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3668 $as_echo_n "checking for $ac_word... " >&6; }
3669 if ${ac_cv_prog_STRIP+:} false; then :
3670 $as_echo_n "(cached) " >&6
3671 else
3672 if test -n "$STRIP"; then
3673 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3674 else
3675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3676 for as_dir in $PATH
3677 do
3678 IFS=$as_save_IFS
3679 test -z "$as_dir" && as_dir=.
3680 for ac_exec_ext in '' $ac_executable_extensions; do
3681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3682 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3684 break 2
3685 fi
3686 done
3687 done
3688 IFS=$as_save_IFS
3689
3690 fi
3691 fi
3692 STRIP=$ac_cv_prog_STRIP
3693 if test -n "$STRIP"; then
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3695 $as_echo "$STRIP" >&6; }
3696 else
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3698 $as_echo "no" >&6; }
3699 fi
3700
3701
3702 fi
3703 if test -z "$ac_cv_prog_STRIP"; then
3704 ac_ct_STRIP=$STRIP
3705 # Extract the first word of "strip", so it can be a program name with args.
3706 set dummy strip; ac_word=$2
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3708 $as_echo_n "checking for $ac_word... " >&6; }
3709 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3710 $as_echo_n "(cached) " >&6
3711 else
3712 if test -n "$ac_ct_STRIP"; then
3713 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3714 else
3715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3716 for as_dir in $PATH
3717 do
3718 IFS=$as_save_IFS
3719 test -z "$as_dir" && as_dir=.
3720 for ac_exec_ext in '' $ac_executable_extensions; do
3721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3722 ac_cv_prog_ac_ct_STRIP="strip"
3723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3724 break 2
3725 fi
3726 done
3727 done
3728 IFS=$as_save_IFS
3729
3730 fi
3731 fi
3732 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3733 if test -n "$ac_ct_STRIP"; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3735 $as_echo "$ac_ct_STRIP" >&6; }
3736 else
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3738 $as_echo "no" >&6; }
3739 fi
3740
3741 if test "x$ac_ct_STRIP" = x; then
3742 STRIP=":"
3743 else
3744 case $cross_compiling:$ac_tool_warned in
3745 yes:)
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3748 ac_tool_warned=yes ;;
3749 esac
3750 STRIP=$ac_ct_STRIP
3751 fi
3752 else
3753 STRIP="$ac_cv_prog_STRIP"
3754 fi
3755
3756 fi
3757 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3758
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3760 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3761 if test -z "$MKDIR_P"; then
3762 if ${ac_cv_path_mkdir+:} false; then :
3763 $as_echo_n "(cached) " >&6
3764 else
3765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3766 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3767 do
3768 IFS=$as_save_IFS
3769 test -z "$as_dir" && as_dir=.
3770 for ac_prog in mkdir gmkdir; do
3771 for ac_exec_ext in '' $ac_executable_extensions; do
3772 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3773 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3774 'mkdir (GNU coreutils) '* | \
3775 'mkdir (coreutils) '* | \
3776 'mkdir (fileutils) '4.1*)
3777 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3778 break 3;;
3779 esac
3780 done
3781 done
3782 done
3783 IFS=$as_save_IFS
3784
3785 fi
3786
3787 test -d ./--version && rmdir ./--version
3788 if test "${ac_cv_path_mkdir+set}" = set; then
3789 MKDIR_P="$ac_cv_path_mkdir -p"
3790 else
3791 # As a last resort, use the slow shell script. Don't cache a
3792 # value for MKDIR_P within a source directory, because that will
3793 # break other packages using the cache if that directory is
3794 # removed, or if the value is a relative name.
3795 MKDIR_P="$ac_install_sh -d"
3796 fi
3797 fi
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3799 $as_echo "$MKDIR_P" >&6; }
3800
3801 for ac_prog in gawk mawk nawk awk
3802 do
3803 # Extract the first word of "$ac_prog", so it can be a program name with args.
3804 set dummy $ac_prog; ac_word=$2
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3806 $as_echo_n "checking for $ac_word... " >&6; }
3807 if ${ac_cv_prog_AWK+:} false; then :
3808 $as_echo_n "(cached) " >&6
3809 else
3810 if test -n "$AWK"; then
3811 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3812 else
3813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3814 for as_dir in $PATH
3815 do
3816 IFS=$as_save_IFS
3817 test -z "$as_dir" && as_dir=.
3818 for ac_exec_ext in '' $ac_executable_extensions; do
3819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3820 ac_cv_prog_AWK="$ac_prog"
3821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3822 break 2
3823 fi
3824 done
3825 done
3826 IFS=$as_save_IFS
3827
3828 fi
3829 fi
3830 AWK=$ac_cv_prog_AWK
3831 if test -n "$AWK"; then
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3833 $as_echo "$AWK" >&6; }
3834 else
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3836 $as_echo "no" >&6; }
3837 fi
3838
3839
3840 test -n "$AWK" && break
3841 done
3842
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3844 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3845 set x ${MAKE-make}
3846 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3847 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3848 $as_echo_n "(cached) " >&6
3849 else
3850 cat >conftest.make <<\_ACEOF
3851 SHELL = /bin/sh
3852 all:
3853 @echo '@@@%%%=$(MAKE)=@@@%%%'
3854 _ACEOF
3855 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3856 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3857 *@@@%%%=?*=@@@%%%*)
3858 eval ac_cv_prog_make_${ac_make}_set=yes;;
3859 *)
3860 eval ac_cv_prog_make_${ac_make}_set=no;;
3861 esac
3862 rm -f conftest.make
3863 fi
3864 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3866 $as_echo "yes" >&6; }
3867 SET_MAKE=
3868 else
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3870 $as_echo "no" >&6; }
3871 SET_MAKE="MAKE=${MAKE-make}"
3872 fi
3873
3874 rm -rf .tst 2>/dev/null
3875 mkdir .tst 2>/dev/null
3876 if test -d .tst; then
3877 am__leading_dot=.
3878 else
3879 am__leading_dot=_
3880 fi
3881 rmdir .tst 2>/dev/null
3882
3883 # Check whether --enable-silent-rules was given.
3884 if test "${enable_silent_rules+set}" = set; then :
3885 enableval=$enable_silent_rules;
3886 fi
3887
3888 case $enable_silent_rules in # (((
3889 yes) AM_DEFAULT_VERBOSITY=0;;
3890 no) AM_DEFAULT_VERBOSITY=1;;
3891 *) AM_DEFAULT_VERBOSITY=1;;
3892 esac
3893 am_make=${MAKE-make}
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3895 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3896 if ${am_cv_make_support_nested_variables+:} false; then :
3897 $as_echo_n "(cached) " >&6
3898 else
3899 if $as_echo 'TRUE=$(BAR$(V))
3900 BAR0=false
3901 BAR1=true
3902 V=1
3903 am__doit:
3904 @$(TRUE)
3905 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3906 am_cv_make_support_nested_variables=yes
3907 else
3908 am_cv_make_support_nested_variables=no
3909 fi
3910 fi
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3912 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3913 if test $am_cv_make_support_nested_variables = yes; then
3914 AM_V='$(V)'
3915 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3916 else
3917 AM_V=$AM_DEFAULT_VERBOSITY
3918 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3919 fi
3920 AM_BACKSLASH='\'
3921
3922 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3923 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3924 # is not polluted with repeated "-I."
3925 am__isrc=' -I$(srcdir)'
3926 # test to see if srcdir already configured
3927 if test -f $srcdir/config.status; then
3928 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3929 fi
3930 fi
3931
3932 # test whether we have cygpath
3933 if test -z "$CYGPATH_W"; then
3934 if (cygpath --version) >/dev/null 2>/dev/null; then
3935 CYGPATH_W='cygpath -w'
3936 else
3937 CYGPATH_W=echo
3938 fi
3939 fi
3940
3941
3942 # Define the identity of the package.
3943 PACKAGE='mono'
3944 VERSION='6.12.0.122'
3945
3946
3947 cat >>confdefs.h <<_ACEOF
3948 #define PACKAGE "$PACKAGE"
3949 _ACEOF
3950
3951
3952 cat >>confdefs.h <<_ACEOF
3953 #define VERSION "$VERSION"
3954 _ACEOF
3955
3956 # Some tools Automake needs.
3957
3958 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3959
3960
3961 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3962
3963
3964 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3965
3966
3967 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3968
3969
3970 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3971
3972 # For better backward compatibility. To be removed once Automake 1.9.x
3973 # dies out for good. For more background, see:
3974 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3975 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3976 mkdir_p='$(MKDIR_P)'
3977
3978 # We need awk for the "check" target (and possibly the TAP driver). The
3979 # system "awk" is bad on some platforms.
3980 # Always define AMTAR for backward compatibility. Yes, it's still used
3981 # in the wild :-( We should find a proper way to deprecate it ...
3982 AMTAR='$${TAR-tar}'
3983
3984
3985 # We'll loop over all known methods to create a tar archive until one works.
3986 _am_tools='gnutar plaintar pax cpio none'
3987
3988 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
3989 # There is notably a 21 bits limit for the UID and the GID. In fact,
3990 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3991 # and bug#13588).
3992 am_max_uid=2097151 # 2^21 - 1
3993 am_max_gid=$am_max_uid
3994 # The $UID and $GID variables are not portable, so we need to resort
3995 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
3996 # below are definitely unexpected, so allow the users to see them
3997 # (that is, avoid stderr redirection).
3998 am_uid=`id -u || echo unknown`
3999 am_gid=`id -g || echo unknown`
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
4001 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
4002 if test $am_uid -le $am_max_uid; then
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4004 $as_echo "yes" >&6; }
4005 else
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4008 _am_tools=none
4009 fi
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
4011 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
4012 if test $am_gid -le $am_max_gid; then
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4014 $as_echo "yes" >&6; }
4015 else
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4017 $as_echo "no" >&6; }
4018 _am_tools=none
4019 fi
4020
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
4022 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
4023
4024 # Go ahead even if we have the value already cached. We do so because we
4025 # need to set the values for the 'am__tar' and 'am__untar' variables.
4026 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
4027
4028 for _am_tool in $_am_tools; do
4029 case $_am_tool in
4030 gnutar)
4031 for _am_tar in tar gnutar gtar; do
4032 { echo "$as_me:$LINENO: $_am_tar --version" >&5
4033 ($_am_tar --version) >&5 2>&5
4034 ac_status=$?
4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4036 (exit $ac_status); } && break
4037 done
4038 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
4039 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
4040 am__untar="$_am_tar -xf -"
4041 ;;
4042 plaintar)
4043 # Must skip GNU tar: if it does not support --format= it doesn't create
4044 # ustar tarball either.
4045 (tar --version) >/dev/null 2>&1 && continue
4046 am__tar='tar chf - "$$tardir"'
4047 am__tar_='tar chf - "$tardir"'
4048 am__untar='tar xf -'
4049 ;;
4050 pax)
4051 am__tar='pax -L -x ustar -w "$$tardir"'
4052 am__tar_='pax -L -x ustar -w "$tardir"'
4053 am__untar='pax -r'
4054 ;;
4055 cpio)
4056 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
4057 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
4058 am__untar='cpio -i -H ustar -d'
4059 ;;
4060 none)
4061 am__tar=false
4062 am__tar_=false
4063 am__untar=false
4064 ;;
4065 esac
4066
4067 # If the value was cached, stop now. We just wanted to have am__tar
4068 # and am__untar set.
4069 test -n "${am_cv_prog_tar_ustar}" && break
4070
4071 # tar/untar a dummy directory, and stop if the command works.
4072 rm -rf conftest.dir
4073 mkdir conftest.dir
4074 echo GrepMe > conftest.dir/file
4075 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
4076 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
4077 ac_status=$?
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); }
4080 rm -rf conftest.dir
4081 if test -s conftest.tar; then
4082 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
4083 ($am__untar <conftest.tar) >&5 2>&5
4084 ac_status=$?
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); }
4087 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
4088 (cat conftest.dir/file) >&5 2>&5
4089 ac_status=$?
4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); }
4092 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
4093 fi
4094 done
4095 rm -rf conftest.dir
4096
4097 if ${am_cv_prog_tar_ustar+:} false; then :
4098 $as_echo_n "(cached) " >&6
4099 else
4100 am_cv_prog_tar_ustar=$_am_tool
4101 fi
4102
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
4104 $as_echo "$am_cv_prog_tar_ustar" >&6; }
4105
4106
4107
4108
4109
4110
4111 # POSIX will say in a future version that running "rm -f" with no argument
4112 # is OK; and we want to be able to make that assumption in our Makefile
4113 # recipes. So use an aggressive probe to check that the usage we want is
4114 # actually supported "in the wild" to an acceptable degree.
4115 # See automake bug#10828.
4116 # To make any issue more visible, cause the running configure to be aborted
4117 # by default if the 'rm' program in use doesn't match our expectations; the
4118 # user can still override this though.
4119 if rm -f && rm -fr && rm -rf; then : OK; else
4120 cat >&2 <<'END'
4121 Oops!
4122
4123 Your 'rm' program seems unable to run without file operands specified
4124 on the command line, even when the '-f' option is present. This is contrary
4125 to the behaviour of most rm programs out there, and not conforming with
4126 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4127
4128 Please tell bug-automake@gnu.org about your system, including the value
4129 of your $PATH and any error possibly output before this message. This
4130 can help us improve future automake versions.
4131
4132 END
4133 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4134 echo 'Configuration will proceed anyway, since you have set the' >&2
4135 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4136 echo >&2
4137 else
4138 cat >&2 <<'END'
4139 Aborting the configuration process, to ensure you take notice of the issue.
4140
4141 You can download and install GNU coreutils to get an 'rm' implementation
4142 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4143
4144 If you want to complete the configuration process using your problematic
4145 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4146 to "yes", and re-run configure.
4147
4148 END
4149 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4150 fi
4151 fi
4152 # TODO: remove this hack once we require automake 1.11+
4153
4154 ac_config_headers="$ac_config_headers config.h"
4155
4156
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4158 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4159 # Check whether --enable-maintainer-mode was given.
4160 if test "${enable_maintainer_mode+set}" = set; then :
4161 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4162 else
4163 USE_MAINTAINER_MODE=no
4164 fi
4165
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4167 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4168 if test $USE_MAINTAINER_MODE = yes; then
4169 MAINTAINER_MODE_TRUE=
4170 MAINTAINER_MODE_FALSE='#'
4171 else
4172 MAINTAINER_MODE_TRUE='#'
4173 MAINTAINER_MODE_FALSE=
4174 fi
4175
4176 MAINT=$MAINTAINER_MODE_TRUE
4177
4178
4179
4180
4181
4182 API_VER=2.0
4183
4184
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4186 $as_echo_n "checking whether ln -s works... " >&6; }
4187 LN_S=$as_ln_s
4188 if test "$LN_S" = "ln -s"; then
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4190 $as_echo "yes" >&6; }
4191 else
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4193 $as_echo "no, using $LN_S" >&6; }
4194 fi
4195
4196
4197 # Check whether --enable-silent-rules was given.
4198 if test "${enable_silent_rules+set}" = set; then :
4199 enableval=$enable_silent_rules;
4200 fi
4201
4202 case $enable_silent_rules in # (((
4203 yes) AM_DEFAULT_VERBOSITY=0;;
4204 no) AM_DEFAULT_VERBOSITY=1;;
4205 *) AM_DEFAULT_VERBOSITY=0;;
4206 esac
4207 am_make=${MAKE-make}
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4209 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4210 if ${am_cv_make_support_nested_variables+:} false; then :
4211 $as_echo_n "(cached) " >&6
4212 else
4213 if $as_echo 'TRUE=$(BAR$(V))
4214 BAR0=false
4215 BAR1=true
4216 V=1
4217 am__doit:
4218 @$(TRUE)
4219 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4220 am_cv_make_support_nested_variables=yes
4221 else
4222 am_cv_make_support_nested_variables=no
4223 fi
4224 fi
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4226 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4227 if test $am_cv_make_support_nested_variables = yes; then
4228 AM_V='$(V)'
4229 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4230 else
4231 AM_V=$AM_DEFAULT_VERBOSITY
4232 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4233 fi
4234 AM_BACKSLASH='\'
4235
4236
4237 MONO_VERSION_MAJOR=`echo $VERSION | cut -d . -f 1`
4238 MONO_VERSION_MINOR=`echo $VERSION | cut -d . -f 2`
4239 MONO_VERSION_BUILD=`echo $VERSION | cut -d . -f 3`
4240
4241 #
4242 # This is the version of the corlib-runtime interface. When
4243 # making changes to this interface (by changing the layout
4244 # of classes the runtime knows about, changing icall signature or
4245 # semantics etc), change this variable.
4246 #
4247 # This must be unique relative to corlib interface and semantics.
4248 #
4249 # If you change corlib such that a runtime change is required, or
4250 # vice versa, change this string. Examples include removing icalls,
4251 # adding icalls, changing icall signatures, and changing type layouts
4252 # that both sides know.
4253 #
4254 # It is an arbitrary string and should be parsed as such.
4255 # A guid works and is encouraged.
4256 #
4257 # Generate it with uuidgen. For example:
4258 # perl -pi.bak -e "s/^MONO_CORLIB_VERSION=\S+/MONO_CORLIB_VERSION=`uuidgen`/" configure.ac
4259 #
4260 # There is no ordering of corlib versions, no old or new,
4261 # an exact match is required between corlib and runtime.
4262 #
4263 # This line is parsed by tools besides autoconf, such as msvc/mono.winconfig.targets.
4264 # It should remain in the format they expect.
4265 #
4266 MONO_CORLIB_VERSION=1A5E0066-58DC-428A-B21C-0AD6CDAE2789
4267
4268 #
4269 # Put a quoted #define in config.h.
4270 # Substitute @MONO_CORLIB_VERSION@ unquoted.
4271 #
4272
4273 cat >>confdefs.h <<_ACEOF
4274 #define MONO_CORLIB_VERSION "$MONO_CORLIB_VERSION"
4275 _ACEOF
4276
4277
4278
4279 case $host_os in
4280 *cygwin* )
4281 echo "Run configure using ./configure --host=i686-w64-mingw32 or --host=x86_64-w64-mingw32"
4282 exit 1
4283 esac
4284
4285 # In case of cygwin, override LN_S, irrespective of what it determines.
4286 # The build uses cygwin, but the actual runtime doesn't.
4287 case $host_os in
4288 *cygwin* ) LN_S='cp -p';;
4289 esac
4290
4291 #
4292 # libgc defaults
4293 #
4294 libgc_configure_args=
4295
4296 # These variables are the CPPFLAGS/CFLAGS passed to libgc's configure
4297 # libgc should inherit the original CFLAGS/CPPFLAGS passed to configure, i.e. -O0
4298 CPPFLAGS_FOR_LIBGC=$CPPFLAGS
4299 CFLAGS_FOR_LIBGC=$CFLAGS
4300 CPPFLAGS_FOR_BTLS=$CPPFLAGS
4301 CFLAGS_FOR_BTLS=$CFLAGS
4302
4303 # libgc uses some deprecated APIs
4304 CFLAGS_FOR_LIBGC="$CFLAGS -Wno-deprecated-declarations"
4305
4306 #
4307 # These are the flags that need to be stored in the mono.pc file for
4308 # compiling code that will embed Mono
4309 #
4310 libmono_cflags=""
4311 libmono_ldflags=""
4312
4313
4314
4315 # Variable to have relocatable .pc files (lib, or lib64)
4316 # realpath isn't always available, and requires that all but the tip of the provided
4317 # path exists. Fall back to the old behaviour, but realpath allows depth >1
4318 # e.g. Debian puts Mono in /usr/bin and libs in /usr/lib/x86_64-linux-gnu/ which is
4319 # too deep for the old method to work
4320 reloc_libdir=`realpath --relative-to=${prefix} ${libdir} 2> /dev/null || basename ${libdir}`
4321
4322
4323 # Set to yes if Unix sockets cannot be created in an anonymous namespace
4324 need_link_unlink=no
4325
4326 #Set to extra linker flags to be passed to the runtime binaries (mono /mono-sgen)
4327 extra_runtime_ldflags=""
4328
4329 # Thread configuration inspired by sleepycat's db
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host platform characteristics" >&5
4331 $as_echo_n "checking host platform characteristics... " >&6; }
4332
4333 libgc_threads=no
4334 has_dtrace=no
4335 parallel_mark=yes
4336 ikvm_native=yes
4337
4338 host_win32=no
4339 target_win32=no
4340 target_wasm=no
4341 platform_android=no
4342 platform_tizen=no
4343 platform_ios=no
4344 host_darwin=no
4345 host_linux=no
4346 build_darwin=no
4347
4348 case "$host" in
4349 wasm32*)
4350 CFLAGS="$CFLAGS -D_REENTRANT -D_GNU_SOURCE -s WASM=1"
4351 CPPFLAGS="$CPPFLAGS -D_REENTRANT -DUSE_MMAP -s WASM=1"
4352 libgc_threads=pthreads
4353 platform_wasm=yes
4354 # FIXME:
4355 RID="osx-x64"
4356 COREARCH="wasm32"
4357 CORETARGETS="-p:TargetsUnix=true -p:TargetsOSX=true"
4358 build_darwin=yes
4359 ;;
4360 *-mingw*|*-*-cygwin*)
4361
4362 $as_echo "#define DISABLE_PORTABILITY 1" >>confdefs.h
4363
4364
4365 $as_echo "#define HOST_NO_SYMLINKS 1" >>confdefs.h
4366
4367 host_win32=yes
4368 mono_cv_clang=no
4369 if test "x$cross_compiling" = "xno"; then
4370 if test "x$host" = "x$build" -a "x$host" = "x$target"; then
4371 target_win32=yes
4372 fi
4373 else
4374 if test "x$host" = "x$target"; then
4375 target_win32=yes
4376 fi
4377 fi
4378 HOST_CC="gcc"
4379 RID="win-x86"
4380 CORETARGETS="-p:TargetsWindows=true"
4381 COREARCH="x86"
4382 # Boehm not supported on 64-bit Windows.
4383 case "$host" in
4384 x86_64-*-* | amd64-*-*)
4385 with_gc=sgen
4386 RID="win-x64"
4387 COREARCH="x64"
4388 ;;
4389 esac
4390
4391 # Windows 7 or later is required
4392 WIN32_CPPFLAGS="-DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -D_WIN32_IE=0x0501 -D_UNICODE -DUNICODE -DWIN32_THREADS -DFD_SETSIZE=1024"
4393 CPPFLAGS="$CPPFLAGS $WIN32_CPPFLAGS"
4394 WIN32_LDFLAGS="-lbcrypt -lmswsock -lws2_32 -lole32 -loleaut32 -lpsapi -lversion -ladvapi32 -lwinmm -lkernel32 -liphlpapi -static-libgcc"
4395 LDFLAGS="$LDFLAGS $WIN32_LDFLAGS"
4396 libmono_cflags="-mms-bitfields -mwindows"
4397 libmono_ldflags="-mms-bitfields -mwindows"
4398 libgc_threads=win32
4399 with_sigaltstack=no
4400 with_tls=pthread
4401 with_sgen_default_concurrent=yes
4402 LN_S=cp
4403 ;;
4404 *-*-*netbsd*)
4405 CPPFLAGS="$CPPFLAGS -D_REENTRANT -DGC_NETBSD_THREADS -D_GNU_SOURCE"
4406 libmono_cflags="-D_REENTRANT"
4407 LDFLAGS="$LDFLAGS -pthread"
4408 CPPFLAGS="$CPPFLAGS -DHOST_BSD"
4409 libmono_ldflags="-pthread"
4410 need_link_unlink=yes
4411 libgc_threads=pthreads
4412 with_sigaltstack=no
4413 use_sigposix=yes
4414 with_sgen_default_concurrent=yes
4415 ;;
4416 *-*-kfreebsd*-gnu)
4417 CPPFLAGS="$CPPFLAGS -DGC_FREEBSD_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -DTHREAD_LOCAL_ALLOC -pthread"
4418 libmono_cflags="-D_REENTRANT -DTHREAD_LOCAL_ALLOC -pthread"
4419 libmono_ldflags="-lpthread -pthread"
4420 libgc_threads=pthreads
4421 need_link_unlink=yes
4422 with_sigaltstack=no
4423 use_sigposix=yes
4424 with_sgen_default_concurrent=yes
4425 ;;
4426 *-*-*freebsd*)
4427 LDFLAGS="$LDFLAGS -lutil"
4428 if test "x$PTHREAD_CFLAGS" = "x"; then
4429 CPPFLAGS="$CPPFLAGS -DGC_FREEBSD_THREADS"
4430 libmono_cflags=
4431 else
4432 CPPFLAGS="$CPPFLAGS $PTHREAD_CFLAGS -DGC_FREEBSD_THREADS"
4433 libmono_cflags="$PTHREAD_CFLAGS"
4434 fi
4435 if test "x$PTHREAD_LIBS" = "x"; then
4436 LDFLAGS="$LDFLAGS -pthread -L/usr/local/lib"
4437 libmono_ldflags="-pthread"
4438 else
4439 LDFLAGS="$LDFLAGS $PTHREAD_LIBS -L/usr/local/lib"
4440 libmono_ldflags="$PTHREAD_LIBS"
4441 fi
4442 CPPFLAGS="$CPPFLAGS -DHOST_BSD -D_WITH_GETLINE"
4443 need_link_unlink=yes
4444
4445 $as_echo "#define PTHREAD_POINTER_ID 1" >>confdefs.h
4446
4447 libgc_threads=pthreads
4448 use_sigposix=yes
4449 has_dtrace=yes
4450 case "$host" in
4451 aarch64-*)
4452 support_boehm=no
4453 with_gc=sgen
4454 ;;
4455 riscv*)
4456 support_boehm=no
4457 with_gc=sgen
4458 ;;
4459 esac
4460 with_sgen_default_concurrent=yes
4461 ;;
4462 *-*-*openbsd*)
4463 CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE -DGC_OPENBSD_THREADS -DHOST_BSD -D_REENTRANT -DUSE_MMAP"
4464 LDFLAGS="${LDFLAGS} -Wl,-zwxneeded"
4465 if test "x$disable_munmap" != "xyes"; then
4466 CPPFLAGS="$CPPFLAGS -DUSE_MUNMAP"
4467 fi
4468 libmono_cflags="-D_THREAD_SAFE -D_REENTRANT"
4469 LDFLAGS="$LDFLAGS -pthread"
4470 need_link_unlink=yes
4471 $as_echo "#define PTHREAD_POINTER_ID 1" >>confdefs.h
4472
4473 libgc_threads=pthreads
4474 with_tls=pthread
4475 with_sigaltstack=no
4476 use_sigposix=yes
4477 with_sgen_default_concurrent=yes
4478 ;;
4479 *-*-linux-android*)
4480 platform_android=yes
4481
4482 $as_echo "#define HOST_ANDROID 1" >>confdefs.h
4483
4484
4485 $as_echo "#define TARGET_ANDROID 1" >>confdefs.h
4486
4487
4488 CPPFLAGS="$CPPFLAGS -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP"
4489 if test "x$disable_munmap" != "xyes"; then
4490 CPPFLAGS="$CPPFLAGS -DUSE_MUNMAP"
4491 fi
4492 libmono_cflags="-D_REENTRANT"
4493 libgc_threads=pthreads
4494 use_sigposix=yes
4495
4496 with_tls=pthread
4497 with_sigaltstack=no
4498 with_static_mono=no
4499
4500 # Android doesn't support boehm, as it's missing <link.h>
4501 support_boehm=no
4502 with_gc=sgen
4503
4504 # isinf(3) requires -lm
4505 LDFLAGS="$LDFLAGS -lm"
4506
4507 # Bionic's <pthread.h> sets PTHREAD_STACK_MIN=2*PAGE_SIZE; doesn't define
4508 # PAGE_SIZE; breaks mono/io-layer/collection.c
4509 # Bionic doesn't provide S_IWRITE; breaks io-layer/io.c
4510 CFLAGS="$CFLAGS -DPAGE_SIZE=4096 -DS_IWRITE=S_IWUSR"
4511 CXXFLAGS="$CXXFLAGS -DPAGE_SIZE=4096 -DS_IWRITE=S_IWUSR"
4512
4513 # FIXME? Only if __ANDROID_API__ < 24?
4514 # FILE32API means "long", which is stuck at 32bits for 32bit ABI (64bits for 64bit ABI).
4515 # ABI 24 introduces the "o" for "file offset" variations, which can be widened to 64bits for 32bit ABI (and still 64bits for 64bit).
4516 # Android itself uses FILE32API, and mono should use system zlib on Android anyway.
4517 ZLIB_CFLAGS="$ZLIB_CFLAGS -DUSE_FILE32API"
4518
4519 # to bypass the underscore linker check, can't work when cross-compiling
4520 mono_cv_uscore=yes
4521 mono_cv_clang=no
4522 ;;
4523 *-*-linux*)
4524 host_linux=yes
4525 CPPFLAGS="$CPPFLAGS -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP"
4526 if test "x$disable_munmap" != "xyes"; then
4527 CPPFLAGS="$CPPFLAGS -DUSE_MUNMAP"
4528 fi
4529 libmono_cflags="-D_REENTRANT"
4530 libgc_threads=pthreads
4531 CORETARGETS="-p:TargetsUnix=true"
4532 use_sigposix=yes
4533 if test "x$cross_compiling" != "xno"; then
4534 # to bypass the underscore linker check, not
4535 # available during cross-compilation
4536 mono_cv_uscore=no
4537 fi
4538 case "$host" in
4539 *-tizen-linux-*)
4540 platform_tizen=yes
4541 ;;
4542 esac
4543 case "$host" in
4544 ppc64-*)
4545 RID="linux-ppc64"
4546 ;;
4547 ppc64le-*)
4548 RID="linux-ppc64el"
4549 ;;
4550 mipsel-*)
4551 RID="linux-mipsel"
4552 ;;
4553 x86-*)
4554 RID="linux-x86"
4555 COREARCH="x86"
4556 ;;
4557 x86_64-*)
4558 RID="linux-x64"
4559 COREARCH="x64"
4560 ;;
4561 arm-*)
4562 # deal with this in the FPU detection section, since
4563 # we cannot determine FPU from triplet and don't want
4564 # to duplicate the logic
4565 ;;
4566 aarch64-*)
4567 support_boehm=no
4568 with_gc=sgen
4569 RID="linux-arm64"
4570 COREARCH="arm64"
4571 ;;
4572 powerpc*-*-linux*)
4573 # https://bugzilla.novell.com/show_bug.cgi?id=504411
4574 disable_munmap=yes
4575 ;;
4576 powerpc*-*-freebsd*)
4577 # https://bugzilla.novell.com/show_bug.cgi?id=504411
4578 disable_munmap=yes
4579 ;;
4580 riscv*)
4581 support_boehm=no
4582 with_gc=sgen
4583 ;;
4584 esac
4585 with_sgen_default_concurrent=yes
4586 ;;
4587 *-*-nacl*)
4588 echo "nacl no longer supported."
4589 exit 1
4590 ;;
4591 *-*-hpux*)
4592 CPPFLAGS="$CPPFLAGS -DGC_HPUX_THREADS -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_REENTRANT"
4593 # +ESdbgasm only valid on bundled cc on RISC
4594 # silently ignored for ia64
4595 if test $GCC != "yes"; then
4596 CFLAGS="$CFLAGS +ESdbgasm"
4597 # Arrange for run-time dereferencing of null
4598 # pointers to produce a SIGSEGV signal.
4599 LDFLAGS="$LDFLAGS -z"
4600 fi
4601 CFLAGS="$CFLAGS +ESdbgasm"
4602 LDFLAGS="$LDFLAGS -z"
4603 libmono_cflags="-D_REENTRANT"
4604 libmono_ldflags="-lpthread"
4605 libgc_threads=pthreads
4606 need_link_unlink=yes
4607 use_sigposix=yes
4608 ;;
4609 *-*-solaris*)
4610 CPPFLAGS="$CPPFLAGS -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_MMAP -DUSE_MUNMAP -DHOST_SOLARIS"
4611 need_link_unlink=yes
4612 libmono_cflags="-D_REENTRANT"
4613 libgc_threads=pthreads
4614 has_dtrace=yes
4615 use_sigposix=yes
4616 enable_solaris_tar_check=yes
4617 ;;
4618 *-*-darwin*)
4619 parallel_mark="Disabled_Currently_Hangs_On_MacOSX"
4620 host_darwin=yes
4621 target_mach=yes
4622 CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE -DGC_MACOSX_THREADS -DUSE_MMAP -DUSE_MUNMAP"
4623 libmono_cflags="-D_THREAD_SAFE"
4624 need_link_unlink=yes
4625 $as_echo "#define PTHREAD_POINTER_ID 1" >>confdefs.h
4626
4627
4628 $as_echo "#define USE_MACH_SEMA 1" >>confdefs.h
4629
4630 CORETARGETS="-p:TargetsUnix=true -p:TargetsOSX=true"
4631 libgc_threads=pthreads
4632 has_dtrace=yes
4633 if test "x$cross_compiling" = "xyes"; then
4634 has_broken_apple_cpp=yes
4635 fi
4636 case "$host" in
4637 i*86-*-darwin*)
4638 BROKEN_DARWIN_FLAGS="-arch i386"
4639 BROKEN_DARWIN_CPPFLAGS=""
4640 CPPFLAGS="$CPPFLAGS $BROKEN_DARWIN_CPPFLAGS"
4641 CFLAGS="$CFLAGS $BROKEN_DARWIN_FLAGS"
4642 CXXFLAGS="$CXXFLAGS $BROKEN_DARWIN_FLAGS"
4643 CCASFLAGS="$CCASFLAGS $BROKEN_DARWIN_FLAGS"
4644 CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC $BROKEN_DARWIN_CPPFLAGS"
4645 CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC $BROKEN_DARWIN_FLAGS"
4646 with_sgen_default_concurrent=yes
4647 RID="osx-x86"
4648 COREARCH="x86"
4649 ;;
4650 x*64-*-darwin*)
4651 with_sgen_default_concurrent=yes
4652 RID="osx-x64"
4653 COREARCH="x64"
4654 ;;
4655 arm*-darwin*)
4656 platform_ios=yes
4657 has_dtrace=no
4658 ;;
4659 aarch64*-darwin*)
4660 platform_ios=yes
4661 ;;
4662 esac
4663 ;;
4664 *-*-haiku*)
4665 CPPFLAGS="$CPPFLAGS -D_BSD_SOURCE -D_REENTRANT -D_THREAD_SAFE"
4666 libmono_cflags="-D_REENTRANT -D_THREAD_SAFE"
4667 LIBS="$LIBS -lnetwork -ltextencoding"
4668 need_link_unlink=yes
4669 $as_echo "#define PTHREAD_POINTER_ID 1" >>confdefs.h
4670
4671 with_tls=pthread
4672 libgc_threads=pthreads
4673 use_sigposix=yes
4674 with_sigaltstack=no
4675 ;;
4676 *-*-fuchsia*)
4677
4678 $as_echo "#define DISABLE_PORTABILITY 1" >>confdefs.h
4679
4680
4681 $as_echo "#define HOST_FUCHSIA 1" >>confdefs.h
4682
4683 fuchsia=true
4684 with_tls=pthread
4685 with_sigaltstack=yes
4686 with_static_mono=no
4687 support_boehm=no
4688 with_gc=sgen
4689 mono_cv_uscore=yes
4690 mono_cv_clang=no
4691 ;;
4692 *-*-aix*|*-*-os400*)
4693
4694 $as_echo "#define HOST_AIX 1" >>confdefs.h
4695
4696 host_aix=yes
4697 case $host_os in
4698 aix*)
4699 if test "x$OBJECT_MODE" = "x64" && test "x$CC" = "x" && test "x$CXX" = "x"; then
4700 CC="gcc -maix64"
4701 CXX="g++ -maix64"
4702 echo
4703 fi
4704 ;;
4705 esac
4706 LDFLAGS="$LDFLAGS -maix64"
4707 CPPFLAGS="$CPPFLAGS -maix64 -DGC_AIX_THREADS -D_ALL_SOURCE -pthread -D_THREAD_SAFE -D_LARGE_FILES -D_REENTRANT"
4708 libmono_cflags="-pthread -D_THREAD_SAFE -D_REENTRANT"
4709 AR="/usr/bin/ar -X64"
4710 NM="/usr/bin/nm -X64"
4711 STRIP="/usr/bin/strip -X64"
4712 RANLIB="/usr/bin/ranlib -X64"
4713 support_boehm=no
4714 with_gc=sgen
4715 need_link_unlink=yes
4716 use_sigposix=yes
4717 with_sigaltstack=no
4718 with_tls=pthread
4719 disable_munmap=yes
4720 RID="aix-ppc64"
4721 CORETARGETS="-p:TargetsUnix=true"
4722 ;;
4723 *)
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please add $host to configure.ac checks!" >&5
4725 $as_echo "$as_me: WARNING: *** Please add $host to configure.ac checks!" >&2;}
4726 ;;
4727 esac
4728
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4730 $as_echo "ok" >&6; }
4731
4732 if test x$need_link_unlink = xyes; then
4733
4734 $as_echo "#define NEED_LINK_UNLINK 1" >>confdefs.h
4735
4736 fi
4737
4738 if test x$host_win32 = xyes; then
4739
4740 $as_echo "#define HOST_WIN32 1" >>confdefs.h
4741
4742 fi
4743
4744 if test x$target_win32 = xyes; then
4745
4746 $as_echo "#define TARGET_WIN32 1" >>confdefs.h
4747
4748 fi
4749
4750 if test x$host_darwin = xyes; then
4751
4752 $as_echo "#define HOST_DARWIN 1" >>confdefs.h
4753
4754 fi
4755
4756 # Defined for all targets/platforms using classic Windows API support.
4757
4758 $as_echo "#define HAVE_CLASSIC_WINAPI_SUPPORT 1" >>confdefs.h
4759
4760
4761 $as_echo "#define HAVE_UWP_WINAPI_SUPPORT 0" >>confdefs.h
4762
4763
4764
4765 if test x$host_win32 = xyes; then
4766 HOST_WIN32_TRUE=
4767 HOST_WIN32_FALSE='#'
4768 else
4769 HOST_WIN32_TRUE='#'
4770 HOST_WIN32_FALSE=
4771 fi
4772
4773 if test x$target_win32 = xyes; then
4774 TARGET_WIN32_TRUE=
4775 TARGET_WIN32_FALSE='#'
4776 else
4777 TARGET_WIN32_TRUE='#'
4778 TARGET_WIN32_FALSE=
4779 fi
4780
4781 if echo x$target_os | grep -q linux; then
4782 HOST_LINUX_TRUE=
4783 HOST_LINUX_FALSE='#'
4784 else
4785 HOST_LINUX_TRUE='#'
4786 HOST_LINUX_FALSE=
4787 fi
4788
4789 if test x$host_darwin = xyes; then
4790 HOST_DARWIN_TRUE=
4791 HOST_DARWIN_FALSE='#'
4792 else
4793 HOST_DARWIN_TRUE='#'
4794 HOST_DARWIN_FALSE=
4795 fi
4796
4797 if test x$use_sigposix = xyes; then
4798 HOST_SIGPOSIX_TRUE=
4799 HOST_SIGPOSIX_FALSE='#'
4800 else
4801 HOST_SIGPOSIX_TRUE='#'
4802 HOST_SIGPOSIX_FALSE=
4803 fi
4804
4805 if test x$platform_android = xyes; then
4806 HOST_ANDROID_TRUE=
4807 HOST_ANDROID_FALSE='#'
4808 else
4809 HOST_ANDROID_TRUE='#'
4810 HOST_ANDROID_FALSE=
4811 fi
4812
4813 if test x$platform_tizen = xyes; then
4814 HOST_TIZEN_TRUE=
4815 HOST_TIZEN_FALSE='#'
4816 else
4817 HOST_TIZEN_TRUE='#'
4818 HOST_TIZEN_FALSE=
4819 fi
4820
4821 if test x$platform_ios = xyes; then
4822 HOST_IOS_TRUE=
4823 HOST_IOS_FALSE='#'
4824 else
4825 HOST_IOS_TRUE='#'
4826 HOST_IOS_FALSE=
4827 fi
4828
4829 if test x$platform_wasm = xyes; then
4830 HOST_WASM_TRUE=
4831 HOST_WASM_FALSE='#'
4832 else
4833 HOST_WASM_TRUE='#'
4834 HOST_WASM_FALSE=
4835 fi
4836
4837 if test x$host_aix = xyes; then
4838 HOST_AIX_TRUE=
4839 HOST_AIX_FALSE='#'
4840 else
4841 HOST_AIX_TRUE='#'
4842 HOST_AIX_FALSE=
4843 fi
4844
4845
4846 if test -z "$HOST_DARWIN_TRUE"; then :
4847 PLATFORM_AOT_SUFFIX=.dylib
4848 PLATFORM_AOT_PREFIX=lib
4849 fi
4850
4851 if test -z "$HOST_LINUX_TRUE"; then :
4852 PLATFORM_AOT_SUFFIX=.so
4853 PLATFORM_AOT_PREFIX=lib
4854 fi
4855
4856 if test -z "$HOST_WIN32_TRUE"; then :
4857 PLATFORM_AOT_SUFFIX=.dll
4858 PLATFORM_AOT_PREFIX=
4859 fi
4860
4861
4862
4863
4864 if test -z "$HOST_WASM_TRUE"; then :
4865 $as_echo "#define HAVE_UTIME 1" >>confdefs.h
4866
4867 $as_echo "#define HAVE_UTIMES 1" >>confdefs.h
4868
4869 fi
4870
4871 ## PLATFORM_AOT_SUFFIX not so simple for windows :-)
4872
4873 if test -n "$ac_tool_prefix"; then
4874 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4875 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 $as_echo_n "checking for $ac_word... " >&6; }
4878 if ${ac_cv_prog_CC+:} false; then :
4879 $as_echo_n "(cached) " >&6
4880 else
4881 if test -n "$CC"; then
4882 ac_cv_prog_CC="$CC" # Let the user override the test.
4883 else
4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885 for as_dir in $PATH
4886 do
4887 IFS=$as_save_IFS
4888 test -z "$as_dir" && as_dir=.
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4893 break 2
4894 fi
4895 done
4896 done
4897 IFS=$as_save_IFS
4898
4899 fi
4900 fi
4901 CC=$ac_cv_prog_CC
4902 if test -n "$CC"; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4904 $as_echo "$CC" >&6; }
4905 else
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4908 fi
4909
4910
4911 fi
4912 if test -z "$ac_cv_prog_CC"; then
4913 ac_ct_CC=$CC
4914 # Extract the first word of "gcc", so it can be a program name with args.
4915 set dummy gcc; ac_word=$2
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4917 $as_echo_n "checking for $ac_word... " >&6; }
4918 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4919 $as_echo_n "(cached) " >&6
4920 else
4921 if test -n "$ac_ct_CC"; then
4922 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4923 else
4924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4925 for as_dir in $PATH
4926 do
4927 IFS=$as_save_IFS
4928 test -z "$as_dir" && as_dir=.
4929 for ac_exec_ext in '' $ac_executable_extensions; do
4930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4931 ac_cv_prog_ac_ct_CC="gcc"
4932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4933 break 2
4934 fi
4935 done
4936 done
4937 IFS=$as_save_IFS
4938
4939 fi
4940 fi
4941 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4942 if test -n "$ac_ct_CC"; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4944 $as_echo "$ac_ct_CC" >&6; }
4945 else
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947 $as_echo "no" >&6; }
4948 fi
4949
4950 if test "x$ac_ct_CC" = x; then
4951 CC="gcc"
4952 else
4953 case $cross_compiling:$ac_tool_warned in
4954 yes:)
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4957 ac_tool_warned=yes ;;
4958 esac
4959 CC=$ac_ct_CC
4960 fi
4961 else
4962 CC="$ac_cv_prog_CC"
4963 fi
4964
4965 ac_ext=c
4966 ac_cpp='$CPP $CPPFLAGS'
4967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4970 if test -n "$ac_tool_prefix"; then
4971 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4972 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if ${ac_cv_prog_CC+:} false; then :
4976 $as_echo_n "(cached) " >&6
4977 else
4978 if test -n "$CC"; then
4979 ac_cv_prog_CC="$CC" # Let the user override the test.
4980 else
4981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 for as_dir in $PATH
4983 do
4984 IFS=$as_save_IFS
4985 test -z "$as_dir" && as_dir=.
4986 for ac_exec_ext in '' $ac_executable_extensions; do
4987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4988 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4990 break 2
4991 fi
4992 done
4993 done
4994 IFS=$as_save_IFS
4995
4996 fi
4997 fi
4998 CC=$ac_cv_prog_CC
4999 if test -n "$CC"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5001 $as_echo "$CC" >&6; }
5002 else
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5005 fi
5006
5007
5008 fi
5009 if test -z "$ac_cv_prog_CC"; then
5010 ac_ct_CC=$CC
5011 # Extract the first word of "gcc", so it can be a program name with args.
5012 set dummy gcc; ac_word=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5016 $as_echo_n "(cached) " >&6
5017 else
5018 if test -n "$ac_ct_CC"; then
5019 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5020 else
5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 for as_dir in $PATH
5023 do
5024 IFS=$as_save_IFS
5025 test -z "$as_dir" && as_dir=.
5026 for ac_exec_ext in '' $ac_executable_extensions; do
5027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5028 ac_cv_prog_ac_ct_CC="gcc"
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 break 2
5031 fi
5032 done
5033 done
5034 IFS=$as_save_IFS
5035
5036 fi
5037 fi
5038 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5039 if test -n "$ac_ct_CC"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5041 $as_echo "$ac_ct_CC" >&6; }
5042 else
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5045 fi
5046
5047 if test "x$ac_ct_CC" = x; then
5048 CC=""
5049 else
5050 case $cross_compiling:$ac_tool_warned in
5051 yes:)
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5054 ac_tool_warned=yes ;;
5055 esac
5056 CC=$ac_ct_CC
5057 fi
5058 else
5059 CC="$ac_cv_prog_CC"
5060 fi
5061
5062 if test -z "$CC"; then
5063 if test -n "$ac_tool_prefix"; then
5064 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5065 set dummy ${ac_tool_prefix}cc; ac_word=$2
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5067 $as_echo_n "checking for $ac_word... " >&6; }
5068 if ${ac_cv_prog_CC+:} false; then :
5069 $as_echo_n "(cached) " >&6
5070 else
5071 if test -n "$CC"; then
5072 ac_cv_prog_CC="$CC" # Let the user override the test.
5073 else
5074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075 for as_dir in $PATH
5076 do
5077 IFS=$as_save_IFS
5078 test -z "$as_dir" && as_dir=.
5079 for ac_exec_ext in '' $ac_executable_extensions; do
5080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5081 ac_cv_prog_CC="${ac_tool_prefix}cc"
5082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 break 2
5084 fi
5085 done
5086 done
5087 IFS=$as_save_IFS
5088
5089 fi
5090 fi
5091 CC=$ac_cv_prog_CC
5092 if test -n "$CC"; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5094 $as_echo "$CC" >&6; }
5095 else
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5097 $as_echo "no" >&6; }
5098 fi
5099
5100
5101 fi
5102 fi
5103 if test -z "$CC"; then
5104 # Extract the first word of "cc", so it can be a program name with args.
5105 set dummy cc; ac_word=$2
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107 $as_echo_n "checking for $ac_word... " >&6; }
5108 if ${ac_cv_prog_CC+:} false; then :
5109 $as_echo_n "(cached) " >&6
5110 else
5111 if test -n "$CC"; then
5112 ac_cv_prog_CC="$CC" # Let the user override the test.
5113 else
5114 ac_prog_rejected=no
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 for as_dir in $PATH
5117 do
5118 IFS=$as_save_IFS
5119 test -z "$as_dir" && as_dir=.
5120 for ac_exec_ext in '' $ac_executable_extensions; do
5121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5122 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5123 ac_prog_rejected=yes
5124 continue
5125 fi
5126 ac_cv_prog_CC="cc"
5127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5128 break 2
5129 fi
5130 done
5131 done
5132 IFS=$as_save_IFS
5133
5134 if test $ac_prog_rejected = yes; then
5135 # We found a bogon in the path, so make sure we never use it.
5136 set dummy $ac_cv_prog_CC
5137 shift
5138 if test $# != 0; then
5139 # We chose a different compiler from the bogus one.
5140 # However, it has the same basename, so the bogon will be chosen
5141 # first if we set CC to just the basename; use the full file name.
5142 shift
5143 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5144 fi
5145 fi
5146 fi
5147 fi
5148 CC=$ac_cv_prog_CC
5149 if test -n "$CC"; then
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5151 $as_echo "$CC" >&6; }
5152 else
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5154 $as_echo "no" >&6; }
5155 fi
5156
5157
5158 fi
5159 if test -z "$CC"; then
5160 if test -n "$ac_tool_prefix"; then
5161 for ac_prog in cl.exe
5162 do
5163 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5164 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5166 $as_echo_n "checking for $ac_word... " >&6; }
5167 if ${ac_cv_prog_CC+:} false; then :
5168 $as_echo_n "(cached) " >&6
5169 else
5170 if test -n "$CC"; then
5171 ac_cv_prog_CC="$CC" # Let the user override the test.
5172 else
5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5174 for as_dir in $PATH
5175 do
5176 IFS=$as_save_IFS
5177 test -z "$as_dir" && as_dir=.
5178 for ac_exec_ext in '' $ac_executable_extensions; do
5179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5180 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5182 break 2
5183 fi
5184 done
5185 done
5186 IFS=$as_save_IFS
5187
5188 fi
5189 fi
5190 CC=$ac_cv_prog_CC
5191 if test -n "$CC"; then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5193 $as_echo "$CC" >&6; }
5194 else
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5196 $as_echo "no" >&6; }
5197 fi
5198
5199
5200 test -n "$CC" && break
5201 done
5202 fi
5203 if test -z "$CC"; then
5204 ac_ct_CC=$CC
5205 for ac_prog in cl.exe
5206 do
5207 # Extract the first word of "$ac_prog", so it can be a program name with args.
5208 set dummy $ac_prog; ac_word=$2
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5210 $as_echo_n "checking for $ac_word... " >&6; }
5211 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5212 $as_echo_n "(cached) " >&6
5213 else
5214 if test -n "$ac_ct_CC"; then
5215 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5216 else
5217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5218 for as_dir in $PATH
5219 do
5220 IFS=$as_save_IFS
5221 test -z "$as_dir" && as_dir=.
5222 for ac_exec_ext in '' $ac_executable_extensions; do
5223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5224 ac_cv_prog_ac_ct_CC="$ac_prog"
5225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 break 2
5227 fi
5228 done
5229 done
5230 IFS=$as_save_IFS
5231
5232 fi
5233 fi
5234 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5235 if test -n "$ac_ct_CC"; then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5237 $as_echo "$ac_ct_CC" >&6; }
5238 else
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 $as_echo "no" >&6; }
5241 fi
5242
5243
5244 test -n "$ac_ct_CC" && break
5245 done
5246
5247 if test "x$ac_ct_CC" = x; then
5248 CC=""
5249 else
5250 case $cross_compiling:$ac_tool_warned in
5251 yes:)
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5254 ac_tool_warned=yes ;;
5255 esac
5256 CC=$ac_ct_CC
5257 fi
5258 fi
5259
5260 fi
5261
5262
5263 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5265 as_fn_error $? "no acceptable C compiler found in \$PATH
5266 See \`config.log' for more details" "$LINENO" 5; }
5267
5268 # Provide some information about the compiler.
5269 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5270 set X $ac_compile
5271 ac_compiler=$2
5272 for ac_option in --version -v -V -qversion; do
5273 { { ac_try="$ac_compiler $ac_option >&5"
5274 case "(($ac_try" in
5275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5276 *) ac_try_echo=$ac_try;;
5277 esac
5278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5279 $as_echo "$ac_try_echo"; } >&5
5280 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5281 ac_status=$?
5282 if test -s conftest.err; then
5283 sed '10a\
5284 ... rest of stderr output deleted ...
5285 10q' conftest.err >conftest.er1
5286 cat conftest.er1 >&5
5287 fi
5288 rm -f conftest.er1 conftest.err
5289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5290 test $ac_status = 0; }
5291 done
5292
5293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5294 /* end confdefs.h. */
5295
5296 int
5297 main ()
5298 {
5299
5300 ;
5301 return 0;
5302 }
5303 _ACEOF
5304 ac_clean_files_save=$ac_clean_files
5305 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5306 # Try to create an executable without -o first, disregard a.out.
5307 # It will help us diagnose broken compilers, and finding out an intuition
5308 # of exeext.
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5310 $as_echo_n "checking whether the C compiler works... " >&6; }
5311 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5312
5313 # The possible output files:
5314 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5315
5316 ac_rmfiles=
5317 for ac_file in $ac_files
5318 do
5319 case $ac_file in
5320 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5321 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5322 esac
5323 done
5324 rm -f $ac_rmfiles
5325
5326 if { { ac_try="$ac_link_default"
5327 case "(($ac_try" in
5328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5329 *) ac_try_echo=$ac_try;;
5330 esac
5331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5332 $as_echo "$ac_try_echo"; } >&5
5333 (eval "$ac_link_default") 2>&5
5334 ac_status=$?
5335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5336 test $ac_status = 0; }; then :
5337 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5338 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5339 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5340 # so that the user can short-circuit this test for compilers unknown to
5341 # Autoconf.
5342 for ac_file in $ac_files ''
5343 do
5344 test -f "$ac_file" || continue
5345 case $ac_file in
5346 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5347 ;;
5348 [ab].out )
5349 # We found the default executable, but exeext='' is most
5350 # certainly right.
5351 break;;
5352 *.* )
5353 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
5354 then :; else
5355 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5356 fi
5357 # We set ac_cv_exeext here because the later test for it is not
5358 # safe: cross compilers may not add the suffix if given an `-o'
5359 # argument, so we may need to know it at that point already.
5360 # Even if this section looks crufty: it has the advantage of
5361 # actually working.
5362 break;;
5363 * )
5364 break;;
5365 esac
5366 done
5367 test "$ac_cv_exeext" = no && ac_cv_exeext=
5368
5369 else
5370 ac_file=''
5371 fi
5372 if test -z "$ac_file"; then :
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5374 $as_echo "no" >&6; }
5375 $as_echo "$as_me: failed program was:" >&5
5376 sed 's/^/| /' conftest.$ac_ext >&5
5377
5378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5380 as_fn_error 77 "C compiler cannot create executables
5381 See \`config.log' for more details" "$LINENO" 5; }
5382 else
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5384 $as_echo "yes" >&6; }
5385 fi
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5387 $as_echo_n "checking for C compiler default output file name... " >&6; }
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5389 $as_echo "$ac_file" >&6; }
5390 ac_exeext=$ac_cv_exeext
5391
5392 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5393 ac_clean_files=$ac_clean_files_save
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5395 $as_echo_n "checking for suffix of executables... " >&6; }
5396 if { { ac_try="$ac_link"
5397 case "(($ac_try" in
5398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5399 *) ac_try_echo=$ac_try;;
5400 esac
5401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5402 $as_echo "$ac_try_echo"; } >&5
5403 (eval "$ac_link") 2>&5
5404 ac_status=$?
5405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5406 test $ac_status = 0; }; then :
5407 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5408 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5409 # work properly (i.e., refer to `conftest.exe'), while it won't with
5410 # `rm'.
5411 for ac_file in conftest.exe conftest conftest.*; do
5412 test -f "$ac_file" || continue
5413 case $ac_file in
5414 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5415 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5416 break;;
5417 * ) break;;
5418 esac
5419 done
5420 else
5421 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5423 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5424 See \`config.log' for more details" "$LINENO" 5; }
5425 fi
5426 rm -f conftest conftest$ac_cv_exeext
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5428 $as_echo "$ac_cv_exeext" >&6; }
5429
5430 rm -f conftest.$ac_ext
5431 EXEEXT=$ac_cv_exeext
5432 ac_exeext=$EXEEXT
5433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5434 /* end confdefs.h. */
5435 #include <stdio.h>
5436 int
5437 main ()
5438 {
5439 FILE *f = fopen ("conftest.out", "w");
5440 return ferror (f) || fclose (f) != 0;
5441
5442 ;
5443 return 0;
5444 }
5445 _ACEOF
5446 ac_clean_files="$ac_clean_files conftest.out"
5447 # Check that the compiler produces executables we can run. If not, either
5448 # the compiler is broken, or we cross compile.
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5450 $as_echo_n "checking whether we are cross compiling... " >&6; }
5451 if test "$cross_compiling" != yes; then
5452 { { ac_try="$ac_link"
5453 case "(($ac_try" in
5454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5455 *) ac_try_echo=$ac_try;;
5456 esac
5457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5458 $as_echo "$ac_try_echo"; } >&5
5459 (eval "$ac_link") 2>&5
5460 ac_status=$?
5461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5462 test $ac_status = 0; }
5463 if { ac_try='./conftest$ac_cv_exeext'
5464 { { case "(($ac_try" in
5465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5466 *) ac_try_echo=$ac_try;;
5467 esac
5468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5469 $as_echo "$ac_try_echo"; } >&5
5470 (eval "$ac_try") 2>&5
5471 ac_status=$?
5472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5473 test $ac_status = 0; }; }; then
5474 cross_compiling=no
5475 else
5476 if test "$cross_compiling" = maybe; then
5477 cross_compiling=yes
5478 else
5479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5481 as_fn_error $? "cannot run C compiled programs.
5482 If you meant to cross compile, use \`--host'.
5483 See \`config.log' for more details" "$LINENO" 5; }
5484 fi
5485 fi
5486 fi
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5488 $as_echo "$cross_compiling" >&6; }
5489
5490 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5491 ac_clean_files=$ac_clean_files_save
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5493 $as_echo_n "checking for suffix of object files... " >&6; }
5494 if ${ac_cv_objext+:} false; then :
5495 $as_echo_n "(cached) " >&6
5496 else
5497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5498 /* end confdefs.h. */
5499
5500 int
5501 main ()
5502 {
5503
5504 ;
5505 return 0;
5506 }
5507 _ACEOF
5508 rm -f conftest.o conftest.obj
5509 if { { ac_try="$ac_compile"
5510 case "(($ac_try" in
5511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5512 *) ac_try_echo=$ac_try;;
5513 esac
5514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5515 $as_echo "$ac_try_echo"; } >&5
5516 (eval "$ac_compile") 2>&5
5517 ac_status=$?
5518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5519 test $ac_status = 0; }; then :
5520 for ac_file in conftest.o conftest.obj conftest.*; do
5521 test -f "$ac_file" || continue;