Re-added errenously deleted ASMFILES to the build_linklib template. Without it e...
[AROS.git] / config / features
blobdb4a3af1b0a0ef53047d01505f49462efb56877b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
271 exit 1
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
289 { eval $1=; unset $1;}
291 as_unset=as_fn_unset
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
298 return $1
299 } # as_fn_set_status
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
342 /^X\(\/\/\)$/{
343 s//\1/
346 /^X\(\/\).*/{
347 s//\1/
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
357 } # as_fn_mkdir_p
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
375 eval $1+=\$2
377 else
378 as_fn_append ()
380 eval $1=\$$1\$2
382 fi # as_fn_append
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
392 as_val=$(( $* ))
394 else
395 as_fn_arith ()
397 as_val=`expr "$@" || test $? -eq 1`
399 fi # as_fn_arith
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
446 /^X\/\(\/\/\)$/{
447 s//\1/
450 /^X\/\(\/\).*/{
451 s//\1/
454 s/.*/./; q'`
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
477 :lineno
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
509 ECHO_N='-n';;
510 esac
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
533 else
534 as_ln_s='cp -pR'
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
559 # Name of the host.
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 # Initializations.
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
576 # Identity of this package.
577 PACKAGE_NAME=
578 PACKAGE_TARNAME=
579 PACKAGE_VERSION=
580 PACKAGE_STRING=
581 PACKAGE_BUGREPORT=
582 PACKAGE_URL=
584 ac_unique_file="../mmakefile"
585 ac_subst_vars='LTLIBOBJS
586 LIBOBJS
587 aros_nowarnflags_int_in_bool_context
588 aros_warnflags_int_in_bool_context
589 aros_nowarnflags_class_memaccess
590 aros_warnflags_class_memaccess
591 aros_nowarnflags_missing_prototypes
592 aros_warnflags_missing_prototypes
593 aros_nowarnflags_implicit_fallthrough
594 aros_warnflags_implicit_fallthrough
595 aros_nowarnflags_missing_field_initializers
596 aros_warnflags_missing_field_initializers
597 aros_nowarnflags_shift_negative_value
598 aros_warnflags_shift_negative_value
599 aros_nowarnflags_stringop_truncation
600 aros_warnflags_stringop_truncation
601 aros_nowarnflags_format_truncation
602 aros_warnflags_format_truncation
603 aros_nowarnflags_stringop_overflow
604 aros_warnflags_stringop_overflow
605 aros_nowarnflags_format_overflow
606 aros_warnflags_format_overflow
607 aros_nowarnflags_empty_body
608 aros_warnflags_empty_body
609 aros_nowarnflags_tautological_compare
610 aros_warnflags_tautological_compare
611 aros_nowarnflags_lto_type_mismatch
612 aros_warnflags_lto_type_mismatch
613 aros_nowarnflags_format_zero_length
614 aros_warnflags_format_zero_length
615 aros_nowarnflags_return_type
616 aros_warnflags_return_type
617 aros_nowarnflags_sizeof_pointer_memaccess
618 aros_warnflags_sizeof_pointer_memaccess
619 aros_nowarnflags_volatile_register_var
620 aros_warnflags_volatile_register_var
621 aros_nowarnflags_narrowing
622 aros_warnflags_narrowing
623 aros_nowarnflags_conversion_null
624 aros_warnflags_conversion_null
625 aros_nowarnflags_missing_braces
626 aros_warnflags_missing_braces
627 aros_nowarnflags_unused_local_typedefs
628 aros_warnflags_unused_local_typedefs
629 aros_nowarnflags_overflow
630 aros_warnflags_overflow
631 aros_nowarnflags_attributes
632 aros_warnflags_attributes
633 aros_nowarnflags_sign_compare
634 aros_warnflags_sign_compare
635 aros_nowarnflags_deprecated_declarations
636 aros_warnflags_deprecated_declarations
637 aros_nowarnflags_frame_address
638 aros_warnflags_frame_address
639 aros_nowarnflags_shift_overflow
640 aros_warnflags_shift_overflow
641 aros_nowarnflags_pointer_sign
642 aros_warnflags_pointer_sign
643 aros_nowarnflags_logical_not_parentheses
644 aros_warnflags_logical_not_parentheses
645 aros_nowarnflags_bool_compare
646 aros_warnflags_bool_compare
647 aros_nowarnflags_incompatible_pointer_types
648 aros_warnflags_incompatible_pointer_types
649 aros_nowarnflags_comment
650 aros_warnflags_comment
651 aros_nowarnflags_write_strings
652 aros_warnflags_write_strings
653 aros_nowarnflags_unused_const_variable
654 aros_warnflags_unused_const_variable
655 aros_nowarnflags_pointer_to_int_cast
656 aros_warnflags_pointer_to_int_cast
657 aros_nowarnflags_int_to_pointer_cast
658 aros_warnflags_int_to_pointer_cast
659 aros_nowarnflags_int_conversion
660 aros_warnflags_int_conversion
661 aros_nowarnflags_discarded_array_qualifiers
662 aros_warnflags_discarded_array_qualifiers
663 aros_nowarnflags_unknown_pragmas
664 aros_warnflags_unknown_pragmas
665 aros_nowarnflags_sequence_point
666 aros_warnflags_sequence_point
667 aros_nowarnflags_discarded_qualifiers
668 aros_warnflags_discarded_qualifiers
669 aros_nowarnflags_switch
670 aros_warnflags_switch
671 aros_nowarnflags_cpp
672 aros_warnflags_cpp
673 aros_nowarnflags_aggressive_loop_optimizations
674 aros_warnflags_aggressive_loop_optimizations
675 aros_nowarnflags_implicit_int
676 aros_warnflags_implicit_int
677 aros_nowarnflags_format_contains_nul
678 aros_warnflags_format_contains_nul
679 aros_nowarnflags_endif_labels
680 aros_warnflags_endif_labels
681 aros_nowarnflags_char_subscripts
682 aros_warnflags_char_subscripts
683 aros_nowarnflags_parentheses
684 aros_warnflags_parentheses
685 aros_nowarnflags_format
686 aros_warnflags_format
687 aros_nowarnflags_implicit_function_declaration
688 aros_warnflags_implicit_function_declaration
689 aros_nowarnflags_maybe_uninitialized
690 aros_warnflags_maybe_uninitialized
691 aros_nowarnflags_uninitialized
692 aros_warnflags_uninitialized
693 aros_nowarnflags_unused_parameter
694 aros_warnflags_unused_parameter
695 aros_nowarnflags_unused_function
696 aros_warnflags_unused_function
697 aros_nowarnflags_unused_variable
698 aros_warnflags_unused_variable
699 aros_nowarnflags_unused_value
700 aros_warnflags_unused_value
701 aros_nowarnflags_unused_label
702 aros_warnflags_unused_label
703 aros_nowarnflags_unused
704 aros_warnflags_unused
705 aros_nowarnflags_nonnull_compare
706 aros_warnflags_nonnull_compare
707 aros_nowarnflags_misleading_indentation
708 aros_warnflags_misleading_indentation
709 aros_nowarnflags_format_security
710 aros_warnflags_format_security
711 aros_nowarnflags_strict_overflow
712 aros_warnflags_strict_overflow
713 aros_nowarnflags_strict_prototypes
714 aros_warnflags_strict_prototypes
715 aros_nowarnflags_enum_compare
716 aros_warnflags_enum_compare
717 aros_nowarnflags_array_bounds
718 aros_warnflags_array_bounds
719 aros_nowarnflags_strict_aliasing
720 aros_warnflags_strict_aliasing
721 aros_nowarnflags_unused_but_set_variable
722 aros_warnflags_unused_but_set_variable
723 aros_nowarnflags_unknown_warning_option
724 aros_warnflags_unknown_warning_option
725 aros_nowarnflags_unused_command_line_argument
726 aros_warnflags_unused_command_line_argument
727 aros_nowarnflags_restrict
728 aros_warnflags_restrict
729 aros_warnflags_all
730 aros_nowarnflags_error
731 aros_warnflags_error
732 aros_cflags_no_red_zone
733 aros_cflags_iquote_end
734 aros_cflags_iquote
735 aros_cflags_notestcoverage
736 aros_cflags_testcoverage
737 aros_cflags_noprofilearcs
738 aros_cflags_profilearcs
739 aros_cflags_noomitfp
740 aros_cflags_omitfp
741 aros_cflags_noipacp
742 aros_cflags_ipacp
743 aros_cflags_noinlinesmallfunctions
744 aros_cflags_inlinesmallfunctions
745 aros_cflags_nostrictaliasing
746 aros_cflags_strictaliasing
747 aros_cflags_unroll_loops
748 aros_cflags_peel_loops
749 aros_cflags_loop_strip_mine
750 aros_cflags_loop_interchange
751 aros_cflags_loop_block
752 aros_cflags_whole_program
753 aros_cflags_nolto
754 aros_cflags_lto
755 aros_cflags_no_builtin_floor
756 aros_cflags_fast_math
757 aros_cflags_permissive
758 aros_cflags_exceptions
759 OBJEXT
760 EXEEXT
761 ac_ct_CC
762 CPPFLAGS
763 LDFLAGS
764 CFLAGS
766 target_alias
767 host_alias
768 build_alias
769 LIBS
770 ECHO_T
771 ECHO_N
772 ECHO_C
773 DEFS
774 mandir
775 localedir
776 libdir
777 psdir
778 pdfdir
779 dvidir
780 htmldir
781 infodir
782 docdir
783 oldincludedir
784 includedir
785 localstatedir
786 sharedstatedir
787 sysconfdir
788 datadir
789 datarootdir
790 libexecdir
791 sbindir
792 bindir
793 program_transform_name
794 prefix
795 exec_prefix
796 PACKAGE_URL
797 PACKAGE_BUGREPORT
798 PACKAGE_STRING
799 PACKAGE_VERSION
800 PACKAGE_TARNAME
801 PACKAGE_NAME
802 PATH_SEPARATOR
803 SHELL'
804 ac_subst_files=''
805 ac_user_opts='
806 enable_option_checking
807 with_config_dir
809 ac_precious_vars='build_alias
810 host_alias
811 target_alias
813 CFLAGS
814 LDFLAGS
815 LIBS
816 CPPFLAGS'
819 # Initialize some variables set by options.
820 ac_init_help=
821 ac_init_version=false
822 ac_unrecognized_opts=
823 ac_unrecognized_sep=
824 # The variables have the same names as the options, with
825 # dashes changed to underlines.
826 cache_file=/dev/null
827 exec_prefix=NONE
828 no_create=
829 no_recursion=
830 prefix=NONE
831 program_prefix=NONE
832 program_suffix=NONE
833 program_transform_name=s,x,x,
834 silent=
835 site=
836 srcdir=
837 verbose=
838 x_includes=NONE
839 x_libraries=NONE
841 # Installation directory options.
842 # These are left unexpanded so users can "make install exec_prefix=/foo"
843 # and all the variables that are supposed to be based on exec_prefix
844 # by default will actually change.
845 # Use braces instead of parens because sh, perl, etc. also accept them.
846 # (The list follows the same order as the GNU Coding Standards.)
847 bindir='${exec_prefix}/bin'
848 sbindir='${exec_prefix}/sbin'
849 libexecdir='${exec_prefix}/libexec'
850 datarootdir='${prefix}/share'
851 datadir='${datarootdir}'
852 sysconfdir='${prefix}/etc'
853 sharedstatedir='${prefix}/com'
854 localstatedir='${prefix}/var'
855 includedir='${prefix}/include'
856 oldincludedir='/usr/include'
857 docdir='${datarootdir}/doc/${PACKAGE}'
858 infodir='${datarootdir}/info'
859 htmldir='${docdir}'
860 dvidir='${docdir}'
861 pdfdir='${docdir}'
862 psdir='${docdir}'
863 libdir='${exec_prefix}/lib'
864 localedir='${datarootdir}/locale'
865 mandir='${datarootdir}/man'
867 ac_prev=
868 ac_dashdash=
869 for ac_option
871 # If the previous option needs an argument, assign it.
872 if test -n "$ac_prev"; then
873 eval $ac_prev=\$ac_option
874 ac_prev=
875 continue
878 case $ac_option in
879 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
880 *=) ac_optarg= ;;
881 *) ac_optarg=yes ;;
882 esac
884 # Accept the important Cygnus configure options, so we can diagnose typos.
886 case $ac_dashdash$ac_option in
888 ac_dashdash=yes ;;
890 -bindir | --bindir | --bindi | --bind | --bin | --bi)
891 ac_prev=bindir ;;
892 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
893 bindir=$ac_optarg ;;
895 -build | --build | --buil | --bui | --bu)
896 ac_prev=build_alias ;;
897 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
898 build_alias=$ac_optarg ;;
900 -cache-file | --cache-file | --cache-fil | --cache-fi \
901 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
902 ac_prev=cache_file ;;
903 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
904 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
905 cache_file=$ac_optarg ;;
907 --config-cache | -C)
908 cache_file=config.cache ;;
910 -datadir | --datadir | --datadi | --datad)
911 ac_prev=datadir ;;
912 -datadir=* | --datadir=* | --datadi=* | --datad=*)
913 datadir=$ac_optarg ;;
915 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
916 | --dataroo | --dataro | --datar)
917 ac_prev=datarootdir ;;
918 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
919 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
920 datarootdir=$ac_optarg ;;
922 -disable-* | --disable-*)
923 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
924 # Reject names that are not valid shell variable names.
925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
926 as_fn_error $? "invalid feature name: $ac_useropt"
927 ac_useropt_orig=$ac_useropt
928 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
929 case $ac_user_opts in
931 "enable_$ac_useropt"
932 "*) ;;
933 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
934 ac_unrecognized_sep=', ';;
935 esac
936 eval enable_$ac_useropt=no ;;
938 -docdir | --docdir | --docdi | --doc | --do)
939 ac_prev=docdir ;;
940 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
941 docdir=$ac_optarg ;;
943 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
944 ac_prev=dvidir ;;
945 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
946 dvidir=$ac_optarg ;;
948 -enable-* | --enable-*)
949 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
952 as_fn_error $? "invalid feature name: $ac_useropt"
953 ac_useropt_orig=$ac_useropt
954 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955 case $ac_user_opts in
957 "enable_$ac_useropt"
958 "*) ;;
959 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
960 ac_unrecognized_sep=', ';;
961 esac
962 eval enable_$ac_useropt=\$ac_optarg ;;
964 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
965 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
966 | --exec | --exe | --ex)
967 ac_prev=exec_prefix ;;
968 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
969 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
970 | --exec=* | --exe=* | --ex=*)
971 exec_prefix=$ac_optarg ;;
973 -gas | --gas | --ga | --g)
974 # Obsolete; use --with-gas.
975 with_gas=yes ;;
977 -help | --help | --hel | --he | -h)
978 ac_init_help=long ;;
979 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
980 ac_init_help=recursive ;;
981 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
982 ac_init_help=short ;;
984 -host | --host | --hos | --ho)
985 ac_prev=host_alias ;;
986 -host=* | --host=* | --hos=* | --ho=*)
987 host_alias=$ac_optarg ;;
989 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
990 ac_prev=htmldir ;;
991 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
992 | --ht=*)
993 htmldir=$ac_optarg ;;
995 -includedir | --includedir | --includedi | --included | --include \
996 | --includ | --inclu | --incl | --inc)
997 ac_prev=includedir ;;
998 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
999 | --includ=* | --inclu=* | --incl=* | --inc=*)
1000 includedir=$ac_optarg ;;
1002 -infodir | --infodir | --infodi | --infod | --info | --inf)
1003 ac_prev=infodir ;;
1004 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1005 infodir=$ac_optarg ;;
1007 -libdir | --libdir | --libdi | --libd)
1008 ac_prev=libdir ;;
1009 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1010 libdir=$ac_optarg ;;
1012 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1013 | --libexe | --libex | --libe)
1014 ac_prev=libexecdir ;;
1015 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1016 | --libexe=* | --libex=* | --libe=*)
1017 libexecdir=$ac_optarg ;;
1019 -localedir | --localedir | --localedi | --localed | --locale)
1020 ac_prev=localedir ;;
1021 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1022 localedir=$ac_optarg ;;
1024 -localstatedir | --localstatedir | --localstatedi | --localstated \
1025 | --localstate | --localstat | --localsta | --localst | --locals)
1026 ac_prev=localstatedir ;;
1027 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1028 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1029 localstatedir=$ac_optarg ;;
1031 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1032 ac_prev=mandir ;;
1033 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1034 mandir=$ac_optarg ;;
1036 -nfp | --nfp | --nf)
1037 # Obsolete; use --without-fp.
1038 with_fp=no ;;
1040 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1041 | --no-cr | --no-c | -n)
1042 no_create=yes ;;
1044 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1045 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1046 no_recursion=yes ;;
1048 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1049 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1050 | --oldin | --oldi | --old | --ol | --o)
1051 ac_prev=oldincludedir ;;
1052 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1053 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1054 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1055 oldincludedir=$ac_optarg ;;
1057 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1058 ac_prev=prefix ;;
1059 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1060 prefix=$ac_optarg ;;
1062 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1063 | --program-pre | --program-pr | --program-p)
1064 ac_prev=program_prefix ;;
1065 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1066 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1067 program_prefix=$ac_optarg ;;
1069 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1070 | --program-suf | --program-su | --program-s)
1071 ac_prev=program_suffix ;;
1072 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1073 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1074 program_suffix=$ac_optarg ;;
1076 -program-transform-name | --program-transform-name \
1077 | --program-transform-nam | --program-transform-na \
1078 | --program-transform-n | --program-transform- \
1079 | --program-transform | --program-transfor \
1080 | --program-transfo | --program-transf \
1081 | --program-trans | --program-tran \
1082 | --progr-tra | --program-tr | --program-t)
1083 ac_prev=program_transform_name ;;
1084 -program-transform-name=* | --program-transform-name=* \
1085 | --program-transform-nam=* | --program-transform-na=* \
1086 | --program-transform-n=* | --program-transform-=* \
1087 | --program-transform=* | --program-transfor=* \
1088 | --program-transfo=* | --program-transf=* \
1089 | --program-trans=* | --program-tran=* \
1090 | --progr-tra=* | --program-tr=* | --program-t=*)
1091 program_transform_name=$ac_optarg ;;
1093 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1094 ac_prev=pdfdir ;;
1095 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1096 pdfdir=$ac_optarg ;;
1098 -psdir | --psdir | --psdi | --psd | --ps)
1099 ac_prev=psdir ;;
1100 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1101 psdir=$ac_optarg ;;
1103 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1104 | -silent | --silent | --silen | --sile | --sil)
1105 silent=yes ;;
1107 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1108 ac_prev=sbindir ;;
1109 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1110 | --sbi=* | --sb=*)
1111 sbindir=$ac_optarg ;;
1113 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1114 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1115 | --sharedst | --shareds | --shared | --share | --shar \
1116 | --sha | --sh)
1117 ac_prev=sharedstatedir ;;
1118 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1119 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1120 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1121 | --sha=* | --sh=*)
1122 sharedstatedir=$ac_optarg ;;
1124 -site | --site | --sit)
1125 ac_prev=site ;;
1126 -site=* | --site=* | --sit=*)
1127 site=$ac_optarg ;;
1129 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1130 ac_prev=srcdir ;;
1131 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1132 srcdir=$ac_optarg ;;
1134 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1135 | --syscon | --sysco | --sysc | --sys | --sy)
1136 ac_prev=sysconfdir ;;
1137 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1138 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1139 sysconfdir=$ac_optarg ;;
1141 -target | --target | --targe | --targ | --tar | --ta | --t)
1142 ac_prev=target_alias ;;
1143 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1144 target_alias=$ac_optarg ;;
1146 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1147 verbose=yes ;;
1149 -version | --version | --versio | --versi | --vers | -V)
1150 ac_init_version=: ;;
1152 -with-* | --with-*)
1153 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1156 as_fn_error $? "invalid package name: $ac_useropt"
1157 ac_useropt_orig=$ac_useropt
1158 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1159 case $ac_user_opts in
1161 "with_$ac_useropt"
1162 "*) ;;
1163 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1164 ac_unrecognized_sep=', ';;
1165 esac
1166 eval with_$ac_useropt=\$ac_optarg ;;
1168 -without-* | --without-*)
1169 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1170 # Reject names that are not valid shell variable names.
1171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1172 as_fn_error $? "invalid package name: $ac_useropt"
1173 ac_useropt_orig=$ac_useropt
1174 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1175 case $ac_user_opts in
1177 "with_$ac_useropt"
1178 "*) ;;
1179 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1180 ac_unrecognized_sep=', ';;
1181 esac
1182 eval with_$ac_useropt=no ;;
1184 --x)
1185 # Obsolete; use --with-x.
1186 with_x=yes ;;
1188 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1189 | --x-incl | --x-inc | --x-in | --x-i)
1190 ac_prev=x_includes ;;
1191 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1192 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1193 x_includes=$ac_optarg ;;
1195 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1196 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1197 ac_prev=x_libraries ;;
1198 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1199 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1200 x_libraries=$ac_optarg ;;
1202 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1203 Try \`$0 --help' for more information"
1206 *=*)
1207 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1208 # Reject names that are not valid shell variable names.
1209 case $ac_envvar in #(
1210 '' | [0-9]* | *[!_$as_cr_alnum]* )
1211 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1212 esac
1213 eval $ac_envvar=\$ac_optarg
1214 export $ac_envvar ;;
1217 # FIXME: should be removed in autoconf 3.0.
1218 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1219 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1220 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1221 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1224 esac
1225 done
1227 if test -n "$ac_prev"; then
1228 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1229 as_fn_error $? "missing argument to $ac_option"
1232 if test -n "$ac_unrecognized_opts"; then
1233 case $enable_option_checking in
1234 no) ;;
1235 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1236 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1237 esac
1240 # Check all directory arguments for consistency.
1241 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1242 datadir sysconfdir sharedstatedir localstatedir includedir \
1243 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1244 libdir localedir mandir
1246 eval ac_val=\$$ac_var
1247 # Remove trailing slashes.
1248 case $ac_val in
1249 */ )
1250 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1251 eval $ac_var=\$ac_val;;
1252 esac
1253 # Be sure to have absolute directory names.
1254 case $ac_val in
1255 [\\/$]* | ?:[\\/]* ) continue;;
1256 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1257 esac
1258 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1259 done
1261 # There might be people who depend on the old broken behavior: `$host'
1262 # used to hold the argument of --host etc.
1263 # FIXME: To remove some day.
1264 build=$build_alias
1265 host=$host_alias
1266 target=$target_alias
1268 # FIXME: To remove some day.
1269 if test "x$host_alias" != x; then
1270 if test "x$build_alias" = x; then
1271 cross_compiling=maybe
1272 elif test "x$build_alias" != "x$host_alias"; then
1273 cross_compiling=yes
1277 ac_tool_prefix=
1278 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1280 test "$silent" = yes && exec 6>/dev/null
1283 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1284 ac_ls_di=`ls -di .` &&
1285 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1286 as_fn_error $? "working directory cannot be determined"
1287 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1288 as_fn_error $? "pwd does not report name of working directory"
1291 # Find the source files, if location was not specified.
1292 if test -z "$srcdir"; then
1293 ac_srcdir_defaulted=yes
1294 # Try the directory containing this script, then the parent directory.
1295 ac_confdir=`$as_dirname -- "$as_myself" ||
1296 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1297 X"$as_myself" : 'X\(//\)[^/]' \| \
1298 X"$as_myself" : 'X\(//\)$' \| \
1299 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1300 $as_echo X"$as_myself" |
1301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1302 s//\1/
1305 /^X\(\/\/\)[^/].*/{
1306 s//\1/
1309 /^X\(\/\/\)$/{
1310 s//\1/
1313 /^X\(\/\).*/{
1314 s//\1/
1317 s/.*/./; q'`
1318 srcdir=$ac_confdir
1319 if test ! -r "$srcdir/$ac_unique_file"; then
1320 srcdir=..
1322 else
1323 ac_srcdir_defaulted=no
1325 if test ! -r "$srcdir/$ac_unique_file"; then
1326 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1327 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1329 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1330 ac_abs_confdir=`(
1331 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1332 pwd)`
1333 # When building in place, set srcdir=.
1334 if test "$ac_abs_confdir" = "$ac_pwd"; then
1335 srcdir=.
1337 # Remove unnecessary trailing slashes from srcdir.
1338 # Double slashes in file names in object file debugging info
1339 # mess up M-x gdb in Emacs.
1340 case $srcdir in
1341 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1342 esac
1343 for ac_var in $ac_precious_vars; do
1344 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1345 eval ac_env_${ac_var}_value=\$${ac_var}
1346 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1347 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1348 done
1351 # Report the --help message.
1353 if test "$ac_init_help" = "long"; then
1354 # Omit some internal or obsolete options to make the list less imposing.
1355 # This message is too long to be a string in the A/UX 3.1 sh.
1356 cat <<_ACEOF
1357 \`configure' configures this package to adapt to many kinds of systems.
1359 Usage: $0 [OPTION]... [VAR=VALUE]...
1361 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1362 VAR=VALUE. See below for descriptions of some of the useful variables.
1364 Defaults for the options are specified in brackets.
1366 Configuration:
1367 -h, --help display this help and exit
1368 --help=short display options specific to this package
1369 --help=recursive display the short help of all the included packages
1370 -V, --version display version information and exit
1371 -q, --quiet, --silent do not print \`checking ...' messages
1372 --cache-file=FILE cache test results in FILE [disabled]
1373 -C, --config-cache alias for \`--cache-file=config.cache'
1374 -n, --no-create do not create output files
1375 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1377 Installation directories:
1378 --prefix=PREFIX install architecture-independent files in PREFIX
1379 [$ac_default_prefix]
1380 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1381 [PREFIX]
1383 By default, \`make install' will install all the files in
1384 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1385 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1386 for instance \`--prefix=\$HOME'.
1388 For better control, use the options below.
1390 Fine tuning of the installation directories:
1391 --bindir=DIR user executables [EPREFIX/bin]
1392 --sbindir=DIR system admin executables [EPREFIX/sbin]
1393 --libexecdir=DIR program executables [EPREFIX/libexec]
1394 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1395 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1396 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1397 --libdir=DIR object code libraries [EPREFIX/lib]
1398 --includedir=DIR C header files [PREFIX/include]
1399 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1400 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1401 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1402 --infodir=DIR info documentation [DATAROOTDIR/info]
1403 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1404 --mandir=DIR man documentation [DATAROOTDIR/man]
1405 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1406 --htmldir=DIR html documentation [DOCDIR]
1407 --dvidir=DIR dvi documentation [DOCDIR]
1408 --pdfdir=DIR pdf documentation [DOCDIR]
1409 --psdir=DIR ps documentation [DOCDIR]
1410 _ACEOF
1412 cat <<\_ACEOF
1413 _ACEOF
1416 if test -n "$ac_init_help"; then
1418 cat <<\_ACEOF
1420 Optional Packages:
1421 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1422 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1423 --with-config-dir=VERSION
1424 Location of generated target config files
1426 Some influential environment variables:
1427 CC C compiler command
1428 CFLAGS C compiler flags
1429 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1430 nonstandard directory <lib dir>
1431 LIBS libraries to pass to the linker, e.g. -l<library>
1432 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1433 you have headers in a nonstandard directory <include dir>
1435 Use these variables to override the choices made by `configure' or to help
1436 it to find libraries and programs with nonstandard names/locations.
1438 Report bugs to the package provider.
1439 _ACEOF
1440 ac_status=$?
1443 if test "$ac_init_help" = "recursive"; then
1444 # If there are subdirs, report their specific --help.
1445 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1446 test -d "$ac_dir" ||
1447 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1448 continue
1449 ac_builddir=.
1451 case "$ac_dir" in
1452 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1455 # A ".." for each directory in $ac_dir_suffix.
1456 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1457 case $ac_top_builddir_sub in
1458 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1459 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1460 esac ;;
1461 esac
1462 ac_abs_top_builddir=$ac_pwd
1463 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1464 # for backward compatibility:
1465 ac_top_builddir=$ac_top_build_prefix
1467 case $srcdir in
1468 .) # We are building in place.
1469 ac_srcdir=.
1470 ac_top_srcdir=$ac_top_builddir_sub
1471 ac_abs_top_srcdir=$ac_pwd ;;
1472 [\\/]* | ?:[\\/]* ) # Absolute name.
1473 ac_srcdir=$srcdir$ac_dir_suffix;
1474 ac_top_srcdir=$srcdir
1475 ac_abs_top_srcdir=$srcdir ;;
1476 *) # Relative name.
1477 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1478 ac_top_srcdir=$ac_top_build_prefix$srcdir
1479 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1480 esac
1481 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1483 cd "$ac_dir" || { ac_status=$?; continue; }
1484 # Check for guested configure.
1485 if test -f "$ac_srcdir/configure.gnu"; then
1486 echo &&
1487 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1488 elif test -f "$ac_srcdir/configure"; then
1489 echo &&
1490 $SHELL "$ac_srcdir/configure" --help=recursive
1491 else
1492 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1493 fi || ac_status=$?
1494 cd "$ac_pwd" || { ac_status=$?; break; }
1495 done
1498 test -n "$ac_init_help" && exit $ac_status
1499 if $ac_init_version; then
1500 cat <<\_ACEOF
1501 configure
1502 generated by GNU Autoconf 2.69
1504 Copyright (C) 2012 Free Software Foundation, Inc.
1505 This configure script is free software; the Free Software Foundation
1506 gives unlimited permission to copy, distribute and modify it.
1507 _ACEOF
1508 exit
1511 ## ------------------------ ##
1512 ## Autoconf initialization. ##
1513 ## ------------------------ ##
1515 # ac_fn_c_try_compile LINENO
1516 # --------------------------
1517 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1518 ac_fn_c_try_compile ()
1520 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1521 rm -f conftest.$ac_objext
1522 if { { ac_try="$ac_compile"
1523 case "(($ac_try" in
1524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1525 *) ac_try_echo=$ac_try;;
1526 esac
1527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1528 $as_echo "$ac_try_echo"; } >&5
1529 (eval "$ac_compile") 2>conftest.err
1530 ac_status=$?
1531 if test -s conftest.err; then
1532 grep -v '^ *+' conftest.err >conftest.er1
1533 cat conftest.er1 >&5
1534 mv -f conftest.er1 conftest.err
1536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1537 test $ac_status = 0; } && {
1538 test -z "$ac_c_werror_flag" ||
1539 test ! -s conftest.err
1540 } && test -s conftest.$ac_objext; then :
1541 ac_retval=0
1542 else
1543 $as_echo "$as_me: failed program was:" >&5
1544 sed 's/^/| /' conftest.$ac_ext >&5
1546 ac_retval=1
1548 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1549 as_fn_set_status $ac_retval
1551 } # ac_fn_c_try_compile
1552 cat >config.log <<_ACEOF
1553 This file contains any messages produced by compilers while
1554 running configure, to aid debugging if configure makes a mistake.
1556 It was created by $as_me, which was
1557 generated by GNU Autoconf 2.69. Invocation command line was
1559 $ $0 $@
1561 _ACEOF
1562 exec 5>>config.log
1564 cat <<_ASUNAME
1565 ## --------- ##
1566 ## Platform. ##
1567 ## --------- ##
1569 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1570 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1571 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1572 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1573 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1575 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1576 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1578 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1579 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1580 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1581 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1582 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1583 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1584 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1586 _ASUNAME
1588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1589 for as_dir in $PATH
1591 IFS=$as_save_IFS
1592 test -z "$as_dir" && as_dir=.
1593 $as_echo "PATH: $as_dir"
1594 done
1595 IFS=$as_save_IFS
1597 } >&5
1599 cat >&5 <<_ACEOF
1602 ## ----------- ##
1603 ## Core tests. ##
1604 ## ----------- ##
1606 _ACEOF
1609 # Keep a trace of the command line.
1610 # Strip out --no-create and --no-recursion so they do not pile up.
1611 # Strip out --silent because we don't want to record it for future runs.
1612 # Also quote any args containing shell meta-characters.
1613 # Make two passes to allow for proper duplicate-argument suppression.
1614 ac_configure_args=
1615 ac_configure_args0=
1616 ac_configure_args1=
1617 ac_must_keep_next=false
1618 for ac_pass in 1 2
1620 for ac_arg
1622 case $ac_arg in
1623 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1624 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1625 | -silent | --silent | --silen | --sile | --sil)
1626 continue ;;
1627 *\'*)
1628 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1629 esac
1630 case $ac_pass in
1631 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1633 as_fn_append ac_configure_args1 " '$ac_arg'"
1634 if test $ac_must_keep_next = true; then
1635 ac_must_keep_next=false # Got value, back to normal.
1636 else
1637 case $ac_arg in
1638 *=* | --config-cache | -C | -disable-* | --disable-* \
1639 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1640 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1641 | -with-* | --with-* | -without-* | --without-* | --x)
1642 case "$ac_configure_args0 " in
1643 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1644 esac
1646 -* ) ac_must_keep_next=true ;;
1647 esac
1649 as_fn_append ac_configure_args " '$ac_arg'"
1651 esac
1652 done
1653 done
1654 { ac_configure_args0=; unset ac_configure_args0;}
1655 { ac_configure_args1=; unset ac_configure_args1;}
1657 # When interrupted or exit'd, cleanup temporary files, and complete
1658 # config.log. We remove comments because anyway the quotes in there
1659 # would cause problems or look ugly.
1660 # WARNING: Use '\'' to represent an apostrophe within the trap.
1661 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1662 trap 'exit_status=$?
1663 # Save into config.log some information that might help in debugging.
1665 echo
1667 $as_echo "## ---------------- ##
1668 ## Cache variables. ##
1669 ## ---------------- ##"
1670 echo
1671 # The following way of writing the cache mishandles newlines in values,
1673 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1674 eval ac_val=\$$ac_var
1675 case $ac_val in #(
1676 *${as_nl}*)
1677 case $ac_var in #(
1678 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1679 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1680 esac
1681 case $ac_var in #(
1682 _ | IFS | as_nl) ;; #(
1683 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1684 *) { eval $ac_var=; unset $ac_var;} ;;
1685 esac ;;
1686 esac
1687 done
1688 (set) 2>&1 |
1689 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1690 *${as_nl}ac_space=\ *)
1691 sed -n \
1692 "s/'\''/'\''\\\\'\'''\''/g;
1693 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1694 ;; #(
1696 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1698 esac |
1699 sort
1701 echo
1703 $as_echo "## ----------------- ##
1704 ## Output variables. ##
1705 ## ----------------- ##"
1706 echo
1707 for ac_var in $ac_subst_vars
1709 eval ac_val=\$$ac_var
1710 case $ac_val in
1711 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1712 esac
1713 $as_echo "$ac_var='\''$ac_val'\''"
1714 done | sort
1715 echo
1717 if test -n "$ac_subst_files"; then
1718 $as_echo "## ------------------- ##
1719 ## File substitutions. ##
1720 ## ------------------- ##"
1721 echo
1722 for ac_var in $ac_subst_files
1724 eval ac_val=\$$ac_var
1725 case $ac_val in
1726 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1727 esac
1728 $as_echo "$ac_var='\''$ac_val'\''"
1729 done | sort
1730 echo
1733 if test -s confdefs.h; then
1734 $as_echo "## ----------- ##
1735 ## confdefs.h. ##
1736 ## ----------- ##"
1737 echo
1738 cat confdefs.h
1739 echo
1741 test "$ac_signal" != 0 &&
1742 $as_echo "$as_me: caught signal $ac_signal"
1743 $as_echo "$as_me: exit $exit_status"
1744 } >&5
1745 rm -f core *.core core.conftest.* &&
1746 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1747 exit $exit_status
1749 for ac_signal in 1 2 13 15; do
1750 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1751 done
1752 ac_signal=0
1754 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1755 rm -f -r conftest* confdefs.h
1757 $as_echo "/* confdefs.h */" > confdefs.h
1759 # Predefined preprocessor variables.
1761 cat >>confdefs.h <<_ACEOF
1762 #define PACKAGE_NAME "$PACKAGE_NAME"
1763 _ACEOF
1765 cat >>confdefs.h <<_ACEOF
1766 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1767 _ACEOF
1769 cat >>confdefs.h <<_ACEOF
1770 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1771 _ACEOF
1773 cat >>confdefs.h <<_ACEOF
1774 #define PACKAGE_STRING "$PACKAGE_STRING"
1775 _ACEOF
1777 cat >>confdefs.h <<_ACEOF
1778 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1779 _ACEOF
1781 cat >>confdefs.h <<_ACEOF
1782 #define PACKAGE_URL "$PACKAGE_URL"
1783 _ACEOF
1786 # Let the site file select an alternate cache file if it wants to.
1787 # Prefer an explicitly selected file to automatically selected ones.
1788 ac_site_file1=NONE
1789 ac_site_file2=NONE
1790 if test -n "$CONFIG_SITE"; then
1791 # We do not want a PATH search for config.site.
1792 case $CONFIG_SITE in #((
1793 -*) ac_site_file1=./$CONFIG_SITE;;
1794 */*) ac_site_file1=$CONFIG_SITE;;
1795 *) ac_site_file1=./$CONFIG_SITE;;
1796 esac
1797 elif test "x$prefix" != xNONE; then
1798 ac_site_file1=$prefix/share/config.site
1799 ac_site_file2=$prefix/etc/config.site
1800 else
1801 ac_site_file1=$ac_default_prefix/share/config.site
1802 ac_site_file2=$ac_default_prefix/etc/config.site
1804 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1806 test "x$ac_site_file" = xNONE && continue
1807 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1809 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1810 sed 's/^/| /' "$ac_site_file" >&5
1811 . "$ac_site_file" \
1812 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1814 as_fn_error $? "failed to load site script $ac_site_file
1815 See \`config.log' for more details" "$LINENO" 5; }
1817 done
1819 if test -r "$cache_file"; then
1820 # Some versions of bash will fail to source /dev/null (special files
1821 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1822 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1824 $as_echo "$as_me: loading cache $cache_file" >&6;}
1825 case $cache_file in
1826 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1827 *) . "./$cache_file";;
1828 esac
1830 else
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1832 $as_echo "$as_me: creating cache $cache_file" >&6;}
1833 >$cache_file
1836 # Check that the precious variables saved in the cache have kept the same
1837 # value.
1838 ac_cache_corrupted=false
1839 for ac_var in $ac_precious_vars; do
1840 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1841 eval ac_new_set=\$ac_env_${ac_var}_set
1842 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1843 eval ac_new_val=\$ac_env_${ac_var}_value
1844 case $ac_old_set,$ac_new_set in
1845 set,)
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1847 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1848 ac_cache_corrupted=: ;;
1849 ,set)
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1851 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1852 ac_cache_corrupted=: ;;
1853 ,);;
1855 if test "x$ac_old_val" != "x$ac_new_val"; then
1856 # differences in whitespace do not lead to failure.
1857 ac_old_val_w=`echo x $ac_old_val`
1858 ac_new_val_w=`echo x $ac_new_val`
1859 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1861 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1862 ac_cache_corrupted=:
1863 else
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1865 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1866 eval $ac_var=\$ac_old_val
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1869 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1871 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1872 fi;;
1873 esac
1874 # Pass precious variables to config.status.
1875 if test "$ac_new_set" = set; then
1876 case $ac_new_val in
1877 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1878 *) ac_arg=$ac_var=$ac_new_val ;;
1879 esac
1880 case " $ac_configure_args " in
1881 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1882 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1883 esac
1885 done
1886 if $ac_cache_corrupted; then
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1888 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1890 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1891 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1893 ## -------------------- ##
1894 ## Main body of script. ##
1895 ## -------------------- ##
1897 ac_ext=c
1898 ac_cpp='$CPP $CPPFLAGS'
1899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1905 ac_aux_dir=
1906 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1907 if test -f "$ac_dir/install-sh"; then
1908 ac_aux_dir=$ac_dir
1909 ac_install_sh="$ac_aux_dir/install-sh -c"
1910 break
1911 elif test -f "$ac_dir/install.sh"; then
1912 ac_aux_dir=$ac_dir
1913 ac_install_sh="$ac_aux_dir/install.sh -c"
1914 break
1915 elif test -f "$ac_dir/shtool"; then
1916 ac_aux_dir=$ac_dir
1917 ac_install_sh="$ac_aux_dir/shtool install -c"
1918 break
1920 done
1921 if test -z "$ac_aux_dir"; then
1922 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1925 # These three variables are undocumented and unsupported,
1926 # and are intended to be withdrawn in a future Autoconf release.
1927 # They can cause serious problems if a builder's source tree is in a directory
1928 # whose full name contains unusual characters.
1929 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1930 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1931 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1935 AROS_BUILDDIR=`${PWDCMD-pwd}`
1936 AROS_BUILDDIR_UNIX=${PWD}
1938 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1939 SRCDIR=${srcpwd}
1941 NOLINKFLAGS="-nostdlib -nostartfiles"
1942 LDFLAGS=$NOLINKFLAGS
1943 # The first step is to find the binaries.
1944 ac_ext=c
1945 ac_cpp='$CPP $CPPFLAGS'
1946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1949 if test -n "$ac_tool_prefix"; then
1950 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1951 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1953 $as_echo_n "checking for $ac_word... " >&6; }
1954 if ${ac_cv_prog_CC+:} false; then :
1955 $as_echo_n "(cached) " >&6
1956 else
1957 if test -n "$CC"; then
1958 ac_cv_prog_CC="$CC" # Let the user override the test.
1959 else
1960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1961 for as_dir in $PATH
1963 IFS=$as_save_IFS
1964 test -z "$as_dir" && as_dir=.
1965 for ac_exec_ext in '' $ac_executable_extensions; do
1966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1967 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1969 break 2
1971 done
1972 done
1973 IFS=$as_save_IFS
1977 CC=$ac_cv_prog_CC
1978 if test -n "$CC"; then
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1980 $as_echo "$CC" >&6; }
1981 else
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1983 $as_echo "no" >&6; }
1988 if test -z "$ac_cv_prog_CC"; then
1989 ac_ct_CC=$CC
1990 # Extract the first word of "gcc", so it can be a program name with args.
1991 set dummy gcc; ac_word=$2
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1993 $as_echo_n "checking for $ac_word... " >&6; }
1994 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1995 $as_echo_n "(cached) " >&6
1996 else
1997 if test -n "$ac_ct_CC"; then
1998 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1999 else
2000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2001 for as_dir in $PATH
2003 IFS=$as_save_IFS
2004 test -z "$as_dir" && as_dir=.
2005 for ac_exec_ext in '' $ac_executable_extensions; do
2006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2007 ac_cv_prog_ac_ct_CC="gcc"
2008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2009 break 2
2011 done
2012 done
2013 IFS=$as_save_IFS
2017 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2018 if test -n "$ac_ct_CC"; then
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2020 $as_echo "$ac_ct_CC" >&6; }
2021 else
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2023 $as_echo "no" >&6; }
2026 if test "x$ac_ct_CC" = x; then
2027 CC=""
2028 else
2029 case $cross_compiling:$ac_tool_warned in
2030 yes:)
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2033 ac_tool_warned=yes ;;
2034 esac
2035 CC=$ac_ct_CC
2037 else
2038 CC="$ac_cv_prog_CC"
2041 if test -z "$CC"; then
2042 if test -n "$ac_tool_prefix"; then
2043 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2044 set dummy ${ac_tool_prefix}cc; ac_word=$2
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2046 $as_echo_n "checking for $ac_word... " >&6; }
2047 if ${ac_cv_prog_CC+:} false; then :
2048 $as_echo_n "(cached) " >&6
2049 else
2050 if test -n "$CC"; then
2051 ac_cv_prog_CC="$CC" # Let the user override the test.
2052 else
2053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2054 for as_dir in $PATH
2056 IFS=$as_save_IFS
2057 test -z "$as_dir" && as_dir=.
2058 for ac_exec_ext in '' $ac_executable_extensions; do
2059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2060 ac_cv_prog_CC="${ac_tool_prefix}cc"
2061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2062 break 2
2064 done
2065 done
2066 IFS=$as_save_IFS
2070 CC=$ac_cv_prog_CC
2071 if test -n "$CC"; then
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2073 $as_echo "$CC" >&6; }
2074 else
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2076 $as_echo "no" >&6; }
2082 if test -z "$CC"; then
2083 # Extract the first word of "cc", so it can be a program name with args.
2084 set dummy cc; ac_word=$2
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2086 $as_echo_n "checking for $ac_word... " >&6; }
2087 if ${ac_cv_prog_CC+:} false; then :
2088 $as_echo_n "(cached) " >&6
2089 else
2090 if test -n "$CC"; then
2091 ac_cv_prog_CC="$CC" # Let the user override the test.
2092 else
2093 ac_prog_rejected=no
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 for as_dir in $PATH
2097 IFS=$as_save_IFS
2098 test -z "$as_dir" && as_dir=.
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2101 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2102 ac_prog_rejected=yes
2103 continue
2105 ac_cv_prog_CC="cc"
2106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2107 break 2
2109 done
2110 done
2111 IFS=$as_save_IFS
2113 if test $ac_prog_rejected = yes; then
2114 # We found a bogon in the path, so make sure we never use it.
2115 set dummy $ac_cv_prog_CC
2116 shift
2117 if test $# != 0; then
2118 # We chose a different compiler from the bogus one.
2119 # However, it has the same basename, so the bogon will be chosen
2120 # first if we set CC to just the basename; use the full file name.
2121 shift
2122 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2127 CC=$ac_cv_prog_CC
2128 if test -n "$CC"; then
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2130 $as_echo "$CC" >&6; }
2131 else
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2133 $as_echo "no" >&6; }
2138 if test -z "$CC"; then
2139 if test -n "$ac_tool_prefix"; then
2140 for ac_prog in cl.exe
2142 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2143 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2145 $as_echo_n "checking for $ac_word... " >&6; }
2146 if ${ac_cv_prog_CC+:} false; then :
2147 $as_echo_n "(cached) " >&6
2148 else
2149 if test -n "$CC"; then
2150 ac_cv_prog_CC="$CC" # Let the user override the test.
2151 else
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 for as_dir in $PATH
2155 IFS=$as_save_IFS
2156 test -z "$as_dir" && as_dir=.
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2159 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 break 2
2163 done
2164 done
2165 IFS=$as_save_IFS
2169 CC=$ac_cv_prog_CC
2170 if test -n "$CC"; then
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2172 $as_echo "$CC" >&6; }
2173 else
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2175 $as_echo "no" >&6; }
2179 test -n "$CC" && break
2180 done
2182 if test -z "$CC"; then
2183 ac_ct_CC=$CC
2184 for ac_prog in cl.exe
2186 # Extract the first word of "$ac_prog", so it can be a program name with args.
2187 set dummy $ac_prog; ac_word=$2
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2189 $as_echo_n "checking for $ac_word... " >&6; }
2190 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2191 $as_echo_n "(cached) " >&6
2192 else
2193 if test -n "$ac_ct_CC"; then
2194 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2195 else
2196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2197 for as_dir in $PATH
2199 IFS=$as_save_IFS
2200 test -z "$as_dir" && as_dir=.
2201 for ac_exec_ext in '' $ac_executable_extensions; do
2202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2203 ac_cv_prog_ac_ct_CC="$ac_prog"
2204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 break 2
2207 done
2208 done
2209 IFS=$as_save_IFS
2213 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2214 if test -n "$ac_ct_CC"; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2216 $as_echo "$ac_ct_CC" >&6; }
2217 else
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2219 $as_echo "no" >&6; }
2223 test -n "$ac_ct_CC" && break
2224 done
2226 if test "x$ac_ct_CC" = x; then
2227 CC=""
2228 else
2229 case $cross_compiling:$ac_tool_warned in
2230 yes:)
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2233 ac_tool_warned=yes ;;
2234 esac
2235 CC=$ac_ct_CC
2242 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2244 as_fn_error $? "no acceptable C compiler found in \$PATH
2245 See \`config.log' for more details" "$LINENO" 5; }
2247 # Provide some information about the compiler.
2248 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2249 set X $ac_compile
2250 ac_compiler=$2
2251 for ac_option in --version -v -V -qversion; do
2252 { { ac_try="$ac_compiler $ac_option >&5"
2253 case "(($ac_try" in
2254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2255 *) ac_try_echo=$ac_try;;
2256 esac
2257 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2258 $as_echo "$ac_try_echo"; } >&5
2259 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2260 ac_status=$?
2261 if test -s conftest.err; then
2262 sed '10a\
2263 ... rest of stderr output deleted ...
2264 10q' conftest.err >conftest.er1
2265 cat conftest.er1 >&5
2267 rm -f conftest.er1 conftest.err
2268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2269 test $ac_status = 0; }
2270 done
2272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2273 /* end confdefs.h. */
2276 main ()
2280 return 0;
2282 _ACEOF
2283 ac_clean_files_save=$ac_clean_files
2284 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2285 # Try to create an executable without -o first, disregard a.out.
2286 # It will help us diagnose broken compilers, and finding out an intuition
2287 # of exeext.
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2289 $as_echo_n "checking whether the C compiler works... " >&6; }
2290 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2292 # The possible output files:
2293 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2295 ac_rmfiles=
2296 for ac_file in $ac_files
2298 case $ac_file in
2299 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2300 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2301 esac
2302 done
2303 rm -f $ac_rmfiles
2305 if { { ac_try="$ac_link_default"
2306 case "(($ac_try" in
2307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2308 *) ac_try_echo=$ac_try;;
2309 esac
2310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2311 $as_echo "$ac_try_echo"; } >&5
2312 (eval "$ac_link_default") 2>&5
2313 ac_status=$?
2314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2315 test $ac_status = 0; }; then :
2316 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2317 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2318 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2319 # so that the user can short-circuit this test for compilers unknown to
2320 # Autoconf.
2321 for ac_file in $ac_files ''
2323 test -f "$ac_file" || continue
2324 case $ac_file in
2325 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2327 [ab].out )
2328 # We found the default executable, but exeext='' is most
2329 # certainly right.
2330 break;;
2331 *.* )
2332 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2333 then :; else
2334 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2336 # We set ac_cv_exeext here because the later test for it is not
2337 # safe: cross compilers may not add the suffix if given an `-o'
2338 # argument, so we may need to know it at that point already.
2339 # Even if this section looks crufty: it has the advantage of
2340 # actually working.
2341 break;;
2343 break;;
2344 esac
2345 done
2346 test "$ac_cv_exeext" = no && ac_cv_exeext=
2348 else
2349 ac_file=''
2351 if test -z "$ac_file"; then :
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2353 $as_echo "no" >&6; }
2354 $as_echo "$as_me: failed program was:" >&5
2355 sed 's/^/| /' conftest.$ac_ext >&5
2357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2359 as_fn_error 77 "C compiler cannot create executables
2360 See \`config.log' for more details" "$LINENO" 5; }
2361 else
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2363 $as_echo "yes" >&6; }
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2366 $as_echo_n "checking for C compiler default output file name... " >&6; }
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2368 $as_echo "$ac_file" >&6; }
2369 ac_exeext=$ac_cv_exeext
2371 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2372 ac_clean_files=$ac_clean_files_save
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2374 $as_echo_n "checking for suffix of executables... " >&6; }
2375 if { { ac_try="$ac_link"
2376 case "(($ac_try" in
2377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2379 esac
2380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2381 $as_echo "$ac_try_echo"; } >&5
2382 (eval "$ac_link") 2>&5
2383 ac_status=$?
2384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2385 test $ac_status = 0; }; then :
2386 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2387 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2388 # work properly (i.e., refer to `conftest.exe'), while it won't with
2389 # `rm'.
2390 for ac_file in conftest.exe conftest conftest.*; do
2391 test -f "$ac_file" || continue
2392 case $ac_file in
2393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2394 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2395 break;;
2396 * ) break;;
2397 esac
2398 done
2399 else
2400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2402 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2403 See \`config.log' for more details" "$LINENO" 5; }
2405 rm -f conftest conftest$ac_cv_exeext
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2407 $as_echo "$ac_cv_exeext" >&6; }
2409 rm -f conftest.$ac_ext
2410 EXEEXT=$ac_cv_exeext
2411 ac_exeext=$EXEEXT
2412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2413 /* end confdefs.h. */
2414 #include <stdio.h>
2416 main ()
2418 FILE *f = fopen ("conftest.out", "w");
2419 return ferror (f) || fclose (f) != 0;
2422 return 0;
2424 _ACEOF
2425 ac_clean_files="$ac_clean_files conftest.out"
2426 # Check that the compiler produces executables we can run. If not, either
2427 # the compiler is broken, or we cross compile.
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2429 $as_echo_n "checking whether we are cross compiling... " >&6; }
2430 if test "$cross_compiling" != yes; then
2431 { { ac_try="$ac_link"
2432 case "(($ac_try" in
2433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2434 *) ac_try_echo=$ac_try;;
2435 esac
2436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2437 $as_echo "$ac_try_echo"; } >&5
2438 (eval "$ac_link") 2>&5
2439 ac_status=$?
2440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2441 test $ac_status = 0; }
2442 if { ac_try='./conftest$ac_cv_exeext'
2443 { { case "(($ac_try" in
2444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2445 *) ac_try_echo=$ac_try;;
2446 esac
2447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2448 $as_echo "$ac_try_echo"; } >&5
2449 (eval "$ac_try") 2>&5
2450 ac_status=$?
2451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2452 test $ac_status = 0; }; }; then
2453 cross_compiling=no
2454 else
2455 if test "$cross_compiling" = maybe; then
2456 cross_compiling=yes
2457 else
2458 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2460 as_fn_error $? "cannot run C compiled programs.
2461 If you meant to cross compile, use \`--host'.
2462 See \`config.log' for more details" "$LINENO" 5; }
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2467 $as_echo "$cross_compiling" >&6; }
2469 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2470 ac_clean_files=$ac_clean_files_save
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2472 $as_echo_n "checking for suffix of object files... " >&6; }
2473 if ${ac_cv_objext+:} false; then :
2474 $as_echo_n "(cached) " >&6
2475 else
2476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2477 /* end confdefs.h. */
2480 main ()
2484 return 0;
2486 _ACEOF
2487 rm -f conftest.o conftest.obj
2488 if { { ac_try="$ac_compile"
2489 case "(($ac_try" in
2490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2491 *) ac_try_echo=$ac_try;;
2492 esac
2493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2494 $as_echo "$ac_try_echo"; } >&5
2495 (eval "$ac_compile") 2>&5
2496 ac_status=$?
2497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2498 test $ac_status = 0; }; then :
2499 for ac_file in conftest.o conftest.obj conftest.*; do
2500 test -f "$ac_file" || continue;
2501 case $ac_file in
2502 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2503 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2504 break;;
2505 esac
2506 done
2507 else
2508 $as_echo "$as_me: failed program was:" >&5
2509 sed 's/^/| /' conftest.$ac_ext >&5
2511 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2513 as_fn_error $? "cannot compute suffix of object files: cannot compile
2514 See \`config.log' for more details" "$LINENO" 5; }
2516 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2519 $as_echo "$ac_cv_objext" >&6; }
2520 OBJEXT=$ac_cv_objext
2521 ac_objext=$OBJEXT
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2523 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2524 if ${ac_cv_c_compiler_gnu+:} false; then :
2525 $as_echo_n "(cached) " >&6
2526 else
2527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2528 /* end confdefs.h. */
2531 main ()
2533 #ifndef __GNUC__
2534 choke me
2535 #endif
2538 return 0;
2540 _ACEOF
2541 if ac_fn_c_try_compile "$LINENO"; then :
2542 ac_compiler_gnu=yes
2543 else
2544 ac_compiler_gnu=no
2546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2547 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2551 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2552 if test $ac_compiler_gnu = yes; then
2553 GCC=yes
2554 else
2555 GCC=
2557 ac_test_CFLAGS=${CFLAGS+set}
2558 ac_save_CFLAGS=$CFLAGS
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2560 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2561 if ${ac_cv_prog_cc_g+:} false; then :
2562 $as_echo_n "(cached) " >&6
2563 else
2564 ac_save_c_werror_flag=$ac_c_werror_flag
2565 ac_c_werror_flag=yes
2566 ac_cv_prog_cc_g=no
2567 CFLAGS="-g"
2568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2569 /* end confdefs.h. */
2572 main ()
2576 return 0;
2578 _ACEOF
2579 if ac_fn_c_try_compile "$LINENO"; then :
2580 ac_cv_prog_cc_g=yes
2581 else
2582 CFLAGS=""
2583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2584 /* end confdefs.h. */
2587 main ()
2591 return 0;
2593 _ACEOF
2594 if ac_fn_c_try_compile "$LINENO"; then :
2596 else
2597 ac_c_werror_flag=$ac_save_c_werror_flag
2598 CFLAGS="-g"
2599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2600 /* end confdefs.h. */
2603 main ()
2607 return 0;
2609 _ACEOF
2610 if ac_fn_c_try_compile "$LINENO"; then :
2611 ac_cv_prog_cc_g=yes
2613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2618 ac_c_werror_flag=$ac_save_c_werror_flag
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2621 $as_echo "$ac_cv_prog_cc_g" >&6; }
2622 if test "$ac_test_CFLAGS" = set; then
2623 CFLAGS=$ac_save_CFLAGS
2624 elif test $ac_cv_prog_cc_g = yes; then
2625 if test "$GCC" = yes; then
2626 CFLAGS="-g -O2"
2627 else
2628 CFLAGS="-g"
2630 else
2631 if test "$GCC" = yes; then
2632 CFLAGS="-O2"
2633 else
2634 CFLAGS=
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2638 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2639 if ${ac_cv_prog_cc_c89+:} false; then :
2640 $as_echo_n "(cached) " >&6
2641 else
2642 ac_cv_prog_cc_c89=no
2643 ac_save_CC=$CC
2644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2645 /* end confdefs.h. */
2646 #include <stdarg.h>
2647 #include <stdio.h>
2648 struct stat;
2649 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2650 struct buf { int x; };
2651 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2652 static char *e (p, i)
2653 char **p;
2654 int i;
2656 return p[i];
2658 static char *f (char * (*g) (char **, int), char **p, ...)
2660 char *s;
2661 va_list v;
2662 va_start (v,p);
2663 s = g (p, va_arg (v,int));
2664 va_end (v);
2665 return s;
2668 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2669 function prototypes and stuff, but not '\xHH' hex character constants.
2670 These don't provoke an error unfortunately, instead are silently treated
2671 as 'x'. The following induces an error, until -std is added to get
2672 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2673 array size at least. It's necessary to write '\x00'==0 to get something
2674 that's true only with -std. */
2675 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2677 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2678 inside strings and character constants. */
2679 #define FOO(x) 'x'
2680 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2682 int test (int i, double x);
2683 struct s1 {int (*f) (int a);};
2684 struct s2 {int (*f) (double a);};
2685 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2686 int argc;
2687 char **argv;
2689 main ()
2691 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2693 return 0;
2695 _ACEOF
2696 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2697 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2699 CC="$ac_save_CC $ac_arg"
2700 if ac_fn_c_try_compile "$LINENO"; then :
2701 ac_cv_prog_cc_c89=$ac_arg
2703 rm -f core conftest.err conftest.$ac_objext
2704 test "x$ac_cv_prog_cc_c89" != "xno" && break
2705 done
2706 rm -f conftest.$ac_ext
2707 CC=$ac_save_CC
2710 # AC_CACHE_VAL
2711 case "x$ac_cv_prog_cc_c89" in
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2714 $as_echo "none needed" >&6; } ;;
2715 xno)
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2717 $as_echo "unsupported" >&6; } ;;
2719 CC="$CC $ac_cv_prog_cc_c89"
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2721 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2722 esac
2723 if test "x$ac_cv_prog_cc_c89" != xno; then :
2727 ac_ext=c
2728 ac_cpp='$CPP $CPPFLAGS'
2729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2735 $as_echo_n "checking target config location... " >&6; }
2737 # Check whether --with-config-dir was given.
2738 if test "${with_config_dir+set}" = set; then :
2739 withval=$with_config_dir; targetcfg_dir="$withval"
2740 else
2741 targetcfg_dir=""
2744 if test "$targetcfg_dir" = ""; then
2745 as_fn_error $? "missing config directory!" "$LINENO" 5
2746 else
2747 aros_targetcfg_dir="$targetcfg_dir"
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2750 $as_echo "$aros_targetcfg_dir" >&6; }
2752 #-----------------------------------------------------------------------------
2754 # Check if the target compiler supports some features:
2755 # -fexceptions
2756 # -fpermissive
2757 # -ffast-math
2758 # -fno-builtin-floor
2759 # -flto
2760 # -fwhole-program
2761 # -floop-block
2762 # -floop-interchange
2763 # -floop-strip-mine
2764 # -fpeel-loops
2765 # -fstrict-aliasing
2766 # -finline-small-functions
2767 # -fipa-cp
2768 # -funroll-loops
2769 # -fomit-frame-pointer
2770 # -fprofile-arcs
2771 # -ftest-coverage
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2774 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2775 CFLAGS=-fexceptions
2777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2778 /* end confdefs.h. */
2781 main ()
2785 return 0;
2787 _ACEOF
2788 if ac_fn_c_try_compile "$LINENO"; then :
2789 aros_exceptions="yes"
2790 else
2791 aros_exceptions="no"
2793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2795 $as_echo "$aros_exceptions" >&6; }
2796 if test "x-$aros_exceptions" = "x-yes" ; then
2797 aros_cflags_exceptions=-fexceptions
2798 aros_cflags_noexceptions=-fno-exceptions
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpermissive" >&5
2802 $as_echo_n "checking whether ${CC} accepts -fpermissive... " >&6; }
2803 CFLAGS=-fpermissive
2804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2805 /* end confdefs.h. */
2808 main ()
2812 return 0;
2814 _ACEOF
2815 if ac_fn_c_try_compile "$LINENO"; then :
2816 aros_permissive="yes"
2817 else
2818 aros_permissive="no"
2820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
2822 $as_echo "$aros_permissive" >&6; }
2823 if test "x-$aros_permissive" = "x-yes" ; then
2824 aros_cflags_permissive=-fpermissive
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2828 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2829 CFLAGS=-ffast-math
2830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2831 /* end confdefs.h. */
2834 main ()
2838 return 0;
2840 _ACEOF
2841 if ac_fn_c_try_compile "$LINENO"; then :
2842 aros_fast_math="yes"
2843 else
2844 aros_fast_math="no"
2846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2848 $as_echo "$aros_fast_math" >&6; }
2849 if test "x-$aros_fast_math" = "x-yes" ; then
2850 aros_cflags_fast_math=-ffast-math
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
2854 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
2855 CFLAGS=-fno-builtin-floor
2856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2857 /* end confdefs.h. */
2860 main ()
2864 return 0;
2866 _ACEOF
2867 if ac_fn_c_try_compile "$LINENO"; then :
2868 aros_no_builtin_floor="yes"
2869 else
2870 aros_no_builtin_floor="no"
2872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
2874 $as_echo "$aros_no_builtin_floor" >&6; }
2875 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
2876 aros_cflags_no_builtin_floor=-fno-builtin-floor
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2880 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2881 CFLAGS=-flto
2882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2886 main ()
2890 return 0;
2892 _ACEOF
2893 if ac_fn_c_try_compile "$LINENO"; then :
2894 aros_lto="yes"
2895 else
2896 aros_lto="no"
2898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2900 $as_echo "$aros_lto" >&6; }
2901 if test "x-$aros_lto" = "x-yes" ; then
2902 aros_cflags_lto=-flto
2903 aros_cflags_nolto=-fno-lto
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2906 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2907 CFLAGS=-fwhole-program
2908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2909 /* end confdefs.h. */
2912 main ()
2916 return 0;
2918 _ACEOF
2919 if ac_fn_c_try_compile "$LINENO"; then :
2920 aros_whole_program="yes"
2921 else
2922 aros_whole_program="no"
2924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2926 $as_echo "$aros_whole_program" >&6; }
2927 if test "x-$aros_whole_program" = "x-yes" ; then
2928 aros_cflags_whole_program=-fwhole-program
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2932 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2933 CFLAGS=-floop-block
2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2938 main ()
2942 return 0;
2944 _ACEOF
2945 if ac_fn_c_try_compile "$LINENO"; then :
2946 aros_loop_block="yes"
2947 else
2948 aros_loop_block="no"
2950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2952 $as_echo "$aros_loop_block" >&6; }
2953 if test "x-$aros_loop_block" = "x-yes" ; then
2954 aros_cflags_loop_block=-floop-block
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2958 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2959 CFLAGS=-floop-interchange
2960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2961 /* end confdefs.h. */
2964 main ()
2968 return 0;
2970 _ACEOF
2971 if ac_fn_c_try_compile "$LINENO"; then :
2972 aros_loop_interchange="yes"
2973 else
2974 aros_loop_interchange="no"
2976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2978 $as_echo "$aros_loop_interchange" >&6; }
2979 if test "x-$aros_loop_interchange" = "x-yes" ; then
2980 aros_cflags_loop_interchange=-floop-interchange
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2984 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2985 CFLAGS=-floop-strip-mine
2986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2987 /* end confdefs.h. */
2990 main ()
2994 return 0;
2996 _ACEOF
2997 if ac_fn_c_try_compile "$LINENO"; then :
2998 aros_loop_strip_mine="yes"
2999 else
3000 aros_loop_strip_mine="no"
3002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
3004 $as_echo "$aros_loop_strip_mine" >&6; }
3005 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
3006 aros_cflags_loop_strip_mine=-floop-strip-mine
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
3011 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
3012 CFLAGS=-fpeel-loops
3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3014 /* end confdefs.h. */
3017 main ()
3021 return 0;
3023 _ACEOF
3024 if ac_fn_c_try_compile "$LINENO"; then :
3025 aros_peel_loops="yes"
3026 else
3027 aros_peel_loops="no"
3029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
3031 $as_echo "$aros_peel_loops" >&6; }
3032 if test "x-$aros_peel_loops" = "x-yes" ; then
3033 aros_cflags_peel_loops=-fpeel-loops
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3037 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3038 CFLAGS=-funroll-loops
3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 /* end confdefs.h. */
3043 main ()
3047 return 0;
3049 _ACEOF
3050 if ac_fn_c_try_compile "$LINENO"; then :
3051 aros_unroll_loops="yes"
3052 else
3053 aros_unroll_loops="no"
3055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3057 $as_echo "$aros_unroll_loops" >&6; }
3058 if test "x-$aros_unroll_loops" = "x-yes" ; then
3059 aros_cflags_unroll_loops=-funroll-loops
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3063 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3064 CFLAGS=-fstrict-aliasing
3065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3066 /* end confdefs.h. */
3069 main ()
3073 return 0;
3075 _ACEOF
3076 if ac_fn_c_try_compile "$LINENO"; then :
3077 aros_strict_aliasing="yes"
3078 else
3079 aros_strict_aliasing="no"
3081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3083 $as_echo "$aros_strict_aliasing" >&6; }
3084 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3085 aros_cflags_strictaliasing=-fstrict-aliasing
3086 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3090 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3091 CFLAGS=-finline-small-functions
3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3093 /* end confdefs.h. */
3096 main ()
3100 return 0;
3102 _ACEOF
3103 if ac_fn_c_try_compile "$LINENO"; then :
3104 aros_inline_small_functions="yes"
3105 else
3106 aros_inline_small_functions="no"
3108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3110 $as_echo "$aros_inline_small_functions" >&6; }
3111 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3112 aros_cflags_inlinesmallfunctions=-finline-small-functions
3113 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fipa-cp" >&5
3117 $as_echo_n "checking whether ${CC} accepts -fipa-cp... " >&6; }
3118 CFLAGS=-fipa-cp
3119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3120 /* end confdefs.h. */
3123 main ()
3127 return 0;
3129 _ACEOF
3130 if ac_fn_c_try_compile "$LINENO"; then :
3131 aros_ipa_cp="yes"
3132 else
3133 aros_ipa_cp="no"
3135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ipa_cp" >&5
3137 $as_echo "$aros_ipa_cp" >&6; }
3138 if test "x-$aros_ipa_cp" = "x-yes" ; then
3139 aros_cflags_ipacp=-fipa-cp
3140 aros_cflags_noipacp=-fno-ipa-cp
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fomit-frame-pointer" >&5
3144 $as_echo_n "checking whether ${CC} accepts -fomit-frame-pointer... " >&6; }
3145 CFLAGS=-fomit-frame-pointer
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_omit_frame_pointer="yes"
3159 else
3160 aros_omit_frame_pointer="no"
3162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_omit_frame_pointer" >&5
3164 $as_echo "$aros_omit_frame_pointer" >&6; }
3165 if test "x-$aros_omit_frame_pointer" = "x-yes" ; then
3166 aros_cflags_omitfp=-fomit-frame-pointer
3167 aros_cflags_noomitfp=-fno-omit-frame-pointer
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fprofile-arcs" >&5
3171 $as_echo_n "checking whether ${CC} accepts -fprofile-arcs... " >&6; }
3172 CFLAGS=-fprofile-arcs
3173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h. */
3177 main ()
3181 return 0;
3183 _ACEOF
3184 if ac_fn_c_try_compile "$LINENO"; then :
3185 aros_profile_arcs="yes"
3186 else
3187 aros_profile_arcs="no"
3189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_profile_arcs" >&5
3191 $as_echo "$aros_profile_arcs" >&6; }
3192 if test "x-$aros_profile_arcs" = "x-yes" ; then
3193 aros_cflags_profilearcs=-fprofile-arcs
3194 aros_cflags_noprofilearcs=-fno-profile-arcs
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ftest-coverage" >&5
3198 $as_echo_n "checking whether ${CC} accepts -ftest-coverage... " >&6; }
3199 CFLAGS=-ftest-coverage
3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3201 /* end confdefs.h. */
3204 main ()
3208 return 0;
3210 _ACEOF
3211 if ac_fn_c_try_compile "$LINENO"; then :
3212 aros_test_coverage="yes"
3213 else
3214 aros_test_coverage="no"
3216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_test_coverage" >&5
3218 $as_echo "$aros_test_coverage" >&6; }
3219 if test "x-$aros_test_coverage" = "x-yes" ; then
3220 aros_cflags_testcoverage=-ftest-coverage
3221 aros_cflags_notestcoverage=-fno-test-coverage
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3228 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3229 CFLAGS="-iquote."
3230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3231 /* end confdefs.h. */
3234 main ()
3238 return 0;
3240 _ACEOF
3241 if ac_fn_c_try_compile "$LINENO"; then :
3242 has_iquote="yes"
3243 else
3244 has_iquote="no"
3246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3248 $as_echo "$has_iquote" >&6; }
3249 if test "x-$has_iquote" = "x-yes" ; then
3250 aros_cflags_iquote=-iquote
3251 aros_cflags_iquote_end=
3252 else
3253 aros_cflags_iquote=-I
3254 aros_cflags_iquote_end=-I-
3257 #-----------------------------------------------------------------------------
3259 # Check if the target compiler supports some options:
3260 # -mno-red-zone
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mno-red-zone" >&5
3263 $as_echo_n "checking whether ${CC} accepts -mno-red-zone... " >&6; }
3264 CFLAGS=-mno-red-zone
3265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3266 /* end confdefs.h. */
3269 main ()
3273 return 0;
3275 _ACEOF
3276 if ac_fn_c_try_compile "$LINENO"; then :
3277 aros_no_red_zone="yes"
3278 else
3279 aros_no_red_zone="no"
3281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3283 $as_echo "$aros_no_red_zone" >&6; }
3284 if test "x-$aros_no_red_zone" = "x-yes" ; then
3285 aros_cflags_no_red_zone=-mno-red-zone
3288 #-----------------------------------------------------------------------------
3290 # Check if the target compiler supports some options used for de-linting:
3291 # -Werror
3292 # -Wall
3293 # -Wrestrict
3294 # -Wunused-command-line-argument
3295 # -Wunknown-warning-option
3296 # -Wunused-but-set-variable
3297 # -Wstrict-aliasing
3298 # -Warray-bounds
3299 # -Wenum-compare
3300 # -Wstrict-prototypes
3301 # -Wstrict-overflow
3302 # -Wformat-security
3303 # -Wmisleading-indentation
3304 # -Wnonnull-compare
3305 # -Wunused
3306 # -Wunused-label
3307 # -Wunused-value
3308 # -Wunused-variable
3309 # -Wunused-function
3310 # -Wunused-parameter
3311 # -Wuninitialized
3312 # -Wmaybe-uninitialized
3313 # -Wimplicit-function-declaration
3314 # -Wformat
3315 # -Wparentheses
3316 # -Wchar-subscripts
3317 # -Wendif-labels
3318 # -Wformat-contains-nul
3319 # -Wimplicit-int
3320 # -Waggressive-loop-optimizations
3321 # -Wcpp
3322 # -Wswitch
3323 # -Wdiscarded-qualifiers
3324 # -Wsequence-point
3325 # -Wunknown-pragmas
3326 # -Wdiscarded-array-qualifiers
3327 # -Wint-conversion
3328 # -Wint-to-pointer-cast
3329 # -Wpointer-to-int-cast
3330 # -Wunused-const-variable
3331 # -Wwrite-strings
3332 # -Wcomment
3333 # -Wincompatible-pointer-types
3334 # -Wbool-compare
3335 # -Wlogical-not-parentheses
3336 # -Wpointer-sign
3337 # -Wshift-overflow
3338 # -Wframe-address
3339 # -Wdeprecated-declarations
3340 # -Wsign-compare
3341 # -Wattributes
3342 # -Woverflow
3343 # -Wunused-local-typedefs
3344 # -Wmissing-braces
3345 # -Wconversion-null
3346 # -Wnarrowing
3347 # -Wvolatile-register-var
3348 # -Wsizeof-pointer-memaccess
3349 # -Wreturn-type
3350 # -Wformat-zero-length
3351 # -Wlto-type-mismatch
3352 # -Wtautological-compare
3353 # -Wempty-body
3354 # -Wformat-overflow
3355 # -Wstringop-overflow
3356 # -Wformat-truncation
3357 # -Wstringop-truncation
3358 # -Wshift-negative-value
3359 # -Wmissing-field-initializers
3360 # -Wimplicit-fallthrough
3361 # -Wmissing-prototypes
3362 # -Wclass-memaccess
3363 # -Wint-in-bool-context
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
3366 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
3367 CFLAGS=-Werror
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3372 main ()
3376 return 0;
3378 _ACEOF
3379 if ac_fn_c_try_compile "$LINENO"; then :
3380 aros_error="yes"
3381 else
3382 aros_error="no"
3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
3386 $as_echo "$aros_error" >&6; }
3387 if test "x-$aros_error" = "x-yes" ; then
3388 aros_warnflags_error=-Werror
3389 aros_nowarnflags_error=-Wno-error
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wall" >&5
3393 $as_echo_n "checking whether ${CC} accepts -Wall... " >&6; }
3394 CFLAGS=-Wall
3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3399 main ()
3403 return 0;
3405 _ACEOF
3406 if ac_fn_c_try_compile "$LINENO"; then :
3407 aros_all="yes"
3408 else
3409 aros_all="no"
3411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_all" >&5
3413 $as_echo "$aros_all" >&6; }
3414 if test "x-$aros_all" = "x-yes" ; then
3415 aros_warnflags_all=-Wall
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wrestrict" >&5
3419 $as_echo_n "checking whether ${CC} accepts -Wrestrict... " >&6; }
3420 CFLAGS=-Wrestrict
3421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3422 /* end confdefs.h. */
3425 main ()
3429 return 0;
3431 _ACEOF
3432 if ac_fn_c_try_compile "$LINENO"; then :
3433 aros_restrict="yes"
3434 else
3435 aros_restrict="no"
3437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_restrict" >&5
3439 $as_echo "$aros_restrict" >&6; }
3440 if test "x-$aros_restrict" = "x-yes" ; then
3441 aros_warnflags_restrict=-Wrestrict
3442 aros_nowarnflags_restrict=-Wno-restrict
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3446 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3447 CFLAGS=-Wunused-command-line-argument
3448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3449 /* end confdefs.h. */
3452 main ()
3456 return 0;
3458 _ACEOF
3459 if ac_fn_c_try_compile "$LINENO"; then :
3460 aros_unused_command_line_argument="yes"
3461 else
3462 aros_unused_command_line_argument="no"
3464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3466 $as_echo "$aros_unused_command_line_argument" >&6; }
3467 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3468 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3469 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3473 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3474 CFLAGS=-Wunknown-warning-option
3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476 /* end confdefs.h. */
3479 main ()
3483 return 0;
3485 _ACEOF
3486 if ac_fn_c_try_compile "$LINENO"; then :
3487 aros_unknown_warning_option="yes"
3488 else
3489 aros_unknown_warning_option="no"
3491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3493 $as_echo "$aros_unknown_warning_option" >&6; }
3494 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3495 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3496 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3500 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3501 CFLAGS=-Wunused-but-set-variable
3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3503 /* end confdefs.h. */
3506 main ()
3510 return 0;
3512 _ACEOF
3513 if ac_fn_c_try_compile "$LINENO"; then :
3514 aros_unused_but_set_variable="yes"
3515 else
3516 aros_unused_but_set_variable="no"
3518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3520 $as_echo "$aros_unused_but_set_variable" >&6; }
3521 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3522 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3523 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3527 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3528 CFLAGS=-Wstrict-aliasing
3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3530 /* end confdefs.h. */
3533 main ()
3537 return 0;
3539 _ACEOF
3540 if ac_fn_c_try_compile "$LINENO"; then :
3541 aros_strict_aliasing="yes"
3542 else
3543 aros_strict_aliasing="no"
3545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3547 $as_echo "$aros_strict_aliasing" >&6; }
3548 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3549 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3550 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3554 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3555 CFLAGS=-Warray-bounds
3556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557 /* end confdefs.h. */
3560 main ()
3564 return 0;
3566 _ACEOF
3567 if ac_fn_c_try_compile "$LINENO"; then :
3568 aros_array_bounds="yes"
3569 else
3570 aros_array_bounds="no"
3572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3574 $as_echo "$aros_array_bounds" >&6; }
3575 if test "x-$aros_array_bounds" = "x-yes" ; then
3576 aros_warnflags_array_bounds=-Warray-bounds
3577 aros_nowarnflags_array_bounds=-Wno-array-bounds
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3581 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3582 CFLAGS=-Wenum-compare
3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h. */
3587 main ()
3591 return 0;
3593 _ACEOF
3594 if ac_fn_c_try_compile "$LINENO"; then :
3595 aros_enum_compare="yes"
3596 else
3597 aros_enum_compare="no"
3599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3601 $as_echo "$aros_enum_compare" >&6; }
3602 if test "x-$aros_enum_compare" = "x-yes" ; then
3603 aros_warnflags_enum_compare=-Wenum-compare
3604 aros_nowarnflags_enum_compare=-Wno-enum-compare
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3608 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3609 CFLAGS=-Wstrict-prototypes
3610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3611 /* end confdefs.h. */
3614 main ()
3618 return 0;
3620 _ACEOF
3621 if ac_fn_c_try_compile "$LINENO"; then :
3622 aros_strict_prototypes="yes"
3623 else
3624 aros_strict_prototypes="no"
3626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3628 $as_echo "$aros_strict_prototypes" >&6; }
3629 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3630 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3631 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3635 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3636 CFLAGS=-Wstrict-overflow
3637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3638 /* end confdefs.h. */
3641 main ()
3645 return 0;
3647 _ACEOF
3648 if ac_fn_c_try_compile "$LINENO"; then :
3649 aros_strict_overflow="yes"
3650 else
3651 aros_strict_overflow="no"
3653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3655 $as_echo "$aros_strict_overflow" >&6; }
3656 if test "x-$aros_strict_overflow" = "x-yes" ; then
3657 aros_warnflags_strict_overflow=-Wstrict-overflow
3658 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3662 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3663 CFLAGS=-Wformat-security
3664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3665 /* end confdefs.h. */
3668 main ()
3672 return 0;
3674 _ACEOF
3675 if ac_fn_c_try_compile "$LINENO"; then :
3676 aros_format_security="yes"
3677 else
3678 aros_format_security="no"
3680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3682 $as_echo "$aros_format_security" >&6; }
3683 if test "x-$aros_format_security" = "x-yes" ; then
3684 aros_warnflags_format_security=-Wformat-security
3685 aros_nowarnflags_format_security=-Wno-format-security
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3689 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3690 CFLAGS=-Wmisleading-indentation
3691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3692 /* end confdefs.h. */
3695 main ()
3699 return 0;
3701 _ACEOF
3702 if ac_fn_c_try_compile "$LINENO"; then :
3703 aros_misleading_indentation="yes"
3704 else
3705 aros_misleading_indentation="no"
3707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3709 $as_echo "$aros_misleading_indentation" >&6; }
3710 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3711 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3712 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3716 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3717 CFLAGS=-Wnonnull-compare
3718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3719 /* end confdefs.h. */
3722 main ()
3726 return 0;
3728 _ACEOF
3729 if ac_fn_c_try_compile "$LINENO"; then :
3730 aros_nonnull_compare="yes"
3731 else
3732 aros_nonnull_compare="no"
3734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3736 $as_echo "$aros_nonnull_compare" >&6; }
3737 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3738 aros_warnflags_nonnull_compare=-Wnonnull-compare
3739 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3743 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3744 CFLAGS=-Wunused
3745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3746 /* end confdefs.h. */
3749 main ()
3753 return 0;
3755 _ACEOF
3756 if ac_fn_c_try_compile "$LINENO"; then :
3757 aros_unused="yes"
3758 else
3759 aros_unused="no"
3761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3763 $as_echo "$aros_unused" >&6; }
3764 if test "x-$aros_unused" = "x-yes" ; then
3765 aros_warnflags_unused=-Wunused
3766 aros_nowarnflags_unused=-Wno-unused
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
3770 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
3771 CFLAGS=-Wunused-label
3772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3773 /* end confdefs.h. */
3776 main ()
3780 return 0;
3782 _ACEOF
3783 if ac_fn_c_try_compile "$LINENO"; then :
3784 aros_unused_label="yes"
3785 else
3786 aros_unused_label="no"
3788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
3790 $as_echo "$aros_unused_label" >&6; }
3791 if test "x-$aros_unused_label" = "x-yes" ; then
3792 aros_warnflags_unused_label=-Wunused-label
3793 aros_nowarnflags_unused_label=-Wno-unused-label
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3797 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3798 CFLAGS=-Wunused-value
3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h. */
3803 main ()
3807 return 0;
3809 _ACEOF
3810 if ac_fn_c_try_compile "$LINENO"; then :
3811 aros_unused_value="yes"
3812 else
3813 aros_unused_value="no"
3815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3817 $as_echo "$aros_unused_value" >&6; }
3818 if test "x-$aros_unused_value" = "x-yes" ; then
3819 aros_warnflags_unused_value=-Wunused-value
3820 aros_nowarnflags_unused_value=-Wno-unused-value
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3824 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3825 CFLAGS=-Wunused-variable
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3830 main ()
3834 return 0;
3836 _ACEOF
3837 if ac_fn_c_try_compile "$LINENO"; then :
3838 aros_unused_variable="yes"
3839 else
3840 aros_unused_variable="no"
3842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3844 $as_echo "$aros_unused_variable" >&6; }
3845 if test "x-$aros_unused_variable" = "x-yes" ; then
3846 aros_warnflags_unused_variable=-Wunused-variable
3847 aros_nowarnflags_unused_variable=-Wno-unused-variable
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3851 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3852 CFLAGS=-Wunused-function
3853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3854 /* end confdefs.h. */
3857 main ()
3861 return 0;
3863 _ACEOF
3864 if ac_fn_c_try_compile "$LINENO"; then :
3865 aros_unused_function="yes"
3866 else
3867 aros_unused_function="no"
3869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3871 $as_echo "$aros_unused_function" >&6; }
3872 if test "x-$aros_unused_function" = "x-yes" ; then
3873 aros_warnflags_unused_function=-Wunused-function
3874 aros_nowarnflags_unused_function=-Wno-unused-function
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3878 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3879 CFLAGS=-Wunused-parameter
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3884 main ()
3888 return 0;
3890 _ACEOF
3891 if ac_fn_c_try_compile "$LINENO"; then :
3892 aros_unused_parameter="yes"
3893 else
3894 aros_unused_parameter="no"
3896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3898 $as_echo "$aros_unused_parameter" >&6; }
3899 if test "x-$aros_unused_parameter" = "x-yes" ; then
3900 aros_warnflags_unused_parameter=-Wunused-parameter
3901 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3905 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3906 CFLAGS=-Wuninitialized
3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h. */
3911 main ()
3915 return 0;
3917 _ACEOF
3918 if ac_fn_c_try_compile "$LINENO"; then :
3919 aros_uninitialized="yes"
3920 else
3921 aros_uninitialized="no"
3923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3925 $as_echo "$aros_uninitialized" >&6; }
3926 if test "x-$aros_uninitialized" = "x-yes" ; then
3927 aros_warnflags_uninitialized=-Wuninitialized
3928 aros_nowarnflags_uninitialized=-Wno-uninitialized
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3932 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3933 CFLAGS=-Wmaybe-uninitialized
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h. */
3938 main ()
3942 return 0;
3944 _ACEOF
3945 if ac_fn_c_try_compile "$LINENO"; then :
3946 aros_maybe_uninitialized="yes"
3947 else
3948 aros_maybe_uninitialized="no"
3950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3952 $as_echo "$aros_maybe_uninitialized" >&6; }
3953 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3954 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
3955 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
3956 else
3957 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
3958 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3962 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3963 CFLAGS=-Wimplicit-function-declaration
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3968 main ()
3972 return 0;
3974 _ACEOF
3975 if ac_fn_c_try_compile "$LINENO"; then :
3976 aros_implicit_function_declaration="yes"
3977 else
3978 aros_implicit_function_declaration="no"
3980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3982 $as_echo "$aros_implicit_function_declaration" >&6; }
3983 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3984 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
3985 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3989 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3990 CFLAGS=-Wformat
3991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3992 /* end confdefs.h. */
3995 main ()
3999 return 0;
4001 _ACEOF
4002 if ac_fn_c_try_compile "$LINENO"; then :
4003 aros_format="yes"
4004 else
4005 aros_format="no"
4007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
4009 $as_echo "$aros_format" >&6; }
4010 if test "x-$aros_format" = "x-yes" ; then
4011 aros_warnflags_format=-Wformat
4012 aros_nowarnflags_format=-Wno-format
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
4016 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
4017 CFLAGS=-Wparentheses
4018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4019 /* end confdefs.h. */
4022 main ()
4026 return 0;
4028 _ACEOF
4029 if ac_fn_c_try_compile "$LINENO"; then :
4030 aros_parentheses="yes"
4031 else
4032 aros_parentheses="no"
4034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
4036 $as_echo "$aros_parentheses" >&6; }
4037 if test "x-$aros_parentheses" = "x-yes" ; then
4038 aros_warnflags_parentheses=-Wparentheses
4039 aros_nowarnflags_parentheses=-Wno-parentheses
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
4043 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
4044 CFLAGS=-Wchar-subscripts
4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4049 main ()
4053 return 0;
4055 _ACEOF
4056 if ac_fn_c_try_compile "$LINENO"; then :
4057 aros_char_subscripts="yes"
4058 else
4059 aros_char_subscripts="no"
4061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
4063 $as_echo "$aros_char_subscripts" >&6; }
4064 if test "x-$aros_char_subscripts" = "x-yes" ; then
4065 aros_warnflags_char_subscripts=-Wchar-subscripts
4066 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
4070 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
4071 CFLAGS=-Wendif-labels
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4076 main ()
4080 return 0;
4082 _ACEOF
4083 if ac_fn_c_try_compile "$LINENO"; then :
4084 aros_endif_labels="yes"
4085 else
4086 aros_endif_labels="no"
4088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
4090 $as_echo "$aros_endif_labels" >&6; }
4091 if test "x-$aros_endif_labels" = "x-yes" ; then
4092 aros_warnflags_endif_labels=-Wendif-labels
4093 aros_nowarnflags_endif_labels=-Wno-endif-labels
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
4097 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
4098 CFLAGS=-Wformat-contains-nul
4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4103 main ()
4107 return 0;
4109 _ACEOF
4110 if ac_fn_c_try_compile "$LINENO"; then :
4111 aros_format_contains_nul="yes"
4112 else
4113 aros_format_contains_nul="no"
4115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
4117 $as_echo "$aros_format_contains_nul" >&6; }
4118 if test "x-$aros_format_contains_nul" = "x-yes" ; then
4119 aros_warnflags_format_contains_nul=-Wformat-contains-nul
4120 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
4124 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
4125 CFLAGS=-Wimplicit-int
4126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h. */
4130 main ()
4134 return 0;
4136 _ACEOF
4137 if ac_fn_c_try_compile "$LINENO"; then :
4138 aros_implicit_int="yes"
4139 else
4140 aros_implicit_int="no"
4142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
4144 $as_echo "$aros_implicit_int" >&6; }
4145 if test "x-$aros_implicit_int" = "x-yes" ; then
4146 aros_warnflags_implicit_int=-Wimplicit-int
4147 aros_nowarnflags_implicit_int=-Wno-implicit-int
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
4151 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
4152 CFLAGS=-Waggressive-loop-optimizations
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4157 main ()
4161 return 0;
4163 _ACEOF
4164 if ac_fn_c_try_compile "$LINENO"; then :
4165 aros_aggressive_loop_optimizations="yes"
4166 else
4167 aros_aggressive_loop_optimizations="no"
4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
4171 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
4172 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
4173 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
4174 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
4178 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
4179 CFLAGS=-Wcpp
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4184 main ()
4188 return 0;
4190 _ACEOF
4191 if ac_fn_c_try_compile "$LINENO"; then :
4192 aros_cpp="yes"
4193 else
4194 aros_cpp="no"
4196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
4198 $as_echo "$aros_cpp" >&6; }
4199 if test "x-$aros_cpp" = "x-yes" ; then
4200 aros_warnflags_cpp=-Wcpp
4201 aros_nowarnflags_cpp=-Wno-cpp
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
4205 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
4206 CFLAGS=-Wswitch
4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4211 main ()
4215 return 0;
4217 _ACEOF
4218 if ac_fn_c_try_compile "$LINENO"; then :
4219 aros_switch="yes"
4220 else
4221 aros_switch="no"
4223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
4225 $as_echo "$aros_switch" >&6; }
4226 if test "x-$aros_switch" = "x-yes" ; then
4227 aros_warnflags_switch=-Wswitch
4228 aros_nowarnflags_switch=-Wno-switch
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
4232 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
4233 CFLAGS=-Wdiscarded-qualifiers
4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4238 main ()
4242 return 0;
4244 _ACEOF
4245 if ac_fn_c_try_compile "$LINENO"; then :
4246 aros_discarded_qualifiers="yes"
4247 else
4248 aros_discarded_qualifiers="no"
4250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
4252 $as_echo "$aros_discarded_qualifiers" >&6; }
4253 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
4254 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
4255 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
4259 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
4260 CFLAGS=-Wsequence-point
4261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h. */
4265 main ()
4269 return 0;
4271 _ACEOF
4272 if ac_fn_c_try_compile "$LINENO"; then :
4273 aros_sequence_point="yes"
4274 else
4275 aros_sequence_point="no"
4277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
4279 $as_echo "$aros_sequence_point" >&6; }
4280 if test "x-$aros_sequence_point" = "x-yes" ; then
4281 aros_warnflags_sequence_point=-Wsequence-point
4282 aros_nowarnflags_sequence_point=-Wno-sequence-point
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
4286 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
4287 CFLAGS=-Wunknown-pragmas
4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4289 /* end confdefs.h. */
4292 main ()
4296 return 0;
4298 _ACEOF
4299 if ac_fn_c_try_compile "$LINENO"; then :
4300 aros_unknown_pragmas="yes"
4301 else
4302 aros_unknown_pragmas="no"
4304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
4306 $as_echo "$aros_unknown_pragmas" >&6; }
4307 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
4308 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
4309 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
4313 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
4314 CFLAGS=-Wdiscarded-array-qualifiers
4315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4316 /* end confdefs.h. */
4319 main ()
4323 return 0;
4325 _ACEOF
4326 if ac_fn_c_try_compile "$LINENO"; then :
4327 aros_discarded_array_qualifiers="yes"
4328 else
4329 aros_discarded_array_qualifiers="no"
4331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
4333 $as_echo "$aros_discarded_array_qualifiers" >&6; }
4334 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
4335 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
4336 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4340 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4341 CFLAGS=-Wint-conversion
4342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4343 /* end confdefs.h. */
4346 main ()
4350 return 0;
4352 _ACEOF
4353 if ac_fn_c_try_compile "$LINENO"; then :
4354 aros_int_conversion="yes"
4355 else
4356 aros_int_conversion="no"
4358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4360 $as_echo "$aros_int_conversion" >&6; }
4361 if test "x-$aros_int_conversion" = "x-yes" ; then
4362 aros_warnflags_int_conversion=-Wint-conversion
4363 aros_nowarnflags_int_conversion=-Wno-int-conversion
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
4367 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
4368 CFLAGS=-Wint-to-pointer-cast
4369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h. */
4373 main ()
4377 return 0;
4379 _ACEOF
4380 if ac_fn_c_try_compile "$LINENO"; then :
4381 aros_int_to_pointer_cast="yes"
4382 else
4383 aros_int_to_pointer_cast="no"
4385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
4387 $as_echo "$aros_int_to_pointer_cast" >&6; }
4388 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
4389 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
4390 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
4394 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
4395 CFLAGS=-Wpointer-to-int-cast
4396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4397 /* end confdefs.h. */
4400 main ()
4404 return 0;
4406 _ACEOF
4407 if ac_fn_c_try_compile "$LINENO"; then :
4408 aros_pointer_to_int_cast="yes"
4409 else
4410 aros_pointer_to_int_cast="no"
4412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
4414 $as_echo "$aros_pointer_to_int_cast" >&6; }
4415 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
4416 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
4417 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
4421 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
4422 CFLAGS=-Wunused-const-variable
4423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4424 /* end confdefs.h. */
4427 main ()
4431 return 0;
4433 _ACEOF
4434 if ac_fn_c_try_compile "$LINENO"; then :
4435 aros_unused_const_variable="yes"
4436 else
4437 aros_unused_const_variable="no"
4439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
4441 $as_echo "$aros_unused_const_variable" >&6; }
4442 if test "x-$aros_unused_const_variable" = "x-yes" ; then
4443 aros_warnflags_unused_const_variable=-Wunused-const-variable
4444 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
4448 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
4449 CFLAGS=-Wwrite-strings
4450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4451 /* end confdefs.h. */
4454 main ()
4458 return 0;
4460 _ACEOF
4461 if ac_fn_c_try_compile "$LINENO"; then :
4462 aros_write_strings="yes"
4463 else
4464 aros_write_strings="no"
4466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4468 $as_echo "$aros_write_strings" >&6; }
4469 if test "x-$aros_write_strings" = "x-yes" ; then
4470 aros_warnflags_write_strings=-Wwrite-strings
4471 aros_nowarnflags_write_strings=-Wno-write-strings
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4475 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4476 CFLAGS=-Wcomment
4477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4481 main ()
4485 return 0;
4487 _ACEOF
4488 if ac_fn_c_try_compile "$LINENO"; then :
4489 aros_comment="yes"
4490 else
4491 aros_comment="no"
4493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4495 $as_echo "$aros_comment" >&6; }
4496 if test "x-$aros_comment" = "x-yes" ; then
4497 aros_warnflags_comment=-Wcomment
4498 aros_nowarnflags_comment=-Wno-comment
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4502 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4503 CFLAGS=-Wincompatible-pointer-types
4504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4508 main ()
4512 return 0;
4514 _ACEOF
4515 if ac_fn_c_try_compile "$LINENO"; then :
4516 aros_incompatible_pointer_types="yes"
4517 else
4518 aros_incompatible_pointer_types="no"
4520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4522 $as_echo "$aros_incompatible_pointer_types" >&6; }
4523 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4524 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4525 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4529 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4530 CFLAGS=-Wbool-compare
4531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4532 /* end confdefs.h. */
4535 main ()
4539 return 0;
4541 _ACEOF
4542 if ac_fn_c_try_compile "$LINENO"; then :
4543 aros_bool_compare="yes"
4544 else
4545 aros_bool_compare="no"
4547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4549 $as_echo "$aros_bool_compare" >&6; }
4550 if test "x-$aros_bool_compare" = "x-yes" ; then
4551 aros_warnflags_bool_compare=-Wbool-compare
4552 aros_nowarnflags_bool_compare=-Wno-bool-compare
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4556 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4557 CFLAGS=-Wlogical-not-parentheses
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4562 main ()
4566 return 0;
4568 _ACEOF
4569 if ac_fn_c_try_compile "$LINENO"; then :
4570 aros_logical_not_parentheses="yes"
4571 else
4572 aros_logical_not_parentheses="no"
4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4576 $as_echo "$aros_logical_not_parentheses" >&6; }
4577 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4578 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4579 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4583 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4584 CFLAGS=-Wpointer-sign
4585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4586 /* end confdefs.h. */
4589 main ()
4593 return 0;
4595 _ACEOF
4596 if ac_fn_c_try_compile "$LINENO"; then :
4597 aros_pointer_sign="yes"
4598 else
4599 aros_pointer_sign="no"
4601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4603 $as_echo "$aros_pointer_sign" >&6; }
4604 if test "x-$aros_pointer_sign" = "x-yes" ; then
4605 aros_warnflags_pointer_sign=-Wpointer-sign
4606 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4610 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4611 CFLAGS=-Wshift-overflow
4612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4616 main ()
4620 return 0;
4622 _ACEOF
4623 if ac_fn_c_try_compile "$LINENO"; then :
4624 aros_shift_overflow="yes"
4625 else
4626 aros_shift_overflow="no"
4628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4630 $as_echo "$aros_shift_overflow" >&6; }
4631 if test "x-$aros_shift_overflow" = "x-yes" ; then
4632 aros_warnflags_shift_overflow=-Wshift-overflow
4633 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4637 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4638 CFLAGS=-Wframe-address
4639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h. */
4643 main ()
4647 return 0;
4649 _ACEOF
4650 if ac_fn_c_try_compile "$LINENO"; then :
4651 aros_frame_address="yes"
4652 else
4653 aros_frame_address="no"
4655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4657 $as_echo "$aros_frame_address" >&6; }
4658 if test "x-$aros_frame_address" = "x-yes" ; then
4659 aros_warnflags_frame_address=-Wframe-address
4660 aros_nowarnflags_frame_address=-Wno-frame-address
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4664 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4665 CFLAGS=-Wdeprecated-declarations
4666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4667 /* end confdefs.h. */
4670 main ()
4674 return 0;
4676 _ACEOF
4677 if ac_fn_c_try_compile "$LINENO"; then :
4678 aros_deprecated_declarations="yes"
4679 else
4680 aros_deprecated_declarations="no"
4682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4684 $as_echo "$aros_deprecated_declarations" >&6; }
4685 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4686 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4687 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4691 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4692 CFLAGS=-Wsign-compare
4693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h. */
4697 main ()
4701 return 0;
4703 _ACEOF
4704 if ac_fn_c_try_compile "$LINENO"; then :
4705 aros_sign_compare="yes"
4706 else
4707 aros_sign_compare="no"
4709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4711 $as_echo "$aros_sign_compare" >&6; }
4712 if test "x-$aros_sign_compare" = "x-yes" ; then
4713 aros_warnflags_sign_compare=-Wsign-compare
4714 aros_nowarnflags_sign_compare=-Wno-sign-compare
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4718 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4719 CFLAGS=-Wattributes
4720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4721 /* end confdefs.h. */
4724 main ()
4728 return 0;
4730 _ACEOF
4731 if ac_fn_c_try_compile "$LINENO"; then :
4732 aros_attributes="yes"
4733 else
4734 aros_attributes="no"
4736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4738 $as_echo "$aros_attributes" >&6; }
4739 if test "x-$aros_attributes" = "x-yes" ; then
4740 aros_warnflags_attributes=-Wattributes
4741 aros_nowarnflags_attributes=-Wno-attributes
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4745 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4746 CFLAGS=-Woverflow
4747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4748 /* end confdefs.h. */
4751 main ()
4755 return 0;
4757 _ACEOF
4758 if ac_fn_c_try_compile "$LINENO"; then :
4759 aros_overflow="yes"
4760 else
4761 aros_overflow="no"
4763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4765 $as_echo "$aros_overflow" >&6; }
4766 if test "x-$aros_overflow" = "x-yes" ; then
4767 aros_warnflags_overflow=-Woverflow
4768 aros_nowarnflags_overflow=-Wno-overflow
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4772 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4773 CFLAGS=-Wunused-local-typedefs
4774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4775 /* end confdefs.h. */
4778 main ()
4782 return 0;
4784 _ACEOF
4785 if ac_fn_c_try_compile "$LINENO"; then :
4786 aros_unused_local_typedefs="yes"
4787 else
4788 aros_unused_local_typedefs="no"
4790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4792 $as_echo "$aros_unused_local_typedefs" >&6; }
4793 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4794 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4795 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4799 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4800 CFLAGS=-Wmissing-braces
4801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4802 /* end confdefs.h. */
4805 main ()
4809 return 0;
4811 _ACEOF
4812 if ac_fn_c_try_compile "$LINENO"; then :
4813 aros_missing_braces="yes"
4814 else
4815 aros_missing_braces="no"
4817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4819 $as_echo "$aros_missing_braces" >&6; }
4820 if test "x-$aros_missing_braces" = "x-yes" ; then
4821 aros_warnflags_missing_braces=-Wmissing-braces
4822 aros_nowarnflags_missing_braces=-Wno-missing-braces
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4826 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4827 CFLAGS=-Wconversion-null
4828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4829 /* end confdefs.h. */
4832 main ()
4836 return 0;
4838 _ACEOF
4839 if ac_fn_c_try_compile "$LINENO"; then :
4840 aros_conversion_null="yes"
4841 else
4842 aros_conversion_null="no"
4844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4846 $as_echo "$aros_conversion_null" >&6; }
4847 if test "x-$aros_conversion_null" = "x-yes" ; then
4848 aros_warnflags_conversion_null=-Wconversion-null
4849 aros_nowarnflags_conversion_null=-Wno-conversion-null
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4853 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4854 CFLAGS=-Wnarrowing
4855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4856 /* end confdefs.h. */
4859 main ()
4863 return 0;
4865 _ACEOF
4866 if ac_fn_c_try_compile "$LINENO"; then :
4867 aros_narrowing="yes"
4868 else
4869 aros_narrowing="no"
4871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4873 $as_echo "$aros_narrowing" >&6; }
4874 if test "x-$aros_narrowing" = "x-yes" ; then
4875 aros_warnflags_narrowing=-Wnarrowing
4876 aros_nowarnflags_narrowing=-Wno-narrowing
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4880 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4881 CFLAGS=-Wvolatile-register-var
4882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4883 /* end confdefs.h. */
4886 main ()
4890 return 0;
4892 _ACEOF
4893 if ac_fn_c_try_compile "$LINENO"; then :
4894 aros_volatile_register_var="yes"
4895 else
4896 aros_volatile_register_var="no"
4898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4900 $as_echo "$aros_volatile_register_var" >&6; }
4901 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4902 aros_warnflags_volatile_register_var=-Wvolatile-register-var
4903 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4907 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4908 CFLAGS=-Wsizeof-pointer-memaccess
4909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4910 /* end confdefs.h. */
4913 main ()
4917 return 0;
4919 _ACEOF
4920 if ac_fn_c_try_compile "$LINENO"; then :
4921 aros_sizeof_pointer_memaccess="yes"
4922 else
4923 aros_sizeof_pointer_memaccess="no"
4925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4927 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4928 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4929 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
4930 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4934 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4935 CFLAGS=-Wreturn-type
4936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h. */
4940 main ()
4944 return 0;
4946 _ACEOF
4947 if ac_fn_c_try_compile "$LINENO"; then :
4948 aros_return_type="yes"
4949 else
4950 aros_return_type="no"
4952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4954 $as_echo "$aros_return_type" >&6; }
4955 if test "x-$aros_return_type" = "x-yes" ; then
4956 aros_warnflags_return_type=-Wreturn-type
4957 aros_nowarnflags_return_type=-Wno-return-type
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
4961 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
4962 CFLAGS=-Wformat-zero-length
4963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h. */
4967 main ()
4971 return 0;
4973 _ACEOF
4974 if ac_fn_c_try_compile "$LINENO"; then :
4975 aros_format_zero_length="yes"
4976 else
4977 aros_format_zero_length="no"
4979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
4981 $as_echo "$aros_format_zero_length" >&6; }
4982 if test "x-$aros_format_zero_length" = "x-yes" ; then
4983 aros_warnflags_format_zero_length=-Wformat-zero-length
4984 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
4988 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
4989 CFLAGS=-Wlto-type-mismatch
4990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4991 /* end confdefs.h. */
4994 main ()
4998 return 0;
5000 _ACEOF
5001 if ac_fn_c_try_compile "$LINENO"; then :
5002 aros_lto_type_mismatch="yes"
5003 else
5004 aros_lto_type_mismatch="no"
5006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
5008 $as_echo "$aros_lto_type_mismatch" >&6; }
5009 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
5010 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
5011 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
5015 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
5016 CFLAGS=-Wtautological-compare
5017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5018 /* end confdefs.h. */
5021 main ()
5025 return 0;
5027 _ACEOF
5028 if ac_fn_c_try_compile "$LINENO"; then :
5029 aros_tautological_compare="yes"
5030 else
5031 aros_tautological_compare="no"
5033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
5035 $as_echo "$aros_tautological_compare" >&6; }
5036 if test "x-$aros_tautological_compare" = "x-yes" ; then
5037 aros_warnflags_tautological_compare=-Wtautological-compare
5038 aros_nowarnflags_tautological_compare=-Wno-tautological-compare
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
5042 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
5043 CFLAGS=-Wempty-body
5044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5045 /* end confdefs.h. */
5048 main ()
5052 return 0;
5054 _ACEOF
5055 if ac_fn_c_try_compile "$LINENO"; then :
5056 aros_empty_body="yes"
5057 else
5058 aros_empty_body="no"
5060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
5062 $as_echo "$aros_empty_body" >&6; }
5063 if test "x-$aros_empty_body" = "x-yes" ; then
5064 aros_warnflags_empty_body=-Wempty-body
5065 aros_nowarnflags_empty_body=-Wno-empty-body
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-overflow" >&5
5069 $as_echo_n "checking whether ${CC} accepts -Wformat-overflow... " >&6; }
5070 CFLAGS=-Wformat-overflow
5071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5072 /* end confdefs.h. */
5075 main ()
5079 return 0;
5081 _ACEOF
5082 if ac_fn_c_try_compile "$LINENO"; then :
5083 aros_format_overflow="yes"
5084 else
5085 aros_format_overflow="no"
5087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_overflow" >&5
5089 $as_echo "$aros_format_overflow" >&6; }
5090 if test "x-$aros_format_overflow" = "x-yes" ; then
5091 aros_warnflags_format_overflow=-Wformat-overflow
5092 aros_nowarnflags_format_overflow=-Wno-format-overflow
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-overflow" >&5
5096 $as_echo_n "checking whether ${CC} accepts -Wstringop-overflow... " >&6; }
5097 CFLAGS=-Wstringop-overflow
5098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5099 /* end confdefs.h. */
5102 main ()
5106 return 0;
5108 _ACEOF
5109 if ac_fn_c_try_compile "$LINENO"; then :
5110 aros_stringop_overflow="yes"
5111 else
5112 aros_stringop_overflow="no"
5114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_overflow" >&5
5116 $as_echo "$aros_stringop_overflow" >&6; }
5117 if test "x-$aros_stringop_overflow" = "x-yes" ; then
5118 aros_warnflags_stringop_overflow=-Wstringop-overflow
5119 aros_nowarnflags_stringop_overflow=-Wno-stringop-overflow
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-truncation" >&5
5123 $as_echo_n "checking whether ${CC} accepts -Wformat-truncation... " >&6; }
5124 CFLAGS=-Wformat-truncation
5125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5126 /* end confdefs.h. */
5129 main ()
5133 return 0;
5135 _ACEOF
5136 if ac_fn_c_try_compile "$LINENO"; then :
5137 aros_format_truncation="yes"
5138 else
5139 aros_format_truncation="no"
5141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_truncation" >&5
5143 $as_echo "$aros_format_truncation" >&6; }
5144 if test "x-$aros_format_truncation" = "x-yes" ; then
5145 aros_warnflags_format_truncation=-Wformat-truncation
5146 aros_nowarnflags_format_truncation=-Wno-format-truncation
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-truncation" >&5
5150 $as_echo_n "checking whether ${CC} accepts -Wstringop-truncation... " >&6; }
5151 CFLAGS=-Wstringop-truncation
5152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5153 /* end confdefs.h. */
5156 main ()
5160 return 0;
5162 _ACEOF
5163 if ac_fn_c_try_compile "$LINENO"; then :
5164 aros_stringop_truncation="yes"
5165 else
5166 aros_stringop_truncation="no"
5168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_truncation" >&5
5170 $as_echo "$aros_stringop_truncation" >&6; }
5171 if test "x-$aros_stringop_truncation" = "x-yes" ; then
5172 aros_warnflags_stringop_truncation=-Wstringop-truncation
5173 aros_nowarnflags_stringop_truncation=-Wno-stringop-truncation
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-negative-value" >&5
5177 $as_echo_n "checking whether ${CC} accepts -Wshift-negative-value... " >&6; }
5178 CFLAGS=-Wshift-negative-value
5179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5180 /* end confdefs.h. */
5183 main ()
5187 return 0;
5189 _ACEOF
5190 if ac_fn_c_try_compile "$LINENO"; then :
5191 aros_shift_negative_value="yes"
5192 else
5193 aros_shift_negative_value="no"
5195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_negative_value" >&5
5197 $as_echo "$aros_shift_negative_value" >&6; }
5198 if test "x-$aros_shift_negative_value" = "x-yes" ; then
5199 aros_warnflags_shift_negative_value=-Wshift-negative-value
5200 aros_nowarnflags_shift_negative_value=-Wno-shift-negative-value
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-field-initializers" >&5
5204 $as_echo_n "checking whether ${CC} accepts -Wmissing-field-initializers... " >&6; }
5205 CFLAGS=-Wmissing-field-initializers
5206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5207 /* end confdefs.h. */
5210 main ()
5214 return 0;
5216 _ACEOF
5217 if ac_fn_c_try_compile "$LINENO"; then :
5218 aros_missing_field_initializers="yes"
5219 else
5220 aros_missing_field_initializers="no"
5222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_field_initializers" >&5
5224 $as_echo "$aros_missing_field_initializers" >&6; }
5225 if test "x-$aros_missing_field_initializers" = "x-yes" ; then
5226 aros_warnflags_missing_field_initializers=-Wmissing-field-initializers
5227 aros_nowarnflags_missing_field_initializers=-Wno-missing-field-initializers
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-fallthrough" >&5
5231 $as_echo_n "checking whether ${CC} accepts -Wimplicit-fallthrough... " >&6; }
5232 CFLAGS=-Wimplicit-fallthrough
5233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5234 /* end confdefs.h. */
5237 main ()
5241 return 0;
5243 _ACEOF
5244 if ac_fn_c_try_compile "$LINENO"; then :
5245 aros_implicit_fallthrough="yes"
5246 else
5247 aros_implicit_fallthrough="no"
5249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_fallthrough" >&5
5251 $as_echo "$aros_implicit_fallthrough" >&6; }
5252 if test "x-$aros_implicit_fallthrough" = "x-yes" ; then
5253 aros_warnflags_implicit_fallthrough=-Wimplicit-fallthrough
5254 aros_nowarnflags_implicit_fallthrough=-Wno-implicit-fallthrough
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-prototypes" >&5
5258 $as_echo_n "checking whether ${CC} accepts -Wmissing-prototypes... " >&6; }
5259 CFLAGS=-Wmissing-prototypes
5260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5261 /* end confdefs.h. */
5264 main ()
5268 return 0;
5270 _ACEOF
5271 if ac_fn_c_try_compile "$LINENO"; then :
5272 aros_missing_prototypes="yes"
5273 else
5274 aros_missing_prototypes="no"
5276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_prototypes" >&5
5278 $as_echo "$aros_missing_prototypes" >&6; }
5279 if test "x-$aros_missing_prototypes" = "x-yes" ; then
5280 aros_warnflags_missing_prototypes=-Wmissing-prototypes
5281 aros_nowarnflags_missing_prototypes=-Wno-missing-prototypes
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wclass-memaccess" >&5
5285 $as_echo_n "checking whether ${CC} accepts -Wclass-memaccess... " >&6; }
5286 CFLAGS=-Wclass-memaccess
5287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5288 /* end confdefs.h. */
5291 main ()
5295 return 0;
5297 _ACEOF
5298 if ac_fn_c_try_compile "$LINENO"; then :
5299 aros_class_memaccess="yes"
5300 else
5301 aros_class_memaccess="no"
5303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_class_memaccess" >&5
5305 $as_echo "$aros_class_memaccess" >&6; }
5306 if test "x-$aros_class_memaccess" = "x-yes" ; then
5307 aros_warnflags_class_memaccess=-Wclass-memaccess
5308 aros_nowarnflags_class_memaccess=-Wno-class-memaccess
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-in-bool-context" >&5
5312 $as_echo_n "checking whether ${CC} accepts -Wint-in-bool-context... " >&6; }
5313 CFLAGS=-Wint-in-bool-context
5314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5315 /* end confdefs.h. */
5318 main ()
5322 return 0;
5324 _ACEOF
5325 if ac_fn_c_try_compile "$LINENO"; then :
5326 aros_int_in_bool_context="yes"
5327 else
5328 aros_int_in_bool_context="no"
5330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_in_bool_context" >&5
5332 $as_echo "$aros_int_in_bool_context" >&6; }
5333 if test "x-$aros_int_in_bool_context" = "x-yes" ; then
5334 aros_warnflags_int_in_bool_context=-Wint-in-bool-context
5335 aros_nowarnflags_int_in_bool_context=-Wno-int-in-bool-context
5339 # export the feature flags...
5376 # export the feature options...
5381 # ...and warning flags...
5529 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
5532 cat >confcache <<\_ACEOF
5533 # This file is a shell script that caches the results of configure
5534 # tests run on this system so they can be shared between configure
5535 # scripts and configure runs, see configure's option --config-cache.
5536 # It is not useful on other systems. If it contains results you don't
5537 # want to keep, you may remove or edit it.
5539 # config.status only pays attention to the cache file if you give it
5540 # the --recheck option to rerun configure.
5542 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5543 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5544 # following values.
5546 _ACEOF
5548 # The following way of writing the cache mishandles newlines in values,
5549 # but we know of no workaround that is simple, portable, and efficient.
5550 # So, we kill variables containing newlines.
5551 # Ultrix sh set writes to stderr and can't be redirected directly,
5552 # and sets the high bit in the cache file unless we assign to the vars.
5554 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5555 eval ac_val=\$$ac_var
5556 case $ac_val in #(
5557 *${as_nl}*)
5558 case $ac_var in #(
5559 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5560 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5561 esac
5562 case $ac_var in #(
5563 _ | IFS | as_nl) ;; #(
5564 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5565 *) { eval $ac_var=; unset $ac_var;} ;;
5566 esac ;;
5567 esac
5568 done
5570 (set) 2>&1 |
5571 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5572 *${as_nl}ac_space=\ *)
5573 # `set' does not quote correctly, so add quotes: double-quote
5574 # substitution turns \\\\ into \\, and sed turns \\ into \.
5575 sed -n \
5576 "s/'/'\\\\''/g;
5577 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5578 ;; #(
5580 # `set' quotes correctly as required by POSIX, so do not add quotes.
5581 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5583 esac |
5584 sort
5586 sed '
5587 /^ac_cv_env_/b end
5588 t clear
5589 :clear
5590 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5591 t end
5592 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5593 :end' >>confcache
5594 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5595 if test -w "$cache_file"; then
5596 if test "x$cache_file" != "x/dev/null"; then
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5598 $as_echo "$as_me: updating cache $cache_file" >&6;}
5599 if test ! -f "$cache_file" || test -h "$cache_file"; then
5600 cat confcache >"$cache_file"
5601 else
5602 case $cache_file in #(
5603 */* | ?:*)
5604 mv -f confcache "$cache_file"$$ &&
5605 mv -f "$cache_file"$$ "$cache_file" ;; #(
5607 mv -f confcache "$cache_file" ;;
5608 esac
5611 else
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5613 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5616 rm -f confcache
5618 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5619 # Let make expand exec_prefix.
5620 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5622 # Transform confdefs.h into DEFS.
5623 # Protect against shell expansion while executing Makefile rules.
5624 # Protect against Makefile macro expansion.
5626 # If the first sed substitution is executed (which looks for macros that
5627 # take arguments), then branch to the quote section. Otherwise,
5628 # look for a macro that doesn't take arguments.
5629 ac_script='
5630 :mline
5631 /\\$/{
5633 s,\\\n,,
5634 b mline
5636 t clear
5637 :clear
5638 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5639 t quote
5640 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5641 t quote
5642 b any
5643 :quote
5644 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5645 s/\[/\\&/g
5646 s/\]/\\&/g
5647 s/\$/$$/g
5649 :any
5652 s/^\n//
5653 s/\n/ /g
5657 DEFS=`sed -n "$ac_script" confdefs.h`
5660 ac_libobjs=
5661 ac_ltlibobjs=
5663 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5664 # 1. Remove the extension, and $U if already installed.
5665 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5666 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5667 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5668 # will be set to the directory where LIBOBJS objects are built.
5669 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5670 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5671 done
5672 LIBOBJS=$ac_libobjs
5674 LTLIBOBJS=$ac_ltlibobjs
5678 : "${CONFIG_STATUS=./config.status}"
5679 ac_write_fail=0
5680 ac_clean_files_save=$ac_clean_files
5681 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5683 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5684 as_write_fail=0
5685 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5686 #! $SHELL
5687 # Generated by $as_me.
5688 # Run this file to recreate the current configuration.
5689 # Compiler output produced by configure, useful for debugging
5690 # configure, is in config.log if it exists.
5692 debug=false
5693 ac_cs_recheck=false
5694 ac_cs_silent=false
5696 SHELL=\${CONFIG_SHELL-$SHELL}
5697 export SHELL
5698 _ASEOF
5699 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5700 ## -------------------- ##
5701 ## M4sh Initialization. ##
5702 ## -------------------- ##
5704 # Be more Bourne compatible
5705 DUALCASE=1; export DUALCASE # for MKS sh
5706 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5707 emulate sh
5708 NULLCMD=:
5709 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5710 # is contrary to our usage. Disable this feature.
5711 alias -g '${1+"$@"}'='"$@"'
5712 setopt NO_GLOB_SUBST
5713 else
5714 case `(set -o) 2>/dev/null` in #(
5715 *posix*) :
5716 set -o posix ;; #(
5717 *) :
5719 esac
5723 as_nl='
5725 export as_nl
5726 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5727 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5728 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5729 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5730 # Prefer a ksh shell builtin over an external printf program on Solaris,
5731 # but without wasting forks for bash or zsh.
5732 if test -z "$BASH_VERSION$ZSH_VERSION" \
5733 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5734 as_echo='print -r --'
5735 as_echo_n='print -rn --'
5736 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5737 as_echo='printf %s\n'
5738 as_echo_n='printf %s'
5739 else
5740 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5741 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5742 as_echo_n='/usr/ucb/echo -n'
5743 else
5744 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5745 as_echo_n_body='eval
5746 arg=$1;
5747 case $arg in #(
5748 *"$as_nl"*)
5749 expr "X$arg" : "X\\(.*\\)$as_nl";
5750 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5751 esac;
5752 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5754 export as_echo_n_body
5755 as_echo_n='sh -c $as_echo_n_body as_echo'
5757 export as_echo_body
5758 as_echo='sh -c $as_echo_body as_echo'
5761 # The user is always right.
5762 if test "${PATH_SEPARATOR+set}" != set; then
5763 PATH_SEPARATOR=:
5764 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5765 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5766 PATH_SEPARATOR=';'
5771 # IFS
5772 # We need space, tab and new line, in precisely that order. Quoting is
5773 # there to prevent editors from complaining about space-tab.
5774 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5775 # splitting by setting IFS to empty value.)
5776 IFS=" "" $as_nl"
5778 # Find who we are. Look in the path if we contain no directory separator.
5779 as_myself=
5780 case $0 in #((
5781 *[\\/]* ) as_myself=$0 ;;
5782 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5783 for as_dir in $PATH
5785 IFS=$as_save_IFS
5786 test -z "$as_dir" && as_dir=.
5787 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5788 done
5789 IFS=$as_save_IFS
5792 esac
5793 # We did not find ourselves, most probably we were run as `sh COMMAND'
5794 # in which case we are not to be found in the path.
5795 if test "x$as_myself" = x; then
5796 as_myself=$0
5798 if test ! -f "$as_myself"; then
5799 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5800 exit 1
5803 # Unset variables that we do not need and which cause bugs (e.g. in
5804 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5805 # suppresses any "Segmentation fault" message there. '((' could
5806 # trigger a bug in pdksh 5.2.14.
5807 for as_var in BASH_ENV ENV MAIL MAILPATH
5808 do eval test x\${$as_var+set} = xset \
5809 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5810 done
5811 PS1='$ '
5812 PS2='> '
5813 PS4='+ '
5815 # NLS nuisances.
5816 LC_ALL=C
5817 export LC_ALL
5818 LANGUAGE=C
5819 export LANGUAGE
5821 # CDPATH.
5822 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5825 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5826 # ----------------------------------------
5827 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5828 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5829 # script with STATUS, using 1 if that was 0.
5830 as_fn_error ()
5832 as_status=$1; test $as_status -eq 0 && as_status=1
5833 if test "$4"; then
5834 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5835 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5837 $as_echo "$as_me: error: $2" >&2
5838 as_fn_exit $as_status
5839 } # as_fn_error
5842 # as_fn_set_status STATUS
5843 # -----------------------
5844 # Set $? to STATUS, without forking.
5845 as_fn_set_status ()
5847 return $1
5848 } # as_fn_set_status
5850 # as_fn_exit STATUS
5851 # -----------------
5852 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5853 as_fn_exit ()
5855 set +e
5856 as_fn_set_status $1
5857 exit $1
5858 } # as_fn_exit
5860 # as_fn_unset VAR
5861 # ---------------
5862 # Portably unset VAR.
5863 as_fn_unset ()
5865 { eval $1=; unset $1;}
5867 as_unset=as_fn_unset
5868 # as_fn_append VAR VALUE
5869 # ----------------------
5870 # Append the text in VALUE to the end of the definition contained in VAR. Take
5871 # advantage of any shell optimizations that allow amortized linear growth over
5872 # repeated appends, instead of the typical quadratic growth present in naive
5873 # implementations.
5874 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5875 eval 'as_fn_append ()
5877 eval $1+=\$2
5879 else
5880 as_fn_append ()
5882 eval $1=\$$1\$2
5884 fi # as_fn_append
5886 # as_fn_arith ARG...
5887 # ------------------
5888 # Perform arithmetic evaluation on the ARGs, and store the result in the
5889 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5890 # must be portable across $(()) and expr.
5891 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5892 eval 'as_fn_arith ()
5894 as_val=$(( $* ))
5896 else
5897 as_fn_arith ()
5899 as_val=`expr "$@" || test $? -eq 1`
5901 fi # as_fn_arith
5904 if expr a : '\(a\)' >/dev/null 2>&1 &&
5905 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5906 as_expr=expr
5907 else
5908 as_expr=false
5911 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5912 as_basename=basename
5913 else
5914 as_basename=false
5917 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5918 as_dirname=dirname
5919 else
5920 as_dirname=false
5923 as_me=`$as_basename -- "$0" ||
5924 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5925 X"$0" : 'X\(//\)$' \| \
5926 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5927 $as_echo X/"$0" |
5928 sed '/^.*\/\([^/][^/]*\)\/*$/{
5929 s//\1/
5932 /^X\/\(\/\/\)$/{
5933 s//\1/
5936 /^X\/\(\/\).*/{
5937 s//\1/
5940 s/.*/./; q'`
5942 # Avoid depending upon Character Ranges.
5943 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5944 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5945 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5946 as_cr_digits='0123456789'
5947 as_cr_alnum=$as_cr_Letters$as_cr_digits
5949 ECHO_C= ECHO_N= ECHO_T=
5950 case `echo -n x` in #(((((
5951 -n*)
5952 case `echo 'xy\c'` in
5953 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5954 xy) ECHO_C='\c';;
5955 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5956 ECHO_T=' ';;
5957 esac;;
5959 ECHO_N='-n';;
5960 esac
5962 rm -f conf$$ conf$$.exe conf$$.file
5963 if test -d conf$$.dir; then
5964 rm -f conf$$.dir/conf$$.file
5965 else
5966 rm -f conf$$.dir
5967 mkdir conf$$.dir 2>/dev/null
5969 if (echo >conf$$.file) 2>/dev/null; then
5970 if ln -s conf$$.file conf$$ 2>/dev/null; then
5971 as_ln_s='ln -s'
5972 # ... but there are two gotchas:
5973 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5974 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5975 # In both cases, we have to default to `cp -pR'.
5976 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5977 as_ln_s='cp -pR'
5978 elif ln conf$$.file conf$$ 2>/dev/null; then
5979 as_ln_s=ln
5980 else
5981 as_ln_s='cp -pR'
5983 else
5984 as_ln_s='cp -pR'
5986 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5987 rmdir conf$$.dir 2>/dev/null
5990 # as_fn_mkdir_p
5991 # -------------
5992 # Create "$as_dir" as a directory, including parents if necessary.
5993 as_fn_mkdir_p ()
5996 case $as_dir in #(
5997 -*) as_dir=./$as_dir;;
5998 esac
5999 test -d "$as_dir" || eval $as_mkdir_p || {
6000 as_dirs=
6001 while :; do
6002 case $as_dir in #(
6003 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6004 *) as_qdir=$as_dir;;
6005 esac
6006 as_dirs="'$as_qdir' $as_dirs"
6007 as_dir=`$as_dirname -- "$as_dir" ||
6008 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6009 X"$as_dir" : 'X\(//\)[^/]' \| \
6010 X"$as_dir" : 'X\(//\)$' \| \
6011 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6012 $as_echo X"$as_dir" |
6013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6014 s//\1/
6017 /^X\(\/\/\)[^/].*/{
6018 s//\1/
6021 /^X\(\/\/\)$/{
6022 s//\1/
6025 /^X\(\/\).*/{
6026 s//\1/
6029 s/.*/./; q'`
6030 test -d "$as_dir" && break
6031 done
6032 test -z "$as_dirs" || eval "mkdir $as_dirs"
6033 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6036 } # as_fn_mkdir_p
6037 if mkdir -p . 2>/dev/null; then
6038 as_mkdir_p='mkdir -p "$as_dir"'
6039 else
6040 test -d ./-p && rmdir ./-p
6041 as_mkdir_p=false
6045 # as_fn_executable_p FILE
6046 # -----------------------
6047 # Test if FILE is an executable regular file.
6048 as_fn_executable_p ()
6050 test -f "$1" && test -x "$1"
6051 } # as_fn_executable_p
6052 as_test_x='test -x'
6053 as_executable_p=as_fn_executable_p
6055 # Sed expression to map a string onto a valid CPP name.
6056 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6058 # Sed expression to map a string onto a valid variable name.
6059 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6062 exec 6>&1
6063 ## ----------------------------------- ##
6064 ## Main body of $CONFIG_STATUS script. ##
6065 ## ----------------------------------- ##
6066 _ASEOF
6067 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6070 # Save the log message, to keep $0 and so on meaningful, and to
6071 # report actual input values of CONFIG_FILES etc. instead of their
6072 # values after options handling.
6073 ac_log="
6074 This file was extended by $as_me, which was
6075 generated by GNU Autoconf 2.69. Invocation command line was
6077 CONFIG_FILES = $CONFIG_FILES
6078 CONFIG_HEADERS = $CONFIG_HEADERS
6079 CONFIG_LINKS = $CONFIG_LINKS
6080 CONFIG_COMMANDS = $CONFIG_COMMANDS
6081 $ $0 $@
6083 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6086 _ACEOF
6088 case $ac_config_files in *"
6089 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6090 esac
6094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6095 # Files that config.status was made for.
6096 config_files="$ac_config_files"
6098 _ACEOF
6100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6101 ac_cs_usage="\
6102 \`$as_me' instantiates files and other configuration actions
6103 from templates according to the current configuration. Unless the files
6104 and actions are specified as TAGs, all are instantiated by default.
6106 Usage: $0 [OPTION]... [TAG]...
6108 -h, --help print this help, then exit
6109 -V, --version print version number and configuration settings, then exit
6110 --config print configuration, then exit
6111 -q, --quiet, --silent
6112 do not print progress messages
6113 -d, --debug don't remove temporary files
6114 --recheck update $as_me by reconfiguring in the same conditions
6115 --file=FILE[:TEMPLATE]
6116 instantiate the configuration file FILE
6118 Configuration files:
6119 $config_files
6121 Report bugs to the package provider."
6123 _ACEOF
6124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6125 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6126 ac_cs_version="\\
6127 config.status
6128 configured by $0, generated by GNU Autoconf 2.69,
6129 with options \\"\$ac_cs_config\\"
6131 Copyright (C) 2012 Free Software Foundation, Inc.
6132 This config.status script is free software; the Free Software Foundation
6133 gives unlimited permission to copy, distribute and modify it."
6135 ac_pwd='$ac_pwd'
6136 srcdir='$srcdir'
6137 test -n "\$AWK" || AWK=awk
6138 _ACEOF
6140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6141 # The default lists apply if the user does not specify any file.
6142 ac_need_defaults=:
6143 while test $# != 0
6145 case $1 in
6146 --*=?*)
6147 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6148 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6149 ac_shift=:
6151 --*=)
6152 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6153 ac_optarg=
6154 ac_shift=:
6157 ac_option=$1
6158 ac_optarg=$2
6159 ac_shift=shift
6161 esac
6163 case $ac_option in
6164 # Handling of the options.
6165 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6166 ac_cs_recheck=: ;;
6167 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6168 $as_echo "$ac_cs_version"; exit ;;
6169 --config | --confi | --conf | --con | --co | --c )
6170 $as_echo "$ac_cs_config"; exit ;;
6171 --debug | --debu | --deb | --de | --d | -d )
6172 debug=: ;;
6173 --file | --fil | --fi | --f )
6174 $ac_shift
6175 case $ac_optarg in
6176 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6177 '') as_fn_error $? "missing file argument" ;;
6178 esac
6179 as_fn_append CONFIG_FILES " '$ac_optarg'"
6180 ac_need_defaults=false;;
6181 --he | --h | --help | --hel | -h )
6182 $as_echo "$ac_cs_usage"; exit ;;
6183 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6184 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6185 ac_cs_silent=: ;;
6187 # This is an error.
6188 -*) as_fn_error $? "unrecognized option: \`$1'
6189 Try \`$0 --help' for more information." ;;
6191 *) as_fn_append ac_config_targets " $1"
6192 ac_need_defaults=false ;;
6194 esac
6195 shift
6196 done
6198 ac_configure_extra_args=
6200 if $ac_cs_silent; then
6201 exec 6>/dev/null
6202 ac_configure_extra_args="$ac_configure_extra_args --silent"
6205 _ACEOF
6206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6207 if \$ac_cs_recheck; then
6208 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6209 shift
6210 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6211 CONFIG_SHELL='$SHELL'
6212 export CONFIG_SHELL
6213 exec "\$@"
6216 _ACEOF
6217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6218 exec 5>>config.log
6220 echo
6221 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6222 ## Running $as_me. ##
6223 _ASBOX
6224 $as_echo "$ac_log"
6225 } >&5
6227 _ACEOF
6228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6229 _ACEOF
6231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6233 # Handling of arguments.
6234 for ac_config_target in $ac_config_targets
6236 case $ac_config_target in
6237 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
6239 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6240 esac
6241 done
6244 # If the user did not use the arguments to specify the items to instantiate,
6245 # then the envvar interface is used. Set only those that are not.
6246 # We use the long form for the default assignment because of an extremely
6247 # bizarre bug on SunOS 4.1.3.
6248 if $ac_need_defaults; then
6249 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6252 # Have a temporary directory for convenience. Make it in the build tree
6253 # simply because there is no reason against having it here, and in addition,
6254 # creating and moving files from /tmp can sometimes cause problems.
6255 # Hook for its removal unless debugging.
6256 # Note that there is a small window in which the directory will not be cleaned:
6257 # after its creation but before its name has been assigned to `$tmp'.
6258 $debug ||
6260 tmp= ac_tmp=
6261 trap 'exit_status=$?
6262 : "${ac_tmp:=$tmp}"
6263 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6265 trap 'as_fn_exit 1' 1 2 13 15
6267 # Create a (secure) tmp directory for tmp files.
6270 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6271 test -d "$tmp"
6272 } ||
6274 tmp=./conf$$-$RANDOM
6275 (umask 077 && mkdir "$tmp")
6276 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6277 ac_tmp=$tmp
6279 # Set up the scripts for CONFIG_FILES section.
6280 # No need to generate them if there are no CONFIG_FILES.
6281 # This happens for instance with `./config.status config.h'.
6282 if test -n "$CONFIG_FILES"; then
6285 ac_cr=`echo X | tr X '\015'`
6286 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6287 # But we know of no other shell where ac_cr would be empty at this
6288 # point, so we can use a bashism as a fallback.
6289 if test "x$ac_cr" = x; then
6290 eval ac_cr=\$\'\\r\'
6292 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6293 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6294 ac_cs_awk_cr='\\r'
6295 else
6296 ac_cs_awk_cr=$ac_cr
6299 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6300 _ACEOF
6304 echo "cat >conf$$subs.awk <<_ACEOF" &&
6305 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6306 echo "_ACEOF"
6307 } >conf$$subs.sh ||
6308 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6309 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6310 ac_delim='%!_!# '
6311 for ac_last_try in false false false false false :; do
6312 . ./conf$$subs.sh ||
6313 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6315 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6316 if test $ac_delim_n = $ac_delim_num; then
6317 break
6318 elif $ac_last_try; then
6319 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6320 else
6321 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6323 done
6324 rm -f conf$$subs.sh
6326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6327 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6328 _ACEOF
6329 sed -n '
6331 s/^/S["/; s/!.*/"]=/
6334 s/^[^!]*!//
6335 :repl
6336 t repl
6337 s/'"$ac_delim"'$//
6338 t delim
6341 s/\(.\{148\}\)..*/\1/
6342 t more1
6343 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6346 b repl
6347 :more1
6348 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6351 s/.\{148\}//
6352 t nl
6353 :delim
6355 s/\(.\{148\}\)..*/\1/
6356 t more2
6357 s/["\\]/\\&/g; s/^/"/; s/$/"/
6360 :more2
6361 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6364 s/.\{148\}//
6365 t delim
6366 ' <conf$$subs.awk | sed '
6367 /^[^""]/{
6369 s/\n//
6371 ' >>$CONFIG_STATUS || ac_write_fail=1
6372 rm -f conf$$subs.awk
6373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6374 _ACAWK
6375 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6376 for (key in S) S_is_set[key] = 1
6377 FS = "\a"
6381 line = $ 0
6382 nfields = split(line, field, "@")
6383 substed = 0
6384 len = length(field[1])
6385 for (i = 2; i < nfields; i++) {
6386 key = field[i]
6387 keylen = length(key)
6388 if (S_is_set[key]) {
6389 value = S[key]
6390 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6391 len += length(value) + length(field[++i])
6392 substed = 1
6393 } else
6394 len += 1 + keylen
6397 print line
6400 _ACAWK
6401 _ACEOF
6402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6403 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6404 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6405 else
6407 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6408 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6409 _ACEOF
6411 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6412 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6413 # trailing colons and then remove the whole line if VPATH becomes empty
6414 # (actually we leave an empty line to preserve line numbers).
6415 if test "x$srcdir" = x.; then
6416 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6418 s///
6419 s/^/:/
6420 s/[ ]*$/:/
6421 s/:\$(srcdir):/:/g
6422 s/:\${srcdir}:/:/g
6423 s/:@srcdir@:/:/g
6424 s/^:*//
6425 s/:*$//
6427 s/\(=[ ]*\).*/\1/
6429 s/\n//
6430 s/^[^=]*=[ ]*$//
6434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6435 fi # test -n "$CONFIG_FILES"
6438 eval set X " :F $CONFIG_FILES "
6439 shift
6440 for ac_tag
6442 case $ac_tag in
6443 :[FHLC]) ac_mode=$ac_tag; continue;;
6444 esac
6445 case $ac_mode$ac_tag in
6446 :[FHL]*:*);;
6447 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6448 :[FH]-) ac_tag=-:-;;
6449 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6450 esac
6451 ac_save_IFS=$IFS
6452 IFS=:
6453 set x $ac_tag
6454 IFS=$ac_save_IFS
6455 shift
6456 ac_file=$1
6457 shift
6459 case $ac_mode in
6460 :L) ac_source=$1;;
6461 :[FH])
6462 ac_file_inputs=
6463 for ac_f
6465 case $ac_f in
6466 -) ac_f="$ac_tmp/stdin";;
6467 *) # Look for the file first in the build tree, then in the source tree
6468 # (if the path is not absolute). The absolute path cannot be DOS-style,
6469 # because $ac_f cannot contain `:'.
6470 test -f "$ac_f" ||
6471 case $ac_f in
6472 [\\/$]*) false;;
6473 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6474 esac ||
6475 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6476 esac
6477 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6478 as_fn_append ac_file_inputs " '$ac_f'"
6479 done
6481 # Let's still pretend it is `configure' which instantiates (i.e., don't
6482 # use $as_me), people would be surprised to read:
6483 # /* config.h. Generated by config.status. */
6484 configure_input='Generated from '`
6485 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6486 `' by configure.'
6487 if test x"$ac_file" != x-; then
6488 configure_input="$ac_file. $configure_input"
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6490 $as_echo "$as_me: creating $ac_file" >&6;}
6492 # Neutralize special characters interpreted by sed in replacement strings.
6493 case $configure_input in #(
6494 *\&* | *\|* | *\\* )
6495 ac_sed_conf_input=`$as_echo "$configure_input" |
6496 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6497 *) ac_sed_conf_input=$configure_input;;
6498 esac
6500 case $ac_tag in
6501 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6502 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6503 esac
6505 esac
6507 ac_dir=`$as_dirname -- "$ac_file" ||
6508 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6509 X"$ac_file" : 'X\(//\)[^/]' \| \
6510 X"$ac_file" : 'X\(//\)$' \| \
6511 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6512 $as_echo X"$ac_file" |
6513 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6514 s//\1/
6517 /^X\(\/\/\)[^/].*/{
6518 s//\1/
6521 /^X\(\/\/\)$/{
6522 s//\1/
6525 /^X\(\/\).*/{
6526 s//\1/
6529 s/.*/./; q'`
6530 as_dir="$ac_dir"; as_fn_mkdir_p
6531 ac_builddir=.
6533 case "$ac_dir" in
6534 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6536 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6537 # A ".." for each directory in $ac_dir_suffix.
6538 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6539 case $ac_top_builddir_sub in
6540 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6541 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6542 esac ;;
6543 esac
6544 ac_abs_top_builddir=$ac_pwd
6545 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6546 # for backward compatibility:
6547 ac_top_builddir=$ac_top_build_prefix
6549 case $srcdir in
6550 .) # We are building in place.
6551 ac_srcdir=.
6552 ac_top_srcdir=$ac_top_builddir_sub
6553 ac_abs_top_srcdir=$ac_pwd ;;
6554 [\\/]* | ?:[\\/]* ) # Absolute name.
6555 ac_srcdir=$srcdir$ac_dir_suffix;
6556 ac_top_srcdir=$srcdir
6557 ac_abs_top_srcdir=$srcdir ;;
6558 *) # Relative name.
6559 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6560 ac_top_srcdir=$ac_top_build_prefix$srcdir
6561 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6562 esac
6563 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6566 case $ac_mode in
6569 # CONFIG_FILE
6572 _ACEOF
6574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6575 # If the template does not know about datarootdir, expand it.
6576 # FIXME: This hack should be removed a few years after 2.60.
6577 ac_datarootdir_hack=; ac_datarootdir_seen=
6578 ac_sed_dataroot='
6579 /datarootdir/ {
6583 /@datadir@/p
6584 /@docdir@/p
6585 /@infodir@/p
6586 /@localedir@/p
6587 /@mandir@/p'
6588 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6589 *datarootdir*) ac_datarootdir_seen=yes;;
6590 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6592 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6593 _ACEOF
6594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6595 ac_datarootdir_hack='
6596 s&@datadir@&$datadir&g
6597 s&@docdir@&$docdir&g
6598 s&@infodir@&$infodir&g
6599 s&@localedir@&$localedir&g
6600 s&@mandir@&$mandir&g
6601 s&\\\${datarootdir}&$datarootdir&g' ;;
6602 esac
6603 _ACEOF
6605 # Neutralize VPATH when `$srcdir' = `.'.
6606 # Shell code in configure.ac might set extrasub.
6607 # FIXME: do we really want to maintain this feature?
6608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6609 ac_sed_extra="$ac_vpsub
6610 $extrasub
6611 _ACEOF
6612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6614 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6615 s|@configure_input@|$ac_sed_conf_input|;t t
6616 s&@top_builddir@&$ac_top_builddir_sub&;t t
6617 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6618 s&@srcdir@&$ac_srcdir&;t t
6619 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6620 s&@top_srcdir@&$ac_top_srcdir&;t t
6621 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6622 s&@builddir@&$ac_builddir&;t t
6623 s&@abs_builddir@&$ac_abs_builddir&;t t
6624 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6625 $ac_datarootdir_hack
6627 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6628 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6630 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6631 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6632 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6633 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6635 which seems to be undefined. Please make sure it is defined" >&5
6636 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6637 which seems to be undefined. Please make sure it is defined" >&2;}
6639 rm -f "$ac_tmp/stdin"
6640 case $ac_file in
6641 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6642 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6643 esac \
6644 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6649 esac
6651 done # for ac_tag
6654 as_fn_exit 0
6655 _ACEOF
6656 ac_clean_files=$ac_clean_files_save
6658 test $ac_write_fail = 0 ||
6659 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6662 # configure is writing to config.log, and then calls config.status.
6663 # config.status does its own redirection, appending to config.log.
6664 # Unfortunately, on DOS this fails, as config.log is still kept open
6665 # by configure, so config.status won't be able to write to it; its
6666 # output is simply discarded. So we exec the FD to /dev/null,
6667 # effectively closing config.log, so it can be properly (re)opened and
6668 # appended to by config.status. When coming back to configure, we
6669 # need to make the FD available again.
6670 if test "$no_create" != yes; then
6671 ac_cs_success=:
6672 ac_config_status_args=
6673 test "$silent" = yes &&
6674 ac_config_status_args="$ac_config_status_args --quiet"
6675 exec 5>/dev/null
6676 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6677 exec 5>>config.log
6678 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6679 # would make configure fail if this is the last instruction.
6680 $ac_cs_success || as_fn_exit 1
6682 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6684 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}