detect the availability of -ftree-vectorize and -fassociative-math
[AROS.git] / config / features
bloba47179bce462bdde82ef971a48476939bfebdc8b
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_visibility_hidden
742 aros_cflags_no_asynchronous_unwind_tables
743 aros_cflags_asynchronous_unwind_tables
744 aros_cflags_no_freestanding
745 aros_cflags_freestanding
746 aros_cflags_no_builtin_vsnprintf
747 aros_cflags_no_builtin_floor
748 aros_cflags_no_builtin
749 aros_cflags_builtin
750 aros_cflags_noalignednew
751 aros_cflags_alignednew
752 aros_cflags_noinstrfuncs
753 aros_cflags_instrfuncs
754 aros_cflags_notestcoverage
755 aros_cflags_testcoverage
756 aros_cflags_noprofilearcs
757 aros_cflags_profilearcs
758 aros_cflags_noomitfp
759 aros_cflags_omitfp
760 aros_cflags_noipacp
761 aros_cflags_ipacp
762 aros_cflags_noinlinesmallfunctions
763 aros_cflags_inlinesmallfunctions
764 aros_cflags_nostrictaliasing
765 aros_cflags_strictaliasing
766 aros_cflags_unroll_loops
767 aros_cflags_peel_loops
768 aros_cflags_loop_strip_mine
769 aros_cflags_loop_interchange
770 aros_cflags_loop_block
771 aros_cflags_whole_program
772 aros_cflags_nolto
773 aros_cflags_lto
774 aros_cflags_no_trapping_math
775 aros_cflags_no_math_errno
776 aros_cflags_fast_math
777 aros_cxxflags_nortti
778 aros_cxxflags_rtti
779 aros_cxxflags_nopermissive
780 aros_cxxflags_permissive
781 aros_cflags_noexceptions
782 aros_cflags_exceptions
783 ac_ct_CXX
784 CXXFLAGS
786 OBJEXT
787 EXEEXT
788 ac_ct_CC
789 CPPFLAGS
790 LDFLAGS
791 CFLAGS
793 target_alias
794 host_alias
795 build_alias
796 LIBS
797 ECHO_T
798 ECHO_N
799 ECHO_C
800 DEFS
801 mandir
802 localedir
803 libdir
804 psdir
805 pdfdir
806 dvidir
807 htmldir
808 infodir
809 docdir
810 oldincludedir
811 includedir
812 runstatedir
813 localstatedir
814 sharedstatedir
815 sysconfdir
816 datadir
817 datarootdir
818 libexecdir
819 sbindir
820 bindir
821 program_transform_name
822 prefix
823 exec_prefix
824 PACKAGE_URL
825 PACKAGE_BUGREPORT
826 PACKAGE_STRING
827 PACKAGE_VERSION
828 PACKAGE_TARNAME
829 PACKAGE_NAME
830 PATH_SEPARATOR
831 SHELL'
832 ac_subst_files=''
833 ac_user_opts='
834 enable_option_checking
835 with_config_dir
837 ac_precious_vars='build_alias
838 host_alias
839 target_alias
841 CFLAGS
842 LDFLAGS
843 LIBS
844 CPPFLAGS
846 CXXFLAGS
847 CCC'
850 # Initialize some variables set by options.
851 ac_init_help=
852 ac_init_version=false
853 ac_unrecognized_opts=
854 ac_unrecognized_sep=
855 # The variables have the same names as the options, with
856 # dashes changed to underlines.
857 cache_file=/dev/null
858 exec_prefix=NONE
859 no_create=
860 no_recursion=
861 prefix=NONE
862 program_prefix=NONE
863 program_suffix=NONE
864 program_transform_name=s,x,x,
865 silent=
866 site=
867 srcdir=
868 verbose=
869 x_includes=NONE
870 x_libraries=NONE
872 # Installation directory options.
873 # These are left unexpanded so users can "make install exec_prefix=/foo"
874 # and all the variables that are supposed to be based on exec_prefix
875 # by default will actually change.
876 # Use braces instead of parens because sh, perl, etc. also accept them.
877 # (The list follows the same order as the GNU Coding Standards.)
878 bindir='${exec_prefix}/bin'
879 sbindir='${exec_prefix}/sbin'
880 libexecdir='${exec_prefix}/libexec'
881 datarootdir='${prefix}/share'
882 datadir='${datarootdir}'
883 sysconfdir='${prefix}/etc'
884 sharedstatedir='${prefix}/com'
885 localstatedir='${prefix}/var'
886 runstatedir='${localstatedir}/run'
887 includedir='${prefix}/include'
888 oldincludedir='/usr/include'
889 docdir='${datarootdir}/doc/${PACKAGE}'
890 infodir='${datarootdir}/info'
891 htmldir='${docdir}'
892 dvidir='${docdir}'
893 pdfdir='${docdir}'
894 psdir='${docdir}'
895 libdir='${exec_prefix}/lib'
896 localedir='${datarootdir}/locale'
897 mandir='${datarootdir}/man'
899 ac_prev=
900 ac_dashdash=
901 for ac_option
903 # If the previous option needs an argument, assign it.
904 if test -n "$ac_prev"; then
905 eval $ac_prev=\$ac_option
906 ac_prev=
907 continue
910 case $ac_option in
911 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
912 *=) ac_optarg= ;;
913 *) ac_optarg=yes ;;
914 esac
916 # Accept the important Cygnus configure options, so we can diagnose typos.
918 case $ac_dashdash$ac_option in
920 ac_dashdash=yes ;;
922 -bindir | --bindir | --bindi | --bind | --bin | --bi)
923 ac_prev=bindir ;;
924 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
925 bindir=$ac_optarg ;;
927 -build | --build | --buil | --bui | --bu)
928 ac_prev=build_alias ;;
929 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
930 build_alias=$ac_optarg ;;
932 -cache-file | --cache-file | --cache-fil | --cache-fi \
933 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
934 ac_prev=cache_file ;;
935 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
936 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
937 cache_file=$ac_optarg ;;
939 --config-cache | -C)
940 cache_file=config.cache ;;
942 -datadir | --datadir | --datadi | --datad)
943 ac_prev=datadir ;;
944 -datadir=* | --datadir=* | --datadi=* | --datad=*)
945 datadir=$ac_optarg ;;
947 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
948 | --dataroo | --dataro | --datar)
949 ac_prev=datarootdir ;;
950 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
951 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
952 datarootdir=$ac_optarg ;;
954 -disable-* | --disable-*)
955 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
956 # Reject names that are not valid shell variable names.
957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
958 as_fn_error $? "invalid feature name: $ac_useropt"
959 ac_useropt_orig=$ac_useropt
960 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961 case $ac_user_opts in
963 "enable_$ac_useropt"
964 "*) ;;
965 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
966 ac_unrecognized_sep=', ';;
967 esac
968 eval enable_$ac_useropt=no ;;
970 -docdir | --docdir | --docdi | --doc | --do)
971 ac_prev=docdir ;;
972 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
973 docdir=$ac_optarg ;;
975 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
976 ac_prev=dvidir ;;
977 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
978 dvidir=$ac_optarg ;;
980 -enable-* | --enable-*)
981 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
984 as_fn_error $? "invalid feature name: $ac_useropt"
985 ac_useropt_orig=$ac_useropt
986 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
987 case $ac_user_opts in
989 "enable_$ac_useropt"
990 "*) ;;
991 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
992 ac_unrecognized_sep=', ';;
993 esac
994 eval enable_$ac_useropt=\$ac_optarg ;;
996 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
997 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
998 | --exec | --exe | --ex)
999 ac_prev=exec_prefix ;;
1000 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1001 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1002 | --exec=* | --exe=* | --ex=*)
1003 exec_prefix=$ac_optarg ;;
1005 -gas | --gas | --ga | --g)
1006 # Obsolete; use --with-gas.
1007 with_gas=yes ;;
1009 -help | --help | --hel | --he | -h)
1010 ac_init_help=long ;;
1011 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1012 ac_init_help=recursive ;;
1013 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1014 ac_init_help=short ;;
1016 -host | --host | --hos | --ho)
1017 ac_prev=host_alias ;;
1018 -host=* | --host=* | --hos=* | --ho=*)
1019 host_alias=$ac_optarg ;;
1021 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1022 ac_prev=htmldir ;;
1023 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1024 | --ht=*)
1025 htmldir=$ac_optarg ;;
1027 -includedir | --includedir | --includedi | --included | --include \
1028 | --includ | --inclu | --incl | --inc)
1029 ac_prev=includedir ;;
1030 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1031 | --includ=* | --inclu=* | --incl=* | --inc=*)
1032 includedir=$ac_optarg ;;
1034 -infodir | --infodir | --infodi | --infod | --info | --inf)
1035 ac_prev=infodir ;;
1036 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1037 infodir=$ac_optarg ;;
1039 -libdir | --libdir | --libdi | --libd)
1040 ac_prev=libdir ;;
1041 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1042 libdir=$ac_optarg ;;
1044 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1045 | --libexe | --libex | --libe)
1046 ac_prev=libexecdir ;;
1047 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1048 | --libexe=* | --libex=* | --libe=*)
1049 libexecdir=$ac_optarg ;;
1051 -localedir | --localedir | --localedi | --localed | --locale)
1052 ac_prev=localedir ;;
1053 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1054 localedir=$ac_optarg ;;
1056 -localstatedir | --localstatedir | --localstatedi | --localstated \
1057 | --localstate | --localstat | --localsta | --localst | --locals)
1058 ac_prev=localstatedir ;;
1059 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1060 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1061 localstatedir=$ac_optarg ;;
1063 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1064 ac_prev=mandir ;;
1065 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1066 mandir=$ac_optarg ;;
1068 -nfp | --nfp | --nf)
1069 # Obsolete; use --without-fp.
1070 with_fp=no ;;
1072 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1073 | --no-cr | --no-c | -n)
1074 no_create=yes ;;
1076 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1077 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1078 no_recursion=yes ;;
1080 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1081 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1082 | --oldin | --oldi | --old | --ol | --o)
1083 ac_prev=oldincludedir ;;
1084 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1085 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1086 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1087 oldincludedir=$ac_optarg ;;
1089 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1090 ac_prev=prefix ;;
1091 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1092 prefix=$ac_optarg ;;
1094 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1095 | --program-pre | --program-pr | --program-p)
1096 ac_prev=program_prefix ;;
1097 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1098 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1099 program_prefix=$ac_optarg ;;
1101 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1102 | --program-suf | --program-su | --program-s)
1103 ac_prev=program_suffix ;;
1104 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1105 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1106 program_suffix=$ac_optarg ;;
1108 -program-transform-name | --program-transform-name \
1109 | --program-transform-nam | --program-transform-na \
1110 | --program-transform-n | --program-transform- \
1111 | --program-transform | --program-transfor \
1112 | --program-transfo | --program-transf \
1113 | --program-trans | --program-tran \
1114 | --progr-tra | --program-tr | --program-t)
1115 ac_prev=program_transform_name ;;
1116 -program-transform-name=* | --program-transform-name=* \
1117 | --program-transform-nam=* | --program-transform-na=* \
1118 | --program-transform-n=* | --program-transform-=* \
1119 | --program-transform=* | --program-transfor=* \
1120 | --program-transfo=* | --program-transf=* \
1121 | --program-trans=* | --program-tran=* \
1122 | --progr-tra=* | --program-tr=* | --program-t=*)
1123 program_transform_name=$ac_optarg ;;
1125 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1126 ac_prev=pdfdir ;;
1127 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1128 pdfdir=$ac_optarg ;;
1130 -psdir | --psdir | --psdi | --psd | --ps)
1131 ac_prev=psdir ;;
1132 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1133 psdir=$ac_optarg ;;
1135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1136 | -silent | --silent | --silen | --sile | --sil)
1137 silent=yes ;;
1139 -runstatedir | --runstatedir | --runstatedi | --runstated \
1140 | --runstate | --runstat | --runsta | --runst | --runs \
1141 | --run | --ru | --r)
1142 ac_prev=runstatedir ;;
1143 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1144 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1145 | --run=* | --ru=* | --r=*)
1146 runstatedir=$ac_optarg ;;
1148 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1149 ac_prev=sbindir ;;
1150 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1151 | --sbi=* | --sb=*)
1152 sbindir=$ac_optarg ;;
1154 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1155 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1156 | --sharedst | --shareds | --shared | --share | --shar \
1157 | --sha | --sh)
1158 ac_prev=sharedstatedir ;;
1159 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1160 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1161 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1162 | --sha=* | --sh=*)
1163 sharedstatedir=$ac_optarg ;;
1165 -site | --site | --sit)
1166 ac_prev=site ;;
1167 -site=* | --site=* | --sit=*)
1168 site=$ac_optarg ;;
1170 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1171 ac_prev=srcdir ;;
1172 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1173 srcdir=$ac_optarg ;;
1175 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1176 | --syscon | --sysco | --sysc | --sys | --sy)
1177 ac_prev=sysconfdir ;;
1178 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1179 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1180 sysconfdir=$ac_optarg ;;
1182 -target | --target | --targe | --targ | --tar | --ta | --t)
1183 ac_prev=target_alias ;;
1184 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1185 target_alias=$ac_optarg ;;
1187 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1188 verbose=yes ;;
1190 -version | --version | --versio | --versi | --vers | -V)
1191 ac_init_version=: ;;
1193 -with-* | --with-*)
1194 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1197 as_fn_error $? "invalid package name: $ac_useropt"
1198 ac_useropt_orig=$ac_useropt
1199 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1202 "with_$ac_useropt"
1203 "*) ;;
1204 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1205 ac_unrecognized_sep=', ';;
1206 esac
1207 eval with_$ac_useropt=\$ac_optarg ;;
1209 -without-* | --without-*)
1210 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1211 # Reject names that are not valid shell variable names.
1212 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1213 as_fn_error $? "invalid package name: $ac_useropt"
1214 ac_useropt_orig=$ac_useropt
1215 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1216 case $ac_user_opts in
1218 "with_$ac_useropt"
1219 "*) ;;
1220 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1221 ac_unrecognized_sep=', ';;
1222 esac
1223 eval with_$ac_useropt=no ;;
1225 --x)
1226 # Obsolete; use --with-x.
1227 with_x=yes ;;
1229 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1230 | --x-incl | --x-inc | --x-in | --x-i)
1231 ac_prev=x_includes ;;
1232 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1233 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1234 x_includes=$ac_optarg ;;
1236 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1237 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1238 ac_prev=x_libraries ;;
1239 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1240 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1241 x_libraries=$ac_optarg ;;
1243 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1244 Try \`$0 --help' for more information"
1247 *=*)
1248 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1249 # Reject names that are not valid shell variable names.
1250 case $ac_envvar in #(
1251 '' | [0-9]* | *[!_$as_cr_alnum]* )
1252 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1253 esac
1254 eval $ac_envvar=\$ac_optarg
1255 export $ac_envvar ;;
1258 # FIXME: should be removed in autoconf 3.0.
1259 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1260 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1261 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1262 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1265 esac
1266 done
1268 if test -n "$ac_prev"; then
1269 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1270 as_fn_error $? "missing argument to $ac_option"
1273 if test -n "$ac_unrecognized_opts"; then
1274 case $enable_option_checking in
1275 no) ;;
1276 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1277 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1278 esac
1281 # Check all directory arguments for consistency.
1282 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1283 datadir sysconfdir sharedstatedir localstatedir includedir \
1284 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1285 libdir localedir mandir runstatedir
1287 eval ac_val=\$$ac_var
1288 # Remove trailing slashes.
1289 case $ac_val in
1290 */ )
1291 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1292 eval $ac_var=\$ac_val;;
1293 esac
1294 # Be sure to have absolute directory names.
1295 case $ac_val in
1296 [\\/$]* | ?:[\\/]* ) continue;;
1297 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1298 esac
1299 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1300 done
1302 # There might be people who depend on the old broken behavior: `$host'
1303 # used to hold the argument of --host etc.
1304 # FIXME: To remove some day.
1305 build=$build_alias
1306 host=$host_alias
1307 target=$target_alias
1309 # FIXME: To remove some day.
1310 if test "x$host_alias" != x; then
1311 if test "x$build_alias" = x; then
1312 cross_compiling=maybe
1313 elif test "x$build_alias" != "x$host_alias"; then
1314 cross_compiling=yes
1318 ac_tool_prefix=
1319 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1321 test "$silent" = yes && exec 6>/dev/null
1324 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1325 ac_ls_di=`ls -di .` &&
1326 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1327 as_fn_error $? "working directory cannot be determined"
1328 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1329 as_fn_error $? "pwd does not report name of working directory"
1332 # Find the source files, if location was not specified.
1333 if test -z "$srcdir"; then
1334 ac_srcdir_defaulted=yes
1335 # Try the directory containing this script, then the parent directory.
1336 ac_confdir=`$as_dirname -- "$as_myself" ||
1337 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1338 X"$as_myself" : 'X\(//\)[^/]' \| \
1339 X"$as_myself" : 'X\(//\)$' \| \
1340 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1341 $as_echo X"$as_myself" |
1342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1343 s//\1/
1346 /^X\(\/\/\)[^/].*/{
1347 s//\1/
1350 /^X\(\/\/\)$/{
1351 s//\1/
1354 /^X\(\/\).*/{
1355 s//\1/
1358 s/.*/./; q'`
1359 srcdir=$ac_confdir
1360 if test ! -r "$srcdir/$ac_unique_file"; then
1361 srcdir=..
1363 else
1364 ac_srcdir_defaulted=no
1366 if test ! -r "$srcdir/$ac_unique_file"; then
1367 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1368 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1370 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1371 ac_abs_confdir=`(
1372 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1373 pwd)`
1374 # When building in place, set srcdir=.
1375 if test "$ac_abs_confdir" = "$ac_pwd"; then
1376 srcdir=.
1378 # Remove unnecessary trailing slashes from srcdir.
1379 # Double slashes in file names in object file debugging info
1380 # mess up M-x gdb in Emacs.
1381 case $srcdir in
1382 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1383 esac
1384 for ac_var in $ac_precious_vars; do
1385 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1386 eval ac_env_${ac_var}_value=\$${ac_var}
1387 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1388 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1389 done
1392 # Report the --help message.
1394 if test "$ac_init_help" = "long"; then
1395 # Omit some internal or obsolete options to make the list less imposing.
1396 # This message is too long to be a string in the A/UX 3.1 sh.
1397 cat <<_ACEOF
1398 \`configure' configures this package to adapt to many kinds of systems.
1400 Usage: $0 [OPTION]... [VAR=VALUE]...
1402 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1403 VAR=VALUE. See below for descriptions of some of the useful variables.
1405 Defaults for the options are specified in brackets.
1407 Configuration:
1408 -h, --help display this help and exit
1409 --help=short display options specific to this package
1410 --help=recursive display the short help of all the included packages
1411 -V, --version display version information and exit
1412 -q, --quiet, --silent do not print \`checking ...' messages
1413 --cache-file=FILE cache test results in FILE [disabled]
1414 -C, --config-cache alias for \`--cache-file=config.cache'
1415 -n, --no-create do not create output files
1416 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1418 Installation directories:
1419 --prefix=PREFIX install architecture-independent files in PREFIX
1420 [$ac_default_prefix]
1421 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1422 [PREFIX]
1424 By default, \`make install' will install all the files in
1425 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1426 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1427 for instance \`--prefix=\$HOME'.
1429 For better control, use the options below.
1431 Fine tuning of the installation directories:
1432 --bindir=DIR user executables [EPREFIX/bin]
1433 --sbindir=DIR system admin executables [EPREFIX/sbin]
1434 --libexecdir=DIR program executables [EPREFIX/libexec]
1435 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1436 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1437 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1438 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1439 --libdir=DIR object code libraries [EPREFIX/lib]
1440 --includedir=DIR C header files [PREFIX/include]
1441 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1442 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1443 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1444 --infodir=DIR info documentation [DATAROOTDIR/info]
1445 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1446 --mandir=DIR man documentation [DATAROOTDIR/man]
1447 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1448 --htmldir=DIR html documentation [DOCDIR]
1449 --dvidir=DIR dvi documentation [DOCDIR]
1450 --pdfdir=DIR pdf documentation [DOCDIR]
1451 --psdir=DIR ps documentation [DOCDIR]
1452 _ACEOF
1454 cat <<\_ACEOF
1455 _ACEOF
1458 if test -n "$ac_init_help"; then
1460 cat <<\_ACEOF
1462 Optional Packages:
1463 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1464 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1465 --with-config-dir=VERSION
1466 Location of generated target config files
1468 Some influential environment variables:
1469 CC C compiler command
1470 CFLAGS C compiler flags
1471 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1472 nonstandard directory <lib dir>
1473 LIBS libraries to pass to the linker, e.g. -l<library>
1474 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1475 you have headers in a nonstandard directory <include dir>
1476 CXX C++ compiler command
1477 CXXFLAGS C++ compiler flags
1479 Use these variables to override the choices made by `configure' or to help
1480 it to find libraries and programs with nonstandard names/locations.
1482 Report bugs to the package provider.
1483 _ACEOF
1484 ac_status=$?
1487 if test "$ac_init_help" = "recursive"; then
1488 # If there are subdirs, report their specific --help.
1489 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1490 test -d "$ac_dir" ||
1491 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1492 continue
1493 ac_builddir=.
1495 case "$ac_dir" in
1496 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1498 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1499 # A ".." for each directory in $ac_dir_suffix.
1500 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1501 case $ac_top_builddir_sub in
1502 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1503 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1504 esac ;;
1505 esac
1506 ac_abs_top_builddir=$ac_pwd
1507 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1508 # for backward compatibility:
1509 ac_top_builddir=$ac_top_build_prefix
1511 case $srcdir in
1512 .) # We are building in place.
1513 ac_srcdir=.
1514 ac_top_srcdir=$ac_top_builddir_sub
1515 ac_abs_top_srcdir=$ac_pwd ;;
1516 [\\/]* | ?:[\\/]* ) # Absolute name.
1517 ac_srcdir=$srcdir$ac_dir_suffix;
1518 ac_top_srcdir=$srcdir
1519 ac_abs_top_srcdir=$srcdir ;;
1520 *) # Relative name.
1521 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1522 ac_top_srcdir=$ac_top_build_prefix$srcdir
1523 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1524 esac
1525 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1527 cd "$ac_dir" || { ac_status=$?; continue; }
1528 # Check for guested configure.
1529 if test -f "$ac_srcdir/configure.gnu"; then
1530 echo &&
1531 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1532 elif test -f "$ac_srcdir/configure"; then
1533 echo &&
1534 $SHELL "$ac_srcdir/configure" --help=recursive
1535 else
1536 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1537 fi || ac_status=$?
1538 cd "$ac_pwd" || { ac_status=$?; break; }
1539 done
1542 test -n "$ac_init_help" && exit $ac_status
1543 if $ac_init_version; then
1544 cat <<\_ACEOF
1545 configure
1546 generated by GNU Autoconf 2.69
1548 Copyright (C) 2012 Free Software Foundation, Inc.
1549 This configure script is free software; the Free Software Foundation
1550 gives unlimited permission to copy, distribute and modify it.
1551 _ACEOF
1552 exit
1555 ## ------------------------ ##
1556 ## Autoconf initialization. ##
1557 ## ------------------------ ##
1559 # ac_fn_c_try_compile LINENO
1560 # --------------------------
1561 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1562 ac_fn_c_try_compile ()
1564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1565 rm -f conftest.$ac_objext
1566 if { { ac_try="$ac_compile"
1567 case "(($ac_try" in
1568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1569 *) ac_try_echo=$ac_try;;
1570 esac
1571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1572 $as_echo "$ac_try_echo"; } >&5
1573 (eval "$ac_compile") 2>conftest.err
1574 ac_status=$?
1575 if test -s conftest.err; then
1576 grep -v '^ *+' conftest.err >conftest.er1
1577 cat conftest.er1 >&5
1578 mv -f conftest.er1 conftest.err
1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; } && {
1582 test -z "$ac_c_werror_flag" ||
1583 test ! -s conftest.err
1584 } && test -s conftest.$ac_objext; then :
1585 ac_retval=0
1586 else
1587 $as_echo "$as_me: failed program was:" >&5
1588 sed 's/^/| /' conftest.$ac_ext >&5
1590 ac_retval=1
1592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1593 as_fn_set_status $ac_retval
1595 } # ac_fn_c_try_compile
1597 # ac_fn_cxx_try_compile LINENO
1598 # ----------------------------
1599 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1600 ac_fn_cxx_try_compile ()
1602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603 rm -f conftest.$ac_objext
1604 if { { ac_try="$ac_compile"
1605 case "(($ac_try" in
1606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1607 *) ac_try_echo=$ac_try;;
1608 esac
1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611 (eval "$ac_compile") 2>conftest.err
1612 ac_status=$?
1613 if test -s conftest.err; then
1614 grep -v '^ *+' conftest.err >conftest.er1
1615 cat conftest.er1 >&5
1616 mv -f conftest.er1 conftest.err
1618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1619 test $ac_status = 0; } && {
1620 test -z "$ac_cxx_werror_flag" ||
1621 test ! -s conftest.err
1622 } && test -s conftest.$ac_objext; then :
1623 ac_retval=0
1624 else
1625 $as_echo "$as_me: failed program was:" >&5
1626 sed 's/^/| /' conftest.$ac_ext >&5
1628 ac_retval=1
1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1631 as_fn_set_status $ac_retval
1633 } # ac_fn_cxx_try_compile
1634 cat >config.log <<_ACEOF
1635 This file contains any messages produced by compilers while
1636 running configure, to aid debugging if configure makes a mistake.
1638 It was created by $as_me, which was
1639 generated by GNU Autoconf 2.69. Invocation command line was
1641 $ $0 $@
1643 _ACEOF
1644 exec 5>>config.log
1646 cat <<_ASUNAME
1647 ## --------- ##
1648 ## Platform. ##
1649 ## --------- ##
1651 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1652 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1653 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1654 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1655 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1657 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1658 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1660 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1661 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1662 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1663 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1664 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1665 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1666 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1668 _ASUNAME
1670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1671 for as_dir in $PATH
1673 IFS=$as_save_IFS
1674 test -z "$as_dir" && as_dir=.
1675 $as_echo "PATH: $as_dir"
1676 done
1677 IFS=$as_save_IFS
1679 } >&5
1681 cat >&5 <<_ACEOF
1684 ## ----------- ##
1685 ## Core tests. ##
1686 ## ----------- ##
1688 _ACEOF
1691 # Keep a trace of the command line.
1692 # Strip out --no-create and --no-recursion so they do not pile up.
1693 # Strip out --silent because we don't want to record it for future runs.
1694 # Also quote any args containing shell meta-characters.
1695 # Make two passes to allow for proper duplicate-argument suppression.
1696 ac_configure_args=
1697 ac_configure_args0=
1698 ac_configure_args1=
1699 ac_must_keep_next=false
1700 for ac_pass in 1 2
1702 for ac_arg
1704 case $ac_arg in
1705 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1706 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1707 | -silent | --silent | --silen | --sile | --sil)
1708 continue ;;
1709 *\'*)
1710 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1711 esac
1712 case $ac_pass in
1713 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1715 as_fn_append ac_configure_args1 " '$ac_arg'"
1716 if test $ac_must_keep_next = true; then
1717 ac_must_keep_next=false # Got value, back to normal.
1718 else
1719 case $ac_arg in
1720 *=* | --config-cache | -C | -disable-* | --disable-* \
1721 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1722 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1723 | -with-* | --with-* | -without-* | --without-* | --x)
1724 case "$ac_configure_args0 " in
1725 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1726 esac
1728 -* ) ac_must_keep_next=true ;;
1729 esac
1731 as_fn_append ac_configure_args " '$ac_arg'"
1733 esac
1734 done
1735 done
1736 { ac_configure_args0=; unset ac_configure_args0;}
1737 { ac_configure_args1=; unset ac_configure_args1;}
1739 # When interrupted or exit'd, cleanup temporary files, and complete
1740 # config.log. We remove comments because anyway the quotes in there
1741 # would cause problems or look ugly.
1742 # WARNING: Use '\'' to represent an apostrophe within the trap.
1743 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1744 trap 'exit_status=$?
1745 # Save into config.log some information that might help in debugging.
1747 echo
1749 $as_echo "## ---------------- ##
1750 ## Cache variables. ##
1751 ## ---------------- ##"
1752 echo
1753 # The following way of writing the cache mishandles newlines in values,
1755 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1756 eval ac_val=\$$ac_var
1757 case $ac_val in #(
1758 *${as_nl}*)
1759 case $ac_var in #(
1760 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1761 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1762 esac
1763 case $ac_var in #(
1764 _ | IFS | as_nl) ;; #(
1765 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1766 *) { eval $ac_var=; unset $ac_var;} ;;
1767 esac ;;
1768 esac
1769 done
1770 (set) 2>&1 |
1771 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1772 *${as_nl}ac_space=\ *)
1773 sed -n \
1774 "s/'\''/'\''\\\\'\'''\''/g;
1775 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1776 ;; #(
1778 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1780 esac |
1781 sort
1783 echo
1785 $as_echo "## ----------------- ##
1786 ## Output variables. ##
1787 ## ----------------- ##"
1788 echo
1789 for ac_var in $ac_subst_vars
1791 eval ac_val=\$$ac_var
1792 case $ac_val in
1793 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1794 esac
1795 $as_echo "$ac_var='\''$ac_val'\''"
1796 done | sort
1797 echo
1799 if test -n "$ac_subst_files"; then
1800 $as_echo "## ------------------- ##
1801 ## File substitutions. ##
1802 ## ------------------- ##"
1803 echo
1804 for ac_var in $ac_subst_files
1806 eval ac_val=\$$ac_var
1807 case $ac_val in
1808 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1809 esac
1810 $as_echo "$ac_var='\''$ac_val'\''"
1811 done | sort
1812 echo
1815 if test -s confdefs.h; then
1816 $as_echo "## ----------- ##
1817 ## confdefs.h. ##
1818 ## ----------- ##"
1819 echo
1820 cat confdefs.h
1821 echo
1823 test "$ac_signal" != 0 &&
1824 $as_echo "$as_me: caught signal $ac_signal"
1825 $as_echo "$as_me: exit $exit_status"
1826 } >&5
1827 rm -f core *.core core.conftest.* &&
1828 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1829 exit $exit_status
1831 for ac_signal in 1 2 13 15; do
1832 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1833 done
1834 ac_signal=0
1836 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1837 rm -f -r conftest* confdefs.h
1839 $as_echo "/* confdefs.h */" > confdefs.h
1841 # Predefined preprocessor variables.
1843 cat >>confdefs.h <<_ACEOF
1844 #define PACKAGE_NAME "$PACKAGE_NAME"
1845 _ACEOF
1847 cat >>confdefs.h <<_ACEOF
1848 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1849 _ACEOF
1851 cat >>confdefs.h <<_ACEOF
1852 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1853 _ACEOF
1855 cat >>confdefs.h <<_ACEOF
1856 #define PACKAGE_STRING "$PACKAGE_STRING"
1857 _ACEOF
1859 cat >>confdefs.h <<_ACEOF
1860 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1861 _ACEOF
1863 cat >>confdefs.h <<_ACEOF
1864 #define PACKAGE_URL "$PACKAGE_URL"
1865 _ACEOF
1868 # Let the site file select an alternate cache file if it wants to.
1869 # Prefer an explicitly selected file to automatically selected ones.
1870 ac_site_file1=NONE
1871 ac_site_file2=NONE
1872 if test -n "$CONFIG_SITE"; then
1873 # We do not want a PATH search for config.site.
1874 case $CONFIG_SITE in #((
1875 -*) ac_site_file1=./$CONFIG_SITE;;
1876 */*) ac_site_file1=$CONFIG_SITE;;
1877 *) ac_site_file1=./$CONFIG_SITE;;
1878 esac
1879 elif test "x$prefix" != xNONE; then
1880 ac_site_file1=$prefix/share/config.site
1881 ac_site_file2=$prefix/etc/config.site
1882 else
1883 ac_site_file1=$ac_default_prefix/share/config.site
1884 ac_site_file2=$ac_default_prefix/etc/config.site
1886 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1888 test "x$ac_site_file" = xNONE && continue
1889 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1891 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1892 sed 's/^/| /' "$ac_site_file" >&5
1893 . "$ac_site_file" \
1894 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1896 as_fn_error $? "failed to load site script $ac_site_file
1897 See \`config.log' for more details" "$LINENO" 5; }
1899 done
1901 if test -r "$cache_file"; then
1902 # Some versions of bash will fail to source /dev/null (special files
1903 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1904 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1906 $as_echo "$as_me: loading cache $cache_file" >&6;}
1907 case $cache_file in
1908 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1909 *) . "./$cache_file";;
1910 esac
1912 else
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1914 $as_echo "$as_me: creating cache $cache_file" >&6;}
1915 >$cache_file
1918 # Check that the precious variables saved in the cache have kept the same
1919 # value.
1920 ac_cache_corrupted=false
1921 for ac_var in $ac_precious_vars; do
1922 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1923 eval ac_new_set=\$ac_env_${ac_var}_set
1924 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1925 eval ac_new_val=\$ac_env_${ac_var}_value
1926 case $ac_old_set,$ac_new_set in
1927 set,)
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1929 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1930 ac_cache_corrupted=: ;;
1931 ,set)
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1933 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1934 ac_cache_corrupted=: ;;
1935 ,);;
1937 if test "x$ac_old_val" != "x$ac_new_val"; then
1938 # differences in whitespace do not lead to failure.
1939 ac_old_val_w=`echo x $ac_old_val`
1940 ac_new_val_w=`echo x $ac_new_val`
1941 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1943 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1944 ac_cache_corrupted=:
1945 else
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1947 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1948 eval $ac_var=\$ac_old_val
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1951 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1953 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1954 fi;;
1955 esac
1956 # Pass precious variables to config.status.
1957 if test "$ac_new_set" = set; then
1958 case $ac_new_val in
1959 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1960 *) ac_arg=$ac_var=$ac_new_val ;;
1961 esac
1962 case " $ac_configure_args " in
1963 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1964 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1965 esac
1967 done
1968 if $ac_cache_corrupted; then
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1972 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1973 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1975 ## -------------------- ##
1976 ## Main body of script. ##
1977 ## -------------------- ##
1979 ac_ext=c
1980 ac_cpp='$CPP $CPPFLAGS'
1981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1987 ac_aux_dir=
1988 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1989 if test -f "$ac_dir/install-sh"; then
1990 ac_aux_dir=$ac_dir
1991 ac_install_sh="$ac_aux_dir/install-sh -c"
1992 break
1993 elif test -f "$ac_dir/install.sh"; then
1994 ac_aux_dir=$ac_dir
1995 ac_install_sh="$ac_aux_dir/install.sh -c"
1996 break
1997 elif test -f "$ac_dir/shtool"; then
1998 ac_aux_dir=$ac_dir
1999 ac_install_sh="$ac_aux_dir/shtool install -c"
2000 break
2002 done
2003 if test -z "$ac_aux_dir"; then
2004 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
2007 # These three variables are undocumented and unsupported,
2008 # and are intended to be withdrawn in a future Autoconf release.
2009 # They can cause serious problems if a builder's source tree is in a directory
2010 # whose full name contains unusual characters.
2011 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2012 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2013 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2017 AROS_BUILDDIR=`${PWDCMD-pwd}`
2018 AROS_BUILDDIR_UNIX=${PWD}
2020 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2021 SRCDIR=${srcpwd}
2023 NOLINKFLAGS="-nostdlib -nostartfiles"
2024 LDFLAGS=$NOLINKFLAGS
2025 # The first step is to find the binaries.
2026 ac_ext=c
2027 ac_cpp='$CPP $CPPFLAGS'
2028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2031 if test -n "$ac_tool_prefix"; then
2032 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2033 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2035 $as_echo_n "checking for $ac_word... " >&6; }
2036 if ${ac_cv_prog_CC+:} false; then :
2037 $as_echo_n "(cached) " >&6
2038 else
2039 if test -n "$CC"; then
2040 ac_cv_prog_CC="$CC" # Let the user override the test.
2041 else
2042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043 for as_dir in $PATH
2045 IFS=$as_save_IFS
2046 test -z "$as_dir" && as_dir=.
2047 for ac_exec_ext in '' $ac_executable_extensions; do
2048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2049 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2051 break 2
2053 done
2054 done
2055 IFS=$as_save_IFS
2059 CC=$ac_cv_prog_CC
2060 if test -n "$CC"; then
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2062 $as_echo "$CC" >&6; }
2063 else
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2065 $as_echo "no" >&6; }
2070 if test -z "$ac_cv_prog_CC"; then
2071 ac_ct_CC=$CC
2072 # Extract the first word of "gcc", so it can be a program name with args.
2073 set dummy gcc; ac_word=$2
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2075 $as_echo_n "checking for $ac_word... " >&6; }
2076 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2077 $as_echo_n "(cached) " >&6
2078 else
2079 if test -n "$ac_ct_CC"; then
2080 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2081 else
2082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2083 for as_dir in $PATH
2085 IFS=$as_save_IFS
2086 test -z "$as_dir" && as_dir=.
2087 for ac_exec_ext in '' $ac_executable_extensions; do
2088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2089 ac_cv_prog_ac_ct_CC="gcc"
2090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2091 break 2
2093 done
2094 done
2095 IFS=$as_save_IFS
2099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2100 if test -n "$ac_ct_CC"; then
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2102 $as_echo "$ac_ct_CC" >&6; }
2103 else
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2105 $as_echo "no" >&6; }
2108 if test "x$ac_ct_CC" = x; then
2109 CC=""
2110 else
2111 case $cross_compiling:$ac_tool_warned in
2112 yes:)
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2115 ac_tool_warned=yes ;;
2116 esac
2117 CC=$ac_ct_CC
2119 else
2120 CC="$ac_cv_prog_CC"
2123 if test -z "$CC"; then
2124 if test -n "$ac_tool_prefix"; then
2125 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2126 set dummy ${ac_tool_prefix}cc; ac_word=$2
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2128 $as_echo_n "checking for $ac_word... " >&6; }
2129 if ${ac_cv_prog_CC+:} false; then :
2130 $as_echo_n "(cached) " >&6
2131 else
2132 if test -n "$CC"; then
2133 ac_cv_prog_CC="$CC" # Let the user override the test.
2134 else
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136 for as_dir in $PATH
2138 IFS=$as_save_IFS
2139 test -z "$as_dir" && as_dir=.
2140 for ac_exec_ext in '' $ac_executable_extensions; do
2141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2142 ac_cv_prog_CC="${ac_tool_prefix}cc"
2143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2144 break 2
2146 done
2147 done
2148 IFS=$as_save_IFS
2152 CC=$ac_cv_prog_CC
2153 if test -n "$CC"; then
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2155 $as_echo "$CC" >&6; }
2156 else
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2158 $as_echo "no" >&6; }
2164 if test -z "$CC"; then
2165 # Extract the first word of "cc", so it can be a program name with args.
2166 set dummy cc; ac_word=$2
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2168 $as_echo_n "checking for $ac_word... " >&6; }
2169 if ${ac_cv_prog_CC+:} false; then :
2170 $as_echo_n "(cached) " >&6
2171 else
2172 if test -n "$CC"; then
2173 ac_cv_prog_CC="$CC" # Let the user override the test.
2174 else
2175 ac_prog_rejected=no
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177 for as_dir in $PATH
2179 IFS=$as_save_IFS
2180 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2183 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2184 ac_prog_rejected=yes
2185 continue
2187 ac_cv_prog_CC="cc"
2188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2189 break 2
2191 done
2192 done
2193 IFS=$as_save_IFS
2195 if test $ac_prog_rejected = yes; then
2196 # We found a bogon in the path, so make sure we never use it.
2197 set dummy $ac_cv_prog_CC
2198 shift
2199 if test $# != 0; then
2200 # We chose a different compiler from the bogus one.
2201 # However, it has the same basename, so the bogon will be chosen
2202 # first if we set CC to just the basename; use the full file name.
2203 shift
2204 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2209 CC=$ac_cv_prog_CC
2210 if test -n "$CC"; then
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2212 $as_echo "$CC" >&6; }
2213 else
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2215 $as_echo "no" >&6; }
2220 if test -z "$CC"; then
2221 if test -n "$ac_tool_prefix"; then
2222 for ac_prog in cl.exe
2224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2227 $as_echo_n "checking for $ac_word... " >&6; }
2228 if ${ac_cv_prog_CC+:} false; then :
2229 $as_echo_n "(cached) " >&6
2230 else
2231 if test -n "$CC"; then
2232 ac_cv_prog_CC="$CC" # Let the user override the test.
2233 else
2234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235 for as_dir in $PATH
2237 IFS=$as_save_IFS
2238 test -z "$as_dir" && as_dir=.
2239 for ac_exec_ext in '' $ac_executable_extensions; do
2240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2241 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2243 break 2
2245 done
2246 done
2247 IFS=$as_save_IFS
2251 CC=$ac_cv_prog_CC
2252 if test -n "$CC"; then
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2254 $as_echo "$CC" >&6; }
2255 else
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2257 $as_echo "no" >&6; }
2261 test -n "$CC" && break
2262 done
2264 if test -z "$CC"; then
2265 ac_ct_CC=$CC
2266 for ac_prog in cl.exe
2268 # Extract the first word of "$ac_prog", so it can be a program name with args.
2269 set dummy $ac_prog; ac_word=$2
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2271 $as_echo_n "checking for $ac_word... " >&6; }
2272 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2273 $as_echo_n "(cached) " >&6
2274 else
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2277 else
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279 for as_dir in $PATH
2281 IFS=$as_save_IFS
2282 test -z "$as_dir" && as_dir=.
2283 for ac_exec_ext in '' $ac_executable_extensions; do
2284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2285 ac_cv_prog_ac_ct_CC="$ac_prog"
2286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 break 2
2289 done
2290 done
2291 IFS=$as_save_IFS
2295 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2296 if test -n "$ac_ct_CC"; then
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2298 $as_echo "$ac_ct_CC" >&6; }
2299 else
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2301 $as_echo "no" >&6; }
2305 test -n "$ac_ct_CC" && break
2306 done
2308 if test "x$ac_ct_CC" = x; then
2309 CC=""
2310 else
2311 case $cross_compiling:$ac_tool_warned in
2312 yes:)
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2315 ac_tool_warned=yes ;;
2316 esac
2317 CC=$ac_ct_CC
2324 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2326 as_fn_error $? "no acceptable C compiler found in \$PATH
2327 See \`config.log' for more details" "$LINENO" 5; }
2329 # Provide some information about the compiler.
2330 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2331 set X $ac_compile
2332 ac_compiler=$2
2333 for ac_option in --version -v -V -qversion; do
2334 { { ac_try="$ac_compiler $ac_option >&5"
2335 case "(($ac_try" in
2336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2337 *) ac_try_echo=$ac_try;;
2338 esac
2339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2340 $as_echo "$ac_try_echo"; } >&5
2341 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2342 ac_status=$?
2343 if test -s conftest.err; then
2344 sed '10a\
2345 ... rest of stderr output deleted ...
2346 10q' conftest.err >conftest.er1
2347 cat conftest.er1 >&5
2349 rm -f conftest.er1 conftest.err
2350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2351 test $ac_status = 0; }
2352 done
2354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2355 /* end confdefs.h. */
2358 main ()
2362 return 0;
2364 _ACEOF
2365 ac_clean_files_save=$ac_clean_files
2366 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2367 # Try to create an executable without -o first, disregard a.out.
2368 # It will help us diagnose broken compilers, and finding out an intuition
2369 # of exeext.
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2371 $as_echo_n "checking whether the C compiler works... " >&6; }
2372 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2374 # The possible output files:
2375 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2377 ac_rmfiles=
2378 for ac_file in $ac_files
2380 case $ac_file in
2381 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2382 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2383 esac
2384 done
2385 rm -f $ac_rmfiles
2387 if { { ac_try="$ac_link_default"
2388 case "(($ac_try" in
2389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2390 *) ac_try_echo=$ac_try;;
2391 esac
2392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2393 $as_echo "$ac_try_echo"; } >&5
2394 (eval "$ac_link_default") 2>&5
2395 ac_status=$?
2396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2397 test $ac_status = 0; }; then :
2398 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2399 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2400 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2401 # so that the user can short-circuit this test for compilers unknown to
2402 # Autoconf.
2403 for ac_file in $ac_files ''
2405 test -f "$ac_file" || continue
2406 case $ac_file in
2407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2409 [ab].out )
2410 # We found the default executable, but exeext='' is most
2411 # certainly right.
2412 break;;
2413 *.* )
2414 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2415 then :; else
2416 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2418 # We set ac_cv_exeext here because the later test for it is not
2419 # safe: cross compilers may not add the suffix if given an `-o'
2420 # argument, so we may need to know it at that point already.
2421 # Even if this section looks crufty: it has the advantage of
2422 # actually working.
2423 break;;
2425 break;;
2426 esac
2427 done
2428 test "$ac_cv_exeext" = no && ac_cv_exeext=
2430 else
2431 ac_file=''
2433 if test -z "$ac_file"; then :
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2435 $as_echo "no" >&6; }
2436 $as_echo "$as_me: failed program was:" >&5
2437 sed 's/^/| /' conftest.$ac_ext >&5
2439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2441 as_fn_error 77 "C compiler cannot create executables
2442 See \`config.log' for more details" "$LINENO" 5; }
2443 else
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2445 $as_echo "yes" >&6; }
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2448 $as_echo_n "checking for C compiler default output file name... " >&6; }
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2450 $as_echo "$ac_file" >&6; }
2451 ac_exeext=$ac_cv_exeext
2453 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2454 ac_clean_files=$ac_clean_files_save
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2456 $as_echo_n "checking for suffix of executables... " >&6; }
2457 if { { ac_try="$ac_link"
2458 case "(($ac_try" in
2459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2460 *) ac_try_echo=$ac_try;;
2461 esac
2462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2463 $as_echo "$ac_try_echo"; } >&5
2464 (eval "$ac_link") 2>&5
2465 ac_status=$?
2466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2467 test $ac_status = 0; }; then :
2468 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2469 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2470 # work properly (i.e., refer to `conftest.exe'), while it won't with
2471 # `rm'.
2472 for ac_file in conftest.exe conftest conftest.*; do
2473 test -f "$ac_file" || continue
2474 case $ac_file in
2475 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2476 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2477 break;;
2478 * ) break;;
2479 esac
2480 done
2481 else
2482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2484 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2485 See \`config.log' for more details" "$LINENO" 5; }
2487 rm -f conftest conftest$ac_cv_exeext
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2489 $as_echo "$ac_cv_exeext" >&6; }
2491 rm -f conftest.$ac_ext
2492 EXEEXT=$ac_cv_exeext
2493 ac_exeext=$EXEEXT
2494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2495 /* end confdefs.h. */
2496 #include <stdio.h>
2498 main ()
2500 FILE *f = fopen ("conftest.out", "w");
2501 return ferror (f) || fclose (f) != 0;
2504 return 0;
2506 _ACEOF
2507 ac_clean_files="$ac_clean_files conftest.out"
2508 # Check that the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2511 $as_echo_n "checking whether we are cross compiling... " >&6; }
2512 if test "$cross_compiling" != yes; then
2513 { { ac_try="$ac_link"
2514 case "(($ac_try" in
2515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2516 *) ac_try_echo=$ac_try;;
2517 esac
2518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2519 $as_echo "$ac_try_echo"; } >&5
2520 (eval "$ac_link") 2>&5
2521 ac_status=$?
2522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2523 test $ac_status = 0; }
2524 if { ac_try='./conftest$ac_cv_exeext'
2525 { { case "(($ac_try" in
2526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2527 *) ac_try_echo=$ac_try;;
2528 esac
2529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2530 $as_echo "$ac_try_echo"; } >&5
2531 (eval "$ac_try") 2>&5
2532 ac_status=$?
2533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2534 test $ac_status = 0; }; }; then
2535 cross_compiling=no
2536 else
2537 if test "$cross_compiling" = maybe; then
2538 cross_compiling=yes
2539 else
2540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2542 as_fn_error $? "cannot run C compiled programs.
2543 If you meant to cross compile, use \`--host'.
2544 See \`config.log' for more details" "$LINENO" 5; }
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2549 $as_echo "$cross_compiling" >&6; }
2551 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2552 ac_clean_files=$ac_clean_files_save
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2554 $as_echo_n "checking for suffix of object files... " >&6; }
2555 if ${ac_cv_objext+:} false; then :
2556 $as_echo_n "(cached) " >&6
2557 else
2558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2559 /* end confdefs.h. */
2562 main ()
2566 return 0;
2568 _ACEOF
2569 rm -f conftest.o conftest.obj
2570 if { { ac_try="$ac_compile"
2571 case "(($ac_try" in
2572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2573 *) ac_try_echo=$ac_try;;
2574 esac
2575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2576 $as_echo "$ac_try_echo"; } >&5
2577 (eval "$ac_compile") 2>&5
2578 ac_status=$?
2579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2580 test $ac_status = 0; }; then :
2581 for ac_file in conftest.o conftest.obj conftest.*; do
2582 test -f "$ac_file" || continue;
2583 case $ac_file in
2584 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2585 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2586 break;;
2587 esac
2588 done
2589 else
2590 $as_echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.$ac_ext >&5
2593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2595 as_fn_error $? "cannot compute suffix of object files: cannot compile
2596 See \`config.log' for more details" "$LINENO" 5; }
2598 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2601 $as_echo "$ac_cv_objext" >&6; }
2602 OBJEXT=$ac_cv_objext
2603 ac_objext=$OBJEXT
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2605 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2606 if ${ac_cv_c_compiler_gnu+:} false; then :
2607 $as_echo_n "(cached) " >&6
2608 else
2609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2610 /* end confdefs.h. */
2613 main ()
2615 #ifndef __GNUC__
2616 choke me
2617 #endif
2620 return 0;
2622 _ACEOF
2623 if ac_fn_c_try_compile "$LINENO"; then :
2624 ac_compiler_gnu=yes
2625 else
2626 ac_compiler_gnu=no
2628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2629 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2633 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2634 if test $ac_compiler_gnu = yes; then
2635 GCC=yes
2636 else
2637 GCC=
2639 ac_test_CFLAGS=${CFLAGS+set}
2640 ac_save_CFLAGS=$CFLAGS
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2642 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2643 if ${ac_cv_prog_cc_g+:} false; then :
2644 $as_echo_n "(cached) " >&6
2645 else
2646 ac_save_c_werror_flag=$ac_c_werror_flag
2647 ac_c_werror_flag=yes
2648 ac_cv_prog_cc_g=no
2649 CFLAGS="-g"
2650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2651 /* end confdefs.h. */
2654 main ()
2658 return 0;
2660 _ACEOF
2661 if ac_fn_c_try_compile "$LINENO"; then :
2662 ac_cv_prog_cc_g=yes
2663 else
2664 CFLAGS=""
2665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2666 /* end confdefs.h. */
2669 main ()
2673 return 0;
2675 _ACEOF
2676 if ac_fn_c_try_compile "$LINENO"; then :
2678 else
2679 ac_c_werror_flag=$ac_save_c_werror_flag
2680 CFLAGS="-g"
2681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2682 /* end confdefs.h. */
2685 main ()
2689 return 0;
2691 _ACEOF
2692 if ac_fn_c_try_compile "$LINENO"; then :
2693 ac_cv_prog_cc_g=yes
2695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2700 ac_c_werror_flag=$ac_save_c_werror_flag
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2703 $as_echo "$ac_cv_prog_cc_g" >&6; }
2704 if test "$ac_test_CFLAGS" = set; then
2705 CFLAGS=$ac_save_CFLAGS
2706 elif test $ac_cv_prog_cc_g = yes; then
2707 if test "$GCC" = yes; then
2708 CFLAGS="-g -O2"
2709 else
2710 CFLAGS="-g"
2712 else
2713 if test "$GCC" = yes; then
2714 CFLAGS="-O2"
2715 else
2716 CFLAGS=
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2720 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2721 if ${ac_cv_prog_cc_c89+:} false; then :
2722 $as_echo_n "(cached) " >&6
2723 else
2724 ac_cv_prog_cc_c89=no
2725 ac_save_CC=$CC
2726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2727 /* end confdefs.h. */
2728 #include <stdarg.h>
2729 #include <stdio.h>
2730 struct stat;
2731 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2732 struct buf { int x; };
2733 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2734 static char *e (p, i)
2735 char **p;
2736 int i;
2738 return p[i];
2740 static char *f (char * (*g) (char **, int), char **p, ...)
2742 char *s;
2743 va_list v;
2744 va_start (v,p);
2745 s = g (p, va_arg (v,int));
2746 va_end (v);
2747 return s;
2750 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2751 function prototypes and stuff, but not '\xHH' hex character constants.
2752 These don't provoke an error unfortunately, instead are silently treated
2753 as 'x'. The following induces an error, until -std is added to get
2754 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2755 array size at least. It's necessary to write '\x00'==0 to get something
2756 that's true only with -std. */
2757 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2759 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2760 inside strings and character constants. */
2761 #define FOO(x) 'x'
2762 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2764 int test (int i, double x);
2765 struct s1 {int (*f) (int a);};
2766 struct s2 {int (*f) (double a);};
2767 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2768 int argc;
2769 char **argv;
2771 main ()
2773 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2775 return 0;
2777 _ACEOF
2778 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2779 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2781 CC="$ac_save_CC $ac_arg"
2782 if ac_fn_c_try_compile "$LINENO"; then :
2783 ac_cv_prog_cc_c89=$ac_arg
2785 rm -f core conftest.err conftest.$ac_objext
2786 test "x$ac_cv_prog_cc_c89" != "xno" && break
2787 done
2788 rm -f conftest.$ac_ext
2789 CC=$ac_save_CC
2792 # AC_CACHE_VAL
2793 case "x$ac_cv_prog_cc_c89" in
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2796 $as_echo "none needed" >&6; } ;;
2797 xno)
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2799 $as_echo "unsupported" >&6; } ;;
2801 CC="$CC $ac_cv_prog_cc_c89"
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2803 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2804 esac
2805 if test "x$ac_cv_prog_cc_c89" != xno; then :
2809 ac_ext=c
2810 ac_cpp='$CPP $CPPFLAGS'
2811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2817 $as_echo_n "checking target config location... " >&6; }
2819 # Check whether --with-config-dir was given.
2820 if test "${with_config_dir+set}" = set; then :
2821 withval=$with_config_dir; targetcfg_dir="$withval"
2822 else
2823 targetcfg_dir=""
2826 if test "$targetcfg_dir" = ""; then
2827 as_fn_error $? "missing config directory!" "$LINENO" 5
2828 else
2829 aros_targetcfg_dir="$targetcfg_dir"
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2832 $as_echo "$aros_targetcfg_dir" >&6; }
2834 #-----------------------------------------------------------------------------
2836 # Check if the target compiler supports some features:
2837 # C/ObjC
2838 # -fexceptions
2839 # -ffast-math
2840 # -fassociative-math
2841 # -fno-math-errno
2842 # -fno-trapping-math
2843 # -ftree-vectorize
2844 # -flto
2845 # -fwhole-program
2846 # -floop-block
2847 # -floop-interchange
2848 # -floop-strip-mine
2849 # -fpeel-loops
2850 # -fstrict-aliasing
2851 # -finline-small-functions
2852 # -fipa-cp
2853 # -funroll-loops
2854 # -fomit-frame-pointer
2855 # -fprofile-arcs
2856 # -ftest-coverage
2857 # -finstrument-functions
2858 # -faligned-new
2860 # -fno-builtin
2861 # -fno-builtin-floor
2862 # -fno-builtin-vsnprintf
2864 # -ffreestanding
2865 # -fasynchronous-unwind-tables
2867 # C++/ObjC++
2868 # -fpermissive
2869 # -frtti
2871 # -fvisibility=hidden
2873 # C features first
2874 ac_ext=c
2875 ac_cpp='$CPP $CPPFLAGS'
2876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2881 save_cflags="$CFLAGS"
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2883 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2884 CFLAGS=-fexceptions
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2890 main ()
2894 return 0;
2896 _ACEOF
2897 if ac_fn_c_try_compile "$LINENO"; then :
2898 aros_exceptions="yes"
2899 else
2900 aros_exceptions="no"
2902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2904 $as_echo "$aros_exceptions" >&6; }
2905 if test "x-$aros_exceptions" = "x-yes" ; then
2906 aros_cflags_exceptions=-fexceptions
2907 aros_cflags_noexceptions=-fno-exceptions
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2911 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2912 CFLAGS=-ffast-math
2913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2914 /* end confdefs.h. */
2917 main ()
2921 return 0;
2923 _ACEOF
2924 if ac_fn_c_try_compile "$LINENO"; then :
2925 aros_fast_math="yes"
2926 else
2927 aros_fast_math="no"
2929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2931 $as_echo "$aros_fast_math" >&6; }
2932 if test "x-$aros_fast_math" = "x-yes" ; then
2933 aros_cflags_fast_math=-ffast-math
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fassociative-math" >&5
2937 $as_echo_n "checking whether ${CC} accepts -fassociative-math... " >&6; }
2938 CFLAGS=-fassociative-math
2939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2940 /* end confdefs.h. */
2943 main ()
2947 return 0;
2949 _ACEOF
2950 if ac_fn_c_try_compile "$LINENO"; then :
2951 aros_associative_math="yes"
2952 else
2953 aros_associative_math="no"
2955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_associative_math" >&5
2957 $as_echo "$aros_associative_math" >&6; }
2958 if test "x-$aros_associative_math" = "x-yes" ; then
2959 aros_cflags_associative_math=-fassociative-math
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-math-errno" >&5
2963 $as_echo_n "checking whether ${CC} accepts -fno-math-errno... " >&6; }
2964 CFLAGS=-fno-math-errno
2965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2966 /* end confdefs.h. */
2969 main ()
2973 return 0;
2975 _ACEOF
2976 if ac_fn_c_try_compile "$LINENO"; then :
2977 aros_no_math_errno="yes"
2978 else
2979 aros_no_math_errno="no"
2981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_math_errno" >&5
2983 $as_echo "$aros_no_math_errno" >&6; }
2984 if test "x-$aros_no_math_errno" = "x-yes" ; then
2985 aros_cflags_no_math_errno=-fno-math-errno
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-trapping-math" >&5
2989 $as_echo_n "checking whether ${CC} accepts -fno-trapping-math... " >&6; }
2990 CFLAGS=-fno-trapping-math
2991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h. */
2995 main ()
2999 return 0;
3001 _ACEOF
3002 if ac_fn_c_try_compile "$LINENO"; then :
3003 aros_no_trapping_math="yes"
3004 else
3005 aros_no_trapping_math="no"
3007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_trapping_math" >&5
3009 $as_echo "$aros_no_trapping_math" >&6; }
3010 if test "x-$aros_no_trapping_math" = "x-yes" ; then
3011 aros_cflags_no_trapping_math=-fno-trapping-math
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ftree-vectorize" >&5
3015 $as_echo_n "checking whether ${CC} accepts -ftree-vectorize... " >&6; }
3016 CFLAGS=-ftree-vectorize
3017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3018 /* end confdefs.h. */
3021 main ()
3025 return 0;
3027 _ACEOF
3028 if ac_fn_c_try_compile "$LINENO"; then :
3029 aros_tree_vectorize="yes"
3030 else
3031 aros_tree_vectorize="no"
3033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tree_vectorize" >&5
3035 $as_echo "$aros_tree_vectorize" >&6; }
3036 if test "x-$aros_tree_vectorize" = "x-yes" ; then
3037 aros_cflags_tree_vectorize=-ftree-vectorize
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
3041 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
3042 CFLAGS=-flto
3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h. */
3047 main ()
3051 return 0;
3053 _ACEOF
3054 if ac_fn_c_try_compile "$LINENO"; then :
3055 aros_lto="yes"
3056 else
3057 aros_lto="no"
3059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
3061 $as_echo "$aros_lto" >&6; }
3062 if test "x-$aros_lto" = "x-yes" ; then
3063 aros_cflags_lto=-flto
3064 aros_cflags_nolto=-fno-lto
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
3067 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
3068 CFLAGS=-fwhole-program
3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3073 main ()
3077 return 0;
3079 _ACEOF
3080 if ac_fn_c_try_compile "$LINENO"; then :
3081 aros_whole_program="yes"
3082 else
3083 aros_whole_program="no"
3085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
3087 $as_echo "$aros_whole_program" >&6; }
3088 if test "x-$aros_whole_program" = "x-yes" ; then
3089 aros_cflags_whole_program=-fwhole-program
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
3093 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
3094 CFLAGS=-floop-block
3095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3096 /* end confdefs.h. */
3099 main ()
3103 return 0;
3105 _ACEOF
3106 if ac_fn_c_try_compile "$LINENO"; then :
3107 aros_loop_block="yes"
3108 else
3109 aros_loop_block="no"
3111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
3113 $as_echo "$aros_loop_block" >&6; }
3114 if test "x-$aros_loop_block" = "x-yes" ; then
3115 aros_cflags_loop_block=-floop-block
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
3119 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
3120 CFLAGS=-floop-interchange
3121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3122 /* end confdefs.h. */
3125 main ()
3129 return 0;
3131 _ACEOF
3132 if ac_fn_c_try_compile "$LINENO"; then :
3133 aros_loop_interchange="yes"
3134 else
3135 aros_loop_interchange="no"
3137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
3139 $as_echo "$aros_loop_interchange" >&6; }
3140 if test "x-$aros_loop_interchange" = "x-yes" ; then
3141 aros_cflags_loop_interchange=-floop-interchange
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
3145 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
3146 CFLAGS=-floop-strip-mine
3147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3148 /* end confdefs.h. */
3151 main ()
3155 return 0;
3157 _ACEOF
3158 if ac_fn_c_try_compile "$LINENO"; then :
3159 aros_loop_strip_mine="yes"
3160 else
3161 aros_loop_strip_mine="no"
3163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
3165 $as_echo "$aros_loop_strip_mine" >&6; }
3166 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
3167 aros_cflags_loop_strip_mine=-floop-strip-mine
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
3172 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
3173 CFLAGS=-fpeel-loops
3174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3175 /* end confdefs.h. */
3178 main ()
3182 return 0;
3184 _ACEOF
3185 if ac_fn_c_try_compile "$LINENO"; then :
3186 aros_peel_loops="yes"
3187 else
3188 aros_peel_loops="no"
3190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
3192 $as_echo "$aros_peel_loops" >&6; }
3193 if test "x-$aros_peel_loops" = "x-yes" ; then
3194 aros_cflags_peel_loops=-fpeel-loops
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3198 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3199 CFLAGS=-funroll-loops
3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3201 /* end confdefs.h. */
3204 main ()
3208 return 0;
3210 _ACEOF
3211 if ac_fn_c_try_compile "$LINENO"; then :
3212 aros_unroll_loops="yes"
3213 else
3214 aros_unroll_loops="no"
3216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3218 $as_echo "$aros_unroll_loops" >&6; }
3219 if test "x-$aros_unroll_loops" = "x-yes" ; then
3220 aros_cflags_unroll_loops=-funroll-loops
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3224 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3225 CFLAGS=-fstrict-aliasing
3226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h. */
3230 main ()
3234 return 0;
3236 _ACEOF
3237 if ac_fn_c_try_compile "$LINENO"; then :
3238 aros_strict_aliasing="yes"
3239 else
3240 aros_strict_aliasing="no"
3242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3244 $as_echo "$aros_strict_aliasing" >&6; }
3245 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3246 aros_cflags_strictaliasing=-fstrict-aliasing
3247 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3251 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3252 CFLAGS=-finline-small-functions
3253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3254 /* end confdefs.h. */
3257 main ()
3261 return 0;
3263 _ACEOF
3264 if ac_fn_c_try_compile "$LINENO"; then :
3265 aros_inline_small_functions="yes"
3266 else
3267 aros_inline_small_functions="no"
3269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3271 $as_echo "$aros_inline_small_functions" >&6; }
3272 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3273 aros_cflags_inlinesmallfunctions=-finline-small-functions
3274 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fipa-cp" >&5
3278 $as_echo_n "checking whether ${CC} accepts -fipa-cp... " >&6; }
3279 CFLAGS=-fipa-cp
3280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h. */
3284 main ()
3288 return 0;
3290 _ACEOF
3291 if ac_fn_c_try_compile "$LINENO"; then :
3292 aros_ipa_cp="yes"
3293 else
3294 aros_ipa_cp="no"
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ipa_cp" >&5
3298 $as_echo "$aros_ipa_cp" >&6; }
3299 if test "x-$aros_ipa_cp" = "x-yes" ; then
3300 aros_cflags_ipacp=-fipa-cp
3301 aros_cflags_noipacp=-fno-ipa-cp
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fomit-frame-pointer" >&5
3305 $as_echo_n "checking whether ${CC} accepts -fomit-frame-pointer... " >&6; }
3306 CFLAGS=-fomit-frame-pointer
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3311 main ()
3315 return 0;
3317 _ACEOF
3318 if ac_fn_c_try_compile "$LINENO"; then :
3319 aros_omit_frame_pointer="yes"
3320 else
3321 aros_omit_frame_pointer="no"
3323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_omit_frame_pointer" >&5
3325 $as_echo "$aros_omit_frame_pointer" >&6; }
3326 if test "x-$aros_omit_frame_pointer" = "x-yes" ; then
3327 aros_cflags_omitfp=-fomit-frame-pointer
3328 aros_cflags_noomitfp=-fno-omit-frame-pointer
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fprofile-arcs" >&5
3332 $as_echo_n "checking whether ${CC} accepts -fprofile-arcs... " >&6; }
3333 CFLAGS=-fprofile-arcs
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3338 main ()
3342 return 0;
3344 _ACEOF
3345 if ac_fn_c_try_compile "$LINENO"; then :
3346 aros_profile_arcs="yes"
3347 else
3348 aros_profile_arcs="no"
3350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_profile_arcs" >&5
3352 $as_echo "$aros_profile_arcs" >&6; }
3353 if test "x-$aros_profile_arcs" = "x-yes" ; then
3354 aros_cflags_profilearcs=-fprofile-arcs
3355 aros_cflags_noprofilearcs=-fno-profile-arcs
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ftest-coverage" >&5
3359 $as_echo_n "checking whether ${CC} accepts -ftest-coverage... " >&6; }
3360 CFLAGS=-ftest-coverage
3361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3362 /* end confdefs.h. */
3365 main ()
3369 return 0;
3371 _ACEOF
3372 if ac_fn_c_try_compile "$LINENO"; then :
3373 aros_test_coverage="yes"
3374 else
3375 aros_test_coverage="no"
3377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_test_coverage" >&5
3379 $as_echo "$aros_test_coverage" >&6; }
3380 if test "x-$aros_test_coverage" = "x-yes" ; then
3381 aros_cflags_testcoverage=-ftest-coverage
3382 aros_cflags_notestcoverage=-fno-test-coverage
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finstrument-functions" >&5
3386 $as_echo_n "checking whether ${CC} accepts -finstrument-functions... " >&6; }
3387 CFLAGS=-finstrument-functions
3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h. */
3392 main ()
3396 return 0;
3398 _ACEOF
3399 if ac_fn_c_try_compile "$LINENO"; then :
3400 aros_instrument_functions="yes"
3401 else
3402 aros_instrument_functions="no"
3404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_instrument_functions" >&5
3406 $as_echo "$aros_instrument_functions" >&6; }
3407 if test "x-$aros_instrument_functions" = "x-yes" ; then
3408 aros_cflags_instrfuncs=-finstrument-functions
3409 aros_cflags_noinstrfuncs=-fno-instrument-functions
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -faligned-new" >&5
3413 $as_echo_n "checking whether ${CC} accepts -faligned-new... " >&6; }
3414 CFLAGS=-faligned-new
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3419 main ()
3423 return 0;
3425 _ACEOF
3426 if ac_fn_c_try_compile "$LINENO"; then :
3427 aros_aligned_new="yes"
3428 else
3429 aros_aligned_new="no"
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aligned_new" >&5
3433 $as_echo "$aros_aligned_new" >&6; }
3434 if test "x-$aros_aligned_new" = "x-yes" ; then
3435 aros_cflags_alignednew=-faligned-new
3436 aros_cflags_noalignednew=-fno-aligned-new
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fbuiltin" >&5
3440 $as_echo_n "checking whether ${CC} accepts -fbuiltin... " >&6; }
3441 CFLAGS=-fbuiltin
3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h. */
3446 main ()
3450 return 0;
3452 _ACEOF
3453 if ac_fn_c_try_compile "$LINENO"; then :
3454 aros_builtin="yes"
3455 else
3456 aros_builtin="no"
3458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_builtin" >&5
3460 $as_echo "$aros_builtin" >&6; }
3461 if test "x-$aros_builtin" = "x-yes" ; then
3462 aros_cflags_builtin=-fbuiltin
3463 aros_cflags_no_builtin=-fno-builtin
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
3467 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
3468 CFLAGS=-fno-builtin-floor
3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h. */
3473 main ()
3477 return 0;
3479 _ACEOF
3480 if ac_fn_c_try_compile "$LINENO"; then :
3481 aros_no_builtin_floor="yes"
3482 else
3483 aros_no_builtin_floor="no"
3485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
3487 $as_echo "$aros_no_builtin_floor" >&6; }
3488 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
3489 aros_cflags_no_builtin_floor=-fno-builtin-floor
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-vsnprintf" >&5
3493 $as_echo_n "checking whether ${CC} accepts -fno-builtin-vsnprintf... " >&6; }
3494 CFLAGS=-fno-builtin-vsnprintf
3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h. */
3499 main ()
3503 return 0;
3505 _ACEOF
3506 if ac_fn_c_try_compile "$LINENO"; then :
3507 aros_no_builtin_vsnprintf="yes"
3508 else
3509 aros_no_builtin_vsnprintf="no"
3511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_vsnprintf" >&5
3513 $as_echo "$aros_no_builtin_vsnprintf" >&6; }
3514 if test "x-$aros_no_builtin_vsnprintf" = "x-yes" ; then
3515 aros_cflags_no_builtin_vsnprintf=-fno-builtin-vsnprintf
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffreestanding" >&5
3519 $as_echo_n "checking whether ${CC} accepts -ffreestanding... " >&6; }
3520 CFLAGS=-ffreestanding
3521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h. */
3525 main ()
3529 return 0;
3531 _ACEOF
3532 if ac_fn_c_try_compile "$LINENO"; then :
3533 aros_freestanding="yes"
3534 else
3535 aros_freestanding="no"
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_freestanding" >&5
3539 $as_echo "$aros_freestanding" >&6; }
3540 if test "x-$aros_freestanding" = "x-yes" ; then
3541 aros_cflags_freestanding=-ffreestanding
3542 aros_cflags_no_freestanding=-fno-freestanding
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fasynchronous-unwind-tables" >&5
3546 $as_echo_n "checking whether ${CC} accepts -fasynchronous-unwind-tables... " >&6; }
3547 CFLAGS=-fasynchronous-unwind-tables
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3552 main ()
3556 return 0;
3558 _ACEOF
3559 if ac_fn_c_try_compile "$LINENO"; then :
3560 aros_asynchronous_unwind_tables="yes"
3561 else
3562 aros_asynchronous_unwind_tables="no"
3564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_asynchronous_unwind_tables" >&5
3566 $as_echo "$aros_asynchronous_unwind_tables" >&6; }
3567 if test "x-$aros_asynchronous_unwind_tables" = "x-yes" ; then
3568 aros_cflags_asynchronous_unwind_tables=-fasynchronous-unwind-tables
3569 aros_cflags_no_asynchronous_unwind_tables=-fno-asynchronous-unwind-tables
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fvisibility=hidden" >&5
3573 $as_echo_n "checking whether ${CC} accepts -fvisibility=hidden... " >&6; }
3574 CFLAGS=-fvisibility=hidden
3575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576 /* end confdefs.h. */
3579 main ()
3583 return 0;
3585 _ACEOF
3586 if ac_fn_c_try_compile "$LINENO"; then :
3587 aros_visibility_hidden="yes"
3588 else
3589 aros_visibility_hidden="no"
3591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_visibility_hidden" >&5
3593 $as_echo "$aros_visibility_hidden" >&6; }
3594 if test "x-$aros_visibility_hidden" = "x-yes" ; then
3595 aros_cflags_visibility_hidden=-fvisibility=hidden
3598 # C++ features
3599 ac_ext=cpp
3600 ac_cpp='$CXXCPP $CPPFLAGS'
3601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3605 save_cxxflags="$CXXFLAGS"
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -fpermissive" >&5
3608 $as_echo_n "checking whether ${CXX} accepts -fpermissive... " >&6; }
3609 CXXFLAGS=-fpermissive
3610 ac_ext=cpp
3611 ac_cpp='$CXXCPP $CPPFLAGS'
3612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3615 if test -z "$CXX"; then
3616 if test -n "$CCC"; then
3617 CXX=$CCC
3618 else
3619 if test -n "$ac_tool_prefix"; then
3620 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3622 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3623 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3625 $as_echo_n "checking for $ac_word... " >&6; }
3626 if ${ac_cv_prog_CXX+:} false; then :
3627 $as_echo_n "(cached) " >&6
3628 else
3629 if test -n "$CXX"; then
3630 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3631 else
3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3633 for as_dir in $PATH
3635 IFS=$as_save_IFS
3636 test -z "$as_dir" && as_dir=.
3637 for ac_exec_ext in '' $ac_executable_extensions; do
3638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3639 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 break 2
3643 done
3644 done
3645 IFS=$as_save_IFS
3649 CXX=$ac_cv_prog_CXX
3650 if test -n "$CXX"; then
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3652 $as_echo "$CXX" >&6; }
3653 else
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3655 $as_echo "no" >&6; }
3659 test -n "$CXX" && break
3660 done
3662 if test -z "$CXX"; then
3663 ac_ct_CXX=$CXX
3664 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3666 # Extract the first word of "$ac_prog", so it can be a program name with args.
3667 set dummy $ac_prog; ac_word=$2
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3669 $as_echo_n "checking for $ac_word... " >&6; }
3670 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3671 $as_echo_n "(cached) " >&6
3672 else
3673 if test -n "$ac_ct_CXX"; then
3674 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3675 else
3676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3677 for as_dir in $PATH
3679 IFS=$as_save_IFS
3680 test -z "$as_dir" && as_dir=.
3681 for ac_exec_ext in '' $ac_executable_extensions; do
3682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3683 ac_cv_prog_ac_ct_CXX="$ac_prog"
3684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3685 break 2
3687 done
3688 done
3689 IFS=$as_save_IFS
3693 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3694 if test -n "$ac_ct_CXX"; then
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3696 $as_echo "$ac_ct_CXX" >&6; }
3697 else
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699 $as_echo "no" >&6; }
3703 test -n "$ac_ct_CXX" && break
3704 done
3706 if test "x$ac_ct_CXX" = x; then
3707 CXX="g++"
3708 else
3709 case $cross_compiling:$ac_tool_warned in
3710 yes:)
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3713 ac_tool_warned=yes ;;
3714 esac
3715 CXX=$ac_ct_CXX
3721 # Provide some information about the compiler.
3722 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3723 set X $ac_compile
3724 ac_compiler=$2
3725 for ac_option in --version -v -V -qversion; do
3726 { { ac_try="$ac_compiler $ac_option >&5"
3727 case "(($ac_try" in
3728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3729 *) ac_try_echo=$ac_try;;
3730 esac
3731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3732 $as_echo "$ac_try_echo"; } >&5
3733 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3734 ac_status=$?
3735 if test -s conftest.err; then
3736 sed '10a\
3737 ... rest of stderr output deleted ...
3738 10q' conftest.err >conftest.er1
3739 cat conftest.er1 >&5
3741 rm -f conftest.er1 conftest.err
3742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3743 test $ac_status = 0; }
3744 done
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3747 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3748 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3749 $as_echo_n "(cached) " >&6
3750 else
3751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3752 /* end confdefs.h. */
3755 main ()
3757 #ifndef __GNUC__
3758 choke me
3759 #endif
3762 return 0;
3764 _ACEOF
3765 if ac_fn_cxx_try_compile "$LINENO"; then :
3766 ac_compiler_gnu=yes
3767 else
3768 ac_compiler_gnu=no
3770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3771 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3775 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3776 if test $ac_compiler_gnu = yes; then
3777 GXX=yes
3778 else
3779 GXX=
3781 ac_test_CXXFLAGS=${CXXFLAGS+set}
3782 ac_save_CXXFLAGS=$CXXFLAGS
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3784 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3785 if ${ac_cv_prog_cxx_g+:} false; then :
3786 $as_echo_n "(cached) " >&6
3787 else
3788 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3789 ac_cxx_werror_flag=yes
3790 ac_cv_prog_cxx_g=no
3791 CXXFLAGS="-g"
3792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3793 /* end confdefs.h. */
3796 main ()
3800 return 0;
3802 _ACEOF
3803 if ac_fn_cxx_try_compile "$LINENO"; then :
3804 ac_cv_prog_cxx_g=yes
3805 else
3806 CXXFLAGS=""
3807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3808 /* end confdefs.h. */
3811 main ()
3815 return 0;
3817 _ACEOF
3818 if ac_fn_cxx_try_compile "$LINENO"; then :
3820 else
3821 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3822 CXXFLAGS="-g"
3823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3824 /* end confdefs.h. */
3827 main ()
3831 return 0;
3833 _ACEOF
3834 if ac_fn_cxx_try_compile "$LINENO"; then :
3835 ac_cv_prog_cxx_g=yes
3837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3842 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3845 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3846 if test "$ac_test_CXXFLAGS" = set; then
3847 CXXFLAGS=$ac_save_CXXFLAGS
3848 elif test $ac_cv_prog_cxx_g = yes; then
3849 if test "$GXX" = yes; then
3850 CXXFLAGS="-g -O2"
3851 else
3852 CXXFLAGS="-g"
3854 else
3855 if test "$GXX" = yes; then
3856 CXXFLAGS="-O2"
3857 else
3858 CXXFLAGS=
3861 ac_ext=cpp
3862 ac_cpp='$CXXCPP $CPPFLAGS'
3863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3872 main ()
3876 return 0;
3878 _ACEOF
3879 if ac_fn_cxx_try_compile "$LINENO"; then :
3880 aros_permissive="yes"
3881 else
3882 aros_permissive="no"
3884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
3886 $as_echo "$aros_permissive" >&6; }
3887 if test "x-$aros_permissive" = "x-yes" ; then
3888 aros_cxxflags_permissive=-fpermissive
3889 aros_cxxflags_nopermissive=-fno-permissive
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -frtti" >&5
3893 $as_echo_n "checking whether ${CXX} accepts -frtti... " >&6; }
3894 CXXFLAGS=-frtti
3895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3896 /* end confdefs.h. */
3899 main ()
3903 return 0;
3905 _ACEOF
3906 if ac_fn_cxx_try_compile "$LINENO"; then :
3907 aros_rtti="yes"
3908 else
3909 aros_rtti="no"
3911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_rtti" >&5
3913 $as_echo "$aros_rtti" >&6; }
3914 if test "x-$aros_rtti" = "x-yes" ; then
3915 aros_cxxflags_rtti=-frtti
3916 aros_cxxflags_nortti=-fno-rtti
3919 CXXFLAGS="$save_cxxflags"
3922 # Check for additional C compiler options..
3923 ac_ext=c
3924 ac_cpp='$CPP $CPPFLAGS'
3925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3930 #-----------------------------------------------------------------------------
3932 # Check if the target compiler supports some include directory options:
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3935 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3936 CFLAGS="-iquote."
3937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h. */
3941 main ()
3945 return 0;
3947 _ACEOF
3948 if ac_fn_c_try_compile "$LINENO"; then :
3949 has_iquote="yes"
3950 else
3951 has_iquote="no"
3953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3955 $as_echo "$has_iquote" >&6; }
3956 if test "x-$has_iquote" = "x-yes" ; then
3957 aros_cflags_iquote=-iquote
3958 aros_cflags_iquote_end=
3959 else
3960 aros_cflags_iquote=-I
3961 aros_cflags_iquote_end=-I-
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -isystem" >&5
3965 $as_echo_n "checking whether ${CC} accepts -isystem... " >&6; }
3966 CFLAGS="-isystem."
3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3971 main ()
3975 return 0;
3977 _ACEOF
3978 if ac_fn_c_try_compile "$LINENO"; then :
3979 has_isystem="yes"
3980 else
3981 has_isystem="no"
3983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_isystem" >&5
3985 $as_echo "$has_isystem" >&6; }
3986 if test "x-$has_isystem" = "x-yes" ; then
3987 aros_cflags_isystem=-isystem
3988 aros_cflags_isystem_end=
3989 else
3990 aros_cflags_isystem=-I
3991 aros_cflags_isystem_end=
3994 #-----------------------------------------------------------------------------
3996 # Check if the target compiler supports some ISA options:
3997 # -mno-red-zone
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mred-zone" >&5
4000 $as_echo_n "checking whether ${CC} accepts -mred-zone... " >&6; }
4001 CFLAGS=-mred-zone
4002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4003 /* end confdefs.h. */
4006 main ()
4010 return 0;
4012 _ACEOF
4013 if ac_fn_c_try_compile "$LINENO"; then :
4014 aros_no_red_zone="yes"
4015 else
4016 aros_no_red_zone="no"
4018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
4020 $as_echo "$aros_no_red_zone" >&6; }
4021 if test "x-$aros_no_red_zone" = "x-yes" ; then
4022 aros_cflags_red_zone=-mred-zone
4023 aros_cflags_no_red_zone=-mno-red-zone
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mms-bitfields" >&5
4027 $as_echo_n "checking whether ${CC} accepts -mms-bitfields... " >&6; }
4028 CFLAGS=-mms-bitfields
4029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4030 /* end confdefs.h. */
4033 main ()
4037 return 0;
4039 _ACEOF
4040 if ac_fn_c_try_compile "$LINENO"; then :
4041 aros_ms_bitfields="yes"
4042 else
4043 aros_ms_bitfields="no"
4045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ms_bitfields" >&5
4047 $as_echo "$aros_ms_bitfields" >&6; }
4048 if test "x-$aros_ms_bitfields" = "x-yes" ; then
4049 aros_cflags_ms_bitfields=-mms-bitfields
4050 aros_cflags_no_ms_bitfields=-mno-ms-bitfields
4053 CFLAGS="$save_cflags"
4055 #-----------------------------------------------------------------------------
4057 # Check if the target compiler supports some options used for de-linting:
4058 # -Werror
4059 # -Wall
4060 # -Wrestrict
4061 # -Wunused-command-line-argument
4062 # -Wunknown-warning-option
4063 # -Wunused-but-set-variable
4064 # -Wstrict-aliasing
4065 # -Warray-bounds
4066 # -Wenum-compare
4067 # -Wstrict-prototypes
4068 # -Wstrict-overflow
4069 # -Wformat-security
4070 # -Wmisleading-indentation
4071 # -Wnonnull-compare
4072 # -Wunused
4073 # -Wunused-label
4074 # -Wunused-value
4075 # -Wunused-variable
4076 # -Wunused-function
4077 # -Wunused-parameter
4078 # -Wuninitialized
4079 # -Wmaybe-uninitialized
4080 # -Wimplicit-function-declaration
4081 # -Wformat
4082 # -Wparentheses
4083 # -Wchar-subscripts
4084 # -Wendif-labels
4085 # -Wformat-contains-nul
4086 # -Wimplicit-int
4087 # -Waggressive-loop-optimizations
4088 # -Wcpp
4089 # -Wswitch
4090 # -Wdiscarded-qualifiers
4091 # -Wsequence-point
4092 # -Wunknown-pragmas
4093 # -Wdiscarded-array-qualifiers
4094 # -Wint-conversion
4095 # -Wint-to-pointer-cast
4096 # -Wpointer-to-int-cast
4097 # -Wunused-const-variable
4098 # -Wwrite-strings
4099 # -Wcomment
4100 # -Wincompatible-pointer-types
4101 # -Wbool-compare
4102 # -Wlogical-not-parentheses
4103 # -Wpointer-sign
4104 # -Wshift-overflow
4105 # -Wframe-address
4106 # -Wdeprecated-declarations
4107 # -Wsign-compare
4108 # -Wattributes
4109 # -Woverflow
4110 # -Wunused-local-typedefs
4111 # -Wmissing-braces
4112 # -Wconversion-null
4113 # -Wnarrowing
4114 # -Wvolatile-register-var
4115 # -Wsizeof-pointer-memaccess
4116 # -Wreturn-type
4117 # -Wformat-zero-length
4118 # -Wlto-type-mismatch
4119 # -Wtautological-compare
4120 # -Wempty-body
4121 # -Wformat-overflow
4122 # -Wstringop-overflow
4123 # -Wformat-truncation
4124 # -Wstringop-truncation
4125 # -Wshift-negative-value
4126 # -Wmissing-field-initializers
4127 # -Wimplicit-fallthrough
4128 # -Wmissing-prototypes
4129 # -Wclass-memaccess
4130 # -Wint-in-bool-context
4132 # C warnings first
4133 ac_ext=c
4134 ac_cpp='$CPP $CPPFLAGS'
4135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4140 save_cflags="$CFLAGS"
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
4142 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
4143 CFLAGS=-Werror
4144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h. */
4148 main ()
4152 return 0;
4154 _ACEOF
4155 if ac_fn_c_try_compile "$LINENO"; then :
4156 aros_error="yes"
4157 else
4158 aros_error="no"
4160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
4162 $as_echo "$aros_error" >&6; }
4163 if test "x-$aros_error" = "x-yes" ; then
4164 aros_warnflags_error=-Werror
4165 aros_nowarnflags_error=-Wno-error
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wall" >&5
4169 $as_echo_n "checking whether ${CC} accepts -Wall... " >&6; }
4170 CFLAGS=-Wall
4171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4172 /* end confdefs.h. */
4175 main ()
4179 return 0;
4181 _ACEOF
4182 if ac_fn_c_try_compile "$LINENO"; then :
4183 aros_all="yes"
4184 else
4185 aros_all="no"
4187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_all" >&5
4189 $as_echo "$aros_all" >&6; }
4190 if test "x-$aros_all" = "x-yes" ; then
4191 aros_warnflags_all=-Wall
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wrestrict" >&5
4195 $as_echo_n "checking whether ${CC} accepts -Wrestrict... " >&6; }
4196 CFLAGS=-Wrestrict
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4201 main ()
4205 return 0;
4207 _ACEOF
4208 if ac_fn_c_try_compile "$LINENO"; then :
4209 aros_restrict="yes"
4210 else
4211 aros_restrict="no"
4213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_restrict" >&5
4215 $as_echo "$aros_restrict" >&6; }
4216 if test "x-$aros_restrict" = "x-yes" ; then
4217 aros_warnflags_restrict=-Wrestrict
4218 aros_nowarnflags_restrict=-Wno-restrict
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
4222 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
4223 CFLAGS=-Wunused-command-line-argument
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4228 main ()
4232 return 0;
4234 _ACEOF
4235 if ac_fn_c_try_compile "$LINENO"; then :
4236 aros_unused_command_line_argument="yes"
4237 else
4238 aros_unused_command_line_argument="no"
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
4242 $as_echo "$aros_unused_command_line_argument" >&6; }
4243 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
4244 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
4245 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
4249 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
4250 CFLAGS=-Wunknown-warning-option
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4255 main ()
4259 return 0;
4261 _ACEOF
4262 if ac_fn_c_try_compile "$LINENO"; then :
4263 aros_unknown_warning_option="yes"
4264 else
4265 aros_unknown_warning_option="no"
4267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
4269 $as_echo "$aros_unknown_warning_option" >&6; }
4270 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
4271 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
4272 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
4276 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
4277 CFLAGS=-Wunused-but-set-variable
4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4282 main ()
4286 return 0;
4288 _ACEOF
4289 if ac_fn_c_try_compile "$LINENO"; then :
4290 aros_unused_but_set_variable="yes"
4291 else
4292 aros_unused_but_set_variable="no"
4294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
4296 $as_echo "$aros_unused_but_set_variable" >&6; }
4297 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
4298 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
4299 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
4303 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
4304 CFLAGS=-Wstrict-aliasing
4305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306 /* end confdefs.h. */
4309 main ()
4313 return 0;
4315 _ACEOF
4316 if ac_fn_c_try_compile "$LINENO"; then :
4317 aros_strict_aliasing="yes"
4318 else
4319 aros_strict_aliasing="no"
4321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
4323 $as_echo "$aros_strict_aliasing" >&6; }
4324 if test "x-$aros_strict_aliasing" = "x-yes" ; then
4325 aros_warnflags_strict_aliasing=-Wstrict-aliasing
4326 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
4330 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
4331 CFLAGS=-Warray-bounds
4332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4333 /* end confdefs.h. */
4336 main ()
4340 return 0;
4342 _ACEOF
4343 if ac_fn_c_try_compile "$LINENO"; then :
4344 aros_array_bounds="yes"
4345 else
4346 aros_array_bounds="no"
4348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
4350 $as_echo "$aros_array_bounds" >&6; }
4351 if test "x-$aros_array_bounds" = "x-yes" ; then
4352 aros_warnflags_array_bounds=-Warray-bounds
4353 aros_nowarnflags_array_bounds=-Wno-array-bounds
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
4357 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
4358 CFLAGS=-Wenum-compare
4359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4363 main ()
4367 return 0;
4369 _ACEOF
4370 if ac_fn_c_try_compile "$LINENO"; then :
4371 aros_enum_compare="yes"
4372 else
4373 aros_enum_compare="no"
4375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
4377 $as_echo "$aros_enum_compare" >&6; }
4378 if test "x-$aros_enum_compare" = "x-yes" ; then
4379 aros_warnflags_enum_compare=-Wenum-compare
4380 aros_nowarnflags_enum_compare=-Wno-enum-compare
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
4384 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
4385 CFLAGS=-Wstrict-prototypes
4386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4387 /* end confdefs.h. */
4390 main ()
4394 return 0;
4396 _ACEOF
4397 if ac_fn_c_try_compile "$LINENO"; then :
4398 aros_strict_prototypes="yes"
4399 else
4400 aros_strict_prototypes="no"
4402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
4404 $as_echo "$aros_strict_prototypes" >&6; }
4405 if test "x-$aros_strict_prototypes" = "x-yes" ; then
4406 aros_warnflags_strict_prototypes=-Wstrict-prototypes
4407 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
4411 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
4412 CFLAGS=-Wstrict-overflow
4413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4414 /* end confdefs.h. */
4417 main ()
4421 return 0;
4423 _ACEOF
4424 if ac_fn_c_try_compile "$LINENO"; then :
4425 aros_strict_overflow="yes"
4426 else
4427 aros_strict_overflow="no"
4429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
4431 $as_echo "$aros_strict_overflow" >&6; }
4432 if test "x-$aros_strict_overflow" = "x-yes" ; then
4433 aros_warnflags_strict_overflow=-Wstrict-overflow
4434 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
4438 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
4439 CFLAGS=-Wformat-security
4440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4441 /* end confdefs.h. */
4444 main ()
4448 return 0;
4450 _ACEOF
4451 if ac_fn_c_try_compile "$LINENO"; then :
4452 aros_format_security="yes"
4453 else
4454 aros_format_security="no"
4456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
4458 $as_echo "$aros_format_security" >&6; }
4459 if test "x-$aros_format_security" = "x-yes" ; then
4460 aros_warnflags_format_security=-Wformat-security
4461 aros_nowarnflags_format_security=-Wno-format-security
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
4465 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
4466 CFLAGS=-Wmisleading-indentation
4467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4468 /* end confdefs.h. */
4471 main ()
4475 return 0;
4477 _ACEOF
4478 if ac_fn_c_try_compile "$LINENO"; then :
4479 aros_misleading_indentation="yes"
4480 else
4481 aros_misleading_indentation="no"
4483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
4485 $as_echo "$aros_misleading_indentation" >&6; }
4486 if test "x-$aros_misleading_indentation" = "x-yes" ; then
4487 aros_warnflags_misleading_indentation=-Wmisleading-indentation
4488 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
4492 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
4493 CFLAGS=-Wnonnull-compare
4494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4495 /* end confdefs.h. */
4498 main ()
4502 return 0;
4504 _ACEOF
4505 if ac_fn_c_try_compile "$LINENO"; then :
4506 aros_nonnull_compare="yes"
4507 else
4508 aros_nonnull_compare="no"
4510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
4512 $as_echo "$aros_nonnull_compare" >&6; }
4513 if test "x-$aros_nonnull_compare" = "x-yes" ; then
4514 aros_warnflags_nonnull_compare=-Wnonnull-compare
4515 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
4519 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
4520 CFLAGS=-Wunused
4521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4522 /* end confdefs.h. */
4525 main ()
4529 return 0;
4531 _ACEOF
4532 if ac_fn_c_try_compile "$LINENO"; then :
4533 aros_unused="yes"
4534 else
4535 aros_unused="no"
4537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
4539 $as_echo "$aros_unused" >&6; }
4540 if test "x-$aros_unused" = "x-yes" ; then
4541 aros_warnflags_unused=-Wunused
4542 aros_nowarnflags_unused=-Wno-unused
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
4546 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
4547 CFLAGS=-Wunused-label
4548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4552 main ()
4556 return 0;
4558 _ACEOF
4559 if ac_fn_c_try_compile "$LINENO"; then :
4560 aros_unused_label="yes"
4561 else
4562 aros_unused_label="no"
4564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
4566 $as_echo "$aros_unused_label" >&6; }
4567 if test "x-$aros_unused_label" = "x-yes" ; then
4568 aros_warnflags_unused_label=-Wunused-label
4569 aros_nowarnflags_unused_label=-Wno-unused-label
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
4573 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
4574 CFLAGS=-Wunused-value
4575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4576 /* end confdefs.h. */
4579 main ()
4583 return 0;
4585 _ACEOF
4586 if ac_fn_c_try_compile "$LINENO"; then :
4587 aros_unused_value="yes"
4588 else
4589 aros_unused_value="no"
4591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
4593 $as_echo "$aros_unused_value" >&6; }
4594 if test "x-$aros_unused_value" = "x-yes" ; then
4595 aros_warnflags_unused_value=-Wunused-value
4596 aros_nowarnflags_unused_value=-Wno-unused-value
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
4600 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
4601 CFLAGS=-Wunused-variable
4602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4606 main ()
4610 return 0;
4612 _ACEOF
4613 if ac_fn_c_try_compile "$LINENO"; then :
4614 aros_unused_variable="yes"
4615 else
4616 aros_unused_variable="no"
4618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
4620 $as_echo "$aros_unused_variable" >&6; }
4621 if test "x-$aros_unused_variable" = "x-yes" ; then
4622 aros_warnflags_unused_variable=-Wunused-variable
4623 aros_nowarnflags_unused_variable=-Wno-unused-variable
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
4627 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
4628 CFLAGS=-Wunused-function
4629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4630 /* end confdefs.h. */
4633 main ()
4637 return 0;
4639 _ACEOF
4640 if ac_fn_c_try_compile "$LINENO"; then :
4641 aros_unused_function="yes"
4642 else
4643 aros_unused_function="no"
4645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
4647 $as_echo "$aros_unused_function" >&6; }
4648 if test "x-$aros_unused_function" = "x-yes" ; then
4649 aros_warnflags_unused_function=-Wunused-function
4650 aros_nowarnflags_unused_function=-Wno-unused-function
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
4654 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
4655 CFLAGS=-Wunused-parameter
4656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4660 main ()
4664 return 0;
4666 _ACEOF
4667 if ac_fn_c_try_compile "$LINENO"; then :
4668 aros_unused_parameter="yes"
4669 else
4670 aros_unused_parameter="no"
4672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
4674 $as_echo "$aros_unused_parameter" >&6; }
4675 if test "x-$aros_unused_parameter" = "x-yes" ; then
4676 aros_warnflags_unused_parameter=-Wunused-parameter
4677 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
4681 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
4682 CFLAGS=-Wuninitialized
4683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4684 /* end confdefs.h. */
4687 main ()
4691 return 0;
4693 _ACEOF
4694 if ac_fn_c_try_compile "$LINENO"; then :
4695 aros_uninitialized="yes"
4696 else
4697 aros_uninitialized="no"
4699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
4701 $as_echo "$aros_uninitialized" >&6; }
4702 if test "x-$aros_uninitialized" = "x-yes" ; then
4703 aros_warnflags_uninitialized=-Wuninitialized
4704 aros_nowarnflags_uninitialized=-Wno-uninitialized
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
4708 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
4709 CFLAGS=-Wmaybe-uninitialized
4710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4711 /* end confdefs.h. */
4714 main ()
4718 return 0;
4720 _ACEOF
4721 if ac_fn_c_try_compile "$LINENO"; then :
4722 aros_maybe_uninitialized="yes"
4723 else
4724 aros_maybe_uninitialized="no"
4726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
4728 $as_echo "$aros_maybe_uninitialized" >&6; }
4729 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
4730 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
4731 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
4732 else
4733 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
4734 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
4738 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
4739 CFLAGS=-Wimplicit-function-declaration
4740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4744 main ()
4748 return 0;
4750 _ACEOF
4751 if ac_fn_c_try_compile "$LINENO"; then :
4752 aros_implicit_function_declaration="yes"
4753 else
4754 aros_implicit_function_declaration="no"
4756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
4758 $as_echo "$aros_implicit_function_declaration" >&6; }
4759 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
4760 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
4761 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
4765 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
4766 CFLAGS=-Wformat
4767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4771 main ()
4775 return 0;
4777 _ACEOF
4778 if ac_fn_c_try_compile "$LINENO"; then :
4779 aros_format="yes"
4780 else
4781 aros_format="no"
4783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
4785 $as_echo "$aros_format" >&6; }
4786 if test "x-$aros_format" = "x-yes" ; then
4787 aros_warnflags_format=-Wformat
4788 aros_nowarnflags_format=-Wno-format
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
4792 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
4793 CFLAGS=-Wparentheses
4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4798 main ()
4802 return 0;
4804 _ACEOF
4805 if ac_fn_c_try_compile "$LINENO"; then :
4806 aros_parentheses="yes"
4807 else
4808 aros_parentheses="no"
4810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
4812 $as_echo "$aros_parentheses" >&6; }
4813 if test "x-$aros_parentheses" = "x-yes" ; then
4814 aros_warnflags_parentheses=-Wparentheses
4815 aros_nowarnflags_parentheses=-Wno-parentheses
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
4819 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
4820 CFLAGS=-Wchar-subscripts
4821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4822 /* end confdefs.h. */
4825 main ()
4829 return 0;
4831 _ACEOF
4832 if ac_fn_c_try_compile "$LINENO"; then :
4833 aros_char_subscripts="yes"
4834 else
4835 aros_char_subscripts="no"
4837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
4839 $as_echo "$aros_char_subscripts" >&6; }
4840 if test "x-$aros_char_subscripts" = "x-yes" ; then
4841 aros_warnflags_char_subscripts=-Wchar-subscripts
4842 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
4846 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
4847 CFLAGS=-Wendif-labels
4848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4849 /* end confdefs.h. */
4852 main ()
4856 return 0;
4858 _ACEOF
4859 if ac_fn_c_try_compile "$LINENO"; then :
4860 aros_endif_labels="yes"
4861 else
4862 aros_endif_labels="no"
4864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
4866 $as_echo "$aros_endif_labels" >&6; }
4867 if test "x-$aros_endif_labels" = "x-yes" ; then
4868 aros_warnflags_endif_labels=-Wendif-labels
4869 aros_nowarnflags_endif_labels=-Wno-endif-labels
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
4873 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
4874 CFLAGS=-Wformat-contains-nul
4875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4876 /* end confdefs.h. */
4879 main ()
4883 return 0;
4885 _ACEOF
4886 if ac_fn_c_try_compile "$LINENO"; then :
4887 aros_format_contains_nul="yes"
4888 else
4889 aros_format_contains_nul="no"
4891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
4893 $as_echo "$aros_format_contains_nul" >&6; }
4894 if test "x-$aros_format_contains_nul" = "x-yes" ; then
4895 aros_warnflags_format_contains_nul=-Wformat-contains-nul
4896 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
4900 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
4901 CFLAGS=-Wimplicit-int
4902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4903 /* end confdefs.h. */
4906 main ()
4910 return 0;
4912 _ACEOF
4913 if ac_fn_c_try_compile "$LINENO"; then :
4914 aros_implicit_int="yes"
4915 else
4916 aros_implicit_int="no"
4918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
4920 $as_echo "$aros_implicit_int" >&6; }
4921 if test "x-$aros_implicit_int" = "x-yes" ; then
4922 aros_warnflags_implicit_int=-Wimplicit-int
4923 aros_nowarnflags_implicit_int=-Wno-implicit-int
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
4927 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
4928 CFLAGS=-Waggressive-loop-optimizations
4929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4930 /* end confdefs.h. */
4933 main ()
4937 return 0;
4939 _ACEOF
4940 if ac_fn_c_try_compile "$LINENO"; then :
4941 aros_aggressive_loop_optimizations="yes"
4942 else
4943 aros_aggressive_loop_optimizations="no"
4945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
4947 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
4948 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
4949 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
4950 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
4954 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
4955 CFLAGS=-Wcpp
4956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4960 main ()
4964 return 0;
4966 _ACEOF
4967 if ac_fn_c_try_compile "$LINENO"; then :
4968 aros_cpp="yes"
4969 else
4970 aros_cpp="no"
4972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
4974 $as_echo "$aros_cpp" >&6; }
4975 if test "x-$aros_cpp" = "x-yes" ; then
4976 aros_warnflags_cpp=-Wcpp
4977 aros_nowarnflags_cpp=-Wno-cpp
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
4981 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
4982 CFLAGS=-Wswitch
4983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4984 /* end confdefs.h. */
4987 main ()
4991 return 0;
4993 _ACEOF
4994 if ac_fn_c_try_compile "$LINENO"; then :
4995 aros_switch="yes"
4996 else
4997 aros_switch="no"
4999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
5001 $as_echo "$aros_switch" >&6; }
5002 if test "x-$aros_switch" = "x-yes" ; then
5003 aros_warnflags_switch=-Wswitch
5004 aros_nowarnflags_switch=-Wno-switch
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
5008 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
5009 CFLAGS=-Wdiscarded-qualifiers
5010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5011 /* end confdefs.h. */
5014 main ()
5018 return 0;
5020 _ACEOF
5021 if ac_fn_c_try_compile "$LINENO"; then :
5022 aros_discarded_qualifiers="yes"
5023 else
5024 aros_discarded_qualifiers="no"
5026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
5028 $as_echo "$aros_discarded_qualifiers" >&6; }
5029 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
5030 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
5031 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
5035 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
5036 CFLAGS=-Wsequence-point
5037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5038 /* end confdefs.h. */
5041 main ()
5045 return 0;
5047 _ACEOF
5048 if ac_fn_c_try_compile "$LINENO"; then :
5049 aros_sequence_point="yes"
5050 else
5051 aros_sequence_point="no"
5053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
5055 $as_echo "$aros_sequence_point" >&6; }
5056 if test "x-$aros_sequence_point" = "x-yes" ; then
5057 aros_warnflags_sequence_point=-Wsequence-point
5058 aros_nowarnflags_sequence_point=-Wno-sequence-point
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
5062 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
5063 CFLAGS=-Wunknown-pragmas
5064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5065 /* end confdefs.h. */
5068 main ()
5072 return 0;
5074 _ACEOF
5075 if ac_fn_c_try_compile "$LINENO"; then :
5076 aros_unknown_pragmas="yes"
5077 else
5078 aros_unknown_pragmas="no"
5080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
5082 $as_echo "$aros_unknown_pragmas" >&6; }
5083 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
5084 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
5085 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
5089 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
5090 CFLAGS=-Wdiscarded-array-qualifiers
5091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5092 /* end confdefs.h. */
5095 main ()
5099 return 0;
5101 _ACEOF
5102 if ac_fn_c_try_compile "$LINENO"; then :
5103 aros_discarded_array_qualifiers="yes"
5104 else
5105 aros_discarded_array_qualifiers="no"
5107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
5109 $as_echo "$aros_discarded_array_qualifiers" >&6; }
5110 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
5111 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
5112 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
5116 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
5117 CFLAGS=-Wint-conversion
5118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5119 /* end confdefs.h. */
5122 main ()
5126 return 0;
5128 _ACEOF
5129 if ac_fn_c_try_compile "$LINENO"; then :
5130 aros_int_conversion="yes"
5131 else
5132 aros_int_conversion="no"
5134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
5136 $as_echo "$aros_int_conversion" >&6; }
5137 if test "x-$aros_int_conversion" = "x-yes" ; then
5138 aros_warnflags_int_conversion=-Wint-conversion
5139 aros_nowarnflags_int_conversion=-Wno-int-conversion
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
5143 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
5144 CFLAGS=-Wint-to-pointer-cast
5145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5146 /* end confdefs.h. */
5149 main ()
5153 return 0;
5155 _ACEOF
5156 if ac_fn_c_try_compile "$LINENO"; then :
5157 aros_int_to_pointer_cast="yes"
5158 else
5159 aros_int_to_pointer_cast="no"
5161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
5163 $as_echo "$aros_int_to_pointer_cast" >&6; }
5164 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
5165 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
5166 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
5170 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
5171 CFLAGS=-Wpointer-to-int-cast
5172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5173 /* end confdefs.h. */
5176 main ()
5180 return 0;
5182 _ACEOF
5183 if ac_fn_c_try_compile "$LINENO"; then :
5184 aros_pointer_to_int_cast="yes"
5185 else
5186 aros_pointer_to_int_cast="no"
5188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
5190 $as_echo "$aros_pointer_to_int_cast" >&6; }
5191 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
5192 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
5193 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
5197 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
5198 CFLAGS=-Wunused-const-variable
5199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5200 /* end confdefs.h. */
5203 main ()
5207 return 0;
5209 _ACEOF
5210 if ac_fn_c_try_compile "$LINENO"; then :
5211 aros_unused_const_variable="yes"
5212 else
5213 aros_unused_const_variable="no"
5215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
5217 $as_echo "$aros_unused_const_variable" >&6; }
5218 if test "x-$aros_unused_const_variable" = "x-yes" ; then
5219 aros_warnflags_unused_const_variable=-Wunused-const-variable
5220 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
5224 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
5225 CFLAGS=-Wwrite-strings
5226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5227 /* end confdefs.h. */
5230 main ()
5234 return 0;
5236 _ACEOF
5237 if ac_fn_c_try_compile "$LINENO"; then :
5238 aros_write_strings="yes"
5239 else
5240 aros_write_strings="no"
5242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
5244 $as_echo "$aros_write_strings" >&6; }
5245 if test "x-$aros_write_strings" = "x-yes" ; then
5246 aros_warnflags_write_strings=-Wwrite-strings
5247 aros_nowarnflags_write_strings=-Wno-write-strings
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
5251 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
5252 CFLAGS=-Wcomment
5253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5254 /* end confdefs.h. */
5257 main ()
5261 return 0;
5263 _ACEOF
5264 if ac_fn_c_try_compile "$LINENO"; then :
5265 aros_comment="yes"
5266 else
5267 aros_comment="no"
5269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
5271 $as_echo "$aros_comment" >&6; }
5272 if test "x-$aros_comment" = "x-yes" ; then
5273 aros_warnflags_comment=-Wcomment
5274 aros_nowarnflags_comment=-Wno-comment
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
5278 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
5279 CFLAGS=-Wincompatible-pointer-types
5280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5281 /* end confdefs.h. */
5284 main ()
5288 return 0;
5290 _ACEOF
5291 if ac_fn_c_try_compile "$LINENO"; then :
5292 aros_incompatible_pointer_types="yes"
5293 else
5294 aros_incompatible_pointer_types="no"
5296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
5298 $as_echo "$aros_incompatible_pointer_types" >&6; }
5299 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
5300 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
5301 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
5305 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
5306 CFLAGS=-Wbool-compare
5307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5308 /* end confdefs.h. */
5311 main ()
5315 return 0;
5317 _ACEOF
5318 if ac_fn_c_try_compile "$LINENO"; then :
5319 aros_bool_compare="yes"
5320 else
5321 aros_bool_compare="no"
5323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
5325 $as_echo "$aros_bool_compare" >&6; }
5326 if test "x-$aros_bool_compare" = "x-yes" ; then
5327 aros_warnflags_bool_compare=-Wbool-compare
5328 aros_nowarnflags_bool_compare=-Wno-bool-compare
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
5332 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
5333 CFLAGS=-Wlogical-not-parentheses
5334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5335 /* end confdefs.h. */
5338 main ()
5342 return 0;
5344 _ACEOF
5345 if ac_fn_c_try_compile "$LINENO"; then :
5346 aros_logical_not_parentheses="yes"
5347 else
5348 aros_logical_not_parentheses="no"
5350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
5352 $as_echo "$aros_logical_not_parentheses" >&6; }
5353 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
5354 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
5355 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
5359 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
5360 CFLAGS=-Wpointer-sign
5361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5362 /* end confdefs.h. */
5365 main ()
5369 return 0;
5371 _ACEOF
5372 if ac_fn_c_try_compile "$LINENO"; then :
5373 aros_pointer_sign="yes"
5374 else
5375 aros_pointer_sign="no"
5377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
5379 $as_echo "$aros_pointer_sign" >&6; }
5380 if test "x-$aros_pointer_sign" = "x-yes" ; then
5381 aros_warnflags_pointer_sign=-Wpointer-sign
5382 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
5386 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
5387 CFLAGS=-Wshift-overflow
5388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5389 /* end confdefs.h. */
5392 main ()
5396 return 0;
5398 _ACEOF
5399 if ac_fn_c_try_compile "$LINENO"; then :
5400 aros_shift_overflow="yes"
5401 else
5402 aros_shift_overflow="no"
5404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
5406 $as_echo "$aros_shift_overflow" >&6; }
5407 if test "x-$aros_shift_overflow" = "x-yes" ; then
5408 aros_warnflags_shift_overflow=-Wshift-overflow
5409 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
5413 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
5414 CFLAGS=-Wframe-address
5415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5416 /* end confdefs.h. */
5419 main ()
5423 return 0;
5425 _ACEOF
5426 if ac_fn_c_try_compile "$LINENO"; then :
5427 aros_frame_address="yes"
5428 else
5429 aros_frame_address="no"
5431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
5433 $as_echo "$aros_frame_address" >&6; }
5434 if test "x-$aros_frame_address" = "x-yes" ; then
5435 aros_warnflags_frame_address=-Wframe-address
5436 aros_nowarnflags_frame_address=-Wno-frame-address
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
5440 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
5441 CFLAGS=-Wdeprecated-declarations
5442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5443 /* end confdefs.h. */
5446 main ()
5450 return 0;
5452 _ACEOF
5453 if ac_fn_c_try_compile "$LINENO"; then :
5454 aros_deprecated_declarations="yes"
5455 else
5456 aros_deprecated_declarations="no"
5458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
5460 $as_echo "$aros_deprecated_declarations" >&6; }
5461 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
5462 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
5463 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
5467 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
5468 CFLAGS=-Wsign-compare
5469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5470 /* end confdefs.h. */
5473 main ()
5477 return 0;
5479 _ACEOF
5480 if ac_fn_c_try_compile "$LINENO"; then :
5481 aros_sign_compare="yes"
5482 else
5483 aros_sign_compare="no"
5485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
5487 $as_echo "$aros_sign_compare" >&6; }
5488 if test "x-$aros_sign_compare" = "x-yes" ; then
5489 aros_warnflags_sign_compare=-Wsign-compare
5490 aros_nowarnflags_sign_compare=-Wno-sign-compare
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
5494 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
5495 CFLAGS=-Wattributes
5496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5497 /* end confdefs.h. */
5500 main ()
5504 return 0;
5506 _ACEOF
5507 if ac_fn_c_try_compile "$LINENO"; then :
5508 aros_attributes="yes"
5509 else
5510 aros_attributes="no"
5512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
5514 $as_echo "$aros_attributes" >&6; }
5515 if test "x-$aros_attributes" = "x-yes" ; then
5516 aros_warnflags_attributes=-Wattributes
5517 aros_nowarnflags_attributes=-Wno-attributes
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
5521 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
5522 CFLAGS=-Woverflow
5523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5524 /* end confdefs.h. */
5527 main ()
5531 return 0;
5533 _ACEOF
5534 if ac_fn_c_try_compile "$LINENO"; then :
5535 aros_overflow="yes"
5536 else
5537 aros_overflow="no"
5539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
5541 $as_echo "$aros_overflow" >&6; }
5542 if test "x-$aros_overflow" = "x-yes" ; then
5543 aros_warnflags_overflow=-Woverflow
5544 aros_nowarnflags_overflow=-Wno-overflow
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
5548 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
5549 CFLAGS=-Wunused-local-typedefs
5550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5551 /* end confdefs.h. */
5554 main ()
5558 return 0;
5560 _ACEOF
5561 if ac_fn_c_try_compile "$LINENO"; then :
5562 aros_unused_local_typedefs="yes"
5563 else
5564 aros_unused_local_typedefs="no"
5566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
5568 $as_echo "$aros_unused_local_typedefs" >&6; }
5569 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
5570 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
5571 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
5575 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
5576 CFLAGS=-Wmissing-braces
5577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5578 /* end confdefs.h. */
5581 main ()
5585 return 0;
5587 _ACEOF
5588 if ac_fn_c_try_compile "$LINENO"; then :
5589 aros_missing_braces="yes"
5590 else
5591 aros_missing_braces="no"
5593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
5595 $as_echo "$aros_missing_braces" >&6; }
5596 if test "x-$aros_missing_braces" = "x-yes" ; then
5597 aros_warnflags_missing_braces=-Wmissing-braces
5598 aros_nowarnflags_missing_braces=-Wno-missing-braces
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
5602 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
5603 CFLAGS=-Wnarrowing
5604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5605 /* end confdefs.h. */
5608 main ()
5612 return 0;
5614 _ACEOF
5615 if ac_fn_c_try_compile "$LINENO"; then :
5616 aros_narrowing="yes"
5617 else
5618 aros_narrowing="no"
5620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
5622 $as_echo "$aros_narrowing" >&6; }
5623 if test "x-$aros_narrowing" = "x-yes" ; then
5624 aros_warnflags_narrowing=-Wnarrowing
5625 aros_nowarnflags_narrowing=-Wno-narrowing
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
5629 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
5630 CFLAGS=-Wvolatile-register-var
5631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5632 /* end confdefs.h. */
5635 main ()
5639 return 0;
5641 _ACEOF
5642 if ac_fn_c_try_compile "$LINENO"; then :
5643 aros_volatile_register_var="yes"
5644 else
5645 aros_volatile_register_var="no"
5647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
5649 $as_echo "$aros_volatile_register_var" >&6; }
5650 if test "x-$aros_volatile_register_var" = "x-yes" ; then
5651 aros_warnflags_volatile_register_var=-Wvolatile-register-var
5652 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
5656 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
5657 CFLAGS=-Wsizeof-pointer-memaccess
5658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5659 /* end confdefs.h. */
5662 main ()
5666 return 0;
5668 _ACEOF
5669 if ac_fn_c_try_compile "$LINENO"; then :
5670 aros_sizeof_pointer_memaccess="yes"
5671 else
5672 aros_sizeof_pointer_memaccess="no"
5674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
5676 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
5677 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
5678 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
5679 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
5683 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
5684 CFLAGS=-Wreturn-type
5685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5686 /* end confdefs.h. */
5689 main ()
5693 return 0;
5695 _ACEOF
5696 if ac_fn_c_try_compile "$LINENO"; then :
5697 aros_return_type="yes"
5698 else
5699 aros_return_type="no"
5701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
5703 $as_echo "$aros_return_type" >&6; }
5704 if test "x-$aros_return_type" = "x-yes" ; then
5705 aros_warnflags_return_type=-Wreturn-type
5706 aros_nowarnflags_return_type=-Wno-return-type
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
5710 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
5711 CFLAGS=-Wformat-zero-length
5712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5713 /* end confdefs.h. */
5716 main ()
5720 return 0;
5722 _ACEOF
5723 if ac_fn_c_try_compile "$LINENO"; then :
5724 aros_format_zero_length="yes"
5725 else
5726 aros_format_zero_length="no"
5728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
5730 $as_echo "$aros_format_zero_length" >&6; }
5731 if test "x-$aros_format_zero_length" = "x-yes" ; then
5732 aros_warnflags_format_zero_length=-Wformat-zero-length
5733 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
5737 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
5738 CFLAGS=-Wlto-type-mismatch
5739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5740 /* end confdefs.h. */
5743 main ()
5747 return 0;
5749 _ACEOF
5750 if ac_fn_c_try_compile "$LINENO"; then :
5751 aros_lto_type_mismatch="yes"
5752 else
5753 aros_lto_type_mismatch="no"
5755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
5757 $as_echo "$aros_lto_type_mismatch" >&6; }
5758 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
5759 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
5760 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
5764 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
5765 CFLAGS=-Wtautological-compare
5766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5767 /* end confdefs.h. */
5770 main ()
5774 return 0;
5776 _ACEOF
5777 if ac_fn_c_try_compile "$LINENO"; then :
5778 aros_tautological_compare="yes"
5779 else
5780 aros_tautological_compare="no"
5782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
5784 $as_echo "$aros_tautological_compare" >&6; }
5785 if test "x-$aros_tautological_compare" = "x-yes" ; then
5786 aros_warnflags_tautological_compare=-Wtautological-compare
5787 aros_nowarnflags_tautological_compare=-Wno-tautological-compare
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
5791 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
5792 CFLAGS=-Wempty-body
5793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5794 /* end confdefs.h. */
5797 main ()
5801 return 0;
5803 _ACEOF
5804 if ac_fn_c_try_compile "$LINENO"; then :
5805 aros_empty_body="yes"
5806 else
5807 aros_empty_body="no"
5809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
5811 $as_echo "$aros_empty_body" >&6; }
5812 if test "x-$aros_empty_body" = "x-yes" ; then
5813 aros_warnflags_empty_body=-Wempty-body
5814 aros_nowarnflags_empty_body=-Wno-empty-body
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-overflow" >&5
5818 $as_echo_n "checking whether ${CC} accepts -Wformat-overflow... " >&6; }
5819 CFLAGS=-Wformat-overflow
5820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5821 /* end confdefs.h. */
5824 main ()
5828 return 0;
5830 _ACEOF
5831 if ac_fn_c_try_compile "$LINENO"; then :
5832 aros_format_overflow="yes"
5833 else
5834 aros_format_overflow="no"
5836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_overflow" >&5
5838 $as_echo "$aros_format_overflow" >&6; }
5839 if test "x-$aros_format_overflow" = "x-yes" ; then
5840 aros_warnflags_format_overflow=-Wformat-overflow
5841 aros_nowarnflags_format_overflow=-Wno-format-overflow
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-overflow" >&5
5845 $as_echo_n "checking whether ${CC} accepts -Wstringop-overflow... " >&6; }
5846 CFLAGS=-Wstringop-overflow
5847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5848 /* end confdefs.h. */
5851 main ()
5855 return 0;
5857 _ACEOF
5858 if ac_fn_c_try_compile "$LINENO"; then :
5859 aros_stringop_overflow="yes"
5860 else
5861 aros_stringop_overflow="no"
5863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_overflow" >&5
5865 $as_echo "$aros_stringop_overflow" >&6; }
5866 if test "x-$aros_stringop_overflow" = "x-yes" ; then
5867 aros_warnflags_stringop_overflow=-Wstringop-overflow
5868 aros_nowarnflags_stringop_overflow=-Wno-stringop-overflow
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-truncation" >&5
5872 $as_echo_n "checking whether ${CC} accepts -Wformat-truncation... " >&6; }
5873 CFLAGS=-Wformat-truncation
5874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5875 /* end confdefs.h. */
5878 main ()
5882 return 0;
5884 _ACEOF
5885 if ac_fn_c_try_compile "$LINENO"; then :
5886 aros_format_truncation="yes"
5887 else
5888 aros_format_truncation="no"
5890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_truncation" >&5
5892 $as_echo "$aros_format_truncation" >&6; }
5893 if test "x-$aros_format_truncation" = "x-yes" ; then
5894 aros_warnflags_format_truncation=-Wformat-truncation
5895 aros_nowarnflags_format_truncation=-Wno-format-truncation
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-truncation" >&5
5899 $as_echo_n "checking whether ${CC} accepts -Wstringop-truncation... " >&6; }
5900 CFLAGS=-Wstringop-truncation
5901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5902 /* end confdefs.h. */
5905 main ()
5909 return 0;
5911 _ACEOF
5912 if ac_fn_c_try_compile "$LINENO"; then :
5913 aros_stringop_truncation="yes"
5914 else
5915 aros_stringop_truncation="no"
5917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_truncation" >&5
5919 $as_echo "$aros_stringop_truncation" >&6; }
5920 if test "x-$aros_stringop_truncation" = "x-yes" ; then
5921 aros_warnflags_stringop_truncation=-Wstringop-truncation
5922 aros_nowarnflags_stringop_truncation=-Wno-stringop-truncation
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-negative-value" >&5
5926 $as_echo_n "checking whether ${CC} accepts -Wshift-negative-value... " >&6; }
5927 CFLAGS=-Wshift-negative-value
5928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5929 /* end confdefs.h. */
5932 main ()
5936 return 0;
5938 _ACEOF
5939 if ac_fn_c_try_compile "$LINENO"; then :
5940 aros_shift_negative_value="yes"
5941 else
5942 aros_shift_negative_value="no"
5944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_negative_value" >&5
5946 $as_echo "$aros_shift_negative_value" >&6; }
5947 if test "x-$aros_shift_negative_value" = "x-yes" ; then
5948 aros_warnflags_shift_negative_value=-Wshift-negative-value
5949 aros_nowarnflags_shift_negative_value=-Wno-shift-negative-value
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-field-initializers" >&5
5953 $as_echo_n "checking whether ${CC} accepts -Wmissing-field-initializers... " >&6; }
5954 CFLAGS=-Wmissing-field-initializers
5955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5956 /* end confdefs.h. */
5959 main ()
5963 return 0;
5965 _ACEOF
5966 if ac_fn_c_try_compile "$LINENO"; then :
5967 aros_missing_field_initializers="yes"
5968 else
5969 aros_missing_field_initializers="no"
5971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_field_initializers" >&5
5973 $as_echo "$aros_missing_field_initializers" >&6; }
5974 if test "x-$aros_missing_field_initializers" = "x-yes" ; then
5975 aros_warnflags_missing_field_initializers=-Wmissing-field-initializers
5976 aros_nowarnflags_missing_field_initializers=-Wno-missing-field-initializers
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-fallthrough" >&5
5980 $as_echo_n "checking whether ${CC} accepts -Wimplicit-fallthrough... " >&6; }
5981 CFLAGS=-Wimplicit-fallthrough
5982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5983 /* end confdefs.h. */
5986 main ()
5990 return 0;
5992 _ACEOF
5993 if ac_fn_c_try_compile "$LINENO"; then :
5994 aros_implicit_fallthrough="yes"
5995 else
5996 aros_implicit_fallthrough="no"
5998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_fallthrough" >&5
6000 $as_echo "$aros_implicit_fallthrough" >&6; }
6001 if test "x-$aros_implicit_fallthrough" = "x-yes" ; then
6002 aros_warnflags_implicit_fallthrough=-Wimplicit-fallthrough
6003 aros_nowarnflags_implicit_fallthrough=-Wno-implicit-fallthrough
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-prototypes" >&5
6007 $as_echo_n "checking whether ${CC} accepts -Wmissing-prototypes... " >&6; }
6008 CFLAGS=-Wmissing-prototypes
6009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6010 /* end confdefs.h. */
6013 main ()
6017 return 0;
6019 _ACEOF
6020 if ac_fn_c_try_compile "$LINENO"; then :
6021 aros_missing_prototypes="yes"
6022 else
6023 aros_missing_prototypes="no"
6025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_prototypes" >&5
6027 $as_echo "$aros_missing_prototypes" >&6; }
6028 if test "x-$aros_missing_prototypes" = "x-yes" ; then
6029 aros_warnflags_missing_prototypes=-Wmissing-prototypes
6030 aros_nowarnflags_missing_prototypes=-Wno-missing-prototypes
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wclass-memaccess" >&5
6034 $as_echo_n "checking whether ${CC} accepts -Wclass-memaccess... " >&6; }
6035 CFLAGS=-Wclass-memaccess
6036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6037 /* end confdefs.h. */
6040 main ()
6044 return 0;
6046 _ACEOF
6047 if ac_fn_c_try_compile "$LINENO"; then :
6048 aros_class_memaccess="yes"
6049 else
6050 aros_class_memaccess="no"
6052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_class_memaccess" >&5
6054 $as_echo "$aros_class_memaccess" >&6; }
6055 if test "x-$aros_class_memaccess" = "x-yes" ; then
6056 aros_warnflags_class_memaccess=-Wclass-memaccess
6057 aros_nowarnflags_class_memaccess=-Wno-class-memaccess
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-in-bool-context" >&5
6061 $as_echo_n "checking whether ${CC} accepts -Wint-in-bool-context... " >&6; }
6062 CFLAGS=-Wint-in-bool-context
6063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6064 /* end confdefs.h. */
6067 main ()
6071 return 0;
6073 _ACEOF
6074 if ac_fn_c_try_compile "$LINENO"; then :
6075 aros_int_in_bool_context="yes"
6076 else
6077 aros_int_in_bool_context="no"
6079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_in_bool_context" >&5
6081 $as_echo "$aros_int_in_bool_context" >&6; }
6082 if test "x-$aros_int_in_bool_context" = "x-yes" ; then
6083 aros_warnflags_int_in_bool_context=-Wint-in-bool-context
6084 aros_nowarnflags_int_in_bool_context=-Wno-int-in-bool-context
6086 CFLAGS="$save_cflags"
6088 # Check the C++ warnings
6089 ac_ext=cpp
6090 ac_cpp='$CXXCPP $CPPFLAGS'
6091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6095 save_cxxflags="$CXXFLAGS"
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -Wconversion-null" >&5
6098 $as_echo_n "checking whether ${CXX} accepts -Wconversion-null... " >&6; }
6099 CXXFLAGS=-Wconversion-null
6100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6101 /* end confdefs.h. */
6104 main ()
6108 return 0;
6110 _ACEOF
6111 if ac_fn_cxx_try_compile "$LINENO"; then :
6112 aros_conversion_null="yes"
6113 else
6114 aros_conversion_null="no"
6116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
6118 $as_echo "$aros_conversion_null" >&6; }
6119 if test "x-$aros_conversion_null" = "x-yes" ; then
6120 aros_warnflags_conversion_null=-Wconversion-null
6121 aros_nowarnflags_conversion_null=-Wno-conversion-null
6124 CXXFLAGS="$save_cxxflags"
6126 ac_ext=c
6127 ac_cpp='$CPP $CPPFLAGS'
6128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6133 #########################################################
6135 # Now check what we need to use with the toolchain
6137 cat >$AROS_DEVELOPER/include/__testsincdir.h <<_ACEOF
6138 /* Copyright (c) The AROS Dev Team */
6139 #define _TESTINCFOUND
6140 _ACEOF
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to use --sysroot" >&5
6143 $as_echo_n "checking if we need to use --sysroot... " >&6; }
6144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6145 /* end confdefs.h. */
6147 #include <__testsincdir.h>
6148 #ifndef _TESTINCFOUND
6149 error: Couldnt find include!
6150 #endif
6153 main ()
6157 return 0;
6159 _ACEOF
6160 if ac_fn_c_try_compile "$LINENO"; then :
6161 toolchain_needs_sysroot=no
6162 else
6163 toolchain_needs_sysroot=yes
6165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolchain_needs_sysroot" >&5
6167 $as_echo "$toolchain_needs_sysroot" >&6; }
6169 if test "$toolchain_needs_sysroot" = "yes" ; then
6170 aros_toolchain_sysroot="--sysroot $""(AROS_DEVELOPER)"
6173 #AC_MSG_CHECKING([if we need to use --isysroot])
6174 #AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
6175 # [[
6176 # (#include <__testsincdir.h>
6177 # #ifndef _TESTINCFOUND
6178 # error: Couldnt find include!
6179 # #endif
6180 # ]])],
6181 # [toolchain_needs_isysroot=no],
6182 # [toolchain_needs_isysroot=yes])
6183 #AC_MSG_RESULT($toolchain_needs_isysroot)
6185 #if test "$toolchain_needs_isysroot" = "yes" ; then
6186 # aros_toolchain_isysroot="-isysroot $""(AROS_SDK)"
6187 # aros_toolchain_iarchdir="-I $""(AROS_SDK)/$""(AROS_TARGET_CPU)-aros/include"
6189 rm -f $AROS_DEVELOPER/include/__testsincdir.h
6192 # export the feature flags...
6256 # export the feature options...
6264 # ...and warning flags...
6412 # Additional toolchain support ...
6415 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
6418 cat >confcache <<\_ACEOF
6419 # This file is a shell script that caches the results of configure
6420 # tests run on this system so they can be shared between configure
6421 # scripts and configure runs, see configure's option --config-cache.
6422 # It is not useful on other systems. If it contains results you don't
6423 # want to keep, you may remove or edit it.
6425 # config.status only pays attention to the cache file if you give it
6426 # the --recheck option to rerun configure.
6428 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6429 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6430 # following values.
6432 _ACEOF
6434 # The following way of writing the cache mishandles newlines in values,
6435 # but we know of no workaround that is simple, portable, and efficient.
6436 # So, we kill variables containing newlines.
6437 # Ultrix sh set writes to stderr and can't be redirected directly,
6438 # and sets the high bit in the cache file unless we assign to the vars.
6440 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6441 eval ac_val=\$$ac_var
6442 case $ac_val in #(
6443 *${as_nl}*)
6444 case $ac_var in #(
6445 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6446 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6447 esac
6448 case $ac_var in #(
6449 _ | IFS | as_nl) ;; #(
6450 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6451 *) { eval $ac_var=; unset $ac_var;} ;;
6452 esac ;;
6453 esac
6454 done
6456 (set) 2>&1 |
6457 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6458 *${as_nl}ac_space=\ *)
6459 # `set' does not quote correctly, so add quotes: double-quote
6460 # substitution turns \\\\ into \\, and sed turns \\ into \.
6461 sed -n \
6462 "s/'/'\\\\''/g;
6463 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6464 ;; #(
6466 # `set' quotes correctly as required by POSIX, so do not add quotes.
6467 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6469 esac |
6470 sort
6472 sed '
6473 /^ac_cv_env_/b end
6474 t clear
6475 :clear
6476 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6477 t end
6478 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6479 :end' >>confcache
6480 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6481 if test -w "$cache_file"; then
6482 if test "x$cache_file" != "x/dev/null"; then
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6484 $as_echo "$as_me: updating cache $cache_file" >&6;}
6485 if test ! -f "$cache_file" || test -h "$cache_file"; then
6486 cat confcache >"$cache_file"
6487 else
6488 case $cache_file in #(
6489 */* | ?:*)
6490 mv -f confcache "$cache_file"$$ &&
6491 mv -f "$cache_file"$$ "$cache_file" ;; #(
6493 mv -f confcache "$cache_file" ;;
6494 esac
6497 else
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6499 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6502 rm -f confcache
6504 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6505 # Let make expand exec_prefix.
6506 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6508 # Transform confdefs.h into DEFS.
6509 # Protect against shell expansion while executing Makefile rules.
6510 # Protect against Makefile macro expansion.
6512 # If the first sed substitution is executed (which looks for macros that
6513 # take arguments), then branch to the quote section. Otherwise,
6514 # look for a macro that doesn't take arguments.
6515 ac_script='
6516 :mline
6517 /\\$/{
6519 s,\\\n,,
6520 b mline
6522 t clear
6523 :clear
6524 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6525 t quote
6526 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6527 t quote
6528 b any
6529 :quote
6530 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6531 s/\[/\\&/g
6532 s/\]/\\&/g
6533 s/\$/$$/g
6535 :any
6538 s/^\n//
6539 s/\n/ /g
6543 DEFS=`sed -n "$ac_script" confdefs.h`
6546 ac_libobjs=
6547 ac_ltlibobjs=
6549 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6550 # 1. Remove the extension, and $U if already installed.
6551 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6552 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6553 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6554 # will be set to the directory where LIBOBJS objects are built.
6555 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6556 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6557 done
6558 LIBOBJS=$ac_libobjs
6560 LTLIBOBJS=$ac_ltlibobjs
6564 : "${CONFIG_STATUS=./config.status}"
6565 ac_write_fail=0
6566 ac_clean_files_save=$ac_clean_files
6567 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6569 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6570 as_write_fail=0
6571 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6572 #! $SHELL
6573 # Generated by $as_me.
6574 # Run this file to recreate the current configuration.
6575 # Compiler output produced by configure, useful for debugging
6576 # configure, is in config.log if it exists.
6578 debug=false
6579 ac_cs_recheck=false
6580 ac_cs_silent=false
6582 SHELL=\${CONFIG_SHELL-$SHELL}
6583 export SHELL
6584 _ASEOF
6585 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6586 ## -------------------- ##
6587 ## M4sh Initialization. ##
6588 ## -------------------- ##
6590 # Be more Bourne compatible
6591 DUALCASE=1; export DUALCASE # for MKS sh
6592 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6593 emulate sh
6594 NULLCMD=:
6595 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6596 # is contrary to our usage. Disable this feature.
6597 alias -g '${1+"$@"}'='"$@"'
6598 setopt NO_GLOB_SUBST
6599 else
6600 case `(set -o) 2>/dev/null` in #(
6601 *posix*) :
6602 set -o posix ;; #(
6603 *) :
6605 esac
6609 as_nl='
6611 export as_nl
6612 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6613 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6614 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6615 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6616 # Prefer a ksh shell builtin over an external printf program on Solaris,
6617 # but without wasting forks for bash or zsh.
6618 if test -z "$BASH_VERSION$ZSH_VERSION" \
6619 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6620 as_echo='print -r --'
6621 as_echo_n='print -rn --'
6622 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6623 as_echo='printf %s\n'
6624 as_echo_n='printf %s'
6625 else
6626 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6627 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6628 as_echo_n='/usr/ucb/echo -n'
6629 else
6630 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6631 as_echo_n_body='eval
6632 arg=$1;
6633 case $arg in #(
6634 *"$as_nl"*)
6635 expr "X$arg" : "X\\(.*\\)$as_nl";
6636 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6637 esac;
6638 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6640 export as_echo_n_body
6641 as_echo_n='sh -c $as_echo_n_body as_echo'
6643 export as_echo_body
6644 as_echo='sh -c $as_echo_body as_echo'
6647 # The user is always right.
6648 if test "${PATH_SEPARATOR+set}" != set; then
6649 PATH_SEPARATOR=:
6650 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6651 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6652 PATH_SEPARATOR=';'
6657 # IFS
6658 # We need space, tab and new line, in precisely that order. Quoting is
6659 # there to prevent editors from complaining about space-tab.
6660 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6661 # splitting by setting IFS to empty value.)
6662 IFS=" "" $as_nl"
6664 # Find who we are. Look in the path if we contain no directory separator.
6665 as_myself=
6666 case $0 in #((
6667 *[\\/]* ) as_myself=$0 ;;
6668 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6669 for as_dir in $PATH
6671 IFS=$as_save_IFS
6672 test -z "$as_dir" && as_dir=.
6673 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6674 done
6675 IFS=$as_save_IFS
6678 esac
6679 # We did not find ourselves, most probably we were run as `sh COMMAND'
6680 # in which case we are not to be found in the path.
6681 if test "x$as_myself" = x; then
6682 as_myself=$0
6684 if test ! -f "$as_myself"; then
6685 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6686 exit 1
6689 # Unset variables that we do not need and which cause bugs (e.g. in
6690 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6691 # suppresses any "Segmentation fault" message there. '((' could
6692 # trigger a bug in pdksh 5.2.14.
6693 for as_var in BASH_ENV ENV MAIL MAILPATH
6694 do eval test x\${$as_var+set} = xset \
6695 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6696 done
6697 PS1='$ '
6698 PS2='> '
6699 PS4='+ '
6701 # NLS nuisances.
6702 LC_ALL=C
6703 export LC_ALL
6704 LANGUAGE=C
6705 export LANGUAGE
6707 # CDPATH.
6708 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6711 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6712 # ----------------------------------------
6713 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6714 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6715 # script with STATUS, using 1 if that was 0.
6716 as_fn_error ()
6718 as_status=$1; test $as_status -eq 0 && as_status=1
6719 if test "$4"; then
6720 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6721 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6723 $as_echo "$as_me: error: $2" >&2
6724 as_fn_exit $as_status
6725 } # as_fn_error
6728 # as_fn_set_status STATUS
6729 # -----------------------
6730 # Set $? to STATUS, without forking.
6731 as_fn_set_status ()
6733 return $1
6734 } # as_fn_set_status
6736 # as_fn_exit STATUS
6737 # -----------------
6738 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6739 as_fn_exit ()
6741 set +e
6742 as_fn_set_status $1
6743 exit $1
6744 } # as_fn_exit
6746 # as_fn_unset VAR
6747 # ---------------
6748 # Portably unset VAR.
6749 as_fn_unset ()
6751 { eval $1=; unset $1;}
6753 as_unset=as_fn_unset
6754 # as_fn_append VAR VALUE
6755 # ----------------------
6756 # Append the text in VALUE to the end of the definition contained in VAR. Take
6757 # advantage of any shell optimizations that allow amortized linear growth over
6758 # repeated appends, instead of the typical quadratic growth present in naive
6759 # implementations.
6760 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6761 eval 'as_fn_append ()
6763 eval $1+=\$2
6765 else
6766 as_fn_append ()
6768 eval $1=\$$1\$2
6770 fi # as_fn_append
6772 # as_fn_arith ARG...
6773 # ------------------
6774 # Perform arithmetic evaluation on the ARGs, and store the result in the
6775 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6776 # must be portable across $(()) and expr.
6777 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6778 eval 'as_fn_arith ()
6780 as_val=$(( $* ))
6782 else
6783 as_fn_arith ()
6785 as_val=`expr "$@" || test $? -eq 1`
6787 fi # as_fn_arith
6790 if expr a : '\(a\)' >/dev/null 2>&1 &&
6791 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6792 as_expr=expr
6793 else
6794 as_expr=false
6797 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6798 as_basename=basename
6799 else
6800 as_basename=false
6803 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6804 as_dirname=dirname
6805 else
6806 as_dirname=false
6809 as_me=`$as_basename -- "$0" ||
6810 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6811 X"$0" : 'X\(//\)$' \| \
6812 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6813 $as_echo X/"$0" |
6814 sed '/^.*\/\([^/][^/]*\)\/*$/{
6815 s//\1/
6818 /^X\/\(\/\/\)$/{
6819 s//\1/
6822 /^X\/\(\/\).*/{
6823 s//\1/
6826 s/.*/./; q'`
6828 # Avoid depending upon Character Ranges.
6829 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6830 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6831 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6832 as_cr_digits='0123456789'
6833 as_cr_alnum=$as_cr_Letters$as_cr_digits
6835 ECHO_C= ECHO_N= ECHO_T=
6836 case `echo -n x` in #(((((
6837 -n*)
6838 case `echo 'xy\c'` in
6839 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6840 xy) ECHO_C='\c';;
6841 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6842 ECHO_T=' ';;
6843 esac;;
6845 ECHO_N='-n';;
6846 esac
6848 rm -f conf$$ conf$$.exe conf$$.file
6849 if test -d conf$$.dir; then
6850 rm -f conf$$.dir/conf$$.file
6851 else
6852 rm -f conf$$.dir
6853 mkdir conf$$.dir 2>/dev/null
6855 if (echo >conf$$.file) 2>/dev/null; then
6856 if ln -s conf$$.file conf$$ 2>/dev/null; then
6857 as_ln_s='ln -s'
6858 # ... but there are two gotchas:
6859 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6860 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6861 # In both cases, we have to default to `cp -pR'.
6862 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6863 as_ln_s='cp -pR'
6864 elif ln conf$$.file conf$$ 2>/dev/null; then
6865 as_ln_s=ln
6866 else
6867 as_ln_s='cp -pR'
6869 else
6870 as_ln_s='cp -pR'
6872 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6873 rmdir conf$$.dir 2>/dev/null
6876 # as_fn_mkdir_p
6877 # -------------
6878 # Create "$as_dir" as a directory, including parents if necessary.
6879 as_fn_mkdir_p ()
6882 case $as_dir in #(
6883 -*) as_dir=./$as_dir;;
6884 esac
6885 test -d "$as_dir" || eval $as_mkdir_p || {
6886 as_dirs=
6887 while :; do
6888 case $as_dir in #(
6889 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6890 *) as_qdir=$as_dir;;
6891 esac
6892 as_dirs="'$as_qdir' $as_dirs"
6893 as_dir=`$as_dirname -- "$as_dir" ||
6894 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6895 X"$as_dir" : 'X\(//\)[^/]' \| \
6896 X"$as_dir" : 'X\(//\)$' \| \
6897 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6898 $as_echo X"$as_dir" |
6899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6900 s//\1/
6903 /^X\(\/\/\)[^/].*/{
6904 s//\1/
6907 /^X\(\/\/\)$/{
6908 s//\1/
6911 /^X\(\/\).*/{
6912 s//\1/
6915 s/.*/./; q'`
6916 test -d "$as_dir" && break
6917 done
6918 test -z "$as_dirs" || eval "mkdir $as_dirs"
6919 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6922 } # as_fn_mkdir_p
6923 if mkdir -p . 2>/dev/null; then
6924 as_mkdir_p='mkdir -p "$as_dir"'
6925 else
6926 test -d ./-p && rmdir ./-p
6927 as_mkdir_p=false
6931 # as_fn_executable_p FILE
6932 # -----------------------
6933 # Test if FILE is an executable regular file.
6934 as_fn_executable_p ()
6936 test -f "$1" && test -x "$1"
6937 } # as_fn_executable_p
6938 as_test_x='test -x'
6939 as_executable_p=as_fn_executable_p
6941 # Sed expression to map a string onto a valid CPP name.
6942 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6944 # Sed expression to map a string onto a valid variable name.
6945 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6948 exec 6>&1
6949 ## ----------------------------------- ##
6950 ## Main body of $CONFIG_STATUS script. ##
6951 ## ----------------------------------- ##
6952 _ASEOF
6953 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6956 # Save the log message, to keep $0 and so on meaningful, and to
6957 # report actual input values of CONFIG_FILES etc. instead of their
6958 # values after options handling.
6959 ac_log="
6960 This file was extended by $as_me, which was
6961 generated by GNU Autoconf 2.69. Invocation command line was
6963 CONFIG_FILES = $CONFIG_FILES
6964 CONFIG_HEADERS = $CONFIG_HEADERS
6965 CONFIG_LINKS = $CONFIG_LINKS
6966 CONFIG_COMMANDS = $CONFIG_COMMANDS
6967 $ $0 $@
6969 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6972 _ACEOF
6974 case $ac_config_files in *"
6975 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6976 esac
6980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6981 # Files that config.status was made for.
6982 config_files="$ac_config_files"
6984 _ACEOF
6986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6987 ac_cs_usage="\
6988 \`$as_me' instantiates files and other configuration actions
6989 from templates according to the current configuration. Unless the files
6990 and actions are specified as TAGs, all are instantiated by default.
6992 Usage: $0 [OPTION]... [TAG]...
6994 -h, --help print this help, then exit
6995 -V, --version print version number and configuration settings, then exit
6996 --config print configuration, then exit
6997 -q, --quiet, --silent
6998 do not print progress messages
6999 -d, --debug don't remove temporary files
7000 --recheck update $as_me by reconfiguring in the same conditions
7001 --file=FILE[:TEMPLATE]
7002 instantiate the configuration file FILE
7004 Configuration files:
7005 $config_files
7007 Report bugs to the package provider."
7009 _ACEOF
7010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7011 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7012 ac_cs_version="\\
7013 config.status
7014 configured by $0, generated by GNU Autoconf 2.69,
7015 with options \\"\$ac_cs_config\\"
7017 Copyright (C) 2012 Free Software Foundation, Inc.
7018 This config.status script is free software; the Free Software Foundation
7019 gives unlimited permission to copy, distribute and modify it."
7021 ac_pwd='$ac_pwd'
7022 srcdir='$srcdir'
7023 test -n "\$AWK" || AWK=awk
7024 _ACEOF
7026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7027 # The default lists apply if the user does not specify any file.
7028 ac_need_defaults=:
7029 while test $# != 0
7031 case $1 in
7032 --*=?*)
7033 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7034 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7035 ac_shift=:
7037 --*=)
7038 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7039 ac_optarg=
7040 ac_shift=:
7043 ac_option=$1
7044 ac_optarg=$2
7045 ac_shift=shift
7047 esac
7049 case $ac_option in
7050 # Handling of the options.
7051 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7052 ac_cs_recheck=: ;;
7053 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7054 $as_echo "$ac_cs_version"; exit ;;
7055 --config | --confi | --conf | --con | --co | --c )
7056 $as_echo "$ac_cs_config"; exit ;;
7057 --debug | --debu | --deb | --de | --d | -d )
7058 debug=: ;;
7059 --file | --fil | --fi | --f )
7060 $ac_shift
7061 case $ac_optarg in
7062 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7063 '') as_fn_error $? "missing file argument" ;;
7064 esac
7065 as_fn_append CONFIG_FILES " '$ac_optarg'"
7066 ac_need_defaults=false;;
7067 --he | --h | --help | --hel | -h )
7068 $as_echo "$ac_cs_usage"; exit ;;
7069 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7070 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7071 ac_cs_silent=: ;;
7073 # This is an error.
7074 -*) as_fn_error $? "unrecognized option: \`$1'
7075 Try \`$0 --help' for more information." ;;
7077 *) as_fn_append ac_config_targets " $1"
7078 ac_need_defaults=false ;;
7080 esac
7081 shift
7082 done
7084 ac_configure_extra_args=
7086 if $ac_cs_silent; then
7087 exec 6>/dev/null
7088 ac_configure_extra_args="$ac_configure_extra_args --silent"
7091 _ACEOF
7092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7093 if \$ac_cs_recheck; then
7094 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7095 shift
7096 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7097 CONFIG_SHELL='$SHELL'
7098 export CONFIG_SHELL
7099 exec "\$@"
7102 _ACEOF
7103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7104 exec 5>>config.log
7106 echo
7107 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7108 ## Running $as_me. ##
7109 _ASBOX
7110 $as_echo "$ac_log"
7111 } >&5
7113 _ACEOF
7114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7115 _ACEOF
7117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7119 # Handling of arguments.
7120 for ac_config_target in $ac_config_targets
7122 case $ac_config_target in
7123 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
7125 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7126 esac
7127 done
7130 # If the user did not use the arguments to specify the items to instantiate,
7131 # then the envvar interface is used. Set only those that are not.
7132 # We use the long form for the default assignment because of an extremely
7133 # bizarre bug on SunOS 4.1.3.
7134 if $ac_need_defaults; then
7135 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7138 # Have a temporary directory for convenience. Make it in the build tree
7139 # simply because there is no reason against having it here, and in addition,
7140 # creating and moving files from /tmp can sometimes cause problems.
7141 # Hook for its removal unless debugging.
7142 # Note that there is a small window in which the directory will not be cleaned:
7143 # after its creation but before its name has been assigned to `$tmp'.
7144 $debug ||
7146 tmp= ac_tmp=
7147 trap 'exit_status=$?
7148 : "${ac_tmp:=$tmp}"
7149 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7151 trap 'as_fn_exit 1' 1 2 13 15
7153 # Create a (secure) tmp directory for tmp files.
7156 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7157 test -d "$tmp"
7158 } ||
7160 tmp=./conf$$-$RANDOM
7161 (umask 077 && mkdir "$tmp")
7162 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7163 ac_tmp=$tmp
7165 # Set up the scripts for CONFIG_FILES section.
7166 # No need to generate them if there are no CONFIG_FILES.
7167 # This happens for instance with `./config.status config.h'.
7168 if test -n "$CONFIG_FILES"; then
7171 ac_cr=`echo X | tr X '\015'`
7172 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7173 # But we know of no other shell where ac_cr would be empty at this
7174 # point, so we can use a bashism as a fallback.
7175 if test "x$ac_cr" = x; then
7176 eval ac_cr=\$\'\\r\'
7178 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7179 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7180 ac_cs_awk_cr='\\r'
7181 else
7182 ac_cs_awk_cr=$ac_cr
7185 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7186 _ACEOF
7190 echo "cat >conf$$subs.awk <<_ACEOF" &&
7191 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7192 echo "_ACEOF"
7193 } >conf$$subs.sh ||
7194 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7195 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7196 ac_delim='%!_!# '
7197 for ac_last_try in false false false false false :; do
7198 . ./conf$$subs.sh ||
7199 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7201 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7202 if test $ac_delim_n = $ac_delim_num; then
7203 break
7204 elif $ac_last_try; then
7205 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7206 else
7207 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7209 done
7210 rm -f conf$$subs.sh
7212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7213 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7214 _ACEOF
7215 sed -n '
7217 s/^/S["/; s/!.*/"]=/
7220 s/^[^!]*!//
7221 :repl
7222 t repl
7223 s/'"$ac_delim"'$//
7224 t delim
7227 s/\(.\{148\}\)..*/\1/
7228 t more1
7229 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7232 b repl
7233 :more1
7234 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7237 s/.\{148\}//
7238 t nl
7239 :delim
7241 s/\(.\{148\}\)..*/\1/
7242 t more2
7243 s/["\\]/\\&/g; s/^/"/; s/$/"/
7246 :more2
7247 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7250 s/.\{148\}//
7251 t delim
7252 ' <conf$$subs.awk | sed '
7253 /^[^""]/{
7255 s/\n//
7257 ' >>$CONFIG_STATUS || ac_write_fail=1
7258 rm -f conf$$subs.awk
7259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7260 _ACAWK
7261 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7262 for (key in S) S_is_set[key] = 1
7263 FS = "\a"
7267 line = $ 0
7268 nfields = split(line, field, "@")
7269 substed = 0
7270 len = length(field[1])
7271 for (i = 2; i < nfields; i++) {
7272 key = field[i]
7273 keylen = length(key)
7274 if (S_is_set[key]) {
7275 value = S[key]
7276 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7277 len += length(value) + length(field[++i])
7278 substed = 1
7279 } else
7280 len += 1 + keylen
7283 print line
7286 _ACAWK
7287 _ACEOF
7288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7289 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7290 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7291 else
7293 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7294 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7295 _ACEOF
7297 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7298 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7299 # trailing colons and then remove the whole line if VPATH becomes empty
7300 # (actually we leave an empty line to preserve line numbers).
7301 if test "x$srcdir" = x.; then
7302 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7304 s///
7305 s/^/:/
7306 s/[ ]*$/:/
7307 s/:\$(srcdir):/:/g
7308 s/:\${srcdir}:/:/g
7309 s/:@srcdir@:/:/g
7310 s/^:*//
7311 s/:*$//
7313 s/\(=[ ]*\).*/\1/
7315 s/\n//
7316 s/^[^=]*=[ ]*$//
7320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7321 fi # test -n "$CONFIG_FILES"
7324 eval set X " :F $CONFIG_FILES "
7325 shift
7326 for ac_tag
7328 case $ac_tag in
7329 :[FHLC]) ac_mode=$ac_tag; continue;;
7330 esac
7331 case $ac_mode$ac_tag in
7332 :[FHL]*:*);;
7333 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7334 :[FH]-) ac_tag=-:-;;
7335 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7336 esac
7337 ac_save_IFS=$IFS
7338 IFS=:
7339 set x $ac_tag
7340 IFS=$ac_save_IFS
7341 shift
7342 ac_file=$1
7343 shift
7345 case $ac_mode in
7346 :L) ac_source=$1;;
7347 :[FH])
7348 ac_file_inputs=
7349 for ac_f
7351 case $ac_f in
7352 -) ac_f="$ac_tmp/stdin";;
7353 *) # Look for the file first in the build tree, then in the source tree
7354 # (if the path is not absolute). The absolute path cannot be DOS-style,
7355 # because $ac_f cannot contain `:'.
7356 test -f "$ac_f" ||
7357 case $ac_f in
7358 [\\/$]*) false;;
7359 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7360 esac ||
7361 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7362 esac
7363 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7364 as_fn_append ac_file_inputs " '$ac_f'"
7365 done
7367 # Let's still pretend it is `configure' which instantiates (i.e., don't
7368 # use $as_me), people would be surprised to read:
7369 # /* config.h. Generated by config.status. */
7370 configure_input='Generated from '`
7371 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7372 `' by configure.'
7373 if test x"$ac_file" != x-; then
7374 configure_input="$ac_file. $configure_input"
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7376 $as_echo "$as_me: creating $ac_file" >&6;}
7378 # Neutralize special characters interpreted by sed in replacement strings.
7379 case $configure_input in #(
7380 *\&* | *\|* | *\\* )
7381 ac_sed_conf_input=`$as_echo "$configure_input" |
7382 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7383 *) ac_sed_conf_input=$configure_input;;
7384 esac
7386 case $ac_tag in
7387 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7388 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7389 esac
7391 esac
7393 ac_dir=`$as_dirname -- "$ac_file" ||
7394 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7395 X"$ac_file" : 'X\(//\)[^/]' \| \
7396 X"$ac_file" : 'X\(//\)$' \| \
7397 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7398 $as_echo X"$ac_file" |
7399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7400 s//\1/
7403 /^X\(\/\/\)[^/].*/{
7404 s//\1/
7407 /^X\(\/\/\)$/{
7408 s//\1/
7411 /^X\(\/\).*/{
7412 s//\1/
7415 s/.*/./; q'`
7416 as_dir="$ac_dir"; as_fn_mkdir_p
7417 ac_builddir=.
7419 case "$ac_dir" in
7420 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7422 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7423 # A ".." for each directory in $ac_dir_suffix.
7424 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7425 case $ac_top_builddir_sub in
7426 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7427 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7428 esac ;;
7429 esac
7430 ac_abs_top_builddir=$ac_pwd
7431 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7432 # for backward compatibility:
7433 ac_top_builddir=$ac_top_build_prefix
7435 case $srcdir in
7436 .) # We are building in place.
7437 ac_srcdir=.
7438 ac_top_srcdir=$ac_top_builddir_sub
7439 ac_abs_top_srcdir=$ac_pwd ;;
7440 [\\/]* | ?:[\\/]* ) # Absolute name.
7441 ac_srcdir=$srcdir$ac_dir_suffix;
7442 ac_top_srcdir=$srcdir
7443 ac_abs_top_srcdir=$srcdir ;;
7444 *) # Relative name.
7445 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7446 ac_top_srcdir=$ac_top_build_prefix$srcdir
7447 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7448 esac
7449 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7452 case $ac_mode in
7455 # CONFIG_FILE
7458 _ACEOF
7460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7461 # If the template does not know about datarootdir, expand it.
7462 # FIXME: This hack should be removed a few years after 2.60.
7463 ac_datarootdir_hack=; ac_datarootdir_seen=
7464 ac_sed_dataroot='
7465 /datarootdir/ {
7469 /@datadir@/p
7470 /@docdir@/p
7471 /@infodir@/p
7472 /@localedir@/p
7473 /@mandir@/p'
7474 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7475 *datarootdir*) ac_datarootdir_seen=yes;;
7476 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7478 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7479 _ACEOF
7480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7481 ac_datarootdir_hack='
7482 s&@datadir@&$datadir&g
7483 s&@docdir@&$docdir&g
7484 s&@infodir@&$infodir&g
7485 s&@localedir@&$localedir&g
7486 s&@mandir@&$mandir&g
7487 s&\\\${datarootdir}&$datarootdir&g' ;;
7488 esac
7489 _ACEOF
7491 # Neutralize VPATH when `$srcdir' = `.'.
7492 # Shell code in configure.ac might set extrasub.
7493 # FIXME: do we really want to maintain this feature?
7494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7495 ac_sed_extra="$ac_vpsub
7496 $extrasub
7497 _ACEOF
7498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7500 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7501 s|@configure_input@|$ac_sed_conf_input|;t t
7502 s&@top_builddir@&$ac_top_builddir_sub&;t t
7503 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7504 s&@srcdir@&$ac_srcdir&;t t
7505 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7506 s&@top_srcdir@&$ac_top_srcdir&;t t
7507 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7508 s&@builddir@&$ac_builddir&;t t
7509 s&@abs_builddir@&$ac_abs_builddir&;t t
7510 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7511 $ac_datarootdir_hack
7513 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7514 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7516 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7517 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7518 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7519 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7521 which seems to be undefined. Please make sure it is defined" >&5
7522 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7523 which seems to be undefined. Please make sure it is defined" >&2;}
7525 rm -f "$ac_tmp/stdin"
7526 case $ac_file in
7527 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7528 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7529 esac \
7530 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7535 esac
7537 done # for ac_tag
7540 as_fn_exit 0
7541 _ACEOF
7542 ac_clean_files=$ac_clean_files_save
7544 test $ac_write_fail = 0 ||
7545 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7548 # configure is writing to config.log, and then calls config.status.
7549 # config.status does its own redirection, appending to config.log.
7550 # Unfortunately, on DOS this fails, as config.log is still kept open
7551 # by configure, so config.status won't be able to write to it; its
7552 # output is simply discarded. So we exec the FD to /dev/null,
7553 # effectively closing config.log, so it can be properly (re)opened and
7554 # appended to by config.status. When coming back to configure, we
7555 # need to make the FD available again.
7556 if test "$no_create" != yes; then
7557 ac_cs_success=:
7558 ac_config_status_args=
7559 test "$silent" = yes &&
7560 ac_config_status_args="$ac_config_status_args --quiet"
7561 exec 5>/dev/null
7562 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7563 exec 5>>config.log
7564 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7565 # would make configure fail if this is the last instruction.
7566 $ac_cs_success || as_fn_exit 1
7568 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7570 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}