revert commit 56204.
[AROS.git] / config / features
blob7e785c39c8afb0229286d8b343cb49ba0f00ffa4
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
271 exit 1
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
289 { eval $1=; unset $1;}
291 as_unset=as_fn_unset
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
298 return $1
299 } # as_fn_set_status
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
342 /^X\(\/\/\)$/{
343 s//\1/
346 /^X\(\/\).*/{
347 s//\1/
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
357 } # as_fn_mkdir_p
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
375 eval $1+=\$2
377 else
378 as_fn_append ()
380 eval $1=\$$1\$2
382 fi # as_fn_append
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
392 as_val=$(( $* ))
394 else
395 as_fn_arith ()
397 as_val=`expr "$@" || test $? -eq 1`
399 fi # as_fn_arith
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
446 /^X\/\(\/\/\)$/{
447 s//\1/
450 /^X\/\(\/\).*/{
451 s//\1/
454 s/.*/./; q'`
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
477 :lineno
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
509 ECHO_N='-n';;
510 esac
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
533 else
534 as_ln_s='cp -pR'
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
559 # Name of the host.
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 # Initializations.
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
576 # Identity of this package.
577 PACKAGE_NAME=
578 PACKAGE_TARNAME=
579 PACKAGE_VERSION=
580 PACKAGE_STRING=
581 PACKAGE_BUGREPORT=
582 PACKAGE_URL=
584 ac_unique_file="../mmakefile"
585 ac_subst_vars='LTLIBOBJS
586 LIBOBJS
587 aros_toolchain_sysroot
588 aros_nowarnflags_int_in_bool_context
589 aros_warnflags_int_in_bool_context
590 aros_nowarnflags_class_memaccess
591 aros_warnflags_class_memaccess
592 aros_nowarnflags_missing_prototypes
593 aros_warnflags_missing_prototypes
594 aros_nowarnflags_implicit_fallthrough
595 aros_warnflags_implicit_fallthrough
596 aros_nowarnflags_missing_field_initializers
597 aros_warnflags_missing_field_initializers
598 aros_nowarnflags_shift_negative_value
599 aros_warnflags_shift_negative_value
600 aros_nowarnflags_stringop_truncation
601 aros_warnflags_stringop_truncation
602 aros_nowarnflags_format_truncation
603 aros_warnflags_format_truncation
604 aros_nowarnflags_stringop_overflow
605 aros_warnflags_stringop_overflow
606 aros_nowarnflags_format_overflow
607 aros_warnflags_format_overflow
608 aros_nowarnflags_empty_body
609 aros_warnflags_empty_body
610 aros_nowarnflags_tautological_compare
611 aros_warnflags_tautological_compare
612 aros_nowarnflags_lto_type_mismatch
613 aros_warnflags_lto_type_mismatch
614 aros_nowarnflags_format_zero_length
615 aros_warnflags_format_zero_length
616 aros_nowarnflags_return_type
617 aros_warnflags_return_type
618 aros_nowarnflags_sizeof_pointer_memaccess
619 aros_warnflags_sizeof_pointer_memaccess
620 aros_nowarnflags_volatile_register_var
621 aros_warnflags_volatile_register_var
622 aros_nowarnflags_narrowing
623 aros_warnflags_narrowing
624 aros_nowarnflags_conversion_null
625 aros_warnflags_conversion_null
626 aros_nowarnflags_missing_braces
627 aros_warnflags_missing_braces
628 aros_nowarnflags_unused_local_typedefs
629 aros_warnflags_unused_local_typedefs
630 aros_nowarnflags_overflow
631 aros_warnflags_overflow
632 aros_nowarnflags_attributes
633 aros_warnflags_attributes
634 aros_nowarnflags_sign_compare
635 aros_warnflags_sign_compare
636 aros_nowarnflags_deprecated_declarations
637 aros_warnflags_deprecated_declarations
638 aros_nowarnflags_frame_address
639 aros_warnflags_frame_address
640 aros_nowarnflags_shift_overflow
641 aros_warnflags_shift_overflow
642 aros_nowarnflags_pointer_sign
643 aros_warnflags_pointer_sign
644 aros_nowarnflags_logical_not_parentheses
645 aros_warnflags_logical_not_parentheses
646 aros_nowarnflags_bool_compare
647 aros_warnflags_bool_compare
648 aros_nowarnflags_incompatible_pointer_types
649 aros_warnflags_incompatible_pointer_types
650 aros_nowarnflags_comment
651 aros_warnflags_comment
652 aros_nowarnflags_write_strings
653 aros_warnflags_write_strings
654 aros_nowarnflags_unused_const_variable
655 aros_warnflags_unused_const_variable
656 aros_nowarnflags_pointer_to_int_cast
657 aros_warnflags_pointer_to_int_cast
658 aros_nowarnflags_int_to_pointer_cast
659 aros_warnflags_int_to_pointer_cast
660 aros_nowarnflags_int_conversion
661 aros_warnflags_int_conversion
662 aros_nowarnflags_discarded_array_qualifiers
663 aros_warnflags_discarded_array_qualifiers
664 aros_nowarnflags_unknown_pragmas
665 aros_warnflags_unknown_pragmas
666 aros_nowarnflags_sequence_point
667 aros_warnflags_sequence_point
668 aros_nowarnflags_discarded_qualifiers
669 aros_warnflags_discarded_qualifiers
670 aros_nowarnflags_switch
671 aros_warnflags_switch
672 aros_nowarnflags_cpp
673 aros_warnflags_cpp
674 aros_nowarnflags_aggressive_loop_optimizations
675 aros_warnflags_aggressive_loop_optimizations
676 aros_nowarnflags_implicit_int
677 aros_warnflags_implicit_int
678 aros_nowarnflags_format_contains_nul
679 aros_warnflags_format_contains_nul
680 aros_nowarnflags_endif_labels
681 aros_warnflags_endif_labels
682 aros_nowarnflags_char_subscripts
683 aros_warnflags_char_subscripts
684 aros_nowarnflags_parentheses
685 aros_warnflags_parentheses
686 aros_nowarnflags_format
687 aros_warnflags_format
688 aros_nowarnflags_implicit_function_declaration
689 aros_warnflags_implicit_function_declaration
690 aros_nowarnflags_maybe_uninitialized
691 aros_warnflags_maybe_uninitialized
692 aros_nowarnflags_uninitialized
693 aros_warnflags_uninitialized
694 aros_nowarnflags_unused_parameter
695 aros_warnflags_unused_parameter
696 aros_nowarnflags_unused_function
697 aros_warnflags_unused_function
698 aros_nowarnflags_unused_variable
699 aros_warnflags_unused_variable
700 aros_nowarnflags_unused_value
701 aros_warnflags_unused_value
702 aros_nowarnflags_unused_label
703 aros_warnflags_unused_label
704 aros_nowarnflags_unused
705 aros_warnflags_unused
706 aros_nowarnflags_nonnull_compare
707 aros_warnflags_nonnull_compare
708 aros_nowarnflags_misleading_indentation
709 aros_warnflags_misleading_indentation
710 aros_nowarnflags_format_security
711 aros_warnflags_format_security
712 aros_nowarnflags_strict_overflow
713 aros_warnflags_strict_overflow
714 aros_nowarnflags_strict_prototypes
715 aros_warnflags_strict_prototypes
716 aros_nowarnflags_enum_compare
717 aros_warnflags_enum_compare
718 aros_nowarnflags_array_bounds
719 aros_warnflags_array_bounds
720 aros_nowarnflags_strict_aliasing
721 aros_warnflags_strict_aliasing
722 aros_nowarnflags_unused_but_set_variable
723 aros_warnflags_unused_but_set_variable
724 aros_nowarnflags_unknown_warning_option
725 aros_warnflags_unknown_warning_option
726 aros_nowarnflags_unused_command_line_argument
727 aros_warnflags_unused_command_line_argument
728 aros_nowarnflags_restrict
729 aros_warnflags_restrict
730 aros_warnflags_all
731 aros_nowarnflags_error
732 aros_warnflags_error
733 aros_cflags_no_ms_bitfields
734 aros_cflags_ms_bitfields
735 aros_cflags_no_red_zone
736 aros_cflags_red_zone
737 aros_cflags_iquote_end
738 aros_cflags_iquote
739 aros_cflags_isystem_end
740 aros_cflags_isystem
741 aros_cflags_visibility_hidden
742 aros_cflags_no_asynchronous_unwind_tables
743 aros_cflags_asynchronous_unwind_tables
744 aros_cflags_no_freestanding
745 aros_cflags_freestanding
746 aros_cflags_no_builtin_vsnprintf
747 aros_cflags_no_builtin_floor
748 aros_cflags_no_builtin
749 aros_cflags_builtin
750 aros_cflags_noalignednew
751 aros_cflags_alignednew
752 aros_cflags_noinstrfuncs
753 aros_cflags_instrfuncs
754 aros_cflags_notestcoverage
755 aros_cflags_testcoverage
756 aros_cflags_noprofilearcs
757 aros_cflags_profilearcs
758 aros_cflags_noomitfp
759 aros_cflags_omitfp
760 aros_cflags_noipacp
761 aros_cflags_ipacp
762 aros_cflags_noinlinesmallfunctions
763 aros_cflags_inlinesmallfunctions
764 aros_cflags_nostrictaliasing
765 aros_cflags_strictaliasing
766 aros_cflags_unroll_loops
767 aros_cflags_peel_loops
768 aros_cflags_loop_strip_mine
769 aros_cflags_loop_interchange
770 aros_cflags_loop_block
771 aros_cflags_whole_program
772 aros_cflags_nolto
773 aros_cflags_lto
774 aros_cflags_tree_vectorize
775 aros_cflags_no_trapping_math
776 aros_cflags_no_math_errno
777 aros_cflags_associative_math
778 aros_cflags_fast_math
779 aros_cxxflags_nortti
780 aros_cxxflags_rtti
781 aros_cxxflags_nopermissive
782 aros_cxxflags_permissive
783 aros_cflags_noexceptions
784 aros_cflags_exceptions
785 ac_ct_CXX
786 CXXFLAGS
788 OBJEXT
789 EXEEXT
790 ac_ct_CC
791 CPPFLAGS
792 LDFLAGS
793 CFLAGS
795 target_alias
796 host_alias
797 build_alias
798 LIBS
799 ECHO_T
800 ECHO_N
801 ECHO_C
802 DEFS
803 mandir
804 localedir
805 libdir
806 psdir
807 pdfdir
808 dvidir
809 htmldir
810 infodir
811 docdir
812 oldincludedir
813 includedir
814 runstatedir
815 localstatedir
816 sharedstatedir
817 sysconfdir
818 datadir
819 datarootdir
820 libexecdir
821 sbindir
822 bindir
823 program_transform_name
824 prefix
825 exec_prefix
826 PACKAGE_URL
827 PACKAGE_BUGREPORT
828 PACKAGE_STRING
829 PACKAGE_VERSION
830 PACKAGE_TARNAME
831 PACKAGE_NAME
832 PATH_SEPARATOR
833 SHELL'
834 ac_subst_files=''
835 ac_user_opts='
836 enable_option_checking
837 with_config_dir
839 ac_precious_vars='build_alias
840 host_alias
841 target_alias
843 CFLAGS
844 LDFLAGS
845 LIBS
846 CPPFLAGS
848 CXXFLAGS
849 CCC'
852 # Initialize some variables set by options.
853 ac_init_help=
854 ac_init_version=false
855 ac_unrecognized_opts=
856 ac_unrecognized_sep=
857 # The variables have the same names as the options, with
858 # dashes changed to underlines.
859 cache_file=/dev/null
860 exec_prefix=NONE
861 no_create=
862 no_recursion=
863 prefix=NONE
864 program_prefix=NONE
865 program_suffix=NONE
866 program_transform_name=s,x,x,
867 silent=
868 site=
869 srcdir=
870 verbose=
871 x_includes=NONE
872 x_libraries=NONE
874 # Installation directory options.
875 # These are left unexpanded so users can "make install exec_prefix=/foo"
876 # and all the variables that are supposed to be based on exec_prefix
877 # by default will actually change.
878 # Use braces instead of parens because sh, perl, etc. also accept them.
879 # (The list follows the same order as the GNU Coding Standards.)
880 bindir='${exec_prefix}/bin'
881 sbindir='${exec_prefix}/sbin'
882 libexecdir='${exec_prefix}/libexec'
883 datarootdir='${prefix}/share'
884 datadir='${datarootdir}'
885 sysconfdir='${prefix}/etc'
886 sharedstatedir='${prefix}/com'
887 localstatedir='${prefix}/var'
888 runstatedir='${localstatedir}/run'
889 includedir='${prefix}/include'
890 oldincludedir='/usr/include'
891 docdir='${datarootdir}/doc/${PACKAGE}'
892 infodir='${datarootdir}/info'
893 htmldir='${docdir}'
894 dvidir='${docdir}'
895 pdfdir='${docdir}'
896 psdir='${docdir}'
897 libdir='${exec_prefix}/lib'
898 localedir='${datarootdir}/locale'
899 mandir='${datarootdir}/man'
901 ac_prev=
902 ac_dashdash=
903 for ac_option
905 # If the previous option needs an argument, assign it.
906 if test -n "$ac_prev"; then
907 eval $ac_prev=\$ac_option
908 ac_prev=
909 continue
912 case $ac_option in
913 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
914 *=) ac_optarg= ;;
915 *) ac_optarg=yes ;;
916 esac
918 # Accept the important Cygnus configure options, so we can diagnose typos.
920 case $ac_dashdash$ac_option in
922 ac_dashdash=yes ;;
924 -bindir | --bindir | --bindi | --bind | --bin | --bi)
925 ac_prev=bindir ;;
926 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
927 bindir=$ac_optarg ;;
929 -build | --build | --buil | --bui | --bu)
930 ac_prev=build_alias ;;
931 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
932 build_alias=$ac_optarg ;;
934 -cache-file | --cache-file | --cache-fil | --cache-fi \
935 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
936 ac_prev=cache_file ;;
937 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
938 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
939 cache_file=$ac_optarg ;;
941 --config-cache | -C)
942 cache_file=config.cache ;;
944 -datadir | --datadir | --datadi | --datad)
945 ac_prev=datadir ;;
946 -datadir=* | --datadir=* | --datadi=* | --datad=*)
947 datadir=$ac_optarg ;;
949 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
950 | --dataroo | --dataro | --datar)
951 ac_prev=datarootdir ;;
952 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
953 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
954 datarootdir=$ac_optarg ;;
956 -disable-* | --disable-*)
957 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
958 # Reject names that are not valid shell variable names.
959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
960 as_fn_error $? "invalid feature name: $ac_useropt"
961 ac_useropt_orig=$ac_useropt
962 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
963 case $ac_user_opts in
965 "enable_$ac_useropt"
966 "*) ;;
967 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
968 ac_unrecognized_sep=', ';;
969 esac
970 eval enable_$ac_useropt=no ;;
972 -docdir | --docdir | --docdi | --doc | --do)
973 ac_prev=docdir ;;
974 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
975 docdir=$ac_optarg ;;
977 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
978 ac_prev=dvidir ;;
979 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
980 dvidir=$ac_optarg ;;
982 -enable-* | --enable-*)
983 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
984 # Reject names that are not valid shell variable names.
985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
986 as_fn_error $? "invalid feature name: $ac_useropt"
987 ac_useropt_orig=$ac_useropt
988 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989 case $ac_user_opts in
991 "enable_$ac_useropt"
992 "*) ;;
993 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
994 ac_unrecognized_sep=', ';;
995 esac
996 eval enable_$ac_useropt=\$ac_optarg ;;
998 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
999 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1000 | --exec | --exe | --ex)
1001 ac_prev=exec_prefix ;;
1002 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1003 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1004 | --exec=* | --exe=* | --ex=*)
1005 exec_prefix=$ac_optarg ;;
1007 -gas | --gas | --ga | --g)
1008 # Obsolete; use --with-gas.
1009 with_gas=yes ;;
1011 -help | --help | --hel | --he | -h)
1012 ac_init_help=long ;;
1013 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1014 ac_init_help=recursive ;;
1015 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1016 ac_init_help=short ;;
1018 -host | --host | --hos | --ho)
1019 ac_prev=host_alias ;;
1020 -host=* | --host=* | --hos=* | --ho=*)
1021 host_alias=$ac_optarg ;;
1023 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1024 ac_prev=htmldir ;;
1025 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1026 | --ht=*)
1027 htmldir=$ac_optarg ;;
1029 -includedir | --includedir | --includedi | --included | --include \
1030 | --includ | --inclu | --incl | --inc)
1031 ac_prev=includedir ;;
1032 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1033 | --includ=* | --inclu=* | --incl=* | --inc=*)
1034 includedir=$ac_optarg ;;
1036 -infodir | --infodir | --infodi | --infod | --info | --inf)
1037 ac_prev=infodir ;;
1038 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1039 infodir=$ac_optarg ;;
1041 -libdir | --libdir | --libdi | --libd)
1042 ac_prev=libdir ;;
1043 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1044 libdir=$ac_optarg ;;
1046 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1047 | --libexe | --libex | --libe)
1048 ac_prev=libexecdir ;;
1049 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1050 | --libexe=* | --libex=* | --libe=*)
1051 libexecdir=$ac_optarg ;;
1053 -localedir | --localedir | --localedi | --localed | --locale)
1054 ac_prev=localedir ;;
1055 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1056 localedir=$ac_optarg ;;
1058 -localstatedir | --localstatedir | --localstatedi | --localstated \
1059 | --localstate | --localstat | --localsta | --localst | --locals)
1060 ac_prev=localstatedir ;;
1061 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1062 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1063 localstatedir=$ac_optarg ;;
1065 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1066 ac_prev=mandir ;;
1067 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1068 mandir=$ac_optarg ;;
1070 -nfp | --nfp | --nf)
1071 # Obsolete; use --without-fp.
1072 with_fp=no ;;
1074 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1075 | --no-cr | --no-c | -n)
1076 no_create=yes ;;
1078 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1079 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1080 no_recursion=yes ;;
1082 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1083 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1084 | --oldin | --oldi | --old | --ol | --o)
1085 ac_prev=oldincludedir ;;
1086 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1087 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1088 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1089 oldincludedir=$ac_optarg ;;
1091 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1092 ac_prev=prefix ;;
1093 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1094 prefix=$ac_optarg ;;
1096 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1097 | --program-pre | --program-pr | --program-p)
1098 ac_prev=program_prefix ;;
1099 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1100 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1101 program_prefix=$ac_optarg ;;
1103 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1104 | --program-suf | --program-su | --program-s)
1105 ac_prev=program_suffix ;;
1106 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1107 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1108 program_suffix=$ac_optarg ;;
1110 -program-transform-name | --program-transform-name \
1111 | --program-transform-nam | --program-transform-na \
1112 | --program-transform-n | --program-transform- \
1113 | --program-transform | --program-transfor \
1114 | --program-transfo | --program-transf \
1115 | --program-trans | --program-tran \
1116 | --progr-tra | --program-tr | --program-t)
1117 ac_prev=program_transform_name ;;
1118 -program-transform-name=* | --program-transform-name=* \
1119 | --program-transform-nam=* | --program-transform-na=* \
1120 | --program-transform-n=* | --program-transform-=* \
1121 | --program-transform=* | --program-transfor=* \
1122 | --program-transfo=* | --program-transf=* \
1123 | --program-trans=* | --program-tran=* \
1124 | --progr-tra=* | --program-tr=* | --program-t=*)
1125 program_transform_name=$ac_optarg ;;
1127 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1128 ac_prev=pdfdir ;;
1129 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1130 pdfdir=$ac_optarg ;;
1132 -psdir | --psdir | --psdi | --psd | --ps)
1133 ac_prev=psdir ;;
1134 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1135 psdir=$ac_optarg ;;
1137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1138 | -silent | --silent | --silen | --sile | --sil)
1139 silent=yes ;;
1141 -runstatedir | --runstatedir | --runstatedi | --runstated \
1142 | --runstate | --runstat | --runsta | --runst | --runs \
1143 | --run | --ru | --r)
1144 ac_prev=runstatedir ;;
1145 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1146 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1147 | --run=* | --ru=* | --r=*)
1148 runstatedir=$ac_optarg ;;
1150 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1151 ac_prev=sbindir ;;
1152 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1153 | --sbi=* | --sb=*)
1154 sbindir=$ac_optarg ;;
1156 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1157 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1158 | --sharedst | --shareds | --shared | --share | --shar \
1159 | --sha | --sh)
1160 ac_prev=sharedstatedir ;;
1161 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1162 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1163 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1164 | --sha=* | --sh=*)
1165 sharedstatedir=$ac_optarg ;;
1167 -site | --site | --sit)
1168 ac_prev=site ;;
1169 -site=* | --site=* | --sit=*)
1170 site=$ac_optarg ;;
1172 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1173 ac_prev=srcdir ;;
1174 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1175 srcdir=$ac_optarg ;;
1177 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1178 | --syscon | --sysco | --sysc | --sys | --sy)
1179 ac_prev=sysconfdir ;;
1180 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1181 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1182 sysconfdir=$ac_optarg ;;
1184 -target | --target | --targe | --targ | --tar | --ta | --t)
1185 ac_prev=target_alias ;;
1186 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1187 target_alias=$ac_optarg ;;
1189 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1190 verbose=yes ;;
1192 -version | --version | --versio | --versi | --vers | -V)
1193 ac_init_version=: ;;
1195 -with-* | --with-*)
1196 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1197 # Reject names that are not valid shell variable names.
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1199 as_fn_error $? "invalid package name: $ac_useropt"
1200 ac_useropt_orig=$ac_useropt
1201 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 case $ac_user_opts in
1204 "with_$ac_useropt"
1205 "*) ;;
1206 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1207 ac_unrecognized_sep=', ';;
1208 esac
1209 eval with_$ac_useropt=\$ac_optarg ;;
1211 -without-* | --without-*)
1212 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1213 # Reject names that are not valid shell variable names.
1214 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1215 as_fn_error $? "invalid package name: $ac_useropt"
1216 ac_useropt_orig=$ac_useropt
1217 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1218 case $ac_user_opts in
1220 "with_$ac_useropt"
1221 "*) ;;
1222 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1223 ac_unrecognized_sep=', ';;
1224 esac
1225 eval with_$ac_useropt=no ;;
1227 --x)
1228 # Obsolete; use --with-x.
1229 with_x=yes ;;
1231 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1232 | --x-incl | --x-inc | --x-in | --x-i)
1233 ac_prev=x_includes ;;
1234 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1235 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1236 x_includes=$ac_optarg ;;
1238 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1239 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1240 ac_prev=x_libraries ;;
1241 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1242 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1243 x_libraries=$ac_optarg ;;
1245 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1246 Try \`$0 --help' for more information"
1249 *=*)
1250 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1251 # Reject names that are not valid shell variable names.
1252 case $ac_envvar in #(
1253 '' | [0-9]* | *[!_$as_cr_alnum]* )
1254 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1255 esac
1256 eval $ac_envvar=\$ac_optarg
1257 export $ac_envvar ;;
1260 # FIXME: should be removed in autoconf 3.0.
1261 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1262 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1263 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1264 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1267 esac
1268 done
1270 if test -n "$ac_prev"; then
1271 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1272 as_fn_error $? "missing argument to $ac_option"
1275 if test -n "$ac_unrecognized_opts"; then
1276 case $enable_option_checking in
1277 no) ;;
1278 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1279 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1280 esac
1283 # Check all directory arguments for consistency.
1284 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1285 datadir sysconfdir sharedstatedir localstatedir includedir \
1286 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1287 libdir localedir mandir runstatedir
1289 eval ac_val=\$$ac_var
1290 # Remove trailing slashes.
1291 case $ac_val in
1292 */ )
1293 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1294 eval $ac_var=\$ac_val;;
1295 esac
1296 # Be sure to have absolute directory names.
1297 case $ac_val in
1298 [\\/$]* | ?:[\\/]* ) continue;;
1299 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1300 esac
1301 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1302 done
1304 # There might be people who depend on the old broken behavior: `$host'
1305 # used to hold the argument of --host etc.
1306 # FIXME: To remove some day.
1307 build=$build_alias
1308 host=$host_alias
1309 target=$target_alias
1311 # FIXME: To remove some day.
1312 if test "x$host_alias" != x; then
1313 if test "x$build_alias" = x; then
1314 cross_compiling=maybe
1315 elif test "x$build_alias" != "x$host_alias"; then
1316 cross_compiling=yes
1320 ac_tool_prefix=
1321 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1323 test "$silent" = yes && exec 6>/dev/null
1326 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1327 ac_ls_di=`ls -di .` &&
1328 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1329 as_fn_error $? "working directory cannot be determined"
1330 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1331 as_fn_error $? "pwd does not report name of working directory"
1334 # Find the source files, if location was not specified.
1335 if test -z "$srcdir"; then
1336 ac_srcdir_defaulted=yes
1337 # Try the directory containing this script, then the parent directory.
1338 ac_confdir=`$as_dirname -- "$as_myself" ||
1339 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1340 X"$as_myself" : 'X\(//\)[^/]' \| \
1341 X"$as_myself" : 'X\(//\)$' \| \
1342 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1343 $as_echo X"$as_myself" |
1344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1345 s//\1/
1348 /^X\(\/\/\)[^/].*/{
1349 s//\1/
1352 /^X\(\/\/\)$/{
1353 s//\1/
1356 /^X\(\/\).*/{
1357 s//\1/
1360 s/.*/./; q'`
1361 srcdir=$ac_confdir
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1363 srcdir=..
1365 else
1366 ac_srcdir_defaulted=no
1368 if test ! -r "$srcdir/$ac_unique_file"; then
1369 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1370 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1372 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1373 ac_abs_confdir=`(
1374 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1375 pwd)`
1376 # When building in place, set srcdir=.
1377 if test "$ac_abs_confdir" = "$ac_pwd"; then
1378 srcdir=.
1380 # Remove unnecessary trailing slashes from srcdir.
1381 # Double slashes in file names in object file debugging info
1382 # mess up M-x gdb in Emacs.
1383 case $srcdir in
1384 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1385 esac
1386 for ac_var in $ac_precious_vars; do
1387 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1388 eval ac_env_${ac_var}_value=\$${ac_var}
1389 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1390 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1391 done
1394 # Report the --help message.
1396 if test "$ac_init_help" = "long"; then
1397 # Omit some internal or obsolete options to make the list less imposing.
1398 # This message is too long to be a string in the A/UX 3.1 sh.
1399 cat <<_ACEOF
1400 \`configure' configures this package to adapt to many kinds of systems.
1402 Usage: $0 [OPTION]... [VAR=VALUE]...
1404 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1405 VAR=VALUE. See below for descriptions of some of the useful variables.
1407 Defaults for the options are specified in brackets.
1409 Configuration:
1410 -h, --help display this help and exit
1411 --help=short display options specific to this package
1412 --help=recursive display the short help of all the included packages
1413 -V, --version display version information and exit
1414 -q, --quiet, --silent do not print \`checking ...' messages
1415 --cache-file=FILE cache test results in FILE [disabled]
1416 -C, --config-cache alias for \`--cache-file=config.cache'
1417 -n, --no-create do not create output files
1418 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1420 Installation directories:
1421 --prefix=PREFIX install architecture-independent files in PREFIX
1422 [$ac_default_prefix]
1423 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1424 [PREFIX]
1426 By default, \`make install' will install all the files in
1427 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1428 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1429 for instance \`--prefix=\$HOME'.
1431 For better control, use the options below.
1433 Fine tuning of the installation directories:
1434 --bindir=DIR user executables [EPREFIX/bin]
1435 --sbindir=DIR system admin executables [EPREFIX/sbin]
1436 --libexecdir=DIR program executables [EPREFIX/libexec]
1437 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1438 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1439 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1440 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1441 --libdir=DIR object code libraries [EPREFIX/lib]
1442 --includedir=DIR C header files [PREFIX/include]
1443 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1444 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1445 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1446 --infodir=DIR info documentation [DATAROOTDIR/info]
1447 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1448 --mandir=DIR man documentation [DATAROOTDIR/man]
1449 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1450 --htmldir=DIR html documentation [DOCDIR]
1451 --dvidir=DIR dvi documentation [DOCDIR]
1452 --pdfdir=DIR pdf documentation [DOCDIR]
1453 --psdir=DIR ps documentation [DOCDIR]
1454 _ACEOF
1456 cat <<\_ACEOF
1457 _ACEOF
1460 if test -n "$ac_init_help"; then
1462 cat <<\_ACEOF
1464 Optional Packages:
1465 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1466 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1467 --with-config-dir=VERSION
1468 Location of generated target config files
1470 Some influential environment variables:
1471 CC C compiler command
1472 CFLAGS C compiler flags
1473 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1474 nonstandard directory <lib dir>
1475 LIBS libraries to pass to the linker, e.g. -l<library>
1476 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1477 you have headers in a nonstandard directory <include dir>
1478 CXX C++ compiler command
1479 CXXFLAGS C++ compiler flags
1481 Use these variables to override the choices made by `configure' or to help
1482 it to find libraries and programs with nonstandard names/locations.
1484 Report bugs to the package provider.
1485 _ACEOF
1486 ac_status=$?
1489 if test "$ac_init_help" = "recursive"; then
1490 # If there are subdirs, report their specific --help.
1491 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1492 test -d "$ac_dir" ||
1493 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1494 continue
1495 ac_builddir=.
1497 case "$ac_dir" in
1498 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1500 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1501 # A ".." for each directory in $ac_dir_suffix.
1502 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1503 case $ac_top_builddir_sub in
1504 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1505 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1506 esac ;;
1507 esac
1508 ac_abs_top_builddir=$ac_pwd
1509 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1510 # for backward compatibility:
1511 ac_top_builddir=$ac_top_build_prefix
1513 case $srcdir in
1514 .) # We are building in place.
1515 ac_srcdir=.
1516 ac_top_srcdir=$ac_top_builddir_sub
1517 ac_abs_top_srcdir=$ac_pwd ;;
1518 [\\/]* | ?:[\\/]* ) # Absolute name.
1519 ac_srcdir=$srcdir$ac_dir_suffix;
1520 ac_top_srcdir=$srcdir
1521 ac_abs_top_srcdir=$srcdir ;;
1522 *) # Relative name.
1523 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1524 ac_top_srcdir=$ac_top_build_prefix$srcdir
1525 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1526 esac
1527 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1529 cd "$ac_dir" || { ac_status=$?; continue; }
1530 # Check for guested configure.
1531 if test -f "$ac_srcdir/configure.gnu"; then
1532 echo &&
1533 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1534 elif test -f "$ac_srcdir/configure"; then
1535 echo &&
1536 $SHELL "$ac_srcdir/configure" --help=recursive
1537 else
1538 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1539 fi || ac_status=$?
1540 cd "$ac_pwd" || { ac_status=$?; break; }
1541 done
1544 test -n "$ac_init_help" && exit $ac_status
1545 if $ac_init_version; then
1546 cat <<\_ACEOF
1547 configure
1548 generated by GNU Autoconf 2.69
1550 Copyright (C) 2012 Free Software Foundation, Inc.
1551 This configure script is free software; the Free Software Foundation
1552 gives unlimited permission to copy, distribute and modify it.
1553 _ACEOF
1554 exit
1557 ## ------------------------ ##
1558 ## Autoconf initialization. ##
1559 ## ------------------------ ##
1561 # ac_fn_c_try_compile LINENO
1562 # --------------------------
1563 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1564 ac_fn_c_try_compile ()
1566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1567 rm -f conftest.$ac_objext
1568 if { { ac_try="$ac_compile"
1569 case "(($ac_try" in
1570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1571 *) ac_try_echo=$ac_try;;
1572 esac
1573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1574 $as_echo "$ac_try_echo"; } >&5
1575 (eval "$ac_compile") 2>conftest.err
1576 ac_status=$?
1577 if test -s conftest.err; then
1578 grep -v '^ *+' conftest.err >conftest.er1
1579 cat conftest.er1 >&5
1580 mv -f conftest.er1 conftest.err
1582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1583 test $ac_status = 0; } && {
1584 test -z "$ac_c_werror_flag" ||
1585 test ! -s conftest.err
1586 } && test -s conftest.$ac_objext; then :
1587 ac_retval=0
1588 else
1589 $as_echo "$as_me: failed program was:" >&5
1590 sed 's/^/| /' conftest.$ac_ext >&5
1592 ac_retval=1
1594 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1595 as_fn_set_status $ac_retval
1597 } # ac_fn_c_try_compile
1599 # ac_fn_cxx_try_compile LINENO
1600 # ----------------------------
1601 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1602 ac_fn_cxx_try_compile ()
1604 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1605 rm -f conftest.$ac_objext
1606 if { { ac_try="$ac_compile"
1607 case "(($ac_try" in
1608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1609 *) ac_try_echo=$ac_try;;
1610 esac
1611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1612 $as_echo "$ac_try_echo"; } >&5
1613 (eval "$ac_compile") 2>conftest.err
1614 ac_status=$?
1615 if test -s conftest.err; then
1616 grep -v '^ *+' conftest.err >conftest.er1
1617 cat conftest.er1 >&5
1618 mv -f conftest.er1 conftest.err
1620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1621 test $ac_status = 0; } && {
1622 test -z "$ac_cxx_werror_flag" ||
1623 test ! -s conftest.err
1624 } && test -s conftest.$ac_objext; then :
1625 ac_retval=0
1626 else
1627 $as_echo "$as_me: failed program was:" >&5
1628 sed 's/^/| /' conftest.$ac_ext >&5
1630 ac_retval=1
1632 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1633 as_fn_set_status $ac_retval
1635 } # ac_fn_cxx_try_compile
1636 cat >config.log <<_ACEOF
1637 This file contains any messages produced by compilers while
1638 running configure, to aid debugging if configure makes a mistake.
1640 It was created by $as_me, which was
1641 generated by GNU Autoconf 2.69. Invocation command line was
1643 $ $0 $@
1645 _ACEOF
1646 exec 5>>config.log
1648 cat <<_ASUNAME
1649 ## --------- ##
1650 ## Platform. ##
1651 ## --------- ##
1653 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1654 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1655 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1656 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1657 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1659 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1660 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1662 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1663 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1664 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1665 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1666 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1667 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1668 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1670 _ASUNAME
1672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1673 for as_dir in $PATH
1675 IFS=$as_save_IFS
1676 test -z "$as_dir" && as_dir=.
1677 $as_echo "PATH: $as_dir"
1678 done
1679 IFS=$as_save_IFS
1681 } >&5
1683 cat >&5 <<_ACEOF
1686 ## ----------- ##
1687 ## Core tests. ##
1688 ## ----------- ##
1690 _ACEOF
1693 # Keep a trace of the command line.
1694 # Strip out --no-create and --no-recursion so they do not pile up.
1695 # Strip out --silent because we don't want to record it for future runs.
1696 # Also quote any args containing shell meta-characters.
1697 # Make two passes to allow for proper duplicate-argument suppression.
1698 ac_configure_args=
1699 ac_configure_args0=
1700 ac_configure_args1=
1701 ac_must_keep_next=false
1702 for ac_pass in 1 2
1704 for ac_arg
1706 case $ac_arg in
1707 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1708 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1709 | -silent | --silent | --silen | --sile | --sil)
1710 continue ;;
1711 *\'*)
1712 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1713 esac
1714 case $ac_pass in
1715 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1717 as_fn_append ac_configure_args1 " '$ac_arg'"
1718 if test $ac_must_keep_next = true; then
1719 ac_must_keep_next=false # Got value, back to normal.
1720 else
1721 case $ac_arg in
1722 *=* | --config-cache | -C | -disable-* | --disable-* \
1723 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1724 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1725 | -with-* | --with-* | -without-* | --without-* | --x)
1726 case "$ac_configure_args0 " in
1727 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1728 esac
1730 -* ) ac_must_keep_next=true ;;
1731 esac
1733 as_fn_append ac_configure_args " '$ac_arg'"
1735 esac
1736 done
1737 done
1738 { ac_configure_args0=; unset ac_configure_args0;}
1739 { ac_configure_args1=; unset ac_configure_args1;}
1741 # When interrupted or exit'd, cleanup temporary files, and complete
1742 # config.log. We remove comments because anyway the quotes in there
1743 # would cause problems or look ugly.
1744 # WARNING: Use '\'' to represent an apostrophe within the trap.
1745 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1746 trap 'exit_status=$?
1747 # Save into config.log some information that might help in debugging.
1749 echo
1751 $as_echo "## ---------------- ##
1752 ## Cache variables. ##
1753 ## ---------------- ##"
1754 echo
1755 # The following way of writing the cache mishandles newlines in values,
1757 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1758 eval ac_val=\$$ac_var
1759 case $ac_val in #(
1760 *${as_nl}*)
1761 case $ac_var in #(
1762 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1763 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1764 esac
1765 case $ac_var in #(
1766 _ | IFS | as_nl) ;; #(
1767 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1768 *) { eval $ac_var=; unset $ac_var;} ;;
1769 esac ;;
1770 esac
1771 done
1772 (set) 2>&1 |
1773 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1774 *${as_nl}ac_space=\ *)
1775 sed -n \
1776 "s/'\''/'\''\\\\'\'''\''/g;
1777 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1778 ;; #(
1780 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1782 esac |
1783 sort
1785 echo
1787 $as_echo "## ----------------- ##
1788 ## Output variables. ##
1789 ## ----------------- ##"
1790 echo
1791 for ac_var in $ac_subst_vars
1793 eval ac_val=\$$ac_var
1794 case $ac_val in
1795 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1796 esac
1797 $as_echo "$ac_var='\''$ac_val'\''"
1798 done | sort
1799 echo
1801 if test -n "$ac_subst_files"; then
1802 $as_echo "## ------------------- ##
1803 ## File substitutions. ##
1804 ## ------------------- ##"
1805 echo
1806 for ac_var in $ac_subst_files
1808 eval ac_val=\$$ac_var
1809 case $ac_val in
1810 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1811 esac
1812 $as_echo "$ac_var='\''$ac_val'\''"
1813 done | sort
1814 echo
1817 if test -s confdefs.h; then
1818 $as_echo "## ----------- ##
1819 ## confdefs.h. ##
1820 ## ----------- ##"
1821 echo
1822 cat confdefs.h
1823 echo
1825 test "$ac_signal" != 0 &&
1826 $as_echo "$as_me: caught signal $ac_signal"
1827 $as_echo "$as_me: exit $exit_status"
1828 } >&5
1829 rm -f core *.core core.conftest.* &&
1830 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1831 exit $exit_status
1833 for ac_signal in 1 2 13 15; do
1834 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1835 done
1836 ac_signal=0
1838 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1839 rm -f -r conftest* confdefs.h
1841 $as_echo "/* confdefs.h */" > confdefs.h
1843 # Predefined preprocessor variables.
1845 cat >>confdefs.h <<_ACEOF
1846 #define PACKAGE_NAME "$PACKAGE_NAME"
1847 _ACEOF
1849 cat >>confdefs.h <<_ACEOF
1850 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1851 _ACEOF
1853 cat >>confdefs.h <<_ACEOF
1854 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1855 _ACEOF
1857 cat >>confdefs.h <<_ACEOF
1858 #define PACKAGE_STRING "$PACKAGE_STRING"
1859 _ACEOF
1861 cat >>confdefs.h <<_ACEOF
1862 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1863 _ACEOF
1865 cat >>confdefs.h <<_ACEOF
1866 #define PACKAGE_URL "$PACKAGE_URL"
1867 _ACEOF
1870 # Let the site file select an alternate cache file if it wants to.
1871 # Prefer an explicitly selected file to automatically selected ones.
1872 ac_site_file1=NONE
1873 ac_site_file2=NONE
1874 if test -n "$CONFIG_SITE"; then
1875 # We do not want a PATH search for config.site.
1876 case $CONFIG_SITE in #((
1877 -*) ac_site_file1=./$CONFIG_SITE;;
1878 */*) ac_site_file1=$CONFIG_SITE;;
1879 *) ac_site_file1=./$CONFIG_SITE;;
1880 esac
1881 elif test "x$prefix" != xNONE; then
1882 ac_site_file1=$prefix/share/config.site
1883 ac_site_file2=$prefix/etc/config.site
1884 else
1885 ac_site_file1=$ac_default_prefix/share/config.site
1886 ac_site_file2=$ac_default_prefix/etc/config.site
1888 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1890 test "x$ac_site_file" = xNONE && continue
1891 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1893 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1894 sed 's/^/| /' "$ac_site_file" >&5
1895 . "$ac_site_file" \
1896 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1898 as_fn_error $? "failed to load site script $ac_site_file
1899 See \`config.log' for more details" "$LINENO" 5; }
1901 done
1903 if test -r "$cache_file"; then
1904 # Some versions of bash will fail to source /dev/null (special files
1905 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1906 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1908 $as_echo "$as_me: loading cache $cache_file" >&6;}
1909 case $cache_file in
1910 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1911 *) . "./$cache_file";;
1912 esac
1914 else
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1916 $as_echo "$as_me: creating cache $cache_file" >&6;}
1917 >$cache_file
1920 # Check that the precious variables saved in the cache have kept the same
1921 # value.
1922 ac_cache_corrupted=false
1923 for ac_var in $ac_precious_vars; do
1924 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1925 eval ac_new_set=\$ac_env_${ac_var}_set
1926 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1927 eval ac_new_val=\$ac_env_${ac_var}_value
1928 case $ac_old_set,$ac_new_set in
1929 set,)
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1931 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1932 ac_cache_corrupted=: ;;
1933 ,set)
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1935 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1936 ac_cache_corrupted=: ;;
1937 ,);;
1939 if test "x$ac_old_val" != "x$ac_new_val"; then
1940 # differences in whitespace do not lead to failure.
1941 ac_old_val_w=`echo x $ac_old_val`
1942 ac_new_val_w=`echo x $ac_new_val`
1943 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1945 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1946 ac_cache_corrupted=:
1947 else
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1949 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1950 eval $ac_var=\$ac_old_val
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1953 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1955 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1956 fi;;
1957 esac
1958 # Pass precious variables to config.status.
1959 if test "$ac_new_set" = set; then
1960 case $ac_new_val in
1961 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1962 *) ac_arg=$ac_var=$ac_new_val ;;
1963 esac
1964 case " $ac_configure_args " in
1965 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1966 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1967 esac
1969 done
1970 if $ac_cache_corrupted; then
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1974 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1975 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1977 ## -------------------- ##
1978 ## Main body of script. ##
1979 ## -------------------- ##
1981 ac_ext=c
1982 ac_cpp='$CPP $CPPFLAGS'
1983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1989 ac_aux_dir=
1990 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1991 if test -f "$ac_dir/install-sh"; then
1992 ac_aux_dir=$ac_dir
1993 ac_install_sh="$ac_aux_dir/install-sh -c"
1994 break
1995 elif test -f "$ac_dir/install.sh"; then
1996 ac_aux_dir=$ac_dir
1997 ac_install_sh="$ac_aux_dir/install.sh -c"
1998 break
1999 elif test -f "$ac_dir/shtool"; then
2000 ac_aux_dir=$ac_dir
2001 ac_install_sh="$ac_aux_dir/shtool install -c"
2002 break
2004 done
2005 if test -z "$ac_aux_dir"; then
2006 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
2009 # These three variables are undocumented and unsupported,
2010 # and are intended to be withdrawn in a future Autoconf release.
2011 # They can cause serious problems if a builder's source tree is in a directory
2012 # whose full name contains unusual characters.
2013 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2014 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2015 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2019 AROS_BUILDDIR=`${PWDCMD-pwd}`
2020 AROS_BUILDDIR_UNIX=${PWD}
2022 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2023 SRCDIR=${srcpwd}
2025 NOLINKFLAGS="-nostdlib -nostartfiles"
2026 LDFLAGS=$NOLINKFLAGS
2027 # The first step is to find the binaries.
2028 ac_ext=c
2029 ac_cpp='$CPP $CPPFLAGS'
2030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2033 if test -n "$ac_tool_prefix"; then
2034 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2035 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2037 $as_echo_n "checking for $ac_word... " >&6; }
2038 if ${ac_cv_prog_CC+:} false; then :
2039 $as_echo_n "(cached) " >&6
2040 else
2041 if test -n "$CC"; then
2042 ac_cv_prog_CC="$CC" # Let the user override the test.
2043 else
2044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2045 for as_dir in $PATH
2047 IFS=$as_save_IFS
2048 test -z "$as_dir" && as_dir=.
2049 for ac_exec_ext in '' $ac_executable_extensions; do
2050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2051 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2053 break 2
2055 done
2056 done
2057 IFS=$as_save_IFS
2061 CC=$ac_cv_prog_CC
2062 if test -n "$CC"; then
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2064 $as_echo "$CC" >&6; }
2065 else
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2067 $as_echo "no" >&6; }
2072 if test -z "$ac_cv_prog_CC"; then
2073 ac_ct_CC=$CC
2074 # Extract the first word of "gcc", so it can be a program name with args.
2075 set dummy gcc; ac_word=$2
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2077 $as_echo_n "checking for $ac_word... " >&6; }
2078 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2079 $as_echo_n "(cached) " >&6
2080 else
2081 if test -n "$ac_ct_CC"; then
2082 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2083 else
2084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085 for as_dir in $PATH
2087 IFS=$as_save_IFS
2088 test -z "$as_dir" && as_dir=.
2089 for ac_exec_ext in '' $ac_executable_extensions; do
2090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2091 ac_cv_prog_ac_ct_CC="gcc"
2092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2093 break 2
2095 done
2096 done
2097 IFS=$as_save_IFS
2101 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2102 if test -n "$ac_ct_CC"; then
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2104 $as_echo "$ac_ct_CC" >&6; }
2105 else
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2107 $as_echo "no" >&6; }
2110 if test "x$ac_ct_CC" = x; then
2111 CC=""
2112 else
2113 case $cross_compiling:$ac_tool_warned in
2114 yes:)
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2117 ac_tool_warned=yes ;;
2118 esac
2119 CC=$ac_ct_CC
2121 else
2122 CC="$ac_cv_prog_CC"
2125 if test -z "$CC"; then
2126 if test -n "$ac_tool_prefix"; then
2127 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2128 set dummy ${ac_tool_prefix}cc; ac_word=$2
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2130 $as_echo_n "checking for $ac_word... " >&6; }
2131 if ${ac_cv_prog_CC+:} false; then :
2132 $as_echo_n "(cached) " >&6
2133 else
2134 if test -n "$CC"; then
2135 ac_cv_prog_CC="$CC" # Let the user override the test.
2136 else
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 for as_dir in $PATH
2140 IFS=$as_save_IFS
2141 test -z "$as_dir" && as_dir=.
2142 for ac_exec_ext in '' $ac_executable_extensions; do
2143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2144 ac_cv_prog_CC="${ac_tool_prefix}cc"
2145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2146 break 2
2148 done
2149 done
2150 IFS=$as_save_IFS
2154 CC=$ac_cv_prog_CC
2155 if test -n "$CC"; then
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2157 $as_echo "$CC" >&6; }
2158 else
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2160 $as_echo "no" >&6; }
2166 if test -z "$CC"; then
2167 # Extract the first word of "cc", so it can be a program name with args.
2168 set dummy cc; ac_word=$2
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2170 $as_echo_n "checking for $ac_word... " >&6; }
2171 if ${ac_cv_prog_CC+:} false; then :
2172 $as_echo_n "(cached) " >&6
2173 else
2174 if test -n "$CC"; then
2175 ac_cv_prog_CC="$CC" # Let the user override the test.
2176 else
2177 ac_prog_rejected=no
2178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 for as_dir in $PATH
2181 IFS=$as_save_IFS
2182 test -z "$as_dir" && as_dir=.
2183 for ac_exec_ext in '' $ac_executable_extensions; do
2184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2185 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2186 ac_prog_rejected=yes
2187 continue
2189 ac_cv_prog_CC="cc"
2190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2191 break 2
2193 done
2194 done
2195 IFS=$as_save_IFS
2197 if test $ac_prog_rejected = yes; then
2198 # We found a bogon in the path, so make sure we never use it.
2199 set dummy $ac_cv_prog_CC
2200 shift
2201 if test $# != 0; then
2202 # We chose a different compiler from the bogus one.
2203 # However, it has the same basename, so the bogon will be chosen
2204 # first if we set CC to just the basename; use the full file name.
2205 shift
2206 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2211 CC=$ac_cv_prog_CC
2212 if test -n "$CC"; then
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2214 $as_echo "$CC" >&6; }
2215 else
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2217 $as_echo "no" >&6; }
2222 if test -z "$CC"; then
2223 if test -n "$ac_tool_prefix"; then
2224 for ac_prog in cl.exe
2226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2229 $as_echo_n "checking for $ac_word... " >&6; }
2230 if ${ac_cv_prog_CC+:} false; then :
2231 $as_echo_n "(cached) " >&6
2232 else
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC="$CC" # Let the user override the test.
2235 else
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 for as_dir in $PATH
2239 IFS=$as_save_IFS
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2243 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 break 2
2247 done
2248 done
2249 IFS=$as_save_IFS
2253 CC=$ac_cv_prog_CC
2254 if test -n "$CC"; then
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2256 $as_echo "$CC" >&6; }
2257 else
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2259 $as_echo "no" >&6; }
2263 test -n "$CC" && break
2264 done
2266 if test -z "$CC"; then
2267 ac_ct_CC=$CC
2268 for ac_prog in cl.exe
2270 # Extract the first word of "$ac_prog", so it can be a program name with args.
2271 set dummy $ac_prog; ac_word=$2
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2273 $as_echo_n "checking for $ac_word... " >&6; }
2274 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2275 $as_echo_n "(cached) " >&6
2276 else
2277 if test -n "$ac_ct_CC"; then
2278 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2279 else
2280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2281 for as_dir in $PATH
2283 IFS=$as_save_IFS
2284 test -z "$as_dir" && as_dir=.
2285 for ac_exec_ext in '' $ac_executable_extensions; do
2286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2287 ac_cv_prog_ac_ct_CC="$ac_prog"
2288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2289 break 2
2291 done
2292 done
2293 IFS=$as_save_IFS
2297 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2298 if test -n "$ac_ct_CC"; then
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2300 $as_echo "$ac_ct_CC" >&6; }
2301 else
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2303 $as_echo "no" >&6; }
2307 test -n "$ac_ct_CC" && break
2308 done
2310 if test "x$ac_ct_CC" = x; then
2311 CC=""
2312 else
2313 case $cross_compiling:$ac_tool_warned in
2314 yes:)
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2317 ac_tool_warned=yes ;;
2318 esac
2319 CC=$ac_ct_CC
2326 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2328 as_fn_error $? "no acceptable C compiler found in \$PATH
2329 See \`config.log' for more details" "$LINENO" 5; }
2331 # Provide some information about the compiler.
2332 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2333 set X $ac_compile
2334 ac_compiler=$2
2335 for ac_option in --version -v -V -qversion; do
2336 { { ac_try="$ac_compiler $ac_option >&5"
2337 case "(($ac_try" in
2338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2339 *) ac_try_echo=$ac_try;;
2340 esac
2341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2342 $as_echo "$ac_try_echo"; } >&5
2343 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2344 ac_status=$?
2345 if test -s conftest.err; then
2346 sed '10a\
2347 ... rest of stderr output deleted ...
2348 10q' conftest.err >conftest.er1
2349 cat conftest.er1 >&5
2351 rm -f conftest.er1 conftest.err
2352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2353 test $ac_status = 0; }
2354 done
2356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2357 /* end confdefs.h. */
2360 main ()
2364 return 0;
2366 _ACEOF
2367 ac_clean_files_save=$ac_clean_files
2368 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2369 # Try to create an executable without -o first, disregard a.out.
2370 # It will help us diagnose broken compilers, and finding out an intuition
2371 # of exeext.
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2373 $as_echo_n "checking whether the C compiler works... " >&6; }
2374 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2376 # The possible output files:
2377 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2379 ac_rmfiles=
2380 for ac_file in $ac_files
2382 case $ac_file in
2383 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2384 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2385 esac
2386 done
2387 rm -f $ac_rmfiles
2389 if { { ac_try="$ac_link_default"
2390 case "(($ac_try" in
2391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2392 *) ac_try_echo=$ac_try;;
2393 esac
2394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2395 $as_echo "$ac_try_echo"; } >&5
2396 (eval "$ac_link_default") 2>&5
2397 ac_status=$?
2398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2399 test $ac_status = 0; }; then :
2400 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2401 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2402 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2403 # so that the user can short-circuit this test for compilers unknown to
2404 # Autoconf.
2405 for ac_file in $ac_files ''
2407 test -f "$ac_file" || continue
2408 case $ac_file in
2409 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2411 [ab].out )
2412 # We found the default executable, but exeext='' is most
2413 # certainly right.
2414 break;;
2415 *.* )
2416 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2417 then :; else
2418 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2420 # We set ac_cv_exeext here because the later test for it is not
2421 # safe: cross compilers may not add the suffix if given an `-o'
2422 # argument, so we may need to know it at that point already.
2423 # Even if this section looks crufty: it has the advantage of
2424 # actually working.
2425 break;;
2427 break;;
2428 esac
2429 done
2430 test "$ac_cv_exeext" = no && ac_cv_exeext=
2432 else
2433 ac_file=''
2435 if test -z "$ac_file"; then :
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2437 $as_echo "no" >&6; }
2438 $as_echo "$as_me: failed program was:" >&5
2439 sed 's/^/| /' conftest.$ac_ext >&5
2441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2443 as_fn_error 77 "C compiler cannot create executables
2444 See \`config.log' for more details" "$LINENO" 5; }
2445 else
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2447 $as_echo "yes" >&6; }
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2450 $as_echo_n "checking for C compiler default output file name... " >&6; }
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2452 $as_echo "$ac_file" >&6; }
2453 ac_exeext=$ac_cv_exeext
2455 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2456 ac_clean_files=$ac_clean_files_save
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2458 $as_echo_n "checking for suffix of executables... " >&6; }
2459 if { { ac_try="$ac_link"
2460 case "(($ac_try" in
2461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2462 *) ac_try_echo=$ac_try;;
2463 esac
2464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2465 $as_echo "$ac_try_echo"; } >&5
2466 (eval "$ac_link") 2>&5
2467 ac_status=$?
2468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2469 test $ac_status = 0; }; then :
2470 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2471 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2472 # work properly (i.e., refer to `conftest.exe'), while it won't with
2473 # `rm'.
2474 for ac_file in conftest.exe conftest conftest.*; do
2475 test -f "$ac_file" || continue
2476 case $ac_file in
2477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2478 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2479 break;;
2480 * ) break;;
2481 esac
2482 done
2483 else
2484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2486 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2487 See \`config.log' for more details" "$LINENO" 5; }
2489 rm -f conftest conftest$ac_cv_exeext
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2491 $as_echo "$ac_cv_exeext" >&6; }
2493 rm -f conftest.$ac_ext
2494 EXEEXT=$ac_cv_exeext
2495 ac_exeext=$EXEEXT
2496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2497 /* end confdefs.h. */
2498 #include <stdio.h>
2500 main ()
2502 FILE *f = fopen ("conftest.out", "w");
2503 return ferror (f) || fclose (f) != 0;
2506 return 0;
2508 _ACEOF
2509 ac_clean_files="$ac_clean_files conftest.out"
2510 # Check that the compiler produces executables we can run. If not, either
2511 # the compiler is broken, or we cross compile.
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2513 $as_echo_n "checking whether we are cross compiling... " >&6; }
2514 if test "$cross_compiling" != yes; then
2515 { { ac_try="$ac_link"
2516 case "(($ac_try" in
2517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2518 *) ac_try_echo=$ac_try;;
2519 esac
2520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2521 $as_echo "$ac_try_echo"; } >&5
2522 (eval "$ac_link") 2>&5
2523 ac_status=$?
2524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2525 test $ac_status = 0; }
2526 if { ac_try='./conftest$ac_cv_exeext'
2527 { { case "(($ac_try" in
2528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2529 *) ac_try_echo=$ac_try;;
2530 esac
2531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2532 $as_echo "$ac_try_echo"; } >&5
2533 (eval "$ac_try") 2>&5
2534 ac_status=$?
2535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2536 test $ac_status = 0; }; }; then
2537 cross_compiling=no
2538 else
2539 if test "$cross_compiling" = maybe; then
2540 cross_compiling=yes
2541 else
2542 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2544 as_fn_error $? "cannot run C compiled programs.
2545 If you meant to cross compile, use \`--host'.
2546 See \`config.log' for more details" "$LINENO" 5; }
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2551 $as_echo "$cross_compiling" >&6; }
2553 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2554 ac_clean_files=$ac_clean_files_save
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2556 $as_echo_n "checking for suffix of object files... " >&6; }
2557 if ${ac_cv_objext+:} false; then :
2558 $as_echo_n "(cached) " >&6
2559 else
2560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2561 /* end confdefs.h. */
2564 main ()
2568 return 0;
2570 _ACEOF
2571 rm -f conftest.o conftest.obj
2572 if { { ac_try="$ac_compile"
2573 case "(($ac_try" in
2574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2575 *) ac_try_echo=$ac_try;;
2576 esac
2577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2578 $as_echo "$ac_try_echo"; } >&5
2579 (eval "$ac_compile") 2>&5
2580 ac_status=$?
2581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2582 test $ac_status = 0; }; then :
2583 for ac_file in conftest.o conftest.obj conftest.*; do
2584 test -f "$ac_file" || continue;
2585 case $ac_file in
2586 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2587 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2588 break;;
2589 esac
2590 done
2591 else
2592 $as_echo "$as_me: failed program was:" >&5
2593 sed 's/^/| /' conftest.$ac_ext >&5
2595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2597 as_fn_error $? "cannot compute suffix of object files: cannot compile
2598 See \`config.log' for more details" "$LINENO" 5; }
2600 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2603 $as_echo "$ac_cv_objext" >&6; }
2604 OBJEXT=$ac_cv_objext
2605 ac_objext=$OBJEXT
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2607 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2608 if ${ac_cv_c_compiler_gnu+:} false; then :
2609 $as_echo_n "(cached) " >&6
2610 else
2611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2612 /* end confdefs.h. */
2615 main ()
2617 #ifndef __GNUC__
2618 choke me
2619 #endif
2622 return 0;
2624 _ACEOF
2625 if ac_fn_c_try_compile "$LINENO"; then :
2626 ac_compiler_gnu=yes
2627 else
2628 ac_compiler_gnu=no
2630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2631 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2635 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2636 if test $ac_compiler_gnu = yes; then
2637 GCC=yes
2638 else
2639 GCC=
2641 ac_test_CFLAGS=${CFLAGS+set}
2642 ac_save_CFLAGS=$CFLAGS
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2644 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2645 if ${ac_cv_prog_cc_g+:} false; then :
2646 $as_echo_n "(cached) " >&6
2647 else
2648 ac_save_c_werror_flag=$ac_c_werror_flag
2649 ac_c_werror_flag=yes
2650 ac_cv_prog_cc_g=no
2651 CFLAGS="-g"
2652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h. */
2656 main ()
2660 return 0;
2662 _ACEOF
2663 if ac_fn_c_try_compile "$LINENO"; then :
2664 ac_cv_prog_cc_g=yes
2665 else
2666 CFLAGS=""
2667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2671 main ()
2675 return 0;
2677 _ACEOF
2678 if ac_fn_c_try_compile "$LINENO"; then :
2680 else
2681 ac_c_werror_flag=$ac_save_c_werror_flag
2682 CFLAGS="-g"
2683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h. */
2687 main ()
2691 return 0;
2693 _ACEOF
2694 if ac_fn_c_try_compile "$LINENO"; then :
2695 ac_cv_prog_cc_g=yes
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2702 ac_c_werror_flag=$ac_save_c_werror_flag
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2705 $as_echo "$ac_cv_prog_cc_g" >&6; }
2706 if test "$ac_test_CFLAGS" = set; then
2707 CFLAGS=$ac_save_CFLAGS
2708 elif test $ac_cv_prog_cc_g = yes; then
2709 if test "$GCC" = yes; then
2710 CFLAGS="-g -O2"
2711 else
2712 CFLAGS="-g"
2714 else
2715 if test "$GCC" = yes; then
2716 CFLAGS="-O2"
2717 else
2718 CFLAGS=
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2722 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2723 if ${ac_cv_prog_cc_c89+:} false; then :
2724 $as_echo_n "(cached) " >&6
2725 else
2726 ac_cv_prog_cc_c89=no
2727 ac_save_CC=$CC
2728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2729 /* end confdefs.h. */
2730 #include <stdarg.h>
2731 #include <stdio.h>
2732 struct stat;
2733 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2734 struct buf { int x; };
2735 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2736 static char *e (p, i)
2737 char **p;
2738 int i;
2740 return p[i];
2742 static char *f (char * (*g) (char **, int), char **p, ...)
2744 char *s;
2745 va_list v;
2746 va_start (v,p);
2747 s = g (p, va_arg (v,int));
2748 va_end (v);
2749 return s;
2752 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2753 function prototypes and stuff, but not '\xHH' hex character constants.
2754 These don't provoke an error unfortunately, instead are silently treated
2755 as 'x'. The following induces an error, until -std is added to get
2756 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2757 array size at least. It's necessary to write '\x00'==0 to get something
2758 that's true only with -std. */
2759 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2761 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2762 inside strings and character constants. */
2763 #define FOO(x) 'x'
2764 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2766 int test (int i, double x);
2767 struct s1 {int (*f) (int a);};
2768 struct s2 {int (*f) (double a);};
2769 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2770 int argc;
2771 char **argv;
2773 main ()
2775 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2777 return 0;
2779 _ACEOF
2780 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2781 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2783 CC="$ac_save_CC $ac_arg"
2784 if ac_fn_c_try_compile "$LINENO"; then :
2785 ac_cv_prog_cc_c89=$ac_arg
2787 rm -f core conftest.err conftest.$ac_objext
2788 test "x$ac_cv_prog_cc_c89" != "xno" && break
2789 done
2790 rm -f conftest.$ac_ext
2791 CC=$ac_save_CC
2794 # AC_CACHE_VAL
2795 case "x$ac_cv_prog_cc_c89" in
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2798 $as_echo "none needed" >&6; } ;;
2799 xno)
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2801 $as_echo "unsupported" >&6; } ;;
2803 CC="$CC $ac_cv_prog_cc_c89"
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2805 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2806 esac
2807 if test "x$ac_cv_prog_cc_c89" != xno; then :
2811 ac_ext=c
2812 ac_cpp='$CPP $CPPFLAGS'
2813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2819 $as_echo_n "checking target config location... " >&6; }
2821 # Check whether --with-config-dir was given.
2822 if test "${with_config_dir+set}" = set; then :
2823 withval=$with_config_dir; targetcfg_dir="$withval"
2824 else
2825 targetcfg_dir=""
2828 if test "$targetcfg_dir" = ""; then
2829 as_fn_error $? "missing config directory!" "$LINENO" 5
2830 else
2831 aros_targetcfg_dir="$targetcfg_dir"
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2834 $as_echo "$aros_targetcfg_dir" >&6; }
2836 #-----------------------------------------------------------------------------
2838 # Check if the target compiler supports some features:
2839 # C/ObjC
2840 # -fexceptions
2841 # -ffast-math
2842 # -fassociative-math
2843 # -fno-math-errno
2844 # -fno-trapping-math
2845 # -ftree-vectorize
2846 # -flto
2847 # -fwhole-program
2848 # -floop-block
2849 # -floop-interchange
2850 # -floop-strip-mine
2851 # -fpeel-loops
2852 # -fstrict-aliasing
2853 # -finline-small-functions
2854 # -fipa-cp
2855 # -funroll-loops
2856 # -fomit-frame-pointer
2857 # -fprofile-arcs
2858 # -ftest-coverage
2859 # -finstrument-functions
2860 # -faligned-new
2862 # -fno-builtin
2863 # -fno-builtin-floor
2864 # -fno-builtin-vsnprintf
2866 # -ffreestanding
2867 # -fasynchronous-unwind-tables
2869 # C++/ObjC++
2870 # -fpermissive
2871 # -frtti
2873 # -fvisibility=hidden
2875 # C features first
2876 ac_ext=c
2877 ac_cpp='$CPP $CPPFLAGS'
2878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2883 save_cflags="$CFLAGS"
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2885 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2886 CFLAGS=-fexceptions
2888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2889 /* end confdefs.h. */
2892 main ()
2896 return 0;
2898 _ACEOF
2899 if ac_fn_c_try_compile "$LINENO"; then :
2900 aros_exceptions="yes"
2901 else
2902 aros_exceptions="no"
2904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2906 $as_echo "$aros_exceptions" >&6; }
2907 if test "x-$aros_exceptions" = "x-yes" ; then
2908 aros_cflags_exceptions=-fexceptions
2909 aros_cflags_noexceptions=-fno-exceptions
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2913 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2914 CFLAGS=-ffast-math
2915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2916 /* end confdefs.h. */
2919 main ()
2923 return 0;
2925 _ACEOF
2926 if ac_fn_c_try_compile "$LINENO"; then :
2927 aros_fast_math="yes"
2928 else
2929 aros_fast_math="no"
2931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2933 $as_echo "$aros_fast_math" >&6; }
2934 if test "x-$aros_fast_math" = "x-yes" ; then
2935 aros_cflags_fast_math=-ffast-math
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fassociative-math" >&5
2939 $as_echo_n "checking whether ${CC} accepts -fassociative-math... " >&6; }
2940 CFLAGS=-fassociative-math
2941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2942 /* end confdefs.h. */
2945 main ()
2949 return 0;
2951 _ACEOF
2952 if ac_fn_c_try_compile "$LINENO"; then :
2953 aros_associative_math="yes"
2954 else
2955 aros_associative_math="no"
2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_associative_math" >&5
2959 $as_echo "$aros_associative_math" >&6; }
2960 if test "x-$aros_associative_math" = "x-yes" ; then
2961 aros_cflags_associative_math=-fassociative-math
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-math-errno" >&5
2965 $as_echo_n "checking whether ${CC} accepts -fno-math-errno... " >&6; }
2966 CFLAGS=-fno-math-errno
2967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2968 /* end confdefs.h. */
2971 main ()
2975 return 0;
2977 _ACEOF
2978 if ac_fn_c_try_compile "$LINENO"; then :
2979 aros_no_math_errno="yes"
2980 else
2981 aros_no_math_errno="no"
2983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_math_errno" >&5
2985 $as_echo "$aros_no_math_errno" >&6; }
2986 if test "x-$aros_no_math_errno" = "x-yes" ; then
2987 aros_cflags_no_math_errno=-fno-math-errno
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-trapping-math" >&5
2991 $as_echo_n "checking whether ${CC} accepts -fno-trapping-math... " >&6; }
2992 CFLAGS=-fno-trapping-math
2993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
2997 main ()
3001 return 0;
3003 _ACEOF
3004 if ac_fn_c_try_compile "$LINENO"; then :
3005 aros_no_trapping_math="yes"
3006 else
3007 aros_no_trapping_math="no"
3009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_trapping_math" >&5
3011 $as_echo "$aros_no_trapping_math" >&6; }
3012 if test "x-$aros_no_trapping_math" = "x-yes" ; then
3013 aros_cflags_no_trapping_math=-fno-trapping-math
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ftree-vectorize" >&5
3017 $as_echo_n "checking whether ${CC} accepts -ftree-vectorize... " >&6; }
3018 CFLAGS=-ftree-vectorize
3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h. */
3023 main ()
3027 return 0;
3029 _ACEOF
3030 if ac_fn_c_try_compile "$LINENO"; then :
3031 aros_tree_vectorize="yes"
3032 else
3033 aros_tree_vectorize="no"
3035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tree_vectorize" >&5
3037 $as_echo "$aros_tree_vectorize" >&6; }
3038 if test "x-$aros_tree_vectorize" = "x-yes" ; then
3039 aros_cflags_tree_vectorize=-ftree-vectorize
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
3043 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
3044 CFLAGS=-flto
3045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3046 /* end confdefs.h. */
3049 main ()
3053 return 0;
3055 _ACEOF
3056 if ac_fn_c_try_compile "$LINENO"; then :
3057 aros_lto="yes"
3058 else
3059 aros_lto="no"
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
3063 $as_echo "$aros_lto" >&6; }
3064 if test "x-$aros_lto" = "x-yes" ; then
3065 aros_cflags_lto=-flto
3066 aros_cflags_nolto=-fno-lto
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
3069 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
3070 CFLAGS=-fwhole-program
3071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3072 /* end confdefs.h. */
3075 main ()
3079 return 0;
3081 _ACEOF
3082 if ac_fn_c_try_compile "$LINENO"; then :
3083 aros_whole_program="yes"
3084 else
3085 aros_whole_program="no"
3087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
3089 $as_echo "$aros_whole_program" >&6; }
3090 if test "x-$aros_whole_program" = "x-yes" ; then
3091 aros_cflags_whole_program=-fwhole-program
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
3095 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
3096 CFLAGS=-floop-block
3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3101 main ()
3105 return 0;
3107 _ACEOF
3108 if ac_fn_c_try_compile "$LINENO"; then :
3109 aros_loop_block="yes"
3110 else
3111 aros_loop_block="no"
3113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
3115 $as_echo "$aros_loop_block" >&6; }
3116 if test "x-$aros_loop_block" = "x-yes" ; then
3117 aros_cflags_loop_block=-floop-block
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
3121 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
3122 CFLAGS=-floop-interchange
3123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124 /* end confdefs.h. */
3127 main ()
3131 return 0;
3133 _ACEOF
3134 if ac_fn_c_try_compile "$LINENO"; then :
3135 aros_loop_interchange="yes"
3136 else
3137 aros_loop_interchange="no"
3139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
3141 $as_echo "$aros_loop_interchange" >&6; }
3142 if test "x-$aros_loop_interchange" = "x-yes" ; then
3143 aros_cflags_loop_interchange=-floop-interchange
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
3147 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
3148 CFLAGS=-floop-strip-mine
3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3153 main ()
3157 return 0;
3159 _ACEOF
3160 if ac_fn_c_try_compile "$LINENO"; then :
3161 aros_loop_strip_mine="yes"
3162 else
3163 aros_loop_strip_mine="no"
3165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
3167 $as_echo "$aros_loop_strip_mine" >&6; }
3168 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
3169 aros_cflags_loop_strip_mine=-floop-strip-mine
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
3174 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
3175 CFLAGS=-fpeel-loops
3176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h. */
3180 main ()
3184 return 0;
3186 _ACEOF
3187 if ac_fn_c_try_compile "$LINENO"; then :
3188 aros_peel_loops="yes"
3189 else
3190 aros_peel_loops="no"
3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
3194 $as_echo "$aros_peel_loops" >&6; }
3195 if test "x-$aros_peel_loops" = "x-yes" ; then
3196 aros_cflags_peel_loops=-fpeel-loops
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3200 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3201 CFLAGS=-funroll-loops
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_unroll_loops="yes"
3215 else
3216 aros_unroll_loops="no"
3218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3220 $as_echo "$aros_unroll_loops" >&6; }
3221 if test "x-$aros_unroll_loops" = "x-yes" ; then
3222 aros_cflags_unroll_loops=-funroll-loops
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3226 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3227 CFLAGS=-fstrict-aliasing
3228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3229 /* end confdefs.h. */
3232 main ()
3236 return 0;
3238 _ACEOF
3239 if ac_fn_c_try_compile "$LINENO"; then :
3240 aros_strict_aliasing="yes"
3241 else
3242 aros_strict_aliasing="no"
3244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3246 $as_echo "$aros_strict_aliasing" >&6; }
3247 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3248 aros_cflags_strictaliasing=-fstrict-aliasing
3249 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3253 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3254 CFLAGS=-finline-small-functions
3255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h. */
3259 main ()
3263 return 0;
3265 _ACEOF
3266 if ac_fn_c_try_compile "$LINENO"; then :
3267 aros_inline_small_functions="yes"
3268 else
3269 aros_inline_small_functions="no"
3271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3273 $as_echo "$aros_inline_small_functions" >&6; }
3274 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3275 aros_cflags_inlinesmallfunctions=-finline-small-functions
3276 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fipa-cp" >&5
3280 $as_echo_n "checking whether ${CC} accepts -fipa-cp... " >&6; }
3281 CFLAGS=-fipa-cp
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3286 main ()
3290 return 0;
3292 _ACEOF
3293 if ac_fn_c_try_compile "$LINENO"; then :
3294 aros_ipa_cp="yes"
3295 else
3296 aros_ipa_cp="no"
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ipa_cp" >&5
3300 $as_echo "$aros_ipa_cp" >&6; }
3301 if test "x-$aros_ipa_cp" = "x-yes" ; then
3302 aros_cflags_ipacp=-fipa-cp
3303 aros_cflags_noipacp=-fno-ipa-cp
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fomit-frame-pointer" >&5
3307 $as_echo_n "checking whether ${CC} accepts -fomit-frame-pointer... " >&6; }
3308 CFLAGS=-fomit-frame-pointer
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_omit_frame_pointer="yes"
3322 else
3323 aros_omit_frame_pointer="no"
3325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_omit_frame_pointer" >&5
3327 $as_echo "$aros_omit_frame_pointer" >&6; }
3328 if test "x-$aros_omit_frame_pointer" = "x-yes" ; then
3329 aros_cflags_omitfp=-fomit-frame-pointer
3330 aros_cflags_noomitfp=-fno-omit-frame-pointer
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fprofile-arcs" >&5
3334 $as_echo_n "checking whether ${CC} accepts -fprofile-arcs... " >&6; }
3335 CFLAGS=-fprofile-arcs
3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337 /* end confdefs.h. */
3340 main ()
3344 return 0;
3346 _ACEOF
3347 if ac_fn_c_try_compile "$LINENO"; then :
3348 aros_profile_arcs="yes"
3349 else
3350 aros_profile_arcs="no"
3352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_profile_arcs" >&5
3354 $as_echo "$aros_profile_arcs" >&6; }
3355 if test "x-$aros_profile_arcs" = "x-yes" ; then
3356 aros_cflags_profilearcs=-fprofile-arcs
3357 aros_cflags_noprofilearcs=-fno-profile-arcs
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ftest-coverage" >&5
3361 $as_echo_n "checking whether ${CC} accepts -ftest-coverage... " >&6; }
3362 CFLAGS=-ftest-coverage
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3367 main ()
3371 return 0;
3373 _ACEOF
3374 if ac_fn_c_try_compile "$LINENO"; then :
3375 aros_test_coverage="yes"
3376 else
3377 aros_test_coverage="no"
3379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_test_coverage" >&5
3381 $as_echo "$aros_test_coverage" >&6; }
3382 if test "x-$aros_test_coverage" = "x-yes" ; then
3383 aros_cflags_testcoverage=-ftest-coverage
3384 aros_cflags_notestcoverage=-fno-test-coverage
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finstrument-functions" >&5
3388 $as_echo_n "checking whether ${CC} accepts -finstrument-functions... " >&6; }
3389 CFLAGS=-finstrument-functions
3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391 /* end confdefs.h. */
3394 main ()
3398 return 0;
3400 _ACEOF
3401 if ac_fn_c_try_compile "$LINENO"; then :
3402 aros_instrument_functions="yes"
3403 else
3404 aros_instrument_functions="no"
3406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_instrument_functions" >&5
3408 $as_echo "$aros_instrument_functions" >&6; }
3409 if test "x-$aros_instrument_functions" = "x-yes" ; then
3410 aros_cflags_instrfuncs=-finstrument-functions
3411 aros_cflags_noinstrfuncs=-fno-instrument-functions
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -faligned-new" >&5
3415 $as_echo_n "checking whether ${CC} accepts -faligned-new... " >&6; }
3416 CFLAGS=-faligned-new
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3421 main ()
3425 return 0;
3427 _ACEOF
3428 if ac_fn_c_try_compile "$LINENO"; then :
3429 aros_aligned_new="yes"
3430 else
3431 aros_aligned_new="no"
3433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aligned_new" >&5
3435 $as_echo "$aros_aligned_new" >&6; }
3436 if test "x-$aros_aligned_new" = "x-yes" ; then
3437 aros_cflags_alignednew=-faligned-new
3438 aros_cflags_noalignednew=-fno-aligned-new
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fbuiltin" >&5
3442 $as_echo_n "checking whether ${CC} accepts -fbuiltin... " >&6; }
3443 CFLAGS=-fbuiltin
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3448 main ()
3452 return 0;
3454 _ACEOF
3455 if ac_fn_c_try_compile "$LINENO"; then :
3456 aros_builtin="yes"
3457 else
3458 aros_builtin="no"
3460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_builtin" >&5
3462 $as_echo "$aros_builtin" >&6; }
3463 if test "x-$aros_builtin" = "x-yes" ; then
3464 aros_cflags_builtin=-fbuiltin
3465 aros_cflags_no_builtin=-fno-builtin
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
3469 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
3470 CFLAGS=-fno-builtin-floor
3471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3472 /* end confdefs.h. */
3475 main ()
3479 return 0;
3481 _ACEOF
3482 if ac_fn_c_try_compile "$LINENO"; then :
3483 aros_no_builtin_floor="yes"
3484 else
3485 aros_no_builtin_floor="no"
3487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
3489 $as_echo "$aros_no_builtin_floor" >&6; }
3490 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
3491 aros_cflags_no_builtin_floor=-fno-builtin-floor
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-vsnprintf" >&5
3495 $as_echo_n "checking whether ${CC} accepts -fno-builtin-vsnprintf... " >&6; }
3496 CFLAGS=-fno-builtin-vsnprintf
3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h. */
3501 main ()
3505 return 0;
3507 _ACEOF
3508 if ac_fn_c_try_compile "$LINENO"; then :
3509 aros_no_builtin_vsnprintf="yes"
3510 else
3511 aros_no_builtin_vsnprintf="no"
3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_vsnprintf" >&5
3515 $as_echo "$aros_no_builtin_vsnprintf" >&6; }
3516 if test "x-$aros_no_builtin_vsnprintf" = "x-yes" ; then
3517 aros_cflags_no_builtin_vsnprintf=-fno-builtin-vsnprintf
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffreestanding" >&5
3521 $as_echo_n "checking whether ${CC} accepts -ffreestanding... " >&6; }
3522 CFLAGS=-ffreestanding
3523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3524 /* end confdefs.h. */
3527 main ()
3531 return 0;
3533 _ACEOF
3534 if ac_fn_c_try_compile "$LINENO"; then :
3535 aros_freestanding="yes"
3536 else
3537 aros_freestanding="no"
3539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_freestanding" >&5
3541 $as_echo "$aros_freestanding" >&6; }
3542 if test "x-$aros_freestanding" = "x-yes" ; then
3543 aros_cflags_freestanding=-ffreestanding
3544 aros_cflags_no_freestanding=-fno-freestanding
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fasynchronous-unwind-tables" >&5
3548 $as_echo_n "checking whether ${CC} accepts -fasynchronous-unwind-tables... " >&6; }
3549 CFLAGS=-fasynchronous-unwind-tables
3550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551 /* end confdefs.h. */
3554 main ()
3558 return 0;
3560 _ACEOF
3561 if ac_fn_c_try_compile "$LINENO"; then :
3562 aros_asynchronous_unwind_tables="yes"
3563 else
3564 aros_asynchronous_unwind_tables="no"
3566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_asynchronous_unwind_tables" >&5
3568 $as_echo "$aros_asynchronous_unwind_tables" >&6; }
3569 if test "x-$aros_asynchronous_unwind_tables" = "x-yes" ; then
3570 aros_cflags_asynchronous_unwind_tables=-fasynchronous-unwind-tables
3571 aros_cflags_no_asynchronous_unwind_tables=-fno-asynchronous-unwind-tables
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fvisibility=hidden" >&5
3575 $as_echo_n "checking whether ${CC} accepts -fvisibility=hidden... " >&6; }
3576 CFLAGS=-fvisibility=hidden
3577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3578 /* end confdefs.h. */
3581 main ()
3585 return 0;
3587 _ACEOF
3588 if ac_fn_c_try_compile "$LINENO"; then :
3589 aros_visibility_hidden="yes"
3590 else
3591 aros_visibility_hidden="no"
3593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_visibility_hidden" >&5
3595 $as_echo "$aros_visibility_hidden" >&6; }
3596 if test "x-$aros_visibility_hidden" = "x-yes" ; then
3597 aros_cflags_visibility_hidden=-fvisibility=hidden
3600 # C++ features
3601 ac_ext=cpp
3602 ac_cpp='$CXXCPP $CPPFLAGS'
3603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3607 save_cxxflags="$CXXFLAGS"
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -fpermissive" >&5
3610 $as_echo_n "checking whether ${CXX} accepts -fpermissive... " >&6; }
3611 CXXFLAGS=-fpermissive
3612 ac_ext=cpp
3613 ac_cpp='$CXXCPP $CPPFLAGS'
3614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3617 if test -z "$CXX"; then
3618 if test -n "$CCC"; then
3619 CXX=$CCC
3620 else
3621 if test -n "$ac_tool_prefix"; then
3622 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3624 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3625 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3627 $as_echo_n "checking for $ac_word... " >&6; }
3628 if ${ac_cv_prog_CXX+:} false; then :
3629 $as_echo_n "(cached) " >&6
3630 else
3631 if test -n "$CXX"; then
3632 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3633 else
3634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3635 for as_dir in $PATH
3637 IFS=$as_save_IFS
3638 test -z "$as_dir" && as_dir=.
3639 for ac_exec_ext in '' $ac_executable_extensions; do
3640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3641 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3643 break 2
3645 done
3646 done
3647 IFS=$as_save_IFS
3651 CXX=$ac_cv_prog_CXX
3652 if test -n "$CXX"; then
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3654 $as_echo "$CXX" >&6; }
3655 else
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657 $as_echo "no" >&6; }
3661 test -n "$CXX" && break
3662 done
3664 if test -z "$CXX"; then
3665 ac_ct_CXX=$CXX
3666 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3668 # Extract the first word of "$ac_prog", so it can be a program name with args.
3669 set dummy $ac_prog; ac_word=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3673 $as_echo_n "(cached) " >&6
3674 else
3675 if test -n "$ac_ct_CXX"; then
3676 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3677 else
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3679 for as_dir in $PATH
3681 IFS=$as_save_IFS
3682 test -z "$as_dir" && as_dir=.
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3685 ac_cv_prog_ac_ct_CXX="$ac_prog"
3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3687 break 2
3689 done
3690 done
3691 IFS=$as_save_IFS
3695 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3696 if test -n "$ac_ct_CXX"; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3698 $as_echo "$ac_ct_CXX" >&6; }
3699 else
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3705 test -n "$ac_ct_CXX" && break
3706 done
3708 if test "x$ac_ct_CXX" = x; then
3709 CXX="g++"
3710 else
3711 case $cross_compiling:$ac_tool_warned in
3712 yes:)
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3715 ac_tool_warned=yes ;;
3716 esac
3717 CXX=$ac_ct_CXX
3723 # Provide some information about the compiler.
3724 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3725 set X $ac_compile
3726 ac_compiler=$2
3727 for ac_option in --version -v -V -qversion; do
3728 { { ac_try="$ac_compiler $ac_option >&5"
3729 case "(($ac_try" in
3730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3731 *) ac_try_echo=$ac_try;;
3732 esac
3733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3734 $as_echo "$ac_try_echo"; } >&5
3735 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3736 ac_status=$?
3737 if test -s conftest.err; then
3738 sed '10a\
3739 ... rest of stderr output deleted ...
3740 10q' conftest.err >conftest.er1
3741 cat conftest.er1 >&5
3743 rm -f conftest.er1 conftest.err
3744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3745 test $ac_status = 0; }
3746 done
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3749 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3750 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3751 $as_echo_n "(cached) " >&6
3752 else
3753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3754 /* end confdefs.h. */
3757 main ()
3759 #ifndef __GNUC__
3760 choke me
3761 #endif
3764 return 0;
3766 _ACEOF
3767 if ac_fn_cxx_try_compile "$LINENO"; then :
3768 ac_compiler_gnu=yes
3769 else
3770 ac_compiler_gnu=no
3772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3773 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3777 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3778 if test $ac_compiler_gnu = yes; then
3779 GXX=yes
3780 else
3781 GXX=
3783 ac_test_CXXFLAGS=${CXXFLAGS+set}
3784 ac_save_CXXFLAGS=$CXXFLAGS
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3786 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3787 if ${ac_cv_prog_cxx_g+:} false; then :
3788 $as_echo_n "(cached) " >&6
3789 else
3790 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3791 ac_cxx_werror_flag=yes
3792 ac_cv_prog_cxx_g=no
3793 CXXFLAGS="-g"
3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h. */
3798 main ()
3802 return 0;
3804 _ACEOF
3805 if ac_fn_cxx_try_compile "$LINENO"; then :
3806 ac_cv_prog_cxx_g=yes
3807 else
3808 CXXFLAGS=""
3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h. */
3813 main ()
3817 return 0;
3819 _ACEOF
3820 if ac_fn_cxx_try_compile "$LINENO"; then :
3822 else
3823 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3824 CXXFLAGS="-g"
3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826 /* end confdefs.h. */
3829 main ()
3833 return 0;
3835 _ACEOF
3836 if ac_fn_cxx_try_compile "$LINENO"; then :
3837 ac_cv_prog_cxx_g=yes
3839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3844 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3847 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3848 if test "$ac_test_CXXFLAGS" = set; then
3849 CXXFLAGS=$ac_save_CXXFLAGS
3850 elif test $ac_cv_prog_cxx_g = yes; then
3851 if test "$GXX" = yes; then
3852 CXXFLAGS="-g -O2"
3853 else
3854 CXXFLAGS="-g"
3856 else
3857 if test "$GXX" = yes; then
3858 CXXFLAGS="-O2"
3859 else
3860 CXXFLAGS=
3863 ac_ext=cpp
3864 ac_cpp='$CXXCPP $CPPFLAGS'
3865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3871 /* end confdefs.h. */
3874 main ()
3878 return 0;
3880 _ACEOF
3881 if ac_fn_cxx_try_compile "$LINENO"; then :
3882 aros_permissive="yes"
3883 else
3884 aros_permissive="no"
3886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
3888 $as_echo "$aros_permissive" >&6; }
3889 if test "x-$aros_permissive" = "x-yes" ; then
3890 aros_cxxflags_permissive=-fpermissive
3891 aros_cxxflags_nopermissive=-fno-permissive
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -frtti" >&5
3895 $as_echo_n "checking whether ${CXX} accepts -frtti... " >&6; }
3896 CXXFLAGS=-frtti
3897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3898 /* end confdefs.h. */
3901 main ()
3905 return 0;
3907 _ACEOF
3908 if ac_fn_cxx_try_compile "$LINENO"; then :
3909 aros_rtti="yes"
3910 else
3911 aros_rtti="no"
3913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_rtti" >&5
3915 $as_echo "$aros_rtti" >&6; }
3916 if test "x-$aros_rtti" = "x-yes" ; then
3917 aros_cxxflags_rtti=-frtti
3918 aros_cxxflags_nortti=-fno-rtti
3921 CXXFLAGS="$save_cxxflags"
3924 # Check for additional C compiler options..
3925 ac_ext=c
3926 ac_cpp='$CPP $CPPFLAGS'
3927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3932 #-----------------------------------------------------------------------------
3934 # Check if the target compiler supports some include directory options:
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3937 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3938 CFLAGS="-iquote."
3939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3940 /* end confdefs.h. */
3943 main ()
3947 return 0;
3949 _ACEOF
3950 if ac_fn_c_try_compile "$LINENO"; then :
3951 has_iquote="yes"
3952 else
3953 has_iquote="no"
3955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3957 $as_echo "$has_iquote" >&6; }
3958 if test "x-$has_iquote" = "x-yes" ; then
3959 aros_cflags_iquote=-iquote
3960 aros_cflags_iquote_end=
3961 else
3962 aros_cflags_iquote=-I
3963 aros_cflags_iquote_end=-I-
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -isystem" >&5
3967 $as_echo_n "checking whether ${CC} accepts -isystem... " >&6; }
3968 CFLAGS="-isystem."
3969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3970 /* end confdefs.h. */
3973 main ()
3977 return 0;
3979 _ACEOF
3980 if ac_fn_c_try_compile "$LINENO"; then :
3981 has_isystem="yes"
3982 else
3983 has_isystem="no"
3985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_isystem" >&5
3987 $as_echo "$has_isystem" >&6; }
3988 if test "x-$has_isystem" = "x-yes" ; then
3989 aros_cflags_isystem=-isystem
3990 aros_cflags_isystem_end=
3991 else
3992 aros_cflags_isystem=-I
3993 aros_cflags_isystem_end=
3996 #-----------------------------------------------------------------------------
3998 # Check if the target compiler supports some ISA options:
3999 # -mno-red-zone
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mred-zone" >&5
4002 $as_echo_n "checking whether ${CC} accepts -mred-zone... " >&6; }
4003 CFLAGS=-mred-zone
4004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4005 /* end confdefs.h. */
4008 main ()
4012 return 0;
4014 _ACEOF
4015 if ac_fn_c_try_compile "$LINENO"; then :
4016 aros_no_red_zone="yes"
4017 else
4018 aros_no_red_zone="no"
4020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
4022 $as_echo "$aros_no_red_zone" >&6; }
4023 if test "x-$aros_no_red_zone" = "x-yes" ; then
4024 aros_cflags_red_zone=-mred-zone
4025 aros_cflags_no_red_zone=-mno-red-zone
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mms-bitfields" >&5
4029 $as_echo_n "checking whether ${CC} accepts -mms-bitfields... " >&6; }
4030 CFLAGS=-mms-bitfields
4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h. */
4035 main ()
4039 return 0;
4041 _ACEOF
4042 if ac_fn_c_try_compile "$LINENO"; then :
4043 aros_ms_bitfields="yes"
4044 else
4045 aros_ms_bitfields="no"
4047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ms_bitfields" >&5
4049 $as_echo "$aros_ms_bitfields" >&6; }
4050 if test "x-$aros_ms_bitfields" = "x-yes" ; then
4051 aros_cflags_ms_bitfields=-mms-bitfields
4052 aros_cflags_no_ms_bitfields=-mno-ms-bitfields
4055 CFLAGS="$save_cflags"
4057 #-----------------------------------------------------------------------------
4059 # Check if the target compiler supports some options used for de-linting:
4060 # -Werror
4061 # -Wall
4062 # -Wrestrict
4063 # -Wunused-command-line-argument
4064 # -Wunknown-warning-option
4065 # -Wunused-but-set-variable
4066 # -Wstrict-aliasing
4067 # -Warray-bounds
4068 # -Wenum-compare
4069 # -Wstrict-prototypes
4070 # -Wstrict-overflow
4071 # -Wformat-security
4072 # -Wmisleading-indentation
4073 # -Wnonnull-compare
4074 # -Wunused
4075 # -Wunused-label
4076 # -Wunused-value
4077 # -Wunused-variable
4078 # -Wunused-function
4079 # -Wunused-parameter
4080 # -Wuninitialized
4081 # -Wmaybe-uninitialized
4082 # -Wimplicit-function-declaration
4083 # -Wformat
4084 # -Wparentheses
4085 # -Wchar-subscripts
4086 # -Wendif-labels
4087 # -Wformat-contains-nul
4088 # -Wimplicit-int
4089 # -Waggressive-loop-optimizations
4090 # -Wcpp
4091 # -Wswitch
4092 # -Wdiscarded-qualifiers
4093 # -Wsequence-point
4094 # -Wunknown-pragmas
4095 # -Wdiscarded-array-qualifiers
4096 # -Wint-conversion
4097 # -Wint-to-pointer-cast
4098 # -Wpointer-to-int-cast
4099 # -Wunused-const-variable
4100 # -Wwrite-strings
4101 # -Wcomment
4102 # -Wincompatible-pointer-types
4103 # -Wbool-compare
4104 # -Wlogical-not-parentheses
4105 # -Wpointer-sign
4106 # -Wshift-overflow
4107 # -Wframe-address
4108 # -Wdeprecated-declarations
4109 # -Wsign-compare
4110 # -Wattributes
4111 # -Woverflow
4112 # -Wunused-local-typedefs
4113 # -Wmissing-braces
4114 # -Wconversion-null
4115 # -Wnarrowing
4116 # -Wvolatile-register-var
4117 # -Wsizeof-pointer-memaccess
4118 # -Wreturn-type
4119 # -Wformat-zero-length
4120 # -Wlto-type-mismatch
4121 # -Wtautological-compare
4122 # -Wempty-body
4123 # -Wformat-overflow
4124 # -Wstringop-overflow
4125 # -Wformat-truncation
4126 # -Wstringop-truncation
4127 # -Wshift-negative-value
4128 # -Wmissing-field-initializers
4129 # -Wimplicit-fallthrough
4130 # -Wmissing-prototypes
4131 # -Wclass-memaccess
4132 # -Wint-in-bool-context
4134 # C warnings first
4135 ac_ext=c
4136 ac_cpp='$CPP $CPPFLAGS'
4137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4142 save_cflags="$CFLAGS"
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
4144 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
4145 CFLAGS=-Werror
4146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h. */
4150 main ()
4154 return 0;
4156 _ACEOF
4157 if ac_fn_c_try_compile "$LINENO"; then :
4158 aros_error="yes"
4159 else
4160 aros_error="no"
4162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
4164 $as_echo "$aros_error" >&6; }
4165 if test "x-$aros_error" = "x-yes" ; then
4166 aros_warnflags_error=-Werror
4167 aros_nowarnflags_error=-Wno-error
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wall" >&5
4171 $as_echo_n "checking whether ${CC} accepts -Wall... " >&6; }
4172 CFLAGS=-Wall
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4177 main ()
4181 return 0;
4183 _ACEOF
4184 if ac_fn_c_try_compile "$LINENO"; then :
4185 aros_all="yes"
4186 else
4187 aros_all="no"
4189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_all" >&5
4191 $as_echo "$aros_all" >&6; }
4192 if test "x-$aros_all" = "x-yes" ; then
4193 aros_warnflags_all=-Wall
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wrestrict" >&5
4197 $as_echo_n "checking whether ${CC} accepts -Wrestrict... " >&6; }
4198 CFLAGS=-Wrestrict
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4203 main ()
4207 return 0;
4209 _ACEOF
4210 if ac_fn_c_try_compile "$LINENO"; then :
4211 aros_restrict="yes"
4212 else
4213 aros_restrict="no"
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_restrict" >&5
4217 $as_echo "$aros_restrict" >&6; }
4218 if test "x-$aros_restrict" = "x-yes" ; then
4219 aros_warnflags_restrict=-Wrestrict
4220 aros_nowarnflags_restrict=-Wno-restrict
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
4224 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
4225 CFLAGS=-Wunused-command-line-argument
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4230 main ()
4234 return 0;
4236 _ACEOF
4237 if ac_fn_c_try_compile "$LINENO"; then :
4238 aros_unused_command_line_argument="yes"
4239 else
4240 aros_unused_command_line_argument="no"
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
4244 $as_echo "$aros_unused_command_line_argument" >&6; }
4245 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
4246 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
4247 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
4251 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
4252 CFLAGS=-Wunknown-warning-option
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4257 main ()
4261 return 0;
4263 _ACEOF
4264 if ac_fn_c_try_compile "$LINENO"; then :
4265 aros_unknown_warning_option="yes"
4266 else
4267 aros_unknown_warning_option="no"
4269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
4271 $as_echo "$aros_unknown_warning_option" >&6; }
4272 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
4273 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
4274 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
4278 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
4279 CFLAGS=-Wunused-but-set-variable
4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4281 /* end confdefs.h. */
4284 main ()
4288 return 0;
4290 _ACEOF
4291 if ac_fn_c_try_compile "$LINENO"; then :
4292 aros_unused_but_set_variable="yes"
4293 else
4294 aros_unused_but_set_variable="no"
4296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
4298 $as_echo "$aros_unused_but_set_variable" >&6; }
4299 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
4300 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
4301 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
4305 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
4306 CFLAGS=-Wstrict-aliasing
4307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4308 /* end confdefs.h. */
4311 main ()
4315 return 0;
4317 _ACEOF
4318 if ac_fn_c_try_compile "$LINENO"; then :
4319 aros_strict_aliasing="yes"
4320 else
4321 aros_strict_aliasing="no"
4323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
4325 $as_echo "$aros_strict_aliasing" >&6; }
4326 if test "x-$aros_strict_aliasing" = "x-yes" ; then
4327 aros_warnflags_strict_aliasing=-Wstrict-aliasing
4328 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
4332 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
4333 CFLAGS=-Warray-bounds
4334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4335 /* end confdefs.h. */
4338 main ()
4342 return 0;
4344 _ACEOF
4345 if ac_fn_c_try_compile "$LINENO"; then :
4346 aros_array_bounds="yes"
4347 else
4348 aros_array_bounds="no"
4350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
4352 $as_echo "$aros_array_bounds" >&6; }
4353 if test "x-$aros_array_bounds" = "x-yes" ; then
4354 aros_warnflags_array_bounds=-Warray-bounds
4355 aros_nowarnflags_array_bounds=-Wno-array-bounds
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
4359 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
4360 CFLAGS=-Wenum-compare
4361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4365 main ()
4369 return 0;
4371 _ACEOF
4372 if ac_fn_c_try_compile "$LINENO"; then :
4373 aros_enum_compare="yes"
4374 else
4375 aros_enum_compare="no"
4377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
4379 $as_echo "$aros_enum_compare" >&6; }
4380 if test "x-$aros_enum_compare" = "x-yes" ; then
4381 aros_warnflags_enum_compare=-Wenum-compare
4382 aros_nowarnflags_enum_compare=-Wno-enum-compare
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
4386 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
4387 CFLAGS=-Wstrict-prototypes
4388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4389 /* end confdefs.h. */
4392 main ()
4396 return 0;
4398 _ACEOF
4399 if ac_fn_c_try_compile "$LINENO"; then :
4400 aros_strict_prototypes="yes"
4401 else
4402 aros_strict_prototypes="no"
4404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
4406 $as_echo "$aros_strict_prototypes" >&6; }
4407 if test "x-$aros_strict_prototypes" = "x-yes" ; then
4408 aros_warnflags_strict_prototypes=-Wstrict-prototypes
4409 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
4413 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
4414 CFLAGS=-Wstrict-overflow
4415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h. */
4419 main ()
4423 return 0;
4425 _ACEOF
4426 if ac_fn_c_try_compile "$LINENO"; then :
4427 aros_strict_overflow="yes"
4428 else
4429 aros_strict_overflow="no"
4431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
4433 $as_echo "$aros_strict_overflow" >&6; }
4434 if test "x-$aros_strict_overflow" = "x-yes" ; then
4435 aros_warnflags_strict_overflow=-Wstrict-overflow
4436 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
4440 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
4441 CFLAGS=-Wformat-security
4442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h. */
4446 main ()
4450 return 0;
4452 _ACEOF
4453 if ac_fn_c_try_compile "$LINENO"; then :
4454 aros_format_security="yes"
4455 else
4456 aros_format_security="no"
4458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
4460 $as_echo "$aros_format_security" >&6; }
4461 if test "x-$aros_format_security" = "x-yes" ; then
4462 aros_warnflags_format_security=-Wformat-security
4463 aros_nowarnflags_format_security=-Wno-format-security
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
4467 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
4468 CFLAGS=-Wmisleading-indentation
4469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4470 /* end confdefs.h. */
4473 main ()
4477 return 0;
4479 _ACEOF
4480 if ac_fn_c_try_compile "$LINENO"; then :
4481 aros_misleading_indentation="yes"
4482 else
4483 aros_misleading_indentation="no"
4485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
4487 $as_echo "$aros_misleading_indentation" >&6; }
4488 if test "x-$aros_misleading_indentation" = "x-yes" ; then
4489 aros_warnflags_misleading_indentation=-Wmisleading-indentation
4490 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
4494 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
4495 CFLAGS=-Wnonnull-compare
4496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4497 /* end confdefs.h. */
4500 main ()
4504 return 0;
4506 _ACEOF
4507 if ac_fn_c_try_compile "$LINENO"; then :
4508 aros_nonnull_compare="yes"
4509 else
4510 aros_nonnull_compare="no"
4512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
4514 $as_echo "$aros_nonnull_compare" >&6; }
4515 if test "x-$aros_nonnull_compare" = "x-yes" ; then
4516 aros_warnflags_nonnull_compare=-Wnonnull-compare
4517 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
4521 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
4522 CFLAGS=-Wunused
4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4527 main ()
4531 return 0;
4533 _ACEOF
4534 if ac_fn_c_try_compile "$LINENO"; then :
4535 aros_unused="yes"
4536 else
4537 aros_unused="no"
4539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
4541 $as_echo "$aros_unused" >&6; }
4542 if test "x-$aros_unused" = "x-yes" ; then
4543 aros_warnflags_unused=-Wunused
4544 aros_nowarnflags_unused=-Wno-unused
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
4548 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
4549 CFLAGS=-Wunused-label
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4554 main ()
4558 return 0;
4560 _ACEOF
4561 if ac_fn_c_try_compile "$LINENO"; then :
4562 aros_unused_label="yes"
4563 else
4564 aros_unused_label="no"
4566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
4568 $as_echo "$aros_unused_label" >&6; }
4569 if test "x-$aros_unused_label" = "x-yes" ; then
4570 aros_warnflags_unused_label=-Wunused-label
4571 aros_nowarnflags_unused_label=-Wno-unused-label
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
4575 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
4576 CFLAGS=-Wunused-value
4577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4578 /* end confdefs.h. */
4581 main ()
4585 return 0;
4587 _ACEOF
4588 if ac_fn_c_try_compile "$LINENO"; then :
4589 aros_unused_value="yes"
4590 else
4591 aros_unused_value="no"
4593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
4595 $as_echo "$aros_unused_value" >&6; }
4596 if test "x-$aros_unused_value" = "x-yes" ; then
4597 aros_warnflags_unused_value=-Wunused-value
4598 aros_nowarnflags_unused_value=-Wno-unused-value
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
4602 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
4603 CFLAGS=-Wunused-variable
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4608 main ()
4612 return 0;
4614 _ACEOF
4615 if ac_fn_c_try_compile "$LINENO"; then :
4616 aros_unused_variable="yes"
4617 else
4618 aros_unused_variable="no"
4620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
4622 $as_echo "$aros_unused_variable" >&6; }
4623 if test "x-$aros_unused_variable" = "x-yes" ; then
4624 aros_warnflags_unused_variable=-Wunused-variable
4625 aros_nowarnflags_unused_variable=-Wno-unused-variable
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
4629 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
4630 CFLAGS=-Wunused-function
4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4635 main ()
4639 return 0;
4641 _ACEOF
4642 if ac_fn_c_try_compile "$LINENO"; then :
4643 aros_unused_function="yes"
4644 else
4645 aros_unused_function="no"
4647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
4649 $as_echo "$aros_unused_function" >&6; }
4650 if test "x-$aros_unused_function" = "x-yes" ; then
4651 aros_warnflags_unused_function=-Wunused-function
4652 aros_nowarnflags_unused_function=-Wno-unused-function
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
4656 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
4657 CFLAGS=-Wunused-parameter
4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4662 main ()
4666 return 0;
4668 _ACEOF
4669 if ac_fn_c_try_compile "$LINENO"; then :
4670 aros_unused_parameter="yes"
4671 else
4672 aros_unused_parameter="no"
4674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
4676 $as_echo "$aros_unused_parameter" >&6; }
4677 if test "x-$aros_unused_parameter" = "x-yes" ; then
4678 aros_warnflags_unused_parameter=-Wunused-parameter
4679 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
4683 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
4684 CFLAGS=-Wuninitialized
4685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4686 /* end confdefs.h. */
4689 main ()
4693 return 0;
4695 _ACEOF
4696 if ac_fn_c_try_compile "$LINENO"; then :
4697 aros_uninitialized="yes"
4698 else
4699 aros_uninitialized="no"
4701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
4703 $as_echo "$aros_uninitialized" >&6; }
4704 if test "x-$aros_uninitialized" = "x-yes" ; then
4705 aros_warnflags_uninitialized=-Wuninitialized
4706 aros_nowarnflags_uninitialized=-Wno-uninitialized
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
4710 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
4711 CFLAGS=-Wmaybe-uninitialized
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4716 main ()
4720 return 0;
4722 _ACEOF
4723 if ac_fn_c_try_compile "$LINENO"; then :
4724 aros_maybe_uninitialized="yes"
4725 else
4726 aros_maybe_uninitialized="no"
4728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
4730 $as_echo "$aros_maybe_uninitialized" >&6; }
4731 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
4732 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
4733 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
4734 else
4735 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
4736 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
4740 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
4741 CFLAGS=-Wimplicit-function-declaration
4742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4743 /* end confdefs.h. */
4746 main ()
4750 return 0;
4752 _ACEOF
4753 if ac_fn_c_try_compile "$LINENO"; then :
4754 aros_implicit_function_declaration="yes"
4755 else
4756 aros_implicit_function_declaration="no"
4758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
4760 $as_echo "$aros_implicit_function_declaration" >&6; }
4761 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
4762 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
4763 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
4767 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
4768 CFLAGS=-Wformat
4769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4773 main ()
4777 return 0;
4779 _ACEOF
4780 if ac_fn_c_try_compile "$LINENO"; then :
4781 aros_format="yes"
4782 else
4783 aros_format="no"
4785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
4787 $as_echo "$aros_format" >&6; }
4788 if test "x-$aros_format" = "x-yes" ; then
4789 aros_warnflags_format=-Wformat
4790 aros_nowarnflags_format=-Wno-format
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
4794 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
4795 CFLAGS=-Wparentheses
4796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4800 main ()
4804 return 0;
4806 _ACEOF
4807 if ac_fn_c_try_compile "$LINENO"; then :
4808 aros_parentheses="yes"
4809 else
4810 aros_parentheses="no"
4812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
4814 $as_echo "$aros_parentheses" >&6; }
4815 if test "x-$aros_parentheses" = "x-yes" ; then
4816 aros_warnflags_parentheses=-Wparentheses
4817 aros_nowarnflags_parentheses=-Wno-parentheses
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
4821 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
4822 CFLAGS=-Wchar-subscripts
4823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4824 /* end confdefs.h. */
4827 main ()
4831 return 0;
4833 _ACEOF
4834 if ac_fn_c_try_compile "$LINENO"; then :
4835 aros_char_subscripts="yes"
4836 else
4837 aros_char_subscripts="no"
4839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
4841 $as_echo "$aros_char_subscripts" >&6; }
4842 if test "x-$aros_char_subscripts" = "x-yes" ; then
4843 aros_warnflags_char_subscripts=-Wchar-subscripts
4844 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
4848 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
4849 CFLAGS=-Wendif-labels
4850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4851 /* end confdefs.h. */
4854 main ()
4858 return 0;
4860 _ACEOF
4861 if ac_fn_c_try_compile "$LINENO"; then :
4862 aros_endif_labels="yes"
4863 else
4864 aros_endif_labels="no"
4866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
4868 $as_echo "$aros_endif_labels" >&6; }
4869 if test "x-$aros_endif_labels" = "x-yes" ; then
4870 aros_warnflags_endif_labels=-Wendif-labels
4871 aros_nowarnflags_endif_labels=-Wno-endif-labels
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
4875 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
4876 CFLAGS=-Wformat-contains-nul
4877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4878 /* end confdefs.h. */
4881 main ()
4885 return 0;
4887 _ACEOF
4888 if ac_fn_c_try_compile "$LINENO"; then :
4889 aros_format_contains_nul="yes"
4890 else
4891 aros_format_contains_nul="no"
4893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
4895 $as_echo "$aros_format_contains_nul" >&6; }
4896 if test "x-$aros_format_contains_nul" = "x-yes" ; then
4897 aros_warnflags_format_contains_nul=-Wformat-contains-nul
4898 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
4902 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
4903 CFLAGS=-Wimplicit-int
4904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4905 /* end confdefs.h. */
4908 main ()
4912 return 0;
4914 _ACEOF
4915 if ac_fn_c_try_compile "$LINENO"; then :
4916 aros_implicit_int="yes"
4917 else
4918 aros_implicit_int="no"
4920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
4922 $as_echo "$aros_implicit_int" >&6; }
4923 if test "x-$aros_implicit_int" = "x-yes" ; then
4924 aros_warnflags_implicit_int=-Wimplicit-int
4925 aros_nowarnflags_implicit_int=-Wno-implicit-int
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
4929 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
4930 CFLAGS=-Waggressive-loop-optimizations
4931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4932 /* end confdefs.h. */
4935 main ()
4939 return 0;
4941 _ACEOF
4942 if ac_fn_c_try_compile "$LINENO"; then :
4943 aros_aggressive_loop_optimizations="yes"
4944 else
4945 aros_aggressive_loop_optimizations="no"
4947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
4949 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
4950 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
4951 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
4952 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
4956 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
4957 CFLAGS=-Wcpp
4958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4959 /* end confdefs.h. */
4962 main ()
4966 return 0;
4968 _ACEOF
4969 if ac_fn_c_try_compile "$LINENO"; then :
4970 aros_cpp="yes"
4971 else
4972 aros_cpp="no"
4974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
4976 $as_echo "$aros_cpp" >&6; }
4977 if test "x-$aros_cpp" = "x-yes" ; then
4978 aros_warnflags_cpp=-Wcpp
4979 aros_nowarnflags_cpp=-Wno-cpp
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
4983 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
4984 CFLAGS=-Wswitch
4985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4986 /* end confdefs.h. */
4989 main ()
4993 return 0;
4995 _ACEOF
4996 if ac_fn_c_try_compile "$LINENO"; then :
4997 aros_switch="yes"
4998 else
4999 aros_switch="no"
5001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
5003 $as_echo "$aros_switch" >&6; }
5004 if test "x-$aros_switch" = "x-yes" ; then
5005 aros_warnflags_switch=-Wswitch
5006 aros_nowarnflags_switch=-Wno-switch
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
5010 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
5011 CFLAGS=-Wdiscarded-qualifiers
5012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5013 /* end confdefs.h. */
5016 main ()
5020 return 0;
5022 _ACEOF
5023 if ac_fn_c_try_compile "$LINENO"; then :
5024 aros_discarded_qualifiers="yes"
5025 else
5026 aros_discarded_qualifiers="no"
5028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
5030 $as_echo "$aros_discarded_qualifiers" >&6; }
5031 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
5032 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
5033 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
5037 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
5038 CFLAGS=-Wsequence-point
5039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5043 main ()
5047 return 0;
5049 _ACEOF
5050 if ac_fn_c_try_compile "$LINENO"; then :
5051 aros_sequence_point="yes"
5052 else
5053 aros_sequence_point="no"
5055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
5057 $as_echo "$aros_sequence_point" >&6; }
5058 if test "x-$aros_sequence_point" = "x-yes" ; then
5059 aros_warnflags_sequence_point=-Wsequence-point
5060 aros_nowarnflags_sequence_point=-Wno-sequence-point
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
5064 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
5065 CFLAGS=-Wunknown-pragmas
5066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5067 /* end confdefs.h. */
5070 main ()
5074 return 0;
5076 _ACEOF
5077 if ac_fn_c_try_compile "$LINENO"; then :
5078 aros_unknown_pragmas="yes"
5079 else
5080 aros_unknown_pragmas="no"
5082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
5084 $as_echo "$aros_unknown_pragmas" >&6; }
5085 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
5086 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
5087 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
5091 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
5092 CFLAGS=-Wdiscarded-array-qualifiers
5093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5094 /* end confdefs.h. */
5097 main ()
5101 return 0;
5103 _ACEOF
5104 if ac_fn_c_try_compile "$LINENO"; then :
5105 aros_discarded_array_qualifiers="yes"
5106 else
5107 aros_discarded_array_qualifiers="no"
5109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
5111 $as_echo "$aros_discarded_array_qualifiers" >&6; }
5112 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
5113 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
5114 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
5118 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
5119 CFLAGS=-Wint-conversion
5120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h. */
5124 main ()
5128 return 0;
5130 _ACEOF
5131 if ac_fn_c_try_compile "$LINENO"; then :
5132 aros_int_conversion="yes"
5133 else
5134 aros_int_conversion="no"
5136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
5138 $as_echo "$aros_int_conversion" >&6; }
5139 if test "x-$aros_int_conversion" = "x-yes" ; then
5140 aros_warnflags_int_conversion=-Wint-conversion
5141 aros_nowarnflags_int_conversion=-Wno-int-conversion
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
5145 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
5146 CFLAGS=-Wint-to-pointer-cast
5147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5148 /* end confdefs.h. */
5151 main ()
5155 return 0;
5157 _ACEOF
5158 if ac_fn_c_try_compile "$LINENO"; then :
5159 aros_int_to_pointer_cast="yes"
5160 else
5161 aros_int_to_pointer_cast="no"
5163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
5165 $as_echo "$aros_int_to_pointer_cast" >&6; }
5166 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
5167 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
5168 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
5172 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
5173 CFLAGS=-Wpointer-to-int-cast
5174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5175 /* end confdefs.h. */
5178 main ()
5182 return 0;
5184 _ACEOF
5185 if ac_fn_c_try_compile "$LINENO"; then :
5186 aros_pointer_to_int_cast="yes"
5187 else
5188 aros_pointer_to_int_cast="no"
5190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
5192 $as_echo "$aros_pointer_to_int_cast" >&6; }
5193 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
5194 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
5195 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
5199 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
5200 CFLAGS=-Wunused-const-variable
5201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5202 /* end confdefs.h. */
5205 main ()
5209 return 0;
5211 _ACEOF
5212 if ac_fn_c_try_compile "$LINENO"; then :
5213 aros_unused_const_variable="yes"
5214 else
5215 aros_unused_const_variable="no"
5217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
5219 $as_echo "$aros_unused_const_variable" >&6; }
5220 if test "x-$aros_unused_const_variable" = "x-yes" ; then
5221 aros_warnflags_unused_const_variable=-Wunused-const-variable
5222 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
5226 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
5227 CFLAGS=-Wwrite-strings
5228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5229 /* end confdefs.h. */
5232 main ()
5236 return 0;
5238 _ACEOF
5239 if ac_fn_c_try_compile "$LINENO"; then :
5240 aros_write_strings="yes"
5241 else
5242 aros_write_strings="no"
5244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
5246 $as_echo "$aros_write_strings" >&6; }
5247 if test "x-$aros_write_strings" = "x-yes" ; then
5248 aros_warnflags_write_strings=-Wwrite-strings
5249 aros_nowarnflags_write_strings=-Wno-write-strings
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
5253 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
5254 CFLAGS=-Wcomment
5255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5256 /* end confdefs.h. */
5259 main ()
5263 return 0;
5265 _ACEOF
5266 if ac_fn_c_try_compile "$LINENO"; then :
5267 aros_comment="yes"
5268 else
5269 aros_comment="no"
5271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
5273 $as_echo "$aros_comment" >&6; }
5274 if test "x-$aros_comment" = "x-yes" ; then
5275 aros_warnflags_comment=-Wcomment
5276 aros_nowarnflags_comment=-Wno-comment
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
5280 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
5281 CFLAGS=-Wincompatible-pointer-types
5282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5283 /* end confdefs.h. */
5286 main ()
5290 return 0;
5292 _ACEOF
5293 if ac_fn_c_try_compile "$LINENO"; then :
5294 aros_incompatible_pointer_types="yes"
5295 else
5296 aros_incompatible_pointer_types="no"
5298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
5300 $as_echo "$aros_incompatible_pointer_types" >&6; }
5301 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
5302 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
5303 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
5307 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
5308 CFLAGS=-Wbool-compare
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5313 main ()
5317 return 0;
5319 _ACEOF
5320 if ac_fn_c_try_compile "$LINENO"; then :
5321 aros_bool_compare="yes"
5322 else
5323 aros_bool_compare="no"
5325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
5327 $as_echo "$aros_bool_compare" >&6; }
5328 if test "x-$aros_bool_compare" = "x-yes" ; then
5329 aros_warnflags_bool_compare=-Wbool-compare
5330 aros_nowarnflags_bool_compare=-Wno-bool-compare
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
5334 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
5335 CFLAGS=-Wlogical-not-parentheses
5336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5337 /* end confdefs.h. */
5340 main ()
5344 return 0;
5346 _ACEOF
5347 if ac_fn_c_try_compile "$LINENO"; then :
5348 aros_logical_not_parentheses="yes"
5349 else
5350 aros_logical_not_parentheses="no"
5352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
5354 $as_echo "$aros_logical_not_parentheses" >&6; }
5355 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
5356 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
5357 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
5361 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
5362 CFLAGS=-Wpointer-sign
5363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5364 /* end confdefs.h. */
5367 main ()
5371 return 0;
5373 _ACEOF
5374 if ac_fn_c_try_compile "$LINENO"; then :
5375 aros_pointer_sign="yes"
5376 else
5377 aros_pointer_sign="no"
5379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
5381 $as_echo "$aros_pointer_sign" >&6; }
5382 if test "x-$aros_pointer_sign" = "x-yes" ; then
5383 aros_warnflags_pointer_sign=-Wpointer-sign
5384 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
5388 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
5389 CFLAGS=-Wshift-overflow
5390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5391 /* end confdefs.h. */
5394 main ()
5398 return 0;
5400 _ACEOF
5401 if ac_fn_c_try_compile "$LINENO"; then :
5402 aros_shift_overflow="yes"
5403 else
5404 aros_shift_overflow="no"
5406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
5408 $as_echo "$aros_shift_overflow" >&6; }
5409 if test "x-$aros_shift_overflow" = "x-yes" ; then
5410 aros_warnflags_shift_overflow=-Wshift-overflow
5411 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
5415 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
5416 CFLAGS=-Wframe-address
5417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5421 main ()
5425 return 0;
5427 _ACEOF
5428 if ac_fn_c_try_compile "$LINENO"; then :
5429 aros_frame_address="yes"
5430 else
5431 aros_frame_address="no"
5433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
5435 $as_echo "$aros_frame_address" >&6; }
5436 if test "x-$aros_frame_address" = "x-yes" ; then
5437 aros_warnflags_frame_address=-Wframe-address
5438 aros_nowarnflags_frame_address=-Wno-frame-address
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
5442 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
5443 CFLAGS=-Wdeprecated-declarations
5444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5445 /* end confdefs.h. */
5448 main ()
5452 return 0;
5454 _ACEOF
5455 if ac_fn_c_try_compile "$LINENO"; then :
5456 aros_deprecated_declarations="yes"
5457 else
5458 aros_deprecated_declarations="no"
5460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
5462 $as_echo "$aros_deprecated_declarations" >&6; }
5463 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
5464 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
5465 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
5469 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
5470 CFLAGS=-Wsign-compare
5471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5472 /* end confdefs.h. */
5475 main ()
5479 return 0;
5481 _ACEOF
5482 if ac_fn_c_try_compile "$LINENO"; then :
5483 aros_sign_compare="yes"
5484 else
5485 aros_sign_compare="no"
5487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
5489 $as_echo "$aros_sign_compare" >&6; }
5490 if test "x-$aros_sign_compare" = "x-yes" ; then
5491 aros_warnflags_sign_compare=-Wsign-compare
5492 aros_nowarnflags_sign_compare=-Wno-sign-compare
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
5496 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
5497 CFLAGS=-Wattributes
5498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5499 /* end confdefs.h. */
5502 main ()
5506 return 0;
5508 _ACEOF
5509 if ac_fn_c_try_compile "$LINENO"; then :
5510 aros_attributes="yes"
5511 else
5512 aros_attributes="no"
5514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
5516 $as_echo "$aros_attributes" >&6; }
5517 if test "x-$aros_attributes" = "x-yes" ; then
5518 aros_warnflags_attributes=-Wattributes
5519 aros_nowarnflags_attributes=-Wno-attributes
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
5523 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
5524 CFLAGS=-Woverflow
5525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5526 /* end confdefs.h. */
5529 main ()
5533 return 0;
5535 _ACEOF
5536 if ac_fn_c_try_compile "$LINENO"; then :
5537 aros_overflow="yes"
5538 else
5539 aros_overflow="no"
5541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
5543 $as_echo "$aros_overflow" >&6; }
5544 if test "x-$aros_overflow" = "x-yes" ; then
5545 aros_warnflags_overflow=-Woverflow
5546 aros_nowarnflags_overflow=-Wno-overflow
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
5550 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
5551 CFLAGS=-Wunused-local-typedefs
5552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5553 /* end confdefs.h. */
5556 main ()
5560 return 0;
5562 _ACEOF
5563 if ac_fn_c_try_compile "$LINENO"; then :
5564 aros_unused_local_typedefs="yes"
5565 else
5566 aros_unused_local_typedefs="no"
5568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
5570 $as_echo "$aros_unused_local_typedefs" >&6; }
5571 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
5572 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
5573 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
5577 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
5578 CFLAGS=-Wmissing-braces
5579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5580 /* end confdefs.h. */
5583 main ()
5587 return 0;
5589 _ACEOF
5590 if ac_fn_c_try_compile "$LINENO"; then :
5591 aros_missing_braces="yes"
5592 else
5593 aros_missing_braces="no"
5595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
5597 $as_echo "$aros_missing_braces" >&6; }
5598 if test "x-$aros_missing_braces" = "x-yes" ; then
5599 aros_warnflags_missing_braces=-Wmissing-braces
5600 aros_nowarnflags_missing_braces=-Wno-missing-braces
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
5604 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
5605 CFLAGS=-Wnarrowing
5606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5607 /* end confdefs.h. */
5610 main ()
5614 return 0;
5616 _ACEOF
5617 if ac_fn_c_try_compile "$LINENO"; then :
5618 aros_narrowing="yes"
5619 else
5620 aros_narrowing="no"
5622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
5624 $as_echo "$aros_narrowing" >&6; }
5625 if test "x-$aros_narrowing" = "x-yes" ; then
5626 aros_warnflags_narrowing=-Wnarrowing
5627 aros_nowarnflags_narrowing=-Wno-narrowing
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
5631 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
5632 CFLAGS=-Wvolatile-register-var
5633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5634 /* end confdefs.h. */
5637 main ()
5641 return 0;
5643 _ACEOF
5644 if ac_fn_c_try_compile "$LINENO"; then :
5645 aros_volatile_register_var="yes"
5646 else
5647 aros_volatile_register_var="no"
5649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
5651 $as_echo "$aros_volatile_register_var" >&6; }
5652 if test "x-$aros_volatile_register_var" = "x-yes" ; then
5653 aros_warnflags_volatile_register_var=-Wvolatile-register-var
5654 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
5658 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
5659 CFLAGS=-Wsizeof-pointer-memaccess
5660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5661 /* end confdefs.h. */
5664 main ()
5668 return 0;
5670 _ACEOF
5671 if ac_fn_c_try_compile "$LINENO"; then :
5672 aros_sizeof_pointer_memaccess="yes"
5673 else
5674 aros_sizeof_pointer_memaccess="no"
5676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
5678 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
5679 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
5680 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
5681 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
5685 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
5686 CFLAGS=-Wreturn-type
5687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5688 /* end confdefs.h. */
5691 main ()
5695 return 0;
5697 _ACEOF
5698 if ac_fn_c_try_compile "$LINENO"; then :
5699 aros_return_type="yes"
5700 else
5701 aros_return_type="no"
5703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
5705 $as_echo "$aros_return_type" >&6; }
5706 if test "x-$aros_return_type" = "x-yes" ; then
5707 aros_warnflags_return_type=-Wreturn-type
5708 aros_nowarnflags_return_type=-Wno-return-type
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
5712 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
5713 CFLAGS=-Wformat-zero-length
5714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5715 /* end confdefs.h. */
5718 main ()
5722 return 0;
5724 _ACEOF
5725 if ac_fn_c_try_compile "$LINENO"; then :
5726 aros_format_zero_length="yes"
5727 else
5728 aros_format_zero_length="no"
5730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
5732 $as_echo "$aros_format_zero_length" >&6; }
5733 if test "x-$aros_format_zero_length" = "x-yes" ; then
5734 aros_warnflags_format_zero_length=-Wformat-zero-length
5735 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
5739 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
5740 CFLAGS=-Wlto-type-mismatch
5741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5742 /* end confdefs.h. */
5745 main ()
5749 return 0;
5751 _ACEOF
5752 if ac_fn_c_try_compile "$LINENO"; then :
5753 aros_lto_type_mismatch="yes"
5754 else
5755 aros_lto_type_mismatch="no"
5757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
5759 $as_echo "$aros_lto_type_mismatch" >&6; }
5760 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
5761 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
5762 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
5766 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
5767 CFLAGS=-Wtautological-compare
5768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5769 /* end confdefs.h. */
5772 main ()
5776 return 0;
5778 _ACEOF
5779 if ac_fn_c_try_compile "$LINENO"; then :
5780 aros_tautological_compare="yes"
5781 else
5782 aros_tautological_compare="no"
5784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
5786 $as_echo "$aros_tautological_compare" >&6; }
5787 if test "x-$aros_tautological_compare" = "x-yes" ; then
5788 aros_warnflags_tautological_compare=-Wtautological-compare
5789 aros_nowarnflags_tautological_compare=-Wno-tautological-compare
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
5793 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
5794 CFLAGS=-Wempty-body
5795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5796 /* end confdefs.h. */
5799 main ()
5803 return 0;
5805 _ACEOF
5806 if ac_fn_c_try_compile "$LINENO"; then :
5807 aros_empty_body="yes"
5808 else
5809 aros_empty_body="no"
5811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
5813 $as_echo "$aros_empty_body" >&6; }
5814 if test "x-$aros_empty_body" = "x-yes" ; then
5815 aros_warnflags_empty_body=-Wempty-body
5816 aros_nowarnflags_empty_body=-Wno-empty-body
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-overflow" >&5
5820 $as_echo_n "checking whether ${CC} accepts -Wformat-overflow... " >&6; }
5821 CFLAGS=-Wformat-overflow
5822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5823 /* end confdefs.h. */
5826 main ()
5830 return 0;
5832 _ACEOF
5833 if ac_fn_c_try_compile "$LINENO"; then :
5834 aros_format_overflow="yes"
5835 else
5836 aros_format_overflow="no"
5838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_overflow" >&5
5840 $as_echo "$aros_format_overflow" >&6; }
5841 if test "x-$aros_format_overflow" = "x-yes" ; then
5842 aros_warnflags_format_overflow=-Wformat-overflow
5843 aros_nowarnflags_format_overflow=-Wno-format-overflow
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-overflow" >&5
5847 $as_echo_n "checking whether ${CC} accepts -Wstringop-overflow... " >&6; }
5848 CFLAGS=-Wstringop-overflow
5849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5850 /* end confdefs.h. */
5853 main ()
5857 return 0;
5859 _ACEOF
5860 if ac_fn_c_try_compile "$LINENO"; then :
5861 aros_stringop_overflow="yes"
5862 else
5863 aros_stringop_overflow="no"
5865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_overflow" >&5
5867 $as_echo "$aros_stringop_overflow" >&6; }
5868 if test "x-$aros_stringop_overflow" = "x-yes" ; then
5869 aros_warnflags_stringop_overflow=-Wstringop-overflow
5870 aros_nowarnflags_stringop_overflow=-Wno-stringop-overflow
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-truncation" >&5
5874 $as_echo_n "checking whether ${CC} accepts -Wformat-truncation... " >&6; }
5875 CFLAGS=-Wformat-truncation
5876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5877 /* end confdefs.h. */
5880 main ()
5884 return 0;
5886 _ACEOF
5887 if ac_fn_c_try_compile "$LINENO"; then :
5888 aros_format_truncation="yes"
5889 else
5890 aros_format_truncation="no"
5892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_truncation" >&5
5894 $as_echo "$aros_format_truncation" >&6; }
5895 if test "x-$aros_format_truncation" = "x-yes" ; then
5896 aros_warnflags_format_truncation=-Wformat-truncation
5897 aros_nowarnflags_format_truncation=-Wno-format-truncation
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-truncation" >&5
5901 $as_echo_n "checking whether ${CC} accepts -Wstringop-truncation... " >&6; }
5902 CFLAGS=-Wstringop-truncation
5903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5904 /* end confdefs.h. */
5907 main ()
5911 return 0;
5913 _ACEOF
5914 if ac_fn_c_try_compile "$LINENO"; then :
5915 aros_stringop_truncation="yes"
5916 else
5917 aros_stringop_truncation="no"
5919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_truncation" >&5
5921 $as_echo "$aros_stringop_truncation" >&6; }
5922 if test "x-$aros_stringop_truncation" = "x-yes" ; then
5923 aros_warnflags_stringop_truncation=-Wstringop-truncation
5924 aros_nowarnflags_stringop_truncation=-Wno-stringop-truncation
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-negative-value" >&5
5928 $as_echo_n "checking whether ${CC} accepts -Wshift-negative-value... " >&6; }
5929 CFLAGS=-Wshift-negative-value
5930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5931 /* end confdefs.h. */
5934 main ()
5938 return 0;
5940 _ACEOF
5941 if ac_fn_c_try_compile "$LINENO"; then :
5942 aros_shift_negative_value="yes"
5943 else
5944 aros_shift_negative_value="no"
5946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_negative_value" >&5
5948 $as_echo "$aros_shift_negative_value" >&6; }
5949 if test "x-$aros_shift_negative_value" = "x-yes" ; then
5950 aros_warnflags_shift_negative_value=-Wshift-negative-value
5951 aros_nowarnflags_shift_negative_value=-Wno-shift-negative-value
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-field-initializers" >&5
5955 $as_echo_n "checking whether ${CC} accepts -Wmissing-field-initializers... " >&6; }
5956 CFLAGS=-Wmissing-field-initializers
5957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5958 /* end confdefs.h. */
5961 main ()
5965 return 0;
5967 _ACEOF
5968 if ac_fn_c_try_compile "$LINENO"; then :
5969 aros_missing_field_initializers="yes"
5970 else
5971 aros_missing_field_initializers="no"
5973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_field_initializers" >&5
5975 $as_echo "$aros_missing_field_initializers" >&6; }
5976 if test "x-$aros_missing_field_initializers" = "x-yes" ; then
5977 aros_warnflags_missing_field_initializers=-Wmissing-field-initializers
5978 aros_nowarnflags_missing_field_initializers=-Wno-missing-field-initializers
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-fallthrough" >&5
5982 $as_echo_n "checking whether ${CC} accepts -Wimplicit-fallthrough... " >&6; }
5983 CFLAGS=-Wimplicit-fallthrough
5984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5985 /* end confdefs.h. */
5988 main ()
5992 return 0;
5994 _ACEOF
5995 if ac_fn_c_try_compile "$LINENO"; then :
5996 aros_implicit_fallthrough="yes"
5997 else
5998 aros_implicit_fallthrough="no"
6000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_fallthrough" >&5
6002 $as_echo "$aros_implicit_fallthrough" >&6; }
6003 if test "x-$aros_implicit_fallthrough" = "x-yes" ; then
6004 aros_warnflags_implicit_fallthrough=-Wimplicit-fallthrough
6005 aros_nowarnflags_implicit_fallthrough=-Wno-implicit-fallthrough
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-prototypes" >&5
6009 $as_echo_n "checking whether ${CC} accepts -Wmissing-prototypes... " >&6; }
6010 CFLAGS=-Wmissing-prototypes
6011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6012 /* end confdefs.h. */
6015 main ()
6019 return 0;
6021 _ACEOF
6022 if ac_fn_c_try_compile "$LINENO"; then :
6023 aros_missing_prototypes="yes"
6024 else
6025 aros_missing_prototypes="no"
6027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_prototypes" >&5
6029 $as_echo "$aros_missing_prototypes" >&6; }
6030 if test "x-$aros_missing_prototypes" = "x-yes" ; then
6031 aros_warnflags_missing_prototypes=-Wmissing-prototypes
6032 aros_nowarnflags_missing_prototypes=-Wno-missing-prototypes
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wclass-memaccess" >&5
6036 $as_echo_n "checking whether ${CC} accepts -Wclass-memaccess... " >&6; }
6037 CFLAGS=-Wclass-memaccess
6038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6039 /* end confdefs.h. */
6042 main ()
6046 return 0;
6048 _ACEOF
6049 if ac_fn_c_try_compile "$LINENO"; then :
6050 aros_class_memaccess="yes"
6051 else
6052 aros_class_memaccess="no"
6054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_class_memaccess" >&5
6056 $as_echo "$aros_class_memaccess" >&6; }
6057 if test "x-$aros_class_memaccess" = "x-yes" ; then
6058 aros_warnflags_class_memaccess=-Wclass-memaccess
6059 aros_nowarnflags_class_memaccess=-Wno-class-memaccess
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-in-bool-context" >&5
6063 $as_echo_n "checking whether ${CC} accepts -Wint-in-bool-context... " >&6; }
6064 CFLAGS=-Wint-in-bool-context
6065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6066 /* end confdefs.h. */
6069 main ()
6073 return 0;
6075 _ACEOF
6076 if ac_fn_c_try_compile "$LINENO"; then :
6077 aros_int_in_bool_context="yes"
6078 else
6079 aros_int_in_bool_context="no"
6081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_in_bool_context" >&5
6083 $as_echo "$aros_int_in_bool_context" >&6; }
6084 if test "x-$aros_int_in_bool_context" = "x-yes" ; then
6085 aros_warnflags_int_in_bool_context=-Wint-in-bool-context
6086 aros_nowarnflags_int_in_bool_context=-Wno-int-in-bool-context
6088 CFLAGS="$save_cflags"
6090 # Check the C++ warnings
6091 ac_ext=cpp
6092 ac_cpp='$CXXCPP $CPPFLAGS'
6093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6097 save_cxxflags="$CXXFLAGS"
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -Wconversion-null" >&5
6100 $as_echo_n "checking whether ${CXX} accepts -Wconversion-null... " >&6; }
6101 CXXFLAGS=-Wconversion-null
6102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6103 /* end confdefs.h. */
6106 main ()
6110 return 0;
6112 _ACEOF
6113 if ac_fn_cxx_try_compile "$LINENO"; then :
6114 aros_conversion_null="yes"
6115 else
6116 aros_conversion_null="no"
6118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
6120 $as_echo "$aros_conversion_null" >&6; }
6121 if test "x-$aros_conversion_null" = "x-yes" ; then
6122 aros_warnflags_conversion_null=-Wconversion-null
6123 aros_nowarnflags_conversion_null=-Wno-conversion-null
6126 CXXFLAGS="$save_cxxflags"
6128 ac_ext=c
6129 ac_cpp='$CPP $CPPFLAGS'
6130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6135 #########################################################
6137 # Now check what we need to use with the toolchain
6139 cat >$AROS_DEVELOPER/include/__testsincdir.h <<_ACEOF
6140 /* Copyright (c) The AROS Dev Team */
6141 #define _TESTINCFOUND
6142 _ACEOF
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to use --sysroot" >&5
6145 $as_echo_n "checking if we need to use --sysroot... " >&6; }
6146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6147 /* end confdefs.h. */
6149 #include <__testsincdir.h>
6150 #ifndef _TESTINCFOUND
6151 error: Couldnt find include!
6152 #endif
6155 main ()
6159 return 0;
6161 _ACEOF
6162 if ac_fn_c_try_compile "$LINENO"; then :
6163 toolchain_needs_sysroot=no
6164 else
6165 toolchain_needs_sysroot=yes
6167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolchain_needs_sysroot" >&5
6169 $as_echo "$toolchain_needs_sysroot" >&6; }
6171 if test "$toolchain_needs_sysroot" = "yes" ; then
6172 aros_toolchain_sysroot="--sysroot $""(AROS_DEVELOPER)"
6175 #AC_MSG_CHECKING([if we need to use --isysroot])
6176 #AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
6177 # [[
6178 # (#include <__testsincdir.h>
6179 # #ifndef _TESTINCFOUND
6180 # error: Couldnt find include!
6181 # #endif
6182 # ]])],
6183 # [toolchain_needs_isysroot=no],
6184 # [toolchain_needs_isysroot=yes])
6185 #AC_MSG_RESULT($toolchain_needs_isysroot)
6187 #if test "$toolchain_needs_isysroot" = "yes" ; then
6188 # aros_toolchain_isysroot="-isysroot $""(AROS_SDK)"
6189 # aros_toolchain_iarchdir="-I $""(AROS_SDK)/$""(AROS_TARGET_CPU)-aros/include"
6191 rm -f $AROS_DEVELOPER/include/__testsincdir.h
6194 # export the feature flags...
6260 # export the feature options...
6268 # ...and warning flags...
6416 # Additional toolchain support ...
6419 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
6422 cat >confcache <<\_ACEOF
6423 # This file is a shell script that caches the results of configure
6424 # tests run on this system so they can be shared between configure
6425 # scripts and configure runs, see configure's option --config-cache.
6426 # It is not useful on other systems. If it contains results you don't
6427 # want to keep, you may remove or edit it.
6429 # config.status only pays attention to the cache file if you give it
6430 # the --recheck option to rerun configure.
6432 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6433 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6434 # following values.
6436 _ACEOF
6438 # The following way of writing the cache mishandles newlines in values,
6439 # but we know of no workaround that is simple, portable, and efficient.
6440 # So, we kill variables containing newlines.
6441 # Ultrix sh set writes to stderr and can't be redirected directly,
6442 # and sets the high bit in the cache file unless we assign to the vars.
6444 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6445 eval ac_val=\$$ac_var
6446 case $ac_val in #(
6447 *${as_nl}*)
6448 case $ac_var in #(
6449 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6450 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6451 esac
6452 case $ac_var in #(
6453 _ | IFS | as_nl) ;; #(
6454 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6455 *) { eval $ac_var=; unset $ac_var;} ;;
6456 esac ;;
6457 esac
6458 done
6460 (set) 2>&1 |
6461 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6462 *${as_nl}ac_space=\ *)
6463 # `set' does not quote correctly, so add quotes: double-quote
6464 # substitution turns \\\\ into \\, and sed turns \\ into \.
6465 sed -n \
6466 "s/'/'\\\\''/g;
6467 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6468 ;; #(
6470 # `set' quotes correctly as required by POSIX, so do not add quotes.
6471 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6473 esac |
6474 sort
6476 sed '
6477 /^ac_cv_env_/b end
6478 t clear
6479 :clear
6480 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6481 t end
6482 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6483 :end' >>confcache
6484 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6485 if test -w "$cache_file"; then
6486 if test "x$cache_file" != "x/dev/null"; then
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6488 $as_echo "$as_me: updating cache $cache_file" >&6;}
6489 if test ! -f "$cache_file" || test -h "$cache_file"; then
6490 cat confcache >"$cache_file"
6491 else
6492 case $cache_file in #(
6493 */* | ?:*)
6494 mv -f confcache "$cache_file"$$ &&
6495 mv -f "$cache_file"$$ "$cache_file" ;; #(
6497 mv -f confcache "$cache_file" ;;
6498 esac
6501 else
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6503 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6506 rm -f confcache
6508 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6509 # Let make expand exec_prefix.
6510 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6512 # Transform confdefs.h into DEFS.
6513 # Protect against shell expansion while executing Makefile rules.
6514 # Protect against Makefile macro expansion.
6516 # If the first sed substitution is executed (which looks for macros that
6517 # take arguments), then branch to the quote section. Otherwise,
6518 # look for a macro that doesn't take arguments.
6519 ac_script='
6520 :mline
6521 /\\$/{
6523 s,\\\n,,
6524 b mline
6526 t clear
6527 :clear
6528 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6529 t quote
6530 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6531 t quote
6532 b any
6533 :quote
6534 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6535 s/\[/\\&/g
6536 s/\]/\\&/g
6537 s/\$/$$/g
6539 :any
6542 s/^\n//
6543 s/\n/ /g
6547 DEFS=`sed -n "$ac_script" confdefs.h`
6550 ac_libobjs=
6551 ac_ltlibobjs=
6553 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6554 # 1. Remove the extension, and $U if already installed.
6555 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6556 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6557 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6558 # will be set to the directory where LIBOBJS objects are built.
6559 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6560 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6561 done
6562 LIBOBJS=$ac_libobjs
6564 LTLIBOBJS=$ac_ltlibobjs
6568 : "${CONFIG_STATUS=./config.status}"
6569 ac_write_fail=0
6570 ac_clean_files_save=$ac_clean_files
6571 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6573 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6574 as_write_fail=0
6575 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6576 #! $SHELL
6577 # Generated by $as_me.
6578 # Run this file to recreate the current configuration.
6579 # Compiler output produced by configure, useful for debugging
6580 # configure, is in config.log if it exists.
6582 debug=false
6583 ac_cs_recheck=false
6584 ac_cs_silent=false
6586 SHELL=\${CONFIG_SHELL-$SHELL}
6587 export SHELL
6588 _ASEOF
6589 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6590 ## -------------------- ##
6591 ## M4sh Initialization. ##
6592 ## -------------------- ##
6594 # Be more Bourne compatible
6595 DUALCASE=1; export DUALCASE # for MKS sh
6596 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6597 emulate sh
6598 NULLCMD=:
6599 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6600 # is contrary to our usage. Disable this feature.
6601 alias -g '${1+"$@"}'='"$@"'
6602 setopt NO_GLOB_SUBST
6603 else
6604 case `(set -o) 2>/dev/null` in #(
6605 *posix*) :
6606 set -o posix ;; #(
6607 *) :
6609 esac
6613 as_nl='
6615 export as_nl
6616 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6617 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6618 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6619 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6620 # Prefer a ksh shell builtin over an external printf program on Solaris,
6621 # but without wasting forks for bash or zsh.
6622 if test -z "$BASH_VERSION$ZSH_VERSION" \
6623 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6624 as_echo='print -r --'
6625 as_echo_n='print -rn --'
6626 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6627 as_echo='printf %s\n'
6628 as_echo_n='printf %s'
6629 else
6630 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6631 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6632 as_echo_n='/usr/ucb/echo -n'
6633 else
6634 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6635 as_echo_n_body='eval
6636 arg=$1;
6637 case $arg in #(
6638 *"$as_nl"*)
6639 expr "X$arg" : "X\\(.*\\)$as_nl";
6640 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6641 esac;
6642 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6644 export as_echo_n_body
6645 as_echo_n='sh -c $as_echo_n_body as_echo'
6647 export as_echo_body
6648 as_echo='sh -c $as_echo_body as_echo'
6651 # The user is always right.
6652 if test "${PATH_SEPARATOR+set}" != set; then
6653 PATH_SEPARATOR=:
6654 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6655 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6656 PATH_SEPARATOR=';'
6661 # IFS
6662 # We need space, tab and new line, in precisely that order. Quoting is
6663 # there to prevent editors from complaining about space-tab.
6664 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6665 # splitting by setting IFS to empty value.)
6666 IFS=" "" $as_nl"
6668 # Find who we are. Look in the path if we contain no directory separator.
6669 as_myself=
6670 case $0 in #((
6671 *[\\/]* ) as_myself=$0 ;;
6672 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6673 for as_dir in $PATH
6675 IFS=$as_save_IFS
6676 test -z "$as_dir" && as_dir=.
6677 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6678 done
6679 IFS=$as_save_IFS
6682 esac
6683 # We did not find ourselves, most probably we were run as `sh COMMAND'
6684 # in which case we are not to be found in the path.
6685 if test "x$as_myself" = x; then
6686 as_myself=$0
6688 if test ! -f "$as_myself"; then
6689 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6690 exit 1
6693 # Unset variables that we do not need and which cause bugs (e.g. in
6694 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6695 # suppresses any "Segmentation fault" message there. '((' could
6696 # trigger a bug in pdksh 5.2.14.
6697 for as_var in BASH_ENV ENV MAIL MAILPATH
6698 do eval test x\${$as_var+set} = xset \
6699 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6700 done
6701 PS1='$ '
6702 PS2='> '
6703 PS4='+ '
6705 # NLS nuisances.
6706 LC_ALL=C
6707 export LC_ALL
6708 LANGUAGE=C
6709 export LANGUAGE
6711 # CDPATH.
6712 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6715 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6716 # ----------------------------------------
6717 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6718 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6719 # script with STATUS, using 1 if that was 0.
6720 as_fn_error ()
6722 as_status=$1; test $as_status -eq 0 && as_status=1
6723 if test "$4"; then
6724 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6725 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6727 $as_echo "$as_me: error: $2" >&2
6728 as_fn_exit $as_status
6729 } # as_fn_error
6732 # as_fn_set_status STATUS
6733 # -----------------------
6734 # Set $? to STATUS, without forking.
6735 as_fn_set_status ()
6737 return $1
6738 } # as_fn_set_status
6740 # as_fn_exit STATUS
6741 # -----------------
6742 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6743 as_fn_exit ()
6745 set +e
6746 as_fn_set_status $1
6747 exit $1
6748 } # as_fn_exit
6750 # as_fn_unset VAR
6751 # ---------------
6752 # Portably unset VAR.
6753 as_fn_unset ()
6755 { eval $1=; unset $1;}
6757 as_unset=as_fn_unset
6758 # as_fn_append VAR VALUE
6759 # ----------------------
6760 # Append the text in VALUE to the end of the definition contained in VAR. Take
6761 # advantage of any shell optimizations that allow amortized linear growth over
6762 # repeated appends, instead of the typical quadratic growth present in naive
6763 # implementations.
6764 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6765 eval 'as_fn_append ()
6767 eval $1+=\$2
6769 else
6770 as_fn_append ()
6772 eval $1=\$$1\$2
6774 fi # as_fn_append
6776 # as_fn_arith ARG...
6777 # ------------------
6778 # Perform arithmetic evaluation on the ARGs, and store the result in the
6779 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6780 # must be portable across $(()) and expr.
6781 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6782 eval 'as_fn_arith ()
6784 as_val=$(( $* ))
6786 else
6787 as_fn_arith ()
6789 as_val=`expr "$@" || test $? -eq 1`
6791 fi # as_fn_arith
6794 if expr a : '\(a\)' >/dev/null 2>&1 &&
6795 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6796 as_expr=expr
6797 else
6798 as_expr=false
6801 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6802 as_basename=basename
6803 else
6804 as_basename=false
6807 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6808 as_dirname=dirname
6809 else
6810 as_dirname=false
6813 as_me=`$as_basename -- "$0" ||
6814 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6815 X"$0" : 'X\(//\)$' \| \
6816 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6817 $as_echo X/"$0" |
6818 sed '/^.*\/\([^/][^/]*\)\/*$/{
6819 s//\1/
6822 /^X\/\(\/\/\)$/{
6823 s//\1/
6826 /^X\/\(\/\).*/{
6827 s//\1/
6830 s/.*/./; q'`
6832 # Avoid depending upon Character Ranges.
6833 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6834 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6835 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6836 as_cr_digits='0123456789'
6837 as_cr_alnum=$as_cr_Letters$as_cr_digits
6839 ECHO_C= ECHO_N= ECHO_T=
6840 case `echo -n x` in #(((((
6841 -n*)
6842 case `echo 'xy\c'` in
6843 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6844 xy) ECHO_C='\c';;
6845 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6846 ECHO_T=' ';;
6847 esac;;
6849 ECHO_N='-n';;
6850 esac
6852 rm -f conf$$ conf$$.exe conf$$.file
6853 if test -d conf$$.dir; then
6854 rm -f conf$$.dir/conf$$.file
6855 else
6856 rm -f conf$$.dir
6857 mkdir conf$$.dir 2>/dev/null
6859 if (echo >conf$$.file) 2>/dev/null; then
6860 if ln -s conf$$.file conf$$ 2>/dev/null; then
6861 as_ln_s='ln -s'
6862 # ... but there are two gotchas:
6863 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6864 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6865 # In both cases, we have to default to `cp -pR'.
6866 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6867 as_ln_s='cp -pR'
6868 elif ln conf$$.file conf$$ 2>/dev/null; then
6869 as_ln_s=ln
6870 else
6871 as_ln_s='cp -pR'
6873 else
6874 as_ln_s='cp -pR'
6876 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6877 rmdir conf$$.dir 2>/dev/null
6880 # as_fn_mkdir_p
6881 # -------------
6882 # Create "$as_dir" as a directory, including parents if necessary.
6883 as_fn_mkdir_p ()
6886 case $as_dir in #(
6887 -*) as_dir=./$as_dir;;
6888 esac
6889 test -d "$as_dir" || eval $as_mkdir_p || {
6890 as_dirs=
6891 while :; do
6892 case $as_dir in #(
6893 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6894 *) as_qdir=$as_dir;;
6895 esac
6896 as_dirs="'$as_qdir' $as_dirs"
6897 as_dir=`$as_dirname -- "$as_dir" ||
6898 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6899 X"$as_dir" : 'X\(//\)[^/]' \| \
6900 X"$as_dir" : 'X\(//\)$' \| \
6901 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6902 $as_echo X"$as_dir" |
6903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6904 s//\1/
6907 /^X\(\/\/\)[^/].*/{
6908 s//\1/
6911 /^X\(\/\/\)$/{
6912 s//\1/
6915 /^X\(\/\).*/{
6916 s//\1/
6919 s/.*/./; q'`
6920 test -d "$as_dir" && break
6921 done
6922 test -z "$as_dirs" || eval "mkdir $as_dirs"
6923 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6926 } # as_fn_mkdir_p
6927 if mkdir -p . 2>/dev/null; then
6928 as_mkdir_p='mkdir -p "$as_dir"'
6929 else
6930 test -d ./-p && rmdir ./-p
6931 as_mkdir_p=false
6935 # as_fn_executable_p FILE
6936 # -----------------------
6937 # Test if FILE is an executable regular file.
6938 as_fn_executable_p ()
6940 test -f "$1" && test -x "$1"
6941 } # as_fn_executable_p
6942 as_test_x='test -x'
6943 as_executable_p=as_fn_executable_p
6945 # Sed expression to map a string onto a valid CPP name.
6946 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6948 # Sed expression to map a string onto a valid variable name.
6949 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6952 exec 6>&1
6953 ## ----------------------------------- ##
6954 ## Main body of $CONFIG_STATUS script. ##
6955 ## ----------------------------------- ##
6956 _ASEOF
6957 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6960 # Save the log message, to keep $0 and so on meaningful, and to
6961 # report actual input values of CONFIG_FILES etc. instead of their
6962 # values after options handling.
6963 ac_log="
6964 This file was extended by $as_me, which was
6965 generated by GNU Autoconf 2.69. Invocation command line was
6967 CONFIG_FILES = $CONFIG_FILES
6968 CONFIG_HEADERS = $CONFIG_HEADERS
6969 CONFIG_LINKS = $CONFIG_LINKS
6970 CONFIG_COMMANDS = $CONFIG_COMMANDS
6971 $ $0 $@
6973 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6976 _ACEOF
6978 case $ac_config_files in *"
6979 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6980 esac
6984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6985 # Files that config.status was made for.
6986 config_files="$ac_config_files"
6988 _ACEOF
6990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6991 ac_cs_usage="\
6992 \`$as_me' instantiates files and other configuration actions
6993 from templates according to the current configuration. Unless the files
6994 and actions are specified as TAGs, all are instantiated by default.
6996 Usage: $0 [OPTION]... [TAG]...
6998 -h, --help print this help, then exit
6999 -V, --version print version number and configuration settings, then exit
7000 --config print configuration, then exit
7001 -q, --quiet, --silent
7002 do not print progress messages
7003 -d, --debug don't remove temporary files
7004 --recheck update $as_me by reconfiguring in the same conditions
7005 --file=FILE[:TEMPLATE]
7006 instantiate the configuration file FILE
7008 Configuration files:
7009 $config_files
7011 Report bugs to the package provider."
7013 _ACEOF
7014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7015 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7016 ac_cs_version="\\
7017 config.status
7018 configured by $0, generated by GNU Autoconf 2.69,
7019 with options \\"\$ac_cs_config\\"
7021 Copyright (C) 2012 Free Software Foundation, Inc.
7022 This config.status script is free software; the Free Software Foundation
7023 gives unlimited permission to copy, distribute and modify it."
7025 ac_pwd='$ac_pwd'
7026 srcdir='$srcdir'
7027 test -n "\$AWK" || AWK=awk
7028 _ACEOF
7030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7031 # The default lists apply if the user does not specify any file.
7032 ac_need_defaults=:
7033 while test $# != 0
7035 case $1 in
7036 --*=?*)
7037 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7038 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7039 ac_shift=:
7041 --*=)
7042 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7043 ac_optarg=
7044 ac_shift=:
7047 ac_option=$1
7048 ac_optarg=$2
7049 ac_shift=shift
7051 esac
7053 case $ac_option in
7054 # Handling of the options.
7055 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7056 ac_cs_recheck=: ;;
7057 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7058 $as_echo "$ac_cs_version"; exit ;;
7059 --config | --confi | --conf | --con | --co | --c )
7060 $as_echo "$ac_cs_config"; exit ;;
7061 --debug | --debu | --deb | --de | --d | -d )
7062 debug=: ;;
7063 --file | --fil | --fi | --f )
7064 $ac_shift
7065 case $ac_optarg in
7066 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7067 '') as_fn_error $? "missing file argument" ;;
7068 esac
7069 as_fn_append CONFIG_FILES " '$ac_optarg'"
7070 ac_need_defaults=false;;
7071 --he | --h | --help | --hel | -h )
7072 $as_echo "$ac_cs_usage"; exit ;;
7073 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7074 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7075 ac_cs_silent=: ;;
7077 # This is an error.
7078 -*) as_fn_error $? "unrecognized option: \`$1'
7079 Try \`$0 --help' for more information." ;;
7081 *) as_fn_append ac_config_targets " $1"
7082 ac_need_defaults=false ;;
7084 esac
7085 shift
7086 done
7088 ac_configure_extra_args=
7090 if $ac_cs_silent; then
7091 exec 6>/dev/null
7092 ac_configure_extra_args="$ac_configure_extra_args --silent"
7095 _ACEOF
7096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7097 if \$ac_cs_recheck; then
7098 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7099 shift
7100 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7101 CONFIG_SHELL='$SHELL'
7102 export CONFIG_SHELL
7103 exec "\$@"
7106 _ACEOF
7107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7108 exec 5>>config.log
7110 echo
7111 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7112 ## Running $as_me. ##
7113 _ASBOX
7114 $as_echo "$ac_log"
7115 } >&5
7117 _ACEOF
7118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7119 _ACEOF
7121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7123 # Handling of arguments.
7124 for ac_config_target in $ac_config_targets
7126 case $ac_config_target in
7127 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
7129 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7130 esac
7131 done
7134 # If the user did not use the arguments to specify the items to instantiate,
7135 # then the envvar interface is used. Set only those that are not.
7136 # We use the long form for the default assignment because of an extremely
7137 # bizarre bug on SunOS 4.1.3.
7138 if $ac_need_defaults; then
7139 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7142 # Have a temporary directory for convenience. Make it in the build tree
7143 # simply because there is no reason against having it here, and in addition,
7144 # creating and moving files from /tmp can sometimes cause problems.
7145 # Hook for its removal unless debugging.
7146 # Note that there is a small window in which the directory will not be cleaned:
7147 # after its creation but before its name has been assigned to `$tmp'.
7148 $debug ||
7150 tmp= ac_tmp=
7151 trap 'exit_status=$?
7152 : "${ac_tmp:=$tmp}"
7153 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7155 trap 'as_fn_exit 1' 1 2 13 15
7157 # Create a (secure) tmp directory for tmp files.
7160 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7161 test -d "$tmp"
7162 } ||
7164 tmp=./conf$$-$RANDOM
7165 (umask 077 && mkdir "$tmp")
7166 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7167 ac_tmp=$tmp
7169 # Set up the scripts for CONFIG_FILES section.
7170 # No need to generate them if there are no CONFIG_FILES.
7171 # This happens for instance with `./config.status config.h'.
7172 if test -n "$CONFIG_FILES"; then
7175 ac_cr=`echo X | tr X '\015'`
7176 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7177 # But we know of no other shell where ac_cr would be empty at this
7178 # point, so we can use a bashism as a fallback.
7179 if test "x$ac_cr" = x; then
7180 eval ac_cr=\$\'\\r\'
7182 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7183 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7184 ac_cs_awk_cr='\\r'
7185 else
7186 ac_cs_awk_cr=$ac_cr
7189 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7190 _ACEOF
7194 echo "cat >conf$$subs.awk <<_ACEOF" &&
7195 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7196 echo "_ACEOF"
7197 } >conf$$subs.sh ||
7198 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7199 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7200 ac_delim='%!_!# '
7201 for ac_last_try in false false false false false :; do
7202 . ./conf$$subs.sh ||
7203 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7205 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7206 if test $ac_delim_n = $ac_delim_num; then
7207 break
7208 elif $ac_last_try; then
7209 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7210 else
7211 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7213 done
7214 rm -f conf$$subs.sh
7216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7217 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7218 _ACEOF
7219 sed -n '
7221 s/^/S["/; s/!.*/"]=/
7224 s/^[^!]*!//
7225 :repl
7226 t repl
7227 s/'"$ac_delim"'$//
7228 t delim
7231 s/\(.\{148\}\)..*/\1/
7232 t more1
7233 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7236 b repl
7237 :more1
7238 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7241 s/.\{148\}//
7242 t nl
7243 :delim
7245 s/\(.\{148\}\)..*/\1/
7246 t more2
7247 s/["\\]/\\&/g; s/^/"/; s/$/"/
7250 :more2
7251 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7254 s/.\{148\}//
7255 t delim
7256 ' <conf$$subs.awk | sed '
7257 /^[^""]/{
7259 s/\n//
7261 ' >>$CONFIG_STATUS || ac_write_fail=1
7262 rm -f conf$$subs.awk
7263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7264 _ACAWK
7265 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7266 for (key in S) S_is_set[key] = 1
7267 FS = "\a"
7271 line = $ 0
7272 nfields = split(line, field, "@")
7273 substed = 0
7274 len = length(field[1])
7275 for (i = 2; i < nfields; i++) {
7276 key = field[i]
7277 keylen = length(key)
7278 if (S_is_set[key]) {
7279 value = S[key]
7280 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7281 len += length(value) + length(field[++i])
7282 substed = 1
7283 } else
7284 len += 1 + keylen
7287 print line
7290 _ACAWK
7291 _ACEOF
7292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7293 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7294 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7295 else
7297 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7298 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7299 _ACEOF
7301 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7302 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7303 # trailing colons and then remove the whole line if VPATH becomes empty
7304 # (actually we leave an empty line to preserve line numbers).
7305 if test "x$srcdir" = x.; then
7306 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7308 s///
7309 s/^/:/
7310 s/[ ]*$/:/
7311 s/:\$(srcdir):/:/g
7312 s/:\${srcdir}:/:/g
7313 s/:@srcdir@:/:/g
7314 s/^:*//
7315 s/:*$//
7317 s/\(=[ ]*\).*/\1/
7319 s/\n//
7320 s/^[^=]*=[ ]*$//
7324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7325 fi # test -n "$CONFIG_FILES"
7328 eval set X " :F $CONFIG_FILES "
7329 shift
7330 for ac_tag
7332 case $ac_tag in
7333 :[FHLC]) ac_mode=$ac_tag; continue;;
7334 esac
7335 case $ac_mode$ac_tag in
7336 :[FHL]*:*);;
7337 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7338 :[FH]-) ac_tag=-:-;;
7339 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7340 esac
7341 ac_save_IFS=$IFS
7342 IFS=:
7343 set x $ac_tag
7344 IFS=$ac_save_IFS
7345 shift
7346 ac_file=$1
7347 shift
7349 case $ac_mode in
7350 :L) ac_source=$1;;
7351 :[FH])
7352 ac_file_inputs=
7353 for ac_f
7355 case $ac_f in
7356 -) ac_f="$ac_tmp/stdin";;
7357 *) # Look for the file first in the build tree, then in the source tree
7358 # (if the path is not absolute). The absolute path cannot be DOS-style,
7359 # because $ac_f cannot contain `:'.
7360 test -f "$ac_f" ||
7361 case $ac_f in
7362 [\\/$]*) false;;
7363 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7364 esac ||
7365 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7366 esac
7367 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7368 as_fn_append ac_file_inputs " '$ac_f'"
7369 done
7371 # Let's still pretend it is `configure' which instantiates (i.e., don't
7372 # use $as_me), people would be surprised to read:
7373 # /* config.h. Generated by config.status. */
7374 configure_input='Generated from '`
7375 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7376 `' by configure.'
7377 if test x"$ac_file" != x-; then
7378 configure_input="$ac_file. $configure_input"
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7380 $as_echo "$as_me: creating $ac_file" >&6;}
7382 # Neutralize special characters interpreted by sed in replacement strings.
7383 case $configure_input in #(
7384 *\&* | *\|* | *\\* )
7385 ac_sed_conf_input=`$as_echo "$configure_input" |
7386 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7387 *) ac_sed_conf_input=$configure_input;;
7388 esac
7390 case $ac_tag in
7391 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7392 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7393 esac
7395 esac
7397 ac_dir=`$as_dirname -- "$ac_file" ||
7398 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7399 X"$ac_file" : 'X\(//\)[^/]' \| \
7400 X"$ac_file" : 'X\(//\)$' \| \
7401 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7402 $as_echo X"$ac_file" |
7403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7404 s//\1/
7407 /^X\(\/\/\)[^/].*/{
7408 s//\1/
7411 /^X\(\/\/\)$/{
7412 s//\1/
7415 /^X\(\/\).*/{
7416 s//\1/
7419 s/.*/./; q'`
7420 as_dir="$ac_dir"; as_fn_mkdir_p
7421 ac_builddir=.
7423 case "$ac_dir" in
7424 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7426 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7427 # A ".." for each directory in $ac_dir_suffix.
7428 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7429 case $ac_top_builddir_sub in
7430 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7431 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7432 esac ;;
7433 esac
7434 ac_abs_top_builddir=$ac_pwd
7435 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7436 # for backward compatibility:
7437 ac_top_builddir=$ac_top_build_prefix
7439 case $srcdir in
7440 .) # We are building in place.
7441 ac_srcdir=.
7442 ac_top_srcdir=$ac_top_builddir_sub
7443 ac_abs_top_srcdir=$ac_pwd ;;
7444 [\\/]* | ?:[\\/]* ) # Absolute name.
7445 ac_srcdir=$srcdir$ac_dir_suffix;
7446 ac_top_srcdir=$srcdir
7447 ac_abs_top_srcdir=$srcdir ;;
7448 *) # Relative name.
7449 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7450 ac_top_srcdir=$ac_top_build_prefix$srcdir
7451 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7452 esac
7453 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7456 case $ac_mode in
7459 # CONFIG_FILE
7462 _ACEOF
7464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7465 # If the template does not know about datarootdir, expand it.
7466 # FIXME: This hack should be removed a few years after 2.60.
7467 ac_datarootdir_hack=; ac_datarootdir_seen=
7468 ac_sed_dataroot='
7469 /datarootdir/ {
7473 /@datadir@/p
7474 /@docdir@/p
7475 /@infodir@/p
7476 /@localedir@/p
7477 /@mandir@/p'
7478 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7479 *datarootdir*) ac_datarootdir_seen=yes;;
7480 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7482 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7483 _ACEOF
7484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7485 ac_datarootdir_hack='
7486 s&@datadir@&$datadir&g
7487 s&@docdir@&$docdir&g
7488 s&@infodir@&$infodir&g
7489 s&@localedir@&$localedir&g
7490 s&@mandir@&$mandir&g
7491 s&\\\${datarootdir}&$datarootdir&g' ;;
7492 esac
7493 _ACEOF
7495 # Neutralize VPATH when `$srcdir' = `.'.
7496 # Shell code in configure.ac might set extrasub.
7497 # FIXME: do we really want to maintain this feature?
7498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7499 ac_sed_extra="$ac_vpsub
7500 $extrasub
7501 _ACEOF
7502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7504 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7505 s|@configure_input@|$ac_sed_conf_input|;t t
7506 s&@top_builddir@&$ac_top_builddir_sub&;t t
7507 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7508 s&@srcdir@&$ac_srcdir&;t t
7509 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7510 s&@top_srcdir@&$ac_top_srcdir&;t t
7511 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7512 s&@builddir@&$ac_builddir&;t t
7513 s&@abs_builddir@&$ac_abs_builddir&;t t
7514 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7515 $ac_datarootdir_hack
7517 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7518 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7520 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7521 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7522 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7523 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7525 which seems to be undefined. Please make sure it is defined" >&5
7526 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7527 which seems to be undefined. Please make sure it is defined" >&2;}
7529 rm -f "$ac_tmp/stdin"
7530 case $ac_file in
7531 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7532 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7533 esac \
7534 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7539 esac
7541 done # for ac_tag
7544 as_fn_exit 0
7545 _ACEOF
7546 ac_clean_files=$ac_clean_files_save
7548 test $ac_write_fail = 0 ||
7549 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7552 # configure is writing to config.log, and then calls config.status.
7553 # config.status does its own redirection, appending to config.log.
7554 # Unfortunately, on DOS this fails, as config.log is still kept open
7555 # by configure, so config.status won't be able to write to it; its
7556 # output is simply discarded. So we exec the FD to /dev/null,
7557 # effectively closing config.log, so it can be properly (re)opened and
7558 # appended to by config.status. When coming back to configure, we
7559 # need to make the FD available again.
7560 if test "$no_create" != yes; then
7561 ac_cs_success=:
7562 ac_config_status_args=
7563 test "$silent" = yes &&
7564 ac_config_status_args="$ac_config_status_args --quiet"
7565 exec 5>/dev/null
7566 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7567 exec 5>>config.log
7568 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7569 # would make configure fail if this is the last instruction.
7570 $ac_cs_success || as_fn_exit 1
7572 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7574 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}