remove duplicate consts
[AROS.git] / config / features
blob190ab782c2472c96eb6fe66b8200273725b24dcb
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_stringop_overflow
588 aros_warnflags_stringop_overflow
589 aros_nowarnflags_empty_body
590 aros_warnflags_empty_body
591 aros_nowarnflags_tautological_compare
592 aros_warnflags_tautological_compare
593 aros_nowarnflags_lto_type_mismatch
594 aros_warnflags_lto_type_mismatch
595 aros_nowarnflags_format_zero_length
596 aros_warnflags_format_zero_length
597 aros_nowarnflags_return_type
598 aros_warnflags_return_type
599 aros_nowarnflags_sizeof_pointer_memaccess
600 aros_warnflags_sizeof_pointer_memaccess
601 aros_nowarnflags_volatile_register_var
602 aros_warnflags_volatile_register_var
603 aros_nowarnflags_narrowing
604 aros_warnflags_narrowing
605 aros_nowarnflags_conversion_null
606 aros_warnflags_conversion_null
607 aros_nowarnflags_missing_braces
608 aros_warnflags_missing_braces
609 aros_nowarnflags_unused_local_typedefs
610 aros_warnflags_unused_local_typedefs
611 aros_nowarnflags_overflow
612 aros_warnflags_overflow
613 aros_nowarnflags_attributes
614 aros_warnflags_attributes
615 aros_nowarnflags_sign_compare
616 aros_warnflags_sign_compare
617 aros_nowarnflags_deprecated_declarations
618 aros_warnflags_deprecated_declarations
619 aros_nowarnflags_frame_address
620 aros_warnflags_frame_address
621 aros_nowarnflags_shift_overflow
622 aros_warnflags_shift_overflow
623 aros_nowarnflags_pointer_sign
624 aros_warnflags_pointer_sign
625 aros_nowarnflags_logical_not_parentheses
626 aros_warnflags_logical_not_parentheses
627 aros_nowarnflags_bool_compare
628 aros_warnflags_bool_compare
629 aros_nowarnflags_incompatible_pointer_types
630 aros_warnflags_incompatible_pointer_types
631 aros_nowarnflags_comment
632 aros_warnflags_comment
633 aros_nowarnflags_write_strings
634 aros_warnflags_write_strings
635 aros_nowarnflags_unused_const_variable
636 aros_warnflags_unused_const_variable
637 aros_nowarnflags_pointer_to_int_cast
638 aros_warnflags_pointer_to_int_cast
639 aros_nowarnflags_int_to_pointer_cast
640 aros_warnflags_int_to_pointer_cast
641 aros_nowarnflags_int_conversion
642 aros_warnflags_int_conversion
643 aros_nowarnflags_discarded_array_qualifiers
644 aros_warnflags_discarded_array_qualifiers
645 aros_nowarnflags_unknown_pragmas
646 aros_warnflags_unknown_pragmas
647 aros_nowarnflags_sequence_point
648 aros_warnflags_sequence_point
649 aros_nowarnflags_discarded_qualifiers
650 aros_warnflags_discarded_qualifiers
651 aros_nowarnflags_switch
652 aros_warnflags_switch
653 aros_nowarnflags_cpp
654 aros_warnflags_cpp
655 aros_nowarnflags_aggressive_loop_optimizations
656 aros_warnflags_aggressive_loop_optimizations
657 aros_nowarnflags_implicit_int
658 aros_warnflags_implicit_int
659 aros_nowarnflags_format_contains_nul
660 aros_warnflags_format_contains_nul
661 aros_nowarnflags_endif_labels
662 aros_warnflags_endif_labels
663 aros_nowarnflags_char_subscripts
664 aros_warnflags_char_subscripts
665 aros_nowarnflags_parentheses
666 aros_warnflags_parentheses
667 aros_nowarnflags_format
668 aros_warnflags_format
669 aros_nowarnflags_implicit_function_declaration
670 aros_warnflags_implicit_function_declaration
671 aros_nowarnflags_maybe_uninitialized
672 aros_warnflags_maybe_uninitialized
673 aros_nowarnflags_uninitialized
674 aros_warnflags_uninitialized
675 aros_nowarnflags_unused_parameter
676 aros_warnflags_unused_parameter
677 aros_nowarnflags_unused_function
678 aros_warnflags_unused_function
679 aros_nowarnflags_unused_variable
680 aros_warnflags_unused_variable
681 aros_nowarnflags_unused_value
682 aros_warnflags_unused_value
683 aros_nowarnflags_unused_label
684 aros_warnflags_unused_label
685 aros_nowarnflags_unused
686 aros_warnflags_unused
687 aros_nowarnflags_nonnull_compare
688 aros_warnflags_nonnull_compare
689 aros_nowarnflags_misleading_indentation
690 aros_warnflags_misleading_indentation
691 aros_nowarnflags_format_security
692 aros_warnflags_format_security
693 aros_nowarnflags_strict_overflow
694 aros_warnflags_strict_overflow
695 aros_nowarnflags_strict_prototypes
696 aros_warnflags_strict_prototypes
697 aros_nowarnflags_enum_compare
698 aros_warnflags_enum_compare
699 aros_nowarnflags_array_bounds
700 aros_warnflags_array_bounds
701 aros_nowarnflags_strict_aliasing
702 aros_warnflags_strict_aliasing
703 aros_nowarnflags_unused_but_set_variable
704 aros_warnflags_unused_but_set_variable
705 aros_nowarnflags_unknown_warning_option
706 aros_warnflags_unknown_warning_option
707 aros_nowarnflags_unused_command_line_argument
708 aros_warnflags_unused_command_line_argument
709 aros_nowarnflags_error
710 aros_warnflags_error
711 aros_cflags_no_red_zone
712 aros_cflags_iquote_end
713 aros_cflags_iquote
714 aros_cflags_noipacp
715 aros_cflags_ipacp
716 aros_cflags_noinlinesmallfunctions
717 aros_cflags_inlinesmallfunctions
718 aros_cflags_nostrictaliasing
719 aros_cflags_strictaliasing
720 aros_cflags_unroll_loops
721 aros_cflags_peel_loops
722 aros_cflags_loop_strip_mine
723 aros_cflags_loop_interchange
724 aros_cflags_loop_block
725 aros_cflags_whole_program
726 aros_cflags_nolto
727 aros_cflags_lto
728 aros_cflags_no_builtin_floor
729 aros_cflags_fast_math
730 aros_cflags_permissive
731 aros_cflags_exceptions
732 OBJEXT
733 EXEEXT
734 ac_ct_CC
735 CPPFLAGS
736 LDFLAGS
737 CFLAGS
739 target_alias
740 host_alias
741 build_alias
742 LIBS
743 ECHO_T
744 ECHO_N
745 ECHO_C
746 DEFS
747 mandir
748 localedir
749 libdir
750 psdir
751 pdfdir
752 dvidir
753 htmldir
754 infodir
755 docdir
756 oldincludedir
757 includedir
758 localstatedir
759 sharedstatedir
760 sysconfdir
761 datadir
762 datarootdir
763 libexecdir
764 sbindir
765 bindir
766 program_transform_name
767 prefix
768 exec_prefix
769 PACKAGE_URL
770 PACKAGE_BUGREPORT
771 PACKAGE_STRING
772 PACKAGE_VERSION
773 PACKAGE_TARNAME
774 PACKAGE_NAME
775 PATH_SEPARATOR
776 SHELL'
777 ac_subst_files=''
778 ac_user_opts='
779 enable_option_checking
780 with_config_dir
782 ac_precious_vars='build_alias
783 host_alias
784 target_alias
786 CFLAGS
787 LDFLAGS
788 LIBS
789 CPPFLAGS'
792 # Initialize some variables set by options.
793 ac_init_help=
794 ac_init_version=false
795 ac_unrecognized_opts=
796 ac_unrecognized_sep=
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
799 cache_file=/dev/null
800 exec_prefix=NONE
801 no_create=
802 no_recursion=
803 prefix=NONE
804 program_prefix=NONE
805 program_suffix=NONE
806 program_transform_name=s,x,x,
807 silent=
808 site=
809 srcdir=
810 verbose=
811 x_includes=NONE
812 x_libraries=NONE
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir='${exec_prefix}/bin'
821 sbindir='${exec_prefix}/sbin'
822 libexecdir='${exec_prefix}/libexec'
823 datarootdir='${prefix}/share'
824 datadir='${datarootdir}'
825 sysconfdir='${prefix}/etc'
826 sharedstatedir='${prefix}/com'
827 localstatedir='${prefix}/var'
828 includedir='${prefix}/include'
829 oldincludedir='/usr/include'
830 docdir='${datarootdir}/doc/${PACKAGE}'
831 infodir='${datarootdir}/info'
832 htmldir='${docdir}'
833 dvidir='${docdir}'
834 pdfdir='${docdir}'
835 psdir='${docdir}'
836 libdir='${exec_prefix}/lib'
837 localedir='${datarootdir}/locale'
838 mandir='${datarootdir}/man'
840 ac_prev=
841 ac_dashdash=
842 for ac_option
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\$ac_option
847 ac_prev=
848 continue
851 case $ac_option in
852 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 *=) ac_optarg= ;;
854 *) ac_optarg=yes ;;
855 esac
857 # Accept the important Cygnus configure options, so we can diagnose typos.
859 case $ac_dashdash$ac_option in
861 ac_dashdash=yes ;;
863 -bindir | --bindir | --bindi | --bind | --bin | --bi)
864 ac_prev=bindir ;;
865 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
866 bindir=$ac_optarg ;;
868 -build | --build | --buil | --bui | --bu)
869 ac_prev=build_alias ;;
870 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
871 build_alias=$ac_optarg ;;
873 -cache-file | --cache-file | --cache-fil | --cache-fi \
874 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
875 ac_prev=cache_file ;;
876 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
877 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
878 cache_file=$ac_optarg ;;
880 --config-cache | -C)
881 cache_file=config.cache ;;
883 -datadir | --datadir | --datadi | --datad)
884 ac_prev=datadir ;;
885 -datadir=* | --datadir=* | --datadi=* | --datad=*)
886 datadir=$ac_optarg ;;
888 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
889 | --dataroo | --dataro | --datar)
890 ac_prev=datarootdir ;;
891 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
892 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
893 datarootdir=$ac_optarg ;;
895 -disable-* | --disable-*)
896 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
899 as_fn_error $? "invalid feature name: $ac_useropt"
900 ac_useropt_orig=$ac_useropt
901 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902 case $ac_user_opts in
904 "enable_$ac_useropt"
905 "*) ;;
906 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
907 ac_unrecognized_sep=', ';;
908 esac
909 eval enable_$ac_useropt=no ;;
911 -docdir | --docdir | --docdi | --doc | --do)
912 ac_prev=docdir ;;
913 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
914 docdir=$ac_optarg ;;
916 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
917 ac_prev=dvidir ;;
918 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
919 dvidir=$ac_optarg ;;
921 -enable-* | --enable-*)
922 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
923 # Reject names that are not valid shell variable names.
924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
925 as_fn_error $? "invalid feature name: $ac_useropt"
926 ac_useropt_orig=$ac_useropt
927 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928 case $ac_user_opts in
930 "enable_$ac_useropt"
931 "*) ;;
932 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
933 ac_unrecognized_sep=', ';;
934 esac
935 eval enable_$ac_useropt=\$ac_optarg ;;
937 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
938 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
939 | --exec | --exe | --ex)
940 ac_prev=exec_prefix ;;
941 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
942 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
943 | --exec=* | --exe=* | --ex=*)
944 exec_prefix=$ac_optarg ;;
946 -gas | --gas | --ga | --g)
947 # Obsolete; use --with-gas.
948 with_gas=yes ;;
950 -help | --help | --hel | --he | -h)
951 ac_init_help=long ;;
952 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
953 ac_init_help=recursive ;;
954 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
955 ac_init_help=short ;;
957 -host | --host | --hos | --ho)
958 ac_prev=host_alias ;;
959 -host=* | --host=* | --hos=* | --ho=*)
960 host_alias=$ac_optarg ;;
962 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
963 ac_prev=htmldir ;;
964 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
965 | --ht=*)
966 htmldir=$ac_optarg ;;
968 -includedir | --includedir | --includedi | --included | --include \
969 | --includ | --inclu | --incl | --inc)
970 ac_prev=includedir ;;
971 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
972 | --includ=* | --inclu=* | --incl=* | --inc=*)
973 includedir=$ac_optarg ;;
975 -infodir | --infodir | --infodi | --infod | --info | --inf)
976 ac_prev=infodir ;;
977 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
978 infodir=$ac_optarg ;;
980 -libdir | --libdir | --libdi | --libd)
981 ac_prev=libdir ;;
982 -libdir=* | --libdir=* | --libdi=* | --libd=*)
983 libdir=$ac_optarg ;;
985 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
986 | --libexe | --libex | --libe)
987 ac_prev=libexecdir ;;
988 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
989 | --libexe=* | --libex=* | --libe=*)
990 libexecdir=$ac_optarg ;;
992 -localedir | --localedir | --localedi | --localed | --locale)
993 ac_prev=localedir ;;
994 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
995 localedir=$ac_optarg ;;
997 -localstatedir | --localstatedir | --localstatedi | --localstated \
998 | --localstate | --localstat | --localsta | --localst | --locals)
999 ac_prev=localstatedir ;;
1000 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1001 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1002 localstatedir=$ac_optarg ;;
1004 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1005 ac_prev=mandir ;;
1006 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1007 mandir=$ac_optarg ;;
1009 -nfp | --nfp | --nf)
1010 # Obsolete; use --without-fp.
1011 with_fp=no ;;
1013 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1014 | --no-cr | --no-c | -n)
1015 no_create=yes ;;
1017 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1018 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1019 no_recursion=yes ;;
1021 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1022 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1023 | --oldin | --oldi | --old | --ol | --o)
1024 ac_prev=oldincludedir ;;
1025 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1026 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1027 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1028 oldincludedir=$ac_optarg ;;
1030 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1031 ac_prev=prefix ;;
1032 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1033 prefix=$ac_optarg ;;
1035 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1036 | --program-pre | --program-pr | --program-p)
1037 ac_prev=program_prefix ;;
1038 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1039 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1040 program_prefix=$ac_optarg ;;
1042 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1043 | --program-suf | --program-su | --program-s)
1044 ac_prev=program_suffix ;;
1045 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1046 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1047 program_suffix=$ac_optarg ;;
1049 -program-transform-name | --program-transform-name \
1050 | --program-transform-nam | --program-transform-na \
1051 | --program-transform-n | --program-transform- \
1052 | --program-transform | --program-transfor \
1053 | --program-transfo | --program-transf \
1054 | --program-trans | --program-tran \
1055 | --progr-tra | --program-tr | --program-t)
1056 ac_prev=program_transform_name ;;
1057 -program-transform-name=* | --program-transform-name=* \
1058 | --program-transform-nam=* | --program-transform-na=* \
1059 | --program-transform-n=* | --program-transform-=* \
1060 | --program-transform=* | --program-transfor=* \
1061 | --program-transfo=* | --program-transf=* \
1062 | --program-trans=* | --program-tran=* \
1063 | --progr-tra=* | --program-tr=* | --program-t=*)
1064 program_transform_name=$ac_optarg ;;
1066 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1067 ac_prev=pdfdir ;;
1068 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1069 pdfdir=$ac_optarg ;;
1071 -psdir | --psdir | --psdi | --psd | --ps)
1072 ac_prev=psdir ;;
1073 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1074 psdir=$ac_optarg ;;
1076 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1077 | -silent | --silent | --silen | --sile | --sil)
1078 silent=yes ;;
1080 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1081 ac_prev=sbindir ;;
1082 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1083 | --sbi=* | --sb=*)
1084 sbindir=$ac_optarg ;;
1086 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1087 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1088 | --sharedst | --shareds | --shared | --share | --shar \
1089 | --sha | --sh)
1090 ac_prev=sharedstatedir ;;
1091 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1092 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1093 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1094 | --sha=* | --sh=*)
1095 sharedstatedir=$ac_optarg ;;
1097 -site | --site | --sit)
1098 ac_prev=site ;;
1099 -site=* | --site=* | --sit=*)
1100 site=$ac_optarg ;;
1102 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1103 ac_prev=srcdir ;;
1104 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1105 srcdir=$ac_optarg ;;
1107 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1108 | --syscon | --sysco | --sysc | --sys | --sy)
1109 ac_prev=sysconfdir ;;
1110 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1111 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1112 sysconfdir=$ac_optarg ;;
1114 -target | --target | --targe | --targ | --tar | --ta | --t)
1115 ac_prev=target_alias ;;
1116 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1117 target_alias=$ac_optarg ;;
1119 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1120 verbose=yes ;;
1122 -version | --version | --versio | --versi | --vers | -V)
1123 ac_init_version=: ;;
1125 -with-* | --with-*)
1126 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1127 # Reject names that are not valid shell variable names.
1128 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1129 as_fn_error $? "invalid package name: $ac_useropt"
1130 ac_useropt_orig=$ac_useropt
1131 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132 case $ac_user_opts in
1134 "with_$ac_useropt"
1135 "*) ;;
1136 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1137 ac_unrecognized_sep=', ';;
1138 esac
1139 eval with_$ac_useropt=\$ac_optarg ;;
1141 -without-* | --without-*)
1142 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1145 as_fn_error $? "invalid package name: $ac_useropt"
1146 ac_useropt_orig=$ac_useropt
1147 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148 case $ac_user_opts in
1150 "with_$ac_useropt"
1151 "*) ;;
1152 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1153 ac_unrecognized_sep=', ';;
1154 esac
1155 eval with_$ac_useropt=no ;;
1157 --x)
1158 # Obsolete; use --with-x.
1159 with_x=yes ;;
1161 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1162 | --x-incl | --x-inc | --x-in | --x-i)
1163 ac_prev=x_includes ;;
1164 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1165 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1166 x_includes=$ac_optarg ;;
1168 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1169 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1170 ac_prev=x_libraries ;;
1171 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1172 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1173 x_libraries=$ac_optarg ;;
1175 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1176 Try \`$0 --help' for more information"
1179 *=*)
1180 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1181 # Reject names that are not valid shell variable names.
1182 case $ac_envvar in #(
1183 '' | [0-9]* | *[!_$as_cr_alnum]* )
1184 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1185 esac
1186 eval $ac_envvar=\$ac_optarg
1187 export $ac_envvar ;;
1190 # FIXME: should be removed in autoconf 3.0.
1191 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1192 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1193 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1194 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1197 esac
1198 done
1200 if test -n "$ac_prev"; then
1201 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1202 as_fn_error $? "missing argument to $ac_option"
1205 if test -n "$ac_unrecognized_opts"; then
1206 case $enable_option_checking in
1207 no) ;;
1208 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1209 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1210 esac
1213 # Check all directory arguments for consistency.
1214 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1215 datadir sysconfdir sharedstatedir localstatedir includedir \
1216 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1217 libdir localedir mandir
1219 eval ac_val=\$$ac_var
1220 # Remove trailing slashes.
1221 case $ac_val in
1222 */ )
1223 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1224 eval $ac_var=\$ac_val;;
1225 esac
1226 # Be sure to have absolute directory names.
1227 case $ac_val in
1228 [\\/$]* | ?:[\\/]* ) continue;;
1229 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1230 esac
1231 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1232 done
1234 # There might be people who depend on the old broken behavior: `$host'
1235 # used to hold the argument of --host etc.
1236 # FIXME: To remove some day.
1237 build=$build_alias
1238 host=$host_alias
1239 target=$target_alias
1241 # FIXME: To remove some day.
1242 if test "x$host_alias" != x; then
1243 if test "x$build_alias" = x; then
1244 cross_compiling=maybe
1245 elif test "x$build_alias" != "x$host_alias"; then
1246 cross_compiling=yes
1250 ac_tool_prefix=
1251 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1253 test "$silent" = yes && exec 6>/dev/null
1256 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1257 ac_ls_di=`ls -di .` &&
1258 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1259 as_fn_error $? "working directory cannot be determined"
1260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1261 as_fn_error $? "pwd does not report name of working directory"
1264 # Find the source files, if location was not specified.
1265 if test -z "$srcdir"; then
1266 ac_srcdir_defaulted=yes
1267 # Try the directory containing this script, then the parent directory.
1268 ac_confdir=`$as_dirname -- "$as_myself" ||
1269 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1270 X"$as_myself" : 'X\(//\)[^/]' \| \
1271 X"$as_myself" : 'X\(//\)$' \| \
1272 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1273 $as_echo X"$as_myself" |
1274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1275 s//\1/
1278 /^X\(\/\/\)[^/].*/{
1279 s//\1/
1282 /^X\(\/\/\)$/{
1283 s//\1/
1286 /^X\(\/\).*/{
1287 s//\1/
1290 s/.*/./; q'`
1291 srcdir=$ac_confdir
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1293 srcdir=..
1295 else
1296 ac_srcdir_defaulted=no
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1299 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1300 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1302 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1303 ac_abs_confdir=`(
1304 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1305 pwd)`
1306 # When building in place, set srcdir=.
1307 if test "$ac_abs_confdir" = "$ac_pwd"; then
1308 srcdir=.
1310 # Remove unnecessary trailing slashes from srcdir.
1311 # Double slashes in file names in object file debugging info
1312 # mess up M-x gdb in Emacs.
1313 case $srcdir in
1314 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1315 esac
1316 for ac_var in $ac_precious_vars; do
1317 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1318 eval ac_env_${ac_var}_value=\$${ac_var}
1319 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1320 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1321 done
1324 # Report the --help message.
1326 if test "$ac_init_help" = "long"; then
1327 # Omit some internal or obsolete options to make the list less imposing.
1328 # This message is too long to be a string in the A/UX 3.1 sh.
1329 cat <<_ACEOF
1330 \`configure' configures this package to adapt to many kinds of systems.
1332 Usage: $0 [OPTION]... [VAR=VALUE]...
1334 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1335 VAR=VALUE. See below for descriptions of some of the useful variables.
1337 Defaults for the options are specified in brackets.
1339 Configuration:
1340 -h, --help display this help and exit
1341 --help=short display options specific to this package
1342 --help=recursive display the short help of all the included packages
1343 -V, --version display version information and exit
1344 -q, --quiet, --silent do not print \`checking ...' messages
1345 --cache-file=FILE cache test results in FILE [disabled]
1346 -C, --config-cache alias for \`--cache-file=config.cache'
1347 -n, --no-create do not create output files
1348 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1350 Installation directories:
1351 --prefix=PREFIX install architecture-independent files in PREFIX
1352 [$ac_default_prefix]
1353 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1354 [PREFIX]
1356 By default, \`make install' will install all the files in
1357 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1358 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1359 for instance \`--prefix=\$HOME'.
1361 For better control, use the options below.
1363 Fine tuning of the installation directories:
1364 --bindir=DIR user executables [EPREFIX/bin]
1365 --sbindir=DIR system admin executables [EPREFIX/sbin]
1366 --libexecdir=DIR program executables [EPREFIX/libexec]
1367 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1368 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1369 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1370 --libdir=DIR object code libraries [EPREFIX/lib]
1371 --includedir=DIR C header files [PREFIX/include]
1372 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1373 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1374 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1375 --infodir=DIR info documentation [DATAROOTDIR/info]
1376 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1377 --mandir=DIR man documentation [DATAROOTDIR/man]
1378 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1379 --htmldir=DIR html documentation [DOCDIR]
1380 --dvidir=DIR dvi documentation [DOCDIR]
1381 --pdfdir=DIR pdf documentation [DOCDIR]
1382 --psdir=DIR ps documentation [DOCDIR]
1383 _ACEOF
1385 cat <<\_ACEOF
1386 _ACEOF
1389 if test -n "$ac_init_help"; then
1391 cat <<\_ACEOF
1393 Optional Packages:
1394 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1395 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1396 --with-config-dir=VERSION
1397 Location of generated target config files
1399 Some influential environment variables:
1400 CC C compiler command
1401 CFLAGS C compiler flags
1402 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1403 nonstandard directory <lib dir>
1404 LIBS libraries to pass to the linker, e.g. -l<library>
1405 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1406 you have headers in a nonstandard directory <include dir>
1408 Use these variables to override the choices made by `configure' or to help
1409 it to find libraries and programs with nonstandard names/locations.
1411 Report bugs to the package provider.
1412 _ACEOF
1413 ac_status=$?
1416 if test "$ac_init_help" = "recursive"; then
1417 # If there are subdirs, report their specific --help.
1418 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1419 test -d "$ac_dir" ||
1420 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1421 continue
1422 ac_builddir=.
1424 case "$ac_dir" in
1425 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1427 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1428 # A ".." for each directory in $ac_dir_suffix.
1429 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1430 case $ac_top_builddir_sub in
1431 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1432 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1433 esac ;;
1434 esac
1435 ac_abs_top_builddir=$ac_pwd
1436 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1437 # for backward compatibility:
1438 ac_top_builddir=$ac_top_build_prefix
1440 case $srcdir in
1441 .) # We are building in place.
1442 ac_srcdir=.
1443 ac_top_srcdir=$ac_top_builddir_sub
1444 ac_abs_top_srcdir=$ac_pwd ;;
1445 [\\/]* | ?:[\\/]* ) # Absolute name.
1446 ac_srcdir=$srcdir$ac_dir_suffix;
1447 ac_top_srcdir=$srcdir
1448 ac_abs_top_srcdir=$srcdir ;;
1449 *) # Relative name.
1450 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1451 ac_top_srcdir=$ac_top_build_prefix$srcdir
1452 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1453 esac
1454 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1456 cd "$ac_dir" || { ac_status=$?; continue; }
1457 # Check for guested configure.
1458 if test -f "$ac_srcdir/configure.gnu"; then
1459 echo &&
1460 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1461 elif test -f "$ac_srcdir/configure"; then
1462 echo &&
1463 $SHELL "$ac_srcdir/configure" --help=recursive
1464 else
1465 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1466 fi || ac_status=$?
1467 cd "$ac_pwd" || { ac_status=$?; break; }
1468 done
1471 test -n "$ac_init_help" && exit $ac_status
1472 if $ac_init_version; then
1473 cat <<\_ACEOF
1474 configure
1475 generated by GNU Autoconf 2.69
1477 Copyright (C) 2012 Free Software Foundation, Inc.
1478 This configure script is free software; the Free Software Foundation
1479 gives unlimited permission to copy, distribute and modify it.
1480 _ACEOF
1481 exit
1484 ## ------------------------ ##
1485 ## Autoconf initialization. ##
1486 ## ------------------------ ##
1488 # ac_fn_c_try_compile LINENO
1489 # --------------------------
1490 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1491 ac_fn_c_try_compile ()
1493 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1494 rm -f conftest.$ac_objext
1495 if { { ac_try="$ac_compile"
1496 case "(($ac_try" in
1497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1498 *) ac_try_echo=$ac_try;;
1499 esac
1500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1501 $as_echo "$ac_try_echo"; } >&5
1502 (eval "$ac_compile") 2>conftest.err
1503 ac_status=$?
1504 if test -s conftest.err; then
1505 grep -v '^ *+' conftest.err >conftest.er1
1506 cat conftest.er1 >&5
1507 mv -f conftest.er1 conftest.err
1509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1510 test $ac_status = 0; } && {
1511 test -z "$ac_c_werror_flag" ||
1512 test ! -s conftest.err
1513 } && test -s conftest.$ac_objext; then :
1514 ac_retval=0
1515 else
1516 $as_echo "$as_me: failed program was:" >&5
1517 sed 's/^/| /' conftest.$ac_ext >&5
1519 ac_retval=1
1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1522 as_fn_set_status $ac_retval
1524 } # ac_fn_c_try_compile
1525 cat >config.log <<_ACEOF
1526 This file contains any messages produced by compilers while
1527 running configure, to aid debugging if configure makes a mistake.
1529 It was created by $as_me, which was
1530 generated by GNU Autoconf 2.69. Invocation command line was
1532 $ $0 $@
1534 _ACEOF
1535 exec 5>>config.log
1537 cat <<_ASUNAME
1538 ## --------- ##
1539 ## Platform. ##
1540 ## --------- ##
1542 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1543 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1544 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1545 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1546 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1548 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1549 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1551 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1552 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1553 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1554 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1555 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1556 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1557 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1559 _ASUNAME
1561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1562 for as_dir in $PATH
1564 IFS=$as_save_IFS
1565 test -z "$as_dir" && as_dir=.
1566 $as_echo "PATH: $as_dir"
1567 done
1568 IFS=$as_save_IFS
1570 } >&5
1572 cat >&5 <<_ACEOF
1575 ## ----------- ##
1576 ## Core tests. ##
1577 ## ----------- ##
1579 _ACEOF
1582 # Keep a trace of the command line.
1583 # Strip out --no-create and --no-recursion so they do not pile up.
1584 # Strip out --silent because we don't want to record it for future runs.
1585 # Also quote any args containing shell meta-characters.
1586 # Make two passes to allow for proper duplicate-argument suppression.
1587 ac_configure_args=
1588 ac_configure_args0=
1589 ac_configure_args1=
1590 ac_must_keep_next=false
1591 for ac_pass in 1 2
1593 for ac_arg
1595 case $ac_arg in
1596 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1597 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1598 | -silent | --silent | --silen | --sile | --sil)
1599 continue ;;
1600 *\'*)
1601 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1602 esac
1603 case $ac_pass in
1604 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1606 as_fn_append ac_configure_args1 " '$ac_arg'"
1607 if test $ac_must_keep_next = true; then
1608 ac_must_keep_next=false # Got value, back to normal.
1609 else
1610 case $ac_arg in
1611 *=* | --config-cache | -C | -disable-* | --disable-* \
1612 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1613 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1614 | -with-* | --with-* | -without-* | --without-* | --x)
1615 case "$ac_configure_args0 " in
1616 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1617 esac
1619 -* ) ac_must_keep_next=true ;;
1620 esac
1622 as_fn_append ac_configure_args " '$ac_arg'"
1624 esac
1625 done
1626 done
1627 { ac_configure_args0=; unset ac_configure_args0;}
1628 { ac_configure_args1=; unset ac_configure_args1;}
1630 # When interrupted or exit'd, cleanup temporary files, and complete
1631 # config.log. We remove comments because anyway the quotes in there
1632 # would cause problems or look ugly.
1633 # WARNING: Use '\'' to represent an apostrophe within the trap.
1634 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1635 trap 'exit_status=$?
1636 # Save into config.log some information that might help in debugging.
1638 echo
1640 $as_echo "## ---------------- ##
1641 ## Cache variables. ##
1642 ## ---------------- ##"
1643 echo
1644 # The following way of writing the cache mishandles newlines in values,
1646 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1647 eval ac_val=\$$ac_var
1648 case $ac_val in #(
1649 *${as_nl}*)
1650 case $ac_var in #(
1651 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1652 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1653 esac
1654 case $ac_var in #(
1655 _ | IFS | as_nl) ;; #(
1656 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1657 *) { eval $ac_var=; unset $ac_var;} ;;
1658 esac ;;
1659 esac
1660 done
1661 (set) 2>&1 |
1662 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1663 *${as_nl}ac_space=\ *)
1664 sed -n \
1665 "s/'\''/'\''\\\\'\'''\''/g;
1666 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1667 ;; #(
1669 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1671 esac |
1672 sort
1674 echo
1676 $as_echo "## ----------------- ##
1677 ## Output variables. ##
1678 ## ----------------- ##"
1679 echo
1680 for ac_var in $ac_subst_vars
1682 eval ac_val=\$$ac_var
1683 case $ac_val in
1684 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1685 esac
1686 $as_echo "$ac_var='\''$ac_val'\''"
1687 done | sort
1688 echo
1690 if test -n "$ac_subst_files"; then
1691 $as_echo "## ------------------- ##
1692 ## File substitutions. ##
1693 ## ------------------- ##"
1694 echo
1695 for ac_var in $ac_subst_files
1697 eval ac_val=\$$ac_var
1698 case $ac_val in
1699 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1700 esac
1701 $as_echo "$ac_var='\''$ac_val'\''"
1702 done | sort
1703 echo
1706 if test -s confdefs.h; then
1707 $as_echo "## ----------- ##
1708 ## confdefs.h. ##
1709 ## ----------- ##"
1710 echo
1711 cat confdefs.h
1712 echo
1714 test "$ac_signal" != 0 &&
1715 $as_echo "$as_me: caught signal $ac_signal"
1716 $as_echo "$as_me: exit $exit_status"
1717 } >&5
1718 rm -f core *.core core.conftest.* &&
1719 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1720 exit $exit_status
1722 for ac_signal in 1 2 13 15; do
1723 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1724 done
1725 ac_signal=0
1727 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1728 rm -f -r conftest* confdefs.h
1730 $as_echo "/* confdefs.h */" > confdefs.h
1732 # Predefined preprocessor variables.
1734 cat >>confdefs.h <<_ACEOF
1735 #define PACKAGE_NAME "$PACKAGE_NAME"
1736 _ACEOF
1738 cat >>confdefs.h <<_ACEOF
1739 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1740 _ACEOF
1742 cat >>confdefs.h <<_ACEOF
1743 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1744 _ACEOF
1746 cat >>confdefs.h <<_ACEOF
1747 #define PACKAGE_STRING "$PACKAGE_STRING"
1748 _ACEOF
1750 cat >>confdefs.h <<_ACEOF
1751 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1752 _ACEOF
1754 cat >>confdefs.h <<_ACEOF
1755 #define PACKAGE_URL "$PACKAGE_URL"
1756 _ACEOF
1759 # Let the site file select an alternate cache file if it wants to.
1760 # Prefer an explicitly selected file to automatically selected ones.
1761 ac_site_file1=NONE
1762 ac_site_file2=NONE
1763 if test -n "$CONFIG_SITE"; then
1764 # We do not want a PATH search for config.site.
1765 case $CONFIG_SITE in #((
1766 -*) ac_site_file1=./$CONFIG_SITE;;
1767 */*) ac_site_file1=$CONFIG_SITE;;
1768 *) ac_site_file1=./$CONFIG_SITE;;
1769 esac
1770 elif test "x$prefix" != xNONE; then
1771 ac_site_file1=$prefix/share/config.site
1772 ac_site_file2=$prefix/etc/config.site
1773 else
1774 ac_site_file1=$ac_default_prefix/share/config.site
1775 ac_site_file2=$ac_default_prefix/etc/config.site
1777 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1779 test "x$ac_site_file" = xNONE && continue
1780 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1782 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1783 sed 's/^/| /' "$ac_site_file" >&5
1784 . "$ac_site_file" \
1785 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1787 as_fn_error $? "failed to load site script $ac_site_file
1788 See \`config.log' for more details" "$LINENO" 5; }
1790 done
1792 if test -r "$cache_file"; then
1793 # Some versions of bash will fail to source /dev/null (special files
1794 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1795 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1797 $as_echo "$as_me: loading cache $cache_file" >&6;}
1798 case $cache_file in
1799 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1800 *) . "./$cache_file";;
1801 esac
1803 else
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1805 $as_echo "$as_me: creating cache $cache_file" >&6;}
1806 >$cache_file
1809 # Check that the precious variables saved in the cache have kept the same
1810 # value.
1811 ac_cache_corrupted=false
1812 for ac_var in $ac_precious_vars; do
1813 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1814 eval ac_new_set=\$ac_env_${ac_var}_set
1815 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1816 eval ac_new_val=\$ac_env_${ac_var}_value
1817 case $ac_old_set,$ac_new_set in
1818 set,)
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1820 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1821 ac_cache_corrupted=: ;;
1822 ,set)
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1824 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1825 ac_cache_corrupted=: ;;
1826 ,);;
1828 if test "x$ac_old_val" != "x$ac_new_val"; then
1829 # differences in whitespace do not lead to failure.
1830 ac_old_val_w=`echo x $ac_old_val`
1831 ac_new_val_w=`echo x $ac_new_val`
1832 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1834 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1835 ac_cache_corrupted=:
1836 else
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1838 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1839 eval $ac_var=\$ac_old_val
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1842 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1844 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1845 fi;;
1846 esac
1847 # Pass precious variables to config.status.
1848 if test "$ac_new_set" = set; then
1849 case $ac_new_val in
1850 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1851 *) ac_arg=$ac_var=$ac_new_val ;;
1852 esac
1853 case " $ac_configure_args " in
1854 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1855 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1856 esac
1858 done
1859 if $ac_cache_corrupted; then
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1861 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1863 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1864 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1866 ## -------------------- ##
1867 ## Main body of script. ##
1868 ## -------------------- ##
1870 ac_ext=c
1871 ac_cpp='$CPP $CPPFLAGS'
1872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1878 ac_aux_dir=
1879 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1880 if test -f "$ac_dir/install-sh"; then
1881 ac_aux_dir=$ac_dir
1882 ac_install_sh="$ac_aux_dir/install-sh -c"
1883 break
1884 elif test -f "$ac_dir/install.sh"; then
1885 ac_aux_dir=$ac_dir
1886 ac_install_sh="$ac_aux_dir/install.sh -c"
1887 break
1888 elif test -f "$ac_dir/shtool"; then
1889 ac_aux_dir=$ac_dir
1890 ac_install_sh="$ac_aux_dir/shtool install -c"
1891 break
1893 done
1894 if test -z "$ac_aux_dir"; then
1895 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1898 # These three variables are undocumented and unsupported,
1899 # and are intended to be withdrawn in a future Autoconf release.
1900 # They can cause serious problems if a builder's source tree is in a directory
1901 # whose full name contains unusual characters.
1902 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1903 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1904 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1908 AROS_BUILDDIR=`${PWDCMD-pwd}`
1909 AROS_BUILDDIR_UNIX=${PWD}
1911 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1912 SRCDIR=${srcpwd}
1914 NOLINKFLAGS="-nostdlib -nostartfiles"
1915 LDFLAGS=$NOLINKFLAGS
1916 # The first step is to find the binaries.
1917 ac_ext=c
1918 ac_cpp='$CPP $CPPFLAGS'
1919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1922 if test -n "$ac_tool_prefix"; then
1923 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1924 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1926 $as_echo_n "checking for $ac_word... " >&6; }
1927 if ${ac_cv_prog_CC+:} false; then :
1928 $as_echo_n "(cached) " >&6
1929 else
1930 if test -n "$CC"; then
1931 ac_cv_prog_CC="$CC" # Let the user override the test.
1932 else
1933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1934 for as_dir in $PATH
1936 IFS=$as_save_IFS
1937 test -z "$as_dir" && as_dir=.
1938 for ac_exec_ext in '' $ac_executable_extensions; do
1939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1940 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1942 break 2
1944 done
1945 done
1946 IFS=$as_save_IFS
1950 CC=$ac_cv_prog_CC
1951 if test -n "$CC"; then
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1953 $as_echo "$CC" >&6; }
1954 else
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1956 $as_echo "no" >&6; }
1961 if test -z "$ac_cv_prog_CC"; then
1962 ac_ct_CC=$CC
1963 # Extract the first word of "gcc", so it can be a program name with args.
1964 set dummy gcc; ac_word=$2
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1966 $as_echo_n "checking for $ac_word... " >&6; }
1967 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1968 $as_echo_n "(cached) " >&6
1969 else
1970 if test -n "$ac_ct_CC"; then
1971 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1972 else
1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1974 for as_dir in $PATH
1976 IFS=$as_save_IFS
1977 test -z "$as_dir" && as_dir=.
1978 for ac_exec_ext in '' $ac_executable_extensions; do
1979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1980 ac_cv_prog_ac_ct_CC="gcc"
1981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1982 break 2
1984 done
1985 done
1986 IFS=$as_save_IFS
1990 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1991 if test -n "$ac_ct_CC"; then
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1993 $as_echo "$ac_ct_CC" >&6; }
1994 else
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1996 $as_echo "no" >&6; }
1999 if test "x$ac_ct_CC" = x; then
2000 CC=""
2001 else
2002 case $cross_compiling:$ac_tool_warned in
2003 yes:)
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2006 ac_tool_warned=yes ;;
2007 esac
2008 CC=$ac_ct_CC
2010 else
2011 CC="$ac_cv_prog_CC"
2014 if test -z "$CC"; then
2015 if test -n "$ac_tool_prefix"; then
2016 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2017 set dummy ${ac_tool_prefix}cc; ac_word=$2
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2019 $as_echo_n "checking for $ac_word... " >&6; }
2020 if ${ac_cv_prog_CC+:} false; then :
2021 $as_echo_n "(cached) " >&6
2022 else
2023 if test -n "$CC"; then
2024 ac_cv_prog_CC="$CC" # Let the user override the test.
2025 else
2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2027 for as_dir in $PATH
2029 IFS=$as_save_IFS
2030 test -z "$as_dir" && as_dir=.
2031 for ac_exec_ext in '' $ac_executable_extensions; do
2032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2033 ac_cv_prog_CC="${ac_tool_prefix}cc"
2034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2035 break 2
2037 done
2038 done
2039 IFS=$as_save_IFS
2043 CC=$ac_cv_prog_CC
2044 if test -n "$CC"; then
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2046 $as_echo "$CC" >&6; }
2047 else
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2049 $as_echo "no" >&6; }
2055 if test -z "$CC"; then
2056 # Extract the first word of "cc", so it can be a program name with args.
2057 set dummy cc; ac_word=$2
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2059 $as_echo_n "checking for $ac_word... " >&6; }
2060 if ${ac_cv_prog_CC+:} false; then :
2061 $as_echo_n "(cached) " >&6
2062 else
2063 if test -n "$CC"; then
2064 ac_cv_prog_CC="$CC" # Let the user override the test.
2065 else
2066 ac_prog_rejected=no
2067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2068 for as_dir in $PATH
2070 IFS=$as_save_IFS
2071 test -z "$as_dir" && as_dir=.
2072 for ac_exec_ext in '' $ac_executable_extensions; do
2073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2074 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2075 ac_prog_rejected=yes
2076 continue
2078 ac_cv_prog_CC="cc"
2079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2080 break 2
2082 done
2083 done
2084 IFS=$as_save_IFS
2086 if test $ac_prog_rejected = yes; then
2087 # We found a bogon in the path, so make sure we never use it.
2088 set dummy $ac_cv_prog_CC
2089 shift
2090 if test $# != 0; then
2091 # We chose a different compiler from the bogus one.
2092 # However, it has the same basename, so the bogon will be chosen
2093 # first if we set CC to just the basename; use the full file name.
2094 shift
2095 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2100 CC=$ac_cv_prog_CC
2101 if test -n "$CC"; then
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2103 $as_echo "$CC" >&6; }
2104 else
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2106 $as_echo "no" >&6; }
2111 if test -z "$CC"; then
2112 if test -n "$ac_tool_prefix"; then
2113 for ac_prog in cl.exe
2115 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2116 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2118 $as_echo_n "checking for $ac_word... " >&6; }
2119 if ${ac_cv_prog_CC+:} false; then :
2120 $as_echo_n "(cached) " >&6
2121 else
2122 if test -n "$CC"; then
2123 ac_cv_prog_CC="$CC" # Let the user override the test.
2124 else
2125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2126 for as_dir in $PATH
2128 IFS=$as_save_IFS
2129 test -z "$as_dir" && as_dir=.
2130 for ac_exec_ext in '' $ac_executable_extensions; do
2131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2132 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2134 break 2
2136 done
2137 done
2138 IFS=$as_save_IFS
2142 CC=$ac_cv_prog_CC
2143 if test -n "$CC"; then
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2145 $as_echo "$CC" >&6; }
2146 else
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2148 $as_echo "no" >&6; }
2152 test -n "$CC" && break
2153 done
2155 if test -z "$CC"; then
2156 ac_ct_CC=$CC
2157 for ac_prog in cl.exe
2159 # Extract the first word of "$ac_prog", so it can be a program name with args.
2160 set dummy $ac_prog; ac_word=$2
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2162 $as_echo_n "checking for $ac_word... " >&6; }
2163 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2164 $as_echo_n "(cached) " >&6
2165 else
2166 if test -n "$ac_ct_CC"; then
2167 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2168 else
2169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2170 for as_dir in $PATH
2172 IFS=$as_save_IFS
2173 test -z "$as_dir" && as_dir=.
2174 for ac_exec_ext in '' $ac_executable_extensions; do
2175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2176 ac_cv_prog_ac_ct_CC="$ac_prog"
2177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 break 2
2180 done
2181 done
2182 IFS=$as_save_IFS
2186 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2187 if test -n "$ac_ct_CC"; then
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2189 $as_echo "$ac_ct_CC" >&6; }
2190 else
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2192 $as_echo "no" >&6; }
2196 test -n "$ac_ct_CC" && break
2197 done
2199 if test "x$ac_ct_CC" = x; then
2200 CC=""
2201 else
2202 case $cross_compiling:$ac_tool_warned in
2203 yes:)
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2206 ac_tool_warned=yes ;;
2207 esac
2208 CC=$ac_ct_CC
2215 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2217 as_fn_error $? "no acceptable C compiler found in \$PATH
2218 See \`config.log' for more details" "$LINENO" 5; }
2220 # Provide some information about the compiler.
2221 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2222 set X $ac_compile
2223 ac_compiler=$2
2224 for ac_option in --version -v -V -qversion; do
2225 { { ac_try="$ac_compiler $ac_option >&5"
2226 case "(($ac_try" in
2227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2228 *) ac_try_echo=$ac_try;;
2229 esac
2230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2231 $as_echo "$ac_try_echo"; } >&5
2232 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2233 ac_status=$?
2234 if test -s conftest.err; then
2235 sed '10a\
2236 ... rest of stderr output deleted ...
2237 10q' conftest.err >conftest.er1
2238 cat conftest.er1 >&5
2240 rm -f conftest.er1 conftest.err
2241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2242 test $ac_status = 0; }
2243 done
2245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2246 /* end confdefs.h. */
2249 main ()
2253 return 0;
2255 _ACEOF
2256 ac_clean_files_save=$ac_clean_files
2257 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2258 # Try to create an executable without -o first, disregard a.out.
2259 # It will help us diagnose broken compilers, and finding out an intuition
2260 # of exeext.
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2262 $as_echo_n "checking whether the C compiler works... " >&6; }
2263 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2265 # The possible output files:
2266 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2268 ac_rmfiles=
2269 for ac_file in $ac_files
2271 case $ac_file in
2272 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2273 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2274 esac
2275 done
2276 rm -f $ac_rmfiles
2278 if { { ac_try="$ac_link_default"
2279 case "(($ac_try" in
2280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2281 *) ac_try_echo=$ac_try;;
2282 esac
2283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2284 $as_echo "$ac_try_echo"; } >&5
2285 (eval "$ac_link_default") 2>&5
2286 ac_status=$?
2287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2288 test $ac_status = 0; }; then :
2289 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2290 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2291 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2292 # so that the user can short-circuit this test for compilers unknown to
2293 # Autoconf.
2294 for ac_file in $ac_files ''
2296 test -f "$ac_file" || continue
2297 case $ac_file in
2298 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2300 [ab].out )
2301 # We found the default executable, but exeext='' is most
2302 # certainly right.
2303 break;;
2304 *.* )
2305 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2306 then :; else
2307 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2309 # We set ac_cv_exeext here because the later test for it is not
2310 # safe: cross compilers may not add the suffix if given an `-o'
2311 # argument, so we may need to know it at that point already.
2312 # Even if this section looks crufty: it has the advantage of
2313 # actually working.
2314 break;;
2316 break;;
2317 esac
2318 done
2319 test "$ac_cv_exeext" = no && ac_cv_exeext=
2321 else
2322 ac_file=''
2324 if test -z "$ac_file"; then :
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2326 $as_echo "no" >&6; }
2327 $as_echo "$as_me: failed program was:" >&5
2328 sed 's/^/| /' conftest.$ac_ext >&5
2330 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2332 as_fn_error 77 "C compiler cannot create executables
2333 See \`config.log' for more details" "$LINENO" 5; }
2334 else
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2336 $as_echo "yes" >&6; }
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2339 $as_echo_n "checking for C compiler default output file name... " >&6; }
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2341 $as_echo "$ac_file" >&6; }
2342 ac_exeext=$ac_cv_exeext
2344 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2345 ac_clean_files=$ac_clean_files_save
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2347 $as_echo_n "checking for suffix of executables... " >&6; }
2348 if { { ac_try="$ac_link"
2349 case "(($ac_try" in
2350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2351 *) ac_try_echo=$ac_try;;
2352 esac
2353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2354 $as_echo "$ac_try_echo"; } >&5
2355 (eval "$ac_link") 2>&5
2356 ac_status=$?
2357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2358 test $ac_status = 0; }; then :
2359 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2360 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2361 # work properly (i.e., refer to `conftest.exe'), while it won't with
2362 # `rm'.
2363 for ac_file in conftest.exe conftest conftest.*; do
2364 test -f "$ac_file" || continue
2365 case $ac_file in
2366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2367 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2368 break;;
2369 * ) break;;
2370 esac
2371 done
2372 else
2373 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2375 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2376 See \`config.log' for more details" "$LINENO" 5; }
2378 rm -f conftest conftest$ac_cv_exeext
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2380 $as_echo "$ac_cv_exeext" >&6; }
2382 rm -f conftest.$ac_ext
2383 EXEEXT=$ac_cv_exeext
2384 ac_exeext=$EXEEXT
2385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2386 /* end confdefs.h. */
2387 #include <stdio.h>
2389 main ()
2391 FILE *f = fopen ("conftest.out", "w");
2392 return ferror (f) || fclose (f) != 0;
2395 return 0;
2397 _ACEOF
2398 ac_clean_files="$ac_clean_files conftest.out"
2399 # Check that the compiler produces executables we can run. If not, either
2400 # the compiler is broken, or we cross compile.
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2402 $as_echo_n "checking whether we are cross compiling... " >&6; }
2403 if test "$cross_compiling" != yes; then
2404 { { ac_try="$ac_link"
2405 case "(($ac_try" in
2406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2407 *) ac_try_echo=$ac_try;;
2408 esac
2409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2410 $as_echo "$ac_try_echo"; } >&5
2411 (eval "$ac_link") 2>&5
2412 ac_status=$?
2413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2414 test $ac_status = 0; }
2415 if { ac_try='./conftest$ac_cv_exeext'
2416 { { case "(($ac_try" in
2417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2418 *) ac_try_echo=$ac_try;;
2419 esac
2420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2421 $as_echo "$ac_try_echo"; } >&5
2422 (eval "$ac_try") 2>&5
2423 ac_status=$?
2424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2425 test $ac_status = 0; }; }; then
2426 cross_compiling=no
2427 else
2428 if test "$cross_compiling" = maybe; then
2429 cross_compiling=yes
2430 else
2431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2433 as_fn_error $? "cannot run C compiled programs.
2434 If you meant to cross compile, use \`--host'.
2435 See \`config.log' for more details" "$LINENO" 5; }
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2440 $as_echo "$cross_compiling" >&6; }
2442 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2443 ac_clean_files=$ac_clean_files_save
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2445 $as_echo_n "checking for suffix of object files... " >&6; }
2446 if ${ac_cv_objext+:} false; then :
2447 $as_echo_n "(cached) " >&6
2448 else
2449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2450 /* end confdefs.h. */
2453 main ()
2457 return 0;
2459 _ACEOF
2460 rm -f conftest.o conftest.obj
2461 if { { ac_try="$ac_compile"
2462 case "(($ac_try" in
2463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2464 *) ac_try_echo=$ac_try;;
2465 esac
2466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2467 $as_echo "$ac_try_echo"; } >&5
2468 (eval "$ac_compile") 2>&5
2469 ac_status=$?
2470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2471 test $ac_status = 0; }; then :
2472 for ac_file in conftest.o conftest.obj conftest.*; do
2473 test -f "$ac_file" || continue;
2474 case $ac_file in
2475 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2476 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2477 break;;
2478 esac
2479 done
2480 else
2481 $as_echo "$as_me: failed program was:" >&5
2482 sed 's/^/| /' conftest.$ac_ext >&5
2484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2486 as_fn_error $? "cannot compute suffix of object files: cannot compile
2487 See \`config.log' for more details" "$LINENO" 5; }
2489 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2492 $as_echo "$ac_cv_objext" >&6; }
2493 OBJEXT=$ac_cv_objext
2494 ac_objext=$OBJEXT
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2496 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2497 if ${ac_cv_c_compiler_gnu+:} false; then :
2498 $as_echo_n "(cached) " >&6
2499 else
2500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2501 /* end confdefs.h. */
2504 main ()
2506 #ifndef __GNUC__
2507 choke me
2508 #endif
2511 return 0;
2513 _ACEOF
2514 if ac_fn_c_try_compile "$LINENO"; then :
2515 ac_compiler_gnu=yes
2516 else
2517 ac_compiler_gnu=no
2519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2520 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2524 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2525 if test $ac_compiler_gnu = yes; then
2526 GCC=yes
2527 else
2528 GCC=
2530 ac_test_CFLAGS=${CFLAGS+set}
2531 ac_save_CFLAGS=$CFLAGS
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2533 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2534 if ${ac_cv_prog_cc_g+:} false; then :
2535 $as_echo_n "(cached) " >&6
2536 else
2537 ac_save_c_werror_flag=$ac_c_werror_flag
2538 ac_c_werror_flag=yes
2539 ac_cv_prog_cc_g=no
2540 CFLAGS="-g"
2541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2542 /* end confdefs.h. */
2545 main ()
2549 return 0;
2551 _ACEOF
2552 if ac_fn_c_try_compile "$LINENO"; then :
2553 ac_cv_prog_cc_g=yes
2554 else
2555 CFLAGS=""
2556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2557 /* end confdefs.h. */
2560 main ()
2564 return 0;
2566 _ACEOF
2567 if ac_fn_c_try_compile "$LINENO"; then :
2569 else
2570 ac_c_werror_flag=$ac_save_c_werror_flag
2571 CFLAGS="-g"
2572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2573 /* end confdefs.h. */
2576 main ()
2580 return 0;
2582 _ACEOF
2583 if ac_fn_c_try_compile "$LINENO"; then :
2584 ac_cv_prog_cc_g=yes
2586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2591 ac_c_werror_flag=$ac_save_c_werror_flag
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2594 $as_echo "$ac_cv_prog_cc_g" >&6; }
2595 if test "$ac_test_CFLAGS" = set; then
2596 CFLAGS=$ac_save_CFLAGS
2597 elif test $ac_cv_prog_cc_g = yes; then
2598 if test "$GCC" = yes; then
2599 CFLAGS="-g -O2"
2600 else
2601 CFLAGS="-g"
2603 else
2604 if test "$GCC" = yes; then
2605 CFLAGS="-O2"
2606 else
2607 CFLAGS=
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2611 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2612 if ${ac_cv_prog_cc_c89+:} false; then :
2613 $as_echo_n "(cached) " >&6
2614 else
2615 ac_cv_prog_cc_c89=no
2616 ac_save_CC=$CC
2617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2618 /* end confdefs.h. */
2619 #include <stdarg.h>
2620 #include <stdio.h>
2621 struct stat;
2622 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2623 struct buf { int x; };
2624 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2625 static char *e (p, i)
2626 char **p;
2627 int i;
2629 return p[i];
2631 static char *f (char * (*g) (char **, int), char **p, ...)
2633 char *s;
2634 va_list v;
2635 va_start (v,p);
2636 s = g (p, va_arg (v,int));
2637 va_end (v);
2638 return s;
2641 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2642 function prototypes and stuff, but not '\xHH' hex character constants.
2643 These don't provoke an error unfortunately, instead are silently treated
2644 as 'x'. The following induces an error, until -std is added to get
2645 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2646 array size at least. It's necessary to write '\x00'==0 to get something
2647 that's true only with -std. */
2648 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2650 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2651 inside strings and character constants. */
2652 #define FOO(x) 'x'
2653 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2655 int test (int i, double x);
2656 struct s1 {int (*f) (int a);};
2657 struct s2 {int (*f) (double a);};
2658 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2659 int argc;
2660 char **argv;
2662 main ()
2664 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2666 return 0;
2668 _ACEOF
2669 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2670 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2672 CC="$ac_save_CC $ac_arg"
2673 if ac_fn_c_try_compile "$LINENO"; then :
2674 ac_cv_prog_cc_c89=$ac_arg
2676 rm -f core conftest.err conftest.$ac_objext
2677 test "x$ac_cv_prog_cc_c89" != "xno" && break
2678 done
2679 rm -f conftest.$ac_ext
2680 CC=$ac_save_CC
2683 # AC_CACHE_VAL
2684 case "x$ac_cv_prog_cc_c89" in
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2687 $as_echo "none needed" >&6; } ;;
2688 xno)
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2690 $as_echo "unsupported" >&6; } ;;
2692 CC="$CC $ac_cv_prog_cc_c89"
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2694 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2695 esac
2696 if test "x$ac_cv_prog_cc_c89" != xno; then :
2700 ac_ext=c
2701 ac_cpp='$CPP $CPPFLAGS'
2702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2708 $as_echo_n "checking target config location... " >&6; }
2710 # Check whether --with-config-dir was given.
2711 if test "${with_config_dir+set}" = set; then :
2712 withval=$with_config_dir; targetcfg_dir="$withval"
2713 else
2714 targetcfg_dir=""
2717 if test "$targetcfg_dir" = ""; then
2718 as_fn_error $? "missing config directory!" "$LINENO" 5
2719 else
2720 aros_targetcfg_dir="$targetcfg_dir"
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2723 $as_echo "$aros_targetcfg_dir" >&6; }
2725 #-----------------------------------------------------------------------------
2727 # Check if the target compiler supports some features:
2728 # -fexceptions
2729 # -fpermissive
2730 # -ffast-math
2731 # -fno-builtin-floor
2732 # -flto
2733 # -fwhole-program
2734 # -floop-block
2735 # -floop-interchange
2736 # -floop-strip-mine
2737 # -fpeel-loops
2738 # -fstrict-aliasing
2739 # -finline-small-functions
2740 # -fipa-cp
2741 # -funroll-loops
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2744 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2745 CFLAGS=-fexceptions
2747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2748 /* end confdefs.h. */
2751 main ()
2755 return 0;
2757 _ACEOF
2758 if ac_fn_c_try_compile "$LINENO"; then :
2759 aros_exceptions="yes"
2760 else
2761 aros_exceptions="no"
2763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2765 $as_echo "$aros_exceptions" >&6; }
2766 if test "x-$aros_exceptions" = "x-yes" ; then
2767 aros_cflags_exceptions=-fexceptions
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpermissive" >&5
2771 $as_echo_n "checking whether ${CC} accepts -fpermissive... " >&6; }
2772 CFLAGS=-fpermissive
2773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2774 /* end confdefs.h. */
2777 main ()
2781 return 0;
2783 _ACEOF
2784 if ac_fn_c_try_compile "$LINENO"; then :
2785 aros_permissive="yes"
2786 else
2787 aros_permissive="no"
2789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
2791 $as_echo "$aros_permissive" >&6; }
2792 if test "x-$aros_permissive" = "x-yes" ; then
2793 aros_cflags_permissive=-fpermissive
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2797 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2798 CFLAGS=-ffast-math
2799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2800 /* end confdefs.h. */
2803 main ()
2807 return 0;
2809 _ACEOF
2810 if ac_fn_c_try_compile "$LINENO"; then :
2811 aros_fast_math="yes"
2812 else
2813 aros_fast_math="no"
2815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2817 $as_echo "$aros_fast_math" >&6; }
2818 if test "x-$aros_fast_math" = "x-yes" ; then
2819 aros_cflags_fast_math=-ffast-math
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
2823 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
2824 CFLAGS=-fno-builtin-floor
2825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2826 /* end confdefs.h. */
2829 main ()
2833 return 0;
2835 _ACEOF
2836 if ac_fn_c_try_compile "$LINENO"; then :
2837 aros_no_builtin_floor="yes"
2838 else
2839 aros_no_builtin_floor="no"
2841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
2843 $as_echo "$aros_no_builtin_floor" >&6; }
2844 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
2845 aros_cflags_no_builtin_floor=-fno-builtin-floor
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2849 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2850 CFLAGS=-flto
2851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2852 /* end confdefs.h. */
2855 main ()
2859 return 0;
2861 _ACEOF
2862 if ac_fn_c_try_compile "$LINENO"; then :
2863 aros_lto="yes"
2864 else
2865 aros_lto="no"
2867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2869 $as_echo "$aros_lto" >&6; }
2870 if test "x-$aros_lto" = "x-yes" ; then
2871 aros_cflags_lto=-flto
2872 aros_cflags_nolto=-fno-lto
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2875 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2876 CFLAGS=-fwhole-program
2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h. */
2881 main ()
2885 return 0;
2887 _ACEOF
2888 if ac_fn_c_try_compile "$LINENO"; then :
2889 aros_whole_program="yes"
2890 else
2891 aros_whole_program="no"
2893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2895 $as_echo "$aros_whole_program" >&6; }
2896 if test "x-$aros_whole_program" = "x-yes" ; then
2897 aros_cflags_whole_program=-fwhole-program
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2901 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2902 CFLAGS=-floop-block
2903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2904 /* end confdefs.h. */
2907 main ()
2911 return 0;
2913 _ACEOF
2914 if ac_fn_c_try_compile "$LINENO"; then :
2915 aros_loop_block="yes"
2916 else
2917 aros_loop_block="no"
2919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2921 $as_echo "$aros_loop_block" >&6; }
2922 if test "x-$aros_loop_block" = "x-yes" ; then
2923 aros_cflags_loop_block=-floop-block
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2927 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2928 CFLAGS=-floop-interchange
2929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2930 /* end confdefs.h. */
2933 main ()
2937 return 0;
2939 _ACEOF
2940 if ac_fn_c_try_compile "$LINENO"; then :
2941 aros_loop_interchange="yes"
2942 else
2943 aros_loop_interchange="no"
2945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2947 $as_echo "$aros_loop_interchange" >&6; }
2948 if test "x-$aros_loop_interchange" = "x-yes" ; then
2949 aros_cflags_loop_interchange=-floop-interchange
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2953 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2954 CFLAGS=-floop-strip-mine
2955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2956 /* end confdefs.h. */
2959 main ()
2963 return 0;
2965 _ACEOF
2966 if ac_fn_c_try_compile "$LINENO"; then :
2967 aros_loop_strip_mine="yes"
2968 else
2969 aros_loop_strip_mine="no"
2971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2973 $as_echo "$aros_loop_strip_mine" >&6; }
2974 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2975 aros_cflags_loop_strip_mine=-floop-strip-mine
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
2980 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
2981 CFLAGS=-fpeel-loops
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2986 main ()
2990 return 0;
2992 _ACEOF
2993 if ac_fn_c_try_compile "$LINENO"; then :
2994 aros_peel_loops="yes"
2995 else
2996 aros_peel_loops="no"
2998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
3000 $as_echo "$aros_peel_loops" >&6; }
3001 if test "x-$aros_peel_loops" = "x-yes" ; then
3002 aros_cflags_peel_loops=-fpeel-loops
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3006 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3007 CFLAGS=-funroll-loops
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3012 main ()
3016 return 0;
3018 _ACEOF
3019 if ac_fn_c_try_compile "$LINENO"; then :
3020 aros_unroll_loops="yes"
3021 else
3022 aros_unroll_loops="no"
3024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3026 $as_echo "$aros_unroll_loops" >&6; }
3027 if test "x-$aros_unroll_loops" = "x-yes" ; then
3028 aros_cflags_unroll_loops=-funroll-loops
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3032 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3033 CFLAGS=-fstrict-aliasing
3034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3035 /* end confdefs.h. */
3038 main ()
3042 return 0;
3044 _ACEOF
3045 if ac_fn_c_try_compile "$LINENO"; then :
3046 aros_strict_aliasing="yes"
3047 else
3048 aros_strict_aliasing="no"
3050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3052 $as_echo "$aros_strict_aliasing" >&6; }
3053 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3054 aros_cflags_strictaliasing=-fstrict-aliasing
3055 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3059 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3060 CFLAGS=-finline-small-functions
3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3065 main ()
3069 return 0;
3071 _ACEOF
3072 if ac_fn_c_try_compile "$LINENO"; then :
3073 aros_inline_small_functions="yes"
3074 else
3075 aros_inline_small_functions="no"
3077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3079 $as_echo "$aros_inline_small_functions" >&6; }
3080 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3081 aros_cflags_inlinesmallfunctions=-finline-small-functions
3082 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fipa-cp" >&5
3086 $as_echo_n "checking whether ${CC} accepts -fipa-cp... " >&6; }
3087 CFLAGS=-fipa-cp
3088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3089 /* end confdefs.h. */
3092 main ()
3096 return 0;
3098 _ACEOF
3099 if ac_fn_c_try_compile "$LINENO"; then :
3100 aros_ipa_cp="yes"
3101 else
3102 aros_ipa_cp="no"
3104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ipa_cp" >&5
3106 $as_echo "$aros_ipa_cp" >&6; }
3107 if test "x-$aros_ipa_cp" = "x-yes" ; then
3108 aros_cflags_ipacp=-fipa-cp
3109 aros_cflags_noipacp=-fno-ipa-cp
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3113 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3114 CFLAGS="-iquote."
3115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3116 /* end confdefs.h. */
3119 main ()
3123 return 0;
3125 _ACEOF
3126 if ac_fn_c_try_compile "$LINENO"; then :
3127 has_iquote="yes"
3128 else
3129 has_iquote="no"
3131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3133 $as_echo "$has_iquote" >&6; }
3134 if test "x-$has_iquote" = "x-yes" ; then
3135 aros_cflags_iquote=-iquote
3136 aros_cflags_iquote_end=
3137 else
3138 aros_cflags_iquote=-I
3139 aros_cflags_iquote_end=-I-
3142 #-----------------------------------------------------------------------------
3144 # Check if the target compiler supports some options:
3145 # -mno-red-zone
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mno-red-zone" >&5
3148 $as_echo_n "checking whether ${CC} accepts -mno-red-zone... " >&6; }
3149 CFLAGS=-mno-red-zone
3150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3151 /* end confdefs.h. */
3154 main ()
3158 return 0;
3160 _ACEOF
3161 if ac_fn_c_try_compile "$LINENO"; then :
3162 aros_no_red_zone="yes"
3163 else
3164 aros_no_red_zone="no"
3166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3168 $as_echo "$aros_no_red_zone" >&6; }
3169 if test "x-$aros_no_red_zone" = "x-yes" ; then
3170 aros_cflags_no_red_zone=-mno-red-zone
3173 #-----------------------------------------------------------------------------
3175 # Check if the target compiler supports some options used for de-linting:
3176 # -Werror
3177 # -Wunused-command-line-argument
3178 # -Wunknown-warning-option
3179 # -Wunused-but-set-variable
3180 # -Wstrict-aliasing
3181 # -Warray-bounds
3182 # -Wenum-compare
3183 # -Wstrict-prototypes
3184 # -Wstrict-overflow
3185 # -Wformat-security
3186 # -Wmisleading-indentation
3187 # -Wnonnull-compare
3188 # -Wunused
3189 # -Wunused-label
3190 # -Wunused-value
3191 # -Wunused-variable
3192 # -Wunused-function
3193 # -Wunused-parameter
3194 # -Wuninitialized
3195 # -Wmaybe-uninitialized
3196 # -Wimplicit-function-declaration
3197 # -Wformat
3198 # -Wparentheses
3199 # -Wchar-subscripts
3200 # -Wendif-labels
3201 # -Wformat-contains-nul
3202 # -Wimplicit-int
3203 # -Waggressive-loop-optimizations
3204 # -Wcpp
3205 # -Wswitch
3206 # -Wdiscarded-qualifiers
3207 # -Wsequence-point
3208 # -Wunknown-pragmas
3209 # -Wdiscarded-array-qualifiers
3210 # -Wint-conversion
3211 # -Wint-to-pointer-cast
3212 # -Wpointer-to-int-cast
3213 # -Wunused-const-variable
3214 # -Wwrite-strings
3215 # -Wcomment
3216 # -Wincompatible-pointer-types
3217 # -Wbool-compare
3218 # -Wlogical-not-parentheses
3219 # -Wpointer-sign
3220 # -Wshift-overflow
3221 # -Wframe-address
3222 # -Wdeprecated-declarations
3223 # -Wsign-compare
3224 # -Wattributes
3225 # -Woverflow
3226 # -Wunused-local-typedefs
3227 # -Wmissing-braces
3228 # -Wconversion-null
3229 # -Wnarrowing
3230 # -Wvolatile-register-var
3231 # -Wsizeof-pointer-memaccess
3232 # -Wreturn-type
3233 # -Wformat-zero-length
3234 # -Wlto-type-mismatch
3235 # -Wtautological-compare
3236 # -Wempty-body
3237 # -Wstringop-overflow
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
3240 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
3241 CFLAGS=-Werror
3242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3243 /* end confdefs.h. */
3246 main ()
3250 return 0;
3252 _ACEOF
3253 if ac_fn_c_try_compile "$LINENO"; then :
3254 aros_error="yes"
3255 else
3256 aros_error="no"
3258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
3260 $as_echo "$aros_error" >&6; }
3261 if test "x-$aros_error" = "x-yes" ; then
3262 aros_warnflags_error=-Werror
3263 aros_nowarnflags_error=-Wno-error
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3267 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3268 CFLAGS=-Wunused-command-line-argument
3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270 /* end confdefs.h. */
3273 main ()
3277 return 0;
3279 _ACEOF
3280 if ac_fn_c_try_compile "$LINENO"; then :
3281 aros_unused_command_line_argument="yes"
3282 else
3283 aros_unused_command_line_argument="no"
3285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3287 $as_echo "$aros_unused_command_line_argument" >&6; }
3288 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3289 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3290 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3294 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3295 CFLAGS=-Wunknown-warning-option
3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h. */
3300 main ()
3304 return 0;
3306 _ACEOF
3307 if ac_fn_c_try_compile "$LINENO"; then :
3308 aros_unknown_warning_option="yes"
3309 else
3310 aros_unknown_warning_option="no"
3312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3314 $as_echo "$aros_unknown_warning_option" >&6; }
3315 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3316 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3317 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3321 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3322 CFLAGS=-Wunused-but-set-variable
3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324 /* end confdefs.h. */
3327 main ()
3331 return 0;
3333 _ACEOF
3334 if ac_fn_c_try_compile "$LINENO"; then :
3335 aros_unused_but_set_variable="yes"
3336 else
3337 aros_unused_but_set_variable="no"
3339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3341 $as_echo "$aros_unused_but_set_variable" >&6; }
3342 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3343 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3344 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3348 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3349 CFLAGS=-Wstrict-aliasing
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3354 main ()
3358 return 0;
3360 _ACEOF
3361 if ac_fn_c_try_compile "$LINENO"; then :
3362 aros_strict_aliasing="yes"
3363 else
3364 aros_strict_aliasing="no"
3366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3368 $as_echo "$aros_strict_aliasing" >&6; }
3369 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3370 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3371 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3375 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3376 CFLAGS=-Warray-bounds
3377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3378 /* end confdefs.h. */
3381 main ()
3385 return 0;
3387 _ACEOF
3388 if ac_fn_c_try_compile "$LINENO"; then :
3389 aros_array_bounds="yes"
3390 else
3391 aros_array_bounds="no"
3393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3395 $as_echo "$aros_array_bounds" >&6; }
3396 if test "x-$aros_array_bounds" = "x-yes" ; then
3397 aros_warnflags_array_bounds=-Warray-bounds
3398 aros_nowarnflags_array_bounds=-Wno-array-bounds
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3402 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3403 CFLAGS=-Wenum-compare
3404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3405 /* end confdefs.h. */
3408 main ()
3412 return 0;
3414 _ACEOF
3415 if ac_fn_c_try_compile "$LINENO"; then :
3416 aros_enum_compare="yes"
3417 else
3418 aros_enum_compare="no"
3420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3422 $as_echo "$aros_enum_compare" >&6; }
3423 if test "x-$aros_enum_compare" = "x-yes" ; then
3424 aros_warnflags_enum_compare=-Wenum-compare
3425 aros_nowarnflags_enum_compare=-Wno-enum-compare
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3429 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3430 CFLAGS=-Wstrict-prototypes
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3435 main ()
3439 return 0;
3441 _ACEOF
3442 if ac_fn_c_try_compile "$LINENO"; then :
3443 aros_strict_prototypes="yes"
3444 else
3445 aros_strict_prototypes="no"
3447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3449 $as_echo "$aros_strict_prototypes" >&6; }
3450 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3451 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3452 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3456 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3457 CFLAGS=-Wstrict-overflow
3458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459 /* end confdefs.h. */
3462 main ()
3466 return 0;
3468 _ACEOF
3469 if ac_fn_c_try_compile "$LINENO"; then :
3470 aros_strict_overflow="yes"
3471 else
3472 aros_strict_overflow="no"
3474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3476 $as_echo "$aros_strict_overflow" >&6; }
3477 if test "x-$aros_strict_overflow" = "x-yes" ; then
3478 aros_warnflags_strict_overflow=-Wstrict-overflow
3479 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3483 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3484 CFLAGS=-Wformat-security
3485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3486 /* end confdefs.h. */
3489 main ()
3493 return 0;
3495 _ACEOF
3496 if ac_fn_c_try_compile "$LINENO"; then :
3497 aros_format_security="yes"
3498 else
3499 aros_format_security="no"
3501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3503 $as_echo "$aros_format_security" >&6; }
3504 if test "x-$aros_format_security" = "x-yes" ; then
3505 aros_warnflags_format_security=-Wformat-security
3506 aros_nowarnflags_format_security=-Wno-format-security
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3510 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3511 CFLAGS=-Wmisleading-indentation
3512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3513 /* end confdefs.h. */
3516 main ()
3520 return 0;
3522 _ACEOF
3523 if ac_fn_c_try_compile "$LINENO"; then :
3524 aros_misleading_indentation="yes"
3525 else
3526 aros_misleading_indentation="no"
3528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3530 $as_echo "$aros_misleading_indentation" >&6; }
3531 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3532 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3533 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3537 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3538 CFLAGS=-Wnonnull-compare
3539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3540 /* end confdefs.h. */
3543 main ()
3547 return 0;
3549 _ACEOF
3550 if ac_fn_c_try_compile "$LINENO"; then :
3551 aros_nonnull_compare="yes"
3552 else
3553 aros_nonnull_compare="no"
3555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3557 $as_echo "$aros_nonnull_compare" >&6; }
3558 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3559 aros_warnflags_nonnull_compare=-Wnonnull-compare
3560 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3564 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3565 CFLAGS=-Wunused
3566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3567 /* end confdefs.h. */
3570 main ()
3574 return 0;
3576 _ACEOF
3577 if ac_fn_c_try_compile "$LINENO"; then :
3578 aros_unused="yes"
3579 else
3580 aros_unused="no"
3582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3584 $as_echo "$aros_unused" >&6; }
3585 if test "x-$aros_unused" = "x-yes" ; then
3586 aros_warnflags_unused=-Wunused
3587 aros_nowarnflags_unused=-Wno-unused
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
3591 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
3592 CFLAGS=-Wunused-label
3593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3594 /* end confdefs.h. */
3597 main ()
3601 return 0;
3603 _ACEOF
3604 if ac_fn_c_try_compile "$LINENO"; then :
3605 aros_unused_label="yes"
3606 else
3607 aros_unused_label="no"
3609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
3611 $as_echo "$aros_unused_label" >&6; }
3612 if test "x-$aros_unused_label" = "x-yes" ; then
3613 aros_warnflags_unused_label=-Wunused-label
3614 aros_nowarnflags_unused_label=-Wno-unused-label
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3618 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3619 CFLAGS=-Wunused-value
3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */
3624 main ()
3628 return 0;
3630 _ACEOF
3631 if ac_fn_c_try_compile "$LINENO"; then :
3632 aros_unused_value="yes"
3633 else
3634 aros_unused_value="no"
3636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3638 $as_echo "$aros_unused_value" >&6; }
3639 if test "x-$aros_unused_value" = "x-yes" ; then
3640 aros_warnflags_unused_value=-Wunused-value
3641 aros_nowarnflags_unused_value=-Wno-unused-value
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3645 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3646 CFLAGS=-Wunused-variable
3647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3648 /* end confdefs.h. */
3651 main ()
3655 return 0;
3657 _ACEOF
3658 if ac_fn_c_try_compile "$LINENO"; then :
3659 aros_unused_variable="yes"
3660 else
3661 aros_unused_variable="no"
3663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3665 $as_echo "$aros_unused_variable" >&6; }
3666 if test "x-$aros_unused_variable" = "x-yes" ; then
3667 aros_warnflags_unused_variable=-Wunused-variable
3668 aros_nowarnflags_unused_variable=-Wno-unused-variable
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3672 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3673 CFLAGS=-Wunused-function
3674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3675 /* end confdefs.h. */
3678 main ()
3682 return 0;
3684 _ACEOF
3685 if ac_fn_c_try_compile "$LINENO"; then :
3686 aros_unused_function="yes"
3687 else
3688 aros_unused_function="no"
3690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3692 $as_echo "$aros_unused_function" >&6; }
3693 if test "x-$aros_unused_function" = "x-yes" ; then
3694 aros_warnflags_unused_function=-Wunused-function
3695 aros_nowarnflags_unused_function=-Wno-unused-function
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3699 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3700 CFLAGS=-Wunused-parameter
3701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3705 main ()
3709 return 0;
3711 _ACEOF
3712 if ac_fn_c_try_compile "$LINENO"; then :
3713 aros_unused_parameter="yes"
3714 else
3715 aros_unused_parameter="no"
3717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3719 $as_echo "$aros_unused_parameter" >&6; }
3720 if test "x-$aros_unused_parameter" = "x-yes" ; then
3721 aros_warnflags_unused_parameter=-Wunused-parameter
3722 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3726 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3727 CFLAGS=-Wuninitialized
3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3729 /* end confdefs.h. */
3732 main ()
3736 return 0;
3738 _ACEOF
3739 if ac_fn_c_try_compile "$LINENO"; then :
3740 aros_uninitialized="yes"
3741 else
3742 aros_uninitialized="no"
3744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3746 $as_echo "$aros_uninitialized" >&6; }
3747 if test "x-$aros_uninitialized" = "x-yes" ; then
3748 aros_warnflags_uninitialized=-Wuninitialized
3749 aros_nowarnflags_uninitialized=-Wno-uninitialized
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3753 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3754 CFLAGS=-Wmaybe-uninitialized
3755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3756 /* end confdefs.h. */
3759 main ()
3763 return 0;
3765 _ACEOF
3766 if ac_fn_c_try_compile "$LINENO"; then :
3767 aros_maybe_uninitialized="yes"
3768 else
3769 aros_maybe_uninitialized="no"
3771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3773 $as_echo "$aros_maybe_uninitialized" >&6; }
3774 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3775 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
3776 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
3777 else
3778 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
3779 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3783 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3784 CFLAGS=-Wimplicit-function-declaration
3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h. */
3789 main ()
3793 return 0;
3795 _ACEOF
3796 if ac_fn_c_try_compile "$LINENO"; then :
3797 aros_implicit_function_declaration="yes"
3798 else
3799 aros_implicit_function_declaration="no"
3801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3803 $as_echo "$aros_implicit_function_declaration" >&6; }
3804 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3805 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
3806 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3810 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3811 CFLAGS=-Wformat
3812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3813 /* end confdefs.h. */
3816 main ()
3820 return 0;
3822 _ACEOF
3823 if ac_fn_c_try_compile "$LINENO"; then :
3824 aros_format="yes"
3825 else
3826 aros_format="no"
3828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3830 $as_echo "$aros_format" >&6; }
3831 if test "x-$aros_format" = "x-yes" ; then
3832 aros_warnflags_format=-Wformat
3833 aros_nowarnflags_format=-Wno-format
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3837 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3838 CFLAGS=-Wparentheses
3839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3840 /* end confdefs.h. */
3843 main ()
3847 return 0;
3849 _ACEOF
3850 if ac_fn_c_try_compile "$LINENO"; then :
3851 aros_parentheses="yes"
3852 else
3853 aros_parentheses="no"
3855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3857 $as_echo "$aros_parentheses" >&6; }
3858 if test "x-$aros_parentheses" = "x-yes" ; then
3859 aros_warnflags_parentheses=-Wparentheses
3860 aros_nowarnflags_parentheses=-Wno-parentheses
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3864 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3865 CFLAGS=-Wchar-subscripts
3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867 /* end confdefs.h. */
3870 main ()
3874 return 0;
3876 _ACEOF
3877 if ac_fn_c_try_compile "$LINENO"; then :
3878 aros_char_subscripts="yes"
3879 else
3880 aros_char_subscripts="no"
3882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3884 $as_echo "$aros_char_subscripts" >&6; }
3885 if test "x-$aros_char_subscripts" = "x-yes" ; then
3886 aros_warnflags_char_subscripts=-Wchar-subscripts
3887 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3891 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3892 CFLAGS=-Wendif-labels
3893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3897 main ()
3901 return 0;
3903 _ACEOF
3904 if ac_fn_c_try_compile "$LINENO"; then :
3905 aros_endif_labels="yes"
3906 else
3907 aros_endif_labels="no"
3909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3911 $as_echo "$aros_endif_labels" >&6; }
3912 if test "x-$aros_endif_labels" = "x-yes" ; then
3913 aros_warnflags_endif_labels=-Wendif-labels
3914 aros_nowarnflags_endif_labels=-Wno-endif-labels
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3918 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3919 CFLAGS=-Wformat-contains-nul
3920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3921 /* end confdefs.h. */
3924 main ()
3928 return 0;
3930 _ACEOF
3931 if ac_fn_c_try_compile "$LINENO"; then :
3932 aros_format_contains_nul="yes"
3933 else
3934 aros_format_contains_nul="no"
3936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3938 $as_echo "$aros_format_contains_nul" >&6; }
3939 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3940 aros_warnflags_format_contains_nul=-Wformat-contains-nul
3941 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3945 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3946 CFLAGS=-Wimplicit-int
3947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3948 /* end confdefs.h. */
3951 main ()
3955 return 0;
3957 _ACEOF
3958 if ac_fn_c_try_compile "$LINENO"; then :
3959 aros_implicit_int="yes"
3960 else
3961 aros_implicit_int="no"
3963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3965 $as_echo "$aros_implicit_int" >&6; }
3966 if test "x-$aros_implicit_int" = "x-yes" ; then
3967 aros_warnflags_implicit_int=-Wimplicit-int
3968 aros_nowarnflags_implicit_int=-Wno-implicit-int
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3972 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3973 CFLAGS=-Waggressive-loop-optimizations
3974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3975 /* end confdefs.h. */
3978 main ()
3982 return 0;
3984 _ACEOF
3985 if ac_fn_c_try_compile "$LINENO"; then :
3986 aros_aggressive_loop_optimizations="yes"
3987 else
3988 aros_aggressive_loop_optimizations="no"
3990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3992 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3993 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3994 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
3995 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3999 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
4000 CFLAGS=-Wcpp
4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4005 main ()
4009 return 0;
4011 _ACEOF
4012 if ac_fn_c_try_compile "$LINENO"; then :
4013 aros_cpp="yes"
4014 else
4015 aros_cpp="no"
4017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
4019 $as_echo "$aros_cpp" >&6; }
4020 if test "x-$aros_cpp" = "x-yes" ; then
4021 aros_warnflags_cpp=-Wcpp
4022 aros_nowarnflags_cpp=-Wno-cpp
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
4026 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
4027 CFLAGS=-Wswitch
4028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4029 /* end confdefs.h. */
4032 main ()
4036 return 0;
4038 _ACEOF
4039 if ac_fn_c_try_compile "$LINENO"; then :
4040 aros_switch="yes"
4041 else
4042 aros_switch="no"
4044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
4046 $as_echo "$aros_switch" >&6; }
4047 if test "x-$aros_switch" = "x-yes" ; then
4048 aros_warnflags_switch=-Wswitch
4049 aros_nowarnflags_switch=-Wno-switch
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
4053 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
4054 CFLAGS=-Wdiscarded-qualifiers
4055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056 /* end confdefs.h. */
4059 main ()
4063 return 0;
4065 _ACEOF
4066 if ac_fn_c_try_compile "$LINENO"; then :
4067 aros_discarded_qualifiers="yes"
4068 else
4069 aros_discarded_qualifiers="no"
4071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
4073 $as_echo "$aros_discarded_qualifiers" >&6; }
4074 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
4075 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
4076 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
4080 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
4081 CFLAGS=-Wsequence-point
4082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h. */
4086 main ()
4090 return 0;
4092 _ACEOF
4093 if ac_fn_c_try_compile "$LINENO"; then :
4094 aros_sequence_point="yes"
4095 else
4096 aros_sequence_point="no"
4098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
4100 $as_echo "$aros_sequence_point" >&6; }
4101 if test "x-$aros_sequence_point" = "x-yes" ; then
4102 aros_warnflags_sequence_point=-Wsequence-point
4103 aros_nowarnflags_sequence_point=-Wno-sequence-point
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
4107 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
4108 CFLAGS=-Wunknown-pragmas
4109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h. */
4113 main ()
4117 return 0;
4119 _ACEOF
4120 if ac_fn_c_try_compile "$LINENO"; then :
4121 aros_unknown_pragmas="yes"
4122 else
4123 aros_unknown_pragmas="no"
4125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
4127 $as_echo "$aros_unknown_pragmas" >&6; }
4128 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
4129 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
4130 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
4134 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
4135 CFLAGS=-Wdiscarded-array-qualifiers
4136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h. */
4140 main ()
4144 return 0;
4146 _ACEOF
4147 if ac_fn_c_try_compile "$LINENO"; then :
4148 aros_discarded_array_qualifiers="yes"
4149 else
4150 aros_discarded_array_qualifiers="no"
4152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
4154 $as_echo "$aros_discarded_array_qualifiers" >&6; }
4155 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
4156 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
4157 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4161 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4162 CFLAGS=-Wint-conversion
4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4167 main ()
4171 return 0;
4173 _ACEOF
4174 if ac_fn_c_try_compile "$LINENO"; then :
4175 aros_int_conversion="yes"
4176 else
4177 aros_int_conversion="no"
4179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4181 $as_echo "$aros_int_conversion" >&6; }
4182 if test "x-$aros_int_conversion" = "x-yes" ; then
4183 aros_warnflags_int_conversion=-Wint-conversion
4184 aros_nowarnflags_int_conversion=-Wno-int-conversion
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
4188 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
4189 CFLAGS=-Wint-to-pointer-cast
4190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4191 /* end confdefs.h. */
4194 main ()
4198 return 0;
4200 _ACEOF
4201 if ac_fn_c_try_compile "$LINENO"; then :
4202 aros_int_to_pointer_cast="yes"
4203 else
4204 aros_int_to_pointer_cast="no"
4206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
4208 $as_echo "$aros_int_to_pointer_cast" >&6; }
4209 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
4210 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
4211 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
4215 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
4216 CFLAGS=-Wpointer-to-int-cast
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4221 main ()
4225 return 0;
4227 _ACEOF
4228 if ac_fn_c_try_compile "$LINENO"; then :
4229 aros_pointer_to_int_cast="yes"
4230 else
4231 aros_pointer_to_int_cast="no"
4233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
4235 $as_echo "$aros_pointer_to_int_cast" >&6; }
4236 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
4237 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
4238 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
4242 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
4243 CFLAGS=-Wunused-const-variable
4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4248 main ()
4252 return 0;
4254 _ACEOF
4255 if ac_fn_c_try_compile "$LINENO"; then :
4256 aros_unused_const_variable="yes"
4257 else
4258 aros_unused_const_variable="no"
4260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
4262 $as_echo "$aros_unused_const_variable" >&6; }
4263 if test "x-$aros_unused_const_variable" = "x-yes" ; then
4264 aros_warnflags_unused_const_variable=-Wunused-const-variable
4265 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
4269 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
4270 CFLAGS=-Wwrite-strings
4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4275 main ()
4279 return 0;
4281 _ACEOF
4282 if ac_fn_c_try_compile "$LINENO"; then :
4283 aros_write_strings="yes"
4284 else
4285 aros_write_strings="no"
4287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4289 $as_echo "$aros_write_strings" >&6; }
4290 if test "x-$aros_write_strings" = "x-yes" ; then
4291 aros_warnflags_write_strings=-Wwrite-strings
4292 aros_nowarnflags_write_strings=-Wno-write-strings
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4296 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4297 CFLAGS=-Wcomment
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4302 main ()
4306 return 0;
4308 _ACEOF
4309 if ac_fn_c_try_compile "$LINENO"; then :
4310 aros_comment="yes"
4311 else
4312 aros_comment="no"
4314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4316 $as_echo "$aros_comment" >&6; }
4317 if test "x-$aros_comment" = "x-yes" ; then
4318 aros_warnflags_comment=-Wcomment
4319 aros_nowarnflags_comment=-Wno-comment
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4323 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4324 CFLAGS=-Wincompatible-pointer-types
4325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4326 /* end confdefs.h. */
4329 main ()
4333 return 0;
4335 _ACEOF
4336 if ac_fn_c_try_compile "$LINENO"; then :
4337 aros_incompatible_pointer_types="yes"
4338 else
4339 aros_incompatible_pointer_types="no"
4341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4343 $as_echo "$aros_incompatible_pointer_types" >&6; }
4344 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4345 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4346 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4350 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4351 CFLAGS=-Wbool-compare
4352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4353 /* end confdefs.h. */
4356 main ()
4360 return 0;
4362 _ACEOF
4363 if ac_fn_c_try_compile "$LINENO"; then :
4364 aros_bool_compare="yes"
4365 else
4366 aros_bool_compare="no"
4368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4370 $as_echo "$aros_bool_compare" >&6; }
4371 if test "x-$aros_bool_compare" = "x-yes" ; then
4372 aros_warnflags_bool_compare=-Wbool-compare
4373 aros_nowarnflags_bool_compare=-Wno-bool-compare
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4377 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4378 CFLAGS=-Wlogical-not-parentheses
4379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4380 /* end confdefs.h. */
4383 main ()
4387 return 0;
4389 _ACEOF
4390 if ac_fn_c_try_compile "$LINENO"; then :
4391 aros_logical_not_parentheses="yes"
4392 else
4393 aros_logical_not_parentheses="no"
4395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4397 $as_echo "$aros_logical_not_parentheses" >&6; }
4398 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4399 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4400 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4404 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4405 CFLAGS=-Wpointer-sign
4406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4407 /* end confdefs.h. */
4410 main ()
4414 return 0;
4416 _ACEOF
4417 if ac_fn_c_try_compile "$LINENO"; then :
4418 aros_pointer_sign="yes"
4419 else
4420 aros_pointer_sign="no"
4422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4424 $as_echo "$aros_pointer_sign" >&6; }
4425 if test "x-$aros_pointer_sign" = "x-yes" ; then
4426 aros_warnflags_pointer_sign=-Wpointer-sign
4427 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4431 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4432 CFLAGS=-Wshift-overflow
4433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4434 /* end confdefs.h. */
4437 main ()
4441 return 0;
4443 _ACEOF
4444 if ac_fn_c_try_compile "$LINENO"; then :
4445 aros_shift_overflow="yes"
4446 else
4447 aros_shift_overflow="no"
4449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4451 $as_echo "$aros_shift_overflow" >&6; }
4452 if test "x-$aros_shift_overflow" = "x-yes" ; then
4453 aros_warnflags_shift_overflow=-Wshift-overflow
4454 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4458 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4459 CFLAGS=-Wframe-address
4460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4461 /* end confdefs.h. */
4464 main ()
4468 return 0;
4470 _ACEOF
4471 if ac_fn_c_try_compile "$LINENO"; then :
4472 aros_frame_address="yes"
4473 else
4474 aros_frame_address="no"
4476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4478 $as_echo "$aros_frame_address" >&6; }
4479 if test "x-$aros_frame_address" = "x-yes" ; then
4480 aros_warnflags_frame_address=-Wframe-address
4481 aros_nowarnflags_frame_address=-Wno-frame-address
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4485 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4486 CFLAGS=-Wdeprecated-declarations
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4491 main ()
4495 return 0;
4497 _ACEOF
4498 if ac_fn_c_try_compile "$LINENO"; then :
4499 aros_deprecated_declarations="yes"
4500 else
4501 aros_deprecated_declarations="no"
4503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4505 $as_echo "$aros_deprecated_declarations" >&6; }
4506 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4507 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4508 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4512 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4513 CFLAGS=-Wsign-compare
4514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4515 /* end confdefs.h. */
4518 main ()
4522 return 0;
4524 _ACEOF
4525 if ac_fn_c_try_compile "$LINENO"; then :
4526 aros_sign_compare="yes"
4527 else
4528 aros_sign_compare="no"
4530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4532 $as_echo "$aros_sign_compare" >&6; }
4533 if test "x-$aros_sign_compare" = "x-yes" ; then
4534 aros_warnflags_sign_compare=-Wsign-compare
4535 aros_nowarnflags_sign_compare=-Wno-sign-compare
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4539 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4540 CFLAGS=-Wattributes
4541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4545 main ()
4549 return 0;
4551 _ACEOF
4552 if ac_fn_c_try_compile "$LINENO"; then :
4553 aros_attributes="yes"
4554 else
4555 aros_attributes="no"
4557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4559 $as_echo "$aros_attributes" >&6; }
4560 if test "x-$aros_attributes" = "x-yes" ; then
4561 aros_warnflags_attributes=-Wattributes
4562 aros_nowarnflags_attributes=-Wno-attributes
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4566 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4567 CFLAGS=-Woverflow
4568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4569 /* end confdefs.h. */
4572 main ()
4576 return 0;
4578 _ACEOF
4579 if ac_fn_c_try_compile "$LINENO"; then :
4580 aros_overflow="yes"
4581 else
4582 aros_overflow="no"
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4586 $as_echo "$aros_overflow" >&6; }
4587 if test "x-$aros_overflow" = "x-yes" ; then
4588 aros_warnflags_overflow=-Woverflow
4589 aros_nowarnflags_overflow=-Wno-overflow
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4593 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4594 CFLAGS=-Wunused-local-typedefs
4595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4599 main ()
4603 return 0;
4605 _ACEOF
4606 if ac_fn_c_try_compile "$LINENO"; then :
4607 aros_unused_local_typedefs="yes"
4608 else
4609 aros_unused_local_typedefs="no"
4611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4613 $as_echo "$aros_unused_local_typedefs" >&6; }
4614 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4615 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4616 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4620 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4621 CFLAGS=-Wmissing-braces
4622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4623 /* end confdefs.h. */
4626 main ()
4630 return 0;
4632 _ACEOF
4633 if ac_fn_c_try_compile "$LINENO"; then :
4634 aros_missing_braces="yes"
4635 else
4636 aros_missing_braces="no"
4638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4640 $as_echo "$aros_missing_braces" >&6; }
4641 if test "x-$aros_missing_braces" = "x-yes" ; then
4642 aros_warnflags_missing_braces=-Wmissing-braces
4643 aros_nowarnflags_missing_braces=-Wno-missing-braces
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4647 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4648 CFLAGS=-Wconversion-null
4649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4650 /* end confdefs.h. */
4653 main ()
4657 return 0;
4659 _ACEOF
4660 if ac_fn_c_try_compile "$LINENO"; then :
4661 aros_conversion_null="yes"
4662 else
4663 aros_conversion_null="no"
4665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4667 $as_echo "$aros_conversion_null" >&6; }
4668 if test "x-$aros_conversion_null" = "x-yes" ; then
4669 aros_warnflags_conversion_null=-Wconversion-null
4670 aros_nowarnflags_conversion_null=-Wno-conversion-null
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4674 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4675 CFLAGS=-Wnarrowing
4676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4677 /* end confdefs.h. */
4680 main ()
4684 return 0;
4686 _ACEOF
4687 if ac_fn_c_try_compile "$LINENO"; then :
4688 aros_narrowing="yes"
4689 else
4690 aros_narrowing="no"
4692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4694 $as_echo "$aros_narrowing" >&6; }
4695 if test "x-$aros_narrowing" = "x-yes" ; then
4696 aros_warnflags_narrowing=-Wnarrowing
4697 aros_nowarnflags_narrowing=-Wno-narrowing
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4701 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4702 CFLAGS=-Wvolatile-register-var
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4707 main ()
4711 return 0;
4713 _ACEOF
4714 if ac_fn_c_try_compile "$LINENO"; then :
4715 aros_volatile_register_var="yes"
4716 else
4717 aros_volatile_register_var="no"
4719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4721 $as_echo "$aros_volatile_register_var" >&6; }
4722 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4723 aros_warnflags_volatile_register_var=-Wvolatile-register-var
4724 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4728 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4729 CFLAGS=-Wsizeof-pointer-memaccess
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4734 main ()
4738 return 0;
4740 _ACEOF
4741 if ac_fn_c_try_compile "$LINENO"; then :
4742 aros_sizeof_pointer_memaccess="yes"
4743 else
4744 aros_sizeof_pointer_memaccess="no"
4746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4748 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4749 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4750 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
4751 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4755 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4756 CFLAGS=-Wreturn-type
4757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4758 /* end confdefs.h. */
4761 main ()
4765 return 0;
4767 _ACEOF
4768 if ac_fn_c_try_compile "$LINENO"; then :
4769 aros_return_type="yes"
4770 else
4771 aros_return_type="no"
4773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4775 $as_echo "$aros_return_type" >&6; }
4776 if test "x-$aros_return_type" = "x-yes" ; then
4777 aros_warnflags_return_type=-Wreturn-type
4778 aros_nowarnflags_return_type=-Wno-return-type
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
4782 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
4783 CFLAGS=-Wformat-zero-length
4784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4788 main ()
4792 return 0;
4794 _ACEOF
4795 if ac_fn_c_try_compile "$LINENO"; then :
4796 aros_format_zero_length="yes"
4797 else
4798 aros_format_zero_length="no"
4800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
4802 $as_echo "$aros_format_zero_length" >&6; }
4803 if test "x-$aros_format_zero_length" = "x-yes" ; then
4804 aros_warnflags_format_zero_length=-Wformat-zero-length
4805 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
4809 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
4810 CFLAGS=-Wlto-type-mismatch
4811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4812 /* end confdefs.h. */
4815 main ()
4819 return 0;
4821 _ACEOF
4822 if ac_fn_c_try_compile "$LINENO"; then :
4823 aros_lto_type_mismatch="yes"
4824 else
4825 aros_lto_type_mismatch="no"
4827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
4829 $as_echo "$aros_lto_type_mismatch" >&6; }
4830 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
4831 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
4832 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
4836 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
4837 CFLAGS=-Wtautological-compare
4838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4839 /* end confdefs.h. */
4842 main ()
4846 return 0;
4848 _ACEOF
4849 if ac_fn_c_try_compile "$LINENO"; then :
4850 aros_tautological_compare="yes"
4851 else
4852 aros_tautological_compare="no"
4854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
4856 $as_echo "$aros_tautological_compare" >&6; }
4857 if test "x-$aros_tautological_compare" = "x-yes" ; then
4858 aros_warnflags_tautological_compare=-Wtautological-compare
4859 aros_nowarnflags_tautological_compare=-Wno-tautological-compare
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
4863 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
4864 CFLAGS=-Wempty-body
4865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4866 /* end confdefs.h. */
4869 main ()
4873 return 0;
4875 _ACEOF
4876 if ac_fn_c_try_compile "$LINENO"; then :
4877 aros_empty_body="yes"
4878 else
4879 aros_empty_body="no"
4881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
4883 $as_echo "$aros_empty_body" >&6; }
4884 if test "x-$aros_empty_body" = "x-yes" ; then
4885 aros_warnflags_empty_body=-Wempty-body
4886 aros_nowarnflags_empty_body=-Wno-empty-body
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-overflow" >&5
4890 $as_echo_n "checking whether ${CC} accepts -Wstringop-overflow... " >&6; }
4891 CFLAGS=-Wstringop-overflow
4892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4893 /* end confdefs.h. */
4896 main ()
4900 return 0;
4902 _ACEOF
4903 if ac_fn_c_try_compile "$LINENO"; then :
4904 aros_stringop_overflow="yes"
4905 else
4906 aros_stringop_overflow="no"
4908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_overflow" >&5
4910 $as_echo "$aros_stringop_overflow" >&6; }
4911 if test "x-$aros_stringop_overflow" = "x-yes" ; then
4912 aros_warnflags_stringop_overflow=-Wstringop-overflow
4913 aros_nowarnflags_stringop_overflow=-Wno-stringop-overflow
4918 # export the feature flags...
4946 # export the feature options...
4951 # ...and warning flags...
5078 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
5081 cat >confcache <<\_ACEOF
5082 # This file is a shell script that caches the results of configure
5083 # tests run on this system so they can be shared between configure
5084 # scripts and configure runs, see configure's option --config-cache.
5085 # It is not useful on other systems. If it contains results you don't
5086 # want to keep, you may remove or edit it.
5088 # config.status only pays attention to the cache file if you give it
5089 # the --recheck option to rerun configure.
5091 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5092 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5093 # following values.
5095 _ACEOF
5097 # The following way of writing the cache mishandles newlines in values,
5098 # but we know of no workaround that is simple, portable, and efficient.
5099 # So, we kill variables containing newlines.
5100 # Ultrix sh set writes to stderr and can't be redirected directly,
5101 # and sets the high bit in the cache file unless we assign to the vars.
5103 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5104 eval ac_val=\$$ac_var
5105 case $ac_val in #(
5106 *${as_nl}*)
5107 case $ac_var in #(
5108 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5109 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5110 esac
5111 case $ac_var in #(
5112 _ | IFS | as_nl) ;; #(
5113 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5114 *) { eval $ac_var=; unset $ac_var;} ;;
5115 esac ;;
5116 esac
5117 done
5119 (set) 2>&1 |
5120 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5121 *${as_nl}ac_space=\ *)
5122 # `set' does not quote correctly, so add quotes: double-quote
5123 # substitution turns \\\\ into \\, and sed turns \\ into \.
5124 sed -n \
5125 "s/'/'\\\\''/g;
5126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5127 ;; #(
5129 # `set' quotes correctly as required by POSIX, so do not add quotes.
5130 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5132 esac |
5133 sort
5135 sed '
5136 /^ac_cv_env_/b end
5137 t clear
5138 :clear
5139 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5140 t end
5141 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5142 :end' >>confcache
5143 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5144 if test -w "$cache_file"; then
5145 if test "x$cache_file" != "x/dev/null"; then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5147 $as_echo "$as_me: updating cache $cache_file" >&6;}
5148 if test ! -f "$cache_file" || test -h "$cache_file"; then
5149 cat confcache >"$cache_file"
5150 else
5151 case $cache_file in #(
5152 */* | ?:*)
5153 mv -f confcache "$cache_file"$$ &&
5154 mv -f "$cache_file"$$ "$cache_file" ;; #(
5156 mv -f confcache "$cache_file" ;;
5157 esac
5160 else
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5162 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5165 rm -f confcache
5167 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5168 # Let make expand exec_prefix.
5169 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5171 # Transform confdefs.h into DEFS.
5172 # Protect against shell expansion while executing Makefile rules.
5173 # Protect against Makefile macro expansion.
5175 # If the first sed substitution is executed (which looks for macros that
5176 # take arguments), then branch to the quote section. Otherwise,
5177 # look for a macro that doesn't take arguments.
5178 ac_script='
5179 :mline
5180 /\\$/{
5182 s,\\\n,,
5183 b mline
5185 t clear
5186 :clear
5187 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5188 t quote
5189 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5190 t quote
5191 b any
5192 :quote
5193 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5194 s/\[/\\&/g
5195 s/\]/\\&/g
5196 s/\$/$$/g
5198 :any
5201 s/^\n//
5202 s/\n/ /g
5206 DEFS=`sed -n "$ac_script" confdefs.h`
5209 ac_libobjs=
5210 ac_ltlibobjs=
5212 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5213 # 1. Remove the extension, and $U if already installed.
5214 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5215 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5216 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5217 # will be set to the directory where LIBOBJS objects are built.
5218 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5219 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5220 done
5221 LIBOBJS=$ac_libobjs
5223 LTLIBOBJS=$ac_ltlibobjs
5227 : "${CONFIG_STATUS=./config.status}"
5228 ac_write_fail=0
5229 ac_clean_files_save=$ac_clean_files
5230 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5232 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5233 as_write_fail=0
5234 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5235 #! $SHELL
5236 # Generated by $as_me.
5237 # Run this file to recreate the current configuration.
5238 # Compiler output produced by configure, useful for debugging
5239 # configure, is in config.log if it exists.
5241 debug=false
5242 ac_cs_recheck=false
5243 ac_cs_silent=false
5245 SHELL=\${CONFIG_SHELL-$SHELL}
5246 export SHELL
5247 _ASEOF
5248 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5249 ## -------------------- ##
5250 ## M4sh Initialization. ##
5251 ## -------------------- ##
5253 # Be more Bourne compatible
5254 DUALCASE=1; export DUALCASE # for MKS sh
5255 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5256 emulate sh
5257 NULLCMD=:
5258 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5259 # is contrary to our usage. Disable this feature.
5260 alias -g '${1+"$@"}'='"$@"'
5261 setopt NO_GLOB_SUBST
5262 else
5263 case `(set -o) 2>/dev/null` in #(
5264 *posix*) :
5265 set -o posix ;; #(
5266 *) :
5268 esac
5272 as_nl='
5274 export as_nl
5275 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5276 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5277 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5278 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5279 # Prefer a ksh shell builtin over an external printf program on Solaris,
5280 # but without wasting forks for bash or zsh.
5281 if test -z "$BASH_VERSION$ZSH_VERSION" \
5282 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5283 as_echo='print -r --'
5284 as_echo_n='print -rn --'
5285 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5286 as_echo='printf %s\n'
5287 as_echo_n='printf %s'
5288 else
5289 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5290 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5291 as_echo_n='/usr/ucb/echo -n'
5292 else
5293 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5294 as_echo_n_body='eval
5295 arg=$1;
5296 case $arg in #(
5297 *"$as_nl"*)
5298 expr "X$arg" : "X\\(.*\\)$as_nl";
5299 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5300 esac;
5301 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5303 export as_echo_n_body
5304 as_echo_n='sh -c $as_echo_n_body as_echo'
5306 export as_echo_body
5307 as_echo='sh -c $as_echo_body as_echo'
5310 # The user is always right.
5311 if test "${PATH_SEPARATOR+set}" != set; then
5312 PATH_SEPARATOR=:
5313 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5314 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5315 PATH_SEPARATOR=';'
5320 # IFS
5321 # We need space, tab and new line, in precisely that order. Quoting is
5322 # there to prevent editors from complaining about space-tab.
5323 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5324 # splitting by setting IFS to empty value.)
5325 IFS=" "" $as_nl"
5327 # Find who we are. Look in the path if we contain no directory separator.
5328 as_myself=
5329 case $0 in #((
5330 *[\\/]* ) as_myself=$0 ;;
5331 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5332 for as_dir in $PATH
5334 IFS=$as_save_IFS
5335 test -z "$as_dir" && as_dir=.
5336 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5337 done
5338 IFS=$as_save_IFS
5341 esac
5342 # We did not find ourselves, most probably we were run as `sh COMMAND'
5343 # in which case we are not to be found in the path.
5344 if test "x$as_myself" = x; then
5345 as_myself=$0
5347 if test ! -f "$as_myself"; then
5348 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5349 exit 1
5352 # Unset variables that we do not need and which cause bugs (e.g. in
5353 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5354 # suppresses any "Segmentation fault" message there. '((' could
5355 # trigger a bug in pdksh 5.2.14.
5356 for as_var in BASH_ENV ENV MAIL MAILPATH
5357 do eval test x\${$as_var+set} = xset \
5358 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5359 done
5360 PS1='$ '
5361 PS2='> '
5362 PS4='+ '
5364 # NLS nuisances.
5365 LC_ALL=C
5366 export LC_ALL
5367 LANGUAGE=C
5368 export LANGUAGE
5370 # CDPATH.
5371 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5374 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5375 # ----------------------------------------
5376 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5377 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5378 # script with STATUS, using 1 if that was 0.
5379 as_fn_error ()
5381 as_status=$1; test $as_status -eq 0 && as_status=1
5382 if test "$4"; then
5383 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5384 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5386 $as_echo "$as_me: error: $2" >&2
5387 as_fn_exit $as_status
5388 } # as_fn_error
5391 # as_fn_set_status STATUS
5392 # -----------------------
5393 # Set $? to STATUS, without forking.
5394 as_fn_set_status ()
5396 return $1
5397 } # as_fn_set_status
5399 # as_fn_exit STATUS
5400 # -----------------
5401 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5402 as_fn_exit ()
5404 set +e
5405 as_fn_set_status $1
5406 exit $1
5407 } # as_fn_exit
5409 # as_fn_unset VAR
5410 # ---------------
5411 # Portably unset VAR.
5412 as_fn_unset ()
5414 { eval $1=; unset $1;}
5416 as_unset=as_fn_unset
5417 # as_fn_append VAR VALUE
5418 # ----------------------
5419 # Append the text in VALUE to the end of the definition contained in VAR. Take
5420 # advantage of any shell optimizations that allow amortized linear growth over
5421 # repeated appends, instead of the typical quadratic growth present in naive
5422 # implementations.
5423 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5424 eval 'as_fn_append ()
5426 eval $1+=\$2
5428 else
5429 as_fn_append ()
5431 eval $1=\$$1\$2
5433 fi # as_fn_append
5435 # as_fn_arith ARG...
5436 # ------------------
5437 # Perform arithmetic evaluation on the ARGs, and store the result in the
5438 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5439 # must be portable across $(()) and expr.
5440 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5441 eval 'as_fn_arith ()
5443 as_val=$(( $* ))
5445 else
5446 as_fn_arith ()
5448 as_val=`expr "$@" || test $? -eq 1`
5450 fi # as_fn_arith
5453 if expr a : '\(a\)' >/dev/null 2>&1 &&
5454 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5455 as_expr=expr
5456 else
5457 as_expr=false
5460 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5461 as_basename=basename
5462 else
5463 as_basename=false
5466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5467 as_dirname=dirname
5468 else
5469 as_dirname=false
5472 as_me=`$as_basename -- "$0" ||
5473 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5474 X"$0" : 'X\(//\)$' \| \
5475 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5476 $as_echo X/"$0" |
5477 sed '/^.*\/\([^/][^/]*\)\/*$/{
5478 s//\1/
5481 /^X\/\(\/\/\)$/{
5482 s//\1/
5485 /^X\/\(\/\).*/{
5486 s//\1/
5489 s/.*/./; q'`
5491 # Avoid depending upon Character Ranges.
5492 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5493 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5494 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5495 as_cr_digits='0123456789'
5496 as_cr_alnum=$as_cr_Letters$as_cr_digits
5498 ECHO_C= ECHO_N= ECHO_T=
5499 case `echo -n x` in #(((((
5500 -n*)
5501 case `echo 'xy\c'` in
5502 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5503 xy) ECHO_C='\c';;
5504 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5505 ECHO_T=' ';;
5506 esac;;
5508 ECHO_N='-n';;
5509 esac
5511 rm -f conf$$ conf$$.exe conf$$.file
5512 if test -d conf$$.dir; then
5513 rm -f conf$$.dir/conf$$.file
5514 else
5515 rm -f conf$$.dir
5516 mkdir conf$$.dir 2>/dev/null
5518 if (echo >conf$$.file) 2>/dev/null; then
5519 if ln -s conf$$.file conf$$ 2>/dev/null; then
5520 as_ln_s='ln -s'
5521 # ... but there are two gotchas:
5522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5524 # In both cases, we have to default to `cp -pR'.
5525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5526 as_ln_s='cp -pR'
5527 elif ln conf$$.file conf$$ 2>/dev/null; then
5528 as_ln_s=ln
5529 else
5530 as_ln_s='cp -pR'
5532 else
5533 as_ln_s='cp -pR'
5535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5536 rmdir conf$$.dir 2>/dev/null
5539 # as_fn_mkdir_p
5540 # -------------
5541 # Create "$as_dir" as a directory, including parents if necessary.
5542 as_fn_mkdir_p ()
5545 case $as_dir in #(
5546 -*) as_dir=./$as_dir;;
5547 esac
5548 test -d "$as_dir" || eval $as_mkdir_p || {
5549 as_dirs=
5550 while :; do
5551 case $as_dir in #(
5552 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5553 *) as_qdir=$as_dir;;
5554 esac
5555 as_dirs="'$as_qdir' $as_dirs"
5556 as_dir=`$as_dirname -- "$as_dir" ||
5557 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5558 X"$as_dir" : 'X\(//\)[^/]' \| \
5559 X"$as_dir" : 'X\(//\)$' \| \
5560 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5561 $as_echo X"$as_dir" |
5562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5563 s//\1/
5566 /^X\(\/\/\)[^/].*/{
5567 s//\1/
5570 /^X\(\/\/\)$/{
5571 s//\1/
5574 /^X\(\/\).*/{
5575 s//\1/
5578 s/.*/./; q'`
5579 test -d "$as_dir" && break
5580 done
5581 test -z "$as_dirs" || eval "mkdir $as_dirs"
5582 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5585 } # as_fn_mkdir_p
5586 if mkdir -p . 2>/dev/null; then
5587 as_mkdir_p='mkdir -p "$as_dir"'
5588 else
5589 test -d ./-p && rmdir ./-p
5590 as_mkdir_p=false
5594 # as_fn_executable_p FILE
5595 # -----------------------
5596 # Test if FILE is an executable regular file.
5597 as_fn_executable_p ()
5599 test -f "$1" && test -x "$1"
5600 } # as_fn_executable_p
5601 as_test_x='test -x'
5602 as_executable_p=as_fn_executable_p
5604 # Sed expression to map a string onto a valid CPP name.
5605 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5607 # Sed expression to map a string onto a valid variable name.
5608 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5611 exec 6>&1
5612 ## ----------------------------------- ##
5613 ## Main body of $CONFIG_STATUS script. ##
5614 ## ----------------------------------- ##
5615 _ASEOF
5616 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5619 # Save the log message, to keep $0 and so on meaningful, and to
5620 # report actual input values of CONFIG_FILES etc. instead of their
5621 # values after options handling.
5622 ac_log="
5623 This file was extended by $as_me, which was
5624 generated by GNU Autoconf 2.69. Invocation command line was
5626 CONFIG_FILES = $CONFIG_FILES
5627 CONFIG_HEADERS = $CONFIG_HEADERS
5628 CONFIG_LINKS = $CONFIG_LINKS
5629 CONFIG_COMMANDS = $CONFIG_COMMANDS
5630 $ $0 $@
5632 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5635 _ACEOF
5637 case $ac_config_files in *"
5638 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5639 esac
5643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5644 # Files that config.status was made for.
5645 config_files="$ac_config_files"
5647 _ACEOF
5649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5650 ac_cs_usage="\
5651 \`$as_me' instantiates files and other configuration actions
5652 from templates according to the current configuration. Unless the files
5653 and actions are specified as TAGs, all are instantiated by default.
5655 Usage: $0 [OPTION]... [TAG]...
5657 -h, --help print this help, then exit
5658 -V, --version print version number and configuration settings, then exit
5659 --config print configuration, then exit
5660 -q, --quiet, --silent
5661 do not print progress messages
5662 -d, --debug don't remove temporary files
5663 --recheck update $as_me by reconfiguring in the same conditions
5664 --file=FILE[:TEMPLATE]
5665 instantiate the configuration file FILE
5667 Configuration files:
5668 $config_files
5670 Report bugs to the package provider."
5672 _ACEOF
5673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5674 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5675 ac_cs_version="\\
5676 config.status
5677 configured by $0, generated by GNU Autoconf 2.69,
5678 with options \\"\$ac_cs_config\\"
5680 Copyright (C) 2012 Free Software Foundation, Inc.
5681 This config.status script is free software; the Free Software Foundation
5682 gives unlimited permission to copy, distribute and modify it."
5684 ac_pwd='$ac_pwd'
5685 srcdir='$srcdir'
5686 test -n "\$AWK" || AWK=awk
5687 _ACEOF
5689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5690 # The default lists apply if the user does not specify any file.
5691 ac_need_defaults=:
5692 while test $# != 0
5694 case $1 in
5695 --*=?*)
5696 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5697 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5698 ac_shift=:
5700 --*=)
5701 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5702 ac_optarg=
5703 ac_shift=:
5706 ac_option=$1
5707 ac_optarg=$2
5708 ac_shift=shift
5710 esac
5712 case $ac_option in
5713 # Handling of the options.
5714 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5715 ac_cs_recheck=: ;;
5716 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5717 $as_echo "$ac_cs_version"; exit ;;
5718 --config | --confi | --conf | --con | --co | --c )
5719 $as_echo "$ac_cs_config"; exit ;;
5720 --debug | --debu | --deb | --de | --d | -d )
5721 debug=: ;;
5722 --file | --fil | --fi | --f )
5723 $ac_shift
5724 case $ac_optarg in
5725 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5726 '') as_fn_error $? "missing file argument" ;;
5727 esac
5728 as_fn_append CONFIG_FILES " '$ac_optarg'"
5729 ac_need_defaults=false;;
5730 --he | --h | --help | --hel | -h )
5731 $as_echo "$ac_cs_usage"; exit ;;
5732 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5733 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5734 ac_cs_silent=: ;;
5736 # This is an error.
5737 -*) as_fn_error $? "unrecognized option: \`$1'
5738 Try \`$0 --help' for more information." ;;
5740 *) as_fn_append ac_config_targets " $1"
5741 ac_need_defaults=false ;;
5743 esac
5744 shift
5745 done
5747 ac_configure_extra_args=
5749 if $ac_cs_silent; then
5750 exec 6>/dev/null
5751 ac_configure_extra_args="$ac_configure_extra_args --silent"
5754 _ACEOF
5755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5756 if \$ac_cs_recheck; then
5757 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5758 shift
5759 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5760 CONFIG_SHELL='$SHELL'
5761 export CONFIG_SHELL
5762 exec "\$@"
5765 _ACEOF
5766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5767 exec 5>>config.log
5769 echo
5770 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5771 ## Running $as_me. ##
5772 _ASBOX
5773 $as_echo "$ac_log"
5774 } >&5
5776 _ACEOF
5777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5778 _ACEOF
5780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5782 # Handling of arguments.
5783 for ac_config_target in $ac_config_targets
5785 case $ac_config_target in
5786 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5788 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5789 esac
5790 done
5793 # If the user did not use the arguments to specify the items to instantiate,
5794 # then the envvar interface is used. Set only those that are not.
5795 # We use the long form for the default assignment because of an extremely
5796 # bizarre bug on SunOS 4.1.3.
5797 if $ac_need_defaults; then
5798 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5801 # Have a temporary directory for convenience. Make it in the build tree
5802 # simply because there is no reason against having it here, and in addition,
5803 # creating and moving files from /tmp can sometimes cause problems.
5804 # Hook for its removal unless debugging.
5805 # Note that there is a small window in which the directory will not be cleaned:
5806 # after its creation but before its name has been assigned to `$tmp'.
5807 $debug ||
5809 tmp= ac_tmp=
5810 trap 'exit_status=$?
5811 : "${ac_tmp:=$tmp}"
5812 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5814 trap 'as_fn_exit 1' 1 2 13 15
5816 # Create a (secure) tmp directory for tmp files.
5819 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5820 test -d "$tmp"
5821 } ||
5823 tmp=./conf$$-$RANDOM
5824 (umask 077 && mkdir "$tmp")
5825 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5826 ac_tmp=$tmp
5828 # Set up the scripts for CONFIG_FILES section.
5829 # No need to generate them if there are no CONFIG_FILES.
5830 # This happens for instance with `./config.status config.h'.
5831 if test -n "$CONFIG_FILES"; then
5834 ac_cr=`echo X | tr X '\015'`
5835 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5836 # But we know of no other shell where ac_cr would be empty at this
5837 # point, so we can use a bashism as a fallback.
5838 if test "x$ac_cr" = x; then
5839 eval ac_cr=\$\'\\r\'
5841 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5842 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5843 ac_cs_awk_cr='\\r'
5844 else
5845 ac_cs_awk_cr=$ac_cr
5848 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5849 _ACEOF
5853 echo "cat >conf$$subs.awk <<_ACEOF" &&
5854 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5855 echo "_ACEOF"
5856 } >conf$$subs.sh ||
5857 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5858 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5859 ac_delim='%!_!# '
5860 for ac_last_try in false false false false false :; do
5861 . ./conf$$subs.sh ||
5862 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5864 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5865 if test $ac_delim_n = $ac_delim_num; then
5866 break
5867 elif $ac_last_try; then
5868 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5869 else
5870 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5872 done
5873 rm -f conf$$subs.sh
5875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5876 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5877 _ACEOF
5878 sed -n '
5880 s/^/S["/; s/!.*/"]=/
5883 s/^[^!]*!//
5884 :repl
5885 t repl
5886 s/'"$ac_delim"'$//
5887 t delim
5890 s/\(.\{148\}\)..*/\1/
5891 t more1
5892 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5895 b repl
5896 :more1
5897 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5900 s/.\{148\}//
5901 t nl
5902 :delim
5904 s/\(.\{148\}\)..*/\1/
5905 t more2
5906 s/["\\]/\\&/g; s/^/"/; s/$/"/
5909 :more2
5910 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5913 s/.\{148\}//
5914 t delim
5915 ' <conf$$subs.awk | sed '
5916 /^[^""]/{
5918 s/\n//
5920 ' >>$CONFIG_STATUS || ac_write_fail=1
5921 rm -f conf$$subs.awk
5922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5923 _ACAWK
5924 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5925 for (key in S) S_is_set[key] = 1
5926 FS = "\a"
5930 line = $ 0
5931 nfields = split(line, field, "@")
5932 substed = 0
5933 len = length(field[1])
5934 for (i = 2; i < nfields; i++) {
5935 key = field[i]
5936 keylen = length(key)
5937 if (S_is_set[key]) {
5938 value = S[key]
5939 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5940 len += length(value) + length(field[++i])
5941 substed = 1
5942 } else
5943 len += 1 + keylen
5946 print line
5949 _ACAWK
5950 _ACEOF
5951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5952 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5953 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5954 else
5956 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5957 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5958 _ACEOF
5960 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5961 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5962 # trailing colons and then remove the whole line if VPATH becomes empty
5963 # (actually we leave an empty line to preserve line numbers).
5964 if test "x$srcdir" = x.; then
5965 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5967 s///
5968 s/^/:/
5969 s/[ ]*$/:/
5970 s/:\$(srcdir):/:/g
5971 s/:\${srcdir}:/:/g
5972 s/:@srcdir@:/:/g
5973 s/^:*//
5974 s/:*$//
5976 s/\(=[ ]*\).*/\1/
5978 s/\n//
5979 s/^[^=]*=[ ]*$//
5983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5984 fi # test -n "$CONFIG_FILES"
5987 eval set X " :F $CONFIG_FILES "
5988 shift
5989 for ac_tag
5991 case $ac_tag in
5992 :[FHLC]) ac_mode=$ac_tag; continue;;
5993 esac
5994 case $ac_mode$ac_tag in
5995 :[FHL]*:*);;
5996 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5997 :[FH]-) ac_tag=-:-;;
5998 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5999 esac
6000 ac_save_IFS=$IFS
6001 IFS=:
6002 set x $ac_tag
6003 IFS=$ac_save_IFS
6004 shift
6005 ac_file=$1
6006 shift
6008 case $ac_mode in
6009 :L) ac_source=$1;;
6010 :[FH])
6011 ac_file_inputs=
6012 for ac_f
6014 case $ac_f in
6015 -) ac_f="$ac_tmp/stdin";;
6016 *) # Look for the file first in the build tree, then in the source tree
6017 # (if the path is not absolute). The absolute path cannot be DOS-style,
6018 # because $ac_f cannot contain `:'.
6019 test -f "$ac_f" ||
6020 case $ac_f in
6021 [\\/$]*) false;;
6022 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6023 esac ||
6024 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6025 esac
6026 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6027 as_fn_append ac_file_inputs " '$ac_f'"
6028 done
6030 # Let's still pretend it is `configure' which instantiates (i.e., don't
6031 # use $as_me), people would be surprised to read:
6032 # /* config.h. Generated by config.status. */
6033 configure_input='Generated from '`
6034 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6035 `' by configure.'
6036 if test x"$ac_file" != x-; then
6037 configure_input="$ac_file. $configure_input"
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6039 $as_echo "$as_me: creating $ac_file" >&6;}
6041 # Neutralize special characters interpreted by sed in replacement strings.
6042 case $configure_input in #(
6043 *\&* | *\|* | *\\* )
6044 ac_sed_conf_input=`$as_echo "$configure_input" |
6045 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6046 *) ac_sed_conf_input=$configure_input;;
6047 esac
6049 case $ac_tag in
6050 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6051 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6052 esac
6054 esac
6056 ac_dir=`$as_dirname -- "$ac_file" ||
6057 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6058 X"$ac_file" : 'X\(//\)[^/]' \| \
6059 X"$ac_file" : 'X\(//\)$' \| \
6060 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6061 $as_echo X"$ac_file" |
6062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6063 s//\1/
6066 /^X\(\/\/\)[^/].*/{
6067 s//\1/
6070 /^X\(\/\/\)$/{
6071 s//\1/
6074 /^X\(\/\).*/{
6075 s//\1/
6078 s/.*/./; q'`
6079 as_dir="$ac_dir"; as_fn_mkdir_p
6080 ac_builddir=.
6082 case "$ac_dir" in
6083 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6085 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6086 # A ".." for each directory in $ac_dir_suffix.
6087 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6088 case $ac_top_builddir_sub in
6089 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6090 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6091 esac ;;
6092 esac
6093 ac_abs_top_builddir=$ac_pwd
6094 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6095 # for backward compatibility:
6096 ac_top_builddir=$ac_top_build_prefix
6098 case $srcdir in
6099 .) # We are building in place.
6100 ac_srcdir=.
6101 ac_top_srcdir=$ac_top_builddir_sub
6102 ac_abs_top_srcdir=$ac_pwd ;;
6103 [\\/]* | ?:[\\/]* ) # Absolute name.
6104 ac_srcdir=$srcdir$ac_dir_suffix;
6105 ac_top_srcdir=$srcdir
6106 ac_abs_top_srcdir=$srcdir ;;
6107 *) # Relative name.
6108 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6109 ac_top_srcdir=$ac_top_build_prefix$srcdir
6110 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6111 esac
6112 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6115 case $ac_mode in
6118 # CONFIG_FILE
6121 _ACEOF
6123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6124 # If the template does not know about datarootdir, expand it.
6125 # FIXME: This hack should be removed a few years after 2.60.
6126 ac_datarootdir_hack=; ac_datarootdir_seen=
6127 ac_sed_dataroot='
6128 /datarootdir/ {
6132 /@datadir@/p
6133 /@docdir@/p
6134 /@infodir@/p
6135 /@localedir@/p
6136 /@mandir@/p'
6137 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6138 *datarootdir*) ac_datarootdir_seen=yes;;
6139 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6141 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6142 _ACEOF
6143 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6144 ac_datarootdir_hack='
6145 s&@datadir@&$datadir&g
6146 s&@docdir@&$docdir&g
6147 s&@infodir@&$infodir&g
6148 s&@localedir@&$localedir&g
6149 s&@mandir@&$mandir&g
6150 s&\\\${datarootdir}&$datarootdir&g' ;;
6151 esac
6152 _ACEOF
6154 # Neutralize VPATH when `$srcdir' = `.'.
6155 # Shell code in configure.ac might set extrasub.
6156 # FIXME: do we really want to maintain this feature?
6157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6158 ac_sed_extra="$ac_vpsub
6159 $extrasub
6160 _ACEOF
6161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6163 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6164 s|@configure_input@|$ac_sed_conf_input|;t t
6165 s&@top_builddir@&$ac_top_builddir_sub&;t t
6166 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6167 s&@srcdir@&$ac_srcdir&;t t
6168 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6169 s&@top_srcdir@&$ac_top_srcdir&;t t
6170 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6171 s&@builddir@&$ac_builddir&;t t
6172 s&@abs_builddir@&$ac_abs_builddir&;t t
6173 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6174 $ac_datarootdir_hack
6176 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6177 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6179 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6180 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6181 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6182 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6184 which seems to be undefined. Please make sure it is defined" >&5
6185 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6186 which seems to be undefined. Please make sure it is defined" >&2;}
6188 rm -f "$ac_tmp/stdin"
6189 case $ac_file in
6190 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6191 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6192 esac \
6193 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6198 esac
6200 done # for ac_tag
6203 as_fn_exit 0
6204 _ACEOF
6205 ac_clean_files=$ac_clean_files_save
6207 test $ac_write_fail = 0 ||
6208 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6211 # configure is writing to config.log, and then calls config.status.
6212 # config.status does its own redirection, appending to config.log.
6213 # Unfortunately, on DOS this fails, as config.log is still kept open
6214 # by configure, so config.status won't be able to write to it; its
6215 # output is simply discarded. So we exec the FD to /dev/null,
6216 # effectively closing config.log, so it can be properly (re)opened and
6217 # appended to by config.status. When coming back to configure, we
6218 # need to make the FD available again.
6219 if test "$no_create" != yes; then
6220 ac_cs_success=:
6221 ac_config_status_args=
6222 test "$silent" = yes &&
6223 ac_config_status_args="$ac_config_status_args --quiet"
6224 exec 5>/dev/null
6225 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6226 exec 5>>config.log
6227 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6228 # would make configure fail if this is the last instruction.
6229 $ac_cs_success || as_fn_exit 1
6231 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6233 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}