Fixed compiler warnings.
[AROS.git] / features
blobfa9b560fee736bc611e237a308febed7c6420c92
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
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3308 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3309 CFLAGS=-Wimplicit-function-declaration
3310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311 /* end confdefs.h. */
3314 main ()
3318 return 0;
3320 _ACEOF
3321 if ac_fn_c_try_compile "$LINENO"; then :
3322 aros_implicit_function_declaration="yes"
3323 else
3324 aros_implicit_function_declaration="no"
3326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3328 $as_echo "$aros_implicit_function_declaration" >&6; }
3329 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3330 aros_cflags_implicit_function_declaration=-Wno-implicit-function-declaration
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3334 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3335 CFLAGS=-Wformat
3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337 /* end confdefs.h. */
3340 main ()
3344 return 0;
3346 _ACEOF
3347 if ac_fn_c_try_compile "$LINENO"; then :
3348 aros_format="yes"
3349 else
3350 aros_format="no"
3352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3354 $as_echo "$aros_format" >&6; }
3355 if test "x-$aros_format" = "x-yes" ; then
3356 aros_cflags_format=-Wno-format
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3360 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3361 CFLAGS=-Wparentheses
3362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h. */
3366 main ()
3370 return 0;
3372 _ACEOF
3373 if ac_fn_c_try_compile "$LINENO"; then :
3374 aros_parentheses="yes"
3375 else
3376 aros_parentheses="no"
3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3380 $as_echo "$aros_parentheses" >&6; }
3381 if test "x-$aros_parentheses" = "x-yes" ; then
3382 aros_cflags_parentheses=-Wno-parentheses
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3386 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3387 CFLAGS=-Wchar-subscripts
3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h. */
3392 main ()
3396 return 0;
3398 _ACEOF
3399 if ac_fn_c_try_compile "$LINENO"; then :
3400 aros_char_subscripts="yes"
3401 else
3402 aros_char_subscripts="no"
3404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3406 $as_echo "$aros_char_subscripts" >&6; }
3407 if test "x-$aros_char_subscripts" = "x-yes" ; then
3408 aros_cflags_char_subscripts=-Wno-char-subscripts
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3412 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3413 CFLAGS=-Wendif-labels
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3418 main ()
3422 return 0;
3424 _ACEOF
3425 if ac_fn_c_try_compile "$LINENO"; then :
3426 aros_endif_labels="yes"
3427 else
3428 aros_endif_labels="no"
3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3432 $as_echo "$aros_endif_labels" >&6; }
3433 if test "x-$aros_endif_labels" = "x-yes" ; then
3434 aros_cflags_endif_labels=-Wno-endif-labels
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3438 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3439 CFLAGS=-Wformat-contains-nul
3440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3441 /* end confdefs.h. */
3444 main ()
3448 return 0;
3450 _ACEOF
3451 if ac_fn_c_try_compile "$LINENO"; then :
3452 aros_format_contains_nul="yes"
3453 else
3454 aros_format_contains_nul="no"
3456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3458 $as_echo "$aros_format_contains_nul" >&6; }
3459 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3460 aros_cflags_format_contains_nul=-Wno-format-contains-nul
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3464 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3465 CFLAGS=-Wimplicit-int
3466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3467 /* end confdefs.h. */
3470 main ()
3474 return 0;
3476 _ACEOF
3477 if ac_fn_c_try_compile "$LINENO"; then :
3478 aros_implicit_int="yes"
3479 else
3480 aros_implicit_int="no"
3482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3484 $as_echo "$aros_implicit_int" >&6; }
3485 if test "x-$aros_implicit_int" = "x-yes" ; then
3486 aros_cflags_implicit_int=-Wno-implicit-int
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3490 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3491 CFLAGS=-Waggressive-loop-optimizations
3492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3493 /* end confdefs.h. */
3496 main ()
3500 return 0;
3502 _ACEOF
3503 if ac_fn_c_try_compile "$LINENO"; then :
3504 aros_aggressive_loop_optimizations="yes"
3505 else
3506 aros_aggressive_loop_optimizations="no"
3508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3510 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3511 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3512 aros_cflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3516 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3517 CFLAGS=-Wcpp
3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3519 /* end confdefs.h. */
3522 main ()
3526 return 0;
3528 _ACEOF
3529 if ac_fn_c_try_compile "$LINENO"; then :
3530 aros_cpp="yes"
3531 else
3532 aros_cpp="no"
3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3536 $as_echo "$aros_cpp" >&6; }
3537 if test "x-$aros_cpp" = "x-yes" ; then
3538 aros_cflags_cpp=-Wno-cpp
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3542 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3543 CFLAGS=-Wswitch
3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3548 main ()
3552 return 0;
3554 _ACEOF
3555 if ac_fn_c_try_compile "$LINENO"; then :
3556 aros_switch="yes"
3557 else
3558 aros_switch="no"
3560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3562 $as_echo "$aros_switch" >&6; }
3563 if test "x-$aros_switch" = "x-yes" ; then
3564 aros_cflags_switch=-Wno-switch
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3568 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3569 CFLAGS=-Wdiscarded-qualifiers
3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h. */
3574 main ()
3578 return 0;
3580 _ACEOF
3581 if ac_fn_c_try_compile "$LINENO"; then :
3582 aros_discarded_qualifiers="yes"
3583 else
3584 aros_discarded_qualifiers="no"
3586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3588 $as_echo "$aros_discarded_qualifiers" >&6; }
3589 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3590 aros_cflags_discarded_qualifiers=-Wno-discarded-qualifiers
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3594 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3595 CFLAGS=-Wsequence-point
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h. */
3600 main ()
3604 return 0;
3606 _ACEOF
3607 if ac_fn_c_try_compile "$LINENO"; then :
3608 aros_sequence_point="yes"
3609 else
3610 aros_sequence_point="no"
3612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3614 $as_echo "$aros_sequence_point" >&6; }
3615 if test "x-$aros_sequence_point" = "x-yes" ; then
3616 aros_cflags_sequence_point=-Wno-sequence-point
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3620 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3621 CFLAGS=-Wunknown-pragmas
3622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3623 /* end confdefs.h. */
3626 main ()
3630 return 0;
3632 _ACEOF
3633 if ac_fn_c_try_compile "$LINENO"; then :
3634 aros_unknown_pragmas="yes"
3635 else
3636 aros_unknown_pragmas="no"
3638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3640 $as_echo "$aros_unknown_pragmas" >&6; }
3641 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3642 aros_cflags_unknown_pragmas=-Wno-unknown-pragmas
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3646 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3647 CFLAGS=-Wdiscarded-array-qualifiers
3648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3652 main ()
3656 return 0;
3658 _ACEOF
3659 if ac_fn_c_try_compile "$LINENO"; then :
3660 aros_discarded_array_qualifiers="yes"
3661 else
3662 aros_discarded_array_qualifiers="no"
3664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3666 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3667 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3668 aros_cflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3672 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3673 CFLAGS=-Wint-conversion
3674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3675 /* end confdefs.h. */
3678 main ()
3682 return 0;
3684 _ACEOF
3685 if ac_fn_c_try_compile "$LINENO"; then :
3686 aros_int_conversion="yes"
3687 else
3688 aros_int_conversion="no"
3690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3692 $as_echo "$aros_int_conversion" >&6; }
3693 if test "x-$aros_int_conversion" = "x-yes" ; then
3694 aros_cflags_int_conversion=-Wno-int-conversion
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3698 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3699 CFLAGS=-Wint-to-pointer-cast
3700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3701 /* end confdefs.h. */
3704 main ()
3708 return 0;
3710 _ACEOF
3711 if ac_fn_c_try_compile "$LINENO"; then :
3712 aros_int_to_pointer_cast="yes"
3713 else
3714 aros_int_to_pointer_cast="no"
3716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3718 $as_echo "$aros_int_to_pointer_cast" >&6; }
3719 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3720 aros_cflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
3724 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
3725 CFLAGS=-Wpointer-to-int-cast
3726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3727 /* end confdefs.h. */
3730 main ()
3734 return 0;
3736 _ACEOF
3737 if ac_fn_c_try_compile "$LINENO"; then :
3738 aros_pointer_to_int_cast="yes"
3739 else
3740 aros_pointer_to_int_cast="no"
3742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
3744 $as_echo "$aros_pointer_to_int_cast" >&6; }
3745 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
3746 aros_cflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
3750 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
3751 CFLAGS=-Wunused-const-variable
3752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3753 /* end confdefs.h. */
3756 main ()
3760 return 0;
3762 _ACEOF
3763 if ac_fn_c_try_compile "$LINENO"; then :
3764 aros_unused_const_variable="yes"
3765 else
3766 aros_unused_const_variable="no"
3768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
3770 $as_echo "$aros_unused_const_variable" >&6; }
3771 if test "x-$aros_unused_const_variable" = "x-yes" ; then
3772 aros_cflags_unused_const_variable=-Wno-unused-const-variable
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
3776 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
3777 CFLAGS=-Wwrite-strings
3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779 /* end confdefs.h. */
3782 main ()
3786 return 0;
3788 _ACEOF
3789 if ac_fn_c_try_compile "$LINENO"; then :
3790 aros_write_strings="yes"
3791 else
3792 aros_write_strings="no"
3794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
3796 $as_echo "$aros_write_strings" >&6; }
3797 if test "x-$aros_write_strings" = "x-yes" ; then
3798 aros_cflags_write_strings=-Wno-write-strings
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
3802 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
3803 CFLAGS=-Wcomment
3804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3805 /* end confdefs.h. */
3808 main ()
3812 return 0;
3814 _ACEOF
3815 if ac_fn_c_try_compile "$LINENO"; then :
3816 aros_comment="yes"
3817 else
3818 aros_comment="no"
3820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
3822 $as_echo "$aros_comment" >&6; }
3823 if test "x-$aros_comment" = "x-yes" ; then
3824 aros_cflags_comment=-Wno-comment
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
3828 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
3829 CFLAGS=-Wincompatible-pointer-types
3830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3831 /* end confdefs.h. */
3834 main ()
3838 return 0;
3840 _ACEOF
3841 if ac_fn_c_try_compile "$LINENO"; then :
3842 aros_incompatible_pointer_types="yes"
3843 else
3844 aros_incompatible_pointer_types="no"
3846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
3848 $as_echo "$aros_incompatible_pointer_types" >&6; }
3849 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
3850 aros_cflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
3854 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
3855 CFLAGS=-Wbool-compare
3856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3857 /* end confdefs.h. */
3860 main ()
3864 return 0;
3866 _ACEOF
3867 if ac_fn_c_try_compile "$LINENO"; then :
3868 aros_bool_compare="yes"
3869 else
3870 aros_bool_compare="no"
3872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
3874 $as_echo "$aros_bool_compare" >&6; }
3875 if test "x-$aros_bool_compare" = "x-yes" ; then
3876 aros_cflags_bool_compare=-Wno-bool-compare
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
3880 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
3881 CFLAGS=-Wlogical-not-parentheses
3882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3886 main ()
3890 return 0;
3892 _ACEOF
3893 if ac_fn_c_try_compile "$LINENO"; then :
3894 aros_logical_not_parentheses="yes"
3895 else
3896 aros_logical_not_parentheses="no"
3898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
3900 $as_echo "$aros_logical_not_parentheses" >&6; }
3901 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
3902 aros_cflags_logical_not_parentheses=-Wno-logical-not-parentheses
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
3906 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
3907 CFLAGS=-Wpointer-sign
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3912 main ()
3916 return 0;
3918 _ACEOF
3919 if ac_fn_c_try_compile "$LINENO"; then :
3920 aros_pointer_sign="yes"
3921 else
3922 aros_pointer_sign="no"
3924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
3926 $as_echo "$aros_pointer_sign" >&6; }
3927 if test "x-$aros_pointer_sign" = "x-yes" ; then
3928 aros_cflags_pointer_sign=-Wno-pointer-sign
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
3932 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
3933 CFLAGS=-Wshift-overflow
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h. */
3938 main ()
3942 return 0;
3944 _ACEOF
3945 if ac_fn_c_try_compile "$LINENO"; then :
3946 aros_shift_overflow="yes"
3947 else
3948 aros_shift_overflow="no"
3950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
3952 $as_echo "$aros_shift_overflow" >&6; }
3953 if test "x-$aros_shift_overflow" = "x-yes" ; then
3954 aros_cflags_shift_overflow=-Wno-shift-overflow
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
3958 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
3959 CFLAGS=-Wframe-address
3960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3961 /* end confdefs.h. */
3964 main ()
3968 return 0;
3970 _ACEOF
3971 if ac_fn_c_try_compile "$LINENO"; then :
3972 aros_frame_address="yes"
3973 else
3974 aros_frame_address="no"
3976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
3978 $as_echo "$aros_frame_address" >&6; }
3979 if test "x-$aros_frame_address" = "x-yes" ; then
3980 aros_cflags_frame_address=-Wno-frame-address
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
3984 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
3985 CFLAGS=-Wdeprecated-declarations
3986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h. */
3990 main ()
3994 return 0;
3996 _ACEOF
3997 if ac_fn_c_try_compile "$LINENO"; then :
3998 aros_deprecated_declarations="yes"
3999 else
4000 aros_deprecated_declarations="no"
4002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4004 $as_echo "$aros_deprecated_declarations" >&6; }
4005 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4006 aros_cflags_deprecated_declarations=-Wno-deprecated-declarations
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4010 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4011 CFLAGS=-Wsign-compare
4012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4013 /* end confdefs.h. */
4016 main ()
4020 return 0;
4022 _ACEOF
4023 if ac_fn_c_try_compile "$LINENO"; then :
4024 aros_sign_compare="yes"
4025 else
4026 aros_sign_compare="no"
4028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4030 $as_echo "$aros_sign_compare" >&6; }
4031 if test "x-$aros_sign_compare" = "x-yes" ; then
4032 aros_cflags_sign_compare=-Wno-sign-compare
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4036 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4037 CFLAGS=-Wattributes
4038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4039 /* end confdefs.h. */
4042 main ()
4046 return 0;
4048 _ACEOF
4049 if ac_fn_c_try_compile "$LINENO"; then :
4050 aros_attributes="yes"
4051 else
4052 aros_attributes="no"
4054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4056 $as_echo "$aros_attributes" >&6; }
4057 if test "x-$aros_attributes" = "x-yes" ; then
4058 aros_cflags_attributes=-Wno-attributes
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4062 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4063 CFLAGS=-Woverflow
4064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h. */
4068 main ()
4072 return 0;
4074 _ACEOF
4075 if ac_fn_c_try_compile "$LINENO"; then :
4076 aros_overflow="yes"
4077 else
4078 aros_overflow="no"
4080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4082 $as_echo "$aros_overflow" >&6; }
4083 if test "x-$aros_overflow" = "x-yes" ; then
4084 aros_cflags_overflow=-Wno-overflow
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4088 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4089 CFLAGS=-Wunused-local-typedefs
4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4094 main ()
4098 return 0;
4100 _ACEOF
4101 if ac_fn_c_try_compile "$LINENO"; then :
4102 aros_unused_local_typedefs="yes"
4103 else
4104 aros_unused_local_typedefs="no"
4106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4108 $as_echo "$aros_unused_local_typedefs" >&6; }
4109 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4110 aros_cflags_unused_local_typedefs=-Wno-unused-local-typedefs
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4114 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4115 CFLAGS=-Wmissing-braces
4116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4117 /* end confdefs.h. */
4120 main ()
4124 return 0;
4126 _ACEOF
4127 if ac_fn_c_try_compile "$LINENO"; then :
4128 aros_missing_braces="yes"
4129 else
4130 aros_missing_braces="no"
4132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4134 $as_echo "$aros_missing_braces" >&6; }
4135 if test "x-$aros_missing_braces" = "x-yes" ; then
4136 aros_cflags_missing_braces=-Wno-missing-braces
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4140 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4141 CFLAGS=-Wconversion-null
4142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4143 /* end confdefs.h. */
4146 main ()
4150 return 0;
4152 _ACEOF
4153 if ac_fn_c_try_compile "$LINENO"; then :
4154 aros_conversion_null="yes"
4155 else
4156 aros_conversion_null="no"
4158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4160 $as_echo "$aros_conversion_null" >&6; }
4161 if test "x-$aros_conversion_null" = "x-yes" ; then
4162 aros_cflags_conversion_null=-Wno-conversion-null
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4166 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4167 CFLAGS=-Wnarrowing
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4172 main ()
4176 return 0;
4178 _ACEOF
4179 if ac_fn_c_try_compile "$LINENO"; then :
4180 aros_narrowing="yes"
4181 else
4182 aros_narrowing="no"
4184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4186 $as_echo "$aros_narrowing" >&6; }
4187 if test "x-$aros_narrowing" = "x-yes" ; then
4188 aros_cflags_narrowing=-Wno-narrowing
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4192 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4193 CFLAGS=-Wvolatile-register-var
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4198 main ()
4202 return 0;
4204 _ACEOF
4205 if ac_fn_c_try_compile "$LINENO"; then :
4206 aros_volatile_register_var="yes"
4207 else
4208 aros_volatile_register_var="no"
4210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4212 $as_echo "$aros_volatile_register_var" >&6; }
4213 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4214 aros_cflags_volatile_register_var=-Wno-volatile-register-var
4279 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in"
4282 cat >confcache <<\_ACEOF
4283 # This file is a shell script that caches the results of configure
4284 # tests run on this system so they can be shared between configure
4285 # scripts and configure runs, see configure's option --config-cache.
4286 # It is not useful on other systems. If it contains results you don't
4287 # want to keep, you may remove or edit it.
4289 # config.status only pays attention to the cache file if you give it
4290 # the --recheck option to rerun configure.
4292 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4293 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4294 # following values.
4296 _ACEOF
4298 # The following way of writing the cache mishandles newlines in values,
4299 # but we know of no workaround that is simple, portable, and efficient.
4300 # So, we kill variables containing newlines.
4301 # Ultrix sh set writes to stderr and can't be redirected directly,
4302 # and sets the high bit in the cache file unless we assign to the vars.
4304 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4305 eval ac_val=\$$ac_var
4306 case $ac_val in #(
4307 *${as_nl}*)
4308 case $ac_var in #(
4309 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4310 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4311 esac
4312 case $ac_var in #(
4313 _ | IFS | as_nl) ;; #(
4314 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4315 *) { eval $ac_var=; unset $ac_var;} ;;
4316 esac ;;
4317 esac
4318 done
4320 (set) 2>&1 |
4321 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4322 *${as_nl}ac_space=\ *)
4323 # `set' does not quote correctly, so add quotes: double-quote
4324 # substitution turns \\\\ into \\, and sed turns \\ into \.
4325 sed -n \
4326 "s/'/'\\\\''/g;
4327 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4328 ;; #(
4330 # `set' quotes correctly as required by POSIX, so do not add quotes.
4331 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4333 esac |
4334 sort
4336 sed '
4337 /^ac_cv_env_/b end
4338 t clear
4339 :clear
4340 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4341 t end
4342 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4343 :end' >>confcache
4344 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4345 if test -w "$cache_file"; then
4346 if test "x$cache_file" != "x/dev/null"; then
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4348 $as_echo "$as_me: updating cache $cache_file" >&6;}
4349 if test ! -f "$cache_file" || test -h "$cache_file"; then
4350 cat confcache >"$cache_file"
4351 else
4352 case $cache_file in #(
4353 */* | ?:*)
4354 mv -f confcache "$cache_file"$$ &&
4355 mv -f "$cache_file"$$ "$cache_file" ;; #(
4357 mv -f confcache "$cache_file" ;;
4358 esac
4361 else
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4363 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4366 rm -f confcache
4368 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4369 # Let make expand exec_prefix.
4370 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4372 # Transform confdefs.h into DEFS.
4373 # Protect against shell expansion while executing Makefile rules.
4374 # Protect against Makefile macro expansion.
4376 # If the first sed substitution is executed (which looks for macros that
4377 # take arguments), then branch to the quote section. Otherwise,
4378 # look for a macro that doesn't take arguments.
4379 ac_script='
4380 :mline
4381 /\\$/{
4383 s,\\\n,,
4384 b mline
4386 t clear
4387 :clear
4388 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4389 t quote
4390 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4391 t quote
4392 b any
4393 :quote
4394 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4395 s/\[/\\&/g
4396 s/\]/\\&/g
4397 s/\$/$$/g
4399 :any
4402 s/^\n//
4403 s/\n/ /g
4407 DEFS=`sed -n "$ac_script" confdefs.h`
4410 ac_libobjs=
4411 ac_ltlibobjs=
4413 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4414 # 1. Remove the extension, and $U if already installed.
4415 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4416 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4417 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4418 # will be set to the directory where LIBOBJS objects are built.
4419 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4420 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4421 done
4422 LIBOBJS=$ac_libobjs
4424 LTLIBOBJS=$ac_ltlibobjs
4428 : "${CONFIG_STATUS=./config.status}"
4429 ac_write_fail=0
4430 ac_clean_files_save=$ac_clean_files
4431 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4433 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4434 as_write_fail=0
4435 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4436 #! $SHELL
4437 # Generated by $as_me.
4438 # Run this file to recreate the current configuration.
4439 # Compiler output produced by configure, useful for debugging
4440 # configure, is in config.log if it exists.
4442 debug=false
4443 ac_cs_recheck=false
4444 ac_cs_silent=false
4446 SHELL=\${CONFIG_SHELL-$SHELL}
4447 export SHELL
4448 _ASEOF
4449 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4450 ## -------------------- ##
4451 ## M4sh Initialization. ##
4452 ## -------------------- ##
4454 # Be more Bourne compatible
4455 DUALCASE=1; export DUALCASE # for MKS sh
4456 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4457 emulate sh
4458 NULLCMD=:
4459 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4460 # is contrary to our usage. Disable this feature.
4461 alias -g '${1+"$@"}'='"$@"'
4462 setopt NO_GLOB_SUBST
4463 else
4464 case `(set -o) 2>/dev/null` in #(
4465 *posix*) :
4466 set -o posix ;; #(
4467 *) :
4469 esac
4473 as_nl='
4475 export as_nl
4476 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4477 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4478 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4479 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4480 # Prefer a ksh shell builtin over an external printf program on Solaris,
4481 # but without wasting forks for bash or zsh.
4482 if test -z "$BASH_VERSION$ZSH_VERSION" \
4483 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4484 as_echo='print -r --'
4485 as_echo_n='print -rn --'
4486 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4487 as_echo='printf %s\n'
4488 as_echo_n='printf %s'
4489 else
4490 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4491 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4492 as_echo_n='/usr/ucb/echo -n'
4493 else
4494 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4495 as_echo_n_body='eval
4496 arg=$1;
4497 case $arg in #(
4498 *"$as_nl"*)
4499 expr "X$arg" : "X\\(.*\\)$as_nl";
4500 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4501 esac;
4502 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4504 export as_echo_n_body
4505 as_echo_n='sh -c $as_echo_n_body as_echo'
4507 export as_echo_body
4508 as_echo='sh -c $as_echo_body as_echo'
4511 # The user is always right.
4512 if test "${PATH_SEPARATOR+set}" != set; then
4513 PATH_SEPARATOR=:
4514 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4515 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4516 PATH_SEPARATOR=';'
4521 # IFS
4522 # We need space, tab and new line, in precisely that order. Quoting is
4523 # there to prevent editors from complaining about space-tab.
4524 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4525 # splitting by setting IFS to empty value.)
4526 IFS=" "" $as_nl"
4528 # Find who we are. Look in the path if we contain no directory separator.
4529 as_myself=
4530 case $0 in #((
4531 *[\\/]* ) as_myself=$0 ;;
4532 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4533 for as_dir in $PATH
4535 IFS=$as_save_IFS
4536 test -z "$as_dir" && as_dir=.
4537 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4538 done
4539 IFS=$as_save_IFS
4542 esac
4543 # We did not find ourselves, most probably we were run as `sh COMMAND'
4544 # in which case we are not to be found in the path.
4545 if test "x$as_myself" = x; then
4546 as_myself=$0
4548 if test ! -f "$as_myself"; then
4549 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4550 exit 1
4553 # Unset variables that we do not need and which cause bugs (e.g. in
4554 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4555 # suppresses any "Segmentation fault" message there. '((' could
4556 # trigger a bug in pdksh 5.2.14.
4557 for as_var in BASH_ENV ENV MAIL MAILPATH
4558 do eval test x\${$as_var+set} = xset \
4559 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4560 done
4561 PS1='$ '
4562 PS2='> '
4563 PS4='+ '
4565 # NLS nuisances.
4566 LC_ALL=C
4567 export LC_ALL
4568 LANGUAGE=C
4569 export LANGUAGE
4571 # CDPATH.
4572 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4575 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4576 # ----------------------------------------
4577 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4578 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4579 # script with STATUS, using 1 if that was 0.
4580 as_fn_error ()
4582 as_status=$1; test $as_status -eq 0 && as_status=1
4583 if test "$4"; then
4584 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4585 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4587 $as_echo "$as_me: error: $2" >&2
4588 as_fn_exit $as_status
4589 } # as_fn_error
4592 # as_fn_set_status STATUS
4593 # -----------------------
4594 # Set $? to STATUS, without forking.
4595 as_fn_set_status ()
4597 return $1
4598 } # as_fn_set_status
4600 # as_fn_exit STATUS
4601 # -----------------
4602 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4603 as_fn_exit ()
4605 set +e
4606 as_fn_set_status $1
4607 exit $1
4608 } # as_fn_exit
4610 # as_fn_unset VAR
4611 # ---------------
4612 # Portably unset VAR.
4613 as_fn_unset ()
4615 { eval $1=; unset $1;}
4617 as_unset=as_fn_unset
4618 # as_fn_append VAR VALUE
4619 # ----------------------
4620 # Append the text in VALUE to the end of the definition contained in VAR. Take
4621 # advantage of any shell optimizations that allow amortized linear growth over
4622 # repeated appends, instead of the typical quadratic growth present in naive
4623 # implementations.
4624 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4625 eval 'as_fn_append ()
4627 eval $1+=\$2
4629 else
4630 as_fn_append ()
4632 eval $1=\$$1\$2
4634 fi # as_fn_append
4636 # as_fn_arith ARG...
4637 # ------------------
4638 # Perform arithmetic evaluation on the ARGs, and store the result in the
4639 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4640 # must be portable across $(()) and expr.
4641 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4642 eval 'as_fn_arith ()
4644 as_val=$(( $* ))
4646 else
4647 as_fn_arith ()
4649 as_val=`expr "$@" || test $? -eq 1`
4651 fi # as_fn_arith
4654 if expr a : '\(a\)' >/dev/null 2>&1 &&
4655 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4656 as_expr=expr
4657 else
4658 as_expr=false
4661 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4662 as_basename=basename
4663 else
4664 as_basename=false
4667 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4668 as_dirname=dirname
4669 else
4670 as_dirname=false
4673 as_me=`$as_basename -- "$0" ||
4674 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4675 X"$0" : 'X\(//\)$' \| \
4676 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4677 $as_echo X/"$0" |
4678 sed '/^.*\/\([^/][^/]*\)\/*$/{
4679 s//\1/
4682 /^X\/\(\/\/\)$/{
4683 s//\1/
4686 /^X\/\(\/\).*/{
4687 s//\1/
4690 s/.*/./; q'`
4692 # Avoid depending upon Character Ranges.
4693 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4694 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4695 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4696 as_cr_digits='0123456789'
4697 as_cr_alnum=$as_cr_Letters$as_cr_digits
4699 ECHO_C= ECHO_N= ECHO_T=
4700 case `echo -n x` in #(((((
4701 -n*)
4702 case `echo 'xy\c'` in
4703 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4704 xy) ECHO_C='\c';;
4705 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4706 ECHO_T=' ';;
4707 esac;;
4709 ECHO_N='-n';;
4710 esac
4712 rm -f conf$$ conf$$.exe conf$$.file
4713 if test -d conf$$.dir; then
4714 rm -f conf$$.dir/conf$$.file
4715 else
4716 rm -f conf$$.dir
4717 mkdir conf$$.dir 2>/dev/null
4719 if (echo >conf$$.file) 2>/dev/null; then
4720 if ln -s conf$$.file conf$$ 2>/dev/null; then
4721 as_ln_s='ln -s'
4722 # ... but there are two gotchas:
4723 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4724 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4725 # In both cases, we have to default to `cp -pR'.
4726 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4727 as_ln_s='cp -pR'
4728 elif ln conf$$.file conf$$ 2>/dev/null; then
4729 as_ln_s=ln
4730 else
4731 as_ln_s='cp -pR'
4733 else
4734 as_ln_s='cp -pR'
4736 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4737 rmdir conf$$.dir 2>/dev/null
4740 # as_fn_mkdir_p
4741 # -------------
4742 # Create "$as_dir" as a directory, including parents if necessary.
4743 as_fn_mkdir_p ()
4746 case $as_dir in #(
4747 -*) as_dir=./$as_dir;;
4748 esac
4749 test -d "$as_dir" || eval $as_mkdir_p || {
4750 as_dirs=
4751 while :; do
4752 case $as_dir in #(
4753 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4754 *) as_qdir=$as_dir;;
4755 esac
4756 as_dirs="'$as_qdir' $as_dirs"
4757 as_dir=`$as_dirname -- "$as_dir" ||
4758 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4759 X"$as_dir" : 'X\(//\)[^/]' \| \
4760 X"$as_dir" : 'X\(//\)$' \| \
4761 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4762 $as_echo X"$as_dir" |
4763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4764 s//\1/
4767 /^X\(\/\/\)[^/].*/{
4768 s//\1/
4771 /^X\(\/\/\)$/{
4772 s//\1/
4775 /^X\(\/\).*/{
4776 s//\1/
4779 s/.*/./; q'`
4780 test -d "$as_dir" && break
4781 done
4782 test -z "$as_dirs" || eval "mkdir $as_dirs"
4783 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4786 } # as_fn_mkdir_p
4787 if mkdir -p . 2>/dev/null; then
4788 as_mkdir_p='mkdir -p "$as_dir"'
4789 else
4790 test -d ./-p && rmdir ./-p
4791 as_mkdir_p=false
4795 # as_fn_executable_p FILE
4796 # -----------------------
4797 # Test if FILE is an executable regular file.
4798 as_fn_executable_p ()
4800 test -f "$1" && test -x "$1"
4801 } # as_fn_executable_p
4802 as_test_x='test -x'
4803 as_executable_p=as_fn_executable_p
4805 # Sed expression to map a string onto a valid CPP name.
4806 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4808 # Sed expression to map a string onto a valid variable name.
4809 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4812 exec 6>&1
4813 ## ----------------------------------- ##
4814 ## Main body of $CONFIG_STATUS script. ##
4815 ## ----------------------------------- ##
4816 _ASEOF
4817 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4820 # Save the log message, to keep $0 and so on meaningful, and to
4821 # report actual input values of CONFIG_FILES etc. instead of their
4822 # values after options handling.
4823 ac_log="
4824 This file was extended by $as_me, which was
4825 generated by GNU Autoconf 2.69. Invocation command line was
4827 CONFIG_FILES = $CONFIG_FILES
4828 CONFIG_HEADERS = $CONFIG_HEADERS
4829 CONFIG_LINKS = $CONFIG_LINKS
4830 CONFIG_COMMANDS = $CONFIG_COMMANDS
4831 $ $0 $@
4833 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4836 _ACEOF
4838 case $ac_config_files in *"
4839 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4840 esac
4844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4845 # Files that config.status was made for.
4846 config_files="$ac_config_files"
4848 _ACEOF
4850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4851 ac_cs_usage="\
4852 \`$as_me' instantiates files and other configuration actions
4853 from templates according to the current configuration. Unless the files
4854 and actions are specified as TAGs, all are instantiated by default.
4856 Usage: $0 [OPTION]... [TAG]...
4858 -h, --help print this help, then exit
4859 -V, --version print version number and configuration settings, then exit
4860 --config print configuration, then exit
4861 -q, --quiet, --silent
4862 do not print progress messages
4863 -d, --debug don't remove temporary files
4864 --recheck update $as_me by reconfiguring in the same conditions
4865 --file=FILE[:TEMPLATE]
4866 instantiate the configuration file FILE
4868 Configuration files:
4869 $config_files
4871 Report bugs to the package provider."
4873 _ACEOF
4874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4875 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4876 ac_cs_version="\\
4877 config.status
4878 configured by $0, generated by GNU Autoconf 2.69,
4879 with options \\"\$ac_cs_config\\"
4881 Copyright (C) 2012 Free Software Foundation, Inc.
4882 This config.status script is free software; the Free Software Foundation
4883 gives unlimited permission to copy, distribute and modify it."
4885 ac_pwd='$ac_pwd'
4886 srcdir='$srcdir'
4887 test -n "\$AWK" || AWK=awk
4888 _ACEOF
4890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4891 # The default lists apply if the user does not specify any file.
4892 ac_need_defaults=:
4893 while test $# != 0
4895 case $1 in
4896 --*=?*)
4897 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4898 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4899 ac_shift=:
4901 --*=)
4902 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4903 ac_optarg=
4904 ac_shift=:
4907 ac_option=$1
4908 ac_optarg=$2
4909 ac_shift=shift
4911 esac
4913 case $ac_option in
4914 # Handling of the options.
4915 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4916 ac_cs_recheck=: ;;
4917 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4918 $as_echo "$ac_cs_version"; exit ;;
4919 --config | --confi | --conf | --con | --co | --c )
4920 $as_echo "$ac_cs_config"; exit ;;
4921 --debug | --debu | --deb | --de | --d | -d )
4922 debug=: ;;
4923 --file | --fil | --fi | --f )
4924 $ac_shift
4925 case $ac_optarg in
4926 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4927 '') as_fn_error $? "missing file argument" ;;
4928 esac
4929 as_fn_append CONFIG_FILES " '$ac_optarg'"
4930 ac_need_defaults=false;;
4931 --he | --h | --help | --hel | -h )
4932 $as_echo "$ac_cs_usage"; exit ;;
4933 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4934 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4935 ac_cs_silent=: ;;
4937 # This is an error.
4938 -*) as_fn_error $? "unrecognized option: \`$1'
4939 Try \`$0 --help' for more information." ;;
4941 *) as_fn_append ac_config_targets " $1"
4942 ac_need_defaults=false ;;
4944 esac
4945 shift
4946 done
4948 ac_configure_extra_args=
4950 if $ac_cs_silent; then
4951 exec 6>/dev/null
4952 ac_configure_extra_args="$ac_configure_extra_args --silent"
4955 _ACEOF
4956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4957 if \$ac_cs_recheck; then
4958 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4959 shift
4960 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4961 CONFIG_SHELL='$SHELL'
4962 export CONFIG_SHELL
4963 exec "\$@"
4966 _ACEOF
4967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4968 exec 5>>config.log
4970 echo
4971 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4972 ## Running $as_me. ##
4973 _ASBOX
4974 $as_echo "$ac_log"
4975 } >&5
4977 _ACEOF
4978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4979 _ACEOF
4981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4983 # Handling of arguments.
4984 for ac_config_target in $ac_config_targets
4986 case $ac_config_target in
4987 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in" ;;
4989 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4990 esac
4991 done
4994 # If the user did not use the arguments to specify the items to instantiate,
4995 # then the envvar interface is used. Set only those that are not.
4996 # We use the long form for the default assignment because of an extremely
4997 # bizarre bug on SunOS 4.1.3.
4998 if $ac_need_defaults; then
4999 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5002 # Have a temporary directory for convenience. Make it in the build tree
5003 # simply because there is no reason against having it here, and in addition,
5004 # creating and moving files from /tmp can sometimes cause problems.
5005 # Hook for its removal unless debugging.
5006 # Note that there is a small window in which the directory will not be cleaned:
5007 # after its creation but before its name has been assigned to `$tmp'.
5008 $debug ||
5010 tmp= ac_tmp=
5011 trap 'exit_status=$?
5012 : "${ac_tmp:=$tmp}"
5013 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5015 trap 'as_fn_exit 1' 1 2 13 15
5017 # Create a (secure) tmp directory for tmp files.
5020 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5021 test -d "$tmp"
5022 } ||
5024 tmp=./conf$$-$RANDOM
5025 (umask 077 && mkdir "$tmp")
5026 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5027 ac_tmp=$tmp
5029 # Set up the scripts for CONFIG_FILES section.
5030 # No need to generate them if there are no CONFIG_FILES.
5031 # This happens for instance with `./config.status config.h'.
5032 if test -n "$CONFIG_FILES"; then
5035 ac_cr=`echo X | tr X '\015'`
5036 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5037 # But we know of no other shell where ac_cr would be empty at this
5038 # point, so we can use a bashism as a fallback.
5039 if test "x$ac_cr" = x; then
5040 eval ac_cr=\$\'\\r\'
5042 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5043 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5044 ac_cs_awk_cr='\\r'
5045 else
5046 ac_cs_awk_cr=$ac_cr
5049 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5050 _ACEOF
5054 echo "cat >conf$$subs.awk <<_ACEOF" &&
5055 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5056 echo "_ACEOF"
5057 } >conf$$subs.sh ||
5058 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5059 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5060 ac_delim='%!_!# '
5061 for ac_last_try in false false false false false :; do
5062 . ./conf$$subs.sh ||
5063 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5065 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5066 if test $ac_delim_n = $ac_delim_num; then
5067 break
5068 elif $ac_last_try; then
5069 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5070 else
5071 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5073 done
5074 rm -f conf$$subs.sh
5076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5077 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5078 _ACEOF
5079 sed -n '
5081 s/^/S["/; s/!.*/"]=/
5084 s/^[^!]*!//
5085 :repl
5086 t repl
5087 s/'"$ac_delim"'$//
5088 t delim
5091 s/\(.\{148\}\)..*/\1/
5092 t more1
5093 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5096 b repl
5097 :more1
5098 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5101 s/.\{148\}//
5102 t nl
5103 :delim
5105 s/\(.\{148\}\)..*/\1/
5106 t more2
5107 s/["\\]/\\&/g; s/^/"/; s/$/"/
5110 :more2
5111 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5114 s/.\{148\}//
5115 t delim
5116 ' <conf$$subs.awk | sed '
5117 /^[^""]/{
5119 s/\n//
5121 ' >>$CONFIG_STATUS || ac_write_fail=1
5122 rm -f conf$$subs.awk
5123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5124 _ACAWK
5125 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5126 for (key in S) S_is_set[key] = 1
5127 FS = "\a"
5131 line = $ 0
5132 nfields = split(line, field, "@")
5133 substed = 0
5134 len = length(field[1])
5135 for (i = 2; i < nfields; i++) {
5136 key = field[i]
5137 keylen = length(key)
5138 if (S_is_set[key]) {
5139 value = S[key]
5140 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5141 len += length(value) + length(field[++i])
5142 substed = 1
5143 } else
5144 len += 1 + keylen
5147 print line
5150 _ACAWK
5151 _ACEOF
5152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5153 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5154 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5155 else
5157 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5158 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5159 _ACEOF
5161 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5162 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5163 # trailing colons and then remove the whole line if VPATH becomes empty
5164 # (actually we leave an empty line to preserve line numbers).
5165 if test "x$srcdir" = x.; then
5166 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5168 s///
5169 s/^/:/
5170 s/[ ]*$/:/
5171 s/:\$(srcdir):/:/g
5172 s/:\${srcdir}:/:/g
5173 s/:@srcdir@:/:/g
5174 s/^:*//
5175 s/:*$//
5177 s/\(=[ ]*\).*/\1/
5179 s/\n//
5180 s/^[^=]*=[ ]*$//
5184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5185 fi # test -n "$CONFIG_FILES"
5188 eval set X " :F $CONFIG_FILES "
5189 shift
5190 for ac_tag
5192 case $ac_tag in
5193 :[FHLC]) ac_mode=$ac_tag; continue;;
5194 esac
5195 case $ac_mode$ac_tag in
5196 :[FHL]*:*);;
5197 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5198 :[FH]-) ac_tag=-:-;;
5199 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5200 esac
5201 ac_save_IFS=$IFS
5202 IFS=:
5203 set x $ac_tag
5204 IFS=$ac_save_IFS
5205 shift
5206 ac_file=$1
5207 shift
5209 case $ac_mode in
5210 :L) ac_source=$1;;
5211 :[FH])
5212 ac_file_inputs=
5213 for ac_f
5215 case $ac_f in
5216 -) ac_f="$ac_tmp/stdin";;
5217 *) # Look for the file first in the build tree, then in the source tree
5218 # (if the path is not absolute). The absolute path cannot be DOS-style,
5219 # because $ac_f cannot contain `:'.
5220 test -f "$ac_f" ||
5221 case $ac_f in
5222 [\\/$]*) false;;
5223 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5224 esac ||
5225 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5226 esac
5227 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5228 as_fn_append ac_file_inputs " '$ac_f'"
5229 done
5231 # Let's still pretend it is `configure' which instantiates (i.e., don't
5232 # use $as_me), people would be surprised to read:
5233 # /* config.h. Generated by config.status. */
5234 configure_input='Generated from '`
5235 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5236 `' by configure.'
5237 if test x"$ac_file" != x-; then
5238 configure_input="$ac_file. $configure_input"
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5240 $as_echo "$as_me: creating $ac_file" >&6;}
5242 # Neutralize special characters interpreted by sed in replacement strings.
5243 case $configure_input in #(
5244 *\&* | *\|* | *\\* )
5245 ac_sed_conf_input=`$as_echo "$configure_input" |
5246 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5247 *) ac_sed_conf_input=$configure_input;;
5248 esac
5250 case $ac_tag in
5251 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5252 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5253 esac
5255 esac
5257 ac_dir=`$as_dirname -- "$ac_file" ||
5258 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5259 X"$ac_file" : 'X\(//\)[^/]' \| \
5260 X"$ac_file" : 'X\(//\)$' \| \
5261 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5262 $as_echo X"$ac_file" |
5263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5264 s//\1/
5267 /^X\(\/\/\)[^/].*/{
5268 s//\1/
5271 /^X\(\/\/\)$/{
5272 s//\1/
5275 /^X\(\/\).*/{
5276 s//\1/
5279 s/.*/./; q'`
5280 as_dir="$ac_dir"; as_fn_mkdir_p
5281 ac_builddir=.
5283 case "$ac_dir" in
5284 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5286 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5287 # A ".." for each directory in $ac_dir_suffix.
5288 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5289 case $ac_top_builddir_sub in
5290 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5291 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5292 esac ;;
5293 esac
5294 ac_abs_top_builddir=$ac_pwd
5295 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5296 # for backward compatibility:
5297 ac_top_builddir=$ac_top_build_prefix
5299 case $srcdir in
5300 .) # We are building in place.
5301 ac_srcdir=.
5302 ac_top_srcdir=$ac_top_builddir_sub
5303 ac_abs_top_srcdir=$ac_pwd ;;
5304 [\\/]* | ?:[\\/]* ) # Absolute name.
5305 ac_srcdir=$srcdir$ac_dir_suffix;
5306 ac_top_srcdir=$srcdir
5307 ac_abs_top_srcdir=$srcdir ;;
5308 *) # Relative name.
5309 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5310 ac_top_srcdir=$ac_top_build_prefix$srcdir
5311 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5312 esac
5313 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5316 case $ac_mode in
5319 # CONFIG_FILE
5322 _ACEOF
5324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5325 # If the template does not know about datarootdir, expand it.
5326 # FIXME: This hack should be removed a few years after 2.60.
5327 ac_datarootdir_hack=; ac_datarootdir_seen=
5328 ac_sed_dataroot='
5329 /datarootdir/ {
5333 /@datadir@/p
5334 /@docdir@/p
5335 /@infodir@/p
5336 /@localedir@/p
5337 /@mandir@/p'
5338 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5339 *datarootdir*) ac_datarootdir_seen=yes;;
5340 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5342 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5343 _ACEOF
5344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5345 ac_datarootdir_hack='
5346 s&@datadir@&$datadir&g
5347 s&@docdir@&$docdir&g
5348 s&@infodir@&$infodir&g
5349 s&@localedir@&$localedir&g
5350 s&@mandir@&$mandir&g
5351 s&\\\${datarootdir}&$datarootdir&g' ;;
5352 esac
5353 _ACEOF
5355 # Neutralize VPATH when `$srcdir' = `.'.
5356 # Shell code in configure.ac might set extrasub.
5357 # FIXME: do we really want to maintain this feature?
5358 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5359 ac_sed_extra="$ac_vpsub
5360 $extrasub
5361 _ACEOF
5362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5364 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5365 s|@configure_input@|$ac_sed_conf_input|;t t
5366 s&@top_builddir@&$ac_top_builddir_sub&;t t
5367 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5368 s&@srcdir@&$ac_srcdir&;t t
5369 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5370 s&@top_srcdir@&$ac_top_srcdir&;t t
5371 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5372 s&@builddir@&$ac_builddir&;t t
5373 s&@abs_builddir@&$ac_abs_builddir&;t t
5374 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5375 $ac_datarootdir_hack
5377 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5378 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5380 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5381 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5382 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5383 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5385 which seems to be undefined. Please make sure it is defined" >&5
5386 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5387 which seems to be undefined. Please make sure it is defined" >&2;}
5389 rm -f "$ac_tmp/stdin"
5390 case $ac_file in
5391 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5392 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5393 esac \
5394 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5399 esac
5401 done # for ac_tag
5404 as_fn_exit 0
5405 _ACEOF
5406 ac_clean_files=$ac_clean_files_save
5408 test $ac_write_fail = 0 ||
5409 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5412 # configure is writing to config.log, and then calls config.status.
5413 # config.status does its own redirection, appending to config.log.
5414 # Unfortunately, on DOS this fails, as config.log is still kept open
5415 # by configure, so config.status won't be able to write to it; its
5416 # output is simply discarded. So we exec the FD to /dev/null,
5417 # effectively closing config.log, so it can be properly (re)opened and
5418 # appended to by config.status. When coming back to configure, we
5419 # need to make the FD available again.
5420 if test "$no_create" != yes; then
5421 ac_cs_success=:
5422 ac_config_status_args=
5423 test "$silent" = yes &&
5424 ac_config_status_args="$ac_config_status_args --quiet"
5425 exec 5>/dev/null
5426 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5427 exec 5>>config.log
5428 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5429 # would make configure fail if this is the last instruction.
5430 $ac_cs_success || as_fn_exit 1
5432 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5434 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}