last_CHI is used only when debug is printed
[AROS.git] / config / features
blob5e78245eadc2b008360d19e0a9bb1238d666431d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
271 exit 1
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
289 { eval $1=; unset $1;}
291 as_unset=as_fn_unset
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
298 return $1
299 } # as_fn_set_status
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
342 /^X\(\/\/\)$/{
343 s//\1/
346 /^X\(\/\).*/{
347 s//\1/
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
357 } # as_fn_mkdir_p
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
375 eval $1+=\$2
377 else
378 as_fn_append ()
380 eval $1=\$$1\$2
382 fi # as_fn_append
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
392 as_val=$(( $* ))
394 else
395 as_fn_arith ()
397 as_val=`expr "$@" || test $? -eq 1`
399 fi # as_fn_arith
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
446 /^X\/\(\/\/\)$/{
447 s//\1/
450 /^X\/\(\/\).*/{
451 s//\1/
454 s/.*/./; q'`
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
477 :lineno
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
509 ECHO_N='-n';;
510 esac
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
533 else
534 as_ln_s='cp -pR'
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
559 # Name of the host.
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 # Initializations.
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
576 # Identity of this package.
577 PACKAGE_NAME=
578 PACKAGE_TARNAME=
579 PACKAGE_VERSION=
580 PACKAGE_STRING=
581 PACKAGE_BUGREPORT=
582 PACKAGE_URL=
584 ac_unique_file="../mmakefile"
585 ac_subst_vars='LTLIBOBJS
586 LIBOBJS
587 aros_nowarnflags_int_in_bool_context
588 aros_warnflags_int_in_bool_context
589 aros_nowarnflags_class_memaccess
590 aros_warnflags_class_memaccess
591 aros_nowarnflags_missing_prototypes
592 aros_warnflags_missing_prototypes
593 aros_nowarnflags_implicit_fallthrough
594 aros_warnflags_implicit_fallthrough
595 aros_nowarnflags_missing_field_initializers
596 aros_warnflags_missing_field_initializers
597 aros_nowarnflags_shift_negative_value
598 aros_warnflags_shift_negative_value
599 aros_nowarnflags_stringop_truncation
600 aros_warnflags_stringop_truncation
601 aros_nowarnflags_format_truncation
602 aros_warnflags_format_truncation
603 aros_nowarnflags_stringop_overflow
604 aros_warnflags_stringop_overflow
605 aros_nowarnflags_format_overflow
606 aros_warnflags_format_overflow
607 aros_nowarnflags_empty_body
608 aros_warnflags_empty_body
609 aros_nowarnflags_tautological_compare
610 aros_warnflags_tautological_compare
611 aros_nowarnflags_lto_type_mismatch
612 aros_warnflags_lto_type_mismatch
613 aros_nowarnflags_format_zero_length
614 aros_warnflags_format_zero_length
615 aros_nowarnflags_return_type
616 aros_warnflags_return_type
617 aros_nowarnflags_sizeof_pointer_memaccess
618 aros_warnflags_sizeof_pointer_memaccess
619 aros_nowarnflags_volatile_register_var
620 aros_warnflags_volatile_register_var
621 aros_nowarnflags_narrowing
622 aros_warnflags_narrowing
623 aros_nowarnflags_conversion_null
624 aros_warnflags_conversion_null
625 aros_nowarnflags_missing_braces
626 aros_warnflags_missing_braces
627 aros_nowarnflags_unused_local_typedefs
628 aros_warnflags_unused_local_typedefs
629 aros_nowarnflags_overflow
630 aros_warnflags_overflow
631 aros_nowarnflags_attributes
632 aros_warnflags_attributes
633 aros_nowarnflags_sign_compare
634 aros_warnflags_sign_compare
635 aros_nowarnflags_deprecated_declarations
636 aros_warnflags_deprecated_declarations
637 aros_nowarnflags_frame_address
638 aros_warnflags_frame_address
639 aros_nowarnflags_shift_overflow
640 aros_warnflags_shift_overflow
641 aros_nowarnflags_pointer_sign
642 aros_warnflags_pointer_sign
643 aros_nowarnflags_logical_not_parentheses
644 aros_warnflags_logical_not_parentheses
645 aros_nowarnflags_bool_compare
646 aros_warnflags_bool_compare
647 aros_nowarnflags_incompatible_pointer_types
648 aros_warnflags_incompatible_pointer_types
649 aros_nowarnflags_comment
650 aros_warnflags_comment
651 aros_nowarnflags_write_strings
652 aros_warnflags_write_strings
653 aros_nowarnflags_unused_const_variable
654 aros_warnflags_unused_const_variable
655 aros_nowarnflags_pointer_to_int_cast
656 aros_warnflags_pointer_to_int_cast
657 aros_nowarnflags_int_to_pointer_cast
658 aros_warnflags_int_to_pointer_cast
659 aros_nowarnflags_int_conversion
660 aros_warnflags_int_conversion
661 aros_nowarnflags_discarded_array_qualifiers
662 aros_warnflags_discarded_array_qualifiers
663 aros_nowarnflags_unknown_pragmas
664 aros_warnflags_unknown_pragmas
665 aros_nowarnflags_sequence_point
666 aros_warnflags_sequence_point
667 aros_nowarnflags_discarded_qualifiers
668 aros_warnflags_discarded_qualifiers
669 aros_nowarnflags_switch
670 aros_warnflags_switch
671 aros_nowarnflags_cpp
672 aros_warnflags_cpp
673 aros_nowarnflags_aggressive_loop_optimizations
674 aros_warnflags_aggressive_loop_optimizations
675 aros_nowarnflags_implicit_int
676 aros_warnflags_implicit_int
677 aros_nowarnflags_format_contains_nul
678 aros_warnflags_format_contains_nul
679 aros_nowarnflags_endif_labels
680 aros_warnflags_endif_labels
681 aros_nowarnflags_char_subscripts
682 aros_warnflags_char_subscripts
683 aros_nowarnflags_parentheses
684 aros_warnflags_parentheses
685 aros_nowarnflags_format
686 aros_warnflags_format
687 aros_nowarnflags_implicit_function_declaration
688 aros_warnflags_implicit_function_declaration
689 aros_nowarnflags_maybe_uninitialized
690 aros_warnflags_maybe_uninitialized
691 aros_nowarnflags_uninitialized
692 aros_warnflags_uninitialized
693 aros_nowarnflags_unused_parameter
694 aros_warnflags_unused_parameter
695 aros_nowarnflags_unused_function
696 aros_warnflags_unused_function
697 aros_nowarnflags_unused_variable
698 aros_warnflags_unused_variable
699 aros_nowarnflags_unused_value
700 aros_warnflags_unused_value
701 aros_nowarnflags_unused_label
702 aros_warnflags_unused_label
703 aros_nowarnflags_unused
704 aros_warnflags_unused
705 aros_nowarnflags_nonnull_compare
706 aros_warnflags_nonnull_compare
707 aros_nowarnflags_misleading_indentation
708 aros_warnflags_misleading_indentation
709 aros_nowarnflags_format_security
710 aros_warnflags_format_security
711 aros_nowarnflags_strict_overflow
712 aros_warnflags_strict_overflow
713 aros_nowarnflags_strict_prototypes
714 aros_warnflags_strict_prototypes
715 aros_nowarnflags_enum_compare
716 aros_warnflags_enum_compare
717 aros_nowarnflags_array_bounds
718 aros_warnflags_array_bounds
719 aros_nowarnflags_strict_aliasing
720 aros_warnflags_strict_aliasing
721 aros_nowarnflags_unused_but_set_variable
722 aros_warnflags_unused_but_set_variable
723 aros_nowarnflags_unknown_warning_option
724 aros_warnflags_unknown_warning_option
725 aros_nowarnflags_unused_command_line_argument
726 aros_warnflags_unused_command_line_argument
727 aros_nowarnflags_restrict
728 aros_warnflags_restrict
729 aros_warnflags_all
730 aros_nowarnflags_error
731 aros_warnflags_error
732 aros_cflags_no_red_zone
733 aros_cflags_iquote_end
734 aros_cflags_iquote
735 aros_cflags_no_builtin_vsnprintf
736 aros_cflags_no_builtin_floor
737 aros_cflags_no_builtin
738 aros_cflags_notestcoverage
739 aros_cflags_testcoverage
740 aros_cflags_noprofilearcs
741 aros_cflags_profilearcs
742 aros_cflags_noomitfp
743 aros_cflags_omitfp
744 aros_cflags_noipacp
745 aros_cflags_ipacp
746 aros_cflags_noinlinesmallfunctions
747 aros_cflags_inlinesmallfunctions
748 aros_cflags_nostrictaliasing
749 aros_cflags_strictaliasing
750 aros_cflags_unroll_loops
751 aros_cflags_peel_loops
752 aros_cflags_loop_strip_mine
753 aros_cflags_loop_interchange
754 aros_cflags_loop_block
755 aros_cflags_whole_program
756 aros_cflags_nolto
757 aros_cflags_lto
758 aros_cflags_fast_math
759 aros_cflags_permissive
760 aros_cflags_exceptions
761 OBJEXT
762 EXEEXT
763 ac_ct_CC
764 CPPFLAGS
765 LDFLAGS
766 CFLAGS
768 target_alias
769 host_alias
770 build_alias
771 LIBS
772 ECHO_T
773 ECHO_N
774 ECHO_C
775 DEFS
776 mandir
777 localedir
778 libdir
779 psdir
780 pdfdir
781 dvidir
782 htmldir
783 infodir
784 docdir
785 oldincludedir
786 includedir
787 runstatedir
788 localstatedir
789 sharedstatedir
790 sysconfdir
791 datadir
792 datarootdir
793 libexecdir
794 sbindir
795 bindir
796 program_transform_name
797 prefix
798 exec_prefix
799 PACKAGE_URL
800 PACKAGE_BUGREPORT
801 PACKAGE_STRING
802 PACKAGE_VERSION
803 PACKAGE_TARNAME
804 PACKAGE_NAME
805 PATH_SEPARATOR
806 SHELL'
807 ac_subst_files=''
808 ac_user_opts='
809 enable_option_checking
810 with_config_dir
812 ac_precious_vars='build_alias
813 host_alias
814 target_alias
816 CFLAGS
817 LDFLAGS
818 LIBS
819 CPPFLAGS'
822 # Initialize some variables set by options.
823 ac_init_help=
824 ac_init_version=false
825 ac_unrecognized_opts=
826 ac_unrecognized_sep=
827 # The variables have the same names as the options, with
828 # dashes changed to underlines.
829 cache_file=/dev/null
830 exec_prefix=NONE
831 no_create=
832 no_recursion=
833 prefix=NONE
834 program_prefix=NONE
835 program_suffix=NONE
836 program_transform_name=s,x,x,
837 silent=
838 site=
839 srcdir=
840 verbose=
841 x_includes=NONE
842 x_libraries=NONE
844 # Installation directory options.
845 # These are left unexpanded so users can "make install exec_prefix=/foo"
846 # and all the variables that are supposed to be based on exec_prefix
847 # by default will actually change.
848 # Use braces instead of parens because sh, perl, etc. also accept them.
849 # (The list follows the same order as the GNU Coding Standards.)
850 bindir='${exec_prefix}/bin'
851 sbindir='${exec_prefix}/sbin'
852 libexecdir='${exec_prefix}/libexec'
853 datarootdir='${prefix}/share'
854 datadir='${datarootdir}'
855 sysconfdir='${prefix}/etc'
856 sharedstatedir='${prefix}/com'
857 localstatedir='${prefix}/var'
858 runstatedir='${localstatedir}/run'
859 includedir='${prefix}/include'
860 oldincludedir='/usr/include'
861 docdir='${datarootdir}/doc/${PACKAGE}'
862 infodir='${datarootdir}/info'
863 htmldir='${docdir}'
864 dvidir='${docdir}'
865 pdfdir='${docdir}'
866 psdir='${docdir}'
867 libdir='${exec_prefix}/lib'
868 localedir='${datarootdir}/locale'
869 mandir='${datarootdir}/man'
871 ac_prev=
872 ac_dashdash=
873 for ac_option
875 # If the previous option needs an argument, assign it.
876 if test -n "$ac_prev"; then
877 eval $ac_prev=\$ac_option
878 ac_prev=
879 continue
882 case $ac_option in
883 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
884 *=) ac_optarg= ;;
885 *) ac_optarg=yes ;;
886 esac
888 # Accept the important Cygnus configure options, so we can diagnose typos.
890 case $ac_dashdash$ac_option in
892 ac_dashdash=yes ;;
894 -bindir | --bindir | --bindi | --bind | --bin | --bi)
895 ac_prev=bindir ;;
896 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
897 bindir=$ac_optarg ;;
899 -build | --build | --buil | --bui | --bu)
900 ac_prev=build_alias ;;
901 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
902 build_alias=$ac_optarg ;;
904 -cache-file | --cache-file | --cache-fil | --cache-fi \
905 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
906 ac_prev=cache_file ;;
907 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
908 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
909 cache_file=$ac_optarg ;;
911 --config-cache | -C)
912 cache_file=config.cache ;;
914 -datadir | --datadir | --datadi | --datad)
915 ac_prev=datadir ;;
916 -datadir=* | --datadir=* | --datadi=* | --datad=*)
917 datadir=$ac_optarg ;;
919 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
920 | --dataroo | --dataro | --datar)
921 ac_prev=datarootdir ;;
922 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
923 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
924 datarootdir=$ac_optarg ;;
926 -disable-* | --disable-*)
927 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
928 # Reject names that are not valid shell variable names.
929 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
930 as_fn_error $? "invalid feature name: $ac_useropt"
931 ac_useropt_orig=$ac_useropt
932 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
933 case $ac_user_opts in
935 "enable_$ac_useropt"
936 "*) ;;
937 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
938 ac_unrecognized_sep=', ';;
939 esac
940 eval enable_$ac_useropt=no ;;
942 -docdir | --docdir | --docdi | --doc | --do)
943 ac_prev=docdir ;;
944 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
945 docdir=$ac_optarg ;;
947 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
948 ac_prev=dvidir ;;
949 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
950 dvidir=$ac_optarg ;;
952 -enable-* | --enable-*)
953 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
954 # Reject names that are not valid shell variable names.
955 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
956 as_fn_error $? "invalid feature name: $ac_useropt"
957 ac_useropt_orig=$ac_useropt
958 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
959 case $ac_user_opts in
961 "enable_$ac_useropt"
962 "*) ;;
963 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
964 ac_unrecognized_sep=', ';;
965 esac
966 eval enable_$ac_useropt=\$ac_optarg ;;
968 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
969 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
970 | --exec | --exe | --ex)
971 ac_prev=exec_prefix ;;
972 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
973 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
974 | --exec=* | --exe=* | --ex=*)
975 exec_prefix=$ac_optarg ;;
977 -gas | --gas | --ga | --g)
978 # Obsolete; use --with-gas.
979 with_gas=yes ;;
981 -help | --help | --hel | --he | -h)
982 ac_init_help=long ;;
983 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
984 ac_init_help=recursive ;;
985 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
986 ac_init_help=short ;;
988 -host | --host | --hos | --ho)
989 ac_prev=host_alias ;;
990 -host=* | --host=* | --hos=* | --ho=*)
991 host_alias=$ac_optarg ;;
993 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
994 ac_prev=htmldir ;;
995 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
996 | --ht=*)
997 htmldir=$ac_optarg ;;
999 -includedir | --includedir | --includedi | --included | --include \
1000 | --includ | --inclu | --incl | --inc)
1001 ac_prev=includedir ;;
1002 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1003 | --includ=* | --inclu=* | --incl=* | --inc=*)
1004 includedir=$ac_optarg ;;
1006 -infodir | --infodir | --infodi | --infod | --info | --inf)
1007 ac_prev=infodir ;;
1008 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1009 infodir=$ac_optarg ;;
1011 -libdir | --libdir | --libdi | --libd)
1012 ac_prev=libdir ;;
1013 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1014 libdir=$ac_optarg ;;
1016 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1017 | --libexe | --libex | --libe)
1018 ac_prev=libexecdir ;;
1019 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1020 | --libexe=* | --libex=* | --libe=*)
1021 libexecdir=$ac_optarg ;;
1023 -localedir | --localedir | --localedi | --localed | --locale)
1024 ac_prev=localedir ;;
1025 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1026 localedir=$ac_optarg ;;
1028 -localstatedir | --localstatedir | --localstatedi | --localstated \
1029 | --localstate | --localstat | --localsta | --localst | --locals)
1030 ac_prev=localstatedir ;;
1031 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1032 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1033 localstatedir=$ac_optarg ;;
1035 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1036 ac_prev=mandir ;;
1037 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1038 mandir=$ac_optarg ;;
1040 -nfp | --nfp | --nf)
1041 # Obsolete; use --without-fp.
1042 with_fp=no ;;
1044 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1045 | --no-cr | --no-c | -n)
1046 no_create=yes ;;
1048 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1049 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1050 no_recursion=yes ;;
1052 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1053 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1054 | --oldin | --oldi | --old | --ol | --o)
1055 ac_prev=oldincludedir ;;
1056 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1057 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1058 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1059 oldincludedir=$ac_optarg ;;
1061 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1062 ac_prev=prefix ;;
1063 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1064 prefix=$ac_optarg ;;
1066 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1067 | --program-pre | --program-pr | --program-p)
1068 ac_prev=program_prefix ;;
1069 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1070 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1071 program_prefix=$ac_optarg ;;
1073 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1074 | --program-suf | --program-su | --program-s)
1075 ac_prev=program_suffix ;;
1076 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1077 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1078 program_suffix=$ac_optarg ;;
1080 -program-transform-name | --program-transform-name \
1081 | --program-transform-nam | --program-transform-na \
1082 | --program-transform-n | --program-transform- \
1083 | --program-transform | --program-transfor \
1084 | --program-transfo | --program-transf \
1085 | --program-trans | --program-tran \
1086 | --progr-tra | --program-tr | --program-t)
1087 ac_prev=program_transform_name ;;
1088 -program-transform-name=* | --program-transform-name=* \
1089 | --program-transform-nam=* | --program-transform-na=* \
1090 | --program-transform-n=* | --program-transform-=* \
1091 | --program-transform=* | --program-transfor=* \
1092 | --program-transfo=* | --program-transf=* \
1093 | --program-trans=* | --program-tran=* \
1094 | --progr-tra=* | --program-tr=* | --program-t=*)
1095 program_transform_name=$ac_optarg ;;
1097 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1098 ac_prev=pdfdir ;;
1099 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1100 pdfdir=$ac_optarg ;;
1102 -psdir | --psdir | --psdi | --psd | --ps)
1103 ac_prev=psdir ;;
1104 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1105 psdir=$ac_optarg ;;
1107 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1108 | -silent | --silent | --silen | --sile | --sil)
1109 silent=yes ;;
1111 -runstatedir | --runstatedir | --runstatedi | --runstated \
1112 | --runstate | --runstat | --runsta | --runst | --runs \
1113 | --run | --ru | --r)
1114 ac_prev=runstatedir ;;
1115 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1116 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1117 | --run=* | --ru=* | --r=*)
1118 runstatedir=$ac_optarg ;;
1120 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1121 ac_prev=sbindir ;;
1122 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1123 | --sbi=* | --sb=*)
1124 sbindir=$ac_optarg ;;
1126 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1127 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1128 | --sharedst | --shareds | --shared | --share | --shar \
1129 | --sha | --sh)
1130 ac_prev=sharedstatedir ;;
1131 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1132 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1133 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1134 | --sha=* | --sh=*)
1135 sharedstatedir=$ac_optarg ;;
1137 -site | --site | --sit)
1138 ac_prev=site ;;
1139 -site=* | --site=* | --sit=*)
1140 site=$ac_optarg ;;
1142 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1143 ac_prev=srcdir ;;
1144 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1145 srcdir=$ac_optarg ;;
1147 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1148 | --syscon | --sysco | --sysc | --sys | --sy)
1149 ac_prev=sysconfdir ;;
1150 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1151 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1152 sysconfdir=$ac_optarg ;;
1154 -target | --target | --targe | --targ | --tar | --ta | --t)
1155 ac_prev=target_alias ;;
1156 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1157 target_alias=$ac_optarg ;;
1159 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1160 verbose=yes ;;
1162 -version | --version | --versio | --versi | --vers | -V)
1163 ac_init_version=: ;;
1165 -with-* | --with-*)
1166 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1169 as_fn_error $? "invalid package name: $ac_useropt"
1170 ac_useropt_orig=$ac_useropt
1171 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172 case $ac_user_opts in
1174 "with_$ac_useropt"
1175 "*) ;;
1176 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1177 ac_unrecognized_sep=', ';;
1178 esac
1179 eval with_$ac_useropt=\$ac_optarg ;;
1181 -without-* | --without-*)
1182 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1185 as_fn_error $? "invalid package name: $ac_useropt"
1186 ac_useropt_orig=$ac_useropt
1187 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188 case $ac_user_opts in
1190 "with_$ac_useropt"
1191 "*) ;;
1192 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1193 ac_unrecognized_sep=', ';;
1194 esac
1195 eval with_$ac_useropt=no ;;
1197 --x)
1198 # Obsolete; use --with-x.
1199 with_x=yes ;;
1201 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1202 | --x-incl | --x-inc | --x-in | --x-i)
1203 ac_prev=x_includes ;;
1204 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1205 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1206 x_includes=$ac_optarg ;;
1208 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1209 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1210 ac_prev=x_libraries ;;
1211 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1212 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1213 x_libraries=$ac_optarg ;;
1215 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1216 Try \`$0 --help' for more information"
1219 *=*)
1220 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1221 # Reject names that are not valid shell variable names.
1222 case $ac_envvar in #(
1223 '' | [0-9]* | *[!_$as_cr_alnum]* )
1224 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1225 esac
1226 eval $ac_envvar=\$ac_optarg
1227 export $ac_envvar ;;
1230 # FIXME: should be removed in autoconf 3.0.
1231 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1232 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1233 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1234 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1237 esac
1238 done
1240 if test -n "$ac_prev"; then
1241 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1242 as_fn_error $? "missing argument to $ac_option"
1245 if test -n "$ac_unrecognized_opts"; then
1246 case $enable_option_checking in
1247 no) ;;
1248 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1249 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1250 esac
1253 # Check all directory arguments for consistency.
1254 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1255 datadir sysconfdir sharedstatedir localstatedir includedir \
1256 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1257 libdir localedir mandir runstatedir
1259 eval ac_val=\$$ac_var
1260 # Remove trailing slashes.
1261 case $ac_val in
1262 */ )
1263 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1264 eval $ac_var=\$ac_val;;
1265 esac
1266 # Be sure to have absolute directory names.
1267 case $ac_val in
1268 [\\/$]* | ?:[\\/]* ) continue;;
1269 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1270 esac
1271 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1272 done
1274 # There might be people who depend on the old broken behavior: `$host'
1275 # used to hold the argument of --host etc.
1276 # FIXME: To remove some day.
1277 build=$build_alias
1278 host=$host_alias
1279 target=$target_alias
1281 # FIXME: To remove some day.
1282 if test "x$host_alias" != x; then
1283 if test "x$build_alias" = x; then
1284 cross_compiling=maybe
1285 elif test "x$build_alias" != "x$host_alias"; then
1286 cross_compiling=yes
1290 ac_tool_prefix=
1291 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1293 test "$silent" = yes && exec 6>/dev/null
1296 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1297 ac_ls_di=`ls -di .` &&
1298 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1299 as_fn_error $? "working directory cannot be determined"
1300 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1301 as_fn_error $? "pwd does not report name of working directory"
1304 # Find the source files, if location was not specified.
1305 if test -z "$srcdir"; then
1306 ac_srcdir_defaulted=yes
1307 # Try the directory containing this script, then the parent directory.
1308 ac_confdir=`$as_dirname -- "$as_myself" ||
1309 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1310 X"$as_myself" : 'X\(//\)[^/]' \| \
1311 X"$as_myself" : 'X\(//\)$' \| \
1312 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1313 $as_echo X"$as_myself" |
1314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1315 s//\1/
1318 /^X\(\/\/\)[^/].*/{
1319 s//\1/
1322 /^X\(\/\/\)$/{
1323 s//\1/
1326 /^X\(\/\).*/{
1327 s//\1/
1330 s/.*/./; q'`
1331 srcdir=$ac_confdir
1332 if test ! -r "$srcdir/$ac_unique_file"; then
1333 srcdir=..
1335 else
1336 ac_srcdir_defaulted=no
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1339 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1340 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1342 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1343 ac_abs_confdir=`(
1344 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1345 pwd)`
1346 # When building in place, set srcdir=.
1347 if test "$ac_abs_confdir" = "$ac_pwd"; then
1348 srcdir=.
1350 # Remove unnecessary trailing slashes from srcdir.
1351 # Double slashes in file names in object file debugging info
1352 # mess up M-x gdb in Emacs.
1353 case $srcdir in
1354 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1355 esac
1356 for ac_var in $ac_precious_vars; do
1357 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1358 eval ac_env_${ac_var}_value=\$${ac_var}
1359 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1360 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1361 done
1364 # Report the --help message.
1366 if test "$ac_init_help" = "long"; then
1367 # Omit some internal or obsolete options to make the list less imposing.
1368 # This message is too long to be a string in the A/UX 3.1 sh.
1369 cat <<_ACEOF
1370 \`configure' configures this package to adapt to many kinds of systems.
1372 Usage: $0 [OPTION]... [VAR=VALUE]...
1374 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1375 VAR=VALUE. See below for descriptions of some of the useful variables.
1377 Defaults for the options are specified in brackets.
1379 Configuration:
1380 -h, --help display this help and exit
1381 --help=short display options specific to this package
1382 --help=recursive display the short help of all the included packages
1383 -V, --version display version information and exit
1384 -q, --quiet, --silent do not print \`checking ...' messages
1385 --cache-file=FILE cache test results in FILE [disabled]
1386 -C, --config-cache alias for \`--cache-file=config.cache'
1387 -n, --no-create do not create output files
1388 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1390 Installation directories:
1391 --prefix=PREFIX install architecture-independent files in PREFIX
1392 [$ac_default_prefix]
1393 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1394 [PREFIX]
1396 By default, \`make install' will install all the files in
1397 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1398 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1399 for instance \`--prefix=\$HOME'.
1401 For better control, use the options below.
1403 Fine tuning of the installation directories:
1404 --bindir=DIR user executables [EPREFIX/bin]
1405 --sbindir=DIR system admin executables [EPREFIX/sbin]
1406 --libexecdir=DIR program executables [EPREFIX/libexec]
1407 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1408 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1409 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1410 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1411 --libdir=DIR object code libraries [EPREFIX/lib]
1412 --includedir=DIR C header files [PREFIX/include]
1413 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1414 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1415 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1416 --infodir=DIR info documentation [DATAROOTDIR/info]
1417 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1418 --mandir=DIR man documentation [DATAROOTDIR/man]
1419 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1420 --htmldir=DIR html documentation [DOCDIR]
1421 --dvidir=DIR dvi documentation [DOCDIR]
1422 --pdfdir=DIR pdf documentation [DOCDIR]
1423 --psdir=DIR ps documentation [DOCDIR]
1424 _ACEOF
1426 cat <<\_ACEOF
1427 _ACEOF
1430 if test -n "$ac_init_help"; then
1432 cat <<\_ACEOF
1434 Optional Packages:
1435 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1436 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1437 --with-config-dir=VERSION
1438 Location of generated target config files
1440 Some influential environment variables:
1441 CC C compiler command
1442 CFLAGS C compiler flags
1443 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1444 nonstandard directory <lib dir>
1445 LIBS libraries to pass to the linker, e.g. -l<library>
1446 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1447 you have headers in a nonstandard directory <include dir>
1449 Use these variables to override the choices made by `configure' or to help
1450 it to find libraries and programs with nonstandard names/locations.
1452 Report bugs to the package provider.
1453 _ACEOF
1454 ac_status=$?
1457 if test "$ac_init_help" = "recursive"; then
1458 # If there are subdirs, report their specific --help.
1459 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1460 test -d "$ac_dir" ||
1461 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1462 continue
1463 ac_builddir=.
1465 case "$ac_dir" in
1466 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1468 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1469 # A ".." for each directory in $ac_dir_suffix.
1470 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1471 case $ac_top_builddir_sub in
1472 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1473 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1474 esac ;;
1475 esac
1476 ac_abs_top_builddir=$ac_pwd
1477 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1478 # for backward compatibility:
1479 ac_top_builddir=$ac_top_build_prefix
1481 case $srcdir in
1482 .) # We are building in place.
1483 ac_srcdir=.
1484 ac_top_srcdir=$ac_top_builddir_sub
1485 ac_abs_top_srcdir=$ac_pwd ;;
1486 [\\/]* | ?:[\\/]* ) # Absolute name.
1487 ac_srcdir=$srcdir$ac_dir_suffix;
1488 ac_top_srcdir=$srcdir
1489 ac_abs_top_srcdir=$srcdir ;;
1490 *) # Relative name.
1491 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1492 ac_top_srcdir=$ac_top_build_prefix$srcdir
1493 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1494 esac
1495 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1497 cd "$ac_dir" || { ac_status=$?; continue; }
1498 # Check for guested configure.
1499 if test -f "$ac_srcdir/configure.gnu"; then
1500 echo &&
1501 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1502 elif test -f "$ac_srcdir/configure"; then
1503 echo &&
1504 $SHELL "$ac_srcdir/configure" --help=recursive
1505 else
1506 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1507 fi || ac_status=$?
1508 cd "$ac_pwd" || { ac_status=$?; break; }
1509 done
1512 test -n "$ac_init_help" && exit $ac_status
1513 if $ac_init_version; then
1514 cat <<\_ACEOF
1515 configure
1516 generated by GNU Autoconf 2.69
1518 Copyright (C) 2012 Free Software Foundation, Inc.
1519 This configure script is free software; the Free Software Foundation
1520 gives unlimited permission to copy, distribute and modify it.
1521 _ACEOF
1522 exit
1525 ## ------------------------ ##
1526 ## Autoconf initialization. ##
1527 ## ------------------------ ##
1529 # ac_fn_c_try_compile LINENO
1530 # --------------------------
1531 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1532 ac_fn_c_try_compile ()
1534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535 rm -f conftest.$ac_objext
1536 if { { ac_try="$ac_compile"
1537 case "(($ac_try" in
1538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1539 *) ac_try_echo=$ac_try;;
1540 esac
1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_compile") 2>conftest.err
1544 ac_status=$?
1545 if test -s conftest.err; then
1546 grep -v '^ *+' conftest.err >conftest.er1
1547 cat conftest.er1 >&5
1548 mv -f conftest.er1 conftest.err
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } && {
1552 test -z "$ac_c_werror_flag" ||
1553 test ! -s conftest.err
1554 } && test -s conftest.$ac_objext; then :
1555 ac_retval=0
1556 else
1557 $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.$ac_ext >&5
1560 ac_retval=1
1562 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1563 as_fn_set_status $ac_retval
1565 } # ac_fn_c_try_compile
1566 cat >config.log <<_ACEOF
1567 This file contains any messages produced by compilers while
1568 running configure, to aid debugging if configure makes a mistake.
1570 It was created by $as_me, which was
1571 generated by GNU Autoconf 2.69. Invocation command line was
1573 $ $0 $@
1575 _ACEOF
1576 exec 5>>config.log
1578 cat <<_ASUNAME
1579 ## --------- ##
1580 ## Platform. ##
1581 ## --------- ##
1583 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1584 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1585 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1586 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1587 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1589 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1590 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1592 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1593 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1594 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1595 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1596 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1597 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1598 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1600 _ASUNAME
1602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1603 for as_dir in $PATH
1605 IFS=$as_save_IFS
1606 test -z "$as_dir" && as_dir=.
1607 $as_echo "PATH: $as_dir"
1608 done
1609 IFS=$as_save_IFS
1611 } >&5
1613 cat >&5 <<_ACEOF
1616 ## ----------- ##
1617 ## Core tests. ##
1618 ## ----------- ##
1620 _ACEOF
1623 # Keep a trace of the command line.
1624 # Strip out --no-create and --no-recursion so they do not pile up.
1625 # Strip out --silent because we don't want to record it for future runs.
1626 # Also quote any args containing shell meta-characters.
1627 # Make two passes to allow for proper duplicate-argument suppression.
1628 ac_configure_args=
1629 ac_configure_args0=
1630 ac_configure_args1=
1631 ac_must_keep_next=false
1632 for ac_pass in 1 2
1634 for ac_arg
1636 case $ac_arg in
1637 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1638 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1639 | -silent | --silent | --silen | --sile | --sil)
1640 continue ;;
1641 *\'*)
1642 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1643 esac
1644 case $ac_pass in
1645 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1647 as_fn_append ac_configure_args1 " '$ac_arg'"
1648 if test $ac_must_keep_next = true; then
1649 ac_must_keep_next=false # Got value, back to normal.
1650 else
1651 case $ac_arg in
1652 *=* | --config-cache | -C | -disable-* | --disable-* \
1653 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1654 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1655 | -with-* | --with-* | -without-* | --without-* | --x)
1656 case "$ac_configure_args0 " in
1657 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1658 esac
1660 -* ) ac_must_keep_next=true ;;
1661 esac
1663 as_fn_append ac_configure_args " '$ac_arg'"
1665 esac
1666 done
1667 done
1668 { ac_configure_args0=; unset ac_configure_args0;}
1669 { ac_configure_args1=; unset ac_configure_args1;}
1671 # When interrupted or exit'd, cleanup temporary files, and complete
1672 # config.log. We remove comments because anyway the quotes in there
1673 # would cause problems or look ugly.
1674 # WARNING: Use '\'' to represent an apostrophe within the trap.
1675 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1676 trap 'exit_status=$?
1677 # Save into config.log some information that might help in debugging.
1679 echo
1681 $as_echo "## ---------------- ##
1682 ## Cache variables. ##
1683 ## ---------------- ##"
1684 echo
1685 # The following way of writing the cache mishandles newlines in values,
1687 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1688 eval ac_val=\$$ac_var
1689 case $ac_val in #(
1690 *${as_nl}*)
1691 case $ac_var in #(
1692 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1693 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1694 esac
1695 case $ac_var in #(
1696 _ | IFS | as_nl) ;; #(
1697 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1698 *) { eval $ac_var=; unset $ac_var;} ;;
1699 esac ;;
1700 esac
1701 done
1702 (set) 2>&1 |
1703 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1704 *${as_nl}ac_space=\ *)
1705 sed -n \
1706 "s/'\''/'\''\\\\'\'''\''/g;
1707 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1708 ;; #(
1710 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1712 esac |
1713 sort
1715 echo
1717 $as_echo "## ----------------- ##
1718 ## Output variables. ##
1719 ## ----------------- ##"
1720 echo
1721 for ac_var in $ac_subst_vars
1723 eval ac_val=\$$ac_var
1724 case $ac_val in
1725 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1726 esac
1727 $as_echo "$ac_var='\''$ac_val'\''"
1728 done | sort
1729 echo
1731 if test -n "$ac_subst_files"; then
1732 $as_echo "## ------------------- ##
1733 ## File substitutions. ##
1734 ## ------------------- ##"
1735 echo
1736 for ac_var in $ac_subst_files
1738 eval ac_val=\$$ac_var
1739 case $ac_val in
1740 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1741 esac
1742 $as_echo "$ac_var='\''$ac_val'\''"
1743 done | sort
1744 echo
1747 if test -s confdefs.h; then
1748 $as_echo "## ----------- ##
1749 ## confdefs.h. ##
1750 ## ----------- ##"
1751 echo
1752 cat confdefs.h
1753 echo
1755 test "$ac_signal" != 0 &&
1756 $as_echo "$as_me: caught signal $ac_signal"
1757 $as_echo "$as_me: exit $exit_status"
1758 } >&5
1759 rm -f core *.core core.conftest.* &&
1760 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1761 exit $exit_status
1763 for ac_signal in 1 2 13 15; do
1764 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1765 done
1766 ac_signal=0
1768 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1769 rm -f -r conftest* confdefs.h
1771 $as_echo "/* confdefs.h */" > confdefs.h
1773 # Predefined preprocessor variables.
1775 cat >>confdefs.h <<_ACEOF
1776 #define PACKAGE_NAME "$PACKAGE_NAME"
1777 _ACEOF
1779 cat >>confdefs.h <<_ACEOF
1780 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1781 _ACEOF
1783 cat >>confdefs.h <<_ACEOF
1784 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1785 _ACEOF
1787 cat >>confdefs.h <<_ACEOF
1788 #define PACKAGE_STRING "$PACKAGE_STRING"
1789 _ACEOF
1791 cat >>confdefs.h <<_ACEOF
1792 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1793 _ACEOF
1795 cat >>confdefs.h <<_ACEOF
1796 #define PACKAGE_URL "$PACKAGE_URL"
1797 _ACEOF
1800 # Let the site file select an alternate cache file if it wants to.
1801 # Prefer an explicitly selected file to automatically selected ones.
1802 ac_site_file1=NONE
1803 ac_site_file2=NONE
1804 if test -n "$CONFIG_SITE"; then
1805 # We do not want a PATH search for config.site.
1806 case $CONFIG_SITE in #((
1807 -*) ac_site_file1=./$CONFIG_SITE;;
1808 */*) ac_site_file1=$CONFIG_SITE;;
1809 *) ac_site_file1=./$CONFIG_SITE;;
1810 esac
1811 elif test "x$prefix" != xNONE; then
1812 ac_site_file1=$prefix/share/config.site
1813 ac_site_file2=$prefix/etc/config.site
1814 else
1815 ac_site_file1=$ac_default_prefix/share/config.site
1816 ac_site_file2=$ac_default_prefix/etc/config.site
1818 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1820 test "x$ac_site_file" = xNONE && continue
1821 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1823 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1824 sed 's/^/| /' "$ac_site_file" >&5
1825 . "$ac_site_file" \
1826 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1828 as_fn_error $? "failed to load site script $ac_site_file
1829 See \`config.log' for more details" "$LINENO" 5; }
1831 done
1833 if test -r "$cache_file"; then
1834 # Some versions of bash will fail to source /dev/null (special files
1835 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1836 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1838 $as_echo "$as_me: loading cache $cache_file" >&6;}
1839 case $cache_file in
1840 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1841 *) . "./$cache_file";;
1842 esac
1844 else
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1846 $as_echo "$as_me: creating cache $cache_file" >&6;}
1847 >$cache_file
1850 # Check that the precious variables saved in the cache have kept the same
1851 # value.
1852 ac_cache_corrupted=false
1853 for ac_var in $ac_precious_vars; do
1854 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1855 eval ac_new_set=\$ac_env_${ac_var}_set
1856 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1857 eval ac_new_val=\$ac_env_${ac_var}_value
1858 case $ac_old_set,$ac_new_set in
1859 set,)
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1861 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1862 ac_cache_corrupted=: ;;
1863 ,set)
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1865 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1866 ac_cache_corrupted=: ;;
1867 ,);;
1869 if test "x$ac_old_val" != "x$ac_new_val"; then
1870 # differences in whitespace do not lead to failure.
1871 ac_old_val_w=`echo x $ac_old_val`
1872 ac_new_val_w=`echo x $ac_new_val`
1873 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1875 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1876 ac_cache_corrupted=:
1877 else
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1879 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1880 eval $ac_var=\$ac_old_val
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1883 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1885 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1886 fi;;
1887 esac
1888 # Pass precious variables to config.status.
1889 if test "$ac_new_set" = set; then
1890 case $ac_new_val in
1891 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1892 *) ac_arg=$ac_var=$ac_new_val ;;
1893 esac
1894 case " $ac_configure_args " in
1895 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1896 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1897 esac
1899 done
1900 if $ac_cache_corrupted; then
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1904 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1905 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1907 ## -------------------- ##
1908 ## Main body of script. ##
1909 ## -------------------- ##
1911 ac_ext=c
1912 ac_cpp='$CPP $CPPFLAGS'
1913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1919 ac_aux_dir=
1920 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1921 if test -f "$ac_dir/install-sh"; then
1922 ac_aux_dir=$ac_dir
1923 ac_install_sh="$ac_aux_dir/install-sh -c"
1924 break
1925 elif test -f "$ac_dir/install.sh"; then
1926 ac_aux_dir=$ac_dir
1927 ac_install_sh="$ac_aux_dir/install.sh -c"
1928 break
1929 elif test -f "$ac_dir/shtool"; then
1930 ac_aux_dir=$ac_dir
1931 ac_install_sh="$ac_aux_dir/shtool install -c"
1932 break
1934 done
1935 if test -z "$ac_aux_dir"; then
1936 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1939 # These three variables are undocumented and unsupported,
1940 # and are intended to be withdrawn in a future Autoconf release.
1941 # They can cause serious problems if a builder's source tree is in a directory
1942 # whose full name contains unusual characters.
1943 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1944 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1945 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1949 AROS_BUILDDIR=`${PWDCMD-pwd}`
1950 AROS_BUILDDIR_UNIX=${PWD}
1952 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1953 SRCDIR=${srcpwd}
1955 NOLINKFLAGS="-nostdlib -nostartfiles"
1956 LDFLAGS=$NOLINKFLAGS
1957 # The first step is to find the binaries.
1958 ac_ext=c
1959 ac_cpp='$CPP $CPPFLAGS'
1960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1963 if test -n "$ac_tool_prefix"; then
1964 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1965 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1967 $as_echo_n "checking for $ac_word... " >&6; }
1968 if ${ac_cv_prog_CC+:} false; then :
1969 $as_echo_n "(cached) " >&6
1970 else
1971 if test -n "$CC"; then
1972 ac_cv_prog_CC="$CC" # Let the user override the test.
1973 else
1974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1975 for as_dir in $PATH
1977 IFS=$as_save_IFS
1978 test -z "$as_dir" && as_dir=.
1979 for ac_exec_ext in '' $ac_executable_extensions; do
1980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1981 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1983 break 2
1985 done
1986 done
1987 IFS=$as_save_IFS
1991 CC=$ac_cv_prog_CC
1992 if test -n "$CC"; then
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1994 $as_echo "$CC" >&6; }
1995 else
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1997 $as_echo "no" >&6; }
2002 if test -z "$ac_cv_prog_CC"; then
2003 ac_ct_CC=$CC
2004 # Extract the first word of "gcc", so it can be a program name with args.
2005 set dummy gcc; ac_word=$2
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2007 $as_echo_n "checking for $ac_word... " >&6; }
2008 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2009 $as_echo_n "(cached) " >&6
2010 else
2011 if test -n "$ac_ct_CC"; then
2012 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2013 else
2014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2015 for as_dir in $PATH
2017 IFS=$as_save_IFS
2018 test -z "$as_dir" && as_dir=.
2019 for ac_exec_ext in '' $ac_executable_extensions; do
2020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2021 ac_cv_prog_ac_ct_CC="gcc"
2022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2023 break 2
2025 done
2026 done
2027 IFS=$as_save_IFS
2031 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2032 if test -n "$ac_ct_CC"; then
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2034 $as_echo "$ac_ct_CC" >&6; }
2035 else
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2037 $as_echo "no" >&6; }
2040 if test "x$ac_ct_CC" = x; then
2041 CC=""
2042 else
2043 case $cross_compiling:$ac_tool_warned in
2044 yes:)
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2047 ac_tool_warned=yes ;;
2048 esac
2049 CC=$ac_ct_CC
2051 else
2052 CC="$ac_cv_prog_CC"
2055 if test -z "$CC"; then
2056 if test -n "$ac_tool_prefix"; then
2057 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2058 set dummy ${ac_tool_prefix}cc; ac_word=$2
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2060 $as_echo_n "checking for $ac_word... " >&6; }
2061 if ${ac_cv_prog_CC+:} false; then :
2062 $as_echo_n "(cached) " >&6
2063 else
2064 if test -n "$CC"; then
2065 ac_cv_prog_CC="$CC" # Let the user override the test.
2066 else
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 ac_cv_prog_CC="${ac_tool_prefix}cc"
2075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2076 break 2
2078 done
2079 done
2080 IFS=$as_save_IFS
2084 CC=$ac_cv_prog_CC
2085 if test -n "$CC"; then
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2087 $as_echo "$CC" >&6; }
2088 else
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2090 $as_echo "no" >&6; }
2096 if test -z "$CC"; then
2097 # Extract the first word of "cc", so it can be a program name with args.
2098 set dummy cc; ac_word=$2
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2100 $as_echo_n "checking for $ac_word... " >&6; }
2101 if ${ac_cv_prog_CC+:} false; then :
2102 $as_echo_n "(cached) " >&6
2103 else
2104 if test -n "$CC"; then
2105 ac_cv_prog_CC="$CC" # Let the user override the test.
2106 else
2107 ac_prog_rejected=no
2108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2109 for as_dir in $PATH
2111 IFS=$as_save_IFS
2112 test -z "$as_dir" && as_dir=.
2113 for ac_exec_ext in '' $ac_executable_extensions; do
2114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2115 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2116 ac_prog_rejected=yes
2117 continue
2119 ac_cv_prog_CC="cc"
2120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2121 break 2
2123 done
2124 done
2125 IFS=$as_save_IFS
2127 if test $ac_prog_rejected = yes; then
2128 # We found a bogon in the path, so make sure we never use it.
2129 set dummy $ac_cv_prog_CC
2130 shift
2131 if test $# != 0; then
2132 # We chose a different compiler from the bogus one.
2133 # However, it has the same basename, so the bogon will be chosen
2134 # first if we set CC to just the basename; use the full file name.
2135 shift
2136 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2141 CC=$ac_cv_prog_CC
2142 if test -n "$CC"; then
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2144 $as_echo "$CC" >&6; }
2145 else
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2147 $as_echo "no" >&6; }
2152 if test -z "$CC"; then
2153 if test -n "$ac_tool_prefix"; then
2154 for ac_prog in cl.exe
2156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2157 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2159 $as_echo_n "checking for $ac_word... " >&6; }
2160 if ${ac_cv_prog_CC+:} false; then :
2161 $as_echo_n "(cached) " >&6
2162 else
2163 if test -n "$CC"; then
2164 ac_cv_prog_CC="$CC" # Let the user override the test.
2165 else
2166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 for as_dir in $PATH
2169 IFS=$as_save_IFS
2170 test -z "$as_dir" && as_dir=.
2171 for ac_exec_ext in '' $ac_executable_extensions; do
2172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2173 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2175 break 2
2177 done
2178 done
2179 IFS=$as_save_IFS
2183 CC=$ac_cv_prog_CC
2184 if test -n "$CC"; then
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2186 $as_echo "$CC" >&6; }
2187 else
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2189 $as_echo "no" >&6; }
2193 test -n "$CC" && break
2194 done
2196 if test -z "$CC"; then
2197 ac_ct_CC=$CC
2198 for ac_prog in cl.exe
2200 # Extract the first word of "$ac_prog", so it can be a program name with args.
2201 set dummy $ac_prog; ac_word=$2
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2203 $as_echo_n "checking for $ac_word... " >&6; }
2204 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2205 $as_echo_n "(cached) " >&6
2206 else
2207 if test -n "$ac_ct_CC"; then
2208 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2209 else
2210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2211 for as_dir in $PATH
2213 IFS=$as_save_IFS
2214 test -z "$as_dir" && as_dir=.
2215 for ac_exec_ext in '' $ac_executable_extensions; do
2216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2217 ac_cv_prog_ac_ct_CC="$ac_prog"
2218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2219 break 2
2221 done
2222 done
2223 IFS=$as_save_IFS
2227 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2228 if test -n "$ac_ct_CC"; then
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2230 $as_echo "$ac_ct_CC" >&6; }
2231 else
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2233 $as_echo "no" >&6; }
2237 test -n "$ac_ct_CC" && break
2238 done
2240 if test "x$ac_ct_CC" = x; then
2241 CC=""
2242 else
2243 case $cross_compiling:$ac_tool_warned in
2244 yes:)
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2247 ac_tool_warned=yes ;;
2248 esac
2249 CC=$ac_ct_CC
2256 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2258 as_fn_error $? "no acceptable C compiler found in \$PATH
2259 See \`config.log' for more details" "$LINENO" 5; }
2261 # Provide some information about the compiler.
2262 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2263 set X $ac_compile
2264 ac_compiler=$2
2265 for ac_option in --version -v -V -qversion; do
2266 { { ac_try="$ac_compiler $ac_option >&5"
2267 case "(($ac_try" in
2268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2269 *) ac_try_echo=$ac_try;;
2270 esac
2271 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2272 $as_echo "$ac_try_echo"; } >&5
2273 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2274 ac_status=$?
2275 if test -s conftest.err; then
2276 sed '10a\
2277 ... rest of stderr output deleted ...
2278 10q' conftest.err >conftest.er1
2279 cat conftest.er1 >&5
2281 rm -f conftest.er1 conftest.err
2282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2283 test $ac_status = 0; }
2284 done
2286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2287 /* end confdefs.h. */
2290 main ()
2294 return 0;
2296 _ACEOF
2297 ac_clean_files_save=$ac_clean_files
2298 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2299 # Try to create an executable without -o first, disregard a.out.
2300 # It will help us diagnose broken compilers, and finding out an intuition
2301 # of exeext.
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2303 $as_echo_n "checking whether the C compiler works... " >&6; }
2304 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2306 # The possible output files:
2307 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2309 ac_rmfiles=
2310 for ac_file in $ac_files
2312 case $ac_file in
2313 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2314 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2315 esac
2316 done
2317 rm -f $ac_rmfiles
2319 if { { ac_try="$ac_link_default"
2320 case "(($ac_try" in
2321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2322 *) ac_try_echo=$ac_try;;
2323 esac
2324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2325 $as_echo "$ac_try_echo"; } >&5
2326 (eval "$ac_link_default") 2>&5
2327 ac_status=$?
2328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2329 test $ac_status = 0; }; then :
2330 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2331 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2332 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2333 # so that the user can short-circuit this test for compilers unknown to
2334 # Autoconf.
2335 for ac_file in $ac_files ''
2337 test -f "$ac_file" || continue
2338 case $ac_file in
2339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2341 [ab].out )
2342 # We found the default executable, but exeext='' is most
2343 # certainly right.
2344 break;;
2345 *.* )
2346 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2347 then :; else
2348 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2350 # We set ac_cv_exeext here because the later test for it is not
2351 # safe: cross compilers may not add the suffix if given an `-o'
2352 # argument, so we may need to know it at that point already.
2353 # Even if this section looks crufty: it has the advantage of
2354 # actually working.
2355 break;;
2357 break;;
2358 esac
2359 done
2360 test "$ac_cv_exeext" = no && ac_cv_exeext=
2362 else
2363 ac_file=''
2365 if test -z "$ac_file"; then :
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2367 $as_echo "no" >&6; }
2368 $as_echo "$as_me: failed program was:" >&5
2369 sed 's/^/| /' conftest.$ac_ext >&5
2371 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2373 as_fn_error 77 "C compiler cannot create executables
2374 See \`config.log' for more details" "$LINENO" 5; }
2375 else
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2377 $as_echo "yes" >&6; }
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2380 $as_echo_n "checking for C compiler default output file name... " >&6; }
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2382 $as_echo "$ac_file" >&6; }
2383 ac_exeext=$ac_cv_exeext
2385 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2386 ac_clean_files=$ac_clean_files_save
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2388 $as_echo_n "checking for suffix of executables... " >&6; }
2389 if { { ac_try="$ac_link"
2390 case "(($ac_try" in
2391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2392 *) ac_try_echo=$ac_try;;
2393 esac
2394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2395 $as_echo "$ac_try_echo"; } >&5
2396 (eval "$ac_link") 2>&5
2397 ac_status=$?
2398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2399 test $ac_status = 0; }; then :
2400 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2401 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2402 # work properly (i.e., refer to `conftest.exe'), while it won't with
2403 # `rm'.
2404 for ac_file in conftest.exe conftest conftest.*; do
2405 test -f "$ac_file" || continue
2406 case $ac_file in
2407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2408 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2409 break;;
2410 * ) break;;
2411 esac
2412 done
2413 else
2414 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2416 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2417 See \`config.log' for more details" "$LINENO" 5; }
2419 rm -f conftest conftest$ac_cv_exeext
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2421 $as_echo "$ac_cv_exeext" >&6; }
2423 rm -f conftest.$ac_ext
2424 EXEEXT=$ac_cv_exeext
2425 ac_exeext=$EXEEXT
2426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2427 /* end confdefs.h. */
2428 #include <stdio.h>
2430 main ()
2432 FILE *f = fopen ("conftest.out", "w");
2433 return ferror (f) || fclose (f) != 0;
2436 return 0;
2438 _ACEOF
2439 ac_clean_files="$ac_clean_files conftest.out"
2440 # Check that the compiler produces executables we can run. If not, either
2441 # the compiler is broken, or we cross compile.
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2443 $as_echo_n "checking whether we are cross compiling... " >&6; }
2444 if test "$cross_compiling" != yes; then
2445 { { ac_try="$ac_link"
2446 case "(($ac_try" in
2447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2448 *) ac_try_echo=$ac_try;;
2449 esac
2450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2451 $as_echo "$ac_try_echo"; } >&5
2452 (eval "$ac_link") 2>&5
2453 ac_status=$?
2454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2455 test $ac_status = 0; }
2456 if { ac_try='./conftest$ac_cv_exeext'
2457 { { case "(($ac_try" in
2458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2459 *) ac_try_echo=$ac_try;;
2460 esac
2461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2462 $as_echo "$ac_try_echo"; } >&5
2463 (eval "$ac_try") 2>&5
2464 ac_status=$?
2465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2466 test $ac_status = 0; }; }; then
2467 cross_compiling=no
2468 else
2469 if test "$cross_compiling" = maybe; then
2470 cross_compiling=yes
2471 else
2472 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2474 as_fn_error $? "cannot run C compiled programs.
2475 If you meant to cross compile, use \`--host'.
2476 See \`config.log' for more details" "$LINENO" 5; }
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2481 $as_echo "$cross_compiling" >&6; }
2483 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2484 ac_clean_files=$ac_clean_files_save
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2486 $as_echo_n "checking for suffix of object files... " >&6; }
2487 if ${ac_cv_objext+:} false; then :
2488 $as_echo_n "(cached) " >&6
2489 else
2490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2491 /* end confdefs.h. */
2494 main ()
2498 return 0;
2500 _ACEOF
2501 rm -f conftest.o conftest.obj
2502 if { { ac_try="$ac_compile"
2503 case "(($ac_try" in
2504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2505 *) ac_try_echo=$ac_try;;
2506 esac
2507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2508 $as_echo "$ac_try_echo"; } >&5
2509 (eval "$ac_compile") 2>&5
2510 ac_status=$?
2511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2512 test $ac_status = 0; }; then :
2513 for ac_file in conftest.o conftest.obj conftest.*; do
2514 test -f "$ac_file" || continue;
2515 case $ac_file in
2516 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2517 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2518 break;;
2519 esac
2520 done
2521 else
2522 $as_echo "$as_me: failed program was:" >&5
2523 sed 's/^/| /' conftest.$ac_ext >&5
2525 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2527 as_fn_error $? "cannot compute suffix of object files: cannot compile
2528 See \`config.log' for more details" "$LINENO" 5; }
2530 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2533 $as_echo "$ac_cv_objext" >&6; }
2534 OBJEXT=$ac_cv_objext
2535 ac_objext=$OBJEXT
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2537 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2538 if ${ac_cv_c_compiler_gnu+:} false; then :
2539 $as_echo_n "(cached) " >&6
2540 else
2541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2542 /* end confdefs.h. */
2545 main ()
2547 #ifndef __GNUC__
2548 choke me
2549 #endif
2552 return 0;
2554 _ACEOF
2555 if ac_fn_c_try_compile "$LINENO"; then :
2556 ac_compiler_gnu=yes
2557 else
2558 ac_compiler_gnu=no
2560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2561 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2565 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2566 if test $ac_compiler_gnu = yes; then
2567 GCC=yes
2568 else
2569 GCC=
2571 ac_test_CFLAGS=${CFLAGS+set}
2572 ac_save_CFLAGS=$CFLAGS
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2574 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2575 if ${ac_cv_prog_cc_g+:} false; then :
2576 $as_echo_n "(cached) " >&6
2577 else
2578 ac_save_c_werror_flag=$ac_c_werror_flag
2579 ac_c_werror_flag=yes
2580 ac_cv_prog_cc_g=no
2581 CFLAGS="-g"
2582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2583 /* end confdefs.h. */
2586 main ()
2590 return 0;
2592 _ACEOF
2593 if ac_fn_c_try_compile "$LINENO"; then :
2594 ac_cv_prog_cc_g=yes
2595 else
2596 CFLAGS=""
2597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2598 /* end confdefs.h. */
2601 main ()
2605 return 0;
2607 _ACEOF
2608 if ac_fn_c_try_compile "$LINENO"; then :
2610 else
2611 ac_c_werror_flag=$ac_save_c_werror_flag
2612 CFLAGS="-g"
2613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2614 /* end confdefs.h. */
2617 main ()
2621 return 0;
2623 _ACEOF
2624 if ac_fn_c_try_compile "$LINENO"; then :
2625 ac_cv_prog_cc_g=yes
2627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2632 ac_c_werror_flag=$ac_save_c_werror_flag
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2635 $as_echo "$ac_cv_prog_cc_g" >&6; }
2636 if test "$ac_test_CFLAGS" = set; then
2637 CFLAGS=$ac_save_CFLAGS
2638 elif test $ac_cv_prog_cc_g = yes; then
2639 if test "$GCC" = yes; then
2640 CFLAGS="-g -O2"
2641 else
2642 CFLAGS="-g"
2644 else
2645 if test "$GCC" = yes; then
2646 CFLAGS="-O2"
2647 else
2648 CFLAGS=
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2652 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2653 if ${ac_cv_prog_cc_c89+:} false; then :
2654 $as_echo_n "(cached) " >&6
2655 else
2656 ac_cv_prog_cc_c89=no
2657 ac_save_CC=$CC
2658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2659 /* end confdefs.h. */
2660 #include <stdarg.h>
2661 #include <stdio.h>
2662 struct stat;
2663 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2664 struct buf { int x; };
2665 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2666 static char *e (p, i)
2667 char **p;
2668 int i;
2670 return p[i];
2672 static char *f (char * (*g) (char **, int), char **p, ...)
2674 char *s;
2675 va_list v;
2676 va_start (v,p);
2677 s = g (p, va_arg (v,int));
2678 va_end (v);
2679 return s;
2682 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2683 function prototypes and stuff, but not '\xHH' hex character constants.
2684 These don't provoke an error unfortunately, instead are silently treated
2685 as 'x'. The following induces an error, until -std is added to get
2686 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2687 array size at least. It's necessary to write '\x00'==0 to get something
2688 that's true only with -std. */
2689 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2691 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2692 inside strings and character constants. */
2693 #define FOO(x) 'x'
2694 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2696 int test (int i, double x);
2697 struct s1 {int (*f) (int a);};
2698 struct s2 {int (*f) (double a);};
2699 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2700 int argc;
2701 char **argv;
2703 main ()
2705 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2707 return 0;
2709 _ACEOF
2710 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2711 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2713 CC="$ac_save_CC $ac_arg"
2714 if ac_fn_c_try_compile "$LINENO"; then :
2715 ac_cv_prog_cc_c89=$ac_arg
2717 rm -f core conftest.err conftest.$ac_objext
2718 test "x$ac_cv_prog_cc_c89" != "xno" && break
2719 done
2720 rm -f conftest.$ac_ext
2721 CC=$ac_save_CC
2724 # AC_CACHE_VAL
2725 case "x$ac_cv_prog_cc_c89" in
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2728 $as_echo "none needed" >&6; } ;;
2729 xno)
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2731 $as_echo "unsupported" >&6; } ;;
2733 CC="$CC $ac_cv_prog_cc_c89"
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2735 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2736 esac
2737 if test "x$ac_cv_prog_cc_c89" != xno; then :
2741 ac_ext=c
2742 ac_cpp='$CPP $CPPFLAGS'
2743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2749 $as_echo_n "checking target config location... " >&6; }
2751 # Check whether --with-config-dir was given.
2752 if test "${with_config_dir+set}" = set; then :
2753 withval=$with_config_dir; targetcfg_dir="$withval"
2754 else
2755 targetcfg_dir=""
2758 if test "$targetcfg_dir" = ""; then
2759 as_fn_error $? "missing config directory!" "$LINENO" 5
2760 else
2761 aros_targetcfg_dir="$targetcfg_dir"
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2764 $as_echo "$aros_targetcfg_dir" >&6; }
2766 #-----------------------------------------------------------------------------
2768 # Check if the target compiler supports some features:
2769 # -fexceptions
2770 # -fpermissive
2771 # -ffast-math
2772 # -flto
2773 # -fwhole-program
2774 # -floop-block
2775 # -floop-interchange
2776 # -floop-strip-mine
2777 # -fpeel-loops
2778 # -fstrict-aliasing
2779 # -finline-small-functions
2780 # -fipa-cp
2781 # -funroll-loops
2782 # -fomit-frame-pointer
2783 # -fprofile-arcs
2784 # -ftest-coverage
2786 # -fno-builtin
2787 # -fno-builtin-floor
2788 # -fno-builtin-vsnprintf
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2791 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2792 CFLAGS=-fexceptions
2794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h. */
2798 main ()
2802 return 0;
2804 _ACEOF
2805 if ac_fn_c_try_compile "$LINENO"; then :
2806 aros_exceptions="yes"
2807 else
2808 aros_exceptions="no"
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2812 $as_echo "$aros_exceptions" >&6; }
2813 if test "x-$aros_exceptions" = "x-yes" ; then
2814 aros_cflags_exceptions=-fexceptions
2815 aros_cflags_noexceptions=-fno-exceptions
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpermissive" >&5
2819 $as_echo_n "checking whether ${CC} accepts -fpermissive... " >&6; }
2820 CFLAGS=-fpermissive
2821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2822 /* end confdefs.h. */
2825 main ()
2829 return 0;
2831 _ACEOF
2832 if ac_fn_c_try_compile "$LINENO"; then :
2833 aros_permissive="yes"
2834 else
2835 aros_permissive="no"
2837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
2839 $as_echo "$aros_permissive" >&6; }
2840 if test "x-$aros_permissive" = "x-yes" ; then
2841 aros_cflags_permissive=-fpermissive
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2845 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2846 CFLAGS=-ffast-math
2847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2848 /* end confdefs.h. */
2851 main ()
2855 return 0;
2857 _ACEOF
2858 if ac_fn_c_try_compile "$LINENO"; then :
2859 aros_fast_math="yes"
2860 else
2861 aros_fast_math="no"
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2865 $as_echo "$aros_fast_math" >&6; }
2866 if test "x-$aros_fast_math" = "x-yes" ; then
2867 aros_cflags_fast_math=-ffast-math
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2871 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2872 CFLAGS=-flto
2873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2874 /* end confdefs.h. */
2877 main ()
2881 return 0;
2883 _ACEOF
2884 if ac_fn_c_try_compile "$LINENO"; then :
2885 aros_lto="yes"
2886 else
2887 aros_lto="no"
2889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2891 $as_echo "$aros_lto" >&6; }
2892 if test "x-$aros_lto" = "x-yes" ; then
2893 aros_cflags_lto=-flto
2894 aros_cflags_nolto=-fno-lto
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2897 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2898 CFLAGS=-fwhole-program
2899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2900 /* end confdefs.h. */
2903 main ()
2907 return 0;
2909 _ACEOF
2910 if ac_fn_c_try_compile "$LINENO"; then :
2911 aros_whole_program="yes"
2912 else
2913 aros_whole_program="no"
2915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2917 $as_echo "$aros_whole_program" >&6; }
2918 if test "x-$aros_whole_program" = "x-yes" ; then
2919 aros_cflags_whole_program=-fwhole-program
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2923 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2924 CFLAGS=-floop-block
2925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2926 /* end confdefs.h. */
2929 main ()
2933 return 0;
2935 _ACEOF
2936 if ac_fn_c_try_compile "$LINENO"; then :
2937 aros_loop_block="yes"
2938 else
2939 aros_loop_block="no"
2941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2943 $as_echo "$aros_loop_block" >&6; }
2944 if test "x-$aros_loop_block" = "x-yes" ; then
2945 aros_cflags_loop_block=-floop-block
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2949 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2950 CFLAGS=-floop-interchange
2951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2952 /* end confdefs.h. */
2955 main ()
2959 return 0;
2961 _ACEOF
2962 if ac_fn_c_try_compile "$LINENO"; then :
2963 aros_loop_interchange="yes"
2964 else
2965 aros_loop_interchange="no"
2967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2969 $as_echo "$aros_loop_interchange" >&6; }
2970 if test "x-$aros_loop_interchange" = "x-yes" ; then
2971 aros_cflags_loop_interchange=-floop-interchange
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2975 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2976 CFLAGS=-floop-strip-mine
2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978 /* end confdefs.h. */
2981 main ()
2985 return 0;
2987 _ACEOF
2988 if ac_fn_c_try_compile "$LINENO"; then :
2989 aros_loop_strip_mine="yes"
2990 else
2991 aros_loop_strip_mine="no"
2993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2995 $as_echo "$aros_loop_strip_mine" >&6; }
2996 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2997 aros_cflags_loop_strip_mine=-floop-strip-mine
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
3002 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
3003 CFLAGS=-fpeel-loops
3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3008 main ()
3012 return 0;
3014 _ACEOF
3015 if ac_fn_c_try_compile "$LINENO"; then :
3016 aros_peel_loops="yes"
3017 else
3018 aros_peel_loops="no"
3020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
3022 $as_echo "$aros_peel_loops" >&6; }
3023 if test "x-$aros_peel_loops" = "x-yes" ; then
3024 aros_cflags_peel_loops=-fpeel-loops
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3028 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3029 CFLAGS=-funroll-loops
3030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3031 /* end confdefs.h. */
3034 main ()
3038 return 0;
3040 _ACEOF
3041 if ac_fn_c_try_compile "$LINENO"; then :
3042 aros_unroll_loops="yes"
3043 else
3044 aros_unroll_loops="no"
3046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3048 $as_echo "$aros_unroll_loops" >&6; }
3049 if test "x-$aros_unroll_loops" = "x-yes" ; then
3050 aros_cflags_unroll_loops=-funroll-loops
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3054 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3055 CFLAGS=-fstrict-aliasing
3056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3057 /* end confdefs.h. */
3060 main ()
3064 return 0;
3066 _ACEOF
3067 if ac_fn_c_try_compile "$LINENO"; then :
3068 aros_strict_aliasing="yes"
3069 else
3070 aros_strict_aliasing="no"
3072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3074 $as_echo "$aros_strict_aliasing" >&6; }
3075 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3076 aros_cflags_strictaliasing=-fstrict-aliasing
3077 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3081 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3082 CFLAGS=-finline-small-functions
3083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3084 /* end confdefs.h. */
3087 main ()
3091 return 0;
3093 _ACEOF
3094 if ac_fn_c_try_compile "$LINENO"; then :
3095 aros_inline_small_functions="yes"
3096 else
3097 aros_inline_small_functions="no"
3099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3101 $as_echo "$aros_inline_small_functions" >&6; }
3102 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3103 aros_cflags_inlinesmallfunctions=-finline-small-functions
3104 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fipa-cp" >&5
3108 $as_echo_n "checking whether ${CC} accepts -fipa-cp... " >&6; }
3109 CFLAGS=-fipa-cp
3110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h. */
3114 main ()
3118 return 0;
3120 _ACEOF
3121 if ac_fn_c_try_compile "$LINENO"; then :
3122 aros_ipa_cp="yes"
3123 else
3124 aros_ipa_cp="no"
3126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ipa_cp" >&5
3128 $as_echo "$aros_ipa_cp" >&6; }
3129 if test "x-$aros_ipa_cp" = "x-yes" ; then
3130 aros_cflags_ipacp=-fipa-cp
3131 aros_cflags_noipacp=-fno-ipa-cp
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fomit-frame-pointer" >&5
3135 $as_echo_n "checking whether ${CC} accepts -fomit-frame-pointer... " >&6; }
3136 CFLAGS=-fomit-frame-pointer
3137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3138 /* end confdefs.h. */
3141 main ()
3145 return 0;
3147 _ACEOF
3148 if ac_fn_c_try_compile "$LINENO"; then :
3149 aros_omit_frame_pointer="yes"
3150 else
3151 aros_omit_frame_pointer="no"
3153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_omit_frame_pointer" >&5
3155 $as_echo "$aros_omit_frame_pointer" >&6; }
3156 if test "x-$aros_omit_frame_pointer" = "x-yes" ; then
3157 aros_cflags_omitfp=-fomit-frame-pointer
3158 aros_cflags_noomitfp=-fno-omit-frame-pointer
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fprofile-arcs" >&5
3162 $as_echo_n "checking whether ${CC} accepts -fprofile-arcs... " >&6; }
3163 CFLAGS=-fprofile-arcs
3164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3165 /* end confdefs.h. */
3168 main ()
3172 return 0;
3174 _ACEOF
3175 if ac_fn_c_try_compile "$LINENO"; then :
3176 aros_profile_arcs="yes"
3177 else
3178 aros_profile_arcs="no"
3180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_profile_arcs" >&5
3182 $as_echo "$aros_profile_arcs" >&6; }
3183 if test "x-$aros_profile_arcs" = "x-yes" ; then
3184 aros_cflags_profilearcs=-fprofile-arcs
3185 aros_cflags_noprofilearcs=-fno-profile-arcs
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ftest-coverage" >&5
3189 $as_echo_n "checking whether ${CC} accepts -ftest-coverage... " >&6; }
3190 CFLAGS=-ftest-coverage
3191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h. */
3195 main ()
3199 return 0;
3201 _ACEOF
3202 if ac_fn_c_try_compile "$LINENO"; then :
3203 aros_test_coverage="yes"
3204 else
3205 aros_test_coverage="no"
3207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_test_coverage" >&5
3209 $as_echo "$aros_test_coverage" >&6; }
3210 if test "x-$aros_test_coverage" = "x-yes" ; then
3211 aros_cflags_testcoverage=-ftest-coverage
3212 aros_cflags_notestcoverage=-fno-test-coverage
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin" >&5
3216 $as_echo_n "checking whether ${CC} accepts -fno-builtin... " >&6; }
3217 CFLAGS=-fno-builtin
3218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3219 /* end confdefs.h. */
3222 main ()
3226 return 0;
3228 _ACEOF
3229 if ac_fn_c_try_compile "$LINENO"; then :
3230 aros_no_builtin="yes"
3231 else
3232 aros_no_builtin="no"
3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin" >&5
3236 $as_echo "$aros_no_builtin" >&6; }
3237 if test "x-$aros_no_builtin" = "x-yes" ; then
3238 aros_cflags_no_builtin=-fno-builtin
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
3242 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
3243 CFLAGS=-fno-builtin-floor
3244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3245 /* end confdefs.h. */
3248 main ()
3252 return 0;
3254 _ACEOF
3255 if ac_fn_c_try_compile "$LINENO"; then :
3256 aros_no_builtin_floor="yes"
3257 else
3258 aros_no_builtin_floor="no"
3260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
3262 $as_echo "$aros_no_builtin_floor" >&6; }
3263 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
3264 aros_cflags_no_builtin_floor=-fno-builtin-floor
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-vsnprintf" >&5
3268 $as_echo_n "checking whether ${CC} accepts -fno-builtin-vsnprintf... " >&6; }
3269 CFLAGS=-fno-builtin-vsnprintf
3270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3271 /* end confdefs.h. */
3274 main ()
3278 return 0;
3280 _ACEOF
3281 if ac_fn_c_try_compile "$LINENO"; then :
3282 aros_no_builtin_vsnprintf="yes"
3283 else
3284 aros_no_builtin_vsnprintf="no"
3286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_vsnprintf" >&5
3288 $as_echo "$aros_no_builtin_vsnprintf" >&6; }
3289 if test "x-$aros_no_builtin_vsnprintf" = "x-yes" ; then
3290 aros_cflags_no_builtin_vsnprintf=-fno-builtin-vsnprintf
3293 #-----------------------------------------------------------------------------
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3297 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3298 CFLAGS="-iquote."
3299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3300 /* end confdefs.h. */
3303 main ()
3307 return 0;
3309 _ACEOF
3310 if ac_fn_c_try_compile "$LINENO"; then :
3311 has_iquote="yes"
3312 else
3313 has_iquote="no"
3315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3317 $as_echo "$has_iquote" >&6; }
3318 if test "x-$has_iquote" = "x-yes" ; then
3319 aros_cflags_iquote=-iquote
3320 aros_cflags_iquote_end=
3321 else
3322 aros_cflags_iquote=-I
3323 aros_cflags_iquote_end=-I-
3326 #-----------------------------------------------------------------------------
3328 # Check if the target compiler supports some options:
3329 # -mno-red-zone
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mno-red-zone" >&5
3332 $as_echo_n "checking whether ${CC} accepts -mno-red-zone... " >&6; }
3333 CFLAGS=-mno-red-zone
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3338 main ()
3342 return 0;
3344 _ACEOF
3345 if ac_fn_c_try_compile "$LINENO"; then :
3346 aros_no_red_zone="yes"
3347 else
3348 aros_no_red_zone="no"
3350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3352 $as_echo "$aros_no_red_zone" >&6; }
3353 if test "x-$aros_no_red_zone" = "x-yes" ; then
3354 aros_cflags_no_red_zone=-mno-red-zone
3357 #-----------------------------------------------------------------------------
3359 # Check if the target compiler supports some options used for de-linting:
3360 # -Werror
3361 # -Wall
3362 # -Wrestrict
3363 # -Wunused-command-line-argument
3364 # -Wunknown-warning-option
3365 # -Wunused-but-set-variable
3366 # -Wstrict-aliasing
3367 # -Warray-bounds
3368 # -Wenum-compare
3369 # -Wstrict-prototypes
3370 # -Wstrict-overflow
3371 # -Wformat-security
3372 # -Wmisleading-indentation
3373 # -Wnonnull-compare
3374 # -Wunused
3375 # -Wunused-label
3376 # -Wunused-value
3377 # -Wunused-variable
3378 # -Wunused-function
3379 # -Wunused-parameter
3380 # -Wuninitialized
3381 # -Wmaybe-uninitialized
3382 # -Wimplicit-function-declaration
3383 # -Wformat
3384 # -Wparentheses
3385 # -Wchar-subscripts
3386 # -Wendif-labels
3387 # -Wformat-contains-nul
3388 # -Wimplicit-int
3389 # -Waggressive-loop-optimizations
3390 # -Wcpp
3391 # -Wswitch
3392 # -Wdiscarded-qualifiers
3393 # -Wsequence-point
3394 # -Wunknown-pragmas
3395 # -Wdiscarded-array-qualifiers
3396 # -Wint-conversion
3397 # -Wint-to-pointer-cast
3398 # -Wpointer-to-int-cast
3399 # -Wunused-const-variable
3400 # -Wwrite-strings
3401 # -Wcomment
3402 # -Wincompatible-pointer-types
3403 # -Wbool-compare
3404 # -Wlogical-not-parentheses
3405 # -Wpointer-sign
3406 # -Wshift-overflow
3407 # -Wframe-address
3408 # -Wdeprecated-declarations
3409 # -Wsign-compare
3410 # -Wattributes
3411 # -Woverflow
3412 # -Wunused-local-typedefs
3413 # -Wmissing-braces
3414 # -Wconversion-null
3415 # -Wnarrowing
3416 # -Wvolatile-register-var
3417 # -Wsizeof-pointer-memaccess
3418 # -Wreturn-type
3419 # -Wformat-zero-length
3420 # -Wlto-type-mismatch
3421 # -Wtautological-compare
3422 # -Wempty-body
3423 # -Wformat-overflow
3424 # -Wstringop-overflow
3425 # -Wformat-truncation
3426 # -Wstringop-truncation
3427 # -Wshift-negative-value
3428 # -Wmissing-field-initializers
3429 # -Wimplicit-fallthrough
3430 # -Wmissing-prototypes
3431 # -Wclass-memaccess
3432 # -Wint-in-bool-context
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
3435 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
3436 CFLAGS=-Werror
3437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438 /* end confdefs.h. */
3441 main ()
3445 return 0;
3447 _ACEOF
3448 if ac_fn_c_try_compile "$LINENO"; then :
3449 aros_error="yes"
3450 else
3451 aros_error="no"
3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
3455 $as_echo "$aros_error" >&6; }
3456 if test "x-$aros_error" = "x-yes" ; then
3457 aros_warnflags_error=-Werror
3458 aros_nowarnflags_error=-Wno-error
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wall" >&5
3462 $as_echo_n "checking whether ${CC} accepts -Wall... " >&6; }
3463 CFLAGS=-Wall
3464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465 /* end confdefs.h. */
3468 main ()
3472 return 0;
3474 _ACEOF
3475 if ac_fn_c_try_compile "$LINENO"; then :
3476 aros_all="yes"
3477 else
3478 aros_all="no"
3480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_all" >&5
3482 $as_echo "$aros_all" >&6; }
3483 if test "x-$aros_all" = "x-yes" ; then
3484 aros_warnflags_all=-Wall
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wrestrict" >&5
3488 $as_echo_n "checking whether ${CC} accepts -Wrestrict... " >&6; }
3489 CFLAGS=-Wrestrict
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3494 main ()
3498 return 0;
3500 _ACEOF
3501 if ac_fn_c_try_compile "$LINENO"; then :
3502 aros_restrict="yes"
3503 else
3504 aros_restrict="no"
3506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_restrict" >&5
3508 $as_echo "$aros_restrict" >&6; }
3509 if test "x-$aros_restrict" = "x-yes" ; then
3510 aros_warnflags_restrict=-Wrestrict
3511 aros_nowarnflags_restrict=-Wno-restrict
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3515 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3516 CFLAGS=-Wunused-command-line-argument
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3521 main ()
3525 return 0;
3527 _ACEOF
3528 if ac_fn_c_try_compile "$LINENO"; then :
3529 aros_unused_command_line_argument="yes"
3530 else
3531 aros_unused_command_line_argument="no"
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3535 $as_echo "$aros_unused_command_line_argument" >&6; }
3536 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3537 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3538 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3542 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3543 CFLAGS=-Wunknown-warning-option
3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3548 main ()
3552 return 0;
3554 _ACEOF
3555 if ac_fn_c_try_compile "$LINENO"; then :
3556 aros_unknown_warning_option="yes"
3557 else
3558 aros_unknown_warning_option="no"
3560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3562 $as_echo "$aros_unknown_warning_option" >&6; }
3563 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3564 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3565 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3569 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3570 CFLAGS=-Wunused-but-set-variable
3571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3572 /* end confdefs.h. */
3575 main ()
3579 return 0;
3581 _ACEOF
3582 if ac_fn_c_try_compile "$LINENO"; then :
3583 aros_unused_but_set_variable="yes"
3584 else
3585 aros_unused_but_set_variable="no"
3587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3589 $as_echo "$aros_unused_but_set_variable" >&6; }
3590 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3591 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3592 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3596 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3597 CFLAGS=-Wstrict-aliasing
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3602 main ()
3606 return 0;
3608 _ACEOF
3609 if ac_fn_c_try_compile "$LINENO"; then :
3610 aros_strict_aliasing="yes"
3611 else
3612 aros_strict_aliasing="no"
3614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3616 $as_echo "$aros_strict_aliasing" >&6; }
3617 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3618 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3619 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3623 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3624 CFLAGS=-Warray-bounds
3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3626 /* end confdefs.h. */
3629 main ()
3633 return 0;
3635 _ACEOF
3636 if ac_fn_c_try_compile "$LINENO"; then :
3637 aros_array_bounds="yes"
3638 else
3639 aros_array_bounds="no"
3641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3643 $as_echo "$aros_array_bounds" >&6; }
3644 if test "x-$aros_array_bounds" = "x-yes" ; then
3645 aros_warnflags_array_bounds=-Warray-bounds
3646 aros_nowarnflags_array_bounds=-Wno-array-bounds
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3650 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3651 CFLAGS=-Wenum-compare
3652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3653 /* end confdefs.h. */
3656 main ()
3660 return 0;
3662 _ACEOF
3663 if ac_fn_c_try_compile "$LINENO"; then :
3664 aros_enum_compare="yes"
3665 else
3666 aros_enum_compare="no"
3668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3670 $as_echo "$aros_enum_compare" >&6; }
3671 if test "x-$aros_enum_compare" = "x-yes" ; then
3672 aros_warnflags_enum_compare=-Wenum-compare
3673 aros_nowarnflags_enum_compare=-Wno-enum-compare
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3677 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3678 CFLAGS=-Wstrict-prototypes
3679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3680 /* end confdefs.h. */
3683 main ()
3687 return 0;
3689 _ACEOF
3690 if ac_fn_c_try_compile "$LINENO"; then :
3691 aros_strict_prototypes="yes"
3692 else
3693 aros_strict_prototypes="no"
3695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3697 $as_echo "$aros_strict_prototypes" >&6; }
3698 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3699 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3700 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3704 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3705 CFLAGS=-Wstrict-overflow
3706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707 /* end confdefs.h. */
3710 main ()
3714 return 0;
3716 _ACEOF
3717 if ac_fn_c_try_compile "$LINENO"; then :
3718 aros_strict_overflow="yes"
3719 else
3720 aros_strict_overflow="no"
3722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3724 $as_echo "$aros_strict_overflow" >&6; }
3725 if test "x-$aros_strict_overflow" = "x-yes" ; then
3726 aros_warnflags_strict_overflow=-Wstrict-overflow
3727 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3731 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3732 CFLAGS=-Wformat-security
3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3734 /* end confdefs.h. */
3737 main ()
3741 return 0;
3743 _ACEOF
3744 if ac_fn_c_try_compile "$LINENO"; then :
3745 aros_format_security="yes"
3746 else
3747 aros_format_security="no"
3749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3751 $as_echo "$aros_format_security" >&6; }
3752 if test "x-$aros_format_security" = "x-yes" ; then
3753 aros_warnflags_format_security=-Wformat-security
3754 aros_nowarnflags_format_security=-Wno-format-security
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3758 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3759 CFLAGS=-Wmisleading-indentation
3760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3761 /* end confdefs.h. */
3764 main ()
3768 return 0;
3770 _ACEOF
3771 if ac_fn_c_try_compile "$LINENO"; then :
3772 aros_misleading_indentation="yes"
3773 else
3774 aros_misleading_indentation="no"
3776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3778 $as_echo "$aros_misleading_indentation" >&6; }
3779 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3780 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3781 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3785 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3786 CFLAGS=-Wnonnull-compare
3787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3788 /* end confdefs.h. */
3791 main ()
3795 return 0;
3797 _ACEOF
3798 if ac_fn_c_try_compile "$LINENO"; then :
3799 aros_nonnull_compare="yes"
3800 else
3801 aros_nonnull_compare="no"
3803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3805 $as_echo "$aros_nonnull_compare" >&6; }
3806 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3807 aros_warnflags_nonnull_compare=-Wnonnull-compare
3808 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3812 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3813 CFLAGS=-Wunused
3814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815 /* end confdefs.h. */
3818 main ()
3822 return 0;
3824 _ACEOF
3825 if ac_fn_c_try_compile "$LINENO"; then :
3826 aros_unused="yes"
3827 else
3828 aros_unused="no"
3830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3832 $as_echo "$aros_unused" >&6; }
3833 if test "x-$aros_unused" = "x-yes" ; then
3834 aros_warnflags_unused=-Wunused
3835 aros_nowarnflags_unused=-Wno-unused
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
3839 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
3840 CFLAGS=-Wunused-label
3841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3842 /* end confdefs.h. */
3845 main ()
3849 return 0;
3851 _ACEOF
3852 if ac_fn_c_try_compile "$LINENO"; then :
3853 aros_unused_label="yes"
3854 else
3855 aros_unused_label="no"
3857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
3859 $as_echo "$aros_unused_label" >&6; }
3860 if test "x-$aros_unused_label" = "x-yes" ; then
3861 aros_warnflags_unused_label=-Wunused-label
3862 aros_nowarnflags_unused_label=-Wno-unused-label
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3866 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3867 CFLAGS=-Wunused-value
3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3872 main ()
3876 return 0;
3878 _ACEOF
3879 if ac_fn_c_try_compile "$LINENO"; then :
3880 aros_unused_value="yes"
3881 else
3882 aros_unused_value="no"
3884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3886 $as_echo "$aros_unused_value" >&6; }
3887 if test "x-$aros_unused_value" = "x-yes" ; then
3888 aros_warnflags_unused_value=-Wunused-value
3889 aros_nowarnflags_unused_value=-Wno-unused-value
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3893 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3894 CFLAGS=-Wunused-variable
3895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3896 /* end confdefs.h. */
3899 main ()
3903 return 0;
3905 _ACEOF
3906 if ac_fn_c_try_compile "$LINENO"; then :
3907 aros_unused_variable="yes"
3908 else
3909 aros_unused_variable="no"
3911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3913 $as_echo "$aros_unused_variable" >&6; }
3914 if test "x-$aros_unused_variable" = "x-yes" ; then
3915 aros_warnflags_unused_variable=-Wunused-variable
3916 aros_nowarnflags_unused_variable=-Wno-unused-variable
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3920 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3921 CFLAGS=-Wunused-function
3922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h. */
3926 main ()
3930 return 0;
3932 _ACEOF
3933 if ac_fn_c_try_compile "$LINENO"; then :
3934 aros_unused_function="yes"
3935 else
3936 aros_unused_function="no"
3938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3940 $as_echo "$aros_unused_function" >&6; }
3941 if test "x-$aros_unused_function" = "x-yes" ; then
3942 aros_warnflags_unused_function=-Wunused-function
3943 aros_nowarnflags_unused_function=-Wno-unused-function
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3947 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3948 CFLAGS=-Wunused-parameter
3949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3950 /* end confdefs.h. */
3953 main ()
3957 return 0;
3959 _ACEOF
3960 if ac_fn_c_try_compile "$LINENO"; then :
3961 aros_unused_parameter="yes"
3962 else
3963 aros_unused_parameter="no"
3965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3967 $as_echo "$aros_unused_parameter" >&6; }
3968 if test "x-$aros_unused_parameter" = "x-yes" ; then
3969 aros_warnflags_unused_parameter=-Wunused-parameter
3970 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3974 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3975 CFLAGS=-Wuninitialized
3976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3977 /* end confdefs.h. */
3980 main ()
3984 return 0;
3986 _ACEOF
3987 if ac_fn_c_try_compile "$LINENO"; then :
3988 aros_uninitialized="yes"
3989 else
3990 aros_uninitialized="no"
3992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3994 $as_echo "$aros_uninitialized" >&6; }
3995 if test "x-$aros_uninitialized" = "x-yes" ; then
3996 aros_warnflags_uninitialized=-Wuninitialized
3997 aros_nowarnflags_uninitialized=-Wno-uninitialized
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
4001 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
4002 CFLAGS=-Wmaybe-uninitialized
4003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4004 /* end confdefs.h. */
4007 main ()
4011 return 0;
4013 _ACEOF
4014 if ac_fn_c_try_compile "$LINENO"; then :
4015 aros_maybe_uninitialized="yes"
4016 else
4017 aros_maybe_uninitialized="no"
4019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
4021 $as_echo "$aros_maybe_uninitialized" >&6; }
4022 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
4023 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
4024 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
4025 else
4026 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
4027 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
4031 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
4032 CFLAGS=-Wimplicit-function-declaration
4033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4034 /* end confdefs.h. */
4037 main ()
4041 return 0;
4043 _ACEOF
4044 if ac_fn_c_try_compile "$LINENO"; then :
4045 aros_implicit_function_declaration="yes"
4046 else
4047 aros_implicit_function_declaration="no"
4049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
4051 $as_echo "$aros_implicit_function_declaration" >&6; }
4052 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
4053 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
4054 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
4058 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
4059 CFLAGS=-Wformat
4060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4061 /* end confdefs.h. */
4064 main ()
4068 return 0;
4070 _ACEOF
4071 if ac_fn_c_try_compile "$LINENO"; then :
4072 aros_format="yes"
4073 else
4074 aros_format="no"
4076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
4078 $as_echo "$aros_format" >&6; }
4079 if test "x-$aros_format" = "x-yes" ; then
4080 aros_warnflags_format=-Wformat
4081 aros_nowarnflags_format=-Wno-format
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
4085 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
4086 CFLAGS=-Wparentheses
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4091 main ()
4095 return 0;
4097 _ACEOF
4098 if ac_fn_c_try_compile "$LINENO"; then :
4099 aros_parentheses="yes"
4100 else
4101 aros_parentheses="no"
4103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
4105 $as_echo "$aros_parentheses" >&6; }
4106 if test "x-$aros_parentheses" = "x-yes" ; then
4107 aros_warnflags_parentheses=-Wparentheses
4108 aros_nowarnflags_parentheses=-Wno-parentheses
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
4112 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
4113 CFLAGS=-Wchar-subscripts
4114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115 /* end confdefs.h. */
4118 main ()
4122 return 0;
4124 _ACEOF
4125 if ac_fn_c_try_compile "$LINENO"; then :
4126 aros_char_subscripts="yes"
4127 else
4128 aros_char_subscripts="no"
4130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
4132 $as_echo "$aros_char_subscripts" >&6; }
4133 if test "x-$aros_char_subscripts" = "x-yes" ; then
4134 aros_warnflags_char_subscripts=-Wchar-subscripts
4135 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
4139 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
4140 CFLAGS=-Wendif-labels
4141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4145 main ()
4149 return 0;
4151 _ACEOF
4152 if ac_fn_c_try_compile "$LINENO"; then :
4153 aros_endif_labels="yes"
4154 else
4155 aros_endif_labels="no"
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
4159 $as_echo "$aros_endif_labels" >&6; }
4160 if test "x-$aros_endif_labels" = "x-yes" ; then
4161 aros_warnflags_endif_labels=-Wendif-labels
4162 aros_nowarnflags_endif_labels=-Wno-endif-labels
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
4166 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
4167 CFLAGS=-Wformat-contains-nul
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4172 main ()
4176 return 0;
4178 _ACEOF
4179 if ac_fn_c_try_compile "$LINENO"; then :
4180 aros_format_contains_nul="yes"
4181 else
4182 aros_format_contains_nul="no"
4184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
4186 $as_echo "$aros_format_contains_nul" >&6; }
4187 if test "x-$aros_format_contains_nul" = "x-yes" ; then
4188 aros_warnflags_format_contains_nul=-Wformat-contains-nul
4189 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
4193 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
4194 CFLAGS=-Wimplicit-int
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4199 main ()
4203 return 0;
4205 _ACEOF
4206 if ac_fn_c_try_compile "$LINENO"; then :
4207 aros_implicit_int="yes"
4208 else
4209 aros_implicit_int="no"
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
4213 $as_echo "$aros_implicit_int" >&6; }
4214 if test "x-$aros_implicit_int" = "x-yes" ; then
4215 aros_warnflags_implicit_int=-Wimplicit-int
4216 aros_nowarnflags_implicit_int=-Wno-implicit-int
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
4220 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
4221 CFLAGS=-Waggressive-loop-optimizations
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4226 main ()
4230 return 0;
4232 _ACEOF
4233 if ac_fn_c_try_compile "$LINENO"; then :
4234 aros_aggressive_loop_optimizations="yes"
4235 else
4236 aros_aggressive_loop_optimizations="no"
4238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
4240 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
4241 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
4242 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
4243 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
4247 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
4248 CFLAGS=-Wcpp
4249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4250 /* end confdefs.h. */
4253 main ()
4257 return 0;
4259 _ACEOF
4260 if ac_fn_c_try_compile "$LINENO"; then :
4261 aros_cpp="yes"
4262 else
4263 aros_cpp="no"
4265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
4267 $as_echo "$aros_cpp" >&6; }
4268 if test "x-$aros_cpp" = "x-yes" ; then
4269 aros_warnflags_cpp=-Wcpp
4270 aros_nowarnflags_cpp=-Wno-cpp
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
4274 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
4275 CFLAGS=-Wswitch
4276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4280 main ()
4284 return 0;
4286 _ACEOF
4287 if ac_fn_c_try_compile "$LINENO"; then :
4288 aros_switch="yes"
4289 else
4290 aros_switch="no"
4292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
4294 $as_echo "$aros_switch" >&6; }
4295 if test "x-$aros_switch" = "x-yes" ; then
4296 aros_warnflags_switch=-Wswitch
4297 aros_nowarnflags_switch=-Wno-switch
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
4301 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
4302 CFLAGS=-Wdiscarded-qualifiers
4303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4304 /* end confdefs.h. */
4307 main ()
4311 return 0;
4313 _ACEOF
4314 if ac_fn_c_try_compile "$LINENO"; then :
4315 aros_discarded_qualifiers="yes"
4316 else
4317 aros_discarded_qualifiers="no"
4319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
4321 $as_echo "$aros_discarded_qualifiers" >&6; }
4322 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
4323 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
4324 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
4328 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
4329 CFLAGS=-Wsequence-point
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4334 main ()
4338 return 0;
4340 _ACEOF
4341 if ac_fn_c_try_compile "$LINENO"; then :
4342 aros_sequence_point="yes"
4343 else
4344 aros_sequence_point="no"
4346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
4348 $as_echo "$aros_sequence_point" >&6; }
4349 if test "x-$aros_sequence_point" = "x-yes" ; then
4350 aros_warnflags_sequence_point=-Wsequence-point
4351 aros_nowarnflags_sequence_point=-Wno-sequence-point
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
4355 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
4356 CFLAGS=-Wunknown-pragmas
4357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4358 /* end confdefs.h. */
4361 main ()
4365 return 0;
4367 _ACEOF
4368 if ac_fn_c_try_compile "$LINENO"; then :
4369 aros_unknown_pragmas="yes"
4370 else
4371 aros_unknown_pragmas="no"
4373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
4375 $as_echo "$aros_unknown_pragmas" >&6; }
4376 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
4377 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
4378 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
4382 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
4383 CFLAGS=-Wdiscarded-array-qualifiers
4384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4385 /* end confdefs.h. */
4388 main ()
4392 return 0;
4394 _ACEOF
4395 if ac_fn_c_try_compile "$LINENO"; then :
4396 aros_discarded_array_qualifiers="yes"
4397 else
4398 aros_discarded_array_qualifiers="no"
4400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
4402 $as_echo "$aros_discarded_array_qualifiers" >&6; }
4403 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
4404 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
4405 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4409 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4410 CFLAGS=-Wint-conversion
4411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4412 /* end confdefs.h. */
4415 main ()
4419 return 0;
4421 _ACEOF
4422 if ac_fn_c_try_compile "$LINENO"; then :
4423 aros_int_conversion="yes"
4424 else
4425 aros_int_conversion="no"
4427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4429 $as_echo "$aros_int_conversion" >&6; }
4430 if test "x-$aros_int_conversion" = "x-yes" ; then
4431 aros_warnflags_int_conversion=-Wint-conversion
4432 aros_nowarnflags_int_conversion=-Wno-int-conversion
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
4436 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
4437 CFLAGS=-Wint-to-pointer-cast
4438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4439 /* end confdefs.h. */
4442 main ()
4446 return 0;
4448 _ACEOF
4449 if ac_fn_c_try_compile "$LINENO"; then :
4450 aros_int_to_pointer_cast="yes"
4451 else
4452 aros_int_to_pointer_cast="no"
4454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
4456 $as_echo "$aros_int_to_pointer_cast" >&6; }
4457 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
4458 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
4459 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
4463 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
4464 CFLAGS=-Wpointer-to-int-cast
4465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4466 /* end confdefs.h. */
4469 main ()
4473 return 0;
4475 _ACEOF
4476 if ac_fn_c_try_compile "$LINENO"; then :
4477 aros_pointer_to_int_cast="yes"
4478 else
4479 aros_pointer_to_int_cast="no"
4481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
4483 $as_echo "$aros_pointer_to_int_cast" >&6; }
4484 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
4485 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
4486 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
4490 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
4491 CFLAGS=-Wunused-const-variable
4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4496 main ()
4500 return 0;
4502 _ACEOF
4503 if ac_fn_c_try_compile "$LINENO"; then :
4504 aros_unused_const_variable="yes"
4505 else
4506 aros_unused_const_variable="no"
4508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
4510 $as_echo "$aros_unused_const_variable" >&6; }
4511 if test "x-$aros_unused_const_variable" = "x-yes" ; then
4512 aros_warnflags_unused_const_variable=-Wunused-const-variable
4513 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
4517 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
4518 CFLAGS=-Wwrite-strings
4519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4520 /* end confdefs.h. */
4523 main ()
4527 return 0;
4529 _ACEOF
4530 if ac_fn_c_try_compile "$LINENO"; then :
4531 aros_write_strings="yes"
4532 else
4533 aros_write_strings="no"
4535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4537 $as_echo "$aros_write_strings" >&6; }
4538 if test "x-$aros_write_strings" = "x-yes" ; then
4539 aros_warnflags_write_strings=-Wwrite-strings
4540 aros_nowarnflags_write_strings=-Wno-write-strings
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4544 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4545 CFLAGS=-Wcomment
4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4550 main ()
4554 return 0;
4556 _ACEOF
4557 if ac_fn_c_try_compile "$LINENO"; then :
4558 aros_comment="yes"
4559 else
4560 aros_comment="no"
4562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4564 $as_echo "$aros_comment" >&6; }
4565 if test "x-$aros_comment" = "x-yes" ; then
4566 aros_warnflags_comment=-Wcomment
4567 aros_nowarnflags_comment=-Wno-comment
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4571 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4572 CFLAGS=-Wincompatible-pointer-types
4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4577 main ()
4581 return 0;
4583 _ACEOF
4584 if ac_fn_c_try_compile "$LINENO"; then :
4585 aros_incompatible_pointer_types="yes"
4586 else
4587 aros_incompatible_pointer_types="no"
4589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4591 $as_echo "$aros_incompatible_pointer_types" >&6; }
4592 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4593 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4594 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4598 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4599 CFLAGS=-Wbool-compare
4600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4601 /* end confdefs.h. */
4604 main ()
4608 return 0;
4610 _ACEOF
4611 if ac_fn_c_try_compile "$LINENO"; then :
4612 aros_bool_compare="yes"
4613 else
4614 aros_bool_compare="no"
4616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4618 $as_echo "$aros_bool_compare" >&6; }
4619 if test "x-$aros_bool_compare" = "x-yes" ; then
4620 aros_warnflags_bool_compare=-Wbool-compare
4621 aros_nowarnflags_bool_compare=-Wno-bool-compare
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4625 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4626 CFLAGS=-Wlogical-not-parentheses
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4631 main ()
4635 return 0;
4637 _ACEOF
4638 if ac_fn_c_try_compile "$LINENO"; then :
4639 aros_logical_not_parentheses="yes"
4640 else
4641 aros_logical_not_parentheses="no"
4643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4645 $as_echo "$aros_logical_not_parentheses" >&6; }
4646 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4647 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4648 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4652 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4653 CFLAGS=-Wpointer-sign
4654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4658 main ()
4662 return 0;
4664 _ACEOF
4665 if ac_fn_c_try_compile "$LINENO"; then :
4666 aros_pointer_sign="yes"
4667 else
4668 aros_pointer_sign="no"
4670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4672 $as_echo "$aros_pointer_sign" >&6; }
4673 if test "x-$aros_pointer_sign" = "x-yes" ; then
4674 aros_warnflags_pointer_sign=-Wpointer-sign
4675 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4679 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4680 CFLAGS=-Wshift-overflow
4681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4682 /* end confdefs.h. */
4685 main ()
4689 return 0;
4691 _ACEOF
4692 if ac_fn_c_try_compile "$LINENO"; then :
4693 aros_shift_overflow="yes"
4694 else
4695 aros_shift_overflow="no"
4697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4699 $as_echo "$aros_shift_overflow" >&6; }
4700 if test "x-$aros_shift_overflow" = "x-yes" ; then
4701 aros_warnflags_shift_overflow=-Wshift-overflow
4702 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4706 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4707 CFLAGS=-Wframe-address
4708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h. */
4712 main ()
4716 return 0;
4718 _ACEOF
4719 if ac_fn_c_try_compile "$LINENO"; then :
4720 aros_frame_address="yes"
4721 else
4722 aros_frame_address="no"
4724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4726 $as_echo "$aros_frame_address" >&6; }
4727 if test "x-$aros_frame_address" = "x-yes" ; then
4728 aros_warnflags_frame_address=-Wframe-address
4729 aros_nowarnflags_frame_address=-Wno-frame-address
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4733 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4734 CFLAGS=-Wdeprecated-declarations
4735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4736 /* end confdefs.h. */
4739 main ()
4743 return 0;
4745 _ACEOF
4746 if ac_fn_c_try_compile "$LINENO"; then :
4747 aros_deprecated_declarations="yes"
4748 else
4749 aros_deprecated_declarations="no"
4751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4753 $as_echo "$aros_deprecated_declarations" >&6; }
4754 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4755 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4756 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4760 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4761 CFLAGS=-Wsign-compare
4762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4763 /* end confdefs.h. */
4766 main ()
4770 return 0;
4772 _ACEOF
4773 if ac_fn_c_try_compile "$LINENO"; then :
4774 aros_sign_compare="yes"
4775 else
4776 aros_sign_compare="no"
4778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4780 $as_echo "$aros_sign_compare" >&6; }
4781 if test "x-$aros_sign_compare" = "x-yes" ; then
4782 aros_warnflags_sign_compare=-Wsign-compare
4783 aros_nowarnflags_sign_compare=-Wno-sign-compare
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4787 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4788 CFLAGS=-Wattributes
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4793 main ()
4797 return 0;
4799 _ACEOF
4800 if ac_fn_c_try_compile "$LINENO"; then :
4801 aros_attributes="yes"
4802 else
4803 aros_attributes="no"
4805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4807 $as_echo "$aros_attributes" >&6; }
4808 if test "x-$aros_attributes" = "x-yes" ; then
4809 aros_warnflags_attributes=-Wattributes
4810 aros_nowarnflags_attributes=-Wno-attributes
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4814 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4815 CFLAGS=-Woverflow
4816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4817 /* end confdefs.h. */
4820 main ()
4824 return 0;
4826 _ACEOF
4827 if ac_fn_c_try_compile "$LINENO"; then :
4828 aros_overflow="yes"
4829 else
4830 aros_overflow="no"
4832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4834 $as_echo "$aros_overflow" >&6; }
4835 if test "x-$aros_overflow" = "x-yes" ; then
4836 aros_warnflags_overflow=-Woverflow
4837 aros_nowarnflags_overflow=-Wno-overflow
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4841 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4842 CFLAGS=-Wunused-local-typedefs
4843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4844 /* end confdefs.h. */
4847 main ()
4851 return 0;
4853 _ACEOF
4854 if ac_fn_c_try_compile "$LINENO"; then :
4855 aros_unused_local_typedefs="yes"
4856 else
4857 aros_unused_local_typedefs="no"
4859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4861 $as_echo "$aros_unused_local_typedefs" >&6; }
4862 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4863 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4864 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4868 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4869 CFLAGS=-Wmissing-braces
4870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4871 /* end confdefs.h. */
4874 main ()
4878 return 0;
4880 _ACEOF
4881 if ac_fn_c_try_compile "$LINENO"; then :
4882 aros_missing_braces="yes"
4883 else
4884 aros_missing_braces="no"
4886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4888 $as_echo "$aros_missing_braces" >&6; }
4889 if test "x-$aros_missing_braces" = "x-yes" ; then
4890 aros_warnflags_missing_braces=-Wmissing-braces
4891 aros_nowarnflags_missing_braces=-Wno-missing-braces
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4895 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4896 CFLAGS=-Wconversion-null
4897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4898 /* end confdefs.h. */
4901 main ()
4905 return 0;
4907 _ACEOF
4908 if ac_fn_c_try_compile "$LINENO"; then :
4909 aros_conversion_null="yes"
4910 else
4911 aros_conversion_null="no"
4913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4915 $as_echo "$aros_conversion_null" >&6; }
4916 if test "x-$aros_conversion_null" = "x-yes" ; then
4917 aros_warnflags_conversion_null=-Wconversion-null
4918 aros_nowarnflags_conversion_null=-Wno-conversion-null
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4922 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4923 CFLAGS=-Wnarrowing
4924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4925 /* end confdefs.h. */
4928 main ()
4932 return 0;
4934 _ACEOF
4935 if ac_fn_c_try_compile "$LINENO"; then :
4936 aros_narrowing="yes"
4937 else
4938 aros_narrowing="no"
4940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4942 $as_echo "$aros_narrowing" >&6; }
4943 if test "x-$aros_narrowing" = "x-yes" ; then
4944 aros_warnflags_narrowing=-Wnarrowing
4945 aros_nowarnflags_narrowing=-Wno-narrowing
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4949 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4950 CFLAGS=-Wvolatile-register-var
4951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4952 /* end confdefs.h. */
4955 main ()
4959 return 0;
4961 _ACEOF
4962 if ac_fn_c_try_compile "$LINENO"; then :
4963 aros_volatile_register_var="yes"
4964 else
4965 aros_volatile_register_var="no"
4967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4969 $as_echo "$aros_volatile_register_var" >&6; }
4970 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4971 aros_warnflags_volatile_register_var=-Wvolatile-register-var
4972 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4976 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4977 CFLAGS=-Wsizeof-pointer-memaccess
4978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h. */
4982 main ()
4986 return 0;
4988 _ACEOF
4989 if ac_fn_c_try_compile "$LINENO"; then :
4990 aros_sizeof_pointer_memaccess="yes"
4991 else
4992 aros_sizeof_pointer_memaccess="no"
4994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4996 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4997 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4998 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
4999 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
5003 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
5004 CFLAGS=-Wreturn-type
5005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5006 /* end confdefs.h. */
5009 main ()
5013 return 0;
5015 _ACEOF
5016 if ac_fn_c_try_compile "$LINENO"; then :
5017 aros_return_type="yes"
5018 else
5019 aros_return_type="no"
5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
5023 $as_echo "$aros_return_type" >&6; }
5024 if test "x-$aros_return_type" = "x-yes" ; then
5025 aros_warnflags_return_type=-Wreturn-type
5026 aros_nowarnflags_return_type=-Wno-return-type
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
5030 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
5031 CFLAGS=-Wformat-zero-length
5032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5033 /* end confdefs.h. */
5036 main ()
5040 return 0;
5042 _ACEOF
5043 if ac_fn_c_try_compile "$LINENO"; then :
5044 aros_format_zero_length="yes"
5045 else
5046 aros_format_zero_length="no"
5048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
5050 $as_echo "$aros_format_zero_length" >&6; }
5051 if test "x-$aros_format_zero_length" = "x-yes" ; then
5052 aros_warnflags_format_zero_length=-Wformat-zero-length
5053 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
5057 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
5058 CFLAGS=-Wlto-type-mismatch
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5063 main ()
5067 return 0;
5069 _ACEOF
5070 if ac_fn_c_try_compile "$LINENO"; then :
5071 aros_lto_type_mismatch="yes"
5072 else
5073 aros_lto_type_mismatch="no"
5075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
5077 $as_echo "$aros_lto_type_mismatch" >&6; }
5078 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
5079 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
5080 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
5084 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
5085 CFLAGS=-Wtautological-compare
5086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5087 /* end confdefs.h. */
5090 main ()
5094 return 0;
5096 _ACEOF
5097 if ac_fn_c_try_compile "$LINENO"; then :
5098 aros_tautological_compare="yes"
5099 else
5100 aros_tautological_compare="no"
5102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
5104 $as_echo "$aros_tautological_compare" >&6; }
5105 if test "x-$aros_tautological_compare" = "x-yes" ; then
5106 aros_warnflags_tautological_compare=-Wtautological-compare
5107 aros_nowarnflags_tautological_compare=-Wno-tautological-compare
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
5111 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
5112 CFLAGS=-Wempty-body
5113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5114 /* end confdefs.h. */
5117 main ()
5121 return 0;
5123 _ACEOF
5124 if ac_fn_c_try_compile "$LINENO"; then :
5125 aros_empty_body="yes"
5126 else
5127 aros_empty_body="no"
5129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
5131 $as_echo "$aros_empty_body" >&6; }
5132 if test "x-$aros_empty_body" = "x-yes" ; then
5133 aros_warnflags_empty_body=-Wempty-body
5134 aros_nowarnflags_empty_body=-Wno-empty-body
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-overflow" >&5
5138 $as_echo_n "checking whether ${CC} accepts -Wformat-overflow... " >&6; }
5139 CFLAGS=-Wformat-overflow
5140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5141 /* end confdefs.h. */
5144 main ()
5148 return 0;
5150 _ACEOF
5151 if ac_fn_c_try_compile "$LINENO"; then :
5152 aros_format_overflow="yes"
5153 else
5154 aros_format_overflow="no"
5156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_overflow" >&5
5158 $as_echo "$aros_format_overflow" >&6; }
5159 if test "x-$aros_format_overflow" = "x-yes" ; then
5160 aros_warnflags_format_overflow=-Wformat-overflow
5161 aros_nowarnflags_format_overflow=-Wno-format-overflow
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-overflow" >&5
5165 $as_echo_n "checking whether ${CC} accepts -Wstringop-overflow... " >&6; }
5166 CFLAGS=-Wstringop-overflow
5167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5168 /* end confdefs.h. */
5171 main ()
5175 return 0;
5177 _ACEOF
5178 if ac_fn_c_try_compile "$LINENO"; then :
5179 aros_stringop_overflow="yes"
5180 else
5181 aros_stringop_overflow="no"
5183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_overflow" >&5
5185 $as_echo "$aros_stringop_overflow" >&6; }
5186 if test "x-$aros_stringop_overflow" = "x-yes" ; then
5187 aros_warnflags_stringop_overflow=-Wstringop-overflow
5188 aros_nowarnflags_stringop_overflow=-Wno-stringop-overflow
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-truncation" >&5
5192 $as_echo_n "checking whether ${CC} accepts -Wformat-truncation... " >&6; }
5193 CFLAGS=-Wformat-truncation
5194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5195 /* end confdefs.h. */
5198 main ()
5202 return 0;
5204 _ACEOF
5205 if ac_fn_c_try_compile "$LINENO"; then :
5206 aros_format_truncation="yes"
5207 else
5208 aros_format_truncation="no"
5210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_truncation" >&5
5212 $as_echo "$aros_format_truncation" >&6; }
5213 if test "x-$aros_format_truncation" = "x-yes" ; then
5214 aros_warnflags_format_truncation=-Wformat-truncation
5215 aros_nowarnflags_format_truncation=-Wno-format-truncation
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-truncation" >&5
5219 $as_echo_n "checking whether ${CC} accepts -Wstringop-truncation... " >&6; }
5220 CFLAGS=-Wstringop-truncation
5221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5222 /* end confdefs.h. */
5225 main ()
5229 return 0;
5231 _ACEOF
5232 if ac_fn_c_try_compile "$LINENO"; then :
5233 aros_stringop_truncation="yes"
5234 else
5235 aros_stringop_truncation="no"
5237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_truncation" >&5
5239 $as_echo "$aros_stringop_truncation" >&6; }
5240 if test "x-$aros_stringop_truncation" = "x-yes" ; then
5241 aros_warnflags_stringop_truncation=-Wstringop-truncation
5242 aros_nowarnflags_stringop_truncation=-Wno-stringop-truncation
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-negative-value" >&5
5246 $as_echo_n "checking whether ${CC} accepts -Wshift-negative-value... " >&6; }
5247 CFLAGS=-Wshift-negative-value
5248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5249 /* end confdefs.h. */
5252 main ()
5256 return 0;
5258 _ACEOF
5259 if ac_fn_c_try_compile "$LINENO"; then :
5260 aros_shift_negative_value="yes"
5261 else
5262 aros_shift_negative_value="no"
5264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_negative_value" >&5
5266 $as_echo "$aros_shift_negative_value" >&6; }
5267 if test "x-$aros_shift_negative_value" = "x-yes" ; then
5268 aros_warnflags_shift_negative_value=-Wshift-negative-value
5269 aros_nowarnflags_shift_negative_value=-Wno-shift-negative-value
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-field-initializers" >&5
5273 $as_echo_n "checking whether ${CC} accepts -Wmissing-field-initializers... " >&6; }
5274 CFLAGS=-Wmissing-field-initializers
5275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5276 /* end confdefs.h. */
5279 main ()
5283 return 0;
5285 _ACEOF
5286 if ac_fn_c_try_compile "$LINENO"; then :
5287 aros_missing_field_initializers="yes"
5288 else
5289 aros_missing_field_initializers="no"
5291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_field_initializers" >&5
5293 $as_echo "$aros_missing_field_initializers" >&6; }
5294 if test "x-$aros_missing_field_initializers" = "x-yes" ; then
5295 aros_warnflags_missing_field_initializers=-Wmissing-field-initializers
5296 aros_nowarnflags_missing_field_initializers=-Wno-missing-field-initializers
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-fallthrough" >&5
5300 $as_echo_n "checking whether ${CC} accepts -Wimplicit-fallthrough... " >&6; }
5301 CFLAGS=-Wimplicit-fallthrough
5302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h. */
5306 main ()
5310 return 0;
5312 _ACEOF
5313 if ac_fn_c_try_compile "$LINENO"; then :
5314 aros_implicit_fallthrough="yes"
5315 else
5316 aros_implicit_fallthrough="no"
5318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_fallthrough" >&5
5320 $as_echo "$aros_implicit_fallthrough" >&6; }
5321 if test "x-$aros_implicit_fallthrough" = "x-yes" ; then
5322 aros_warnflags_implicit_fallthrough=-Wimplicit-fallthrough
5323 aros_nowarnflags_implicit_fallthrough=-Wno-implicit-fallthrough
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-prototypes" >&5
5327 $as_echo_n "checking whether ${CC} accepts -Wmissing-prototypes... " >&6; }
5328 CFLAGS=-Wmissing-prototypes
5329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5333 main ()
5337 return 0;
5339 _ACEOF
5340 if ac_fn_c_try_compile "$LINENO"; then :
5341 aros_missing_prototypes="yes"
5342 else
5343 aros_missing_prototypes="no"
5345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_prototypes" >&5
5347 $as_echo "$aros_missing_prototypes" >&6; }
5348 if test "x-$aros_missing_prototypes" = "x-yes" ; then
5349 aros_warnflags_missing_prototypes=-Wmissing-prototypes
5350 aros_nowarnflags_missing_prototypes=-Wno-missing-prototypes
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wclass-memaccess" >&5
5354 $as_echo_n "checking whether ${CC} accepts -Wclass-memaccess... " >&6; }
5355 CFLAGS=-Wclass-memaccess
5356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5357 /* end confdefs.h. */
5360 main ()
5364 return 0;
5366 _ACEOF
5367 if ac_fn_c_try_compile "$LINENO"; then :
5368 aros_class_memaccess="yes"
5369 else
5370 aros_class_memaccess="no"
5372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_class_memaccess" >&5
5374 $as_echo "$aros_class_memaccess" >&6; }
5375 if test "x-$aros_class_memaccess" = "x-yes" ; then
5376 aros_warnflags_class_memaccess=-Wclass-memaccess
5377 aros_nowarnflags_class_memaccess=-Wno-class-memaccess
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-in-bool-context" >&5
5381 $as_echo_n "checking whether ${CC} accepts -Wint-in-bool-context... " >&6; }
5382 CFLAGS=-Wint-in-bool-context
5383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5384 /* end confdefs.h. */
5387 main ()
5391 return 0;
5393 _ACEOF
5394 if ac_fn_c_try_compile "$LINENO"; then :
5395 aros_int_in_bool_context="yes"
5396 else
5397 aros_int_in_bool_context="no"
5399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_in_bool_context" >&5
5401 $as_echo "$aros_int_in_bool_context" >&6; }
5402 if test "x-$aros_int_in_bool_context" = "x-yes" ; then
5403 aros_warnflags_int_in_bool_context=-Wint-in-bool-context
5404 aros_nowarnflags_int_in_bool_context=-Wno-int-in-bool-context
5408 # export the feature flags...
5449 # export the feature options...
5454 # ...and warning flags...
5602 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
5605 cat >confcache <<\_ACEOF
5606 # This file is a shell script that caches the results of configure
5607 # tests run on this system so they can be shared between configure
5608 # scripts and configure runs, see configure's option --config-cache.
5609 # It is not useful on other systems. If it contains results you don't
5610 # want to keep, you may remove or edit it.
5612 # config.status only pays attention to the cache file if you give it
5613 # the --recheck option to rerun configure.
5615 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5616 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5617 # following values.
5619 _ACEOF
5621 # The following way of writing the cache mishandles newlines in values,
5622 # but we know of no workaround that is simple, portable, and efficient.
5623 # So, we kill variables containing newlines.
5624 # Ultrix sh set writes to stderr and can't be redirected directly,
5625 # and sets the high bit in the cache file unless we assign to the vars.
5627 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5628 eval ac_val=\$$ac_var
5629 case $ac_val in #(
5630 *${as_nl}*)
5631 case $ac_var in #(
5632 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5633 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5634 esac
5635 case $ac_var in #(
5636 _ | IFS | as_nl) ;; #(
5637 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5638 *) { eval $ac_var=; unset $ac_var;} ;;
5639 esac ;;
5640 esac
5641 done
5643 (set) 2>&1 |
5644 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5645 *${as_nl}ac_space=\ *)
5646 # `set' does not quote correctly, so add quotes: double-quote
5647 # substitution turns \\\\ into \\, and sed turns \\ into \.
5648 sed -n \
5649 "s/'/'\\\\''/g;
5650 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5651 ;; #(
5653 # `set' quotes correctly as required by POSIX, so do not add quotes.
5654 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5656 esac |
5657 sort
5659 sed '
5660 /^ac_cv_env_/b end
5661 t clear
5662 :clear
5663 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5664 t end
5665 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5666 :end' >>confcache
5667 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5668 if test -w "$cache_file"; then
5669 if test "x$cache_file" != "x/dev/null"; then
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5671 $as_echo "$as_me: updating cache $cache_file" >&6;}
5672 if test ! -f "$cache_file" || test -h "$cache_file"; then
5673 cat confcache >"$cache_file"
5674 else
5675 case $cache_file in #(
5676 */* | ?:*)
5677 mv -f confcache "$cache_file"$$ &&
5678 mv -f "$cache_file"$$ "$cache_file" ;; #(
5680 mv -f confcache "$cache_file" ;;
5681 esac
5684 else
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5686 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5689 rm -f confcache
5691 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5692 # Let make expand exec_prefix.
5693 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5695 # Transform confdefs.h into DEFS.
5696 # Protect against shell expansion while executing Makefile rules.
5697 # Protect against Makefile macro expansion.
5699 # If the first sed substitution is executed (which looks for macros that
5700 # take arguments), then branch to the quote section. Otherwise,
5701 # look for a macro that doesn't take arguments.
5702 ac_script='
5703 :mline
5704 /\\$/{
5706 s,\\\n,,
5707 b mline
5709 t clear
5710 :clear
5711 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5712 t quote
5713 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5714 t quote
5715 b any
5716 :quote
5717 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5718 s/\[/\\&/g
5719 s/\]/\\&/g
5720 s/\$/$$/g
5722 :any
5725 s/^\n//
5726 s/\n/ /g
5730 DEFS=`sed -n "$ac_script" confdefs.h`
5733 ac_libobjs=
5734 ac_ltlibobjs=
5736 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5737 # 1. Remove the extension, and $U if already installed.
5738 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5739 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5740 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5741 # will be set to the directory where LIBOBJS objects are built.
5742 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5743 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5744 done
5745 LIBOBJS=$ac_libobjs
5747 LTLIBOBJS=$ac_ltlibobjs
5751 : "${CONFIG_STATUS=./config.status}"
5752 ac_write_fail=0
5753 ac_clean_files_save=$ac_clean_files
5754 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5756 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5757 as_write_fail=0
5758 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5759 #! $SHELL
5760 # Generated by $as_me.
5761 # Run this file to recreate the current configuration.
5762 # Compiler output produced by configure, useful for debugging
5763 # configure, is in config.log if it exists.
5765 debug=false
5766 ac_cs_recheck=false
5767 ac_cs_silent=false
5769 SHELL=\${CONFIG_SHELL-$SHELL}
5770 export SHELL
5771 _ASEOF
5772 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5773 ## -------------------- ##
5774 ## M4sh Initialization. ##
5775 ## -------------------- ##
5777 # Be more Bourne compatible
5778 DUALCASE=1; export DUALCASE # for MKS sh
5779 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5780 emulate sh
5781 NULLCMD=:
5782 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5783 # is contrary to our usage. Disable this feature.
5784 alias -g '${1+"$@"}'='"$@"'
5785 setopt NO_GLOB_SUBST
5786 else
5787 case `(set -o) 2>/dev/null` in #(
5788 *posix*) :
5789 set -o posix ;; #(
5790 *) :
5792 esac
5796 as_nl='
5798 export as_nl
5799 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5800 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5801 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5802 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5803 # Prefer a ksh shell builtin over an external printf program on Solaris,
5804 # but without wasting forks for bash or zsh.
5805 if test -z "$BASH_VERSION$ZSH_VERSION" \
5806 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5807 as_echo='print -r --'
5808 as_echo_n='print -rn --'
5809 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5810 as_echo='printf %s\n'
5811 as_echo_n='printf %s'
5812 else
5813 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5814 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5815 as_echo_n='/usr/ucb/echo -n'
5816 else
5817 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5818 as_echo_n_body='eval
5819 arg=$1;
5820 case $arg in #(
5821 *"$as_nl"*)
5822 expr "X$arg" : "X\\(.*\\)$as_nl";
5823 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5824 esac;
5825 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5827 export as_echo_n_body
5828 as_echo_n='sh -c $as_echo_n_body as_echo'
5830 export as_echo_body
5831 as_echo='sh -c $as_echo_body as_echo'
5834 # The user is always right.
5835 if test "${PATH_SEPARATOR+set}" != set; then
5836 PATH_SEPARATOR=:
5837 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5838 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5839 PATH_SEPARATOR=';'
5844 # IFS
5845 # We need space, tab and new line, in precisely that order. Quoting is
5846 # there to prevent editors from complaining about space-tab.
5847 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5848 # splitting by setting IFS to empty value.)
5849 IFS=" "" $as_nl"
5851 # Find who we are. Look in the path if we contain no directory separator.
5852 as_myself=
5853 case $0 in #((
5854 *[\\/]* ) as_myself=$0 ;;
5855 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5856 for as_dir in $PATH
5858 IFS=$as_save_IFS
5859 test -z "$as_dir" && as_dir=.
5860 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5861 done
5862 IFS=$as_save_IFS
5865 esac
5866 # We did not find ourselves, most probably we were run as `sh COMMAND'
5867 # in which case we are not to be found in the path.
5868 if test "x$as_myself" = x; then
5869 as_myself=$0
5871 if test ! -f "$as_myself"; then
5872 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5873 exit 1
5876 # Unset variables that we do not need and which cause bugs (e.g. in
5877 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5878 # suppresses any "Segmentation fault" message there. '((' could
5879 # trigger a bug in pdksh 5.2.14.
5880 for as_var in BASH_ENV ENV MAIL MAILPATH
5881 do eval test x\${$as_var+set} = xset \
5882 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5883 done
5884 PS1='$ '
5885 PS2='> '
5886 PS4='+ '
5888 # NLS nuisances.
5889 LC_ALL=C
5890 export LC_ALL
5891 LANGUAGE=C
5892 export LANGUAGE
5894 # CDPATH.
5895 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5898 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5899 # ----------------------------------------
5900 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5901 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5902 # script with STATUS, using 1 if that was 0.
5903 as_fn_error ()
5905 as_status=$1; test $as_status -eq 0 && as_status=1
5906 if test "$4"; then
5907 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5908 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5910 $as_echo "$as_me: error: $2" >&2
5911 as_fn_exit $as_status
5912 } # as_fn_error
5915 # as_fn_set_status STATUS
5916 # -----------------------
5917 # Set $? to STATUS, without forking.
5918 as_fn_set_status ()
5920 return $1
5921 } # as_fn_set_status
5923 # as_fn_exit STATUS
5924 # -----------------
5925 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5926 as_fn_exit ()
5928 set +e
5929 as_fn_set_status $1
5930 exit $1
5931 } # as_fn_exit
5933 # as_fn_unset VAR
5934 # ---------------
5935 # Portably unset VAR.
5936 as_fn_unset ()
5938 { eval $1=; unset $1;}
5940 as_unset=as_fn_unset
5941 # as_fn_append VAR VALUE
5942 # ----------------------
5943 # Append the text in VALUE to the end of the definition contained in VAR. Take
5944 # advantage of any shell optimizations that allow amortized linear growth over
5945 # repeated appends, instead of the typical quadratic growth present in naive
5946 # implementations.
5947 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5948 eval 'as_fn_append ()
5950 eval $1+=\$2
5952 else
5953 as_fn_append ()
5955 eval $1=\$$1\$2
5957 fi # as_fn_append
5959 # as_fn_arith ARG...
5960 # ------------------
5961 # Perform arithmetic evaluation on the ARGs, and store the result in the
5962 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5963 # must be portable across $(()) and expr.
5964 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5965 eval 'as_fn_arith ()
5967 as_val=$(( $* ))
5969 else
5970 as_fn_arith ()
5972 as_val=`expr "$@" || test $? -eq 1`
5974 fi # as_fn_arith
5977 if expr a : '\(a\)' >/dev/null 2>&1 &&
5978 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5979 as_expr=expr
5980 else
5981 as_expr=false
5984 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5985 as_basename=basename
5986 else
5987 as_basename=false
5990 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5991 as_dirname=dirname
5992 else
5993 as_dirname=false
5996 as_me=`$as_basename -- "$0" ||
5997 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5998 X"$0" : 'X\(//\)$' \| \
5999 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6000 $as_echo X/"$0" |
6001 sed '/^.*\/\([^/][^/]*\)\/*$/{
6002 s//\1/
6005 /^X\/\(\/\/\)$/{
6006 s//\1/
6009 /^X\/\(\/\).*/{
6010 s//\1/
6013 s/.*/./; q'`
6015 # Avoid depending upon Character Ranges.
6016 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6017 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6018 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6019 as_cr_digits='0123456789'
6020 as_cr_alnum=$as_cr_Letters$as_cr_digits
6022 ECHO_C= ECHO_N= ECHO_T=
6023 case `echo -n x` in #(((((
6024 -n*)
6025 case `echo 'xy\c'` in
6026 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6027 xy) ECHO_C='\c';;
6028 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6029 ECHO_T=' ';;
6030 esac;;
6032 ECHO_N='-n';;
6033 esac
6035 rm -f conf$$ conf$$.exe conf$$.file
6036 if test -d conf$$.dir; then
6037 rm -f conf$$.dir/conf$$.file
6038 else
6039 rm -f conf$$.dir
6040 mkdir conf$$.dir 2>/dev/null
6042 if (echo >conf$$.file) 2>/dev/null; then
6043 if ln -s conf$$.file conf$$ 2>/dev/null; then
6044 as_ln_s='ln -s'
6045 # ... but there are two gotchas:
6046 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6047 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6048 # In both cases, we have to default to `cp -pR'.
6049 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6050 as_ln_s='cp -pR'
6051 elif ln conf$$.file conf$$ 2>/dev/null; then
6052 as_ln_s=ln
6053 else
6054 as_ln_s='cp -pR'
6056 else
6057 as_ln_s='cp -pR'
6059 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6060 rmdir conf$$.dir 2>/dev/null
6063 # as_fn_mkdir_p
6064 # -------------
6065 # Create "$as_dir" as a directory, including parents if necessary.
6066 as_fn_mkdir_p ()
6069 case $as_dir in #(
6070 -*) as_dir=./$as_dir;;
6071 esac
6072 test -d "$as_dir" || eval $as_mkdir_p || {
6073 as_dirs=
6074 while :; do
6075 case $as_dir in #(
6076 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6077 *) as_qdir=$as_dir;;
6078 esac
6079 as_dirs="'$as_qdir' $as_dirs"
6080 as_dir=`$as_dirname -- "$as_dir" ||
6081 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6082 X"$as_dir" : 'X\(//\)[^/]' \| \
6083 X"$as_dir" : 'X\(//\)$' \| \
6084 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6085 $as_echo X"$as_dir" |
6086 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6087 s//\1/
6090 /^X\(\/\/\)[^/].*/{
6091 s//\1/
6094 /^X\(\/\/\)$/{
6095 s//\1/
6098 /^X\(\/\).*/{
6099 s//\1/
6102 s/.*/./; q'`
6103 test -d "$as_dir" && break
6104 done
6105 test -z "$as_dirs" || eval "mkdir $as_dirs"
6106 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6109 } # as_fn_mkdir_p
6110 if mkdir -p . 2>/dev/null; then
6111 as_mkdir_p='mkdir -p "$as_dir"'
6112 else
6113 test -d ./-p && rmdir ./-p
6114 as_mkdir_p=false
6118 # as_fn_executable_p FILE
6119 # -----------------------
6120 # Test if FILE is an executable regular file.
6121 as_fn_executable_p ()
6123 test -f "$1" && test -x "$1"
6124 } # as_fn_executable_p
6125 as_test_x='test -x'
6126 as_executable_p=as_fn_executable_p
6128 # Sed expression to map a string onto a valid CPP name.
6129 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6131 # Sed expression to map a string onto a valid variable name.
6132 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6135 exec 6>&1
6136 ## ----------------------------------- ##
6137 ## Main body of $CONFIG_STATUS script. ##
6138 ## ----------------------------------- ##
6139 _ASEOF
6140 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6143 # Save the log message, to keep $0 and so on meaningful, and to
6144 # report actual input values of CONFIG_FILES etc. instead of their
6145 # values after options handling.
6146 ac_log="
6147 This file was extended by $as_me, which was
6148 generated by GNU Autoconf 2.69. Invocation command line was
6150 CONFIG_FILES = $CONFIG_FILES
6151 CONFIG_HEADERS = $CONFIG_HEADERS
6152 CONFIG_LINKS = $CONFIG_LINKS
6153 CONFIG_COMMANDS = $CONFIG_COMMANDS
6154 $ $0 $@
6156 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6159 _ACEOF
6161 case $ac_config_files in *"
6162 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6163 esac
6167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6168 # Files that config.status was made for.
6169 config_files="$ac_config_files"
6171 _ACEOF
6173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6174 ac_cs_usage="\
6175 \`$as_me' instantiates files and other configuration actions
6176 from templates according to the current configuration. Unless the files
6177 and actions are specified as TAGs, all are instantiated by default.
6179 Usage: $0 [OPTION]... [TAG]...
6181 -h, --help print this help, then exit
6182 -V, --version print version number and configuration settings, then exit
6183 --config print configuration, then exit
6184 -q, --quiet, --silent
6185 do not print progress messages
6186 -d, --debug don't remove temporary files
6187 --recheck update $as_me by reconfiguring in the same conditions
6188 --file=FILE[:TEMPLATE]
6189 instantiate the configuration file FILE
6191 Configuration files:
6192 $config_files
6194 Report bugs to the package provider."
6196 _ACEOF
6197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6198 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6199 ac_cs_version="\\
6200 config.status
6201 configured by $0, generated by GNU Autoconf 2.69,
6202 with options \\"\$ac_cs_config\\"
6204 Copyright (C) 2012 Free Software Foundation, Inc.
6205 This config.status script is free software; the Free Software Foundation
6206 gives unlimited permission to copy, distribute and modify it."
6208 ac_pwd='$ac_pwd'
6209 srcdir='$srcdir'
6210 test -n "\$AWK" || AWK=awk
6211 _ACEOF
6213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6214 # The default lists apply if the user does not specify any file.
6215 ac_need_defaults=:
6216 while test $# != 0
6218 case $1 in
6219 --*=?*)
6220 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6221 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6222 ac_shift=:
6224 --*=)
6225 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6226 ac_optarg=
6227 ac_shift=:
6230 ac_option=$1
6231 ac_optarg=$2
6232 ac_shift=shift
6234 esac
6236 case $ac_option in
6237 # Handling of the options.
6238 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6239 ac_cs_recheck=: ;;
6240 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6241 $as_echo "$ac_cs_version"; exit ;;
6242 --config | --confi | --conf | --con | --co | --c )
6243 $as_echo "$ac_cs_config"; exit ;;
6244 --debug | --debu | --deb | --de | --d | -d )
6245 debug=: ;;
6246 --file | --fil | --fi | --f )
6247 $ac_shift
6248 case $ac_optarg in
6249 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6250 '') as_fn_error $? "missing file argument" ;;
6251 esac
6252 as_fn_append CONFIG_FILES " '$ac_optarg'"
6253 ac_need_defaults=false;;
6254 --he | --h | --help | --hel | -h )
6255 $as_echo "$ac_cs_usage"; exit ;;
6256 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6257 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6258 ac_cs_silent=: ;;
6260 # This is an error.
6261 -*) as_fn_error $? "unrecognized option: \`$1'
6262 Try \`$0 --help' for more information." ;;
6264 *) as_fn_append ac_config_targets " $1"
6265 ac_need_defaults=false ;;
6267 esac
6268 shift
6269 done
6271 ac_configure_extra_args=
6273 if $ac_cs_silent; then
6274 exec 6>/dev/null
6275 ac_configure_extra_args="$ac_configure_extra_args --silent"
6278 _ACEOF
6279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6280 if \$ac_cs_recheck; then
6281 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6282 shift
6283 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6284 CONFIG_SHELL='$SHELL'
6285 export CONFIG_SHELL
6286 exec "\$@"
6289 _ACEOF
6290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6291 exec 5>>config.log
6293 echo
6294 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6295 ## Running $as_me. ##
6296 _ASBOX
6297 $as_echo "$ac_log"
6298 } >&5
6300 _ACEOF
6301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6302 _ACEOF
6304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6306 # Handling of arguments.
6307 for ac_config_target in $ac_config_targets
6309 case $ac_config_target in
6310 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
6312 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6313 esac
6314 done
6317 # If the user did not use the arguments to specify the items to instantiate,
6318 # then the envvar interface is used. Set only those that are not.
6319 # We use the long form for the default assignment because of an extremely
6320 # bizarre bug on SunOS 4.1.3.
6321 if $ac_need_defaults; then
6322 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6325 # Have a temporary directory for convenience. Make it in the build tree
6326 # simply because there is no reason against having it here, and in addition,
6327 # creating and moving files from /tmp can sometimes cause problems.
6328 # Hook for its removal unless debugging.
6329 # Note that there is a small window in which the directory will not be cleaned:
6330 # after its creation but before its name has been assigned to `$tmp'.
6331 $debug ||
6333 tmp= ac_tmp=
6334 trap 'exit_status=$?
6335 : "${ac_tmp:=$tmp}"
6336 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6338 trap 'as_fn_exit 1' 1 2 13 15
6340 # Create a (secure) tmp directory for tmp files.
6343 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6344 test -d "$tmp"
6345 } ||
6347 tmp=./conf$$-$RANDOM
6348 (umask 077 && mkdir "$tmp")
6349 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6350 ac_tmp=$tmp
6352 # Set up the scripts for CONFIG_FILES section.
6353 # No need to generate them if there are no CONFIG_FILES.
6354 # This happens for instance with `./config.status config.h'.
6355 if test -n "$CONFIG_FILES"; then
6358 ac_cr=`echo X | tr X '\015'`
6359 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6360 # But we know of no other shell where ac_cr would be empty at this
6361 # point, so we can use a bashism as a fallback.
6362 if test "x$ac_cr" = x; then
6363 eval ac_cr=\$\'\\r\'
6365 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6366 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6367 ac_cs_awk_cr='\\r'
6368 else
6369 ac_cs_awk_cr=$ac_cr
6372 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6373 _ACEOF
6377 echo "cat >conf$$subs.awk <<_ACEOF" &&
6378 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6379 echo "_ACEOF"
6380 } >conf$$subs.sh ||
6381 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6382 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6383 ac_delim='%!_!# '
6384 for ac_last_try in false false false false false :; do
6385 . ./conf$$subs.sh ||
6386 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6388 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6389 if test $ac_delim_n = $ac_delim_num; then
6390 break
6391 elif $ac_last_try; then
6392 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6393 else
6394 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6396 done
6397 rm -f conf$$subs.sh
6399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6400 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6401 _ACEOF
6402 sed -n '
6404 s/^/S["/; s/!.*/"]=/
6407 s/^[^!]*!//
6408 :repl
6409 t repl
6410 s/'"$ac_delim"'$//
6411 t delim
6414 s/\(.\{148\}\)..*/\1/
6415 t more1
6416 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6419 b repl
6420 :more1
6421 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6424 s/.\{148\}//
6425 t nl
6426 :delim
6428 s/\(.\{148\}\)..*/\1/
6429 t more2
6430 s/["\\]/\\&/g; s/^/"/; s/$/"/
6433 :more2
6434 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6437 s/.\{148\}//
6438 t delim
6439 ' <conf$$subs.awk | sed '
6440 /^[^""]/{
6442 s/\n//
6444 ' >>$CONFIG_STATUS || ac_write_fail=1
6445 rm -f conf$$subs.awk
6446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6447 _ACAWK
6448 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6449 for (key in S) S_is_set[key] = 1
6450 FS = "\a"
6454 line = $ 0
6455 nfields = split(line, field, "@")
6456 substed = 0
6457 len = length(field[1])
6458 for (i = 2; i < nfields; i++) {
6459 key = field[i]
6460 keylen = length(key)
6461 if (S_is_set[key]) {
6462 value = S[key]
6463 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6464 len += length(value) + length(field[++i])
6465 substed = 1
6466 } else
6467 len += 1 + keylen
6470 print line
6473 _ACAWK
6474 _ACEOF
6475 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6476 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6477 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6478 else
6480 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6481 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6482 _ACEOF
6484 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6485 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6486 # trailing colons and then remove the whole line if VPATH becomes empty
6487 # (actually we leave an empty line to preserve line numbers).
6488 if test "x$srcdir" = x.; then
6489 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6491 s///
6492 s/^/:/
6493 s/[ ]*$/:/
6494 s/:\$(srcdir):/:/g
6495 s/:\${srcdir}:/:/g
6496 s/:@srcdir@:/:/g
6497 s/^:*//
6498 s/:*$//
6500 s/\(=[ ]*\).*/\1/
6502 s/\n//
6503 s/^[^=]*=[ ]*$//
6507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6508 fi # test -n "$CONFIG_FILES"
6511 eval set X " :F $CONFIG_FILES "
6512 shift
6513 for ac_tag
6515 case $ac_tag in
6516 :[FHLC]) ac_mode=$ac_tag; continue;;
6517 esac
6518 case $ac_mode$ac_tag in
6519 :[FHL]*:*);;
6520 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6521 :[FH]-) ac_tag=-:-;;
6522 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6523 esac
6524 ac_save_IFS=$IFS
6525 IFS=:
6526 set x $ac_tag
6527 IFS=$ac_save_IFS
6528 shift
6529 ac_file=$1
6530 shift
6532 case $ac_mode in
6533 :L) ac_source=$1;;
6534 :[FH])
6535 ac_file_inputs=
6536 for ac_f
6538 case $ac_f in
6539 -) ac_f="$ac_tmp/stdin";;
6540 *) # Look for the file first in the build tree, then in the source tree
6541 # (if the path is not absolute). The absolute path cannot be DOS-style,
6542 # because $ac_f cannot contain `:'.
6543 test -f "$ac_f" ||
6544 case $ac_f in
6545 [\\/$]*) false;;
6546 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6547 esac ||
6548 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6549 esac
6550 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6551 as_fn_append ac_file_inputs " '$ac_f'"
6552 done
6554 # Let's still pretend it is `configure' which instantiates (i.e., don't
6555 # use $as_me), people would be surprised to read:
6556 # /* config.h. Generated by config.status. */
6557 configure_input='Generated from '`
6558 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6559 `' by configure.'
6560 if test x"$ac_file" != x-; then
6561 configure_input="$ac_file. $configure_input"
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6563 $as_echo "$as_me: creating $ac_file" >&6;}
6565 # Neutralize special characters interpreted by sed in replacement strings.
6566 case $configure_input in #(
6567 *\&* | *\|* | *\\* )
6568 ac_sed_conf_input=`$as_echo "$configure_input" |
6569 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6570 *) ac_sed_conf_input=$configure_input;;
6571 esac
6573 case $ac_tag in
6574 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6575 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6576 esac
6578 esac
6580 ac_dir=`$as_dirname -- "$ac_file" ||
6581 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6582 X"$ac_file" : 'X\(//\)[^/]' \| \
6583 X"$ac_file" : 'X\(//\)$' \| \
6584 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6585 $as_echo X"$ac_file" |
6586 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6587 s//\1/
6590 /^X\(\/\/\)[^/].*/{
6591 s//\1/
6594 /^X\(\/\/\)$/{
6595 s//\1/
6598 /^X\(\/\).*/{
6599 s//\1/
6602 s/.*/./; q'`
6603 as_dir="$ac_dir"; as_fn_mkdir_p
6604 ac_builddir=.
6606 case "$ac_dir" in
6607 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6609 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6610 # A ".." for each directory in $ac_dir_suffix.
6611 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6612 case $ac_top_builddir_sub in
6613 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6614 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6615 esac ;;
6616 esac
6617 ac_abs_top_builddir=$ac_pwd
6618 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6619 # for backward compatibility:
6620 ac_top_builddir=$ac_top_build_prefix
6622 case $srcdir in
6623 .) # We are building in place.
6624 ac_srcdir=.
6625 ac_top_srcdir=$ac_top_builddir_sub
6626 ac_abs_top_srcdir=$ac_pwd ;;
6627 [\\/]* | ?:[\\/]* ) # Absolute name.
6628 ac_srcdir=$srcdir$ac_dir_suffix;
6629 ac_top_srcdir=$srcdir
6630 ac_abs_top_srcdir=$srcdir ;;
6631 *) # Relative name.
6632 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6633 ac_top_srcdir=$ac_top_build_prefix$srcdir
6634 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6635 esac
6636 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6639 case $ac_mode in
6642 # CONFIG_FILE
6645 _ACEOF
6647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6648 # If the template does not know about datarootdir, expand it.
6649 # FIXME: This hack should be removed a few years after 2.60.
6650 ac_datarootdir_hack=; ac_datarootdir_seen=
6651 ac_sed_dataroot='
6652 /datarootdir/ {
6656 /@datadir@/p
6657 /@docdir@/p
6658 /@infodir@/p
6659 /@localedir@/p
6660 /@mandir@/p'
6661 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6662 *datarootdir*) ac_datarootdir_seen=yes;;
6663 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6665 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6666 _ACEOF
6667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6668 ac_datarootdir_hack='
6669 s&@datadir@&$datadir&g
6670 s&@docdir@&$docdir&g
6671 s&@infodir@&$infodir&g
6672 s&@localedir@&$localedir&g
6673 s&@mandir@&$mandir&g
6674 s&\\\${datarootdir}&$datarootdir&g' ;;
6675 esac
6676 _ACEOF
6678 # Neutralize VPATH when `$srcdir' = `.'.
6679 # Shell code in configure.ac might set extrasub.
6680 # FIXME: do we really want to maintain this feature?
6681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6682 ac_sed_extra="$ac_vpsub
6683 $extrasub
6684 _ACEOF
6685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6687 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6688 s|@configure_input@|$ac_sed_conf_input|;t t
6689 s&@top_builddir@&$ac_top_builddir_sub&;t t
6690 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6691 s&@srcdir@&$ac_srcdir&;t t
6692 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6693 s&@top_srcdir@&$ac_top_srcdir&;t t
6694 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6695 s&@builddir@&$ac_builddir&;t t
6696 s&@abs_builddir@&$ac_abs_builddir&;t t
6697 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6698 $ac_datarootdir_hack
6700 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6701 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6703 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6704 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6705 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6706 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6708 which seems to be undefined. Please make sure it is defined" >&5
6709 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6710 which seems to be undefined. Please make sure it is defined" >&2;}
6712 rm -f "$ac_tmp/stdin"
6713 case $ac_file in
6714 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6715 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6716 esac \
6717 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6722 esac
6724 done # for ac_tag
6727 as_fn_exit 0
6728 _ACEOF
6729 ac_clean_files=$ac_clean_files_save
6731 test $ac_write_fail = 0 ||
6732 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6735 # configure is writing to config.log, and then calls config.status.
6736 # config.status does its own redirection, appending to config.log.
6737 # Unfortunately, on DOS this fails, as config.log is still kept open
6738 # by configure, so config.status won't be able to write to it; its
6739 # output is simply discarded. So we exec the FD to /dev/null,
6740 # effectively closing config.log, so it can be properly (re)opened and
6741 # appended to by config.status. When coming back to configure, we
6742 # need to make the FD available again.
6743 if test "$no_create" != yes; then
6744 ac_cs_success=:
6745 ac_config_status_args=
6746 test "$silent" = yes &&
6747 ac_config_status_args="$ac_config_status_args --quiet"
6748 exec 5>/dev/null
6749 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6750 exec 5>>config.log
6751 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6752 # would make configure fail if this is the last instruction.
6753 $ac_cs_success || as_fn_exit 1
6755 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6757 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}