polish catalog cleanup.
[AROS.git] / config / features
blob9d3520b49c55e92148190d301052a215797d4b21
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_nowarnflags_int_in_bool_context
588 aros_warnflags_int_in_bool_context
589 aros_nowarnflags_class_memaccess
590 aros_warnflags_class_memaccess
591 aros_nowarnflags_missing_prototypes
592 aros_warnflags_missing_prototypes
593 aros_nowarnflags_implicit_fallthrough
594 aros_warnflags_implicit_fallthrough
595 aros_nowarnflags_missing_field_initializers
596 aros_warnflags_missing_field_initializers
597 aros_nowarnflags_shift_negative_value
598 aros_warnflags_shift_negative_value
599 aros_nowarnflags_stringop_truncation
600 aros_warnflags_stringop_truncation
601 aros_nowarnflags_format_truncation
602 aros_warnflags_format_truncation
603 aros_nowarnflags_stringop_overflow
604 aros_warnflags_stringop_overflow
605 aros_nowarnflags_format_overflow
606 aros_warnflags_format_overflow
607 aros_nowarnflags_empty_body
608 aros_warnflags_empty_body
609 aros_nowarnflags_tautological_compare
610 aros_warnflags_tautological_compare
611 aros_nowarnflags_lto_type_mismatch
612 aros_warnflags_lto_type_mismatch
613 aros_nowarnflags_format_zero_length
614 aros_warnflags_format_zero_length
615 aros_nowarnflags_return_type
616 aros_warnflags_return_type
617 aros_nowarnflags_sizeof_pointer_memaccess
618 aros_warnflags_sizeof_pointer_memaccess
619 aros_nowarnflags_volatile_register_var
620 aros_warnflags_volatile_register_var
621 aros_nowarnflags_narrowing
622 aros_warnflags_narrowing
623 aros_nowarnflags_conversion_null
624 aros_warnflags_conversion_null
625 aros_nowarnflags_missing_braces
626 aros_warnflags_missing_braces
627 aros_nowarnflags_unused_local_typedefs
628 aros_warnflags_unused_local_typedefs
629 aros_nowarnflags_overflow
630 aros_warnflags_overflow
631 aros_nowarnflags_attributes
632 aros_warnflags_attributes
633 aros_nowarnflags_sign_compare
634 aros_warnflags_sign_compare
635 aros_nowarnflags_deprecated_declarations
636 aros_warnflags_deprecated_declarations
637 aros_nowarnflags_frame_address
638 aros_warnflags_frame_address
639 aros_nowarnflags_shift_overflow
640 aros_warnflags_shift_overflow
641 aros_nowarnflags_pointer_sign
642 aros_warnflags_pointer_sign
643 aros_nowarnflags_logical_not_parentheses
644 aros_warnflags_logical_not_parentheses
645 aros_nowarnflags_bool_compare
646 aros_warnflags_bool_compare
647 aros_nowarnflags_incompatible_pointer_types
648 aros_warnflags_incompatible_pointer_types
649 aros_nowarnflags_comment
650 aros_warnflags_comment
651 aros_nowarnflags_write_strings
652 aros_warnflags_write_strings
653 aros_nowarnflags_unused_const_variable
654 aros_warnflags_unused_const_variable
655 aros_nowarnflags_pointer_to_int_cast
656 aros_warnflags_pointer_to_int_cast
657 aros_nowarnflags_int_to_pointer_cast
658 aros_warnflags_int_to_pointer_cast
659 aros_nowarnflags_int_conversion
660 aros_warnflags_int_conversion
661 aros_nowarnflags_discarded_array_qualifiers
662 aros_warnflags_discarded_array_qualifiers
663 aros_nowarnflags_unknown_pragmas
664 aros_warnflags_unknown_pragmas
665 aros_nowarnflags_sequence_point
666 aros_warnflags_sequence_point
667 aros_nowarnflags_discarded_qualifiers
668 aros_warnflags_discarded_qualifiers
669 aros_nowarnflags_switch
670 aros_warnflags_switch
671 aros_nowarnflags_cpp
672 aros_warnflags_cpp
673 aros_nowarnflags_aggressive_loop_optimizations
674 aros_warnflags_aggressive_loop_optimizations
675 aros_nowarnflags_implicit_int
676 aros_warnflags_implicit_int
677 aros_nowarnflags_format_contains_nul
678 aros_warnflags_format_contains_nul
679 aros_nowarnflags_endif_labels
680 aros_warnflags_endif_labels
681 aros_nowarnflags_char_subscripts
682 aros_warnflags_char_subscripts
683 aros_nowarnflags_parentheses
684 aros_warnflags_parentheses
685 aros_nowarnflags_format
686 aros_warnflags_format
687 aros_nowarnflags_implicit_function_declaration
688 aros_warnflags_implicit_function_declaration
689 aros_nowarnflags_maybe_uninitialized
690 aros_warnflags_maybe_uninitialized
691 aros_nowarnflags_uninitialized
692 aros_warnflags_uninitialized
693 aros_nowarnflags_unused_parameter
694 aros_warnflags_unused_parameter
695 aros_nowarnflags_unused_function
696 aros_warnflags_unused_function
697 aros_nowarnflags_unused_variable
698 aros_warnflags_unused_variable
699 aros_nowarnflags_unused_value
700 aros_warnflags_unused_value
701 aros_nowarnflags_unused_label
702 aros_warnflags_unused_label
703 aros_nowarnflags_unused
704 aros_warnflags_unused
705 aros_nowarnflags_nonnull_compare
706 aros_warnflags_nonnull_compare
707 aros_nowarnflags_misleading_indentation
708 aros_warnflags_misleading_indentation
709 aros_nowarnflags_format_security
710 aros_warnflags_format_security
711 aros_nowarnflags_strict_overflow
712 aros_warnflags_strict_overflow
713 aros_nowarnflags_strict_prototypes
714 aros_warnflags_strict_prototypes
715 aros_nowarnflags_enum_compare
716 aros_warnflags_enum_compare
717 aros_nowarnflags_array_bounds
718 aros_warnflags_array_bounds
719 aros_nowarnflags_strict_aliasing
720 aros_warnflags_strict_aliasing
721 aros_nowarnflags_unused_but_set_variable
722 aros_warnflags_unused_but_set_variable
723 aros_nowarnflags_unknown_warning_option
724 aros_warnflags_unknown_warning_option
725 aros_nowarnflags_unused_command_line_argument
726 aros_warnflags_unused_command_line_argument
727 aros_nowarnflags_restrict
728 aros_warnflags_restrict
729 aros_warnflags_all
730 aros_nowarnflags_error
731 aros_warnflags_error
732 aros_cflags_no_red_zone
733 aros_cflags_iquote_end
734 aros_cflags_iquote
735 aros_cflags_isystem_end
736 aros_cflags_isystem
737 aros_cflags_no_builtin_vsnprintf
738 aros_cflags_no_builtin_floor
739 aros_cflags_no_builtin
740 aros_cflags_noalignednew
741 aros_cflags_alignednew
742 aros_cflags_notestcoverage
743 aros_cflags_testcoverage
744 aros_cflags_noprofilearcs
745 aros_cflags_profilearcs
746 aros_cflags_noomitfp
747 aros_cflags_omitfp
748 aros_cflags_noipacp
749 aros_cflags_ipacp
750 aros_cflags_noinlinesmallfunctions
751 aros_cflags_inlinesmallfunctions
752 aros_cflags_nostrictaliasing
753 aros_cflags_strictaliasing
754 aros_cflags_unroll_loops
755 aros_cflags_peel_loops
756 aros_cflags_loop_strip_mine
757 aros_cflags_loop_interchange
758 aros_cflags_loop_block
759 aros_cflags_whole_program
760 aros_cflags_nolto
761 aros_cflags_lto
762 aros_cflags_fast_math
763 aros_cflags_nortti
764 aros_cflags_rtti
765 aros_cflags_nopermissive
766 aros_cflags_permissive
767 aros_cflags_noexceptions
768 aros_cflags_exceptions
769 OBJEXT
770 EXEEXT
771 ac_ct_CC
772 CPPFLAGS
773 LDFLAGS
774 CFLAGS
776 target_alias
777 host_alias
778 build_alias
779 LIBS
780 ECHO_T
781 ECHO_N
782 ECHO_C
783 DEFS
784 mandir
785 localedir
786 libdir
787 psdir
788 pdfdir
789 dvidir
790 htmldir
791 infodir
792 docdir
793 oldincludedir
794 includedir
795 runstatedir
796 localstatedir
797 sharedstatedir
798 sysconfdir
799 datadir
800 datarootdir
801 libexecdir
802 sbindir
803 bindir
804 program_transform_name
805 prefix
806 exec_prefix
807 PACKAGE_URL
808 PACKAGE_BUGREPORT
809 PACKAGE_STRING
810 PACKAGE_VERSION
811 PACKAGE_TARNAME
812 PACKAGE_NAME
813 PATH_SEPARATOR
814 SHELL'
815 ac_subst_files=''
816 ac_user_opts='
817 enable_option_checking
818 with_config_dir
820 ac_precious_vars='build_alias
821 host_alias
822 target_alias
824 CFLAGS
825 LDFLAGS
826 LIBS
827 CPPFLAGS'
830 # Initialize some variables set by options.
831 ac_init_help=
832 ac_init_version=false
833 ac_unrecognized_opts=
834 ac_unrecognized_sep=
835 # The variables have the same names as the options, with
836 # dashes changed to underlines.
837 cache_file=/dev/null
838 exec_prefix=NONE
839 no_create=
840 no_recursion=
841 prefix=NONE
842 program_prefix=NONE
843 program_suffix=NONE
844 program_transform_name=s,x,x,
845 silent=
846 site=
847 srcdir=
848 verbose=
849 x_includes=NONE
850 x_libraries=NONE
852 # Installation directory options.
853 # These are left unexpanded so users can "make install exec_prefix=/foo"
854 # and all the variables that are supposed to be based on exec_prefix
855 # by default will actually change.
856 # Use braces instead of parens because sh, perl, etc. also accept them.
857 # (The list follows the same order as the GNU Coding Standards.)
858 bindir='${exec_prefix}/bin'
859 sbindir='${exec_prefix}/sbin'
860 libexecdir='${exec_prefix}/libexec'
861 datarootdir='${prefix}/share'
862 datadir='${datarootdir}'
863 sysconfdir='${prefix}/etc'
864 sharedstatedir='${prefix}/com'
865 localstatedir='${prefix}/var'
866 runstatedir='${localstatedir}/run'
867 includedir='${prefix}/include'
868 oldincludedir='/usr/include'
869 docdir='${datarootdir}/doc/${PACKAGE}'
870 infodir='${datarootdir}/info'
871 htmldir='${docdir}'
872 dvidir='${docdir}'
873 pdfdir='${docdir}'
874 psdir='${docdir}'
875 libdir='${exec_prefix}/lib'
876 localedir='${datarootdir}/locale'
877 mandir='${datarootdir}/man'
879 ac_prev=
880 ac_dashdash=
881 for ac_option
883 # If the previous option needs an argument, assign it.
884 if test -n "$ac_prev"; then
885 eval $ac_prev=\$ac_option
886 ac_prev=
887 continue
890 case $ac_option in
891 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892 *=) ac_optarg= ;;
893 *) ac_optarg=yes ;;
894 esac
896 # Accept the important Cygnus configure options, so we can diagnose typos.
898 case $ac_dashdash$ac_option in
900 ac_dashdash=yes ;;
902 -bindir | --bindir | --bindi | --bind | --bin | --bi)
903 ac_prev=bindir ;;
904 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
905 bindir=$ac_optarg ;;
907 -build | --build | --buil | --bui | --bu)
908 ac_prev=build_alias ;;
909 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
910 build_alias=$ac_optarg ;;
912 -cache-file | --cache-file | --cache-fil | --cache-fi \
913 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
914 ac_prev=cache_file ;;
915 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
916 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
917 cache_file=$ac_optarg ;;
919 --config-cache | -C)
920 cache_file=config.cache ;;
922 -datadir | --datadir | --datadi | --datad)
923 ac_prev=datadir ;;
924 -datadir=* | --datadir=* | --datadi=* | --datad=*)
925 datadir=$ac_optarg ;;
927 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
928 | --dataroo | --dataro | --datar)
929 ac_prev=datarootdir ;;
930 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
931 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
932 datarootdir=$ac_optarg ;;
934 -disable-* | --disable-*)
935 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
936 # Reject names that are not valid shell variable names.
937 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
938 as_fn_error $? "invalid feature name: $ac_useropt"
939 ac_useropt_orig=$ac_useropt
940 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941 case $ac_user_opts in
943 "enable_$ac_useropt"
944 "*) ;;
945 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
946 ac_unrecognized_sep=', ';;
947 esac
948 eval enable_$ac_useropt=no ;;
950 -docdir | --docdir | --docdi | --doc | --do)
951 ac_prev=docdir ;;
952 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
953 docdir=$ac_optarg ;;
955 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
956 ac_prev=dvidir ;;
957 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
958 dvidir=$ac_optarg ;;
960 -enable-* | --enable-*)
961 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
962 # Reject names that are not valid shell variable names.
963 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964 as_fn_error $? "invalid feature name: $ac_useropt"
965 ac_useropt_orig=$ac_useropt
966 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967 case $ac_user_opts in
969 "enable_$ac_useropt"
970 "*) ;;
971 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
972 ac_unrecognized_sep=', ';;
973 esac
974 eval enable_$ac_useropt=\$ac_optarg ;;
976 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
977 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
978 | --exec | --exe | --ex)
979 ac_prev=exec_prefix ;;
980 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
981 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
982 | --exec=* | --exe=* | --ex=*)
983 exec_prefix=$ac_optarg ;;
985 -gas | --gas | --ga | --g)
986 # Obsolete; use --with-gas.
987 with_gas=yes ;;
989 -help | --help | --hel | --he | -h)
990 ac_init_help=long ;;
991 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
992 ac_init_help=recursive ;;
993 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
994 ac_init_help=short ;;
996 -host | --host | --hos | --ho)
997 ac_prev=host_alias ;;
998 -host=* | --host=* | --hos=* | --ho=*)
999 host_alias=$ac_optarg ;;
1001 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1002 ac_prev=htmldir ;;
1003 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1004 | --ht=*)
1005 htmldir=$ac_optarg ;;
1007 -includedir | --includedir | --includedi | --included | --include \
1008 | --includ | --inclu | --incl | --inc)
1009 ac_prev=includedir ;;
1010 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1011 | --includ=* | --inclu=* | --incl=* | --inc=*)
1012 includedir=$ac_optarg ;;
1014 -infodir | --infodir | --infodi | --infod | --info | --inf)
1015 ac_prev=infodir ;;
1016 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1017 infodir=$ac_optarg ;;
1019 -libdir | --libdir | --libdi | --libd)
1020 ac_prev=libdir ;;
1021 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1022 libdir=$ac_optarg ;;
1024 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1025 | --libexe | --libex | --libe)
1026 ac_prev=libexecdir ;;
1027 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1028 | --libexe=* | --libex=* | --libe=*)
1029 libexecdir=$ac_optarg ;;
1031 -localedir | --localedir | --localedi | --localed | --locale)
1032 ac_prev=localedir ;;
1033 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1034 localedir=$ac_optarg ;;
1036 -localstatedir | --localstatedir | --localstatedi | --localstated \
1037 | --localstate | --localstat | --localsta | --localst | --locals)
1038 ac_prev=localstatedir ;;
1039 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1040 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1041 localstatedir=$ac_optarg ;;
1043 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1044 ac_prev=mandir ;;
1045 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1046 mandir=$ac_optarg ;;
1048 -nfp | --nfp | --nf)
1049 # Obsolete; use --without-fp.
1050 with_fp=no ;;
1052 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1053 | --no-cr | --no-c | -n)
1054 no_create=yes ;;
1056 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1057 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1058 no_recursion=yes ;;
1060 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1061 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1062 | --oldin | --oldi | --old | --ol | --o)
1063 ac_prev=oldincludedir ;;
1064 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1065 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1066 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1067 oldincludedir=$ac_optarg ;;
1069 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1070 ac_prev=prefix ;;
1071 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1072 prefix=$ac_optarg ;;
1074 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1075 | --program-pre | --program-pr | --program-p)
1076 ac_prev=program_prefix ;;
1077 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1078 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1079 program_prefix=$ac_optarg ;;
1081 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1082 | --program-suf | --program-su | --program-s)
1083 ac_prev=program_suffix ;;
1084 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1085 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1086 program_suffix=$ac_optarg ;;
1088 -program-transform-name | --program-transform-name \
1089 | --program-transform-nam | --program-transform-na \
1090 | --program-transform-n | --program-transform- \
1091 | --program-transform | --program-transfor \
1092 | --program-transfo | --program-transf \
1093 | --program-trans | --program-tran \
1094 | --progr-tra | --program-tr | --program-t)
1095 ac_prev=program_transform_name ;;
1096 -program-transform-name=* | --program-transform-name=* \
1097 | --program-transform-nam=* | --program-transform-na=* \
1098 | --program-transform-n=* | --program-transform-=* \
1099 | --program-transform=* | --program-transfor=* \
1100 | --program-transfo=* | --program-transf=* \
1101 | --program-trans=* | --program-tran=* \
1102 | --progr-tra=* | --program-tr=* | --program-t=*)
1103 program_transform_name=$ac_optarg ;;
1105 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1106 ac_prev=pdfdir ;;
1107 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1108 pdfdir=$ac_optarg ;;
1110 -psdir | --psdir | --psdi | --psd | --ps)
1111 ac_prev=psdir ;;
1112 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1113 psdir=$ac_optarg ;;
1115 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1116 | -silent | --silent | --silen | --sile | --sil)
1117 silent=yes ;;
1119 -runstatedir | --runstatedir | --runstatedi | --runstated \
1120 | --runstate | --runstat | --runsta | --runst | --runs \
1121 | --run | --ru | --r)
1122 ac_prev=runstatedir ;;
1123 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1124 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1125 | --run=* | --ru=* | --r=*)
1126 runstatedir=$ac_optarg ;;
1128 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1129 ac_prev=sbindir ;;
1130 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1131 | --sbi=* | --sb=*)
1132 sbindir=$ac_optarg ;;
1134 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1135 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1136 | --sharedst | --shareds | --shared | --share | --shar \
1137 | --sha | --sh)
1138 ac_prev=sharedstatedir ;;
1139 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1140 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1141 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1142 | --sha=* | --sh=*)
1143 sharedstatedir=$ac_optarg ;;
1145 -site | --site | --sit)
1146 ac_prev=site ;;
1147 -site=* | --site=* | --sit=*)
1148 site=$ac_optarg ;;
1150 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1151 ac_prev=srcdir ;;
1152 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1153 srcdir=$ac_optarg ;;
1155 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1156 | --syscon | --sysco | --sysc | --sys | --sy)
1157 ac_prev=sysconfdir ;;
1158 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1159 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1160 sysconfdir=$ac_optarg ;;
1162 -target | --target | --targe | --targ | --tar | --ta | --t)
1163 ac_prev=target_alias ;;
1164 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1165 target_alias=$ac_optarg ;;
1167 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1168 verbose=yes ;;
1170 -version | --version | --versio | --versi | --vers | -V)
1171 ac_init_version=: ;;
1173 -with-* | --with-*)
1174 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1175 # Reject names that are not valid shell variable names.
1176 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1177 as_fn_error $? "invalid package name: $ac_useropt"
1178 ac_useropt_orig=$ac_useropt
1179 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1180 case $ac_user_opts in
1182 "with_$ac_useropt"
1183 "*) ;;
1184 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1185 ac_unrecognized_sep=', ';;
1186 esac
1187 eval with_$ac_useropt=\$ac_optarg ;;
1189 -without-* | --without-*)
1190 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1191 # Reject names that are not valid shell variable names.
1192 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1193 as_fn_error $? "invalid package name: $ac_useropt"
1194 ac_useropt_orig=$ac_useropt
1195 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1196 case $ac_user_opts in
1198 "with_$ac_useropt"
1199 "*) ;;
1200 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1201 ac_unrecognized_sep=', ';;
1202 esac
1203 eval with_$ac_useropt=no ;;
1205 --x)
1206 # Obsolete; use --with-x.
1207 with_x=yes ;;
1209 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1210 | --x-incl | --x-inc | --x-in | --x-i)
1211 ac_prev=x_includes ;;
1212 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1213 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1214 x_includes=$ac_optarg ;;
1216 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1217 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1218 ac_prev=x_libraries ;;
1219 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1220 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1221 x_libraries=$ac_optarg ;;
1223 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1224 Try \`$0 --help' for more information"
1227 *=*)
1228 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1229 # Reject names that are not valid shell variable names.
1230 case $ac_envvar in #(
1231 '' | [0-9]* | *[!_$as_cr_alnum]* )
1232 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1233 esac
1234 eval $ac_envvar=\$ac_optarg
1235 export $ac_envvar ;;
1238 # FIXME: should be removed in autoconf 3.0.
1239 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1240 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1241 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1242 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1245 esac
1246 done
1248 if test -n "$ac_prev"; then
1249 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1250 as_fn_error $? "missing argument to $ac_option"
1253 if test -n "$ac_unrecognized_opts"; then
1254 case $enable_option_checking in
1255 no) ;;
1256 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1257 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1258 esac
1261 # Check all directory arguments for consistency.
1262 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1263 datadir sysconfdir sharedstatedir localstatedir includedir \
1264 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1265 libdir localedir mandir runstatedir
1267 eval ac_val=\$$ac_var
1268 # Remove trailing slashes.
1269 case $ac_val in
1270 */ )
1271 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1272 eval $ac_var=\$ac_val;;
1273 esac
1274 # Be sure to have absolute directory names.
1275 case $ac_val in
1276 [\\/$]* | ?:[\\/]* ) continue;;
1277 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1278 esac
1279 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1280 done
1282 # There might be people who depend on the old broken behavior: `$host'
1283 # used to hold the argument of --host etc.
1284 # FIXME: To remove some day.
1285 build=$build_alias
1286 host=$host_alias
1287 target=$target_alias
1289 # FIXME: To remove some day.
1290 if test "x$host_alias" != x; then
1291 if test "x$build_alias" = x; then
1292 cross_compiling=maybe
1293 elif test "x$build_alias" != "x$host_alias"; then
1294 cross_compiling=yes
1298 ac_tool_prefix=
1299 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1301 test "$silent" = yes && exec 6>/dev/null
1304 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1305 ac_ls_di=`ls -di .` &&
1306 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1307 as_fn_error $? "working directory cannot be determined"
1308 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1309 as_fn_error $? "pwd does not report name of working directory"
1312 # Find the source files, if location was not specified.
1313 if test -z "$srcdir"; then
1314 ac_srcdir_defaulted=yes
1315 # Try the directory containing this script, then the parent directory.
1316 ac_confdir=`$as_dirname -- "$as_myself" ||
1317 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1318 X"$as_myself" : 'X\(//\)[^/]' \| \
1319 X"$as_myself" : 'X\(//\)$' \| \
1320 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1321 $as_echo X"$as_myself" |
1322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1323 s//\1/
1326 /^X\(\/\/\)[^/].*/{
1327 s//\1/
1330 /^X\(\/\/\)$/{
1331 s//\1/
1334 /^X\(\/\).*/{
1335 s//\1/
1338 s/.*/./; q'`
1339 srcdir=$ac_confdir
1340 if test ! -r "$srcdir/$ac_unique_file"; then
1341 srcdir=..
1343 else
1344 ac_srcdir_defaulted=no
1346 if test ! -r "$srcdir/$ac_unique_file"; then
1347 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1348 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1350 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1351 ac_abs_confdir=`(
1352 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1353 pwd)`
1354 # When building in place, set srcdir=.
1355 if test "$ac_abs_confdir" = "$ac_pwd"; then
1356 srcdir=.
1358 # Remove unnecessary trailing slashes from srcdir.
1359 # Double slashes in file names in object file debugging info
1360 # mess up M-x gdb in Emacs.
1361 case $srcdir in
1362 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1363 esac
1364 for ac_var in $ac_precious_vars; do
1365 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1366 eval ac_env_${ac_var}_value=\$${ac_var}
1367 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1368 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1369 done
1372 # Report the --help message.
1374 if test "$ac_init_help" = "long"; then
1375 # Omit some internal or obsolete options to make the list less imposing.
1376 # This message is too long to be a string in the A/UX 3.1 sh.
1377 cat <<_ACEOF
1378 \`configure' configures this package to adapt to many kinds of systems.
1380 Usage: $0 [OPTION]... [VAR=VALUE]...
1382 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1383 VAR=VALUE. See below for descriptions of some of the useful variables.
1385 Defaults for the options are specified in brackets.
1387 Configuration:
1388 -h, --help display this help and exit
1389 --help=short display options specific to this package
1390 --help=recursive display the short help of all the included packages
1391 -V, --version display version information and exit
1392 -q, --quiet, --silent do not print \`checking ...' messages
1393 --cache-file=FILE cache test results in FILE [disabled]
1394 -C, --config-cache alias for \`--cache-file=config.cache'
1395 -n, --no-create do not create output files
1396 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1398 Installation directories:
1399 --prefix=PREFIX install architecture-independent files in PREFIX
1400 [$ac_default_prefix]
1401 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1402 [PREFIX]
1404 By default, \`make install' will install all the files in
1405 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1406 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1407 for instance \`--prefix=\$HOME'.
1409 For better control, use the options below.
1411 Fine tuning of the installation directories:
1412 --bindir=DIR user executables [EPREFIX/bin]
1413 --sbindir=DIR system admin executables [EPREFIX/sbin]
1414 --libexecdir=DIR program executables [EPREFIX/libexec]
1415 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1416 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1417 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1418 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1419 --libdir=DIR object code libraries [EPREFIX/lib]
1420 --includedir=DIR C header files [PREFIX/include]
1421 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1422 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1423 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1424 --infodir=DIR info documentation [DATAROOTDIR/info]
1425 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1426 --mandir=DIR man documentation [DATAROOTDIR/man]
1427 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1428 --htmldir=DIR html documentation [DOCDIR]
1429 --dvidir=DIR dvi documentation [DOCDIR]
1430 --pdfdir=DIR pdf documentation [DOCDIR]
1431 --psdir=DIR ps documentation [DOCDIR]
1432 _ACEOF
1434 cat <<\_ACEOF
1435 _ACEOF
1438 if test -n "$ac_init_help"; then
1440 cat <<\_ACEOF
1442 Optional Packages:
1443 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1444 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1445 --with-config-dir=VERSION
1446 Location of generated target config files
1448 Some influential environment variables:
1449 CC C compiler command
1450 CFLAGS C compiler flags
1451 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1452 nonstandard directory <lib dir>
1453 LIBS libraries to pass to the linker, e.g. -l<library>
1454 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1455 you have headers in a nonstandard directory <include dir>
1457 Use these variables to override the choices made by `configure' or to help
1458 it to find libraries and programs with nonstandard names/locations.
1460 Report bugs to the package provider.
1461 _ACEOF
1462 ac_status=$?
1465 if test "$ac_init_help" = "recursive"; then
1466 # If there are subdirs, report their specific --help.
1467 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1468 test -d "$ac_dir" ||
1469 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1470 continue
1471 ac_builddir=.
1473 case "$ac_dir" in
1474 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1476 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1477 # A ".." for each directory in $ac_dir_suffix.
1478 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1479 case $ac_top_builddir_sub in
1480 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1481 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1482 esac ;;
1483 esac
1484 ac_abs_top_builddir=$ac_pwd
1485 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1486 # for backward compatibility:
1487 ac_top_builddir=$ac_top_build_prefix
1489 case $srcdir in
1490 .) # We are building in place.
1491 ac_srcdir=.
1492 ac_top_srcdir=$ac_top_builddir_sub
1493 ac_abs_top_srcdir=$ac_pwd ;;
1494 [\\/]* | ?:[\\/]* ) # Absolute name.
1495 ac_srcdir=$srcdir$ac_dir_suffix;
1496 ac_top_srcdir=$srcdir
1497 ac_abs_top_srcdir=$srcdir ;;
1498 *) # Relative name.
1499 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1500 ac_top_srcdir=$ac_top_build_prefix$srcdir
1501 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1502 esac
1503 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1505 cd "$ac_dir" || { ac_status=$?; continue; }
1506 # Check for guested configure.
1507 if test -f "$ac_srcdir/configure.gnu"; then
1508 echo &&
1509 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1510 elif test -f "$ac_srcdir/configure"; then
1511 echo &&
1512 $SHELL "$ac_srcdir/configure" --help=recursive
1513 else
1514 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1515 fi || ac_status=$?
1516 cd "$ac_pwd" || { ac_status=$?; break; }
1517 done
1520 test -n "$ac_init_help" && exit $ac_status
1521 if $ac_init_version; then
1522 cat <<\_ACEOF
1523 configure
1524 generated by GNU Autoconf 2.69
1526 Copyright (C) 2012 Free Software Foundation, Inc.
1527 This configure script is free software; the Free Software Foundation
1528 gives unlimited permission to copy, distribute and modify it.
1529 _ACEOF
1530 exit
1533 ## ------------------------ ##
1534 ## Autoconf initialization. ##
1535 ## ------------------------ ##
1537 # ac_fn_c_try_compile LINENO
1538 # --------------------------
1539 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1540 ac_fn_c_try_compile ()
1542 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1543 rm -f conftest.$ac_objext
1544 if { { ac_try="$ac_compile"
1545 case "(($ac_try" in
1546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1547 *) ac_try_echo=$ac_try;;
1548 esac
1549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1550 $as_echo "$ac_try_echo"; } >&5
1551 (eval "$ac_compile") 2>conftest.err
1552 ac_status=$?
1553 if test -s conftest.err; then
1554 grep -v '^ *+' conftest.err >conftest.er1
1555 cat conftest.er1 >&5
1556 mv -f conftest.er1 conftest.err
1558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1559 test $ac_status = 0; } && {
1560 test -z "$ac_c_werror_flag" ||
1561 test ! -s conftest.err
1562 } && test -s conftest.$ac_objext; then :
1563 ac_retval=0
1564 else
1565 $as_echo "$as_me: failed program was:" >&5
1566 sed 's/^/| /' conftest.$ac_ext >&5
1568 ac_retval=1
1570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1571 as_fn_set_status $ac_retval
1573 } # ac_fn_c_try_compile
1574 cat >config.log <<_ACEOF
1575 This file contains any messages produced by compilers while
1576 running configure, to aid debugging if configure makes a mistake.
1578 It was created by $as_me, which was
1579 generated by GNU Autoconf 2.69. Invocation command line was
1581 $ $0 $@
1583 _ACEOF
1584 exec 5>>config.log
1586 cat <<_ASUNAME
1587 ## --------- ##
1588 ## Platform. ##
1589 ## --------- ##
1591 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1592 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1593 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1594 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1595 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1597 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1598 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1600 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1601 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1602 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1603 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1604 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1605 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1606 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1608 _ASUNAME
1610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1611 for as_dir in $PATH
1613 IFS=$as_save_IFS
1614 test -z "$as_dir" && as_dir=.
1615 $as_echo "PATH: $as_dir"
1616 done
1617 IFS=$as_save_IFS
1619 } >&5
1621 cat >&5 <<_ACEOF
1624 ## ----------- ##
1625 ## Core tests. ##
1626 ## ----------- ##
1628 _ACEOF
1631 # Keep a trace of the command line.
1632 # Strip out --no-create and --no-recursion so they do not pile up.
1633 # Strip out --silent because we don't want to record it for future runs.
1634 # Also quote any args containing shell meta-characters.
1635 # Make two passes to allow for proper duplicate-argument suppression.
1636 ac_configure_args=
1637 ac_configure_args0=
1638 ac_configure_args1=
1639 ac_must_keep_next=false
1640 for ac_pass in 1 2
1642 for ac_arg
1644 case $ac_arg in
1645 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1646 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1647 | -silent | --silent | --silen | --sile | --sil)
1648 continue ;;
1649 *\'*)
1650 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1651 esac
1652 case $ac_pass in
1653 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1655 as_fn_append ac_configure_args1 " '$ac_arg'"
1656 if test $ac_must_keep_next = true; then
1657 ac_must_keep_next=false # Got value, back to normal.
1658 else
1659 case $ac_arg in
1660 *=* | --config-cache | -C | -disable-* | --disable-* \
1661 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1662 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1663 | -with-* | --with-* | -without-* | --without-* | --x)
1664 case "$ac_configure_args0 " in
1665 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1666 esac
1668 -* ) ac_must_keep_next=true ;;
1669 esac
1671 as_fn_append ac_configure_args " '$ac_arg'"
1673 esac
1674 done
1675 done
1676 { ac_configure_args0=; unset ac_configure_args0;}
1677 { ac_configure_args1=; unset ac_configure_args1;}
1679 # When interrupted or exit'd, cleanup temporary files, and complete
1680 # config.log. We remove comments because anyway the quotes in there
1681 # would cause problems or look ugly.
1682 # WARNING: Use '\'' to represent an apostrophe within the trap.
1683 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1684 trap 'exit_status=$?
1685 # Save into config.log some information that might help in debugging.
1687 echo
1689 $as_echo "## ---------------- ##
1690 ## Cache variables. ##
1691 ## ---------------- ##"
1692 echo
1693 # The following way of writing the cache mishandles newlines in values,
1695 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1696 eval ac_val=\$$ac_var
1697 case $ac_val in #(
1698 *${as_nl}*)
1699 case $ac_var in #(
1700 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1701 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1702 esac
1703 case $ac_var in #(
1704 _ | IFS | as_nl) ;; #(
1705 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1706 *) { eval $ac_var=; unset $ac_var;} ;;
1707 esac ;;
1708 esac
1709 done
1710 (set) 2>&1 |
1711 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1712 *${as_nl}ac_space=\ *)
1713 sed -n \
1714 "s/'\''/'\''\\\\'\'''\''/g;
1715 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1716 ;; #(
1718 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1720 esac |
1721 sort
1723 echo
1725 $as_echo "## ----------------- ##
1726 ## Output variables. ##
1727 ## ----------------- ##"
1728 echo
1729 for ac_var in $ac_subst_vars
1731 eval ac_val=\$$ac_var
1732 case $ac_val in
1733 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1734 esac
1735 $as_echo "$ac_var='\''$ac_val'\''"
1736 done | sort
1737 echo
1739 if test -n "$ac_subst_files"; then
1740 $as_echo "## ------------------- ##
1741 ## File substitutions. ##
1742 ## ------------------- ##"
1743 echo
1744 for ac_var in $ac_subst_files
1746 eval ac_val=\$$ac_var
1747 case $ac_val in
1748 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1749 esac
1750 $as_echo "$ac_var='\''$ac_val'\''"
1751 done | sort
1752 echo
1755 if test -s confdefs.h; then
1756 $as_echo "## ----------- ##
1757 ## confdefs.h. ##
1758 ## ----------- ##"
1759 echo
1760 cat confdefs.h
1761 echo
1763 test "$ac_signal" != 0 &&
1764 $as_echo "$as_me: caught signal $ac_signal"
1765 $as_echo "$as_me: exit $exit_status"
1766 } >&5
1767 rm -f core *.core core.conftest.* &&
1768 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1769 exit $exit_status
1771 for ac_signal in 1 2 13 15; do
1772 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1773 done
1774 ac_signal=0
1776 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1777 rm -f -r conftest* confdefs.h
1779 $as_echo "/* confdefs.h */" > confdefs.h
1781 # Predefined preprocessor variables.
1783 cat >>confdefs.h <<_ACEOF
1784 #define PACKAGE_NAME "$PACKAGE_NAME"
1785 _ACEOF
1787 cat >>confdefs.h <<_ACEOF
1788 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1789 _ACEOF
1791 cat >>confdefs.h <<_ACEOF
1792 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1793 _ACEOF
1795 cat >>confdefs.h <<_ACEOF
1796 #define PACKAGE_STRING "$PACKAGE_STRING"
1797 _ACEOF
1799 cat >>confdefs.h <<_ACEOF
1800 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1801 _ACEOF
1803 cat >>confdefs.h <<_ACEOF
1804 #define PACKAGE_URL "$PACKAGE_URL"
1805 _ACEOF
1808 # Let the site file select an alternate cache file if it wants to.
1809 # Prefer an explicitly selected file to automatically selected ones.
1810 ac_site_file1=NONE
1811 ac_site_file2=NONE
1812 if test -n "$CONFIG_SITE"; then
1813 # We do not want a PATH search for config.site.
1814 case $CONFIG_SITE in #((
1815 -*) ac_site_file1=./$CONFIG_SITE;;
1816 */*) ac_site_file1=$CONFIG_SITE;;
1817 *) ac_site_file1=./$CONFIG_SITE;;
1818 esac
1819 elif test "x$prefix" != xNONE; then
1820 ac_site_file1=$prefix/share/config.site
1821 ac_site_file2=$prefix/etc/config.site
1822 else
1823 ac_site_file1=$ac_default_prefix/share/config.site
1824 ac_site_file2=$ac_default_prefix/etc/config.site
1826 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1828 test "x$ac_site_file" = xNONE && continue
1829 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1831 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1832 sed 's/^/| /' "$ac_site_file" >&5
1833 . "$ac_site_file" \
1834 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1836 as_fn_error $? "failed to load site script $ac_site_file
1837 See \`config.log' for more details" "$LINENO" 5; }
1839 done
1841 if test -r "$cache_file"; then
1842 # Some versions of bash will fail to source /dev/null (special files
1843 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1844 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1846 $as_echo "$as_me: loading cache $cache_file" >&6;}
1847 case $cache_file in
1848 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1849 *) . "./$cache_file";;
1850 esac
1852 else
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1854 $as_echo "$as_me: creating cache $cache_file" >&6;}
1855 >$cache_file
1858 # Check that the precious variables saved in the cache have kept the same
1859 # value.
1860 ac_cache_corrupted=false
1861 for ac_var in $ac_precious_vars; do
1862 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1863 eval ac_new_set=\$ac_env_${ac_var}_set
1864 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1865 eval ac_new_val=\$ac_env_${ac_var}_value
1866 case $ac_old_set,$ac_new_set in
1867 set,)
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1869 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1870 ac_cache_corrupted=: ;;
1871 ,set)
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1873 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1874 ac_cache_corrupted=: ;;
1875 ,);;
1877 if test "x$ac_old_val" != "x$ac_new_val"; then
1878 # differences in whitespace do not lead to failure.
1879 ac_old_val_w=`echo x $ac_old_val`
1880 ac_new_val_w=`echo x $ac_new_val`
1881 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1883 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1884 ac_cache_corrupted=:
1885 else
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1887 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1888 eval $ac_var=\$ac_old_val
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1891 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1893 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1894 fi;;
1895 esac
1896 # Pass precious variables to config.status.
1897 if test "$ac_new_set" = set; then
1898 case $ac_new_val in
1899 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1900 *) ac_arg=$ac_var=$ac_new_val ;;
1901 esac
1902 case " $ac_configure_args " in
1903 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1904 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1905 esac
1907 done
1908 if $ac_cache_corrupted; then
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1912 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1913 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1915 ## -------------------- ##
1916 ## Main body of script. ##
1917 ## -------------------- ##
1919 ac_ext=c
1920 ac_cpp='$CPP $CPPFLAGS'
1921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1927 ac_aux_dir=
1928 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1929 if test -f "$ac_dir/install-sh"; then
1930 ac_aux_dir=$ac_dir
1931 ac_install_sh="$ac_aux_dir/install-sh -c"
1932 break
1933 elif test -f "$ac_dir/install.sh"; then
1934 ac_aux_dir=$ac_dir
1935 ac_install_sh="$ac_aux_dir/install.sh -c"
1936 break
1937 elif test -f "$ac_dir/shtool"; then
1938 ac_aux_dir=$ac_dir
1939 ac_install_sh="$ac_aux_dir/shtool install -c"
1940 break
1942 done
1943 if test -z "$ac_aux_dir"; then
1944 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1947 # These three variables are undocumented and unsupported,
1948 # and are intended to be withdrawn in a future Autoconf release.
1949 # They can cause serious problems if a builder's source tree is in a directory
1950 # whose full name contains unusual characters.
1951 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1952 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1953 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1957 AROS_BUILDDIR=`${PWDCMD-pwd}`
1958 AROS_BUILDDIR_UNIX=${PWD}
1960 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1961 SRCDIR=${srcpwd}
1963 NOLINKFLAGS="-nostdlib -nostartfiles"
1964 LDFLAGS=$NOLINKFLAGS
1965 # The first step is to find the binaries.
1966 ac_ext=c
1967 ac_cpp='$CPP $CPPFLAGS'
1968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1971 if test -n "$ac_tool_prefix"; then
1972 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1973 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1975 $as_echo_n "checking for $ac_word... " >&6; }
1976 if ${ac_cv_prog_CC+:} false; then :
1977 $as_echo_n "(cached) " >&6
1978 else
1979 if test -n "$CC"; then
1980 ac_cv_prog_CC="$CC" # Let the user override the test.
1981 else
1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1983 for as_dir in $PATH
1985 IFS=$as_save_IFS
1986 test -z "$as_dir" && as_dir=.
1987 for ac_exec_ext in '' $ac_executable_extensions; do
1988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1989 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1991 break 2
1993 done
1994 done
1995 IFS=$as_save_IFS
1999 CC=$ac_cv_prog_CC
2000 if test -n "$CC"; then
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2002 $as_echo "$CC" >&6; }
2003 else
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2005 $as_echo "no" >&6; }
2010 if test -z "$ac_cv_prog_CC"; then
2011 ac_ct_CC=$CC
2012 # Extract the first word of "gcc", so it can be a program name with args.
2013 set dummy gcc; ac_word=$2
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2015 $as_echo_n "checking for $ac_word... " >&6; }
2016 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2017 $as_echo_n "(cached) " >&6
2018 else
2019 if test -n "$ac_ct_CC"; then
2020 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2021 else
2022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2023 for as_dir in $PATH
2025 IFS=$as_save_IFS
2026 test -z "$as_dir" && as_dir=.
2027 for ac_exec_ext in '' $ac_executable_extensions; do
2028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2029 ac_cv_prog_ac_ct_CC="gcc"
2030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2031 break 2
2033 done
2034 done
2035 IFS=$as_save_IFS
2039 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2040 if test -n "$ac_ct_CC"; then
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2042 $as_echo "$ac_ct_CC" >&6; }
2043 else
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2045 $as_echo "no" >&6; }
2048 if test "x$ac_ct_CC" = x; then
2049 CC=""
2050 else
2051 case $cross_compiling:$ac_tool_warned in
2052 yes:)
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2055 ac_tool_warned=yes ;;
2056 esac
2057 CC=$ac_ct_CC
2059 else
2060 CC="$ac_cv_prog_CC"
2063 if test -z "$CC"; then
2064 if test -n "$ac_tool_prefix"; then
2065 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2066 set dummy ${ac_tool_prefix}cc; ac_word=$2
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2068 $as_echo_n "checking for $ac_word... " >&6; }
2069 if ${ac_cv_prog_CC+:} false; then :
2070 $as_echo_n "(cached) " >&6
2071 else
2072 if test -n "$CC"; then
2073 ac_cv_prog_CC="$CC" # Let the user override the test.
2074 else
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 for as_dir in $PATH
2078 IFS=$as_save_IFS
2079 test -z "$as_dir" && as_dir=.
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2082 ac_cv_prog_CC="${ac_tool_prefix}cc"
2083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2084 break 2
2086 done
2087 done
2088 IFS=$as_save_IFS
2092 CC=$ac_cv_prog_CC
2093 if test -n "$CC"; then
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2095 $as_echo "$CC" >&6; }
2096 else
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2098 $as_echo "no" >&6; }
2104 if test -z "$CC"; then
2105 # Extract the first word of "cc", so it can be a program name with args.
2106 set dummy cc; ac_word=$2
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2108 $as_echo_n "checking for $ac_word... " >&6; }
2109 if ${ac_cv_prog_CC+:} false; then :
2110 $as_echo_n "(cached) " >&6
2111 else
2112 if test -n "$CC"; then
2113 ac_cv_prog_CC="$CC" # Let the user override the test.
2114 else
2115 ac_prog_rejected=no
2116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2117 for as_dir in $PATH
2119 IFS=$as_save_IFS
2120 test -z "$as_dir" && as_dir=.
2121 for ac_exec_ext in '' $ac_executable_extensions; do
2122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2123 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2124 ac_prog_rejected=yes
2125 continue
2127 ac_cv_prog_CC="cc"
2128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2129 break 2
2131 done
2132 done
2133 IFS=$as_save_IFS
2135 if test $ac_prog_rejected = yes; then
2136 # We found a bogon in the path, so make sure we never use it.
2137 set dummy $ac_cv_prog_CC
2138 shift
2139 if test $# != 0; then
2140 # We chose a different compiler from the bogus one.
2141 # However, it has the same basename, so the bogon will be chosen
2142 # first if we set CC to just the basename; use the full file name.
2143 shift
2144 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2149 CC=$ac_cv_prog_CC
2150 if test -n "$CC"; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2152 $as_echo "$CC" >&6; }
2153 else
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2155 $as_echo "no" >&6; }
2160 if test -z "$CC"; then
2161 if test -n "$ac_tool_prefix"; then
2162 for ac_prog in cl.exe
2164 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2165 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2167 $as_echo_n "checking for $ac_word... " >&6; }
2168 if ${ac_cv_prog_CC+:} false; then :
2169 $as_echo_n "(cached) " >&6
2170 else
2171 if test -n "$CC"; then
2172 ac_cv_prog_CC="$CC" # Let the user override the test.
2173 else
2174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2175 for as_dir in $PATH
2177 IFS=$as_save_IFS
2178 test -z "$as_dir" && as_dir=.
2179 for ac_exec_ext in '' $ac_executable_extensions; do
2180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2181 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2183 break 2
2185 done
2186 done
2187 IFS=$as_save_IFS
2191 CC=$ac_cv_prog_CC
2192 if test -n "$CC"; then
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2194 $as_echo "$CC" >&6; }
2195 else
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2197 $as_echo "no" >&6; }
2201 test -n "$CC" && break
2202 done
2204 if test -z "$CC"; then
2205 ac_ct_CC=$CC
2206 for ac_prog in cl.exe
2208 # Extract the first word of "$ac_prog", so it can be a program name with args.
2209 set dummy $ac_prog; ac_word=$2
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2211 $as_echo_n "checking for $ac_word... " >&6; }
2212 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2213 $as_echo_n "(cached) " >&6
2214 else
2215 if test -n "$ac_ct_CC"; then
2216 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2217 else
2218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2219 for as_dir in $PATH
2221 IFS=$as_save_IFS
2222 test -z "$as_dir" && as_dir=.
2223 for ac_exec_ext in '' $ac_executable_extensions; do
2224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2225 ac_cv_prog_ac_ct_CC="$ac_prog"
2226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2227 break 2
2229 done
2230 done
2231 IFS=$as_save_IFS
2235 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2236 if test -n "$ac_ct_CC"; then
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2238 $as_echo "$ac_ct_CC" >&6; }
2239 else
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2241 $as_echo "no" >&6; }
2245 test -n "$ac_ct_CC" && break
2246 done
2248 if test "x$ac_ct_CC" = x; then
2249 CC=""
2250 else
2251 case $cross_compiling:$ac_tool_warned in
2252 yes:)
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2255 ac_tool_warned=yes ;;
2256 esac
2257 CC=$ac_ct_CC
2264 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2266 as_fn_error $? "no acceptable C compiler found in \$PATH
2267 See \`config.log' for more details" "$LINENO" 5; }
2269 # Provide some information about the compiler.
2270 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2271 set X $ac_compile
2272 ac_compiler=$2
2273 for ac_option in --version -v -V -qversion; do
2274 { { ac_try="$ac_compiler $ac_option >&5"
2275 case "(($ac_try" in
2276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2277 *) ac_try_echo=$ac_try;;
2278 esac
2279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2280 $as_echo "$ac_try_echo"; } >&5
2281 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2282 ac_status=$?
2283 if test -s conftest.err; then
2284 sed '10a\
2285 ... rest of stderr output deleted ...
2286 10q' conftest.err >conftest.er1
2287 cat conftest.er1 >&5
2289 rm -f conftest.er1 conftest.err
2290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2291 test $ac_status = 0; }
2292 done
2294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2295 /* end confdefs.h. */
2298 main ()
2302 return 0;
2304 _ACEOF
2305 ac_clean_files_save=$ac_clean_files
2306 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2307 # Try to create an executable without -o first, disregard a.out.
2308 # It will help us diagnose broken compilers, and finding out an intuition
2309 # of exeext.
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2311 $as_echo_n "checking whether the C compiler works... " >&6; }
2312 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2314 # The possible output files:
2315 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2317 ac_rmfiles=
2318 for ac_file in $ac_files
2320 case $ac_file in
2321 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2322 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2323 esac
2324 done
2325 rm -f $ac_rmfiles
2327 if { { ac_try="$ac_link_default"
2328 case "(($ac_try" in
2329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2330 *) ac_try_echo=$ac_try;;
2331 esac
2332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2333 $as_echo "$ac_try_echo"; } >&5
2334 (eval "$ac_link_default") 2>&5
2335 ac_status=$?
2336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2337 test $ac_status = 0; }; then :
2338 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2339 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2340 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2341 # so that the user can short-circuit this test for compilers unknown to
2342 # Autoconf.
2343 for ac_file in $ac_files ''
2345 test -f "$ac_file" || continue
2346 case $ac_file in
2347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2349 [ab].out )
2350 # We found the default executable, but exeext='' is most
2351 # certainly right.
2352 break;;
2353 *.* )
2354 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2355 then :; else
2356 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2358 # We set ac_cv_exeext here because the later test for it is not
2359 # safe: cross compilers may not add the suffix if given an `-o'
2360 # argument, so we may need to know it at that point already.
2361 # Even if this section looks crufty: it has the advantage of
2362 # actually working.
2363 break;;
2365 break;;
2366 esac
2367 done
2368 test "$ac_cv_exeext" = no && ac_cv_exeext=
2370 else
2371 ac_file=''
2373 if test -z "$ac_file"; then :
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2375 $as_echo "no" >&6; }
2376 $as_echo "$as_me: failed program was:" >&5
2377 sed 's/^/| /' conftest.$ac_ext >&5
2379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2381 as_fn_error 77 "C compiler cannot create executables
2382 See \`config.log' for more details" "$LINENO" 5; }
2383 else
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2385 $as_echo "yes" >&6; }
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2388 $as_echo_n "checking for C compiler default output file name... " >&6; }
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2390 $as_echo "$ac_file" >&6; }
2391 ac_exeext=$ac_cv_exeext
2393 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2394 ac_clean_files=$ac_clean_files_save
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2396 $as_echo_n "checking for suffix of executables... " >&6; }
2397 if { { ac_try="$ac_link"
2398 case "(($ac_try" in
2399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2400 *) ac_try_echo=$ac_try;;
2401 esac
2402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2403 $as_echo "$ac_try_echo"; } >&5
2404 (eval "$ac_link") 2>&5
2405 ac_status=$?
2406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2407 test $ac_status = 0; }; then :
2408 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2409 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2410 # work properly (i.e., refer to `conftest.exe'), while it won't with
2411 # `rm'.
2412 for ac_file in conftest.exe conftest conftest.*; do
2413 test -f "$ac_file" || continue
2414 case $ac_file in
2415 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2416 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2417 break;;
2418 * ) break;;
2419 esac
2420 done
2421 else
2422 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2424 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2425 See \`config.log' for more details" "$LINENO" 5; }
2427 rm -f conftest conftest$ac_cv_exeext
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2429 $as_echo "$ac_cv_exeext" >&6; }
2431 rm -f conftest.$ac_ext
2432 EXEEXT=$ac_cv_exeext
2433 ac_exeext=$EXEEXT
2434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2435 /* end confdefs.h. */
2436 #include <stdio.h>
2438 main ()
2440 FILE *f = fopen ("conftest.out", "w");
2441 return ferror (f) || fclose (f) != 0;
2444 return 0;
2446 _ACEOF
2447 ac_clean_files="$ac_clean_files conftest.out"
2448 # Check that the compiler produces executables we can run. If not, either
2449 # the compiler is broken, or we cross compile.
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2451 $as_echo_n "checking whether we are cross compiling... " >&6; }
2452 if test "$cross_compiling" != yes; then
2453 { { ac_try="$ac_link"
2454 case "(($ac_try" in
2455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2456 *) ac_try_echo=$ac_try;;
2457 esac
2458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2459 $as_echo "$ac_try_echo"; } >&5
2460 (eval "$ac_link") 2>&5
2461 ac_status=$?
2462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2463 test $ac_status = 0; }
2464 if { ac_try='./conftest$ac_cv_exeext'
2465 { { case "(($ac_try" in
2466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2467 *) ac_try_echo=$ac_try;;
2468 esac
2469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2470 $as_echo "$ac_try_echo"; } >&5
2471 (eval "$ac_try") 2>&5
2472 ac_status=$?
2473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2474 test $ac_status = 0; }; }; then
2475 cross_compiling=no
2476 else
2477 if test "$cross_compiling" = maybe; then
2478 cross_compiling=yes
2479 else
2480 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2482 as_fn_error $? "cannot run C compiled programs.
2483 If you meant to cross compile, use \`--host'.
2484 See \`config.log' for more details" "$LINENO" 5; }
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2489 $as_echo "$cross_compiling" >&6; }
2491 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2492 ac_clean_files=$ac_clean_files_save
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2494 $as_echo_n "checking for suffix of object files... " >&6; }
2495 if ${ac_cv_objext+:} false; then :
2496 $as_echo_n "(cached) " >&6
2497 else
2498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2499 /* end confdefs.h. */
2502 main ()
2506 return 0;
2508 _ACEOF
2509 rm -f conftest.o conftest.obj
2510 if { { ac_try="$ac_compile"
2511 case "(($ac_try" in
2512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2513 *) ac_try_echo=$ac_try;;
2514 esac
2515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2516 $as_echo "$ac_try_echo"; } >&5
2517 (eval "$ac_compile") 2>&5
2518 ac_status=$?
2519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520 test $ac_status = 0; }; then :
2521 for ac_file in conftest.o conftest.obj conftest.*; do
2522 test -f "$ac_file" || continue;
2523 case $ac_file in
2524 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2525 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2526 break;;
2527 esac
2528 done
2529 else
2530 $as_echo "$as_me: failed program was:" >&5
2531 sed 's/^/| /' conftest.$ac_ext >&5
2533 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2535 as_fn_error $? "cannot compute suffix of object files: cannot compile
2536 See \`config.log' for more details" "$LINENO" 5; }
2538 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2541 $as_echo "$ac_cv_objext" >&6; }
2542 OBJEXT=$ac_cv_objext
2543 ac_objext=$OBJEXT
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2545 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2546 if ${ac_cv_c_compiler_gnu+:} false; then :
2547 $as_echo_n "(cached) " >&6
2548 else
2549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2550 /* end confdefs.h. */
2553 main ()
2555 #ifndef __GNUC__
2556 choke me
2557 #endif
2560 return 0;
2562 _ACEOF
2563 if ac_fn_c_try_compile "$LINENO"; then :
2564 ac_compiler_gnu=yes
2565 else
2566 ac_compiler_gnu=no
2568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2569 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2573 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2574 if test $ac_compiler_gnu = yes; then
2575 GCC=yes
2576 else
2577 GCC=
2579 ac_test_CFLAGS=${CFLAGS+set}
2580 ac_save_CFLAGS=$CFLAGS
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2582 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2583 if ${ac_cv_prog_cc_g+:} false; then :
2584 $as_echo_n "(cached) " >&6
2585 else
2586 ac_save_c_werror_flag=$ac_c_werror_flag
2587 ac_c_werror_flag=yes
2588 ac_cv_prog_cc_g=no
2589 CFLAGS="-g"
2590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2591 /* end confdefs.h. */
2594 main ()
2598 return 0;
2600 _ACEOF
2601 if ac_fn_c_try_compile "$LINENO"; then :
2602 ac_cv_prog_cc_g=yes
2603 else
2604 CFLAGS=""
2605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2606 /* end confdefs.h. */
2609 main ()
2613 return 0;
2615 _ACEOF
2616 if ac_fn_c_try_compile "$LINENO"; then :
2618 else
2619 ac_c_werror_flag=$ac_save_c_werror_flag
2620 CFLAGS="-g"
2621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2622 /* end confdefs.h. */
2625 main ()
2629 return 0;
2631 _ACEOF
2632 if ac_fn_c_try_compile "$LINENO"; then :
2633 ac_cv_prog_cc_g=yes
2635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2640 ac_c_werror_flag=$ac_save_c_werror_flag
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2643 $as_echo "$ac_cv_prog_cc_g" >&6; }
2644 if test "$ac_test_CFLAGS" = set; then
2645 CFLAGS=$ac_save_CFLAGS
2646 elif test $ac_cv_prog_cc_g = yes; then
2647 if test "$GCC" = yes; then
2648 CFLAGS="-g -O2"
2649 else
2650 CFLAGS="-g"
2652 else
2653 if test "$GCC" = yes; then
2654 CFLAGS="-O2"
2655 else
2656 CFLAGS=
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2660 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2661 if ${ac_cv_prog_cc_c89+:} false; then :
2662 $as_echo_n "(cached) " >&6
2663 else
2664 ac_cv_prog_cc_c89=no
2665 ac_save_CC=$CC
2666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2667 /* end confdefs.h. */
2668 #include <stdarg.h>
2669 #include <stdio.h>
2670 struct stat;
2671 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2672 struct buf { int x; };
2673 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2674 static char *e (p, i)
2675 char **p;
2676 int i;
2678 return p[i];
2680 static char *f (char * (*g) (char **, int), char **p, ...)
2682 char *s;
2683 va_list v;
2684 va_start (v,p);
2685 s = g (p, va_arg (v,int));
2686 va_end (v);
2687 return s;
2690 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2691 function prototypes and stuff, but not '\xHH' hex character constants.
2692 These don't provoke an error unfortunately, instead are silently treated
2693 as 'x'. The following induces an error, until -std is added to get
2694 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2695 array size at least. It's necessary to write '\x00'==0 to get something
2696 that's true only with -std. */
2697 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2699 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2700 inside strings and character constants. */
2701 #define FOO(x) 'x'
2702 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2704 int test (int i, double x);
2705 struct s1 {int (*f) (int a);};
2706 struct s2 {int (*f) (double a);};
2707 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2708 int argc;
2709 char **argv;
2711 main ()
2713 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2715 return 0;
2717 _ACEOF
2718 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2719 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2721 CC="$ac_save_CC $ac_arg"
2722 if ac_fn_c_try_compile "$LINENO"; then :
2723 ac_cv_prog_cc_c89=$ac_arg
2725 rm -f core conftest.err conftest.$ac_objext
2726 test "x$ac_cv_prog_cc_c89" != "xno" && break
2727 done
2728 rm -f conftest.$ac_ext
2729 CC=$ac_save_CC
2732 # AC_CACHE_VAL
2733 case "x$ac_cv_prog_cc_c89" in
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2736 $as_echo "none needed" >&6; } ;;
2737 xno)
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2739 $as_echo "unsupported" >&6; } ;;
2741 CC="$CC $ac_cv_prog_cc_c89"
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2743 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2744 esac
2745 if test "x$ac_cv_prog_cc_c89" != xno; then :
2749 ac_ext=c
2750 ac_cpp='$CPP $CPPFLAGS'
2751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2757 $as_echo_n "checking target config location... " >&6; }
2759 # Check whether --with-config-dir was given.
2760 if test "${with_config_dir+set}" = set; then :
2761 withval=$with_config_dir; targetcfg_dir="$withval"
2762 else
2763 targetcfg_dir=""
2766 if test "$targetcfg_dir" = ""; then
2767 as_fn_error $? "missing config directory!" "$LINENO" 5
2768 else
2769 aros_targetcfg_dir="$targetcfg_dir"
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2772 $as_echo "$aros_targetcfg_dir" >&6; }
2774 #-----------------------------------------------------------------------------
2776 # Check if the target compiler supports some features:
2777 # -fexceptions
2778 # -fpermissive
2779 # -frtti
2780 # -ffast-math
2781 # -flto
2782 # -fwhole-program
2783 # -floop-block
2784 # -floop-interchange
2785 # -floop-strip-mine
2786 # -fpeel-loops
2787 # -fstrict-aliasing
2788 # -finline-small-functions
2789 # -fipa-cp
2790 # -funroll-loops
2791 # -fomit-frame-pointer
2792 # -fprofile-arcs
2793 # -ftest-coverage
2794 # -faligned-new
2796 # -fno-builtin
2797 # -fno-builtin-floor
2798 # -fno-builtin-vsnprintf
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2801 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2802 CFLAGS=-fexceptions
2804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2805 /* end confdefs.h. */
2808 main ()
2812 return 0;
2814 _ACEOF
2815 if ac_fn_c_try_compile "$LINENO"; then :
2816 aros_exceptions="yes"
2817 else
2818 aros_exceptions="no"
2820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2822 $as_echo "$aros_exceptions" >&6; }
2823 if test "x-$aros_exceptions" = "x-yes" ; then
2824 aros_cflags_exceptions=-fexceptions
2825 aros_cflags_noexceptions=-fno-exceptions
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpermissive" >&5
2829 $as_echo_n "checking whether ${CC} accepts -fpermissive... " >&6; }
2830 CFLAGS=-fpermissive
2831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2832 /* end confdefs.h. */
2835 main ()
2839 return 0;
2841 _ACEOF
2842 if ac_fn_c_try_compile "$LINENO"; then :
2843 aros_permissive="yes"
2844 else
2845 aros_permissive="no"
2847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
2849 $as_echo "$aros_permissive" >&6; }
2850 if test "x-$aros_permissive" = "x-yes" ; then
2851 aros_cflags_permissive=-fpermissive
2852 aros_cflags_nopermissive=-fno-permissive
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -frtti" >&5
2856 $as_echo_n "checking whether ${CC} accepts -frtti... " >&6; }
2857 CFLAGS=-frtti
2858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2859 /* end confdefs.h. */
2862 main ()
2866 return 0;
2868 _ACEOF
2869 if ac_fn_c_try_compile "$LINENO"; then :
2870 aros_rtti="yes"
2871 else
2872 aros_rtti="no"
2874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_rtti" >&5
2876 $as_echo "$aros_rtti" >&6; }
2877 if test "x-$aros_rtti" = "x-yes" ; then
2878 aros_cflags_rtti=-frtti
2879 aros_cflags_nortti=-fno-rtti
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2883 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2884 CFLAGS=-ffast-math
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2889 main ()
2893 return 0;
2895 _ACEOF
2896 if ac_fn_c_try_compile "$LINENO"; then :
2897 aros_fast_math="yes"
2898 else
2899 aros_fast_math="no"
2901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2903 $as_echo "$aros_fast_math" >&6; }
2904 if test "x-$aros_fast_math" = "x-yes" ; then
2905 aros_cflags_fast_math=-ffast-math
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2909 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2910 CFLAGS=-flto
2911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2912 /* end confdefs.h. */
2915 main ()
2919 return 0;
2921 _ACEOF
2922 if ac_fn_c_try_compile "$LINENO"; then :
2923 aros_lto="yes"
2924 else
2925 aros_lto="no"
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2929 $as_echo "$aros_lto" >&6; }
2930 if test "x-$aros_lto" = "x-yes" ; then
2931 aros_cflags_lto=-flto
2932 aros_cflags_nolto=-fno-lto
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2935 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2936 CFLAGS=-fwhole-program
2937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2938 /* end confdefs.h. */
2941 main ()
2945 return 0;
2947 _ACEOF
2948 if ac_fn_c_try_compile "$LINENO"; then :
2949 aros_whole_program="yes"
2950 else
2951 aros_whole_program="no"
2953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2955 $as_echo "$aros_whole_program" >&6; }
2956 if test "x-$aros_whole_program" = "x-yes" ; then
2957 aros_cflags_whole_program=-fwhole-program
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2961 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2962 CFLAGS=-floop-block
2963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2964 /* end confdefs.h. */
2967 main ()
2971 return 0;
2973 _ACEOF
2974 if ac_fn_c_try_compile "$LINENO"; then :
2975 aros_loop_block="yes"
2976 else
2977 aros_loop_block="no"
2979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2981 $as_echo "$aros_loop_block" >&6; }
2982 if test "x-$aros_loop_block" = "x-yes" ; then
2983 aros_cflags_loop_block=-floop-block
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2987 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2988 CFLAGS=-floop-interchange
2989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2990 /* end confdefs.h. */
2993 main ()
2997 return 0;
2999 _ACEOF
3000 if ac_fn_c_try_compile "$LINENO"; then :
3001 aros_loop_interchange="yes"
3002 else
3003 aros_loop_interchange="no"
3005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
3007 $as_echo "$aros_loop_interchange" >&6; }
3008 if test "x-$aros_loop_interchange" = "x-yes" ; then
3009 aros_cflags_loop_interchange=-floop-interchange
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
3013 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
3014 CFLAGS=-floop-strip-mine
3015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3016 /* end confdefs.h. */
3019 main ()
3023 return 0;
3025 _ACEOF
3026 if ac_fn_c_try_compile "$LINENO"; then :
3027 aros_loop_strip_mine="yes"
3028 else
3029 aros_loop_strip_mine="no"
3031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
3033 $as_echo "$aros_loop_strip_mine" >&6; }
3034 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
3035 aros_cflags_loop_strip_mine=-floop-strip-mine
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
3040 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
3041 CFLAGS=-fpeel-loops
3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043 /* end confdefs.h. */
3046 main ()
3050 return 0;
3052 _ACEOF
3053 if ac_fn_c_try_compile "$LINENO"; then :
3054 aros_peel_loops="yes"
3055 else
3056 aros_peel_loops="no"
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
3060 $as_echo "$aros_peel_loops" >&6; }
3061 if test "x-$aros_peel_loops" = "x-yes" ; then
3062 aros_cflags_peel_loops=-fpeel-loops
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3066 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3067 CFLAGS=-funroll-loops
3068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3069 /* end confdefs.h. */
3072 main ()
3076 return 0;
3078 _ACEOF
3079 if ac_fn_c_try_compile "$LINENO"; then :
3080 aros_unroll_loops="yes"
3081 else
3082 aros_unroll_loops="no"
3084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3086 $as_echo "$aros_unroll_loops" >&6; }
3087 if test "x-$aros_unroll_loops" = "x-yes" ; then
3088 aros_cflags_unroll_loops=-funroll-loops
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3092 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3093 CFLAGS=-fstrict-aliasing
3094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3095 /* end confdefs.h. */
3098 main ()
3102 return 0;
3104 _ACEOF
3105 if ac_fn_c_try_compile "$LINENO"; then :
3106 aros_strict_aliasing="yes"
3107 else
3108 aros_strict_aliasing="no"
3110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3112 $as_echo "$aros_strict_aliasing" >&6; }
3113 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3114 aros_cflags_strictaliasing=-fstrict-aliasing
3115 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3119 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3120 CFLAGS=-finline-small-functions
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_inline_small_functions="yes"
3134 else
3135 aros_inline_small_functions="no"
3137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3139 $as_echo "$aros_inline_small_functions" >&6; }
3140 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3141 aros_cflags_inlinesmallfunctions=-finline-small-functions
3142 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fipa-cp" >&5
3146 $as_echo_n "checking whether ${CC} accepts -fipa-cp... " >&6; }
3147 CFLAGS=-fipa-cp
3148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3149 /* end confdefs.h. */
3152 main ()
3156 return 0;
3158 _ACEOF
3159 if ac_fn_c_try_compile "$LINENO"; then :
3160 aros_ipa_cp="yes"
3161 else
3162 aros_ipa_cp="no"
3164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ipa_cp" >&5
3166 $as_echo "$aros_ipa_cp" >&6; }
3167 if test "x-$aros_ipa_cp" = "x-yes" ; then
3168 aros_cflags_ipacp=-fipa-cp
3169 aros_cflags_noipacp=-fno-ipa-cp
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fomit-frame-pointer" >&5
3173 $as_echo_n "checking whether ${CC} accepts -fomit-frame-pointer... " >&6; }
3174 CFLAGS=-fomit-frame-pointer
3175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3176 /* end confdefs.h. */
3179 main ()
3183 return 0;
3185 _ACEOF
3186 if ac_fn_c_try_compile "$LINENO"; then :
3187 aros_omit_frame_pointer="yes"
3188 else
3189 aros_omit_frame_pointer="no"
3191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_omit_frame_pointer" >&5
3193 $as_echo "$aros_omit_frame_pointer" >&6; }
3194 if test "x-$aros_omit_frame_pointer" = "x-yes" ; then
3195 aros_cflags_omitfp=-fomit-frame-pointer
3196 aros_cflags_noomitfp=-fno-omit-frame-pointer
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fprofile-arcs" >&5
3200 $as_echo_n "checking whether ${CC} accepts -fprofile-arcs... " >&6; }
3201 CFLAGS=-fprofile-arcs
3202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3206 main ()
3210 return 0;
3212 _ACEOF
3213 if ac_fn_c_try_compile "$LINENO"; then :
3214 aros_profile_arcs="yes"
3215 else
3216 aros_profile_arcs="no"
3218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_profile_arcs" >&5
3220 $as_echo "$aros_profile_arcs" >&6; }
3221 if test "x-$aros_profile_arcs" = "x-yes" ; then
3222 aros_cflags_profilearcs=-fprofile-arcs
3223 aros_cflags_noprofilearcs=-fno-profile-arcs
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ftest-coverage" >&5
3227 $as_echo_n "checking whether ${CC} accepts -ftest-coverage... " >&6; }
3228 CFLAGS=-ftest-coverage
3229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3230 /* end confdefs.h. */
3233 main ()
3237 return 0;
3239 _ACEOF
3240 if ac_fn_c_try_compile "$LINENO"; then :
3241 aros_test_coverage="yes"
3242 else
3243 aros_test_coverage="no"
3245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_test_coverage" >&5
3247 $as_echo "$aros_test_coverage" >&6; }
3248 if test "x-$aros_test_coverage" = "x-yes" ; then
3249 aros_cflags_testcoverage=-ftest-coverage
3250 aros_cflags_notestcoverage=-fno-test-coverage
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -faligned-new" >&5
3254 $as_echo_n "checking whether ${CC} accepts -faligned-new... " >&6; }
3255 CFLAGS=-faligned-new
3256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3260 main ()
3264 return 0;
3266 _ACEOF
3267 if ac_fn_c_try_compile "$LINENO"; then :
3268 aros_aligned_new="yes"
3269 else
3270 aros_aligned_new="no"
3272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aligned_new" >&5
3274 $as_echo "$aros_aligned_new" >&6; }
3275 if test "x-$aros_aligned_new" = "x-yes" ; then
3276 aros_cflags_alignednew=-faligned-new
3277 aros_cflags_noalignednew=-fno-aligned-new
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin" >&5
3281 $as_echo_n "checking whether ${CC} accepts -fno-builtin... " >&6; }
3282 CFLAGS=-fno-builtin
3283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3284 /* end confdefs.h. */
3287 main ()
3291 return 0;
3293 _ACEOF
3294 if ac_fn_c_try_compile "$LINENO"; then :
3295 aros_no_builtin="yes"
3296 else
3297 aros_no_builtin="no"
3299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin" >&5
3301 $as_echo "$aros_no_builtin" >&6; }
3302 if test "x-$aros_no_builtin" = "x-yes" ; then
3303 aros_cflags_no_builtin=-fno-builtin
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
3307 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
3308 CFLAGS=-fno-builtin-floor
3309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h. */
3313 main ()
3317 return 0;
3319 _ACEOF
3320 if ac_fn_c_try_compile "$LINENO"; then :
3321 aros_no_builtin_floor="yes"
3322 else
3323 aros_no_builtin_floor="no"
3325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
3327 $as_echo "$aros_no_builtin_floor" >&6; }
3328 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
3329 aros_cflags_no_builtin_floor=-fno-builtin-floor
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-vsnprintf" >&5
3333 $as_echo_n "checking whether ${CC} accepts -fno-builtin-vsnprintf... " >&6; }
3334 CFLAGS=-fno-builtin-vsnprintf
3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3336 /* end confdefs.h. */
3339 main ()
3343 return 0;
3345 _ACEOF
3346 if ac_fn_c_try_compile "$LINENO"; then :
3347 aros_no_builtin_vsnprintf="yes"
3348 else
3349 aros_no_builtin_vsnprintf="no"
3351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_vsnprintf" >&5
3353 $as_echo "$aros_no_builtin_vsnprintf" >&6; }
3354 if test "x-$aros_no_builtin_vsnprintf" = "x-yes" ; then
3355 aros_cflags_no_builtin_vsnprintf=-fno-builtin-vsnprintf
3358 #-----------------------------------------------------------------------------
3360 # Check if the target compiler supports some include directory options:
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3363 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3364 CFLAGS="-iquote."
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3369 main ()
3373 return 0;
3375 _ACEOF
3376 if ac_fn_c_try_compile "$LINENO"; then :
3377 has_iquote="yes"
3378 else
3379 has_iquote="no"
3381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3383 $as_echo "$has_iquote" >&6; }
3384 if test "x-$has_iquote" = "x-yes" ; then
3385 aros_cflags_iquote=-iquote
3386 aros_cflags_iquote_end=
3387 else
3388 aros_cflags_iquote=-I
3389 aros_cflags_iquote_end=-I-
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -isystem" >&5
3393 $as_echo_n "checking whether ${CC} accepts -isystem... " >&6; }
3394 CFLAGS="-isystem."
3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3399 main ()
3403 return 0;
3405 _ACEOF
3406 if ac_fn_c_try_compile "$LINENO"; then :
3407 has_isystem="yes"
3408 else
3409 has_isystem="no"
3411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_isystem" >&5
3413 $as_echo "$has_isystem" >&6; }
3414 if test "x-$has_isystem" = "x-yes" ; then
3415 aros_cflags_isystem=-isystem
3416 aros_cflags_isystem_end=
3417 else
3418 aros_cflags_isystem=-I
3419 aros_cflags_isystem_end=
3422 #-----------------------------------------------------------------------------
3424 # Check if the target compiler supports some ISA options:
3425 # -mno-red-zone
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mno-red-zone" >&5
3428 $as_echo_n "checking whether ${CC} accepts -mno-red-zone... " >&6; }
3429 CFLAGS=-mno-red-zone
3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h. */
3434 main ()
3438 return 0;
3440 _ACEOF
3441 if ac_fn_c_try_compile "$LINENO"; then :
3442 aros_no_red_zone="yes"
3443 else
3444 aros_no_red_zone="no"
3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3448 $as_echo "$aros_no_red_zone" >&6; }
3449 if test "x-$aros_no_red_zone" = "x-yes" ; then
3450 aros_cflags_no_red_zone=-mno-red-zone
3453 #-----------------------------------------------------------------------------
3455 # Check if the target compiler supports some options used for de-linting:
3456 # -Werror
3457 # -Wall
3458 # -Wrestrict
3459 # -Wunused-command-line-argument
3460 # -Wunknown-warning-option
3461 # -Wunused-but-set-variable
3462 # -Wstrict-aliasing
3463 # -Warray-bounds
3464 # -Wenum-compare
3465 # -Wstrict-prototypes
3466 # -Wstrict-overflow
3467 # -Wformat-security
3468 # -Wmisleading-indentation
3469 # -Wnonnull-compare
3470 # -Wunused
3471 # -Wunused-label
3472 # -Wunused-value
3473 # -Wunused-variable
3474 # -Wunused-function
3475 # -Wunused-parameter
3476 # -Wuninitialized
3477 # -Wmaybe-uninitialized
3478 # -Wimplicit-function-declaration
3479 # -Wformat
3480 # -Wparentheses
3481 # -Wchar-subscripts
3482 # -Wendif-labels
3483 # -Wformat-contains-nul
3484 # -Wimplicit-int
3485 # -Waggressive-loop-optimizations
3486 # -Wcpp
3487 # -Wswitch
3488 # -Wdiscarded-qualifiers
3489 # -Wsequence-point
3490 # -Wunknown-pragmas
3491 # -Wdiscarded-array-qualifiers
3492 # -Wint-conversion
3493 # -Wint-to-pointer-cast
3494 # -Wpointer-to-int-cast
3495 # -Wunused-const-variable
3496 # -Wwrite-strings
3497 # -Wcomment
3498 # -Wincompatible-pointer-types
3499 # -Wbool-compare
3500 # -Wlogical-not-parentheses
3501 # -Wpointer-sign
3502 # -Wshift-overflow
3503 # -Wframe-address
3504 # -Wdeprecated-declarations
3505 # -Wsign-compare
3506 # -Wattributes
3507 # -Woverflow
3508 # -Wunused-local-typedefs
3509 # -Wmissing-braces
3510 # -Wconversion-null
3511 # -Wnarrowing
3512 # -Wvolatile-register-var
3513 # -Wsizeof-pointer-memaccess
3514 # -Wreturn-type
3515 # -Wformat-zero-length
3516 # -Wlto-type-mismatch
3517 # -Wtautological-compare
3518 # -Wempty-body
3519 # -Wformat-overflow
3520 # -Wstringop-overflow
3521 # -Wformat-truncation
3522 # -Wstringop-truncation
3523 # -Wshift-negative-value
3524 # -Wmissing-field-initializers
3525 # -Wimplicit-fallthrough
3526 # -Wmissing-prototypes
3527 # -Wclass-memaccess
3528 # -Wint-in-bool-context
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
3531 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
3532 CFLAGS=-Werror
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3537 main ()
3541 return 0;
3543 _ACEOF
3544 if ac_fn_c_try_compile "$LINENO"; then :
3545 aros_error="yes"
3546 else
3547 aros_error="no"
3549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
3551 $as_echo "$aros_error" >&6; }
3552 if test "x-$aros_error" = "x-yes" ; then
3553 aros_warnflags_error=-Werror
3554 aros_nowarnflags_error=-Wno-error
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wall" >&5
3558 $as_echo_n "checking whether ${CC} accepts -Wall... " >&6; }
3559 CFLAGS=-Wall
3560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3561 /* end confdefs.h. */
3564 main ()
3568 return 0;
3570 _ACEOF
3571 if ac_fn_c_try_compile "$LINENO"; then :
3572 aros_all="yes"
3573 else
3574 aros_all="no"
3576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_all" >&5
3578 $as_echo "$aros_all" >&6; }
3579 if test "x-$aros_all" = "x-yes" ; then
3580 aros_warnflags_all=-Wall
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wrestrict" >&5
3584 $as_echo_n "checking whether ${CC} accepts -Wrestrict... " >&6; }
3585 CFLAGS=-Wrestrict
3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3587 /* end confdefs.h. */
3590 main ()
3594 return 0;
3596 _ACEOF
3597 if ac_fn_c_try_compile "$LINENO"; then :
3598 aros_restrict="yes"
3599 else
3600 aros_restrict="no"
3602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_restrict" >&5
3604 $as_echo "$aros_restrict" >&6; }
3605 if test "x-$aros_restrict" = "x-yes" ; then
3606 aros_warnflags_restrict=-Wrestrict
3607 aros_nowarnflags_restrict=-Wno-restrict
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3611 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3612 CFLAGS=-Wunused-command-line-argument
3613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614 /* end confdefs.h. */
3617 main ()
3621 return 0;
3623 _ACEOF
3624 if ac_fn_c_try_compile "$LINENO"; then :
3625 aros_unused_command_line_argument="yes"
3626 else
3627 aros_unused_command_line_argument="no"
3629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3631 $as_echo "$aros_unused_command_line_argument" >&6; }
3632 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3633 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3634 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3638 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3639 CFLAGS=-Wunknown-warning-option
3640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3641 /* end confdefs.h. */
3644 main ()
3648 return 0;
3650 _ACEOF
3651 if ac_fn_c_try_compile "$LINENO"; then :
3652 aros_unknown_warning_option="yes"
3653 else
3654 aros_unknown_warning_option="no"
3656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3658 $as_echo "$aros_unknown_warning_option" >&6; }
3659 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3660 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3661 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3665 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3666 CFLAGS=-Wunused-but-set-variable
3667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3668 /* end confdefs.h. */
3671 main ()
3675 return 0;
3677 _ACEOF
3678 if ac_fn_c_try_compile "$LINENO"; then :
3679 aros_unused_but_set_variable="yes"
3680 else
3681 aros_unused_but_set_variable="no"
3683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3685 $as_echo "$aros_unused_but_set_variable" >&6; }
3686 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3687 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3688 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3692 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3693 CFLAGS=-Wstrict-aliasing
3694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3695 /* end confdefs.h. */
3698 main ()
3702 return 0;
3704 _ACEOF
3705 if ac_fn_c_try_compile "$LINENO"; then :
3706 aros_strict_aliasing="yes"
3707 else
3708 aros_strict_aliasing="no"
3710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3712 $as_echo "$aros_strict_aliasing" >&6; }
3713 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3714 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3715 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3719 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3720 CFLAGS=-Warray-bounds
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3725 main ()
3729 return 0;
3731 _ACEOF
3732 if ac_fn_c_try_compile "$LINENO"; then :
3733 aros_array_bounds="yes"
3734 else
3735 aros_array_bounds="no"
3737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3739 $as_echo "$aros_array_bounds" >&6; }
3740 if test "x-$aros_array_bounds" = "x-yes" ; then
3741 aros_warnflags_array_bounds=-Warray-bounds
3742 aros_nowarnflags_array_bounds=-Wno-array-bounds
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3746 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3747 CFLAGS=-Wenum-compare
3748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3749 /* end confdefs.h. */
3752 main ()
3756 return 0;
3758 _ACEOF
3759 if ac_fn_c_try_compile "$LINENO"; then :
3760 aros_enum_compare="yes"
3761 else
3762 aros_enum_compare="no"
3764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3766 $as_echo "$aros_enum_compare" >&6; }
3767 if test "x-$aros_enum_compare" = "x-yes" ; then
3768 aros_warnflags_enum_compare=-Wenum-compare
3769 aros_nowarnflags_enum_compare=-Wno-enum-compare
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3773 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3774 CFLAGS=-Wstrict-prototypes
3775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3776 /* end confdefs.h. */
3779 main ()
3783 return 0;
3785 _ACEOF
3786 if ac_fn_c_try_compile "$LINENO"; then :
3787 aros_strict_prototypes="yes"
3788 else
3789 aros_strict_prototypes="no"
3791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3793 $as_echo "$aros_strict_prototypes" >&6; }
3794 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3795 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3796 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3800 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3801 CFLAGS=-Wstrict-overflow
3802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803 /* end confdefs.h. */
3806 main ()
3810 return 0;
3812 _ACEOF
3813 if ac_fn_c_try_compile "$LINENO"; then :
3814 aros_strict_overflow="yes"
3815 else
3816 aros_strict_overflow="no"
3818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3820 $as_echo "$aros_strict_overflow" >&6; }
3821 if test "x-$aros_strict_overflow" = "x-yes" ; then
3822 aros_warnflags_strict_overflow=-Wstrict-overflow
3823 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3827 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3828 CFLAGS=-Wformat-security
3829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830 /* end confdefs.h. */
3833 main ()
3837 return 0;
3839 _ACEOF
3840 if ac_fn_c_try_compile "$LINENO"; then :
3841 aros_format_security="yes"
3842 else
3843 aros_format_security="no"
3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3847 $as_echo "$aros_format_security" >&6; }
3848 if test "x-$aros_format_security" = "x-yes" ; then
3849 aros_warnflags_format_security=-Wformat-security
3850 aros_nowarnflags_format_security=-Wno-format-security
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3854 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3855 CFLAGS=-Wmisleading-indentation
3856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3857 /* end confdefs.h. */
3860 main ()
3864 return 0;
3866 _ACEOF
3867 if ac_fn_c_try_compile "$LINENO"; then :
3868 aros_misleading_indentation="yes"
3869 else
3870 aros_misleading_indentation="no"
3872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3874 $as_echo "$aros_misleading_indentation" >&6; }
3875 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3876 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3877 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3881 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3882 CFLAGS=-Wnonnull-compare
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3887 main ()
3891 return 0;
3893 _ACEOF
3894 if ac_fn_c_try_compile "$LINENO"; then :
3895 aros_nonnull_compare="yes"
3896 else
3897 aros_nonnull_compare="no"
3899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3901 $as_echo "$aros_nonnull_compare" >&6; }
3902 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3903 aros_warnflags_nonnull_compare=-Wnonnull-compare
3904 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3908 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3909 CFLAGS=-Wunused
3910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3911 /* end confdefs.h. */
3914 main ()
3918 return 0;
3920 _ACEOF
3921 if ac_fn_c_try_compile "$LINENO"; then :
3922 aros_unused="yes"
3923 else
3924 aros_unused="no"
3926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3928 $as_echo "$aros_unused" >&6; }
3929 if test "x-$aros_unused" = "x-yes" ; then
3930 aros_warnflags_unused=-Wunused
3931 aros_nowarnflags_unused=-Wno-unused
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
3935 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
3936 CFLAGS=-Wunused-label
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 aros_unused_label="yes"
3950 else
3951 aros_unused_label="no"
3953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
3955 $as_echo "$aros_unused_label" >&6; }
3956 if test "x-$aros_unused_label" = "x-yes" ; then
3957 aros_warnflags_unused_label=-Wunused-label
3958 aros_nowarnflags_unused_label=-Wno-unused-label
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3962 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3963 CFLAGS=-Wunused-value
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3968 main ()
3972 return 0;
3974 _ACEOF
3975 if ac_fn_c_try_compile "$LINENO"; then :
3976 aros_unused_value="yes"
3977 else
3978 aros_unused_value="no"
3980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3982 $as_echo "$aros_unused_value" >&6; }
3983 if test "x-$aros_unused_value" = "x-yes" ; then
3984 aros_warnflags_unused_value=-Wunused-value
3985 aros_nowarnflags_unused_value=-Wno-unused-value
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3989 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3990 CFLAGS=-Wunused-variable
3991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3992 /* end confdefs.h. */
3995 main ()
3999 return 0;
4001 _ACEOF
4002 if ac_fn_c_try_compile "$LINENO"; then :
4003 aros_unused_variable="yes"
4004 else
4005 aros_unused_variable="no"
4007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
4009 $as_echo "$aros_unused_variable" >&6; }
4010 if test "x-$aros_unused_variable" = "x-yes" ; then
4011 aros_warnflags_unused_variable=-Wunused-variable
4012 aros_nowarnflags_unused_variable=-Wno-unused-variable
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
4016 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
4017 CFLAGS=-Wunused-function
4018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4019 /* end confdefs.h. */
4022 main ()
4026 return 0;
4028 _ACEOF
4029 if ac_fn_c_try_compile "$LINENO"; then :
4030 aros_unused_function="yes"
4031 else
4032 aros_unused_function="no"
4034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
4036 $as_echo "$aros_unused_function" >&6; }
4037 if test "x-$aros_unused_function" = "x-yes" ; then
4038 aros_warnflags_unused_function=-Wunused-function
4039 aros_nowarnflags_unused_function=-Wno-unused-function
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
4043 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
4044 CFLAGS=-Wunused-parameter
4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4049 main ()
4053 return 0;
4055 _ACEOF
4056 if ac_fn_c_try_compile "$LINENO"; then :
4057 aros_unused_parameter="yes"
4058 else
4059 aros_unused_parameter="no"
4061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
4063 $as_echo "$aros_unused_parameter" >&6; }
4064 if test "x-$aros_unused_parameter" = "x-yes" ; then
4065 aros_warnflags_unused_parameter=-Wunused-parameter
4066 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
4070 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
4071 CFLAGS=-Wuninitialized
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4076 main ()
4080 return 0;
4082 _ACEOF
4083 if ac_fn_c_try_compile "$LINENO"; then :
4084 aros_uninitialized="yes"
4085 else
4086 aros_uninitialized="no"
4088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
4090 $as_echo "$aros_uninitialized" >&6; }
4091 if test "x-$aros_uninitialized" = "x-yes" ; then
4092 aros_warnflags_uninitialized=-Wuninitialized
4093 aros_nowarnflags_uninitialized=-Wno-uninitialized
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
4097 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
4098 CFLAGS=-Wmaybe-uninitialized
4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4103 main ()
4107 return 0;
4109 _ACEOF
4110 if ac_fn_c_try_compile "$LINENO"; then :
4111 aros_maybe_uninitialized="yes"
4112 else
4113 aros_maybe_uninitialized="no"
4115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
4117 $as_echo "$aros_maybe_uninitialized" >&6; }
4118 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
4119 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
4120 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
4121 else
4122 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
4123 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
4127 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
4128 CFLAGS=-Wimplicit-function-declaration
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4133 main ()
4137 return 0;
4139 _ACEOF
4140 if ac_fn_c_try_compile "$LINENO"; then :
4141 aros_implicit_function_declaration="yes"
4142 else
4143 aros_implicit_function_declaration="no"
4145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
4147 $as_echo "$aros_implicit_function_declaration" >&6; }
4148 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
4149 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
4150 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
4154 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
4155 CFLAGS=-Wformat
4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4160 main ()
4164 return 0;
4166 _ACEOF
4167 if ac_fn_c_try_compile "$LINENO"; then :
4168 aros_format="yes"
4169 else
4170 aros_format="no"
4172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
4174 $as_echo "$aros_format" >&6; }
4175 if test "x-$aros_format" = "x-yes" ; then
4176 aros_warnflags_format=-Wformat
4177 aros_nowarnflags_format=-Wno-format
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
4181 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
4182 CFLAGS=-Wparentheses
4183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4184 /* end confdefs.h. */
4187 main ()
4191 return 0;
4193 _ACEOF
4194 if ac_fn_c_try_compile "$LINENO"; then :
4195 aros_parentheses="yes"
4196 else
4197 aros_parentheses="no"
4199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
4201 $as_echo "$aros_parentheses" >&6; }
4202 if test "x-$aros_parentheses" = "x-yes" ; then
4203 aros_warnflags_parentheses=-Wparentheses
4204 aros_nowarnflags_parentheses=-Wno-parentheses
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
4208 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
4209 CFLAGS=-Wchar-subscripts
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4214 main ()
4218 return 0;
4220 _ACEOF
4221 if ac_fn_c_try_compile "$LINENO"; then :
4222 aros_char_subscripts="yes"
4223 else
4224 aros_char_subscripts="no"
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
4228 $as_echo "$aros_char_subscripts" >&6; }
4229 if test "x-$aros_char_subscripts" = "x-yes" ; then
4230 aros_warnflags_char_subscripts=-Wchar-subscripts
4231 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
4235 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
4236 CFLAGS=-Wendif-labels
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4241 main ()
4245 return 0;
4247 _ACEOF
4248 if ac_fn_c_try_compile "$LINENO"; then :
4249 aros_endif_labels="yes"
4250 else
4251 aros_endif_labels="no"
4253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
4255 $as_echo "$aros_endif_labels" >&6; }
4256 if test "x-$aros_endif_labels" = "x-yes" ; then
4257 aros_warnflags_endif_labels=-Wendif-labels
4258 aros_nowarnflags_endif_labels=-Wno-endif-labels
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
4262 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
4263 CFLAGS=-Wformat-contains-nul
4264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4265 /* end confdefs.h. */
4268 main ()
4272 return 0;
4274 _ACEOF
4275 if ac_fn_c_try_compile "$LINENO"; then :
4276 aros_format_contains_nul="yes"
4277 else
4278 aros_format_contains_nul="no"
4280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
4282 $as_echo "$aros_format_contains_nul" >&6; }
4283 if test "x-$aros_format_contains_nul" = "x-yes" ; then
4284 aros_warnflags_format_contains_nul=-Wformat-contains-nul
4285 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
4289 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
4290 CFLAGS=-Wimplicit-int
4291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4292 /* end confdefs.h. */
4295 main ()
4299 return 0;
4301 _ACEOF
4302 if ac_fn_c_try_compile "$LINENO"; then :
4303 aros_implicit_int="yes"
4304 else
4305 aros_implicit_int="no"
4307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
4309 $as_echo "$aros_implicit_int" >&6; }
4310 if test "x-$aros_implicit_int" = "x-yes" ; then
4311 aros_warnflags_implicit_int=-Wimplicit-int
4312 aros_nowarnflags_implicit_int=-Wno-implicit-int
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
4316 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
4317 CFLAGS=-Waggressive-loop-optimizations
4318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4319 /* end confdefs.h. */
4322 main ()
4326 return 0;
4328 _ACEOF
4329 if ac_fn_c_try_compile "$LINENO"; then :
4330 aros_aggressive_loop_optimizations="yes"
4331 else
4332 aros_aggressive_loop_optimizations="no"
4334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
4336 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
4337 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
4338 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
4339 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
4343 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
4344 CFLAGS=-Wcpp
4345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4346 /* end confdefs.h. */
4349 main ()
4353 return 0;
4355 _ACEOF
4356 if ac_fn_c_try_compile "$LINENO"; then :
4357 aros_cpp="yes"
4358 else
4359 aros_cpp="no"
4361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
4363 $as_echo "$aros_cpp" >&6; }
4364 if test "x-$aros_cpp" = "x-yes" ; then
4365 aros_warnflags_cpp=-Wcpp
4366 aros_nowarnflags_cpp=-Wno-cpp
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
4370 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
4371 CFLAGS=-Wswitch
4372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4373 /* end confdefs.h. */
4376 main ()
4380 return 0;
4382 _ACEOF
4383 if ac_fn_c_try_compile "$LINENO"; then :
4384 aros_switch="yes"
4385 else
4386 aros_switch="no"
4388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
4390 $as_echo "$aros_switch" >&6; }
4391 if test "x-$aros_switch" = "x-yes" ; then
4392 aros_warnflags_switch=-Wswitch
4393 aros_nowarnflags_switch=-Wno-switch
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
4397 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
4398 CFLAGS=-Wdiscarded-qualifiers
4399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4400 /* end confdefs.h. */
4403 main ()
4407 return 0;
4409 _ACEOF
4410 if ac_fn_c_try_compile "$LINENO"; then :
4411 aros_discarded_qualifiers="yes"
4412 else
4413 aros_discarded_qualifiers="no"
4415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
4417 $as_echo "$aros_discarded_qualifiers" >&6; }
4418 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
4419 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
4420 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
4424 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
4425 CFLAGS=-Wsequence-point
4426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4427 /* end confdefs.h. */
4430 main ()
4434 return 0;
4436 _ACEOF
4437 if ac_fn_c_try_compile "$LINENO"; then :
4438 aros_sequence_point="yes"
4439 else
4440 aros_sequence_point="no"
4442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
4444 $as_echo "$aros_sequence_point" >&6; }
4445 if test "x-$aros_sequence_point" = "x-yes" ; then
4446 aros_warnflags_sequence_point=-Wsequence-point
4447 aros_nowarnflags_sequence_point=-Wno-sequence-point
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
4451 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
4452 CFLAGS=-Wunknown-pragmas
4453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4454 /* end confdefs.h. */
4457 main ()
4461 return 0;
4463 _ACEOF
4464 if ac_fn_c_try_compile "$LINENO"; then :
4465 aros_unknown_pragmas="yes"
4466 else
4467 aros_unknown_pragmas="no"
4469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
4471 $as_echo "$aros_unknown_pragmas" >&6; }
4472 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
4473 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
4474 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
4478 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
4479 CFLAGS=-Wdiscarded-array-qualifiers
4480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h. */
4484 main ()
4488 return 0;
4490 _ACEOF
4491 if ac_fn_c_try_compile "$LINENO"; then :
4492 aros_discarded_array_qualifiers="yes"
4493 else
4494 aros_discarded_array_qualifiers="no"
4496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
4498 $as_echo "$aros_discarded_array_qualifiers" >&6; }
4499 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
4500 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
4501 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4505 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4506 CFLAGS=-Wint-conversion
4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4511 main ()
4515 return 0;
4517 _ACEOF
4518 if ac_fn_c_try_compile "$LINENO"; then :
4519 aros_int_conversion="yes"
4520 else
4521 aros_int_conversion="no"
4523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4525 $as_echo "$aros_int_conversion" >&6; }
4526 if test "x-$aros_int_conversion" = "x-yes" ; then
4527 aros_warnflags_int_conversion=-Wint-conversion
4528 aros_nowarnflags_int_conversion=-Wno-int-conversion
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
4532 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
4533 CFLAGS=-Wint-to-pointer-cast
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h. */
4538 main ()
4542 return 0;
4544 _ACEOF
4545 if ac_fn_c_try_compile "$LINENO"; then :
4546 aros_int_to_pointer_cast="yes"
4547 else
4548 aros_int_to_pointer_cast="no"
4550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
4552 $as_echo "$aros_int_to_pointer_cast" >&6; }
4553 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
4554 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
4555 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
4559 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
4560 CFLAGS=-Wpointer-to-int-cast
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4565 main ()
4569 return 0;
4571 _ACEOF
4572 if ac_fn_c_try_compile "$LINENO"; then :
4573 aros_pointer_to_int_cast="yes"
4574 else
4575 aros_pointer_to_int_cast="no"
4577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
4579 $as_echo "$aros_pointer_to_int_cast" >&6; }
4580 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
4581 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
4582 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
4586 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
4587 CFLAGS=-Wunused-const-variable
4588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4589 /* end confdefs.h. */
4592 main ()
4596 return 0;
4598 _ACEOF
4599 if ac_fn_c_try_compile "$LINENO"; then :
4600 aros_unused_const_variable="yes"
4601 else
4602 aros_unused_const_variable="no"
4604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
4606 $as_echo "$aros_unused_const_variable" >&6; }
4607 if test "x-$aros_unused_const_variable" = "x-yes" ; then
4608 aros_warnflags_unused_const_variable=-Wunused-const-variable
4609 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
4613 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
4614 CFLAGS=-Wwrite-strings
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4619 main ()
4623 return 0;
4625 _ACEOF
4626 if ac_fn_c_try_compile "$LINENO"; then :
4627 aros_write_strings="yes"
4628 else
4629 aros_write_strings="no"
4631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4633 $as_echo "$aros_write_strings" >&6; }
4634 if test "x-$aros_write_strings" = "x-yes" ; then
4635 aros_warnflags_write_strings=-Wwrite-strings
4636 aros_nowarnflags_write_strings=-Wno-write-strings
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4640 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4641 CFLAGS=-Wcomment
4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4646 main ()
4650 return 0;
4652 _ACEOF
4653 if ac_fn_c_try_compile "$LINENO"; then :
4654 aros_comment="yes"
4655 else
4656 aros_comment="no"
4658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4660 $as_echo "$aros_comment" >&6; }
4661 if test "x-$aros_comment" = "x-yes" ; then
4662 aros_warnflags_comment=-Wcomment
4663 aros_nowarnflags_comment=-Wno-comment
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4667 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4668 CFLAGS=-Wincompatible-pointer-types
4669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4670 /* end confdefs.h. */
4673 main ()
4677 return 0;
4679 _ACEOF
4680 if ac_fn_c_try_compile "$LINENO"; then :
4681 aros_incompatible_pointer_types="yes"
4682 else
4683 aros_incompatible_pointer_types="no"
4685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4687 $as_echo "$aros_incompatible_pointer_types" >&6; }
4688 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4689 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4690 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4694 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4695 CFLAGS=-Wbool-compare
4696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4697 /* end confdefs.h. */
4700 main ()
4704 return 0;
4706 _ACEOF
4707 if ac_fn_c_try_compile "$LINENO"; then :
4708 aros_bool_compare="yes"
4709 else
4710 aros_bool_compare="no"
4712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4714 $as_echo "$aros_bool_compare" >&6; }
4715 if test "x-$aros_bool_compare" = "x-yes" ; then
4716 aros_warnflags_bool_compare=-Wbool-compare
4717 aros_nowarnflags_bool_compare=-Wno-bool-compare
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4721 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4722 CFLAGS=-Wlogical-not-parentheses
4723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4724 /* end confdefs.h. */
4727 main ()
4731 return 0;
4733 _ACEOF
4734 if ac_fn_c_try_compile "$LINENO"; then :
4735 aros_logical_not_parentheses="yes"
4736 else
4737 aros_logical_not_parentheses="no"
4739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4741 $as_echo "$aros_logical_not_parentheses" >&6; }
4742 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4743 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4744 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4748 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4749 CFLAGS=-Wpointer-sign
4750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4751 /* end confdefs.h. */
4754 main ()
4758 return 0;
4760 _ACEOF
4761 if ac_fn_c_try_compile "$LINENO"; then :
4762 aros_pointer_sign="yes"
4763 else
4764 aros_pointer_sign="no"
4766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4768 $as_echo "$aros_pointer_sign" >&6; }
4769 if test "x-$aros_pointer_sign" = "x-yes" ; then
4770 aros_warnflags_pointer_sign=-Wpointer-sign
4771 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4775 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4776 CFLAGS=-Wshift-overflow
4777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4778 /* end confdefs.h. */
4781 main ()
4785 return 0;
4787 _ACEOF
4788 if ac_fn_c_try_compile "$LINENO"; then :
4789 aros_shift_overflow="yes"
4790 else
4791 aros_shift_overflow="no"
4793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4795 $as_echo "$aros_shift_overflow" >&6; }
4796 if test "x-$aros_shift_overflow" = "x-yes" ; then
4797 aros_warnflags_shift_overflow=-Wshift-overflow
4798 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4802 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4803 CFLAGS=-Wframe-address
4804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4805 /* end confdefs.h. */
4808 main ()
4812 return 0;
4814 _ACEOF
4815 if ac_fn_c_try_compile "$LINENO"; then :
4816 aros_frame_address="yes"
4817 else
4818 aros_frame_address="no"
4820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4822 $as_echo "$aros_frame_address" >&6; }
4823 if test "x-$aros_frame_address" = "x-yes" ; then
4824 aros_warnflags_frame_address=-Wframe-address
4825 aros_nowarnflags_frame_address=-Wno-frame-address
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4829 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4830 CFLAGS=-Wdeprecated-declarations
4831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4832 /* end confdefs.h. */
4835 main ()
4839 return 0;
4841 _ACEOF
4842 if ac_fn_c_try_compile "$LINENO"; then :
4843 aros_deprecated_declarations="yes"
4844 else
4845 aros_deprecated_declarations="no"
4847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4849 $as_echo "$aros_deprecated_declarations" >&6; }
4850 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4851 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4852 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4856 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4857 CFLAGS=-Wsign-compare
4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4859 /* end confdefs.h. */
4862 main ()
4866 return 0;
4868 _ACEOF
4869 if ac_fn_c_try_compile "$LINENO"; then :
4870 aros_sign_compare="yes"
4871 else
4872 aros_sign_compare="no"
4874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4876 $as_echo "$aros_sign_compare" >&6; }
4877 if test "x-$aros_sign_compare" = "x-yes" ; then
4878 aros_warnflags_sign_compare=-Wsign-compare
4879 aros_nowarnflags_sign_compare=-Wno-sign-compare
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4883 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4884 CFLAGS=-Wattributes
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4889 main ()
4893 return 0;
4895 _ACEOF
4896 if ac_fn_c_try_compile "$LINENO"; then :
4897 aros_attributes="yes"
4898 else
4899 aros_attributes="no"
4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4903 $as_echo "$aros_attributes" >&6; }
4904 if test "x-$aros_attributes" = "x-yes" ; then
4905 aros_warnflags_attributes=-Wattributes
4906 aros_nowarnflags_attributes=-Wno-attributes
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4910 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4911 CFLAGS=-Woverflow
4912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4913 /* end confdefs.h. */
4916 main ()
4920 return 0;
4922 _ACEOF
4923 if ac_fn_c_try_compile "$LINENO"; then :
4924 aros_overflow="yes"
4925 else
4926 aros_overflow="no"
4928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4930 $as_echo "$aros_overflow" >&6; }
4931 if test "x-$aros_overflow" = "x-yes" ; then
4932 aros_warnflags_overflow=-Woverflow
4933 aros_nowarnflags_overflow=-Wno-overflow
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4937 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4938 CFLAGS=-Wunused-local-typedefs
4939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4940 /* end confdefs.h. */
4943 main ()
4947 return 0;
4949 _ACEOF
4950 if ac_fn_c_try_compile "$LINENO"; then :
4951 aros_unused_local_typedefs="yes"
4952 else
4953 aros_unused_local_typedefs="no"
4955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4957 $as_echo "$aros_unused_local_typedefs" >&6; }
4958 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4959 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4960 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4964 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4965 CFLAGS=-Wmissing-braces
4966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4967 /* end confdefs.h. */
4970 main ()
4974 return 0;
4976 _ACEOF
4977 if ac_fn_c_try_compile "$LINENO"; then :
4978 aros_missing_braces="yes"
4979 else
4980 aros_missing_braces="no"
4982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4984 $as_echo "$aros_missing_braces" >&6; }
4985 if test "x-$aros_missing_braces" = "x-yes" ; then
4986 aros_warnflags_missing_braces=-Wmissing-braces
4987 aros_nowarnflags_missing_braces=-Wno-missing-braces
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4991 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4992 CFLAGS=-Wconversion-null
4993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
4997 main ()
5001 return 0;
5003 _ACEOF
5004 if ac_fn_c_try_compile "$LINENO"; then :
5005 aros_conversion_null="yes"
5006 else
5007 aros_conversion_null="no"
5009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
5011 $as_echo "$aros_conversion_null" >&6; }
5012 if test "x-$aros_conversion_null" = "x-yes" ; then
5013 aros_warnflags_conversion_null=-Wconversion-null
5014 aros_nowarnflags_conversion_null=-Wno-conversion-null
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
5018 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
5019 CFLAGS=-Wnarrowing
5020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5021 /* end confdefs.h. */
5024 main ()
5028 return 0;
5030 _ACEOF
5031 if ac_fn_c_try_compile "$LINENO"; then :
5032 aros_narrowing="yes"
5033 else
5034 aros_narrowing="no"
5036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
5038 $as_echo "$aros_narrowing" >&6; }
5039 if test "x-$aros_narrowing" = "x-yes" ; then
5040 aros_warnflags_narrowing=-Wnarrowing
5041 aros_nowarnflags_narrowing=-Wno-narrowing
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
5045 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
5046 CFLAGS=-Wvolatile-register-var
5047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5048 /* end confdefs.h. */
5051 main ()
5055 return 0;
5057 _ACEOF
5058 if ac_fn_c_try_compile "$LINENO"; then :
5059 aros_volatile_register_var="yes"
5060 else
5061 aros_volatile_register_var="no"
5063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
5065 $as_echo "$aros_volatile_register_var" >&6; }
5066 if test "x-$aros_volatile_register_var" = "x-yes" ; then
5067 aros_warnflags_volatile_register_var=-Wvolatile-register-var
5068 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
5072 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
5073 CFLAGS=-Wsizeof-pointer-memaccess
5074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5075 /* end confdefs.h. */
5078 main ()
5082 return 0;
5084 _ACEOF
5085 if ac_fn_c_try_compile "$LINENO"; then :
5086 aros_sizeof_pointer_memaccess="yes"
5087 else
5088 aros_sizeof_pointer_memaccess="no"
5090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
5092 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
5093 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
5094 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
5095 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
5099 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
5100 CFLAGS=-Wreturn-type
5101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5102 /* end confdefs.h. */
5105 main ()
5109 return 0;
5111 _ACEOF
5112 if ac_fn_c_try_compile "$LINENO"; then :
5113 aros_return_type="yes"
5114 else
5115 aros_return_type="no"
5117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
5119 $as_echo "$aros_return_type" >&6; }
5120 if test "x-$aros_return_type" = "x-yes" ; then
5121 aros_warnflags_return_type=-Wreturn-type
5122 aros_nowarnflags_return_type=-Wno-return-type
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
5126 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
5127 CFLAGS=-Wformat-zero-length
5128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5129 /* end confdefs.h. */
5132 main ()
5136 return 0;
5138 _ACEOF
5139 if ac_fn_c_try_compile "$LINENO"; then :
5140 aros_format_zero_length="yes"
5141 else
5142 aros_format_zero_length="no"
5144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
5146 $as_echo "$aros_format_zero_length" >&6; }
5147 if test "x-$aros_format_zero_length" = "x-yes" ; then
5148 aros_warnflags_format_zero_length=-Wformat-zero-length
5149 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
5153 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
5154 CFLAGS=-Wlto-type-mismatch
5155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5156 /* end confdefs.h. */
5159 main ()
5163 return 0;
5165 _ACEOF
5166 if ac_fn_c_try_compile "$LINENO"; then :
5167 aros_lto_type_mismatch="yes"
5168 else
5169 aros_lto_type_mismatch="no"
5171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
5173 $as_echo "$aros_lto_type_mismatch" >&6; }
5174 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
5175 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
5176 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
5180 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
5181 CFLAGS=-Wtautological-compare
5182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5183 /* end confdefs.h. */
5186 main ()
5190 return 0;
5192 _ACEOF
5193 if ac_fn_c_try_compile "$LINENO"; then :
5194 aros_tautological_compare="yes"
5195 else
5196 aros_tautological_compare="no"
5198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
5200 $as_echo "$aros_tautological_compare" >&6; }
5201 if test "x-$aros_tautological_compare" = "x-yes" ; then
5202 aros_warnflags_tautological_compare=-Wtautological-compare
5203 aros_nowarnflags_tautological_compare=-Wno-tautological-compare
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
5207 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
5208 CFLAGS=-Wempty-body
5209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5210 /* end confdefs.h. */
5213 main ()
5217 return 0;
5219 _ACEOF
5220 if ac_fn_c_try_compile "$LINENO"; then :
5221 aros_empty_body="yes"
5222 else
5223 aros_empty_body="no"
5225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
5227 $as_echo "$aros_empty_body" >&6; }
5228 if test "x-$aros_empty_body" = "x-yes" ; then
5229 aros_warnflags_empty_body=-Wempty-body
5230 aros_nowarnflags_empty_body=-Wno-empty-body
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-overflow" >&5
5234 $as_echo_n "checking whether ${CC} accepts -Wformat-overflow... " >&6; }
5235 CFLAGS=-Wformat-overflow
5236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5237 /* end confdefs.h. */
5240 main ()
5244 return 0;
5246 _ACEOF
5247 if ac_fn_c_try_compile "$LINENO"; then :
5248 aros_format_overflow="yes"
5249 else
5250 aros_format_overflow="no"
5252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_overflow" >&5
5254 $as_echo "$aros_format_overflow" >&6; }
5255 if test "x-$aros_format_overflow" = "x-yes" ; then
5256 aros_warnflags_format_overflow=-Wformat-overflow
5257 aros_nowarnflags_format_overflow=-Wno-format-overflow
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-overflow" >&5
5261 $as_echo_n "checking whether ${CC} accepts -Wstringop-overflow... " >&6; }
5262 CFLAGS=-Wstringop-overflow
5263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5264 /* end confdefs.h. */
5267 main ()
5271 return 0;
5273 _ACEOF
5274 if ac_fn_c_try_compile "$LINENO"; then :
5275 aros_stringop_overflow="yes"
5276 else
5277 aros_stringop_overflow="no"
5279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_overflow" >&5
5281 $as_echo "$aros_stringop_overflow" >&6; }
5282 if test "x-$aros_stringop_overflow" = "x-yes" ; then
5283 aros_warnflags_stringop_overflow=-Wstringop-overflow
5284 aros_nowarnflags_stringop_overflow=-Wno-stringop-overflow
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-truncation" >&5
5288 $as_echo_n "checking whether ${CC} accepts -Wformat-truncation... " >&6; }
5289 CFLAGS=-Wformat-truncation
5290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5291 /* end confdefs.h. */
5294 main ()
5298 return 0;
5300 _ACEOF
5301 if ac_fn_c_try_compile "$LINENO"; then :
5302 aros_format_truncation="yes"
5303 else
5304 aros_format_truncation="no"
5306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_truncation" >&5
5308 $as_echo "$aros_format_truncation" >&6; }
5309 if test "x-$aros_format_truncation" = "x-yes" ; then
5310 aros_warnflags_format_truncation=-Wformat-truncation
5311 aros_nowarnflags_format_truncation=-Wno-format-truncation
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-truncation" >&5
5315 $as_echo_n "checking whether ${CC} accepts -Wstringop-truncation... " >&6; }
5316 CFLAGS=-Wstringop-truncation
5317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5318 /* end confdefs.h. */
5321 main ()
5325 return 0;
5327 _ACEOF
5328 if ac_fn_c_try_compile "$LINENO"; then :
5329 aros_stringop_truncation="yes"
5330 else
5331 aros_stringop_truncation="no"
5333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_truncation" >&5
5335 $as_echo "$aros_stringop_truncation" >&6; }
5336 if test "x-$aros_stringop_truncation" = "x-yes" ; then
5337 aros_warnflags_stringop_truncation=-Wstringop-truncation
5338 aros_nowarnflags_stringop_truncation=-Wno-stringop-truncation
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-negative-value" >&5
5342 $as_echo_n "checking whether ${CC} accepts -Wshift-negative-value... " >&6; }
5343 CFLAGS=-Wshift-negative-value
5344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5345 /* end confdefs.h. */
5348 main ()
5352 return 0;
5354 _ACEOF
5355 if ac_fn_c_try_compile "$LINENO"; then :
5356 aros_shift_negative_value="yes"
5357 else
5358 aros_shift_negative_value="no"
5360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_negative_value" >&5
5362 $as_echo "$aros_shift_negative_value" >&6; }
5363 if test "x-$aros_shift_negative_value" = "x-yes" ; then
5364 aros_warnflags_shift_negative_value=-Wshift-negative-value
5365 aros_nowarnflags_shift_negative_value=-Wno-shift-negative-value
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-field-initializers" >&5
5369 $as_echo_n "checking whether ${CC} accepts -Wmissing-field-initializers... " >&6; }
5370 CFLAGS=-Wmissing-field-initializers
5371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5372 /* end confdefs.h. */
5375 main ()
5379 return 0;
5381 _ACEOF
5382 if ac_fn_c_try_compile "$LINENO"; then :
5383 aros_missing_field_initializers="yes"
5384 else
5385 aros_missing_field_initializers="no"
5387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_field_initializers" >&5
5389 $as_echo "$aros_missing_field_initializers" >&6; }
5390 if test "x-$aros_missing_field_initializers" = "x-yes" ; then
5391 aros_warnflags_missing_field_initializers=-Wmissing-field-initializers
5392 aros_nowarnflags_missing_field_initializers=-Wno-missing-field-initializers
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-fallthrough" >&5
5396 $as_echo_n "checking whether ${CC} accepts -Wimplicit-fallthrough... " >&6; }
5397 CFLAGS=-Wimplicit-fallthrough
5398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5399 /* end confdefs.h. */
5402 main ()
5406 return 0;
5408 _ACEOF
5409 if ac_fn_c_try_compile "$LINENO"; then :
5410 aros_implicit_fallthrough="yes"
5411 else
5412 aros_implicit_fallthrough="no"
5414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_fallthrough" >&5
5416 $as_echo "$aros_implicit_fallthrough" >&6; }
5417 if test "x-$aros_implicit_fallthrough" = "x-yes" ; then
5418 aros_warnflags_implicit_fallthrough=-Wimplicit-fallthrough
5419 aros_nowarnflags_implicit_fallthrough=-Wno-implicit-fallthrough
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-prototypes" >&5
5423 $as_echo_n "checking whether ${CC} accepts -Wmissing-prototypes... " >&6; }
5424 CFLAGS=-Wmissing-prototypes
5425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5426 /* end confdefs.h. */
5429 main ()
5433 return 0;
5435 _ACEOF
5436 if ac_fn_c_try_compile "$LINENO"; then :
5437 aros_missing_prototypes="yes"
5438 else
5439 aros_missing_prototypes="no"
5441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_prototypes" >&5
5443 $as_echo "$aros_missing_prototypes" >&6; }
5444 if test "x-$aros_missing_prototypes" = "x-yes" ; then
5445 aros_warnflags_missing_prototypes=-Wmissing-prototypes
5446 aros_nowarnflags_missing_prototypes=-Wno-missing-prototypes
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wclass-memaccess" >&5
5450 $as_echo_n "checking whether ${CC} accepts -Wclass-memaccess... " >&6; }
5451 CFLAGS=-Wclass-memaccess
5452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h. */
5456 main ()
5460 return 0;
5462 _ACEOF
5463 if ac_fn_c_try_compile "$LINENO"; then :
5464 aros_class_memaccess="yes"
5465 else
5466 aros_class_memaccess="no"
5468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_class_memaccess" >&5
5470 $as_echo "$aros_class_memaccess" >&6; }
5471 if test "x-$aros_class_memaccess" = "x-yes" ; then
5472 aros_warnflags_class_memaccess=-Wclass-memaccess
5473 aros_nowarnflags_class_memaccess=-Wno-class-memaccess
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-in-bool-context" >&5
5477 $as_echo_n "checking whether ${CC} accepts -Wint-in-bool-context... " >&6; }
5478 CFLAGS=-Wint-in-bool-context
5479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5480 /* end confdefs.h. */
5483 main ()
5487 return 0;
5489 _ACEOF
5490 if ac_fn_c_try_compile "$LINENO"; then :
5491 aros_int_in_bool_context="yes"
5492 else
5493 aros_int_in_bool_context="no"
5495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_in_bool_context" >&5
5497 $as_echo "$aros_int_in_bool_context" >&6; }
5498 if test "x-$aros_int_in_bool_context" = "x-yes" ; then
5499 aros_warnflags_int_in_bool_context=-Wint-in-bool-context
5500 aros_nowarnflags_int_in_bool_context=-Wno-int-in-bool-context
5504 # export the feature flags...
5554 # export the feature options...
5559 # ...and warning flags...
5707 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
5710 cat >confcache <<\_ACEOF
5711 # This file is a shell script that caches the results of configure
5712 # tests run on this system so they can be shared between configure
5713 # scripts and configure runs, see configure's option --config-cache.
5714 # It is not useful on other systems. If it contains results you don't
5715 # want to keep, you may remove or edit it.
5717 # config.status only pays attention to the cache file if you give it
5718 # the --recheck option to rerun configure.
5720 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5721 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5722 # following values.
5724 _ACEOF
5726 # The following way of writing the cache mishandles newlines in values,
5727 # but we know of no workaround that is simple, portable, and efficient.
5728 # So, we kill variables containing newlines.
5729 # Ultrix sh set writes to stderr and can't be redirected directly,
5730 # and sets the high bit in the cache file unless we assign to the vars.
5732 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5733 eval ac_val=\$$ac_var
5734 case $ac_val in #(
5735 *${as_nl}*)
5736 case $ac_var in #(
5737 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5738 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5739 esac
5740 case $ac_var in #(
5741 _ | IFS | as_nl) ;; #(
5742 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5743 *) { eval $ac_var=; unset $ac_var;} ;;
5744 esac ;;
5745 esac
5746 done
5748 (set) 2>&1 |
5749 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5750 *${as_nl}ac_space=\ *)
5751 # `set' does not quote correctly, so add quotes: double-quote
5752 # substitution turns \\\\ into \\, and sed turns \\ into \.
5753 sed -n \
5754 "s/'/'\\\\''/g;
5755 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5756 ;; #(
5758 # `set' quotes correctly as required by POSIX, so do not add quotes.
5759 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5761 esac |
5762 sort
5764 sed '
5765 /^ac_cv_env_/b end
5766 t clear
5767 :clear
5768 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5769 t end
5770 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5771 :end' >>confcache
5772 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5773 if test -w "$cache_file"; then
5774 if test "x$cache_file" != "x/dev/null"; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5776 $as_echo "$as_me: updating cache $cache_file" >&6;}
5777 if test ! -f "$cache_file" || test -h "$cache_file"; then
5778 cat confcache >"$cache_file"
5779 else
5780 case $cache_file in #(
5781 */* | ?:*)
5782 mv -f confcache "$cache_file"$$ &&
5783 mv -f "$cache_file"$$ "$cache_file" ;; #(
5785 mv -f confcache "$cache_file" ;;
5786 esac
5789 else
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5791 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5794 rm -f confcache
5796 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5797 # Let make expand exec_prefix.
5798 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5800 # Transform confdefs.h into DEFS.
5801 # Protect against shell expansion while executing Makefile rules.
5802 # Protect against Makefile macro expansion.
5804 # If the first sed substitution is executed (which looks for macros that
5805 # take arguments), then branch to the quote section. Otherwise,
5806 # look for a macro that doesn't take arguments.
5807 ac_script='
5808 :mline
5809 /\\$/{
5811 s,\\\n,,
5812 b mline
5814 t clear
5815 :clear
5816 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5817 t quote
5818 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5819 t quote
5820 b any
5821 :quote
5822 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5823 s/\[/\\&/g
5824 s/\]/\\&/g
5825 s/\$/$$/g
5827 :any
5830 s/^\n//
5831 s/\n/ /g
5835 DEFS=`sed -n "$ac_script" confdefs.h`
5838 ac_libobjs=
5839 ac_ltlibobjs=
5841 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5842 # 1. Remove the extension, and $U if already installed.
5843 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5844 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5845 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5846 # will be set to the directory where LIBOBJS objects are built.
5847 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5848 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5849 done
5850 LIBOBJS=$ac_libobjs
5852 LTLIBOBJS=$ac_ltlibobjs
5856 : "${CONFIG_STATUS=./config.status}"
5857 ac_write_fail=0
5858 ac_clean_files_save=$ac_clean_files
5859 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5861 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5862 as_write_fail=0
5863 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5864 #! $SHELL
5865 # Generated by $as_me.
5866 # Run this file to recreate the current configuration.
5867 # Compiler output produced by configure, useful for debugging
5868 # configure, is in config.log if it exists.
5870 debug=false
5871 ac_cs_recheck=false
5872 ac_cs_silent=false
5874 SHELL=\${CONFIG_SHELL-$SHELL}
5875 export SHELL
5876 _ASEOF
5877 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5878 ## -------------------- ##
5879 ## M4sh Initialization. ##
5880 ## -------------------- ##
5882 # Be more Bourne compatible
5883 DUALCASE=1; export DUALCASE # for MKS sh
5884 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5885 emulate sh
5886 NULLCMD=:
5887 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5888 # is contrary to our usage. Disable this feature.
5889 alias -g '${1+"$@"}'='"$@"'
5890 setopt NO_GLOB_SUBST
5891 else
5892 case `(set -o) 2>/dev/null` in #(
5893 *posix*) :
5894 set -o posix ;; #(
5895 *) :
5897 esac
5901 as_nl='
5903 export as_nl
5904 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5905 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5906 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5907 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5908 # Prefer a ksh shell builtin over an external printf program on Solaris,
5909 # but without wasting forks for bash or zsh.
5910 if test -z "$BASH_VERSION$ZSH_VERSION" \
5911 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5912 as_echo='print -r --'
5913 as_echo_n='print -rn --'
5914 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5915 as_echo='printf %s\n'
5916 as_echo_n='printf %s'
5917 else
5918 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5919 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5920 as_echo_n='/usr/ucb/echo -n'
5921 else
5922 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5923 as_echo_n_body='eval
5924 arg=$1;
5925 case $arg in #(
5926 *"$as_nl"*)
5927 expr "X$arg" : "X\\(.*\\)$as_nl";
5928 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5929 esac;
5930 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5932 export as_echo_n_body
5933 as_echo_n='sh -c $as_echo_n_body as_echo'
5935 export as_echo_body
5936 as_echo='sh -c $as_echo_body as_echo'
5939 # The user is always right.
5940 if test "${PATH_SEPARATOR+set}" != set; then
5941 PATH_SEPARATOR=:
5942 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5943 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5944 PATH_SEPARATOR=';'
5949 # IFS
5950 # We need space, tab and new line, in precisely that order. Quoting is
5951 # there to prevent editors from complaining about space-tab.
5952 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5953 # splitting by setting IFS to empty value.)
5954 IFS=" "" $as_nl"
5956 # Find who we are. Look in the path if we contain no directory separator.
5957 as_myself=
5958 case $0 in #((
5959 *[\\/]* ) as_myself=$0 ;;
5960 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 for as_dir in $PATH
5963 IFS=$as_save_IFS
5964 test -z "$as_dir" && as_dir=.
5965 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5966 done
5967 IFS=$as_save_IFS
5970 esac
5971 # We did not find ourselves, most probably we were run as `sh COMMAND'
5972 # in which case we are not to be found in the path.
5973 if test "x$as_myself" = x; then
5974 as_myself=$0
5976 if test ! -f "$as_myself"; then
5977 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5978 exit 1
5981 # Unset variables that we do not need and which cause bugs (e.g. in
5982 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5983 # suppresses any "Segmentation fault" message there. '((' could
5984 # trigger a bug in pdksh 5.2.14.
5985 for as_var in BASH_ENV ENV MAIL MAILPATH
5986 do eval test x\${$as_var+set} = xset \
5987 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5988 done
5989 PS1='$ '
5990 PS2='> '
5991 PS4='+ '
5993 # NLS nuisances.
5994 LC_ALL=C
5995 export LC_ALL
5996 LANGUAGE=C
5997 export LANGUAGE
5999 # CDPATH.
6000 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6003 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6004 # ----------------------------------------
6005 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6006 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6007 # script with STATUS, using 1 if that was 0.
6008 as_fn_error ()
6010 as_status=$1; test $as_status -eq 0 && as_status=1
6011 if test "$4"; then
6012 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6013 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6015 $as_echo "$as_me: error: $2" >&2
6016 as_fn_exit $as_status
6017 } # as_fn_error
6020 # as_fn_set_status STATUS
6021 # -----------------------
6022 # Set $? to STATUS, without forking.
6023 as_fn_set_status ()
6025 return $1
6026 } # as_fn_set_status
6028 # as_fn_exit STATUS
6029 # -----------------
6030 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6031 as_fn_exit ()
6033 set +e
6034 as_fn_set_status $1
6035 exit $1
6036 } # as_fn_exit
6038 # as_fn_unset VAR
6039 # ---------------
6040 # Portably unset VAR.
6041 as_fn_unset ()
6043 { eval $1=; unset $1;}
6045 as_unset=as_fn_unset
6046 # as_fn_append VAR VALUE
6047 # ----------------------
6048 # Append the text in VALUE to the end of the definition contained in VAR. Take
6049 # advantage of any shell optimizations that allow amortized linear growth over
6050 # repeated appends, instead of the typical quadratic growth present in naive
6051 # implementations.
6052 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6053 eval 'as_fn_append ()
6055 eval $1+=\$2
6057 else
6058 as_fn_append ()
6060 eval $1=\$$1\$2
6062 fi # as_fn_append
6064 # as_fn_arith ARG...
6065 # ------------------
6066 # Perform arithmetic evaluation on the ARGs, and store the result in the
6067 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6068 # must be portable across $(()) and expr.
6069 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6070 eval 'as_fn_arith ()
6072 as_val=$(( $* ))
6074 else
6075 as_fn_arith ()
6077 as_val=`expr "$@" || test $? -eq 1`
6079 fi # as_fn_arith
6082 if expr a : '\(a\)' >/dev/null 2>&1 &&
6083 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6084 as_expr=expr
6085 else
6086 as_expr=false
6089 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6090 as_basename=basename
6091 else
6092 as_basename=false
6095 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6096 as_dirname=dirname
6097 else
6098 as_dirname=false
6101 as_me=`$as_basename -- "$0" ||
6102 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6103 X"$0" : 'X\(//\)$' \| \
6104 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6105 $as_echo X/"$0" |
6106 sed '/^.*\/\([^/][^/]*\)\/*$/{
6107 s//\1/
6110 /^X\/\(\/\/\)$/{
6111 s//\1/
6114 /^X\/\(\/\).*/{
6115 s//\1/
6118 s/.*/./; q'`
6120 # Avoid depending upon Character Ranges.
6121 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6122 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6123 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6124 as_cr_digits='0123456789'
6125 as_cr_alnum=$as_cr_Letters$as_cr_digits
6127 ECHO_C= ECHO_N= ECHO_T=
6128 case `echo -n x` in #(((((
6129 -n*)
6130 case `echo 'xy\c'` in
6131 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6132 xy) ECHO_C='\c';;
6133 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6134 ECHO_T=' ';;
6135 esac;;
6137 ECHO_N='-n';;
6138 esac
6140 rm -f conf$$ conf$$.exe conf$$.file
6141 if test -d conf$$.dir; then
6142 rm -f conf$$.dir/conf$$.file
6143 else
6144 rm -f conf$$.dir
6145 mkdir conf$$.dir 2>/dev/null
6147 if (echo >conf$$.file) 2>/dev/null; then
6148 if ln -s conf$$.file conf$$ 2>/dev/null; then
6149 as_ln_s='ln -s'
6150 # ... but there are two gotchas:
6151 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6152 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6153 # In both cases, we have to default to `cp -pR'.
6154 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6155 as_ln_s='cp -pR'
6156 elif ln conf$$.file conf$$ 2>/dev/null; then
6157 as_ln_s=ln
6158 else
6159 as_ln_s='cp -pR'
6161 else
6162 as_ln_s='cp -pR'
6164 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6165 rmdir conf$$.dir 2>/dev/null
6168 # as_fn_mkdir_p
6169 # -------------
6170 # Create "$as_dir" as a directory, including parents if necessary.
6171 as_fn_mkdir_p ()
6174 case $as_dir in #(
6175 -*) as_dir=./$as_dir;;
6176 esac
6177 test -d "$as_dir" || eval $as_mkdir_p || {
6178 as_dirs=
6179 while :; do
6180 case $as_dir in #(
6181 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6182 *) as_qdir=$as_dir;;
6183 esac
6184 as_dirs="'$as_qdir' $as_dirs"
6185 as_dir=`$as_dirname -- "$as_dir" ||
6186 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6187 X"$as_dir" : 'X\(//\)[^/]' \| \
6188 X"$as_dir" : 'X\(//\)$' \| \
6189 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6190 $as_echo X"$as_dir" |
6191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6192 s//\1/
6195 /^X\(\/\/\)[^/].*/{
6196 s//\1/
6199 /^X\(\/\/\)$/{
6200 s//\1/
6203 /^X\(\/\).*/{
6204 s//\1/
6207 s/.*/./; q'`
6208 test -d "$as_dir" && break
6209 done
6210 test -z "$as_dirs" || eval "mkdir $as_dirs"
6211 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6214 } # as_fn_mkdir_p
6215 if mkdir -p . 2>/dev/null; then
6216 as_mkdir_p='mkdir -p "$as_dir"'
6217 else
6218 test -d ./-p && rmdir ./-p
6219 as_mkdir_p=false
6223 # as_fn_executable_p FILE
6224 # -----------------------
6225 # Test if FILE is an executable regular file.
6226 as_fn_executable_p ()
6228 test -f "$1" && test -x "$1"
6229 } # as_fn_executable_p
6230 as_test_x='test -x'
6231 as_executable_p=as_fn_executable_p
6233 # Sed expression to map a string onto a valid CPP name.
6234 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6236 # Sed expression to map a string onto a valid variable name.
6237 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6240 exec 6>&1
6241 ## ----------------------------------- ##
6242 ## Main body of $CONFIG_STATUS script. ##
6243 ## ----------------------------------- ##
6244 _ASEOF
6245 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6248 # Save the log message, to keep $0 and so on meaningful, and to
6249 # report actual input values of CONFIG_FILES etc. instead of their
6250 # values after options handling.
6251 ac_log="
6252 This file was extended by $as_me, which was
6253 generated by GNU Autoconf 2.69. Invocation command line was
6255 CONFIG_FILES = $CONFIG_FILES
6256 CONFIG_HEADERS = $CONFIG_HEADERS
6257 CONFIG_LINKS = $CONFIG_LINKS
6258 CONFIG_COMMANDS = $CONFIG_COMMANDS
6259 $ $0 $@
6261 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6264 _ACEOF
6266 case $ac_config_files in *"
6267 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6268 esac
6272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6273 # Files that config.status was made for.
6274 config_files="$ac_config_files"
6276 _ACEOF
6278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6279 ac_cs_usage="\
6280 \`$as_me' instantiates files and other configuration actions
6281 from templates according to the current configuration. Unless the files
6282 and actions are specified as TAGs, all are instantiated by default.
6284 Usage: $0 [OPTION]... [TAG]...
6286 -h, --help print this help, then exit
6287 -V, --version print version number and configuration settings, then exit
6288 --config print configuration, then exit
6289 -q, --quiet, --silent
6290 do not print progress messages
6291 -d, --debug don't remove temporary files
6292 --recheck update $as_me by reconfiguring in the same conditions
6293 --file=FILE[:TEMPLATE]
6294 instantiate the configuration file FILE
6296 Configuration files:
6297 $config_files
6299 Report bugs to the package provider."
6301 _ACEOF
6302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6303 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6304 ac_cs_version="\\
6305 config.status
6306 configured by $0, generated by GNU Autoconf 2.69,
6307 with options \\"\$ac_cs_config\\"
6309 Copyright (C) 2012 Free Software Foundation, Inc.
6310 This config.status script is free software; the Free Software Foundation
6311 gives unlimited permission to copy, distribute and modify it."
6313 ac_pwd='$ac_pwd'
6314 srcdir='$srcdir'
6315 test -n "\$AWK" || AWK=awk
6316 _ACEOF
6318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6319 # The default lists apply if the user does not specify any file.
6320 ac_need_defaults=:
6321 while test $# != 0
6323 case $1 in
6324 --*=?*)
6325 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6326 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6327 ac_shift=:
6329 --*=)
6330 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6331 ac_optarg=
6332 ac_shift=:
6335 ac_option=$1
6336 ac_optarg=$2
6337 ac_shift=shift
6339 esac
6341 case $ac_option in
6342 # Handling of the options.
6343 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6344 ac_cs_recheck=: ;;
6345 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6346 $as_echo "$ac_cs_version"; exit ;;
6347 --config | --confi | --conf | --con | --co | --c )
6348 $as_echo "$ac_cs_config"; exit ;;
6349 --debug | --debu | --deb | --de | --d | -d )
6350 debug=: ;;
6351 --file | --fil | --fi | --f )
6352 $ac_shift
6353 case $ac_optarg in
6354 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6355 '') as_fn_error $? "missing file argument" ;;
6356 esac
6357 as_fn_append CONFIG_FILES " '$ac_optarg'"
6358 ac_need_defaults=false;;
6359 --he | --h | --help | --hel | -h )
6360 $as_echo "$ac_cs_usage"; exit ;;
6361 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6362 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6363 ac_cs_silent=: ;;
6365 # This is an error.
6366 -*) as_fn_error $? "unrecognized option: \`$1'
6367 Try \`$0 --help' for more information." ;;
6369 *) as_fn_append ac_config_targets " $1"
6370 ac_need_defaults=false ;;
6372 esac
6373 shift
6374 done
6376 ac_configure_extra_args=
6378 if $ac_cs_silent; then
6379 exec 6>/dev/null
6380 ac_configure_extra_args="$ac_configure_extra_args --silent"
6383 _ACEOF
6384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6385 if \$ac_cs_recheck; then
6386 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6387 shift
6388 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6389 CONFIG_SHELL='$SHELL'
6390 export CONFIG_SHELL
6391 exec "\$@"
6394 _ACEOF
6395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6396 exec 5>>config.log
6398 echo
6399 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6400 ## Running $as_me. ##
6401 _ASBOX
6402 $as_echo "$ac_log"
6403 } >&5
6405 _ACEOF
6406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6407 _ACEOF
6409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6411 # Handling of arguments.
6412 for ac_config_target in $ac_config_targets
6414 case $ac_config_target in
6415 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
6417 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6418 esac
6419 done
6422 # If the user did not use the arguments to specify the items to instantiate,
6423 # then the envvar interface is used. Set only those that are not.
6424 # We use the long form for the default assignment because of an extremely
6425 # bizarre bug on SunOS 4.1.3.
6426 if $ac_need_defaults; then
6427 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6430 # Have a temporary directory for convenience. Make it in the build tree
6431 # simply because there is no reason against having it here, and in addition,
6432 # creating and moving files from /tmp can sometimes cause problems.
6433 # Hook for its removal unless debugging.
6434 # Note that there is a small window in which the directory will not be cleaned:
6435 # after its creation but before its name has been assigned to `$tmp'.
6436 $debug ||
6438 tmp= ac_tmp=
6439 trap 'exit_status=$?
6440 : "${ac_tmp:=$tmp}"
6441 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6443 trap 'as_fn_exit 1' 1 2 13 15
6445 # Create a (secure) tmp directory for tmp files.
6448 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6449 test -d "$tmp"
6450 } ||
6452 tmp=./conf$$-$RANDOM
6453 (umask 077 && mkdir "$tmp")
6454 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6455 ac_tmp=$tmp
6457 # Set up the scripts for CONFIG_FILES section.
6458 # No need to generate them if there are no CONFIG_FILES.
6459 # This happens for instance with `./config.status config.h'.
6460 if test -n "$CONFIG_FILES"; then
6463 ac_cr=`echo X | tr X '\015'`
6464 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6465 # But we know of no other shell where ac_cr would be empty at this
6466 # point, so we can use a bashism as a fallback.
6467 if test "x$ac_cr" = x; then
6468 eval ac_cr=\$\'\\r\'
6470 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6471 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6472 ac_cs_awk_cr='\\r'
6473 else
6474 ac_cs_awk_cr=$ac_cr
6477 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6478 _ACEOF
6482 echo "cat >conf$$subs.awk <<_ACEOF" &&
6483 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6484 echo "_ACEOF"
6485 } >conf$$subs.sh ||
6486 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6487 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6488 ac_delim='%!_!# '
6489 for ac_last_try in false false false false false :; do
6490 . ./conf$$subs.sh ||
6491 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6493 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6494 if test $ac_delim_n = $ac_delim_num; then
6495 break
6496 elif $ac_last_try; then
6497 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6498 else
6499 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6501 done
6502 rm -f conf$$subs.sh
6504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6505 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6506 _ACEOF
6507 sed -n '
6509 s/^/S["/; s/!.*/"]=/
6512 s/^[^!]*!//
6513 :repl
6514 t repl
6515 s/'"$ac_delim"'$//
6516 t delim
6519 s/\(.\{148\}\)..*/\1/
6520 t more1
6521 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6524 b repl
6525 :more1
6526 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6529 s/.\{148\}//
6530 t nl
6531 :delim
6533 s/\(.\{148\}\)..*/\1/
6534 t more2
6535 s/["\\]/\\&/g; s/^/"/; s/$/"/
6538 :more2
6539 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6542 s/.\{148\}//
6543 t delim
6544 ' <conf$$subs.awk | sed '
6545 /^[^""]/{
6547 s/\n//
6549 ' >>$CONFIG_STATUS || ac_write_fail=1
6550 rm -f conf$$subs.awk
6551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6552 _ACAWK
6553 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6554 for (key in S) S_is_set[key] = 1
6555 FS = "\a"
6559 line = $ 0
6560 nfields = split(line, field, "@")
6561 substed = 0
6562 len = length(field[1])
6563 for (i = 2; i < nfields; i++) {
6564 key = field[i]
6565 keylen = length(key)
6566 if (S_is_set[key]) {
6567 value = S[key]
6568 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6569 len += length(value) + length(field[++i])
6570 substed = 1
6571 } else
6572 len += 1 + keylen
6575 print line
6578 _ACAWK
6579 _ACEOF
6580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6581 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6582 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6583 else
6585 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6586 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6587 _ACEOF
6589 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6590 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6591 # trailing colons and then remove the whole line if VPATH becomes empty
6592 # (actually we leave an empty line to preserve line numbers).
6593 if test "x$srcdir" = x.; then
6594 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6596 s///
6597 s/^/:/
6598 s/[ ]*$/:/
6599 s/:\$(srcdir):/:/g
6600 s/:\${srcdir}:/:/g
6601 s/:@srcdir@:/:/g
6602 s/^:*//
6603 s/:*$//
6605 s/\(=[ ]*\).*/\1/
6607 s/\n//
6608 s/^[^=]*=[ ]*$//
6612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6613 fi # test -n "$CONFIG_FILES"
6616 eval set X " :F $CONFIG_FILES "
6617 shift
6618 for ac_tag
6620 case $ac_tag in
6621 :[FHLC]) ac_mode=$ac_tag; continue;;
6622 esac
6623 case $ac_mode$ac_tag in
6624 :[FHL]*:*);;
6625 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6626 :[FH]-) ac_tag=-:-;;
6627 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6628 esac
6629 ac_save_IFS=$IFS
6630 IFS=:
6631 set x $ac_tag
6632 IFS=$ac_save_IFS
6633 shift
6634 ac_file=$1
6635 shift
6637 case $ac_mode in
6638 :L) ac_source=$1;;
6639 :[FH])
6640 ac_file_inputs=
6641 for ac_f
6643 case $ac_f in
6644 -) ac_f="$ac_tmp/stdin";;
6645 *) # Look for the file first in the build tree, then in the source tree
6646 # (if the path is not absolute). The absolute path cannot be DOS-style,
6647 # because $ac_f cannot contain `:'.
6648 test -f "$ac_f" ||
6649 case $ac_f in
6650 [\\/$]*) false;;
6651 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6652 esac ||
6653 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6654 esac
6655 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6656 as_fn_append ac_file_inputs " '$ac_f'"
6657 done
6659 # Let's still pretend it is `configure' which instantiates (i.e., don't
6660 # use $as_me), people would be surprised to read:
6661 # /* config.h. Generated by config.status. */
6662 configure_input='Generated from '`
6663 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6664 `' by configure.'
6665 if test x"$ac_file" != x-; then
6666 configure_input="$ac_file. $configure_input"
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6668 $as_echo "$as_me: creating $ac_file" >&6;}
6670 # Neutralize special characters interpreted by sed in replacement strings.
6671 case $configure_input in #(
6672 *\&* | *\|* | *\\* )
6673 ac_sed_conf_input=`$as_echo "$configure_input" |
6674 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6675 *) ac_sed_conf_input=$configure_input;;
6676 esac
6678 case $ac_tag in
6679 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6680 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6681 esac
6683 esac
6685 ac_dir=`$as_dirname -- "$ac_file" ||
6686 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6687 X"$ac_file" : 'X\(//\)[^/]' \| \
6688 X"$ac_file" : 'X\(//\)$' \| \
6689 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6690 $as_echo X"$ac_file" |
6691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6692 s//\1/
6695 /^X\(\/\/\)[^/].*/{
6696 s//\1/
6699 /^X\(\/\/\)$/{
6700 s//\1/
6703 /^X\(\/\).*/{
6704 s//\1/
6707 s/.*/./; q'`
6708 as_dir="$ac_dir"; as_fn_mkdir_p
6709 ac_builddir=.
6711 case "$ac_dir" in
6712 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6714 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6715 # A ".." for each directory in $ac_dir_suffix.
6716 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6717 case $ac_top_builddir_sub in
6718 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6719 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6720 esac ;;
6721 esac
6722 ac_abs_top_builddir=$ac_pwd
6723 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6724 # for backward compatibility:
6725 ac_top_builddir=$ac_top_build_prefix
6727 case $srcdir in
6728 .) # We are building in place.
6729 ac_srcdir=.
6730 ac_top_srcdir=$ac_top_builddir_sub
6731 ac_abs_top_srcdir=$ac_pwd ;;
6732 [\\/]* | ?:[\\/]* ) # Absolute name.
6733 ac_srcdir=$srcdir$ac_dir_suffix;
6734 ac_top_srcdir=$srcdir
6735 ac_abs_top_srcdir=$srcdir ;;
6736 *) # Relative name.
6737 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6738 ac_top_srcdir=$ac_top_build_prefix$srcdir
6739 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6740 esac
6741 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6744 case $ac_mode in
6747 # CONFIG_FILE
6750 _ACEOF
6752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6753 # If the template does not know about datarootdir, expand it.
6754 # FIXME: This hack should be removed a few years after 2.60.
6755 ac_datarootdir_hack=; ac_datarootdir_seen=
6756 ac_sed_dataroot='
6757 /datarootdir/ {
6761 /@datadir@/p
6762 /@docdir@/p
6763 /@infodir@/p
6764 /@localedir@/p
6765 /@mandir@/p'
6766 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6767 *datarootdir*) ac_datarootdir_seen=yes;;
6768 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6770 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6771 _ACEOF
6772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6773 ac_datarootdir_hack='
6774 s&@datadir@&$datadir&g
6775 s&@docdir@&$docdir&g
6776 s&@infodir@&$infodir&g
6777 s&@localedir@&$localedir&g
6778 s&@mandir@&$mandir&g
6779 s&\\\${datarootdir}&$datarootdir&g' ;;
6780 esac
6781 _ACEOF
6783 # Neutralize VPATH when `$srcdir' = `.'.
6784 # Shell code in configure.ac might set extrasub.
6785 # FIXME: do we really want to maintain this feature?
6786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6787 ac_sed_extra="$ac_vpsub
6788 $extrasub
6789 _ACEOF
6790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6792 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6793 s|@configure_input@|$ac_sed_conf_input|;t t
6794 s&@top_builddir@&$ac_top_builddir_sub&;t t
6795 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6796 s&@srcdir@&$ac_srcdir&;t t
6797 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6798 s&@top_srcdir@&$ac_top_srcdir&;t t
6799 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6800 s&@builddir@&$ac_builddir&;t t
6801 s&@abs_builddir@&$ac_abs_builddir&;t t
6802 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6803 $ac_datarootdir_hack
6805 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6806 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6808 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6809 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6810 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6811 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6813 which seems to be undefined. Please make sure it is defined" >&5
6814 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6815 which seems to be undefined. Please make sure it is defined" >&2;}
6817 rm -f "$ac_tmp/stdin"
6818 case $ac_file in
6819 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6820 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6821 esac \
6822 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6827 esac
6829 done # for ac_tag
6832 as_fn_exit 0
6833 _ACEOF
6834 ac_clean_files=$ac_clean_files_save
6836 test $ac_write_fail = 0 ||
6837 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6840 # configure is writing to config.log, and then calls config.status.
6841 # config.status does its own redirection, appending to config.log.
6842 # Unfortunately, on DOS this fails, as config.log is still kept open
6843 # by configure, so config.status won't be able to write to it; its
6844 # output is simply discarded. So we exec the FD to /dev/null,
6845 # effectively closing config.log, so it can be properly (re)opened and
6846 # appended to by config.status. When coming back to configure, we
6847 # need to make the FD available again.
6848 if test "$no_create" != yes; then
6849 ac_cs_success=:
6850 ac_config_status_args=
6851 test "$silent" = yes &&
6852 ac_config_status_args="$ac_config_status_args --quiet"
6853 exec 5>/dev/null
6854 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6855 exec 5>>config.log
6856 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6857 # would make configure fail if this is the last instruction.
6858 $ac_cs_success || as_fn_exit 1
6860 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6862 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}