Enable VFP unit as early as possible. This has to be so since e.g. gcc9 uses vfp...
[AROS.git] / config / features
blobc92dbe4e43c32a08751c95fea66d0fbe45ee5fbb
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
271 exit 1
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
289 { eval $1=; unset $1;}
291 as_unset=as_fn_unset
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
298 return $1
299 } # as_fn_set_status
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
342 /^X\(\/\/\)$/{
343 s//\1/
346 /^X\(\/\).*/{
347 s//\1/
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
357 } # as_fn_mkdir_p
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
375 eval $1+=\$2
377 else
378 as_fn_append ()
380 eval $1=\$$1\$2
382 fi # as_fn_append
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
392 as_val=$(( $* ))
394 else
395 as_fn_arith ()
397 as_val=`expr "$@" || test $? -eq 1`
399 fi # as_fn_arith
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
446 /^X\/\(\/\/\)$/{
447 s//\1/
450 /^X\/\(\/\).*/{
451 s//\1/
454 s/.*/./; q'`
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
477 :lineno
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
509 ECHO_N='-n';;
510 esac
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
533 else
534 as_ln_s='cp -pR'
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
559 # Name of the host.
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 # Initializations.
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
576 # Identity of this package.
577 PACKAGE_NAME=
578 PACKAGE_TARNAME=
579 PACKAGE_VERSION=
580 PACKAGE_STRING=
581 PACKAGE_BUGREPORT=
582 PACKAGE_URL=
584 ac_unique_file="../mmakefile"
585 ac_subst_vars='LTLIBOBJS
586 LIBOBJS
587 aros_toolchain_sysroot
588 aros_nowarnflags_int_in_bool_context
589 aros_warnflags_int_in_bool_context
590 aros_nowarnflags_class_memaccess
591 aros_warnflags_class_memaccess
592 aros_nowarnflags_missing_prototypes
593 aros_warnflags_missing_prototypes
594 aros_nowarnflags_implicit_fallthrough
595 aros_warnflags_implicit_fallthrough
596 aros_nowarnflags_missing_field_initializers
597 aros_warnflags_missing_field_initializers
598 aros_nowarnflags_shift_negative_value
599 aros_warnflags_shift_negative_value
600 aros_nowarnflags_stringop_truncation
601 aros_warnflags_stringop_truncation
602 aros_nowarnflags_format_truncation
603 aros_warnflags_format_truncation
604 aros_nowarnflags_stringop_overflow
605 aros_warnflags_stringop_overflow
606 aros_nowarnflags_format_overflow
607 aros_warnflags_format_overflow
608 aros_nowarnflags_empty_body
609 aros_warnflags_empty_body
610 aros_nowarnflags_tautological_compare
611 aros_warnflags_tautological_compare
612 aros_nowarnflags_lto_type_mismatch
613 aros_warnflags_lto_type_mismatch
614 aros_nowarnflags_format_zero_length
615 aros_warnflags_format_zero_length
616 aros_nowarnflags_return_type
617 aros_warnflags_return_type
618 aros_nowarnflags_sizeof_pointer_memaccess
619 aros_warnflags_sizeof_pointer_memaccess
620 aros_nowarnflags_volatile_register_var
621 aros_warnflags_volatile_register_var
622 aros_nowarnflags_narrowing
623 aros_warnflags_narrowing
624 aros_nowarnflags_conversion_null
625 aros_warnflags_conversion_null
626 aros_nowarnflags_missing_braces
627 aros_warnflags_missing_braces
628 aros_nowarnflags_unused_local_typedefs
629 aros_warnflags_unused_local_typedefs
630 aros_nowarnflags_overflow
631 aros_warnflags_overflow
632 aros_nowarnflags_attributes
633 aros_warnflags_attributes
634 aros_nowarnflags_sign_compare
635 aros_warnflags_sign_compare
636 aros_nowarnflags_deprecated_declarations
637 aros_warnflags_deprecated_declarations
638 aros_nowarnflags_frame_address
639 aros_warnflags_frame_address
640 aros_nowarnflags_shift_overflow
641 aros_warnflags_shift_overflow
642 aros_nowarnflags_pointer_sign
643 aros_warnflags_pointer_sign
644 aros_nowarnflags_logical_not_parentheses
645 aros_warnflags_logical_not_parentheses
646 aros_nowarnflags_bool_compare
647 aros_warnflags_bool_compare
648 aros_nowarnflags_incompatible_pointer_types
649 aros_warnflags_incompatible_pointer_types
650 aros_nowarnflags_comment
651 aros_warnflags_comment
652 aros_nowarnflags_write_strings
653 aros_warnflags_write_strings
654 aros_nowarnflags_unused_const_variable
655 aros_warnflags_unused_const_variable
656 aros_nowarnflags_pointer_to_int_cast
657 aros_warnflags_pointer_to_int_cast
658 aros_nowarnflags_int_to_pointer_cast
659 aros_warnflags_int_to_pointer_cast
660 aros_nowarnflags_int_conversion
661 aros_warnflags_int_conversion
662 aros_nowarnflags_discarded_array_qualifiers
663 aros_warnflags_discarded_array_qualifiers
664 aros_nowarnflags_unknown_pragmas
665 aros_warnflags_unknown_pragmas
666 aros_nowarnflags_sequence_point
667 aros_warnflags_sequence_point
668 aros_nowarnflags_discarded_qualifiers
669 aros_warnflags_discarded_qualifiers
670 aros_nowarnflags_switch
671 aros_warnflags_switch
672 aros_nowarnflags_cpp
673 aros_warnflags_cpp
674 aros_nowarnflags_aggressive_loop_optimizations
675 aros_warnflags_aggressive_loop_optimizations
676 aros_nowarnflags_implicit_int
677 aros_warnflags_implicit_int
678 aros_nowarnflags_format_contains_nul
679 aros_warnflags_format_contains_nul
680 aros_nowarnflags_endif_labels
681 aros_warnflags_endif_labels
682 aros_nowarnflags_char_subscripts
683 aros_warnflags_char_subscripts
684 aros_nowarnflags_parentheses
685 aros_warnflags_parentheses
686 aros_nowarnflags_format
687 aros_warnflags_format
688 aros_nowarnflags_implicit_function_declaration
689 aros_warnflags_implicit_function_declaration
690 aros_nowarnflags_maybe_uninitialized
691 aros_warnflags_maybe_uninitialized
692 aros_nowarnflags_uninitialized
693 aros_warnflags_uninitialized
694 aros_nowarnflags_unused_parameter
695 aros_warnflags_unused_parameter
696 aros_nowarnflags_unused_function
697 aros_warnflags_unused_function
698 aros_nowarnflags_unused_variable
699 aros_warnflags_unused_variable
700 aros_nowarnflags_unused_value
701 aros_warnflags_unused_value
702 aros_nowarnflags_unused_label
703 aros_warnflags_unused_label
704 aros_nowarnflags_unused
705 aros_warnflags_unused
706 aros_nowarnflags_nonnull_compare
707 aros_warnflags_nonnull_compare
708 aros_nowarnflags_misleading_indentation
709 aros_warnflags_misleading_indentation
710 aros_nowarnflags_format_security
711 aros_warnflags_format_security
712 aros_nowarnflags_strict_overflow
713 aros_warnflags_strict_overflow
714 aros_nowarnflags_strict_prototypes
715 aros_warnflags_strict_prototypes
716 aros_nowarnflags_enum_compare
717 aros_warnflags_enum_compare
718 aros_nowarnflags_array_bounds
719 aros_warnflags_array_bounds
720 aros_nowarnflags_strict_aliasing
721 aros_warnflags_strict_aliasing
722 aros_nowarnflags_unused_but_set_variable
723 aros_warnflags_unused_but_set_variable
724 aros_nowarnflags_unknown_warning_option
725 aros_warnflags_unknown_warning_option
726 aros_nowarnflags_unused_command_line_argument
727 aros_warnflags_unused_command_line_argument
728 aros_nowarnflags_restrict
729 aros_warnflags_restrict
730 aros_warnflags_all
731 aros_nowarnflags_error
732 aros_warnflags_error
733 aros_cflags_no_ms_bitfields
734 aros_cflags_ms_bitfields
735 aros_cflags_no_red_zone
736 aros_cflags_red_zone
737 aros_cflags_iquote_end
738 aros_cflags_iquote
739 aros_cflags_isystem_end
740 aros_cflags_isystem
741 aros_cflags_visibility_hidden
742 aros_cflags_no_asynchronous_unwind_tables
743 aros_cflags_asynchronous_unwind_tables
744 aros_cflags_no_freestanding
745 aros_cflags_freestanding
746 aros_cflags_no_builtin_vsnprintf
747 aros_cflags_no_builtin_floor
748 aros_cflags_no_builtin
749 aros_cflags_builtin
750 aros_cflags_noalignednew
751 aros_cflags_alignednew
752 aros_cflags_noinstrfuncs
753 aros_cflags_instrfuncs
754 aros_cflags_notestcoverage
755 aros_cflags_testcoverage
756 aros_cflags_noprofilearcs
757 aros_cflags_profilearcs
758 aros_cflags_noomitfp
759 aros_cflags_omitfp
760 aros_cflags_noipacp
761 aros_cflags_ipacp
762 aros_cflags_noinlinesmallfunctions
763 aros_cflags_inlinesmallfunctions
764 aros_cflags_nostrictaliasing
765 aros_cflags_strictaliasing
766 aros_cflags_unroll_loops
767 aros_cflags_peel_loops
768 aros_cflags_loop_strip_mine
769 aros_cflags_loop_interchange
770 aros_cflags_loop_block
771 aros_cflags_whole_program
772 aros_cflags_nolto
773 aros_cflags_lto
774 aros_cflags_no_trapping_math
775 aros_cflags_no_math_errno
776 aros_cflags_fast_math
777 aros_cxxflags_nortti
778 aros_cxxflags_rtti
779 aros_cxxflags_nopermissive
780 aros_cxxflags_permissive
781 aros_cflags_noexceptions
782 aros_cflags_exceptions
783 ac_ct_CXX
784 CXXFLAGS
786 OBJEXT
787 EXEEXT
788 ac_ct_CC
789 CPPFLAGS
790 LDFLAGS
791 CFLAGS
793 target_alias
794 host_alias
795 build_alias
796 LIBS
797 ECHO_T
798 ECHO_N
799 ECHO_C
800 DEFS
801 mandir
802 localedir
803 libdir
804 psdir
805 pdfdir
806 dvidir
807 htmldir
808 infodir
809 docdir
810 oldincludedir
811 includedir
812 runstatedir
813 localstatedir
814 sharedstatedir
815 sysconfdir
816 datadir
817 datarootdir
818 libexecdir
819 sbindir
820 bindir
821 program_transform_name
822 prefix
823 exec_prefix
824 PACKAGE_URL
825 PACKAGE_BUGREPORT
826 PACKAGE_STRING
827 PACKAGE_VERSION
828 PACKAGE_TARNAME
829 PACKAGE_NAME
830 PATH_SEPARATOR
831 SHELL'
832 ac_subst_files=''
833 ac_user_opts='
834 enable_option_checking
835 with_config_dir
837 ac_precious_vars='build_alias
838 host_alias
839 target_alias
841 CFLAGS
842 LDFLAGS
843 LIBS
844 CPPFLAGS
846 CXXFLAGS
847 CCC'
850 # Initialize some variables set by options.
851 ac_init_help=
852 ac_init_version=false
853 ac_unrecognized_opts=
854 ac_unrecognized_sep=
855 # The variables have the same names as the options, with
856 # dashes changed to underlines.
857 cache_file=/dev/null
858 exec_prefix=NONE
859 no_create=
860 no_recursion=
861 prefix=NONE
862 program_prefix=NONE
863 program_suffix=NONE
864 program_transform_name=s,x,x,
865 silent=
866 site=
867 srcdir=
868 verbose=
869 x_includes=NONE
870 x_libraries=NONE
872 # Installation directory options.
873 # These are left unexpanded so users can "make install exec_prefix=/foo"
874 # and all the variables that are supposed to be based on exec_prefix
875 # by default will actually change.
876 # Use braces instead of parens because sh, perl, etc. also accept them.
877 # (The list follows the same order as the GNU Coding Standards.)
878 bindir='${exec_prefix}/bin'
879 sbindir='${exec_prefix}/sbin'
880 libexecdir='${exec_prefix}/libexec'
881 datarootdir='${prefix}/share'
882 datadir='${datarootdir}'
883 sysconfdir='${prefix}/etc'
884 sharedstatedir='${prefix}/com'
885 localstatedir='${prefix}/var'
886 runstatedir='${localstatedir}/run'
887 includedir='${prefix}/include'
888 oldincludedir='/usr/include'
889 docdir='${datarootdir}/doc/${PACKAGE}'
890 infodir='${datarootdir}/info'
891 htmldir='${docdir}'
892 dvidir='${docdir}'
893 pdfdir='${docdir}'
894 psdir='${docdir}'
895 libdir='${exec_prefix}/lib'
896 localedir='${datarootdir}/locale'
897 mandir='${datarootdir}/man'
899 ac_prev=
900 ac_dashdash=
901 for ac_option
903 # If the previous option needs an argument, assign it.
904 if test -n "$ac_prev"; then
905 eval $ac_prev=\$ac_option
906 ac_prev=
907 continue
910 case $ac_option in
911 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
912 *=) ac_optarg= ;;
913 *) ac_optarg=yes ;;
914 esac
916 # Accept the important Cygnus configure options, so we can diagnose typos.
918 case $ac_dashdash$ac_option in
920 ac_dashdash=yes ;;
922 -bindir | --bindir | --bindi | --bind | --bin | --bi)
923 ac_prev=bindir ;;
924 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
925 bindir=$ac_optarg ;;
927 -build | --build | --buil | --bui | --bu)
928 ac_prev=build_alias ;;
929 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
930 build_alias=$ac_optarg ;;
932 -cache-file | --cache-file | --cache-fil | --cache-fi \
933 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
934 ac_prev=cache_file ;;
935 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
936 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
937 cache_file=$ac_optarg ;;
939 --config-cache | -C)
940 cache_file=config.cache ;;
942 -datadir | --datadir | --datadi | --datad)
943 ac_prev=datadir ;;
944 -datadir=* | --datadir=* | --datadi=* | --datad=*)
945 datadir=$ac_optarg ;;
947 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
948 | --dataroo | --dataro | --datar)
949 ac_prev=datarootdir ;;
950 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
951 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
952 datarootdir=$ac_optarg ;;
954 -disable-* | --disable-*)
955 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
956 # Reject names that are not valid shell variable names.
957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
958 as_fn_error $? "invalid feature name: $ac_useropt"
959 ac_useropt_orig=$ac_useropt
960 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961 case $ac_user_opts in
963 "enable_$ac_useropt"
964 "*) ;;
965 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
966 ac_unrecognized_sep=', ';;
967 esac
968 eval enable_$ac_useropt=no ;;
970 -docdir | --docdir | --docdi | --doc | --do)
971 ac_prev=docdir ;;
972 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
973 docdir=$ac_optarg ;;
975 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
976 ac_prev=dvidir ;;
977 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
978 dvidir=$ac_optarg ;;
980 -enable-* | --enable-*)
981 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
984 as_fn_error $? "invalid feature name: $ac_useropt"
985 ac_useropt_orig=$ac_useropt
986 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
987 case $ac_user_opts in
989 "enable_$ac_useropt"
990 "*) ;;
991 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
992 ac_unrecognized_sep=', ';;
993 esac
994 eval enable_$ac_useropt=\$ac_optarg ;;
996 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
997 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
998 | --exec | --exe | --ex)
999 ac_prev=exec_prefix ;;
1000 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1001 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1002 | --exec=* | --exe=* | --ex=*)
1003 exec_prefix=$ac_optarg ;;
1005 -gas | --gas | --ga | --g)
1006 # Obsolete; use --with-gas.
1007 with_gas=yes ;;
1009 -help | --help | --hel | --he | -h)
1010 ac_init_help=long ;;
1011 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1012 ac_init_help=recursive ;;
1013 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1014 ac_init_help=short ;;
1016 -host | --host | --hos | --ho)
1017 ac_prev=host_alias ;;
1018 -host=* | --host=* | --hos=* | --ho=*)
1019 host_alias=$ac_optarg ;;
1021 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1022 ac_prev=htmldir ;;
1023 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1024 | --ht=*)
1025 htmldir=$ac_optarg ;;
1027 -includedir | --includedir | --includedi | --included | --include \
1028 | --includ | --inclu | --incl | --inc)
1029 ac_prev=includedir ;;
1030 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1031 | --includ=* | --inclu=* | --incl=* | --inc=*)
1032 includedir=$ac_optarg ;;
1034 -infodir | --infodir | --infodi | --infod | --info | --inf)
1035 ac_prev=infodir ;;
1036 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1037 infodir=$ac_optarg ;;
1039 -libdir | --libdir | --libdi | --libd)
1040 ac_prev=libdir ;;
1041 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1042 libdir=$ac_optarg ;;
1044 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1045 | --libexe | --libex | --libe)
1046 ac_prev=libexecdir ;;
1047 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1048 | --libexe=* | --libex=* | --libe=*)
1049 libexecdir=$ac_optarg ;;
1051 -localedir | --localedir | --localedi | --localed | --locale)
1052 ac_prev=localedir ;;
1053 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1054 localedir=$ac_optarg ;;
1056 -localstatedir | --localstatedir | --localstatedi | --localstated \
1057 | --localstate | --localstat | --localsta | --localst | --locals)
1058 ac_prev=localstatedir ;;
1059 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1060 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1061 localstatedir=$ac_optarg ;;
1063 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1064 ac_prev=mandir ;;
1065 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1066 mandir=$ac_optarg ;;
1068 -nfp | --nfp | --nf)
1069 # Obsolete; use --without-fp.
1070 with_fp=no ;;
1072 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1073 | --no-cr | --no-c | -n)
1074 no_create=yes ;;
1076 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1077 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1078 no_recursion=yes ;;
1080 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1081 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1082 | --oldin | --oldi | --old | --ol | --o)
1083 ac_prev=oldincludedir ;;
1084 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1085 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1086 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1087 oldincludedir=$ac_optarg ;;
1089 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1090 ac_prev=prefix ;;
1091 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1092 prefix=$ac_optarg ;;
1094 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1095 | --program-pre | --program-pr | --program-p)
1096 ac_prev=program_prefix ;;
1097 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1098 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1099 program_prefix=$ac_optarg ;;
1101 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1102 | --program-suf | --program-su | --program-s)
1103 ac_prev=program_suffix ;;
1104 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1105 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1106 program_suffix=$ac_optarg ;;
1108 -program-transform-name | --program-transform-name \
1109 | --program-transform-nam | --program-transform-na \
1110 | --program-transform-n | --program-transform- \
1111 | --program-transform | --program-transfor \
1112 | --program-transfo | --program-transf \
1113 | --program-trans | --program-tran \
1114 | --progr-tra | --program-tr | --program-t)
1115 ac_prev=program_transform_name ;;
1116 -program-transform-name=* | --program-transform-name=* \
1117 | --program-transform-nam=* | --program-transform-na=* \
1118 | --program-transform-n=* | --program-transform-=* \
1119 | --program-transform=* | --program-transfor=* \
1120 | --program-transfo=* | --program-transf=* \
1121 | --program-trans=* | --program-tran=* \
1122 | --progr-tra=* | --program-tr=* | --program-t=*)
1123 program_transform_name=$ac_optarg ;;
1125 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1126 ac_prev=pdfdir ;;
1127 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1128 pdfdir=$ac_optarg ;;
1130 -psdir | --psdir | --psdi | --psd | --ps)
1131 ac_prev=psdir ;;
1132 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1133 psdir=$ac_optarg ;;
1135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1136 | -silent | --silent | --silen | --sile | --sil)
1137 silent=yes ;;
1139 -runstatedir | --runstatedir | --runstatedi | --runstated \
1140 | --runstate | --runstat | --runsta | --runst | --runs \
1141 | --run | --ru | --r)
1142 ac_prev=runstatedir ;;
1143 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1144 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1145 | --run=* | --ru=* | --r=*)
1146 runstatedir=$ac_optarg ;;
1148 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1149 ac_prev=sbindir ;;
1150 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1151 | --sbi=* | --sb=*)
1152 sbindir=$ac_optarg ;;
1154 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1155 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1156 | --sharedst | --shareds | --shared | --share | --shar \
1157 | --sha | --sh)
1158 ac_prev=sharedstatedir ;;
1159 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1160 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1161 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1162 | --sha=* | --sh=*)
1163 sharedstatedir=$ac_optarg ;;
1165 -site | --site | --sit)
1166 ac_prev=site ;;
1167 -site=* | --site=* | --sit=*)
1168 site=$ac_optarg ;;
1170 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1171 ac_prev=srcdir ;;
1172 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1173 srcdir=$ac_optarg ;;
1175 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1176 | --syscon | --sysco | --sysc | --sys | --sy)
1177 ac_prev=sysconfdir ;;
1178 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1179 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1180 sysconfdir=$ac_optarg ;;
1182 -target | --target | --targe | --targ | --tar | --ta | --t)
1183 ac_prev=target_alias ;;
1184 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1185 target_alias=$ac_optarg ;;
1187 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1188 verbose=yes ;;
1190 -version | --version | --versio | --versi | --vers | -V)
1191 ac_init_version=: ;;
1193 -with-* | --with-*)
1194 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1197 as_fn_error $? "invalid package name: $ac_useropt"
1198 ac_useropt_orig=$ac_useropt
1199 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1202 "with_$ac_useropt"
1203 "*) ;;
1204 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1205 ac_unrecognized_sep=', ';;
1206 esac
1207 eval with_$ac_useropt=\$ac_optarg ;;
1209 -without-* | --without-*)
1210 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1211 # Reject names that are not valid shell variable names.
1212 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1213 as_fn_error $? "invalid package name: $ac_useropt"
1214 ac_useropt_orig=$ac_useropt
1215 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1216 case $ac_user_opts in
1218 "with_$ac_useropt"
1219 "*) ;;
1220 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1221 ac_unrecognized_sep=', ';;
1222 esac
1223 eval with_$ac_useropt=no ;;
1225 --x)
1226 # Obsolete; use --with-x.
1227 with_x=yes ;;
1229 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1230 | --x-incl | --x-inc | --x-in | --x-i)
1231 ac_prev=x_includes ;;
1232 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1233 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1234 x_includes=$ac_optarg ;;
1236 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1237 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1238 ac_prev=x_libraries ;;
1239 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1240 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1241 x_libraries=$ac_optarg ;;
1243 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1244 Try \`$0 --help' for more information"
1247 *=*)
1248 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1249 # Reject names that are not valid shell variable names.
1250 case $ac_envvar in #(
1251 '' | [0-9]* | *[!_$as_cr_alnum]* )
1252 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1253 esac
1254 eval $ac_envvar=\$ac_optarg
1255 export $ac_envvar ;;
1258 # FIXME: should be removed in autoconf 3.0.
1259 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1260 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1261 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1262 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1265 esac
1266 done
1268 if test -n "$ac_prev"; then
1269 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1270 as_fn_error $? "missing argument to $ac_option"
1273 if test -n "$ac_unrecognized_opts"; then
1274 case $enable_option_checking in
1275 no) ;;
1276 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1277 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1278 esac
1281 # Check all directory arguments for consistency.
1282 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1283 datadir sysconfdir sharedstatedir localstatedir includedir \
1284 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1285 libdir localedir mandir runstatedir
1287 eval ac_val=\$$ac_var
1288 # Remove trailing slashes.
1289 case $ac_val in
1290 */ )
1291 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1292 eval $ac_var=\$ac_val;;
1293 esac
1294 # Be sure to have absolute directory names.
1295 case $ac_val in
1296 [\\/$]* | ?:[\\/]* ) continue;;
1297 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1298 esac
1299 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1300 done
1302 # There might be people who depend on the old broken behavior: `$host'
1303 # used to hold the argument of --host etc.
1304 # FIXME: To remove some day.
1305 build=$build_alias
1306 host=$host_alias
1307 target=$target_alias
1309 # FIXME: To remove some day.
1310 if test "x$host_alias" != x; then
1311 if test "x$build_alias" = x; then
1312 cross_compiling=maybe
1313 elif test "x$build_alias" != "x$host_alias"; then
1314 cross_compiling=yes
1318 ac_tool_prefix=
1319 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1321 test "$silent" = yes && exec 6>/dev/null
1324 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1325 ac_ls_di=`ls -di .` &&
1326 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1327 as_fn_error $? "working directory cannot be determined"
1328 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1329 as_fn_error $? "pwd does not report name of working directory"
1332 # Find the source files, if location was not specified.
1333 if test -z "$srcdir"; then
1334 ac_srcdir_defaulted=yes
1335 # Try the directory containing this script, then the parent directory.
1336 ac_confdir=`$as_dirname -- "$as_myself" ||
1337 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1338 X"$as_myself" : 'X\(//\)[^/]' \| \
1339 X"$as_myself" : 'X\(//\)$' \| \
1340 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1341 $as_echo X"$as_myself" |
1342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1343 s//\1/
1346 /^X\(\/\/\)[^/].*/{
1347 s//\1/
1350 /^X\(\/\/\)$/{
1351 s//\1/
1354 /^X\(\/\).*/{
1355 s//\1/
1358 s/.*/./; q'`
1359 srcdir=$ac_confdir
1360 if test ! -r "$srcdir/$ac_unique_file"; then
1361 srcdir=..
1363 else
1364 ac_srcdir_defaulted=no
1366 if test ! -r "$srcdir/$ac_unique_file"; then
1367 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1368 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1370 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1371 ac_abs_confdir=`(
1372 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1373 pwd)`
1374 # When building in place, set srcdir=.
1375 if test "$ac_abs_confdir" = "$ac_pwd"; then
1376 srcdir=.
1378 # Remove unnecessary trailing slashes from srcdir.
1379 # Double slashes in file names in object file debugging info
1380 # mess up M-x gdb in Emacs.
1381 case $srcdir in
1382 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1383 esac
1384 for ac_var in $ac_precious_vars; do
1385 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1386 eval ac_env_${ac_var}_value=\$${ac_var}
1387 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1388 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1389 done
1392 # Report the --help message.
1394 if test "$ac_init_help" = "long"; then
1395 # Omit some internal or obsolete options to make the list less imposing.
1396 # This message is too long to be a string in the A/UX 3.1 sh.
1397 cat <<_ACEOF
1398 \`configure' configures this package to adapt to many kinds of systems.
1400 Usage: $0 [OPTION]... [VAR=VALUE]...
1402 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1403 VAR=VALUE. See below for descriptions of some of the useful variables.
1405 Defaults for the options are specified in brackets.
1407 Configuration:
1408 -h, --help display this help and exit
1409 --help=short display options specific to this package
1410 --help=recursive display the short help of all the included packages
1411 -V, --version display version information and exit
1412 -q, --quiet, --silent do not print \`checking ...' messages
1413 --cache-file=FILE cache test results in FILE [disabled]
1414 -C, --config-cache alias for \`--cache-file=config.cache'
1415 -n, --no-create do not create output files
1416 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1418 Installation directories:
1419 --prefix=PREFIX install architecture-independent files in PREFIX
1420 [$ac_default_prefix]
1421 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1422 [PREFIX]
1424 By default, \`make install' will install all the files in
1425 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1426 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1427 for instance \`--prefix=\$HOME'.
1429 For better control, use the options below.
1431 Fine tuning of the installation directories:
1432 --bindir=DIR user executables [EPREFIX/bin]
1433 --sbindir=DIR system admin executables [EPREFIX/sbin]
1434 --libexecdir=DIR program executables [EPREFIX/libexec]
1435 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1436 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1437 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1438 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1439 --libdir=DIR object code libraries [EPREFIX/lib]
1440 --includedir=DIR C header files [PREFIX/include]
1441 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1442 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1443 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1444 --infodir=DIR info documentation [DATAROOTDIR/info]
1445 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1446 --mandir=DIR man documentation [DATAROOTDIR/man]
1447 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1448 --htmldir=DIR html documentation [DOCDIR]
1449 --dvidir=DIR dvi documentation [DOCDIR]
1450 --pdfdir=DIR pdf documentation [DOCDIR]
1451 --psdir=DIR ps documentation [DOCDIR]
1452 _ACEOF
1454 cat <<\_ACEOF
1455 _ACEOF
1458 if test -n "$ac_init_help"; then
1460 cat <<\_ACEOF
1462 Optional Packages:
1463 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1464 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1465 --with-config-dir=VERSION
1466 Location of generated target config files
1468 Some influential environment variables:
1469 CC C compiler command
1470 CFLAGS C compiler flags
1471 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1472 nonstandard directory <lib dir>
1473 LIBS libraries to pass to the linker, e.g. -l<library>
1474 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1475 you have headers in a nonstandard directory <include dir>
1476 CXX C++ compiler command
1477 CXXFLAGS C++ compiler flags
1479 Use these variables to override the choices made by `configure' or to help
1480 it to find libraries and programs with nonstandard names/locations.
1482 Report bugs to the package provider.
1483 _ACEOF
1484 ac_status=$?
1487 if test "$ac_init_help" = "recursive"; then
1488 # If there are subdirs, report their specific --help.
1489 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1490 test -d "$ac_dir" ||
1491 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1492 continue
1493 ac_builddir=.
1495 case "$ac_dir" in
1496 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1498 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1499 # A ".." for each directory in $ac_dir_suffix.
1500 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1501 case $ac_top_builddir_sub in
1502 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1503 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1504 esac ;;
1505 esac
1506 ac_abs_top_builddir=$ac_pwd
1507 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1508 # for backward compatibility:
1509 ac_top_builddir=$ac_top_build_prefix
1511 case $srcdir in
1512 .) # We are building in place.
1513 ac_srcdir=.
1514 ac_top_srcdir=$ac_top_builddir_sub
1515 ac_abs_top_srcdir=$ac_pwd ;;
1516 [\\/]* | ?:[\\/]* ) # Absolute name.
1517 ac_srcdir=$srcdir$ac_dir_suffix;
1518 ac_top_srcdir=$srcdir
1519 ac_abs_top_srcdir=$srcdir ;;
1520 *) # Relative name.
1521 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1522 ac_top_srcdir=$ac_top_build_prefix$srcdir
1523 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1524 esac
1525 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1527 cd "$ac_dir" || { ac_status=$?; continue; }
1528 # Check for guested configure.
1529 if test -f "$ac_srcdir/configure.gnu"; then
1530 echo &&
1531 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1532 elif test -f "$ac_srcdir/configure"; then
1533 echo &&
1534 $SHELL "$ac_srcdir/configure" --help=recursive
1535 else
1536 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1537 fi || ac_status=$?
1538 cd "$ac_pwd" || { ac_status=$?; break; }
1539 done
1542 test -n "$ac_init_help" && exit $ac_status
1543 if $ac_init_version; then
1544 cat <<\_ACEOF
1545 configure
1546 generated by GNU Autoconf 2.69
1548 Copyright (C) 2012 Free Software Foundation, Inc.
1549 This configure script is free software; the Free Software Foundation
1550 gives unlimited permission to copy, distribute and modify it.
1551 _ACEOF
1552 exit
1555 ## ------------------------ ##
1556 ## Autoconf initialization. ##
1557 ## ------------------------ ##
1559 # ac_fn_c_try_compile LINENO
1560 # --------------------------
1561 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1562 ac_fn_c_try_compile ()
1564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1565 rm -f conftest.$ac_objext
1566 if { { ac_try="$ac_compile"
1567 case "(($ac_try" in
1568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1569 *) ac_try_echo=$ac_try;;
1570 esac
1571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1572 $as_echo "$ac_try_echo"; } >&5
1573 (eval "$ac_compile") 2>conftest.err
1574 ac_status=$?
1575 if test -s conftest.err; then
1576 grep -v '^ *+' conftest.err >conftest.er1
1577 cat conftest.er1 >&5
1578 mv -f conftest.er1 conftest.err
1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; } && {
1582 test -z "$ac_c_werror_flag" ||
1583 test ! -s conftest.err
1584 } && test -s conftest.$ac_objext; then :
1585 ac_retval=0
1586 else
1587 $as_echo "$as_me: failed program was:" >&5
1588 sed 's/^/| /' conftest.$ac_ext >&5
1590 ac_retval=1
1592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1593 as_fn_set_status $ac_retval
1595 } # ac_fn_c_try_compile
1597 # ac_fn_cxx_try_compile LINENO
1598 # ----------------------------
1599 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1600 ac_fn_cxx_try_compile ()
1602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603 rm -f conftest.$ac_objext
1604 if { { ac_try="$ac_compile"
1605 case "(($ac_try" in
1606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1607 *) ac_try_echo=$ac_try;;
1608 esac
1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611 (eval "$ac_compile") 2>conftest.err
1612 ac_status=$?
1613 if test -s conftest.err; then
1614 grep -v '^ *+' conftest.err >conftest.er1
1615 cat conftest.er1 >&5
1616 mv -f conftest.er1 conftest.err
1618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1619 test $ac_status = 0; } && {
1620 test -z "$ac_cxx_werror_flag" ||
1621 test ! -s conftest.err
1622 } && test -s conftest.$ac_objext; then :
1623 ac_retval=0
1624 else
1625 $as_echo "$as_me: failed program was:" >&5
1626 sed 's/^/| /' conftest.$ac_ext >&5
1628 ac_retval=1
1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1631 as_fn_set_status $ac_retval
1633 } # ac_fn_cxx_try_compile
1634 cat >config.log <<_ACEOF
1635 This file contains any messages produced by compilers while
1636 running configure, to aid debugging if configure makes a mistake.
1638 It was created by $as_me, which was
1639 generated by GNU Autoconf 2.69. Invocation command line was
1641 $ $0 $@
1643 _ACEOF
1644 exec 5>>config.log
1646 cat <<_ASUNAME
1647 ## --------- ##
1648 ## Platform. ##
1649 ## --------- ##
1651 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1652 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1653 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1654 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1655 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1657 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1658 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1660 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1661 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1662 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1663 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1664 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1665 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1666 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1668 _ASUNAME
1670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1671 for as_dir in $PATH
1673 IFS=$as_save_IFS
1674 test -z "$as_dir" && as_dir=.
1675 $as_echo "PATH: $as_dir"
1676 done
1677 IFS=$as_save_IFS
1679 } >&5
1681 cat >&5 <<_ACEOF
1684 ## ----------- ##
1685 ## Core tests. ##
1686 ## ----------- ##
1688 _ACEOF
1691 # Keep a trace of the command line.
1692 # Strip out --no-create and --no-recursion so they do not pile up.
1693 # Strip out --silent because we don't want to record it for future runs.
1694 # Also quote any args containing shell meta-characters.
1695 # Make two passes to allow for proper duplicate-argument suppression.
1696 ac_configure_args=
1697 ac_configure_args0=
1698 ac_configure_args1=
1699 ac_must_keep_next=false
1700 for ac_pass in 1 2
1702 for ac_arg
1704 case $ac_arg in
1705 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1706 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1707 | -silent | --silent | --silen | --sile | --sil)
1708 continue ;;
1709 *\'*)
1710 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1711 esac
1712 case $ac_pass in
1713 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1715 as_fn_append ac_configure_args1 " '$ac_arg'"
1716 if test $ac_must_keep_next = true; then
1717 ac_must_keep_next=false # Got value, back to normal.
1718 else
1719 case $ac_arg in
1720 *=* | --config-cache | -C | -disable-* | --disable-* \
1721 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1722 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1723 | -with-* | --with-* | -without-* | --without-* | --x)
1724 case "$ac_configure_args0 " in
1725 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1726 esac
1728 -* ) ac_must_keep_next=true ;;
1729 esac
1731 as_fn_append ac_configure_args " '$ac_arg'"
1733 esac
1734 done
1735 done
1736 { ac_configure_args0=; unset ac_configure_args0;}
1737 { ac_configure_args1=; unset ac_configure_args1;}
1739 # When interrupted or exit'd, cleanup temporary files, and complete
1740 # config.log. We remove comments because anyway the quotes in there
1741 # would cause problems or look ugly.
1742 # WARNING: Use '\'' to represent an apostrophe within the trap.
1743 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1744 trap 'exit_status=$?
1745 # Save into config.log some information that might help in debugging.
1747 echo
1749 $as_echo "## ---------------- ##
1750 ## Cache variables. ##
1751 ## ---------------- ##"
1752 echo
1753 # The following way of writing the cache mishandles newlines in values,
1755 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1756 eval ac_val=\$$ac_var
1757 case $ac_val in #(
1758 *${as_nl}*)
1759 case $ac_var in #(
1760 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1761 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1762 esac
1763 case $ac_var in #(
1764 _ | IFS | as_nl) ;; #(
1765 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1766 *) { eval $ac_var=; unset $ac_var;} ;;
1767 esac ;;
1768 esac
1769 done
1770 (set) 2>&1 |
1771 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1772 *${as_nl}ac_space=\ *)
1773 sed -n \
1774 "s/'\''/'\''\\\\'\'''\''/g;
1775 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1776 ;; #(
1778 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1780 esac |
1781 sort
1783 echo
1785 $as_echo "## ----------------- ##
1786 ## Output variables. ##
1787 ## ----------------- ##"
1788 echo
1789 for ac_var in $ac_subst_vars
1791 eval ac_val=\$$ac_var
1792 case $ac_val in
1793 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1794 esac
1795 $as_echo "$ac_var='\''$ac_val'\''"
1796 done | sort
1797 echo
1799 if test -n "$ac_subst_files"; then
1800 $as_echo "## ------------------- ##
1801 ## File substitutions. ##
1802 ## ------------------- ##"
1803 echo
1804 for ac_var in $ac_subst_files
1806 eval ac_val=\$$ac_var
1807 case $ac_val in
1808 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1809 esac
1810 $as_echo "$ac_var='\''$ac_val'\''"
1811 done | sort
1812 echo
1815 if test -s confdefs.h; then
1816 $as_echo "## ----------- ##
1817 ## confdefs.h. ##
1818 ## ----------- ##"
1819 echo
1820 cat confdefs.h
1821 echo
1823 test "$ac_signal" != 0 &&
1824 $as_echo "$as_me: caught signal $ac_signal"
1825 $as_echo "$as_me: exit $exit_status"
1826 } >&5
1827 rm -f core *.core core.conftest.* &&
1828 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1829 exit $exit_status
1831 for ac_signal in 1 2 13 15; do
1832 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1833 done
1834 ac_signal=0
1836 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1837 rm -f -r conftest* confdefs.h
1839 $as_echo "/* confdefs.h */" > confdefs.h
1841 # Predefined preprocessor variables.
1843 cat >>confdefs.h <<_ACEOF
1844 #define PACKAGE_NAME "$PACKAGE_NAME"
1845 _ACEOF
1847 cat >>confdefs.h <<_ACEOF
1848 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1849 _ACEOF
1851 cat >>confdefs.h <<_ACEOF
1852 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1853 _ACEOF
1855 cat >>confdefs.h <<_ACEOF
1856 #define PACKAGE_STRING "$PACKAGE_STRING"
1857 _ACEOF
1859 cat >>confdefs.h <<_ACEOF
1860 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1861 _ACEOF
1863 cat >>confdefs.h <<_ACEOF
1864 #define PACKAGE_URL "$PACKAGE_URL"
1865 _ACEOF
1868 # Let the site file select an alternate cache file if it wants to.
1869 # Prefer an explicitly selected file to automatically selected ones.
1870 ac_site_file1=NONE
1871 ac_site_file2=NONE
1872 if test -n "$CONFIG_SITE"; then
1873 # We do not want a PATH search for config.site.
1874 case $CONFIG_SITE in #((
1875 -*) ac_site_file1=./$CONFIG_SITE;;
1876 */*) ac_site_file1=$CONFIG_SITE;;
1877 *) ac_site_file1=./$CONFIG_SITE;;
1878 esac
1879 elif test "x$prefix" != xNONE; then
1880 ac_site_file1=$prefix/share/config.site
1881 ac_site_file2=$prefix/etc/config.site
1882 else
1883 ac_site_file1=$ac_default_prefix/share/config.site
1884 ac_site_file2=$ac_default_prefix/etc/config.site
1886 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1888 test "x$ac_site_file" = xNONE && continue
1889 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1891 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1892 sed 's/^/| /' "$ac_site_file" >&5
1893 . "$ac_site_file" \
1894 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1896 as_fn_error $? "failed to load site script $ac_site_file
1897 See \`config.log' for more details" "$LINENO" 5; }
1899 done
1901 if test -r "$cache_file"; then
1902 # Some versions of bash will fail to source /dev/null (special files
1903 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1904 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1906 $as_echo "$as_me: loading cache $cache_file" >&6;}
1907 case $cache_file in
1908 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1909 *) . "./$cache_file";;
1910 esac
1912 else
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1914 $as_echo "$as_me: creating cache $cache_file" >&6;}
1915 >$cache_file
1918 # Check that the precious variables saved in the cache have kept the same
1919 # value.
1920 ac_cache_corrupted=false
1921 for ac_var in $ac_precious_vars; do
1922 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1923 eval ac_new_set=\$ac_env_${ac_var}_set
1924 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1925 eval ac_new_val=\$ac_env_${ac_var}_value
1926 case $ac_old_set,$ac_new_set in
1927 set,)
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1929 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1930 ac_cache_corrupted=: ;;
1931 ,set)
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1933 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1934 ac_cache_corrupted=: ;;
1935 ,);;
1937 if test "x$ac_old_val" != "x$ac_new_val"; then
1938 # differences in whitespace do not lead to failure.
1939 ac_old_val_w=`echo x $ac_old_val`
1940 ac_new_val_w=`echo x $ac_new_val`
1941 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1943 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1944 ac_cache_corrupted=:
1945 else
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1947 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1948 eval $ac_var=\$ac_old_val
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1951 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1953 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1954 fi;;
1955 esac
1956 # Pass precious variables to config.status.
1957 if test "$ac_new_set" = set; then
1958 case $ac_new_val in
1959 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1960 *) ac_arg=$ac_var=$ac_new_val ;;
1961 esac
1962 case " $ac_configure_args " in
1963 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1964 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1965 esac
1967 done
1968 if $ac_cache_corrupted; then
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1972 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1973 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1975 ## -------------------- ##
1976 ## Main body of script. ##
1977 ## -------------------- ##
1979 ac_ext=c
1980 ac_cpp='$CPP $CPPFLAGS'
1981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1987 ac_aux_dir=
1988 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1989 if test -f "$ac_dir/install-sh"; then
1990 ac_aux_dir=$ac_dir
1991 ac_install_sh="$ac_aux_dir/install-sh -c"
1992 break
1993 elif test -f "$ac_dir/install.sh"; then
1994 ac_aux_dir=$ac_dir
1995 ac_install_sh="$ac_aux_dir/install.sh -c"
1996 break
1997 elif test -f "$ac_dir/shtool"; then
1998 ac_aux_dir=$ac_dir
1999 ac_install_sh="$ac_aux_dir/shtool install -c"
2000 break
2002 done
2003 if test -z "$ac_aux_dir"; then
2004 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
2007 # These three variables are undocumented and unsupported,
2008 # and are intended to be withdrawn in a future Autoconf release.
2009 # They can cause serious problems if a builder's source tree is in a directory
2010 # whose full name contains unusual characters.
2011 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2012 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2013 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2017 AROS_BUILDDIR=`${PWDCMD-pwd}`
2018 AROS_BUILDDIR_UNIX=${PWD}
2020 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2021 SRCDIR=${srcpwd}
2023 NOLINKFLAGS="-nostdlib -nostartfiles"
2024 LDFLAGS=$NOLINKFLAGS
2025 # The first step is to find the binaries.
2026 ac_ext=c
2027 ac_cpp='$CPP $CPPFLAGS'
2028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2031 if test -n "$ac_tool_prefix"; then
2032 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2033 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2035 $as_echo_n "checking for $ac_word... " >&6; }
2036 if ${ac_cv_prog_CC+:} false; then :
2037 $as_echo_n "(cached) " >&6
2038 else
2039 if test -n "$CC"; then
2040 ac_cv_prog_CC="$CC" # Let the user override the test.
2041 else
2042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043 for as_dir in $PATH
2045 IFS=$as_save_IFS
2046 test -z "$as_dir" && as_dir=.
2047 for ac_exec_ext in '' $ac_executable_extensions; do
2048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2049 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2051 break 2
2053 done
2054 done
2055 IFS=$as_save_IFS
2059 CC=$ac_cv_prog_CC
2060 if test -n "$CC"; then
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2062 $as_echo "$CC" >&6; }
2063 else
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2065 $as_echo "no" >&6; }
2070 if test -z "$ac_cv_prog_CC"; then
2071 ac_ct_CC=$CC
2072 # Extract the first word of "gcc", so it can be a program name with args.
2073 set dummy gcc; ac_word=$2
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2075 $as_echo_n "checking for $ac_word... " >&6; }
2076 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2077 $as_echo_n "(cached) " >&6
2078 else
2079 if test -n "$ac_ct_CC"; then
2080 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2081 else
2082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2083 for as_dir in $PATH
2085 IFS=$as_save_IFS
2086 test -z "$as_dir" && as_dir=.
2087 for ac_exec_ext in '' $ac_executable_extensions; do
2088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2089 ac_cv_prog_ac_ct_CC="gcc"
2090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2091 break 2
2093 done
2094 done
2095 IFS=$as_save_IFS
2099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2100 if test -n "$ac_ct_CC"; then
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2102 $as_echo "$ac_ct_CC" >&6; }
2103 else
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2105 $as_echo "no" >&6; }
2108 if test "x$ac_ct_CC" = x; then
2109 CC=""
2110 else
2111 case $cross_compiling:$ac_tool_warned in
2112 yes:)
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2115 ac_tool_warned=yes ;;
2116 esac
2117 CC=$ac_ct_CC
2119 else
2120 CC="$ac_cv_prog_CC"
2123 if test -z "$CC"; then
2124 if test -n "$ac_tool_prefix"; then
2125 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2126 set dummy ${ac_tool_prefix}cc; ac_word=$2
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2128 $as_echo_n "checking for $ac_word... " >&6; }
2129 if ${ac_cv_prog_CC+:} false; then :
2130 $as_echo_n "(cached) " >&6
2131 else
2132 if test -n "$CC"; then
2133 ac_cv_prog_CC="$CC" # Let the user override the test.
2134 else
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136 for as_dir in $PATH
2138 IFS=$as_save_IFS
2139 test -z "$as_dir" && as_dir=.
2140 for ac_exec_ext in '' $ac_executable_extensions; do
2141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2142 ac_cv_prog_CC="${ac_tool_prefix}cc"
2143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2144 break 2
2146 done
2147 done
2148 IFS=$as_save_IFS
2152 CC=$ac_cv_prog_CC
2153 if test -n "$CC"; then
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2155 $as_echo "$CC" >&6; }
2156 else
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2158 $as_echo "no" >&6; }
2164 if test -z "$CC"; then
2165 # Extract the first word of "cc", so it can be a program name with args.
2166 set dummy cc; ac_word=$2
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2168 $as_echo_n "checking for $ac_word... " >&6; }
2169 if ${ac_cv_prog_CC+:} false; then :
2170 $as_echo_n "(cached) " >&6
2171 else
2172 if test -n "$CC"; then
2173 ac_cv_prog_CC="$CC" # Let the user override the test.
2174 else
2175 ac_prog_rejected=no
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177 for as_dir in $PATH
2179 IFS=$as_save_IFS
2180 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2183 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2184 ac_prog_rejected=yes
2185 continue
2187 ac_cv_prog_CC="cc"
2188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2189 break 2
2191 done
2192 done
2193 IFS=$as_save_IFS
2195 if test $ac_prog_rejected = yes; then
2196 # We found a bogon in the path, so make sure we never use it.
2197 set dummy $ac_cv_prog_CC
2198 shift
2199 if test $# != 0; then
2200 # We chose a different compiler from the bogus one.
2201 # However, it has the same basename, so the bogon will be chosen
2202 # first if we set CC to just the basename; use the full file name.
2203 shift
2204 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2209 CC=$ac_cv_prog_CC
2210 if test -n "$CC"; then
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2212 $as_echo "$CC" >&6; }
2213 else
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2215 $as_echo "no" >&6; }
2220 if test -z "$CC"; then
2221 if test -n "$ac_tool_prefix"; then
2222 for ac_prog in cl.exe
2224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2227 $as_echo_n "checking for $ac_word... " >&6; }
2228 if ${ac_cv_prog_CC+:} false; then :
2229 $as_echo_n "(cached) " >&6
2230 else
2231 if test -n "$CC"; then
2232 ac_cv_prog_CC="$CC" # Let the user override the test.
2233 else
2234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235 for as_dir in $PATH
2237 IFS=$as_save_IFS
2238 test -z "$as_dir" && as_dir=.
2239 for ac_exec_ext in '' $ac_executable_extensions; do
2240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2241 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2243 break 2
2245 done
2246 done
2247 IFS=$as_save_IFS
2251 CC=$ac_cv_prog_CC
2252 if test -n "$CC"; then
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2254 $as_echo "$CC" >&6; }
2255 else
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2257 $as_echo "no" >&6; }
2261 test -n "$CC" && break
2262 done
2264 if test -z "$CC"; then
2265 ac_ct_CC=$CC
2266 for ac_prog in cl.exe
2268 # Extract the first word of "$ac_prog", so it can be a program name with args.
2269 set dummy $ac_prog; ac_word=$2
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2271 $as_echo_n "checking for $ac_word... " >&6; }
2272 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2273 $as_echo_n "(cached) " >&6
2274 else
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2277 else
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279 for as_dir in $PATH
2281 IFS=$as_save_IFS
2282 test -z "$as_dir" && as_dir=.
2283 for ac_exec_ext in '' $ac_executable_extensions; do
2284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2285 ac_cv_prog_ac_ct_CC="$ac_prog"
2286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 break 2
2289 done
2290 done
2291 IFS=$as_save_IFS
2295 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2296 if test -n "$ac_ct_CC"; then
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2298 $as_echo "$ac_ct_CC" >&6; }
2299 else
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2301 $as_echo "no" >&6; }
2305 test -n "$ac_ct_CC" && break
2306 done
2308 if test "x$ac_ct_CC" = x; then
2309 CC=""
2310 else
2311 case $cross_compiling:$ac_tool_warned in
2312 yes:)
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2315 ac_tool_warned=yes ;;
2316 esac
2317 CC=$ac_ct_CC
2324 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2326 as_fn_error $? "no acceptable C compiler found in \$PATH
2327 See \`config.log' for more details" "$LINENO" 5; }
2329 # Provide some information about the compiler.
2330 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2331 set X $ac_compile
2332 ac_compiler=$2
2333 for ac_option in --version -v -V -qversion; do
2334 { { ac_try="$ac_compiler $ac_option >&5"
2335 case "(($ac_try" in
2336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2337 *) ac_try_echo=$ac_try;;
2338 esac
2339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2340 $as_echo "$ac_try_echo"; } >&5
2341 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2342 ac_status=$?
2343 if test -s conftest.err; then
2344 sed '10a\
2345 ... rest of stderr output deleted ...
2346 10q' conftest.err >conftest.er1
2347 cat conftest.er1 >&5
2349 rm -f conftest.er1 conftest.err
2350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2351 test $ac_status = 0; }
2352 done
2354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2355 /* end confdefs.h. */
2358 main ()
2362 return 0;
2364 _ACEOF
2365 ac_clean_files_save=$ac_clean_files
2366 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2367 # Try to create an executable without -o first, disregard a.out.
2368 # It will help us diagnose broken compilers, and finding out an intuition
2369 # of exeext.
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2371 $as_echo_n "checking whether the C compiler works... " >&6; }
2372 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2374 # The possible output files:
2375 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2377 ac_rmfiles=
2378 for ac_file in $ac_files
2380 case $ac_file in
2381 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2382 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2383 esac
2384 done
2385 rm -f $ac_rmfiles
2387 if { { ac_try="$ac_link_default"
2388 case "(($ac_try" in
2389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2390 *) ac_try_echo=$ac_try;;
2391 esac
2392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2393 $as_echo "$ac_try_echo"; } >&5
2394 (eval "$ac_link_default") 2>&5
2395 ac_status=$?
2396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2397 test $ac_status = 0; }; then :
2398 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2399 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2400 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2401 # so that the user can short-circuit this test for compilers unknown to
2402 # Autoconf.
2403 for ac_file in $ac_files ''
2405 test -f "$ac_file" || continue
2406 case $ac_file in
2407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2409 [ab].out )
2410 # We found the default executable, but exeext='' is most
2411 # certainly right.
2412 break;;
2413 *.* )
2414 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2415 then :; else
2416 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2418 # We set ac_cv_exeext here because the later test for it is not
2419 # safe: cross compilers may not add the suffix if given an `-o'
2420 # argument, so we may need to know it at that point already.
2421 # Even if this section looks crufty: it has the advantage of
2422 # actually working.
2423 break;;
2425 break;;
2426 esac
2427 done
2428 test "$ac_cv_exeext" = no && ac_cv_exeext=
2430 else
2431 ac_file=''
2433 if test -z "$ac_file"; then :
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2435 $as_echo "no" >&6; }
2436 $as_echo "$as_me: failed program was:" >&5
2437 sed 's/^/| /' conftest.$ac_ext >&5
2439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2441 as_fn_error 77 "C compiler cannot create executables
2442 See \`config.log' for more details" "$LINENO" 5; }
2443 else
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2445 $as_echo "yes" >&6; }
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2448 $as_echo_n "checking for C compiler default output file name... " >&6; }
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2450 $as_echo "$ac_file" >&6; }
2451 ac_exeext=$ac_cv_exeext
2453 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2454 ac_clean_files=$ac_clean_files_save
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2456 $as_echo_n "checking for suffix of executables... " >&6; }
2457 if { { ac_try="$ac_link"
2458 case "(($ac_try" in
2459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2460 *) ac_try_echo=$ac_try;;
2461 esac
2462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2463 $as_echo "$ac_try_echo"; } >&5
2464 (eval "$ac_link") 2>&5
2465 ac_status=$?
2466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2467 test $ac_status = 0; }; then :
2468 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2469 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2470 # work properly (i.e., refer to `conftest.exe'), while it won't with
2471 # `rm'.
2472 for ac_file in conftest.exe conftest conftest.*; do
2473 test -f "$ac_file" || continue
2474 case $ac_file in
2475 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2476 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2477 break;;
2478 * ) break;;
2479 esac
2480 done
2481 else
2482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2484 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2485 See \`config.log' for more details" "$LINENO" 5; }
2487 rm -f conftest conftest$ac_cv_exeext
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2489 $as_echo "$ac_cv_exeext" >&6; }
2491 rm -f conftest.$ac_ext
2492 EXEEXT=$ac_cv_exeext
2493 ac_exeext=$EXEEXT
2494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2495 /* end confdefs.h. */
2496 #include <stdio.h>
2498 main ()
2500 FILE *f = fopen ("conftest.out", "w");
2501 return ferror (f) || fclose (f) != 0;
2504 return 0;
2506 _ACEOF
2507 ac_clean_files="$ac_clean_files conftest.out"
2508 # Check that the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2511 $as_echo_n "checking whether we are cross compiling... " >&6; }
2512 if test "$cross_compiling" != yes; then
2513 { { ac_try="$ac_link"
2514 case "(($ac_try" in
2515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2516 *) ac_try_echo=$ac_try;;
2517 esac
2518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2519 $as_echo "$ac_try_echo"; } >&5
2520 (eval "$ac_link") 2>&5
2521 ac_status=$?
2522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2523 test $ac_status = 0; }
2524 if { ac_try='./conftest$ac_cv_exeext'
2525 { { case "(($ac_try" in
2526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2527 *) ac_try_echo=$ac_try;;
2528 esac
2529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2530 $as_echo "$ac_try_echo"; } >&5
2531 (eval "$ac_try") 2>&5
2532 ac_status=$?
2533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2534 test $ac_status = 0; }; }; then
2535 cross_compiling=no
2536 else
2537 if test "$cross_compiling" = maybe; then
2538 cross_compiling=yes
2539 else
2540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2542 as_fn_error $? "cannot run C compiled programs.
2543 If you meant to cross compile, use \`--host'.
2544 See \`config.log' for more details" "$LINENO" 5; }
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2549 $as_echo "$cross_compiling" >&6; }
2551 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2552 ac_clean_files=$ac_clean_files_save
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2554 $as_echo_n "checking for suffix of object files... " >&6; }
2555 if ${ac_cv_objext+:} false; then :
2556 $as_echo_n "(cached) " >&6
2557 else
2558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2559 /* end confdefs.h. */
2562 main ()
2566 return 0;
2568 _ACEOF
2569 rm -f conftest.o conftest.obj
2570 if { { ac_try="$ac_compile"
2571 case "(($ac_try" in
2572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2573 *) ac_try_echo=$ac_try;;
2574 esac
2575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2576 $as_echo "$ac_try_echo"; } >&5
2577 (eval "$ac_compile") 2>&5
2578 ac_status=$?
2579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2580 test $ac_status = 0; }; then :
2581 for ac_file in conftest.o conftest.obj conftest.*; do
2582 test -f "$ac_file" || continue;
2583 case $ac_file in
2584 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2585 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2586 break;;
2587 esac
2588 done
2589 else
2590 $as_echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.$ac_ext >&5
2593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2595 as_fn_error $? "cannot compute suffix of object files: cannot compile
2596 See \`config.log' for more details" "$LINENO" 5; }
2598 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2601 $as_echo "$ac_cv_objext" >&6; }
2602 OBJEXT=$ac_cv_objext
2603 ac_objext=$OBJEXT
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2605 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2606 if ${ac_cv_c_compiler_gnu+:} false; then :
2607 $as_echo_n "(cached) " >&6
2608 else
2609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2610 /* end confdefs.h. */
2613 main ()
2615 #ifndef __GNUC__
2616 choke me
2617 #endif
2620 return 0;
2622 _ACEOF
2623 if ac_fn_c_try_compile "$LINENO"; then :
2624 ac_compiler_gnu=yes
2625 else
2626 ac_compiler_gnu=no
2628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2629 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2633 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2634 if test $ac_compiler_gnu = yes; then
2635 GCC=yes
2636 else
2637 GCC=
2639 ac_test_CFLAGS=${CFLAGS+set}
2640 ac_save_CFLAGS=$CFLAGS
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2642 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2643 if ${ac_cv_prog_cc_g+:} false; then :
2644 $as_echo_n "(cached) " >&6
2645 else
2646 ac_save_c_werror_flag=$ac_c_werror_flag
2647 ac_c_werror_flag=yes
2648 ac_cv_prog_cc_g=no
2649 CFLAGS="-g"
2650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2651 /* end confdefs.h. */
2654 main ()
2658 return 0;
2660 _ACEOF
2661 if ac_fn_c_try_compile "$LINENO"; then :
2662 ac_cv_prog_cc_g=yes
2663 else
2664 CFLAGS=""
2665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2666 /* end confdefs.h. */
2669 main ()
2673 return 0;
2675 _ACEOF
2676 if ac_fn_c_try_compile "$LINENO"; then :
2678 else
2679 ac_c_werror_flag=$ac_save_c_werror_flag
2680 CFLAGS="-g"
2681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2682 /* end confdefs.h. */
2685 main ()
2689 return 0;
2691 _ACEOF
2692 if ac_fn_c_try_compile "$LINENO"; then :
2693 ac_cv_prog_cc_g=yes
2695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2700 ac_c_werror_flag=$ac_save_c_werror_flag
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2703 $as_echo "$ac_cv_prog_cc_g" >&6; }
2704 if test "$ac_test_CFLAGS" = set; then
2705 CFLAGS=$ac_save_CFLAGS
2706 elif test $ac_cv_prog_cc_g = yes; then
2707 if test "$GCC" = yes; then
2708 CFLAGS="-g -O2"
2709 else
2710 CFLAGS="-g"
2712 else
2713 if test "$GCC" = yes; then
2714 CFLAGS="-O2"
2715 else
2716 CFLAGS=
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2720 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2721 if ${ac_cv_prog_cc_c89+:} false; then :
2722 $as_echo_n "(cached) " >&6
2723 else
2724 ac_cv_prog_cc_c89=no
2725 ac_save_CC=$CC
2726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2727 /* end confdefs.h. */
2728 #include <stdarg.h>
2729 #include <stdio.h>
2730 struct stat;
2731 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2732 struct buf { int x; };
2733 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2734 static char *e (p, i)
2735 char **p;
2736 int i;
2738 return p[i];
2740 static char *f (char * (*g) (char **, int), char **p, ...)
2742 char *s;
2743 va_list v;
2744 va_start (v,p);
2745 s = g (p, va_arg (v,int));
2746 va_end (v);
2747 return s;
2750 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2751 function prototypes and stuff, but not '\xHH' hex character constants.
2752 These don't provoke an error unfortunately, instead are silently treated
2753 as 'x'. The following induces an error, until -std is added to get
2754 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2755 array size at least. It's necessary to write '\x00'==0 to get something
2756 that's true only with -std. */
2757 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2759 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2760 inside strings and character constants. */
2761 #define FOO(x) 'x'
2762 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2764 int test (int i, double x);
2765 struct s1 {int (*f) (int a);};
2766 struct s2 {int (*f) (double a);};
2767 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2768 int argc;
2769 char **argv;
2771 main ()
2773 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2775 return 0;
2777 _ACEOF
2778 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2779 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2781 CC="$ac_save_CC $ac_arg"
2782 if ac_fn_c_try_compile "$LINENO"; then :
2783 ac_cv_prog_cc_c89=$ac_arg
2785 rm -f core conftest.err conftest.$ac_objext
2786 test "x$ac_cv_prog_cc_c89" != "xno" && break
2787 done
2788 rm -f conftest.$ac_ext
2789 CC=$ac_save_CC
2792 # AC_CACHE_VAL
2793 case "x$ac_cv_prog_cc_c89" in
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2796 $as_echo "none needed" >&6; } ;;
2797 xno)
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2799 $as_echo "unsupported" >&6; } ;;
2801 CC="$CC $ac_cv_prog_cc_c89"
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2803 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2804 esac
2805 if test "x$ac_cv_prog_cc_c89" != xno; then :
2809 ac_ext=c
2810 ac_cpp='$CPP $CPPFLAGS'
2811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2817 $as_echo_n "checking target config location... " >&6; }
2819 # Check whether --with-config-dir was given.
2820 if test "${with_config_dir+set}" = set; then :
2821 withval=$with_config_dir; targetcfg_dir="$withval"
2822 else
2823 targetcfg_dir=""
2826 if test "$targetcfg_dir" = ""; then
2827 as_fn_error $? "missing config directory!" "$LINENO" 5
2828 else
2829 aros_targetcfg_dir="$targetcfg_dir"
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2832 $as_echo "$aros_targetcfg_dir" >&6; }
2834 #-----------------------------------------------------------------------------
2836 # Check if the target compiler supports some features:
2837 # C/ObjC
2838 # -fexceptions
2839 # -ffast-math
2840 # -fno-math-errno
2841 # -fno-trapping-math
2842 # -flto
2843 # -fwhole-program
2844 # -floop-block
2845 # -floop-interchange
2846 # -floop-strip-mine
2847 # -fpeel-loops
2848 # -fstrict-aliasing
2849 # -finline-small-functions
2850 # -fipa-cp
2851 # -funroll-loops
2852 # -fomit-frame-pointer
2853 # -fprofile-arcs
2854 # -ftest-coverage
2855 # -finstrument-functions
2856 # -faligned-new
2858 # -fno-builtin
2859 # -fno-builtin-floor
2860 # -fno-builtin-vsnprintf
2862 # -ffreestanding
2863 # -fasynchronous-unwind-tables
2865 # C++/ObjC++
2866 # -fpermissive
2867 # -frtti
2869 # -fvisibility=hidden
2871 # C features first
2872 ac_ext=c
2873 ac_cpp='$CPP $CPPFLAGS'
2874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2879 save_cflags="$CFLAGS"
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2881 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2882 CFLAGS=-fexceptions
2884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2885 /* end confdefs.h. */
2888 main ()
2892 return 0;
2894 _ACEOF
2895 if ac_fn_c_try_compile "$LINENO"; then :
2896 aros_exceptions="yes"
2897 else
2898 aros_exceptions="no"
2900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2902 $as_echo "$aros_exceptions" >&6; }
2903 if test "x-$aros_exceptions" = "x-yes" ; then
2904 aros_cflags_exceptions=-fexceptions
2905 aros_cflags_noexceptions=-fno-exceptions
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2909 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2910 CFLAGS=-ffast-math
2911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2912 /* end confdefs.h. */
2915 main ()
2919 return 0;
2921 _ACEOF
2922 if ac_fn_c_try_compile "$LINENO"; then :
2923 aros_fast_math="yes"
2924 else
2925 aros_fast_math="no"
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2929 $as_echo "$aros_fast_math" >&6; }
2930 if test "x-$aros_fast_math" = "x-yes" ; then
2931 aros_cflags_fast_math=-ffast-math
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-math-errno" >&5
2935 $as_echo_n "checking whether ${CC} accepts -fno-math-errno... " >&6; }
2936 CFLAGS=-fno-math-errno
2937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2938 /* end confdefs.h. */
2941 main ()
2945 return 0;
2947 _ACEOF
2948 if ac_fn_c_try_compile "$LINENO"; then :
2949 aros_no_math_errno="yes"
2950 else
2951 aros_no_math_errno="no"
2953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_math_errno" >&5
2955 $as_echo "$aros_no_math_errno" >&6; }
2956 if test "x-$aros_no_math_errno" = "x-yes" ; then
2957 aros_cflags_no_math_errno=-fno-math-errno
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-trapping-math" >&5
2961 $as_echo_n "checking whether ${CC} accepts -fno-trapping-math... " >&6; }
2962 CFLAGS=-fno-trapping-math
2963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2964 /* end confdefs.h. */
2967 main ()
2971 return 0;
2973 _ACEOF
2974 if ac_fn_c_try_compile "$LINENO"; then :
2975 aros_no_trapping_math="yes"
2976 else
2977 aros_no_trapping_math="no"
2979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_trapping_math" >&5
2981 $as_echo "$aros_no_trapping_math" >&6; }
2982 if test "x-$aros_no_trapping_math" = "x-yes" ; then
2983 aros_cflags_no_trapping_math=-fno-trapping-math
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2987 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2988 CFLAGS=-flto
2989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2990 /* end confdefs.h. */
2993 main ()
2997 return 0;
2999 _ACEOF
3000 if ac_fn_c_try_compile "$LINENO"; then :
3001 aros_lto="yes"
3002 else
3003 aros_lto="no"
3005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
3007 $as_echo "$aros_lto" >&6; }
3008 if test "x-$aros_lto" = "x-yes" ; then
3009 aros_cflags_lto=-flto
3010 aros_cflags_nolto=-fno-lto
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
3013 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
3014 CFLAGS=-fwhole-program
3015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3016 /* end confdefs.h. */
3019 main ()
3023 return 0;
3025 _ACEOF
3026 if ac_fn_c_try_compile "$LINENO"; then :
3027 aros_whole_program="yes"
3028 else
3029 aros_whole_program="no"
3031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
3033 $as_echo "$aros_whole_program" >&6; }
3034 if test "x-$aros_whole_program" = "x-yes" ; then
3035 aros_cflags_whole_program=-fwhole-program
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
3039 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
3040 CFLAGS=-floop-block
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3045 main ()
3049 return 0;
3051 _ACEOF
3052 if ac_fn_c_try_compile "$LINENO"; then :
3053 aros_loop_block="yes"
3054 else
3055 aros_loop_block="no"
3057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
3059 $as_echo "$aros_loop_block" >&6; }
3060 if test "x-$aros_loop_block" = "x-yes" ; then
3061 aros_cflags_loop_block=-floop-block
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
3065 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
3066 CFLAGS=-floop-interchange
3067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3068 /* end confdefs.h. */
3071 main ()
3075 return 0;
3077 _ACEOF
3078 if ac_fn_c_try_compile "$LINENO"; then :
3079 aros_loop_interchange="yes"
3080 else
3081 aros_loop_interchange="no"
3083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
3085 $as_echo "$aros_loop_interchange" >&6; }
3086 if test "x-$aros_loop_interchange" = "x-yes" ; then
3087 aros_cflags_loop_interchange=-floop-interchange
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
3091 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
3092 CFLAGS=-floop-strip-mine
3093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3094 /* end confdefs.h. */
3097 main ()
3101 return 0;
3103 _ACEOF
3104 if ac_fn_c_try_compile "$LINENO"; then :
3105 aros_loop_strip_mine="yes"
3106 else
3107 aros_loop_strip_mine="no"
3109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
3111 $as_echo "$aros_loop_strip_mine" >&6; }
3112 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
3113 aros_cflags_loop_strip_mine=-floop-strip-mine
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
3118 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
3119 CFLAGS=-fpeel-loops
3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3121 /* end confdefs.h. */
3124 main ()
3128 return 0;
3130 _ACEOF
3131 if ac_fn_c_try_compile "$LINENO"; then :
3132 aros_peel_loops="yes"
3133 else
3134 aros_peel_loops="no"
3136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
3138 $as_echo "$aros_peel_loops" >&6; }
3139 if test "x-$aros_peel_loops" = "x-yes" ; then
3140 aros_cflags_peel_loops=-fpeel-loops
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3144 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3145 CFLAGS=-funroll-loops
3146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147 /* end confdefs.h. */
3150 main ()
3154 return 0;
3156 _ACEOF
3157 if ac_fn_c_try_compile "$LINENO"; then :
3158 aros_unroll_loops="yes"
3159 else
3160 aros_unroll_loops="no"
3162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3164 $as_echo "$aros_unroll_loops" >&6; }
3165 if test "x-$aros_unroll_loops" = "x-yes" ; then
3166 aros_cflags_unroll_loops=-funroll-loops
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3170 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3171 CFLAGS=-fstrict-aliasing
3172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3176 main ()
3180 return 0;
3182 _ACEOF
3183 if ac_fn_c_try_compile "$LINENO"; then :
3184 aros_strict_aliasing="yes"
3185 else
3186 aros_strict_aliasing="no"
3188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3190 $as_echo "$aros_strict_aliasing" >&6; }
3191 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3192 aros_cflags_strictaliasing=-fstrict-aliasing
3193 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3197 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3198 CFLAGS=-finline-small-functions
3199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3200 /* end confdefs.h. */
3203 main ()
3207 return 0;
3209 _ACEOF
3210 if ac_fn_c_try_compile "$LINENO"; then :
3211 aros_inline_small_functions="yes"
3212 else
3213 aros_inline_small_functions="no"
3215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3217 $as_echo "$aros_inline_small_functions" >&6; }
3218 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3219 aros_cflags_inlinesmallfunctions=-finline-small-functions
3220 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fipa-cp" >&5
3224 $as_echo_n "checking whether ${CC} accepts -fipa-cp... " >&6; }
3225 CFLAGS=-fipa-cp
3226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h. */
3230 main ()
3234 return 0;
3236 _ACEOF
3237 if ac_fn_c_try_compile "$LINENO"; then :
3238 aros_ipa_cp="yes"
3239 else
3240 aros_ipa_cp="no"
3242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ipa_cp" >&5
3244 $as_echo "$aros_ipa_cp" >&6; }
3245 if test "x-$aros_ipa_cp" = "x-yes" ; then
3246 aros_cflags_ipacp=-fipa-cp
3247 aros_cflags_noipacp=-fno-ipa-cp
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fomit-frame-pointer" >&5
3251 $as_echo_n "checking whether ${CC} accepts -fomit-frame-pointer... " >&6; }
3252 CFLAGS=-fomit-frame-pointer
3253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3254 /* end confdefs.h. */
3257 main ()
3261 return 0;
3263 _ACEOF
3264 if ac_fn_c_try_compile "$LINENO"; then :
3265 aros_omit_frame_pointer="yes"
3266 else
3267 aros_omit_frame_pointer="no"
3269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_omit_frame_pointer" >&5
3271 $as_echo "$aros_omit_frame_pointer" >&6; }
3272 if test "x-$aros_omit_frame_pointer" = "x-yes" ; then
3273 aros_cflags_omitfp=-fomit-frame-pointer
3274 aros_cflags_noomitfp=-fno-omit-frame-pointer
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fprofile-arcs" >&5
3278 $as_echo_n "checking whether ${CC} accepts -fprofile-arcs... " >&6; }
3279 CFLAGS=-fprofile-arcs
3280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h. */
3284 main ()
3288 return 0;
3290 _ACEOF
3291 if ac_fn_c_try_compile "$LINENO"; then :
3292 aros_profile_arcs="yes"
3293 else
3294 aros_profile_arcs="no"
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_profile_arcs" >&5
3298 $as_echo "$aros_profile_arcs" >&6; }
3299 if test "x-$aros_profile_arcs" = "x-yes" ; then
3300 aros_cflags_profilearcs=-fprofile-arcs
3301 aros_cflags_noprofilearcs=-fno-profile-arcs
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ftest-coverage" >&5
3305 $as_echo_n "checking whether ${CC} accepts -ftest-coverage... " >&6; }
3306 CFLAGS=-ftest-coverage
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3311 main ()
3315 return 0;
3317 _ACEOF
3318 if ac_fn_c_try_compile "$LINENO"; then :
3319 aros_test_coverage="yes"
3320 else
3321 aros_test_coverage="no"
3323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_test_coverage" >&5
3325 $as_echo "$aros_test_coverage" >&6; }
3326 if test "x-$aros_test_coverage" = "x-yes" ; then
3327 aros_cflags_testcoverage=-ftest-coverage
3328 aros_cflags_notestcoverage=-fno-test-coverage
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finstrument-functions" >&5
3332 $as_echo_n "checking whether ${CC} accepts -finstrument-functions... " >&6; }
3333 CFLAGS=-finstrument-functions
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3338 main ()
3342 return 0;
3344 _ACEOF
3345 if ac_fn_c_try_compile "$LINENO"; then :
3346 aros_instrument_functions="yes"
3347 else
3348 aros_instrument_functions="no"
3350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_instrument_functions" >&5
3352 $as_echo "$aros_instrument_functions" >&6; }
3353 if test "x-$aros_instrument_functions" = "x-yes" ; then
3354 aros_cflags_instrfuncs=-finstrument-functions
3355 aros_cflags_noinstrfuncs=-fno-instrument-functions
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -faligned-new" >&5
3359 $as_echo_n "checking whether ${CC} accepts -faligned-new... " >&6; }
3360 CFLAGS=-faligned-new
3361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3362 /* end confdefs.h. */
3365 main ()
3369 return 0;
3371 _ACEOF
3372 if ac_fn_c_try_compile "$LINENO"; then :
3373 aros_aligned_new="yes"
3374 else
3375 aros_aligned_new="no"
3377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aligned_new" >&5
3379 $as_echo "$aros_aligned_new" >&6; }
3380 if test "x-$aros_aligned_new" = "x-yes" ; then
3381 aros_cflags_alignednew=-faligned-new
3382 aros_cflags_noalignednew=-fno-aligned-new
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fbuiltin" >&5
3386 $as_echo_n "checking whether ${CC} accepts -fbuiltin... " >&6; }
3387 CFLAGS=-fbuiltin
3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h. */
3392 main ()
3396 return 0;
3398 _ACEOF
3399 if ac_fn_c_try_compile "$LINENO"; then :
3400 aros_builtin="yes"
3401 else
3402 aros_builtin="no"
3404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_builtin" >&5
3406 $as_echo "$aros_builtin" >&6; }
3407 if test "x-$aros_builtin" = "x-yes" ; then
3408 aros_cflags_builtin=-fbuiltin
3409 aros_cflags_no_builtin=-fno-builtin
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
3413 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
3414 CFLAGS=-fno-builtin-floor
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3419 main ()
3423 return 0;
3425 _ACEOF
3426 if ac_fn_c_try_compile "$LINENO"; then :
3427 aros_no_builtin_floor="yes"
3428 else
3429 aros_no_builtin_floor="no"
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
3433 $as_echo "$aros_no_builtin_floor" >&6; }
3434 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
3435 aros_cflags_no_builtin_floor=-fno-builtin-floor
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-vsnprintf" >&5
3439 $as_echo_n "checking whether ${CC} accepts -fno-builtin-vsnprintf... " >&6; }
3440 CFLAGS=-fno-builtin-vsnprintf
3441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3442 /* end confdefs.h. */
3445 main ()
3449 return 0;
3451 _ACEOF
3452 if ac_fn_c_try_compile "$LINENO"; then :
3453 aros_no_builtin_vsnprintf="yes"
3454 else
3455 aros_no_builtin_vsnprintf="no"
3457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_vsnprintf" >&5
3459 $as_echo "$aros_no_builtin_vsnprintf" >&6; }
3460 if test "x-$aros_no_builtin_vsnprintf" = "x-yes" ; then
3461 aros_cflags_no_builtin_vsnprintf=-fno-builtin-vsnprintf
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffreestanding" >&5
3465 $as_echo_n "checking whether ${CC} accepts -ffreestanding... " >&6; }
3466 CFLAGS=-ffreestanding
3467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3468 /* end confdefs.h. */
3471 main ()
3475 return 0;
3477 _ACEOF
3478 if ac_fn_c_try_compile "$LINENO"; then :
3479 aros_freestanding="yes"
3480 else
3481 aros_freestanding="no"
3483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_freestanding" >&5
3485 $as_echo "$aros_freestanding" >&6; }
3486 if test "x-$aros_freestanding" = "x-yes" ; then
3487 aros_cflags_freestanding=-ffreestanding
3488 aros_cflags_no_freestanding=-fno-freestanding
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fasynchronous-unwind-tables" >&5
3492 $as_echo_n "checking whether ${CC} accepts -fasynchronous-unwind-tables... " >&6; }
3493 CFLAGS=-fasynchronous-unwind-tables
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3498 main ()
3502 return 0;
3504 _ACEOF
3505 if ac_fn_c_try_compile "$LINENO"; then :
3506 aros_asynchronous_unwind_tables="yes"
3507 else
3508 aros_asynchronous_unwind_tables="no"
3510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_asynchronous_unwind_tables" >&5
3512 $as_echo "$aros_asynchronous_unwind_tables" >&6; }
3513 if test "x-$aros_asynchronous_unwind_tables" = "x-yes" ; then
3514 aros_cflags_asynchronous_unwind_tables=-fasynchronous-unwind-tables
3515 aros_cflags_no_asynchronous_unwind_tables=-fno-asynchronous-unwind-tables
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fvisibility=hidden" >&5
3519 $as_echo_n "checking whether ${CC} accepts -fvisibility=hidden... " >&6; }
3520 CFLAGS=-fvisibility=hidden
3521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h. */
3525 main ()
3529 return 0;
3531 _ACEOF
3532 if ac_fn_c_try_compile "$LINENO"; then :
3533 aros_visibility_hidden="yes"
3534 else
3535 aros_visibility_hidden="no"
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_visibility_hidden" >&5
3539 $as_echo "$aros_visibility_hidden" >&6; }
3540 if test "x-$aros_visibility_hidden" = "x-yes" ; then
3541 aros_cflags_visibility_hidden=-fvisibility=hidden
3544 # C++ features
3545 ac_ext=cpp
3546 ac_cpp='$CXXCPP $CPPFLAGS'
3547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3551 save_cxxflags="$CXXFLAGS"
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -fpermissive" >&5
3554 $as_echo_n "checking whether ${CXX} accepts -fpermissive... " >&6; }
3555 CXXFLAGS=-fpermissive
3556 ac_ext=cpp
3557 ac_cpp='$CXXCPP $CPPFLAGS'
3558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3561 if test -z "$CXX"; then
3562 if test -n "$CCC"; then
3563 CXX=$CCC
3564 else
3565 if test -n "$ac_tool_prefix"; then
3566 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3568 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3569 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3571 $as_echo_n "checking for $ac_word... " >&6; }
3572 if ${ac_cv_prog_CXX+:} false; then :
3573 $as_echo_n "(cached) " >&6
3574 else
3575 if test -n "$CXX"; then
3576 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3577 else
3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3579 for as_dir in $PATH
3581 IFS=$as_save_IFS
3582 test -z "$as_dir" && as_dir=.
3583 for ac_exec_ext in '' $ac_executable_extensions; do
3584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3585 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3587 break 2
3589 done
3590 done
3591 IFS=$as_save_IFS
3595 CXX=$ac_cv_prog_CXX
3596 if test -n "$CXX"; then
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3598 $as_echo "$CXX" >&6; }
3599 else
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3601 $as_echo "no" >&6; }
3605 test -n "$CXX" && break
3606 done
3608 if test -z "$CXX"; then
3609 ac_ct_CXX=$CXX
3610 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3612 # Extract the first word of "$ac_prog", so it can be a program name with args.
3613 set dummy $ac_prog; ac_word=$2
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3615 $as_echo_n "checking for $ac_word... " >&6; }
3616 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3617 $as_echo_n "(cached) " >&6
3618 else
3619 if test -n "$ac_ct_CXX"; then
3620 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3621 else
3622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3623 for as_dir in $PATH
3625 IFS=$as_save_IFS
3626 test -z "$as_dir" && as_dir=.
3627 for ac_exec_ext in '' $ac_executable_extensions; do
3628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3629 ac_cv_prog_ac_ct_CXX="$ac_prog"
3630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3631 break 2
3633 done
3634 done
3635 IFS=$as_save_IFS
3639 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3640 if test -n "$ac_ct_CXX"; then
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3642 $as_echo "$ac_ct_CXX" >&6; }
3643 else
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3645 $as_echo "no" >&6; }
3649 test -n "$ac_ct_CXX" && break
3650 done
3652 if test "x$ac_ct_CXX" = x; then
3653 CXX="g++"
3654 else
3655 case $cross_compiling:$ac_tool_warned in
3656 yes:)
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3659 ac_tool_warned=yes ;;
3660 esac
3661 CXX=$ac_ct_CXX
3667 # Provide some information about the compiler.
3668 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3669 set X $ac_compile
3670 ac_compiler=$2
3671 for ac_option in --version -v -V -qversion; do
3672 { { ac_try="$ac_compiler $ac_option >&5"
3673 case "(($ac_try" in
3674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3675 *) ac_try_echo=$ac_try;;
3676 esac
3677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3678 $as_echo "$ac_try_echo"; } >&5
3679 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3680 ac_status=$?
3681 if test -s conftest.err; then
3682 sed '10a\
3683 ... rest of stderr output deleted ...
3684 10q' conftest.err >conftest.er1
3685 cat conftest.er1 >&5
3687 rm -f conftest.er1 conftest.err
3688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3689 test $ac_status = 0; }
3690 done
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3693 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3694 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3695 $as_echo_n "(cached) " >&6
3696 else
3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h. */
3701 main ()
3703 #ifndef __GNUC__
3704 choke me
3705 #endif
3708 return 0;
3710 _ACEOF
3711 if ac_fn_cxx_try_compile "$LINENO"; then :
3712 ac_compiler_gnu=yes
3713 else
3714 ac_compiler_gnu=no
3716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3717 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3721 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3722 if test $ac_compiler_gnu = yes; then
3723 GXX=yes
3724 else
3725 GXX=
3727 ac_test_CXXFLAGS=${CXXFLAGS+set}
3728 ac_save_CXXFLAGS=$CXXFLAGS
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3730 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3731 if ${ac_cv_prog_cxx_g+:} false; then :
3732 $as_echo_n "(cached) " >&6
3733 else
3734 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3735 ac_cxx_werror_flag=yes
3736 ac_cv_prog_cxx_g=no
3737 CXXFLAGS="-g"
3738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3742 main ()
3746 return 0;
3748 _ACEOF
3749 if ac_fn_cxx_try_compile "$LINENO"; then :
3750 ac_cv_prog_cxx_g=yes
3751 else
3752 CXXFLAGS=""
3753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3754 /* end confdefs.h. */
3757 main ()
3761 return 0;
3763 _ACEOF
3764 if ac_fn_cxx_try_compile "$LINENO"; then :
3766 else
3767 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3768 CXXFLAGS="-g"
3769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3770 /* end confdefs.h. */
3773 main ()
3777 return 0;
3779 _ACEOF
3780 if ac_fn_cxx_try_compile "$LINENO"; then :
3781 ac_cv_prog_cxx_g=yes
3783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3788 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3791 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3792 if test "$ac_test_CXXFLAGS" = set; then
3793 CXXFLAGS=$ac_save_CXXFLAGS
3794 elif test $ac_cv_prog_cxx_g = yes; then
3795 if test "$GXX" = yes; then
3796 CXXFLAGS="-g -O2"
3797 else
3798 CXXFLAGS="-g"
3800 else
3801 if test "$GXX" = yes; then
3802 CXXFLAGS="-O2"
3803 else
3804 CXXFLAGS=
3807 ac_ext=cpp
3808 ac_cpp='$CXXCPP $CPPFLAGS'
3809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815 /* end confdefs.h. */
3818 main ()
3822 return 0;
3824 _ACEOF
3825 if ac_fn_cxx_try_compile "$LINENO"; then :
3826 aros_permissive="yes"
3827 else
3828 aros_permissive="no"
3830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
3832 $as_echo "$aros_permissive" >&6; }
3833 if test "x-$aros_permissive" = "x-yes" ; then
3834 aros_cxxflags_permissive=-fpermissive
3835 aros_cxxflags_nopermissive=-fno-permissive
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -frtti" >&5
3839 $as_echo_n "checking whether ${CXX} accepts -frtti... " >&6; }
3840 CXXFLAGS=-frtti
3841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3842 /* end confdefs.h. */
3845 main ()
3849 return 0;
3851 _ACEOF
3852 if ac_fn_cxx_try_compile "$LINENO"; then :
3853 aros_rtti="yes"
3854 else
3855 aros_rtti="no"
3857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_rtti" >&5
3859 $as_echo "$aros_rtti" >&6; }
3860 if test "x-$aros_rtti" = "x-yes" ; then
3861 aros_cxxflags_rtti=-frtti
3862 aros_cxxflags_nortti=-fno-rtti
3865 CXXFLAGS="$save_cxxflags"
3868 # Check for additional C compiler options..
3869 ac_ext=c
3870 ac_cpp='$CPP $CPPFLAGS'
3871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3876 #-----------------------------------------------------------------------------
3878 # Check if the target compiler supports some include directory options:
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3881 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3882 CFLAGS="-iquote."
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3887 main ()
3891 return 0;
3893 _ACEOF
3894 if ac_fn_c_try_compile "$LINENO"; then :
3895 has_iquote="yes"
3896 else
3897 has_iquote="no"
3899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3901 $as_echo "$has_iquote" >&6; }
3902 if test "x-$has_iquote" = "x-yes" ; then
3903 aros_cflags_iquote=-iquote
3904 aros_cflags_iquote_end=
3905 else
3906 aros_cflags_iquote=-I
3907 aros_cflags_iquote_end=-I-
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -isystem" >&5
3911 $as_echo_n "checking whether ${CC} accepts -isystem... " >&6; }
3912 CFLAGS="-isystem."
3913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3917 main ()
3921 return 0;
3923 _ACEOF
3924 if ac_fn_c_try_compile "$LINENO"; then :
3925 has_isystem="yes"
3926 else
3927 has_isystem="no"
3929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_isystem" >&5
3931 $as_echo "$has_isystem" >&6; }
3932 if test "x-$has_isystem" = "x-yes" ; then
3933 aros_cflags_isystem=-isystem
3934 aros_cflags_isystem_end=
3935 else
3936 aros_cflags_isystem=-I
3937 aros_cflags_isystem_end=
3940 #-----------------------------------------------------------------------------
3942 # Check if the target compiler supports some ISA options:
3943 # -mno-red-zone
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mred-zone" >&5
3946 $as_echo_n "checking whether ${CC} accepts -mred-zone... " >&6; }
3947 CFLAGS=-mred-zone
3948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3949 /* end confdefs.h. */
3952 main ()
3956 return 0;
3958 _ACEOF
3959 if ac_fn_c_try_compile "$LINENO"; then :
3960 aros_no_red_zone="yes"
3961 else
3962 aros_no_red_zone="no"
3964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3966 $as_echo "$aros_no_red_zone" >&6; }
3967 if test "x-$aros_no_red_zone" = "x-yes" ; then
3968 aros_cflags_red_zone=-mred-zone
3969 aros_cflags_no_red_zone=-mno-red-zone
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mms-bitfields" >&5
3973 $as_echo_n "checking whether ${CC} accepts -mms-bitfields... " >&6; }
3974 CFLAGS=-mms-bitfields
3975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3976 /* end confdefs.h. */
3979 main ()
3983 return 0;
3985 _ACEOF
3986 if ac_fn_c_try_compile "$LINENO"; then :
3987 aros_ms_bitfields="yes"
3988 else
3989 aros_ms_bitfields="no"
3991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ms_bitfields" >&5
3993 $as_echo "$aros_ms_bitfields" >&6; }
3994 if test "x-$aros_ms_bitfields" = "x-yes" ; then
3995 aros_cflags_ms_bitfields=-mms-bitfields
3996 aros_cflags_no_ms_bitfields=-mno-ms-bitfields
3999 CFLAGS="$save_cflags"
4001 #-----------------------------------------------------------------------------
4003 # Check if the target compiler supports some options used for de-linting:
4004 # -Werror
4005 # -Wall
4006 # -Wrestrict
4007 # -Wunused-command-line-argument
4008 # -Wunknown-warning-option
4009 # -Wunused-but-set-variable
4010 # -Wstrict-aliasing
4011 # -Warray-bounds
4012 # -Wenum-compare
4013 # -Wstrict-prototypes
4014 # -Wstrict-overflow
4015 # -Wformat-security
4016 # -Wmisleading-indentation
4017 # -Wnonnull-compare
4018 # -Wunused
4019 # -Wunused-label
4020 # -Wunused-value
4021 # -Wunused-variable
4022 # -Wunused-function
4023 # -Wunused-parameter
4024 # -Wuninitialized
4025 # -Wmaybe-uninitialized
4026 # -Wimplicit-function-declaration
4027 # -Wformat
4028 # -Wparentheses
4029 # -Wchar-subscripts
4030 # -Wendif-labels
4031 # -Wformat-contains-nul
4032 # -Wimplicit-int
4033 # -Waggressive-loop-optimizations
4034 # -Wcpp
4035 # -Wswitch
4036 # -Wdiscarded-qualifiers
4037 # -Wsequence-point
4038 # -Wunknown-pragmas
4039 # -Wdiscarded-array-qualifiers
4040 # -Wint-conversion
4041 # -Wint-to-pointer-cast
4042 # -Wpointer-to-int-cast
4043 # -Wunused-const-variable
4044 # -Wwrite-strings
4045 # -Wcomment
4046 # -Wincompatible-pointer-types
4047 # -Wbool-compare
4048 # -Wlogical-not-parentheses
4049 # -Wpointer-sign
4050 # -Wshift-overflow
4051 # -Wframe-address
4052 # -Wdeprecated-declarations
4053 # -Wsign-compare
4054 # -Wattributes
4055 # -Woverflow
4056 # -Wunused-local-typedefs
4057 # -Wmissing-braces
4058 # -Wconversion-null
4059 # -Wnarrowing
4060 # -Wvolatile-register-var
4061 # -Wsizeof-pointer-memaccess
4062 # -Wreturn-type
4063 # -Wformat-zero-length
4064 # -Wlto-type-mismatch
4065 # -Wtautological-compare
4066 # -Wempty-body
4067 # -Wformat-overflow
4068 # -Wstringop-overflow
4069 # -Wformat-truncation
4070 # -Wstringop-truncation
4071 # -Wshift-negative-value
4072 # -Wmissing-field-initializers
4073 # -Wimplicit-fallthrough
4074 # -Wmissing-prototypes
4075 # -Wclass-memaccess
4076 # -Wint-in-bool-context
4078 # C warnings first
4079 ac_ext=c
4080 ac_cpp='$CPP $CPPFLAGS'
4081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4086 save_cflags="$CFLAGS"
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
4088 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
4089 CFLAGS=-Werror
4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4094 main ()
4098 return 0;
4100 _ACEOF
4101 if ac_fn_c_try_compile "$LINENO"; then :
4102 aros_error="yes"
4103 else
4104 aros_error="no"
4106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
4108 $as_echo "$aros_error" >&6; }
4109 if test "x-$aros_error" = "x-yes" ; then
4110 aros_warnflags_error=-Werror
4111 aros_nowarnflags_error=-Wno-error
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wall" >&5
4115 $as_echo_n "checking whether ${CC} accepts -Wall... " >&6; }
4116 CFLAGS=-Wall
4117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4121 main ()
4125 return 0;
4127 _ACEOF
4128 if ac_fn_c_try_compile "$LINENO"; then :
4129 aros_all="yes"
4130 else
4131 aros_all="no"
4133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_all" >&5
4135 $as_echo "$aros_all" >&6; }
4136 if test "x-$aros_all" = "x-yes" ; then
4137 aros_warnflags_all=-Wall
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wrestrict" >&5
4141 $as_echo_n "checking whether ${CC} accepts -Wrestrict... " >&6; }
4142 CFLAGS=-Wrestrict
4143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4144 /* end confdefs.h. */
4147 main ()
4151 return 0;
4153 _ACEOF
4154 if ac_fn_c_try_compile "$LINENO"; then :
4155 aros_restrict="yes"
4156 else
4157 aros_restrict="no"
4159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_restrict" >&5
4161 $as_echo "$aros_restrict" >&6; }
4162 if test "x-$aros_restrict" = "x-yes" ; then
4163 aros_warnflags_restrict=-Wrestrict
4164 aros_nowarnflags_restrict=-Wno-restrict
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
4168 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
4169 CFLAGS=-Wunused-command-line-argument
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h. */
4174 main ()
4178 return 0;
4180 _ACEOF
4181 if ac_fn_c_try_compile "$LINENO"; then :
4182 aros_unused_command_line_argument="yes"
4183 else
4184 aros_unused_command_line_argument="no"
4186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
4188 $as_echo "$aros_unused_command_line_argument" >&6; }
4189 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
4190 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
4191 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
4195 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
4196 CFLAGS=-Wunknown-warning-option
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4201 main ()
4205 return 0;
4207 _ACEOF
4208 if ac_fn_c_try_compile "$LINENO"; then :
4209 aros_unknown_warning_option="yes"
4210 else
4211 aros_unknown_warning_option="no"
4213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
4215 $as_echo "$aros_unknown_warning_option" >&6; }
4216 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
4217 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
4218 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
4222 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
4223 CFLAGS=-Wunused-but-set-variable
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4228 main ()
4232 return 0;
4234 _ACEOF
4235 if ac_fn_c_try_compile "$LINENO"; then :
4236 aros_unused_but_set_variable="yes"
4237 else
4238 aros_unused_but_set_variable="no"
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
4242 $as_echo "$aros_unused_but_set_variable" >&6; }
4243 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
4244 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
4245 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
4249 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
4250 CFLAGS=-Wstrict-aliasing
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4255 main ()
4259 return 0;
4261 _ACEOF
4262 if ac_fn_c_try_compile "$LINENO"; then :
4263 aros_strict_aliasing="yes"
4264 else
4265 aros_strict_aliasing="no"
4267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
4269 $as_echo "$aros_strict_aliasing" >&6; }
4270 if test "x-$aros_strict_aliasing" = "x-yes" ; then
4271 aros_warnflags_strict_aliasing=-Wstrict-aliasing
4272 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
4276 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
4277 CFLAGS=-Warray-bounds
4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4282 main ()
4286 return 0;
4288 _ACEOF
4289 if ac_fn_c_try_compile "$LINENO"; then :
4290 aros_array_bounds="yes"
4291 else
4292 aros_array_bounds="no"
4294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
4296 $as_echo "$aros_array_bounds" >&6; }
4297 if test "x-$aros_array_bounds" = "x-yes" ; then
4298 aros_warnflags_array_bounds=-Warray-bounds
4299 aros_nowarnflags_array_bounds=-Wno-array-bounds
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
4303 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
4304 CFLAGS=-Wenum-compare
4305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306 /* end confdefs.h. */
4309 main ()
4313 return 0;
4315 _ACEOF
4316 if ac_fn_c_try_compile "$LINENO"; then :
4317 aros_enum_compare="yes"
4318 else
4319 aros_enum_compare="no"
4321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
4323 $as_echo "$aros_enum_compare" >&6; }
4324 if test "x-$aros_enum_compare" = "x-yes" ; then
4325 aros_warnflags_enum_compare=-Wenum-compare
4326 aros_nowarnflags_enum_compare=-Wno-enum-compare
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
4330 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
4331 CFLAGS=-Wstrict-prototypes
4332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4333 /* end confdefs.h. */
4336 main ()
4340 return 0;
4342 _ACEOF
4343 if ac_fn_c_try_compile "$LINENO"; then :
4344 aros_strict_prototypes="yes"
4345 else
4346 aros_strict_prototypes="no"
4348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
4350 $as_echo "$aros_strict_prototypes" >&6; }
4351 if test "x-$aros_strict_prototypes" = "x-yes" ; then
4352 aros_warnflags_strict_prototypes=-Wstrict-prototypes
4353 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
4357 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
4358 CFLAGS=-Wstrict-overflow
4359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4363 main ()
4367 return 0;
4369 _ACEOF
4370 if ac_fn_c_try_compile "$LINENO"; then :
4371 aros_strict_overflow="yes"
4372 else
4373 aros_strict_overflow="no"
4375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
4377 $as_echo "$aros_strict_overflow" >&6; }
4378 if test "x-$aros_strict_overflow" = "x-yes" ; then
4379 aros_warnflags_strict_overflow=-Wstrict-overflow
4380 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
4384 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
4385 CFLAGS=-Wformat-security
4386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4387 /* end confdefs.h. */
4390 main ()
4394 return 0;
4396 _ACEOF
4397 if ac_fn_c_try_compile "$LINENO"; then :
4398 aros_format_security="yes"
4399 else
4400 aros_format_security="no"
4402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
4404 $as_echo "$aros_format_security" >&6; }
4405 if test "x-$aros_format_security" = "x-yes" ; then
4406 aros_warnflags_format_security=-Wformat-security
4407 aros_nowarnflags_format_security=-Wno-format-security
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
4411 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
4412 CFLAGS=-Wmisleading-indentation
4413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4414 /* end confdefs.h. */
4417 main ()
4421 return 0;
4423 _ACEOF
4424 if ac_fn_c_try_compile "$LINENO"; then :
4425 aros_misleading_indentation="yes"
4426 else
4427 aros_misleading_indentation="no"
4429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
4431 $as_echo "$aros_misleading_indentation" >&6; }
4432 if test "x-$aros_misleading_indentation" = "x-yes" ; then
4433 aros_warnflags_misleading_indentation=-Wmisleading-indentation
4434 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
4438 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
4439 CFLAGS=-Wnonnull-compare
4440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4441 /* end confdefs.h. */
4444 main ()
4448 return 0;
4450 _ACEOF
4451 if ac_fn_c_try_compile "$LINENO"; then :
4452 aros_nonnull_compare="yes"
4453 else
4454 aros_nonnull_compare="no"
4456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
4458 $as_echo "$aros_nonnull_compare" >&6; }
4459 if test "x-$aros_nonnull_compare" = "x-yes" ; then
4460 aros_warnflags_nonnull_compare=-Wnonnull-compare
4461 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
4465 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
4466 CFLAGS=-Wunused
4467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4468 /* end confdefs.h. */
4471 main ()
4475 return 0;
4477 _ACEOF
4478 if ac_fn_c_try_compile "$LINENO"; then :
4479 aros_unused="yes"
4480 else
4481 aros_unused="no"
4483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
4485 $as_echo "$aros_unused" >&6; }
4486 if test "x-$aros_unused" = "x-yes" ; then
4487 aros_warnflags_unused=-Wunused
4488 aros_nowarnflags_unused=-Wno-unused
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
4492 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
4493 CFLAGS=-Wunused-label
4494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4495 /* end confdefs.h. */
4498 main ()
4502 return 0;
4504 _ACEOF
4505 if ac_fn_c_try_compile "$LINENO"; then :
4506 aros_unused_label="yes"
4507 else
4508 aros_unused_label="no"
4510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
4512 $as_echo "$aros_unused_label" >&6; }
4513 if test "x-$aros_unused_label" = "x-yes" ; then
4514 aros_warnflags_unused_label=-Wunused-label
4515 aros_nowarnflags_unused_label=-Wno-unused-label
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
4519 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
4520 CFLAGS=-Wunused-value
4521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4522 /* end confdefs.h. */
4525 main ()
4529 return 0;
4531 _ACEOF
4532 if ac_fn_c_try_compile "$LINENO"; then :
4533 aros_unused_value="yes"
4534 else
4535 aros_unused_value="no"
4537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
4539 $as_echo "$aros_unused_value" >&6; }
4540 if test "x-$aros_unused_value" = "x-yes" ; then
4541 aros_warnflags_unused_value=-Wunused-value
4542 aros_nowarnflags_unused_value=-Wno-unused-value
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
4546 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
4547 CFLAGS=-Wunused-variable
4548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4552 main ()
4556 return 0;
4558 _ACEOF
4559 if ac_fn_c_try_compile "$LINENO"; then :
4560 aros_unused_variable="yes"
4561 else
4562 aros_unused_variable="no"
4564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
4566 $as_echo "$aros_unused_variable" >&6; }
4567 if test "x-$aros_unused_variable" = "x-yes" ; then
4568 aros_warnflags_unused_variable=-Wunused-variable
4569 aros_nowarnflags_unused_variable=-Wno-unused-variable
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
4573 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
4574 CFLAGS=-Wunused-function
4575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4576 /* end confdefs.h. */
4579 main ()
4583 return 0;
4585 _ACEOF
4586 if ac_fn_c_try_compile "$LINENO"; then :
4587 aros_unused_function="yes"
4588 else
4589 aros_unused_function="no"
4591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
4593 $as_echo "$aros_unused_function" >&6; }
4594 if test "x-$aros_unused_function" = "x-yes" ; then
4595 aros_warnflags_unused_function=-Wunused-function
4596 aros_nowarnflags_unused_function=-Wno-unused-function
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
4600 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
4601 CFLAGS=-Wunused-parameter
4602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4606 main ()
4610 return 0;
4612 _ACEOF
4613 if ac_fn_c_try_compile "$LINENO"; then :
4614 aros_unused_parameter="yes"
4615 else
4616 aros_unused_parameter="no"
4618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
4620 $as_echo "$aros_unused_parameter" >&6; }
4621 if test "x-$aros_unused_parameter" = "x-yes" ; then
4622 aros_warnflags_unused_parameter=-Wunused-parameter
4623 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
4627 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
4628 CFLAGS=-Wuninitialized
4629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4630 /* end confdefs.h. */
4633 main ()
4637 return 0;
4639 _ACEOF
4640 if ac_fn_c_try_compile "$LINENO"; then :
4641 aros_uninitialized="yes"
4642 else
4643 aros_uninitialized="no"
4645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
4647 $as_echo "$aros_uninitialized" >&6; }
4648 if test "x-$aros_uninitialized" = "x-yes" ; then
4649 aros_warnflags_uninitialized=-Wuninitialized
4650 aros_nowarnflags_uninitialized=-Wno-uninitialized
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
4654 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
4655 CFLAGS=-Wmaybe-uninitialized
4656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4660 main ()
4664 return 0;
4666 _ACEOF
4667 if ac_fn_c_try_compile "$LINENO"; then :
4668 aros_maybe_uninitialized="yes"
4669 else
4670 aros_maybe_uninitialized="no"
4672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
4674 $as_echo "$aros_maybe_uninitialized" >&6; }
4675 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
4676 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
4677 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
4678 else
4679 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
4680 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
4684 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
4685 CFLAGS=-Wimplicit-function-declaration
4686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4687 /* end confdefs.h. */
4690 main ()
4694 return 0;
4696 _ACEOF
4697 if ac_fn_c_try_compile "$LINENO"; then :
4698 aros_implicit_function_declaration="yes"
4699 else
4700 aros_implicit_function_declaration="no"
4702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
4704 $as_echo "$aros_implicit_function_declaration" >&6; }
4705 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
4706 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
4707 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
4711 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
4712 CFLAGS=-Wformat
4713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4714 /* end confdefs.h. */
4717 main ()
4721 return 0;
4723 _ACEOF
4724 if ac_fn_c_try_compile "$LINENO"; then :
4725 aros_format="yes"
4726 else
4727 aros_format="no"
4729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
4731 $as_echo "$aros_format" >&6; }
4732 if test "x-$aros_format" = "x-yes" ; then
4733 aros_warnflags_format=-Wformat
4734 aros_nowarnflags_format=-Wno-format
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
4738 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
4739 CFLAGS=-Wparentheses
4740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4744 main ()
4748 return 0;
4750 _ACEOF
4751 if ac_fn_c_try_compile "$LINENO"; then :
4752 aros_parentheses="yes"
4753 else
4754 aros_parentheses="no"
4756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
4758 $as_echo "$aros_parentheses" >&6; }
4759 if test "x-$aros_parentheses" = "x-yes" ; then
4760 aros_warnflags_parentheses=-Wparentheses
4761 aros_nowarnflags_parentheses=-Wno-parentheses
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
4765 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
4766 CFLAGS=-Wchar-subscripts
4767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4771 main ()
4775 return 0;
4777 _ACEOF
4778 if ac_fn_c_try_compile "$LINENO"; then :
4779 aros_char_subscripts="yes"
4780 else
4781 aros_char_subscripts="no"
4783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
4785 $as_echo "$aros_char_subscripts" >&6; }
4786 if test "x-$aros_char_subscripts" = "x-yes" ; then
4787 aros_warnflags_char_subscripts=-Wchar-subscripts
4788 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
4792 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
4793 CFLAGS=-Wendif-labels
4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4798 main ()
4802 return 0;
4804 _ACEOF
4805 if ac_fn_c_try_compile "$LINENO"; then :
4806 aros_endif_labels="yes"
4807 else
4808 aros_endif_labels="no"
4810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
4812 $as_echo "$aros_endif_labels" >&6; }
4813 if test "x-$aros_endif_labels" = "x-yes" ; then
4814 aros_warnflags_endif_labels=-Wendif-labels
4815 aros_nowarnflags_endif_labels=-Wno-endif-labels
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
4819 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
4820 CFLAGS=-Wformat-contains-nul
4821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4822 /* end confdefs.h. */
4825 main ()
4829 return 0;
4831 _ACEOF
4832 if ac_fn_c_try_compile "$LINENO"; then :
4833 aros_format_contains_nul="yes"
4834 else
4835 aros_format_contains_nul="no"
4837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
4839 $as_echo "$aros_format_contains_nul" >&6; }
4840 if test "x-$aros_format_contains_nul" = "x-yes" ; then
4841 aros_warnflags_format_contains_nul=-Wformat-contains-nul
4842 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
4846 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
4847 CFLAGS=-Wimplicit-int
4848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4849 /* end confdefs.h. */
4852 main ()
4856 return 0;
4858 _ACEOF
4859 if ac_fn_c_try_compile "$LINENO"; then :
4860 aros_implicit_int="yes"
4861 else
4862 aros_implicit_int="no"
4864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
4866 $as_echo "$aros_implicit_int" >&6; }
4867 if test "x-$aros_implicit_int" = "x-yes" ; then
4868 aros_warnflags_implicit_int=-Wimplicit-int
4869 aros_nowarnflags_implicit_int=-Wno-implicit-int
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
4873 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
4874 CFLAGS=-Waggressive-loop-optimizations
4875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4876 /* end confdefs.h. */
4879 main ()
4883 return 0;
4885 _ACEOF
4886 if ac_fn_c_try_compile "$LINENO"; then :
4887 aros_aggressive_loop_optimizations="yes"
4888 else
4889 aros_aggressive_loop_optimizations="no"
4891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
4893 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
4894 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
4895 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
4896 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
4900 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
4901 CFLAGS=-Wcpp
4902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4903 /* end confdefs.h. */
4906 main ()
4910 return 0;
4912 _ACEOF
4913 if ac_fn_c_try_compile "$LINENO"; then :
4914 aros_cpp="yes"
4915 else
4916 aros_cpp="no"
4918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
4920 $as_echo "$aros_cpp" >&6; }
4921 if test "x-$aros_cpp" = "x-yes" ; then
4922 aros_warnflags_cpp=-Wcpp
4923 aros_nowarnflags_cpp=-Wno-cpp
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
4927 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
4928 CFLAGS=-Wswitch
4929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4930 /* end confdefs.h. */
4933 main ()
4937 return 0;
4939 _ACEOF
4940 if ac_fn_c_try_compile "$LINENO"; then :
4941 aros_switch="yes"
4942 else
4943 aros_switch="no"
4945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
4947 $as_echo "$aros_switch" >&6; }
4948 if test "x-$aros_switch" = "x-yes" ; then
4949 aros_warnflags_switch=-Wswitch
4950 aros_nowarnflags_switch=-Wno-switch
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
4954 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
4955 CFLAGS=-Wdiscarded-qualifiers
4956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4960 main ()
4964 return 0;
4966 _ACEOF
4967 if ac_fn_c_try_compile "$LINENO"; then :
4968 aros_discarded_qualifiers="yes"
4969 else
4970 aros_discarded_qualifiers="no"
4972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
4974 $as_echo "$aros_discarded_qualifiers" >&6; }
4975 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
4976 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
4977 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
4981 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
4982 CFLAGS=-Wsequence-point
4983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4984 /* end confdefs.h. */
4987 main ()
4991 return 0;
4993 _ACEOF
4994 if ac_fn_c_try_compile "$LINENO"; then :
4995 aros_sequence_point="yes"
4996 else
4997 aros_sequence_point="no"
4999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
5001 $as_echo "$aros_sequence_point" >&6; }
5002 if test "x-$aros_sequence_point" = "x-yes" ; then
5003 aros_warnflags_sequence_point=-Wsequence-point
5004 aros_nowarnflags_sequence_point=-Wno-sequence-point
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
5008 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
5009 CFLAGS=-Wunknown-pragmas
5010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5011 /* end confdefs.h. */
5014 main ()
5018 return 0;
5020 _ACEOF
5021 if ac_fn_c_try_compile "$LINENO"; then :
5022 aros_unknown_pragmas="yes"
5023 else
5024 aros_unknown_pragmas="no"
5026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
5028 $as_echo "$aros_unknown_pragmas" >&6; }
5029 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
5030 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
5031 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
5035 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
5036 CFLAGS=-Wdiscarded-array-qualifiers
5037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5038 /* end confdefs.h. */
5041 main ()
5045 return 0;
5047 _ACEOF
5048 if ac_fn_c_try_compile "$LINENO"; then :
5049 aros_discarded_array_qualifiers="yes"
5050 else
5051 aros_discarded_array_qualifiers="no"
5053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
5055 $as_echo "$aros_discarded_array_qualifiers" >&6; }
5056 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
5057 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
5058 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
5062 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
5063 CFLAGS=-Wint-conversion
5064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5065 /* end confdefs.h. */
5068 main ()
5072 return 0;
5074 _ACEOF
5075 if ac_fn_c_try_compile "$LINENO"; then :
5076 aros_int_conversion="yes"
5077 else
5078 aros_int_conversion="no"
5080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
5082 $as_echo "$aros_int_conversion" >&6; }
5083 if test "x-$aros_int_conversion" = "x-yes" ; then
5084 aros_warnflags_int_conversion=-Wint-conversion
5085 aros_nowarnflags_int_conversion=-Wno-int-conversion
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
5089 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
5090 CFLAGS=-Wint-to-pointer-cast
5091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5092 /* end confdefs.h. */
5095 main ()
5099 return 0;
5101 _ACEOF
5102 if ac_fn_c_try_compile "$LINENO"; then :
5103 aros_int_to_pointer_cast="yes"
5104 else
5105 aros_int_to_pointer_cast="no"
5107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
5109 $as_echo "$aros_int_to_pointer_cast" >&6; }
5110 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
5111 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
5112 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
5116 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
5117 CFLAGS=-Wpointer-to-int-cast
5118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5119 /* end confdefs.h. */
5122 main ()
5126 return 0;
5128 _ACEOF
5129 if ac_fn_c_try_compile "$LINENO"; then :
5130 aros_pointer_to_int_cast="yes"
5131 else
5132 aros_pointer_to_int_cast="no"
5134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
5136 $as_echo "$aros_pointer_to_int_cast" >&6; }
5137 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
5138 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
5139 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
5143 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
5144 CFLAGS=-Wunused-const-variable
5145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5146 /* end confdefs.h. */
5149 main ()
5153 return 0;
5155 _ACEOF
5156 if ac_fn_c_try_compile "$LINENO"; then :
5157 aros_unused_const_variable="yes"
5158 else
5159 aros_unused_const_variable="no"
5161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
5163 $as_echo "$aros_unused_const_variable" >&6; }
5164 if test "x-$aros_unused_const_variable" = "x-yes" ; then
5165 aros_warnflags_unused_const_variable=-Wunused-const-variable
5166 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
5170 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
5171 CFLAGS=-Wwrite-strings
5172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5173 /* end confdefs.h. */
5176 main ()
5180 return 0;
5182 _ACEOF
5183 if ac_fn_c_try_compile "$LINENO"; then :
5184 aros_write_strings="yes"
5185 else
5186 aros_write_strings="no"
5188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
5190 $as_echo "$aros_write_strings" >&6; }
5191 if test "x-$aros_write_strings" = "x-yes" ; then
5192 aros_warnflags_write_strings=-Wwrite-strings
5193 aros_nowarnflags_write_strings=-Wno-write-strings
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
5197 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
5198 CFLAGS=-Wcomment
5199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5200 /* end confdefs.h. */
5203 main ()
5207 return 0;
5209 _ACEOF
5210 if ac_fn_c_try_compile "$LINENO"; then :
5211 aros_comment="yes"
5212 else
5213 aros_comment="no"
5215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
5217 $as_echo "$aros_comment" >&6; }
5218 if test "x-$aros_comment" = "x-yes" ; then
5219 aros_warnflags_comment=-Wcomment
5220 aros_nowarnflags_comment=-Wno-comment
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
5224 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
5225 CFLAGS=-Wincompatible-pointer-types
5226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5227 /* end confdefs.h. */
5230 main ()
5234 return 0;
5236 _ACEOF
5237 if ac_fn_c_try_compile "$LINENO"; then :
5238 aros_incompatible_pointer_types="yes"
5239 else
5240 aros_incompatible_pointer_types="no"
5242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
5244 $as_echo "$aros_incompatible_pointer_types" >&6; }
5245 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
5246 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
5247 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
5251 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
5252 CFLAGS=-Wbool-compare
5253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5254 /* end confdefs.h. */
5257 main ()
5261 return 0;
5263 _ACEOF
5264 if ac_fn_c_try_compile "$LINENO"; then :
5265 aros_bool_compare="yes"
5266 else
5267 aros_bool_compare="no"
5269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
5271 $as_echo "$aros_bool_compare" >&6; }
5272 if test "x-$aros_bool_compare" = "x-yes" ; then
5273 aros_warnflags_bool_compare=-Wbool-compare
5274 aros_nowarnflags_bool_compare=-Wno-bool-compare
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
5278 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
5279 CFLAGS=-Wlogical-not-parentheses
5280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5281 /* end confdefs.h. */
5284 main ()
5288 return 0;
5290 _ACEOF
5291 if ac_fn_c_try_compile "$LINENO"; then :
5292 aros_logical_not_parentheses="yes"
5293 else
5294 aros_logical_not_parentheses="no"
5296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
5298 $as_echo "$aros_logical_not_parentheses" >&6; }
5299 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
5300 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
5301 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
5305 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
5306 CFLAGS=-Wpointer-sign
5307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5308 /* end confdefs.h. */
5311 main ()
5315 return 0;
5317 _ACEOF
5318 if ac_fn_c_try_compile "$LINENO"; then :
5319 aros_pointer_sign="yes"
5320 else
5321 aros_pointer_sign="no"
5323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
5325 $as_echo "$aros_pointer_sign" >&6; }
5326 if test "x-$aros_pointer_sign" = "x-yes" ; then
5327 aros_warnflags_pointer_sign=-Wpointer-sign
5328 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
5332 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
5333 CFLAGS=-Wshift-overflow
5334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5335 /* end confdefs.h. */
5338 main ()
5342 return 0;
5344 _ACEOF
5345 if ac_fn_c_try_compile "$LINENO"; then :
5346 aros_shift_overflow="yes"
5347 else
5348 aros_shift_overflow="no"
5350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
5352 $as_echo "$aros_shift_overflow" >&6; }
5353 if test "x-$aros_shift_overflow" = "x-yes" ; then
5354 aros_warnflags_shift_overflow=-Wshift-overflow
5355 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
5359 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
5360 CFLAGS=-Wframe-address
5361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5362 /* end confdefs.h. */
5365 main ()
5369 return 0;
5371 _ACEOF
5372 if ac_fn_c_try_compile "$LINENO"; then :
5373 aros_frame_address="yes"
5374 else
5375 aros_frame_address="no"
5377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
5379 $as_echo "$aros_frame_address" >&6; }
5380 if test "x-$aros_frame_address" = "x-yes" ; then
5381 aros_warnflags_frame_address=-Wframe-address
5382 aros_nowarnflags_frame_address=-Wno-frame-address
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
5386 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
5387 CFLAGS=-Wdeprecated-declarations
5388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5389 /* end confdefs.h. */
5392 main ()
5396 return 0;
5398 _ACEOF
5399 if ac_fn_c_try_compile "$LINENO"; then :
5400 aros_deprecated_declarations="yes"
5401 else
5402 aros_deprecated_declarations="no"
5404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
5406 $as_echo "$aros_deprecated_declarations" >&6; }
5407 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
5408 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
5409 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
5413 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
5414 CFLAGS=-Wsign-compare
5415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5416 /* end confdefs.h. */
5419 main ()
5423 return 0;
5425 _ACEOF
5426 if ac_fn_c_try_compile "$LINENO"; then :
5427 aros_sign_compare="yes"
5428 else
5429 aros_sign_compare="no"
5431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
5433 $as_echo "$aros_sign_compare" >&6; }
5434 if test "x-$aros_sign_compare" = "x-yes" ; then
5435 aros_warnflags_sign_compare=-Wsign-compare
5436 aros_nowarnflags_sign_compare=-Wno-sign-compare
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
5440 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
5441 CFLAGS=-Wattributes
5442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5443 /* end confdefs.h. */
5446 main ()
5450 return 0;
5452 _ACEOF
5453 if ac_fn_c_try_compile "$LINENO"; then :
5454 aros_attributes="yes"
5455 else
5456 aros_attributes="no"
5458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
5460 $as_echo "$aros_attributes" >&6; }
5461 if test "x-$aros_attributes" = "x-yes" ; then
5462 aros_warnflags_attributes=-Wattributes
5463 aros_nowarnflags_attributes=-Wno-attributes
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
5467 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
5468 CFLAGS=-Woverflow
5469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5470 /* end confdefs.h. */
5473 main ()
5477 return 0;
5479 _ACEOF
5480 if ac_fn_c_try_compile "$LINENO"; then :
5481 aros_overflow="yes"
5482 else
5483 aros_overflow="no"
5485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
5487 $as_echo "$aros_overflow" >&6; }
5488 if test "x-$aros_overflow" = "x-yes" ; then
5489 aros_warnflags_overflow=-Woverflow
5490 aros_nowarnflags_overflow=-Wno-overflow
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
5494 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
5495 CFLAGS=-Wunused-local-typedefs
5496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5497 /* end confdefs.h. */
5500 main ()
5504 return 0;
5506 _ACEOF
5507 if ac_fn_c_try_compile "$LINENO"; then :
5508 aros_unused_local_typedefs="yes"
5509 else
5510 aros_unused_local_typedefs="no"
5512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
5514 $as_echo "$aros_unused_local_typedefs" >&6; }
5515 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
5516 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
5517 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
5521 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
5522 CFLAGS=-Wmissing-braces
5523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5524 /* end confdefs.h. */
5527 main ()
5531 return 0;
5533 _ACEOF
5534 if ac_fn_c_try_compile "$LINENO"; then :
5535 aros_missing_braces="yes"
5536 else
5537 aros_missing_braces="no"
5539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
5541 $as_echo "$aros_missing_braces" >&6; }
5542 if test "x-$aros_missing_braces" = "x-yes" ; then
5543 aros_warnflags_missing_braces=-Wmissing-braces
5544 aros_nowarnflags_missing_braces=-Wno-missing-braces
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
5548 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
5549 CFLAGS=-Wnarrowing
5550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5551 /* end confdefs.h. */
5554 main ()
5558 return 0;
5560 _ACEOF
5561 if ac_fn_c_try_compile "$LINENO"; then :
5562 aros_narrowing="yes"
5563 else
5564 aros_narrowing="no"
5566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
5568 $as_echo "$aros_narrowing" >&6; }
5569 if test "x-$aros_narrowing" = "x-yes" ; then
5570 aros_warnflags_narrowing=-Wnarrowing
5571 aros_nowarnflags_narrowing=-Wno-narrowing
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
5575 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
5576 CFLAGS=-Wvolatile-register-var
5577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5578 /* end confdefs.h. */
5581 main ()
5585 return 0;
5587 _ACEOF
5588 if ac_fn_c_try_compile "$LINENO"; then :
5589 aros_volatile_register_var="yes"
5590 else
5591 aros_volatile_register_var="no"
5593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
5595 $as_echo "$aros_volatile_register_var" >&6; }
5596 if test "x-$aros_volatile_register_var" = "x-yes" ; then
5597 aros_warnflags_volatile_register_var=-Wvolatile-register-var
5598 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
5602 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
5603 CFLAGS=-Wsizeof-pointer-memaccess
5604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5605 /* end confdefs.h. */
5608 main ()
5612 return 0;
5614 _ACEOF
5615 if ac_fn_c_try_compile "$LINENO"; then :
5616 aros_sizeof_pointer_memaccess="yes"
5617 else
5618 aros_sizeof_pointer_memaccess="no"
5620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
5622 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
5623 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
5624 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
5625 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
5629 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
5630 CFLAGS=-Wreturn-type
5631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5632 /* end confdefs.h. */
5635 main ()
5639 return 0;
5641 _ACEOF
5642 if ac_fn_c_try_compile "$LINENO"; then :
5643 aros_return_type="yes"
5644 else
5645 aros_return_type="no"
5647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
5649 $as_echo "$aros_return_type" >&6; }
5650 if test "x-$aros_return_type" = "x-yes" ; then
5651 aros_warnflags_return_type=-Wreturn-type
5652 aros_nowarnflags_return_type=-Wno-return-type
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
5656 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
5657 CFLAGS=-Wformat-zero-length
5658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5659 /* end confdefs.h. */
5662 main ()
5666 return 0;
5668 _ACEOF
5669 if ac_fn_c_try_compile "$LINENO"; then :
5670 aros_format_zero_length="yes"
5671 else
5672 aros_format_zero_length="no"
5674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
5676 $as_echo "$aros_format_zero_length" >&6; }
5677 if test "x-$aros_format_zero_length" = "x-yes" ; then
5678 aros_warnflags_format_zero_length=-Wformat-zero-length
5679 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
5683 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
5684 CFLAGS=-Wlto-type-mismatch
5685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5686 /* end confdefs.h. */
5689 main ()
5693 return 0;
5695 _ACEOF
5696 if ac_fn_c_try_compile "$LINENO"; then :
5697 aros_lto_type_mismatch="yes"
5698 else
5699 aros_lto_type_mismatch="no"
5701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
5703 $as_echo "$aros_lto_type_mismatch" >&6; }
5704 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
5705 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
5706 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
5710 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
5711 CFLAGS=-Wtautological-compare
5712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5713 /* end confdefs.h. */
5716 main ()
5720 return 0;
5722 _ACEOF
5723 if ac_fn_c_try_compile "$LINENO"; then :
5724 aros_tautological_compare="yes"
5725 else
5726 aros_tautological_compare="no"
5728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
5730 $as_echo "$aros_tautological_compare" >&6; }
5731 if test "x-$aros_tautological_compare" = "x-yes" ; then
5732 aros_warnflags_tautological_compare=-Wtautological-compare
5733 aros_nowarnflags_tautological_compare=-Wno-tautological-compare
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
5737 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
5738 CFLAGS=-Wempty-body
5739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5740 /* end confdefs.h. */
5743 main ()
5747 return 0;
5749 _ACEOF
5750 if ac_fn_c_try_compile "$LINENO"; then :
5751 aros_empty_body="yes"
5752 else
5753 aros_empty_body="no"
5755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
5757 $as_echo "$aros_empty_body" >&6; }
5758 if test "x-$aros_empty_body" = "x-yes" ; then
5759 aros_warnflags_empty_body=-Wempty-body
5760 aros_nowarnflags_empty_body=-Wno-empty-body
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-overflow" >&5
5764 $as_echo_n "checking whether ${CC} accepts -Wformat-overflow... " >&6; }
5765 CFLAGS=-Wformat-overflow
5766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5767 /* end confdefs.h. */
5770 main ()
5774 return 0;
5776 _ACEOF
5777 if ac_fn_c_try_compile "$LINENO"; then :
5778 aros_format_overflow="yes"
5779 else
5780 aros_format_overflow="no"
5782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_overflow" >&5
5784 $as_echo "$aros_format_overflow" >&6; }
5785 if test "x-$aros_format_overflow" = "x-yes" ; then
5786 aros_warnflags_format_overflow=-Wformat-overflow
5787 aros_nowarnflags_format_overflow=-Wno-format-overflow
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-overflow" >&5
5791 $as_echo_n "checking whether ${CC} accepts -Wstringop-overflow... " >&6; }
5792 CFLAGS=-Wstringop-overflow
5793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5794 /* end confdefs.h. */
5797 main ()
5801 return 0;
5803 _ACEOF
5804 if ac_fn_c_try_compile "$LINENO"; then :
5805 aros_stringop_overflow="yes"
5806 else
5807 aros_stringop_overflow="no"
5809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_overflow" >&5
5811 $as_echo "$aros_stringop_overflow" >&6; }
5812 if test "x-$aros_stringop_overflow" = "x-yes" ; then
5813 aros_warnflags_stringop_overflow=-Wstringop-overflow
5814 aros_nowarnflags_stringop_overflow=-Wno-stringop-overflow
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-truncation" >&5
5818 $as_echo_n "checking whether ${CC} accepts -Wformat-truncation... " >&6; }
5819 CFLAGS=-Wformat-truncation
5820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5821 /* end confdefs.h. */
5824 main ()
5828 return 0;
5830 _ACEOF
5831 if ac_fn_c_try_compile "$LINENO"; then :
5832 aros_format_truncation="yes"
5833 else
5834 aros_format_truncation="no"
5836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_truncation" >&5
5838 $as_echo "$aros_format_truncation" >&6; }
5839 if test "x-$aros_format_truncation" = "x-yes" ; then
5840 aros_warnflags_format_truncation=-Wformat-truncation
5841 aros_nowarnflags_format_truncation=-Wno-format-truncation
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-truncation" >&5
5845 $as_echo_n "checking whether ${CC} accepts -Wstringop-truncation... " >&6; }
5846 CFLAGS=-Wstringop-truncation
5847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5848 /* end confdefs.h. */
5851 main ()
5855 return 0;
5857 _ACEOF
5858 if ac_fn_c_try_compile "$LINENO"; then :
5859 aros_stringop_truncation="yes"
5860 else
5861 aros_stringop_truncation="no"
5863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_truncation" >&5
5865 $as_echo "$aros_stringop_truncation" >&6; }
5866 if test "x-$aros_stringop_truncation" = "x-yes" ; then
5867 aros_warnflags_stringop_truncation=-Wstringop-truncation
5868 aros_nowarnflags_stringop_truncation=-Wno-stringop-truncation
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-negative-value" >&5
5872 $as_echo_n "checking whether ${CC} accepts -Wshift-negative-value... " >&6; }
5873 CFLAGS=-Wshift-negative-value
5874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5875 /* end confdefs.h. */
5878 main ()
5882 return 0;
5884 _ACEOF
5885 if ac_fn_c_try_compile "$LINENO"; then :
5886 aros_shift_negative_value="yes"
5887 else
5888 aros_shift_negative_value="no"
5890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_negative_value" >&5
5892 $as_echo "$aros_shift_negative_value" >&6; }
5893 if test "x-$aros_shift_negative_value" = "x-yes" ; then
5894 aros_warnflags_shift_negative_value=-Wshift-negative-value
5895 aros_nowarnflags_shift_negative_value=-Wno-shift-negative-value
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-field-initializers" >&5
5899 $as_echo_n "checking whether ${CC} accepts -Wmissing-field-initializers... " >&6; }
5900 CFLAGS=-Wmissing-field-initializers
5901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5902 /* end confdefs.h. */
5905 main ()
5909 return 0;
5911 _ACEOF
5912 if ac_fn_c_try_compile "$LINENO"; then :
5913 aros_missing_field_initializers="yes"
5914 else
5915 aros_missing_field_initializers="no"
5917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_field_initializers" >&5
5919 $as_echo "$aros_missing_field_initializers" >&6; }
5920 if test "x-$aros_missing_field_initializers" = "x-yes" ; then
5921 aros_warnflags_missing_field_initializers=-Wmissing-field-initializers
5922 aros_nowarnflags_missing_field_initializers=-Wno-missing-field-initializers
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-fallthrough" >&5
5926 $as_echo_n "checking whether ${CC} accepts -Wimplicit-fallthrough... " >&6; }
5927 CFLAGS=-Wimplicit-fallthrough
5928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5929 /* end confdefs.h. */
5932 main ()
5936 return 0;
5938 _ACEOF
5939 if ac_fn_c_try_compile "$LINENO"; then :
5940 aros_implicit_fallthrough="yes"
5941 else
5942 aros_implicit_fallthrough="no"
5944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_fallthrough" >&5
5946 $as_echo "$aros_implicit_fallthrough" >&6; }
5947 if test "x-$aros_implicit_fallthrough" = "x-yes" ; then
5948 aros_warnflags_implicit_fallthrough=-Wimplicit-fallthrough
5949 aros_nowarnflags_implicit_fallthrough=-Wno-implicit-fallthrough
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-prototypes" >&5
5953 $as_echo_n "checking whether ${CC} accepts -Wmissing-prototypes... " >&6; }
5954 CFLAGS=-Wmissing-prototypes
5955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5956 /* end confdefs.h. */
5959 main ()
5963 return 0;
5965 _ACEOF
5966 if ac_fn_c_try_compile "$LINENO"; then :
5967 aros_missing_prototypes="yes"
5968 else
5969 aros_missing_prototypes="no"
5971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_prototypes" >&5
5973 $as_echo "$aros_missing_prototypes" >&6; }
5974 if test "x-$aros_missing_prototypes" = "x-yes" ; then
5975 aros_warnflags_missing_prototypes=-Wmissing-prototypes
5976 aros_nowarnflags_missing_prototypes=-Wno-missing-prototypes
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wclass-memaccess" >&5
5980 $as_echo_n "checking whether ${CC} accepts -Wclass-memaccess... " >&6; }
5981 CFLAGS=-Wclass-memaccess
5982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5983 /* end confdefs.h. */
5986 main ()
5990 return 0;
5992 _ACEOF
5993 if ac_fn_c_try_compile "$LINENO"; then :
5994 aros_class_memaccess="yes"
5995 else
5996 aros_class_memaccess="no"
5998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_class_memaccess" >&5
6000 $as_echo "$aros_class_memaccess" >&6; }
6001 if test "x-$aros_class_memaccess" = "x-yes" ; then
6002 aros_warnflags_class_memaccess=-Wclass-memaccess
6003 aros_nowarnflags_class_memaccess=-Wno-class-memaccess
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-in-bool-context" >&5
6007 $as_echo_n "checking whether ${CC} accepts -Wint-in-bool-context... " >&6; }
6008 CFLAGS=-Wint-in-bool-context
6009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6010 /* end confdefs.h. */
6013 main ()
6017 return 0;
6019 _ACEOF
6020 if ac_fn_c_try_compile "$LINENO"; then :
6021 aros_int_in_bool_context="yes"
6022 else
6023 aros_int_in_bool_context="no"
6025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_in_bool_context" >&5
6027 $as_echo "$aros_int_in_bool_context" >&6; }
6028 if test "x-$aros_int_in_bool_context" = "x-yes" ; then
6029 aros_warnflags_int_in_bool_context=-Wint-in-bool-context
6030 aros_nowarnflags_int_in_bool_context=-Wno-int-in-bool-context
6032 CFLAGS="$save_cflags"
6034 # Check the C++ warnings
6035 ac_ext=cpp
6036 ac_cpp='$CXXCPP $CPPFLAGS'
6037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6041 save_cxxflags="$CXXFLAGS"
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -Wconversion-null" >&5
6044 $as_echo_n "checking whether ${CXX} accepts -Wconversion-null... " >&6; }
6045 CXXFLAGS=-Wconversion-null
6046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6047 /* end confdefs.h. */
6050 main ()
6054 return 0;
6056 _ACEOF
6057 if ac_fn_cxx_try_compile "$LINENO"; then :
6058 aros_conversion_null="yes"
6059 else
6060 aros_conversion_null="no"
6062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
6064 $as_echo "$aros_conversion_null" >&6; }
6065 if test "x-$aros_conversion_null" = "x-yes" ; then
6066 aros_warnflags_conversion_null=-Wconversion-null
6067 aros_nowarnflags_conversion_null=-Wno-conversion-null
6070 CXXFLAGS="$save_cxxflags"
6072 ac_ext=c
6073 ac_cpp='$CPP $CPPFLAGS'
6074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6079 #########################################################
6081 # Now check what we need to use with the toolchain
6083 cat >$AROS_DEVELOPER/include/__testsincdir.h <<_ACEOF
6084 /* Copyright (c) The AROS Dev Team */
6085 #define _TESTINCFOUND
6086 _ACEOF
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to use --sysroot" >&5
6089 $as_echo_n "checking if we need to use --sysroot... " >&6; }
6090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6091 /* end confdefs.h. */
6093 #include <__testsincdir.h>
6094 #ifndef _TESTINCFOUND
6095 error: Couldnt find include!
6096 #endif
6099 main ()
6103 return 0;
6105 _ACEOF
6106 if ac_fn_c_try_compile "$LINENO"; then :
6107 toolchain_needs_sysroot=no
6108 else
6109 toolchain_needs_sysroot=yes
6111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolchain_needs_sysroot" >&5
6113 $as_echo "$toolchain_needs_sysroot" >&6; }
6115 if test "$toolchain_needs_sysroot" = "yes" ; then
6116 aros_toolchain_sysroot="--sysroot $""(AROS_DEVELOPER)"
6119 #AC_MSG_CHECKING([if we need to use --isysroot])
6120 #AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
6121 # [[
6122 # (#include <__testsincdir.h>
6123 # #ifndef _TESTINCFOUND
6124 # error: Couldnt find include!
6125 # #endif
6126 # ]])],
6127 # [toolchain_needs_isysroot=no],
6128 # [toolchain_needs_isysroot=yes])
6129 #AC_MSG_RESULT($toolchain_needs_isysroot)
6131 #if test "$toolchain_needs_isysroot" = "yes" ; then
6132 # aros_toolchain_isysroot="-isysroot $""(AROS_SDK)"
6133 # aros_toolchain_iarchdir="-I $""(AROS_SDK)/$""(AROS_TARGET_CPU)-aros/include"
6135 rm -f $AROS_DEVELOPER/include/__testsincdir.h
6138 # export the feature flags...
6202 # export the feature options...
6210 # ...and warning flags...
6358 # Additional toolchain support ...
6361 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
6364 cat >confcache <<\_ACEOF
6365 # This file is a shell script that caches the results of configure
6366 # tests run on this system so they can be shared between configure
6367 # scripts and configure runs, see configure's option --config-cache.
6368 # It is not useful on other systems. If it contains results you don't
6369 # want to keep, you may remove or edit it.
6371 # config.status only pays attention to the cache file if you give it
6372 # the --recheck option to rerun configure.
6374 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6375 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6376 # following values.
6378 _ACEOF
6380 # The following way of writing the cache mishandles newlines in values,
6381 # but we know of no workaround that is simple, portable, and efficient.
6382 # So, we kill variables containing newlines.
6383 # Ultrix sh set writes to stderr and can't be redirected directly,
6384 # and sets the high bit in the cache file unless we assign to the vars.
6386 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6387 eval ac_val=\$$ac_var
6388 case $ac_val in #(
6389 *${as_nl}*)
6390 case $ac_var in #(
6391 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6392 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6393 esac
6394 case $ac_var in #(
6395 _ | IFS | as_nl) ;; #(
6396 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6397 *) { eval $ac_var=; unset $ac_var;} ;;
6398 esac ;;
6399 esac
6400 done
6402 (set) 2>&1 |
6403 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6404 *${as_nl}ac_space=\ *)
6405 # `set' does not quote correctly, so add quotes: double-quote
6406 # substitution turns \\\\ into \\, and sed turns \\ into \.
6407 sed -n \
6408 "s/'/'\\\\''/g;
6409 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6410 ;; #(
6412 # `set' quotes correctly as required by POSIX, so do not add quotes.
6413 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6415 esac |
6416 sort
6418 sed '
6419 /^ac_cv_env_/b end
6420 t clear
6421 :clear
6422 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6423 t end
6424 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6425 :end' >>confcache
6426 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6427 if test -w "$cache_file"; then
6428 if test "x$cache_file" != "x/dev/null"; then
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6430 $as_echo "$as_me: updating cache $cache_file" >&6;}
6431 if test ! -f "$cache_file" || test -h "$cache_file"; then
6432 cat confcache >"$cache_file"
6433 else
6434 case $cache_file in #(
6435 */* | ?:*)
6436 mv -f confcache "$cache_file"$$ &&
6437 mv -f "$cache_file"$$ "$cache_file" ;; #(
6439 mv -f confcache "$cache_file" ;;
6440 esac
6443 else
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6445 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6448 rm -f confcache
6450 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6451 # Let make expand exec_prefix.
6452 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6454 # Transform confdefs.h into DEFS.
6455 # Protect against shell expansion while executing Makefile rules.
6456 # Protect against Makefile macro expansion.
6458 # If the first sed substitution is executed (which looks for macros that
6459 # take arguments), then branch to the quote section. Otherwise,
6460 # look for a macro that doesn't take arguments.
6461 ac_script='
6462 :mline
6463 /\\$/{
6465 s,\\\n,,
6466 b mline
6468 t clear
6469 :clear
6470 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6471 t quote
6472 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6473 t quote
6474 b any
6475 :quote
6476 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6477 s/\[/\\&/g
6478 s/\]/\\&/g
6479 s/\$/$$/g
6481 :any
6484 s/^\n//
6485 s/\n/ /g
6489 DEFS=`sed -n "$ac_script" confdefs.h`
6492 ac_libobjs=
6493 ac_ltlibobjs=
6495 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6496 # 1. Remove the extension, and $U if already installed.
6497 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6498 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6499 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6500 # will be set to the directory where LIBOBJS objects are built.
6501 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6502 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6503 done
6504 LIBOBJS=$ac_libobjs
6506 LTLIBOBJS=$ac_ltlibobjs
6510 : "${CONFIG_STATUS=./config.status}"
6511 ac_write_fail=0
6512 ac_clean_files_save=$ac_clean_files
6513 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6515 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6516 as_write_fail=0
6517 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6518 #! $SHELL
6519 # Generated by $as_me.
6520 # Run this file to recreate the current configuration.
6521 # Compiler output produced by configure, useful for debugging
6522 # configure, is in config.log if it exists.
6524 debug=false
6525 ac_cs_recheck=false
6526 ac_cs_silent=false
6528 SHELL=\${CONFIG_SHELL-$SHELL}
6529 export SHELL
6530 _ASEOF
6531 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6532 ## -------------------- ##
6533 ## M4sh Initialization. ##
6534 ## -------------------- ##
6536 # Be more Bourne compatible
6537 DUALCASE=1; export DUALCASE # for MKS sh
6538 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6539 emulate sh
6540 NULLCMD=:
6541 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6542 # is contrary to our usage. Disable this feature.
6543 alias -g '${1+"$@"}'='"$@"'
6544 setopt NO_GLOB_SUBST
6545 else
6546 case `(set -o) 2>/dev/null` in #(
6547 *posix*) :
6548 set -o posix ;; #(
6549 *) :
6551 esac
6555 as_nl='
6557 export as_nl
6558 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6559 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6560 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6561 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6562 # Prefer a ksh shell builtin over an external printf program on Solaris,
6563 # but without wasting forks for bash or zsh.
6564 if test -z "$BASH_VERSION$ZSH_VERSION" \
6565 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6566 as_echo='print -r --'
6567 as_echo_n='print -rn --'
6568 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6569 as_echo='printf %s\n'
6570 as_echo_n='printf %s'
6571 else
6572 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6573 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6574 as_echo_n='/usr/ucb/echo -n'
6575 else
6576 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6577 as_echo_n_body='eval
6578 arg=$1;
6579 case $arg in #(
6580 *"$as_nl"*)
6581 expr "X$arg" : "X\\(.*\\)$as_nl";
6582 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6583 esac;
6584 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6586 export as_echo_n_body
6587 as_echo_n='sh -c $as_echo_n_body as_echo'
6589 export as_echo_body
6590 as_echo='sh -c $as_echo_body as_echo'
6593 # The user is always right.
6594 if test "${PATH_SEPARATOR+set}" != set; then
6595 PATH_SEPARATOR=:
6596 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6597 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6598 PATH_SEPARATOR=';'
6603 # IFS
6604 # We need space, tab and new line, in precisely that order. Quoting is
6605 # there to prevent editors from complaining about space-tab.
6606 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6607 # splitting by setting IFS to empty value.)
6608 IFS=" "" $as_nl"
6610 # Find who we are. Look in the path if we contain no directory separator.
6611 as_myself=
6612 case $0 in #((
6613 *[\\/]* ) as_myself=$0 ;;
6614 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6615 for as_dir in $PATH
6617 IFS=$as_save_IFS
6618 test -z "$as_dir" && as_dir=.
6619 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6620 done
6621 IFS=$as_save_IFS
6624 esac
6625 # We did not find ourselves, most probably we were run as `sh COMMAND'
6626 # in which case we are not to be found in the path.
6627 if test "x$as_myself" = x; then
6628 as_myself=$0
6630 if test ! -f "$as_myself"; then
6631 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6632 exit 1
6635 # Unset variables that we do not need and which cause bugs (e.g. in
6636 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6637 # suppresses any "Segmentation fault" message there. '((' could
6638 # trigger a bug in pdksh 5.2.14.
6639 for as_var in BASH_ENV ENV MAIL MAILPATH
6640 do eval test x\${$as_var+set} = xset \
6641 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6642 done
6643 PS1='$ '
6644 PS2='> '
6645 PS4='+ '
6647 # NLS nuisances.
6648 LC_ALL=C
6649 export LC_ALL
6650 LANGUAGE=C
6651 export LANGUAGE
6653 # CDPATH.
6654 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6657 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6658 # ----------------------------------------
6659 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6660 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6661 # script with STATUS, using 1 if that was 0.
6662 as_fn_error ()
6664 as_status=$1; test $as_status -eq 0 && as_status=1
6665 if test "$4"; then
6666 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6667 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6669 $as_echo "$as_me: error: $2" >&2
6670 as_fn_exit $as_status
6671 } # as_fn_error
6674 # as_fn_set_status STATUS
6675 # -----------------------
6676 # Set $? to STATUS, without forking.
6677 as_fn_set_status ()
6679 return $1
6680 } # as_fn_set_status
6682 # as_fn_exit STATUS
6683 # -----------------
6684 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6685 as_fn_exit ()
6687 set +e
6688 as_fn_set_status $1
6689 exit $1
6690 } # as_fn_exit
6692 # as_fn_unset VAR
6693 # ---------------
6694 # Portably unset VAR.
6695 as_fn_unset ()
6697 { eval $1=; unset $1;}
6699 as_unset=as_fn_unset
6700 # as_fn_append VAR VALUE
6701 # ----------------------
6702 # Append the text in VALUE to the end of the definition contained in VAR. Take
6703 # advantage of any shell optimizations that allow amortized linear growth over
6704 # repeated appends, instead of the typical quadratic growth present in naive
6705 # implementations.
6706 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6707 eval 'as_fn_append ()
6709 eval $1+=\$2
6711 else
6712 as_fn_append ()
6714 eval $1=\$$1\$2
6716 fi # as_fn_append
6718 # as_fn_arith ARG...
6719 # ------------------
6720 # Perform arithmetic evaluation on the ARGs, and store the result in the
6721 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6722 # must be portable across $(()) and expr.
6723 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6724 eval 'as_fn_arith ()
6726 as_val=$(( $* ))
6728 else
6729 as_fn_arith ()
6731 as_val=`expr "$@" || test $? -eq 1`
6733 fi # as_fn_arith
6736 if expr a : '\(a\)' >/dev/null 2>&1 &&
6737 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6738 as_expr=expr
6739 else
6740 as_expr=false
6743 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6744 as_basename=basename
6745 else
6746 as_basename=false
6749 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6750 as_dirname=dirname
6751 else
6752 as_dirname=false
6755 as_me=`$as_basename -- "$0" ||
6756 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6757 X"$0" : 'X\(//\)$' \| \
6758 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6759 $as_echo X/"$0" |
6760 sed '/^.*\/\([^/][^/]*\)\/*$/{
6761 s//\1/
6764 /^X\/\(\/\/\)$/{
6765 s//\1/
6768 /^X\/\(\/\).*/{
6769 s//\1/
6772 s/.*/./; q'`
6774 # Avoid depending upon Character Ranges.
6775 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6776 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6777 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6778 as_cr_digits='0123456789'
6779 as_cr_alnum=$as_cr_Letters$as_cr_digits
6781 ECHO_C= ECHO_N= ECHO_T=
6782 case `echo -n x` in #(((((
6783 -n*)
6784 case `echo 'xy\c'` in
6785 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6786 xy) ECHO_C='\c';;
6787 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6788 ECHO_T=' ';;
6789 esac;;
6791 ECHO_N='-n';;
6792 esac
6794 rm -f conf$$ conf$$.exe conf$$.file
6795 if test -d conf$$.dir; then
6796 rm -f conf$$.dir/conf$$.file
6797 else
6798 rm -f conf$$.dir
6799 mkdir conf$$.dir 2>/dev/null
6801 if (echo >conf$$.file) 2>/dev/null; then
6802 if ln -s conf$$.file conf$$ 2>/dev/null; then
6803 as_ln_s='ln -s'
6804 # ... but there are two gotchas:
6805 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6806 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6807 # In both cases, we have to default to `cp -pR'.
6808 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6809 as_ln_s='cp -pR'
6810 elif ln conf$$.file conf$$ 2>/dev/null; then
6811 as_ln_s=ln
6812 else
6813 as_ln_s='cp -pR'
6815 else
6816 as_ln_s='cp -pR'
6818 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6819 rmdir conf$$.dir 2>/dev/null
6822 # as_fn_mkdir_p
6823 # -------------
6824 # Create "$as_dir" as a directory, including parents if necessary.
6825 as_fn_mkdir_p ()
6828 case $as_dir in #(
6829 -*) as_dir=./$as_dir;;
6830 esac
6831 test -d "$as_dir" || eval $as_mkdir_p || {
6832 as_dirs=
6833 while :; do
6834 case $as_dir in #(
6835 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6836 *) as_qdir=$as_dir;;
6837 esac
6838 as_dirs="'$as_qdir' $as_dirs"
6839 as_dir=`$as_dirname -- "$as_dir" ||
6840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6841 X"$as_dir" : 'X\(//\)[^/]' \| \
6842 X"$as_dir" : 'X\(//\)$' \| \
6843 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6844 $as_echo X"$as_dir" |
6845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6846 s//\1/
6849 /^X\(\/\/\)[^/].*/{
6850 s//\1/
6853 /^X\(\/\/\)$/{
6854 s//\1/
6857 /^X\(\/\).*/{
6858 s//\1/
6861 s/.*/./; q'`
6862 test -d "$as_dir" && break
6863 done
6864 test -z "$as_dirs" || eval "mkdir $as_dirs"
6865 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6868 } # as_fn_mkdir_p
6869 if mkdir -p . 2>/dev/null; then
6870 as_mkdir_p='mkdir -p "$as_dir"'
6871 else
6872 test -d ./-p && rmdir ./-p
6873 as_mkdir_p=false
6877 # as_fn_executable_p FILE
6878 # -----------------------
6879 # Test if FILE is an executable regular file.
6880 as_fn_executable_p ()
6882 test -f "$1" && test -x "$1"
6883 } # as_fn_executable_p
6884 as_test_x='test -x'
6885 as_executable_p=as_fn_executable_p
6887 # Sed expression to map a string onto a valid CPP name.
6888 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6890 # Sed expression to map a string onto a valid variable name.
6891 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6894 exec 6>&1
6895 ## ----------------------------------- ##
6896 ## Main body of $CONFIG_STATUS script. ##
6897 ## ----------------------------------- ##
6898 _ASEOF
6899 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6902 # Save the log message, to keep $0 and so on meaningful, and to
6903 # report actual input values of CONFIG_FILES etc. instead of their
6904 # values after options handling.
6905 ac_log="
6906 This file was extended by $as_me, which was
6907 generated by GNU Autoconf 2.69. Invocation command line was
6909 CONFIG_FILES = $CONFIG_FILES
6910 CONFIG_HEADERS = $CONFIG_HEADERS
6911 CONFIG_LINKS = $CONFIG_LINKS
6912 CONFIG_COMMANDS = $CONFIG_COMMANDS
6913 $ $0 $@
6915 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6918 _ACEOF
6920 case $ac_config_files in *"
6921 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6922 esac
6926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6927 # Files that config.status was made for.
6928 config_files="$ac_config_files"
6930 _ACEOF
6932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6933 ac_cs_usage="\
6934 \`$as_me' instantiates files and other configuration actions
6935 from templates according to the current configuration. Unless the files
6936 and actions are specified as TAGs, all are instantiated by default.
6938 Usage: $0 [OPTION]... [TAG]...
6940 -h, --help print this help, then exit
6941 -V, --version print version number and configuration settings, then exit
6942 --config print configuration, then exit
6943 -q, --quiet, --silent
6944 do not print progress messages
6945 -d, --debug don't remove temporary files
6946 --recheck update $as_me by reconfiguring in the same conditions
6947 --file=FILE[:TEMPLATE]
6948 instantiate the configuration file FILE
6950 Configuration files:
6951 $config_files
6953 Report bugs to the package provider."
6955 _ACEOF
6956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6957 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6958 ac_cs_version="\\
6959 config.status
6960 configured by $0, generated by GNU Autoconf 2.69,
6961 with options \\"\$ac_cs_config\\"
6963 Copyright (C) 2012 Free Software Foundation, Inc.
6964 This config.status script is free software; the Free Software Foundation
6965 gives unlimited permission to copy, distribute and modify it."
6967 ac_pwd='$ac_pwd'
6968 srcdir='$srcdir'
6969 test -n "\$AWK" || AWK=awk
6970 _ACEOF
6972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6973 # The default lists apply if the user does not specify any file.
6974 ac_need_defaults=:
6975 while test $# != 0
6977 case $1 in
6978 --*=?*)
6979 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6980 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6981 ac_shift=:
6983 --*=)
6984 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6985 ac_optarg=
6986 ac_shift=:
6989 ac_option=$1
6990 ac_optarg=$2
6991 ac_shift=shift
6993 esac
6995 case $ac_option in
6996 # Handling of the options.
6997 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6998 ac_cs_recheck=: ;;
6999 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7000 $as_echo "$ac_cs_version"; exit ;;
7001 --config | --confi | --conf | --con | --co | --c )
7002 $as_echo "$ac_cs_config"; exit ;;
7003 --debug | --debu | --deb | --de | --d | -d )
7004 debug=: ;;
7005 --file | --fil | --fi | --f )
7006 $ac_shift
7007 case $ac_optarg in
7008 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7009 '') as_fn_error $? "missing file argument" ;;
7010 esac
7011 as_fn_append CONFIG_FILES " '$ac_optarg'"
7012 ac_need_defaults=false;;
7013 --he | --h | --help | --hel | -h )
7014 $as_echo "$ac_cs_usage"; exit ;;
7015 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7016 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7017 ac_cs_silent=: ;;
7019 # This is an error.
7020 -*) as_fn_error $? "unrecognized option: \`$1'
7021 Try \`$0 --help' for more information." ;;
7023 *) as_fn_append ac_config_targets " $1"
7024 ac_need_defaults=false ;;
7026 esac
7027 shift
7028 done
7030 ac_configure_extra_args=
7032 if $ac_cs_silent; then
7033 exec 6>/dev/null
7034 ac_configure_extra_args="$ac_configure_extra_args --silent"
7037 _ACEOF
7038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7039 if \$ac_cs_recheck; then
7040 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7041 shift
7042 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7043 CONFIG_SHELL='$SHELL'
7044 export CONFIG_SHELL
7045 exec "\$@"
7048 _ACEOF
7049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7050 exec 5>>config.log
7052 echo
7053 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7054 ## Running $as_me. ##
7055 _ASBOX
7056 $as_echo "$ac_log"
7057 } >&5
7059 _ACEOF
7060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7061 _ACEOF
7063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7065 # Handling of arguments.
7066 for ac_config_target in $ac_config_targets
7068 case $ac_config_target in
7069 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
7071 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7072 esac
7073 done
7076 # If the user did not use the arguments to specify the items to instantiate,
7077 # then the envvar interface is used. Set only those that are not.
7078 # We use the long form for the default assignment because of an extremely
7079 # bizarre bug on SunOS 4.1.3.
7080 if $ac_need_defaults; then
7081 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7084 # Have a temporary directory for convenience. Make it in the build tree
7085 # simply because there is no reason against having it here, and in addition,
7086 # creating and moving files from /tmp can sometimes cause problems.
7087 # Hook for its removal unless debugging.
7088 # Note that there is a small window in which the directory will not be cleaned:
7089 # after its creation but before its name has been assigned to `$tmp'.
7090 $debug ||
7092 tmp= ac_tmp=
7093 trap 'exit_status=$?
7094 : "${ac_tmp:=$tmp}"
7095 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7097 trap 'as_fn_exit 1' 1 2 13 15
7099 # Create a (secure) tmp directory for tmp files.
7102 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7103 test -d "$tmp"
7104 } ||
7106 tmp=./conf$$-$RANDOM
7107 (umask 077 && mkdir "$tmp")
7108 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7109 ac_tmp=$tmp
7111 # Set up the scripts for CONFIG_FILES section.
7112 # No need to generate them if there are no CONFIG_FILES.
7113 # This happens for instance with `./config.status config.h'.
7114 if test -n "$CONFIG_FILES"; then
7117 ac_cr=`echo X | tr X '\015'`
7118 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7119 # But we know of no other shell where ac_cr would be empty at this
7120 # point, so we can use a bashism as a fallback.
7121 if test "x$ac_cr" = x; then
7122 eval ac_cr=\$\'\\r\'
7124 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7125 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7126 ac_cs_awk_cr='\\r'
7127 else
7128 ac_cs_awk_cr=$ac_cr
7131 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7132 _ACEOF
7136 echo "cat >conf$$subs.awk <<_ACEOF" &&
7137 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7138 echo "_ACEOF"
7139 } >conf$$subs.sh ||
7140 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7141 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7142 ac_delim='%!_!# '
7143 for ac_last_try in false false false false false :; do
7144 . ./conf$$subs.sh ||
7145 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7147 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7148 if test $ac_delim_n = $ac_delim_num; then
7149 break
7150 elif $ac_last_try; then
7151 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7152 else
7153 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7155 done
7156 rm -f conf$$subs.sh
7158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7159 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7160 _ACEOF
7161 sed -n '
7163 s/^/S["/; s/!.*/"]=/
7166 s/^[^!]*!//
7167 :repl
7168 t repl
7169 s/'"$ac_delim"'$//
7170 t delim
7173 s/\(.\{148\}\)..*/\1/
7174 t more1
7175 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7178 b repl
7179 :more1
7180 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7183 s/.\{148\}//
7184 t nl
7185 :delim
7187 s/\(.\{148\}\)..*/\1/
7188 t more2
7189 s/["\\]/\\&/g; s/^/"/; s/$/"/
7192 :more2
7193 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7196 s/.\{148\}//
7197 t delim
7198 ' <conf$$subs.awk | sed '
7199 /^[^""]/{
7201 s/\n//
7203 ' >>$CONFIG_STATUS || ac_write_fail=1
7204 rm -f conf$$subs.awk
7205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7206 _ACAWK
7207 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7208 for (key in S) S_is_set[key] = 1
7209 FS = "\a"
7213 line = $ 0
7214 nfields = split(line, field, "@")
7215 substed = 0
7216 len = length(field[1])
7217 for (i = 2; i < nfields; i++) {
7218 key = field[i]
7219 keylen = length(key)
7220 if (S_is_set[key]) {
7221 value = S[key]
7222 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7223 len += length(value) + length(field[++i])
7224 substed = 1
7225 } else
7226 len += 1 + keylen
7229 print line
7232 _ACAWK
7233 _ACEOF
7234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7235 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7236 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7237 else
7239 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7240 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7241 _ACEOF
7243 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7244 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7245 # trailing colons and then remove the whole line if VPATH becomes empty
7246 # (actually we leave an empty line to preserve line numbers).
7247 if test "x$srcdir" = x.; then
7248 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7250 s///
7251 s/^/:/
7252 s/[ ]*$/:/
7253 s/:\$(srcdir):/:/g
7254 s/:\${srcdir}:/:/g
7255 s/:@srcdir@:/:/g
7256 s/^:*//
7257 s/:*$//
7259 s/\(=[ ]*\).*/\1/
7261 s/\n//
7262 s/^[^=]*=[ ]*$//
7266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7267 fi # test -n "$CONFIG_FILES"
7270 eval set X " :F $CONFIG_FILES "
7271 shift
7272 for ac_tag
7274 case $ac_tag in
7275 :[FHLC]) ac_mode=$ac_tag; continue;;
7276 esac
7277 case $ac_mode$ac_tag in
7278 :[FHL]*:*);;
7279 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7280 :[FH]-) ac_tag=-:-;;
7281 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7282 esac
7283 ac_save_IFS=$IFS
7284 IFS=:
7285 set x $ac_tag
7286 IFS=$ac_save_IFS
7287 shift
7288 ac_file=$1
7289 shift
7291 case $ac_mode in
7292 :L) ac_source=$1;;
7293 :[FH])
7294 ac_file_inputs=
7295 for ac_f
7297 case $ac_f in
7298 -) ac_f="$ac_tmp/stdin";;
7299 *) # Look for the file first in the build tree, then in the source tree
7300 # (if the path is not absolute). The absolute path cannot be DOS-style,
7301 # because $ac_f cannot contain `:'.
7302 test -f "$ac_f" ||
7303 case $ac_f in
7304 [\\/$]*) false;;
7305 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7306 esac ||
7307 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7308 esac
7309 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7310 as_fn_append ac_file_inputs " '$ac_f'"
7311 done
7313 # Let's still pretend it is `configure' which instantiates (i.e., don't
7314 # use $as_me), people would be surprised to read:
7315 # /* config.h. Generated by config.status. */
7316 configure_input='Generated from '`
7317 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7318 `' by configure.'
7319 if test x"$ac_file" != x-; then
7320 configure_input="$ac_file. $configure_input"
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7322 $as_echo "$as_me: creating $ac_file" >&6;}
7324 # Neutralize special characters interpreted by sed in replacement strings.
7325 case $configure_input in #(
7326 *\&* | *\|* | *\\* )
7327 ac_sed_conf_input=`$as_echo "$configure_input" |
7328 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7329 *) ac_sed_conf_input=$configure_input;;
7330 esac
7332 case $ac_tag in
7333 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7334 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7335 esac
7337 esac
7339 ac_dir=`$as_dirname -- "$ac_file" ||
7340 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7341 X"$ac_file" : 'X\(//\)[^/]' \| \
7342 X"$ac_file" : 'X\(//\)$' \| \
7343 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7344 $as_echo X"$ac_file" |
7345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7346 s//\1/
7349 /^X\(\/\/\)[^/].*/{
7350 s//\1/
7353 /^X\(\/\/\)$/{
7354 s//\1/
7357 /^X\(\/\).*/{
7358 s//\1/
7361 s/.*/./; q'`
7362 as_dir="$ac_dir"; as_fn_mkdir_p
7363 ac_builddir=.
7365 case "$ac_dir" in
7366 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7368 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7369 # A ".." for each directory in $ac_dir_suffix.
7370 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7371 case $ac_top_builddir_sub in
7372 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7373 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7374 esac ;;
7375 esac
7376 ac_abs_top_builddir=$ac_pwd
7377 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7378 # for backward compatibility:
7379 ac_top_builddir=$ac_top_build_prefix
7381 case $srcdir in
7382 .) # We are building in place.
7383 ac_srcdir=.
7384 ac_top_srcdir=$ac_top_builddir_sub
7385 ac_abs_top_srcdir=$ac_pwd ;;
7386 [\\/]* | ?:[\\/]* ) # Absolute name.
7387 ac_srcdir=$srcdir$ac_dir_suffix;
7388 ac_top_srcdir=$srcdir
7389 ac_abs_top_srcdir=$srcdir ;;
7390 *) # Relative name.
7391 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7392 ac_top_srcdir=$ac_top_build_prefix$srcdir
7393 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7394 esac
7395 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7398 case $ac_mode in
7401 # CONFIG_FILE
7404 _ACEOF
7406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7407 # If the template does not know about datarootdir, expand it.
7408 # FIXME: This hack should be removed a few years after 2.60.
7409 ac_datarootdir_hack=; ac_datarootdir_seen=
7410 ac_sed_dataroot='
7411 /datarootdir/ {
7415 /@datadir@/p
7416 /@docdir@/p
7417 /@infodir@/p
7418 /@localedir@/p
7419 /@mandir@/p'
7420 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7421 *datarootdir*) ac_datarootdir_seen=yes;;
7422 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7424 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7425 _ACEOF
7426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7427 ac_datarootdir_hack='
7428 s&@datadir@&$datadir&g
7429 s&@docdir@&$docdir&g
7430 s&@infodir@&$infodir&g
7431 s&@localedir@&$localedir&g
7432 s&@mandir@&$mandir&g
7433 s&\\\${datarootdir}&$datarootdir&g' ;;
7434 esac
7435 _ACEOF
7437 # Neutralize VPATH when `$srcdir' = `.'.
7438 # Shell code in configure.ac might set extrasub.
7439 # FIXME: do we really want to maintain this feature?
7440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7441 ac_sed_extra="$ac_vpsub
7442 $extrasub
7443 _ACEOF
7444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7446 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7447 s|@configure_input@|$ac_sed_conf_input|;t t
7448 s&@top_builddir@&$ac_top_builddir_sub&;t t
7449 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7450 s&@srcdir@&$ac_srcdir&;t t
7451 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7452 s&@top_srcdir@&$ac_top_srcdir&;t t
7453 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7454 s&@builddir@&$ac_builddir&;t t
7455 s&@abs_builddir@&$ac_abs_builddir&;t t
7456 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7457 $ac_datarootdir_hack
7459 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7460 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7462 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7463 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7464 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7465 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7467 which seems to be undefined. Please make sure it is defined" >&5
7468 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7469 which seems to be undefined. Please make sure it is defined" >&2;}
7471 rm -f "$ac_tmp/stdin"
7472 case $ac_file in
7473 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7474 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7475 esac \
7476 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7481 esac
7483 done # for ac_tag
7486 as_fn_exit 0
7487 _ACEOF
7488 ac_clean_files=$ac_clean_files_save
7490 test $ac_write_fail = 0 ||
7491 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7494 # configure is writing to config.log, and then calls config.status.
7495 # config.status does its own redirection, appending to config.log.
7496 # Unfortunately, on DOS this fails, as config.log is still kept open
7497 # by configure, so config.status won't be able to write to it; its
7498 # output is simply discarded. So we exec the FD to /dev/null,
7499 # effectively closing config.log, so it can be properly (re)opened and
7500 # appended to by config.status. When coming back to configure, we
7501 # need to make the FD available again.
7502 if test "$no_create" != yes; then
7503 ac_cs_success=:
7504 ac_config_status_args=
7505 test "$silent" = yes &&
7506 ac_config_status_args="$ac_config_status_args --quiet"
7507 exec 5>/dev/null
7508 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7509 exec 5>>config.log
7510 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7511 # would make configure fail if this is the last instruction.
7512 $ac_cs_success || as_fn_exit 1
7514 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7516 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}