Use different "hack" to generate the assembly headers. The previous one was working...
[AROS.git] / features
blob9f476cb4ecd95e3880359a601571f8eeeec5799e
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_volatile_register_var
588 aros_cflags_narrowing
589 aros_cflags_conversion_null
590 aros_cflags_missing_braces
591 aros_cflags_unused_local_typedefs
592 aros_cflags_overflow
593 aros_cflags_attributes
594 aros_cflags_sign_compare
595 aros_cflags_deprecated_declarations
596 aros_cflags_frame_address
597 aros_cflags_shift_overflow
598 aros_cflags_pointer_sign
599 aros_cflags_logical_not_parentheses
600 aros_cflags_bool_compare
601 aros_cflags_incompatible_pointer_types
602 aros_cflags_comment
603 aros_cflags_write_strings
604 aros_cflags_unused_const_variable
605 aros_cflags_pointer_to_int_cast
606 aros_cflags_int_to_pointer_cast
607 aros_cflags_int_conversion
608 aros_cflags_discarded_array_qualifiers
609 aros_cflags_unknown_pragmas
610 aros_cflags_sequence_point
611 aros_cflags_discarded_qualifiers
612 aros_cflags_switch
613 aros_cflags_cpp
614 aros_cflags_aggressive_loop_optimizations
615 aros_cflags_implicit_int
616 aros_cflags_format_contains_nul
617 aros_cflags_endif_labels
618 aros_cflags_char_subscripts
619 aros_cflags_parentheses
620 aros_cflags_format
621 aros_cflags_implicit_function_declaration
622 aros_cflags_maybe_uninitialized
623 aros_cflags_uninitialized
624 aros_cflags_unused_parameter
625 aros_cflags_unused_function
626 aros_cflags_unused_variable
627 aros_cflags_unused_value
628 aros_cflags_unused
629 aros_cflags_nonnull_compare
630 aros_cflags_misleading_indentation
631 aros_cflags_format_security
632 aros_cflags_strict_overflow
633 aros_cflags_strict_prototypes
634 aros_cflags_enum_compare
635 aros_cflags_array_bounds
636 aros_cflags_strict_aliasing
637 aros_cflags_unused_but_set_variable
638 aros_cflags_unknown_warning_option
639 aros_cflags_unused_command_line_argument
640 aros_cflags_iquote_end
641 aros_cflags_iquote
642 aros_cflags_loop_strip_mine
643 aros_cflags_loop_interchange
644 aros_cflags_loop_block
645 aros_cflags_lto
646 OBJEXT
647 EXEEXT
648 ac_ct_CC
649 CPPFLAGS
650 LDFLAGS
651 CFLAGS
653 target_alias
654 host_alias
655 build_alias
656 LIBS
657 ECHO_T
658 ECHO_N
659 ECHO_C
660 DEFS
661 mandir
662 localedir
663 libdir
664 psdir
665 pdfdir
666 dvidir
667 htmldir
668 infodir
669 docdir
670 oldincludedir
671 includedir
672 localstatedir
673 sharedstatedir
674 sysconfdir
675 datadir
676 datarootdir
677 libexecdir
678 sbindir
679 bindir
680 program_transform_name
681 prefix
682 exec_prefix
683 PACKAGE_URL
684 PACKAGE_BUGREPORT
685 PACKAGE_STRING
686 PACKAGE_VERSION
687 PACKAGE_TARNAME
688 PACKAGE_NAME
689 PATH_SEPARATOR
690 SHELL'
691 ac_subst_files=''
692 ac_user_opts='
693 enable_option_checking
694 with_config_dir
696 ac_precious_vars='build_alias
697 host_alias
698 target_alias
700 CFLAGS
701 LDFLAGS
702 LIBS
703 CPPFLAGS'
706 # Initialize some variables set by options.
707 ac_init_help=
708 ac_init_version=false
709 ac_unrecognized_opts=
710 ac_unrecognized_sep=
711 # The variables have the same names as the options, with
712 # dashes changed to underlines.
713 cache_file=/dev/null
714 exec_prefix=NONE
715 no_create=
716 no_recursion=
717 prefix=NONE
718 program_prefix=NONE
719 program_suffix=NONE
720 program_transform_name=s,x,x,
721 silent=
722 site=
723 srcdir=
724 verbose=
725 x_includes=NONE
726 x_libraries=NONE
728 # Installation directory options.
729 # These are left unexpanded so users can "make install exec_prefix=/foo"
730 # and all the variables that are supposed to be based on exec_prefix
731 # by default will actually change.
732 # Use braces instead of parens because sh, perl, etc. also accept them.
733 # (The list follows the same order as the GNU Coding Standards.)
734 bindir='${exec_prefix}/bin'
735 sbindir='${exec_prefix}/sbin'
736 libexecdir='${exec_prefix}/libexec'
737 datarootdir='${prefix}/share'
738 datadir='${datarootdir}'
739 sysconfdir='${prefix}/etc'
740 sharedstatedir='${prefix}/com'
741 localstatedir='${prefix}/var'
742 includedir='${prefix}/include'
743 oldincludedir='/usr/include'
744 docdir='${datarootdir}/doc/${PACKAGE}'
745 infodir='${datarootdir}/info'
746 htmldir='${docdir}'
747 dvidir='${docdir}'
748 pdfdir='${docdir}'
749 psdir='${docdir}'
750 libdir='${exec_prefix}/lib'
751 localedir='${datarootdir}/locale'
752 mandir='${datarootdir}/man'
754 ac_prev=
755 ac_dashdash=
756 for ac_option
758 # If the previous option needs an argument, assign it.
759 if test -n "$ac_prev"; then
760 eval $ac_prev=\$ac_option
761 ac_prev=
762 continue
765 case $ac_option in
766 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
767 *=) ac_optarg= ;;
768 *) ac_optarg=yes ;;
769 esac
771 # Accept the important Cygnus configure options, so we can diagnose typos.
773 case $ac_dashdash$ac_option in
775 ac_dashdash=yes ;;
777 -bindir | --bindir | --bindi | --bind | --bin | --bi)
778 ac_prev=bindir ;;
779 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
780 bindir=$ac_optarg ;;
782 -build | --build | --buil | --bui | --bu)
783 ac_prev=build_alias ;;
784 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
785 build_alias=$ac_optarg ;;
787 -cache-file | --cache-file | --cache-fil | --cache-fi \
788 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
789 ac_prev=cache_file ;;
790 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
791 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
792 cache_file=$ac_optarg ;;
794 --config-cache | -C)
795 cache_file=config.cache ;;
797 -datadir | --datadir | --datadi | --datad)
798 ac_prev=datadir ;;
799 -datadir=* | --datadir=* | --datadi=* | --datad=*)
800 datadir=$ac_optarg ;;
802 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
803 | --dataroo | --dataro | --datar)
804 ac_prev=datarootdir ;;
805 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
806 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
807 datarootdir=$ac_optarg ;;
809 -disable-* | --disable-*)
810 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
811 # Reject names that are not valid shell variable names.
812 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
813 as_fn_error $? "invalid feature name: $ac_useropt"
814 ac_useropt_orig=$ac_useropt
815 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
816 case $ac_user_opts in
818 "enable_$ac_useropt"
819 "*) ;;
820 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
821 ac_unrecognized_sep=', ';;
822 esac
823 eval enable_$ac_useropt=no ;;
825 -docdir | --docdir | --docdi | --doc | --do)
826 ac_prev=docdir ;;
827 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
828 docdir=$ac_optarg ;;
830 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
831 ac_prev=dvidir ;;
832 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
833 dvidir=$ac_optarg ;;
835 -enable-* | --enable-*)
836 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
837 # Reject names that are not valid shell variable names.
838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
839 as_fn_error $? "invalid feature name: $ac_useropt"
840 ac_useropt_orig=$ac_useropt
841 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
842 case $ac_user_opts in
844 "enable_$ac_useropt"
845 "*) ;;
846 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
847 ac_unrecognized_sep=', ';;
848 esac
849 eval enable_$ac_useropt=\$ac_optarg ;;
851 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
852 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
853 | --exec | --exe | --ex)
854 ac_prev=exec_prefix ;;
855 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
856 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
857 | --exec=* | --exe=* | --ex=*)
858 exec_prefix=$ac_optarg ;;
860 -gas | --gas | --ga | --g)
861 # Obsolete; use --with-gas.
862 with_gas=yes ;;
864 -help | --help | --hel | --he | -h)
865 ac_init_help=long ;;
866 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
867 ac_init_help=recursive ;;
868 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
869 ac_init_help=short ;;
871 -host | --host | --hos | --ho)
872 ac_prev=host_alias ;;
873 -host=* | --host=* | --hos=* | --ho=*)
874 host_alias=$ac_optarg ;;
876 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
877 ac_prev=htmldir ;;
878 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
879 | --ht=*)
880 htmldir=$ac_optarg ;;
882 -includedir | --includedir | --includedi | --included | --include \
883 | --includ | --inclu | --incl | --inc)
884 ac_prev=includedir ;;
885 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
886 | --includ=* | --inclu=* | --incl=* | --inc=*)
887 includedir=$ac_optarg ;;
889 -infodir | --infodir | --infodi | --infod | --info | --inf)
890 ac_prev=infodir ;;
891 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
892 infodir=$ac_optarg ;;
894 -libdir | --libdir | --libdi | --libd)
895 ac_prev=libdir ;;
896 -libdir=* | --libdir=* | --libdi=* | --libd=*)
897 libdir=$ac_optarg ;;
899 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
900 | --libexe | --libex | --libe)
901 ac_prev=libexecdir ;;
902 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
903 | --libexe=* | --libex=* | --libe=*)
904 libexecdir=$ac_optarg ;;
906 -localedir | --localedir | --localedi | --localed | --locale)
907 ac_prev=localedir ;;
908 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
909 localedir=$ac_optarg ;;
911 -localstatedir | --localstatedir | --localstatedi | --localstated \
912 | --localstate | --localstat | --localsta | --localst | --locals)
913 ac_prev=localstatedir ;;
914 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
915 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
916 localstatedir=$ac_optarg ;;
918 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
919 ac_prev=mandir ;;
920 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
921 mandir=$ac_optarg ;;
923 -nfp | --nfp | --nf)
924 # Obsolete; use --without-fp.
925 with_fp=no ;;
927 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
928 | --no-cr | --no-c | -n)
929 no_create=yes ;;
931 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
932 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
933 no_recursion=yes ;;
935 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
936 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
937 | --oldin | --oldi | --old | --ol | --o)
938 ac_prev=oldincludedir ;;
939 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
940 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
941 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
942 oldincludedir=$ac_optarg ;;
944 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
945 ac_prev=prefix ;;
946 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
947 prefix=$ac_optarg ;;
949 -program-prefix | --program-prefix | --program-prefi | --program-pref \
950 | --program-pre | --program-pr | --program-p)
951 ac_prev=program_prefix ;;
952 -program-prefix=* | --program-prefix=* | --program-prefi=* \
953 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
954 program_prefix=$ac_optarg ;;
956 -program-suffix | --program-suffix | --program-suffi | --program-suff \
957 | --program-suf | --program-su | --program-s)
958 ac_prev=program_suffix ;;
959 -program-suffix=* | --program-suffix=* | --program-suffi=* \
960 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
961 program_suffix=$ac_optarg ;;
963 -program-transform-name | --program-transform-name \
964 | --program-transform-nam | --program-transform-na \
965 | --program-transform-n | --program-transform- \
966 | --program-transform | --program-transfor \
967 | --program-transfo | --program-transf \
968 | --program-trans | --program-tran \
969 | --progr-tra | --program-tr | --program-t)
970 ac_prev=program_transform_name ;;
971 -program-transform-name=* | --program-transform-name=* \
972 | --program-transform-nam=* | --program-transform-na=* \
973 | --program-transform-n=* | --program-transform-=* \
974 | --program-transform=* | --program-transfor=* \
975 | --program-transfo=* | --program-transf=* \
976 | --program-trans=* | --program-tran=* \
977 | --progr-tra=* | --program-tr=* | --program-t=*)
978 program_transform_name=$ac_optarg ;;
980 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
981 ac_prev=pdfdir ;;
982 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
983 pdfdir=$ac_optarg ;;
985 -psdir | --psdir | --psdi | --psd | --ps)
986 ac_prev=psdir ;;
987 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
988 psdir=$ac_optarg ;;
990 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
991 | -silent | --silent | --silen | --sile | --sil)
992 silent=yes ;;
994 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
995 ac_prev=sbindir ;;
996 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
997 | --sbi=* | --sb=*)
998 sbindir=$ac_optarg ;;
1000 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1001 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1002 | --sharedst | --shareds | --shared | --share | --shar \
1003 | --sha | --sh)
1004 ac_prev=sharedstatedir ;;
1005 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1006 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1007 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1008 | --sha=* | --sh=*)
1009 sharedstatedir=$ac_optarg ;;
1011 -site | --site | --sit)
1012 ac_prev=site ;;
1013 -site=* | --site=* | --sit=*)
1014 site=$ac_optarg ;;
1016 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1017 ac_prev=srcdir ;;
1018 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1019 srcdir=$ac_optarg ;;
1021 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1022 | --syscon | --sysco | --sysc | --sys | --sy)
1023 ac_prev=sysconfdir ;;
1024 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1025 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1026 sysconfdir=$ac_optarg ;;
1028 -target | --target | --targe | --targ | --tar | --ta | --t)
1029 ac_prev=target_alias ;;
1030 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1031 target_alias=$ac_optarg ;;
1033 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1034 verbose=yes ;;
1036 -version | --version | --versio | --versi | --vers | -V)
1037 ac_init_version=: ;;
1039 -with-* | --with-*)
1040 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1043 as_fn_error $? "invalid package name: $ac_useropt"
1044 ac_useropt_orig=$ac_useropt
1045 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1048 "with_$ac_useropt"
1049 "*) ;;
1050 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1051 ac_unrecognized_sep=', ';;
1052 esac
1053 eval with_$ac_useropt=\$ac_optarg ;;
1055 -without-* | --without-*)
1056 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1059 as_fn_error $? "invalid package name: $ac_useropt"
1060 ac_useropt_orig=$ac_useropt
1061 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062 case $ac_user_opts in
1064 "with_$ac_useropt"
1065 "*) ;;
1066 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1067 ac_unrecognized_sep=', ';;
1068 esac
1069 eval with_$ac_useropt=no ;;
1071 --x)
1072 # Obsolete; use --with-x.
1073 with_x=yes ;;
1075 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1076 | --x-incl | --x-inc | --x-in | --x-i)
1077 ac_prev=x_includes ;;
1078 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1079 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1080 x_includes=$ac_optarg ;;
1082 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1083 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1084 ac_prev=x_libraries ;;
1085 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1086 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1087 x_libraries=$ac_optarg ;;
1089 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1090 Try \`$0 --help' for more information"
1093 *=*)
1094 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1095 # Reject names that are not valid shell variable names.
1096 case $ac_envvar in #(
1097 '' | [0-9]* | *[!_$as_cr_alnum]* )
1098 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1099 esac
1100 eval $ac_envvar=\$ac_optarg
1101 export $ac_envvar ;;
1104 # FIXME: should be removed in autoconf 3.0.
1105 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1106 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1107 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1108 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1111 esac
1112 done
1114 if test -n "$ac_prev"; then
1115 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1116 as_fn_error $? "missing argument to $ac_option"
1119 if test -n "$ac_unrecognized_opts"; then
1120 case $enable_option_checking in
1121 no) ;;
1122 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1123 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1124 esac
1127 # Check all directory arguments for consistency.
1128 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1129 datadir sysconfdir sharedstatedir localstatedir includedir \
1130 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1131 libdir localedir mandir
1133 eval ac_val=\$$ac_var
1134 # Remove trailing slashes.
1135 case $ac_val in
1136 */ )
1137 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1138 eval $ac_var=\$ac_val;;
1139 esac
1140 # Be sure to have absolute directory names.
1141 case $ac_val in
1142 [\\/$]* | ?:[\\/]* ) continue;;
1143 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1144 esac
1145 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1146 done
1148 # There might be people who depend on the old broken behavior: `$host'
1149 # used to hold the argument of --host etc.
1150 # FIXME: To remove some day.
1151 build=$build_alias
1152 host=$host_alias
1153 target=$target_alias
1155 # FIXME: To remove some day.
1156 if test "x$host_alias" != x; then
1157 if test "x$build_alias" = x; then
1158 cross_compiling=maybe
1159 elif test "x$build_alias" != "x$host_alias"; then
1160 cross_compiling=yes
1164 ac_tool_prefix=
1165 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1167 test "$silent" = yes && exec 6>/dev/null
1170 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1171 ac_ls_di=`ls -di .` &&
1172 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1173 as_fn_error $? "working directory cannot be determined"
1174 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1175 as_fn_error $? "pwd does not report name of working directory"
1178 # Find the source files, if location was not specified.
1179 if test -z "$srcdir"; then
1180 ac_srcdir_defaulted=yes
1181 # Try the directory containing this script, then the parent directory.
1182 ac_confdir=`$as_dirname -- "$as_myself" ||
1183 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1184 X"$as_myself" : 'X\(//\)[^/]' \| \
1185 X"$as_myself" : 'X\(//\)$' \| \
1186 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1187 $as_echo X"$as_myself" |
1188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1189 s//\1/
1192 /^X\(\/\/\)[^/].*/{
1193 s//\1/
1196 /^X\(\/\/\)$/{
1197 s//\1/
1200 /^X\(\/\).*/{
1201 s//\1/
1204 s/.*/./; q'`
1205 srcdir=$ac_confdir
1206 if test ! -r "$srcdir/$ac_unique_file"; then
1207 srcdir=..
1209 else
1210 ac_srcdir_defaulted=no
1212 if test ! -r "$srcdir/$ac_unique_file"; then
1213 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1214 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1216 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1217 ac_abs_confdir=`(
1218 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1219 pwd)`
1220 # When building in place, set srcdir=.
1221 if test "$ac_abs_confdir" = "$ac_pwd"; then
1222 srcdir=.
1224 # Remove unnecessary trailing slashes from srcdir.
1225 # Double slashes in file names in object file debugging info
1226 # mess up M-x gdb in Emacs.
1227 case $srcdir in
1228 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1229 esac
1230 for ac_var in $ac_precious_vars; do
1231 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1232 eval ac_env_${ac_var}_value=\$${ac_var}
1233 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1234 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1235 done
1238 # Report the --help message.
1240 if test "$ac_init_help" = "long"; then
1241 # Omit some internal or obsolete options to make the list less imposing.
1242 # This message is too long to be a string in the A/UX 3.1 sh.
1243 cat <<_ACEOF
1244 \`configure' configures this package to adapt to many kinds of systems.
1246 Usage: $0 [OPTION]... [VAR=VALUE]...
1248 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1249 VAR=VALUE. See below for descriptions of some of the useful variables.
1251 Defaults for the options are specified in brackets.
1253 Configuration:
1254 -h, --help display this help and exit
1255 --help=short display options specific to this package
1256 --help=recursive display the short help of all the included packages
1257 -V, --version display version information and exit
1258 -q, --quiet, --silent do not print \`checking ...' messages
1259 --cache-file=FILE cache test results in FILE [disabled]
1260 -C, --config-cache alias for \`--cache-file=config.cache'
1261 -n, --no-create do not create output files
1262 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1264 Installation directories:
1265 --prefix=PREFIX install architecture-independent files in PREFIX
1266 [$ac_default_prefix]
1267 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1268 [PREFIX]
1270 By default, \`make install' will install all the files in
1271 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1272 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1273 for instance \`--prefix=\$HOME'.
1275 For better control, use the options below.
1277 Fine tuning of the installation directories:
1278 --bindir=DIR user executables [EPREFIX/bin]
1279 --sbindir=DIR system admin executables [EPREFIX/sbin]
1280 --libexecdir=DIR program executables [EPREFIX/libexec]
1281 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1282 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1283 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1284 --libdir=DIR object code libraries [EPREFIX/lib]
1285 --includedir=DIR C header files [PREFIX/include]
1286 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1287 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1288 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1289 --infodir=DIR info documentation [DATAROOTDIR/info]
1290 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1291 --mandir=DIR man documentation [DATAROOTDIR/man]
1292 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1293 --htmldir=DIR html documentation [DOCDIR]
1294 --dvidir=DIR dvi documentation [DOCDIR]
1295 --pdfdir=DIR pdf documentation [DOCDIR]
1296 --psdir=DIR ps documentation [DOCDIR]
1297 _ACEOF
1299 cat <<\_ACEOF
1300 _ACEOF
1303 if test -n "$ac_init_help"; then
1305 cat <<\_ACEOF
1307 Optional Packages:
1308 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1309 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1310 --with-config-dir=VERSION
1311 Location of generated target config files
1313 Some influential environment variables:
1314 CC C compiler command
1315 CFLAGS C compiler flags
1316 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1317 nonstandard directory <lib dir>
1318 LIBS libraries to pass to the linker, e.g. -l<library>
1319 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1320 you have headers in a nonstandard directory <include dir>
1322 Use these variables to override the choices made by `configure' or to help
1323 it to find libraries and programs with nonstandard names/locations.
1325 Report bugs to the package provider.
1326 _ACEOF
1327 ac_status=$?
1330 if test "$ac_init_help" = "recursive"; then
1331 # If there are subdirs, report their specific --help.
1332 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1333 test -d "$ac_dir" ||
1334 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1335 continue
1336 ac_builddir=.
1338 case "$ac_dir" in
1339 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1341 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1342 # A ".." for each directory in $ac_dir_suffix.
1343 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1344 case $ac_top_builddir_sub in
1345 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1346 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1347 esac ;;
1348 esac
1349 ac_abs_top_builddir=$ac_pwd
1350 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1351 # for backward compatibility:
1352 ac_top_builddir=$ac_top_build_prefix
1354 case $srcdir in
1355 .) # We are building in place.
1356 ac_srcdir=.
1357 ac_top_srcdir=$ac_top_builddir_sub
1358 ac_abs_top_srcdir=$ac_pwd ;;
1359 [\\/]* | ?:[\\/]* ) # Absolute name.
1360 ac_srcdir=$srcdir$ac_dir_suffix;
1361 ac_top_srcdir=$srcdir
1362 ac_abs_top_srcdir=$srcdir ;;
1363 *) # Relative name.
1364 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1365 ac_top_srcdir=$ac_top_build_prefix$srcdir
1366 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1367 esac
1368 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1370 cd "$ac_dir" || { ac_status=$?; continue; }
1371 # Check for guested configure.
1372 if test -f "$ac_srcdir/configure.gnu"; then
1373 echo &&
1374 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1375 elif test -f "$ac_srcdir/configure"; then
1376 echo &&
1377 $SHELL "$ac_srcdir/configure" --help=recursive
1378 else
1379 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1380 fi || ac_status=$?
1381 cd "$ac_pwd" || { ac_status=$?; break; }
1382 done
1385 test -n "$ac_init_help" && exit $ac_status
1386 if $ac_init_version; then
1387 cat <<\_ACEOF
1388 configure
1389 generated by GNU Autoconf 2.69
1391 Copyright (C) 2012 Free Software Foundation, Inc.
1392 This configure script is free software; the Free Software Foundation
1393 gives unlimited permission to copy, distribute and modify it.
1394 _ACEOF
1395 exit
1398 ## ------------------------ ##
1399 ## Autoconf initialization. ##
1400 ## ------------------------ ##
1402 # ac_fn_c_try_compile LINENO
1403 # --------------------------
1404 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1405 ac_fn_c_try_compile ()
1407 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1408 rm -f conftest.$ac_objext
1409 if { { ac_try="$ac_compile"
1410 case "(($ac_try" in
1411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1412 *) ac_try_echo=$ac_try;;
1413 esac
1414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1415 $as_echo "$ac_try_echo"; } >&5
1416 (eval "$ac_compile") 2>conftest.err
1417 ac_status=$?
1418 if test -s conftest.err; then
1419 grep -v '^ *+' conftest.err >conftest.er1
1420 cat conftest.er1 >&5
1421 mv -f conftest.er1 conftest.err
1423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1424 test $ac_status = 0; } && {
1425 test -z "$ac_c_werror_flag" ||
1426 test ! -s conftest.err
1427 } && test -s conftest.$ac_objext; then :
1428 ac_retval=0
1429 else
1430 $as_echo "$as_me: failed program was:" >&5
1431 sed 's/^/| /' conftest.$ac_ext >&5
1433 ac_retval=1
1435 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1436 as_fn_set_status $ac_retval
1438 } # ac_fn_c_try_compile
1439 cat >config.log <<_ACEOF
1440 This file contains any messages produced by compilers while
1441 running configure, to aid debugging if configure makes a mistake.
1443 It was created by $as_me, which was
1444 generated by GNU Autoconf 2.69. Invocation command line was
1446 $ $0 $@
1448 _ACEOF
1449 exec 5>>config.log
1451 cat <<_ASUNAME
1452 ## --------- ##
1453 ## Platform. ##
1454 ## --------- ##
1456 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1457 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1458 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1459 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1460 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1462 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1463 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1465 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1466 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1467 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1468 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1469 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1470 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1471 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1473 _ASUNAME
1475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1476 for as_dir in $PATH
1478 IFS=$as_save_IFS
1479 test -z "$as_dir" && as_dir=.
1480 $as_echo "PATH: $as_dir"
1481 done
1482 IFS=$as_save_IFS
1484 } >&5
1486 cat >&5 <<_ACEOF
1489 ## ----------- ##
1490 ## Core tests. ##
1491 ## ----------- ##
1493 _ACEOF
1496 # Keep a trace of the command line.
1497 # Strip out --no-create and --no-recursion so they do not pile up.
1498 # Strip out --silent because we don't want to record it for future runs.
1499 # Also quote any args containing shell meta-characters.
1500 # Make two passes to allow for proper duplicate-argument suppression.
1501 ac_configure_args=
1502 ac_configure_args0=
1503 ac_configure_args1=
1504 ac_must_keep_next=false
1505 for ac_pass in 1 2
1507 for ac_arg
1509 case $ac_arg in
1510 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1511 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1512 | -silent | --silent | --silen | --sile | --sil)
1513 continue ;;
1514 *\'*)
1515 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1516 esac
1517 case $ac_pass in
1518 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1520 as_fn_append ac_configure_args1 " '$ac_arg'"
1521 if test $ac_must_keep_next = true; then
1522 ac_must_keep_next=false # Got value, back to normal.
1523 else
1524 case $ac_arg in
1525 *=* | --config-cache | -C | -disable-* | --disable-* \
1526 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1527 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1528 | -with-* | --with-* | -without-* | --without-* | --x)
1529 case "$ac_configure_args0 " in
1530 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1531 esac
1533 -* ) ac_must_keep_next=true ;;
1534 esac
1536 as_fn_append ac_configure_args " '$ac_arg'"
1538 esac
1539 done
1540 done
1541 { ac_configure_args0=; unset ac_configure_args0;}
1542 { ac_configure_args1=; unset ac_configure_args1;}
1544 # When interrupted or exit'd, cleanup temporary files, and complete
1545 # config.log. We remove comments because anyway the quotes in there
1546 # would cause problems or look ugly.
1547 # WARNING: Use '\'' to represent an apostrophe within the trap.
1548 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1549 trap 'exit_status=$?
1550 # Save into config.log some information that might help in debugging.
1552 echo
1554 $as_echo "## ---------------- ##
1555 ## Cache variables. ##
1556 ## ---------------- ##"
1557 echo
1558 # The following way of writing the cache mishandles newlines in values,
1560 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1561 eval ac_val=\$$ac_var
1562 case $ac_val in #(
1563 *${as_nl}*)
1564 case $ac_var in #(
1565 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1566 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1567 esac
1568 case $ac_var in #(
1569 _ | IFS | as_nl) ;; #(
1570 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1571 *) { eval $ac_var=; unset $ac_var;} ;;
1572 esac ;;
1573 esac
1574 done
1575 (set) 2>&1 |
1576 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1577 *${as_nl}ac_space=\ *)
1578 sed -n \
1579 "s/'\''/'\''\\\\'\'''\''/g;
1580 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1581 ;; #(
1583 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1585 esac |
1586 sort
1588 echo
1590 $as_echo "## ----------------- ##
1591 ## Output variables. ##
1592 ## ----------------- ##"
1593 echo
1594 for ac_var in $ac_subst_vars
1596 eval ac_val=\$$ac_var
1597 case $ac_val in
1598 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1599 esac
1600 $as_echo "$ac_var='\''$ac_val'\''"
1601 done | sort
1602 echo
1604 if test -n "$ac_subst_files"; then
1605 $as_echo "## ------------------- ##
1606 ## File substitutions. ##
1607 ## ------------------- ##"
1608 echo
1609 for ac_var in $ac_subst_files
1611 eval ac_val=\$$ac_var
1612 case $ac_val in
1613 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1614 esac
1615 $as_echo "$ac_var='\''$ac_val'\''"
1616 done | sort
1617 echo
1620 if test -s confdefs.h; then
1621 $as_echo "## ----------- ##
1622 ## confdefs.h. ##
1623 ## ----------- ##"
1624 echo
1625 cat confdefs.h
1626 echo
1628 test "$ac_signal" != 0 &&
1629 $as_echo "$as_me: caught signal $ac_signal"
1630 $as_echo "$as_me: exit $exit_status"
1631 } >&5
1632 rm -f core *.core core.conftest.* &&
1633 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1634 exit $exit_status
1636 for ac_signal in 1 2 13 15; do
1637 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1638 done
1639 ac_signal=0
1641 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1642 rm -f -r conftest* confdefs.h
1644 $as_echo "/* confdefs.h */" > confdefs.h
1646 # Predefined preprocessor variables.
1648 cat >>confdefs.h <<_ACEOF
1649 #define PACKAGE_NAME "$PACKAGE_NAME"
1650 _ACEOF
1652 cat >>confdefs.h <<_ACEOF
1653 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1654 _ACEOF
1656 cat >>confdefs.h <<_ACEOF
1657 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1658 _ACEOF
1660 cat >>confdefs.h <<_ACEOF
1661 #define PACKAGE_STRING "$PACKAGE_STRING"
1662 _ACEOF
1664 cat >>confdefs.h <<_ACEOF
1665 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1666 _ACEOF
1668 cat >>confdefs.h <<_ACEOF
1669 #define PACKAGE_URL "$PACKAGE_URL"
1670 _ACEOF
1673 # Let the site file select an alternate cache file if it wants to.
1674 # Prefer an explicitly selected file to automatically selected ones.
1675 ac_site_file1=NONE
1676 ac_site_file2=NONE
1677 if test -n "$CONFIG_SITE"; then
1678 # We do not want a PATH search for config.site.
1679 case $CONFIG_SITE in #((
1680 -*) ac_site_file1=./$CONFIG_SITE;;
1681 */*) ac_site_file1=$CONFIG_SITE;;
1682 *) ac_site_file1=./$CONFIG_SITE;;
1683 esac
1684 elif test "x$prefix" != xNONE; then
1685 ac_site_file1=$prefix/share/config.site
1686 ac_site_file2=$prefix/etc/config.site
1687 else
1688 ac_site_file1=$ac_default_prefix/share/config.site
1689 ac_site_file2=$ac_default_prefix/etc/config.site
1691 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1693 test "x$ac_site_file" = xNONE && continue
1694 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1696 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1697 sed 's/^/| /' "$ac_site_file" >&5
1698 . "$ac_site_file" \
1699 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1701 as_fn_error $? "failed to load site script $ac_site_file
1702 See \`config.log' for more details" "$LINENO" 5; }
1704 done
1706 if test -r "$cache_file"; then
1707 # Some versions of bash will fail to source /dev/null (special files
1708 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1709 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1711 $as_echo "$as_me: loading cache $cache_file" >&6;}
1712 case $cache_file in
1713 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1714 *) . "./$cache_file";;
1715 esac
1717 else
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1719 $as_echo "$as_me: creating cache $cache_file" >&6;}
1720 >$cache_file
1723 # Check that the precious variables saved in the cache have kept the same
1724 # value.
1725 ac_cache_corrupted=false
1726 for ac_var in $ac_precious_vars; do
1727 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1728 eval ac_new_set=\$ac_env_${ac_var}_set
1729 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1730 eval ac_new_val=\$ac_env_${ac_var}_value
1731 case $ac_old_set,$ac_new_set in
1732 set,)
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1734 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1735 ac_cache_corrupted=: ;;
1736 ,set)
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1738 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1739 ac_cache_corrupted=: ;;
1740 ,);;
1742 if test "x$ac_old_val" != "x$ac_new_val"; then
1743 # differences in whitespace do not lead to failure.
1744 ac_old_val_w=`echo x $ac_old_val`
1745 ac_new_val_w=`echo x $ac_new_val`
1746 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1748 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1749 ac_cache_corrupted=:
1750 else
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1752 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1753 eval $ac_var=\$ac_old_val
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1756 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1758 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1759 fi;;
1760 esac
1761 # Pass precious variables to config.status.
1762 if test "$ac_new_set" = set; then
1763 case $ac_new_val in
1764 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1765 *) ac_arg=$ac_var=$ac_new_val ;;
1766 esac
1767 case " $ac_configure_args " in
1768 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1769 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1770 esac
1772 done
1773 if $ac_cache_corrupted; then
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1777 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1778 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1780 ## -------------------- ##
1781 ## Main body of script. ##
1782 ## -------------------- ##
1784 ac_ext=c
1785 ac_cpp='$CPP $CPPFLAGS'
1786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1792 ac_aux_dir=
1793 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1794 if test -f "$ac_dir/install-sh"; then
1795 ac_aux_dir=$ac_dir
1796 ac_install_sh="$ac_aux_dir/install-sh -c"
1797 break
1798 elif test -f "$ac_dir/install.sh"; then
1799 ac_aux_dir=$ac_dir
1800 ac_install_sh="$ac_aux_dir/install.sh -c"
1801 break
1802 elif test -f "$ac_dir/shtool"; then
1803 ac_aux_dir=$ac_dir
1804 ac_install_sh="$ac_aux_dir/shtool install -c"
1805 break
1807 done
1808 if test -z "$ac_aux_dir"; then
1809 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
1812 # These three variables are undocumented and unsupported,
1813 # and are intended to be withdrawn in a future Autoconf release.
1814 # They can cause serious problems if a builder's source tree is in a directory
1815 # whose full name contains unusual characters.
1816 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1817 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1818 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1822 AROS_BUILDDIR=`${PWDCMD-pwd}`
1823 AROS_BUILDDIR_UNIX=${PWD}
1825 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1826 SRCDIR=${srcpwd}
1828 NOLINKFLAGS="-nostdlib -nostartfiles"
1829 LDFLAGS=$NOLINKFLAGS
1830 # The first step is to find the binaries.
1831 ac_ext=c
1832 ac_cpp='$CPP $CPPFLAGS'
1833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1836 if test -n "$ac_tool_prefix"; then
1837 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1838 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1840 $as_echo_n "checking for $ac_word... " >&6; }
1841 if ${ac_cv_prog_CC+:} false; then :
1842 $as_echo_n "(cached) " >&6
1843 else
1844 if test -n "$CC"; then
1845 ac_cv_prog_CC="$CC" # Let the user override the test.
1846 else
1847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1848 for as_dir in $PATH
1850 IFS=$as_save_IFS
1851 test -z "$as_dir" && as_dir=.
1852 for ac_exec_ext in '' $ac_executable_extensions; do
1853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1854 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1856 break 2
1858 done
1859 done
1860 IFS=$as_save_IFS
1864 CC=$ac_cv_prog_CC
1865 if test -n "$CC"; then
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1867 $as_echo "$CC" >&6; }
1868 else
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1870 $as_echo "no" >&6; }
1875 if test -z "$ac_cv_prog_CC"; then
1876 ac_ct_CC=$CC
1877 # Extract the first word of "gcc", so it can be a program name with args.
1878 set dummy gcc; ac_word=$2
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1880 $as_echo_n "checking for $ac_word... " >&6; }
1881 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1882 $as_echo_n "(cached) " >&6
1883 else
1884 if test -n "$ac_ct_CC"; then
1885 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1886 else
1887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1888 for as_dir in $PATH
1890 IFS=$as_save_IFS
1891 test -z "$as_dir" && as_dir=.
1892 for ac_exec_ext in '' $ac_executable_extensions; do
1893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1894 ac_cv_prog_ac_ct_CC="gcc"
1895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1896 break 2
1898 done
1899 done
1900 IFS=$as_save_IFS
1904 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1905 if test -n "$ac_ct_CC"; then
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1907 $as_echo "$ac_ct_CC" >&6; }
1908 else
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1910 $as_echo "no" >&6; }
1913 if test "x$ac_ct_CC" = x; then
1914 CC=""
1915 else
1916 case $cross_compiling:$ac_tool_warned in
1917 yes:)
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1920 ac_tool_warned=yes ;;
1921 esac
1922 CC=$ac_ct_CC
1924 else
1925 CC="$ac_cv_prog_CC"
1928 if test -z "$CC"; then
1929 if test -n "$ac_tool_prefix"; then
1930 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1931 set dummy ${ac_tool_prefix}cc; ac_word=$2
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1933 $as_echo_n "checking for $ac_word... " >&6; }
1934 if ${ac_cv_prog_CC+:} false; then :
1935 $as_echo_n "(cached) " >&6
1936 else
1937 if test -n "$CC"; then
1938 ac_cv_prog_CC="$CC" # Let the user override the test.
1939 else
1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941 for as_dir in $PATH
1943 IFS=$as_save_IFS
1944 test -z "$as_dir" && as_dir=.
1945 for ac_exec_ext in '' $ac_executable_extensions; do
1946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1947 ac_cv_prog_CC="${ac_tool_prefix}cc"
1948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1949 break 2
1951 done
1952 done
1953 IFS=$as_save_IFS
1957 CC=$ac_cv_prog_CC
1958 if test -n "$CC"; then
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1960 $as_echo "$CC" >&6; }
1961 else
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1963 $as_echo "no" >&6; }
1969 if test -z "$CC"; then
1970 # Extract the first word of "cc", so it can be a program name with args.
1971 set dummy cc; ac_word=$2
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1973 $as_echo_n "checking for $ac_word... " >&6; }
1974 if ${ac_cv_prog_CC+:} false; then :
1975 $as_echo_n "(cached) " >&6
1976 else
1977 if test -n "$CC"; then
1978 ac_cv_prog_CC="$CC" # Let the user override the test.
1979 else
1980 ac_prog_rejected=no
1981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982 for as_dir in $PATH
1984 IFS=$as_save_IFS
1985 test -z "$as_dir" && as_dir=.
1986 for ac_exec_ext in '' $ac_executable_extensions; do
1987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1988 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1989 ac_prog_rejected=yes
1990 continue
1992 ac_cv_prog_CC="cc"
1993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1994 break 2
1996 done
1997 done
1998 IFS=$as_save_IFS
2000 if test $ac_prog_rejected = yes; then
2001 # We found a bogon in the path, so make sure we never use it.
2002 set dummy $ac_cv_prog_CC
2003 shift
2004 if test $# != 0; then
2005 # We chose a different compiler from the bogus one.
2006 # However, it has the same basename, so the bogon will be chosen
2007 # first if we set CC to just the basename; use the full file name.
2008 shift
2009 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2014 CC=$ac_cv_prog_CC
2015 if test -n "$CC"; then
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2017 $as_echo "$CC" >&6; }
2018 else
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2020 $as_echo "no" >&6; }
2025 if test -z "$CC"; then
2026 if test -n "$ac_tool_prefix"; then
2027 for ac_prog in cl.exe
2029 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2030 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2032 $as_echo_n "checking for $ac_word... " >&6; }
2033 if ${ac_cv_prog_CC+:} false; then :
2034 $as_echo_n "(cached) " >&6
2035 else
2036 if test -n "$CC"; then
2037 ac_cv_prog_CC="$CC" # Let the user override the test.
2038 else
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040 for as_dir in $PATH
2042 IFS=$as_save_IFS
2043 test -z "$as_dir" && as_dir=.
2044 for ac_exec_ext in '' $ac_executable_extensions; do
2045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2046 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2048 break 2
2050 done
2051 done
2052 IFS=$as_save_IFS
2056 CC=$ac_cv_prog_CC
2057 if test -n "$CC"; then
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2059 $as_echo "$CC" >&6; }
2060 else
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2062 $as_echo "no" >&6; }
2066 test -n "$CC" && break
2067 done
2069 if test -z "$CC"; then
2070 ac_ct_CC=$CC
2071 for ac_prog in cl.exe
2073 # Extract the first word of "$ac_prog", so it can be a program name with args.
2074 set dummy $ac_prog; ac_word=$2
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2076 $as_echo_n "checking for $ac_word... " >&6; }
2077 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2078 $as_echo_n "(cached) " >&6
2079 else
2080 if test -n "$ac_ct_CC"; then
2081 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2082 else
2083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2084 for as_dir in $PATH
2086 IFS=$as_save_IFS
2087 test -z "$as_dir" && as_dir=.
2088 for ac_exec_ext in '' $ac_executable_extensions; do
2089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2090 ac_cv_prog_ac_ct_CC="$ac_prog"
2091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2092 break 2
2094 done
2095 done
2096 IFS=$as_save_IFS
2100 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2101 if test -n "$ac_ct_CC"; then
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2103 $as_echo "$ac_ct_CC" >&6; }
2104 else
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2106 $as_echo "no" >&6; }
2110 test -n "$ac_ct_CC" && break
2111 done
2113 if test "x$ac_ct_CC" = x; then
2114 CC=""
2115 else
2116 case $cross_compiling:$ac_tool_warned in
2117 yes:)
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2120 ac_tool_warned=yes ;;
2121 esac
2122 CC=$ac_ct_CC
2129 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2131 as_fn_error $? "no acceptable C compiler found in \$PATH
2132 See \`config.log' for more details" "$LINENO" 5; }
2134 # Provide some information about the compiler.
2135 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2136 set X $ac_compile
2137 ac_compiler=$2
2138 for ac_option in --version -v -V -qversion; do
2139 { { ac_try="$ac_compiler $ac_option >&5"
2140 case "(($ac_try" in
2141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2142 *) ac_try_echo=$ac_try;;
2143 esac
2144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2145 $as_echo "$ac_try_echo"; } >&5
2146 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2147 ac_status=$?
2148 if test -s conftest.err; then
2149 sed '10a\
2150 ... rest of stderr output deleted ...
2151 10q' conftest.err >conftest.er1
2152 cat conftest.er1 >&5
2154 rm -f conftest.er1 conftest.err
2155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2156 test $ac_status = 0; }
2157 done
2159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2160 /* end confdefs.h. */
2163 main ()
2167 return 0;
2169 _ACEOF
2170 ac_clean_files_save=$ac_clean_files
2171 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2172 # Try to create an executable without -o first, disregard a.out.
2173 # It will help us diagnose broken compilers, and finding out an intuition
2174 # of exeext.
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2176 $as_echo_n "checking whether the C compiler works... " >&6; }
2177 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2179 # The possible output files:
2180 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2182 ac_rmfiles=
2183 for ac_file in $ac_files
2185 case $ac_file in
2186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2187 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2188 esac
2189 done
2190 rm -f $ac_rmfiles
2192 if { { ac_try="$ac_link_default"
2193 case "(($ac_try" in
2194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2195 *) ac_try_echo=$ac_try;;
2196 esac
2197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2198 $as_echo "$ac_try_echo"; } >&5
2199 (eval "$ac_link_default") 2>&5
2200 ac_status=$?
2201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2202 test $ac_status = 0; }; then :
2203 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2204 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2205 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2206 # so that the user can short-circuit this test for compilers unknown to
2207 # Autoconf.
2208 for ac_file in $ac_files ''
2210 test -f "$ac_file" || continue
2211 case $ac_file in
2212 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2214 [ab].out )
2215 # We found the default executable, but exeext='' is most
2216 # certainly right.
2217 break;;
2218 *.* )
2219 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2220 then :; else
2221 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2223 # We set ac_cv_exeext here because the later test for it is not
2224 # safe: cross compilers may not add the suffix if given an `-o'
2225 # argument, so we may need to know it at that point already.
2226 # Even if this section looks crufty: it has the advantage of
2227 # actually working.
2228 break;;
2230 break;;
2231 esac
2232 done
2233 test "$ac_cv_exeext" = no && ac_cv_exeext=
2235 else
2236 ac_file=''
2238 if test -z "$ac_file"; then :
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2240 $as_echo "no" >&6; }
2241 $as_echo "$as_me: failed program was:" >&5
2242 sed 's/^/| /' conftest.$ac_ext >&5
2244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2246 as_fn_error 77 "C compiler cannot create executables
2247 See \`config.log' for more details" "$LINENO" 5; }
2248 else
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2250 $as_echo "yes" >&6; }
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2253 $as_echo_n "checking for C compiler default output file name... " >&6; }
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2255 $as_echo "$ac_file" >&6; }
2256 ac_exeext=$ac_cv_exeext
2258 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2259 ac_clean_files=$ac_clean_files_save
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2261 $as_echo_n "checking for suffix of executables... " >&6; }
2262 if { { ac_try="$ac_link"
2263 case "(($ac_try" in
2264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2265 *) ac_try_echo=$ac_try;;
2266 esac
2267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2268 $as_echo "$ac_try_echo"; } >&5
2269 (eval "$ac_link") 2>&5
2270 ac_status=$?
2271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2272 test $ac_status = 0; }; then :
2273 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2274 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2275 # work properly (i.e., refer to `conftest.exe'), while it won't with
2276 # `rm'.
2277 for ac_file in conftest.exe conftest conftest.*; do
2278 test -f "$ac_file" || continue
2279 case $ac_file in
2280 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2281 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2282 break;;
2283 * ) break;;
2284 esac
2285 done
2286 else
2287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2289 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2290 See \`config.log' for more details" "$LINENO" 5; }
2292 rm -f conftest conftest$ac_cv_exeext
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2294 $as_echo "$ac_cv_exeext" >&6; }
2296 rm -f conftest.$ac_ext
2297 EXEEXT=$ac_cv_exeext
2298 ac_exeext=$EXEEXT
2299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2300 /* end confdefs.h. */
2301 #include <stdio.h>
2303 main ()
2305 FILE *f = fopen ("conftest.out", "w");
2306 return ferror (f) || fclose (f) != 0;
2309 return 0;
2311 _ACEOF
2312 ac_clean_files="$ac_clean_files conftest.out"
2313 # Check that the compiler produces executables we can run. If not, either
2314 # the compiler is broken, or we cross compile.
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2316 $as_echo_n "checking whether we are cross compiling... " >&6; }
2317 if test "$cross_compiling" != yes; then
2318 { { ac_try="$ac_link"
2319 case "(($ac_try" in
2320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2321 *) ac_try_echo=$ac_try;;
2322 esac
2323 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2324 $as_echo "$ac_try_echo"; } >&5
2325 (eval "$ac_link") 2>&5
2326 ac_status=$?
2327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2328 test $ac_status = 0; }
2329 if { ac_try='./conftest$ac_cv_exeext'
2330 { { case "(($ac_try" in
2331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2332 *) ac_try_echo=$ac_try;;
2333 esac
2334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2335 $as_echo "$ac_try_echo"; } >&5
2336 (eval "$ac_try") 2>&5
2337 ac_status=$?
2338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2339 test $ac_status = 0; }; }; then
2340 cross_compiling=no
2341 else
2342 if test "$cross_compiling" = maybe; then
2343 cross_compiling=yes
2344 else
2345 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2347 as_fn_error $? "cannot run C compiled programs.
2348 If you meant to cross compile, use \`--host'.
2349 See \`config.log' for more details" "$LINENO" 5; }
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2354 $as_echo "$cross_compiling" >&6; }
2356 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2357 ac_clean_files=$ac_clean_files_save
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2359 $as_echo_n "checking for suffix of object files... " >&6; }
2360 if ${ac_cv_objext+:} false; then :
2361 $as_echo_n "(cached) " >&6
2362 else
2363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2364 /* end confdefs.h. */
2367 main ()
2371 return 0;
2373 _ACEOF
2374 rm -f conftest.o conftest.obj
2375 if { { ac_try="$ac_compile"
2376 case "(($ac_try" in
2377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2379 esac
2380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2381 $as_echo "$ac_try_echo"; } >&5
2382 (eval "$ac_compile") 2>&5
2383 ac_status=$?
2384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2385 test $ac_status = 0; }; then :
2386 for ac_file in conftest.o conftest.obj conftest.*; do
2387 test -f "$ac_file" || continue;
2388 case $ac_file in
2389 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2390 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2391 break;;
2392 esac
2393 done
2394 else
2395 $as_echo "$as_me: failed program was:" >&5
2396 sed 's/^/| /' conftest.$ac_ext >&5
2398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2400 as_fn_error $? "cannot compute suffix of object files: cannot compile
2401 See \`config.log' for more details" "$LINENO" 5; }
2403 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2406 $as_echo "$ac_cv_objext" >&6; }
2407 OBJEXT=$ac_cv_objext
2408 ac_objext=$OBJEXT
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2410 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2411 if ${ac_cv_c_compiler_gnu+:} false; then :
2412 $as_echo_n "(cached) " >&6
2413 else
2414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2415 /* end confdefs.h. */
2418 main ()
2420 #ifndef __GNUC__
2421 choke me
2422 #endif
2425 return 0;
2427 _ACEOF
2428 if ac_fn_c_try_compile "$LINENO"; then :
2429 ac_compiler_gnu=yes
2430 else
2431 ac_compiler_gnu=no
2433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2434 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2438 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2439 if test $ac_compiler_gnu = yes; then
2440 GCC=yes
2441 else
2442 GCC=
2444 ac_test_CFLAGS=${CFLAGS+set}
2445 ac_save_CFLAGS=$CFLAGS
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2447 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2448 if ${ac_cv_prog_cc_g+:} false; then :
2449 $as_echo_n "(cached) " >&6
2450 else
2451 ac_save_c_werror_flag=$ac_c_werror_flag
2452 ac_c_werror_flag=yes
2453 ac_cv_prog_cc_g=no
2454 CFLAGS="-g"
2455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2456 /* end confdefs.h. */
2459 main ()
2463 return 0;
2465 _ACEOF
2466 if ac_fn_c_try_compile "$LINENO"; then :
2467 ac_cv_prog_cc_g=yes
2468 else
2469 CFLAGS=""
2470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2471 /* end confdefs.h. */
2474 main ()
2478 return 0;
2480 _ACEOF
2481 if ac_fn_c_try_compile "$LINENO"; then :
2483 else
2484 ac_c_werror_flag=$ac_save_c_werror_flag
2485 CFLAGS="-g"
2486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2487 /* end confdefs.h. */
2490 main ()
2494 return 0;
2496 _ACEOF
2497 if ac_fn_c_try_compile "$LINENO"; then :
2498 ac_cv_prog_cc_g=yes
2500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2505 ac_c_werror_flag=$ac_save_c_werror_flag
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2508 $as_echo "$ac_cv_prog_cc_g" >&6; }
2509 if test "$ac_test_CFLAGS" = set; then
2510 CFLAGS=$ac_save_CFLAGS
2511 elif test $ac_cv_prog_cc_g = yes; then
2512 if test "$GCC" = yes; then
2513 CFLAGS="-g -O2"
2514 else
2515 CFLAGS="-g"
2517 else
2518 if test "$GCC" = yes; then
2519 CFLAGS="-O2"
2520 else
2521 CFLAGS=
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2525 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2526 if ${ac_cv_prog_cc_c89+:} false; then :
2527 $as_echo_n "(cached) " >&6
2528 else
2529 ac_cv_prog_cc_c89=no
2530 ac_save_CC=$CC
2531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532 /* end confdefs.h. */
2533 #include <stdarg.h>
2534 #include <stdio.h>
2535 struct stat;
2536 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2537 struct buf { int x; };
2538 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2539 static char *e (p, i)
2540 char **p;
2541 int i;
2543 return p[i];
2545 static char *f (char * (*g) (char **, int), char **p, ...)
2547 char *s;
2548 va_list v;
2549 va_start (v,p);
2550 s = g (p, va_arg (v,int));
2551 va_end (v);
2552 return s;
2555 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2556 function prototypes and stuff, but not '\xHH' hex character constants.
2557 These don't provoke an error unfortunately, instead are silently treated
2558 as 'x'. The following induces an error, until -std is added to get
2559 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2560 array size at least. It's necessary to write '\x00'==0 to get something
2561 that's true only with -std. */
2562 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2564 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2565 inside strings and character constants. */
2566 #define FOO(x) 'x'
2567 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2569 int test (int i, double x);
2570 struct s1 {int (*f) (int a);};
2571 struct s2 {int (*f) (double a);};
2572 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2573 int argc;
2574 char **argv;
2576 main ()
2578 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2580 return 0;
2582 _ACEOF
2583 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2584 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2586 CC="$ac_save_CC $ac_arg"
2587 if ac_fn_c_try_compile "$LINENO"; then :
2588 ac_cv_prog_cc_c89=$ac_arg
2590 rm -f core conftest.err conftest.$ac_objext
2591 test "x$ac_cv_prog_cc_c89" != "xno" && break
2592 done
2593 rm -f conftest.$ac_ext
2594 CC=$ac_save_CC
2597 # AC_CACHE_VAL
2598 case "x$ac_cv_prog_cc_c89" in
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2601 $as_echo "none needed" >&6; } ;;
2602 xno)
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2604 $as_echo "unsupported" >&6; } ;;
2606 CC="$CC $ac_cv_prog_cc_c89"
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2608 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2609 esac
2610 if test "x$ac_cv_prog_cc_c89" != xno; then :
2614 ac_ext=c
2615 ac_cpp='$CPP $CPPFLAGS'
2616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2622 $as_echo_n "checking target config location... " >&6; }
2624 # Check whether --with-config-dir was given.
2625 if test "${with_config_dir+set}" = set; then :
2626 withval=$with_config_dir; targetcfg_dir="$withval"
2627 else
2628 targetcfg_dir=""
2631 if test "$targetcfg_dir" = ""; then
2632 as_fn_error $? "missing config directory!" "$LINENO" 5
2633 else
2634 aros_targetcfg_dir="$targetcfg_dir"
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2637 $as_echo "$aros_targetcfg_dir" >&6; }
2639 #-----------------------------------------------------------------------------
2641 # Check if the target compiler supports some features:
2642 # -flto
2643 # -floop-block
2644 # -floop-interchange
2645 # -floop-strip-mine
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2648 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2649 CFLAGS=-flto
2651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2652 /* end confdefs.h. */
2655 main ()
2659 return 0;
2661 _ACEOF
2662 if ac_fn_c_try_compile "$LINENO"; then :
2663 aros_lto="yes"
2664 else
2665 aros_lto="no"
2667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2669 $as_echo "$aros_lto" >&6; }
2670 if test "x-$aros_lto" = "x-yes" ; then
2671 aros_cflags_lto=-flto
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2675 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2676 CFLAGS=-floop-block
2677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h. */
2681 main ()
2685 return 0;
2687 _ACEOF
2688 if ac_fn_c_try_compile "$LINENO"; then :
2689 aros_loop_block="yes"
2690 else
2691 aros_loop_block="no"
2693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2695 $as_echo "$aros_loop_block" >&6; }
2696 if test "x-$aros_loop_block" = "x-yes" ; then
2697 aros_cflags_loop_block=-floop-block
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2701 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2702 CFLAGS=-floop-interchange
2703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2704 /* end confdefs.h. */
2707 main ()
2711 return 0;
2713 _ACEOF
2714 if ac_fn_c_try_compile "$LINENO"; then :
2715 aros_loop_interchange="yes"
2716 else
2717 aros_loop_interchange="no"
2719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2721 $as_echo "$aros_loop_interchange" >&6; }
2722 if test "x-$aros_loop_interchange" = "x-yes" ; then
2723 aros_cflags_loop_interchange=-floop-interchange
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2727 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2728 CFLAGS=-floop-strip-mine
2729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2730 /* end confdefs.h. */
2733 main ()
2737 return 0;
2739 _ACEOF
2740 if ac_fn_c_try_compile "$LINENO"; then :
2741 aros_loop_strip_mine="yes"
2742 else
2743 aros_loop_strip_mine="no"
2745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2747 $as_echo "$aros_loop_strip_mine" >&6; }
2748 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2749 aros_cflags_loop_strip_mine=-floop-strip-mine
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
2753 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
2754 CFLAGS="-iquote."
2755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2756 /* end confdefs.h. */
2759 main ()
2763 return 0;
2765 _ACEOF
2766 if ac_fn_c_try_compile "$LINENO"; then :
2767 has_iquote="yes"
2768 else
2769 has_iquote="no"
2771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
2773 $as_echo "$has_iquote" >&6; }
2774 if test "x-$has_iquote" = "x-yes" ; then
2775 aros_cflags_iquote=-iquote
2776 aros_cflags_iquote_end=
2777 else
2778 aros_cflags_iquote=-I
2779 aros_cflags_iquote_end=-I-
2782 #-----------------------------------------------------------------------------
2784 # Check if the target compiler supports some options used for de-linting:
2785 # -Wunused-command-line-argument
2786 # -Wunknown-warning-option
2787 # -Wunused-but-set-variable
2788 # -Wstrict-aliasing
2789 # -Warray-bounds
2790 # -Wenum-compare
2791 # -Wstrict-prototypes
2792 # -Wstrict-overflow
2793 # -Wformat-security
2794 # -Wmisleading-indentation
2795 # -Wnonnull-compare
2796 # -Wunused
2797 # -Wunused-value
2798 # -Wunused-variable
2799 # -Wunused-function
2800 # -Wunused-parameter
2801 # -Wuninitialized
2802 # -Wmaybe-uninitialized
2803 # -Wimplicit-function-declaration
2804 # -Wformat
2805 # -Wparentheses
2806 # -Wchar-subscripts
2807 # -Wendif-labels
2808 # -Wformat-contains-nul
2809 # -Wimplicit-int
2810 # -Waggressive-loop-optimizations
2811 # -Wcpp
2812 # -Wswitch
2813 # -Wdiscarded-qualifiers
2814 # -Wsequence-point
2815 # -Wunknown-pragmas
2816 # -Wdiscarded-array-qualifiers
2817 # -Wint-conversion
2818 # -Wint-to-pointer-cast
2819 # -Wpointer-to-int-cast
2820 # -Wunused-const-variable
2821 # -Wwrite-strings
2822 # -Wcomment
2823 # -Wincompatible-pointer-types
2824 # -Wbool-compare
2825 # -Wlogical-not-parentheses
2826 # -Wpointer-sign
2827 # -Wshift-overflow
2828 # -Wframe-address
2829 # -Wdeprecated-declarations
2830 # -Wsign-compare
2831 # -Wattributes
2832 # -Woverflow
2833 # -Wunused-local-typedefs
2834 # -Wmissing-braces
2835 # -Wconversion-null
2836 # -Wnarrowing
2837 # -Wvolatile-register-var
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
2840 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
2841 CFLAGS=-Wunused-command-line-argument
2842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2843 /* end confdefs.h. */
2846 main ()
2850 return 0;
2852 _ACEOF
2853 if ac_fn_c_try_compile "$LINENO"; then :
2854 aros_unused_command_line_argument="yes"
2855 else
2856 aros_unused_command_line_argument="no"
2858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
2860 $as_echo "$aros_unused_command_line_argument" >&6; }
2861 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
2862 aros_cflags_unused_command_line_argument=-Wno-unused-command-line-argument
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
2866 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
2867 CFLAGS=-Wunknown-warning-option
2868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2869 /* end confdefs.h. */
2872 main ()
2876 return 0;
2878 _ACEOF
2879 if ac_fn_c_try_compile "$LINENO"; then :
2880 aros_unknown_warning_option="yes"
2881 else
2882 aros_unknown_warning_option="no"
2884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
2886 $as_echo "$aros_unknown_warning_option" >&6; }
2887 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
2888 aros_cflags_unknown_warning_option=-Wno-unknown-warning-option
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
2892 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
2893 CFLAGS=-Wunused-but-set-variable
2894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2895 /* end confdefs.h. */
2898 main ()
2902 return 0;
2904 _ACEOF
2905 if ac_fn_c_try_compile "$LINENO"; then :
2906 aros_unused_but_set_variable="yes"
2907 else
2908 aros_unused_but_set_variable="no"
2910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
2912 $as_echo "$aros_unused_but_set_variable" >&6; }
2913 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
2914 aros_cflags_unused_but_set_variable=-Wno-unused-but-set-variable
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
2918 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
2919 CFLAGS=-Wstrict-aliasing
2920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2921 /* end confdefs.h. */
2924 main ()
2928 return 0;
2930 _ACEOF
2931 if ac_fn_c_try_compile "$LINENO"; then :
2932 aros_strict_aliasing="yes"
2933 else
2934 aros_strict_aliasing="no"
2936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
2938 $as_echo "$aros_strict_aliasing" >&6; }
2939 if test "x-$aros_strict_aliasing" = "x-yes" ; then
2940 aros_cflags_strict_aliasing=-Wno-strict-aliasing
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
2944 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
2945 CFLAGS=-Warray-bounds
2946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2947 /* end confdefs.h. */
2950 main ()
2954 return 0;
2956 _ACEOF
2957 if ac_fn_c_try_compile "$LINENO"; then :
2958 aros_array_bounds="yes"
2959 else
2960 aros_array_bounds="no"
2962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
2964 $as_echo "$aros_array_bounds" >&6; }
2965 if test "x-$aros_array_bounds" = "x-yes" ; then
2966 aros_cflags_array_bounds=-Wno-array-bounds
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
2970 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
2971 CFLAGS=-Wenum-compare
2972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2973 /* end confdefs.h. */
2976 main ()
2980 return 0;
2982 _ACEOF
2983 if ac_fn_c_try_compile "$LINENO"; then :
2984 aros_enum_compare="yes"
2985 else
2986 aros_enum_compare="no"
2988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
2990 $as_echo "$aros_enum_compare" >&6; }
2991 if test "x-$aros_enum_compare" = "x-yes" ; then
2992 aros_cflags_enum_compare=-Wno-enum-compare
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
2996 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
2997 CFLAGS=-Wstrict-prototypes
2998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2999 /* end confdefs.h. */
3002 main ()
3006 return 0;
3008 _ACEOF
3009 if ac_fn_c_try_compile "$LINENO"; then :
3010 aros_strict_prototypes="yes"
3011 else
3012 aros_strict_prototypes="no"
3014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3016 $as_echo "$aros_strict_prototypes" >&6; }
3017 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3018 aros_cflags_strict_prototypes=-Wno-strict-prototypes
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3022 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3023 CFLAGS=-Wstrict-overflow
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h. */
3028 main ()
3032 return 0;
3034 _ACEOF
3035 if ac_fn_c_try_compile "$LINENO"; then :
3036 aros_strict_overflow="yes"
3037 else
3038 aros_strict_overflow="no"
3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3042 $as_echo "$aros_strict_overflow" >&6; }
3043 if test "x-$aros_strict_overflow" = "x-yes" ; then
3044 aros_cflags_strict_overflow=-Wno-strict-overflow
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3048 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3049 CFLAGS=-Wformat-security
3050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3051 /* end confdefs.h. */
3054 main ()
3058 return 0;
3060 _ACEOF
3061 if ac_fn_c_try_compile "$LINENO"; then :
3062 aros_format_security="yes"
3063 else
3064 aros_format_security="no"
3066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3068 $as_echo "$aros_format_security" >&6; }
3069 if test "x-$aros_format_security" = "x-yes" ; then
3070 aros_cflags_format_security=-Wno-format-security
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3074 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3075 CFLAGS=-Wmisleading-indentation
3076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3077 /* end confdefs.h. */
3080 main ()
3084 return 0;
3086 _ACEOF
3087 if ac_fn_c_try_compile "$LINENO"; then :
3088 aros_misleading_indentation="yes"
3089 else
3090 aros_misleading_indentation="no"
3092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3094 $as_echo "$aros_misleading_indentation" >&6; }
3095 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3096 aros_cflags_misleading_indentation=-Wno-misleading-indentation
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3100 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3101 CFLAGS=-Wnonnull-compare
3102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3103 /* end confdefs.h. */
3106 main ()
3110 return 0;
3112 _ACEOF
3113 if ac_fn_c_try_compile "$LINENO"; then :
3114 aros_nonnull_compare="yes"
3115 else
3116 aros_nonnull_compare="no"
3118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3120 $as_echo "$aros_nonnull_compare" >&6; }
3121 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3122 aros_cflags_nonnull_compare=-Wno-nonnull-compare
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3126 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3127 CFLAGS=-Wunused
3128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3129 /* end confdefs.h. */
3132 main ()
3136 return 0;
3138 _ACEOF
3139 if ac_fn_c_try_compile "$LINENO"; then :
3140 aros_unused="yes"
3141 else
3142 aros_unused="no"
3144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3146 $as_echo "$aros_unused" >&6; }
3147 if test "x-$aros_unused" = "x-yes" ; then
3148 aros_cflags_unused=-Wno-unused
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3152 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3153 CFLAGS=-Wunused-value
3154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3155 /* end confdefs.h. */
3158 main ()
3162 return 0;
3164 _ACEOF
3165 if ac_fn_c_try_compile "$LINENO"; then :
3166 aros_unused_value="yes"
3167 else
3168 aros_unused_value="no"
3170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3172 $as_echo "$aros_unused_value" >&6; }
3173 if test "x-$aros_unused_value" = "x-yes" ; then
3174 aros_cflags_unused_value=-Wno-unused-value
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3178 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3179 CFLAGS=-Wunused-variable
3180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3181 /* end confdefs.h. */
3184 main ()
3188 return 0;
3190 _ACEOF
3191 if ac_fn_c_try_compile "$LINENO"; then :
3192 aros_unused_variable="yes"
3193 else
3194 aros_unused_variable="no"
3196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3198 $as_echo "$aros_unused_variable" >&6; }
3199 if test "x-$aros_unused_variable" = "x-yes" ; then
3200 aros_cflags_unused_variable=-Wno-unused-variable
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3204 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3205 CFLAGS=-Wunused-function
3206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h. */
3210 main ()
3214 return 0;
3216 _ACEOF
3217 if ac_fn_c_try_compile "$LINENO"; then :
3218 aros_unused_function="yes"
3219 else
3220 aros_unused_function="no"
3222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3224 $as_echo "$aros_unused_function" >&6; }
3225 if test "x-$aros_unused_function" = "x-yes" ; then
3226 aros_cflags_unused_function=-Wno-unused-function
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3230 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3231 CFLAGS=-Wunused-parameter
3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233 /* end confdefs.h. */
3236 main ()
3240 return 0;
3242 _ACEOF
3243 if ac_fn_c_try_compile "$LINENO"; then :
3244 aros_unused_parameter="yes"
3245 else
3246 aros_unused_parameter="no"
3248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3250 $as_echo "$aros_unused_parameter" >&6; }
3251 if test "x-$aros_unused_parameter" = "x-yes" ; then
3252 aros_cflags_unused_parameter=-Wno-unused-parameter
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3256 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3257 CFLAGS=-Wuninitialized
3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3262 main ()
3266 return 0;
3268 _ACEOF
3269 if ac_fn_c_try_compile "$LINENO"; then :
3270 aros_uninitialized="yes"
3271 else
3272 aros_uninitialized="no"
3274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3276 $as_echo "$aros_uninitialized" >&6; }
3277 if test "x-$aros_uninitialized" = "x-yes" ; then
3278 aros_cflags_uninitialized=-Wno-uninitialized
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3282 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3283 CFLAGS=-Wmaybe-uninitialized
3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3288 main ()
3292 return 0;
3294 _ACEOF
3295 if ac_fn_c_try_compile "$LINENO"; then :
3296 aros_maybe_uninitialized="yes"
3297 else
3298 aros_maybe_uninitialized="no"
3300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3302 $as_echo "$aros_maybe_uninitialized" >&6; }
3303 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3304 aros_cflags_maybe_uninitialized=-Wno-maybe-uninitialized
3305 else
3306 aros_cflags_maybe_uninitialized=$aros_cflags_uninitialized
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3310 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3311 CFLAGS=-Wimplicit-function-declaration
3312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3313 /* end confdefs.h. */
3316 main ()
3320 return 0;
3322 _ACEOF
3323 if ac_fn_c_try_compile "$LINENO"; then :
3324 aros_implicit_function_declaration="yes"
3325 else
3326 aros_implicit_function_declaration="no"
3328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3330 $as_echo "$aros_implicit_function_declaration" >&6; }
3331 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3332 aros_cflags_implicit_function_declaration=-Wno-implicit-function-declaration
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3336 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3337 CFLAGS=-Wformat
3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3342 main ()
3346 return 0;
3348 _ACEOF
3349 if ac_fn_c_try_compile "$LINENO"; then :
3350 aros_format="yes"
3351 else
3352 aros_format="no"
3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3356 $as_echo "$aros_format" >&6; }
3357 if test "x-$aros_format" = "x-yes" ; then
3358 aros_cflags_format=-Wno-format
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3362 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3363 CFLAGS=-Wparentheses
3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3368 main ()
3372 return 0;
3374 _ACEOF
3375 if ac_fn_c_try_compile "$LINENO"; then :
3376 aros_parentheses="yes"
3377 else
3378 aros_parentheses="no"
3380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3382 $as_echo "$aros_parentheses" >&6; }
3383 if test "x-$aros_parentheses" = "x-yes" ; then
3384 aros_cflags_parentheses=-Wno-parentheses
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3388 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3389 CFLAGS=-Wchar-subscripts
3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391 /* end confdefs.h. */
3394 main ()
3398 return 0;
3400 _ACEOF
3401 if ac_fn_c_try_compile "$LINENO"; then :
3402 aros_char_subscripts="yes"
3403 else
3404 aros_char_subscripts="no"
3406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3408 $as_echo "$aros_char_subscripts" >&6; }
3409 if test "x-$aros_char_subscripts" = "x-yes" ; then
3410 aros_cflags_char_subscripts=-Wno-char-subscripts
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3414 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3415 CFLAGS=-Wendif-labels
3416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417 /* end confdefs.h. */
3420 main ()
3424 return 0;
3426 _ACEOF
3427 if ac_fn_c_try_compile "$LINENO"; then :
3428 aros_endif_labels="yes"
3429 else
3430 aros_endif_labels="no"
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3434 $as_echo "$aros_endif_labels" >&6; }
3435 if test "x-$aros_endif_labels" = "x-yes" ; then
3436 aros_cflags_endif_labels=-Wno-endif-labels
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3440 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3441 CFLAGS=-Wformat-contains-nul
3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h. */
3446 main ()
3450 return 0;
3452 _ACEOF
3453 if ac_fn_c_try_compile "$LINENO"; then :
3454 aros_format_contains_nul="yes"
3455 else
3456 aros_format_contains_nul="no"
3458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3460 $as_echo "$aros_format_contains_nul" >&6; }
3461 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3462 aros_cflags_format_contains_nul=-Wno-format-contains-nul
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3466 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3467 CFLAGS=-Wimplicit-int
3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h. */
3472 main ()
3476 return 0;
3478 _ACEOF
3479 if ac_fn_c_try_compile "$LINENO"; then :
3480 aros_implicit_int="yes"
3481 else
3482 aros_implicit_int="no"
3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3486 $as_echo "$aros_implicit_int" >&6; }
3487 if test "x-$aros_implicit_int" = "x-yes" ; then
3488 aros_cflags_implicit_int=-Wno-implicit-int
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3492 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3493 CFLAGS=-Waggressive-loop-optimizations
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3498 main ()
3502 return 0;
3504 _ACEOF
3505 if ac_fn_c_try_compile "$LINENO"; then :
3506 aros_aggressive_loop_optimizations="yes"
3507 else
3508 aros_aggressive_loop_optimizations="no"
3510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3512 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3513 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3514 aros_cflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3518 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3519 CFLAGS=-Wcpp
3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3524 main ()
3528 return 0;
3530 _ACEOF
3531 if ac_fn_c_try_compile "$LINENO"; then :
3532 aros_cpp="yes"
3533 else
3534 aros_cpp="no"
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3538 $as_echo "$aros_cpp" >&6; }
3539 if test "x-$aros_cpp" = "x-yes" ; then
3540 aros_cflags_cpp=-Wno-cpp
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3544 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3545 CFLAGS=-Wswitch
3546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3547 /* end confdefs.h. */
3550 main ()
3554 return 0;
3556 _ACEOF
3557 if ac_fn_c_try_compile "$LINENO"; then :
3558 aros_switch="yes"
3559 else
3560 aros_switch="no"
3562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3564 $as_echo "$aros_switch" >&6; }
3565 if test "x-$aros_switch" = "x-yes" ; then
3566 aros_cflags_switch=-Wno-switch
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3570 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3571 CFLAGS=-Wdiscarded-qualifiers
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3576 main ()
3580 return 0;
3582 _ACEOF
3583 if ac_fn_c_try_compile "$LINENO"; then :
3584 aros_discarded_qualifiers="yes"
3585 else
3586 aros_discarded_qualifiers="no"
3588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3590 $as_echo "$aros_discarded_qualifiers" >&6; }
3591 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3592 aros_cflags_discarded_qualifiers=-Wno-discarded-qualifiers
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3596 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3597 CFLAGS=-Wsequence-point
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3602 main ()
3606 return 0;
3608 _ACEOF
3609 if ac_fn_c_try_compile "$LINENO"; then :
3610 aros_sequence_point="yes"
3611 else
3612 aros_sequence_point="no"
3614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3616 $as_echo "$aros_sequence_point" >&6; }
3617 if test "x-$aros_sequence_point" = "x-yes" ; then
3618 aros_cflags_sequence_point=-Wno-sequence-point
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3622 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3623 CFLAGS=-Wunknown-pragmas
3624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3625 /* end confdefs.h. */
3628 main ()
3632 return 0;
3634 _ACEOF
3635 if ac_fn_c_try_compile "$LINENO"; then :
3636 aros_unknown_pragmas="yes"
3637 else
3638 aros_unknown_pragmas="no"
3640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3642 $as_echo "$aros_unknown_pragmas" >&6; }
3643 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3644 aros_cflags_unknown_pragmas=-Wno-unknown-pragmas
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3648 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3649 CFLAGS=-Wdiscarded-array-qualifiers
3650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3651 /* end confdefs.h. */
3654 main ()
3658 return 0;
3660 _ACEOF
3661 if ac_fn_c_try_compile "$LINENO"; then :
3662 aros_discarded_array_qualifiers="yes"
3663 else
3664 aros_discarded_array_qualifiers="no"
3666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3668 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3669 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3670 aros_cflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3674 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3675 CFLAGS=-Wint-conversion
3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h. */
3680 main ()
3684 return 0;
3686 _ACEOF
3687 if ac_fn_c_try_compile "$LINENO"; then :
3688 aros_int_conversion="yes"
3689 else
3690 aros_int_conversion="no"
3692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3694 $as_echo "$aros_int_conversion" >&6; }
3695 if test "x-$aros_int_conversion" = "x-yes" ; then
3696 aros_cflags_int_conversion=-Wno-int-conversion
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3700 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3701 CFLAGS=-Wint-to-pointer-cast
3702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3703 /* end confdefs.h. */
3706 main ()
3710 return 0;
3712 _ACEOF
3713 if ac_fn_c_try_compile "$LINENO"; then :
3714 aros_int_to_pointer_cast="yes"
3715 else
3716 aros_int_to_pointer_cast="no"
3718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3720 $as_echo "$aros_int_to_pointer_cast" >&6; }
3721 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3722 aros_cflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
3726 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
3727 CFLAGS=-Wpointer-to-int-cast
3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3729 /* end confdefs.h. */
3732 main ()
3736 return 0;
3738 _ACEOF
3739 if ac_fn_c_try_compile "$LINENO"; then :
3740 aros_pointer_to_int_cast="yes"
3741 else
3742 aros_pointer_to_int_cast="no"
3744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
3746 $as_echo "$aros_pointer_to_int_cast" >&6; }
3747 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
3748 aros_cflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
3752 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
3753 CFLAGS=-Wunused-const-variable
3754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3755 /* end confdefs.h. */
3758 main ()
3762 return 0;
3764 _ACEOF
3765 if ac_fn_c_try_compile "$LINENO"; then :
3766 aros_unused_const_variable="yes"
3767 else
3768 aros_unused_const_variable="no"
3770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
3772 $as_echo "$aros_unused_const_variable" >&6; }
3773 if test "x-$aros_unused_const_variable" = "x-yes" ; then
3774 aros_cflags_unused_const_variable=-Wno-unused-const-variable
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
3778 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
3779 CFLAGS=-Wwrite-strings
3780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3781 /* end confdefs.h. */
3784 main ()
3788 return 0;
3790 _ACEOF
3791 if ac_fn_c_try_compile "$LINENO"; then :
3792 aros_write_strings="yes"
3793 else
3794 aros_write_strings="no"
3796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
3798 $as_echo "$aros_write_strings" >&6; }
3799 if test "x-$aros_write_strings" = "x-yes" ; then
3800 aros_cflags_write_strings=-Wno-write-strings
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
3804 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
3805 CFLAGS=-Wcomment
3806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3807 /* end confdefs.h. */
3810 main ()
3814 return 0;
3816 _ACEOF
3817 if ac_fn_c_try_compile "$LINENO"; then :
3818 aros_comment="yes"
3819 else
3820 aros_comment="no"
3822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
3824 $as_echo "$aros_comment" >&6; }
3825 if test "x-$aros_comment" = "x-yes" ; then
3826 aros_cflags_comment=-Wno-comment
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
3830 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
3831 CFLAGS=-Wincompatible-pointer-types
3832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3833 /* end confdefs.h. */
3836 main ()
3840 return 0;
3842 _ACEOF
3843 if ac_fn_c_try_compile "$LINENO"; then :
3844 aros_incompatible_pointer_types="yes"
3845 else
3846 aros_incompatible_pointer_types="no"
3848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
3850 $as_echo "$aros_incompatible_pointer_types" >&6; }
3851 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
3852 aros_cflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
3856 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
3857 CFLAGS=-Wbool-compare
3858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h. */
3862 main ()
3866 return 0;
3868 _ACEOF
3869 if ac_fn_c_try_compile "$LINENO"; then :
3870 aros_bool_compare="yes"
3871 else
3872 aros_bool_compare="no"
3874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
3876 $as_echo "$aros_bool_compare" >&6; }
3877 if test "x-$aros_bool_compare" = "x-yes" ; then
3878 aros_cflags_bool_compare=-Wno-bool-compare
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
3882 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
3883 CFLAGS=-Wlogical-not-parentheses
3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h. */
3888 main ()
3892 return 0;
3894 _ACEOF
3895 if ac_fn_c_try_compile "$LINENO"; then :
3896 aros_logical_not_parentheses="yes"
3897 else
3898 aros_logical_not_parentheses="no"
3900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
3902 $as_echo "$aros_logical_not_parentheses" >&6; }
3903 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
3904 aros_cflags_logical_not_parentheses=-Wno-logical-not-parentheses
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
3908 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
3909 CFLAGS=-Wpointer-sign
3910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3911 /* end confdefs.h. */
3914 main ()
3918 return 0;
3920 _ACEOF
3921 if ac_fn_c_try_compile "$LINENO"; then :
3922 aros_pointer_sign="yes"
3923 else
3924 aros_pointer_sign="no"
3926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
3928 $as_echo "$aros_pointer_sign" >&6; }
3929 if test "x-$aros_pointer_sign" = "x-yes" ; then
3930 aros_cflags_pointer_sign=-Wno-pointer-sign
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
3934 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
3935 CFLAGS=-Wshift-overflow
3936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3937 /* end confdefs.h. */
3940 main ()
3944 return 0;
3946 _ACEOF
3947 if ac_fn_c_try_compile "$LINENO"; then :
3948 aros_shift_overflow="yes"
3949 else
3950 aros_shift_overflow="no"
3952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
3954 $as_echo "$aros_shift_overflow" >&6; }
3955 if test "x-$aros_shift_overflow" = "x-yes" ; then
3956 aros_cflags_shift_overflow=-Wno-shift-overflow
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
3960 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
3961 CFLAGS=-Wframe-address
3962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3963 /* end confdefs.h. */
3966 main ()
3970 return 0;
3972 _ACEOF
3973 if ac_fn_c_try_compile "$LINENO"; then :
3974 aros_frame_address="yes"
3975 else
3976 aros_frame_address="no"
3978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
3980 $as_echo "$aros_frame_address" >&6; }
3981 if test "x-$aros_frame_address" = "x-yes" ; then
3982 aros_cflags_frame_address=-Wno-frame-address
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
3986 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
3987 CFLAGS=-Wdeprecated-declarations
3988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3989 /* end confdefs.h. */
3992 main ()
3996 return 0;
3998 _ACEOF
3999 if ac_fn_c_try_compile "$LINENO"; then :
4000 aros_deprecated_declarations="yes"
4001 else
4002 aros_deprecated_declarations="no"
4004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4006 $as_echo "$aros_deprecated_declarations" >&6; }
4007 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4008 aros_cflags_deprecated_declarations=-Wno-deprecated-declarations
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4012 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4013 CFLAGS=-Wsign-compare
4014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4015 /* end confdefs.h. */
4018 main ()
4022 return 0;
4024 _ACEOF
4025 if ac_fn_c_try_compile "$LINENO"; then :
4026 aros_sign_compare="yes"
4027 else
4028 aros_sign_compare="no"
4030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4032 $as_echo "$aros_sign_compare" >&6; }
4033 if test "x-$aros_sign_compare" = "x-yes" ; then
4034 aros_cflags_sign_compare=-Wno-sign-compare
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4038 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4039 CFLAGS=-Wattributes
4040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4041 /* end confdefs.h. */
4044 main ()
4048 return 0;
4050 _ACEOF
4051 if ac_fn_c_try_compile "$LINENO"; then :
4052 aros_attributes="yes"
4053 else
4054 aros_attributes="no"
4056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4058 $as_echo "$aros_attributes" >&6; }
4059 if test "x-$aros_attributes" = "x-yes" ; then
4060 aros_cflags_attributes=-Wno-attributes
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4064 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4065 CFLAGS=-Woverflow
4066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4067 /* end confdefs.h. */
4070 main ()
4074 return 0;
4076 _ACEOF
4077 if ac_fn_c_try_compile "$LINENO"; then :
4078 aros_overflow="yes"
4079 else
4080 aros_overflow="no"
4082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4084 $as_echo "$aros_overflow" >&6; }
4085 if test "x-$aros_overflow" = "x-yes" ; then
4086 aros_cflags_overflow=-Wno-overflow
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4090 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4091 CFLAGS=-Wunused-local-typedefs
4092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4093 /* end confdefs.h. */
4096 main ()
4100 return 0;
4102 _ACEOF
4103 if ac_fn_c_try_compile "$LINENO"; then :
4104 aros_unused_local_typedefs="yes"
4105 else
4106 aros_unused_local_typedefs="no"
4108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4110 $as_echo "$aros_unused_local_typedefs" >&6; }
4111 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4112 aros_cflags_unused_local_typedefs=-Wno-unused-local-typedefs
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4116 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4117 CFLAGS=-Wmissing-braces
4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4122 main ()
4126 return 0;
4128 _ACEOF
4129 if ac_fn_c_try_compile "$LINENO"; then :
4130 aros_missing_braces="yes"
4131 else
4132 aros_missing_braces="no"
4134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4136 $as_echo "$aros_missing_braces" >&6; }
4137 if test "x-$aros_missing_braces" = "x-yes" ; then
4138 aros_cflags_missing_braces=-Wno-missing-braces
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4142 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4143 CFLAGS=-Wconversion-null
4144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h. */
4148 main ()
4152 return 0;
4154 _ACEOF
4155 if ac_fn_c_try_compile "$LINENO"; then :
4156 aros_conversion_null="yes"
4157 else
4158 aros_conversion_null="no"
4160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4162 $as_echo "$aros_conversion_null" >&6; }
4163 if test "x-$aros_conversion_null" = "x-yes" ; then
4164 aros_cflags_conversion_null=-Wno-conversion-null
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4168 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4169 CFLAGS=-Wnarrowing
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h. */
4174 main ()
4178 return 0;
4180 _ACEOF
4181 if ac_fn_c_try_compile "$LINENO"; then :
4182 aros_narrowing="yes"
4183 else
4184 aros_narrowing="no"
4186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4188 $as_echo "$aros_narrowing" >&6; }
4189 if test "x-$aros_narrowing" = "x-yes" ; then
4190 aros_cflags_narrowing=-Wno-narrowing
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4194 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4195 CFLAGS=-Wvolatile-register-var
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4200 main ()
4204 return 0;
4206 _ACEOF
4207 if ac_fn_c_try_compile "$LINENO"; then :
4208 aros_volatile_register_var="yes"
4209 else
4210 aros_volatile_register_var="no"
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4214 $as_echo "$aros_volatile_register_var" >&6; }
4215 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4216 aros_cflags_volatile_register_var=-Wno-volatile-register-var
4281 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in"
4284 cat >confcache <<\_ACEOF
4285 # This file is a shell script that caches the results of configure
4286 # tests run on this system so they can be shared between configure
4287 # scripts and configure runs, see configure's option --config-cache.
4288 # It is not useful on other systems. If it contains results you don't
4289 # want to keep, you may remove or edit it.
4291 # config.status only pays attention to the cache file if you give it
4292 # the --recheck option to rerun configure.
4294 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4295 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4296 # following values.
4298 _ACEOF
4300 # The following way of writing the cache mishandles newlines in values,
4301 # but we know of no workaround that is simple, portable, and efficient.
4302 # So, we kill variables containing newlines.
4303 # Ultrix sh set writes to stderr and can't be redirected directly,
4304 # and sets the high bit in the cache file unless we assign to the vars.
4306 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4307 eval ac_val=\$$ac_var
4308 case $ac_val in #(
4309 *${as_nl}*)
4310 case $ac_var in #(
4311 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4312 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4313 esac
4314 case $ac_var in #(
4315 _ | IFS | as_nl) ;; #(
4316 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4317 *) { eval $ac_var=; unset $ac_var;} ;;
4318 esac ;;
4319 esac
4320 done
4322 (set) 2>&1 |
4323 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4324 *${as_nl}ac_space=\ *)
4325 # `set' does not quote correctly, so add quotes: double-quote
4326 # substitution turns \\\\ into \\, and sed turns \\ into \.
4327 sed -n \
4328 "s/'/'\\\\''/g;
4329 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4330 ;; #(
4332 # `set' quotes correctly as required by POSIX, so do not add quotes.
4333 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4335 esac |
4336 sort
4338 sed '
4339 /^ac_cv_env_/b end
4340 t clear
4341 :clear
4342 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4343 t end
4344 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4345 :end' >>confcache
4346 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4347 if test -w "$cache_file"; then
4348 if test "x$cache_file" != "x/dev/null"; then
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4350 $as_echo "$as_me: updating cache $cache_file" >&6;}
4351 if test ! -f "$cache_file" || test -h "$cache_file"; then
4352 cat confcache >"$cache_file"
4353 else
4354 case $cache_file in #(
4355 */* | ?:*)
4356 mv -f confcache "$cache_file"$$ &&
4357 mv -f "$cache_file"$$ "$cache_file" ;; #(
4359 mv -f confcache "$cache_file" ;;
4360 esac
4363 else
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4365 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4368 rm -f confcache
4370 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4371 # Let make expand exec_prefix.
4372 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4374 # Transform confdefs.h into DEFS.
4375 # Protect against shell expansion while executing Makefile rules.
4376 # Protect against Makefile macro expansion.
4378 # If the first sed substitution is executed (which looks for macros that
4379 # take arguments), then branch to the quote section. Otherwise,
4380 # look for a macro that doesn't take arguments.
4381 ac_script='
4382 :mline
4383 /\\$/{
4385 s,\\\n,,
4386 b mline
4388 t clear
4389 :clear
4390 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4391 t quote
4392 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4393 t quote
4394 b any
4395 :quote
4396 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4397 s/\[/\\&/g
4398 s/\]/\\&/g
4399 s/\$/$$/g
4401 :any
4404 s/^\n//
4405 s/\n/ /g
4409 DEFS=`sed -n "$ac_script" confdefs.h`
4412 ac_libobjs=
4413 ac_ltlibobjs=
4415 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4416 # 1. Remove the extension, and $U if already installed.
4417 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4418 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4419 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4420 # will be set to the directory where LIBOBJS objects are built.
4421 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4422 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4423 done
4424 LIBOBJS=$ac_libobjs
4426 LTLIBOBJS=$ac_ltlibobjs
4430 : "${CONFIG_STATUS=./config.status}"
4431 ac_write_fail=0
4432 ac_clean_files_save=$ac_clean_files
4433 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4435 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4436 as_write_fail=0
4437 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4438 #! $SHELL
4439 # Generated by $as_me.
4440 # Run this file to recreate the current configuration.
4441 # Compiler output produced by configure, useful for debugging
4442 # configure, is in config.log if it exists.
4444 debug=false
4445 ac_cs_recheck=false
4446 ac_cs_silent=false
4448 SHELL=\${CONFIG_SHELL-$SHELL}
4449 export SHELL
4450 _ASEOF
4451 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4452 ## -------------------- ##
4453 ## M4sh Initialization. ##
4454 ## -------------------- ##
4456 # Be more Bourne compatible
4457 DUALCASE=1; export DUALCASE # for MKS sh
4458 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4459 emulate sh
4460 NULLCMD=:
4461 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4462 # is contrary to our usage. Disable this feature.
4463 alias -g '${1+"$@"}'='"$@"'
4464 setopt NO_GLOB_SUBST
4465 else
4466 case `(set -o) 2>/dev/null` in #(
4467 *posix*) :
4468 set -o posix ;; #(
4469 *) :
4471 esac
4475 as_nl='
4477 export as_nl
4478 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4479 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4480 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4481 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4482 # Prefer a ksh shell builtin over an external printf program on Solaris,
4483 # but without wasting forks for bash or zsh.
4484 if test -z "$BASH_VERSION$ZSH_VERSION" \
4485 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4486 as_echo='print -r --'
4487 as_echo_n='print -rn --'
4488 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4489 as_echo='printf %s\n'
4490 as_echo_n='printf %s'
4491 else
4492 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4493 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4494 as_echo_n='/usr/ucb/echo -n'
4495 else
4496 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4497 as_echo_n_body='eval
4498 arg=$1;
4499 case $arg in #(
4500 *"$as_nl"*)
4501 expr "X$arg" : "X\\(.*\\)$as_nl";
4502 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4503 esac;
4504 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4506 export as_echo_n_body
4507 as_echo_n='sh -c $as_echo_n_body as_echo'
4509 export as_echo_body
4510 as_echo='sh -c $as_echo_body as_echo'
4513 # The user is always right.
4514 if test "${PATH_SEPARATOR+set}" != set; then
4515 PATH_SEPARATOR=:
4516 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4517 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4518 PATH_SEPARATOR=';'
4523 # IFS
4524 # We need space, tab and new line, in precisely that order. Quoting is
4525 # there to prevent editors from complaining about space-tab.
4526 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4527 # splitting by setting IFS to empty value.)
4528 IFS=" "" $as_nl"
4530 # Find who we are. Look in the path if we contain no directory separator.
4531 as_myself=
4532 case $0 in #((
4533 *[\\/]* ) as_myself=$0 ;;
4534 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4535 for as_dir in $PATH
4537 IFS=$as_save_IFS
4538 test -z "$as_dir" && as_dir=.
4539 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4540 done
4541 IFS=$as_save_IFS
4544 esac
4545 # We did not find ourselves, most probably we were run as `sh COMMAND'
4546 # in which case we are not to be found in the path.
4547 if test "x$as_myself" = x; then
4548 as_myself=$0
4550 if test ! -f "$as_myself"; then
4551 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4552 exit 1
4555 # Unset variables that we do not need and which cause bugs (e.g. in
4556 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4557 # suppresses any "Segmentation fault" message there. '((' could
4558 # trigger a bug in pdksh 5.2.14.
4559 for as_var in BASH_ENV ENV MAIL MAILPATH
4560 do eval test x\${$as_var+set} = xset \
4561 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4562 done
4563 PS1='$ '
4564 PS2='> '
4565 PS4='+ '
4567 # NLS nuisances.
4568 LC_ALL=C
4569 export LC_ALL
4570 LANGUAGE=C
4571 export LANGUAGE
4573 # CDPATH.
4574 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4577 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4578 # ----------------------------------------
4579 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4580 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4581 # script with STATUS, using 1 if that was 0.
4582 as_fn_error ()
4584 as_status=$1; test $as_status -eq 0 && as_status=1
4585 if test "$4"; then
4586 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4587 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4589 $as_echo "$as_me: error: $2" >&2
4590 as_fn_exit $as_status
4591 } # as_fn_error
4594 # as_fn_set_status STATUS
4595 # -----------------------
4596 # Set $? to STATUS, without forking.
4597 as_fn_set_status ()
4599 return $1
4600 } # as_fn_set_status
4602 # as_fn_exit STATUS
4603 # -----------------
4604 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4605 as_fn_exit ()
4607 set +e
4608 as_fn_set_status $1
4609 exit $1
4610 } # as_fn_exit
4612 # as_fn_unset VAR
4613 # ---------------
4614 # Portably unset VAR.
4615 as_fn_unset ()
4617 { eval $1=; unset $1;}
4619 as_unset=as_fn_unset
4620 # as_fn_append VAR VALUE
4621 # ----------------------
4622 # Append the text in VALUE to the end of the definition contained in VAR. Take
4623 # advantage of any shell optimizations that allow amortized linear growth over
4624 # repeated appends, instead of the typical quadratic growth present in naive
4625 # implementations.
4626 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4627 eval 'as_fn_append ()
4629 eval $1+=\$2
4631 else
4632 as_fn_append ()
4634 eval $1=\$$1\$2
4636 fi # as_fn_append
4638 # as_fn_arith ARG...
4639 # ------------------
4640 # Perform arithmetic evaluation on the ARGs, and store the result in the
4641 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4642 # must be portable across $(()) and expr.
4643 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4644 eval 'as_fn_arith ()
4646 as_val=$(( $* ))
4648 else
4649 as_fn_arith ()
4651 as_val=`expr "$@" || test $? -eq 1`
4653 fi # as_fn_arith
4656 if expr a : '\(a\)' >/dev/null 2>&1 &&
4657 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4658 as_expr=expr
4659 else
4660 as_expr=false
4663 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4664 as_basename=basename
4665 else
4666 as_basename=false
4669 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4670 as_dirname=dirname
4671 else
4672 as_dirname=false
4675 as_me=`$as_basename -- "$0" ||
4676 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4677 X"$0" : 'X\(//\)$' \| \
4678 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4679 $as_echo X/"$0" |
4680 sed '/^.*\/\([^/][^/]*\)\/*$/{
4681 s//\1/
4684 /^X\/\(\/\/\)$/{
4685 s//\1/
4688 /^X\/\(\/\).*/{
4689 s//\1/
4692 s/.*/./; q'`
4694 # Avoid depending upon Character Ranges.
4695 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4696 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4697 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4698 as_cr_digits='0123456789'
4699 as_cr_alnum=$as_cr_Letters$as_cr_digits
4701 ECHO_C= ECHO_N= ECHO_T=
4702 case `echo -n x` in #(((((
4703 -n*)
4704 case `echo 'xy\c'` in
4705 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4706 xy) ECHO_C='\c';;
4707 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4708 ECHO_T=' ';;
4709 esac;;
4711 ECHO_N='-n';;
4712 esac
4714 rm -f conf$$ conf$$.exe conf$$.file
4715 if test -d conf$$.dir; then
4716 rm -f conf$$.dir/conf$$.file
4717 else
4718 rm -f conf$$.dir
4719 mkdir conf$$.dir 2>/dev/null
4721 if (echo >conf$$.file) 2>/dev/null; then
4722 if ln -s conf$$.file conf$$ 2>/dev/null; then
4723 as_ln_s='ln -s'
4724 # ... but there are two gotchas:
4725 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4726 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4727 # In both cases, we have to default to `cp -pR'.
4728 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4729 as_ln_s='cp -pR'
4730 elif ln conf$$.file conf$$ 2>/dev/null; then
4731 as_ln_s=ln
4732 else
4733 as_ln_s='cp -pR'
4735 else
4736 as_ln_s='cp -pR'
4738 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4739 rmdir conf$$.dir 2>/dev/null
4742 # as_fn_mkdir_p
4743 # -------------
4744 # Create "$as_dir" as a directory, including parents if necessary.
4745 as_fn_mkdir_p ()
4748 case $as_dir in #(
4749 -*) as_dir=./$as_dir;;
4750 esac
4751 test -d "$as_dir" || eval $as_mkdir_p || {
4752 as_dirs=
4753 while :; do
4754 case $as_dir in #(
4755 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4756 *) as_qdir=$as_dir;;
4757 esac
4758 as_dirs="'$as_qdir' $as_dirs"
4759 as_dir=`$as_dirname -- "$as_dir" ||
4760 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4761 X"$as_dir" : 'X\(//\)[^/]' \| \
4762 X"$as_dir" : 'X\(//\)$' \| \
4763 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4764 $as_echo X"$as_dir" |
4765 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4766 s//\1/
4769 /^X\(\/\/\)[^/].*/{
4770 s//\1/
4773 /^X\(\/\/\)$/{
4774 s//\1/
4777 /^X\(\/\).*/{
4778 s//\1/
4781 s/.*/./; q'`
4782 test -d "$as_dir" && break
4783 done
4784 test -z "$as_dirs" || eval "mkdir $as_dirs"
4785 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4788 } # as_fn_mkdir_p
4789 if mkdir -p . 2>/dev/null; then
4790 as_mkdir_p='mkdir -p "$as_dir"'
4791 else
4792 test -d ./-p && rmdir ./-p
4793 as_mkdir_p=false
4797 # as_fn_executable_p FILE
4798 # -----------------------
4799 # Test if FILE is an executable regular file.
4800 as_fn_executable_p ()
4802 test -f "$1" && test -x "$1"
4803 } # as_fn_executable_p
4804 as_test_x='test -x'
4805 as_executable_p=as_fn_executable_p
4807 # Sed expression to map a string onto a valid CPP name.
4808 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4810 # Sed expression to map a string onto a valid variable name.
4811 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4814 exec 6>&1
4815 ## ----------------------------------- ##
4816 ## Main body of $CONFIG_STATUS script. ##
4817 ## ----------------------------------- ##
4818 _ASEOF
4819 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4822 # Save the log message, to keep $0 and so on meaningful, and to
4823 # report actual input values of CONFIG_FILES etc. instead of their
4824 # values after options handling.
4825 ac_log="
4826 This file was extended by $as_me, which was
4827 generated by GNU Autoconf 2.69. Invocation command line was
4829 CONFIG_FILES = $CONFIG_FILES
4830 CONFIG_HEADERS = $CONFIG_HEADERS
4831 CONFIG_LINKS = $CONFIG_LINKS
4832 CONFIG_COMMANDS = $CONFIG_COMMANDS
4833 $ $0 $@
4835 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4838 _ACEOF
4840 case $ac_config_files in *"
4841 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4842 esac
4846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4847 # Files that config.status was made for.
4848 config_files="$ac_config_files"
4850 _ACEOF
4852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4853 ac_cs_usage="\
4854 \`$as_me' instantiates files and other configuration actions
4855 from templates according to the current configuration. Unless the files
4856 and actions are specified as TAGs, all are instantiated by default.
4858 Usage: $0 [OPTION]... [TAG]...
4860 -h, --help print this help, then exit
4861 -V, --version print version number and configuration settings, then exit
4862 --config print configuration, then exit
4863 -q, --quiet, --silent
4864 do not print progress messages
4865 -d, --debug don't remove temporary files
4866 --recheck update $as_me by reconfiguring in the same conditions
4867 --file=FILE[:TEMPLATE]
4868 instantiate the configuration file FILE
4870 Configuration files:
4871 $config_files
4873 Report bugs to the package provider."
4875 _ACEOF
4876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4877 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4878 ac_cs_version="\\
4879 config.status
4880 configured by $0, generated by GNU Autoconf 2.69,
4881 with options \\"\$ac_cs_config\\"
4883 Copyright (C) 2012 Free Software Foundation, Inc.
4884 This config.status script is free software; the Free Software Foundation
4885 gives unlimited permission to copy, distribute and modify it."
4887 ac_pwd='$ac_pwd'
4888 srcdir='$srcdir'
4889 test -n "\$AWK" || AWK=awk
4890 _ACEOF
4892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4893 # The default lists apply if the user does not specify any file.
4894 ac_need_defaults=:
4895 while test $# != 0
4897 case $1 in
4898 --*=?*)
4899 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4900 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4901 ac_shift=:
4903 --*=)
4904 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4905 ac_optarg=
4906 ac_shift=:
4909 ac_option=$1
4910 ac_optarg=$2
4911 ac_shift=shift
4913 esac
4915 case $ac_option in
4916 # Handling of the options.
4917 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4918 ac_cs_recheck=: ;;
4919 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4920 $as_echo "$ac_cs_version"; exit ;;
4921 --config | --confi | --conf | --con | --co | --c )
4922 $as_echo "$ac_cs_config"; exit ;;
4923 --debug | --debu | --deb | --de | --d | -d )
4924 debug=: ;;
4925 --file | --fil | --fi | --f )
4926 $ac_shift
4927 case $ac_optarg in
4928 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4929 '') as_fn_error $? "missing file argument" ;;
4930 esac
4931 as_fn_append CONFIG_FILES " '$ac_optarg'"
4932 ac_need_defaults=false;;
4933 --he | --h | --help | --hel | -h )
4934 $as_echo "$ac_cs_usage"; exit ;;
4935 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4936 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4937 ac_cs_silent=: ;;
4939 # This is an error.
4940 -*) as_fn_error $? "unrecognized option: \`$1'
4941 Try \`$0 --help' for more information." ;;
4943 *) as_fn_append ac_config_targets " $1"
4944 ac_need_defaults=false ;;
4946 esac
4947 shift
4948 done
4950 ac_configure_extra_args=
4952 if $ac_cs_silent; then
4953 exec 6>/dev/null
4954 ac_configure_extra_args="$ac_configure_extra_args --silent"
4957 _ACEOF
4958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4959 if \$ac_cs_recheck; then
4960 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4961 shift
4962 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4963 CONFIG_SHELL='$SHELL'
4964 export CONFIG_SHELL
4965 exec "\$@"
4968 _ACEOF
4969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4970 exec 5>>config.log
4972 echo
4973 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4974 ## Running $as_me. ##
4975 _ASBOX
4976 $as_echo "$ac_log"
4977 } >&5
4979 _ACEOF
4980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4981 _ACEOF
4983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4985 # Handling of arguments.
4986 for ac_config_target in $ac_config_targets
4988 case $ac_config_target in
4989 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in" ;;
4991 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4992 esac
4993 done
4996 # If the user did not use the arguments to specify the items to instantiate,
4997 # then the envvar interface is used. Set only those that are not.
4998 # We use the long form for the default assignment because of an extremely
4999 # bizarre bug on SunOS 4.1.3.
5000 if $ac_need_defaults; then
5001 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5004 # Have a temporary directory for convenience. Make it in the build tree
5005 # simply because there is no reason against having it here, and in addition,
5006 # creating and moving files from /tmp can sometimes cause problems.
5007 # Hook for its removal unless debugging.
5008 # Note that there is a small window in which the directory will not be cleaned:
5009 # after its creation but before its name has been assigned to `$tmp'.
5010 $debug ||
5012 tmp= ac_tmp=
5013 trap 'exit_status=$?
5014 : "${ac_tmp:=$tmp}"
5015 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5017 trap 'as_fn_exit 1' 1 2 13 15
5019 # Create a (secure) tmp directory for tmp files.
5022 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5023 test -d "$tmp"
5024 } ||
5026 tmp=./conf$$-$RANDOM
5027 (umask 077 && mkdir "$tmp")
5028 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5029 ac_tmp=$tmp
5031 # Set up the scripts for CONFIG_FILES section.
5032 # No need to generate them if there are no CONFIG_FILES.
5033 # This happens for instance with `./config.status config.h'.
5034 if test -n "$CONFIG_FILES"; then
5037 ac_cr=`echo X | tr X '\015'`
5038 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5039 # But we know of no other shell where ac_cr would be empty at this
5040 # point, so we can use a bashism as a fallback.
5041 if test "x$ac_cr" = x; then
5042 eval ac_cr=\$\'\\r\'
5044 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5045 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5046 ac_cs_awk_cr='\\r'
5047 else
5048 ac_cs_awk_cr=$ac_cr
5051 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5052 _ACEOF
5056 echo "cat >conf$$subs.awk <<_ACEOF" &&
5057 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5058 echo "_ACEOF"
5059 } >conf$$subs.sh ||
5060 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5061 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5062 ac_delim='%!_!# '
5063 for ac_last_try in false false false false false :; do
5064 . ./conf$$subs.sh ||
5065 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5067 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5068 if test $ac_delim_n = $ac_delim_num; then
5069 break
5070 elif $ac_last_try; then
5071 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5072 else
5073 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5075 done
5076 rm -f conf$$subs.sh
5078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5079 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5080 _ACEOF
5081 sed -n '
5083 s/^/S["/; s/!.*/"]=/
5086 s/^[^!]*!//
5087 :repl
5088 t repl
5089 s/'"$ac_delim"'$//
5090 t delim
5093 s/\(.\{148\}\)..*/\1/
5094 t more1
5095 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5098 b repl
5099 :more1
5100 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5103 s/.\{148\}//
5104 t nl
5105 :delim
5107 s/\(.\{148\}\)..*/\1/
5108 t more2
5109 s/["\\]/\\&/g; s/^/"/; s/$/"/
5112 :more2
5113 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5116 s/.\{148\}//
5117 t delim
5118 ' <conf$$subs.awk | sed '
5119 /^[^""]/{
5121 s/\n//
5123 ' >>$CONFIG_STATUS || ac_write_fail=1
5124 rm -f conf$$subs.awk
5125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5126 _ACAWK
5127 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5128 for (key in S) S_is_set[key] = 1
5129 FS = "\a"
5133 line = $ 0
5134 nfields = split(line, field, "@")
5135 substed = 0
5136 len = length(field[1])
5137 for (i = 2; i < nfields; i++) {
5138 key = field[i]
5139 keylen = length(key)
5140 if (S_is_set[key]) {
5141 value = S[key]
5142 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5143 len += length(value) + length(field[++i])
5144 substed = 1
5145 } else
5146 len += 1 + keylen
5149 print line
5152 _ACAWK
5153 _ACEOF
5154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5155 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5156 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5157 else
5159 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5160 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5161 _ACEOF
5163 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5164 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5165 # trailing colons and then remove the whole line if VPATH becomes empty
5166 # (actually we leave an empty line to preserve line numbers).
5167 if test "x$srcdir" = x.; then
5168 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5170 s///
5171 s/^/:/
5172 s/[ ]*$/:/
5173 s/:\$(srcdir):/:/g
5174 s/:\${srcdir}:/:/g
5175 s/:@srcdir@:/:/g
5176 s/^:*//
5177 s/:*$//
5179 s/\(=[ ]*\).*/\1/
5181 s/\n//
5182 s/^[^=]*=[ ]*$//
5186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5187 fi # test -n "$CONFIG_FILES"
5190 eval set X " :F $CONFIG_FILES "
5191 shift
5192 for ac_tag
5194 case $ac_tag in
5195 :[FHLC]) ac_mode=$ac_tag; continue;;
5196 esac
5197 case $ac_mode$ac_tag in
5198 :[FHL]*:*);;
5199 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5200 :[FH]-) ac_tag=-:-;;
5201 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5202 esac
5203 ac_save_IFS=$IFS
5204 IFS=:
5205 set x $ac_tag
5206 IFS=$ac_save_IFS
5207 shift
5208 ac_file=$1
5209 shift
5211 case $ac_mode in
5212 :L) ac_source=$1;;
5213 :[FH])
5214 ac_file_inputs=
5215 for ac_f
5217 case $ac_f in
5218 -) ac_f="$ac_tmp/stdin";;
5219 *) # Look for the file first in the build tree, then in the source tree
5220 # (if the path is not absolute). The absolute path cannot be DOS-style,
5221 # because $ac_f cannot contain `:'.
5222 test -f "$ac_f" ||
5223 case $ac_f in
5224 [\\/$]*) false;;
5225 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5226 esac ||
5227 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5228 esac
5229 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5230 as_fn_append ac_file_inputs " '$ac_f'"
5231 done
5233 # Let's still pretend it is `configure' which instantiates (i.e., don't
5234 # use $as_me), people would be surprised to read:
5235 # /* config.h. Generated by config.status. */
5236 configure_input='Generated from '`
5237 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5238 `' by configure.'
5239 if test x"$ac_file" != x-; then
5240 configure_input="$ac_file. $configure_input"
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5242 $as_echo "$as_me: creating $ac_file" >&6;}
5244 # Neutralize special characters interpreted by sed in replacement strings.
5245 case $configure_input in #(
5246 *\&* | *\|* | *\\* )
5247 ac_sed_conf_input=`$as_echo "$configure_input" |
5248 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5249 *) ac_sed_conf_input=$configure_input;;
5250 esac
5252 case $ac_tag in
5253 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5254 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5255 esac
5257 esac
5259 ac_dir=`$as_dirname -- "$ac_file" ||
5260 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5261 X"$ac_file" : 'X\(//\)[^/]' \| \
5262 X"$ac_file" : 'X\(//\)$' \| \
5263 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5264 $as_echo X"$ac_file" |
5265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5266 s//\1/
5269 /^X\(\/\/\)[^/].*/{
5270 s//\1/
5273 /^X\(\/\/\)$/{
5274 s//\1/
5277 /^X\(\/\).*/{
5278 s//\1/
5281 s/.*/./; q'`
5282 as_dir="$ac_dir"; as_fn_mkdir_p
5283 ac_builddir=.
5285 case "$ac_dir" in
5286 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5288 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5289 # A ".." for each directory in $ac_dir_suffix.
5290 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5291 case $ac_top_builddir_sub in
5292 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5293 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5294 esac ;;
5295 esac
5296 ac_abs_top_builddir=$ac_pwd
5297 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5298 # for backward compatibility:
5299 ac_top_builddir=$ac_top_build_prefix
5301 case $srcdir in
5302 .) # We are building in place.
5303 ac_srcdir=.
5304 ac_top_srcdir=$ac_top_builddir_sub
5305 ac_abs_top_srcdir=$ac_pwd ;;
5306 [\\/]* | ?:[\\/]* ) # Absolute name.
5307 ac_srcdir=$srcdir$ac_dir_suffix;
5308 ac_top_srcdir=$srcdir
5309 ac_abs_top_srcdir=$srcdir ;;
5310 *) # Relative name.
5311 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5312 ac_top_srcdir=$ac_top_build_prefix$srcdir
5313 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5314 esac
5315 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5318 case $ac_mode in
5321 # CONFIG_FILE
5324 _ACEOF
5326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5327 # If the template does not know about datarootdir, expand it.
5328 # FIXME: This hack should be removed a few years after 2.60.
5329 ac_datarootdir_hack=; ac_datarootdir_seen=
5330 ac_sed_dataroot='
5331 /datarootdir/ {
5335 /@datadir@/p
5336 /@docdir@/p
5337 /@infodir@/p
5338 /@localedir@/p
5339 /@mandir@/p'
5340 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5341 *datarootdir*) ac_datarootdir_seen=yes;;
5342 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5344 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5345 _ACEOF
5346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5347 ac_datarootdir_hack='
5348 s&@datadir@&$datadir&g
5349 s&@docdir@&$docdir&g
5350 s&@infodir@&$infodir&g
5351 s&@localedir@&$localedir&g
5352 s&@mandir@&$mandir&g
5353 s&\\\${datarootdir}&$datarootdir&g' ;;
5354 esac
5355 _ACEOF
5357 # Neutralize VPATH when `$srcdir' = `.'.
5358 # Shell code in configure.ac might set extrasub.
5359 # FIXME: do we really want to maintain this feature?
5360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5361 ac_sed_extra="$ac_vpsub
5362 $extrasub
5363 _ACEOF
5364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5366 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5367 s|@configure_input@|$ac_sed_conf_input|;t t
5368 s&@top_builddir@&$ac_top_builddir_sub&;t t
5369 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5370 s&@srcdir@&$ac_srcdir&;t t
5371 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5372 s&@top_srcdir@&$ac_top_srcdir&;t t
5373 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5374 s&@builddir@&$ac_builddir&;t t
5375 s&@abs_builddir@&$ac_abs_builddir&;t t
5376 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5377 $ac_datarootdir_hack
5379 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5380 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5382 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5383 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5384 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5385 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5387 which seems to be undefined. Please make sure it is defined" >&5
5388 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5389 which seems to be undefined. Please make sure it is defined" >&2;}
5391 rm -f "$ac_tmp/stdin"
5392 case $ac_file in
5393 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5394 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5395 esac \
5396 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5401 esac
5403 done # for ac_tag
5406 as_fn_exit 0
5407 _ACEOF
5408 ac_clean_files=$ac_clean_files_save
5410 test $ac_write_fail = 0 ||
5411 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5414 # configure is writing to config.log, and then calls config.status.
5415 # config.status does its own redirection, appending to config.log.
5416 # Unfortunately, on DOS this fails, as config.log is still kept open
5417 # by configure, so config.status won't be able to write to it; its
5418 # output is simply discarded. So we exec the FD to /dev/null,
5419 # effectively closing config.log, so it can be properly (re)opened and
5420 # appended to by config.status. When coming back to configure, we
5421 # need to make the FD available again.
5422 if test "$no_create" != yes; then
5423 ac_cs_success=:
5424 ac_config_status_args=
5425 test "$silent" = yes &&
5426 ac_config_status_args="$ac_config_status_args --quiet"
5427 exec 5>/dev/null
5428 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5429 exec 5>>config.log
5430 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5431 # would make configure fail if this is the last instruction.
5432 $ac_cs_success || as_fn_exit 1
5434 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5436 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}