refactored some code. compiles now without suppresing any warning with gcc-6.3.0.
[AROS.git] / config / features
blobff0292fb84dc4b61b2ab1c5790cc8980c7c36e12
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_empty_body
588 aros_warnflags_empty_body
589 aros_nowarnflags_tautological_compare
590 aros_warnflags_tautological_compare
591 aros_nowarnflags_lto_type_mismatch
592 aros_warnflags_lto_type_mismatch
593 aros_nowarnflags_format_zero_length
594 aros_warnflags_format_zero_length
595 aros_nowarnflags_return_type
596 aros_warnflags_return_type
597 aros_nowarnflags_sizeof_pointer_memaccess
598 aros_warnflags_sizeof_pointer_memaccess
599 aros_nowarnflags_volatile_register_var
600 aros_warnflags_volatile_register_var
601 aros_nowarnflags_narrowing
602 aros_warnflags_narrowing
603 aros_nowarnflags_conversion_null
604 aros_warnflags_conversion_null
605 aros_nowarnflags_missing_braces
606 aros_warnflags_missing_braces
607 aros_nowarnflags_unused_local_typedefs
608 aros_warnflags_unused_local_typedefs
609 aros_nowarnflags_overflow
610 aros_warnflags_overflow
611 aros_nowarnflags_attributes
612 aros_warnflags_attributes
613 aros_nowarnflags_sign_compare
614 aros_warnflags_sign_compare
615 aros_nowarnflags_deprecated_declarations
616 aros_warnflags_deprecated_declarations
617 aros_nowarnflags_frame_address
618 aros_warnflags_frame_address
619 aros_nowarnflags_shift_overflow
620 aros_warnflags_shift_overflow
621 aros_nowarnflags_pointer_sign
622 aros_warnflags_pointer_sign
623 aros_nowarnflags_logical_not_parentheses
624 aros_warnflags_logical_not_parentheses
625 aros_nowarnflags_bool_compare
626 aros_warnflags_bool_compare
627 aros_nowarnflags_incompatible_pointer_types
628 aros_warnflags_incompatible_pointer_types
629 aros_nowarnflags_comment
630 aros_warnflags_comment
631 aros_nowarnflags_write_strings
632 aros_warnflags_write_strings
633 aros_nowarnflags_unused_const_variable
634 aros_warnflags_unused_const_variable
635 aros_nowarnflags_pointer_to_int_cast
636 aros_warnflags_pointer_to_int_cast
637 aros_nowarnflags_int_to_pointer_cast
638 aros_warnflags_int_to_pointer_cast
639 aros_nowarnflags_int_conversion
640 aros_warnflags_int_conversion
641 aros_nowarnflags_discarded_array_qualifiers
642 aros_warnflags_discarded_array_qualifiers
643 aros_nowarnflags_unknown_pragmas
644 aros_warnflags_unknown_pragmas
645 aros_nowarnflags_sequence_point
646 aros_warnflags_sequence_point
647 aros_nowarnflags_discarded_qualifiers
648 aros_warnflags_discarded_qualifiers
649 aros_nowarnflags_switch
650 aros_warnflags_switch
651 aros_nowarnflags_cpp
652 aros_warnflags_cpp
653 aros_nowarnflags_aggressive_loop_optimizations
654 aros_warnflags_aggressive_loop_optimizations
655 aros_nowarnflags_implicit_int
656 aros_warnflags_implicit_int
657 aros_nowarnflags_format_contains_nul
658 aros_warnflags_format_contains_nul
659 aros_nowarnflags_endif_labels
660 aros_warnflags_endif_labels
661 aros_nowarnflags_char_subscripts
662 aros_warnflags_char_subscripts
663 aros_nowarnflags_parentheses
664 aros_warnflags_parentheses
665 aros_nowarnflags_format
666 aros_warnflags_format
667 aros_nowarnflags_implicit_function_declaration
668 aros_warnflags_implicit_function_declaration
669 aros_nowarnflags_maybe_uninitialized
670 aros_warnflags_maybe_uninitialized
671 aros_nowarnflags_uninitialized
672 aros_warnflags_uninitialized
673 aros_nowarnflags_unused_parameter
674 aros_warnflags_unused_parameter
675 aros_nowarnflags_unused_function
676 aros_warnflags_unused_function
677 aros_nowarnflags_unused_variable
678 aros_warnflags_unused_variable
679 aros_nowarnflags_unused_value
680 aros_warnflags_unused_value
681 aros_nowarnflags_unused_label
682 aros_warnflags_unused_label
683 aros_nowarnflags_unused
684 aros_warnflags_unused
685 aros_nowarnflags_nonnull_compare
686 aros_warnflags_nonnull_compare
687 aros_nowarnflags_misleading_indentation
688 aros_warnflags_misleading_indentation
689 aros_nowarnflags_format_security
690 aros_warnflags_format_security
691 aros_nowarnflags_strict_overflow
692 aros_warnflags_strict_overflow
693 aros_nowarnflags_strict_prototypes
694 aros_warnflags_strict_prototypes
695 aros_nowarnflags_enum_compare
696 aros_warnflags_enum_compare
697 aros_nowarnflags_array_bounds
698 aros_warnflags_array_bounds
699 aros_nowarnflags_strict_aliasing
700 aros_warnflags_strict_aliasing
701 aros_nowarnflags_unused_but_set_variable
702 aros_warnflags_unused_but_set_variable
703 aros_nowarnflags_unknown_warning_option
704 aros_warnflags_unknown_warning_option
705 aros_nowarnflags_unused_command_line_argument
706 aros_warnflags_unused_command_line_argument
707 aros_nowarnflags_error
708 aros_warnflags_error
709 aros_cflags_no_red_zone
710 aros_cflags_iquote_end
711 aros_cflags_iquote
712 aros_cflags_noinlinesmallfunctions
713 aros_cflags_inlinesmallfunctions
714 aros_cflags_nostrictaliasing
715 aros_cflags_strictaliasing
716 aros_cflags_unroll_loops
717 aros_cflags_peel_loops
718 aros_cflags_loop_strip_mine
719 aros_cflags_loop_interchange
720 aros_cflags_loop_block
721 aros_cflags_whole_program
722 aros_cflags_nolto
723 aros_cflags_lto
724 aros_cflags_no_builtin_floor
725 aros_cflags_fast_math
726 aros_cflags_permissive
727 aros_cflags_exceptions
728 OBJEXT
729 EXEEXT
730 ac_ct_CC
731 CPPFLAGS
732 LDFLAGS
733 CFLAGS
735 target_alias
736 host_alias
737 build_alias
738 LIBS
739 ECHO_T
740 ECHO_N
741 ECHO_C
742 DEFS
743 mandir
744 localedir
745 libdir
746 psdir
747 pdfdir
748 dvidir
749 htmldir
750 infodir
751 docdir
752 oldincludedir
753 includedir
754 localstatedir
755 sharedstatedir
756 sysconfdir
757 datadir
758 datarootdir
759 libexecdir
760 sbindir
761 bindir
762 program_transform_name
763 prefix
764 exec_prefix
765 PACKAGE_URL
766 PACKAGE_BUGREPORT
767 PACKAGE_STRING
768 PACKAGE_VERSION
769 PACKAGE_TARNAME
770 PACKAGE_NAME
771 PATH_SEPARATOR
772 SHELL'
773 ac_subst_files=''
774 ac_user_opts='
775 enable_option_checking
776 with_config_dir
778 ac_precious_vars='build_alias
779 host_alias
780 target_alias
782 CFLAGS
783 LDFLAGS
784 LIBS
785 CPPFLAGS'
788 # Initialize some variables set by options.
789 ac_init_help=
790 ac_init_version=false
791 ac_unrecognized_opts=
792 ac_unrecognized_sep=
793 # The variables have the same names as the options, with
794 # dashes changed to underlines.
795 cache_file=/dev/null
796 exec_prefix=NONE
797 no_create=
798 no_recursion=
799 prefix=NONE
800 program_prefix=NONE
801 program_suffix=NONE
802 program_transform_name=s,x,x,
803 silent=
804 site=
805 srcdir=
806 verbose=
807 x_includes=NONE
808 x_libraries=NONE
810 # Installation directory options.
811 # These are left unexpanded so users can "make install exec_prefix=/foo"
812 # and all the variables that are supposed to be based on exec_prefix
813 # by default will actually change.
814 # Use braces instead of parens because sh, perl, etc. also accept them.
815 # (The list follows the same order as the GNU Coding Standards.)
816 bindir='${exec_prefix}/bin'
817 sbindir='${exec_prefix}/sbin'
818 libexecdir='${exec_prefix}/libexec'
819 datarootdir='${prefix}/share'
820 datadir='${datarootdir}'
821 sysconfdir='${prefix}/etc'
822 sharedstatedir='${prefix}/com'
823 localstatedir='${prefix}/var'
824 includedir='${prefix}/include'
825 oldincludedir='/usr/include'
826 docdir='${datarootdir}/doc/${PACKAGE}'
827 infodir='${datarootdir}/info'
828 htmldir='${docdir}'
829 dvidir='${docdir}'
830 pdfdir='${docdir}'
831 psdir='${docdir}'
832 libdir='${exec_prefix}/lib'
833 localedir='${datarootdir}/locale'
834 mandir='${datarootdir}/man'
836 ac_prev=
837 ac_dashdash=
838 for ac_option
840 # If the previous option needs an argument, assign it.
841 if test -n "$ac_prev"; then
842 eval $ac_prev=\$ac_option
843 ac_prev=
844 continue
847 case $ac_option in
848 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
849 *=) ac_optarg= ;;
850 *) ac_optarg=yes ;;
851 esac
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
857 ac_dashdash=yes ;;
859 -bindir | --bindir | --bindi | --bind | --bin | --bi)
860 ac_prev=bindir ;;
861 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
862 bindir=$ac_optarg ;;
864 -build | --build | --buil | --bui | --bu)
865 ac_prev=build_alias ;;
866 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
867 build_alias=$ac_optarg ;;
869 -cache-file | --cache-file | --cache-fil | --cache-fi \
870 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
871 ac_prev=cache_file ;;
872 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
873 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
874 cache_file=$ac_optarg ;;
876 --config-cache | -C)
877 cache_file=config.cache ;;
879 -datadir | --datadir | --datadi | --datad)
880 ac_prev=datadir ;;
881 -datadir=* | --datadir=* | --datadi=* | --datad=*)
882 datadir=$ac_optarg ;;
884 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
885 | --dataroo | --dataro | --datar)
886 ac_prev=datarootdir ;;
887 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
888 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
889 datarootdir=$ac_optarg ;;
891 -disable-* | --disable-*)
892 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
895 as_fn_error $? "invalid feature name: $ac_useropt"
896 ac_useropt_orig=$ac_useropt
897 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
900 "enable_$ac_useropt"
901 "*) ;;
902 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
903 ac_unrecognized_sep=', ';;
904 esac
905 eval enable_$ac_useropt=no ;;
907 -docdir | --docdir | --docdi | --doc | --do)
908 ac_prev=docdir ;;
909 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
910 docdir=$ac_optarg ;;
912 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
913 ac_prev=dvidir ;;
914 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
915 dvidir=$ac_optarg ;;
917 -enable-* | --enable-*)
918 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
921 as_fn_error $? "invalid feature name: $ac_useropt"
922 ac_useropt_orig=$ac_useropt
923 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
924 case $ac_user_opts in
926 "enable_$ac_useropt"
927 "*) ;;
928 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
929 ac_unrecognized_sep=', ';;
930 esac
931 eval enable_$ac_useropt=\$ac_optarg ;;
933 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
934 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
935 | --exec | --exe | --ex)
936 ac_prev=exec_prefix ;;
937 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
938 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
939 | --exec=* | --exe=* | --ex=*)
940 exec_prefix=$ac_optarg ;;
942 -gas | --gas | --ga | --g)
943 # Obsolete; use --with-gas.
944 with_gas=yes ;;
946 -help | --help | --hel | --he | -h)
947 ac_init_help=long ;;
948 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
949 ac_init_help=recursive ;;
950 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
951 ac_init_help=short ;;
953 -host | --host | --hos | --ho)
954 ac_prev=host_alias ;;
955 -host=* | --host=* | --hos=* | --ho=*)
956 host_alias=$ac_optarg ;;
958 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
959 ac_prev=htmldir ;;
960 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
961 | --ht=*)
962 htmldir=$ac_optarg ;;
964 -includedir | --includedir | --includedi | --included | --include \
965 | --includ | --inclu | --incl | --inc)
966 ac_prev=includedir ;;
967 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
968 | --includ=* | --inclu=* | --incl=* | --inc=*)
969 includedir=$ac_optarg ;;
971 -infodir | --infodir | --infodi | --infod | --info | --inf)
972 ac_prev=infodir ;;
973 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
974 infodir=$ac_optarg ;;
976 -libdir | --libdir | --libdi | --libd)
977 ac_prev=libdir ;;
978 -libdir=* | --libdir=* | --libdi=* | --libd=*)
979 libdir=$ac_optarg ;;
981 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
982 | --libexe | --libex | --libe)
983 ac_prev=libexecdir ;;
984 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
985 | --libexe=* | --libex=* | --libe=*)
986 libexecdir=$ac_optarg ;;
988 -localedir | --localedir | --localedi | --localed | --locale)
989 ac_prev=localedir ;;
990 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
991 localedir=$ac_optarg ;;
993 -localstatedir | --localstatedir | --localstatedi | --localstated \
994 | --localstate | --localstat | --localsta | --localst | --locals)
995 ac_prev=localstatedir ;;
996 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
997 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
998 localstatedir=$ac_optarg ;;
1000 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1001 ac_prev=mandir ;;
1002 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1003 mandir=$ac_optarg ;;
1005 -nfp | --nfp | --nf)
1006 # Obsolete; use --without-fp.
1007 with_fp=no ;;
1009 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1010 | --no-cr | --no-c | -n)
1011 no_create=yes ;;
1013 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1014 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1015 no_recursion=yes ;;
1017 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1018 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1019 | --oldin | --oldi | --old | --ol | --o)
1020 ac_prev=oldincludedir ;;
1021 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1022 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1023 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1024 oldincludedir=$ac_optarg ;;
1026 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1027 ac_prev=prefix ;;
1028 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1029 prefix=$ac_optarg ;;
1031 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1032 | --program-pre | --program-pr | --program-p)
1033 ac_prev=program_prefix ;;
1034 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1035 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1036 program_prefix=$ac_optarg ;;
1038 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1039 | --program-suf | --program-su | --program-s)
1040 ac_prev=program_suffix ;;
1041 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1042 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1043 program_suffix=$ac_optarg ;;
1045 -program-transform-name | --program-transform-name \
1046 | --program-transform-nam | --program-transform-na \
1047 | --program-transform-n | --program-transform- \
1048 | --program-transform | --program-transfor \
1049 | --program-transfo | --program-transf \
1050 | --program-trans | --program-tran \
1051 | --progr-tra | --program-tr | --program-t)
1052 ac_prev=program_transform_name ;;
1053 -program-transform-name=* | --program-transform-name=* \
1054 | --program-transform-nam=* | --program-transform-na=* \
1055 | --program-transform-n=* | --program-transform-=* \
1056 | --program-transform=* | --program-transfor=* \
1057 | --program-transfo=* | --program-transf=* \
1058 | --program-trans=* | --program-tran=* \
1059 | --progr-tra=* | --program-tr=* | --program-t=*)
1060 program_transform_name=$ac_optarg ;;
1062 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1063 ac_prev=pdfdir ;;
1064 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1065 pdfdir=$ac_optarg ;;
1067 -psdir | --psdir | --psdi | --psd | --ps)
1068 ac_prev=psdir ;;
1069 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1070 psdir=$ac_optarg ;;
1072 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1073 | -silent | --silent | --silen | --sile | --sil)
1074 silent=yes ;;
1076 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1077 ac_prev=sbindir ;;
1078 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1079 | --sbi=* | --sb=*)
1080 sbindir=$ac_optarg ;;
1082 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1083 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1084 | --sharedst | --shareds | --shared | --share | --shar \
1085 | --sha | --sh)
1086 ac_prev=sharedstatedir ;;
1087 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1088 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1089 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1090 | --sha=* | --sh=*)
1091 sharedstatedir=$ac_optarg ;;
1093 -site | --site | --sit)
1094 ac_prev=site ;;
1095 -site=* | --site=* | --sit=*)
1096 site=$ac_optarg ;;
1098 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1099 ac_prev=srcdir ;;
1100 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1101 srcdir=$ac_optarg ;;
1103 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1104 | --syscon | --sysco | --sysc | --sys | --sy)
1105 ac_prev=sysconfdir ;;
1106 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1107 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1108 sysconfdir=$ac_optarg ;;
1110 -target | --target | --targe | --targ | --tar | --ta | --t)
1111 ac_prev=target_alias ;;
1112 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1113 target_alias=$ac_optarg ;;
1115 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1116 verbose=yes ;;
1118 -version | --version | --versio | --versi | --vers | -V)
1119 ac_init_version=: ;;
1121 -with-* | --with-*)
1122 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1125 as_fn_error $? "invalid package name: $ac_useropt"
1126 ac_useropt_orig=$ac_useropt
1127 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128 case $ac_user_opts in
1130 "with_$ac_useropt"
1131 "*) ;;
1132 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1133 ac_unrecognized_sep=', ';;
1134 esac
1135 eval with_$ac_useropt=\$ac_optarg ;;
1137 -without-* | --without-*)
1138 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1141 as_fn_error $? "invalid package name: $ac_useropt"
1142 ac_useropt_orig=$ac_useropt
1143 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1144 case $ac_user_opts in
1146 "with_$ac_useropt"
1147 "*) ;;
1148 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1149 ac_unrecognized_sep=', ';;
1150 esac
1151 eval with_$ac_useropt=no ;;
1153 --x)
1154 # Obsolete; use --with-x.
1155 with_x=yes ;;
1157 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1158 | --x-incl | --x-inc | --x-in | --x-i)
1159 ac_prev=x_includes ;;
1160 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1161 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1162 x_includes=$ac_optarg ;;
1164 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1165 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1166 ac_prev=x_libraries ;;
1167 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1168 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1169 x_libraries=$ac_optarg ;;
1171 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1172 Try \`$0 --help' for more information"
1175 *=*)
1176 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1177 # Reject names that are not valid shell variable names.
1178 case $ac_envvar in #(
1179 '' | [0-9]* | *[!_$as_cr_alnum]* )
1180 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1181 esac
1182 eval $ac_envvar=\$ac_optarg
1183 export $ac_envvar ;;
1186 # FIXME: should be removed in autoconf 3.0.
1187 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1188 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1189 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1190 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1193 esac
1194 done
1196 if test -n "$ac_prev"; then
1197 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1198 as_fn_error $? "missing argument to $ac_option"
1201 if test -n "$ac_unrecognized_opts"; then
1202 case $enable_option_checking in
1203 no) ;;
1204 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1205 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1206 esac
1209 # Check all directory arguments for consistency.
1210 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1211 datadir sysconfdir sharedstatedir localstatedir includedir \
1212 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1213 libdir localedir mandir
1215 eval ac_val=\$$ac_var
1216 # Remove trailing slashes.
1217 case $ac_val in
1218 */ )
1219 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1220 eval $ac_var=\$ac_val;;
1221 esac
1222 # Be sure to have absolute directory names.
1223 case $ac_val in
1224 [\\/$]* | ?:[\\/]* ) continue;;
1225 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1226 esac
1227 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1228 done
1230 # There might be people who depend on the old broken behavior: `$host'
1231 # used to hold the argument of --host etc.
1232 # FIXME: To remove some day.
1233 build=$build_alias
1234 host=$host_alias
1235 target=$target_alias
1237 # FIXME: To remove some day.
1238 if test "x$host_alias" != x; then
1239 if test "x$build_alias" = x; then
1240 cross_compiling=maybe
1241 elif test "x$build_alias" != "x$host_alias"; then
1242 cross_compiling=yes
1246 ac_tool_prefix=
1247 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1249 test "$silent" = yes && exec 6>/dev/null
1252 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1253 ac_ls_di=`ls -di .` &&
1254 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1255 as_fn_error $? "working directory cannot be determined"
1256 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1257 as_fn_error $? "pwd does not report name of working directory"
1260 # Find the source files, if location was not specified.
1261 if test -z "$srcdir"; then
1262 ac_srcdir_defaulted=yes
1263 # Try the directory containing this script, then the parent directory.
1264 ac_confdir=`$as_dirname -- "$as_myself" ||
1265 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1266 X"$as_myself" : 'X\(//\)[^/]' \| \
1267 X"$as_myself" : 'X\(//\)$' \| \
1268 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1269 $as_echo X"$as_myself" |
1270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1271 s//\1/
1274 /^X\(\/\/\)[^/].*/{
1275 s//\1/
1278 /^X\(\/\/\)$/{
1279 s//\1/
1282 /^X\(\/\).*/{
1283 s//\1/
1286 s/.*/./; q'`
1287 srcdir=$ac_confdir
1288 if test ! -r "$srcdir/$ac_unique_file"; then
1289 srcdir=..
1291 else
1292 ac_srcdir_defaulted=no
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1295 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1296 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1298 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1299 ac_abs_confdir=`(
1300 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1301 pwd)`
1302 # When building in place, set srcdir=.
1303 if test "$ac_abs_confdir" = "$ac_pwd"; then
1304 srcdir=.
1306 # Remove unnecessary trailing slashes from srcdir.
1307 # Double slashes in file names in object file debugging info
1308 # mess up M-x gdb in Emacs.
1309 case $srcdir in
1310 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1311 esac
1312 for ac_var in $ac_precious_vars; do
1313 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1314 eval ac_env_${ac_var}_value=\$${ac_var}
1315 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1316 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1317 done
1320 # Report the --help message.
1322 if test "$ac_init_help" = "long"; then
1323 # Omit some internal or obsolete options to make the list less imposing.
1324 # This message is too long to be a string in the A/UX 3.1 sh.
1325 cat <<_ACEOF
1326 \`configure' configures this package to adapt to many kinds of systems.
1328 Usage: $0 [OPTION]... [VAR=VALUE]...
1330 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1331 VAR=VALUE. See below for descriptions of some of the useful variables.
1333 Defaults for the options are specified in brackets.
1335 Configuration:
1336 -h, --help display this help and exit
1337 --help=short display options specific to this package
1338 --help=recursive display the short help of all the included packages
1339 -V, --version display version information and exit
1340 -q, --quiet, --silent do not print \`checking ...' messages
1341 --cache-file=FILE cache test results in FILE [disabled]
1342 -C, --config-cache alias for \`--cache-file=config.cache'
1343 -n, --no-create do not create output files
1344 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1346 Installation directories:
1347 --prefix=PREFIX install architecture-independent files in PREFIX
1348 [$ac_default_prefix]
1349 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1350 [PREFIX]
1352 By default, \`make install' will install all the files in
1353 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1354 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1355 for instance \`--prefix=\$HOME'.
1357 For better control, use the options below.
1359 Fine tuning of the installation directories:
1360 --bindir=DIR user executables [EPREFIX/bin]
1361 --sbindir=DIR system admin executables [EPREFIX/sbin]
1362 --libexecdir=DIR program executables [EPREFIX/libexec]
1363 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1364 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1365 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1366 --libdir=DIR object code libraries [EPREFIX/lib]
1367 --includedir=DIR C header files [PREFIX/include]
1368 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1369 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1370 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1371 --infodir=DIR info documentation [DATAROOTDIR/info]
1372 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1373 --mandir=DIR man documentation [DATAROOTDIR/man]
1374 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1375 --htmldir=DIR html documentation [DOCDIR]
1376 --dvidir=DIR dvi documentation [DOCDIR]
1377 --pdfdir=DIR pdf documentation [DOCDIR]
1378 --psdir=DIR ps documentation [DOCDIR]
1379 _ACEOF
1381 cat <<\_ACEOF
1382 _ACEOF
1385 if test -n "$ac_init_help"; then
1387 cat <<\_ACEOF
1389 Optional Packages:
1390 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1391 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1392 --with-config-dir=VERSION
1393 Location of generated target config files
1395 Some influential environment variables:
1396 CC C compiler command
1397 CFLAGS C compiler flags
1398 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1399 nonstandard directory <lib dir>
1400 LIBS libraries to pass to the linker, e.g. -l<library>
1401 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1402 you have headers in a nonstandard directory <include dir>
1404 Use these variables to override the choices made by `configure' or to help
1405 it to find libraries and programs with nonstandard names/locations.
1407 Report bugs to the package provider.
1408 _ACEOF
1409 ac_status=$?
1412 if test "$ac_init_help" = "recursive"; then
1413 # If there are subdirs, report their specific --help.
1414 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1415 test -d "$ac_dir" ||
1416 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1417 continue
1418 ac_builddir=.
1420 case "$ac_dir" in
1421 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1423 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1424 # A ".." for each directory in $ac_dir_suffix.
1425 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1426 case $ac_top_builddir_sub in
1427 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1428 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1429 esac ;;
1430 esac
1431 ac_abs_top_builddir=$ac_pwd
1432 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1433 # for backward compatibility:
1434 ac_top_builddir=$ac_top_build_prefix
1436 case $srcdir in
1437 .) # We are building in place.
1438 ac_srcdir=.
1439 ac_top_srcdir=$ac_top_builddir_sub
1440 ac_abs_top_srcdir=$ac_pwd ;;
1441 [\\/]* | ?:[\\/]* ) # Absolute name.
1442 ac_srcdir=$srcdir$ac_dir_suffix;
1443 ac_top_srcdir=$srcdir
1444 ac_abs_top_srcdir=$srcdir ;;
1445 *) # Relative name.
1446 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1447 ac_top_srcdir=$ac_top_build_prefix$srcdir
1448 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1449 esac
1450 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1452 cd "$ac_dir" || { ac_status=$?; continue; }
1453 # Check for guested configure.
1454 if test -f "$ac_srcdir/configure.gnu"; then
1455 echo &&
1456 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1457 elif test -f "$ac_srcdir/configure"; then
1458 echo &&
1459 $SHELL "$ac_srcdir/configure" --help=recursive
1460 else
1461 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1462 fi || ac_status=$?
1463 cd "$ac_pwd" || { ac_status=$?; break; }
1464 done
1467 test -n "$ac_init_help" && exit $ac_status
1468 if $ac_init_version; then
1469 cat <<\_ACEOF
1470 configure
1471 generated by GNU Autoconf 2.69
1473 Copyright (C) 2012 Free Software Foundation, Inc.
1474 This configure script is free software; the Free Software Foundation
1475 gives unlimited permission to copy, distribute and modify it.
1476 _ACEOF
1477 exit
1480 ## ------------------------ ##
1481 ## Autoconf initialization. ##
1482 ## ------------------------ ##
1484 # ac_fn_c_try_compile LINENO
1485 # --------------------------
1486 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1487 ac_fn_c_try_compile ()
1489 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1490 rm -f conftest.$ac_objext
1491 if { { ac_try="$ac_compile"
1492 case "(($ac_try" in
1493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1494 *) ac_try_echo=$ac_try;;
1495 esac
1496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1497 $as_echo "$ac_try_echo"; } >&5
1498 (eval "$ac_compile") 2>conftest.err
1499 ac_status=$?
1500 if test -s conftest.err; then
1501 grep -v '^ *+' conftest.err >conftest.er1
1502 cat conftest.er1 >&5
1503 mv -f conftest.er1 conftest.err
1505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1506 test $ac_status = 0; } && {
1507 test -z "$ac_c_werror_flag" ||
1508 test ! -s conftest.err
1509 } && test -s conftest.$ac_objext; then :
1510 ac_retval=0
1511 else
1512 $as_echo "$as_me: failed program was:" >&5
1513 sed 's/^/| /' conftest.$ac_ext >&5
1515 ac_retval=1
1517 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1518 as_fn_set_status $ac_retval
1520 } # ac_fn_c_try_compile
1521 cat >config.log <<_ACEOF
1522 This file contains any messages produced by compilers while
1523 running configure, to aid debugging if configure makes a mistake.
1525 It was created by $as_me, which was
1526 generated by GNU Autoconf 2.69. Invocation command line was
1528 $ $0 $@
1530 _ACEOF
1531 exec 5>>config.log
1533 cat <<_ASUNAME
1534 ## --------- ##
1535 ## Platform. ##
1536 ## --------- ##
1538 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1539 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1540 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1541 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1542 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1544 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1545 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1547 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1548 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1549 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1550 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1551 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1552 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1553 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1555 _ASUNAME
1557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1558 for as_dir in $PATH
1560 IFS=$as_save_IFS
1561 test -z "$as_dir" && as_dir=.
1562 $as_echo "PATH: $as_dir"
1563 done
1564 IFS=$as_save_IFS
1566 } >&5
1568 cat >&5 <<_ACEOF
1571 ## ----------- ##
1572 ## Core tests. ##
1573 ## ----------- ##
1575 _ACEOF
1578 # Keep a trace of the command line.
1579 # Strip out --no-create and --no-recursion so they do not pile up.
1580 # Strip out --silent because we don't want to record it for future runs.
1581 # Also quote any args containing shell meta-characters.
1582 # Make two passes to allow for proper duplicate-argument suppression.
1583 ac_configure_args=
1584 ac_configure_args0=
1585 ac_configure_args1=
1586 ac_must_keep_next=false
1587 for ac_pass in 1 2
1589 for ac_arg
1591 case $ac_arg in
1592 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1593 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1594 | -silent | --silent | --silen | --sile | --sil)
1595 continue ;;
1596 *\'*)
1597 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1598 esac
1599 case $ac_pass in
1600 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1602 as_fn_append ac_configure_args1 " '$ac_arg'"
1603 if test $ac_must_keep_next = true; then
1604 ac_must_keep_next=false # Got value, back to normal.
1605 else
1606 case $ac_arg in
1607 *=* | --config-cache | -C | -disable-* | --disable-* \
1608 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1609 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1610 | -with-* | --with-* | -without-* | --without-* | --x)
1611 case "$ac_configure_args0 " in
1612 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1613 esac
1615 -* ) ac_must_keep_next=true ;;
1616 esac
1618 as_fn_append ac_configure_args " '$ac_arg'"
1620 esac
1621 done
1622 done
1623 { ac_configure_args0=; unset ac_configure_args0;}
1624 { ac_configure_args1=; unset ac_configure_args1;}
1626 # When interrupted or exit'd, cleanup temporary files, and complete
1627 # config.log. We remove comments because anyway the quotes in there
1628 # would cause problems or look ugly.
1629 # WARNING: Use '\'' to represent an apostrophe within the trap.
1630 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1631 trap 'exit_status=$?
1632 # Save into config.log some information that might help in debugging.
1634 echo
1636 $as_echo "## ---------------- ##
1637 ## Cache variables. ##
1638 ## ---------------- ##"
1639 echo
1640 # The following way of writing the cache mishandles newlines in values,
1642 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1643 eval ac_val=\$$ac_var
1644 case $ac_val in #(
1645 *${as_nl}*)
1646 case $ac_var in #(
1647 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1648 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1649 esac
1650 case $ac_var in #(
1651 _ | IFS | as_nl) ;; #(
1652 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1653 *) { eval $ac_var=; unset $ac_var;} ;;
1654 esac ;;
1655 esac
1656 done
1657 (set) 2>&1 |
1658 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1659 *${as_nl}ac_space=\ *)
1660 sed -n \
1661 "s/'\''/'\''\\\\'\'''\''/g;
1662 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1663 ;; #(
1665 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1667 esac |
1668 sort
1670 echo
1672 $as_echo "## ----------------- ##
1673 ## Output variables. ##
1674 ## ----------------- ##"
1675 echo
1676 for ac_var in $ac_subst_vars
1678 eval ac_val=\$$ac_var
1679 case $ac_val in
1680 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1681 esac
1682 $as_echo "$ac_var='\''$ac_val'\''"
1683 done | sort
1684 echo
1686 if test -n "$ac_subst_files"; then
1687 $as_echo "## ------------------- ##
1688 ## File substitutions. ##
1689 ## ------------------- ##"
1690 echo
1691 for ac_var in $ac_subst_files
1693 eval ac_val=\$$ac_var
1694 case $ac_val in
1695 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1696 esac
1697 $as_echo "$ac_var='\''$ac_val'\''"
1698 done | sort
1699 echo
1702 if test -s confdefs.h; then
1703 $as_echo "## ----------- ##
1704 ## confdefs.h. ##
1705 ## ----------- ##"
1706 echo
1707 cat confdefs.h
1708 echo
1710 test "$ac_signal" != 0 &&
1711 $as_echo "$as_me: caught signal $ac_signal"
1712 $as_echo "$as_me: exit $exit_status"
1713 } >&5
1714 rm -f core *.core core.conftest.* &&
1715 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1716 exit $exit_status
1718 for ac_signal in 1 2 13 15; do
1719 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1720 done
1721 ac_signal=0
1723 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1724 rm -f -r conftest* confdefs.h
1726 $as_echo "/* confdefs.h */" > confdefs.h
1728 # Predefined preprocessor variables.
1730 cat >>confdefs.h <<_ACEOF
1731 #define PACKAGE_NAME "$PACKAGE_NAME"
1732 _ACEOF
1734 cat >>confdefs.h <<_ACEOF
1735 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1736 _ACEOF
1738 cat >>confdefs.h <<_ACEOF
1739 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1740 _ACEOF
1742 cat >>confdefs.h <<_ACEOF
1743 #define PACKAGE_STRING "$PACKAGE_STRING"
1744 _ACEOF
1746 cat >>confdefs.h <<_ACEOF
1747 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1748 _ACEOF
1750 cat >>confdefs.h <<_ACEOF
1751 #define PACKAGE_URL "$PACKAGE_URL"
1752 _ACEOF
1755 # Let the site file select an alternate cache file if it wants to.
1756 # Prefer an explicitly selected file to automatically selected ones.
1757 ac_site_file1=NONE
1758 ac_site_file2=NONE
1759 if test -n "$CONFIG_SITE"; then
1760 # We do not want a PATH search for config.site.
1761 case $CONFIG_SITE in #((
1762 -*) ac_site_file1=./$CONFIG_SITE;;
1763 */*) ac_site_file1=$CONFIG_SITE;;
1764 *) ac_site_file1=./$CONFIG_SITE;;
1765 esac
1766 elif test "x$prefix" != xNONE; then
1767 ac_site_file1=$prefix/share/config.site
1768 ac_site_file2=$prefix/etc/config.site
1769 else
1770 ac_site_file1=$ac_default_prefix/share/config.site
1771 ac_site_file2=$ac_default_prefix/etc/config.site
1773 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1775 test "x$ac_site_file" = xNONE && continue
1776 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1778 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1779 sed 's/^/| /' "$ac_site_file" >&5
1780 . "$ac_site_file" \
1781 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1782 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1783 as_fn_error $? "failed to load site script $ac_site_file
1784 See \`config.log' for more details" "$LINENO" 5; }
1786 done
1788 if test -r "$cache_file"; then
1789 # Some versions of bash will fail to source /dev/null (special files
1790 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1791 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1793 $as_echo "$as_me: loading cache $cache_file" >&6;}
1794 case $cache_file in
1795 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1796 *) . "./$cache_file";;
1797 esac
1799 else
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1801 $as_echo "$as_me: creating cache $cache_file" >&6;}
1802 >$cache_file
1805 # Check that the precious variables saved in the cache have kept the same
1806 # value.
1807 ac_cache_corrupted=false
1808 for ac_var in $ac_precious_vars; do
1809 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1810 eval ac_new_set=\$ac_env_${ac_var}_set
1811 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1812 eval ac_new_val=\$ac_env_${ac_var}_value
1813 case $ac_old_set,$ac_new_set in
1814 set,)
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1816 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1817 ac_cache_corrupted=: ;;
1818 ,set)
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1820 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1821 ac_cache_corrupted=: ;;
1822 ,);;
1824 if test "x$ac_old_val" != "x$ac_new_val"; then
1825 # differences in whitespace do not lead to failure.
1826 ac_old_val_w=`echo x $ac_old_val`
1827 ac_new_val_w=`echo x $ac_new_val`
1828 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1830 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1831 ac_cache_corrupted=:
1832 else
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1834 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1835 eval $ac_var=\$ac_old_val
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1838 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1840 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1841 fi;;
1842 esac
1843 # Pass precious variables to config.status.
1844 if test "$ac_new_set" = set; then
1845 case $ac_new_val in
1846 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1847 *) ac_arg=$ac_var=$ac_new_val ;;
1848 esac
1849 case " $ac_configure_args " in
1850 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1851 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1852 esac
1854 done
1855 if $ac_cache_corrupted; then
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1859 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1860 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1862 ## -------------------- ##
1863 ## Main body of script. ##
1864 ## -------------------- ##
1866 ac_ext=c
1867 ac_cpp='$CPP $CPPFLAGS'
1868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1874 ac_aux_dir=
1875 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1876 if test -f "$ac_dir/install-sh"; then
1877 ac_aux_dir=$ac_dir
1878 ac_install_sh="$ac_aux_dir/install-sh -c"
1879 break
1880 elif test -f "$ac_dir/install.sh"; then
1881 ac_aux_dir=$ac_dir
1882 ac_install_sh="$ac_aux_dir/install.sh -c"
1883 break
1884 elif test -f "$ac_dir/shtool"; then
1885 ac_aux_dir=$ac_dir
1886 ac_install_sh="$ac_aux_dir/shtool install -c"
1887 break
1889 done
1890 if test -z "$ac_aux_dir"; then
1891 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1894 # These three variables are undocumented and unsupported,
1895 # and are intended to be withdrawn in a future Autoconf release.
1896 # They can cause serious problems if a builder's source tree is in a directory
1897 # whose full name contains unusual characters.
1898 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1899 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1900 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1904 AROS_BUILDDIR=`${PWDCMD-pwd}`
1905 AROS_BUILDDIR_UNIX=${PWD}
1907 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1908 SRCDIR=${srcpwd}
1910 NOLINKFLAGS="-nostdlib -nostartfiles"
1911 LDFLAGS=$NOLINKFLAGS
1912 # The first step is to find the binaries.
1913 ac_ext=c
1914 ac_cpp='$CPP $CPPFLAGS'
1915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1918 if test -n "$ac_tool_prefix"; then
1919 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1920 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1922 $as_echo_n "checking for $ac_word... " >&6; }
1923 if ${ac_cv_prog_CC+:} false; then :
1924 $as_echo_n "(cached) " >&6
1925 else
1926 if test -n "$CC"; then
1927 ac_cv_prog_CC="$CC" # Let the user override the test.
1928 else
1929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1930 for as_dir in $PATH
1932 IFS=$as_save_IFS
1933 test -z "$as_dir" && as_dir=.
1934 for ac_exec_ext in '' $ac_executable_extensions; do
1935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1936 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1938 break 2
1940 done
1941 done
1942 IFS=$as_save_IFS
1946 CC=$ac_cv_prog_CC
1947 if test -n "$CC"; then
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1949 $as_echo "$CC" >&6; }
1950 else
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1952 $as_echo "no" >&6; }
1957 if test -z "$ac_cv_prog_CC"; then
1958 ac_ct_CC=$CC
1959 # Extract the first word of "gcc", so it can be a program name with args.
1960 set dummy gcc; ac_word=$2
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1962 $as_echo_n "checking for $ac_word... " >&6; }
1963 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1964 $as_echo_n "(cached) " >&6
1965 else
1966 if test -n "$ac_ct_CC"; then
1967 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1968 else
1969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1970 for as_dir in $PATH
1972 IFS=$as_save_IFS
1973 test -z "$as_dir" && as_dir=.
1974 for ac_exec_ext in '' $ac_executable_extensions; do
1975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1976 ac_cv_prog_ac_ct_CC="gcc"
1977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1978 break 2
1980 done
1981 done
1982 IFS=$as_save_IFS
1986 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1987 if test -n "$ac_ct_CC"; then
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1989 $as_echo "$ac_ct_CC" >&6; }
1990 else
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1992 $as_echo "no" >&6; }
1995 if test "x$ac_ct_CC" = x; then
1996 CC=""
1997 else
1998 case $cross_compiling:$ac_tool_warned in
1999 yes:)
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2002 ac_tool_warned=yes ;;
2003 esac
2004 CC=$ac_ct_CC
2006 else
2007 CC="$ac_cv_prog_CC"
2010 if test -z "$CC"; then
2011 if test -n "$ac_tool_prefix"; then
2012 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2013 set dummy ${ac_tool_prefix}cc; ac_word=$2
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2015 $as_echo_n "checking for $ac_word... " >&6; }
2016 if ${ac_cv_prog_CC+:} false; then :
2017 $as_echo_n "(cached) " >&6
2018 else
2019 if test -n "$CC"; then
2020 ac_cv_prog_CC="$CC" # Let the user override the test.
2021 else
2022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2023 for as_dir in $PATH
2025 IFS=$as_save_IFS
2026 test -z "$as_dir" && as_dir=.
2027 for ac_exec_ext in '' $ac_executable_extensions; do
2028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2029 ac_cv_prog_CC="${ac_tool_prefix}cc"
2030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2031 break 2
2033 done
2034 done
2035 IFS=$as_save_IFS
2039 CC=$ac_cv_prog_CC
2040 if test -n "$CC"; then
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2042 $as_echo "$CC" >&6; }
2043 else
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2045 $as_echo "no" >&6; }
2051 if test -z "$CC"; then
2052 # Extract the first word of "cc", so it can be a program name with args.
2053 set dummy cc; ac_word=$2
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2055 $as_echo_n "checking for $ac_word... " >&6; }
2056 if ${ac_cv_prog_CC+:} false; then :
2057 $as_echo_n "(cached) " >&6
2058 else
2059 if test -n "$CC"; then
2060 ac_cv_prog_CC="$CC" # Let the user override the test.
2061 else
2062 ac_prog_rejected=no
2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064 for as_dir in $PATH
2066 IFS=$as_save_IFS
2067 test -z "$as_dir" && as_dir=.
2068 for ac_exec_ext in '' $ac_executable_extensions; do
2069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2070 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2071 ac_prog_rejected=yes
2072 continue
2074 ac_cv_prog_CC="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
2082 if test $ac_prog_rejected = yes; then
2083 # We found a bogon in the path, so make sure we never use it.
2084 set dummy $ac_cv_prog_CC
2085 shift
2086 if test $# != 0; then
2087 # We chose a different compiler from the bogus one.
2088 # However, it has the same basename, so the bogon will be chosen
2089 # first if we set CC to just the basename; use the full file name.
2090 shift
2091 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2096 CC=$ac_cv_prog_CC
2097 if test -n "$CC"; then
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2099 $as_echo "$CC" >&6; }
2100 else
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2102 $as_echo "no" >&6; }
2107 if test -z "$CC"; then
2108 if test -n "$ac_tool_prefix"; then
2109 for ac_prog in cl.exe
2111 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2112 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2114 $as_echo_n "checking for $ac_word... " >&6; }
2115 if ${ac_cv_prog_CC+:} false; then :
2116 $as_echo_n "(cached) " >&6
2117 else
2118 if test -n "$CC"; then
2119 ac_cv_prog_CC="$CC" # Let the user override the test.
2120 else
2121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2122 for as_dir in $PATH
2124 IFS=$as_save_IFS
2125 test -z "$as_dir" && as_dir=.
2126 for ac_exec_ext in '' $ac_executable_extensions; do
2127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2128 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2130 break 2
2132 done
2133 done
2134 IFS=$as_save_IFS
2138 CC=$ac_cv_prog_CC
2139 if test -n "$CC"; then
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2141 $as_echo "$CC" >&6; }
2142 else
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2144 $as_echo "no" >&6; }
2148 test -n "$CC" && break
2149 done
2151 if test -z "$CC"; then
2152 ac_ct_CC=$CC
2153 for ac_prog in cl.exe
2155 # Extract the first word of "$ac_prog", so it can be a program name with args.
2156 set dummy $ac_prog; ac_word=$2
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2158 $as_echo_n "checking for $ac_word... " >&6; }
2159 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2160 $as_echo_n "(cached) " >&6
2161 else
2162 if test -n "$ac_ct_CC"; then
2163 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2164 else
2165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2166 for as_dir in $PATH
2168 IFS=$as_save_IFS
2169 test -z "$as_dir" && as_dir=.
2170 for ac_exec_ext in '' $ac_executable_extensions; do
2171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2172 ac_cv_prog_ac_ct_CC="$ac_prog"
2173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2174 break 2
2176 done
2177 done
2178 IFS=$as_save_IFS
2182 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2183 if test -n "$ac_ct_CC"; then
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2185 $as_echo "$ac_ct_CC" >&6; }
2186 else
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2188 $as_echo "no" >&6; }
2192 test -n "$ac_ct_CC" && break
2193 done
2195 if test "x$ac_ct_CC" = x; then
2196 CC=""
2197 else
2198 case $cross_compiling:$ac_tool_warned in
2199 yes:)
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2202 ac_tool_warned=yes ;;
2203 esac
2204 CC=$ac_ct_CC
2211 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2213 as_fn_error $? "no acceptable C compiler found in \$PATH
2214 See \`config.log' for more details" "$LINENO" 5; }
2216 # Provide some information about the compiler.
2217 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2218 set X $ac_compile
2219 ac_compiler=$2
2220 for ac_option in --version -v -V -qversion; do
2221 { { ac_try="$ac_compiler $ac_option >&5"
2222 case "(($ac_try" in
2223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2224 *) ac_try_echo=$ac_try;;
2225 esac
2226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2227 $as_echo "$ac_try_echo"; } >&5
2228 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2229 ac_status=$?
2230 if test -s conftest.err; then
2231 sed '10a\
2232 ... rest of stderr output deleted ...
2233 10q' conftest.err >conftest.er1
2234 cat conftest.er1 >&5
2236 rm -f conftest.er1 conftest.err
2237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2238 test $ac_status = 0; }
2239 done
2241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2242 /* end confdefs.h. */
2245 main ()
2249 return 0;
2251 _ACEOF
2252 ac_clean_files_save=$ac_clean_files
2253 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2254 # Try to create an executable without -o first, disregard a.out.
2255 # It will help us diagnose broken compilers, and finding out an intuition
2256 # of exeext.
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2258 $as_echo_n "checking whether the C compiler works... " >&6; }
2259 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2261 # The possible output files:
2262 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2264 ac_rmfiles=
2265 for ac_file in $ac_files
2267 case $ac_file in
2268 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2269 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2270 esac
2271 done
2272 rm -f $ac_rmfiles
2274 if { { ac_try="$ac_link_default"
2275 case "(($ac_try" in
2276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2277 *) ac_try_echo=$ac_try;;
2278 esac
2279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2280 $as_echo "$ac_try_echo"; } >&5
2281 (eval "$ac_link_default") 2>&5
2282 ac_status=$?
2283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2284 test $ac_status = 0; }; then :
2285 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2286 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2287 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2288 # so that the user can short-circuit this test for compilers unknown to
2289 # Autoconf.
2290 for ac_file in $ac_files ''
2292 test -f "$ac_file" || continue
2293 case $ac_file in
2294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2296 [ab].out )
2297 # We found the default executable, but exeext='' is most
2298 # certainly right.
2299 break;;
2300 *.* )
2301 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2302 then :; else
2303 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2305 # We set ac_cv_exeext here because the later test for it is not
2306 # safe: cross compilers may not add the suffix if given an `-o'
2307 # argument, so we may need to know it at that point already.
2308 # Even if this section looks crufty: it has the advantage of
2309 # actually working.
2310 break;;
2312 break;;
2313 esac
2314 done
2315 test "$ac_cv_exeext" = no && ac_cv_exeext=
2317 else
2318 ac_file=''
2320 if test -z "$ac_file"; then :
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2322 $as_echo "no" >&6; }
2323 $as_echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.$ac_ext >&5
2326 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2328 as_fn_error 77 "C compiler cannot create executables
2329 See \`config.log' for more details" "$LINENO" 5; }
2330 else
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2332 $as_echo "yes" >&6; }
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2335 $as_echo_n "checking for C compiler default output file name... " >&6; }
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2337 $as_echo "$ac_file" >&6; }
2338 ac_exeext=$ac_cv_exeext
2340 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2341 ac_clean_files=$ac_clean_files_save
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2343 $as_echo_n "checking for suffix of executables... " >&6; }
2344 if { { ac_try="$ac_link"
2345 case "(($ac_try" in
2346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2347 *) ac_try_echo=$ac_try;;
2348 esac
2349 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2350 $as_echo "$ac_try_echo"; } >&5
2351 (eval "$ac_link") 2>&5
2352 ac_status=$?
2353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2354 test $ac_status = 0; }; then :
2355 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2356 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2357 # work properly (i.e., refer to `conftest.exe'), while it won't with
2358 # `rm'.
2359 for ac_file in conftest.exe conftest conftest.*; do
2360 test -f "$ac_file" || continue
2361 case $ac_file in
2362 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2363 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2364 break;;
2365 * ) break;;
2366 esac
2367 done
2368 else
2369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2371 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2372 See \`config.log' for more details" "$LINENO" 5; }
2374 rm -f conftest conftest$ac_cv_exeext
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2376 $as_echo "$ac_cv_exeext" >&6; }
2378 rm -f conftest.$ac_ext
2379 EXEEXT=$ac_cv_exeext
2380 ac_exeext=$EXEEXT
2381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2382 /* end confdefs.h. */
2383 #include <stdio.h>
2385 main ()
2387 FILE *f = fopen ("conftest.out", "w");
2388 return ferror (f) || fclose (f) != 0;
2391 return 0;
2393 _ACEOF
2394 ac_clean_files="$ac_clean_files conftest.out"
2395 # Check that the compiler produces executables we can run. If not, either
2396 # the compiler is broken, or we cross compile.
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2398 $as_echo_n "checking whether we are cross compiling... " >&6; }
2399 if test "$cross_compiling" != yes; then
2400 { { ac_try="$ac_link"
2401 case "(($ac_try" in
2402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2403 *) ac_try_echo=$ac_try;;
2404 esac
2405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2406 $as_echo "$ac_try_echo"; } >&5
2407 (eval "$ac_link") 2>&5
2408 ac_status=$?
2409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2410 test $ac_status = 0; }
2411 if { ac_try='./conftest$ac_cv_exeext'
2412 { { case "(($ac_try" in
2413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2414 *) ac_try_echo=$ac_try;;
2415 esac
2416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2417 $as_echo "$ac_try_echo"; } >&5
2418 (eval "$ac_try") 2>&5
2419 ac_status=$?
2420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2421 test $ac_status = 0; }; }; then
2422 cross_compiling=no
2423 else
2424 if test "$cross_compiling" = maybe; then
2425 cross_compiling=yes
2426 else
2427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2429 as_fn_error $? "cannot run C compiled programs.
2430 If you meant to cross compile, use \`--host'.
2431 See \`config.log' for more details" "$LINENO" 5; }
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2436 $as_echo "$cross_compiling" >&6; }
2438 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2439 ac_clean_files=$ac_clean_files_save
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2441 $as_echo_n "checking for suffix of object files... " >&6; }
2442 if ${ac_cv_objext+:} false; then :
2443 $as_echo_n "(cached) " >&6
2444 else
2445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2446 /* end confdefs.h. */
2449 main ()
2453 return 0;
2455 _ACEOF
2456 rm -f conftest.o conftest.obj
2457 if { { ac_try="$ac_compile"
2458 case "(($ac_try" in
2459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2460 *) ac_try_echo=$ac_try;;
2461 esac
2462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2463 $as_echo "$ac_try_echo"; } >&5
2464 (eval "$ac_compile") 2>&5
2465 ac_status=$?
2466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2467 test $ac_status = 0; }; then :
2468 for ac_file in conftest.o conftest.obj conftest.*; do
2469 test -f "$ac_file" || continue;
2470 case $ac_file in
2471 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2472 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2473 break;;
2474 esac
2475 done
2476 else
2477 $as_echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.$ac_ext >&5
2480 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2482 as_fn_error $? "cannot compute suffix of object files: cannot compile
2483 See \`config.log' for more details" "$LINENO" 5; }
2485 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2488 $as_echo "$ac_cv_objext" >&6; }
2489 OBJEXT=$ac_cv_objext
2490 ac_objext=$OBJEXT
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2492 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2493 if ${ac_cv_c_compiler_gnu+:} false; then :
2494 $as_echo_n "(cached) " >&6
2495 else
2496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2497 /* end confdefs.h. */
2500 main ()
2502 #ifndef __GNUC__
2503 choke me
2504 #endif
2507 return 0;
2509 _ACEOF
2510 if ac_fn_c_try_compile "$LINENO"; then :
2511 ac_compiler_gnu=yes
2512 else
2513 ac_compiler_gnu=no
2515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2516 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2520 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2521 if test $ac_compiler_gnu = yes; then
2522 GCC=yes
2523 else
2524 GCC=
2526 ac_test_CFLAGS=${CFLAGS+set}
2527 ac_save_CFLAGS=$CFLAGS
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2529 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2530 if ${ac_cv_prog_cc_g+:} false; then :
2531 $as_echo_n "(cached) " >&6
2532 else
2533 ac_save_c_werror_flag=$ac_c_werror_flag
2534 ac_c_werror_flag=yes
2535 ac_cv_prog_cc_g=no
2536 CFLAGS="-g"
2537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2538 /* end confdefs.h. */
2541 main ()
2545 return 0;
2547 _ACEOF
2548 if ac_fn_c_try_compile "$LINENO"; then :
2549 ac_cv_prog_cc_g=yes
2550 else
2551 CFLAGS=""
2552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2553 /* end confdefs.h. */
2556 main ()
2560 return 0;
2562 _ACEOF
2563 if ac_fn_c_try_compile "$LINENO"; then :
2565 else
2566 ac_c_werror_flag=$ac_save_c_werror_flag
2567 CFLAGS="-g"
2568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2569 /* end confdefs.h. */
2572 main ()
2576 return 0;
2578 _ACEOF
2579 if ac_fn_c_try_compile "$LINENO"; then :
2580 ac_cv_prog_cc_g=yes
2582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2587 ac_c_werror_flag=$ac_save_c_werror_flag
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2590 $as_echo "$ac_cv_prog_cc_g" >&6; }
2591 if test "$ac_test_CFLAGS" = set; then
2592 CFLAGS=$ac_save_CFLAGS
2593 elif test $ac_cv_prog_cc_g = yes; then
2594 if test "$GCC" = yes; then
2595 CFLAGS="-g -O2"
2596 else
2597 CFLAGS="-g"
2599 else
2600 if test "$GCC" = yes; then
2601 CFLAGS="-O2"
2602 else
2603 CFLAGS=
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2607 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2608 if ${ac_cv_prog_cc_c89+:} false; then :
2609 $as_echo_n "(cached) " >&6
2610 else
2611 ac_cv_prog_cc_c89=no
2612 ac_save_CC=$CC
2613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2614 /* end confdefs.h. */
2615 #include <stdarg.h>
2616 #include <stdio.h>
2617 struct stat;
2618 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2619 struct buf { int x; };
2620 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2621 static char *e (p, i)
2622 char **p;
2623 int i;
2625 return p[i];
2627 static char *f (char * (*g) (char **, int), char **p, ...)
2629 char *s;
2630 va_list v;
2631 va_start (v,p);
2632 s = g (p, va_arg (v,int));
2633 va_end (v);
2634 return s;
2637 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2638 function prototypes and stuff, but not '\xHH' hex character constants.
2639 These don't provoke an error unfortunately, instead are silently treated
2640 as 'x'. The following induces an error, until -std is added to get
2641 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2642 array size at least. It's necessary to write '\x00'==0 to get something
2643 that's true only with -std. */
2644 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2646 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2647 inside strings and character constants. */
2648 #define FOO(x) 'x'
2649 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2651 int test (int i, double x);
2652 struct s1 {int (*f) (int a);};
2653 struct s2 {int (*f) (double a);};
2654 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2655 int argc;
2656 char **argv;
2658 main ()
2660 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2662 return 0;
2664 _ACEOF
2665 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2666 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2668 CC="$ac_save_CC $ac_arg"
2669 if ac_fn_c_try_compile "$LINENO"; then :
2670 ac_cv_prog_cc_c89=$ac_arg
2672 rm -f core conftest.err conftest.$ac_objext
2673 test "x$ac_cv_prog_cc_c89" != "xno" && break
2674 done
2675 rm -f conftest.$ac_ext
2676 CC=$ac_save_CC
2679 # AC_CACHE_VAL
2680 case "x$ac_cv_prog_cc_c89" in
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2683 $as_echo "none needed" >&6; } ;;
2684 xno)
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2686 $as_echo "unsupported" >&6; } ;;
2688 CC="$CC $ac_cv_prog_cc_c89"
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2690 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2691 esac
2692 if test "x$ac_cv_prog_cc_c89" != xno; then :
2696 ac_ext=c
2697 ac_cpp='$CPP $CPPFLAGS'
2698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2704 $as_echo_n "checking target config location... " >&6; }
2706 # Check whether --with-config-dir was given.
2707 if test "${with_config_dir+set}" = set; then :
2708 withval=$with_config_dir; targetcfg_dir="$withval"
2709 else
2710 targetcfg_dir=""
2713 if test "$targetcfg_dir" = ""; then
2714 as_fn_error $? "missing config directory!" "$LINENO" 5
2715 else
2716 aros_targetcfg_dir="$targetcfg_dir"
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2719 $as_echo "$aros_targetcfg_dir" >&6; }
2721 #-----------------------------------------------------------------------------
2723 # Check if the target compiler supports some features:
2724 # -fexceptions
2725 # -fpermissive
2726 # -ffast-math
2727 # -fno-builtin-floor
2728 # -flto
2729 # -fwhole-program
2730 # -floop-block
2731 # -floop-interchange
2732 # -floop-strip-mine
2733 # -fpeel-loops
2734 # -fstrict-aliasing
2735 # -finline-small-functions
2736 # -funroll-loops
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2739 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2740 CFLAGS=-fexceptions
2742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2743 /* end confdefs.h. */
2746 main ()
2750 return 0;
2752 _ACEOF
2753 if ac_fn_c_try_compile "$LINENO"; then :
2754 aros_exceptions="yes"
2755 else
2756 aros_exceptions="no"
2758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2760 $as_echo "$aros_exceptions" >&6; }
2761 if test "x-$aros_exceptions" = "x-yes" ; then
2762 aros_cflags_exceptions=-fexceptions
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpermissive" >&5
2766 $as_echo_n "checking whether ${CC} accepts -fpermissive... " >&6; }
2767 CFLAGS=-fpermissive
2768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2769 /* end confdefs.h. */
2772 main ()
2776 return 0;
2778 _ACEOF
2779 if ac_fn_c_try_compile "$LINENO"; then :
2780 aros_permissive="yes"
2781 else
2782 aros_permissive="no"
2784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
2786 $as_echo "$aros_permissive" >&6; }
2787 if test "x-$aros_permissive" = "x-yes" ; then
2788 aros_cflags_permissive=-fpermissive
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2792 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2793 CFLAGS=-ffast-math
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_fast_math="yes"
2807 else
2808 aros_fast_math="no"
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2812 $as_echo "$aros_fast_math" >&6; }
2813 if test "x-$aros_fast_math" = "x-yes" ; then
2814 aros_cflags_fast_math=-ffast-math
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
2818 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
2819 CFLAGS=-fno-builtin-floor
2820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2821 /* end confdefs.h. */
2824 main ()
2828 return 0;
2830 _ACEOF
2831 if ac_fn_c_try_compile "$LINENO"; then :
2832 aros_no_builtin_floor="yes"
2833 else
2834 aros_no_builtin_floor="no"
2836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
2838 $as_echo "$aros_no_builtin_floor" >&6; }
2839 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
2840 aros_cflags_no_builtin_floor=-fno-builtin-floor
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2844 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2845 CFLAGS=-flto
2846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2847 /* end confdefs.h. */
2850 main ()
2854 return 0;
2856 _ACEOF
2857 if ac_fn_c_try_compile "$LINENO"; then :
2858 aros_lto="yes"
2859 else
2860 aros_lto="no"
2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2864 $as_echo "$aros_lto" >&6; }
2865 if test "x-$aros_lto" = "x-yes" ; then
2866 aros_cflags_lto=-flto
2867 aros_cflags_nolto=-fno-lto
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2870 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2871 CFLAGS=-fwhole-program
2872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2873 /* end confdefs.h. */
2876 main ()
2880 return 0;
2882 _ACEOF
2883 if ac_fn_c_try_compile "$LINENO"; then :
2884 aros_whole_program="yes"
2885 else
2886 aros_whole_program="no"
2888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2890 $as_echo "$aros_whole_program" >&6; }
2891 if test "x-$aros_whole_program" = "x-yes" ; then
2892 aros_cflags_whole_program=-fwhole-program
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2896 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2897 CFLAGS=-floop-block
2898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2899 /* end confdefs.h. */
2902 main ()
2906 return 0;
2908 _ACEOF
2909 if ac_fn_c_try_compile "$LINENO"; then :
2910 aros_loop_block="yes"
2911 else
2912 aros_loop_block="no"
2914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2916 $as_echo "$aros_loop_block" >&6; }
2917 if test "x-$aros_loop_block" = "x-yes" ; then
2918 aros_cflags_loop_block=-floop-block
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2922 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2923 CFLAGS=-floop-interchange
2924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2925 /* end confdefs.h. */
2928 main ()
2932 return 0;
2934 _ACEOF
2935 if ac_fn_c_try_compile "$LINENO"; then :
2936 aros_loop_interchange="yes"
2937 else
2938 aros_loop_interchange="no"
2940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2942 $as_echo "$aros_loop_interchange" >&6; }
2943 if test "x-$aros_loop_interchange" = "x-yes" ; then
2944 aros_cflags_loop_interchange=-floop-interchange
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2948 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2949 CFLAGS=-floop-strip-mine
2950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2951 /* end confdefs.h. */
2954 main ()
2958 return 0;
2960 _ACEOF
2961 if ac_fn_c_try_compile "$LINENO"; then :
2962 aros_loop_strip_mine="yes"
2963 else
2964 aros_loop_strip_mine="no"
2966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2968 $as_echo "$aros_loop_strip_mine" >&6; }
2969 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2970 aros_cflags_loop_strip_mine=-floop-strip-mine
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
2975 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
2976 CFLAGS=-fpeel-loops
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_peel_loops="yes"
2990 else
2991 aros_peel_loops="no"
2993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
2995 $as_echo "$aros_peel_loops" >&6; }
2996 if test "x-$aros_peel_loops" = "x-yes" ; then
2997 aros_cflags_peel_loops=-fpeel-loops
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3001 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3002 CFLAGS=-funroll-loops
3003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3004 /* end confdefs.h. */
3007 main ()
3011 return 0;
3013 _ACEOF
3014 if ac_fn_c_try_compile "$LINENO"; then :
3015 aros_unroll_loops="yes"
3016 else
3017 aros_unroll_loops="no"
3019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3021 $as_echo "$aros_unroll_loops" >&6; }
3022 if test "x-$aros_unroll_loops" = "x-yes" ; then
3023 aros_cflags_unroll_loops=-funroll-loops
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3027 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3028 CFLAGS=-fstrict-aliasing
3029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3030 /* end confdefs.h. */
3033 main ()
3037 return 0;
3039 _ACEOF
3040 if ac_fn_c_try_compile "$LINENO"; then :
3041 aros_strict_aliasing="yes"
3042 else
3043 aros_strict_aliasing="no"
3045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3047 $as_echo "$aros_strict_aliasing" >&6; }
3048 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3049 aros_cflags_strictaliasing=-fstrict-aliasing
3050 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3054 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3055 CFLAGS=-finline-small-functions
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_inline_small_functions="yes"
3069 else
3070 aros_inline_small_functions="no"
3072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3074 $as_echo "$aros_inline_small_functions" >&6; }
3075 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3076 aros_cflags_inlinesmallfunctions=-finline-small-functions
3077 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3081 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3082 CFLAGS="-iquote."
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 has_iquote="yes"
3096 else
3097 has_iquote="no"
3099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3101 $as_echo "$has_iquote" >&6; }
3102 if test "x-$has_iquote" = "x-yes" ; then
3103 aros_cflags_iquote=-iquote
3104 aros_cflags_iquote_end=
3105 else
3106 aros_cflags_iquote=-I
3107 aros_cflags_iquote_end=-I-
3110 #-----------------------------------------------------------------------------
3112 # Check if the target compiler supports some options:
3113 # -mno-red-zone
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mno-red-zone" >&5
3116 $as_echo_n "checking whether ${CC} accepts -mno-red-zone... " >&6; }
3117 CFLAGS=-mno-red-zone
3118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3119 /* end confdefs.h. */
3122 main ()
3126 return 0;
3128 _ACEOF
3129 if ac_fn_c_try_compile "$LINENO"; then :
3130 aros_no_red_zone="yes"
3131 else
3132 aros_no_red_zone="no"
3134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3136 $as_echo "$aros_no_red_zone" >&6; }
3137 if test "x-$aros_no_red_zone" = "x-yes" ; then
3138 aros_cflags_no_red_zone=-mno-red-zone
3141 #-----------------------------------------------------------------------------
3143 # Check if the target compiler supports some options used for de-linting:
3144 # -Werror
3145 # -Wunused-command-line-argument
3146 # -Wunknown-warning-option
3147 # -Wunused-but-set-variable
3148 # -Wstrict-aliasing
3149 # -Warray-bounds
3150 # -Wenum-compare
3151 # -Wstrict-prototypes
3152 # -Wstrict-overflow
3153 # -Wformat-security
3154 # -Wmisleading-indentation
3155 # -Wnonnull-compare
3156 # -Wunused
3157 # -Wunused-label
3158 # -Wunused-value
3159 # -Wunused-variable
3160 # -Wunused-function
3161 # -Wunused-parameter
3162 # -Wuninitialized
3163 # -Wmaybe-uninitialized
3164 # -Wimplicit-function-declaration
3165 # -Wformat
3166 # -Wparentheses
3167 # -Wchar-subscripts
3168 # -Wendif-labels
3169 # -Wformat-contains-nul
3170 # -Wimplicit-int
3171 # -Waggressive-loop-optimizations
3172 # -Wcpp
3173 # -Wswitch
3174 # -Wdiscarded-qualifiers
3175 # -Wsequence-point
3176 # -Wunknown-pragmas
3177 # -Wdiscarded-array-qualifiers
3178 # -Wint-conversion
3179 # -Wint-to-pointer-cast
3180 # -Wpointer-to-int-cast
3181 # -Wunused-const-variable
3182 # -Wwrite-strings
3183 # -Wcomment
3184 # -Wincompatible-pointer-types
3185 # -Wbool-compare
3186 # -Wlogical-not-parentheses
3187 # -Wpointer-sign
3188 # -Wshift-overflow
3189 # -Wframe-address
3190 # -Wdeprecated-declarations
3191 # -Wsign-compare
3192 # -Wattributes
3193 # -Woverflow
3194 # -Wunused-local-typedefs
3195 # -Wmissing-braces
3196 # -Wconversion-null
3197 # -Wnarrowing
3198 # -Wvolatile-register-var
3199 # -Wsizeof-pointer-memaccess
3200 # -Wreturn-type
3201 # -Wformat-zero-length
3202 # -Wlto-type-mismatch
3203 # -Wtautological-compare
3204 # -Wempty-body
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
3207 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
3208 CFLAGS=-Werror
3209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3210 /* end confdefs.h. */
3213 main ()
3217 return 0;
3219 _ACEOF
3220 if ac_fn_c_try_compile "$LINENO"; then :
3221 aros_error="yes"
3222 else
3223 aros_error="no"
3225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
3227 $as_echo "$aros_error" >&6; }
3228 if test "x-$aros_error" = "x-yes" ; then
3229 aros_warnflags_error=-Werror
3230 aros_nowarnflags_error=-Wno-error
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3234 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3235 CFLAGS=-Wunused-command-line-argument
3236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3237 /* end confdefs.h. */
3240 main ()
3244 return 0;
3246 _ACEOF
3247 if ac_fn_c_try_compile "$LINENO"; then :
3248 aros_unused_command_line_argument="yes"
3249 else
3250 aros_unused_command_line_argument="no"
3252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3254 $as_echo "$aros_unused_command_line_argument" >&6; }
3255 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3256 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3257 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3261 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3262 CFLAGS=-Wunknown-warning-option
3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3264 /* end confdefs.h. */
3267 main ()
3271 return 0;
3273 _ACEOF
3274 if ac_fn_c_try_compile "$LINENO"; then :
3275 aros_unknown_warning_option="yes"
3276 else
3277 aros_unknown_warning_option="no"
3279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3281 $as_echo "$aros_unknown_warning_option" >&6; }
3282 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3283 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3284 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3288 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3289 CFLAGS=-Wunused-but-set-variable
3290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3294 main ()
3298 return 0;
3300 _ACEOF
3301 if ac_fn_c_try_compile "$LINENO"; then :
3302 aros_unused_but_set_variable="yes"
3303 else
3304 aros_unused_but_set_variable="no"
3306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3308 $as_echo "$aros_unused_but_set_variable" >&6; }
3309 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3310 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3311 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3315 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3316 CFLAGS=-Wstrict-aliasing
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3321 main ()
3325 return 0;
3327 _ACEOF
3328 if ac_fn_c_try_compile "$LINENO"; then :
3329 aros_strict_aliasing="yes"
3330 else
3331 aros_strict_aliasing="no"
3333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3335 $as_echo "$aros_strict_aliasing" >&6; }
3336 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3337 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3338 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3342 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3343 CFLAGS=-Warray-bounds
3344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3345 /* end confdefs.h. */
3348 main ()
3352 return 0;
3354 _ACEOF
3355 if ac_fn_c_try_compile "$LINENO"; then :
3356 aros_array_bounds="yes"
3357 else
3358 aros_array_bounds="no"
3360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3362 $as_echo "$aros_array_bounds" >&6; }
3363 if test "x-$aros_array_bounds" = "x-yes" ; then
3364 aros_warnflags_array_bounds=-Warray-bounds
3365 aros_nowarnflags_array_bounds=-Wno-array-bounds
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3369 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3370 CFLAGS=-Wenum-compare
3371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3372 /* end confdefs.h. */
3375 main ()
3379 return 0;
3381 _ACEOF
3382 if ac_fn_c_try_compile "$LINENO"; then :
3383 aros_enum_compare="yes"
3384 else
3385 aros_enum_compare="no"
3387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3389 $as_echo "$aros_enum_compare" >&6; }
3390 if test "x-$aros_enum_compare" = "x-yes" ; then
3391 aros_warnflags_enum_compare=-Wenum-compare
3392 aros_nowarnflags_enum_compare=-Wno-enum-compare
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3396 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3397 CFLAGS=-Wstrict-prototypes
3398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h. */
3402 main ()
3406 return 0;
3408 _ACEOF
3409 if ac_fn_c_try_compile "$LINENO"; then :
3410 aros_strict_prototypes="yes"
3411 else
3412 aros_strict_prototypes="no"
3414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3416 $as_echo "$aros_strict_prototypes" >&6; }
3417 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3418 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3419 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3423 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3424 CFLAGS=-Wstrict-overflow
3425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3426 /* end confdefs.h. */
3429 main ()
3433 return 0;
3435 _ACEOF
3436 if ac_fn_c_try_compile "$LINENO"; then :
3437 aros_strict_overflow="yes"
3438 else
3439 aros_strict_overflow="no"
3441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3443 $as_echo "$aros_strict_overflow" >&6; }
3444 if test "x-$aros_strict_overflow" = "x-yes" ; then
3445 aros_warnflags_strict_overflow=-Wstrict-overflow
3446 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3450 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3451 CFLAGS=-Wformat-security
3452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453 /* end confdefs.h. */
3456 main ()
3460 return 0;
3462 _ACEOF
3463 if ac_fn_c_try_compile "$LINENO"; then :
3464 aros_format_security="yes"
3465 else
3466 aros_format_security="no"
3468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3470 $as_echo "$aros_format_security" >&6; }
3471 if test "x-$aros_format_security" = "x-yes" ; then
3472 aros_warnflags_format_security=-Wformat-security
3473 aros_nowarnflags_format_security=-Wno-format-security
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3477 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3478 CFLAGS=-Wmisleading-indentation
3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480 /* end confdefs.h. */
3483 main ()
3487 return 0;
3489 _ACEOF
3490 if ac_fn_c_try_compile "$LINENO"; then :
3491 aros_misleading_indentation="yes"
3492 else
3493 aros_misleading_indentation="no"
3495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3497 $as_echo "$aros_misleading_indentation" >&6; }
3498 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3499 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3500 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3504 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3505 CFLAGS=-Wnonnull-compare
3506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h. */
3510 main ()
3514 return 0;
3516 _ACEOF
3517 if ac_fn_c_try_compile "$LINENO"; then :
3518 aros_nonnull_compare="yes"
3519 else
3520 aros_nonnull_compare="no"
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3524 $as_echo "$aros_nonnull_compare" >&6; }
3525 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3526 aros_warnflags_nonnull_compare=-Wnonnull-compare
3527 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3531 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3532 CFLAGS=-Wunused
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3537 main ()
3541 return 0;
3543 _ACEOF
3544 if ac_fn_c_try_compile "$LINENO"; then :
3545 aros_unused="yes"
3546 else
3547 aros_unused="no"
3549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3551 $as_echo "$aros_unused" >&6; }
3552 if test "x-$aros_unused" = "x-yes" ; then
3553 aros_warnflags_unused=-Wunused
3554 aros_nowarnflags_unused=-Wno-unused
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
3558 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
3559 CFLAGS=-Wunused-label
3560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3561 /* end confdefs.h. */
3564 main ()
3568 return 0;
3570 _ACEOF
3571 if ac_fn_c_try_compile "$LINENO"; then :
3572 aros_unused_label="yes"
3573 else
3574 aros_unused_label="no"
3576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
3578 $as_echo "$aros_unused_label" >&6; }
3579 if test "x-$aros_unused_label" = "x-yes" ; then
3580 aros_warnflags_unused_label=-Wunused-label
3581 aros_nowarnflags_unused_label=-Wno-unused-label
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3585 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3586 CFLAGS=-Wunused-value
3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588 /* end confdefs.h. */
3591 main ()
3595 return 0;
3597 _ACEOF
3598 if ac_fn_c_try_compile "$LINENO"; then :
3599 aros_unused_value="yes"
3600 else
3601 aros_unused_value="no"
3603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3605 $as_echo "$aros_unused_value" >&6; }
3606 if test "x-$aros_unused_value" = "x-yes" ; then
3607 aros_warnflags_unused_value=-Wunused-value
3608 aros_nowarnflags_unused_value=-Wno-unused-value
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3612 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3613 CFLAGS=-Wunused-variable
3614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3615 /* end confdefs.h. */
3618 main ()
3622 return 0;
3624 _ACEOF
3625 if ac_fn_c_try_compile "$LINENO"; then :
3626 aros_unused_variable="yes"
3627 else
3628 aros_unused_variable="no"
3630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3632 $as_echo "$aros_unused_variable" >&6; }
3633 if test "x-$aros_unused_variable" = "x-yes" ; then
3634 aros_warnflags_unused_variable=-Wunused-variable
3635 aros_nowarnflags_unused_variable=-Wno-unused-variable
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3639 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3640 CFLAGS=-Wunused-function
3641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3642 /* end confdefs.h. */
3645 main ()
3649 return 0;
3651 _ACEOF
3652 if ac_fn_c_try_compile "$LINENO"; then :
3653 aros_unused_function="yes"
3654 else
3655 aros_unused_function="no"
3657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3659 $as_echo "$aros_unused_function" >&6; }
3660 if test "x-$aros_unused_function" = "x-yes" ; then
3661 aros_warnflags_unused_function=-Wunused-function
3662 aros_nowarnflags_unused_function=-Wno-unused-function
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3666 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3667 CFLAGS=-Wunused-parameter
3668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669 /* end confdefs.h. */
3672 main ()
3676 return 0;
3678 _ACEOF
3679 if ac_fn_c_try_compile "$LINENO"; then :
3680 aros_unused_parameter="yes"
3681 else
3682 aros_unused_parameter="no"
3684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3686 $as_echo "$aros_unused_parameter" >&6; }
3687 if test "x-$aros_unused_parameter" = "x-yes" ; then
3688 aros_warnflags_unused_parameter=-Wunused-parameter
3689 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3693 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3694 CFLAGS=-Wuninitialized
3695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h. */
3699 main ()
3703 return 0;
3705 _ACEOF
3706 if ac_fn_c_try_compile "$LINENO"; then :
3707 aros_uninitialized="yes"
3708 else
3709 aros_uninitialized="no"
3711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3713 $as_echo "$aros_uninitialized" >&6; }
3714 if test "x-$aros_uninitialized" = "x-yes" ; then
3715 aros_warnflags_uninitialized=-Wuninitialized
3716 aros_nowarnflags_uninitialized=-Wno-uninitialized
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3720 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3721 CFLAGS=-Wmaybe-uninitialized
3722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3723 /* end confdefs.h. */
3726 main ()
3730 return 0;
3732 _ACEOF
3733 if ac_fn_c_try_compile "$LINENO"; then :
3734 aros_maybe_uninitialized="yes"
3735 else
3736 aros_maybe_uninitialized="no"
3738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3740 $as_echo "$aros_maybe_uninitialized" >&6; }
3741 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3742 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
3743 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
3744 else
3745 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
3746 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3750 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3751 CFLAGS=-Wimplicit-function-declaration
3752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3753 /* end confdefs.h. */
3756 main ()
3760 return 0;
3762 _ACEOF
3763 if ac_fn_c_try_compile "$LINENO"; then :
3764 aros_implicit_function_declaration="yes"
3765 else
3766 aros_implicit_function_declaration="no"
3768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3770 $as_echo "$aros_implicit_function_declaration" >&6; }
3771 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3772 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
3773 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3777 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3778 CFLAGS=-Wformat
3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3780 /* end confdefs.h. */
3783 main ()
3787 return 0;
3789 _ACEOF
3790 if ac_fn_c_try_compile "$LINENO"; then :
3791 aros_format="yes"
3792 else
3793 aros_format="no"
3795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3797 $as_echo "$aros_format" >&6; }
3798 if test "x-$aros_format" = "x-yes" ; then
3799 aros_warnflags_format=-Wformat
3800 aros_nowarnflags_format=-Wno-format
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3804 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3805 CFLAGS=-Wparentheses
3806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3807 /* end confdefs.h. */
3810 main ()
3814 return 0;
3816 _ACEOF
3817 if ac_fn_c_try_compile "$LINENO"; then :
3818 aros_parentheses="yes"
3819 else
3820 aros_parentheses="no"
3822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3824 $as_echo "$aros_parentheses" >&6; }
3825 if test "x-$aros_parentheses" = "x-yes" ; then
3826 aros_warnflags_parentheses=-Wparentheses
3827 aros_nowarnflags_parentheses=-Wno-parentheses
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3831 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3832 CFLAGS=-Wchar-subscripts
3833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3834 /* end confdefs.h. */
3837 main ()
3841 return 0;
3843 _ACEOF
3844 if ac_fn_c_try_compile "$LINENO"; then :
3845 aros_char_subscripts="yes"
3846 else
3847 aros_char_subscripts="no"
3849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3851 $as_echo "$aros_char_subscripts" >&6; }
3852 if test "x-$aros_char_subscripts" = "x-yes" ; then
3853 aros_warnflags_char_subscripts=-Wchar-subscripts
3854 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3858 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3859 CFLAGS=-Wendif-labels
3860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3861 /* end confdefs.h. */
3864 main ()
3868 return 0;
3870 _ACEOF
3871 if ac_fn_c_try_compile "$LINENO"; then :
3872 aros_endif_labels="yes"
3873 else
3874 aros_endif_labels="no"
3876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3878 $as_echo "$aros_endif_labels" >&6; }
3879 if test "x-$aros_endif_labels" = "x-yes" ; then
3880 aros_warnflags_endif_labels=-Wendif-labels
3881 aros_nowarnflags_endif_labels=-Wno-endif-labels
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3885 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3886 CFLAGS=-Wformat-contains-nul
3887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888 /* end confdefs.h. */
3891 main ()
3895 return 0;
3897 _ACEOF
3898 if ac_fn_c_try_compile "$LINENO"; then :
3899 aros_format_contains_nul="yes"
3900 else
3901 aros_format_contains_nul="no"
3903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3905 $as_echo "$aros_format_contains_nul" >&6; }
3906 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3907 aros_warnflags_format_contains_nul=-Wformat-contains-nul
3908 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3912 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3913 CFLAGS=-Wimplicit-int
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3918 main ()
3922 return 0;
3924 _ACEOF
3925 if ac_fn_c_try_compile "$LINENO"; then :
3926 aros_implicit_int="yes"
3927 else
3928 aros_implicit_int="no"
3930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3932 $as_echo "$aros_implicit_int" >&6; }
3933 if test "x-$aros_implicit_int" = "x-yes" ; then
3934 aros_warnflags_implicit_int=-Wimplicit-int
3935 aros_nowarnflags_implicit_int=-Wno-implicit-int
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3939 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3940 CFLAGS=-Waggressive-loop-optimizations
3941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3942 /* end confdefs.h. */
3945 main ()
3949 return 0;
3951 _ACEOF
3952 if ac_fn_c_try_compile "$LINENO"; then :
3953 aros_aggressive_loop_optimizations="yes"
3954 else
3955 aros_aggressive_loop_optimizations="no"
3957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3959 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3960 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3961 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
3962 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3966 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3967 CFLAGS=-Wcpp
3968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3969 /* end confdefs.h. */
3972 main ()
3976 return 0;
3978 _ACEOF
3979 if ac_fn_c_try_compile "$LINENO"; then :
3980 aros_cpp="yes"
3981 else
3982 aros_cpp="no"
3984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3986 $as_echo "$aros_cpp" >&6; }
3987 if test "x-$aros_cpp" = "x-yes" ; then
3988 aros_warnflags_cpp=-Wcpp
3989 aros_nowarnflags_cpp=-Wno-cpp
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3993 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3994 CFLAGS=-Wswitch
3995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3996 /* end confdefs.h. */
3999 main ()
4003 return 0;
4005 _ACEOF
4006 if ac_fn_c_try_compile "$LINENO"; then :
4007 aros_switch="yes"
4008 else
4009 aros_switch="no"
4011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
4013 $as_echo "$aros_switch" >&6; }
4014 if test "x-$aros_switch" = "x-yes" ; then
4015 aros_warnflags_switch=-Wswitch
4016 aros_nowarnflags_switch=-Wno-switch
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
4020 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
4021 CFLAGS=-Wdiscarded-qualifiers
4022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4023 /* end confdefs.h. */
4026 main ()
4030 return 0;
4032 _ACEOF
4033 if ac_fn_c_try_compile "$LINENO"; then :
4034 aros_discarded_qualifiers="yes"
4035 else
4036 aros_discarded_qualifiers="no"
4038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
4040 $as_echo "$aros_discarded_qualifiers" >&6; }
4041 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
4042 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
4043 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
4047 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
4048 CFLAGS=-Wsequence-point
4049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4053 main ()
4057 return 0;
4059 _ACEOF
4060 if ac_fn_c_try_compile "$LINENO"; then :
4061 aros_sequence_point="yes"
4062 else
4063 aros_sequence_point="no"
4065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
4067 $as_echo "$aros_sequence_point" >&6; }
4068 if test "x-$aros_sequence_point" = "x-yes" ; then
4069 aros_warnflags_sequence_point=-Wsequence-point
4070 aros_nowarnflags_sequence_point=-Wno-sequence-point
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
4074 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
4075 CFLAGS=-Wunknown-pragmas
4076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077 /* end confdefs.h. */
4080 main ()
4084 return 0;
4086 _ACEOF
4087 if ac_fn_c_try_compile "$LINENO"; then :
4088 aros_unknown_pragmas="yes"
4089 else
4090 aros_unknown_pragmas="no"
4092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
4094 $as_echo "$aros_unknown_pragmas" >&6; }
4095 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
4096 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
4097 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
4101 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
4102 CFLAGS=-Wdiscarded-array-qualifiers
4103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4104 /* end confdefs.h. */
4107 main ()
4111 return 0;
4113 _ACEOF
4114 if ac_fn_c_try_compile "$LINENO"; then :
4115 aros_discarded_array_qualifiers="yes"
4116 else
4117 aros_discarded_array_qualifiers="no"
4119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
4121 $as_echo "$aros_discarded_array_qualifiers" >&6; }
4122 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
4123 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
4124 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4128 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4129 CFLAGS=-Wint-conversion
4130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4134 main ()
4138 return 0;
4140 _ACEOF
4141 if ac_fn_c_try_compile "$LINENO"; then :
4142 aros_int_conversion="yes"
4143 else
4144 aros_int_conversion="no"
4146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4148 $as_echo "$aros_int_conversion" >&6; }
4149 if test "x-$aros_int_conversion" = "x-yes" ; then
4150 aros_warnflags_int_conversion=-Wint-conversion
4151 aros_nowarnflags_int_conversion=-Wno-int-conversion
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
4155 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
4156 CFLAGS=-Wint-to-pointer-cast
4157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4158 /* end confdefs.h. */
4161 main ()
4165 return 0;
4167 _ACEOF
4168 if ac_fn_c_try_compile "$LINENO"; then :
4169 aros_int_to_pointer_cast="yes"
4170 else
4171 aros_int_to_pointer_cast="no"
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
4175 $as_echo "$aros_int_to_pointer_cast" >&6; }
4176 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
4177 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
4178 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
4182 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
4183 CFLAGS=-Wpointer-to-int-cast
4184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h. */
4188 main ()
4192 return 0;
4194 _ACEOF
4195 if ac_fn_c_try_compile "$LINENO"; then :
4196 aros_pointer_to_int_cast="yes"
4197 else
4198 aros_pointer_to_int_cast="no"
4200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
4202 $as_echo "$aros_pointer_to_int_cast" >&6; }
4203 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
4204 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
4205 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
4209 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
4210 CFLAGS=-Wunused-const-variable
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4215 main ()
4219 return 0;
4221 _ACEOF
4222 if ac_fn_c_try_compile "$LINENO"; then :
4223 aros_unused_const_variable="yes"
4224 else
4225 aros_unused_const_variable="no"
4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
4229 $as_echo "$aros_unused_const_variable" >&6; }
4230 if test "x-$aros_unused_const_variable" = "x-yes" ; then
4231 aros_warnflags_unused_const_variable=-Wunused-const-variable
4232 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
4236 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
4237 CFLAGS=-Wwrite-strings
4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4242 main ()
4246 return 0;
4248 _ACEOF
4249 if ac_fn_c_try_compile "$LINENO"; then :
4250 aros_write_strings="yes"
4251 else
4252 aros_write_strings="no"
4254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4256 $as_echo "$aros_write_strings" >&6; }
4257 if test "x-$aros_write_strings" = "x-yes" ; then
4258 aros_warnflags_write_strings=-Wwrite-strings
4259 aros_nowarnflags_write_strings=-Wno-write-strings
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4263 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4264 CFLAGS=-Wcomment
4265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4266 /* end confdefs.h. */
4269 main ()
4273 return 0;
4275 _ACEOF
4276 if ac_fn_c_try_compile "$LINENO"; then :
4277 aros_comment="yes"
4278 else
4279 aros_comment="no"
4281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4283 $as_echo "$aros_comment" >&6; }
4284 if test "x-$aros_comment" = "x-yes" ; then
4285 aros_warnflags_comment=-Wcomment
4286 aros_nowarnflags_comment=-Wno-comment
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4290 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4291 CFLAGS=-Wincompatible-pointer-types
4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4293 /* end confdefs.h. */
4296 main ()
4300 return 0;
4302 _ACEOF
4303 if ac_fn_c_try_compile "$LINENO"; then :
4304 aros_incompatible_pointer_types="yes"
4305 else
4306 aros_incompatible_pointer_types="no"
4308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4310 $as_echo "$aros_incompatible_pointer_types" >&6; }
4311 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4312 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4313 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4317 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4318 CFLAGS=-Wbool-compare
4319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4320 /* end confdefs.h. */
4323 main ()
4327 return 0;
4329 _ACEOF
4330 if ac_fn_c_try_compile "$LINENO"; then :
4331 aros_bool_compare="yes"
4332 else
4333 aros_bool_compare="no"
4335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4337 $as_echo "$aros_bool_compare" >&6; }
4338 if test "x-$aros_bool_compare" = "x-yes" ; then
4339 aros_warnflags_bool_compare=-Wbool-compare
4340 aros_nowarnflags_bool_compare=-Wno-bool-compare
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4344 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4345 CFLAGS=-Wlogical-not-parentheses
4346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347 /* end confdefs.h. */
4350 main ()
4354 return 0;
4356 _ACEOF
4357 if ac_fn_c_try_compile "$LINENO"; then :
4358 aros_logical_not_parentheses="yes"
4359 else
4360 aros_logical_not_parentheses="no"
4362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4364 $as_echo "$aros_logical_not_parentheses" >&6; }
4365 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4366 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4367 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4371 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4372 CFLAGS=-Wpointer-sign
4373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4374 /* end confdefs.h. */
4377 main ()
4381 return 0;
4383 _ACEOF
4384 if ac_fn_c_try_compile "$LINENO"; then :
4385 aros_pointer_sign="yes"
4386 else
4387 aros_pointer_sign="no"
4389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4391 $as_echo "$aros_pointer_sign" >&6; }
4392 if test "x-$aros_pointer_sign" = "x-yes" ; then
4393 aros_warnflags_pointer_sign=-Wpointer-sign
4394 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4398 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4399 CFLAGS=-Wshift-overflow
4400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4401 /* end confdefs.h. */
4404 main ()
4408 return 0;
4410 _ACEOF
4411 if ac_fn_c_try_compile "$LINENO"; then :
4412 aros_shift_overflow="yes"
4413 else
4414 aros_shift_overflow="no"
4416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4418 $as_echo "$aros_shift_overflow" >&6; }
4419 if test "x-$aros_shift_overflow" = "x-yes" ; then
4420 aros_warnflags_shift_overflow=-Wshift-overflow
4421 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4425 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4426 CFLAGS=-Wframe-address
4427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h. */
4431 main ()
4435 return 0;
4437 _ACEOF
4438 if ac_fn_c_try_compile "$LINENO"; then :
4439 aros_frame_address="yes"
4440 else
4441 aros_frame_address="no"
4443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4445 $as_echo "$aros_frame_address" >&6; }
4446 if test "x-$aros_frame_address" = "x-yes" ; then
4447 aros_warnflags_frame_address=-Wframe-address
4448 aros_nowarnflags_frame_address=-Wno-frame-address
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4452 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4453 CFLAGS=-Wdeprecated-declarations
4454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4455 /* end confdefs.h. */
4458 main ()
4462 return 0;
4464 _ACEOF
4465 if ac_fn_c_try_compile "$LINENO"; then :
4466 aros_deprecated_declarations="yes"
4467 else
4468 aros_deprecated_declarations="no"
4470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4472 $as_echo "$aros_deprecated_declarations" >&6; }
4473 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4474 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4475 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4479 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4480 CFLAGS=-Wsign-compare
4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4485 main ()
4489 return 0;
4491 _ACEOF
4492 if ac_fn_c_try_compile "$LINENO"; then :
4493 aros_sign_compare="yes"
4494 else
4495 aros_sign_compare="no"
4497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4499 $as_echo "$aros_sign_compare" >&6; }
4500 if test "x-$aros_sign_compare" = "x-yes" ; then
4501 aros_warnflags_sign_compare=-Wsign-compare
4502 aros_nowarnflags_sign_compare=-Wno-sign-compare
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4506 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4507 CFLAGS=-Wattributes
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4512 main ()
4516 return 0;
4518 _ACEOF
4519 if ac_fn_c_try_compile "$LINENO"; then :
4520 aros_attributes="yes"
4521 else
4522 aros_attributes="no"
4524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4526 $as_echo "$aros_attributes" >&6; }
4527 if test "x-$aros_attributes" = "x-yes" ; then
4528 aros_warnflags_attributes=-Wattributes
4529 aros_nowarnflags_attributes=-Wno-attributes
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4533 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4534 CFLAGS=-Woverflow
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4539 main ()
4543 return 0;
4545 _ACEOF
4546 if ac_fn_c_try_compile "$LINENO"; then :
4547 aros_overflow="yes"
4548 else
4549 aros_overflow="no"
4551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4553 $as_echo "$aros_overflow" >&6; }
4554 if test "x-$aros_overflow" = "x-yes" ; then
4555 aros_warnflags_overflow=-Woverflow
4556 aros_nowarnflags_overflow=-Wno-overflow
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4560 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4561 CFLAGS=-Wunused-local-typedefs
4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4566 main ()
4570 return 0;
4572 _ACEOF
4573 if ac_fn_c_try_compile "$LINENO"; then :
4574 aros_unused_local_typedefs="yes"
4575 else
4576 aros_unused_local_typedefs="no"
4578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4580 $as_echo "$aros_unused_local_typedefs" >&6; }
4581 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4582 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4583 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4587 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4588 CFLAGS=-Wmissing-braces
4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4590 /* end confdefs.h. */
4593 main ()
4597 return 0;
4599 _ACEOF
4600 if ac_fn_c_try_compile "$LINENO"; then :
4601 aros_missing_braces="yes"
4602 else
4603 aros_missing_braces="no"
4605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4607 $as_echo "$aros_missing_braces" >&6; }
4608 if test "x-$aros_missing_braces" = "x-yes" ; then
4609 aros_warnflags_missing_braces=-Wmissing-braces
4610 aros_nowarnflags_missing_braces=-Wno-missing-braces
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4614 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4615 CFLAGS=-Wconversion-null
4616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4617 /* end confdefs.h. */
4620 main ()
4624 return 0;
4626 _ACEOF
4627 if ac_fn_c_try_compile "$LINENO"; then :
4628 aros_conversion_null="yes"
4629 else
4630 aros_conversion_null="no"
4632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4634 $as_echo "$aros_conversion_null" >&6; }
4635 if test "x-$aros_conversion_null" = "x-yes" ; then
4636 aros_warnflags_conversion_null=-Wconversion-null
4637 aros_nowarnflags_conversion_null=-Wno-conversion-null
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4641 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4642 CFLAGS=-Wnarrowing
4643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h. */
4647 main ()
4651 return 0;
4653 _ACEOF
4654 if ac_fn_c_try_compile "$LINENO"; then :
4655 aros_narrowing="yes"
4656 else
4657 aros_narrowing="no"
4659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4661 $as_echo "$aros_narrowing" >&6; }
4662 if test "x-$aros_narrowing" = "x-yes" ; then
4663 aros_warnflags_narrowing=-Wnarrowing
4664 aros_nowarnflags_narrowing=-Wno-narrowing
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4668 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4669 CFLAGS=-Wvolatile-register-var
4670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4671 /* end confdefs.h. */
4674 main ()
4678 return 0;
4680 _ACEOF
4681 if ac_fn_c_try_compile "$LINENO"; then :
4682 aros_volatile_register_var="yes"
4683 else
4684 aros_volatile_register_var="no"
4686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4688 $as_echo "$aros_volatile_register_var" >&6; }
4689 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4690 aros_warnflags_volatile_register_var=-Wvolatile-register-var
4691 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4695 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4696 CFLAGS=-Wsizeof-pointer-memaccess
4697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4698 /* end confdefs.h. */
4701 main ()
4705 return 0;
4707 _ACEOF
4708 if ac_fn_c_try_compile "$LINENO"; then :
4709 aros_sizeof_pointer_memaccess="yes"
4710 else
4711 aros_sizeof_pointer_memaccess="no"
4713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4715 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4716 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4717 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
4718 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4722 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4723 CFLAGS=-Wreturn-type
4724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4725 /* end confdefs.h. */
4728 main ()
4732 return 0;
4734 _ACEOF
4735 if ac_fn_c_try_compile "$LINENO"; then :
4736 aros_return_type="yes"
4737 else
4738 aros_return_type="no"
4740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4742 $as_echo "$aros_return_type" >&6; }
4743 if test "x-$aros_return_type" = "x-yes" ; then
4744 aros_warnflags_return_type=-Wreturn-type
4745 aros_nowarnflags_return_type=-Wno-return-type
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
4749 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
4750 CFLAGS=-Wformat-zero-length
4751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4752 /* end confdefs.h. */
4755 main ()
4759 return 0;
4761 _ACEOF
4762 if ac_fn_c_try_compile "$LINENO"; then :
4763 aros_format_zero_length="yes"
4764 else
4765 aros_format_zero_length="no"
4767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
4769 $as_echo "$aros_format_zero_length" >&6; }
4770 if test "x-$aros_format_zero_length" = "x-yes" ; then
4771 aros_warnflags_format_zero_length=-Wformat-zero-length
4772 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
4776 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
4777 CFLAGS=-Wlto-type-mismatch
4778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h. */
4782 main ()
4786 return 0;
4788 _ACEOF
4789 if ac_fn_c_try_compile "$LINENO"; then :
4790 aros_lto_type_mismatch="yes"
4791 else
4792 aros_lto_type_mismatch="no"
4794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
4796 $as_echo "$aros_lto_type_mismatch" >&6; }
4797 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
4798 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
4799 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
4803 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
4804 CFLAGS=-Wtautological-compare
4805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h. */
4809 main ()
4813 return 0;
4815 _ACEOF
4816 if ac_fn_c_try_compile "$LINENO"; then :
4817 aros_tautological_compare="yes"
4818 else
4819 aros_tautological_compare="no"
4821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
4823 $as_echo "$aros_tautological_compare" >&6; }
4824 if test "x-$aros_tautological_compare" = "x-yes" ; then
4825 aros_warnflags_tautological_compare=-Wtautological-compare
4826 aros_nowarnflags_tautological_compare=-Wno-tautological-compare
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
4830 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
4831 CFLAGS=-Wempty-body
4832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4833 /* end confdefs.h. */
4836 main ()
4840 return 0;
4842 _ACEOF
4843 if ac_fn_c_try_compile "$LINENO"; then :
4844 aros_empty_body="yes"
4845 else
4846 aros_empty_body="no"
4848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
4850 $as_echo "$aros_empty_body" >&6; }
4851 if test "x-$aros_empty_body" = "x-yes" ; then
4852 aros_warnflags_empty_body=-Wempty-body
4853 aros_nowarnflags_empty_body=-Wno-empty-body
4857 # export the feature flags...
4882 # export the feature options...
4887 # ...and warning flags...
5012 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
5015 cat >confcache <<\_ACEOF
5016 # This file is a shell script that caches the results of configure
5017 # tests run on this system so they can be shared between configure
5018 # scripts and configure runs, see configure's option --config-cache.
5019 # It is not useful on other systems. If it contains results you don't
5020 # want to keep, you may remove or edit it.
5022 # config.status only pays attention to the cache file if you give it
5023 # the --recheck option to rerun configure.
5025 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5026 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5027 # following values.
5029 _ACEOF
5031 # The following way of writing the cache mishandles newlines in values,
5032 # but we know of no workaround that is simple, portable, and efficient.
5033 # So, we kill variables containing newlines.
5034 # Ultrix sh set writes to stderr and can't be redirected directly,
5035 # and sets the high bit in the cache file unless we assign to the vars.
5037 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5038 eval ac_val=\$$ac_var
5039 case $ac_val in #(
5040 *${as_nl}*)
5041 case $ac_var in #(
5042 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5043 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5044 esac
5045 case $ac_var in #(
5046 _ | IFS | as_nl) ;; #(
5047 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5048 *) { eval $ac_var=; unset $ac_var;} ;;
5049 esac ;;
5050 esac
5051 done
5053 (set) 2>&1 |
5054 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5055 *${as_nl}ac_space=\ *)
5056 # `set' does not quote correctly, so add quotes: double-quote
5057 # substitution turns \\\\ into \\, and sed turns \\ into \.
5058 sed -n \
5059 "s/'/'\\\\''/g;
5060 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5061 ;; #(
5063 # `set' quotes correctly as required by POSIX, so do not add quotes.
5064 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5066 esac |
5067 sort
5069 sed '
5070 /^ac_cv_env_/b end
5071 t clear
5072 :clear
5073 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5074 t end
5075 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5076 :end' >>confcache
5077 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5078 if test -w "$cache_file"; then
5079 if test "x$cache_file" != "x/dev/null"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5081 $as_echo "$as_me: updating cache $cache_file" >&6;}
5082 if test ! -f "$cache_file" || test -h "$cache_file"; then
5083 cat confcache >"$cache_file"
5084 else
5085 case $cache_file in #(
5086 */* | ?:*)
5087 mv -f confcache "$cache_file"$$ &&
5088 mv -f "$cache_file"$$ "$cache_file" ;; #(
5090 mv -f confcache "$cache_file" ;;
5091 esac
5094 else
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5096 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5099 rm -f confcache
5101 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5102 # Let make expand exec_prefix.
5103 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5105 # Transform confdefs.h into DEFS.
5106 # Protect against shell expansion while executing Makefile rules.
5107 # Protect against Makefile macro expansion.
5109 # If the first sed substitution is executed (which looks for macros that
5110 # take arguments), then branch to the quote section. Otherwise,
5111 # look for a macro that doesn't take arguments.
5112 ac_script='
5113 :mline
5114 /\\$/{
5116 s,\\\n,,
5117 b mline
5119 t clear
5120 :clear
5121 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5122 t quote
5123 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5124 t quote
5125 b any
5126 :quote
5127 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5128 s/\[/\\&/g
5129 s/\]/\\&/g
5130 s/\$/$$/g
5132 :any
5135 s/^\n//
5136 s/\n/ /g
5140 DEFS=`sed -n "$ac_script" confdefs.h`
5143 ac_libobjs=
5144 ac_ltlibobjs=
5146 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5147 # 1. Remove the extension, and $U if already installed.
5148 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5149 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5150 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5151 # will be set to the directory where LIBOBJS objects are built.
5152 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5153 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5154 done
5155 LIBOBJS=$ac_libobjs
5157 LTLIBOBJS=$ac_ltlibobjs
5161 : "${CONFIG_STATUS=./config.status}"
5162 ac_write_fail=0
5163 ac_clean_files_save=$ac_clean_files
5164 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5166 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5167 as_write_fail=0
5168 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5169 #! $SHELL
5170 # Generated by $as_me.
5171 # Run this file to recreate the current configuration.
5172 # Compiler output produced by configure, useful for debugging
5173 # configure, is in config.log if it exists.
5175 debug=false
5176 ac_cs_recheck=false
5177 ac_cs_silent=false
5179 SHELL=\${CONFIG_SHELL-$SHELL}
5180 export SHELL
5181 _ASEOF
5182 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5183 ## -------------------- ##
5184 ## M4sh Initialization. ##
5185 ## -------------------- ##
5187 # Be more Bourne compatible
5188 DUALCASE=1; export DUALCASE # for MKS sh
5189 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5190 emulate sh
5191 NULLCMD=:
5192 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5193 # is contrary to our usage. Disable this feature.
5194 alias -g '${1+"$@"}'='"$@"'
5195 setopt NO_GLOB_SUBST
5196 else
5197 case `(set -o) 2>/dev/null` in #(
5198 *posix*) :
5199 set -o posix ;; #(
5200 *) :
5202 esac
5206 as_nl='
5208 export as_nl
5209 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5210 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5211 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5212 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5213 # Prefer a ksh shell builtin over an external printf program on Solaris,
5214 # but without wasting forks for bash or zsh.
5215 if test -z "$BASH_VERSION$ZSH_VERSION" \
5216 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5217 as_echo='print -r --'
5218 as_echo_n='print -rn --'
5219 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5220 as_echo='printf %s\n'
5221 as_echo_n='printf %s'
5222 else
5223 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5224 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5225 as_echo_n='/usr/ucb/echo -n'
5226 else
5227 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5228 as_echo_n_body='eval
5229 arg=$1;
5230 case $arg in #(
5231 *"$as_nl"*)
5232 expr "X$arg" : "X\\(.*\\)$as_nl";
5233 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5234 esac;
5235 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5237 export as_echo_n_body
5238 as_echo_n='sh -c $as_echo_n_body as_echo'
5240 export as_echo_body
5241 as_echo='sh -c $as_echo_body as_echo'
5244 # The user is always right.
5245 if test "${PATH_SEPARATOR+set}" != set; then
5246 PATH_SEPARATOR=:
5247 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5248 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5249 PATH_SEPARATOR=';'
5254 # IFS
5255 # We need space, tab and new line, in precisely that order. Quoting is
5256 # there to prevent editors from complaining about space-tab.
5257 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5258 # splitting by setting IFS to empty value.)
5259 IFS=" "" $as_nl"
5261 # Find who we are. Look in the path if we contain no directory separator.
5262 as_myself=
5263 case $0 in #((
5264 *[\\/]* ) as_myself=$0 ;;
5265 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5266 for as_dir in $PATH
5268 IFS=$as_save_IFS
5269 test -z "$as_dir" && as_dir=.
5270 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5271 done
5272 IFS=$as_save_IFS
5275 esac
5276 # We did not find ourselves, most probably we were run as `sh COMMAND'
5277 # in which case we are not to be found in the path.
5278 if test "x$as_myself" = x; then
5279 as_myself=$0
5281 if test ! -f "$as_myself"; then
5282 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5283 exit 1
5286 # Unset variables that we do not need and which cause bugs (e.g. in
5287 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5288 # suppresses any "Segmentation fault" message there. '((' could
5289 # trigger a bug in pdksh 5.2.14.
5290 for as_var in BASH_ENV ENV MAIL MAILPATH
5291 do eval test x\${$as_var+set} = xset \
5292 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5293 done
5294 PS1='$ '
5295 PS2='> '
5296 PS4='+ '
5298 # NLS nuisances.
5299 LC_ALL=C
5300 export LC_ALL
5301 LANGUAGE=C
5302 export LANGUAGE
5304 # CDPATH.
5305 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5308 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5309 # ----------------------------------------
5310 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5311 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5312 # script with STATUS, using 1 if that was 0.
5313 as_fn_error ()
5315 as_status=$1; test $as_status -eq 0 && as_status=1
5316 if test "$4"; then
5317 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5318 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5320 $as_echo "$as_me: error: $2" >&2
5321 as_fn_exit $as_status
5322 } # as_fn_error
5325 # as_fn_set_status STATUS
5326 # -----------------------
5327 # Set $? to STATUS, without forking.
5328 as_fn_set_status ()
5330 return $1
5331 } # as_fn_set_status
5333 # as_fn_exit STATUS
5334 # -----------------
5335 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5336 as_fn_exit ()
5338 set +e
5339 as_fn_set_status $1
5340 exit $1
5341 } # as_fn_exit
5343 # as_fn_unset VAR
5344 # ---------------
5345 # Portably unset VAR.
5346 as_fn_unset ()
5348 { eval $1=; unset $1;}
5350 as_unset=as_fn_unset
5351 # as_fn_append VAR VALUE
5352 # ----------------------
5353 # Append the text in VALUE to the end of the definition contained in VAR. Take
5354 # advantage of any shell optimizations that allow amortized linear growth over
5355 # repeated appends, instead of the typical quadratic growth present in naive
5356 # implementations.
5357 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5358 eval 'as_fn_append ()
5360 eval $1+=\$2
5362 else
5363 as_fn_append ()
5365 eval $1=\$$1\$2
5367 fi # as_fn_append
5369 # as_fn_arith ARG...
5370 # ------------------
5371 # Perform arithmetic evaluation on the ARGs, and store the result in the
5372 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5373 # must be portable across $(()) and expr.
5374 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5375 eval 'as_fn_arith ()
5377 as_val=$(( $* ))
5379 else
5380 as_fn_arith ()
5382 as_val=`expr "$@" || test $? -eq 1`
5384 fi # as_fn_arith
5387 if expr a : '\(a\)' >/dev/null 2>&1 &&
5388 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5389 as_expr=expr
5390 else
5391 as_expr=false
5394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5395 as_basename=basename
5396 else
5397 as_basename=false
5400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5401 as_dirname=dirname
5402 else
5403 as_dirname=false
5406 as_me=`$as_basename -- "$0" ||
5407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5408 X"$0" : 'X\(//\)$' \| \
5409 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5410 $as_echo X/"$0" |
5411 sed '/^.*\/\([^/][^/]*\)\/*$/{
5412 s//\1/
5415 /^X\/\(\/\/\)$/{
5416 s//\1/
5419 /^X\/\(\/\).*/{
5420 s//\1/
5423 s/.*/./; q'`
5425 # Avoid depending upon Character Ranges.
5426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5429 as_cr_digits='0123456789'
5430 as_cr_alnum=$as_cr_Letters$as_cr_digits
5432 ECHO_C= ECHO_N= ECHO_T=
5433 case `echo -n x` in #(((((
5434 -n*)
5435 case `echo 'xy\c'` in
5436 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5437 xy) ECHO_C='\c';;
5438 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5439 ECHO_T=' ';;
5440 esac;;
5442 ECHO_N='-n';;
5443 esac
5445 rm -f conf$$ conf$$.exe conf$$.file
5446 if test -d conf$$.dir; then
5447 rm -f conf$$.dir/conf$$.file
5448 else
5449 rm -f conf$$.dir
5450 mkdir conf$$.dir 2>/dev/null
5452 if (echo >conf$$.file) 2>/dev/null; then
5453 if ln -s conf$$.file conf$$ 2>/dev/null; then
5454 as_ln_s='ln -s'
5455 # ... but there are two gotchas:
5456 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5457 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5458 # In both cases, we have to default to `cp -pR'.
5459 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5460 as_ln_s='cp -pR'
5461 elif ln conf$$.file conf$$ 2>/dev/null; then
5462 as_ln_s=ln
5463 else
5464 as_ln_s='cp -pR'
5466 else
5467 as_ln_s='cp -pR'
5469 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5470 rmdir conf$$.dir 2>/dev/null
5473 # as_fn_mkdir_p
5474 # -------------
5475 # Create "$as_dir" as a directory, including parents if necessary.
5476 as_fn_mkdir_p ()
5479 case $as_dir in #(
5480 -*) as_dir=./$as_dir;;
5481 esac
5482 test -d "$as_dir" || eval $as_mkdir_p || {
5483 as_dirs=
5484 while :; do
5485 case $as_dir in #(
5486 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5487 *) as_qdir=$as_dir;;
5488 esac
5489 as_dirs="'$as_qdir' $as_dirs"
5490 as_dir=`$as_dirname -- "$as_dir" ||
5491 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5492 X"$as_dir" : 'X\(//\)[^/]' \| \
5493 X"$as_dir" : 'X\(//\)$' \| \
5494 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5495 $as_echo X"$as_dir" |
5496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5497 s//\1/
5500 /^X\(\/\/\)[^/].*/{
5501 s//\1/
5504 /^X\(\/\/\)$/{
5505 s//\1/
5508 /^X\(\/\).*/{
5509 s//\1/
5512 s/.*/./; q'`
5513 test -d "$as_dir" && break
5514 done
5515 test -z "$as_dirs" || eval "mkdir $as_dirs"
5516 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5519 } # as_fn_mkdir_p
5520 if mkdir -p . 2>/dev/null; then
5521 as_mkdir_p='mkdir -p "$as_dir"'
5522 else
5523 test -d ./-p && rmdir ./-p
5524 as_mkdir_p=false
5528 # as_fn_executable_p FILE
5529 # -----------------------
5530 # Test if FILE is an executable regular file.
5531 as_fn_executable_p ()
5533 test -f "$1" && test -x "$1"
5534 } # as_fn_executable_p
5535 as_test_x='test -x'
5536 as_executable_p=as_fn_executable_p
5538 # Sed expression to map a string onto a valid CPP name.
5539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5541 # Sed expression to map a string onto a valid variable name.
5542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5545 exec 6>&1
5546 ## ----------------------------------- ##
5547 ## Main body of $CONFIG_STATUS script. ##
5548 ## ----------------------------------- ##
5549 _ASEOF
5550 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5553 # Save the log message, to keep $0 and so on meaningful, and to
5554 # report actual input values of CONFIG_FILES etc. instead of their
5555 # values after options handling.
5556 ac_log="
5557 This file was extended by $as_me, which was
5558 generated by GNU Autoconf 2.69. Invocation command line was
5560 CONFIG_FILES = $CONFIG_FILES
5561 CONFIG_HEADERS = $CONFIG_HEADERS
5562 CONFIG_LINKS = $CONFIG_LINKS
5563 CONFIG_COMMANDS = $CONFIG_COMMANDS
5564 $ $0 $@
5566 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5569 _ACEOF
5571 case $ac_config_files in *"
5572 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5573 esac
5577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5578 # Files that config.status was made for.
5579 config_files="$ac_config_files"
5581 _ACEOF
5583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5584 ac_cs_usage="\
5585 \`$as_me' instantiates files and other configuration actions
5586 from templates according to the current configuration. Unless the files
5587 and actions are specified as TAGs, all are instantiated by default.
5589 Usage: $0 [OPTION]... [TAG]...
5591 -h, --help print this help, then exit
5592 -V, --version print version number and configuration settings, then exit
5593 --config print configuration, then exit
5594 -q, --quiet, --silent
5595 do not print progress messages
5596 -d, --debug don't remove temporary files
5597 --recheck update $as_me by reconfiguring in the same conditions
5598 --file=FILE[:TEMPLATE]
5599 instantiate the configuration file FILE
5601 Configuration files:
5602 $config_files
5604 Report bugs to the package provider."
5606 _ACEOF
5607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5608 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5609 ac_cs_version="\\
5610 config.status
5611 configured by $0, generated by GNU Autoconf 2.69,
5612 with options \\"\$ac_cs_config\\"
5614 Copyright (C) 2012 Free Software Foundation, Inc.
5615 This config.status script is free software; the Free Software Foundation
5616 gives unlimited permission to copy, distribute and modify it."
5618 ac_pwd='$ac_pwd'
5619 srcdir='$srcdir'
5620 test -n "\$AWK" || AWK=awk
5621 _ACEOF
5623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5624 # The default lists apply if the user does not specify any file.
5625 ac_need_defaults=:
5626 while test $# != 0
5628 case $1 in
5629 --*=?*)
5630 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5631 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5632 ac_shift=:
5634 --*=)
5635 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5636 ac_optarg=
5637 ac_shift=:
5640 ac_option=$1
5641 ac_optarg=$2
5642 ac_shift=shift
5644 esac
5646 case $ac_option in
5647 # Handling of the options.
5648 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5649 ac_cs_recheck=: ;;
5650 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5651 $as_echo "$ac_cs_version"; exit ;;
5652 --config | --confi | --conf | --con | --co | --c )
5653 $as_echo "$ac_cs_config"; exit ;;
5654 --debug | --debu | --deb | --de | --d | -d )
5655 debug=: ;;
5656 --file | --fil | --fi | --f )
5657 $ac_shift
5658 case $ac_optarg in
5659 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5660 '') as_fn_error $? "missing file argument" ;;
5661 esac
5662 as_fn_append CONFIG_FILES " '$ac_optarg'"
5663 ac_need_defaults=false;;
5664 --he | --h | --help | --hel | -h )
5665 $as_echo "$ac_cs_usage"; exit ;;
5666 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5667 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5668 ac_cs_silent=: ;;
5670 # This is an error.
5671 -*) as_fn_error $? "unrecognized option: \`$1'
5672 Try \`$0 --help' for more information." ;;
5674 *) as_fn_append ac_config_targets " $1"
5675 ac_need_defaults=false ;;
5677 esac
5678 shift
5679 done
5681 ac_configure_extra_args=
5683 if $ac_cs_silent; then
5684 exec 6>/dev/null
5685 ac_configure_extra_args="$ac_configure_extra_args --silent"
5688 _ACEOF
5689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5690 if \$ac_cs_recheck; then
5691 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5692 shift
5693 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5694 CONFIG_SHELL='$SHELL'
5695 export CONFIG_SHELL
5696 exec "\$@"
5699 _ACEOF
5700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5701 exec 5>>config.log
5703 echo
5704 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5705 ## Running $as_me. ##
5706 _ASBOX
5707 $as_echo "$ac_log"
5708 } >&5
5710 _ACEOF
5711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5712 _ACEOF
5714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5716 # Handling of arguments.
5717 for ac_config_target in $ac_config_targets
5719 case $ac_config_target in
5720 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5722 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5723 esac
5724 done
5727 # If the user did not use the arguments to specify the items to instantiate,
5728 # then the envvar interface is used. Set only those that are not.
5729 # We use the long form for the default assignment because of an extremely
5730 # bizarre bug on SunOS 4.1.3.
5731 if $ac_need_defaults; then
5732 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5735 # Have a temporary directory for convenience. Make it in the build tree
5736 # simply because there is no reason against having it here, and in addition,
5737 # creating and moving files from /tmp can sometimes cause problems.
5738 # Hook for its removal unless debugging.
5739 # Note that there is a small window in which the directory will not be cleaned:
5740 # after its creation but before its name has been assigned to `$tmp'.
5741 $debug ||
5743 tmp= ac_tmp=
5744 trap 'exit_status=$?
5745 : "${ac_tmp:=$tmp}"
5746 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5748 trap 'as_fn_exit 1' 1 2 13 15
5750 # Create a (secure) tmp directory for tmp files.
5753 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5754 test -d "$tmp"
5755 } ||
5757 tmp=./conf$$-$RANDOM
5758 (umask 077 && mkdir "$tmp")
5759 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5760 ac_tmp=$tmp
5762 # Set up the scripts for CONFIG_FILES section.
5763 # No need to generate them if there are no CONFIG_FILES.
5764 # This happens for instance with `./config.status config.h'.
5765 if test -n "$CONFIG_FILES"; then
5768 ac_cr=`echo X | tr X '\015'`
5769 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5770 # But we know of no other shell where ac_cr would be empty at this
5771 # point, so we can use a bashism as a fallback.
5772 if test "x$ac_cr" = x; then
5773 eval ac_cr=\$\'\\r\'
5775 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5776 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5777 ac_cs_awk_cr='\\r'
5778 else
5779 ac_cs_awk_cr=$ac_cr
5782 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5783 _ACEOF
5787 echo "cat >conf$$subs.awk <<_ACEOF" &&
5788 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5789 echo "_ACEOF"
5790 } >conf$$subs.sh ||
5791 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5792 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5793 ac_delim='%!_!# '
5794 for ac_last_try in false false false false false :; do
5795 . ./conf$$subs.sh ||
5796 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5798 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5799 if test $ac_delim_n = $ac_delim_num; then
5800 break
5801 elif $ac_last_try; then
5802 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5803 else
5804 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5806 done
5807 rm -f conf$$subs.sh
5809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5810 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5811 _ACEOF
5812 sed -n '
5814 s/^/S["/; s/!.*/"]=/
5817 s/^[^!]*!//
5818 :repl
5819 t repl
5820 s/'"$ac_delim"'$//
5821 t delim
5824 s/\(.\{148\}\)..*/\1/
5825 t more1
5826 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5829 b repl
5830 :more1
5831 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5834 s/.\{148\}//
5835 t nl
5836 :delim
5838 s/\(.\{148\}\)..*/\1/
5839 t more2
5840 s/["\\]/\\&/g; s/^/"/; s/$/"/
5843 :more2
5844 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5847 s/.\{148\}//
5848 t delim
5849 ' <conf$$subs.awk | sed '
5850 /^[^""]/{
5852 s/\n//
5854 ' >>$CONFIG_STATUS || ac_write_fail=1
5855 rm -f conf$$subs.awk
5856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5857 _ACAWK
5858 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5859 for (key in S) S_is_set[key] = 1
5860 FS = "\a"
5864 line = $ 0
5865 nfields = split(line, field, "@")
5866 substed = 0
5867 len = length(field[1])
5868 for (i = 2; i < nfields; i++) {
5869 key = field[i]
5870 keylen = length(key)
5871 if (S_is_set[key]) {
5872 value = S[key]
5873 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5874 len += length(value) + length(field[++i])
5875 substed = 1
5876 } else
5877 len += 1 + keylen
5880 print line
5883 _ACAWK
5884 _ACEOF
5885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5886 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5887 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5888 else
5890 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5891 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5892 _ACEOF
5894 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5895 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5896 # trailing colons and then remove the whole line if VPATH becomes empty
5897 # (actually we leave an empty line to preserve line numbers).
5898 if test "x$srcdir" = x.; then
5899 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5901 s///
5902 s/^/:/
5903 s/[ ]*$/:/
5904 s/:\$(srcdir):/:/g
5905 s/:\${srcdir}:/:/g
5906 s/:@srcdir@:/:/g
5907 s/^:*//
5908 s/:*$//
5910 s/\(=[ ]*\).*/\1/
5912 s/\n//
5913 s/^[^=]*=[ ]*$//
5917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5918 fi # test -n "$CONFIG_FILES"
5921 eval set X " :F $CONFIG_FILES "
5922 shift
5923 for ac_tag
5925 case $ac_tag in
5926 :[FHLC]) ac_mode=$ac_tag; continue;;
5927 esac
5928 case $ac_mode$ac_tag in
5929 :[FHL]*:*);;
5930 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5931 :[FH]-) ac_tag=-:-;;
5932 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5933 esac
5934 ac_save_IFS=$IFS
5935 IFS=:
5936 set x $ac_tag
5937 IFS=$ac_save_IFS
5938 shift
5939 ac_file=$1
5940 shift
5942 case $ac_mode in
5943 :L) ac_source=$1;;
5944 :[FH])
5945 ac_file_inputs=
5946 for ac_f
5948 case $ac_f in
5949 -) ac_f="$ac_tmp/stdin";;
5950 *) # Look for the file first in the build tree, then in the source tree
5951 # (if the path is not absolute). The absolute path cannot be DOS-style,
5952 # because $ac_f cannot contain `:'.
5953 test -f "$ac_f" ||
5954 case $ac_f in
5955 [\\/$]*) false;;
5956 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5957 esac ||
5958 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5959 esac
5960 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5961 as_fn_append ac_file_inputs " '$ac_f'"
5962 done
5964 # Let's still pretend it is `configure' which instantiates (i.e., don't
5965 # use $as_me), people would be surprised to read:
5966 # /* config.h. Generated by config.status. */
5967 configure_input='Generated from '`
5968 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5969 `' by configure.'
5970 if test x"$ac_file" != x-; then
5971 configure_input="$ac_file. $configure_input"
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5973 $as_echo "$as_me: creating $ac_file" >&6;}
5975 # Neutralize special characters interpreted by sed in replacement strings.
5976 case $configure_input in #(
5977 *\&* | *\|* | *\\* )
5978 ac_sed_conf_input=`$as_echo "$configure_input" |
5979 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5980 *) ac_sed_conf_input=$configure_input;;
5981 esac
5983 case $ac_tag in
5984 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5985 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5986 esac
5988 esac
5990 ac_dir=`$as_dirname -- "$ac_file" ||
5991 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5992 X"$ac_file" : 'X\(//\)[^/]' \| \
5993 X"$ac_file" : 'X\(//\)$' \| \
5994 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5995 $as_echo X"$ac_file" |
5996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5997 s//\1/
6000 /^X\(\/\/\)[^/].*/{
6001 s//\1/
6004 /^X\(\/\/\)$/{
6005 s//\1/
6008 /^X\(\/\).*/{
6009 s//\1/
6012 s/.*/./; q'`
6013 as_dir="$ac_dir"; as_fn_mkdir_p
6014 ac_builddir=.
6016 case "$ac_dir" in
6017 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6019 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6020 # A ".." for each directory in $ac_dir_suffix.
6021 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6022 case $ac_top_builddir_sub in
6023 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6024 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6025 esac ;;
6026 esac
6027 ac_abs_top_builddir=$ac_pwd
6028 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6029 # for backward compatibility:
6030 ac_top_builddir=$ac_top_build_prefix
6032 case $srcdir in
6033 .) # We are building in place.
6034 ac_srcdir=.
6035 ac_top_srcdir=$ac_top_builddir_sub
6036 ac_abs_top_srcdir=$ac_pwd ;;
6037 [\\/]* | ?:[\\/]* ) # Absolute name.
6038 ac_srcdir=$srcdir$ac_dir_suffix;
6039 ac_top_srcdir=$srcdir
6040 ac_abs_top_srcdir=$srcdir ;;
6041 *) # Relative name.
6042 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6043 ac_top_srcdir=$ac_top_build_prefix$srcdir
6044 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6045 esac
6046 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6049 case $ac_mode in
6052 # CONFIG_FILE
6055 _ACEOF
6057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6058 # If the template does not know about datarootdir, expand it.
6059 # FIXME: This hack should be removed a few years after 2.60.
6060 ac_datarootdir_hack=; ac_datarootdir_seen=
6061 ac_sed_dataroot='
6062 /datarootdir/ {
6066 /@datadir@/p
6067 /@docdir@/p
6068 /@infodir@/p
6069 /@localedir@/p
6070 /@mandir@/p'
6071 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6072 *datarootdir*) ac_datarootdir_seen=yes;;
6073 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6075 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6076 _ACEOF
6077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6078 ac_datarootdir_hack='
6079 s&@datadir@&$datadir&g
6080 s&@docdir@&$docdir&g
6081 s&@infodir@&$infodir&g
6082 s&@localedir@&$localedir&g
6083 s&@mandir@&$mandir&g
6084 s&\\\${datarootdir}&$datarootdir&g' ;;
6085 esac
6086 _ACEOF
6088 # Neutralize VPATH when `$srcdir' = `.'.
6089 # Shell code in configure.ac might set extrasub.
6090 # FIXME: do we really want to maintain this feature?
6091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6092 ac_sed_extra="$ac_vpsub
6093 $extrasub
6094 _ACEOF
6095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6097 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6098 s|@configure_input@|$ac_sed_conf_input|;t t
6099 s&@top_builddir@&$ac_top_builddir_sub&;t t
6100 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6101 s&@srcdir@&$ac_srcdir&;t t
6102 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6103 s&@top_srcdir@&$ac_top_srcdir&;t t
6104 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6105 s&@builddir@&$ac_builddir&;t t
6106 s&@abs_builddir@&$ac_abs_builddir&;t t
6107 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6108 $ac_datarootdir_hack
6110 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6111 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6113 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6114 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6115 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6116 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6118 which seems to be undefined. Please make sure it is defined" >&5
6119 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6120 which seems to be undefined. Please make sure it is defined" >&2;}
6122 rm -f "$ac_tmp/stdin"
6123 case $ac_file in
6124 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6125 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6126 esac \
6127 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6132 esac
6134 done # for ac_tag
6137 as_fn_exit 0
6138 _ACEOF
6139 ac_clean_files=$ac_clean_files_save
6141 test $ac_write_fail = 0 ||
6142 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6145 # configure is writing to config.log, and then calls config.status.
6146 # config.status does its own redirection, appending to config.log.
6147 # Unfortunately, on DOS this fails, as config.log is still kept open
6148 # by configure, so config.status won't be able to write to it; its
6149 # output is simply discarded. So we exec the FD to /dev/null,
6150 # effectively closing config.log, so it can be properly (re)opened and
6151 # appended to by config.status. When coming back to configure, we
6152 # need to make the FD available again.
6153 if test "$no_create" != yes; then
6154 ac_cs_success=:
6155 ac_config_status_args=
6156 test "$silent" = yes &&
6157 ac_config_status_args="$ac_config_status_args --quiet"
6158 exec 5>/dev/null
6159 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6160 exec 5>>config.log
6161 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6162 # would make configure fail if this is the last instruction.
6163 $ac_cs_success || as_fn_exit 1
6165 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6167 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}