check for -Wreturn-type
[AROS.git] / config / features
blobdc59311b0e66df5cdc19d10bce3a73f470d148e3
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_cflags_return_type
588 aros_cflags_sizeof_pointer_memaccess
589 aros_cflags_volatile_register_var
590 aros_cflags_narrowing
591 aros_cflags_conversion_null
592 aros_cflags_missing_braces
593 aros_cflags_unused_local_typedefs
594 aros_cflags_overflow
595 aros_cflags_attributes
596 aros_cflags_sign_compare
597 aros_cflags_deprecated_declarations
598 aros_cflags_frame_address
599 aros_cflags_shift_overflow
600 aros_cflags_pointer_sign
601 aros_cflags_logical_not_parentheses
602 aros_cflags_bool_compare
603 aros_cflags_incompatible_pointer_types
604 aros_cflags_comment
605 aros_cflags_write_strings
606 aros_cflags_unused_const_variable
607 aros_cflags_pointer_to_int_cast
608 aros_cflags_int_to_pointer_cast
609 aros_cflags_int_conversion
610 aros_cflags_discarded_array_qualifiers
611 aros_cflags_unknown_pragmas
612 aros_cflags_sequence_point
613 aros_cflags_discarded_qualifiers
614 aros_cflags_switch
615 aros_cflags_cpp
616 aros_cflags_aggressive_loop_optimizations
617 aros_cflags_implicit_int
618 aros_cflags_format_contains_nul
619 aros_cflags_endif_labels
620 aros_cflags_char_subscripts
621 aros_cflags_parentheses
622 aros_cflags_format
623 aros_cflags_implicit_function_declaration
624 aros_cflags_maybe_uninitialized
625 aros_cflags_uninitialized
626 aros_cflags_unused_parameter
627 aros_cflags_unused_function
628 aros_cflags_unused_variable
629 aros_cflags_unused_value
630 aros_cflags_unused
631 aros_cflags_nonnull_compare
632 aros_cflags_misleading_indentation
633 aros_cflags_format_security
634 aros_cflags_strict_overflow
635 aros_cflags_strict_prototypes
636 aros_cflags_enum_compare
637 aros_cflags_array_bounds
638 aros_cflags_strict_aliasing
639 aros_cflags_unused_but_set_variable
640 aros_cflags_unknown_warning_option
641 aros_cflags_unused_command_line_argument
642 aros_cflags_iquote_end
643 aros_cflags_iquote
644 aros_cflags_loop_strip_mine
645 aros_cflags_loop_interchange
646 aros_cflags_loop_block
647 aros_cflags_lto
648 OBJEXT
649 EXEEXT
650 ac_ct_CC
651 CPPFLAGS
652 LDFLAGS
653 CFLAGS
655 target_alias
656 host_alias
657 build_alias
658 LIBS
659 ECHO_T
660 ECHO_N
661 ECHO_C
662 DEFS
663 mandir
664 localedir
665 libdir
666 psdir
667 pdfdir
668 dvidir
669 htmldir
670 infodir
671 docdir
672 oldincludedir
673 includedir
674 localstatedir
675 sharedstatedir
676 sysconfdir
677 datadir
678 datarootdir
679 libexecdir
680 sbindir
681 bindir
682 program_transform_name
683 prefix
684 exec_prefix
685 PACKAGE_URL
686 PACKAGE_BUGREPORT
687 PACKAGE_STRING
688 PACKAGE_VERSION
689 PACKAGE_TARNAME
690 PACKAGE_NAME
691 PATH_SEPARATOR
692 SHELL'
693 ac_subst_files=''
694 ac_user_opts='
695 enable_option_checking
696 with_config_dir
698 ac_precious_vars='build_alias
699 host_alias
700 target_alias
702 CFLAGS
703 LDFLAGS
704 LIBS
705 CPPFLAGS'
708 # Initialize some variables set by options.
709 ac_init_help=
710 ac_init_version=false
711 ac_unrecognized_opts=
712 ac_unrecognized_sep=
713 # The variables have the same names as the options, with
714 # dashes changed to underlines.
715 cache_file=/dev/null
716 exec_prefix=NONE
717 no_create=
718 no_recursion=
719 prefix=NONE
720 program_prefix=NONE
721 program_suffix=NONE
722 program_transform_name=s,x,x,
723 silent=
724 site=
725 srcdir=
726 verbose=
727 x_includes=NONE
728 x_libraries=NONE
730 # Installation directory options.
731 # These are left unexpanded so users can "make install exec_prefix=/foo"
732 # and all the variables that are supposed to be based on exec_prefix
733 # by default will actually change.
734 # Use braces instead of parens because sh, perl, etc. also accept them.
735 # (The list follows the same order as the GNU Coding Standards.)
736 bindir='${exec_prefix}/bin'
737 sbindir='${exec_prefix}/sbin'
738 libexecdir='${exec_prefix}/libexec'
739 datarootdir='${prefix}/share'
740 datadir='${datarootdir}'
741 sysconfdir='${prefix}/etc'
742 sharedstatedir='${prefix}/com'
743 localstatedir='${prefix}/var'
744 includedir='${prefix}/include'
745 oldincludedir='/usr/include'
746 docdir='${datarootdir}/doc/${PACKAGE}'
747 infodir='${datarootdir}/info'
748 htmldir='${docdir}'
749 dvidir='${docdir}'
750 pdfdir='${docdir}'
751 psdir='${docdir}'
752 libdir='${exec_prefix}/lib'
753 localedir='${datarootdir}/locale'
754 mandir='${datarootdir}/man'
756 ac_prev=
757 ac_dashdash=
758 for ac_option
760 # If the previous option needs an argument, assign it.
761 if test -n "$ac_prev"; then
762 eval $ac_prev=\$ac_option
763 ac_prev=
764 continue
767 case $ac_option in
768 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
769 *=) ac_optarg= ;;
770 *) ac_optarg=yes ;;
771 esac
773 # Accept the important Cygnus configure options, so we can diagnose typos.
775 case $ac_dashdash$ac_option in
777 ac_dashdash=yes ;;
779 -bindir | --bindir | --bindi | --bind | --bin | --bi)
780 ac_prev=bindir ;;
781 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
782 bindir=$ac_optarg ;;
784 -build | --build | --buil | --bui | --bu)
785 ac_prev=build_alias ;;
786 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
787 build_alias=$ac_optarg ;;
789 -cache-file | --cache-file | --cache-fil | --cache-fi \
790 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
791 ac_prev=cache_file ;;
792 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
793 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
794 cache_file=$ac_optarg ;;
796 --config-cache | -C)
797 cache_file=config.cache ;;
799 -datadir | --datadir | --datadi | --datad)
800 ac_prev=datadir ;;
801 -datadir=* | --datadir=* | --datadi=* | --datad=*)
802 datadir=$ac_optarg ;;
804 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
805 | --dataroo | --dataro | --datar)
806 ac_prev=datarootdir ;;
807 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
808 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
809 datarootdir=$ac_optarg ;;
811 -disable-* | --disable-*)
812 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
813 # Reject names that are not valid shell variable names.
814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
815 as_fn_error $? "invalid feature name: $ac_useropt"
816 ac_useropt_orig=$ac_useropt
817 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
818 case $ac_user_opts in
820 "enable_$ac_useropt"
821 "*) ;;
822 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
823 ac_unrecognized_sep=', ';;
824 esac
825 eval enable_$ac_useropt=no ;;
827 -docdir | --docdir | --docdi | --doc | --do)
828 ac_prev=docdir ;;
829 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
830 docdir=$ac_optarg ;;
832 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
833 ac_prev=dvidir ;;
834 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
835 dvidir=$ac_optarg ;;
837 -enable-* | --enable-*)
838 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
839 # Reject names that are not valid shell variable names.
840 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
841 as_fn_error $? "invalid feature name: $ac_useropt"
842 ac_useropt_orig=$ac_useropt
843 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
844 case $ac_user_opts in
846 "enable_$ac_useropt"
847 "*) ;;
848 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
849 ac_unrecognized_sep=', ';;
850 esac
851 eval enable_$ac_useropt=\$ac_optarg ;;
853 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
854 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
855 | --exec | --exe | --ex)
856 ac_prev=exec_prefix ;;
857 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
858 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
859 | --exec=* | --exe=* | --ex=*)
860 exec_prefix=$ac_optarg ;;
862 -gas | --gas | --ga | --g)
863 # Obsolete; use --with-gas.
864 with_gas=yes ;;
866 -help | --help | --hel | --he | -h)
867 ac_init_help=long ;;
868 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
869 ac_init_help=recursive ;;
870 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
871 ac_init_help=short ;;
873 -host | --host | --hos | --ho)
874 ac_prev=host_alias ;;
875 -host=* | --host=* | --hos=* | --ho=*)
876 host_alias=$ac_optarg ;;
878 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
879 ac_prev=htmldir ;;
880 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
881 | --ht=*)
882 htmldir=$ac_optarg ;;
884 -includedir | --includedir | --includedi | --included | --include \
885 | --includ | --inclu | --incl | --inc)
886 ac_prev=includedir ;;
887 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
888 | --includ=* | --inclu=* | --incl=* | --inc=*)
889 includedir=$ac_optarg ;;
891 -infodir | --infodir | --infodi | --infod | --info | --inf)
892 ac_prev=infodir ;;
893 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
894 infodir=$ac_optarg ;;
896 -libdir | --libdir | --libdi | --libd)
897 ac_prev=libdir ;;
898 -libdir=* | --libdir=* | --libdi=* | --libd=*)
899 libdir=$ac_optarg ;;
901 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
902 | --libexe | --libex | --libe)
903 ac_prev=libexecdir ;;
904 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
905 | --libexe=* | --libex=* | --libe=*)
906 libexecdir=$ac_optarg ;;
908 -localedir | --localedir | --localedi | --localed | --locale)
909 ac_prev=localedir ;;
910 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
911 localedir=$ac_optarg ;;
913 -localstatedir | --localstatedir | --localstatedi | --localstated \
914 | --localstate | --localstat | --localsta | --localst | --locals)
915 ac_prev=localstatedir ;;
916 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
917 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
918 localstatedir=$ac_optarg ;;
920 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
921 ac_prev=mandir ;;
922 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
923 mandir=$ac_optarg ;;
925 -nfp | --nfp | --nf)
926 # Obsolete; use --without-fp.
927 with_fp=no ;;
929 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
930 | --no-cr | --no-c | -n)
931 no_create=yes ;;
933 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
934 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
935 no_recursion=yes ;;
937 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
938 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
939 | --oldin | --oldi | --old | --ol | --o)
940 ac_prev=oldincludedir ;;
941 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
942 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
943 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
944 oldincludedir=$ac_optarg ;;
946 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
947 ac_prev=prefix ;;
948 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
949 prefix=$ac_optarg ;;
951 -program-prefix | --program-prefix | --program-prefi | --program-pref \
952 | --program-pre | --program-pr | --program-p)
953 ac_prev=program_prefix ;;
954 -program-prefix=* | --program-prefix=* | --program-prefi=* \
955 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
956 program_prefix=$ac_optarg ;;
958 -program-suffix | --program-suffix | --program-suffi | --program-suff \
959 | --program-suf | --program-su | --program-s)
960 ac_prev=program_suffix ;;
961 -program-suffix=* | --program-suffix=* | --program-suffi=* \
962 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
963 program_suffix=$ac_optarg ;;
965 -program-transform-name | --program-transform-name \
966 | --program-transform-nam | --program-transform-na \
967 | --program-transform-n | --program-transform- \
968 | --program-transform | --program-transfor \
969 | --program-transfo | --program-transf \
970 | --program-trans | --program-tran \
971 | --progr-tra | --program-tr | --program-t)
972 ac_prev=program_transform_name ;;
973 -program-transform-name=* | --program-transform-name=* \
974 | --program-transform-nam=* | --program-transform-na=* \
975 | --program-transform-n=* | --program-transform-=* \
976 | --program-transform=* | --program-transfor=* \
977 | --program-transfo=* | --program-transf=* \
978 | --program-trans=* | --program-tran=* \
979 | --progr-tra=* | --program-tr=* | --program-t=*)
980 program_transform_name=$ac_optarg ;;
982 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
983 ac_prev=pdfdir ;;
984 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
985 pdfdir=$ac_optarg ;;
987 -psdir | --psdir | --psdi | --psd | --ps)
988 ac_prev=psdir ;;
989 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
990 psdir=$ac_optarg ;;
992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
993 | -silent | --silent | --silen | --sile | --sil)
994 silent=yes ;;
996 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
997 ac_prev=sbindir ;;
998 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
999 | --sbi=* | --sb=*)
1000 sbindir=$ac_optarg ;;
1002 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1003 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1004 | --sharedst | --shareds | --shared | --share | --shar \
1005 | --sha | --sh)
1006 ac_prev=sharedstatedir ;;
1007 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1008 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1009 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1010 | --sha=* | --sh=*)
1011 sharedstatedir=$ac_optarg ;;
1013 -site | --site | --sit)
1014 ac_prev=site ;;
1015 -site=* | --site=* | --sit=*)
1016 site=$ac_optarg ;;
1018 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1019 ac_prev=srcdir ;;
1020 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1021 srcdir=$ac_optarg ;;
1023 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1024 | --syscon | --sysco | --sysc | --sys | --sy)
1025 ac_prev=sysconfdir ;;
1026 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1027 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1028 sysconfdir=$ac_optarg ;;
1030 -target | --target | --targe | --targ | --tar | --ta | --t)
1031 ac_prev=target_alias ;;
1032 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1033 target_alias=$ac_optarg ;;
1035 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1036 verbose=yes ;;
1038 -version | --version | --versio | --versi | --vers | -V)
1039 ac_init_version=: ;;
1041 -with-* | --with-*)
1042 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1045 as_fn_error $? "invalid package name: $ac_useropt"
1046 ac_useropt_orig=$ac_useropt
1047 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1050 "with_$ac_useropt"
1051 "*) ;;
1052 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1053 ac_unrecognized_sep=', ';;
1054 esac
1055 eval with_$ac_useropt=\$ac_optarg ;;
1057 -without-* | --without-*)
1058 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1061 as_fn_error $? "invalid package name: $ac_useropt"
1062 ac_useropt_orig=$ac_useropt
1063 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064 case $ac_user_opts in
1066 "with_$ac_useropt"
1067 "*) ;;
1068 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1069 ac_unrecognized_sep=', ';;
1070 esac
1071 eval with_$ac_useropt=no ;;
1073 --x)
1074 # Obsolete; use --with-x.
1075 with_x=yes ;;
1077 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1078 | --x-incl | --x-inc | --x-in | --x-i)
1079 ac_prev=x_includes ;;
1080 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1081 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1082 x_includes=$ac_optarg ;;
1084 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1085 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1086 ac_prev=x_libraries ;;
1087 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1088 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1089 x_libraries=$ac_optarg ;;
1091 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1092 Try \`$0 --help' for more information"
1095 *=*)
1096 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1097 # Reject names that are not valid shell variable names.
1098 case $ac_envvar in #(
1099 '' | [0-9]* | *[!_$as_cr_alnum]* )
1100 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1101 esac
1102 eval $ac_envvar=\$ac_optarg
1103 export $ac_envvar ;;
1106 # FIXME: should be removed in autoconf 3.0.
1107 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1108 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1109 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1110 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1113 esac
1114 done
1116 if test -n "$ac_prev"; then
1117 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1118 as_fn_error $? "missing argument to $ac_option"
1121 if test -n "$ac_unrecognized_opts"; then
1122 case $enable_option_checking in
1123 no) ;;
1124 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1125 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1126 esac
1129 # Check all directory arguments for consistency.
1130 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1131 datadir sysconfdir sharedstatedir localstatedir includedir \
1132 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1133 libdir localedir mandir
1135 eval ac_val=\$$ac_var
1136 # Remove trailing slashes.
1137 case $ac_val in
1138 */ )
1139 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1140 eval $ac_var=\$ac_val;;
1141 esac
1142 # Be sure to have absolute directory names.
1143 case $ac_val in
1144 [\\/$]* | ?:[\\/]* ) continue;;
1145 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1146 esac
1147 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1148 done
1150 # There might be people who depend on the old broken behavior: `$host'
1151 # used to hold the argument of --host etc.
1152 # FIXME: To remove some day.
1153 build=$build_alias
1154 host=$host_alias
1155 target=$target_alias
1157 # FIXME: To remove some day.
1158 if test "x$host_alias" != x; then
1159 if test "x$build_alias" = x; then
1160 cross_compiling=maybe
1161 elif test "x$build_alias" != "x$host_alias"; then
1162 cross_compiling=yes
1166 ac_tool_prefix=
1167 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1169 test "$silent" = yes && exec 6>/dev/null
1172 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1173 ac_ls_di=`ls -di .` &&
1174 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1175 as_fn_error $? "working directory cannot be determined"
1176 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1177 as_fn_error $? "pwd does not report name of working directory"
1180 # Find the source files, if location was not specified.
1181 if test -z "$srcdir"; then
1182 ac_srcdir_defaulted=yes
1183 # Try the directory containing this script, then the parent directory.
1184 ac_confdir=`$as_dirname -- "$as_myself" ||
1185 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1186 X"$as_myself" : 'X\(//\)[^/]' \| \
1187 X"$as_myself" : 'X\(//\)$' \| \
1188 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1189 $as_echo X"$as_myself" |
1190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1191 s//\1/
1194 /^X\(\/\/\)[^/].*/{
1195 s//\1/
1198 /^X\(\/\/\)$/{
1199 s//\1/
1202 /^X\(\/\).*/{
1203 s//\1/
1206 s/.*/./; q'`
1207 srcdir=$ac_confdir
1208 if test ! -r "$srcdir/$ac_unique_file"; then
1209 srcdir=..
1211 else
1212 ac_srcdir_defaulted=no
1214 if test ! -r "$srcdir/$ac_unique_file"; then
1215 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1216 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1218 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1219 ac_abs_confdir=`(
1220 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1221 pwd)`
1222 # When building in place, set srcdir=.
1223 if test "$ac_abs_confdir" = "$ac_pwd"; then
1224 srcdir=.
1226 # Remove unnecessary trailing slashes from srcdir.
1227 # Double slashes in file names in object file debugging info
1228 # mess up M-x gdb in Emacs.
1229 case $srcdir in
1230 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1231 esac
1232 for ac_var in $ac_precious_vars; do
1233 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1234 eval ac_env_${ac_var}_value=\$${ac_var}
1235 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1236 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1237 done
1240 # Report the --help message.
1242 if test "$ac_init_help" = "long"; then
1243 # Omit some internal or obsolete options to make the list less imposing.
1244 # This message is too long to be a string in the A/UX 3.1 sh.
1245 cat <<_ACEOF
1246 \`configure' configures this package to adapt to many kinds of systems.
1248 Usage: $0 [OPTION]... [VAR=VALUE]...
1250 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1251 VAR=VALUE. See below for descriptions of some of the useful variables.
1253 Defaults for the options are specified in brackets.
1255 Configuration:
1256 -h, --help display this help and exit
1257 --help=short display options specific to this package
1258 --help=recursive display the short help of all the included packages
1259 -V, --version display version information and exit
1260 -q, --quiet, --silent do not print \`checking ...' messages
1261 --cache-file=FILE cache test results in FILE [disabled]
1262 -C, --config-cache alias for \`--cache-file=config.cache'
1263 -n, --no-create do not create output files
1264 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1266 Installation directories:
1267 --prefix=PREFIX install architecture-independent files in PREFIX
1268 [$ac_default_prefix]
1269 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1270 [PREFIX]
1272 By default, \`make install' will install all the files in
1273 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1274 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1275 for instance \`--prefix=\$HOME'.
1277 For better control, use the options below.
1279 Fine tuning of the installation directories:
1280 --bindir=DIR user executables [EPREFIX/bin]
1281 --sbindir=DIR system admin executables [EPREFIX/sbin]
1282 --libexecdir=DIR program executables [EPREFIX/libexec]
1283 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1284 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1285 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1286 --libdir=DIR object code libraries [EPREFIX/lib]
1287 --includedir=DIR C header files [PREFIX/include]
1288 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1289 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1290 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1291 --infodir=DIR info documentation [DATAROOTDIR/info]
1292 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1293 --mandir=DIR man documentation [DATAROOTDIR/man]
1294 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1295 --htmldir=DIR html documentation [DOCDIR]
1296 --dvidir=DIR dvi documentation [DOCDIR]
1297 --pdfdir=DIR pdf documentation [DOCDIR]
1298 --psdir=DIR ps documentation [DOCDIR]
1299 _ACEOF
1301 cat <<\_ACEOF
1302 _ACEOF
1305 if test -n "$ac_init_help"; then
1307 cat <<\_ACEOF
1309 Optional Packages:
1310 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1311 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1312 --with-config-dir=VERSION
1313 Location of generated target config files
1315 Some influential environment variables:
1316 CC C compiler command
1317 CFLAGS C compiler flags
1318 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1319 nonstandard directory <lib dir>
1320 LIBS libraries to pass to the linker, e.g. -l<library>
1321 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1322 you have headers in a nonstandard directory <include dir>
1324 Use these variables to override the choices made by `configure' or to help
1325 it to find libraries and programs with nonstandard names/locations.
1327 Report bugs to the package provider.
1328 _ACEOF
1329 ac_status=$?
1332 if test "$ac_init_help" = "recursive"; then
1333 # If there are subdirs, report their specific --help.
1334 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1335 test -d "$ac_dir" ||
1336 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1337 continue
1338 ac_builddir=.
1340 case "$ac_dir" in
1341 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1343 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1344 # A ".." for each directory in $ac_dir_suffix.
1345 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1346 case $ac_top_builddir_sub in
1347 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1348 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1349 esac ;;
1350 esac
1351 ac_abs_top_builddir=$ac_pwd
1352 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1353 # for backward compatibility:
1354 ac_top_builddir=$ac_top_build_prefix
1356 case $srcdir in
1357 .) # We are building in place.
1358 ac_srcdir=.
1359 ac_top_srcdir=$ac_top_builddir_sub
1360 ac_abs_top_srcdir=$ac_pwd ;;
1361 [\\/]* | ?:[\\/]* ) # Absolute name.
1362 ac_srcdir=$srcdir$ac_dir_suffix;
1363 ac_top_srcdir=$srcdir
1364 ac_abs_top_srcdir=$srcdir ;;
1365 *) # Relative name.
1366 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1367 ac_top_srcdir=$ac_top_build_prefix$srcdir
1368 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1369 esac
1370 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1372 cd "$ac_dir" || { ac_status=$?; continue; }
1373 # Check for guested configure.
1374 if test -f "$ac_srcdir/configure.gnu"; then
1375 echo &&
1376 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1377 elif test -f "$ac_srcdir/configure"; then
1378 echo &&
1379 $SHELL "$ac_srcdir/configure" --help=recursive
1380 else
1381 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1382 fi || ac_status=$?
1383 cd "$ac_pwd" || { ac_status=$?; break; }
1384 done
1387 test -n "$ac_init_help" && exit $ac_status
1388 if $ac_init_version; then
1389 cat <<\_ACEOF
1390 configure
1391 generated by GNU Autoconf 2.69
1393 Copyright (C) 2012 Free Software Foundation, Inc.
1394 This configure script is free software; the Free Software Foundation
1395 gives unlimited permission to copy, distribute and modify it.
1396 _ACEOF
1397 exit
1400 ## ------------------------ ##
1401 ## Autoconf initialization. ##
1402 ## ------------------------ ##
1404 # ac_fn_c_try_compile LINENO
1405 # --------------------------
1406 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1407 ac_fn_c_try_compile ()
1409 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1410 rm -f conftest.$ac_objext
1411 if { { ac_try="$ac_compile"
1412 case "(($ac_try" in
1413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1414 *) ac_try_echo=$ac_try;;
1415 esac
1416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1417 $as_echo "$ac_try_echo"; } >&5
1418 (eval "$ac_compile") 2>conftest.err
1419 ac_status=$?
1420 if test -s conftest.err; then
1421 grep -v '^ *+' conftest.err >conftest.er1
1422 cat conftest.er1 >&5
1423 mv -f conftest.er1 conftest.err
1425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1426 test $ac_status = 0; } && {
1427 test -z "$ac_c_werror_flag" ||
1428 test ! -s conftest.err
1429 } && test -s conftest.$ac_objext; then :
1430 ac_retval=0
1431 else
1432 $as_echo "$as_me: failed program was:" >&5
1433 sed 's/^/| /' conftest.$ac_ext >&5
1435 ac_retval=1
1437 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1438 as_fn_set_status $ac_retval
1440 } # ac_fn_c_try_compile
1441 cat >config.log <<_ACEOF
1442 This file contains any messages produced by compilers while
1443 running configure, to aid debugging if configure makes a mistake.
1445 It was created by $as_me, which was
1446 generated by GNU Autoconf 2.69. Invocation command line was
1448 $ $0 $@
1450 _ACEOF
1451 exec 5>>config.log
1453 cat <<_ASUNAME
1454 ## --------- ##
1455 ## Platform. ##
1456 ## --------- ##
1458 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1459 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1460 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1461 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1462 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1464 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1465 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1467 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1468 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1469 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1470 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1471 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1472 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1473 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1475 _ASUNAME
1477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1478 for as_dir in $PATH
1480 IFS=$as_save_IFS
1481 test -z "$as_dir" && as_dir=.
1482 $as_echo "PATH: $as_dir"
1483 done
1484 IFS=$as_save_IFS
1486 } >&5
1488 cat >&5 <<_ACEOF
1491 ## ----------- ##
1492 ## Core tests. ##
1493 ## ----------- ##
1495 _ACEOF
1498 # Keep a trace of the command line.
1499 # Strip out --no-create and --no-recursion so they do not pile up.
1500 # Strip out --silent because we don't want to record it for future runs.
1501 # Also quote any args containing shell meta-characters.
1502 # Make two passes to allow for proper duplicate-argument suppression.
1503 ac_configure_args=
1504 ac_configure_args0=
1505 ac_configure_args1=
1506 ac_must_keep_next=false
1507 for ac_pass in 1 2
1509 for ac_arg
1511 case $ac_arg in
1512 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1513 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1514 | -silent | --silent | --silen | --sile | --sil)
1515 continue ;;
1516 *\'*)
1517 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1518 esac
1519 case $ac_pass in
1520 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1522 as_fn_append ac_configure_args1 " '$ac_arg'"
1523 if test $ac_must_keep_next = true; then
1524 ac_must_keep_next=false # Got value, back to normal.
1525 else
1526 case $ac_arg in
1527 *=* | --config-cache | -C | -disable-* | --disable-* \
1528 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1529 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1530 | -with-* | --with-* | -without-* | --without-* | --x)
1531 case "$ac_configure_args0 " in
1532 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1533 esac
1535 -* ) ac_must_keep_next=true ;;
1536 esac
1538 as_fn_append ac_configure_args " '$ac_arg'"
1540 esac
1541 done
1542 done
1543 { ac_configure_args0=; unset ac_configure_args0;}
1544 { ac_configure_args1=; unset ac_configure_args1;}
1546 # When interrupted or exit'd, cleanup temporary files, and complete
1547 # config.log. We remove comments because anyway the quotes in there
1548 # would cause problems or look ugly.
1549 # WARNING: Use '\'' to represent an apostrophe within the trap.
1550 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1551 trap 'exit_status=$?
1552 # Save into config.log some information that might help in debugging.
1554 echo
1556 $as_echo "## ---------------- ##
1557 ## Cache variables. ##
1558 ## ---------------- ##"
1559 echo
1560 # The following way of writing the cache mishandles newlines in values,
1562 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1563 eval ac_val=\$$ac_var
1564 case $ac_val in #(
1565 *${as_nl}*)
1566 case $ac_var in #(
1567 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1568 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1569 esac
1570 case $ac_var in #(
1571 _ | IFS | as_nl) ;; #(
1572 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1573 *) { eval $ac_var=; unset $ac_var;} ;;
1574 esac ;;
1575 esac
1576 done
1577 (set) 2>&1 |
1578 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1579 *${as_nl}ac_space=\ *)
1580 sed -n \
1581 "s/'\''/'\''\\\\'\'''\''/g;
1582 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1583 ;; #(
1585 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1587 esac |
1588 sort
1590 echo
1592 $as_echo "## ----------------- ##
1593 ## Output variables. ##
1594 ## ----------------- ##"
1595 echo
1596 for ac_var in $ac_subst_vars
1598 eval ac_val=\$$ac_var
1599 case $ac_val in
1600 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1601 esac
1602 $as_echo "$ac_var='\''$ac_val'\''"
1603 done | sort
1604 echo
1606 if test -n "$ac_subst_files"; then
1607 $as_echo "## ------------------- ##
1608 ## File substitutions. ##
1609 ## ------------------- ##"
1610 echo
1611 for ac_var in $ac_subst_files
1613 eval ac_val=\$$ac_var
1614 case $ac_val in
1615 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1616 esac
1617 $as_echo "$ac_var='\''$ac_val'\''"
1618 done | sort
1619 echo
1622 if test -s confdefs.h; then
1623 $as_echo "## ----------- ##
1624 ## confdefs.h. ##
1625 ## ----------- ##"
1626 echo
1627 cat confdefs.h
1628 echo
1630 test "$ac_signal" != 0 &&
1631 $as_echo "$as_me: caught signal $ac_signal"
1632 $as_echo "$as_me: exit $exit_status"
1633 } >&5
1634 rm -f core *.core core.conftest.* &&
1635 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1636 exit $exit_status
1638 for ac_signal in 1 2 13 15; do
1639 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1640 done
1641 ac_signal=0
1643 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1644 rm -f -r conftest* confdefs.h
1646 $as_echo "/* confdefs.h */" > confdefs.h
1648 # Predefined preprocessor variables.
1650 cat >>confdefs.h <<_ACEOF
1651 #define PACKAGE_NAME "$PACKAGE_NAME"
1652 _ACEOF
1654 cat >>confdefs.h <<_ACEOF
1655 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1656 _ACEOF
1658 cat >>confdefs.h <<_ACEOF
1659 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1660 _ACEOF
1662 cat >>confdefs.h <<_ACEOF
1663 #define PACKAGE_STRING "$PACKAGE_STRING"
1664 _ACEOF
1666 cat >>confdefs.h <<_ACEOF
1667 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1668 _ACEOF
1670 cat >>confdefs.h <<_ACEOF
1671 #define PACKAGE_URL "$PACKAGE_URL"
1672 _ACEOF
1675 # Let the site file select an alternate cache file if it wants to.
1676 # Prefer an explicitly selected file to automatically selected ones.
1677 ac_site_file1=NONE
1678 ac_site_file2=NONE
1679 if test -n "$CONFIG_SITE"; then
1680 # We do not want a PATH search for config.site.
1681 case $CONFIG_SITE in #((
1682 -*) ac_site_file1=./$CONFIG_SITE;;
1683 */*) ac_site_file1=$CONFIG_SITE;;
1684 *) ac_site_file1=./$CONFIG_SITE;;
1685 esac
1686 elif test "x$prefix" != xNONE; then
1687 ac_site_file1=$prefix/share/config.site
1688 ac_site_file2=$prefix/etc/config.site
1689 else
1690 ac_site_file1=$ac_default_prefix/share/config.site
1691 ac_site_file2=$ac_default_prefix/etc/config.site
1693 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1695 test "x$ac_site_file" = xNONE && continue
1696 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1698 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1699 sed 's/^/| /' "$ac_site_file" >&5
1700 . "$ac_site_file" \
1701 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1703 as_fn_error $? "failed to load site script $ac_site_file
1704 See \`config.log' for more details" "$LINENO" 5; }
1706 done
1708 if test -r "$cache_file"; then
1709 # Some versions of bash will fail to source /dev/null (special files
1710 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1711 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1713 $as_echo "$as_me: loading cache $cache_file" >&6;}
1714 case $cache_file in
1715 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1716 *) . "./$cache_file";;
1717 esac
1719 else
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1721 $as_echo "$as_me: creating cache $cache_file" >&6;}
1722 >$cache_file
1725 # Check that the precious variables saved in the cache have kept the same
1726 # value.
1727 ac_cache_corrupted=false
1728 for ac_var in $ac_precious_vars; do
1729 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1730 eval ac_new_set=\$ac_env_${ac_var}_set
1731 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1732 eval ac_new_val=\$ac_env_${ac_var}_value
1733 case $ac_old_set,$ac_new_set in
1734 set,)
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1736 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1737 ac_cache_corrupted=: ;;
1738 ,set)
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1740 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1741 ac_cache_corrupted=: ;;
1742 ,);;
1744 if test "x$ac_old_val" != "x$ac_new_val"; then
1745 # differences in whitespace do not lead to failure.
1746 ac_old_val_w=`echo x $ac_old_val`
1747 ac_new_val_w=`echo x $ac_new_val`
1748 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1750 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1751 ac_cache_corrupted=:
1752 else
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1754 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1755 eval $ac_var=\$ac_old_val
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1758 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1760 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1761 fi;;
1762 esac
1763 # Pass precious variables to config.status.
1764 if test "$ac_new_set" = set; then
1765 case $ac_new_val in
1766 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1767 *) ac_arg=$ac_var=$ac_new_val ;;
1768 esac
1769 case " $ac_configure_args " in
1770 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1771 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1772 esac
1774 done
1775 if $ac_cache_corrupted; then
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1777 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1779 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1780 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1782 ## -------------------- ##
1783 ## Main body of script. ##
1784 ## -------------------- ##
1786 ac_ext=c
1787 ac_cpp='$CPP $CPPFLAGS'
1788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1794 ac_aux_dir=
1795 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1796 if test -f "$ac_dir/install-sh"; then
1797 ac_aux_dir=$ac_dir
1798 ac_install_sh="$ac_aux_dir/install-sh -c"
1799 break
1800 elif test -f "$ac_dir/install.sh"; then
1801 ac_aux_dir=$ac_dir
1802 ac_install_sh="$ac_aux_dir/install.sh -c"
1803 break
1804 elif test -f "$ac_dir/shtool"; then
1805 ac_aux_dir=$ac_dir
1806 ac_install_sh="$ac_aux_dir/shtool install -c"
1807 break
1809 done
1810 if test -z "$ac_aux_dir"; then
1811 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1814 # These three variables are undocumented and unsupported,
1815 # and are intended to be withdrawn in a future Autoconf release.
1816 # They can cause serious problems if a builder's source tree is in a directory
1817 # whose full name contains unusual characters.
1818 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1819 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1820 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1824 AROS_BUILDDIR=`${PWDCMD-pwd}`
1825 AROS_BUILDDIR_UNIX=${PWD}
1827 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1828 SRCDIR=${srcpwd}
1830 NOLINKFLAGS="-nostdlib -nostartfiles"
1831 LDFLAGS=$NOLINKFLAGS
1832 # The first step is to find the binaries.
1833 ac_ext=c
1834 ac_cpp='$CPP $CPPFLAGS'
1835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1838 if test -n "$ac_tool_prefix"; then
1839 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1840 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1842 $as_echo_n "checking for $ac_word... " >&6; }
1843 if ${ac_cv_prog_CC+:} false; then :
1844 $as_echo_n "(cached) " >&6
1845 else
1846 if test -n "$CC"; then
1847 ac_cv_prog_CC="$CC" # Let the user override the test.
1848 else
1849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1850 for as_dir in $PATH
1852 IFS=$as_save_IFS
1853 test -z "$as_dir" && as_dir=.
1854 for ac_exec_ext in '' $ac_executable_extensions; do
1855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1856 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1858 break 2
1860 done
1861 done
1862 IFS=$as_save_IFS
1866 CC=$ac_cv_prog_CC
1867 if test -n "$CC"; then
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1869 $as_echo "$CC" >&6; }
1870 else
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1872 $as_echo "no" >&6; }
1877 if test -z "$ac_cv_prog_CC"; then
1878 ac_ct_CC=$CC
1879 # Extract the first word of "gcc", so it can be a program name with args.
1880 set dummy gcc; ac_word=$2
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1882 $as_echo_n "checking for $ac_word... " >&6; }
1883 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1884 $as_echo_n "(cached) " >&6
1885 else
1886 if test -n "$ac_ct_CC"; then
1887 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1888 else
1889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1890 for as_dir in $PATH
1892 IFS=$as_save_IFS
1893 test -z "$as_dir" && as_dir=.
1894 for ac_exec_ext in '' $ac_executable_extensions; do
1895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1896 ac_cv_prog_ac_ct_CC="gcc"
1897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1898 break 2
1900 done
1901 done
1902 IFS=$as_save_IFS
1906 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1907 if test -n "$ac_ct_CC"; then
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1909 $as_echo "$ac_ct_CC" >&6; }
1910 else
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1912 $as_echo "no" >&6; }
1915 if test "x$ac_ct_CC" = x; then
1916 CC=""
1917 else
1918 case $cross_compiling:$ac_tool_warned in
1919 yes:)
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1922 ac_tool_warned=yes ;;
1923 esac
1924 CC=$ac_ct_CC
1926 else
1927 CC="$ac_cv_prog_CC"
1930 if test -z "$CC"; then
1931 if test -n "$ac_tool_prefix"; then
1932 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1933 set dummy ${ac_tool_prefix}cc; ac_word=$2
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1935 $as_echo_n "checking for $ac_word... " >&6; }
1936 if ${ac_cv_prog_CC+:} false; then :
1937 $as_echo_n "(cached) " >&6
1938 else
1939 if test -n "$CC"; then
1940 ac_cv_prog_CC="$CC" # Let the user override the test.
1941 else
1942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1943 for as_dir in $PATH
1945 IFS=$as_save_IFS
1946 test -z "$as_dir" && as_dir=.
1947 for ac_exec_ext in '' $ac_executable_extensions; do
1948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1949 ac_cv_prog_CC="${ac_tool_prefix}cc"
1950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1951 break 2
1953 done
1954 done
1955 IFS=$as_save_IFS
1959 CC=$ac_cv_prog_CC
1960 if test -n "$CC"; then
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1962 $as_echo "$CC" >&6; }
1963 else
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1965 $as_echo "no" >&6; }
1971 if test -z "$CC"; then
1972 # Extract the first word of "cc", so it can be a program name with args.
1973 set dummy cc; ac_word=$2
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1975 $as_echo_n "checking for $ac_word... " >&6; }
1976 if ${ac_cv_prog_CC+:} false; then :
1977 $as_echo_n "(cached) " >&6
1978 else
1979 if test -n "$CC"; then
1980 ac_cv_prog_CC="$CC" # Let the user override the test.
1981 else
1982 ac_prog_rejected=no
1983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1984 for as_dir in $PATH
1986 IFS=$as_save_IFS
1987 test -z "$as_dir" && as_dir=.
1988 for ac_exec_ext in '' $ac_executable_extensions; do
1989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1990 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1991 ac_prog_rejected=yes
1992 continue
1994 ac_cv_prog_CC="cc"
1995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1996 break 2
1998 done
1999 done
2000 IFS=$as_save_IFS
2002 if test $ac_prog_rejected = yes; then
2003 # We found a bogon in the path, so make sure we never use it.
2004 set dummy $ac_cv_prog_CC
2005 shift
2006 if test $# != 0; then
2007 # We chose a different compiler from the bogus one.
2008 # However, it has the same basename, so the bogon will be chosen
2009 # first if we set CC to just the basename; use the full file name.
2010 shift
2011 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2016 CC=$ac_cv_prog_CC
2017 if test -n "$CC"; then
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2019 $as_echo "$CC" >&6; }
2020 else
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2022 $as_echo "no" >&6; }
2027 if test -z "$CC"; then
2028 if test -n "$ac_tool_prefix"; then
2029 for ac_prog in cl.exe
2031 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2032 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2034 $as_echo_n "checking for $ac_word... " >&6; }
2035 if ${ac_cv_prog_CC+:} false; then :
2036 $as_echo_n "(cached) " >&6
2037 else
2038 if test -n "$CC"; then
2039 ac_cv_prog_CC="$CC" # Let the user override the test.
2040 else
2041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2042 for as_dir in $PATH
2044 IFS=$as_save_IFS
2045 test -z "$as_dir" && as_dir=.
2046 for ac_exec_ext in '' $ac_executable_extensions; do
2047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2048 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2050 break 2
2052 done
2053 done
2054 IFS=$as_save_IFS
2058 CC=$ac_cv_prog_CC
2059 if test -n "$CC"; then
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2061 $as_echo "$CC" >&6; }
2062 else
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2064 $as_echo "no" >&6; }
2068 test -n "$CC" && break
2069 done
2071 if test -z "$CC"; then
2072 ac_ct_CC=$CC
2073 for ac_prog in cl.exe
2075 # Extract the first word of "$ac_prog", so it can be a program name with args.
2076 set dummy $ac_prog; ac_word=$2
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2078 $as_echo_n "checking for $ac_word... " >&6; }
2079 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2080 $as_echo_n "(cached) " >&6
2081 else
2082 if test -n "$ac_ct_CC"; then
2083 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2084 else
2085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2086 for as_dir in $PATH
2088 IFS=$as_save_IFS
2089 test -z "$as_dir" && as_dir=.
2090 for ac_exec_ext in '' $ac_executable_extensions; do
2091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2092 ac_cv_prog_ac_ct_CC="$ac_prog"
2093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2094 break 2
2096 done
2097 done
2098 IFS=$as_save_IFS
2102 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2103 if test -n "$ac_ct_CC"; then
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2105 $as_echo "$ac_ct_CC" >&6; }
2106 else
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2108 $as_echo "no" >&6; }
2112 test -n "$ac_ct_CC" && break
2113 done
2115 if test "x$ac_ct_CC" = x; then
2116 CC=""
2117 else
2118 case $cross_compiling:$ac_tool_warned in
2119 yes:)
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2122 ac_tool_warned=yes ;;
2123 esac
2124 CC=$ac_ct_CC
2131 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2133 as_fn_error $? "no acceptable C compiler found in \$PATH
2134 See \`config.log' for more details" "$LINENO" 5; }
2136 # Provide some information about the compiler.
2137 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2138 set X $ac_compile
2139 ac_compiler=$2
2140 for ac_option in --version -v -V -qversion; do
2141 { { ac_try="$ac_compiler $ac_option >&5"
2142 case "(($ac_try" in
2143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2144 *) ac_try_echo=$ac_try;;
2145 esac
2146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2147 $as_echo "$ac_try_echo"; } >&5
2148 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2149 ac_status=$?
2150 if test -s conftest.err; then
2151 sed '10a\
2152 ... rest of stderr output deleted ...
2153 10q' conftest.err >conftest.er1
2154 cat conftest.er1 >&5
2156 rm -f conftest.er1 conftest.err
2157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2158 test $ac_status = 0; }
2159 done
2161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2162 /* end confdefs.h. */
2165 main ()
2169 return 0;
2171 _ACEOF
2172 ac_clean_files_save=$ac_clean_files
2173 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2174 # Try to create an executable without -o first, disregard a.out.
2175 # It will help us diagnose broken compilers, and finding out an intuition
2176 # of exeext.
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2178 $as_echo_n "checking whether the C compiler works... " >&6; }
2179 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2181 # The possible output files:
2182 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2184 ac_rmfiles=
2185 for ac_file in $ac_files
2187 case $ac_file in
2188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2189 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2190 esac
2191 done
2192 rm -f $ac_rmfiles
2194 if { { ac_try="$ac_link_default"
2195 case "(($ac_try" in
2196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2197 *) ac_try_echo=$ac_try;;
2198 esac
2199 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2200 $as_echo "$ac_try_echo"; } >&5
2201 (eval "$ac_link_default") 2>&5
2202 ac_status=$?
2203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2204 test $ac_status = 0; }; then :
2205 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2206 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2207 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2208 # so that the user can short-circuit this test for compilers unknown to
2209 # Autoconf.
2210 for ac_file in $ac_files ''
2212 test -f "$ac_file" || continue
2213 case $ac_file in
2214 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2216 [ab].out )
2217 # We found the default executable, but exeext='' is most
2218 # certainly right.
2219 break;;
2220 *.* )
2221 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2222 then :; else
2223 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2225 # We set ac_cv_exeext here because the later test for it is not
2226 # safe: cross compilers may not add the suffix if given an `-o'
2227 # argument, so we may need to know it at that point already.
2228 # Even if this section looks crufty: it has the advantage of
2229 # actually working.
2230 break;;
2232 break;;
2233 esac
2234 done
2235 test "$ac_cv_exeext" = no && ac_cv_exeext=
2237 else
2238 ac_file=''
2240 if test -z "$ac_file"; then :
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2242 $as_echo "no" >&6; }
2243 $as_echo "$as_me: failed program was:" >&5
2244 sed 's/^/| /' conftest.$ac_ext >&5
2246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2248 as_fn_error 77 "C compiler cannot create executables
2249 See \`config.log' for more details" "$LINENO" 5; }
2250 else
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2252 $as_echo "yes" >&6; }
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2255 $as_echo_n "checking for C compiler default output file name... " >&6; }
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2257 $as_echo "$ac_file" >&6; }
2258 ac_exeext=$ac_cv_exeext
2260 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2261 ac_clean_files=$ac_clean_files_save
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2263 $as_echo_n "checking for suffix of executables... " >&6; }
2264 if { { ac_try="$ac_link"
2265 case "(($ac_try" in
2266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2267 *) ac_try_echo=$ac_try;;
2268 esac
2269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2270 $as_echo "$ac_try_echo"; } >&5
2271 (eval "$ac_link") 2>&5
2272 ac_status=$?
2273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2274 test $ac_status = 0; }; then :
2275 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2276 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2277 # work properly (i.e., refer to `conftest.exe'), while it won't with
2278 # `rm'.
2279 for ac_file in conftest.exe conftest conftest.*; do
2280 test -f "$ac_file" || continue
2281 case $ac_file in
2282 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2283 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2284 break;;
2285 * ) break;;
2286 esac
2287 done
2288 else
2289 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2291 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2292 See \`config.log' for more details" "$LINENO" 5; }
2294 rm -f conftest conftest$ac_cv_exeext
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2296 $as_echo "$ac_cv_exeext" >&6; }
2298 rm -f conftest.$ac_ext
2299 EXEEXT=$ac_cv_exeext
2300 ac_exeext=$EXEEXT
2301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2302 /* end confdefs.h. */
2303 #include <stdio.h>
2305 main ()
2307 FILE *f = fopen ("conftest.out", "w");
2308 return ferror (f) || fclose (f) != 0;
2311 return 0;
2313 _ACEOF
2314 ac_clean_files="$ac_clean_files conftest.out"
2315 # Check that the compiler produces executables we can run. If not, either
2316 # the compiler is broken, or we cross compile.
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2318 $as_echo_n "checking whether we are cross compiling... " >&6; }
2319 if test "$cross_compiling" != yes; then
2320 { { ac_try="$ac_link"
2321 case "(($ac_try" in
2322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2323 *) ac_try_echo=$ac_try;;
2324 esac
2325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2326 $as_echo "$ac_try_echo"; } >&5
2327 (eval "$ac_link") 2>&5
2328 ac_status=$?
2329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2330 test $ac_status = 0; }
2331 if { ac_try='./conftest$ac_cv_exeext'
2332 { { case "(($ac_try" in
2333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2334 *) ac_try_echo=$ac_try;;
2335 esac
2336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2337 $as_echo "$ac_try_echo"; } >&5
2338 (eval "$ac_try") 2>&5
2339 ac_status=$?
2340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2341 test $ac_status = 0; }; }; then
2342 cross_compiling=no
2343 else
2344 if test "$cross_compiling" = maybe; then
2345 cross_compiling=yes
2346 else
2347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2349 as_fn_error $? "cannot run C compiled programs.
2350 If you meant to cross compile, use \`--host'.
2351 See \`config.log' for more details" "$LINENO" 5; }
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2356 $as_echo "$cross_compiling" >&6; }
2358 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2359 ac_clean_files=$ac_clean_files_save
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2361 $as_echo_n "checking for suffix of object files... " >&6; }
2362 if ${ac_cv_objext+:} false; then :
2363 $as_echo_n "(cached) " >&6
2364 else
2365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2366 /* end confdefs.h. */
2369 main ()
2373 return 0;
2375 _ACEOF
2376 rm -f conftest.o conftest.obj
2377 if { { ac_try="$ac_compile"
2378 case "(($ac_try" in
2379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2380 *) ac_try_echo=$ac_try;;
2381 esac
2382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2383 $as_echo "$ac_try_echo"; } >&5
2384 (eval "$ac_compile") 2>&5
2385 ac_status=$?
2386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2387 test $ac_status = 0; }; then :
2388 for ac_file in conftest.o conftest.obj conftest.*; do
2389 test -f "$ac_file" || continue;
2390 case $ac_file in
2391 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2392 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2393 break;;
2394 esac
2395 done
2396 else
2397 $as_echo "$as_me: failed program was:" >&5
2398 sed 's/^/| /' conftest.$ac_ext >&5
2400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2402 as_fn_error $? "cannot compute suffix of object files: cannot compile
2403 See \`config.log' for more details" "$LINENO" 5; }
2405 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2408 $as_echo "$ac_cv_objext" >&6; }
2409 OBJEXT=$ac_cv_objext
2410 ac_objext=$OBJEXT
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2412 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2413 if ${ac_cv_c_compiler_gnu+:} false; then :
2414 $as_echo_n "(cached) " >&6
2415 else
2416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2417 /* end confdefs.h. */
2420 main ()
2422 #ifndef __GNUC__
2423 choke me
2424 #endif
2427 return 0;
2429 _ACEOF
2430 if ac_fn_c_try_compile "$LINENO"; then :
2431 ac_compiler_gnu=yes
2432 else
2433 ac_compiler_gnu=no
2435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2436 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2440 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2441 if test $ac_compiler_gnu = yes; then
2442 GCC=yes
2443 else
2444 GCC=
2446 ac_test_CFLAGS=${CFLAGS+set}
2447 ac_save_CFLAGS=$CFLAGS
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2449 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2450 if ${ac_cv_prog_cc_g+:} false; then :
2451 $as_echo_n "(cached) " >&6
2452 else
2453 ac_save_c_werror_flag=$ac_c_werror_flag
2454 ac_c_werror_flag=yes
2455 ac_cv_prog_cc_g=no
2456 CFLAGS="-g"
2457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2458 /* end confdefs.h. */
2461 main ()
2465 return 0;
2467 _ACEOF
2468 if ac_fn_c_try_compile "$LINENO"; then :
2469 ac_cv_prog_cc_g=yes
2470 else
2471 CFLAGS=""
2472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2473 /* end confdefs.h. */
2476 main ()
2480 return 0;
2482 _ACEOF
2483 if ac_fn_c_try_compile "$LINENO"; then :
2485 else
2486 ac_c_werror_flag=$ac_save_c_werror_flag
2487 CFLAGS="-g"
2488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2489 /* end confdefs.h. */
2492 main ()
2496 return 0;
2498 _ACEOF
2499 if ac_fn_c_try_compile "$LINENO"; then :
2500 ac_cv_prog_cc_g=yes
2502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 ac_c_werror_flag=$ac_save_c_werror_flag
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2510 $as_echo "$ac_cv_prog_cc_g" >&6; }
2511 if test "$ac_test_CFLAGS" = set; then
2512 CFLAGS=$ac_save_CFLAGS
2513 elif test $ac_cv_prog_cc_g = yes; then
2514 if test "$GCC" = yes; then
2515 CFLAGS="-g -O2"
2516 else
2517 CFLAGS="-g"
2519 else
2520 if test "$GCC" = yes; then
2521 CFLAGS="-O2"
2522 else
2523 CFLAGS=
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2527 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2528 if ${ac_cv_prog_cc_c89+:} false; then :
2529 $as_echo_n "(cached) " >&6
2530 else
2531 ac_cv_prog_cc_c89=no
2532 ac_save_CC=$CC
2533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2534 /* end confdefs.h. */
2535 #include <stdarg.h>
2536 #include <stdio.h>
2537 struct stat;
2538 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2539 struct buf { int x; };
2540 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2541 static char *e (p, i)
2542 char **p;
2543 int i;
2545 return p[i];
2547 static char *f (char * (*g) (char **, int), char **p, ...)
2549 char *s;
2550 va_list v;
2551 va_start (v,p);
2552 s = g (p, va_arg (v,int));
2553 va_end (v);
2554 return s;
2557 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2558 function prototypes and stuff, but not '\xHH' hex character constants.
2559 These don't provoke an error unfortunately, instead are silently treated
2560 as 'x'. The following induces an error, until -std is added to get
2561 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2562 array size at least. It's necessary to write '\x00'==0 to get something
2563 that's true only with -std. */
2564 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2566 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2567 inside strings and character constants. */
2568 #define FOO(x) 'x'
2569 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2571 int test (int i, double x);
2572 struct s1 {int (*f) (int a);};
2573 struct s2 {int (*f) (double a);};
2574 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2575 int argc;
2576 char **argv;
2578 main ()
2580 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2582 return 0;
2584 _ACEOF
2585 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2586 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2588 CC="$ac_save_CC $ac_arg"
2589 if ac_fn_c_try_compile "$LINENO"; then :
2590 ac_cv_prog_cc_c89=$ac_arg
2592 rm -f core conftest.err conftest.$ac_objext
2593 test "x$ac_cv_prog_cc_c89" != "xno" && break
2594 done
2595 rm -f conftest.$ac_ext
2596 CC=$ac_save_CC
2599 # AC_CACHE_VAL
2600 case "x$ac_cv_prog_cc_c89" in
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2603 $as_echo "none needed" >&6; } ;;
2604 xno)
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2606 $as_echo "unsupported" >&6; } ;;
2608 CC="$CC $ac_cv_prog_cc_c89"
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2610 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2611 esac
2612 if test "x$ac_cv_prog_cc_c89" != xno; then :
2616 ac_ext=c
2617 ac_cpp='$CPP $CPPFLAGS'
2618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2624 $as_echo_n "checking target config location... " >&6; }
2626 # Check whether --with-config-dir was given.
2627 if test "${with_config_dir+set}" = set; then :
2628 withval=$with_config_dir; targetcfg_dir="$withval"
2629 else
2630 targetcfg_dir=""
2633 if test "$targetcfg_dir" = ""; then
2634 as_fn_error $? "missing config directory!" "$LINENO" 5
2635 else
2636 aros_targetcfg_dir="$targetcfg_dir"
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2639 $as_echo "$aros_targetcfg_dir" >&6; }
2641 #-----------------------------------------------------------------------------
2643 # Check if the target compiler supports some features:
2644 # -flto
2645 # -floop-block
2646 # -floop-interchange
2647 # -floop-strip-mine
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2650 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2651 CFLAGS=-flto
2653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2654 /* end confdefs.h. */
2657 main ()
2661 return 0;
2663 _ACEOF
2664 if ac_fn_c_try_compile "$LINENO"; then :
2665 aros_lto="yes"
2666 else
2667 aros_lto="no"
2669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2671 $as_echo "$aros_lto" >&6; }
2672 if test "x-$aros_lto" = "x-yes" ; then
2673 aros_cflags_lto=-flto
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2677 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2678 CFLAGS=-floop-block
2679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2680 /* end confdefs.h. */
2683 main ()
2687 return 0;
2689 _ACEOF
2690 if ac_fn_c_try_compile "$LINENO"; then :
2691 aros_loop_block="yes"
2692 else
2693 aros_loop_block="no"
2695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2697 $as_echo "$aros_loop_block" >&6; }
2698 if test "x-$aros_loop_block" = "x-yes" ; then
2699 aros_cflags_loop_block=-floop-block
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2703 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2704 CFLAGS=-floop-interchange
2705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2706 /* end confdefs.h. */
2709 main ()
2713 return 0;
2715 _ACEOF
2716 if ac_fn_c_try_compile "$LINENO"; then :
2717 aros_loop_interchange="yes"
2718 else
2719 aros_loop_interchange="no"
2721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2723 $as_echo "$aros_loop_interchange" >&6; }
2724 if test "x-$aros_loop_interchange" = "x-yes" ; then
2725 aros_cflags_loop_interchange=-floop-interchange
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2729 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2730 CFLAGS=-floop-strip-mine
2731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2732 /* end confdefs.h. */
2735 main ()
2739 return 0;
2741 _ACEOF
2742 if ac_fn_c_try_compile "$LINENO"; then :
2743 aros_loop_strip_mine="yes"
2744 else
2745 aros_loop_strip_mine="no"
2747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2749 $as_echo "$aros_loop_strip_mine" >&6; }
2750 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2751 aros_cflags_loop_strip_mine=-floop-strip-mine
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
2755 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
2756 CFLAGS="-iquote."
2757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2758 /* end confdefs.h. */
2761 main ()
2765 return 0;
2767 _ACEOF
2768 if ac_fn_c_try_compile "$LINENO"; then :
2769 has_iquote="yes"
2770 else
2771 has_iquote="no"
2773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
2775 $as_echo "$has_iquote" >&6; }
2776 if test "x-$has_iquote" = "x-yes" ; then
2777 aros_cflags_iquote=-iquote
2778 aros_cflags_iquote_end=
2779 else
2780 aros_cflags_iquote=-I
2781 aros_cflags_iquote_end=-I-
2784 #-----------------------------------------------------------------------------
2786 # Check if the target compiler supports some options used for de-linting:
2787 # -Wunused-command-line-argument
2788 # -Wunknown-warning-option
2789 # -Wunused-but-set-variable
2790 # -Wstrict-aliasing
2791 # -Warray-bounds
2792 # -Wenum-compare
2793 # -Wstrict-prototypes
2794 # -Wstrict-overflow
2795 # -Wformat-security
2796 # -Wmisleading-indentation
2797 # -Wnonnull-compare
2798 # -Wunused
2799 # -Wunused-value
2800 # -Wunused-variable
2801 # -Wunused-function
2802 # -Wunused-parameter
2803 # -Wuninitialized
2804 # -Wmaybe-uninitialized
2805 # -Wimplicit-function-declaration
2806 # -Wformat
2807 # -Wparentheses
2808 # -Wchar-subscripts
2809 # -Wendif-labels
2810 # -Wformat-contains-nul
2811 # -Wimplicit-int
2812 # -Waggressive-loop-optimizations
2813 # -Wcpp
2814 # -Wswitch
2815 # -Wdiscarded-qualifiers
2816 # -Wsequence-point
2817 # -Wunknown-pragmas
2818 # -Wdiscarded-array-qualifiers
2819 # -Wint-conversion
2820 # -Wint-to-pointer-cast
2821 # -Wpointer-to-int-cast
2822 # -Wunused-const-variable
2823 # -Wwrite-strings
2824 # -Wcomment
2825 # -Wincompatible-pointer-types
2826 # -Wbool-compare
2827 # -Wlogical-not-parentheses
2828 # -Wpointer-sign
2829 # -Wshift-overflow
2830 # -Wframe-address
2831 # -Wdeprecated-declarations
2832 # -Wsign-compare
2833 # -Wattributes
2834 # -Woverflow
2835 # -Wunused-local-typedefs
2836 # -Wmissing-braces
2837 # -Wconversion-null
2838 # -Wnarrowing
2839 # -Wvolatile-register-var
2840 # -Wsizeof-pointer-memaccess
2841 # -Wreturn-type
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
2844 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
2845 CFLAGS=-Wunused-command-line-argument
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_unused_command_line_argument="yes"
2859 else
2860 aros_unused_command_line_argument="no"
2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
2864 $as_echo "$aros_unused_command_line_argument" >&6; }
2865 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
2866 aros_cflags_unused_command_line_argument=-Wno-unused-command-line-argument
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
2870 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
2871 CFLAGS=-Wunknown-warning-option
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_unknown_warning_option="yes"
2885 else
2886 aros_unknown_warning_option="no"
2888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
2890 $as_echo "$aros_unknown_warning_option" >&6; }
2891 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
2892 aros_cflags_unknown_warning_option=-Wno-unknown-warning-option
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
2896 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
2897 CFLAGS=-Wunused-but-set-variable
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_unused_but_set_variable="yes"
2911 else
2912 aros_unused_but_set_variable="no"
2914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
2916 $as_echo "$aros_unused_but_set_variable" >&6; }
2917 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
2918 aros_cflags_unused_but_set_variable=-Wno-unused-but-set-variable
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
2922 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
2923 CFLAGS=-Wstrict-aliasing
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_strict_aliasing="yes"
2937 else
2938 aros_strict_aliasing="no"
2940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
2942 $as_echo "$aros_strict_aliasing" >&6; }
2943 if test "x-$aros_strict_aliasing" = "x-yes" ; then
2944 aros_cflags_strict_aliasing=-Wno-strict-aliasing
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
2948 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
2949 CFLAGS=-Warray-bounds
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_array_bounds="yes"
2963 else
2964 aros_array_bounds="no"
2966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
2968 $as_echo "$aros_array_bounds" >&6; }
2969 if test "x-$aros_array_bounds" = "x-yes" ; then
2970 aros_cflags_array_bounds=-Wno-array-bounds
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
2974 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
2975 CFLAGS=-Wenum-compare
2976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2977 /* end confdefs.h. */
2980 main ()
2984 return 0;
2986 _ACEOF
2987 if ac_fn_c_try_compile "$LINENO"; then :
2988 aros_enum_compare="yes"
2989 else
2990 aros_enum_compare="no"
2992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
2994 $as_echo "$aros_enum_compare" >&6; }
2995 if test "x-$aros_enum_compare" = "x-yes" ; then
2996 aros_cflags_enum_compare=-Wno-enum-compare
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3000 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3001 CFLAGS=-Wstrict-prototypes
3002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3006 main ()
3010 return 0;
3012 _ACEOF
3013 if ac_fn_c_try_compile "$LINENO"; then :
3014 aros_strict_prototypes="yes"
3015 else
3016 aros_strict_prototypes="no"
3018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3020 $as_echo "$aros_strict_prototypes" >&6; }
3021 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3022 aros_cflags_strict_prototypes=-Wno-strict-prototypes
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3026 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3027 CFLAGS=-Wstrict-overflow
3028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3029 /* end confdefs.h. */
3032 main ()
3036 return 0;
3038 _ACEOF
3039 if ac_fn_c_try_compile "$LINENO"; then :
3040 aros_strict_overflow="yes"
3041 else
3042 aros_strict_overflow="no"
3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3046 $as_echo "$aros_strict_overflow" >&6; }
3047 if test "x-$aros_strict_overflow" = "x-yes" ; then
3048 aros_cflags_strict_overflow=-Wno-strict-overflow
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3052 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3053 CFLAGS=-Wformat-security
3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3058 main ()
3062 return 0;
3064 _ACEOF
3065 if ac_fn_c_try_compile "$LINENO"; then :
3066 aros_format_security="yes"
3067 else
3068 aros_format_security="no"
3070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3072 $as_echo "$aros_format_security" >&6; }
3073 if test "x-$aros_format_security" = "x-yes" ; then
3074 aros_cflags_format_security=-Wno-format-security
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3078 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3079 CFLAGS=-Wmisleading-indentation
3080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3081 /* end confdefs.h. */
3084 main ()
3088 return 0;
3090 _ACEOF
3091 if ac_fn_c_try_compile "$LINENO"; then :
3092 aros_misleading_indentation="yes"
3093 else
3094 aros_misleading_indentation="no"
3096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3098 $as_echo "$aros_misleading_indentation" >&6; }
3099 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3100 aros_cflags_misleading_indentation=-Wno-misleading-indentation
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3104 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3105 CFLAGS=-Wnonnull-compare
3106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3107 /* end confdefs.h. */
3110 main ()
3114 return 0;
3116 _ACEOF
3117 if ac_fn_c_try_compile "$LINENO"; then :
3118 aros_nonnull_compare="yes"
3119 else
3120 aros_nonnull_compare="no"
3122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3124 $as_echo "$aros_nonnull_compare" >&6; }
3125 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3126 aros_cflags_nonnull_compare=-Wno-nonnull-compare
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3130 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3131 CFLAGS=-Wunused
3132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3136 main ()
3140 return 0;
3142 _ACEOF
3143 if ac_fn_c_try_compile "$LINENO"; then :
3144 aros_unused="yes"
3145 else
3146 aros_unused="no"
3148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3150 $as_echo "$aros_unused" >&6; }
3151 if test "x-$aros_unused" = "x-yes" ; then
3152 aros_cflags_unused=-Wno-unused
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3156 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3157 CFLAGS=-Wunused-value
3158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h. */
3162 main ()
3166 return 0;
3168 _ACEOF
3169 if ac_fn_c_try_compile "$LINENO"; then :
3170 aros_unused_value="yes"
3171 else
3172 aros_unused_value="no"
3174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3176 $as_echo "$aros_unused_value" >&6; }
3177 if test "x-$aros_unused_value" = "x-yes" ; then
3178 aros_cflags_unused_value=-Wno-unused-value
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3182 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3183 CFLAGS=-Wunused-variable
3184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3185 /* end confdefs.h. */
3188 main ()
3192 return 0;
3194 _ACEOF
3195 if ac_fn_c_try_compile "$LINENO"; then :
3196 aros_unused_variable="yes"
3197 else
3198 aros_unused_variable="no"
3200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3202 $as_echo "$aros_unused_variable" >&6; }
3203 if test "x-$aros_unused_variable" = "x-yes" ; then
3204 aros_cflags_unused_variable=-Wno-unused-variable
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3208 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3209 CFLAGS=-Wunused-function
3210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3211 /* end confdefs.h. */
3214 main ()
3218 return 0;
3220 _ACEOF
3221 if ac_fn_c_try_compile "$LINENO"; then :
3222 aros_unused_function="yes"
3223 else
3224 aros_unused_function="no"
3226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3228 $as_echo "$aros_unused_function" >&6; }
3229 if test "x-$aros_unused_function" = "x-yes" ; then
3230 aros_cflags_unused_function=-Wno-unused-function
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3234 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3235 CFLAGS=-Wunused-parameter
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_parameter="yes"
3249 else
3250 aros_unused_parameter="no"
3252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3254 $as_echo "$aros_unused_parameter" >&6; }
3255 if test "x-$aros_unused_parameter" = "x-yes" ; then
3256 aros_cflags_unused_parameter=-Wno-unused-parameter
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3260 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3261 CFLAGS=-Wuninitialized
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3266 main ()
3270 return 0;
3272 _ACEOF
3273 if ac_fn_c_try_compile "$LINENO"; then :
3274 aros_uninitialized="yes"
3275 else
3276 aros_uninitialized="no"
3278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3280 $as_echo "$aros_uninitialized" >&6; }
3281 if test "x-$aros_uninitialized" = "x-yes" ; then
3282 aros_cflags_uninitialized=-Wno-uninitialized
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3286 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3287 CFLAGS=-Wmaybe-uninitialized
3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3292 main ()
3296 return 0;
3298 _ACEOF
3299 if ac_fn_c_try_compile "$LINENO"; then :
3300 aros_maybe_uninitialized="yes"
3301 else
3302 aros_maybe_uninitialized="no"
3304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3306 $as_echo "$aros_maybe_uninitialized" >&6; }
3307 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3308 aros_cflags_maybe_uninitialized=-Wno-maybe-uninitialized
3309 else
3310 aros_cflags_maybe_uninitialized=$aros_cflags_uninitialized
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3314 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3315 CFLAGS=-Wimplicit-function-declaration
3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3320 main ()
3324 return 0;
3326 _ACEOF
3327 if ac_fn_c_try_compile "$LINENO"; then :
3328 aros_implicit_function_declaration="yes"
3329 else
3330 aros_implicit_function_declaration="no"
3332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3334 $as_echo "$aros_implicit_function_declaration" >&6; }
3335 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3336 aros_cflags_implicit_function_declaration=-Wno-implicit-function-declaration
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3340 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3341 CFLAGS=-Wformat
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3346 main ()
3350 return 0;
3352 _ACEOF
3353 if ac_fn_c_try_compile "$LINENO"; then :
3354 aros_format="yes"
3355 else
3356 aros_format="no"
3358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3360 $as_echo "$aros_format" >&6; }
3361 if test "x-$aros_format" = "x-yes" ; then
3362 aros_cflags_format=-Wno-format
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3366 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3367 CFLAGS=-Wparentheses
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3372 main ()
3376 return 0;
3378 _ACEOF
3379 if ac_fn_c_try_compile "$LINENO"; then :
3380 aros_parentheses="yes"
3381 else
3382 aros_parentheses="no"
3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3386 $as_echo "$aros_parentheses" >&6; }
3387 if test "x-$aros_parentheses" = "x-yes" ; then
3388 aros_cflags_parentheses=-Wno-parentheses
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3392 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3393 CFLAGS=-Wchar-subscripts
3394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3395 /* end confdefs.h. */
3398 main ()
3402 return 0;
3404 _ACEOF
3405 if ac_fn_c_try_compile "$LINENO"; then :
3406 aros_char_subscripts="yes"
3407 else
3408 aros_char_subscripts="no"
3410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3412 $as_echo "$aros_char_subscripts" >&6; }
3413 if test "x-$aros_char_subscripts" = "x-yes" ; then
3414 aros_cflags_char_subscripts=-Wno-char-subscripts
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3418 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3419 CFLAGS=-Wendif-labels
3420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3421 /* end confdefs.h. */
3424 main ()
3428 return 0;
3430 _ACEOF
3431 if ac_fn_c_try_compile "$LINENO"; then :
3432 aros_endif_labels="yes"
3433 else
3434 aros_endif_labels="no"
3436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3438 $as_echo "$aros_endif_labels" >&6; }
3439 if test "x-$aros_endif_labels" = "x-yes" ; then
3440 aros_cflags_endif_labels=-Wno-endif-labels
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3444 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3445 CFLAGS=-Wformat-contains-nul
3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447 /* end confdefs.h. */
3450 main ()
3454 return 0;
3456 _ACEOF
3457 if ac_fn_c_try_compile "$LINENO"; then :
3458 aros_format_contains_nul="yes"
3459 else
3460 aros_format_contains_nul="no"
3462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3464 $as_echo "$aros_format_contains_nul" >&6; }
3465 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3466 aros_cflags_format_contains_nul=-Wno-format-contains-nul
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3470 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3471 CFLAGS=-Wimplicit-int
3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473 /* end confdefs.h. */
3476 main ()
3480 return 0;
3482 _ACEOF
3483 if ac_fn_c_try_compile "$LINENO"; then :
3484 aros_implicit_int="yes"
3485 else
3486 aros_implicit_int="no"
3488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3490 $as_echo "$aros_implicit_int" >&6; }
3491 if test "x-$aros_implicit_int" = "x-yes" ; then
3492 aros_cflags_implicit_int=-Wno-implicit-int
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3496 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3497 CFLAGS=-Waggressive-loop-optimizations
3498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3499 /* end confdefs.h. */
3502 main ()
3506 return 0;
3508 _ACEOF
3509 if ac_fn_c_try_compile "$LINENO"; then :
3510 aros_aggressive_loop_optimizations="yes"
3511 else
3512 aros_aggressive_loop_optimizations="no"
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3516 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3517 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3518 aros_cflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3522 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3523 CFLAGS=-Wcpp
3524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3525 /* end confdefs.h. */
3528 main ()
3532 return 0;
3534 _ACEOF
3535 if ac_fn_c_try_compile "$LINENO"; then :
3536 aros_cpp="yes"
3537 else
3538 aros_cpp="no"
3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3542 $as_echo "$aros_cpp" >&6; }
3543 if test "x-$aros_cpp" = "x-yes" ; then
3544 aros_cflags_cpp=-Wno-cpp
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3548 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3549 CFLAGS=-Wswitch
3550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551 /* end confdefs.h. */
3554 main ()
3558 return 0;
3560 _ACEOF
3561 if ac_fn_c_try_compile "$LINENO"; then :
3562 aros_switch="yes"
3563 else
3564 aros_switch="no"
3566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3568 $as_echo "$aros_switch" >&6; }
3569 if test "x-$aros_switch" = "x-yes" ; then
3570 aros_cflags_switch=-Wno-switch
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3574 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3575 CFLAGS=-Wdiscarded-qualifiers
3576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3577 /* end confdefs.h. */
3580 main ()
3584 return 0;
3586 _ACEOF
3587 if ac_fn_c_try_compile "$LINENO"; then :
3588 aros_discarded_qualifiers="yes"
3589 else
3590 aros_discarded_qualifiers="no"
3592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3594 $as_echo "$aros_discarded_qualifiers" >&6; }
3595 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3596 aros_cflags_discarded_qualifiers=-Wno-discarded-qualifiers
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3600 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3601 CFLAGS=-Wsequence-point
3602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3603 /* end confdefs.h. */
3606 main ()
3610 return 0;
3612 _ACEOF
3613 if ac_fn_c_try_compile "$LINENO"; then :
3614 aros_sequence_point="yes"
3615 else
3616 aros_sequence_point="no"
3618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3620 $as_echo "$aros_sequence_point" >&6; }
3621 if test "x-$aros_sequence_point" = "x-yes" ; then
3622 aros_cflags_sequence_point=-Wno-sequence-point
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3626 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3627 CFLAGS=-Wunknown-pragmas
3628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629 /* end confdefs.h. */
3632 main ()
3636 return 0;
3638 _ACEOF
3639 if ac_fn_c_try_compile "$LINENO"; then :
3640 aros_unknown_pragmas="yes"
3641 else
3642 aros_unknown_pragmas="no"
3644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3646 $as_echo "$aros_unknown_pragmas" >&6; }
3647 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3648 aros_cflags_unknown_pragmas=-Wno-unknown-pragmas
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3652 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3653 CFLAGS=-Wdiscarded-array-qualifiers
3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h. */
3658 main ()
3662 return 0;
3664 _ACEOF
3665 if ac_fn_c_try_compile "$LINENO"; then :
3666 aros_discarded_array_qualifiers="yes"
3667 else
3668 aros_discarded_array_qualifiers="no"
3670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3672 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3673 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3674 aros_cflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3678 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3679 CFLAGS=-Wint-conversion
3680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3681 /* end confdefs.h. */
3684 main ()
3688 return 0;
3690 _ACEOF
3691 if ac_fn_c_try_compile "$LINENO"; then :
3692 aros_int_conversion="yes"
3693 else
3694 aros_int_conversion="no"
3696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3698 $as_echo "$aros_int_conversion" >&6; }
3699 if test "x-$aros_int_conversion" = "x-yes" ; then
3700 aros_cflags_int_conversion=-Wno-int-conversion
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3704 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3705 CFLAGS=-Wint-to-pointer-cast
3706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707 /* end confdefs.h. */
3710 main ()
3714 return 0;
3716 _ACEOF
3717 if ac_fn_c_try_compile "$LINENO"; then :
3718 aros_int_to_pointer_cast="yes"
3719 else
3720 aros_int_to_pointer_cast="no"
3722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3724 $as_echo "$aros_int_to_pointer_cast" >&6; }
3725 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3726 aros_cflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
3730 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
3731 CFLAGS=-Wpointer-to-int-cast
3732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h. */
3736 main ()
3740 return 0;
3742 _ACEOF
3743 if ac_fn_c_try_compile "$LINENO"; then :
3744 aros_pointer_to_int_cast="yes"
3745 else
3746 aros_pointer_to_int_cast="no"
3748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
3750 $as_echo "$aros_pointer_to_int_cast" >&6; }
3751 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
3752 aros_cflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
3756 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
3757 CFLAGS=-Wunused-const-variable
3758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3759 /* end confdefs.h. */
3762 main ()
3766 return 0;
3768 _ACEOF
3769 if ac_fn_c_try_compile "$LINENO"; then :
3770 aros_unused_const_variable="yes"
3771 else
3772 aros_unused_const_variable="no"
3774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
3776 $as_echo "$aros_unused_const_variable" >&6; }
3777 if test "x-$aros_unused_const_variable" = "x-yes" ; then
3778 aros_cflags_unused_const_variable=-Wno-unused-const-variable
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
3782 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
3783 CFLAGS=-Wwrite-strings
3784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3785 /* end confdefs.h. */
3788 main ()
3792 return 0;
3794 _ACEOF
3795 if ac_fn_c_try_compile "$LINENO"; then :
3796 aros_write_strings="yes"
3797 else
3798 aros_write_strings="no"
3800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
3802 $as_echo "$aros_write_strings" >&6; }
3803 if test "x-$aros_write_strings" = "x-yes" ; then
3804 aros_cflags_write_strings=-Wno-write-strings
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
3808 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
3809 CFLAGS=-Wcomment
3810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3811 /* end confdefs.h. */
3814 main ()
3818 return 0;
3820 _ACEOF
3821 if ac_fn_c_try_compile "$LINENO"; then :
3822 aros_comment="yes"
3823 else
3824 aros_comment="no"
3826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
3828 $as_echo "$aros_comment" >&6; }
3829 if test "x-$aros_comment" = "x-yes" ; then
3830 aros_cflags_comment=-Wno-comment
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
3834 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
3835 CFLAGS=-Wincompatible-pointer-types
3836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3837 /* end confdefs.h. */
3840 main ()
3844 return 0;
3846 _ACEOF
3847 if ac_fn_c_try_compile "$LINENO"; then :
3848 aros_incompatible_pointer_types="yes"
3849 else
3850 aros_incompatible_pointer_types="no"
3852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
3854 $as_echo "$aros_incompatible_pointer_types" >&6; }
3855 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
3856 aros_cflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
3860 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
3861 CFLAGS=-Wbool-compare
3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863 /* end confdefs.h. */
3866 main ()
3870 return 0;
3872 _ACEOF
3873 if ac_fn_c_try_compile "$LINENO"; then :
3874 aros_bool_compare="yes"
3875 else
3876 aros_bool_compare="no"
3878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
3880 $as_echo "$aros_bool_compare" >&6; }
3881 if test "x-$aros_bool_compare" = "x-yes" ; then
3882 aros_cflags_bool_compare=-Wno-bool-compare
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
3886 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
3887 CFLAGS=-Wlogical-not-parentheses
3888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3889 /* end confdefs.h. */
3892 main ()
3896 return 0;
3898 _ACEOF
3899 if ac_fn_c_try_compile "$LINENO"; then :
3900 aros_logical_not_parentheses="yes"
3901 else
3902 aros_logical_not_parentheses="no"
3904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
3906 $as_echo "$aros_logical_not_parentheses" >&6; }
3907 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
3908 aros_cflags_logical_not_parentheses=-Wno-logical-not-parentheses
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
3912 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
3913 CFLAGS=-Wpointer-sign
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_pointer_sign="yes"
3927 else
3928 aros_pointer_sign="no"
3930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
3932 $as_echo "$aros_pointer_sign" >&6; }
3933 if test "x-$aros_pointer_sign" = "x-yes" ; then
3934 aros_cflags_pointer_sign=-Wno-pointer-sign
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
3938 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
3939 CFLAGS=-Wshift-overflow
3940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3941 /* end confdefs.h. */
3944 main ()
3948 return 0;
3950 _ACEOF
3951 if ac_fn_c_try_compile "$LINENO"; then :
3952 aros_shift_overflow="yes"
3953 else
3954 aros_shift_overflow="no"
3956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
3958 $as_echo "$aros_shift_overflow" >&6; }
3959 if test "x-$aros_shift_overflow" = "x-yes" ; then
3960 aros_cflags_shift_overflow=-Wno-shift-overflow
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
3964 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
3965 CFLAGS=-Wframe-address
3966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3970 main ()
3974 return 0;
3976 _ACEOF
3977 if ac_fn_c_try_compile "$LINENO"; then :
3978 aros_frame_address="yes"
3979 else
3980 aros_frame_address="no"
3982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
3984 $as_echo "$aros_frame_address" >&6; }
3985 if test "x-$aros_frame_address" = "x-yes" ; then
3986 aros_cflags_frame_address=-Wno-frame-address
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
3990 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
3991 CFLAGS=-Wdeprecated-declarations
3992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3993 /* end confdefs.h. */
3996 main ()
4000 return 0;
4002 _ACEOF
4003 if ac_fn_c_try_compile "$LINENO"; then :
4004 aros_deprecated_declarations="yes"
4005 else
4006 aros_deprecated_declarations="no"
4008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4010 $as_echo "$aros_deprecated_declarations" >&6; }
4011 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4012 aros_cflags_deprecated_declarations=-Wno-deprecated-declarations
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4016 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4017 CFLAGS=-Wsign-compare
4018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4019 /* end confdefs.h. */
4022 main ()
4026 return 0;
4028 _ACEOF
4029 if ac_fn_c_try_compile "$LINENO"; then :
4030 aros_sign_compare="yes"
4031 else
4032 aros_sign_compare="no"
4034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4036 $as_echo "$aros_sign_compare" >&6; }
4037 if test "x-$aros_sign_compare" = "x-yes" ; then
4038 aros_cflags_sign_compare=-Wno-sign-compare
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4042 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4043 CFLAGS=-Wattributes
4044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4045 /* end confdefs.h. */
4048 main ()
4052 return 0;
4054 _ACEOF
4055 if ac_fn_c_try_compile "$LINENO"; then :
4056 aros_attributes="yes"
4057 else
4058 aros_attributes="no"
4060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4062 $as_echo "$aros_attributes" >&6; }
4063 if test "x-$aros_attributes" = "x-yes" ; then
4064 aros_cflags_attributes=-Wno-attributes
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4068 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4069 CFLAGS=-Woverflow
4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4074 main ()
4078 return 0;
4080 _ACEOF
4081 if ac_fn_c_try_compile "$LINENO"; then :
4082 aros_overflow="yes"
4083 else
4084 aros_overflow="no"
4086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4088 $as_echo "$aros_overflow" >&6; }
4089 if test "x-$aros_overflow" = "x-yes" ; then
4090 aros_cflags_overflow=-Wno-overflow
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4094 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4095 CFLAGS=-Wunused-local-typedefs
4096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4100 main ()
4104 return 0;
4106 _ACEOF
4107 if ac_fn_c_try_compile "$LINENO"; then :
4108 aros_unused_local_typedefs="yes"
4109 else
4110 aros_unused_local_typedefs="no"
4112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4114 $as_echo "$aros_unused_local_typedefs" >&6; }
4115 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4116 aros_cflags_unused_local_typedefs=-Wno-unused-local-typedefs
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4120 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4121 CFLAGS=-Wmissing-braces
4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4126 main ()
4130 return 0;
4132 _ACEOF
4133 if ac_fn_c_try_compile "$LINENO"; then :
4134 aros_missing_braces="yes"
4135 else
4136 aros_missing_braces="no"
4138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4140 $as_echo "$aros_missing_braces" >&6; }
4141 if test "x-$aros_missing_braces" = "x-yes" ; then
4142 aros_cflags_missing_braces=-Wno-missing-braces
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4146 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4147 CFLAGS=-Wconversion-null
4148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4149 /* end confdefs.h. */
4152 main ()
4156 return 0;
4158 _ACEOF
4159 if ac_fn_c_try_compile "$LINENO"; then :
4160 aros_conversion_null="yes"
4161 else
4162 aros_conversion_null="no"
4164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4166 $as_echo "$aros_conversion_null" >&6; }
4167 if test "x-$aros_conversion_null" = "x-yes" ; then
4168 aros_cflags_conversion_null=-Wno-conversion-null
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4172 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4173 CFLAGS=-Wnarrowing
4174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h. */
4178 main ()
4182 return 0;
4184 _ACEOF
4185 if ac_fn_c_try_compile "$LINENO"; then :
4186 aros_narrowing="yes"
4187 else
4188 aros_narrowing="no"
4190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4192 $as_echo "$aros_narrowing" >&6; }
4193 if test "x-$aros_narrowing" = "x-yes" ; then
4194 aros_cflags_narrowing=-Wno-narrowing
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4198 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4199 CFLAGS=-Wvolatile-register-var
4200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h. */
4204 main ()
4208 return 0;
4210 _ACEOF
4211 if ac_fn_c_try_compile "$LINENO"; then :
4212 aros_volatile_register_var="yes"
4213 else
4214 aros_volatile_register_var="no"
4216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4218 $as_echo "$aros_volatile_register_var" >&6; }
4219 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4220 aros_cflags_volatile_register_var=-Wno-volatile-register-var
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4224 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4225 CFLAGS=-Wsizeof-pointer-memaccess
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4230 main ()
4234 return 0;
4236 _ACEOF
4237 if ac_fn_c_try_compile "$LINENO"; then :
4238 aros_sizeof_pointer_memaccess="yes"
4239 else
4240 aros_sizeof_pointer_memaccess="no"
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4244 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4245 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4246 aros_cflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4250 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4251 CFLAGS=-Wreturn-type
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4256 main ()
4260 return 0;
4262 _ACEOF
4263 if ac_fn_c_try_compile "$LINENO"; then :
4264 aros_return_type="yes"
4265 else
4266 aros_return_type="no"
4268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4270 $as_echo "$aros_return_type" >&6; }
4271 if test "x-$aros_return_type" = "x-yes" ; then
4272 aros_cflags_return_type=-Wno-return-type
4339 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
4342 cat >confcache <<\_ACEOF
4343 # This file is a shell script that caches the results of configure
4344 # tests run on this system so they can be shared between configure
4345 # scripts and configure runs, see configure's option --config-cache.
4346 # It is not useful on other systems. If it contains results you don't
4347 # want to keep, you may remove or edit it.
4349 # config.status only pays attention to the cache file if you give it
4350 # the --recheck option to rerun configure.
4352 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4353 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4354 # following values.
4356 _ACEOF
4358 # The following way of writing the cache mishandles newlines in values,
4359 # but we know of no workaround that is simple, portable, and efficient.
4360 # So, we kill variables containing newlines.
4361 # Ultrix sh set writes to stderr and can't be redirected directly,
4362 # and sets the high bit in the cache file unless we assign to the vars.
4364 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4365 eval ac_val=\$$ac_var
4366 case $ac_val in #(
4367 *${as_nl}*)
4368 case $ac_var in #(
4369 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4370 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4371 esac
4372 case $ac_var in #(
4373 _ | IFS | as_nl) ;; #(
4374 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4375 *) { eval $ac_var=; unset $ac_var;} ;;
4376 esac ;;
4377 esac
4378 done
4380 (set) 2>&1 |
4381 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4382 *${as_nl}ac_space=\ *)
4383 # `set' does not quote correctly, so add quotes: double-quote
4384 # substitution turns \\\\ into \\, and sed turns \\ into \.
4385 sed -n \
4386 "s/'/'\\\\''/g;
4387 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4388 ;; #(
4390 # `set' quotes correctly as required by POSIX, so do not add quotes.
4391 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4393 esac |
4394 sort
4396 sed '
4397 /^ac_cv_env_/b end
4398 t clear
4399 :clear
4400 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4401 t end
4402 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4403 :end' >>confcache
4404 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4405 if test -w "$cache_file"; then
4406 if test "x$cache_file" != "x/dev/null"; then
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4408 $as_echo "$as_me: updating cache $cache_file" >&6;}
4409 if test ! -f "$cache_file" || test -h "$cache_file"; then
4410 cat confcache >"$cache_file"
4411 else
4412 case $cache_file in #(
4413 */* | ?:*)
4414 mv -f confcache "$cache_file"$$ &&
4415 mv -f "$cache_file"$$ "$cache_file" ;; #(
4417 mv -f confcache "$cache_file" ;;
4418 esac
4421 else
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4423 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4426 rm -f confcache
4428 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4429 # Let make expand exec_prefix.
4430 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4432 # Transform confdefs.h into DEFS.
4433 # Protect against shell expansion while executing Makefile rules.
4434 # Protect against Makefile macro expansion.
4436 # If the first sed substitution is executed (which looks for macros that
4437 # take arguments), then branch to the quote section. Otherwise,
4438 # look for a macro that doesn't take arguments.
4439 ac_script='
4440 :mline
4441 /\\$/{
4443 s,\\\n,,
4444 b mline
4446 t clear
4447 :clear
4448 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4449 t quote
4450 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4451 t quote
4452 b any
4453 :quote
4454 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4455 s/\[/\\&/g
4456 s/\]/\\&/g
4457 s/\$/$$/g
4459 :any
4462 s/^\n//
4463 s/\n/ /g
4467 DEFS=`sed -n "$ac_script" confdefs.h`
4470 ac_libobjs=
4471 ac_ltlibobjs=
4473 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4474 # 1. Remove the extension, and $U if already installed.
4475 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4476 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4477 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4478 # will be set to the directory where LIBOBJS objects are built.
4479 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4480 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4481 done
4482 LIBOBJS=$ac_libobjs
4484 LTLIBOBJS=$ac_ltlibobjs
4488 : "${CONFIG_STATUS=./config.status}"
4489 ac_write_fail=0
4490 ac_clean_files_save=$ac_clean_files
4491 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4493 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4494 as_write_fail=0
4495 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4496 #! $SHELL
4497 # Generated by $as_me.
4498 # Run this file to recreate the current configuration.
4499 # Compiler output produced by configure, useful for debugging
4500 # configure, is in config.log if it exists.
4502 debug=false
4503 ac_cs_recheck=false
4504 ac_cs_silent=false
4506 SHELL=\${CONFIG_SHELL-$SHELL}
4507 export SHELL
4508 _ASEOF
4509 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4510 ## -------------------- ##
4511 ## M4sh Initialization. ##
4512 ## -------------------- ##
4514 # Be more Bourne compatible
4515 DUALCASE=1; export DUALCASE # for MKS sh
4516 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4517 emulate sh
4518 NULLCMD=:
4519 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4520 # is contrary to our usage. Disable this feature.
4521 alias -g '${1+"$@"}'='"$@"'
4522 setopt NO_GLOB_SUBST
4523 else
4524 case `(set -o) 2>/dev/null` in #(
4525 *posix*) :
4526 set -o posix ;; #(
4527 *) :
4529 esac
4533 as_nl='
4535 export as_nl
4536 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4537 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4538 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4539 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4540 # Prefer a ksh shell builtin over an external printf program on Solaris,
4541 # but without wasting forks for bash or zsh.
4542 if test -z "$BASH_VERSION$ZSH_VERSION" \
4543 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4544 as_echo='print -r --'
4545 as_echo_n='print -rn --'
4546 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4547 as_echo='printf %s\n'
4548 as_echo_n='printf %s'
4549 else
4550 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4551 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4552 as_echo_n='/usr/ucb/echo -n'
4553 else
4554 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4555 as_echo_n_body='eval
4556 arg=$1;
4557 case $arg in #(
4558 *"$as_nl"*)
4559 expr "X$arg" : "X\\(.*\\)$as_nl";
4560 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4561 esac;
4562 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4564 export as_echo_n_body
4565 as_echo_n='sh -c $as_echo_n_body as_echo'
4567 export as_echo_body
4568 as_echo='sh -c $as_echo_body as_echo'
4571 # The user is always right.
4572 if test "${PATH_SEPARATOR+set}" != set; then
4573 PATH_SEPARATOR=:
4574 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4575 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4576 PATH_SEPARATOR=';'
4581 # IFS
4582 # We need space, tab and new line, in precisely that order. Quoting is
4583 # there to prevent editors from complaining about space-tab.
4584 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4585 # splitting by setting IFS to empty value.)
4586 IFS=" "" $as_nl"
4588 # Find who we are. Look in the path if we contain no directory separator.
4589 as_myself=
4590 case $0 in #((
4591 *[\\/]* ) as_myself=$0 ;;
4592 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4593 for as_dir in $PATH
4595 IFS=$as_save_IFS
4596 test -z "$as_dir" && as_dir=.
4597 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4598 done
4599 IFS=$as_save_IFS
4602 esac
4603 # We did not find ourselves, most probably we were run as `sh COMMAND'
4604 # in which case we are not to be found in the path.
4605 if test "x$as_myself" = x; then
4606 as_myself=$0
4608 if test ! -f "$as_myself"; then
4609 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4610 exit 1
4613 # Unset variables that we do not need and which cause bugs (e.g. in
4614 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4615 # suppresses any "Segmentation fault" message there. '((' could
4616 # trigger a bug in pdksh 5.2.14.
4617 for as_var in BASH_ENV ENV MAIL MAILPATH
4618 do eval test x\${$as_var+set} = xset \
4619 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4620 done
4621 PS1='$ '
4622 PS2='> '
4623 PS4='+ '
4625 # NLS nuisances.
4626 LC_ALL=C
4627 export LC_ALL
4628 LANGUAGE=C
4629 export LANGUAGE
4631 # CDPATH.
4632 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4635 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4636 # ----------------------------------------
4637 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4638 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4639 # script with STATUS, using 1 if that was 0.
4640 as_fn_error ()
4642 as_status=$1; test $as_status -eq 0 && as_status=1
4643 if test "$4"; then
4644 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4645 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4647 $as_echo "$as_me: error: $2" >&2
4648 as_fn_exit $as_status
4649 } # as_fn_error
4652 # as_fn_set_status STATUS
4653 # -----------------------
4654 # Set $? to STATUS, without forking.
4655 as_fn_set_status ()
4657 return $1
4658 } # as_fn_set_status
4660 # as_fn_exit STATUS
4661 # -----------------
4662 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4663 as_fn_exit ()
4665 set +e
4666 as_fn_set_status $1
4667 exit $1
4668 } # as_fn_exit
4670 # as_fn_unset VAR
4671 # ---------------
4672 # Portably unset VAR.
4673 as_fn_unset ()
4675 { eval $1=; unset $1;}
4677 as_unset=as_fn_unset
4678 # as_fn_append VAR VALUE
4679 # ----------------------
4680 # Append the text in VALUE to the end of the definition contained in VAR. Take
4681 # advantage of any shell optimizations that allow amortized linear growth over
4682 # repeated appends, instead of the typical quadratic growth present in naive
4683 # implementations.
4684 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4685 eval 'as_fn_append ()
4687 eval $1+=\$2
4689 else
4690 as_fn_append ()
4692 eval $1=\$$1\$2
4694 fi # as_fn_append
4696 # as_fn_arith ARG...
4697 # ------------------
4698 # Perform arithmetic evaluation on the ARGs, and store the result in the
4699 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4700 # must be portable across $(()) and expr.
4701 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4702 eval 'as_fn_arith ()
4704 as_val=$(( $* ))
4706 else
4707 as_fn_arith ()
4709 as_val=`expr "$@" || test $? -eq 1`
4711 fi # as_fn_arith
4714 if expr a : '\(a\)' >/dev/null 2>&1 &&
4715 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4716 as_expr=expr
4717 else
4718 as_expr=false
4721 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4722 as_basename=basename
4723 else
4724 as_basename=false
4727 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4728 as_dirname=dirname
4729 else
4730 as_dirname=false
4733 as_me=`$as_basename -- "$0" ||
4734 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4735 X"$0" : 'X\(//\)$' \| \
4736 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4737 $as_echo X/"$0" |
4738 sed '/^.*\/\([^/][^/]*\)\/*$/{
4739 s//\1/
4742 /^X\/\(\/\/\)$/{
4743 s//\1/
4746 /^X\/\(\/\).*/{
4747 s//\1/
4750 s/.*/./; q'`
4752 # Avoid depending upon Character Ranges.
4753 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4754 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4755 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4756 as_cr_digits='0123456789'
4757 as_cr_alnum=$as_cr_Letters$as_cr_digits
4759 ECHO_C= ECHO_N= ECHO_T=
4760 case `echo -n x` in #(((((
4761 -n*)
4762 case `echo 'xy\c'` in
4763 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4764 xy) ECHO_C='\c';;
4765 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4766 ECHO_T=' ';;
4767 esac;;
4769 ECHO_N='-n';;
4770 esac
4772 rm -f conf$$ conf$$.exe conf$$.file
4773 if test -d conf$$.dir; then
4774 rm -f conf$$.dir/conf$$.file
4775 else
4776 rm -f conf$$.dir
4777 mkdir conf$$.dir 2>/dev/null
4779 if (echo >conf$$.file) 2>/dev/null; then
4780 if ln -s conf$$.file conf$$ 2>/dev/null; then
4781 as_ln_s='ln -s'
4782 # ... but there are two gotchas:
4783 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4784 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4785 # In both cases, we have to default to `cp -pR'.
4786 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4787 as_ln_s='cp -pR'
4788 elif ln conf$$.file conf$$ 2>/dev/null; then
4789 as_ln_s=ln
4790 else
4791 as_ln_s='cp -pR'
4793 else
4794 as_ln_s='cp -pR'
4796 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4797 rmdir conf$$.dir 2>/dev/null
4800 # as_fn_mkdir_p
4801 # -------------
4802 # Create "$as_dir" as a directory, including parents if necessary.
4803 as_fn_mkdir_p ()
4806 case $as_dir in #(
4807 -*) as_dir=./$as_dir;;
4808 esac
4809 test -d "$as_dir" || eval $as_mkdir_p || {
4810 as_dirs=
4811 while :; do
4812 case $as_dir in #(
4813 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4814 *) as_qdir=$as_dir;;
4815 esac
4816 as_dirs="'$as_qdir' $as_dirs"
4817 as_dir=`$as_dirname -- "$as_dir" ||
4818 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4819 X"$as_dir" : 'X\(//\)[^/]' \| \
4820 X"$as_dir" : 'X\(//\)$' \| \
4821 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4822 $as_echo X"$as_dir" |
4823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4824 s//\1/
4827 /^X\(\/\/\)[^/].*/{
4828 s//\1/
4831 /^X\(\/\/\)$/{
4832 s//\1/
4835 /^X\(\/\).*/{
4836 s//\1/
4839 s/.*/./; q'`
4840 test -d "$as_dir" && break
4841 done
4842 test -z "$as_dirs" || eval "mkdir $as_dirs"
4843 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4846 } # as_fn_mkdir_p
4847 if mkdir -p . 2>/dev/null; then
4848 as_mkdir_p='mkdir -p "$as_dir"'
4849 else
4850 test -d ./-p && rmdir ./-p
4851 as_mkdir_p=false
4855 # as_fn_executable_p FILE
4856 # -----------------------
4857 # Test if FILE is an executable regular file.
4858 as_fn_executable_p ()
4860 test -f "$1" && test -x "$1"
4861 } # as_fn_executable_p
4862 as_test_x='test -x'
4863 as_executable_p=as_fn_executable_p
4865 # Sed expression to map a string onto a valid CPP name.
4866 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4868 # Sed expression to map a string onto a valid variable name.
4869 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4872 exec 6>&1
4873 ## ----------------------------------- ##
4874 ## Main body of $CONFIG_STATUS script. ##
4875 ## ----------------------------------- ##
4876 _ASEOF
4877 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4880 # Save the log message, to keep $0 and so on meaningful, and to
4881 # report actual input values of CONFIG_FILES etc. instead of their
4882 # values after options handling.
4883 ac_log="
4884 This file was extended by $as_me, which was
4885 generated by GNU Autoconf 2.69. Invocation command line was
4887 CONFIG_FILES = $CONFIG_FILES
4888 CONFIG_HEADERS = $CONFIG_HEADERS
4889 CONFIG_LINKS = $CONFIG_LINKS
4890 CONFIG_COMMANDS = $CONFIG_COMMANDS
4891 $ $0 $@
4893 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4896 _ACEOF
4898 case $ac_config_files in *"
4899 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4900 esac
4904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4905 # Files that config.status was made for.
4906 config_files="$ac_config_files"
4908 _ACEOF
4910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4911 ac_cs_usage="\
4912 \`$as_me' instantiates files and other configuration actions
4913 from templates according to the current configuration. Unless the files
4914 and actions are specified as TAGs, all are instantiated by default.
4916 Usage: $0 [OPTION]... [TAG]...
4918 -h, --help print this help, then exit
4919 -V, --version print version number and configuration settings, then exit
4920 --config print configuration, then exit
4921 -q, --quiet, --silent
4922 do not print progress messages
4923 -d, --debug don't remove temporary files
4924 --recheck update $as_me by reconfiguring in the same conditions
4925 --file=FILE[:TEMPLATE]
4926 instantiate the configuration file FILE
4928 Configuration files:
4929 $config_files
4931 Report bugs to the package provider."
4933 _ACEOF
4934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4935 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4936 ac_cs_version="\\
4937 config.status
4938 configured by $0, generated by GNU Autoconf 2.69,
4939 with options \\"\$ac_cs_config\\"
4941 Copyright (C) 2012 Free Software Foundation, Inc.
4942 This config.status script is free software; the Free Software Foundation
4943 gives unlimited permission to copy, distribute and modify it."
4945 ac_pwd='$ac_pwd'
4946 srcdir='$srcdir'
4947 test -n "\$AWK" || AWK=awk
4948 _ACEOF
4950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4951 # The default lists apply if the user does not specify any file.
4952 ac_need_defaults=:
4953 while test $# != 0
4955 case $1 in
4956 --*=?*)
4957 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4958 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4959 ac_shift=:
4961 --*=)
4962 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4963 ac_optarg=
4964 ac_shift=:
4967 ac_option=$1
4968 ac_optarg=$2
4969 ac_shift=shift
4971 esac
4973 case $ac_option in
4974 # Handling of the options.
4975 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4976 ac_cs_recheck=: ;;
4977 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4978 $as_echo "$ac_cs_version"; exit ;;
4979 --config | --confi | --conf | --con | --co | --c )
4980 $as_echo "$ac_cs_config"; exit ;;
4981 --debug | --debu | --deb | --de | --d | -d )
4982 debug=: ;;
4983 --file | --fil | --fi | --f )
4984 $ac_shift
4985 case $ac_optarg in
4986 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4987 '') as_fn_error $? "missing file argument" ;;
4988 esac
4989 as_fn_append CONFIG_FILES " '$ac_optarg'"
4990 ac_need_defaults=false;;
4991 --he | --h | --help | --hel | -h )
4992 $as_echo "$ac_cs_usage"; exit ;;
4993 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4994 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4995 ac_cs_silent=: ;;
4997 # This is an error.
4998 -*) as_fn_error $? "unrecognized option: \`$1'
4999 Try \`$0 --help' for more information." ;;
5001 *) as_fn_append ac_config_targets " $1"
5002 ac_need_defaults=false ;;
5004 esac
5005 shift
5006 done
5008 ac_configure_extra_args=
5010 if $ac_cs_silent; then
5011 exec 6>/dev/null
5012 ac_configure_extra_args="$ac_configure_extra_args --silent"
5015 _ACEOF
5016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5017 if \$ac_cs_recheck; then
5018 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5019 shift
5020 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5021 CONFIG_SHELL='$SHELL'
5022 export CONFIG_SHELL
5023 exec "\$@"
5026 _ACEOF
5027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5028 exec 5>>config.log
5030 echo
5031 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5032 ## Running $as_me. ##
5033 _ASBOX
5034 $as_echo "$ac_log"
5035 } >&5
5037 _ACEOF
5038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5039 _ACEOF
5041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5043 # Handling of arguments.
5044 for ac_config_target in $ac_config_targets
5046 case $ac_config_target in
5047 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5049 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5050 esac
5051 done
5054 # If the user did not use the arguments to specify the items to instantiate,
5055 # then the envvar interface is used. Set only those that are not.
5056 # We use the long form for the default assignment because of an extremely
5057 # bizarre bug on SunOS 4.1.3.
5058 if $ac_need_defaults; then
5059 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5062 # Have a temporary directory for convenience. Make it in the build tree
5063 # simply because there is no reason against having it here, and in addition,
5064 # creating and moving files from /tmp can sometimes cause problems.
5065 # Hook for its removal unless debugging.
5066 # Note that there is a small window in which the directory will not be cleaned:
5067 # after its creation but before its name has been assigned to `$tmp'.
5068 $debug ||
5070 tmp= ac_tmp=
5071 trap 'exit_status=$?
5072 : "${ac_tmp:=$tmp}"
5073 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5075 trap 'as_fn_exit 1' 1 2 13 15
5077 # Create a (secure) tmp directory for tmp files.
5080 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5081 test -d "$tmp"
5082 } ||
5084 tmp=./conf$$-$RANDOM
5085 (umask 077 && mkdir "$tmp")
5086 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5087 ac_tmp=$tmp
5089 # Set up the scripts for CONFIG_FILES section.
5090 # No need to generate them if there are no CONFIG_FILES.
5091 # This happens for instance with `./config.status config.h'.
5092 if test -n "$CONFIG_FILES"; then
5095 ac_cr=`echo X | tr X '\015'`
5096 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5097 # But we know of no other shell where ac_cr would be empty at this
5098 # point, so we can use a bashism as a fallback.
5099 if test "x$ac_cr" = x; then
5100 eval ac_cr=\$\'\\r\'
5102 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5103 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5104 ac_cs_awk_cr='\\r'
5105 else
5106 ac_cs_awk_cr=$ac_cr
5109 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5110 _ACEOF
5114 echo "cat >conf$$subs.awk <<_ACEOF" &&
5115 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5116 echo "_ACEOF"
5117 } >conf$$subs.sh ||
5118 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5119 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5120 ac_delim='%!_!# '
5121 for ac_last_try in false false false false false :; do
5122 . ./conf$$subs.sh ||
5123 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5125 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5126 if test $ac_delim_n = $ac_delim_num; then
5127 break
5128 elif $ac_last_try; then
5129 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5130 else
5131 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5133 done
5134 rm -f conf$$subs.sh
5136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5137 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5138 _ACEOF
5139 sed -n '
5141 s/^/S["/; s/!.*/"]=/
5144 s/^[^!]*!//
5145 :repl
5146 t repl
5147 s/'"$ac_delim"'$//
5148 t delim
5151 s/\(.\{148\}\)..*/\1/
5152 t more1
5153 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5156 b repl
5157 :more1
5158 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5161 s/.\{148\}//
5162 t nl
5163 :delim
5165 s/\(.\{148\}\)..*/\1/
5166 t more2
5167 s/["\\]/\\&/g; s/^/"/; s/$/"/
5170 :more2
5171 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5174 s/.\{148\}//
5175 t delim
5176 ' <conf$$subs.awk | sed '
5177 /^[^""]/{
5179 s/\n//
5181 ' >>$CONFIG_STATUS || ac_write_fail=1
5182 rm -f conf$$subs.awk
5183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5184 _ACAWK
5185 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5186 for (key in S) S_is_set[key] = 1
5187 FS = "\a"
5191 line = $ 0
5192 nfields = split(line, field, "@")
5193 substed = 0
5194 len = length(field[1])
5195 for (i = 2; i < nfields; i++) {
5196 key = field[i]
5197 keylen = length(key)
5198 if (S_is_set[key]) {
5199 value = S[key]
5200 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5201 len += length(value) + length(field[++i])
5202 substed = 1
5203 } else
5204 len += 1 + keylen
5207 print line
5210 _ACAWK
5211 _ACEOF
5212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5213 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5214 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5215 else
5217 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5218 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5219 _ACEOF
5221 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5222 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5223 # trailing colons and then remove the whole line if VPATH becomes empty
5224 # (actually we leave an empty line to preserve line numbers).
5225 if test "x$srcdir" = x.; then
5226 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5228 s///
5229 s/^/:/
5230 s/[ ]*$/:/
5231 s/:\$(srcdir):/:/g
5232 s/:\${srcdir}:/:/g
5233 s/:@srcdir@:/:/g
5234 s/^:*//
5235 s/:*$//
5237 s/\(=[ ]*\).*/\1/
5239 s/\n//
5240 s/^[^=]*=[ ]*$//
5244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5245 fi # test -n "$CONFIG_FILES"
5248 eval set X " :F $CONFIG_FILES "
5249 shift
5250 for ac_tag
5252 case $ac_tag in
5253 :[FHLC]) ac_mode=$ac_tag; continue;;
5254 esac
5255 case $ac_mode$ac_tag in
5256 :[FHL]*:*);;
5257 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5258 :[FH]-) ac_tag=-:-;;
5259 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5260 esac
5261 ac_save_IFS=$IFS
5262 IFS=:
5263 set x $ac_tag
5264 IFS=$ac_save_IFS
5265 shift
5266 ac_file=$1
5267 shift
5269 case $ac_mode in
5270 :L) ac_source=$1;;
5271 :[FH])
5272 ac_file_inputs=
5273 for ac_f
5275 case $ac_f in
5276 -) ac_f="$ac_tmp/stdin";;
5277 *) # Look for the file first in the build tree, then in the source tree
5278 # (if the path is not absolute). The absolute path cannot be DOS-style,
5279 # because $ac_f cannot contain `:'.
5280 test -f "$ac_f" ||
5281 case $ac_f in
5282 [\\/$]*) false;;
5283 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5284 esac ||
5285 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5286 esac
5287 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5288 as_fn_append ac_file_inputs " '$ac_f'"
5289 done
5291 # Let's still pretend it is `configure' which instantiates (i.e., don't
5292 # use $as_me), people would be surprised to read:
5293 # /* config.h. Generated by config.status. */
5294 configure_input='Generated from '`
5295 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5296 `' by configure.'
5297 if test x"$ac_file" != x-; then
5298 configure_input="$ac_file. $configure_input"
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5300 $as_echo "$as_me: creating $ac_file" >&6;}
5302 # Neutralize special characters interpreted by sed in replacement strings.
5303 case $configure_input in #(
5304 *\&* | *\|* | *\\* )
5305 ac_sed_conf_input=`$as_echo "$configure_input" |
5306 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5307 *) ac_sed_conf_input=$configure_input;;
5308 esac
5310 case $ac_tag in
5311 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5312 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5313 esac
5315 esac
5317 ac_dir=`$as_dirname -- "$ac_file" ||
5318 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5319 X"$ac_file" : 'X\(//\)[^/]' \| \
5320 X"$ac_file" : 'X\(//\)$' \| \
5321 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5322 $as_echo X"$ac_file" |
5323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5324 s//\1/
5327 /^X\(\/\/\)[^/].*/{
5328 s//\1/
5331 /^X\(\/\/\)$/{
5332 s//\1/
5335 /^X\(\/\).*/{
5336 s//\1/
5339 s/.*/./; q'`
5340 as_dir="$ac_dir"; as_fn_mkdir_p
5341 ac_builddir=.
5343 case "$ac_dir" in
5344 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5346 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5347 # A ".." for each directory in $ac_dir_suffix.
5348 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5349 case $ac_top_builddir_sub in
5350 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5351 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5352 esac ;;
5353 esac
5354 ac_abs_top_builddir=$ac_pwd
5355 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5356 # for backward compatibility:
5357 ac_top_builddir=$ac_top_build_prefix
5359 case $srcdir in
5360 .) # We are building in place.
5361 ac_srcdir=.
5362 ac_top_srcdir=$ac_top_builddir_sub
5363 ac_abs_top_srcdir=$ac_pwd ;;
5364 [\\/]* | ?:[\\/]* ) # Absolute name.
5365 ac_srcdir=$srcdir$ac_dir_suffix;
5366 ac_top_srcdir=$srcdir
5367 ac_abs_top_srcdir=$srcdir ;;
5368 *) # Relative name.
5369 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5370 ac_top_srcdir=$ac_top_build_prefix$srcdir
5371 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5372 esac
5373 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5376 case $ac_mode in
5379 # CONFIG_FILE
5382 _ACEOF
5384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5385 # If the template does not know about datarootdir, expand it.
5386 # FIXME: This hack should be removed a few years after 2.60.
5387 ac_datarootdir_hack=; ac_datarootdir_seen=
5388 ac_sed_dataroot='
5389 /datarootdir/ {
5393 /@datadir@/p
5394 /@docdir@/p
5395 /@infodir@/p
5396 /@localedir@/p
5397 /@mandir@/p'
5398 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5399 *datarootdir*) ac_datarootdir_seen=yes;;
5400 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5402 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5403 _ACEOF
5404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5405 ac_datarootdir_hack='
5406 s&@datadir@&$datadir&g
5407 s&@docdir@&$docdir&g
5408 s&@infodir@&$infodir&g
5409 s&@localedir@&$localedir&g
5410 s&@mandir@&$mandir&g
5411 s&\\\${datarootdir}&$datarootdir&g' ;;
5412 esac
5413 _ACEOF
5415 # Neutralize VPATH when `$srcdir' = `.'.
5416 # Shell code in configure.ac might set extrasub.
5417 # FIXME: do we really want to maintain this feature?
5418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5419 ac_sed_extra="$ac_vpsub
5420 $extrasub
5421 _ACEOF
5422 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5424 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5425 s|@configure_input@|$ac_sed_conf_input|;t t
5426 s&@top_builddir@&$ac_top_builddir_sub&;t t
5427 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5428 s&@srcdir@&$ac_srcdir&;t t
5429 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5430 s&@top_srcdir@&$ac_top_srcdir&;t t
5431 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5432 s&@builddir@&$ac_builddir&;t t
5433 s&@abs_builddir@&$ac_abs_builddir&;t t
5434 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5435 $ac_datarootdir_hack
5437 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5438 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5440 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5441 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5442 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5443 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5445 which seems to be undefined. Please make sure it is defined" >&5
5446 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5447 which seems to be undefined. Please make sure it is defined" >&2;}
5449 rm -f "$ac_tmp/stdin"
5450 case $ac_file in
5451 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5452 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5453 esac \
5454 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5459 esac
5461 done # for ac_tag
5464 as_fn_exit 0
5465 _ACEOF
5466 ac_clean_files=$ac_clean_files_save
5468 test $ac_write_fail = 0 ||
5469 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5472 # configure is writing to config.log, and then calls config.status.
5473 # config.status does its own redirection, appending to config.log.
5474 # Unfortunately, on DOS this fails, as config.log is still kept open
5475 # by configure, so config.status won't be able to write to it; its
5476 # output is simply discarded. So we exec the FD to /dev/null,
5477 # effectively closing config.log, so it can be properly (re)opened and
5478 # appended to by config.status. When coming back to configure, we
5479 # need to make the FD available again.
5480 if test "$no_create" != yes; then
5481 ac_cs_success=:
5482 ac_config_status_args=
5483 test "$silent" = yes &&
5484 ac_config_status_args="$ac_config_status_args --quiet"
5485 exec 5>/dev/null
5486 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5487 exec 5>>config.log
5488 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5489 # would make configure fail if this is the last instruction.
5490 $ac_cs_success || as_fn_exit 1
5492 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5494 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}