Test initialisation of MUIA_List_AdjustWidth and MUIA_List_AdjustHeight, and
[AROS.git] / config / features
blob82ab8658bd78b7c424c2793f66197f4995112bf6
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_sizeof_pointer_memaccess
588 aros_cflags_volatile_register_var
589 aros_cflags_narrowing
590 aros_cflags_conversion_null
591 aros_cflags_missing_braces
592 aros_cflags_unused_local_typedefs
593 aros_cflags_overflow
594 aros_cflags_attributes
595 aros_cflags_sign_compare
596 aros_cflags_deprecated_declarations
597 aros_cflags_frame_address
598 aros_cflags_shift_overflow
599 aros_cflags_pointer_sign
600 aros_cflags_logical_not_parentheses
601 aros_cflags_bool_compare
602 aros_cflags_incompatible_pointer_types
603 aros_cflags_comment
604 aros_cflags_write_strings
605 aros_cflags_unused_const_variable
606 aros_cflags_pointer_to_int_cast
607 aros_cflags_int_to_pointer_cast
608 aros_cflags_int_conversion
609 aros_cflags_discarded_array_qualifiers
610 aros_cflags_unknown_pragmas
611 aros_cflags_sequence_point
612 aros_cflags_discarded_qualifiers
613 aros_cflags_switch
614 aros_cflags_cpp
615 aros_cflags_aggressive_loop_optimizations
616 aros_cflags_implicit_int
617 aros_cflags_format_contains_nul
618 aros_cflags_endif_labels
619 aros_cflags_char_subscripts
620 aros_cflags_parentheses
621 aros_cflags_format
622 aros_cflags_implicit_function_declaration
623 aros_cflags_maybe_uninitialized
624 aros_cflags_uninitialized
625 aros_cflags_unused_parameter
626 aros_cflags_unused_function
627 aros_cflags_unused_variable
628 aros_cflags_unused_value
629 aros_cflags_unused
630 aros_cflags_nonnull_compare
631 aros_cflags_misleading_indentation
632 aros_cflags_format_security
633 aros_cflags_strict_overflow
634 aros_cflags_strict_prototypes
635 aros_cflags_enum_compare
636 aros_cflags_array_bounds
637 aros_cflags_strict_aliasing
638 aros_cflags_unused_but_set_variable
639 aros_cflags_unknown_warning_option
640 aros_cflags_unused_command_line_argument
641 aros_cflags_iquote_end
642 aros_cflags_iquote
643 aros_cflags_loop_strip_mine
644 aros_cflags_loop_interchange
645 aros_cflags_loop_block
646 aros_cflags_lto
647 OBJEXT
648 EXEEXT
649 ac_ct_CC
650 CPPFLAGS
651 LDFLAGS
652 CFLAGS
654 target_alias
655 host_alias
656 build_alias
657 LIBS
658 ECHO_T
659 ECHO_N
660 ECHO_C
661 DEFS
662 mandir
663 localedir
664 libdir
665 psdir
666 pdfdir
667 dvidir
668 htmldir
669 infodir
670 docdir
671 oldincludedir
672 includedir
673 localstatedir
674 sharedstatedir
675 sysconfdir
676 datadir
677 datarootdir
678 libexecdir
679 sbindir
680 bindir
681 program_transform_name
682 prefix
683 exec_prefix
684 PACKAGE_URL
685 PACKAGE_BUGREPORT
686 PACKAGE_STRING
687 PACKAGE_VERSION
688 PACKAGE_TARNAME
689 PACKAGE_NAME
690 PATH_SEPARATOR
691 SHELL'
692 ac_subst_files=''
693 ac_user_opts='
694 enable_option_checking
695 with_config_dir
697 ac_precious_vars='build_alias
698 host_alias
699 target_alias
701 CFLAGS
702 LDFLAGS
703 LIBS
704 CPPFLAGS'
707 # Initialize some variables set by options.
708 ac_init_help=
709 ac_init_version=false
710 ac_unrecognized_opts=
711 ac_unrecognized_sep=
712 # The variables have the same names as the options, with
713 # dashes changed to underlines.
714 cache_file=/dev/null
715 exec_prefix=NONE
716 no_create=
717 no_recursion=
718 prefix=NONE
719 program_prefix=NONE
720 program_suffix=NONE
721 program_transform_name=s,x,x,
722 silent=
723 site=
724 srcdir=
725 verbose=
726 x_includes=NONE
727 x_libraries=NONE
729 # Installation directory options.
730 # These are left unexpanded so users can "make install exec_prefix=/foo"
731 # and all the variables that are supposed to be based on exec_prefix
732 # by default will actually change.
733 # Use braces instead of parens because sh, perl, etc. also accept them.
734 # (The list follows the same order as the GNU Coding Standards.)
735 bindir='${exec_prefix}/bin'
736 sbindir='${exec_prefix}/sbin'
737 libexecdir='${exec_prefix}/libexec'
738 datarootdir='${prefix}/share'
739 datadir='${datarootdir}'
740 sysconfdir='${prefix}/etc'
741 sharedstatedir='${prefix}/com'
742 localstatedir='${prefix}/var'
743 includedir='${prefix}/include'
744 oldincludedir='/usr/include'
745 docdir='${datarootdir}/doc/${PACKAGE}'
746 infodir='${datarootdir}/info'
747 htmldir='${docdir}'
748 dvidir='${docdir}'
749 pdfdir='${docdir}'
750 psdir='${docdir}'
751 libdir='${exec_prefix}/lib'
752 localedir='${datarootdir}/locale'
753 mandir='${datarootdir}/man'
755 ac_prev=
756 ac_dashdash=
757 for ac_option
759 # If the previous option needs an argument, assign it.
760 if test -n "$ac_prev"; then
761 eval $ac_prev=\$ac_option
762 ac_prev=
763 continue
766 case $ac_option in
767 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
768 *=) ac_optarg= ;;
769 *) ac_optarg=yes ;;
770 esac
772 # Accept the important Cygnus configure options, so we can diagnose typos.
774 case $ac_dashdash$ac_option in
776 ac_dashdash=yes ;;
778 -bindir | --bindir | --bindi | --bind | --bin | --bi)
779 ac_prev=bindir ;;
780 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
781 bindir=$ac_optarg ;;
783 -build | --build | --buil | --bui | --bu)
784 ac_prev=build_alias ;;
785 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
786 build_alias=$ac_optarg ;;
788 -cache-file | --cache-file | --cache-fil | --cache-fi \
789 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
790 ac_prev=cache_file ;;
791 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
792 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
793 cache_file=$ac_optarg ;;
795 --config-cache | -C)
796 cache_file=config.cache ;;
798 -datadir | --datadir | --datadi | --datad)
799 ac_prev=datadir ;;
800 -datadir=* | --datadir=* | --datadi=* | --datad=*)
801 datadir=$ac_optarg ;;
803 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
804 | --dataroo | --dataro | --datar)
805 ac_prev=datarootdir ;;
806 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
807 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
808 datarootdir=$ac_optarg ;;
810 -disable-* | --disable-*)
811 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
812 # Reject names that are not valid shell variable names.
813 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
814 as_fn_error $? "invalid feature name: $ac_useropt"
815 ac_useropt_orig=$ac_useropt
816 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
817 case $ac_user_opts in
819 "enable_$ac_useropt"
820 "*) ;;
821 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
822 ac_unrecognized_sep=', ';;
823 esac
824 eval enable_$ac_useropt=no ;;
826 -docdir | --docdir | --docdi | --doc | --do)
827 ac_prev=docdir ;;
828 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
829 docdir=$ac_optarg ;;
831 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
832 ac_prev=dvidir ;;
833 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
834 dvidir=$ac_optarg ;;
836 -enable-* | --enable-*)
837 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
838 # Reject names that are not valid shell variable names.
839 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
840 as_fn_error $? "invalid feature name: $ac_useropt"
841 ac_useropt_orig=$ac_useropt
842 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
843 case $ac_user_opts in
845 "enable_$ac_useropt"
846 "*) ;;
847 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
848 ac_unrecognized_sep=', ';;
849 esac
850 eval enable_$ac_useropt=\$ac_optarg ;;
852 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
853 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
854 | --exec | --exe | --ex)
855 ac_prev=exec_prefix ;;
856 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
857 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
858 | --exec=* | --exe=* | --ex=*)
859 exec_prefix=$ac_optarg ;;
861 -gas | --gas | --ga | --g)
862 # Obsolete; use --with-gas.
863 with_gas=yes ;;
865 -help | --help | --hel | --he | -h)
866 ac_init_help=long ;;
867 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
868 ac_init_help=recursive ;;
869 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
870 ac_init_help=short ;;
872 -host | --host | --hos | --ho)
873 ac_prev=host_alias ;;
874 -host=* | --host=* | --hos=* | --ho=*)
875 host_alias=$ac_optarg ;;
877 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
878 ac_prev=htmldir ;;
879 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
880 | --ht=*)
881 htmldir=$ac_optarg ;;
883 -includedir | --includedir | --includedi | --included | --include \
884 | --includ | --inclu | --incl | --inc)
885 ac_prev=includedir ;;
886 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
887 | --includ=* | --inclu=* | --incl=* | --inc=*)
888 includedir=$ac_optarg ;;
890 -infodir | --infodir | --infodi | --infod | --info | --inf)
891 ac_prev=infodir ;;
892 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
893 infodir=$ac_optarg ;;
895 -libdir | --libdir | --libdi | --libd)
896 ac_prev=libdir ;;
897 -libdir=* | --libdir=* | --libdi=* | --libd=*)
898 libdir=$ac_optarg ;;
900 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
901 | --libexe | --libex | --libe)
902 ac_prev=libexecdir ;;
903 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
904 | --libexe=* | --libex=* | --libe=*)
905 libexecdir=$ac_optarg ;;
907 -localedir | --localedir | --localedi | --localed | --locale)
908 ac_prev=localedir ;;
909 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
910 localedir=$ac_optarg ;;
912 -localstatedir | --localstatedir | --localstatedi | --localstated \
913 | --localstate | --localstat | --localsta | --localst | --locals)
914 ac_prev=localstatedir ;;
915 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
916 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
917 localstatedir=$ac_optarg ;;
919 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
920 ac_prev=mandir ;;
921 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
922 mandir=$ac_optarg ;;
924 -nfp | --nfp | --nf)
925 # Obsolete; use --without-fp.
926 with_fp=no ;;
928 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
929 | --no-cr | --no-c | -n)
930 no_create=yes ;;
932 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
933 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
934 no_recursion=yes ;;
936 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
937 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
938 | --oldin | --oldi | --old | --ol | --o)
939 ac_prev=oldincludedir ;;
940 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
941 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
942 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
943 oldincludedir=$ac_optarg ;;
945 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
946 ac_prev=prefix ;;
947 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
948 prefix=$ac_optarg ;;
950 -program-prefix | --program-prefix | --program-prefi | --program-pref \
951 | --program-pre | --program-pr | --program-p)
952 ac_prev=program_prefix ;;
953 -program-prefix=* | --program-prefix=* | --program-prefi=* \
954 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
955 program_prefix=$ac_optarg ;;
957 -program-suffix | --program-suffix | --program-suffi | --program-suff \
958 | --program-suf | --program-su | --program-s)
959 ac_prev=program_suffix ;;
960 -program-suffix=* | --program-suffix=* | --program-suffi=* \
961 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
962 program_suffix=$ac_optarg ;;
964 -program-transform-name | --program-transform-name \
965 | --program-transform-nam | --program-transform-na \
966 | --program-transform-n | --program-transform- \
967 | --program-transform | --program-transfor \
968 | --program-transfo | --program-transf \
969 | --program-trans | --program-tran \
970 | --progr-tra | --program-tr | --program-t)
971 ac_prev=program_transform_name ;;
972 -program-transform-name=* | --program-transform-name=* \
973 | --program-transform-nam=* | --program-transform-na=* \
974 | --program-transform-n=* | --program-transform-=* \
975 | --program-transform=* | --program-transfor=* \
976 | --program-transfo=* | --program-transf=* \
977 | --program-trans=* | --program-tran=* \
978 | --progr-tra=* | --program-tr=* | --program-t=*)
979 program_transform_name=$ac_optarg ;;
981 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
982 ac_prev=pdfdir ;;
983 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
984 pdfdir=$ac_optarg ;;
986 -psdir | --psdir | --psdi | --psd | --ps)
987 ac_prev=psdir ;;
988 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
989 psdir=$ac_optarg ;;
991 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
992 | -silent | --silent | --silen | --sile | --sil)
993 silent=yes ;;
995 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
996 ac_prev=sbindir ;;
997 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
998 | --sbi=* | --sb=*)
999 sbindir=$ac_optarg ;;
1001 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1002 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1003 | --sharedst | --shareds | --shared | --share | --shar \
1004 | --sha | --sh)
1005 ac_prev=sharedstatedir ;;
1006 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1007 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1008 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1009 | --sha=* | --sh=*)
1010 sharedstatedir=$ac_optarg ;;
1012 -site | --site | --sit)
1013 ac_prev=site ;;
1014 -site=* | --site=* | --sit=*)
1015 site=$ac_optarg ;;
1017 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1018 ac_prev=srcdir ;;
1019 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1020 srcdir=$ac_optarg ;;
1022 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1023 | --syscon | --sysco | --sysc | --sys | --sy)
1024 ac_prev=sysconfdir ;;
1025 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1026 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1027 sysconfdir=$ac_optarg ;;
1029 -target | --target | --targe | --targ | --tar | --ta | --t)
1030 ac_prev=target_alias ;;
1031 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1032 target_alias=$ac_optarg ;;
1034 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1035 verbose=yes ;;
1037 -version | --version | --versio | --versi | --vers | -V)
1038 ac_init_version=: ;;
1040 -with-* | --with-*)
1041 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044 as_fn_error $? "invalid package name: $ac_useropt"
1045 ac_useropt_orig=$ac_useropt
1046 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 case $ac_user_opts in
1049 "with_$ac_useropt"
1050 "*) ;;
1051 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1052 ac_unrecognized_sep=', ';;
1053 esac
1054 eval with_$ac_useropt=\$ac_optarg ;;
1056 -without-* | --without-*)
1057 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1060 as_fn_error $? "invalid package name: $ac_useropt"
1061 ac_useropt_orig=$ac_useropt
1062 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063 case $ac_user_opts in
1065 "with_$ac_useropt"
1066 "*) ;;
1067 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1068 ac_unrecognized_sep=', ';;
1069 esac
1070 eval with_$ac_useropt=no ;;
1072 --x)
1073 # Obsolete; use --with-x.
1074 with_x=yes ;;
1076 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1077 | --x-incl | --x-inc | --x-in | --x-i)
1078 ac_prev=x_includes ;;
1079 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1080 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1081 x_includes=$ac_optarg ;;
1083 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1084 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1085 ac_prev=x_libraries ;;
1086 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1087 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1088 x_libraries=$ac_optarg ;;
1090 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1091 Try \`$0 --help' for more information"
1094 *=*)
1095 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1096 # Reject names that are not valid shell variable names.
1097 case $ac_envvar in #(
1098 '' | [0-9]* | *[!_$as_cr_alnum]* )
1099 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1100 esac
1101 eval $ac_envvar=\$ac_optarg
1102 export $ac_envvar ;;
1105 # FIXME: should be removed in autoconf 3.0.
1106 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1107 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1108 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1109 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1112 esac
1113 done
1115 if test -n "$ac_prev"; then
1116 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1117 as_fn_error $? "missing argument to $ac_option"
1120 if test -n "$ac_unrecognized_opts"; then
1121 case $enable_option_checking in
1122 no) ;;
1123 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1124 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1125 esac
1128 # Check all directory arguments for consistency.
1129 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1130 datadir sysconfdir sharedstatedir localstatedir includedir \
1131 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1132 libdir localedir mandir
1134 eval ac_val=\$$ac_var
1135 # Remove trailing slashes.
1136 case $ac_val in
1137 */ )
1138 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1139 eval $ac_var=\$ac_val;;
1140 esac
1141 # Be sure to have absolute directory names.
1142 case $ac_val in
1143 [\\/$]* | ?:[\\/]* ) continue;;
1144 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1145 esac
1146 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1147 done
1149 # There might be people who depend on the old broken behavior: `$host'
1150 # used to hold the argument of --host etc.
1151 # FIXME: To remove some day.
1152 build=$build_alias
1153 host=$host_alias
1154 target=$target_alias
1156 # FIXME: To remove some day.
1157 if test "x$host_alias" != x; then
1158 if test "x$build_alias" = x; then
1159 cross_compiling=maybe
1160 elif test "x$build_alias" != "x$host_alias"; then
1161 cross_compiling=yes
1165 ac_tool_prefix=
1166 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1168 test "$silent" = yes && exec 6>/dev/null
1171 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1172 ac_ls_di=`ls -di .` &&
1173 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1174 as_fn_error $? "working directory cannot be determined"
1175 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1176 as_fn_error $? "pwd does not report name of working directory"
1179 # Find the source files, if location was not specified.
1180 if test -z "$srcdir"; then
1181 ac_srcdir_defaulted=yes
1182 # Try the directory containing this script, then the parent directory.
1183 ac_confdir=`$as_dirname -- "$as_myself" ||
1184 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1185 X"$as_myself" : 'X\(//\)[^/]' \| \
1186 X"$as_myself" : 'X\(//\)$' \| \
1187 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1188 $as_echo X"$as_myself" |
1189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1190 s//\1/
1193 /^X\(\/\/\)[^/].*/{
1194 s//\1/
1197 /^X\(\/\/\)$/{
1198 s//\1/
1201 /^X\(\/\).*/{
1202 s//\1/
1205 s/.*/./; q'`
1206 srcdir=$ac_confdir
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1208 srcdir=..
1210 else
1211 ac_srcdir_defaulted=no
1213 if test ! -r "$srcdir/$ac_unique_file"; then
1214 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1215 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1217 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1218 ac_abs_confdir=`(
1219 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1220 pwd)`
1221 # When building in place, set srcdir=.
1222 if test "$ac_abs_confdir" = "$ac_pwd"; then
1223 srcdir=.
1225 # Remove unnecessary trailing slashes from srcdir.
1226 # Double slashes in file names in object file debugging info
1227 # mess up M-x gdb in Emacs.
1228 case $srcdir in
1229 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1230 esac
1231 for ac_var in $ac_precious_vars; do
1232 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1233 eval ac_env_${ac_var}_value=\$${ac_var}
1234 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1235 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1236 done
1239 # Report the --help message.
1241 if test "$ac_init_help" = "long"; then
1242 # Omit some internal or obsolete options to make the list less imposing.
1243 # This message is too long to be a string in the A/UX 3.1 sh.
1244 cat <<_ACEOF
1245 \`configure' configures this package to adapt to many kinds of systems.
1247 Usage: $0 [OPTION]... [VAR=VALUE]...
1249 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1250 VAR=VALUE. See below for descriptions of some of the useful variables.
1252 Defaults for the options are specified in brackets.
1254 Configuration:
1255 -h, --help display this help and exit
1256 --help=short display options specific to this package
1257 --help=recursive display the short help of all the included packages
1258 -V, --version display version information and exit
1259 -q, --quiet, --silent do not print \`checking ...' messages
1260 --cache-file=FILE cache test results in FILE [disabled]
1261 -C, --config-cache alias for \`--cache-file=config.cache'
1262 -n, --no-create do not create output files
1263 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1265 Installation directories:
1266 --prefix=PREFIX install architecture-independent files in PREFIX
1267 [$ac_default_prefix]
1268 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1269 [PREFIX]
1271 By default, \`make install' will install all the files in
1272 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1273 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1274 for instance \`--prefix=\$HOME'.
1276 For better control, use the options below.
1278 Fine tuning of the installation directories:
1279 --bindir=DIR user executables [EPREFIX/bin]
1280 --sbindir=DIR system admin executables [EPREFIX/sbin]
1281 --libexecdir=DIR program executables [EPREFIX/libexec]
1282 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1283 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1284 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1285 --libdir=DIR object code libraries [EPREFIX/lib]
1286 --includedir=DIR C header files [PREFIX/include]
1287 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1288 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1289 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1290 --infodir=DIR info documentation [DATAROOTDIR/info]
1291 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1292 --mandir=DIR man documentation [DATAROOTDIR/man]
1293 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1294 --htmldir=DIR html documentation [DOCDIR]
1295 --dvidir=DIR dvi documentation [DOCDIR]
1296 --pdfdir=DIR pdf documentation [DOCDIR]
1297 --psdir=DIR ps documentation [DOCDIR]
1298 _ACEOF
1300 cat <<\_ACEOF
1301 _ACEOF
1304 if test -n "$ac_init_help"; then
1306 cat <<\_ACEOF
1308 Optional Packages:
1309 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1310 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1311 --with-config-dir=VERSION
1312 Location of generated target config files
1314 Some influential environment variables:
1315 CC C compiler command
1316 CFLAGS C compiler flags
1317 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1318 nonstandard directory <lib dir>
1319 LIBS libraries to pass to the linker, e.g. -l<library>
1320 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1321 you have headers in a nonstandard directory <include dir>
1323 Use these variables to override the choices made by `configure' or to help
1324 it to find libraries and programs with nonstandard names/locations.
1326 Report bugs to the package provider.
1327 _ACEOF
1328 ac_status=$?
1331 if test "$ac_init_help" = "recursive"; then
1332 # If there are subdirs, report their specific --help.
1333 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1334 test -d "$ac_dir" ||
1335 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1336 continue
1337 ac_builddir=.
1339 case "$ac_dir" in
1340 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1343 # A ".." for each directory in $ac_dir_suffix.
1344 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1345 case $ac_top_builddir_sub in
1346 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1347 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1348 esac ;;
1349 esac
1350 ac_abs_top_builddir=$ac_pwd
1351 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1352 # for backward compatibility:
1353 ac_top_builddir=$ac_top_build_prefix
1355 case $srcdir in
1356 .) # We are building in place.
1357 ac_srcdir=.
1358 ac_top_srcdir=$ac_top_builddir_sub
1359 ac_abs_top_srcdir=$ac_pwd ;;
1360 [\\/]* | ?:[\\/]* ) # Absolute name.
1361 ac_srcdir=$srcdir$ac_dir_suffix;
1362 ac_top_srcdir=$srcdir
1363 ac_abs_top_srcdir=$srcdir ;;
1364 *) # Relative name.
1365 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1366 ac_top_srcdir=$ac_top_build_prefix$srcdir
1367 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1368 esac
1369 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1371 cd "$ac_dir" || { ac_status=$?; continue; }
1372 # Check for guested configure.
1373 if test -f "$ac_srcdir/configure.gnu"; then
1374 echo &&
1375 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1376 elif test -f "$ac_srcdir/configure"; then
1377 echo &&
1378 $SHELL "$ac_srcdir/configure" --help=recursive
1379 else
1380 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1381 fi || ac_status=$?
1382 cd "$ac_pwd" || { ac_status=$?; break; }
1383 done
1386 test -n "$ac_init_help" && exit $ac_status
1387 if $ac_init_version; then
1388 cat <<\_ACEOF
1389 configure
1390 generated by GNU Autoconf 2.69
1392 Copyright (C) 2012 Free Software Foundation, Inc.
1393 This configure script is free software; the Free Software Foundation
1394 gives unlimited permission to copy, distribute and modify it.
1395 _ACEOF
1396 exit
1399 ## ------------------------ ##
1400 ## Autoconf initialization. ##
1401 ## ------------------------ ##
1403 # ac_fn_c_try_compile LINENO
1404 # --------------------------
1405 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1406 ac_fn_c_try_compile ()
1408 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1409 rm -f conftest.$ac_objext
1410 if { { ac_try="$ac_compile"
1411 case "(($ac_try" in
1412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1413 *) ac_try_echo=$ac_try;;
1414 esac
1415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1416 $as_echo "$ac_try_echo"; } >&5
1417 (eval "$ac_compile") 2>conftest.err
1418 ac_status=$?
1419 if test -s conftest.err; then
1420 grep -v '^ *+' conftest.err >conftest.er1
1421 cat conftest.er1 >&5
1422 mv -f conftest.er1 conftest.err
1424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1425 test $ac_status = 0; } && {
1426 test -z "$ac_c_werror_flag" ||
1427 test ! -s conftest.err
1428 } && test -s conftest.$ac_objext; then :
1429 ac_retval=0
1430 else
1431 $as_echo "$as_me: failed program was:" >&5
1432 sed 's/^/| /' conftest.$ac_ext >&5
1434 ac_retval=1
1436 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1437 as_fn_set_status $ac_retval
1439 } # ac_fn_c_try_compile
1440 cat >config.log <<_ACEOF
1441 This file contains any messages produced by compilers while
1442 running configure, to aid debugging if configure makes a mistake.
1444 It was created by $as_me, which was
1445 generated by GNU Autoconf 2.69. Invocation command line was
1447 $ $0 $@
1449 _ACEOF
1450 exec 5>>config.log
1452 cat <<_ASUNAME
1453 ## --------- ##
1454 ## Platform. ##
1455 ## --------- ##
1457 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1458 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1459 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1460 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1461 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1463 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1464 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1466 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1467 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1468 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1469 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1470 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1471 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1472 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1474 _ASUNAME
1476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1477 for as_dir in $PATH
1479 IFS=$as_save_IFS
1480 test -z "$as_dir" && as_dir=.
1481 $as_echo "PATH: $as_dir"
1482 done
1483 IFS=$as_save_IFS
1485 } >&5
1487 cat >&5 <<_ACEOF
1490 ## ----------- ##
1491 ## Core tests. ##
1492 ## ----------- ##
1494 _ACEOF
1497 # Keep a trace of the command line.
1498 # Strip out --no-create and --no-recursion so they do not pile up.
1499 # Strip out --silent because we don't want to record it for future runs.
1500 # Also quote any args containing shell meta-characters.
1501 # Make two passes to allow for proper duplicate-argument suppression.
1502 ac_configure_args=
1503 ac_configure_args0=
1504 ac_configure_args1=
1505 ac_must_keep_next=false
1506 for ac_pass in 1 2
1508 for ac_arg
1510 case $ac_arg in
1511 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1512 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1513 | -silent | --silent | --silen | --sile | --sil)
1514 continue ;;
1515 *\'*)
1516 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1517 esac
1518 case $ac_pass in
1519 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1521 as_fn_append ac_configure_args1 " '$ac_arg'"
1522 if test $ac_must_keep_next = true; then
1523 ac_must_keep_next=false # Got value, back to normal.
1524 else
1525 case $ac_arg in
1526 *=* | --config-cache | -C | -disable-* | --disable-* \
1527 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1528 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1529 | -with-* | --with-* | -without-* | --without-* | --x)
1530 case "$ac_configure_args0 " in
1531 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1532 esac
1534 -* ) ac_must_keep_next=true ;;
1535 esac
1537 as_fn_append ac_configure_args " '$ac_arg'"
1539 esac
1540 done
1541 done
1542 { ac_configure_args0=; unset ac_configure_args0;}
1543 { ac_configure_args1=; unset ac_configure_args1;}
1545 # When interrupted or exit'd, cleanup temporary files, and complete
1546 # config.log. We remove comments because anyway the quotes in there
1547 # would cause problems or look ugly.
1548 # WARNING: Use '\'' to represent an apostrophe within the trap.
1549 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1550 trap 'exit_status=$?
1551 # Save into config.log some information that might help in debugging.
1553 echo
1555 $as_echo "## ---------------- ##
1556 ## Cache variables. ##
1557 ## ---------------- ##"
1558 echo
1559 # The following way of writing the cache mishandles newlines in values,
1561 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1562 eval ac_val=\$$ac_var
1563 case $ac_val in #(
1564 *${as_nl}*)
1565 case $ac_var in #(
1566 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1567 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1568 esac
1569 case $ac_var in #(
1570 _ | IFS | as_nl) ;; #(
1571 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1572 *) { eval $ac_var=; unset $ac_var;} ;;
1573 esac ;;
1574 esac
1575 done
1576 (set) 2>&1 |
1577 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1578 *${as_nl}ac_space=\ *)
1579 sed -n \
1580 "s/'\''/'\''\\\\'\'''\''/g;
1581 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1582 ;; #(
1584 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1586 esac |
1587 sort
1589 echo
1591 $as_echo "## ----------------- ##
1592 ## Output variables. ##
1593 ## ----------------- ##"
1594 echo
1595 for ac_var in $ac_subst_vars
1597 eval ac_val=\$$ac_var
1598 case $ac_val in
1599 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1600 esac
1601 $as_echo "$ac_var='\''$ac_val'\''"
1602 done | sort
1603 echo
1605 if test -n "$ac_subst_files"; then
1606 $as_echo "## ------------------- ##
1607 ## File substitutions. ##
1608 ## ------------------- ##"
1609 echo
1610 for ac_var in $ac_subst_files
1612 eval ac_val=\$$ac_var
1613 case $ac_val in
1614 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1615 esac
1616 $as_echo "$ac_var='\''$ac_val'\''"
1617 done | sort
1618 echo
1621 if test -s confdefs.h; then
1622 $as_echo "## ----------- ##
1623 ## confdefs.h. ##
1624 ## ----------- ##"
1625 echo
1626 cat confdefs.h
1627 echo
1629 test "$ac_signal" != 0 &&
1630 $as_echo "$as_me: caught signal $ac_signal"
1631 $as_echo "$as_me: exit $exit_status"
1632 } >&5
1633 rm -f core *.core core.conftest.* &&
1634 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1635 exit $exit_status
1637 for ac_signal in 1 2 13 15; do
1638 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1639 done
1640 ac_signal=0
1642 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1643 rm -f -r conftest* confdefs.h
1645 $as_echo "/* confdefs.h */" > confdefs.h
1647 # Predefined preprocessor variables.
1649 cat >>confdefs.h <<_ACEOF
1650 #define PACKAGE_NAME "$PACKAGE_NAME"
1651 _ACEOF
1653 cat >>confdefs.h <<_ACEOF
1654 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1655 _ACEOF
1657 cat >>confdefs.h <<_ACEOF
1658 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1659 _ACEOF
1661 cat >>confdefs.h <<_ACEOF
1662 #define PACKAGE_STRING "$PACKAGE_STRING"
1663 _ACEOF
1665 cat >>confdefs.h <<_ACEOF
1666 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1667 _ACEOF
1669 cat >>confdefs.h <<_ACEOF
1670 #define PACKAGE_URL "$PACKAGE_URL"
1671 _ACEOF
1674 # Let the site file select an alternate cache file if it wants to.
1675 # Prefer an explicitly selected file to automatically selected ones.
1676 ac_site_file1=NONE
1677 ac_site_file2=NONE
1678 if test -n "$CONFIG_SITE"; then
1679 # We do not want a PATH search for config.site.
1680 case $CONFIG_SITE in #((
1681 -*) ac_site_file1=./$CONFIG_SITE;;
1682 */*) ac_site_file1=$CONFIG_SITE;;
1683 *) ac_site_file1=./$CONFIG_SITE;;
1684 esac
1685 elif test "x$prefix" != xNONE; then
1686 ac_site_file1=$prefix/share/config.site
1687 ac_site_file2=$prefix/etc/config.site
1688 else
1689 ac_site_file1=$ac_default_prefix/share/config.site
1690 ac_site_file2=$ac_default_prefix/etc/config.site
1692 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1694 test "x$ac_site_file" = xNONE && continue
1695 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1697 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1698 sed 's/^/| /' "$ac_site_file" >&5
1699 . "$ac_site_file" \
1700 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1702 as_fn_error $? "failed to load site script $ac_site_file
1703 See \`config.log' for more details" "$LINENO" 5; }
1705 done
1707 if test -r "$cache_file"; then
1708 # Some versions of bash will fail to source /dev/null (special files
1709 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1710 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1712 $as_echo "$as_me: loading cache $cache_file" >&6;}
1713 case $cache_file in
1714 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1715 *) . "./$cache_file";;
1716 esac
1718 else
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1720 $as_echo "$as_me: creating cache $cache_file" >&6;}
1721 >$cache_file
1724 # Check that the precious variables saved in the cache have kept the same
1725 # value.
1726 ac_cache_corrupted=false
1727 for ac_var in $ac_precious_vars; do
1728 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1729 eval ac_new_set=\$ac_env_${ac_var}_set
1730 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1731 eval ac_new_val=\$ac_env_${ac_var}_value
1732 case $ac_old_set,$ac_new_set in
1733 set,)
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1735 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1736 ac_cache_corrupted=: ;;
1737 ,set)
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1739 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1740 ac_cache_corrupted=: ;;
1741 ,);;
1743 if test "x$ac_old_val" != "x$ac_new_val"; then
1744 # differences in whitespace do not lead to failure.
1745 ac_old_val_w=`echo x $ac_old_val`
1746 ac_new_val_w=`echo x $ac_new_val`
1747 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1749 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1750 ac_cache_corrupted=:
1751 else
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1753 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1754 eval $ac_var=\$ac_old_val
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1757 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1759 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1760 fi;;
1761 esac
1762 # Pass precious variables to config.status.
1763 if test "$ac_new_set" = set; then
1764 case $ac_new_val in
1765 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1766 *) ac_arg=$ac_var=$ac_new_val ;;
1767 esac
1768 case " $ac_configure_args " in
1769 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1770 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1771 esac
1773 done
1774 if $ac_cache_corrupted; then
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1778 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1779 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1781 ## -------------------- ##
1782 ## Main body of script. ##
1783 ## -------------------- ##
1785 ac_ext=c
1786 ac_cpp='$CPP $CPPFLAGS'
1787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1793 ac_aux_dir=
1794 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1795 if test -f "$ac_dir/install-sh"; then
1796 ac_aux_dir=$ac_dir
1797 ac_install_sh="$ac_aux_dir/install-sh -c"
1798 break
1799 elif test -f "$ac_dir/install.sh"; then
1800 ac_aux_dir=$ac_dir
1801 ac_install_sh="$ac_aux_dir/install.sh -c"
1802 break
1803 elif test -f "$ac_dir/shtool"; then
1804 ac_aux_dir=$ac_dir
1805 ac_install_sh="$ac_aux_dir/shtool install -c"
1806 break
1808 done
1809 if test -z "$ac_aux_dir"; then
1810 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1813 # These three variables are undocumented and unsupported,
1814 # and are intended to be withdrawn in a future Autoconf release.
1815 # They can cause serious problems if a builder's source tree is in a directory
1816 # whose full name contains unusual characters.
1817 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1818 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1819 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1823 AROS_BUILDDIR=`${PWDCMD-pwd}`
1824 AROS_BUILDDIR_UNIX=${PWD}
1826 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1827 SRCDIR=${srcpwd}
1829 NOLINKFLAGS="-nostdlib -nostartfiles"
1830 LDFLAGS=$NOLINKFLAGS
1831 # The first step is to find the binaries.
1832 ac_ext=c
1833 ac_cpp='$CPP $CPPFLAGS'
1834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1837 if test -n "$ac_tool_prefix"; then
1838 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1839 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1841 $as_echo_n "checking for $ac_word... " >&6; }
1842 if ${ac_cv_prog_CC+:} false; then :
1843 $as_echo_n "(cached) " >&6
1844 else
1845 if test -n "$CC"; then
1846 ac_cv_prog_CC="$CC" # Let the user override the test.
1847 else
1848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1849 for as_dir in $PATH
1851 IFS=$as_save_IFS
1852 test -z "$as_dir" && as_dir=.
1853 for ac_exec_ext in '' $ac_executable_extensions; do
1854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1855 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1857 break 2
1859 done
1860 done
1861 IFS=$as_save_IFS
1865 CC=$ac_cv_prog_CC
1866 if test -n "$CC"; then
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1868 $as_echo "$CC" >&6; }
1869 else
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1871 $as_echo "no" >&6; }
1876 if test -z "$ac_cv_prog_CC"; then
1877 ac_ct_CC=$CC
1878 # Extract the first word of "gcc", so it can be a program name with args.
1879 set dummy gcc; ac_word=$2
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1881 $as_echo_n "checking for $ac_word... " >&6; }
1882 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1883 $as_echo_n "(cached) " >&6
1884 else
1885 if test -n "$ac_ct_CC"; then
1886 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1887 else
1888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889 for as_dir in $PATH
1891 IFS=$as_save_IFS
1892 test -z "$as_dir" && as_dir=.
1893 for ac_exec_ext in '' $ac_executable_extensions; do
1894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1895 ac_cv_prog_ac_ct_CC="gcc"
1896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1897 break 2
1899 done
1900 done
1901 IFS=$as_save_IFS
1905 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1906 if test -n "$ac_ct_CC"; then
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1908 $as_echo "$ac_ct_CC" >&6; }
1909 else
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1911 $as_echo "no" >&6; }
1914 if test "x$ac_ct_CC" = x; then
1915 CC=""
1916 else
1917 case $cross_compiling:$ac_tool_warned in
1918 yes:)
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1921 ac_tool_warned=yes ;;
1922 esac
1923 CC=$ac_ct_CC
1925 else
1926 CC="$ac_cv_prog_CC"
1929 if test -z "$CC"; then
1930 if test -n "$ac_tool_prefix"; then
1931 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1932 set dummy ${ac_tool_prefix}cc; ac_word=$2
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1934 $as_echo_n "checking for $ac_word... " >&6; }
1935 if ${ac_cv_prog_CC+:} false; then :
1936 $as_echo_n "(cached) " >&6
1937 else
1938 if test -n "$CC"; then
1939 ac_cv_prog_CC="$CC" # Let the user override the test.
1940 else
1941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1942 for as_dir in $PATH
1944 IFS=$as_save_IFS
1945 test -z "$as_dir" && as_dir=.
1946 for ac_exec_ext in '' $ac_executable_extensions; do
1947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1948 ac_cv_prog_CC="${ac_tool_prefix}cc"
1949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1950 break 2
1952 done
1953 done
1954 IFS=$as_save_IFS
1958 CC=$ac_cv_prog_CC
1959 if test -n "$CC"; then
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1961 $as_echo "$CC" >&6; }
1962 else
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1964 $as_echo "no" >&6; }
1970 if test -z "$CC"; then
1971 # Extract the first word of "cc", so it can be a program name with args.
1972 set dummy cc; ac_word=$2
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1974 $as_echo_n "checking for $ac_word... " >&6; }
1975 if ${ac_cv_prog_CC+:} false; then :
1976 $as_echo_n "(cached) " >&6
1977 else
1978 if test -n "$CC"; then
1979 ac_cv_prog_CC="$CC" # Let the user override the test.
1980 else
1981 ac_prog_rejected=no
1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1983 for as_dir in $PATH
1985 IFS=$as_save_IFS
1986 test -z "$as_dir" && as_dir=.
1987 for ac_exec_ext in '' $ac_executable_extensions; do
1988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1989 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1990 ac_prog_rejected=yes
1991 continue
1993 ac_cv_prog_CC="cc"
1994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1995 break 2
1997 done
1998 done
1999 IFS=$as_save_IFS
2001 if test $ac_prog_rejected = yes; then
2002 # We found a bogon in the path, so make sure we never use it.
2003 set dummy $ac_cv_prog_CC
2004 shift
2005 if test $# != 0; then
2006 # We chose a different compiler from the bogus one.
2007 # However, it has the same basename, so the bogon will be chosen
2008 # first if we set CC to just the basename; use the full file name.
2009 shift
2010 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2015 CC=$ac_cv_prog_CC
2016 if test -n "$CC"; then
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2018 $as_echo "$CC" >&6; }
2019 else
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2021 $as_echo "no" >&6; }
2026 if test -z "$CC"; then
2027 if test -n "$ac_tool_prefix"; then
2028 for ac_prog in cl.exe
2030 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2031 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2033 $as_echo_n "checking for $ac_word... " >&6; }
2034 if ${ac_cv_prog_CC+:} false; then :
2035 $as_echo_n "(cached) " >&6
2036 else
2037 if test -n "$CC"; then
2038 ac_cv_prog_CC="$CC" # Let the user override the test.
2039 else
2040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2041 for as_dir in $PATH
2043 IFS=$as_save_IFS
2044 test -z "$as_dir" && as_dir=.
2045 for ac_exec_ext in '' $ac_executable_extensions; do
2046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2047 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2049 break 2
2051 done
2052 done
2053 IFS=$as_save_IFS
2057 CC=$ac_cv_prog_CC
2058 if test -n "$CC"; then
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2060 $as_echo "$CC" >&6; }
2061 else
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2063 $as_echo "no" >&6; }
2067 test -n "$CC" && break
2068 done
2070 if test -z "$CC"; then
2071 ac_ct_CC=$CC
2072 for ac_prog in cl.exe
2074 # Extract the first word of "$ac_prog", so it can be a program name with args.
2075 set dummy $ac_prog; ac_word=$2
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2077 $as_echo_n "checking for $ac_word... " >&6; }
2078 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2079 $as_echo_n "(cached) " >&6
2080 else
2081 if test -n "$ac_ct_CC"; then
2082 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2083 else
2084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085 for as_dir in $PATH
2087 IFS=$as_save_IFS
2088 test -z "$as_dir" && as_dir=.
2089 for ac_exec_ext in '' $ac_executable_extensions; do
2090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2091 ac_cv_prog_ac_ct_CC="$ac_prog"
2092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2093 break 2
2095 done
2096 done
2097 IFS=$as_save_IFS
2101 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2102 if test -n "$ac_ct_CC"; then
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2104 $as_echo "$ac_ct_CC" >&6; }
2105 else
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2107 $as_echo "no" >&6; }
2111 test -n "$ac_ct_CC" && break
2112 done
2114 if test "x$ac_ct_CC" = x; then
2115 CC=""
2116 else
2117 case $cross_compiling:$ac_tool_warned in
2118 yes:)
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2121 ac_tool_warned=yes ;;
2122 esac
2123 CC=$ac_ct_CC
2130 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2132 as_fn_error $? "no acceptable C compiler found in \$PATH
2133 See \`config.log' for more details" "$LINENO" 5; }
2135 # Provide some information about the compiler.
2136 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2137 set X $ac_compile
2138 ac_compiler=$2
2139 for ac_option in --version -v -V -qversion; do
2140 { { ac_try="$ac_compiler $ac_option >&5"
2141 case "(($ac_try" in
2142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2143 *) ac_try_echo=$ac_try;;
2144 esac
2145 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2146 $as_echo "$ac_try_echo"; } >&5
2147 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2148 ac_status=$?
2149 if test -s conftest.err; then
2150 sed '10a\
2151 ... rest of stderr output deleted ...
2152 10q' conftest.err >conftest.er1
2153 cat conftest.er1 >&5
2155 rm -f conftest.er1 conftest.err
2156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2157 test $ac_status = 0; }
2158 done
2160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2164 main ()
2168 return 0;
2170 _ACEOF
2171 ac_clean_files_save=$ac_clean_files
2172 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2173 # Try to create an executable without -o first, disregard a.out.
2174 # It will help us diagnose broken compilers, and finding out an intuition
2175 # of exeext.
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2177 $as_echo_n "checking whether the C compiler works... " >&6; }
2178 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2180 # The possible output files:
2181 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2183 ac_rmfiles=
2184 for ac_file in $ac_files
2186 case $ac_file in
2187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2188 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2189 esac
2190 done
2191 rm -f $ac_rmfiles
2193 if { { ac_try="$ac_link_default"
2194 case "(($ac_try" in
2195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2196 *) ac_try_echo=$ac_try;;
2197 esac
2198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2199 $as_echo "$ac_try_echo"; } >&5
2200 (eval "$ac_link_default") 2>&5
2201 ac_status=$?
2202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2203 test $ac_status = 0; }; then :
2204 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2205 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2206 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2207 # so that the user can short-circuit this test for compilers unknown to
2208 # Autoconf.
2209 for ac_file in $ac_files ''
2211 test -f "$ac_file" || continue
2212 case $ac_file in
2213 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2215 [ab].out )
2216 # We found the default executable, but exeext='' is most
2217 # certainly right.
2218 break;;
2219 *.* )
2220 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2221 then :; else
2222 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2224 # We set ac_cv_exeext here because the later test for it is not
2225 # safe: cross compilers may not add the suffix if given an `-o'
2226 # argument, so we may need to know it at that point already.
2227 # Even if this section looks crufty: it has the advantage of
2228 # actually working.
2229 break;;
2231 break;;
2232 esac
2233 done
2234 test "$ac_cv_exeext" = no && ac_cv_exeext=
2236 else
2237 ac_file=''
2239 if test -z "$ac_file"; then :
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2241 $as_echo "no" >&6; }
2242 $as_echo "$as_me: failed program was:" >&5
2243 sed 's/^/| /' conftest.$ac_ext >&5
2245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2247 as_fn_error 77 "C compiler cannot create executables
2248 See \`config.log' for more details" "$LINENO" 5; }
2249 else
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2251 $as_echo "yes" >&6; }
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2254 $as_echo_n "checking for C compiler default output file name... " >&6; }
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2256 $as_echo "$ac_file" >&6; }
2257 ac_exeext=$ac_cv_exeext
2259 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2260 ac_clean_files=$ac_clean_files_save
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2262 $as_echo_n "checking for suffix of executables... " >&6; }
2263 if { { ac_try="$ac_link"
2264 case "(($ac_try" in
2265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2266 *) ac_try_echo=$ac_try;;
2267 esac
2268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2269 $as_echo "$ac_try_echo"; } >&5
2270 (eval "$ac_link") 2>&5
2271 ac_status=$?
2272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2273 test $ac_status = 0; }; then :
2274 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2275 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2276 # work properly (i.e., refer to `conftest.exe'), while it won't with
2277 # `rm'.
2278 for ac_file in conftest.exe conftest conftest.*; do
2279 test -f "$ac_file" || continue
2280 case $ac_file in
2281 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2282 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2283 break;;
2284 * ) break;;
2285 esac
2286 done
2287 else
2288 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2290 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2291 See \`config.log' for more details" "$LINENO" 5; }
2293 rm -f conftest conftest$ac_cv_exeext
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2295 $as_echo "$ac_cv_exeext" >&6; }
2297 rm -f conftest.$ac_ext
2298 EXEEXT=$ac_cv_exeext
2299 ac_exeext=$EXEEXT
2300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2301 /* end confdefs.h. */
2302 #include <stdio.h>
2304 main ()
2306 FILE *f = fopen ("conftest.out", "w");
2307 return ferror (f) || fclose (f) != 0;
2310 return 0;
2312 _ACEOF
2313 ac_clean_files="$ac_clean_files conftest.out"
2314 # Check that the compiler produces executables we can run. If not, either
2315 # the compiler is broken, or we cross compile.
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2317 $as_echo_n "checking whether we are cross compiling... " >&6; }
2318 if test "$cross_compiling" != yes; then
2319 { { ac_try="$ac_link"
2320 case "(($ac_try" in
2321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2322 *) ac_try_echo=$ac_try;;
2323 esac
2324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2325 $as_echo "$ac_try_echo"; } >&5
2326 (eval "$ac_link") 2>&5
2327 ac_status=$?
2328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2329 test $ac_status = 0; }
2330 if { ac_try='./conftest$ac_cv_exeext'
2331 { { case "(($ac_try" in
2332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2333 *) ac_try_echo=$ac_try;;
2334 esac
2335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2336 $as_echo "$ac_try_echo"; } >&5
2337 (eval "$ac_try") 2>&5
2338 ac_status=$?
2339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2340 test $ac_status = 0; }; }; then
2341 cross_compiling=no
2342 else
2343 if test "$cross_compiling" = maybe; then
2344 cross_compiling=yes
2345 else
2346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2348 as_fn_error $? "cannot run C compiled programs.
2349 If you meant to cross compile, use \`--host'.
2350 See \`config.log' for more details" "$LINENO" 5; }
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2355 $as_echo "$cross_compiling" >&6; }
2357 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2358 ac_clean_files=$ac_clean_files_save
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2360 $as_echo_n "checking for suffix of object files... " >&6; }
2361 if ${ac_cv_objext+:} false; then :
2362 $as_echo_n "(cached) " >&6
2363 else
2364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2365 /* end confdefs.h. */
2368 main ()
2372 return 0;
2374 _ACEOF
2375 rm -f conftest.o conftest.obj
2376 if { { ac_try="$ac_compile"
2377 case "(($ac_try" in
2378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2379 *) ac_try_echo=$ac_try;;
2380 esac
2381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2382 $as_echo "$ac_try_echo"; } >&5
2383 (eval "$ac_compile") 2>&5
2384 ac_status=$?
2385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2386 test $ac_status = 0; }; then :
2387 for ac_file in conftest.o conftest.obj conftest.*; do
2388 test -f "$ac_file" || continue;
2389 case $ac_file in
2390 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2391 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2392 break;;
2393 esac
2394 done
2395 else
2396 $as_echo "$as_me: failed program was:" >&5
2397 sed 's/^/| /' conftest.$ac_ext >&5
2399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2401 as_fn_error $? "cannot compute suffix of object files: cannot compile
2402 See \`config.log' for more details" "$LINENO" 5; }
2404 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2407 $as_echo "$ac_cv_objext" >&6; }
2408 OBJEXT=$ac_cv_objext
2409 ac_objext=$OBJEXT
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2411 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2412 if ${ac_cv_c_compiler_gnu+:} false; then :
2413 $as_echo_n "(cached) " >&6
2414 else
2415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2416 /* end confdefs.h. */
2419 main ()
2421 #ifndef __GNUC__
2422 choke me
2423 #endif
2426 return 0;
2428 _ACEOF
2429 if ac_fn_c_try_compile "$LINENO"; then :
2430 ac_compiler_gnu=yes
2431 else
2432 ac_compiler_gnu=no
2434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2435 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2439 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2440 if test $ac_compiler_gnu = yes; then
2441 GCC=yes
2442 else
2443 GCC=
2445 ac_test_CFLAGS=${CFLAGS+set}
2446 ac_save_CFLAGS=$CFLAGS
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2448 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2449 if ${ac_cv_prog_cc_g+:} false; then :
2450 $as_echo_n "(cached) " >&6
2451 else
2452 ac_save_c_werror_flag=$ac_c_werror_flag
2453 ac_c_werror_flag=yes
2454 ac_cv_prog_cc_g=no
2455 CFLAGS="-g"
2456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2457 /* end confdefs.h. */
2460 main ()
2464 return 0;
2466 _ACEOF
2467 if ac_fn_c_try_compile "$LINENO"; then :
2468 ac_cv_prog_cc_g=yes
2469 else
2470 CFLAGS=""
2471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2472 /* end confdefs.h. */
2475 main ()
2479 return 0;
2481 _ACEOF
2482 if ac_fn_c_try_compile "$LINENO"; then :
2484 else
2485 ac_c_werror_flag=$ac_save_c_werror_flag
2486 CFLAGS="-g"
2487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2488 /* end confdefs.h. */
2491 main ()
2495 return 0;
2497 _ACEOF
2498 if ac_fn_c_try_compile "$LINENO"; then :
2499 ac_cv_prog_cc_g=yes
2501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2506 ac_c_werror_flag=$ac_save_c_werror_flag
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2509 $as_echo "$ac_cv_prog_cc_g" >&6; }
2510 if test "$ac_test_CFLAGS" = set; then
2511 CFLAGS=$ac_save_CFLAGS
2512 elif test $ac_cv_prog_cc_g = yes; then
2513 if test "$GCC" = yes; then
2514 CFLAGS="-g -O2"
2515 else
2516 CFLAGS="-g"
2518 else
2519 if test "$GCC" = yes; then
2520 CFLAGS="-O2"
2521 else
2522 CFLAGS=
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2526 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2527 if ${ac_cv_prog_cc_c89+:} false; then :
2528 $as_echo_n "(cached) " >&6
2529 else
2530 ac_cv_prog_cc_c89=no
2531 ac_save_CC=$CC
2532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2533 /* end confdefs.h. */
2534 #include <stdarg.h>
2535 #include <stdio.h>
2536 struct stat;
2537 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2538 struct buf { int x; };
2539 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2540 static char *e (p, i)
2541 char **p;
2542 int i;
2544 return p[i];
2546 static char *f (char * (*g) (char **, int), char **p, ...)
2548 char *s;
2549 va_list v;
2550 va_start (v,p);
2551 s = g (p, va_arg (v,int));
2552 va_end (v);
2553 return s;
2556 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2557 function prototypes and stuff, but not '\xHH' hex character constants.
2558 These don't provoke an error unfortunately, instead are silently treated
2559 as 'x'. The following induces an error, until -std is added to get
2560 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2561 array size at least. It's necessary to write '\x00'==0 to get something
2562 that's true only with -std. */
2563 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2565 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2566 inside strings and character constants. */
2567 #define FOO(x) 'x'
2568 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2570 int test (int i, double x);
2571 struct s1 {int (*f) (int a);};
2572 struct s2 {int (*f) (double a);};
2573 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2574 int argc;
2575 char **argv;
2577 main ()
2579 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2581 return 0;
2583 _ACEOF
2584 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2585 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2587 CC="$ac_save_CC $ac_arg"
2588 if ac_fn_c_try_compile "$LINENO"; then :
2589 ac_cv_prog_cc_c89=$ac_arg
2591 rm -f core conftest.err conftest.$ac_objext
2592 test "x$ac_cv_prog_cc_c89" != "xno" && break
2593 done
2594 rm -f conftest.$ac_ext
2595 CC=$ac_save_CC
2598 # AC_CACHE_VAL
2599 case "x$ac_cv_prog_cc_c89" in
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2602 $as_echo "none needed" >&6; } ;;
2603 xno)
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2605 $as_echo "unsupported" >&6; } ;;
2607 CC="$CC $ac_cv_prog_cc_c89"
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2609 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2610 esac
2611 if test "x$ac_cv_prog_cc_c89" != xno; then :
2615 ac_ext=c
2616 ac_cpp='$CPP $CPPFLAGS'
2617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2623 $as_echo_n "checking target config location... " >&6; }
2625 # Check whether --with-config-dir was given.
2626 if test "${with_config_dir+set}" = set; then :
2627 withval=$with_config_dir; targetcfg_dir="$withval"
2628 else
2629 targetcfg_dir=""
2632 if test "$targetcfg_dir" = ""; then
2633 as_fn_error $? "missing config directory!" "$LINENO" 5
2634 else
2635 aros_targetcfg_dir="$targetcfg_dir"
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2638 $as_echo "$aros_targetcfg_dir" >&6; }
2640 #-----------------------------------------------------------------------------
2642 # Check if the target compiler supports some features:
2643 # -flto
2644 # -floop-block
2645 # -floop-interchange
2646 # -floop-strip-mine
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2649 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2650 CFLAGS=-flto
2652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h. */
2656 main ()
2660 return 0;
2662 _ACEOF
2663 if ac_fn_c_try_compile "$LINENO"; then :
2664 aros_lto="yes"
2665 else
2666 aros_lto="no"
2668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2670 $as_echo "$aros_lto" >&6; }
2671 if test "x-$aros_lto" = "x-yes" ; then
2672 aros_cflags_lto=-flto
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2676 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2677 CFLAGS=-floop-block
2678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2679 /* end confdefs.h. */
2682 main ()
2686 return 0;
2688 _ACEOF
2689 if ac_fn_c_try_compile "$LINENO"; then :
2690 aros_loop_block="yes"
2691 else
2692 aros_loop_block="no"
2694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2696 $as_echo "$aros_loop_block" >&6; }
2697 if test "x-$aros_loop_block" = "x-yes" ; then
2698 aros_cflags_loop_block=-floop-block
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2702 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2703 CFLAGS=-floop-interchange
2704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2705 /* end confdefs.h. */
2708 main ()
2712 return 0;
2714 _ACEOF
2715 if ac_fn_c_try_compile "$LINENO"; then :
2716 aros_loop_interchange="yes"
2717 else
2718 aros_loop_interchange="no"
2720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2722 $as_echo "$aros_loop_interchange" >&6; }
2723 if test "x-$aros_loop_interchange" = "x-yes" ; then
2724 aros_cflags_loop_interchange=-floop-interchange
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2728 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2729 CFLAGS=-floop-strip-mine
2730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2731 /* end confdefs.h. */
2734 main ()
2738 return 0;
2740 _ACEOF
2741 if ac_fn_c_try_compile "$LINENO"; then :
2742 aros_loop_strip_mine="yes"
2743 else
2744 aros_loop_strip_mine="no"
2746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2748 $as_echo "$aros_loop_strip_mine" >&6; }
2749 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2750 aros_cflags_loop_strip_mine=-floop-strip-mine
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
2754 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
2755 CFLAGS="-iquote."
2756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2757 /* end confdefs.h. */
2760 main ()
2764 return 0;
2766 _ACEOF
2767 if ac_fn_c_try_compile "$LINENO"; then :
2768 has_iquote="yes"
2769 else
2770 has_iquote="no"
2772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
2774 $as_echo "$has_iquote" >&6; }
2775 if test "x-$has_iquote" = "x-yes" ; then
2776 aros_cflags_iquote=-iquote
2777 aros_cflags_iquote_end=
2778 else
2779 aros_cflags_iquote=-I
2780 aros_cflags_iquote_end=-I-
2783 #-----------------------------------------------------------------------------
2785 # Check if the target compiler supports some options used for de-linting:
2786 # -Wunused-command-line-argument
2787 # -Wunknown-warning-option
2788 # -Wunused-but-set-variable
2789 # -Wstrict-aliasing
2790 # -Warray-bounds
2791 # -Wenum-compare
2792 # -Wstrict-prototypes
2793 # -Wstrict-overflow
2794 # -Wformat-security
2795 # -Wmisleading-indentation
2796 # -Wnonnull-compare
2797 # -Wunused
2798 # -Wunused-value
2799 # -Wunused-variable
2800 # -Wunused-function
2801 # -Wunused-parameter
2802 # -Wuninitialized
2803 # -Wmaybe-uninitialized
2804 # -Wimplicit-function-declaration
2805 # -Wformat
2806 # -Wparentheses
2807 # -Wchar-subscripts
2808 # -Wendif-labels
2809 # -Wformat-contains-nul
2810 # -Wimplicit-int
2811 # -Waggressive-loop-optimizations
2812 # -Wcpp
2813 # -Wswitch
2814 # -Wdiscarded-qualifiers
2815 # -Wsequence-point
2816 # -Wunknown-pragmas
2817 # -Wdiscarded-array-qualifiers
2818 # -Wint-conversion
2819 # -Wint-to-pointer-cast
2820 # -Wpointer-to-int-cast
2821 # -Wunused-const-variable
2822 # -Wwrite-strings
2823 # -Wcomment
2824 # -Wincompatible-pointer-types
2825 # -Wbool-compare
2826 # -Wlogical-not-parentheses
2827 # -Wpointer-sign
2828 # -Wshift-overflow
2829 # -Wframe-address
2830 # -Wdeprecated-declarations
2831 # -Wsign-compare
2832 # -Wattributes
2833 # -Woverflow
2834 # -Wunused-local-typedefs
2835 # -Wmissing-braces
2836 # -Wconversion-null
2837 # -Wnarrowing
2838 # -Wvolatile-register-var
2839 # -Wsizeof-pointer-memaccess
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
2842 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
2843 CFLAGS=-Wunused-command-line-argument
2844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2845 /* end confdefs.h. */
2848 main ()
2852 return 0;
2854 _ACEOF
2855 if ac_fn_c_try_compile "$LINENO"; then :
2856 aros_unused_command_line_argument="yes"
2857 else
2858 aros_unused_command_line_argument="no"
2860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
2862 $as_echo "$aros_unused_command_line_argument" >&6; }
2863 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
2864 aros_cflags_unused_command_line_argument=-Wno-unused-command-line-argument
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
2868 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
2869 CFLAGS=-Wunknown-warning-option
2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2871 /* end confdefs.h. */
2874 main ()
2878 return 0;
2880 _ACEOF
2881 if ac_fn_c_try_compile "$LINENO"; then :
2882 aros_unknown_warning_option="yes"
2883 else
2884 aros_unknown_warning_option="no"
2886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
2888 $as_echo "$aros_unknown_warning_option" >&6; }
2889 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
2890 aros_cflags_unknown_warning_option=-Wno-unknown-warning-option
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
2894 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
2895 CFLAGS=-Wunused-but-set-variable
2896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2897 /* end confdefs.h. */
2900 main ()
2904 return 0;
2906 _ACEOF
2907 if ac_fn_c_try_compile "$LINENO"; then :
2908 aros_unused_but_set_variable="yes"
2909 else
2910 aros_unused_but_set_variable="no"
2912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
2914 $as_echo "$aros_unused_but_set_variable" >&6; }
2915 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
2916 aros_cflags_unused_but_set_variable=-Wno-unused-but-set-variable
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
2920 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
2921 CFLAGS=-Wstrict-aliasing
2922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2923 /* end confdefs.h. */
2926 main ()
2930 return 0;
2932 _ACEOF
2933 if ac_fn_c_try_compile "$LINENO"; then :
2934 aros_strict_aliasing="yes"
2935 else
2936 aros_strict_aliasing="no"
2938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
2940 $as_echo "$aros_strict_aliasing" >&6; }
2941 if test "x-$aros_strict_aliasing" = "x-yes" ; then
2942 aros_cflags_strict_aliasing=-Wno-strict-aliasing
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
2946 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
2947 CFLAGS=-Warray-bounds
2948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2949 /* end confdefs.h. */
2952 main ()
2956 return 0;
2958 _ACEOF
2959 if ac_fn_c_try_compile "$LINENO"; then :
2960 aros_array_bounds="yes"
2961 else
2962 aros_array_bounds="no"
2964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
2966 $as_echo "$aros_array_bounds" >&6; }
2967 if test "x-$aros_array_bounds" = "x-yes" ; then
2968 aros_cflags_array_bounds=-Wno-array-bounds
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
2972 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
2973 CFLAGS=-Wenum-compare
2974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2975 /* end confdefs.h. */
2978 main ()
2982 return 0;
2984 _ACEOF
2985 if ac_fn_c_try_compile "$LINENO"; then :
2986 aros_enum_compare="yes"
2987 else
2988 aros_enum_compare="no"
2990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
2992 $as_echo "$aros_enum_compare" >&6; }
2993 if test "x-$aros_enum_compare" = "x-yes" ; then
2994 aros_cflags_enum_compare=-Wno-enum-compare
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
2998 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
2999 CFLAGS=-Wstrict-prototypes
3000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3001 /* end confdefs.h. */
3004 main ()
3008 return 0;
3010 _ACEOF
3011 if ac_fn_c_try_compile "$LINENO"; then :
3012 aros_strict_prototypes="yes"
3013 else
3014 aros_strict_prototypes="no"
3016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3018 $as_echo "$aros_strict_prototypes" >&6; }
3019 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3020 aros_cflags_strict_prototypes=-Wno-strict-prototypes
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3024 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3025 CFLAGS=-Wstrict-overflow
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3030 main ()
3034 return 0;
3036 _ACEOF
3037 if ac_fn_c_try_compile "$LINENO"; then :
3038 aros_strict_overflow="yes"
3039 else
3040 aros_strict_overflow="no"
3042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3044 $as_echo "$aros_strict_overflow" >&6; }
3045 if test "x-$aros_strict_overflow" = "x-yes" ; then
3046 aros_cflags_strict_overflow=-Wno-strict-overflow
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3050 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3051 CFLAGS=-Wformat-security
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053 /* end confdefs.h. */
3056 main ()
3060 return 0;
3062 _ACEOF
3063 if ac_fn_c_try_compile "$LINENO"; then :
3064 aros_format_security="yes"
3065 else
3066 aros_format_security="no"
3068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3070 $as_echo "$aros_format_security" >&6; }
3071 if test "x-$aros_format_security" = "x-yes" ; then
3072 aros_cflags_format_security=-Wno-format-security
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3076 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3077 CFLAGS=-Wmisleading-indentation
3078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3079 /* end confdefs.h. */
3082 main ()
3086 return 0;
3088 _ACEOF
3089 if ac_fn_c_try_compile "$LINENO"; then :
3090 aros_misleading_indentation="yes"
3091 else
3092 aros_misleading_indentation="no"
3094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3096 $as_echo "$aros_misleading_indentation" >&6; }
3097 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3098 aros_cflags_misleading_indentation=-Wno-misleading-indentation
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3102 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3103 CFLAGS=-Wnonnull-compare
3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3108 main ()
3112 return 0;
3114 _ACEOF
3115 if ac_fn_c_try_compile "$LINENO"; then :
3116 aros_nonnull_compare="yes"
3117 else
3118 aros_nonnull_compare="no"
3120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3122 $as_echo "$aros_nonnull_compare" >&6; }
3123 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3124 aros_cflags_nonnull_compare=-Wno-nonnull-compare
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3128 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3129 CFLAGS=-Wunused
3130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3131 /* end confdefs.h. */
3134 main ()
3138 return 0;
3140 _ACEOF
3141 if ac_fn_c_try_compile "$LINENO"; then :
3142 aros_unused="yes"
3143 else
3144 aros_unused="no"
3146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3148 $as_echo "$aros_unused" >&6; }
3149 if test "x-$aros_unused" = "x-yes" ; then
3150 aros_cflags_unused=-Wno-unused
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3154 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3155 CFLAGS=-Wunused-value
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3160 main ()
3164 return 0;
3166 _ACEOF
3167 if ac_fn_c_try_compile "$LINENO"; then :
3168 aros_unused_value="yes"
3169 else
3170 aros_unused_value="no"
3172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3174 $as_echo "$aros_unused_value" >&6; }
3175 if test "x-$aros_unused_value" = "x-yes" ; then
3176 aros_cflags_unused_value=-Wno-unused-value
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3180 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3181 CFLAGS=-Wunused-variable
3182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3183 /* end confdefs.h. */
3186 main ()
3190 return 0;
3192 _ACEOF
3193 if ac_fn_c_try_compile "$LINENO"; then :
3194 aros_unused_variable="yes"
3195 else
3196 aros_unused_variable="no"
3198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3200 $as_echo "$aros_unused_variable" >&6; }
3201 if test "x-$aros_unused_variable" = "x-yes" ; then
3202 aros_cflags_unused_variable=-Wno-unused-variable
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3206 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3207 CFLAGS=-Wunused-function
3208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h. */
3212 main ()
3216 return 0;
3218 _ACEOF
3219 if ac_fn_c_try_compile "$LINENO"; then :
3220 aros_unused_function="yes"
3221 else
3222 aros_unused_function="no"
3224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3226 $as_echo "$aros_unused_function" >&6; }
3227 if test "x-$aros_unused_function" = "x-yes" ; then
3228 aros_cflags_unused_function=-Wno-unused-function
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3232 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3233 CFLAGS=-Wunused-parameter
3234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3235 /* end confdefs.h. */
3238 main ()
3242 return 0;
3244 _ACEOF
3245 if ac_fn_c_try_compile "$LINENO"; then :
3246 aros_unused_parameter="yes"
3247 else
3248 aros_unused_parameter="no"
3250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3252 $as_echo "$aros_unused_parameter" >&6; }
3253 if test "x-$aros_unused_parameter" = "x-yes" ; then
3254 aros_cflags_unused_parameter=-Wno-unused-parameter
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3258 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3259 CFLAGS=-Wuninitialized
3260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3261 /* end confdefs.h. */
3264 main ()
3268 return 0;
3270 _ACEOF
3271 if ac_fn_c_try_compile "$LINENO"; then :
3272 aros_uninitialized="yes"
3273 else
3274 aros_uninitialized="no"
3276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3278 $as_echo "$aros_uninitialized" >&6; }
3279 if test "x-$aros_uninitialized" = "x-yes" ; then
3280 aros_cflags_uninitialized=-Wno-uninitialized
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3284 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3285 CFLAGS=-Wmaybe-uninitialized
3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287 /* end confdefs.h. */
3290 main ()
3294 return 0;
3296 _ACEOF
3297 if ac_fn_c_try_compile "$LINENO"; then :
3298 aros_maybe_uninitialized="yes"
3299 else
3300 aros_maybe_uninitialized="no"
3302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3304 $as_echo "$aros_maybe_uninitialized" >&6; }
3305 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3306 aros_cflags_maybe_uninitialized=-Wno-maybe-uninitialized
3307 else
3308 aros_cflags_maybe_uninitialized=$aros_cflags_uninitialized
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3312 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3313 CFLAGS=-Wimplicit-function-declaration
3314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3315 /* end confdefs.h. */
3318 main ()
3322 return 0;
3324 _ACEOF
3325 if ac_fn_c_try_compile "$LINENO"; then :
3326 aros_implicit_function_declaration="yes"
3327 else
3328 aros_implicit_function_declaration="no"
3330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3332 $as_echo "$aros_implicit_function_declaration" >&6; }
3333 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3334 aros_cflags_implicit_function_declaration=-Wno-implicit-function-declaration
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3338 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3339 CFLAGS=-Wformat
3340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3341 /* end confdefs.h. */
3344 main ()
3348 return 0;
3350 _ACEOF
3351 if ac_fn_c_try_compile "$LINENO"; then :
3352 aros_format="yes"
3353 else
3354 aros_format="no"
3356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3358 $as_echo "$aros_format" >&6; }
3359 if test "x-$aros_format" = "x-yes" ; then
3360 aros_cflags_format=-Wno-format
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3364 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3365 CFLAGS=-Wparentheses
3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367 /* end confdefs.h. */
3370 main ()
3374 return 0;
3376 _ACEOF
3377 if ac_fn_c_try_compile "$LINENO"; then :
3378 aros_parentheses="yes"
3379 else
3380 aros_parentheses="no"
3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3384 $as_echo "$aros_parentheses" >&6; }
3385 if test "x-$aros_parentheses" = "x-yes" ; then
3386 aros_cflags_parentheses=-Wno-parentheses
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3390 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3391 CFLAGS=-Wchar-subscripts
3392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3393 /* end confdefs.h. */
3396 main ()
3400 return 0;
3402 _ACEOF
3403 if ac_fn_c_try_compile "$LINENO"; then :
3404 aros_char_subscripts="yes"
3405 else
3406 aros_char_subscripts="no"
3408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3410 $as_echo "$aros_char_subscripts" >&6; }
3411 if test "x-$aros_char_subscripts" = "x-yes" ; then
3412 aros_cflags_char_subscripts=-Wno-char-subscripts
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3416 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3417 CFLAGS=-Wendif-labels
3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3419 /* end confdefs.h. */
3422 main ()
3426 return 0;
3428 _ACEOF
3429 if ac_fn_c_try_compile "$LINENO"; then :
3430 aros_endif_labels="yes"
3431 else
3432 aros_endif_labels="no"
3434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3436 $as_echo "$aros_endif_labels" >&6; }
3437 if test "x-$aros_endif_labels" = "x-yes" ; then
3438 aros_cflags_endif_labels=-Wno-endif-labels
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3442 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3443 CFLAGS=-Wformat-contains-nul
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3448 main ()
3452 return 0;
3454 _ACEOF
3455 if ac_fn_c_try_compile "$LINENO"; then :
3456 aros_format_contains_nul="yes"
3457 else
3458 aros_format_contains_nul="no"
3460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3462 $as_echo "$aros_format_contains_nul" >&6; }
3463 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3464 aros_cflags_format_contains_nul=-Wno-format-contains-nul
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3468 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3469 CFLAGS=-Wimplicit-int
3470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471 /* end confdefs.h. */
3474 main ()
3478 return 0;
3480 _ACEOF
3481 if ac_fn_c_try_compile "$LINENO"; then :
3482 aros_implicit_int="yes"
3483 else
3484 aros_implicit_int="no"
3486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3488 $as_echo "$aros_implicit_int" >&6; }
3489 if test "x-$aros_implicit_int" = "x-yes" ; then
3490 aros_cflags_implicit_int=-Wno-implicit-int
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3494 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3495 CFLAGS=-Waggressive-loop-optimizations
3496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3497 /* end confdefs.h. */
3500 main ()
3504 return 0;
3506 _ACEOF
3507 if ac_fn_c_try_compile "$LINENO"; then :
3508 aros_aggressive_loop_optimizations="yes"
3509 else
3510 aros_aggressive_loop_optimizations="no"
3512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3514 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3515 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3516 aros_cflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3520 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3521 CFLAGS=-Wcpp
3522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3523 /* end confdefs.h. */
3526 main ()
3530 return 0;
3532 _ACEOF
3533 if ac_fn_c_try_compile "$LINENO"; then :
3534 aros_cpp="yes"
3535 else
3536 aros_cpp="no"
3538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3540 $as_echo "$aros_cpp" >&6; }
3541 if test "x-$aros_cpp" = "x-yes" ; then
3542 aros_cflags_cpp=-Wno-cpp
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3546 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3547 CFLAGS=-Wswitch
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3552 main ()
3556 return 0;
3558 _ACEOF
3559 if ac_fn_c_try_compile "$LINENO"; then :
3560 aros_switch="yes"
3561 else
3562 aros_switch="no"
3564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3566 $as_echo "$aros_switch" >&6; }
3567 if test "x-$aros_switch" = "x-yes" ; then
3568 aros_cflags_switch=-Wno-switch
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3572 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3573 CFLAGS=-Wdiscarded-qualifiers
3574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3575 /* end confdefs.h. */
3578 main ()
3582 return 0;
3584 _ACEOF
3585 if ac_fn_c_try_compile "$LINENO"; then :
3586 aros_discarded_qualifiers="yes"
3587 else
3588 aros_discarded_qualifiers="no"
3590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3592 $as_echo "$aros_discarded_qualifiers" >&6; }
3593 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3594 aros_cflags_discarded_qualifiers=-Wno-discarded-qualifiers
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3598 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3599 CFLAGS=-Wsequence-point
3600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3601 /* end confdefs.h. */
3604 main ()
3608 return 0;
3610 _ACEOF
3611 if ac_fn_c_try_compile "$LINENO"; then :
3612 aros_sequence_point="yes"
3613 else
3614 aros_sequence_point="no"
3616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3618 $as_echo "$aros_sequence_point" >&6; }
3619 if test "x-$aros_sequence_point" = "x-yes" ; then
3620 aros_cflags_sequence_point=-Wno-sequence-point
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3624 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3625 CFLAGS=-Wunknown-pragmas
3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h. */
3630 main ()
3634 return 0;
3636 _ACEOF
3637 if ac_fn_c_try_compile "$LINENO"; then :
3638 aros_unknown_pragmas="yes"
3639 else
3640 aros_unknown_pragmas="no"
3642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3644 $as_echo "$aros_unknown_pragmas" >&6; }
3645 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3646 aros_cflags_unknown_pragmas=-Wno-unknown-pragmas
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3650 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3651 CFLAGS=-Wdiscarded-array-qualifiers
3652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3653 /* end confdefs.h. */
3656 main ()
3660 return 0;
3662 _ACEOF
3663 if ac_fn_c_try_compile "$LINENO"; then :
3664 aros_discarded_array_qualifiers="yes"
3665 else
3666 aros_discarded_array_qualifiers="no"
3668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3670 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3671 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3672 aros_cflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3676 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3677 CFLAGS=-Wint-conversion
3678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3679 /* end confdefs.h. */
3682 main ()
3686 return 0;
3688 _ACEOF
3689 if ac_fn_c_try_compile "$LINENO"; then :
3690 aros_int_conversion="yes"
3691 else
3692 aros_int_conversion="no"
3694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3696 $as_echo "$aros_int_conversion" >&6; }
3697 if test "x-$aros_int_conversion" = "x-yes" ; then
3698 aros_cflags_int_conversion=-Wno-int-conversion
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3702 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3703 CFLAGS=-Wint-to-pointer-cast
3704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3705 /* end confdefs.h. */
3708 main ()
3712 return 0;
3714 _ACEOF
3715 if ac_fn_c_try_compile "$LINENO"; then :
3716 aros_int_to_pointer_cast="yes"
3717 else
3718 aros_int_to_pointer_cast="no"
3720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3722 $as_echo "$aros_int_to_pointer_cast" >&6; }
3723 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3724 aros_cflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
3728 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
3729 CFLAGS=-Wpointer-to-int-cast
3730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3731 /* end confdefs.h. */
3734 main ()
3738 return 0;
3740 _ACEOF
3741 if ac_fn_c_try_compile "$LINENO"; then :
3742 aros_pointer_to_int_cast="yes"
3743 else
3744 aros_pointer_to_int_cast="no"
3746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
3748 $as_echo "$aros_pointer_to_int_cast" >&6; }
3749 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
3750 aros_cflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
3754 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
3755 CFLAGS=-Wunused-const-variable
3756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3757 /* end confdefs.h. */
3760 main ()
3764 return 0;
3766 _ACEOF
3767 if ac_fn_c_try_compile "$LINENO"; then :
3768 aros_unused_const_variable="yes"
3769 else
3770 aros_unused_const_variable="no"
3772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
3774 $as_echo "$aros_unused_const_variable" >&6; }
3775 if test "x-$aros_unused_const_variable" = "x-yes" ; then
3776 aros_cflags_unused_const_variable=-Wno-unused-const-variable
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
3780 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
3781 CFLAGS=-Wwrite-strings
3782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3783 /* end confdefs.h. */
3786 main ()
3790 return 0;
3792 _ACEOF
3793 if ac_fn_c_try_compile "$LINENO"; then :
3794 aros_write_strings="yes"
3795 else
3796 aros_write_strings="no"
3798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
3800 $as_echo "$aros_write_strings" >&6; }
3801 if test "x-$aros_write_strings" = "x-yes" ; then
3802 aros_cflags_write_strings=-Wno-write-strings
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
3806 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
3807 CFLAGS=-Wcomment
3808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3809 /* end confdefs.h. */
3812 main ()
3816 return 0;
3818 _ACEOF
3819 if ac_fn_c_try_compile "$LINENO"; then :
3820 aros_comment="yes"
3821 else
3822 aros_comment="no"
3824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
3826 $as_echo "$aros_comment" >&6; }
3827 if test "x-$aros_comment" = "x-yes" ; then
3828 aros_cflags_comment=-Wno-comment
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
3832 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
3833 CFLAGS=-Wincompatible-pointer-types
3834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3835 /* end confdefs.h. */
3838 main ()
3842 return 0;
3844 _ACEOF
3845 if ac_fn_c_try_compile "$LINENO"; then :
3846 aros_incompatible_pointer_types="yes"
3847 else
3848 aros_incompatible_pointer_types="no"
3850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
3852 $as_echo "$aros_incompatible_pointer_types" >&6; }
3853 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
3854 aros_cflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
3858 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
3859 CFLAGS=-Wbool-compare
3860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3861 /* end confdefs.h. */
3864 main ()
3868 return 0;
3870 _ACEOF
3871 if ac_fn_c_try_compile "$LINENO"; then :
3872 aros_bool_compare="yes"
3873 else
3874 aros_bool_compare="no"
3876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
3878 $as_echo "$aros_bool_compare" >&6; }
3879 if test "x-$aros_bool_compare" = "x-yes" ; then
3880 aros_cflags_bool_compare=-Wno-bool-compare
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
3884 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
3885 CFLAGS=-Wlogical-not-parentheses
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3890 main ()
3894 return 0;
3896 _ACEOF
3897 if ac_fn_c_try_compile "$LINENO"; then :
3898 aros_logical_not_parentheses="yes"
3899 else
3900 aros_logical_not_parentheses="no"
3902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
3904 $as_echo "$aros_logical_not_parentheses" >&6; }
3905 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
3906 aros_cflags_logical_not_parentheses=-Wno-logical-not-parentheses
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
3910 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
3911 CFLAGS=-Wpointer-sign
3912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3913 /* end confdefs.h. */
3916 main ()
3920 return 0;
3922 _ACEOF
3923 if ac_fn_c_try_compile "$LINENO"; then :
3924 aros_pointer_sign="yes"
3925 else
3926 aros_pointer_sign="no"
3928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
3930 $as_echo "$aros_pointer_sign" >&6; }
3931 if test "x-$aros_pointer_sign" = "x-yes" ; then
3932 aros_cflags_pointer_sign=-Wno-pointer-sign
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
3936 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
3937 CFLAGS=-Wshift-overflow
3938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h. */
3942 main ()
3946 return 0;
3948 _ACEOF
3949 if ac_fn_c_try_compile "$LINENO"; then :
3950 aros_shift_overflow="yes"
3951 else
3952 aros_shift_overflow="no"
3954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
3956 $as_echo "$aros_shift_overflow" >&6; }
3957 if test "x-$aros_shift_overflow" = "x-yes" ; then
3958 aros_cflags_shift_overflow=-Wno-shift-overflow
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
3962 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
3963 CFLAGS=-Wframe-address
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3968 main ()
3972 return 0;
3974 _ACEOF
3975 if ac_fn_c_try_compile "$LINENO"; then :
3976 aros_frame_address="yes"
3977 else
3978 aros_frame_address="no"
3980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
3982 $as_echo "$aros_frame_address" >&6; }
3983 if test "x-$aros_frame_address" = "x-yes" ; then
3984 aros_cflags_frame_address=-Wno-frame-address
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
3988 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
3989 CFLAGS=-Wdeprecated-declarations
3990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3991 /* end confdefs.h. */
3994 main ()
3998 return 0;
4000 _ACEOF
4001 if ac_fn_c_try_compile "$LINENO"; then :
4002 aros_deprecated_declarations="yes"
4003 else
4004 aros_deprecated_declarations="no"
4006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4008 $as_echo "$aros_deprecated_declarations" >&6; }
4009 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4010 aros_cflags_deprecated_declarations=-Wno-deprecated-declarations
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4014 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4015 CFLAGS=-Wsign-compare
4016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4017 /* end confdefs.h. */
4020 main ()
4024 return 0;
4026 _ACEOF
4027 if ac_fn_c_try_compile "$LINENO"; then :
4028 aros_sign_compare="yes"
4029 else
4030 aros_sign_compare="no"
4032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4034 $as_echo "$aros_sign_compare" >&6; }
4035 if test "x-$aros_sign_compare" = "x-yes" ; then
4036 aros_cflags_sign_compare=-Wno-sign-compare
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4040 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4041 CFLAGS=-Wattributes
4042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4043 /* end confdefs.h. */
4046 main ()
4050 return 0;
4052 _ACEOF
4053 if ac_fn_c_try_compile "$LINENO"; then :
4054 aros_attributes="yes"
4055 else
4056 aros_attributes="no"
4058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4060 $as_echo "$aros_attributes" >&6; }
4061 if test "x-$aros_attributes" = "x-yes" ; then
4062 aros_cflags_attributes=-Wno-attributes
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4066 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4067 CFLAGS=-Woverflow
4068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4069 /* end confdefs.h. */
4072 main ()
4076 return 0;
4078 _ACEOF
4079 if ac_fn_c_try_compile "$LINENO"; then :
4080 aros_overflow="yes"
4081 else
4082 aros_overflow="no"
4084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4086 $as_echo "$aros_overflow" >&6; }
4087 if test "x-$aros_overflow" = "x-yes" ; then
4088 aros_cflags_overflow=-Wno-overflow
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4092 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4093 CFLAGS=-Wunused-local-typedefs
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4098 main ()
4102 return 0;
4104 _ACEOF
4105 if ac_fn_c_try_compile "$LINENO"; then :
4106 aros_unused_local_typedefs="yes"
4107 else
4108 aros_unused_local_typedefs="no"
4110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4112 $as_echo "$aros_unused_local_typedefs" >&6; }
4113 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4114 aros_cflags_unused_local_typedefs=-Wno-unused-local-typedefs
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4118 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4119 CFLAGS=-Wmissing-braces
4120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4121 /* end confdefs.h. */
4124 main ()
4128 return 0;
4130 _ACEOF
4131 if ac_fn_c_try_compile "$LINENO"; then :
4132 aros_missing_braces="yes"
4133 else
4134 aros_missing_braces="no"
4136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4138 $as_echo "$aros_missing_braces" >&6; }
4139 if test "x-$aros_missing_braces" = "x-yes" ; then
4140 aros_cflags_missing_braces=-Wno-missing-braces
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4144 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4145 CFLAGS=-Wconversion-null
4146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h. */
4150 main ()
4154 return 0;
4156 _ACEOF
4157 if ac_fn_c_try_compile "$LINENO"; then :
4158 aros_conversion_null="yes"
4159 else
4160 aros_conversion_null="no"
4162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4164 $as_echo "$aros_conversion_null" >&6; }
4165 if test "x-$aros_conversion_null" = "x-yes" ; then
4166 aros_cflags_conversion_null=-Wno-conversion-null
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4170 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4171 CFLAGS=-Wnarrowing
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4176 main ()
4180 return 0;
4182 _ACEOF
4183 if ac_fn_c_try_compile "$LINENO"; then :
4184 aros_narrowing="yes"
4185 else
4186 aros_narrowing="no"
4188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4190 $as_echo "$aros_narrowing" >&6; }
4191 if test "x-$aros_narrowing" = "x-yes" ; then
4192 aros_cflags_narrowing=-Wno-narrowing
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4196 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4197 CFLAGS=-Wvolatile-register-var
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4202 main ()
4206 return 0;
4208 _ACEOF
4209 if ac_fn_c_try_compile "$LINENO"; then :
4210 aros_volatile_register_var="yes"
4211 else
4212 aros_volatile_register_var="no"
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4216 $as_echo "$aros_volatile_register_var" >&6; }
4217 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4218 aros_cflags_volatile_register_var=-Wno-volatile-register-var
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4222 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4223 CFLAGS=-Wsizeof-pointer-memaccess
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4228 main ()
4232 return 0;
4234 _ACEOF
4235 if ac_fn_c_try_compile "$LINENO"; then :
4236 aros_sizeof_pointer_memaccess="yes"
4237 else
4238 aros_sizeof_pointer_memaccess="no"
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4242 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4243 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4244 aros_cflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4310 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
4313 cat >confcache <<\_ACEOF
4314 # This file is a shell script that caches the results of configure
4315 # tests run on this system so they can be shared between configure
4316 # scripts and configure runs, see configure's option --config-cache.
4317 # It is not useful on other systems. If it contains results you don't
4318 # want to keep, you may remove or edit it.
4320 # config.status only pays attention to the cache file if you give it
4321 # the --recheck option to rerun configure.
4323 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4324 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4325 # following values.
4327 _ACEOF
4329 # The following way of writing the cache mishandles newlines in values,
4330 # but we know of no workaround that is simple, portable, and efficient.
4331 # So, we kill variables containing newlines.
4332 # Ultrix sh set writes to stderr and can't be redirected directly,
4333 # and sets the high bit in the cache file unless we assign to the vars.
4335 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4336 eval ac_val=\$$ac_var
4337 case $ac_val in #(
4338 *${as_nl}*)
4339 case $ac_var in #(
4340 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4341 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4342 esac
4343 case $ac_var in #(
4344 _ | IFS | as_nl) ;; #(
4345 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4346 *) { eval $ac_var=; unset $ac_var;} ;;
4347 esac ;;
4348 esac
4349 done
4351 (set) 2>&1 |
4352 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4353 *${as_nl}ac_space=\ *)
4354 # `set' does not quote correctly, so add quotes: double-quote
4355 # substitution turns \\\\ into \\, and sed turns \\ into \.
4356 sed -n \
4357 "s/'/'\\\\''/g;
4358 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4359 ;; #(
4361 # `set' quotes correctly as required by POSIX, so do not add quotes.
4362 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4364 esac |
4365 sort
4367 sed '
4368 /^ac_cv_env_/b end
4369 t clear
4370 :clear
4371 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4372 t end
4373 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4374 :end' >>confcache
4375 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4376 if test -w "$cache_file"; then
4377 if test "x$cache_file" != "x/dev/null"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4379 $as_echo "$as_me: updating cache $cache_file" >&6;}
4380 if test ! -f "$cache_file" || test -h "$cache_file"; then
4381 cat confcache >"$cache_file"
4382 else
4383 case $cache_file in #(
4384 */* | ?:*)
4385 mv -f confcache "$cache_file"$$ &&
4386 mv -f "$cache_file"$$ "$cache_file" ;; #(
4388 mv -f confcache "$cache_file" ;;
4389 esac
4392 else
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4394 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4397 rm -f confcache
4399 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4400 # Let make expand exec_prefix.
4401 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4403 # Transform confdefs.h into DEFS.
4404 # Protect against shell expansion while executing Makefile rules.
4405 # Protect against Makefile macro expansion.
4407 # If the first sed substitution is executed (which looks for macros that
4408 # take arguments), then branch to the quote section. Otherwise,
4409 # look for a macro that doesn't take arguments.
4410 ac_script='
4411 :mline
4412 /\\$/{
4414 s,\\\n,,
4415 b mline
4417 t clear
4418 :clear
4419 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4420 t quote
4421 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4422 t quote
4423 b any
4424 :quote
4425 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4426 s/\[/\\&/g
4427 s/\]/\\&/g
4428 s/\$/$$/g
4430 :any
4433 s/^\n//
4434 s/\n/ /g
4438 DEFS=`sed -n "$ac_script" confdefs.h`
4441 ac_libobjs=
4442 ac_ltlibobjs=
4444 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4445 # 1. Remove the extension, and $U if already installed.
4446 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4447 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4448 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4449 # will be set to the directory where LIBOBJS objects are built.
4450 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4451 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4452 done
4453 LIBOBJS=$ac_libobjs
4455 LTLIBOBJS=$ac_ltlibobjs
4459 : "${CONFIG_STATUS=./config.status}"
4460 ac_write_fail=0
4461 ac_clean_files_save=$ac_clean_files
4462 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4464 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4465 as_write_fail=0
4466 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4467 #! $SHELL
4468 # Generated by $as_me.
4469 # Run this file to recreate the current configuration.
4470 # Compiler output produced by configure, useful for debugging
4471 # configure, is in config.log if it exists.
4473 debug=false
4474 ac_cs_recheck=false
4475 ac_cs_silent=false
4477 SHELL=\${CONFIG_SHELL-$SHELL}
4478 export SHELL
4479 _ASEOF
4480 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4481 ## -------------------- ##
4482 ## M4sh Initialization. ##
4483 ## -------------------- ##
4485 # Be more Bourne compatible
4486 DUALCASE=1; export DUALCASE # for MKS sh
4487 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4488 emulate sh
4489 NULLCMD=:
4490 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4491 # is contrary to our usage. Disable this feature.
4492 alias -g '${1+"$@"}'='"$@"'
4493 setopt NO_GLOB_SUBST
4494 else
4495 case `(set -o) 2>/dev/null` in #(
4496 *posix*) :
4497 set -o posix ;; #(
4498 *) :
4500 esac
4504 as_nl='
4506 export as_nl
4507 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4508 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4509 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4510 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4511 # Prefer a ksh shell builtin over an external printf program on Solaris,
4512 # but without wasting forks for bash or zsh.
4513 if test -z "$BASH_VERSION$ZSH_VERSION" \
4514 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4515 as_echo='print -r --'
4516 as_echo_n='print -rn --'
4517 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4518 as_echo='printf %s\n'
4519 as_echo_n='printf %s'
4520 else
4521 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4522 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4523 as_echo_n='/usr/ucb/echo -n'
4524 else
4525 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4526 as_echo_n_body='eval
4527 arg=$1;
4528 case $arg in #(
4529 *"$as_nl"*)
4530 expr "X$arg" : "X\\(.*\\)$as_nl";
4531 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4532 esac;
4533 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4535 export as_echo_n_body
4536 as_echo_n='sh -c $as_echo_n_body as_echo'
4538 export as_echo_body
4539 as_echo='sh -c $as_echo_body as_echo'
4542 # The user is always right.
4543 if test "${PATH_SEPARATOR+set}" != set; then
4544 PATH_SEPARATOR=:
4545 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4546 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4547 PATH_SEPARATOR=';'
4552 # IFS
4553 # We need space, tab and new line, in precisely that order. Quoting is
4554 # there to prevent editors from complaining about space-tab.
4555 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4556 # splitting by setting IFS to empty value.)
4557 IFS=" "" $as_nl"
4559 # Find who we are. Look in the path if we contain no directory separator.
4560 as_myself=
4561 case $0 in #((
4562 *[\\/]* ) as_myself=$0 ;;
4563 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4564 for as_dir in $PATH
4566 IFS=$as_save_IFS
4567 test -z "$as_dir" && as_dir=.
4568 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4569 done
4570 IFS=$as_save_IFS
4573 esac
4574 # We did not find ourselves, most probably we were run as `sh COMMAND'
4575 # in which case we are not to be found in the path.
4576 if test "x$as_myself" = x; then
4577 as_myself=$0
4579 if test ! -f "$as_myself"; then
4580 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4581 exit 1
4584 # Unset variables that we do not need and which cause bugs (e.g. in
4585 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4586 # suppresses any "Segmentation fault" message there. '((' could
4587 # trigger a bug in pdksh 5.2.14.
4588 for as_var in BASH_ENV ENV MAIL MAILPATH
4589 do eval test x\${$as_var+set} = xset \
4590 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4591 done
4592 PS1='$ '
4593 PS2='> '
4594 PS4='+ '
4596 # NLS nuisances.
4597 LC_ALL=C
4598 export LC_ALL
4599 LANGUAGE=C
4600 export LANGUAGE
4602 # CDPATH.
4603 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4606 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4607 # ----------------------------------------
4608 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4609 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4610 # script with STATUS, using 1 if that was 0.
4611 as_fn_error ()
4613 as_status=$1; test $as_status -eq 0 && as_status=1
4614 if test "$4"; then
4615 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4616 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4618 $as_echo "$as_me: error: $2" >&2
4619 as_fn_exit $as_status
4620 } # as_fn_error
4623 # as_fn_set_status STATUS
4624 # -----------------------
4625 # Set $? to STATUS, without forking.
4626 as_fn_set_status ()
4628 return $1
4629 } # as_fn_set_status
4631 # as_fn_exit STATUS
4632 # -----------------
4633 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4634 as_fn_exit ()
4636 set +e
4637 as_fn_set_status $1
4638 exit $1
4639 } # as_fn_exit
4641 # as_fn_unset VAR
4642 # ---------------
4643 # Portably unset VAR.
4644 as_fn_unset ()
4646 { eval $1=; unset $1;}
4648 as_unset=as_fn_unset
4649 # as_fn_append VAR VALUE
4650 # ----------------------
4651 # Append the text in VALUE to the end of the definition contained in VAR. Take
4652 # advantage of any shell optimizations that allow amortized linear growth over
4653 # repeated appends, instead of the typical quadratic growth present in naive
4654 # implementations.
4655 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4656 eval 'as_fn_append ()
4658 eval $1+=\$2
4660 else
4661 as_fn_append ()
4663 eval $1=\$$1\$2
4665 fi # as_fn_append
4667 # as_fn_arith ARG...
4668 # ------------------
4669 # Perform arithmetic evaluation on the ARGs, and store the result in the
4670 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4671 # must be portable across $(()) and expr.
4672 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4673 eval 'as_fn_arith ()
4675 as_val=$(( $* ))
4677 else
4678 as_fn_arith ()
4680 as_val=`expr "$@" || test $? -eq 1`
4682 fi # as_fn_arith
4685 if expr a : '\(a\)' >/dev/null 2>&1 &&
4686 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4687 as_expr=expr
4688 else
4689 as_expr=false
4692 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4693 as_basename=basename
4694 else
4695 as_basename=false
4698 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4699 as_dirname=dirname
4700 else
4701 as_dirname=false
4704 as_me=`$as_basename -- "$0" ||
4705 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4706 X"$0" : 'X\(//\)$' \| \
4707 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4708 $as_echo X/"$0" |
4709 sed '/^.*\/\([^/][^/]*\)\/*$/{
4710 s//\1/
4713 /^X\/\(\/\/\)$/{
4714 s//\1/
4717 /^X\/\(\/\).*/{
4718 s//\1/
4721 s/.*/./; q'`
4723 # Avoid depending upon Character Ranges.
4724 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4725 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4726 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4727 as_cr_digits='0123456789'
4728 as_cr_alnum=$as_cr_Letters$as_cr_digits
4730 ECHO_C= ECHO_N= ECHO_T=
4731 case `echo -n x` in #(((((
4732 -n*)
4733 case `echo 'xy\c'` in
4734 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4735 xy) ECHO_C='\c';;
4736 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4737 ECHO_T=' ';;
4738 esac;;
4740 ECHO_N='-n';;
4741 esac
4743 rm -f conf$$ conf$$.exe conf$$.file
4744 if test -d conf$$.dir; then
4745 rm -f conf$$.dir/conf$$.file
4746 else
4747 rm -f conf$$.dir
4748 mkdir conf$$.dir 2>/dev/null
4750 if (echo >conf$$.file) 2>/dev/null; then
4751 if ln -s conf$$.file conf$$ 2>/dev/null; then
4752 as_ln_s='ln -s'
4753 # ... but there are two gotchas:
4754 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4755 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4756 # In both cases, we have to default to `cp -pR'.
4757 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4758 as_ln_s='cp -pR'
4759 elif ln conf$$.file conf$$ 2>/dev/null; then
4760 as_ln_s=ln
4761 else
4762 as_ln_s='cp -pR'
4764 else
4765 as_ln_s='cp -pR'
4767 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4768 rmdir conf$$.dir 2>/dev/null
4771 # as_fn_mkdir_p
4772 # -------------
4773 # Create "$as_dir" as a directory, including parents if necessary.
4774 as_fn_mkdir_p ()
4777 case $as_dir in #(
4778 -*) as_dir=./$as_dir;;
4779 esac
4780 test -d "$as_dir" || eval $as_mkdir_p || {
4781 as_dirs=
4782 while :; do
4783 case $as_dir in #(
4784 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4785 *) as_qdir=$as_dir;;
4786 esac
4787 as_dirs="'$as_qdir' $as_dirs"
4788 as_dir=`$as_dirname -- "$as_dir" ||
4789 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4790 X"$as_dir" : 'X\(//\)[^/]' \| \
4791 X"$as_dir" : 'X\(//\)$' \| \
4792 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4793 $as_echo X"$as_dir" |
4794 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4795 s//\1/
4798 /^X\(\/\/\)[^/].*/{
4799 s//\1/
4802 /^X\(\/\/\)$/{
4803 s//\1/
4806 /^X\(\/\).*/{
4807 s//\1/
4810 s/.*/./; q'`
4811 test -d "$as_dir" && break
4812 done
4813 test -z "$as_dirs" || eval "mkdir $as_dirs"
4814 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4817 } # as_fn_mkdir_p
4818 if mkdir -p . 2>/dev/null; then
4819 as_mkdir_p='mkdir -p "$as_dir"'
4820 else
4821 test -d ./-p && rmdir ./-p
4822 as_mkdir_p=false
4826 # as_fn_executable_p FILE
4827 # -----------------------
4828 # Test if FILE is an executable regular file.
4829 as_fn_executable_p ()
4831 test -f "$1" && test -x "$1"
4832 } # as_fn_executable_p
4833 as_test_x='test -x'
4834 as_executable_p=as_fn_executable_p
4836 # Sed expression to map a string onto a valid CPP name.
4837 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4839 # Sed expression to map a string onto a valid variable name.
4840 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4843 exec 6>&1
4844 ## ----------------------------------- ##
4845 ## Main body of $CONFIG_STATUS script. ##
4846 ## ----------------------------------- ##
4847 _ASEOF
4848 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4851 # Save the log message, to keep $0 and so on meaningful, and to
4852 # report actual input values of CONFIG_FILES etc. instead of their
4853 # values after options handling.
4854 ac_log="
4855 This file was extended by $as_me, which was
4856 generated by GNU Autoconf 2.69. Invocation command line was
4858 CONFIG_FILES = $CONFIG_FILES
4859 CONFIG_HEADERS = $CONFIG_HEADERS
4860 CONFIG_LINKS = $CONFIG_LINKS
4861 CONFIG_COMMANDS = $CONFIG_COMMANDS
4862 $ $0 $@
4864 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4867 _ACEOF
4869 case $ac_config_files in *"
4870 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4871 esac
4875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4876 # Files that config.status was made for.
4877 config_files="$ac_config_files"
4879 _ACEOF
4881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4882 ac_cs_usage="\
4883 \`$as_me' instantiates files and other configuration actions
4884 from templates according to the current configuration. Unless the files
4885 and actions are specified as TAGs, all are instantiated by default.
4887 Usage: $0 [OPTION]... [TAG]...
4889 -h, --help print this help, then exit
4890 -V, --version print version number and configuration settings, then exit
4891 --config print configuration, then exit
4892 -q, --quiet, --silent
4893 do not print progress messages
4894 -d, --debug don't remove temporary files
4895 --recheck update $as_me by reconfiguring in the same conditions
4896 --file=FILE[:TEMPLATE]
4897 instantiate the configuration file FILE
4899 Configuration files:
4900 $config_files
4902 Report bugs to the package provider."
4904 _ACEOF
4905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4906 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4907 ac_cs_version="\\
4908 config.status
4909 configured by $0, generated by GNU Autoconf 2.69,
4910 with options \\"\$ac_cs_config\\"
4912 Copyright (C) 2012 Free Software Foundation, Inc.
4913 This config.status script is free software; the Free Software Foundation
4914 gives unlimited permission to copy, distribute and modify it."
4916 ac_pwd='$ac_pwd'
4917 srcdir='$srcdir'
4918 test -n "\$AWK" || AWK=awk
4919 _ACEOF
4921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4922 # The default lists apply if the user does not specify any file.
4923 ac_need_defaults=:
4924 while test $# != 0
4926 case $1 in
4927 --*=?*)
4928 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4929 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4930 ac_shift=:
4932 --*=)
4933 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4934 ac_optarg=
4935 ac_shift=:
4938 ac_option=$1
4939 ac_optarg=$2
4940 ac_shift=shift
4942 esac
4944 case $ac_option in
4945 # Handling of the options.
4946 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4947 ac_cs_recheck=: ;;
4948 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4949 $as_echo "$ac_cs_version"; exit ;;
4950 --config | --confi | --conf | --con | --co | --c )
4951 $as_echo "$ac_cs_config"; exit ;;
4952 --debug | --debu | --deb | --de | --d | -d )
4953 debug=: ;;
4954 --file | --fil | --fi | --f )
4955 $ac_shift
4956 case $ac_optarg in
4957 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4958 '') as_fn_error $? "missing file argument" ;;
4959 esac
4960 as_fn_append CONFIG_FILES " '$ac_optarg'"
4961 ac_need_defaults=false;;
4962 --he | --h | --help | --hel | -h )
4963 $as_echo "$ac_cs_usage"; exit ;;
4964 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4965 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4966 ac_cs_silent=: ;;
4968 # This is an error.
4969 -*) as_fn_error $? "unrecognized option: \`$1'
4970 Try \`$0 --help' for more information." ;;
4972 *) as_fn_append ac_config_targets " $1"
4973 ac_need_defaults=false ;;
4975 esac
4976 shift
4977 done
4979 ac_configure_extra_args=
4981 if $ac_cs_silent; then
4982 exec 6>/dev/null
4983 ac_configure_extra_args="$ac_configure_extra_args --silent"
4986 _ACEOF
4987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4988 if \$ac_cs_recheck; then
4989 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4990 shift
4991 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4992 CONFIG_SHELL='$SHELL'
4993 export CONFIG_SHELL
4994 exec "\$@"
4997 _ACEOF
4998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4999 exec 5>>config.log
5001 echo
5002 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5003 ## Running $as_me. ##
5004 _ASBOX
5005 $as_echo "$ac_log"
5006 } >&5
5008 _ACEOF
5009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5010 _ACEOF
5012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5014 # Handling of arguments.
5015 for ac_config_target in $ac_config_targets
5017 case $ac_config_target in
5018 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5020 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5021 esac
5022 done
5025 # If the user did not use the arguments to specify the items to instantiate,
5026 # then the envvar interface is used. Set only those that are not.
5027 # We use the long form for the default assignment because of an extremely
5028 # bizarre bug on SunOS 4.1.3.
5029 if $ac_need_defaults; then
5030 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5033 # Have a temporary directory for convenience. Make it in the build tree
5034 # simply because there is no reason against having it here, and in addition,
5035 # creating and moving files from /tmp can sometimes cause problems.
5036 # Hook for its removal unless debugging.
5037 # Note that there is a small window in which the directory will not be cleaned:
5038 # after its creation but before its name has been assigned to `$tmp'.
5039 $debug ||
5041 tmp= ac_tmp=
5042 trap 'exit_status=$?
5043 : "${ac_tmp:=$tmp}"
5044 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5046 trap 'as_fn_exit 1' 1 2 13 15
5048 # Create a (secure) tmp directory for tmp files.
5051 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5052 test -d "$tmp"
5053 } ||
5055 tmp=./conf$$-$RANDOM
5056 (umask 077 && mkdir "$tmp")
5057 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5058 ac_tmp=$tmp
5060 # Set up the scripts for CONFIG_FILES section.
5061 # No need to generate them if there are no CONFIG_FILES.
5062 # This happens for instance with `./config.status config.h'.
5063 if test -n "$CONFIG_FILES"; then
5066 ac_cr=`echo X | tr X '\015'`
5067 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5068 # But we know of no other shell where ac_cr would be empty at this
5069 # point, so we can use a bashism as a fallback.
5070 if test "x$ac_cr" = x; then
5071 eval ac_cr=\$\'\\r\'
5073 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5074 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5075 ac_cs_awk_cr='\\r'
5076 else
5077 ac_cs_awk_cr=$ac_cr
5080 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5081 _ACEOF
5085 echo "cat >conf$$subs.awk <<_ACEOF" &&
5086 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5087 echo "_ACEOF"
5088 } >conf$$subs.sh ||
5089 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5090 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5091 ac_delim='%!_!# '
5092 for ac_last_try in false false false false false :; do
5093 . ./conf$$subs.sh ||
5094 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5096 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5097 if test $ac_delim_n = $ac_delim_num; then
5098 break
5099 elif $ac_last_try; then
5100 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5101 else
5102 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5104 done
5105 rm -f conf$$subs.sh
5107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5108 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5109 _ACEOF
5110 sed -n '
5112 s/^/S["/; s/!.*/"]=/
5115 s/^[^!]*!//
5116 :repl
5117 t repl
5118 s/'"$ac_delim"'$//
5119 t delim
5122 s/\(.\{148\}\)..*/\1/
5123 t more1
5124 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5127 b repl
5128 :more1
5129 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5132 s/.\{148\}//
5133 t nl
5134 :delim
5136 s/\(.\{148\}\)..*/\1/
5137 t more2
5138 s/["\\]/\\&/g; s/^/"/; s/$/"/
5141 :more2
5142 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5145 s/.\{148\}//
5146 t delim
5147 ' <conf$$subs.awk | sed '
5148 /^[^""]/{
5150 s/\n//
5152 ' >>$CONFIG_STATUS || ac_write_fail=1
5153 rm -f conf$$subs.awk
5154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5155 _ACAWK
5156 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5157 for (key in S) S_is_set[key] = 1
5158 FS = "\a"
5162 line = $ 0
5163 nfields = split(line, field, "@")
5164 substed = 0
5165 len = length(field[1])
5166 for (i = 2; i < nfields; i++) {
5167 key = field[i]
5168 keylen = length(key)
5169 if (S_is_set[key]) {
5170 value = S[key]
5171 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5172 len += length(value) + length(field[++i])
5173 substed = 1
5174 } else
5175 len += 1 + keylen
5178 print line
5181 _ACAWK
5182 _ACEOF
5183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5184 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5185 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5186 else
5188 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5189 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5190 _ACEOF
5192 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5193 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5194 # trailing colons and then remove the whole line if VPATH becomes empty
5195 # (actually we leave an empty line to preserve line numbers).
5196 if test "x$srcdir" = x.; then
5197 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5199 s///
5200 s/^/:/
5201 s/[ ]*$/:/
5202 s/:\$(srcdir):/:/g
5203 s/:\${srcdir}:/:/g
5204 s/:@srcdir@:/:/g
5205 s/^:*//
5206 s/:*$//
5208 s/\(=[ ]*\).*/\1/
5210 s/\n//
5211 s/^[^=]*=[ ]*$//
5215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5216 fi # test -n "$CONFIG_FILES"
5219 eval set X " :F $CONFIG_FILES "
5220 shift
5221 for ac_tag
5223 case $ac_tag in
5224 :[FHLC]) ac_mode=$ac_tag; continue;;
5225 esac
5226 case $ac_mode$ac_tag in
5227 :[FHL]*:*);;
5228 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5229 :[FH]-) ac_tag=-:-;;
5230 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5231 esac
5232 ac_save_IFS=$IFS
5233 IFS=:
5234 set x $ac_tag
5235 IFS=$ac_save_IFS
5236 shift
5237 ac_file=$1
5238 shift
5240 case $ac_mode in
5241 :L) ac_source=$1;;
5242 :[FH])
5243 ac_file_inputs=
5244 for ac_f
5246 case $ac_f in
5247 -) ac_f="$ac_tmp/stdin";;
5248 *) # Look for the file first in the build tree, then in the source tree
5249 # (if the path is not absolute). The absolute path cannot be DOS-style,
5250 # because $ac_f cannot contain `:'.
5251 test -f "$ac_f" ||
5252 case $ac_f in
5253 [\\/$]*) false;;
5254 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5255 esac ||
5256 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5257 esac
5258 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5259 as_fn_append ac_file_inputs " '$ac_f'"
5260 done
5262 # Let's still pretend it is `configure' which instantiates (i.e., don't
5263 # use $as_me), people would be surprised to read:
5264 # /* config.h. Generated by config.status. */
5265 configure_input='Generated from '`
5266 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5267 `' by configure.'
5268 if test x"$ac_file" != x-; then
5269 configure_input="$ac_file. $configure_input"
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5271 $as_echo "$as_me: creating $ac_file" >&6;}
5273 # Neutralize special characters interpreted by sed in replacement strings.
5274 case $configure_input in #(
5275 *\&* | *\|* | *\\* )
5276 ac_sed_conf_input=`$as_echo "$configure_input" |
5277 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5278 *) ac_sed_conf_input=$configure_input;;
5279 esac
5281 case $ac_tag in
5282 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5283 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5284 esac
5286 esac
5288 ac_dir=`$as_dirname -- "$ac_file" ||
5289 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5290 X"$ac_file" : 'X\(//\)[^/]' \| \
5291 X"$ac_file" : 'X\(//\)$' \| \
5292 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5293 $as_echo X"$ac_file" |
5294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5295 s//\1/
5298 /^X\(\/\/\)[^/].*/{
5299 s//\1/
5302 /^X\(\/\/\)$/{
5303 s//\1/
5306 /^X\(\/\).*/{
5307 s//\1/
5310 s/.*/./; q'`
5311 as_dir="$ac_dir"; as_fn_mkdir_p
5312 ac_builddir=.
5314 case "$ac_dir" in
5315 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5317 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5318 # A ".." for each directory in $ac_dir_suffix.
5319 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5320 case $ac_top_builddir_sub in
5321 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5322 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5323 esac ;;
5324 esac
5325 ac_abs_top_builddir=$ac_pwd
5326 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5327 # for backward compatibility:
5328 ac_top_builddir=$ac_top_build_prefix
5330 case $srcdir in
5331 .) # We are building in place.
5332 ac_srcdir=.
5333 ac_top_srcdir=$ac_top_builddir_sub
5334 ac_abs_top_srcdir=$ac_pwd ;;
5335 [\\/]* | ?:[\\/]* ) # Absolute name.
5336 ac_srcdir=$srcdir$ac_dir_suffix;
5337 ac_top_srcdir=$srcdir
5338 ac_abs_top_srcdir=$srcdir ;;
5339 *) # Relative name.
5340 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5341 ac_top_srcdir=$ac_top_build_prefix$srcdir
5342 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5343 esac
5344 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5347 case $ac_mode in
5350 # CONFIG_FILE
5353 _ACEOF
5355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5356 # If the template does not know about datarootdir, expand it.
5357 # FIXME: This hack should be removed a few years after 2.60.
5358 ac_datarootdir_hack=; ac_datarootdir_seen=
5359 ac_sed_dataroot='
5360 /datarootdir/ {
5364 /@datadir@/p
5365 /@docdir@/p
5366 /@infodir@/p
5367 /@localedir@/p
5368 /@mandir@/p'
5369 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5370 *datarootdir*) ac_datarootdir_seen=yes;;
5371 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5373 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5374 _ACEOF
5375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5376 ac_datarootdir_hack='
5377 s&@datadir@&$datadir&g
5378 s&@docdir@&$docdir&g
5379 s&@infodir@&$infodir&g
5380 s&@localedir@&$localedir&g
5381 s&@mandir@&$mandir&g
5382 s&\\\${datarootdir}&$datarootdir&g' ;;
5383 esac
5384 _ACEOF
5386 # Neutralize VPATH when `$srcdir' = `.'.
5387 # Shell code in configure.ac might set extrasub.
5388 # FIXME: do we really want to maintain this feature?
5389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5390 ac_sed_extra="$ac_vpsub
5391 $extrasub
5392 _ACEOF
5393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5395 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5396 s|@configure_input@|$ac_sed_conf_input|;t t
5397 s&@top_builddir@&$ac_top_builddir_sub&;t t
5398 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5399 s&@srcdir@&$ac_srcdir&;t t
5400 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5401 s&@top_srcdir@&$ac_top_srcdir&;t t
5402 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5403 s&@builddir@&$ac_builddir&;t t
5404 s&@abs_builddir@&$ac_abs_builddir&;t t
5405 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5406 $ac_datarootdir_hack
5408 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5409 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5411 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5412 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5413 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5414 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5416 which seems to be undefined. Please make sure it is defined" >&5
5417 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5418 which seems to be undefined. Please make sure it is defined" >&2;}
5420 rm -f "$ac_tmp/stdin"
5421 case $ac_file in
5422 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5423 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5424 esac \
5425 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5430 esac
5432 done # for ac_tag
5435 as_fn_exit 0
5436 _ACEOF
5437 ac_clean_files=$ac_clean_files_save
5439 test $ac_write_fail = 0 ||
5440 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5443 # configure is writing to config.log, and then calls config.status.
5444 # config.status does its own redirection, appending to config.log.
5445 # Unfortunately, on DOS this fails, as config.log is still kept open
5446 # by configure, so config.status won't be able to write to it; its
5447 # output is simply discarded. So we exec the FD to /dev/null,
5448 # effectively closing config.log, so it can be properly (re)opened and
5449 # appended to by config.status. When coming back to configure, we
5450 # need to make the FD available again.
5451 if test "$no_create" != yes; then
5452 ac_cs_success=:
5453 ac_config_status_args=
5454 test "$silent" = yes &&
5455 ac_config_status_args="$ac_config_status_args --quiet"
5456 exec 5>/dev/null
5457 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5458 exec 5>>config.log
5459 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5460 # would make configure fail if this is the last instruction.
5461 $ac_cs_success || as_fn_exit 1
5463 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5465 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}