revert between 56095 -> 55830 in arch
[AROS.git] / config / features
blobd8a88416b15cbefe1f26642fd19a6e83cafc1899
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
271 exit 1
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
289 { eval $1=; unset $1;}
291 as_unset=as_fn_unset
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
298 return $1
299 } # as_fn_set_status
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
342 /^X\(\/\/\)$/{
343 s//\1/
346 /^X\(\/\).*/{
347 s//\1/
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
357 } # as_fn_mkdir_p
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
375 eval $1+=\$2
377 else
378 as_fn_append ()
380 eval $1=\$$1\$2
382 fi # as_fn_append
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
392 as_val=$(( $* ))
394 else
395 as_fn_arith ()
397 as_val=`expr "$@" || test $? -eq 1`
399 fi # as_fn_arith
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
446 /^X\/\(\/\/\)$/{
447 s//\1/
450 /^X\/\(\/\).*/{
451 s//\1/
454 s/.*/./; q'`
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
477 :lineno
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
509 ECHO_N='-n';;
510 esac
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
533 else
534 as_ln_s='cp -pR'
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
559 # Name of the host.
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 # Initializations.
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
576 # Identity of this package.
577 PACKAGE_NAME=
578 PACKAGE_TARNAME=
579 PACKAGE_VERSION=
580 PACKAGE_STRING=
581 PACKAGE_BUGREPORT=
582 PACKAGE_URL=
584 ac_unique_file="../mmakefile"
585 ac_subst_vars='LTLIBOBJS
586 LIBOBJS
587 aros_toolchain_sysroot
588 aros_nowarnflags_int_in_bool_context
589 aros_warnflags_int_in_bool_context
590 aros_nowarnflags_class_memaccess
591 aros_warnflags_class_memaccess
592 aros_nowarnflags_missing_prototypes
593 aros_warnflags_missing_prototypes
594 aros_nowarnflags_implicit_fallthrough
595 aros_warnflags_implicit_fallthrough
596 aros_nowarnflags_missing_field_initializers
597 aros_warnflags_missing_field_initializers
598 aros_nowarnflags_shift_negative_value
599 aros_warnflags_shift_negative_value
600 aros_nowarnflags_stringop_truncation
601 aros_warnflags_stringop_truncation
602 aros_nowarnflags_format_truncation
603 aros_warnflags_format_truncation
604 aros_nowarnflags_stringop_overflow
605 aros_warnflags_stringop_overflow
606 aros_nowarnflags_format_overflow
607 aros_warnflags_format_overflow
608 aros_nowarnflags_empty_body
609 aros_warnflags_empty_body
610 aros_nowarnflags_tautological_compare
611 aros_warnflags_tautological_compare
612 aros_nowarnflags_lto_type_mismatch
613 aros_warnflags_lto_type_mismatch
614 aros_nowarnflags_format_zero_length
615 aros_warnflags_format_zero_length
616 aros_nowarnflags_return_type
617 aros_warnflags_return_type
618 aros_nowarnflags_sizeof_pointer_memaccess
619 aros_warnflags_sizeof_pointer_memaccess
620 aros_nowarnflags_volatile_register_var
621 aros_warnflags_volatile_register_var
622 aros_nowarnflags_narrowing
623 aros_warnflags_narrowing
624 aros_nowarnflags_conversion_null
625 aros_warnflags_conversion_null
626 aros_nowarnflags_missing_braces
627 aros_warnflags_missing_braces
628 aros_nowarnflags_unused_local_typedefs
629 aros_warnflags_unused_local_typedefs
630 aros_nowarnflags_overflow
631 aros_warnflags_overflow
632 aros_nowarnflags_attributes
633 aros_warnflags_attributes
634 aros_nowarnflags_sign_compare
635 aros_warnflags_sign_compare
636 aros_nowarnflags_deprecated_declarations
637 aros_warnflags_deprecated_declarations
638 aros_nowarnflags_frame_address
639 aros_warnflags_frame_address
640 aros_nowarnflags_shift_overflow
641 aros_warnflags_shift_overflow
642 aros_nowarnflags_pointer_sign
643 aros_warnflags_pointer_sign
644 aros_nowarnflags_logical_not_parentheses
645 aros_warnflags_logical_not_parentheses
646 aros_nowarnflags_bool_compare
647 aros_warnflags_bool_compare
648 aros_nowarnflags_incompatible_pointer_types
649 aros_warnflags_incompatible_pointer_types
650 aros_nowarnflags_comment
651 aros_warnflags_comment
652 aros_nowarnflags_write_strings
653 aros_warnflags_write_strings
654 aros_nowarnflags_unused_const_variable
655 aros_warnflags_unused_const_variable
656 aros_nowarnflags_pointer_to_int_cast
657 aros_warnflags_pointer_to_int_cast
658 aros_nowarnflags_int_to_pointer_cast
659 aros_warnflags_int_to_pointer_cast
660 aros_nowarnflags_int_conversion
661 aros_warnflags_int_conversion
662 aros_nowarnflags_discarded_array_qualifiers
663 aros_warnflags_discarded_array_qualifiers
664 aros_nowarnflags_unknown_pragmas
665 aros_warnflags_unknown_pragmas
666 aros_nowarnflags_sequence_point
667 aros_warnflags_sequence_point
668 aros_nowarnflags_discarded_qualifiers
669 aros_warnflags_discarded_qualifiers
670 aros_nowarnflags_switch
671 aros_warnflags_switch
672 aros_nowarnflags_cpp
673 aros_warnflags_cpp
674 aros_nowarnflags_aggressive_loop_optimizations
675 aros_warnflags_aggressive_loop_optimizations
676 aros_nowarnflags_implicit_int
677 aros_warnflags_implicit_int
678 aros_nowarnflags_format_contains_nul
679 aros_warnflags_format_contains_nul
680 aros_nowarnflags_endif_labels
681 aros_warnflags_endif_labels
682 aros_nowarnflags_char_subscripts
683 aros_warnflags_char_subscripts
684 aros_nowarnflags_parentheses
685 aros_warnflags_parentheses
686 aros_nowarnflags_format
687 aros_warnflags_format
688 aros_nowarnflags_implicit_function_declaration
689 aros_warnflags_implicit_function_declaration
690 aros_nowarnflags_maybe_uninitialized
691 aros_warnflags_maybe_uninitialized
692 aros_nowarnflags_uninitialized
693 aros_warnflags_uninitialized
694 aros_nowarnflags_unused_parameter
695 aros_warnflags_unused_parameter
696 aros_nowarnflags_unused_function
697 aros_warnflags_unused_function
698 aros_nowarnflags_unused_variable
699 aros_warnflags_unused_variable
700 aros_nowarnflags_unused_value
701 aros_warnflags_unused_value
702 aros_nowarnflags_unused_label
703 aros_warnflags_unused_label
704 aros_nowarnflags_unused
705 aros_warnflags_unused
706 aros_nowarnflags_nonnull_compare
707 aros_warnflags_nonnull_compare
708 aros_nowarnflags_misleading_indentation
709 aros_warnflags_misleading_indentation
710 aros_nowarnflags_format_security
711 aros_warnflags_format_security
712 aros_nowarnflags_strict_overflow
713 aros_warnflags_strict_overflow
714 aros_nowarnflags_strict_prototypes
715 aros_warnflags_strict_prototypes
716 aros_nowarnflags_enum_compare
717 aros_warnflags_enum_compare
718 aros_nowarnflags_array_bounds
719 aros_warnflags_array_bounds
720 aros_nowarnflags_strict_aliasing
721 aros_warnflags_strict_aliasing
722 aros_nowarnflags_unused_but_set_variable
723 aros_warnflags_unused_but_set_variable
724 aros_nowarnflags_unknown_warning_option
725 aros_warnflags_unknown_warning_option
726 aros_nowarnflags_unused_command_line_argument
727 aros_warnflags_unused_command_line_argument
728 aros_nowarnflags_restrict
729 aros_warnflags_restrict
730 aros_warnflags_all
731 aros_nowarnflags_error
732 aros_warnflags_error
733 aros_cflags_no_ms_bitfields
734 aros_cflags_ms_bitfields
735 aros_cflags_no_red_zone
736 aros_cflags_red_zone
737 aros_cflags_iquote_end
738 aros_cflags_iquote
739 aros_cflags_isystem_end
740 aros_cflags_isystem
741 aros_cflags_no_asynchronous_unwind_tables
742 aros_cflags_asynchronous_unwind_tables
743 aros_cflags_no_freestanding
744 aros_cflags_freestanding
745 aros_cflags_no_builtin_vsnprintf
746 aros_cflags_no_builtin_floor
747 aros_cflags_no_builtin
748 aros_cflags_builtin
749 aros_cflags_noalignednew
750 aros_cflags_alignednew
751 aros_cflags_noinstrfuncs
752 aros_cflags_instrfuncs
753 aros_cflags_notestcoverage
754 aros_cflags_testcoverage
755 aros_cflags_noprofilearcs
756 aros_cflags_profilearcs
757 aros_cflags_noomitfp
758 aros_cflags_omitfp
759 aros_cflags_noipacp
760 aros_cflags_ipacp
761 aros_cflags_noinlinesmallfunctions
762 aros_cflags_inlinesmallfunctions
763 aros_cflags_nostrictaliasing
764 aros_cflags_strictaliasing
765 aros_cflags_unroll_loops
766 aros_cflags_peel_loops
767 aros_cflags_loop_strip_mine
768 aros_cflags_loop_interchange
769 aros_cflags_loop_block
770 aros_cflags_whole_program
771 aros_cflags_nolto
772 aros_cflags_lto
773 aros_cflags_fast_math
774 aros_cxxflags_nortti
775 aros_cxxflags_rtti
776 aros_cxxflags_nopermissive
777 aros_cxxflags_permissive
778 aros_cflags_noexceptions
779 aros_cflags_exceptions
780 ac_ct_CXX
781 CXXFLAGS
783 OBJEXT
784 EXEEXT
785 ac_ct_CC
786 CPPFLAGS
787 LDFLAGS
788 CFLAGS
790 target_alias
791 host_alias
792 build_alias
793 LIBS
794 ECHO_T
795 ECHO_N
796 ECHO_C
797 DEFS
798 mandir
799 localedir
800 libdir
801 psdir
802 pdfdir
803 dvidir
804 htmldir
805 infodir
806 docdir
807 oldincludedir
808 includedir
809 runstatedir
810 localstatedir
811 sharedstatedir
812 sysconfdir
813 datadir
814 datarootdir
815 libexecdir
816 sbindir
817 bindir
818 program_transform_name
819 prefix
820 exec_prefix
821 PACKAGE_URL
822 PACKAGE_BUGREPORT
823 PACKAGE_STRING
824 PACKAGE_VERSION
825 PACKAGE_TARNAME
826 PACKAGE_NAME
827 PATH_SEPARATOR
828 SHELL'
829 ac_subst_files=''
830 ac_user_opts='
831 enable_option_checking
832 with_config_dir
834 ac_precious_vars='build_alias
835 host_alias
836 target_alias
838 CFLAGS
839 LDFLAGS
840 LIBS
841 CPPFLAGS
843 CXXFLAGS
844 CCC'
847 # Initialize some variables set by options.
848 ac_init_help=
849 ac_init_version=false
850 ac_unrecognized_opts=
851 ac_unrecognized_sep=
852 # The variables have the same names as the options, with
853 # dashes changed to underlines.
854 cache_file=/dev/null
855 exec_prefix=NONE
856 no_create=
857 no_recursion=
858 prefix=NONE
859 program_prefix=NONE
860 program_suffix=NONE
861 program_transform_name=s,x,x,
862 silent=
863 site=
864 srcdir=
865 verbose=
866 x_includes=NONE
867 x_libraries=NONE
869 # Installation directory options.
870 # These are left unexpanded so users can "make install exec_prefix=/foo"
871 # and all the variables that are supposed to be based on exec_prefix
872 # by default will actually change.
873 # Use braces instead of parens because sh, perl, etc. also accept them.
874 # (The list follows the same order as the GNU Coding Standards.)
875 bindir='${exec_prefix}/bin'
876 sbindir='${exec_prefix}/sbin'
877 libexecdir='${exec_prefix}/libexec'
878 datarootdir='${prefix}/share'
879 datadir='${datarootdir}'
880 sysconfdir='${prefix}/etc'
881 sharedstatedir='${prefix}/com'
882 localstatedir='${prefix}/var'
883 runstatedir='${localstatedir}/run'
884 includedir='${prefix}/include'
885 oldincludedir='/usr/include'
886 docdir='${datarootdir}/doc/${PACKAGE}'
887 infodir='${datarootdir}/info'
888 htmldir='${docdir}'
889 dvidir='${docdir}'
890 pdfdir='${docdir}'
891 psdir='${docdir}'
892 libdir='${exec_prefix}/lib'
893 localedir='${datarootdir}/locale'
894 mandir='${datarootdir}/man'
896 ac_prev=
897 ac_dashdash=
898 for ac_option
900 # If the previous option needs an argument, assign it.
901 if test -n "$ac_prev"; then
902 eval $ac_prev=\$ac_option
903 ac_prev=
904 continue
907 case $ac_option in
908 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
909 *=) ac_optarg= ;;
910 *) ac_optarg=yes ;;
911 esac
913 # Accept the important Cygnus configure options, so we can diagnose typos.
915 case $ac_dashdash$ac_option in
917 ac_dashdash=yes ;;
919 -bindir | --bindir | --bindi | --bind | --bin | --bi)
920 ac_prev=bindir ;;
921 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
922 bindir=$ac_optarg ;;
924 -build | --build | --buil | --bui | --bu)
925 ac_prev=build_alias ;;
926 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
927 build_alias=$ac_optarg ;;
929 -cache-file | --cache-file | --cache-fil | --cache-fi \
930 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
931 ac_prev=cache_file ;;
932 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
933 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
934 cache_file=$ac_optarg ;;
936 --config-cache | -C)
937 cache_file=config.cache ;;
939 -datadir | --datadir | --datadi | --datad)
940 ac_prev=datadir ;;
941 -datadir=* | --datadir=* | --datadi=* | --datad=*)
942 datadir=$ac_optarg ;;
944 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
945 | --dataroo | --dataro | --datar)
946 ac_prev=datarootdir ;;
947 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
948 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
949 datarootdir=$ac_optarg ;;
951 -disable-* | --disable-*)
952 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
953 # Reject names that are not valid shell variable names.
954 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
955 as_fn_error $? "invalid feature name: $ac_useropt"
956 ac_useropt_orig=$ac_useropt
957 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
958 case $ac_user_opts in
960 "enable_$ac_useropt"
961 "*) ;;
962 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
963 ac_unrecognized_sep=', ';;
964 esac
965 eval enable_$ac_useropt=no ;;
967 -docdir | --docdir | --docdi | --doc | --do)
968 ac_prev=docdir ;;
969 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
970 docdir=$ac_optarg ;;
972 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
973 ac_prev=dvidir ;;
974 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
975 dvidir=$ac_optarg ;;
977 -enable-* | --enable-*)
978 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
979 # Reject names that are not valid shell variable names.
980 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
981 as_fn_error $? "invalid feature name: $ac_useropt"
982 ac_useropt_orig=$ac_useropt
983 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
984 case $ac_user_opts in
986 "enable_$ac_useropt"
987 "*) ;;
988 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
989 ac_unrecognized_sep=', ';;
990 esac
991 eval enable_$ac_useropt=\$ac_optarg ;;
993 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
994 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
995 | --exec | --exe | --ex)
996 ac_prev=exec_prefix ;;
997 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
998 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
999 | --exec=* | --exe=* | --ex=*)
1000 exec_prefix=$ac_optarg ;;
1002 -gas | --gas | --ga | --g)
1003 # Obsolete; use --with-gas.
1004 with_gas=yes ;;
1006 -help | --help | --hel | --he | -h)
1007 ac_init_help=long ;;
1008 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1009 ac_init_help=recursive ;;
1010 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1011 ac_init_help=short ;;
1013 -host | --host | --hos | --ho)
1014 ac_prev=host_alias ;;
1015 -host=* | --host=* | --hos=* | --ho=*)
1016 host_alias=$ac_optarg ;;
1018 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1019 ac_prev=htmldir ;;
1020 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1021 | --ht=*)
1022 htmldir=$ac_optarg ;;
1024 -includedir | --includedir | --includedi | --included | --include \
1025 | --includ | --inclu | --incl | --inc)
1026 ac_prev=includedir ;;
1027 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1028 | --includ=* | --inclu=* | --incl=* | --inc=*)
1029 includedir=$ac_optarg ;;
1031 -infodir | --infodir | --infodi | --infod | --info | --inf)
1032 ac_prev=infodir ;;
1033 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1034 infodir=$ac_optarg ;;
1036 -libdir | --libdir | --libdi | --libd)
1037 ac_prev=libdir ;;
1038 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1039 libdir=$ac_optarg ;;
1041 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1042 | --libexe | --libex | --libe)
1043 ac_prev=libexecdir ;;
1044 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1045 | --libexe=* | --libex=* | --libe=*)
1046 libexecdir=$ac_optarg ;;
1048 -localedir | --localedir | --localedi | --localed | --locale)
1049 ac_prev=localedir ;;
1050 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1051 localedir=$ac_optarg ;;
1053 -localstatedir | --localstatedir | --localstatedi | --localstated \
1054 | --localstate | --localstat | --localsta | --localst | --locals)
1055 ac_prev=localstatedir ;;
1056 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1057 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1058 localstatedir=$ac_optarg ;;
1060 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1061 ac_prev=mandir ;;
1062 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1063 mandir=$ac_optarg ;;
1065 -nfp | --nfp | --nf)
1066 # Obsolete; use --without-fp.
1067 with_fp=no ;;
1069 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1070 | --no-cr | --no-c | -n)
1071 no_create=yes ;;
1073 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1074 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1075 no_recursion=yes ;;
1077 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1078 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1079 | --oldin | --oldi | --old | --ol | --o)
1080 ac_prev=oldincludedir ;;
1081 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1082 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1083 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1084 oldincludedir=$ac_optarg ;;
1086 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1087 ac_prev=prefix ;;
1088 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1089 prefix=$ac_optarg ;;
1091 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1092 | --program-pre | --program-pr | --program-p)
1093 ac_prev=program_prefix ;;
1094 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1095 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1096 program_prefix=$ac_optarg ;;
1098 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1099 | --program-suf | --program-su | --program-s)
1100 ac_prev=program_suffix ;;
1101 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1102 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1103 program_suffix=$ac_optarg ;;
1105 -program-transform-name | --program-transform-name \
1106 | --program-transform-nam | --program-transform-na \
1107 | --program-transform-n | --program-transform- \
1108 | --program-transform | --program-transfor \
1109 | --program-transfo | --program-transf \
1110 | --program-trans | --program-tran \
1111 | --progr-tra | --program-tr | --program-t)
1112 ac_prev=program_transform_name ;;
1113 -program-transform-name=* | --program-transform-name=* \
1114 | --program-transform-nam=* | --program-transform-na=* \
1115 | --program-transform-n=* | --program-transform-=* \
1116 | --program-transform=* | --program-transfor=* \
1117 | --program-transfo=* | --program-transf=* \
1118 | --program-trans=* | --program-tran=* \
1119 | --progr-tra=* | --program-tr=* | --program-t=*)
1120 program_transform_name=$ac_optarg ;;
1122 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1123 ac_prev=pdfdir ;;
1124 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1125 pdfdir=$ac_optarg ;;
1127 -psdir | --psdir | --psdi | --psd | --ps)
1128 ac_prev=psdir ;;
1129 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1130 psdir=$ac_optarg ;;
1132 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1133 | -silent | --silent | --silen | --sile | --sil)
1134 silent=yes ;;
1136 -runstatedir | --runstatedir | --runstatedi | --runstated \
1137 | --runstate | --runstat | --runsta | --runst | --runs \
1138 | --run | --ru | --r)
1139 ac_prev=runstatedir ;;
1140 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1141 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1142 | --run=* | --ru=* | --r=*)
1143 runstatedir=$ac_optarg ;;
1145 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1146 ac_prev=sbindir ;;
1147 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1148 | --sbi=* | --sb=*)
1149 sbindir=$ac_optarg ;;
1151 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1152 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1153 | --sharedst | --shareds | --shared | --share | --shar \
1154 | --sha | --sh)
1155 ac_prev=sharedstatedir ;;
1156 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1157 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1158 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1159 | --sha=* | --sh=*)
1160 sharedstatedir=$ac_optarg ;;
1162 -site | --site | --sit)
1163 ac_prev=site ;;
1164 -site=* | --site=* | --sit=*)
1165 site=$ac_optarg ;;
1167 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1168 ac_prev=srcdir ;;
1169 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1170 srcdir=$ac_optarg ;;
1172 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1173 | --syscon | --sysco | --sysc | --sys | --sy)
1174 ac_prev=sysconfdir ;;
1175 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1176 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1177 sysconfdir=$ac_optarg ;;
1179 -target | --target | --targe | --targ | --tar | --ta | --t)
1180 ac_prev=target_alias ;;
1181 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1182 target_alias=$ac_optarg ;;
1184 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1185 verbose=yes ;;
1187 -version | --version | --versio | --versi | --vers | -V)
1188 ac_init_version=: ;;
1190 -with-* | --with-*)
1191 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1194 as_fn_error $? "invalid package name: $ac_useropt"
1195 ac_useropt_orig=$ac_useropt
1196 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1199 "with_$ac_useropt"
1200 "*) ;;
1201 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1202 ac_unrecognized_sep=', ';;
1203 esac
1204 eval with_$ac_useropt=\$ac_optarg ;;
1206 -without-* | --without-*)
1207 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1208 # Reject names that are not valid shell variable names.
1209 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1210 as_fn_error $? "invalid package name: $ac_useropt"
1211 ac_useropt_orig=$ac_useropt
1212 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1213 case $ac_user_opts in
1215 "with_$ac_useropt"
1216 "*) ;;
1217 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1218 ac_unrecognized_sep=', ';;
1219 esac
1220 eval with_$ac_useropt=no ;;
1222 --x)
1223 # Obsolete; use --with-x.
1224 with_x=yes ;;
1226 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1227 | --x-incl | --x-inc | --x-in | --x-i)
1228 ac_prev=x_includes ;;
1229 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1230 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1231 x_includes=$ac_optarg ;;
1233 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1234 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1235 ac_prev=x_libraries ;;
1236 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1237 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1238 x_libraries=$ac_optarg ;;
1240 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1241 Try \`$0 --help' for more information"
1244 *=*)
1245 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1246 # Reject names that are not valid shell variable names.
1247 case $ac_envvar in #(
1248 '' | [0-9]* | *[!_$as_cr_alnum]* )
1249 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1250 esac
1251 eval $ac_envvar=\$ac_optarg
1252 export $ac_envvar ;;
1255 # FIXME: should be removed in autoconf 3.0.
1256 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1257 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1258 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1259 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1262 esac
1263 done
1265 if test -n "$ac_prev"; then
1266 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1267 as_fn_error $? "missing argument to $ac_option"
1270 if test -n "$ac_unrecognized_opts"; then
1271 case $enable_option_checking in
1272 no) ;;
1273 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1274 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1275 esac
1278 # Check all directory arguments for consistency.
1279 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1280 datadir sysconfdir sharedstatedir localstatedir includedir \
1281 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1282 libdir localedir mandir runstatedir
1284 eval ac_val=\$$ac_var
1285 # Remove trailing slashes.
1286 case $ac_val in
1287 */ )
1288 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1289 eval $ac_var=\$ac_val;;
1290 esac
1291 # Be sure to have absolute directory names.
1292 case $ac_val in
1293 [\\/$]* | ?:[\\/]* ) continue;;
1294 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1295 esac
1296 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1297 done
1299 # There might be people who depend on the old broken behavior: `$host'
1300 # used to hold the argument of --host etc.
1301 # FIXME: To remove some day.
1302 build=$build_alias
1303 host=$host_alias
1304 target=$target_alias
1306 # FIXME: To remove some day.
1307 if test "x$host_alias" != x; then
1308 if test "x$build_alias" = x; then
1309 cross_compiling=maybe
1310 elif test "x$build_alias" != "x$host_alias"; then
1311 cross_compiling=yes
1315 ac_tool_prefix=
1316 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1318 test "$silent" = yes && exec 6>/dev/null
1321 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1322 ac_ls_di=`ls -di .` &&
1323 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1324 as_fn_error $? "working directory cannot be determined"
1325 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1326 as_fn_error $? "pwd does not report name of working directory"
1329 # Find the source files, if location was not specified.
1330 if test -z "$srcdir"; then
1331 ac_srcdir_defaulted=yes
1332 # Try the directory containing this script, then the parent directory.
1333 ac_confdir=`$as_dirname -- "$as_myself" ||
1334 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1335 X"$as_myself" : 'X\(//\)[^/]' \| \
1336 X"$as_myself" : 'X\(//\)$' \| \
1337 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1338 $as_echo X"$as_myself" |
1339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1340 s//\1/
1343 /^X\(\/\/\)[^/].*/{
1344 s//\1/
1347 /^X\(\/\/\)$/{
1348 s//\1/
1351 /^X\(\/\).*/{
1352 s//\1/
1355 s/.*/./; q'`
1356 srcdir=$ac_confdir
1357 if test ! -r "$srcdir/$ac_unique_file"; then
1358 srcdir=..
1360 else
1361 ac_srcdir_defaulted=no
1363 if test ! -r "$srcdir/$ac_unique_file"; then
1364 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1365 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1367 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1368 ac_abs_confdir=`(
1369 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1370 pwd)`
1371 # When building in place, set srcdir=.
1372 if test "$ac_abs_confdir" = "$ac_pwd"; then
1373 srcdir=.
1375 # Remove unnecessary trailing slashes from srcdir.
1376 # Double slashes in file names in object file debugging info
1377 # mess up M-x gdb in Emacs.
1378 case $srcdir in
1379 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1380 esac
1381 for ac_var in $ac_precious_vars; do
1382 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1383 eval ac_env_${ac_var}_value=\$${ac_var}
1384 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1385 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1386 done
1389 # Report the --help message.
1391 if test "$ac_init_help" = "long"; then
1392 # Omit some internal or obsolete options to make the list less imposing.
1393 # This message is too long to be a string in the A/UX 3.1 sh.
1394 cat <<_ACEOF
1395 \`configure' configures this package to adapt to many kinds of systems.
1397 Usage: $0 [OPTION]... [VAR=VALUE]...
1399 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1400 VAR=VALUE. See below for descriptions of some of the useful variables.
1402 Defaults for the options are specified in brackets.
1404 Configuration:
1405 -h, --help display this help and exit
1406 --help=short display options specific to this package
1407 --help=recursive display the short help of all the included packages
1408 -V, --version display version information and exit
1409 -q, --quiet, --silent do not print \`checking ...' messages
1410 --cache-file=FILE cache test results in FILE [disabled]
1411 -C, --config-cache alias for \`--cache-file=config.cache'
1412 -n, --no-create do not create output files
1413 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1415 Installation directories:
1416 --prefix=PREFIX install architecture-independent files in PREFIX
1417 [$ac_default_prefix]
1418 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1419 [PREFIX]
1421 By default, \`make install' will install all the files in
1422 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1423 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1424 for instance \`--prefix=\$HOME'.
1426 For better control, use the options below.
1428 Fine tuning of the installation directories:
1429 --bindir=DIR user executables [EPREFIX/bin]
1430 --sbindir=DIR system admin executables [EPREFIX/sbin]
1431 --libexecdir=DIR program executables [EPREFIX/libexec]
1432 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1433 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1434 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1435 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1436 --libdir=DIR object code libraries [EPREFIX/lib]
1437 --includedir=DIR C header files [PREFIX/include]
1438 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1439 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1440 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1441 --infodir=DIR info documentation [DATAROOTDIR/info]
1442 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1443 --mandir=DIR man documentation [DATAROOTDIR/man]
1444 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1445 --htmldir=DIR html documentation [DOCDIR]
1446 --dvidir=DIR dvi documentation [DOCDIR]
1447 --pdfdir=DIR pdf documentation [DOCDIR]
1448 --psdir=DIR ps documentation [DOCDIR]
1449 _ACEOF
1451 cat <<\_ACEOF
1452 _ACEOF
1455 if test -n "$ac_init_help"; then
1457 cat <<\_ACEOF
1459 Optional Packages:
1460 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1461 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1462 --with-config-dir=VERSION
1463 Location of generated target config files
1465 Some influential environment variables:
1466 CC C compiler command
1467 CFLAGS C compiler flags
1468 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1469 nonstandard directory <lib dir>
1470 LIBS libraries to pass to the linker, e.g. -l<library>
1471 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1472 you have headers in a nonstandard directory <include dir>
1473 CXX C++ compiler command
1474 CXXFLAGS C++ compiler flags
1476 Use these variables to override the choices made by `configure' or to help
1477 it to find libraries and programs with nonstandard names/locations.
1479 Report bugs to the package provider.
1480 _ACEOF
1481 ac_status=$?
1484 if test "$ac_init_help" = "recursive"; then
1485 # If there are subdirs, report their specific --help.
1486 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1487 test -d "$ac_dir" ||
1488 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1489 continue
1490 ac_builddir=.
1492 case "$ac_dir" in
1493 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1495 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1496 # A ".." for each directory in $ac_dir_suffix.
1497 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1498 case $ac_top_builddir_sub in
1499 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1500 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1501 esac ;;
1502 esac
1503 ac_abs_top_builddir=$ac_pwd
1504 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1505 # for backward compatibility:
1506 ac_top_builddir=$ac_top_build_prefix
1508 case $srcdir in
1509 .) # We are building in place.
1510 ac_srcdir=.
1511 ac_top_srcdir=$ac_top_builddir_sub
1512 ac_abs_top_srcdir=$ac_pwd ;;
1513 [\\/]* | ?:[\\/]* ) # Absolute name.
1514 ac_srcdir=$srcdir$ac_dir_suffix;
1515 ac_top_srcdir=$srcdir
1516 ac_abs_top_srcdir=$srcdir ;;
1517 *) # Relative name.
1518 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1519 ac_top_srcdir=$ac_top_build_prefix$srcdir
1520 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1521 esac
1522 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1524 cd "$ac_dir" || { ac_status=$?; continue; }
1525 # Check for guested configure.
1526 if test -f "$ac_srcdir/configure.gnu"; then
1527 echo &&
1528 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1529 elif test -f "$ac_srcdir/configure"; then
1530 echo &&
1531 $SHELL "$ac_srcdir/configure" --help=recursive
1532 else
1533 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1534 fi || ac_status=$?
1535 cd "$ac_pwd" || { ac_status=$?; break; }
1536 done
1539 test -n "$ac_init_help" && exit $ac_status
1540 if $ac_init_version; then
1541 cat <<\_ACEOF
1542 configure
1543 generated by GNU Autoconf 2.69
1545 Copyright (C) 2012 Free Software Foundation, Inc.
1546 This configure script is free software; the Free Software Foundation
1547 gives unlimited permission to copy, distribute and modify it.
1548 _ACEOF
1549 exit
1552 ## ------------------------ ##
1553 ## Autoconf initialization. ##
1554 ## ------------------------ ##
1556 # ac_fn_c_try_compile LINENO
1557 # --------------------------
1558 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1559 ac_fn_c_try_compile ()
1561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1562 rm -f conftest.$ac_objext
1563 if { { ac_try="$ac_compile"
1564 case "(($ac_try" in
1565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1566 *) ac_try_echo=$ac_try;;
1567 esac
1568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569 $as_echo "$ac_try_echo"; } >&5
1570 (eval "$ac_compile") 2>conftest.err
1571 ac_status=$?
1572 if test -s conftest.err; then
1573 grep -v '^ *+' conftest.err >conftest.er1
1574 cat conftest.er1 >&5
1575 mv -f conftest.er1 conftest.err
1577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578 test $ac_status = 0; } && {
1579 test -z "$ac_c_werror_flag" ||
1580 test ! -s conftest.err
1581 } && test -s conftest.$ac_objext; then :
1582 ac_retval=0
1583 else
1584 $as_echo "$as_me: failed program was:" >&5
1585 sed 's/^/| /' conftest.$ac_ext >&5
1587 ac_retval=1
1589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1590 as_fn_set_status $ac_retval
1592 } # ac_fn_c_try_compile
1594 # ac_fn_cxx_try_compile LINENO
1595 # ----------------------------
1596 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1597 ac_fn_cxx_try_compile ()
1599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600 rm -f conftest.$ac_objext
1601 if { { ac_try="$ac_compile"
1602 case "(($ac_try" in
1603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1604 *) ac_try_echo=$ac_try;;
1605 esac
1606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1607 $as_echo "$ac_try_echo"; } >&5
1608 (eval "$ac_compile") 2>conftest.err
1609 ac_status=$?
1610 if test -s conftest.err; then
1611 grep -v '^ *+' conftest.err >conftest.er1
1612 cat conftest.er1 >&5
1613 mv -f conftest.er1 conftest.err
1615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1616 test $ac_status = 0; } && {
1617 test -z "$ac_cxx_werror_flag" ||
1618 test ! -s conftest.err
1619 } && test -s conftest.$ac_objext; then :
1620 ac_retval=0
1621 else
1622 $as_echo "$as_me: failed program was:" >&5
1623 sed 's/^/| /' conftest.$ac_ext >&5
1625 ac_retval=1
1627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1628 as_fn_set_status $ac_retval
1630 } # ac_fn_cxx_try_compile
1631 cat >config.log <<_ACEOF
1632 This file contains any messages produced by compilers while
1633 running configure, to aid debugging if configure makes a mistake.
1635 It was created by $as_me, which was
1636 generated by GNU Autoconf 2.69. Invocation command line was
1638 $ $0 $@
1640 _ACEOF
1641 exec 5>>config.log
1643 cat <<_ASUNAME
1644 ## --------- ##
1645 ## Platform. ##
1646 ## --------- ##
1648 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1649 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1650 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1651 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1652 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1654 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1655 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1657 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1658 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1659 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1660 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1661 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1662 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1663 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1665 _ASUNAME
1667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1668 for as_dir in $PATH
1670 IFS=$as_save_IFS
1671 test -z "$as_dir" && as_dir=.
1672 $as_echo "PATH: $as_dir"
1673 done
1674 IFS=$as_save_IFS
1676 } >&5
1678 cat >&5 <<_ACEOF
1681 ## ----------- ##
1682 ## Core tests. ##
1683 ## ----------- ##
1685 _ACEOF
1688 # Keep a trace of the command line.
1689 # Strip out --no-create and --no-recursion so they do not pile up.
1690 # Strip out --silent because we don't want to record it for future runs.
1691 # Also quote any args containing shell meta-characters.
1692 # Make two passes to allow for proper duplicate-argument suppression.
1693 ac_configure_args=
1694 ac_configure_args0=
1695 ac_configure_args1=
1696 ac_must_keep_next=false
1697 for ac_pass in 1 2
1699 for ac_arg
1701 case $ac_arg in
1702 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1703 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1704 | -silent | --silent | --silen | --sile | --sil)
1705 continue ;;
1706 *\'*)
1707 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1708 esac
1709 case $ac_pass in
1710 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1712 as_fn_append ac_configure_args1 " '$ac_arg'"
1713 if test $ac_must_keep_next = true; then
1714 ac_must_keep_next=false # Got value, back to normal.
1715 else
1716 case $ac_arg in
1717 *=* | --config-cache | -C | -disable-* | --disable-* \
1718 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1719 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1720 | -with-* | --with-* | -without-* | --without-* | --x)
1721 case "$ac_configure_args0 " in
1722 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1723 esac
1725 -* ) ac_must_keep_next=true ;;
1726 esac
1728 as_fn_append ac_configure_args " '$ac_arg'"
1730 esac
1731 done
1732 done
1733 { ac_configure_args0=; unset ac_configure_args0;}
1734 { ac_configure_args1=; unset ac_configure_args1;}
1736 # When interrupted or exit'd, cleanup temporary files, and complete
1737 # config.log. We remove comments because anyway the quotes in there
1738 # would cause problems or look ugly.
1739 # WARNING: Use '\'' to represent an apostrophe within the trap.
1740 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1741 trap 'exit_status=$?
1742 # Save into config.log some information that might help in debugging.
1744 echo
1746 $as_echo "## ---------------- ##
1747 ## Cache variables. ##
1748 ## ---------------- ##"
1749 echo
1750 # The following way of writing the cache mishandles newlines in values,
1752 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1753 eval ac_val=\$$ac_var
1754 case $ac_val in #(
1755 *${as_nl}*)
1756 case $ac_var in #(
1757 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1758 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1759 esac
1760 case $ac_var in #(
1761 _ | IFS | as_nl) ;; #(
1762 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1763 *) { eval $ac_var=; unset $ac_var;} ;;
1764 esac ;;
1765 esac
1766 done
1767 (set) 2>&1 |
1768 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1769 *${as_nl}ac_space=\ *)
1770 sed -n \
1771 "s/'\''/'\''\\\\'\'''\''/g;
1772 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1773 ;; #(
1775 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1777 esac |
1778 sort
1780 echo
1782 $as_echo "## ----------------- ##
1783 ## Output variables. ##
1784 ## ----------------- ##"
1785 echo
1786 for ac_var in $ac_subst_vars
1788 eval ac_val=\$$ac_var
1789 case $ac_val in
1790 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1791 esac
1792 $as_echo "$ac_var='\''$ac_val'\''"
1793 done | sort
1794 echo
1796 if test -n "$ac_subst_files"; then
1797 $as_echo "## ------------------- ##
1798 ## File substitutions. ##
1799 ## ------------------- ##"
1800 echo
1801 for ac_var in $ac_subst_files
1803 eval ac_val=\$$ac_var
1804 case $ac_val in
1805 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1806 esac
1807 $as_echo "$ac_var='\''$ac_val'\''"
1808 done | sort
1809 echo
1812 if test -s confdefs.h; then
1813 $as_echo "## ----------- ##
1814 ## confdefs.h. ##
1815 ## ----------- ##"
1816 echo
1817 cat confdefs.h
1818 echo
1820 test "$ac_signal" != 0 &&
1821 $as_echo "$as_me: caught signal $ac_signal"
1822 $as_echo "$as_me: exit $exit_status"
1823 } >&5
1824 rm -f core *.core core.conftest.* &&
1825 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1826 exit $exit_status
1828 for ac_signal in 1 2 13 15; do
1829 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1830 done
1831 ac_signal=0
1833 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1834 rm -f -r conftest* confdefs.h
1836 $as_echo "/* confdefs.h */" > confdefs.h
1838 # Predefined preprocessor variables.
1840 cat >>confdefs.h <<_ACEOF
1841 #define PACKAGE_NAME "$PACKAGE_NAME"
1842 _ACEOF
1844 cat >>confdefs.h <<_ACEOF
1845 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1846 _ACEOF
1848 cat >>confdefs.h <<_ACEOF
1849 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1850 _ACEOF
1852 cat >>confdefs.h <<_ACEOF
1853 #define PACKAGE_STRING "$PACKAGE_STRING"
1854 _ACEOF
1856 cat >>confdefs.h <<_ACEOF
1857 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1858 _ACEOF
1860 cat >>confdefs.h <<_ACEOF
1861 #define PACKAGE_URL "$PACKAGE_URL"
1862 _ACEOF
1865 # Let the site file select an alternate cache file if it wants to.
1866 # Prefer an explicitly selected file to automatically selected ones.
1867 ac_site_file1=NONE
1868 ac_site_file2=NONE
1869 if test -n "$CONFIG_SITE"; then
1870 # We do not want a PATH search for config.site.
1871 case $CONFIG_SITE in #((
1872 -*) ac_site_file1=./$CONFIG_SITE;;
1873 */*) ac_site_file1=$CONFIG_SITE;;
1874 *) ac_site_file1=./$CONFIG_SITE;;
1875 esac
1876 elif test "x$prefix" != xNONE; then
1877 ac_site_file1=$prefix/share/config.site
1878 ac_site_file2=$prefix/etc/config.site
1879 else
1880 ac_site_file1=$ac_default_prefix/share/config.site
1881 ac_site_file2=$ac_default_prefix/etc/config.site
1883 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1885 test "x$ac_site_file" = xNONE && continue
1886 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1888 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1889 sed 's/^/| /' "$ac_site_file" >&5
1890 . "$ac_site_file" \
1891 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1893 as_fn_error $? "failed to load site script $ac_site_file
1894 See \`config.log' for more details" "$LINENO" 5; }
1896 done
1898 if test -r "$cache_file"; then
1899 # Some versions of bash will fail to source /dev/null (special files
1900 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1901 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1903 $as_echo "$as_me: loading cache $cache_file" >&6;}
1904 case $cache_file in
1905 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1906 *) . "./$cache_file";;
1907 esac
1909 else
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1911 $as_echo "$as_me: creating cache $cache_file" >&6;}
1912 >$cache_file
1915 # Check that the precious variables saved in the cache have kept the same
1916 # value.
1917 ac_cache_corrupted=false
1918 for ac_var in $ac_precious_vars; do
1919 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1920 eval ac_new_set=\$ac_env_${ac_var}_set
1921 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1922 eval ac_new_val=\$ac_env_${ac_var}_value
1923 case $ac_old_set,$ac_new_set in
1924 set,)
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1926 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1927 ac_cache_corrupted=: ;;
1928 ,set)
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1930 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1931 ac_cache_corrupted=: ;;
1932 ,);;
1934 if test "x$ac_old_val" != "x$ac_new_val"; then
1935 # differences in whitespace do not lead to failure.
1936 ac_old_val_w=`echo x $ac_old_val`
1937 ac_new_val_w=`echo x $ac_new_val`
1938 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1940 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1941 ac_cache_corrupted=:
1942 else
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1944 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1945 eval $ac_var=\$ac_old_val
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1948 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1950 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1951 fi;;
1952 esac
1953 # Pass precious variables to config.status.
1954 if test "$ac_new_set" = set; then
1955 case $ac_new_val in
1956 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1957 *) ac_arg=$ac_var=$ac_new_val ;;
1958 esac
1959 case " $ac_configure_args " in
1960 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1961 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1962 esac
1964 done
1965 if $ac_cache_corrupted; then
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1969 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1970 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1972 ## -------------------- ##
1973 ## Main body of script. ##
1974 ## -------------------- ##
1976 ac_ext=c
1977 ac_cpp='$CPP $CPPFLAGS'
1978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1984 ac_aux_dir=
1985 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1986 if test -f "$ac_dir/install-sh"; then
1987 ac_aux_dir=$ac_dir
1988 ac_install_sh="$ac_aux_dir/install-sh -c"
1989 break
1990 elif test -f "$ac_dir/install.sh"; then
1991 ac_aux_dir=$ac_dir
1992 ac_install_sh="$ac_aux_dir/install.sh -c"
1993 break
1994 elif test -f "$ac_dir/shtool"; then
1995 ac_aux_dir=$ac_dir
1996 ac_install_sh="$ac_aux_dir/shtool install -c"
1997 break
1999 done
2000 if test -z "$ac_aux_dir"; then
2001 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
2004 # These three variables are undocumented and unsupported,
2005 # and are intended to be withdrawn in a future Autoconf release.
2006 # They can cause serious problems if a builder's source tree is in a directory
2007 # whose full name contains unusual characters.
2008 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2009 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2010 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2014 AROS_BUILDDIR=`${PWDCMD-pwd}`
2015 AROS_BUILDDIR_UNIX=${PWD}
2017 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2018 SRCDIR=${srcpwd}
2020 NOLINKFLAGS="-nostdlib -nostartfiles"
2021 LDFLAGS=$NOLINKFLAGS
2022 # The first step is to find the binaries.
2023 ac_ext=c
2024 ac_cpp='$CPP $CPPFLAGS'
2025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2028 if test -n "$ac_tool_prefix"; then
2029 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2030 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2032 $as_echo_n "checking for $ac_word... " >&6; }
2033 if ${ac_cv_prog_CC+:} false; then :
2034 $as_echo_n "(cached) " >&6
2035 else
2036 if test -n "$CC"; then
2037 ac_cv_prog_CC="$CC" # Let the user override the test.
2038 else
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040 for as_dir in $PATH
2042 IFS=$as_save_IFS
2043 test -z "$as_dir" && as_dir=.
2044 for ac_exec_ext in '' $ac_executable_extensions; do
2045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2046 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2048 break 2
2050 done
2051 done
2052 IFS=$as_save_IFS
2056 CC=$ac_cv_prog_CC
2057 if test -n "$CC"; then
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2059 $as_echo "$CC" >&6; }
2060 else
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2062 $as_echo "no" >&6; }
2067 if test -z "$ac_cv_prog_CC"; then
2068 ac_ct_CC=$CC
2069 # Extract the first word of "gcc", so it can be a program name with args.
2070 set dummy gcc; ac_word=$2
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2072 $as_echo_n "checking for $ac_word... " >&6; }
2073 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2074 $as_echo_n "(cached) " >&6
2075 else
2076 if test -n "$ac_ct_CC"; then
2077 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2078 else
2079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2080 for as_dir in $PATH
2082 IFS=$as_save_IFS
2083 test -z "$as_dir" && as_dir=.
2084 for ac_exec_ext in '' $ac_executable_extensions; do
2085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2086 ac_cv_prog_ac_ct_CC="gcc"
2087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2088 break 2
2090 done
2091 done
2092 IFS=$as_save_IFS
2096 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2097 if test -n "$ac_ct_CC"; then
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2099 $as_echo "$ac_ct_CC" >&6; }
2100 else
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2102 $as_echo "no" >&6; }
2105 if test "x$ac_ct_CC" = x; then
2106 CC=""
2107 else
2108 case $cross_compiling:$ac_tool_warned in
2109 yes:)
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2112 ac_tool_warned=yes ;;
2113 esac
2114 CC=$ac_ct_CC
2116 else
2117 CC="$ac_cv_prog_CC"
2120 if test -z "$CC"; then
2121 if test -n "$ac_tool_prefix"; then
2122 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2123 set dummy ${ac_tool_prefix}cc; ac_word=$2
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2125 $as_echo_n "checking for $ac_word... " >&6; }
2126 if ${ac_cv_prog_CC+:} false; then :
2127 $as_echo_n "(cached) " >&6
2128 else
2129 if test -n "$CC"; then
2130 ac_cv_prog_CC="$CC" # Let the user override the test.
2131 else
2132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133 for as_dir in $PATH
2135 IFS=$as_save_IFS
2136 test -z "$as_dir" && as_dir=.
2137 for ac_exec_ext in '' $ac_executable_extensions; do
2138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2139 ac_cv_prog_CC="${ac_tool_prefix}cc"
2140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2141 break 2
2143 done
2144 done
2145 IFS=$as_save_IFS
2149 CC=$ac_cv_prog_CC
2150 if test -n "$CC"; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2152 $as_echo "$CC" >&6; }
2153 else
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2155 $as_echo "no" >&6; }
2161 if test -z "$CC"; then
2162 # Extract the first word of "cc", so it can be a program name with args.
2163 set dummy cc; ac_word=$2
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2165 $as_echo_n "checking for $ac_word... " >&6; }
2166 if ${ac_cv_prog_CC+:} false; then :
2167 $as_echo_n "(cached) " >&6
2168 else
2169 if test -n "$CC"; then
2170 ac_cv_prog_CC="$CC" # Let the user override the test.
2171 else
2172 ac_prog_rejected=no
2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174 for as_dir in $PATH
2176 IFS=$as_save_IFS
2177 test -z "$as_dir" && as_dir=.
2178 for ac_exec_ext in '' $ac_executable_extensions; do
2179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2180 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2181 ac_prog_rejected=yes
2182 continue
2184 ac_cv_prog_CC="cc"
2185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2186 break 2
2188 done
2189 done
2190 IFS=$as_save_IFS
2192 if test $ac_prog_rejected = yes; then
2193 # We found a bogon in the path, so make sure we never use it.
2194 set dummy $ac_cv_prog_CC
2195 shift
2196 if test $# != 0; then
2197 # We chose a different compiler from the bogus one.
2198 # However, it has the same basename, so the bogon will be chosen
2199 # first if we set CC to just the basename; use the full file name.
2200 shift
2201 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2206 CC=$ac_cv_prog_CC
2207 if test -n "$CC"; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2209 $as_echo "$CC" >&6; }
2210 else
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2212 $as_echo "no" >&6; }
2217 if test -z "$CC"; then
2218 if test -n "$ac_tool_prefix"; then
2219 for ac_prog in cl.exe
2221 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2222 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2224 $as_echo_n "checking for $ac_word... " >&6; }
2225 if ${ac_cv_prog_CC+:} false; then :
2226 $as_echo_n "(cached) " >&6
2227 else
2228 if test -n "$CC"; then
2229 ac_cv_prog_CC="$CC" # Let the user override the test.
2230 else
2231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2232 for as_dir in $PATH
2234 IFS=$as_save_IFS
2235 test -z "$as_dir" && as_dir=.
2236 for ac_exec_ext in '' $ac_executable_extensions; do
2237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2238 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2240 break 2
2242 done
2243 done
2244 IFS=$as_save_IFS
2248 CC=$ac_cv_prog_CC
2249 if test -n "$CC"; then
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2251 $as_echo "$CC" >&6; }
2252 else
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2254 $as_echo "no" >&6; }
2258 test -n "$CC" && break
2259 done
2261 if test -z "$CC"; then
2262 ac_ct_CC=$CC
2263 for ac_prog in cl.exe
2265 # Extract the first word of "$ac_prog", so it can be a program name with args.
2266 set dummy $ac_prog; ac_word=$2
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2268 $as_echo_n "checking for $ac_word... " >&6; }
2269 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2270 $as_echo_n "(cached) " >&6
2271 else
2272 if test -n "$ac_ct_CC"; then
2273 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2274 else
2275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2276 for as_dir in $PATH
2278 IFS=$as_save_IFS
2279 test -z "$as_dir" && as_dir=.
2280 for ac_exec_ext in '' $ac_executable_extensions; do
2281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2282 ac_cv_prog_ac_ct_CC="$ac_prog"
2283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2284 break 2
2286 done
2287 done
2288 IFS=$as_save_IFS
2292 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2293 if test -n "$ac_ct_CC"; then
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2295 $as_echo "$ac_ct_CC" >&6; }
2296 else
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2298 $as_echo "no" >&6; }
2302 test -n "$ac_ct_CC" && break
2303 done
2305 if test "x$ac_ct_CC" = x; then
2306 CC=""
2307 else
2308 case $cross_compiling:$ac_tool_warned in
2309 yes:)
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2312 ac_tool_warned=yes ;;
2313 esac
2314 CC=$ac_ct_CC
2321 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2323 as_fn_error $? "no acceptable C compiler found in \$PATH
2324 See \`config.log' for more details" "$LINENO" 5; }
2326 # Provide some information about the compiler.
2327 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2328 set X $ac_compile
2329 ac_compiler=$2
2330 for ac_option in --version -v -V -qversion; do
2331 { { ac_try="$ac_compiler $ac_option >&5"
2332 case "(($ac_try" in
2333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2334 *) ac_try_echo=$ac_try;;
2335 esac
2336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2337 $as_echo "$ac_try_echo"; } >&5
2338 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2339 ac_status=$?
2340 if test -s conftest.err; then
2341 sed '10a\
2342 ... rest of stderr output deleted ...
2343 10q' conftest.err >conftest.er1
2344 cat conftest.er1 >&5
2346 rm -f conftest.er1 conftest.err
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; }
2349 done
2351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2352 /* end confdefs.h. */
2355 main ()
2359 return 0;
2361 _ACEOF
2362 ac_clean_files_save=$ac_clean_files
2363 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2364 # Try to create an executable without -o first, disregard a.out.
2365 # It will help us diagnose broken compilers, and finding out an intuition
2366 # of exeext.
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2368 $as_echo_n "checking whether the C compiler works... " >&6; }
2369 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2371 # The possible output files:
2372 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2374 ac_rmfiles=
2375 for ac_file in $ac_files
2377 case $ac_file in
2378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2379 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2380 esac
2381 done
2382 rm -f $ac_rmfiles
2384 if { { ac_try="$ac_link_default"
2385 case "(($ac_try" in
2386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2387 *) ac_try_echo=$ac_try;;
2388 esac
2389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2390 $as_echo "$ac_try_echo"; } >&5
2391 (eval "$ac_link_default") 2>&5
2392 ac_status=$?
2393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2394 test $ac_status = 0; }; then :
2395 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2396 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2397 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2398 # so that the user can short-circuit this test for compilers unknown to
2399 # Autoconf.
2400 for ac_file in $ac_files ''
2402 test -f "$ac_file" || continue
2403 case $ac_file in
2404 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2406 [ab].out )
2407 # We found the default executable, but exeext='' is most
2408 # certainly right.
2409 break;;
2410 *.* )
2411 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2412 then :; else
2413 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2415 # We set ac_cv_exeext here because the later test for it is not
2416 # safe: cross compilers may not add the suffix if given an `-o'
2417 # argument, so we may need to know it at that point already.
2418 # Even if this section looks crufty: it has the advantage of
2419 # actually working.
2420 break;;
2422 break;;
2423 esac
2424 done
2425 test "$ac_cv_exeext" = no && ac_cv_exeext=
2427 else
2428 ac_file=''
2430 if test -z "$ac_file"; then :
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2432 $as_echo "no" >&6; }
2433 $as_echo "$as_me: failed program was:" >&5
2434 sed 's/^/| /' conftest.$ac_ext >&5
2436 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2438 as_fn_error 77 "C compiler cannot create executables
2439 See \`config.log' for more details" "$LINENO" 5; }
2440 else
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2442 $as_echo "yes" >&6; }
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2445 $as_echo_n "checking for C compiler default output file name... " >&6; }
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2447 $as_echo "$ac_file" >&6; }
2448 ac_exeext=$ac_cv_exeext
2450 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2451 ac_clean_files=$ac_clean_files_save
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2453 $as_echo_n "checking for suffix of executables... " >&6; }
2454 if { { ac_try="$ac_link"
2455 case "(($ac_try" in
2456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2457 *) ac_try_echo=$ac_try;;
2458 esac
2459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2460 $as_echo "$ac_try_echo"; } >&5
2461 (eval "$ac_link") 2>&5
2462 ac_status=$?
2463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2464 test $ac_status = 0; }; then :
2465 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2466 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2467 # work properly (i.e., refer to `conftest.exe'), while it won't with
2468 # `rm'.
2469 for ac_file in conftest.exe conftest conftest.*; do
2470 test -f "$ac_file" || continue
2471 case $ac_file in
2472 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2473 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2474 break;;
2475 * ) break;;
2476 esac
2477 done
2478 else
2479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2481 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2482 See \`config.log' for more details" "$LINENO" 5; }
2484 rm -f conftest conftest$ac_cv_exeext
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2486 $as_echo "$ac_cv_exeext" >&6; }
2488 rm -f conftest.$ac_ext
2489 EXEEXT=$ac_cv_exeext
2490 ac_exeext=$EXEEXT
2491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2492 /* end confdefs.h. */
2493 #include <stdio.h>
2495 main ()
2497 FILE *f = fopen ("conftest.out", "w");
2498 return ferror (f) || fclose (f) != 0;
2501 return 0;
2503 _ACEOF
2504 ac_clean_files="$ac_clean_files conftest.out"
2505 # Check that the compiler produces executables we can run. If not, either
2506 # the compiler is broken, or we cross compile.
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2508 $as_echo_n "checking whether we are cross compiling... " >&6; }
2509 if test "$cross_compiling" != yes; then
2510 { { ac_try="$ac_link"
2511 case "(($ac_try" in
2512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2513 *) ac_try_echo=$ac_try;;
2514 esac
2515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2516 $as_echo "$ac_try_echo"; } >&5
2517 (eval "$ac_link") 2>&5
2518 ac_status=$?
2519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520 test $ac_status = 0; }
2521 if { ac_try='./conftest$ac_cv_exeext'
2522 { { case "(($ac_try" in
2523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2524 *) ac_try_echo=$ac_try;;
2525 esac
2526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2527 $as_echo "$ac_try_echo"; } >&5
2528 (eval "$ac_try") 2>&5
2529 ac_status=$?
2530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2531 test $ac_status = 0; }; }; then
2532 cross_compiling=no
2533 else
2534 if test "$cross_compiling" = maybe; then
2535 cross_compiling=yes
2536 else
2537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2539 as_fn_error $? "cannot run C compiled programs.
2540 If you meant to cross compile, use \`--host'.
2541 See \`config.log' for more details" "$LINENO" 5; }
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2546 $as_echo "$cross_compiling" >&6; }
2548 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2549 ac_clean_files=$ac_clean_files_save
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2551 $as_echo_n "checking for suffix of object files... " >&6; }
2552 if ${ac_cv_objext+:} false; then :
2553 $as_echo_n "(cached) " >&6
2554 else
2555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2556 /* end confdefs.h. */
2559 main ()
2563 return 0;
2565 _ACEOF
2566 rm -f conftest.o conftest.obj
2567 if { { ac_try="$ac_compile"
2568 case "(($ac_try" in
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2571 esac
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_compile") 2>&5
2575 ac_status=$?
2576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2577 test $ac_status = 0; }; then :
2578 for ac_file in conftest.o conftest.obj conftest.*; do
2579 test -f "$ac_file" || continue;
2580 case $ac_file in
2581 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2582 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2583 break;;
2584 esac
2585 done
2586 else
2587 $as_echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.$ac_ext >&5
2590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2592 as_fn_error $? "cannot compute suffix of object files: cannot compile
2593 See \`config.log' for more details" "$LINENO" 5; }
2595 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2598 $as_echo "$ac_cv_objext" >&6; }
2599 OBJEXT=$ac_cv_objext
2600 ac_objext=$OBJEXT
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2602 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2603 if ${ac_cv_c_compiler_gnu+:} false; then :
2604 $as_echo_n "(cached) " >&6
2605 else
2606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2607 /* end confdefs.h. */
2610 main ()
2612 #ifndef __GNUC__
2613 choke me
2614 #endif
2617 return 0;
2619 _ACEOF
2620 if ac_fn_c_try_compile "$LINENO"; then :
2621 ac_compiler_gnu=yes
2622 else
2623 ac_compiler_gnu=no
2625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2626 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2630 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2631 if test $ac_compiler_gnu = yes; then
2632 GCC=yes
2633 else
2634 GCC=
2636 ac_test_CFLAGS=${CFLAGS+set}
2637 ac_save_CFLAGS=$CFLAGS
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2639 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2640 if ${ac_cv_prog_cc_g+:} false; then :
2641 $as_echo_n "(cached) " >&6
2642 else
2643 ac_save_c_werror_flag=$ac_c_werror_flag
2644 ac_c_werror_flag=yes
2645 ac_cv_prog_cc_g=no
2646 CFLAGS="-g"
2647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2648 /* end confdefs.h. */
2651 main ()
2655 return 0;
2657 _ACEOF
2658 if ac_fn_c_try_compile "$LINENO"; then :
2659 ac_cv_prog_cc_g=yes
2660 else
2661 CFLAGS=""
2662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2663 /* end confdefs.h. */
2666 main ()
2670 return 0;
2672 _ACEOF
2673 if ac_fn_c_try_compile "$LINENO"; then :
2675 else
2676 ac_c_werror_flag=$ac_save_c_werror_flag
2677 CFLAGS="-g"
2678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2679 /* end confdefs.h. */
2682 main ()
2686 return 0;
2688 _ACEOF
2689 if ac_fn_c_try_compile "$LINENO"; then :
2690 ac_cv_prog_cc_g=yes
2692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 ac_c_werror_flag=$ac_save_c_werror_flag
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2700 $as_echo "$ac_cv_prog_cc_g" >&6; }
2701 if test "$ac_test_CFLAGS" = set; then
2702 CFLAGS=$ac_save_CFLAGS
2703 elif test $ac_cv_prog_cc_g = yes; then
2704 if test "$GCC" = yes; then
2705 CFLAGS="-g -O2"
2706 else
2707 CFLAGS="-g"
2709 else
2710 if test "$GCC" = yes; then
2711 CFLAGS="-O2"
2712 else
2713 CFLAGS=
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2717 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2718 if ${ac_cv_prog_cc_c89+:} false; then :
2719 $as_echo_n "(cached) " >&6
2720 else
2721 ac_cv_prog_cc_c89=no
2722 ac_save_CC=$CC
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2725 #include <stdarg.h>
2726 #include <stdio.h>
2727 struct stat;
2728 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2729 struct buf { int x; };
2730 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2731 static char *e (p, i)
2732 char **p;
2733 int i;
2735 return p[i];
2737 static char *f (char * (*g) (char **, int), char **p, ...)
2739 char *s;
2740 va_list v;
2741 va_start (v,p);
2742 s = g (p, va_arg (v,int));
2743 va_end (v);
2744 return s;
2747 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2748 function prototypes and stuff, but not '\xHH' hex character constants.
2749 These don't provoke an error unfortunately, instead are silently treated
2750 as 'x'. The following induces an error, until -std is added to get
2751 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2752 array size at least. It's necessary to write '\x00'==0 to get something
2753 that's true only with -std. */
2754 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2756 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2757 inside strings and character constants. */
2758 #define FOO(x) 'x'
2759 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2761 int test (int i, double x);
2762 struct s1 {int (*f) (int a);};
2763 struct s2 {int (*f) (double a);};
2764 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2765 int argc;
2766 char **argv;
2768 main ()
2770 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2772 return 0;
2774 _ACEOF
2775 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2776 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2778 CC="$ac_save_CC $ac_arg"
2779 if ac_fn_c_try_compile "$LINENO"; then :
2780 ac_cv_prog_cc_c89=$ac_arg
2782 rm -f core conftest.err conftest.$ac_objext
2783 test "x$ac_cv_prog_cc_c89" != "xno" && break
2784 done
2785 rm -f conftest.$ac_ext
2786 CC=$ac_save_CC
2789 # AC_CACHE_VAL
2790 case "x$ac_cv_prog_cc_c89" in
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2793 $as_echo "none needed" >&6; } ;;
2794 xno)
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2796 $as_echo "unsupported" >&6; } ;;
2798 CC="$CC $ac_cv_prog_cc_c89"
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2800 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2801 esac
2802 if test "x$ac_cv_prog_cc_c89" != xno; then :
2806 ac_ext=c
2807 ac_cpp='$CPP $CPPFLAGS'
2808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2814 $as_echo_n "checking target config location... " >&6; }
2816 # Check whether --with-config-dir was given.
2817 if test "${with_config_dir+set}" = set; then :
2818 withval=$with_config_dir; targetcfg_dir="$withval"
2819 else
2820 targetcfg_dir=""
2823 if test "$targetcfg_dir" = ""; then
2824 as_fn_error $? "missing config directory!" "$LINENO" 5
2825 else
2826 aros_targetcfg_dir="$targetcfg_dir"
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2829 $as_echo "$aros_targetcfg_dir" >&6; }
2831 #-----------------------------------------------------------------------------
2833 # Check if the target compiler supports some features:
2834 # C/ObjC
2835 # -fexceptions
2836 # -ffast-math
2837 # -flto
2838 # -fwhole-program
2839 # -floop-block
2840 # -floop-interchange
2841 # -floop-strip-mine
2842 # -fpeel-loops
2843 # -fstrict-aliasing
2844 # -finline-small-functions
2845 # -fipa-cp
2846 # -funroll-loops
2847 # -fomit-frame-pointer
2848 # -fprofile-arcs
2849 # -ftest-coverage
2850 # -finstrument-functions
2851 # -faligned-new
2853 # -fno-builtin
2854 # -fno-builtin-floor
2855 # -fno-builtin-vsnprintf
2857 # -ffreestanding
2858 # -fasynchronous-unwind-tables
2860 # C++/ObjC++
2861 # -fpermissive
2862 # -frtti
2864 # C features first
2865 ac_ext=c
2866 ac_cpp='$CPP $CPPFLAGS'
2867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2872 save_cflags="$CFLAGS"
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2874 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2875 CFLAGS=-fexceptions
2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h. */
2881 main ()
2885 return 0;
2887 _ACEOF
2888 if ac_fn_c_try_compile "$LINENO"; then :
2889 aros_exceptions="yes"
2890 else
2891 aros_exceptions="no"
2893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2895 $as_echo "$aros_exceptions" >&6; }
2896 if test "x-$aros_exceptions" = "x-yes" ; then
2897 aros_cflags_exceptions=-fexceptions
2898 aros_cflags_noexceptions=-fno-exceptions
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2902 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2903 CFLAGS=-ffast-math
2904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2905 /* end confdefs.h. */
2908 main ()
2912 return 0;
2914 _ACEOF
2915 if ac_fn_c_try_compile "$LINENO"; then :
2916 aros_fast_math="yes"
2917 else
2918 aros_fast_math="no"
2920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2922 $as_echo "$aros_fast_math" >&6; }
2923 if test "x-$aros_fast_math" = "x-yes" ; then
2924 aros_cflags_fast_math=-ffast-math
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2928 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2929 CFLAGS=-flto
2930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2931 /* end confdefs.h. */
2934 main ()
2938 return 0;
2940 _ACEOF
2941 if ac_fn_c_try_compile "$LINENO"; then :
2942 aros_lto="yes"
2943 else
2944 aros_lto="no"
2946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2948 $as_echo "$aros_lto" >&6; }
2949 if test "x-$aros_lto" = "x-yes" ; then
2950 aros_cflags_lto=-flto
2951 aros_cflags_nolto=-fno-lto
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2954 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2955 CFLAGS=-fwhole-program
2956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2957 /* end confdefs.h. */
2960 main ()
2964 return 0;
2966 _ACEOF
2967 if ac_fn_c_try_compile "$LINENO"; then :
2968 aros_whole_program="yes"
2969 else
2970 aros_whole_program="no"
2972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2974 $as_echo "$aros_whole_program" >&6; }
2975 if test "x-$aros_whole_program" = "x-yes" ; then
2976 aros_cflags_whole_program=-fwhole-program
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2980 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2981 CFLAGS=-floop-block
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2986 main ()
2990 return 0;
2992 _ACEOF
2993 if ac_fn_c_try_compile "$LINENO"; then :
2994 aros_loop_block="yes"
2995 else
2996 aros_loop_block="no"
2998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
3000 $as_echo "$aros_loop_block" >&6; }
3001 if test "x-$aros_loop_block" = "x-yes" ; then
3002 aros_cflags_loop_block=-floop-block
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
3006 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
3007 CFLAGS=-floop-interchange
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3012 main ()
3016 return 0;
3018 _ACEOF
3019 if ac_fn_c_try_compile "$LINENO"; then :
3020 aros_loop_interchange="yes"
3021 else
3022 aros_loop_interchange="no"
3024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
3026 $as_echo "$aros_loop_interchange" >&6; }
3027 if test "x-$aros_loop_interchange" = "x-yes" ; then
3028 aros_cflags_loop_interchange=-floop-interchange
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
3032 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
3033 CFLAGS=-floop-strip-mine
3034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3035 /* end confdefs.h. */
3038 main ()
3042 return 0;
3044 _ACEOF
3045 if ac_fn_c_try_compile "$LINENO"; then :
3046 aros_loop_strip_mine="yes"
3047 else
3048 aros_loop_strip_mine="no"
3050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
3052 $as_echo "$aros_loop_strip_mine" >&6; }
3053 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
3054 aros_cflags_loop_strip_mine=-floop-strip-mine
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
3059 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
3060 CFLAGS=-fpeel-loops
3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3065 main ()
3069 return 0;
3071 _ACEOF
3072 if ac_fn_c_try_compile "$LINENO"; then :
3073 aros_peel_loops="yes"
3074 else
3075 aros_peel_loops="no"
3077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
3079 $as_echo "$aros_peel_loops" >&6; }
3080 if test "x-$aros_peel_loops" = "x-yes" ; then
3081 aros_cflags_peel_loops=-fpeel-loops
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3085 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3086 CFLAGS=-funroll-loops
3087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3091 main ()
3095 return 0;
3097 _ACEOF
3098 if ac_fn_c_try_compile "$LINENO"; then :
3099 aros_unroll_loops="yes"
3100 else
3101 aros_unroll_loops="no"
3103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3105 $as_echo "$aros_unroll_loops" >&6; }
3106 if test "x-$aros_unroll_loops" = "x-yes" ; then
3107 aros_cflags_unroll_loops=-funroll-loops
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3111 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3112 CFLAGS=-fstrict-aliasing
3113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3114 /* end confdefs.h. */
3117 main ()
3121 return 0;
3123 _ACEOF
3124 if ac_fn_c_try_compile "$LINENO"; then :
3125 aros_strict_aliasing="yes"
3126 else
3127 aros_strict_aliasing="no"
3129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3131 $as_echo "$aros_strict_aliasing" >&6; }
3132 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3133 aros_cflags_strictaliasing=-fstrict-aliasing
3134 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3138 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3139 CFLAGS=-finline-small-functions
3140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3144 main ()
3148 return 0;
3150 _ACEOF
3151 if ac_fn_c_try_compile "$LINENO"; then :
3152 aros_inline_small_functions="yes"
3153 else
3154 aros_inline_small_functions="no"
3156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3158 $as_echo "$aros_inline_small_functions" >&6; }
3159 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3160 aros_cflags_inlinesmallfunctions=-finline-small-functions
3161 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fipa-cp" >&5
3165 $as_echo_n "checking whether ${CC} accepts -fipa-cp... " >&6; }
3166 CFLAGS=-fipa-cp
3167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3168 /* end confdefs.h. */
3171 main ()
3175 return 0;
3177 _ACEOF
3178 if ac_fn_c_try_compile "$LINENO"; then :
3179 aros_ipa_cp="yes"
3180 else
3181 aros_ipa_cp="no"
3183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ipa_cp" >&5
3185 $as_echo "$aros_ipa_cp" >&6; }
3186 if test "x-$aros_ipa_cp" = "x-yes" ; then
3187 aros_cflags_ipacp=-fipa-cp
3188 aros_cflags_noipacp=-fno-ipa-cp
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fomit-frame-pointer" >&5
3192 $as_echo_n "checking whether ${CC} accepts -fomit-frame-pointer... " >&6; }
3193 CFLAGS=-fomit-frame-pointer
3194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3195 /* end confdefs.h. */
3198 main ()
3202 return 0;
3204 _ACEOF
3205 if ac_fn_c_try_compile "$LINENO"; then :
3206 aros_omit_frame_pointer="yes"
3207 else
3208 aros_omit_frame_pointer="no"
3210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_omit_frame_pointer" >&5
3212 $as_echo "$aros_omit_frame_pointer" >&6; }
3213 if test "x-$aros_omit_frame_pointer" = "x-yes" ; then
3214 aros_cflags_omitfp=-fomit-frame-pointer
3215 aros_cflags_noomitfp=-fno-omit-frame-pointer
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fprofile-arcs" >&5
3219 $as_echo_n "checking whether ${CC} accepts -fprofile-arcs... " >&6; }
3220 CFLAGS=-fprofile-arcs
3221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3225 main ()
3229 return 0;
3231 _ACEOF
3232 if ac_fn_c_try_compile "$LINENO"; then :
3233 aros_profile_arcs="yes"
3234 else
3235 aros_profile_arcs="no"
3237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_profile_arcs" >&5
3239 $as_echo "$aros_profile_arcs" >&6; }
3240 if test "x-$aros_profile_arcs" = "x-yes" ; then
3241 aros_cflags_profilearcs=-fprofile-arcs
3242 aros_cflags_noprofilearcs=-fno-profile-arcs
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ftest-coverage" >&5
3246 $as_echo_n "checking whether ${CC} accepts -ftest-coverage... " >&6; }
3247 CFLAGS=-ftest-coverage
3248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249 /* end confdefs.h. */
3252 main ()
3256 return 0;
3258 _ACEOF
3259 if ac_fn_c_try_compile "$LINENO"; then :
3260 aros_test_coverage="yes"
3261 else
3262 aros_test_coverage="no"
3264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_test_coverage" >&5
3266 $as_echo "$aros_test_coverage" >&6; }
3267 if test "x-$aros_test_coverage" = "x-yes" ; then
3268 aros_cflags_testcoverage=-ftest-coverage
3269 aros_cflags_notestcoverage=-fno-test-coverage
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finstrument-functions" >&5
3273 $as_echo_n "checking whether ${CC} accepts -finstrument-functions... " >&6; }
3274 CFLAGS=-finstrument-functions
3275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h. */
3279 main ()
3283 return 0;
3285 _ACEOF
3286 if ac_fn_c_try_compile "$LINENO"; then :
3287 aros_instrument_functions="yes"
3288 else
3289 aros_instrument_functions="no"
3291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_instrument_functions" >&5
3293 $as_echo "$aros_instrument_functions" >&6; }
3294 if test "x-$aros_instrument_functions" = "x-yes" ; then
3295 aros_cflags_instrfuncs=-finstrument-functions
3296 aros_cflags_noinstrfuncs=-fno-instrument-functions
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -faligned-new" >&5
3300 $as_echo_n "checking whether ${CC} accepts -faligned-new... " >&6; }
3301 CFLAGS=-faligned-new
3302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3303 /* end confdefs.h. */
3306 main ()
3310 return 0;
3312 _ACEOF
3313 if ac_fn_c_try_compile "$LINENO"; then :
3314 aros_aligned_new="yes"
3315 else
3316 aros_aligned_new="no"
3318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aligned_new" >&5
3320 $as_echo "$aros_aligned_new" >&6; }
3321 if test "x-$aros_aligned_new" = "x-yes" ; then
3322 aros_cflags_alignednew=-faligned-new
3323 aros_cflags_noalignednew=-fno-aligned-new
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fbuiltin" >&5
3327 $as_echo_n "checking whether ${CC} accepts -fbuiltin... " >&6; }
3328 CFLAGS=-fbuiltin
3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h. */
3333 main ()
3337 return 0;
3339 _ACEOF
3340 if ac_fn_c_try_compile "$LINENO"; then :
3341 aros_builtin="yes"
3342 else
3343 aros_builtin="no"
3345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_builtin" >&5
3347 $as_echo "$aros_builtin" >&6; }
3348 if test "x-$aros_builtin" = "x-yes" ; then
3349 aros_cflags_builtin=-fbuiltin
3350 aros_cflags_no_builtin=-fno-builtin
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
3354 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
3355 CFLAGS=-fno-builtin-floor
3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3357 /* end confdefs.h. */
3360 main ()
3364 return 0;
3366 _ACEOF
3367 if ac_fn_c_try_compile "$LINENO"; then :
3368 aros_no_builtin_floor="yes"
3369 else
3370 aros_no_builtin_floor="no"
3372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
3374 $as_echo "$aros_no_builtin_floor" >&6; }
3375 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
3376 aros_cflags_no_builtin_floor=-fno-builtin-floor
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-vsnprintf" >&5
3380 $as_echo_n "checking whether ${CC} accepts -fno-builtin-vsnprintf... " >&6; }
3381 CFLAGS=-fno-builtin-vsnprintf
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3386 main ()
3390 return 0;
3392 _ACEOF
3393 if ac_fn_c_try_compile "$LINENO"; then :
3394 aros_no_builtin_vsnprintf="yes"
3395 else
3396 aros_no_builtin_vsnprintf="no"
3398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_vsnprintf" >&5
3400 $as_echo "$aros_no_builtin_vsnprintf" >&6; }
3401 if test "x-$aros_no_builtin_vsnprintf" = "x-yes" ; then
3402 aros_cflags_no_builtin_vsnprintf=-fno-builtin-vsnprintf
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffreestanding" >&5
3406 $as_echo_n "checking whether ${CC} accepts -ffreestanding... " >&6; }
3407 CFLAGS=-ffreestanding
3408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3409 /* end confdefs.h. */
3412 main ()
3416 return 0;
3418 _ACEOF
3419 if ac_fn_c_try_compile "$LINENO"; then :
3420 aros_freestanding="yes"
3421 else
3422 aros_freestanding="no"
3424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_freestanding" >&5
3426 $as_echo "$aros_freestanding" >&6; }
3427 if test "x-$aros_freestanding" = "x-yes" ; then
3428 aros_cflags_freestanding=-ffreestanding
3429 aros_cflags_no_freestanding=-fno-freestanding
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fasynchronous-unwind-tables" >&5
3433 $as_echo_n "checking whether ${CC} accepts -fasynchronous-unwind-tables... " >&6; }
3434 CFLAGS=-fasynchronous-unwind-tables
3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3436 /* end confdefs.h. */
3439 main ()
3443 return 0;
3445 _ACEOF
3446 if ac_fn_c_try_compile "$LINENO"; then :
3447 aros_asynchronous_unwind_tables="yes"
3448 else
3449 aros_asynchronous_unwind_tables="no"
3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_asynchronous_unwind_tables" >&5
3453 $as_echo "$aros_asynchronous_unwind_tables" >&6; }
3454 if test "x-$aros_asynchronous_unwind_tables" = "x-yes" ; then
3455 aros_cflags_asynchronous_unwind_tables=-fasynchronous-unwind-tables
3456 aros_cflags_no_asynchronous_unwind_tables=-fno-asynchronous-unwind-tables
3459 # C++ features
3460 ac_ext=cpp
3461 ac_cpp='$CXXCPP $CPPFLAGS'
3462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3466 save_cxxflags="$CXXFLAGS"
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -fpermissive" >&5
3469 $as_echo_n "checking whether ${CXX} accepts -fpermissive... " >&6; }
3470 CXXFLAGS=-fpermissive
3471 ac_ext=cpp
3472 ac_cpp='$CXXCPP $CPPFLAGS'
3473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3476 if test -z "$CXX"; then
3477 if test -n "$CCC"; then
3478 CXX=$CCC
3479 else
3480 if test -n "$ac_tool_prefix"; then
3481 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3483 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3484 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3486 $as_echo_n "checking for $ac_word... " >&6; }
3487 if ${ac_cv_prog_CXX+:} false; then :
3488 $as_echo_n "(cached) " >&6
3489 else
3490 if test -n "$CXX"; then
3491 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3492 else
3493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3494 for as_dir in $PATH
3496 IFS=$as_save_IFS
3497 test -z "$as_dir" && as_dir=.
3498 for ac_exec_ext in '' $ac_executable_extensions; do
3499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3500 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3502 break 2
3504 done
3505 done
3506 IFS=$as_save_IFS
3510 CXX=$ac_cv_prog_CXX
3511 if test -n "$CXX"; then
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3513 $as_echo "$CXX" >&6; }
3514 else
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3516 $as_echo "no" >&6; }
3520 test -n "$CXX" && break
3521 done
3523 if test -z "$CXX"; then
3524 ac_ct_CXX=$CXX
3525 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3527 # Extract the first word of "$ac_prog", so it can be a program name with args.
3528 set dummy $ac_prog; ac_word=$2
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3530 $as_echo_n "checking for $ac_word... " >&6; }
3531 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3532 $as_echo_n "(cached) " >&6
3533 else
3534 if test -n "$ac_ct_CXX"; then
3535 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3536 else
3537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3538 for as_dir in $PATH
3540 IFS=$as_save_IFS
3541 test -z "$as_dir" && as_dir=.
3542 for ac_exec_ext in '' $ac_executable_extensions; do
3543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3544 ac_cv_prog_ac_ct_CXX="$ac_prog"
3545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3546 break 2
3548 done
3549 done
3550 IFS=$as_save_IFS
3554 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3555 if test -n "$ac_ct_CXX"; then
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3557 $as_echo "$ac_ct_CXX" >&6; }
3558 else
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3560 $as_echo "no" >&6; }
3564 test -n "$ac_ct_CXX" && break
3565 done
3567 if test "x$ac_ct_CXX" = x; then
3568 CXX="g++"
3569 else
3570 case $cross_compiling:$ac_tool_warned in
3571 yes:)
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3574 ac_tool_warned=yes ;;
3575 esac
3576 CXX=$ac_ct_CXX
3582 # Provide some information about the compiler.
3583 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3584 set X $ac_compile
3585 ac_compiler=$2
3586 for ac_option in --version -v -V -qversion; do
3587 { { ac_try="$ac_compiler $ac_option >&5"
3588 case "(($ac_try" in
3589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3590 *) ac_try_echo=$ac_try;;
3591 esac
3592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3593 $as_echo "$ac_try_echo"; } >&5
3594 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3595 ac_status=$?
3596 if test -s conftest.err; then
3597 sed '10a\
3598 ... rest of stderr output deleted ...
3599 10q' conftest.err >conftest.er1
3600 cat conftest.er1 >&5
3602 rm -f conftest.er1 conftest.err
3603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3604 test $ac_status = 0; }
3605 done
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3608 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3609 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3610 $as_echo_n "(cached) " >&6
3611 else
3612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3613 /* end confdefs.h. */
3616 main ()
3618 #ifndef __GNUC__
3619 choke me
3620 #endif
3623 return 0;
3625 _ACEOF
3626 if ac_fn_cxx_try_compile "$LINENO"; then :
3627 ac_compiler_gnu=yes
3628 else
3629 ac_compiler_gnu=no
3631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3632 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3636 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3637 if test $ac_compiler_gnu = yes; then
3638 GXX=yes
3639 else
3640 GXX=
3642 ac_test_CXXFLAGS=${CXXFLAGS+set}
3643 ac_save_CXXFLAGS=$CXXFLAGS
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3645 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3646 if ${ac_cv_prog_cxx_g+:} false; then :
3647 $as_echo_n "(cached) " >&6
3648 else
3649 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3650 ac_cxx_werror_flag=yes
3651 ac_cv_prog_cxx_g=no
3652 CXXFLAGS="-g"
3653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3654 /* end confdefs.h. */
3657 main ()
3661 return 0;
3663 _ACEOF
3664 if ac_fn_cxx_try_compile "$LINENO"; then :
3665 ac_cv_prog_cxx_g=yes
3666 else
3667 CXXFLAGS=""
3668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669 /* end confdefs.h. */
3672 main ()
3676 return 0;
3678 _ACEOF
3679 if ac_fn_cxx_try_compile "$LINENO"; then :
3681 else
3682 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3683 CXXFLAGS="-g"
3684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3685 /* end confdefs.h. */
3688 main ()
3692 return 0;
3694 _ACEOF
3695 if ac_fn_cxx_try_compile "$LINENO"; then :
3696 ac_cv_prog_cxx_g=yes
3698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3703 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3706 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3707 if test "$ac_test_CXXFLAGS" = set; then
3708 CXXFLAGS=$ac_save_CXXFLAGS
3709 elif test $ac_cv_prog_cxx_g = yes; then
3710 if test "$GXX" = yes; then
3711 CXXFLAGS="-g -O2"
3712 else
3713 CXXFLAGS="-g"
3715 else
3716 if test "$GXX" = yes; then
3717 CXXFLAGS="-O2"
3718 else
3719 CXXFLAGS=
3722 ac_ext=cpp
3723 ac_cpp='$CXXCPP $CPPFLAGS'
3724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3730 /* end confdefs.h. */
3733 main ()
3737 return 0;
3739 _ACEOF
3740 if ac_fn_cxx_try_compile "$LINENO"; then :
3741 aros_permissive="yes"
3742 else
3743 aros_permissive="no"
3745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
3747 $as_echo "$aros_permissive" >&6; }
3748 if test "x-$aros_permissive" = "x-yes" ; then
3749 aros_cxxflags_permissive=-fpermissive
3750 aros_cxxflags_nopermissive=-fno-permissive
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -frtti" >&5
3754 $as_echo_n "checking whether ${CXX} accepts -frtti... " >&6; }
3755 CXXFLAGS=-frtti
3756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3757 /* end confdefs.h. */
3760 main ()
3764 return 0;
3766 _ACEOF
3767 if ac_fn_cxx_try_compile "$LINENO"; then :
3768 aros_rtti="yes"
3769 else
3770 aros_rtti="no"
3772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_rtti" >&5
3774 $as_echo "$aros_rtti" >&6; }
3775 if test "x-$aros_rtti" = "x-yes" ; then
3776 aros_cxxflags_rtti=-frtti
3777 aros_cxxflags_nortti=-fno-rtti
3780 CXXFLAGS="$save_cxxflags"
3783 # Check for additional C compiler options..
3784 ac_ext=c
3785 ac_cpp='$CPP $CPPFLAGS'
3786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3791 #-----------------------------------------------------------------------------
3793 # Check if the target compiler supports some include directory options:
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3796 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3797 CFLAGS="-iquote."
3798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h. */
3802 main ()
3806 return 0;
3808 _ACEOF
3809 if ac_fn_c_try_compile "$LINENO"; then :
3810 has_iquote="yes"
3811 else
3812 has_iquote="no"
3814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3816 $as_echo "$has_iquote" >&6; }
3817 if test "x-$has_iquote" = "x-yes" ; then
3818 aros_cflags_iquote=-iquote
3819 aros_cflags_iquote_end=
3820 else
3821 aros_cflags_iquote=-I
3822 aros_cflags_iquote_end=-I-
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -isystem" >&5
3826 $as_echo_n "checking whether ${CC} accepts -isystem... " >&6; }
3827 CFLAGS="-isystem."
3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3832 main ()
3836 return 0;
3838 _ACEOF
3839 if ac_fn_c_try_compile "$LINENO"; then :
3840 has_isystem="yes"
3841 else
3842 has_isystem="no"
3844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_isystem" >&5
3846 $as_echo "$has_isystem" >&6; }
3847 if test "x-$has_isystem" = "x-yes" ; then
3848 aros_cflags_isystem=-isystem
3849 aros_cflags_isystem_end=
3850 else
3851 aros_cflags_isystem=-I
3852 aros_cflags_isystem_end=
3855 #-----------------------------------------------------------------------------
3857 # Check if the target compiler supports some ISA options:
3858 # -mno-red-zone
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mred-zone" >&5
3861 $as_echo_n "checking whether ${CC} accepts -mred-zone... " >&6; }
3862 CFLAGS=-mred-zone
3863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3867 main ()
3871 return 0;
3873 _ACEOF
3874 if ac_fn_c_try_compile "$LINENO"; then :
3875 aros_no_red_zone="yes"
3876 else
3877 aros_no_red_zone="no"
3879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3881 $as_echo "$aros_no_red_zone" >&6; }
3882 if test "x-$aros_no_red_zone" = "x-yes" ; then
3883 aros_cflags_red_zone=-mred-zone
3884 aros_cflags_no_red_zone=-mno-red-zone
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mms-bitfields" >&5
3888 $as_echo_n "checking whether ${CC} accepts -mms-bitfields... " >&6; }
3889 CFLAGS=-mms-bitfields
3890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h. */
3894 main ()
3898 return 0;
3900 _ACEOF
3901 if ac_fn_c_try_compile "$LINENO"; then :
3902 aros_ms_bitfields="yes"
3903 else
3904 aros_ms_bitfields="no"
3906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ms_bitfields" >&5
3908 $as_echo "$aros_ms_bitfields" >&6; }
3909 if test "x-$aros_ms_bitfields" = "x-yes" ; then
3910 aros_cflags_ms_bitfields=-mms-bitfields
3911 aros_cflags_no_ms_bitfields=-mno-ms-bitfields
3914 CFLAGS="$save_cflags"
3916 #-----------------------------------------------------------------------------
3918 # Check if the target compiler supports some options used for de-linting:
3919 # -Werror
3920 # -Wall
3921 # -Wrestrict
3922 # -Wunused-command-line-argument
3923 # -Wunknown-warning-option
3924 # -Wunused-but-set-variable
3925 # -Wstrict-aliasing
3926 # -Warray-bounds
3927 # -Wenum-compare
3928 # -Wstrict-prototypes
3929 # -Wstrict-overflow
3930 # -Wformat-security
3931 # -Wmisleading-indentation
3932 # -Wnonnull-compare
3933 # -Wunused
3934 # -Wunused-label
3935 # -Wunused-value
3936 # -Wunused-variable
3937 # -Wunused-function
3938 # -Wunused-parameter
3939 # -Wuninitialized
3940 # -Wmaybe-uninitialized
3941 # -Wimplicit-function-declaration
3942 # -Wformat
3943 # -Wparentheses
3944 # -Wchar-subscripts
3945 # -Wendif-labels
3946 # -Wformat-contains-nul
3947 # -Wimplicit-int
3948 # -Waggressive-loop-optimizations
3949 # -Wcpp
3950 # -Wswitch
3951 # -Wdiscarded-qualifiers
3952 # -Wsequence-point
3953 # -Wunknown-pragmas
3954 # -Wdiscarded-array-qualifiers
3955 # -Wint-conversion
3956 # -Wint-to-pointer-cast
3957 # -Wpointer-to-int-cast
3958 # -Wunused-const-variable
3959 # -Wwrite-strings
3960 # -Wcomment
3961 # -Wincompatible-pointer-types
3962 # -Wbool-compare
3963 # -Wlogical-not-parentheses
3964 # -Wpointer-sign
3965 # -Wshift-overflow
3966 # -Wframe-address
3967 # -Wdeprecated-declarations
3968 # -Wsign-compare
3969 # -Wattributes
3970 # -Woverflow
3971 # -Wunused-local-typedefs
3972 # -Wmissing-braces
3973 # -Wconversion-null
3974 # -Wnarrowing
3975 # -Wvolatile-register-var
3976 # -Wsizeof-pointer-memaccess
3977 # -Wreturn-type
3978 # -Wformat-zero-length
3979 # -Wlto-type-mismatch
3980 # -Wtautological-compare
3981 # -Wempty-body
3982 # -Wformat-overflow
3983 # -Wstringop-overflow
3984 # -Wformat-truncation
3985 # -Wstringop-truncation
3986 # -Wshift-negative-value
3987 # -Wmissing-field-initializers
3988 # -Wimplicit-fallthrough
3989 # -Wmissing-prototypes
3990 # -Wclass-memaccess
3991 # -Wint-in-bool-context
3993 # C warnings first
3994 ac_ext=c
3995 ac_cpp='$CPP $CPPFLAGS'
3996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4001 save_cflags="$CFLAGS"
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
4003 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
4004 CFLAGS=-Werror
4005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h. */
4009 main ()
4013 return 0;
4015 _ACEOF
4016 if ac_fn_c_try_compile "$LINENO"; then :
4017 aros_error="yes"
4018 else
4019 aros_error="no"
4021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
4023 $as_echo "$aros_error" >&6; }
4024 if test "x-$aros_error" = "x-yes" ; then
4025 aros_warnflags_error=-Werror
4026 aros_nowarnflags_error=-Wno-error
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wall" >&5
4030 $as_echo_n "checking whether ${CC} accepts -Wall... " >&6; }
4031 CFLAGS=-Wall
4032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4033 /* end confdefs.h. */
4036 main ()
4040 return 0;
4042 _ACEOF
4043 if ac_fn_c_try_compile "$LINENO"; then :
4044 aros_all="yes"
4045 else
4046 aros_all="no"
4048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_all" >&5
4050 $as_echo "$aros_all" >&6; }
4051 if test "x-$aros_all" = "x-yes" ; then
4052 aros_warnflags_all=-Wall
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wrestrict" >&5
4056 $as_echo_n "checking whether ${CC} accepts -Wrestrict... " >&6; }
4057 CFLAGS=-Wrestrict
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4062 main ()
4066 return 0;
4068 _ACEOF
4069 if ac_fn_c_try_compile "$LINENO"; then :
4070 aros_restrict="yes"
4071 else
4072 aros_restrict="no"
4074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_restrict" >&5
4076 $as_echo "$aros_restrict" >&6; }
4077 if test "x-$aros_restrict" = "x-yes" ; then
4078 aros_warnflags_restrict=-Wrestrict
4079 aros_nowarnflags_restrict=-Wno-restrict
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
4083 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
4084 CFLAGS=-Wunused-command-line-argument
4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4089 main ()
4093 return 0;
4095 _ACEOF
4096 if ac_fn_c_try_compile "$LINENO"; then :
4097 aros_unused_command_line_argument="yes"
4098 else
4099 aros_unused_command_line_argument="no"
4101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
4103 $as_echo "$aros_unused_command_line_argument" >&6; }
4104 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
4105 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
4106 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
4110 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
4111 CFLAGS=-Wunknown-warning-option
4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4116 main ()
4120 return 0;
4122 _ACEOF
4123 if ac_fn_c_try_compile "$LINENO"; then :
4124 aros_unknown_warning_option="yes"
4125 else
4126 aros_unknown_warning_option="no"
4128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
4130 $as_echo "$aros_unknown_warning_option" >&6; }
4131 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
4132 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
4133 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
4137 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
4138 CFLAGS=-Wunused-but-set-variable
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4143 main ()
4147 return 0;
4149 _ACEOF
4150 if ac_fn_c_try_compile "$LINENO"; then :
4151 aros_unused_but_set_variable="yes"
4152 else
4153 aros_unused_but_set_variable="no"
4155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
4157 $as_echo "$aros_unused_but_set_variable" >&6; }
4158 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
4159 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
4160 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
4164 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
4165 CFLAGS=-Wstrict-aliasing
4166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4170 main ()
4174 return 0;
4176 _ACEOF
4177 if ac_fn_c_try_compile "$LINENO"; then :
4178 aros_strict_aliasing="yes"
4179 else
4180 aros_strict_aliasing="no"
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
4184 $as_echo "$aros_strict_aliasing" >&6; }
4185 if test "x-$aros_strict_aliasing" = "x-yes" ; then
4186 aros_warnflags_strict_aliasing=-Wstrict-aliasing
4187 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
4191 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
4192 CFLAGS=-Warray-bounds
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4197 main ()
4201 return 0;
4203 _ACEOF
4204 if ac_fn_c_try_compile "$LINENO"; then :
4205 aros_array_bounds="yes"
4206 else
4207 aros_array_bounds="no"
4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
4211 $as_echo "$aros_array_bounds" >&6; }
4212 if test "x-$aros_array_bounds" = "x-yes" ; then
4213 aros_warnflags_array_bounds=-Warray-bounds
4214 aros_nowarnflags_array_bounds=-Wno-array-bounds
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
4218 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
4219 CFLAGS=-Wenum-compare
4220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4224 main ()
4228 return 0;
4230 _ACEOF
4231 if ac_fn_c_try_compile "$LINENO"; then :
4232 aros_enum_compare="yes"
4233 else
4234 aros_enum_compare="no"
4236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
4238 $as_echo "$aros_enum_compare" >&6; }
4239 if test "x-$aros_enum_compare" = "x-yes" ; then
4240 aros_warnflags_enum_compare=-Wenum-compare
4241 aros_nowarnflags_enum_compare=-Wno-enum-compare
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
4245 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
4246 CFLAGS=-Wstrict-prototypes
4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4251 main ()
4255 return 0;
4257 _ACEOF
4258 if ac_fn_c_try_compile "$LINENO"; then :
4259 aros_strict_prototypes="yes"
4260 else
4261 aros_strict_prototypes="no"
4263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
4265 $as_echo "$aros_strict_prototypes" >&6; }
4266 if test "x-$aros_strict_prototypes" = "x-yes" ; then
4267 aros_warnflags_strict_prototypes=-Wstrict-prototypes
4268 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
4272 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
4273 CFLAGS=-Wstrict-overflow
4274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4278 main ()
4282 return 0;
4284 _ACEOF
4285 if ac_fn_c_try_compile "$LINENO"; then :
4286 aros_strict_overflow="yes"
4287 else
4288 aros_strict_overflow="no"
4290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
4292 $as_echo "$aros_strict_overflow" >&6; }
4293 if test "x-$aros_strict_overflow" = "x-yes" ; then
4294 aros_warnflags_strict_overflow=-Wstrict-overflow
4295 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
4299 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
4300 CFLAGS=-Wformat-security
4301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4302 /* end confdefs.h. */
4305 main ()
4309 return 0;
4311 _ACEOF
4312 if ac_fn_c_try_compile "$LINENO"; then :
4313 aros_format_security="yes"
4314 else
4315 aros_format_security="no"
4317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
4319 $as_echo "$aros_format_security" >&6; }
4320 if test "x-$aros_format_security" = "x-yes" ; then
4321 aros_warnflags_format_security=-Wformat-security
4322 aros_nowarnflags_format_security=-Wno-format-security
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
4326 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
4327 CFLAGS=-Wmisleading-indentation
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4332 main ()
4336 return 0;
4338 _ACEOF
4339 if ac_fn_c_try_compile "$LINENO"; then :
4340 aros_misleading_indentation="yes"
4341 else
4342 aros_misleading_indentation="no"
4344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
4346 $as_echo "$aros_misleading_indentation" >&6; }
4347 if test "x-$aros_misleading_indentation" = "x-yes" ; then
4348 aros_warnflags_misleading_indentation=-Wmisleading-indentation
4349 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
4353 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
4354 CFLAGS=-Wnonnull-compare
4355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h. */
4359 main ()
4363 return 0;
4365 _ACEOF
4366 if ac_fn_c_try_compile "$LINENO"; then :
4367 aros_nonnull_compare="yes"
4368 else
4369 aros_nonnull_compare="no"
4371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
4373 $as_echo "$aros_nonnull_compare" >&6; }
4374 if test "x-$aros_nonnull_compare" = "x-yes" ; then
4375 aros_warnflags_nonnull_compare=-Wnonnull-compare
4376 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
4380 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
4381 CFLAGS=-Wunused
4382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383 /* end confdefs.h. */
4386 main ()
4390 return 0;
4392 _ACEOF
4393 if ac_fn_c_try_compile "$LINENO"; then :
4394 aros_unused="yes"
4395 else
4396 aros_unused="no"
4398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
4400 $as_echo "$aros_unused" >&6; }
4401 if test "x-$aros_unused" = "x-yes" ; then
4402 aros_warnflags_unused=-Wunused
4403 aros_nowarnflags_unused=-Wno-unused
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
4407 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
4408 CFLAGS=-Wunused-label
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4413 main ()
4417 return 0;
4419 _ACEOF
4420 if ac_fn_c_try_compile "$LINENO"; then :
4421 aros_unused_label="yes"
4422 else
4423 aros_unused_label="no"
4425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
4427 $as_echo "$aros_unused_label" >&6; }
4428 if test "x-$aros_unused_label" = "x-yes" ; then
4429 aros_warnflags_unused_label=-Wunused-label
4430 aros_nowarnflags_unused_label=-Wno-unused-label
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
4434 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
4435 CFLAGS=-Wunused-value
4436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h. */
4440 main ()
4444 return 0;
4446 _ACEOF
4447 if ac_fn_c_try_compile "$LINENO"; then :
4448 aros_unused_value="yes"
4449 else
4450 aros_unused_value="no"
4452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
4454 $as_echo "$aros_unused_value" >&6; }
4455 if test "x-$aros_unused_value" = "x-yes" ; then
4456 aros_warnflags_unused_value=-Wunused-value
4457 aros_nowarnflags_unused_value=-Wno-unused-value
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
4461 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
4462 CFLAGS=-Wunused-variable
4463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4464 /* end confdefs.h. */
4467 main ()
4471 return 0;
4473 _ACEOF
4474 if ac_fn_c_try_compile "$LINENO"; then :
4475 aros_unused_variable="yes"
4476 else
4477 aros_unused_variable="no"
4479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
4481 $as_echo "$aros_unused_variable" >&6; }
4482 if test "x-$aros_unused_variable" = "x-yes" ; then
4483 aros_warnflags_unused_variable=-Wunused-variable
4484 aros_nowarnflags_unused_variable=-Wno-unused-variable
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
4488 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
4489 CFLAGS=-Wunused-function
4490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4494 main ()
4498 return 0;
4500 _ACEOF
4501 if ac_fn_c_try_compile "$LINENO"; then :
4502 aros_unused_function="yes"
4503 else
4504 aros_unused_function="no"
4506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
4508 $as_echo "$aros_unused_function" >&6; }
4509 if test "x-$aros_unused_function" = "x-yes" ; then
4510 aros_warnflags_unused_function=-Wunused-function
4511 aros_nowarnflags_unused_function=-Wno-unused-function
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
4515 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
4516 CFLAGS=-Wunused-parameter
4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4521 main ()
4525 return 0;
4527 _ACEOF
4528 if ac_fn_c_try_compile "$LINENO"; then :
4529 aros_unused_parameter="yes"
4530 else
4531 aros_unused_parameter="no"
4533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
4535 $as_echo "$aros_unused_parameter" >&6; }
4536 if test "x-$aros_unused_parameter" = "x-yes" ; then
4537 aros_warnflags_unused_parameter=-Wunused-parameter
4538 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
4542 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
4543 CFLAGS=-Wuninitialized
4544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4545 /* end confdefs.h. */
4548 main ()
4552 return 0;
4554 _ACEOF
4555 if ac_fn_c_try_compile "$LINENO"; then :
4556 aros_uninitialized="yes"
4557 else
4558 aros_uninitialized="no"
4560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
4562 $as_echo "$aros_uninitialized" >&6; }
4563 if test "x-$aros_uninitialized" = "x-yes" ; then
4564 aros_warnflags_uninitialized=-Wuninitialized
4565 aros_nowarnflags_uninitialized=-Wno-uninitialized
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
4569 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
4570 CFLAGS=-Wmaybe-uninitialized
4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4572 /* end confdefs.h. */
4575 main ()
4579 return 0;
4581 _ACEOF
4582 if ac_fn_c_try_compile "$LINENO"; then :
4583 aros_maybe_uninitialized="yes"
4584 else
4585 aros_maybe_uninitialized="no"
4587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
4589 $as_echo "$aros_maybe_uninitialized" >&6; }
4590 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
4591 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
4592 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
4593 else
4594 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
4595 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
4599 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
4600 CFLAGS=-Wimplicit-function-declaration
4601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4602 /* end confdefs.h. */
4605 main ()
4609 return 0;
4611 _ACEOF
4612 if ac_fn_c_try_compile "$LINENO"; then :
4613 aros_implicit_function_declaration="yes"
4614 else
4615 aros_implicit_function_declaration="no"
4617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
4619 $as_echo "$aros_implicit_function_declaration" >&6; }
4620 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
4621 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
4622 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
4626 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
4627 CFLAGS=-Wformat
4628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4629 /* end confdefs.h. */
4632 main ()
4636 return 0;
4638 _ACEOF
4639 if ac_fn_c_try_compile "$LINENO"; then :
4640 aros_format="yes"
4641 else
4642 aros_format="no"
4644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
4646 $as_echo "$aros_format" >&6; }
4647 if test "x-$aros_format" = "x-yes" ; then
4648 aros_warnflags_format=-Wformat
4649 aros_nowarnflags_format=-Wno-format
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
4653 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
4654 CFLAGS=-Wparentheses
4655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4656 /* end confdefs.h. */
4659 main ()
4663 return 0;
4665 _ACEOF
4666 if ac_fn_c_try_compile "$LINENO"; then :
4667 aros_parentheses="yes"
4668 else
4669 aros_parentheses="no"
4671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
4673 $as_echo "$aros_parentheses" >&6; }
4674 if test "x-$aros_parentheses" = "x-yes" ; then
4675 aros_warnflags_parentheses=-Wparentheses
4676 aros_nowarnflags_parentheses=-Wno-parentheses
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
4680 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
4681 CFLAGS=-Wchar-subscripts
4682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4683 /* end confdefs.h. */
4686 main ()
4690 return 0;
4692 _ACEOF
4693 if ac_fn_c_try_compile "$LINENO"; then :
4694 aros_char_subscripts="yes"
4695 else
4696 aros_char_subscripts="no"
4698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
4700 $as_echo "$aros_char_subscripts" >&6; }
4701 if test "x-$aros_char_subscripts" = "x-yes" ; then
4702 aros_warnflags_char_subscripts=-Wchar-subscripts
4703 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
4707 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
4708 CFLAGS=-Wendif-labels
4709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h. */
4713 main ()
4717 return 0;
4719 _ACEOF
4720 if ac_fn_c_try_compile "$LINENO"; then :
4721 aros_endif_labels="yes"
4722 else
4723 aros_endif_labels="no"
4725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
4727 $as_echo "$aros_endif_labels" >&6; }
4728 if test "x-$aros_endif_labels" = "x-yes" ; then
4729 aros_warnflags_endif_labels=-Wendif-labels
4730 aros_nowarnflags_endif_labels=-Wno-endif-labels
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
4734 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
4735 CFLAGS=-Wformat-contains-nul
4736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4740 main ()
4744 return 0;
4746 _ACEOF
4747 if ac_fn_c_try_compile "$LINENO"; then :
4748 aros_format_contains_nul="yes"
4749 else
4750 aros_format_contains_nul="no"
4752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
4754 $as_echo "$aros_format_contains_nul" >&6; }
4755 if test "x-$aros_format_contains_nul" = "x-yes" ; then
4756 aros_warnflags_format_contains_nul=-Wformat-contains-nul
4757 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
4761 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
4762 CFLAGS=-Wimplicit-int
4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h. */
4767 main ()
4771 return 0;
4773 _ACEOF
4774 if ac_fn_c_try_compile "$LINENO"; then :
4775 aros_implicit_int="yes"
4776 else
4777 aros_implicit_int="no"
4779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
4781 $as_echo "$aros_implicit_int" >&6; }
4782 if test "x-$aros_implicit_int" = "x-yes" ; then
4783 aros_warnflags_implicit_int=-Wimplicit-int
4784 aros_nowarnflags_implicit_int=-Wno-implicit-int
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
4788 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
4789 CFLAGS=-Waggressive-loop-optimizations
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4794 main ()
4798 return 0;
4800 _ACEOF
4801 if ac_fn_c_try_compile "$LINENO"; then :
4802 aros_aggressive_loop_optimizations="yes"
4803 else
4804 aros_aggressive_loop_optimizations="no"
4806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
4808 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
4809 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
4810 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
4811 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
4815 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
4816 CFLAGS=-Wcpp
4817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4818 /* end confdefs.h. */
4821 main ()
4825 return 0;
4827 _ACEOF
4828 if ac_fn_c_try_compile "$LINENO"; then :
4829 aros_cpp="yes"
4830 else
4831 aros_cpp="no"
4833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
4835 $as_echo "$aros_cpp" >&6; }
4836 if test "x-$aros_cpp" = "x-yes" ; then
4837 aros_warnflags_cpp=-Wcpp
4838 aros_nowarnflags_cpp=-Wno-cpp
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
4842 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
4843 CFLAGS=-Wswitch
4844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4845 /* end confdefs.h. */
4848 main ()
4852 return 0;
4854 _ACEOF
4855 if ac_fn_c_try_compile "$LINENO"; then :
4856 aros_switch="yes"
4857 else
4858 aros_switch="no"
4860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
4862 $as_echo "$aros_switch" >&6; }
4863 if test "x-$aros_switch" = "x-yes" ; then
4864 aros_warnflags_switch=-Wswitch
4865 aros_nowarnflags_switch=-Wno-switch
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
4869 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
4870 CFLAGS=-Wdiscarded-qualifiers
4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4875 main ()
4879 return 0;
4881 _ACEOF
4882 if ac_fn_c_try_compile "$LINENO"; then :
4883 aros_discarded_qualifiers="yes"
4884 else
4885 aros_discarded_qualifiers="no"
4887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
4889 $as_echo "$aros_discarded_qualifiers" >&6; }
4890 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
4891 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
4892 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
4896 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
4897 CFLAGS=-Wsequence-point
4898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4899 /* end confdefs.h. */
4902 main ()
4906 return 0;
4908 _ACEOF
4909 if ac_fn_c_try_compile "$LINENO"; then :
4910 aros_sequence_point="yes"
4911 else
4912 aros_sequence_point="no"
4914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
4916 $as_echo "$aros_sequence_point" >&6; }
4917 if test "x-$aros_sequence_point" = "x-yes" ; then
4918 aros_warnflags_sequence_point=-Wsequence-point
4919 aros_nowarnflags_sequence_point=-Wno-sequence-point
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
4923 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
4924 CFLAGS=-Wunknown-pragmas
4925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4926 /* end confdefs.h. */
4929 main ()
4933 return 0;
4935 _ACEOF
4936 if ac_fn_c_try_compile "$LINENO"; then :
4937 aros_unknown_pragmas="yes"
4938 else
4939 aros_unknown_pragmas="no"
4941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
4943 $as_echo "$aros_unknown_pragmas" >&6; }
4944 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
4945 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
4946 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
4950 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
4951 CFLAGS=-Wdiscarded-array-qualifiers
4952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4956 main ()
4960 return 0;
4962 _ACEOF
4963 if ac_fn_c_try_compile "$LINENO"; then :
4964 aros_discarded_array_qualifiers="yes"
4965 else
4966 aros_discarded_array_qualifiers="no"
4968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
4970 $as_echo "$aros_discarded_array_qualifiers" >&6; }
4971 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
4972 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
4973 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4977 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4978 CFLAGS=-Wint-conversion
4979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4980 /* end confdefs.h. */
4983 main ()
4987 return 0;
4989 _ACEOF
4990 if ac_fn_c_try_compile "$LINENO"; then :
4991 aros_int_conversion="yes"
4992 else
4993 aros_int_conversion="no"
4995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4997 $as_echo "$aros_int_conversion" >&6; }
4998 if test "x-$aros_int_conversion" = "x-yes" ; then
4999 aros_warnflags_int_conversion=-Wint-conversion
5000 aros_nowarnflags_int_conversion=-Wno-int-conversion
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
5004 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
5005 CFLAGS=-Wint-to-pointer-cast
5006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5007 /* end confdefs.h. */
5010 main ()
5014 return 0;
5016 _ACEOF
5017 if ac_fn_c_try_compile "$LINENO"; then :
5018 aros_int_to_pointer_cast="yes"
5019 else
5020 aros_int_to_pointer_cast="no"
5022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
5024 $as_echo "$aros_int_to_pointer_cast" >&6; }
5025 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
5026 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
5027 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
5031 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
5032 CFLAGS=-Wpointer-to-int-cast
5033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5034 /* end confdefs.h. */
5037 main ()
5041 return 0;
5043 _ACEOF
5044 if ac_fn_c_try_compile "$LINENO"; then :
5045 aros_pointer_to_int_cast="yes"
5046 else
5047 aros_pointer_to_int_cast="no"
5049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
5051 $as_echo "$aros_pointer_to_int_cast" >&6; }
5052 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
5053 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
5054 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
5058 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
5059 CFLAGS=-Wunused-const-variable
5060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5061 /* end confdefs.h. */
5064 main ()
5068 return 0;
5070 _ACEOF
5071 if ac_fn_c_try_compile "$LINENO"; then :
5072 aros_unused_const_variable="yes"
5073 else
5074 aros_unused_const_variable="no"
5076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
5078 $as_echo "$aros_unused_const_variable" >&6; }
5079 if test "x-$aros_unused_const_variable" = "x-yes" ; then
5080 aros_warnflags_unused_const_variable=-Wunused-const-variable
5081 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
5085 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
5086 CFLAGS=-Wwrite-strings
5087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5088 /* end confdefs.h. */
5091 main ()
5095 return 0;
5097 _ACEOF
5098 if ac_fn_c_try_compile "$LINENO"; then :
5099 aros_write_strings="yes"
5100 else
5101 aros_write_strings="no"
5103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
5105 $as_echo "$aros_write_strings" >&6; }
5106 if test "x-$aros_write_strings" = "x-yes" ; then
5107 aros_warnflags_write_strings=-Wwrite-strings
5108 aros_nowarnflags_write_strings=-Wno-write-strings
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
5112 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
5113 CFLAGS=-Wcomment
5114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5118 main ()
5122 return 0;
5124 _ACEOF
5125 if ac_fn_c_try_compile "$LINENO"; then :
5126 aros_comment="yes"
5127 else
5128 aros_comment="no"
5130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
5132 $as_echo "$aros_comment" >&6; }
5133 if test "x-$aros_comment" = "x-yes" ; then
5134 aros_warnflags_comment=-Wcomment
5135 aros_nowarnflags_comment=-Wno-comment
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
5139 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
5140 CFLAGS=-Wincompatible-pointer-types
5141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5142 /* end confdefs.h. */
5145 main ()
5149 return 0;
5151 _ACEOF
5152 if ac_fn_c_try_compile "$LINENO"; then :
5153 aros_incompatible_pointer_types="yes"
5154 else
5155 aros_incompatible_pointer_types="no"
5157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
5159 $as_echo "$aros_incompatible_pointer_types" >&6; }
5160 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
5161 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
5162 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
5166 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
5167 CFLAGS=-Wbool-compare
5168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5169 /* end confdefs.h. */
5172 main ()
5176 return 0;
5178 _ACEOF
5179 if ac_fn_c_try_compile "$LINENO"; then :
5180 aros_bool_compare="yes"
5181 else
5182 aros_bool_compare="no"
5184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
5186 $as_echo "$aros_bool_compare" >&6; }
5187 if test "x-$aros_bool_compare" = "x-yes" ; then
5188 aros_warnflags_bool_compare=-Wbool-compare
5189 aros_nowarnflags_bool_compare=-Wno-bool-compare
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
5193 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
5194 CFLAGS=-Wlogical-not-parentheses
5195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5196 /* end confdefs.h. */
5199 main ()
5203 return 0;
5205 _ACEOF
5206 if ac_fn_c_try_compile "$LINENO"; then :
5207 aros_logical_not_parentheses="yes"
5208 else
5209 aros_logical_not_parentheses="no"
5211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
5213 $as_echo "$aros_logical_not_parentheses" >&6; }
5214 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
5215 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
5216 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
5220 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
5221 CFLAGS=-Wpointer-sign
5222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5223 /* end confdefs.h. */
5226 main ()
5230 return 0;
5232 _ACEOF
5233 if ac_fn_c_try_compile "$LINENO"; then :
5234 aros_pointer_sign="yes"
5235 else
5236 aros_pointer_sign="no"
5238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
5240 $as_echo "$aros_pointer_sign" >&6; }
5241 if test "x-$aros_pointer_sign" = "x-yes" ; then
5242 aros_warnflags_pointer_sign=-Wpointer-sign
5243 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
5247 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
5248 CFLAGS=-Wshift-overflow
5249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5250 /* end confdefs.h. */
5253 main ()
5257 return 0;
5259 _ACEOF
5260 if ac_fn_c_try_compile "$LINENO"; then :
5261 aros_shift_overflow="yes"
5262 else
5263 aros_shift_overflow="no"
5265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
5267 $as_echo "$aros_shift_overflow" >&6; }
5268 if test "x-$aros_shift_overflow" = "x-yes" ; then
5269 aros_warnflags_shift_overflow=-Wshift-overflow
5270 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
5274 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
5275 CFLAGS=-Wframe-address
5276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5277 /* end confdefs.h. */
5280 main ()
5284 return 0;
5286 _ACEOF
5287 if ac_fn_c_try_compile "$LINENO"; then :
5288 aros_frame_address="yes"
5289 else
5290 aros_frame_address="no"
5292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
5294 $as_echo "$aros_frame_address" >&6; }
5295 if test "x-$aros_frame_address" = "x-yes" ; then
5296 aros_warnflags_frame_address=-Wframe-address
5297 aros_nowarnflags_frame_address=-Wno-frame-address
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
5301 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
5302 CFLAGS=-Wdeprecated-declarations
5303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5304 /* end confdefs.h. */
5307 main ()
5311 return 0;
5313 _ACEOF
5314 if ac_fn_c_try_compile "$LINENO"; then :
5315 aros_deprecated_declarations="yes"
5316 else
5317 aros_deprecated_declarations="no"
5319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
5321 $as_echo "$aros_deprecated_declarations" >&6; }
5322 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
5323 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
5324 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
5328 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
5329 CFLAGS=-Wsign-compare
5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5331 /* end confdefs.h. */
5334 main ()
5338 return 0;
5340 _ACEOF
5341 if ac_fn_c_try_compile "$LINENO"; then :
5342 aros_sign_compare="yes"
5343 else
5344 aros_sign_compare="no"
5346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
5348 $as_echo "$aros_sign_compare" >&6; }
5349 if test "x-$aros_sign_compare" = "x-yes" ; then
5350 aros_warnflags_sign_compare=-Wsign-compare
5351 aros_nowarnflags_sign_compare=-Wno-sign-compare
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
5355 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
5356 CFLAGS=-Wattributes
5357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5358 /* end confdefs.h. */
5361 main ()
5365 return 0;
5367 _ACEOF
5368 if ac_fn_c_try_compile "$LINENO"; then :
5369 aros_attributes="yes"
5370 else
5371 aros_attributes="no"
5373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
5375 $as_echo "$aros_attributes" >&6; }
5376 if test "x-$aros_attributes" = "x-yes" ; then
5377 aros_warnflags_attributes=-Wattributes
5378 aros_nowarnflags_attributes=-Wno-attributes
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
5382 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
5383 CFLAGS=-Woverflow
5384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5385 /* end confdefs.h. */
5388 main ()
5392 return 0;
5394 _ACEOF
5395 if ac_fn_c_try_compile "$LINENO"; then :
5396 aros_overflow="yes"
5397 else
5398 aros_overflow="no"
5400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
5402 $as_echo "$aros_overflow" >&6; }
5403 if test "x-$aros_overflow" = "x-yes" ; then
5404 aros_warnflags_overflow=-Woverflow
5405 aros_nowarnflags_overflow=-Wno-overflow
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
5409 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
5410 CFLAGS=-Wunused-local-typedefs
5411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5412 /* end confdefs.h. */
5415 main ()
5419 return 0;
5421 _ACEOF
5422 if ac_fn_c_try_compile "$LINENO"; then :
5423 aros_unused_local_typedefs="yes"
5424 else
5425 aros_unused_local_typedefs="no"
5427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
5429 $as_echo "$aros_unused_local_typedefs" >&6; }
5430 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
5431 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
5432 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
5436 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
5437 CFLAGS=-Wmissing-braces
5438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5439 /* end confdefs.h. */
5442 main ()
5446 return 0;
5448 _ACEOF
5449 if ac_fn_c_try_compile "$LINENO"; then :
5450 aros_missing_braces="yes"
5451 else
5452 aros_missing_braces="no"
5454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
5456 $as_echo "$aros_missing_braces" >&6; }
5457 if test "x-$aros_missing_braces" = "x-yes" ; then
5458 aros_warnflags_missing_braces=-Wmissing-braces
5459 aros_nowarnflags_missing_braces=-Wno-missing-braces
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
5463 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
5464 CFLAGS=-Wnarrowing
5465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5466 /* end confdefs.h. */
5469 main ()
5473 return 0;
5475 _ACEOF
5476 if ac_fn_c_try_compile "$LINENO"; then :
5477 aros_narrowing="yes"
5478 else
5479 aros_narrowing="no"
5481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
5483 $as_echo "$aros_narrowing" >&6; }
5484 if test "x-$aros_narrowing" = "x-yes" ; then
5485 aros_warnflags_narrowing=-Wnarrowing
5486 aros_nowarnflags_narrowing=-Wno-narrowing
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
5490 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
5491 CFLAGS=-Wvolatile-register-var
5492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5493 /* end confdefs.h. */
5496 main ()
5500 return 0;
5502 _ACEOF
5503 if ac_fn_c_try_compile "$LINENO"; then :
5504 aros_volatile_register_var="yes"
5505 else
5506 aros_volatile_register_var="no"
5508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
5510 $as_echo "$aros_volatile_register_var" >&6; }
5511 if test "x-$aros_volatile_register_var" = "x-yes" ; then
5512 aros_warnflags_volatile_register_var=-Wvolatile-register-var
5513 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
5517 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
5518 CFLAGS=-Wsizeof-pointer-memaccess
5519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5520 /* end confdefs.h. */
5523 main ()
5527 return 0;
5529 _ACEOF
5530 if ac_fn_c_try_compile "$LINENO"; then :
5531 aros_sizeof_pointer_memaccess="yes"
5532 else
5533 aros_sizeof_pointer_memaccess="no"
5535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
5537 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
5538 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
5539 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
5540 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
5544 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
5545 CFLAGS=-Wreturn-type
5546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5547 /* end confdefs.h. */
5550 main ()
5554 return 0;
5556 _ACEOF
5557 if ac_fn_c_try_compile "$LINENO"; then :
5558 aros_return_type="yes"
5559 else
5560 aros_return_type="no"
5562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
5564 $as_echo "$aros_return_type" >&6; }
5565 if test "x-$aros_return_type" = "x-yes" ; then
5566 aros_warnflags_return_type=-Wreturn-type
5567 aros_nowarnflags_return_type=-Wno-return-type
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
5571 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
5572 CFLAGS=-Wformat-zero-length
5573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5574 /* end confdefs.h. */
5577 main ()
5581 return 0;
5583 _ACEOF
5584 if ac_fn_c_try_compile "$LINENO"; then :
5585 aros_format_zero_length="yes"
5586 else
5587 aros_format_zero_length="no"
5589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
5591 $as_echo "$aros_format_zero_length" >&6; }
5592 if test "x-$aros_format_zero_length" = "x-yes" ; then
5593 aros_warnflags_format_zero_length=-Wformat-zero-length
5594 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
5598 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
5599 CFLAGS=-Wlto-type-mismatch
5600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5601 /* end confdefs.h. */
5604 main ()
5608 return 0;
5610 _ACEOF
5611 if ac_fn_c_try_compile "$LINENO"; then :
5612 aros_lto_type_mismatch="yes"
5613 else
5614 aros_lto_type_mismatch="no"
5616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
5618 $as_echo "$aros_lto_type_mismatch" >&6; }
5619 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
5620 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
5621 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
5625 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
5626 CFLAGS=-Wtautological-compare
5627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5628 /* end confdefs.h. */
5631 main ()
5635 return 0;
5637 _ACEOF
5638 if ac_fn_c_try_compile "$LINENO"; then :
5639 aros_tautological_compare="yes"
5640 else
5641 aros_tautological_compare="no"
5643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
5645 $as_echo "$aros_tautological_compare" >&6; }
5646 if test "x-$aros_tautological_compare" = "x-yes" ; then
5647 aros_warnflags_tautological_compare=-Wtautological-compare
5648 aros_nowarnflags_tautological_compare=-Wno-tautological-compare
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
5652 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
5653 CFLAGS=-Wempty-body
5654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5655 /* end confdefs.h. */
5658 main ()
5662 return 0;
5664 _ACEOF
5665 if ac_fn_c_try_compile "$LINENO"; then :
5666 aros_empty_body="yes"
5667 else
5668 aros_empty_body="no"
5670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
5672 $as_echo "$aros_empty_body" >&6; }
5673 if test "x-$aros_empty_body" = "x-yes" ; then
5674 aros_warnflags_empty_body=-Wempty-body
5675 aros_nowarnflags_empty_body=-Wno-empty-body
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-overflow" >&5
5679 $as_echo_n "checking whether ${CC} accepts -Wformat-overflow... " >&6; }
5680 CFLAGS=-Wformat-overflow
5681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5682 /* end confdefs.h. */
5685 main ()
5689 return 0;
5691 _ACEOF
5692 if ac_fn_c_try_compile "$LINENO"; then :
5693 aros_format_overflow="yes"
5694 else
5695 aros_format_overflow="no"
5697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_overflow" >&5
5699 $as_echo "$aros_format_overflow" >&6; }
5700 if test "x-$aros_format_overflow" = "x-yes" ; then
5701 aros_warnflags_format_overflow=-Wformat-overflow
5702 aros_nowarnflags_format_overflow=-Wno-format-overflow
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-overflow" >&5
5706 $as_echo_n "checking whether ${CC} accepts -Wstringop-overflow... " >&6; }
5707 CFLAGS=-Wstringop-overflow
5708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5709 /* end confdefs.h. */
5712 main ()
5716 return 0;
5718 _ACEOF
5719 if ac_fn_c_try_compile "$LINENO"; then :
5720 aros_stringop_overflow="yes"
5721 else
5722 aros_stringop_overflow="no"
5724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_overflow" >&5
5726 $as_echo "$aros_stringop_overflow" >&6; }
5727 if test "x-$aros_stringop_overflow" = "x-yes" ; then
5728 aros_warnflags_stringop_overflow=-Wstringop-overflow
5729 aros_nowarnflags_stringop_overflow=-Wno-stringop-overflow
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-truncation" >&5
5733 $as_echo_n "checking whether ${CC} accepts -Wformat-truncation... " >&6; }
5734 CFLAGS=-Wformat-truncation
5735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5736 /* end confdefs.h. */
5739 main ()
5743 return 0;
5745 _ACEOF
5746 if ac_fn_c_try_compile "$LINENO"; then :
5747 aros_format_truncation="yes"
5748 else
5749 aros_format_truncation="no"
5751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_truncation" >&5
5753 $as_echo "$aros_format_truncation" >&6; }
5754 if test "x-$aros_format_truncation" = "x-yes" ; then
5755 aros_warnflags_format_truncation=-Wformat-truncation
5756 aros_nowarnflags_format_truncation=-Wno-format-truncation
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-truncation" >&5
5760 $as_echo_n "checking whether ${CC} accepts -Wstringop-truncation... " >&6; }
5761 CFLAGS=-Wstringop-truncation
5762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5763 /* end confdefs.h. */
5766 main ()
5770 return 0;
5772 _ACEOF
5773 if ac_fn_c_try_compile "$LINENO"; then :
5774 aros_stringop_truncation="yes"
5775 else
5776 aros_stringop_truncation="no"
5778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_truncation" >&5
5780 $as_echo "$aros_stringop_truncation" >&6; }
5781 if test "x-$aros_stringop_truncation" = "x-yes" ; then
5782 aros_warnflags_stringop_truncation=-Wstringop-truncation
5783 aros_nowarnflags_stringop_truncation=-Wno-stringop-truncation
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-negative-value" >&5
5787 $as_echo_n "checking whether ${CC} accepts -Wshift-negative-value... " >&6; }
5788 CFLAGS=-Wshift-negative-value
5789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5790 /* end confdefs.h. */
5793 main ()
5797 return 0;
5799 _ACEOF
5800 if ac_fn_c_try_compile "$LINENO"; then :
5801 aros_shift_negative_value="yes"
5802 else
5803 aros_shift_negative_value="no"
5805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_negative_value" >&5
5807 $as_echo "$aros_shift_negative_value" >&6; }
5808 if test "x-$aros_shift_negative_value" = "x-yes" ; then
5809 aros_warnflags_shift_negative_value=-Wshift-negative-value
5810 aros_nowarnflags_shift_negative_value=-Wno-shift-negative-value
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-field-initializers" >&5
5814 $as_echo_n "checking whether ${CC} accepts -Wmissing-field-initializers... " >&6; }
5815 CFLAGS=-Wmissing-field-initializers
5816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5817 /* end confdefs.h. */
5820 main ()
5824 return 0;
5826 _ACEOF
5827 if ac_fn_c_try_compile "$LINENO"; then :
5828 aros_missing_field_initializers="yes"
5829 else
5830 aros_missing_field_initializers="no"
5832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_field_initializers" >&5
5834 $as_echo "$aros_missing_field_initializers" >&6; }
5835 if test "x-$aros_missing_field_initializers" = "x-yes" ; then
5836 aros_warnflags_missing_field_initializers=-Wmissing-field-initializers
5837 aros_nowarnflags_missing_field_initializers=-Wno-missing-field-initializers
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-fallthrough" >&5
5841 $as_echo_n "checking whether ${CC} accepts -Wimplicit-fallthrough... " >&6; }
5842 CFLAGS=-Wimplicit-fallthrough
5843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5844 /* end confdefs.h. */
5847 main ()
5851 return 0;
5853 _ACEOF
5854 if ac_fn_c_try_compile "$LINENO"; then :
5855 aros_implicit_fallthrough="yes"
5856 else
5857 aros_implicit_fallthrough="no"
5859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_fallthrough" >&5
5861 $as_echo "$aros_implicit_fallthrough" >&6; }
5862 if test "x-$aros_implicit_fallthrough" = "x-yes" ; then
5863 aros_warnflags_implicit_fallthrough=-Wimplicit-fallthrough
5864 aros_nowarnflags_implicit_fallthrough=-Wno-implicit-fallthrough
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-prototypes" >&5
5868 $as_echo_n "checking whether ${CC} accepts -Wmissing-prototypes... " >&6; }
5869 CFLAGS=-Wmissing-prototypes
5870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5871 /* end confdefs.h. */
5874 main ()
5878 return 0;
5880 _ACEOF
5881 if ac_fn_c_try_compile "$LINENO"; then :
5882 aros_missing_prototypes="yes"
5883 else
5884 aros_missing_prototypes="no"
5886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_prototypes" >&5
5888 $as_echo "$aros_missing_prototypes" >&6; }
5889 if test "x-$aros_missing_prototypes" = "x-yes" ; then
5890 aros_warnflags_missing_prototypes=-Wmissing-prototypes
5891 aros_nowarnflags_missing_prototypes=-Wno-missing-prototypes
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wclass-memaccess" >&5
5895 $as_echo_n "checking whether ${CC} accepts -Wclass-memaccess... " >&6; }
5896 CFLAGS=-Wclass-memaccess
5897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5898 /* end confdefs.h. */
5901 main ()
5905 return 0;
5907 _ACEOF
5908 if ac_fn_c_try_compile "$LINENO"; then :
5909 aros_class_memaccess="yes"
5910 else
5911 aros_class_memaccess="no"
5913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_class_memaccess" >&5
5915 $as_echo "$aros_class_memaccess" >&6; }
5916 if test "x-$aros_class_memaccess" = "x-yes" ; then
5917 aros_warnflags_class_memaccess=-Wclass-memaccess
5918 aros_nowarnflags_class_memaccess=-Wno-class-memaccess
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-in-bool-context" >&5
5922 $as_echo_n "checking whether ${CC} accepts -Wint-in-bool-context... " >&6; }
5923 CFLAGS=-Wint-in-bool-context
5924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5925 /* end confdefs.h. */
5928 main ()
5932 return 0;
5934 _ACEOF
5935 if ac_fn_c_try_compile "$LINENO"; then :
5936 aros_int_in_bool_context="yes"
5937 else
5938 aros_int_in_bool_context="no"
5940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_in_bool_context" >&5
5942 $as_echo "$aros_int_in_bool_context" >&6; }
5943 if test "x-$aros_int_in_bool_context" = "x-yes" ; then
5944 aros_warnflags_int_in_bool_context=-Wint-in-bool-context
5945 aros_nowarnflags_int_in_bool_context=-Wno-int-in-bool-context
5947 CFLAGS="$save_cflags"
5949 # Check the C++ warnings
5950 ac_ext=cpp
5951 ac_cpp='$CXXCPP $CPPFLAGS'
5952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5956 save_cxxflags="$CXXFLAGS"
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -Wconversion-null" >&5
5959 $as_echo_n "checking whether ${CXX} accepts -Wconversion-null... " >&6; }
5960 CXXFLAGS=-Wconversion-null
5961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5962 /* end confdefs.h. */
5965 main ()
5969 return 0;
5971 _ACEOF
5972 if ac_fn_cxx_try_compile "$LINENO"; then :
5973 aros_conversion_null="yes"
5974 else
5975 aros_conversion_null="no"
5977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
5979 $as_echo "$aros_conversion_null" >&6; }
5980 if test "x-$aros_conversion_null" = "x-yes" ; then
5981 aros_warnflags_conversion_null=-Wconversion-null
5982 aros_nowarnflags_conversion_null=-Wno-conversion-null
5985 CXXFLAGS="$save_cxxflags"
5987 ac_ext=c
5988 ac_cpp='$CPP $CPPFLAGS'
5989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5994 #########################################################
5996 # Now check what we need to use with the toolchain
5998 cat >$AROS_DEVELOPER/include/__testsincdir.h <<_ACEOF
5999 /* Copyright (c) The AROS Dev Team */
6000 #define _TESTINCFOUND
6001 _ACEOF
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to use --sysroot" >&5
6004 $as_echo_n "checking if we need to use --sysroot... " >&6; }
6005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6006 /* end confdefs.h. */
6008 #include <__testsincdir.h>
6009 #ifndef _TESTINCFOUND
6010 error: Couldnt find include!
6011 #endif
6014 main ()
6018 return 0;
6020 _ACEOF
6021 if ac_fn_c_try_compile "$LINENO"; then :
6022 toolchain_needs_sysroot=no
6023 else
6024 toolchain_needs_sysroot=yes
6026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolchain_needs_sysroot" >&5
6028 $as_echo "$toolchain_needs_sysroot" >&6; }
6030 if test "$toolchain_needs_sysroot" = "yes" ; then
6031 aros_toolchain_sysroot="--sysroot $""(AROS_DEVELOPER)"
6034 #AC_MSG_CHECKING([if we need to use --isysroot])
6035 #AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
6036 # [[
6037 # (#include <__testsincdir.h>
6038 # #ifndef _TESTINCFOUND
6039 # error: Couldnt find include!
6040 # #endif
6041 # ]])],
6042 # [toolchain_needs_isysroot=no],
6043 # [toolchain_needs_isysroot=yes])
6044 #AC_MSG_RESULT($toolchain_needs_isysroot)
6046 #if test "$toolchain_needs_isysroot" = "yes" ; then
6047 # aros_toolchain_isysroot="-isysroot $""(AROS_SDK)"
6048 # aros_toolchain_iarchdir="-I $""(AROS_SDK)/$""(AROS_TARGET_CPU)-aros/include"
6050 rm -f $AROS_DEVELOPER/include/__testsincdir.h
6053 # export the feature flags...
6113 # export the feature options...
6121 # ...and warning flags...
6269 # Additional toolchain support ...
6272 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
6275 cat >confcache <<\_ACEOF
6276 # This file is a shell script that caches the results of configure
6277 # tests run on this system so they can be shared between configure
6278 # scripts and configure runs, see configure's option --config-cache.
6279 # It is not useful on other systems. If it contains results you don't
6280 # want to keep, you may remove or edit it.
6282 # config.status only pays attention to the cache file if you give it
6283 # the --recheck option to rerun configure.
6285 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6286 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6287 # following values.
6289 _ACEOF
6291 # The following way of writing the cache mishandles newlines in values,
6292 # but we know of no workaround that is simple, portable, and efficient.
6293 # So, we kill variables containing newlines.
6294 # Ultrix sh set writes to stderr and can't be redirected directly,
6295 # and sets the high bit in the cache file unless we assign to the vars.
6297 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6298 eval ac_val=\$$ac_var
6299 case $ac_val in #(
6300 *${as_nl}*)
6301 case $ac_var in #(
6302 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6303 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6304 esac
6305 case $ac_var in #(
6306 _ | IFS | as_nl) ;; #(
6307 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6308 *) { eval $ac_var=; unset $ac_var;} ;;
6309 esac ;;
6310 esac
6311 done
6313 (set) 2>&1 |
6314 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6315 *${as_nl}ac_space=\ *)
6316 # `set' does not quote correctly, so add quotes: double-quote
6317 # substitution turns \\\\ into \\, and sed turns \\ into \.
6318 sed -n \
6319 "s/'/'\\\\''/g;
6320 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6321 ;; #(
6323 # `set' quotes correctly as required by POSIX, so do not add quotes.
6324 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6326 esac |
6327 sort
6329 sed '
6330 /^ac_cv_env_/b end
6331 t clear
6332 :clear
6333 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6334 t end
6335 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6336 :end' >>confcache
6337 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6338 if test -w "$cache_file"; then
6339 if test "x$cache_file" != "x/dev/null"; then
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6341 $as_echo "$as_me: updating cache $cache_file" >&6;}
6342 if test ! -f "$cache_file" || test -h "$cache_file"; then
6343 cat confcache >"$cache_file"
6344 else
6345 case $cache_file in #(
6346 */* | ?:*)
6347 mv -f confcache "$cache_file"$$ &&
6348 mv -f "$cache_file"$$ "$cache_file" ;; #(
6350 mv -f confcache "$cache_file" ;;
6351 esac
6354 else
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6356 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6359 rm -f confcache
6361 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6362 # Let make expand exec_prefix.
6363 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6365 # Transform confdefs.h into DEFS.
6366 # Protect against shell expansion while executing Makefile rules.
6367 # Protect against Makefile macro expansion.
6369 # If the first sed substitution is executed (which looks for macros that
6370 # take arguments), then branch to the quote section. Otherwise,
6371 # look for a macro that doesn't take arguments.
6372 ac_script='
6373 :mline
6374 /\\$/{
6376 s,\\\n,,
6377 b mline
6379 t clear
6380 :clear
6381 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6382 t quote
6383 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6384 t quote
6385 b any
6386 :quote
6387 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6388 s/\[/\\&/g
6389 s/\]/\\&/g
6390 s/\$/$$/g
6392 :any
6395 s/^\n//
6396 s/\n/ /g
6400 DEFS=`sed -n "$ac_script" confdefs.h`
6403 ac_libobjs=
6404 ac_ltlibobjs=
6406 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6407 # 1. Remove the extension, and $U if already installed.
6408 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6409 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6410 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6411 # will be set to the directory where LIBOBJS objects are built.
6412 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6413 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6414 done
6415 LIBOBJS=$ac_libobjs
6417 LTLIBOBJS=$ac_ltlibobjs
6421 : "${CONFIG_STATUS=./config.status}"
6422 ac_write_fail=0
6423 ac_clean_files_save=$ac_clean_files
6424 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6426 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6427 as_write_fail=0
6428 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6429 #! $SHELL
6430 # Generated by $as_me.
6431 # Run this file to recreate the current configuration.
6432 # Compiler output produced by configure, useful for debugging
6433 # configure, is in config.log if it exists.
6435 debug=false
6436 ac_cs_recheck=false
6437 ac_cs_silent=false
6439 SHELL=\${CONFIG_SHELL-$SHELL}
6440 export SHELL
6441 _ASEOF
6442 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6443 ## -------------------- ##
6444 ## M4sh Initialization. ##
6445 ## -------------------- ##
6447 # Be more Bourne compatible
6448 DUALCASE=1; export DUALCASE # for MKS sh
6449 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6450 emulate sh
6451 NULLCMD=:
6452 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6453 # is contrary to our usage. Disable this feature.
6454 alias -g '${1+"$@"}'='"$@"'
6455 setopt NO_GLOB_SUBST
6456 else
6457 case `(set -o) 2>/dev/null` in #(
6458 *posix*) :
6459 set -o posix ;; #(
6460 *) :
6462 esac
6466 as_nl='
6468 export as_nl
6469 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6470 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6471 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6472 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6473 # Prefer a ksh shell builtin over an external printf program on Solaris,
6474 # but without wasting forks for bash or zsh.
6475 if test -z "$BASH_VERSION$ZSH_VERSION" \
6476 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6477 as_echo='print -r --'
6478 as_echo_n='print -rn --'
6479 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6480 as_echo='printf %s\n'
6481 as_echo_n='printf %s'
6482 else
6483 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6484 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6485 as_echo_n='/usr/ucb/echo -n'
6486 else
6487 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6488 as_echo_n_body='eval
6489 arg=$1;
6490 case $arg in #(
6491 *"$as_nl"*)
6492 expr "X$arg" : "X\\(.*\\)$as_nl";
6493 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6494 esac;
6495 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6497 export as_echo_n_body
6498 as_echo_n='sh -c $as_echo_n_body as_echo'
6500 export as_echo_body
6501 as_echo='sh -c $as_echo_body as_echo'
6504 # The user is always right.
6505 if test "${PATH_SEPARATOR+set}" != set; then
6506 PATH_SEPARATOR=:
6507 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6508 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6509 PATH_SEPARATOR=';'
6514 # IFS
6515 # We need space, tab and new line, in precisely that order. Quoting is
6516 # there to prevent editors from complaining about space-tab.
6517 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6518 # splitting by setting IFS to empty value.)
6519 IFS=" "" $as_nl"
6521 # Find who we are. Look in the path if we contain no directory separator.
6522 as_myself=
6523 case $0 in #((
6524 *[\\/]* ) as_myself=$0 ;;
6525 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6526 for as_dir in $PATH
6528 IFS=$as_save_IFS
6529 test -z "$as_dir" && as_dir=.
6530 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6531 done
6532 IFS=$as_save_IFS
6535 esac
6536 # We did not find ourselves, most probably we were run as `sh COMMAND'
6537 # in which case we are not to be found in the path.
6538 if test "x$as_myself" = x; then
6539 as_myself=$0
6541 if test ! -f "$as_myself"; then
6542 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6543 exit 1
6546 # Unset variables that we do not need and which cause bugs (e.g. in
6547 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6548 # suppresses any "Segmentation fault" message there. '((' could
6549 # trigger a bug in pdksh 5.2.14.
6550 for as_var in BASH_ENV ENV MAIL MAILPATH
6551 do eval test x\${$as_var+set} = xset \
6552 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6553 done
6554 PS1='$ '
6555 PS2='> '
6556 PS4='+ '
6558 # NLS nuisances.
6559 LC_ALL=C
6560 export LC_ALL
6561 LANGUAGE=C
6562 export LANGUAGE
6564 # CDPATH.
6565 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6568 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6569 # ----------------------------------------
6570 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6571 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6572 # script with STATUS, using 1 if that was 0.
6573 as_fn_error ()
6575 as_status=$1; test $as_status -eq 0 && as_status=1
6576 if test "$4"; then
6577 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6578 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6580 $as_echo "$as_me: error: $2" >&2
6581 as_fn_exit $as_status
6582 } # as_fn_error
6585 # as_fn_set_status STATUS
6586 # -----------------------
6587 # Set $? to STATUS, without forking.
6588 as_fn_set_status ()
6590 return $1
6591 } # as_fn_set_status
6593 # as_fn_exit STATUS
6594 # -----------------
6595 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6596 as_fn_exit ()
6598 set +e
6599 as_fn_set_status $1
6600 exit $1
6601 } # as_fn_exit
6603 # as_fn_unset VAR
6604 # ---------------
6605 # Portably unset VAR.
6606 as_fn_unset ()
6608 { eval $1=; unset $1;}
6610 as_unset=as_fn_unset
6611 # as_fn_append VAR VALUE
6612 # ----------------------
6613 # Append the text in VALUE to the end of the definition contained in VAR. Take
6614 # advantage of any shell optimizations that allow amortized linear growth over
6615 # repeated appends, instead of the typical quadratic growth present in naive
6616 # implementations.
6617 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6618 eval 'as_fn_append ()
6620 eval $1+=\$2
6622 else
6623 as_fn_append ()
6625 eval $1=\$$1\$2
6627 fi # as_fn_append
6629 # as_fn_arith ARG...
6630 # ------------------
6631 # Perform arithmetic evaluation on the ARGs, and store the result in the
6632 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6633 # must be portable across $(()) and expr.
6634 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6635 eval 'as_fn_arith ()
6637 as_val=$(( $* ))
6639 else
6640 as_fn_arith ()
6642 as_val=`expr "$@" || test $? -eq 1`
6644 fi # as_fn_arith
6647 if expr a : '\(a\)' >/dev/null 2>&1 &&
6648 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6649 as_expr=expr
6650 else
6651 as_expr=false
6654 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6655 as_basename=basename
6656 else
6657 as_basename=false
6660 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6661 as_dirname=dirname
6662 else
6663 as_dirname=false
6666 as_me=`$as_basename -- "$0" ||
6667 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6668 X"$0" : 'X\(//\)$' \| \
6669 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6670 $as_echo X/"$0" |
6671 sed '/^.*\/\([^/][^/]*\)\/*$/{
6672 s//\1/
6675 /^X\/\(\/\/\)$/{
6676 s//\1/
6679 /^X\/\(\/\).*/{
6680 s//\1/
6683 s/.*/./; q'`
6685 # Avoid depending upon Character Ranges.
6686 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6687 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6688 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6689 as_cr_digits='0123456789'
6690 as_cr_alnum=$as_cr_Letters$as_cr_digits
6692 ECHO_C= ECHO_N= ECHO_T=
6693 case `echo -n x` in #(((((
6694 -n*)
6695 case `echo 'xy\c'` in
6696 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6697 xy) ECHO_C='\c';;
6698 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6699 ECHO_T=' ';;
6700 esac;;
6702 ECHO_N='-n';;
6703 esac
6705 rm -f conf$$ conf$$.exe conf$$.file
6706 if test -d conf$$.dir; then
6707 rm -f conf$$.dir/conf$$.file
6708 else
6709 rm -f conf$$.dir
6710 mkdir conf$$.dir 2>/dev/null
6712 if (echo >conf$$.file) 2>/dev/null; then
6713 if ln -s conf$$.file conf$$ 2>/dev/null; then
6714 as_ln_s='ln -s'
6715 # ... but there are two gotchas:
6716 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6717 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6718 # In both cases, we have to default to `cp -pR'.
6719 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6720 as_ln_s='cp -pR'
6721 elif ln conf$$.file conf$$ 2>/dev/null; then
6722 as_ln_s=ln
6723 else
6724 as_ln_s='cp -pR'
6726 else
6727 as_ln_s='cp -pR'
6729 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6730 rmdir conf$$.dir 2>/dev/null
6733 # as_fn_mkdir_p
6734 # -------------
6735 # Create "$as_dir" as a directory, including parents if necessary.
6736 as_fn_mkdir_p ()
6739 case $as_dir in #(
6740 -*) as_dir=./$as_dir;;
6741 esac
6742 test -d "$as_dir" || eval $as_mkdir_p || {
6743 as_dirs=
6744 while :; do
6745 case $as_dir in #(
6746 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6747 *) as_qdir=$as_dir;;
6748 esac
6749 as_dirs="'$as_qdir' $as_dirs"
6750 as_dir=`$as_dirname -- "$as_dir" ||
6751 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6752 X"$as_dir" : 'X\(//\)[^/]' \| \
6753 X"$as_dir" : 'X\(//\)$' \| \
6754 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6755 $as_echo X"$as_dir" |
6756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6757 s//\1/
6760 /^X\(\/\/\)[^/].*/{
6761 s//\1/
6764 /^X\(\/\/\)$/{
6765 s//\1/
6768 /^X\(\/\).*/{
6769 s//\1/
6772 s/.*/./; q'`
6773 test -d "$as_dir" && break
6774 done
6775 test -z "$as_dirs" || eval "mkdir $as_dirs"
6776 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6779 } # as_fn_mkdir_p
6780 if mkdir -p . 2>/dev/null; then
6781 as_mkdir_p='mkdir -p "$as_dir"'
6782 else
6783 test -d ./-p && rmdir ./-p
6784 as_mkdir_p=false
6788 # as_fn_executable_p FILE
6789 # -----------------------
6790 # Test if FILE is an executable regular file.
6791 as_fn_executable_p ()
6793 test -f "$1" && test -x "$1"
6794 } # as_fn_executable_p
6795 as_test_x='test -x'
6796 as_executable_p=as_fn_executable_p
6798 # Sed expression to map a string onto a valid CPP name.
6799 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6801 # Sed expression to map a string onto a valid variable name.
6802 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6805 exec 6>&1
6806 ## ----------------------------------- ##
6807 ## Main body of $CONFIG_STATUS script. ##
6808 ## ----------------------------------- ##
6809 _ASEOF
6810 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6813 # Save the log message, to keep $0 and so on meaningful, and to
6814 # report actual input values of CONFIG_FILES etc. instead of their
6815 # values after options handling.
6816 ac_log="
6817 This file was extended by $as_me, which was
6818 generated by GNU Autoconf 2.69. Invocation command line was
6820 CONFIG_FILES = $CONFIG_FILES
6821 CONFIG_HEADERS = $CONFIG_HEADERS
6822 CONFIG_LINKS = $CONFIG_LINKS
6823 CONFIG_COMMANDS = $CONFIG_COMMANDS
6824 $ $0 $@
6826 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6829 _ACEOF
6831 case $ac_config_files in *"
6832 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6833 esac
6837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6838 # Files that config.status was made for.
6839 config_files="$ac_config_files"
6841 _ACEOF
6843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6844 ac_cs_usage="\
6845 \`$as_me' instantiates files and other configuration actions
6846 from templates according to the current configuration. Unless the files
6847 and actions are specified as TAGs, all are instantiated by default.
6849 Usage: $0 [OPTION]... [TAG]...
6851 -h, --help print this help, then exit
6852 -V, --version print version number and configuration settings, then exit
6853 --config print configuration, then exit
6854 -q, --quiet, --silent
6855 do not print progress messages
6856 -d, --debug don't remove temporary files
6857 --recheck update $as_me by reconfiguring in the same conditions
6858 --file=FILE[:TEMPLATE]
6859 instantiate the configuration file FILE
6861 Configuration files:
6862 $config_files
6864 Report bugs to the package provider."
6866 _ACEOF
6867 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6868 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6869 ac_cs_version="\\
6870 config.status
6871 configured by $0, generated by GNU Autoconf 2.69,
6872 with options \\"\$ac_cs_config\\"
6874 Copyright (C) 2012 Free Software Foundation, Inc.
6875 This config.status script is free software; the Free Software Foundation
6876 gives unlimited permission to copy, distribute and modify it."
6878 ac_pwd='$ac_pwd'
6879 srcdir='$srcdir'
6880 test -n "\$AWK" || AWK=awk
6881 _ACEOF
6883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6884 # The default lists apply if the user does not specify any file.
6885 ac_need_defaults=:
6886 while test $# != 0
6888 case $1 in
6889 --*=?*)
6890 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6891 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6892 ac_shift=:
6894 --*=)
6895 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6896 ac_optarg=
6897 ac_shift=:
6900 ac_option=$1
6901 ac_optarg=$2
6902 ac_shift=shift
6904 esac
6906 case $ac_option in
6907 # Handling of the options.
6908 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6909 ac_cs_recheck=: ;;
6910 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6911 $as_echo "$ac_cs_version"; exit ;;
6912 --config | --confi | --conf | --con | --co | --c )
6913 $as_echo "$ac_cs_config"; exit ;;
6914 --debug | --debu | --deb | --de | --d | -d )
6915 debug=: ;;
6916 --file | --fil | --fi | --f )
6917 $ac_shift
6918 case $ac_optarg in
6919 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6920 '') as_fn_error $? "missing file argument" ;;
6921 esac
6922 as_fn_append CONFIG_FILES " '$ac_optarg'"
6923 ac_need_defaults=false;;
6924 --he | --h | --help | --hel | -h )
6925 $as_echo "$ac_cs_usage"; exit ;;
6926 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6927 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6928 ac_cs_silent=: ;;
6930 # This is an error.
6931 -*) as_fn_error $? "unrecognized option: \`$1'
6932 Try \`$0 --help' for more information." ;;
6934 *) as_fn_append ac_config_targets " $1"
6935 ac_need_defaults=false ;;
6937 esac
6938 shift
6939 done
6941 ac_configure_extra_args=
6943 if $ac_cs_silent; then
6944 exec 6>/dev/null
6945 ac_configure_extra_args="$ac_configure_extra_args --silent"
6948 _ACEOF
6949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6950 if \$ac_cs_recheck; then
6951 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6952 shift
6953 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6954 CONFIG_SHELL='$SHELL'
6955 export CONFIG_SHELL
6956 exec "\$@"
6959 _ACEOF
6960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6961 exec 5>>config.log
6963 echo
6964 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6965 ## Running $as_me. ##
6966 _ASBOX
6967 $as_echo "$ac_log"
6968 } >&5
6970 _ACEOF
6971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6972 _ACEOF
6974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6976 # Handling of arguments.
6977 for ac_config_target in $ac_config_targets
6979 case $ac_config_target in
6980 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
6982 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6983 esac
6984 done
6987 # If the user did not use the arguments to specify the items to instantiate,
6988 # then the envvar interface is used. Set only those that are not.
6989 # We use the long form for the default assignment because of an extremely
6990 # bizarre bug on SunOS 4.1.3.
6991 if $ac_need_defaults; then
6992 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6995 # Have a temporary directory for convenience. Make it in the build tree
6996 # simply because there is no reason against having it here, and in addition,
6997 # creating and moving files from /tmp can sometimes cause problems.
6998 # Hook for its removal unless debugging.
6999 # Note that there is a small window in which the directory will not be cleaned:
7000 # after its creation but before its name has been assigned to `$tmp'.
7001 $debug ||
7003 tmp= ac_tmp=
7004 trap 'exit_status=$?
7005 : "${ac_tmp:=$tmp}"
7006 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7008 trap 'as_fn_exit 1' 1 2 13 15
7010 # Create a (secure) tmp directory for tmp files.
7013 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7014 test -d "$tmp"
7015 } ||
7017 tmp=./conf$$-$RANDOM
7018 (umask 077 && mkdir "$tmp")
7019 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7020 ac_tmp=$tmp
7022 # Set up the scripts for CONFIG_FILES section.
7023 # No need to generate them if there are no CONFIG_FILES.
7024 # This happens for instance with `./config.status config.h'.
7025 if test -n "$CONFIG_FILES"; then
7028 ac_cr=`echo X | tr X '\015'`
7029 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7030 # But we know of no other shell where ac_cr would be empty at this
7031 # point, so we can use a bashism as a fallback.
7032 if test "x$ac_cr" = x; then
7033 eval ac_cr=\$\'\\r\'
7035 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7036 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7037 ac_cs_awk_cr='\\r'
7038 else
7039 ac_cs_awk_cr=$ac_cr
7042 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7043 _ACEOF
7047 echo "cat >conf$$subs.awk <<_ACEOF" &&
7048 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7049 echo "_ACEOF"
7050 } >conf$$subs.sh ||
7051 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7052 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7053 ac_delim='%!_!# '
7054 for ac_last_try in false false false false false :; do
7055 . ./conf$$subs.sh ||
7056 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7058 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7059 if test $ac_delim_n = $ac_delim_num; then
7060 break
7061 elif $ac_last_try; then
7062 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7063 else
7064 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7066 done
7067 rm -f conf$$subs.sh
7069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7070 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7071 _ACEOF
7072 sed -n '
7074 s/^/S["/; s/!.*/"]=/
7077 s/^[^!]*!//
7078 :repl
7079 t repl
7080 s/'"$ac_delim"'$//
7081 t delim
7084 s/\(.\{148\}\)..*/\1/
7085 t more1
7086 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7089 b repl
7090 :more1
7091 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7094 s/.\{148\}//
7095 t nl
7096 :delim
7098 s/\(.\{148\}\)..*/\1/
7099 t more2
7100 s/["\\]/\\&/g; s/^/"/; s/$/"/
7103 :more2
7104 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7107 s/.\{148\}//
7108 t delim
7109 ' <conf$$subs.awk | sed '
7110 /^[^""]/{
7112 s/\n//
7114 ' >>$CONFIG_STATUS || ac_write_fail=1
7115 rm -f conf$$subs.awk
7116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7117 _ACAWK
7118 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7119 for (key in S) S_is_set[key] = 1
7120 FS = "\a"
7124 line = $ 0
7125 nfields = split(line, field, "@")
7126 substed = 0
7127 len = length(field[1])
7128 for (i = 2; i < nfields; i++) {
7129 key = field[i]
7130 keylen = length(key)
7131 if (S_is_set[key]) {
7132 value = S[key]
7133 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7134 len += length(value) + length(field[++i])
7135 substed = 1
7136 } else
7137 len += 1 + keylen
7140 print line
7143 _ACAWK
7144 _ACEOF
7145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7146 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7147 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7148 else
7150 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7151 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7152 _ACEOF
7154 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7155 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7156 # trailing colons and then remove the whole line if VPATH becomes empty
7157 # (actually we leave an empty line to preserve line numbers).
7158 if test "x$srcdir" = x.; then
7159 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7161 s///
7162 s/^/:/
7163 s/[ ]*$/:/
7164 s/:\$(srcdir):/:/g
7165 s/:\${srcdir}:/:/g
7166 s/:@srcdir@:/:/g
7167 s/^:*//
7168 s/:*$//
7170 s/\(=[ ]*\).*/\1/
7172 s/\n//
7173 s/^[^=]*=[ ]*$//
7177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7178 fi # test -n "$CONFIG_FILES"
7181 eval set X " :F $CONFIG_FILES "
7182 shift
7183 for ac_tag
7185 case $ac_tag in
7186 :[FHLC]) ac_mode=$ac_tag; continue;;
7187 esac
7188 case $ac_mode$ac_tag in
7189 :[FHL]*:*);;
7190 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7191 :[FH]-) ac_tag=-:-;;
7192 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7193 esac
7194 ac_save_IFS=$IFS
7195 IFS=:
7196 set x $ac_tag
7197 IFS=$ac_save_IFS
7198 shift
7199 ac_file=$1
7200 shift
7202 case $ac_mode in
7203 :L) ac_source=$1;;
7204 :[FH])
7205 ac_file_inputs=
7206 for ac_f
7208 case $ac_f in
7209 -) ac_f="$ac_tmp/stdin";;
7210 *) # Look for the file first in the build tree, then in the source tree
7211 # (if the path is not absolute). The absolute path cannot be DOS-style,
7212 # because $ac_f cannot contain `:'.
7213 test -f "$ac_f" ||
7214 case $ac_f in
7215 [\\/$]*) false;;
7216 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7217 esac ||
7218 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7219 esac
7220 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7221 as_fn_append ac_file_inputs " '$ac_f'"
7222 done
7224 # Let's still pretend it is `configure' which instantiates (i.e., don't
7225 # use $as_me), people would be surprised to read:
7226 # /* config.h. Generated by config.status. */
7227 configure_input='Generated from '`
7228 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7229 `' by configure.'
7230 if test x"$ac_file" != x-; then
7231 configure_input="$ac_file. $configure_input"
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7233 $as_echo "$as_me: creating $ac_file" >&6;}
7235 # Neutralize special characters interpreted by sed in replacement strings.
7236 case $configure_input in #(
7237 *\&* | *\|* | *\\* )
7238 ac_sed_conf_input=`$as_echo "$configure_input" |
7239 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7240 *) ac_sed_conf_input=$configure_input;;
7241 esac
7243 case $ac_tag in
7244 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7245 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7246 esac
7248 esac
7250 ac_dir=`$as_dirname -- "$ac_file" ||
7251 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7252 X"$ac_file" : 'X\(//\)[^/]' \| \
7253 X"$ac_file" : 'X\(//\)$' \| \
7254 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7255 $as_echo X"$ac_file" |
7256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7257 s//\1/
7260 /^X\(\/\/\)[^/].*/{
7261 s//\1/
7264 /^X\(\/\/\)$/{
7265 s//\1/
7268 /^X\(\/\).*/{
7269 s//\1/
7272 s/.*/./; q'`
7273 as_dir="$ac_dir"; as_fn_mkdir_p
7274 ac_builddir=.
7276 case "$ac_dir" in
7277 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7279 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7280 # A ".." for each directory in $ac_dir_suffix.
7281 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7282 case $ac_top_builddir_sub in
7283 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7284 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7285 esac ;;
7286 esac
7287 ac_abs_top_builddir=$ac_pwd
7288 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7289 # for backward compatibility:
7290 ac_top_builddir=$ac_top_build_prefix
7292 case $srcdir in
7293 .) # We are building in place.
7294 ac_srcdir=.
7295 ac_top_srcdir=$ac_top_builddir_sub
7296 ac_abs_top_srcdir=$ac_pwd ;;
7297 [\\/]* | ?:[\\/]* ) # Absolute name.
7298 ac_srcdir=$srcdir$ac_dir_suffix;
7299 ac_top_srcdir=$srcdir
7300 ac_abs_top_srcdir=$srcdir ;;
7301 *) # Relative name.
7302 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7303 ac_top_srcdir=$ac_top_build_prefix$srcdir
7304 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7305 esac
7306 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7309 case $ac_mode in
7312 # CONFIG_FILE
7315 _ACEOF
7317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7318 # If the template does not know about datarootdir, expand it.
7319 # FIXME: This hack should be removed a few years after 2.60.
7320 ac_datarootdir_hack=; ac_datarootdir_seen=
7321 ac_sed_dataroot='
7322 /datarootdir/ {
7326 /@datadir@/p
7327 /@docdir@/p
7328 /@infodir@/p
7329 /@localedir@/p
7330 /@mandir@/p'
7331 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7332 *datarootdir*) ac_datarootdir_seen=yes;;
7333 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7335 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7336 _ACEOF
7337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7338 ac_datarootdir_hack='
7339 s&@datadir@&$datadir&g
7340 s&@docdir@&$docdir&g
7341 s&@infodir@&$infodir&g
7342 s&@localedir@&$localedir&g
7343 s&@mandir@&$mandir&g
7344 s&\\\${datarootdir}&$datarootdir&g' ;;
7345 esac
7346 _ACEOF
7348 # Neutralize VPATH when `$srcdir' = `.'.
7349 # Shell code in configure.ac might set extrasub.
7350 # FIXME: do we really want to maintain this feature?
7351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7352 ac_sed_extra="$ac_vpsub
7353 $extrasub
7354 _ACEOF
7355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7357 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7358 s|@configure_input@|$ac_sed_conf_input|;t t
7359 s&@top_builddir@&$ac_top_builddir_sub&;t t
7360 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7361 s&@srcdir@&$ac_srcdir&;t t
7362 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7363 s&@top_srcdir@&$ac_top_srcdir&;t t
7364 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7365 s&@builddir@&$ac_builddir&;t t
7366 s&@abs_builddir@&$ac_abs_builddir&;t t
7367 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7368 $ac_datarootdir_hack
7370 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7371 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7373 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7374 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7375 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7376 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7378 which seems to be undefined. Please make sure it is defined" >&5
7379 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7380 which seems to be undefined. Please make sure it is defined" >&2;}
7382 rm -f "$ac_tmp/stdin"
7383 case $ac_file in
7384 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7385 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7386 esac \
7387 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7392 esac
7394 done # for ac_tag
7397 as_fn_exit 0
7398 _ACEOF
7399 ac_clean_files=$ac_clean_files_save
7401 test $ac_write_fail = 0 ||
7402 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7405 # configure is writing to config.log, and then calls config.status.
7406 # config.status does its own redirection, appending to config.log.
7407 # Unfortunately, on DOS this fails, as config.log is still kept open
7408 # by configure, so config.status won't be able to write to it; its
7409 # output is simply discarded. So we exec the FD to /dev/null,
7410 # effectively closing config.log, so it can be properly (re)opened and
7411 # appended to by config.status. When coming back to configure, we
7412 # need to make the FD available again.
7413 if test "$no_create" != yes; then
7414 ac_cs_success=:
7415 ac_config_status_args=
7416 test "$silent" = yes &&
7417 ac_config_status_args="$ac_config_status_args --quiet"
7418 exec 5>/dev/null
7419 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7420 exec 5>>config.log
7421 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7422 # would make configure fail if this is the last instruction.
7423 $ac_cs_success || as_fn_exit 1
7425 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7427 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}