bump version
[AROS.git] / config / features
blob7dcf621b9b7977d2c21e323dfd5506d8f41fcc90
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
271 exit 1
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
289 { eval $1=; unset $1;}
291 as_unset=as_fn_unset
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
298 return $1
299 } # as_fn_set_status
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
342 /^X\(\/\/\)$/{
343 s//\1/
346 /^X\(\/\).*/{
347 s//\1/
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
357 } # as_fn_mkdir_p
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
375 eval $1+=\$2
377 else
378 as_fn_append ()
380 eval $1=\$$1\$2
382 fi # as_fn_append
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
392 as_val=$(( $* ))
394 else
395 as_fn_arith ()
397 as_val=`expr "$@" || test $? -eq 1`
399 fi # as_fn_arith
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
446 /^X\/\(\/\/\)$/{
447 s//\1/
450 /^X\/\(\/\).*/{
451 s//\1/
454 s/.*/./; q'`
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
477 :lineno
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
509 ECHO_N='-n';;
510 esac
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
533 else
534 as_ln_s='cp -pR'
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
559 # Name of the host.
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 # Initializations.
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
576 # Identity of this package.
577 PACKAGE_NAME=
578 PACKAGE_TARNAME=
579 PACKAGE_VERSION=
580 PACKAGE_STRING=
581 PACKAGE_BUGREPORT=
582 PACKAGE_URL=
584 ac_unique_file="../mmakefile"
585 ac_subst_vars='LTLIBOBJS
586 LIBOBJS
587 aros_nowarnflags_tautological_compare
588 aros_warnflags_tautological_compare
589 aros_nowarnflags_lto_type_mismatch
590 aros_warnflags_lto_type_mismatch
591 aros_nowarnflags_format_zero_length
592 aros_warnflags_format_zero_length
593 aros_nowarnflags_return_type
594 aros_warnflags_return_type
595 aros_nowarnflags_sizeof_pointer_memaccess
596 aros_warnflags_sizeof_pointer_memaccess
597 aros_nowarnflags_volatile_register_var
598 aros_warnflags_volatile_register_var
599 aros_nowarnflags_narrowing
600 aros_warnflags_narrowing
601 aros_nowarnflags_conversion_null
602 aros_warnflags_conversion_null
603 aros_nowarnflags_missing_braces
604 aros_warnflags_missing_braces
605 aros_nowarnflags_unused_local_typedefs
606 aros_warnflags_unused_local_typedefs
607 aros_nowarnflags_overflow
608 aros_warnflags_overflow
609 aros_nowarnflags_attributes
610 aros_warnflags_attributes
611 aros_nowarnflags_sign_compare
612 aros_warnflags_sign_compare
613 aros_nowarnflags_deprecated_declarations
614 aros_warnflags_deprecated_declarations
615 aros_nowarnflags_frame_address
616 aros_warnflags_frame_address
617 aros_nowarnflags_shift_overflow
618 aros_warnflags_shift_overflow
619 aros_nowarnflags_pointer_sign
620 aros_warnflags_pointer_sign
621 aros_nowarnflags_logical_not_parentheses
622 aros_warnflags_logical_not_parentheses
623 aros_nowarnflags_bool_compare
624 aros_warnflags_bool_compare
625 aros_nowarnflags_incompatible_pointer_types
626 aros_warnflags_incompatible_pointer_types
627 aros_nowarnflags_comment
628 aros_warnflags_comment
629 aros_nowarnflags_write_strings
630 aros_warnflags_write_strings
631 aros_nowarnflags_unused_const_variable
632 aros_warnflags_unused_const_variable
633 aros_nowarnflags_pointer_to_int_cast
634 aros_warnflags_pointer_to_int_cast
635 aros_nowarnflags_int_to_pointer_cast
636 aros_warnflags_int_to_pointer_cast
637 aros_nowarnflags_int_conversion
638 aros_warnflags_int_conversion
639 aros_nowarnflags_discarded_array_qualifiers
640 aros_warnflags_discarded_array_qualifiers
641 aros_nowarnflags_unknown_pragmas
642 aros_warnflags_unknown_pragmas
643 aros_nowarnflags_sequence_point
644 aros_warnflags_sequence_point
645 aros_nowarnflags_discarded_qualifiers
646 aros_warnflags_discarded_qualifiers
647 aros_nowarnflags_switch
648 aros_warnflags_switch
649 aros_nowarnflags_cpp
650 aros_warnflags_cpp
651 aros_nowarnflags_aggressive_loop_optimizations
652 aros_warnflags_aggressive_loop_optimizations
653 aros_nowarnflags_implicit_int
654 aros_warnflags_implicit_int
655 aros_nowarnflags_format_contains_nul
656 aros_warnflags_format_contains_nul
657 aros_nowarnflags_endif_labels
658 aros_warnflags_endif_labels
659 aros_nowarnflags_char_subscripts
660 aros_warnflags_char_subscripts
661 aros_nowarnflags_parentheses
662 aros_warnflags_parentheses
663 aros_nowarnflags_format
664 aros_warnflags_format
665 aros_nowarnflags_implicit_function_declaration
666 aros_warnflags_implicit_function_declaration
667 aros_nowarnflags_maybe_uninitialized
668 aros_warnflags_maybe_uninitialized
669 aros_nowarnflags_uninitialized
670 aros_warnflags_uninitialized
671 aros_nowarnflags_unused_parameter
672 aros_warnflags_unused_parameter
673 aros_nowarnflags_unused_function
674 aros_warnflags_unused_function
675 aros_nowarnflags_unused_variable
676 aros_warnflags_unused_variable
677 aros_nowarnflags_unused_value
678 aros_warnflags_unused_value
679 aros_nowarnflags_unused_label
680 aros_warnflags_unused_label
681 aros_nowarnflags_unused
682 aros_warnflags_unused
683 aros_nowarnflags_nonnull_compare
684 aros_warnflags_nonnull_compare
685 aros_nowarnflags_misleading_indentation
686 aros_warnflags_misleading_indentation
687 aros_nowarnflags_format_security
688 aros_warnflags_format_security
689 aros_nowarnflags_strict_overflow
690 aros_warnflags_strict_overflow
691 aros_nowarnflags_strict_prototypes
692 aros_warnflags_strict_prototypes
693 aros_nowarnflags_enum_compare
694 aros_warnflags_enum_compare
695 aros_nowarnflags_array_bounds
696 aros_warnflags_array_bounds
697 aros_nowarnflags_strict_aliasing
698 aros_warnflags_strict_aliasing
699 aros_nowarnflags_unused_but_set_variable
700 aros_warnflags_unused_but_set_variable
701 aros_nowarnflags_unknown_warning_option
702 aros_warnflags_unknown_warning_option
703 aros_nowarnflags_unused_command_line_argument
704 aros_warnflags_unused_command_line_argument
705 aros_nowarnflags_error
706 aros_warnflags_error
707 aros_cflags_no_red_zone
708 aros_cflags_iquote_end
709 aros_cflags_iquote
710 aros_cflags_nostrictaliasing
711 aros_cflags_strictaliasing
712 aros_cflags_unroll_loops
713 aros_cflags_peel_loops
714 aros_cflags_loop_strip_mine
715 aros_cflags_loop_interchange
716 aros_cflags_loop_block
717 aros_cflags_whole_program
718 aros_cflags_nolto
719 aros_cflags_lto
720 aros_cflags_no_builtin_floor
721 aros_cflags_fast_math
722 aros_cflags_permissive
723 aros_cflags_exceptions
724 OBJEXT
725 EXEEXT
726 ac_ct_CC
727 CPPFLAGS
728 LDFLAGS
729 CFLAGS
731 target_alias
732 host_alias
733 build_alias
734 LIBS
735 ECHO_T
736 ECHO_N
737 ECHO_C
738 DEFS
739 mandir
740 localedir
741 libdir
742 psdir
743 pdfdir
744 dvidir
745 htmldir
746 infodir
747 docdir
748 oldincludedir
749 includedir
750 localstatedir
751 sharedstatedir
752 sysconfdir
753 datadir
754 datarootdir
755 libexecdir
756 sbindir
757 bindir
758 program_transform_name
759 prefix
760 exec_prefix
761 PACKAGE_URL
762 PACKAGE_BUGREPORT
763 PACKAGE_STRING
764 PACKAGE_VERSION
765 PACKAGE_TARNAME
766 PACKAGE_NAME
767 PATH_SEPARATOR
768 SHELL'
769 ac_subst_files=''
770 ac_user_opts='
771 enable_option_checking
772 with_config_dir
774 ac_precious_vars='build_alias
775 host_alias
776 target_alias
778 CFLAGS
779 LDFLAGS
780 LIBS
781 CPPFLAGS'
784 # Initialize some variables set by options.
785 ac_init_help=
786 ac_init_version=false
787 ac_unrecognized_opts=
788 ac_unrecognized_sep=
789 # The variables have the same names as the options, with
790 # dashes changed to underlines.
791 cache_file=/dev/null
792 exec_prefix=NONE
793 no_create=
794 no_recursion=
795 prefix=NONE
796 program_prefix=NONE
797 program_suffix=NONE
798 program_transform_name=s,x,x,
799 silent=
800 site=
801 srcdir=
802 verbose=
803 x_includes=NONE
804 x_libraries=NONE
806 # Installation directory options.
807 # These are left unexpanded so users can "make install exec_prefix=/foo"
808 # and all the variables that are supposed to be based on exec_prefix
809 # by default will actually change.
810 # Use braces instead of parens because sh, perl, etc. also accept them.
811 # (The list follows the same order as the GNU Coding Standards.)
812 bindir='${exec_prefix}/bin'
813 sbindir='${exec_prefix}/sbin'
814 libexecdir='${exec_prefix}/libexec'
815 datarootdir='${prefix}/share'
816 datadir='${datarootdir}'
817 sysconfdir='${prefix}/etc'
818 sharedstatedir='${prefix}/com'
819 localstatedir='${prefix}/var'
820 includedir='${prefix}/include'
821 oldincludedir='/usr/include'
822 docdir='${datarootdir}/doc/${PACKAGE}'
823 infodir='${datarootdir}/info'
824 htmldir='${docdir}'
825 dvidir='${docdir}'
826 pdfdir='${docdir}'
827 psdir='${docdir}'
828 libdir='${exec_prefix}/lib'
829 localedir='${datarootdir}/locale'
830 mandir='${datarootdir}/man'
832 ac_prev=
833 ac_dashdash=
834 for ac_option
836 # If the previous option needs an argument, assign it.
837 if test -n "$ac_prev"; then
838 eval $ac_prev=\$ac_option
839 ac_prev=
840 continue
843 case $ac_option in
844 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
845 *=) ac_optarg= ;;
846 *) ac_optarg=yes ;;
847 esac
849 # Accept the important Cygnus configure options, so we can diagnose typos.
851 case $ac_dashdash$ac_option in
853 ac_dashdash=yes ;;
855 -bindir | --bindir | --bindi | --bind | --bin | --bi)
856 ac_prev=bindir ;;
857 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
858 bindir=$ac_optarg ;;
860 -build | --build | --buil | --bui | --bu)
861 ac_prev=build_alias ;;
862 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
863 build_alias=$ac_optarg ;;
865 -cache-file | --cache-file | --cache-fil | --cache-fi \
866 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
867 ac_prev=cache_file ;;
868 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
869 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
870 cache_file=$ac_optarg ;;
872 --config-cache | -C)
873 cache_file=config.cache ;;
875 -datadir | --datadir | --datadi | --datad)
876 ac_prev=datadir ;;
877 -datadir=* | --datadir=* | --datadi=* | --datad=*)
878 datadir=$ac_optarg ;;
880 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
881 | --dataroo | --dataro | --datar)
882 ac_prev=datarootdir ;;
883 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
884 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
885 datarootdir=$ac_optarg ;;
887 -disable-* | --disable-*)
888 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
889 # Reject names that are not valid shell variable names.
890 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
891 as_fn_error $? "invalid feature name: $ac_useropt"
892 ac_useropt_orig=$ac_useropt
893 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
894 case $ac_user_opts in
896 "enable_$ac_useropt"
897 "*) ;;
898 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
899 ac_unrecognized_sep=', ';;
900 esac
901 eval enable_$ac_useropt=no ;;
903 -docdir | --docdir | --docdi | --doc | --do)
904 ac_prev=docdir ;;
905 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
906 docdir=$ac_optarg ;;
908 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
909 ac_prev=dvidir ;;
910 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
911 dvidir=$ac_optarg ;;
913 -enable-* | --enable-*)
914 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
917 as_fn_error $? "invalid feature name: $ac_useropt"
918 ac_useropt_orig=$ac_useropt
919 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920 case $ac_user_opts in
922 "enable_$ac_useropt"
923 "*) ;;
924 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
925 ac_unrecognized_sep=', ';;
926 esac
927 eval enable_$ac_useropt=\$ac_optarg ;;
929 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
930 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
931 | --exec | --exe | --ex)
932 ac_prev=exec_prefix ;;
933 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
934 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
935 | --exec=* | --exe=* | --ex=*)
936 exec_prefix=$ac_optarg ;;
938 -gas | --gas | --ga | --g)
939 # Obsolete; use --with-gas.
940 with_gas=yes ;;
942 -help | --help | --hel | --he | -h)
943 ac_init_help=long ;;
944 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
945 ac_init_help=recursive ;;
946 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
947 ac_init_help=short ;;
949 -host | --host | --hos | --ho)
950 ac_prev=host_alias ;;
951 -host=* | --host=* | --hos=* | --ho=*)
952 host_alias=$ac_optarg ;;
954 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
955 ac_prev=htmldir ;;
956 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
957 | --ht=*)
958 htmldir=$ac_optarg ;;
960 -includedir | --includedir | --includedi | --included | --include \
961 | --includ | --inclu | --incl | --inc)
962 ac_prev=includedir ;;
963 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
964 | --includ=* | --inclu=* | --incl=* | --inc=*)
965 includedir=$ac_optarg ;;
967 -infodir | --infodir | --infodi | --infod | --info | --inf)
968 ac_prev=infodir ;;
969 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
970 infodir=$ac_optarg ;;
972 -libdir | --libdir | --libdi | --libd)
973 ac_prev=libdir ;;
974 -libdir=* | --libdir=* | --libdi=* | --libd=*)
975 libdir=$ac_optarg ;;
977 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
978 | --libexe | --libex | --libe)
979 ac_prev=libexecdir ;;
980 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
981 | --libexe=* | --libex=* | --libe=*)
982 libexecdir=$ac_optarg ;;
984 -localedir | --localedir | --localedi | --localed | --locale)
985 ac_prev=localedir ;;
986 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
987 localedir=$ac_optarg ;;
989 -localstatedir | --localstatedir | --localstatedi | --localstated \
990 | --localstate | --localstat | --localsta | --localst | --locals)
991 ac_prev=localstatedir ;;
992 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
993 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
994 localstatedir=$ac_optarg ;;
996 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
997 ac_prev=mandir ;;
998 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
999 mandir=$ac_optarg ;;
1001 -nfp | --nfp | --nf)
1002 # Obsolete; use --without-fp.
1003 with_fp=no ;;
1005 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1006 | --no-cr | --no-c | -n)
1007 no_create=yes ;;
1009 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1010 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1011 no_recursion=yes ;;
1013 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1014 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1015 | --oldin | --oldi | --old | --ol | --o)
1016 ac_prev=oldincludedir ;;
1017 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1018 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1019 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1020 oldincludedir=$ac_optarg ;;
1022 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1023 ac_prev=prefix ;;
1024 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1025 prefix=$ac_optarg ;;
1027 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1028 | --program-pre | --program-pr | --program-p)
1029 ac_prev=program_prefix ;;
1030 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1031 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1032 program_prefix=$ac_optarg ;;
1034 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1035 | --program-suf | --program-su | --program-s)
1036 ac_prev=program_suffix ;;
1037 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1038 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1039 program_suffix=$ac_optarg ;;
1041 -program-transform-name | --program-transform-name \
1042 | --program-transform-nam | --program-transform-na \
1043 | --program-transform-n | --program-transform- \
1044 | --program-transform | --program-transfor \
1045 | --program-transfo | --program-transf \
1046 | --program-trans | --program-tran \
1047 | --progr-tra | --program-tr | --program-t)
1048 ac_prev=program_transform_name ;;
1049 -program-transform-name=* | --program-transform-name=* \
1050 | --program-transform-nam=* | --program-transform-na=* \
1051 | --program-transform-n=* | --program-transform-=* \
1052 | --program-transform=* | --program-transfor=* \
1053 | --program-transfo=* | --program-transf=* \
1054 | --program-trans=* | --program-tran=* \
1055 | --progr-tra=* | --program-tr=* | --program-t=*)
1056 program_transform_name=$ac_optarg ;;
1058 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1059 ac_prev=pdfdir ;;
1060 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1061 pdfdir=$ac_optarg ;;
1063 -psdir | --psdir | --psdi | --psd | --ps)
1064 ac_prev=psdir ;;
1065 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1066 psdir=$ac_optarg ;;
1068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069 | -silent | --silent | --silen | --sile | --sil)
1070 silent=yes ;;
1072 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1073 ac_prev=sbindir ;;
1074 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1075 | --sbi=* | --sb=*)
1076 sbindir=$ac_optarg ;;
1078 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1079 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1080 | --sharedst | --shareds | --shared | --share | --shar \
1081 | --sha | --sh)
1082 ac_prev=sharedstatedir ;;
1083 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1084 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1085 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1086 | --sha=* | --sh=*)
1087 sharedstatedir=$ac_optarg ;;
1089 -site | --site | --sit)
1090 ac_prev=site ;;
1091 -site=* | --site=* | --sit=*)
1092 site=$ac_optarg ;;
1094 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1095 ac_prev=srcdir ;;
1096 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1097 srcdir=$ac_optarg ;;
1099 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1100 | --syscon | --sysco | --sysc | --sys | --sy)
1101 ac_prev=sysconfdir ;;
1102 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1103 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1104 sysconfdir=$ac_optarg ;;
1106 -target | --target | --targe | --targ | --tar | --ta | --t)
1107 ac_prev=target_alias ;;
1108 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1109 target_alias=$ac_optarg ;;
1111 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1112 verbose=yes ;;
1114 -version | --version | --versio | --versi | --vers | -V)
1115 ac_init_version=: ;;
1117 -with-* | --with-*)
1118 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1121 as_fn_error $? "invalid package name: $ac_useropt"
1122 ac_useropt_orig=$ac_useropt
1123 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124 case $ac_user_opts in
1126 "with_$ac_useropt"
1127 "*) ;;
1128 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1129 ac_unrecognized_sep=', ';;
1130 esac
1131 eval with_$ac_useropt=\$ac_optarg ;;
1133 -without-* | --without-*)
1134 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1137 as_fn_error $? "invalid package name: $ac_useropt"
1138 ac_useropt_orig=$ac_useropt
1139 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 case $ac_user_opts in
1142 "with_$ac_useropt"
1143 "*) ;;
1144 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1145 ac_unrecognized_sep=', ';;
1146 esac
1147 eval with_$ac_useropt=no ;;
1149 --x)
1150 # Obsolete; use --with-x.
1151 with_x=yes ;;
1153 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1154 | --x-incl | --x-inc | --x-in | --x-i)
1155 ac_prev=x_includes ;;
1156 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1157 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1158 x_includes=$ac_optarg ;;
1160 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1161 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1162 ac_prev=x_libraries ;;
1163 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1164 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1165 x_libraries=$ac_optarg ;;
1167 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1168 Try \`$0 --help' for more information"
1171 *=*)
1172 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1173 # Reject names that are not valid shell variable names.
1174 case $ac_envvar in #(
1175 '' | [0-9]* | *[!_$as_cr_alnum]* )
1176 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1177 esac
1178 eval $ac_envvar=\$ac_optarg
1179 export $ac_envvar ;;
1182 # FIXME: should be removed in autoconf 3.0.
1183 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1184 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1185 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1186 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1189 esac
1190 done
1192 if test -n "$ac_prev"; then
1193 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1194 as_fn_error $? "missing argument to $ac_option"
1197 if test -n "$ac_unrecognized_opts"; then
1198 case $enable_option_checking in
1199 no) ;;
1200 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1201 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1202 esac
1205 # Check all directory arguments for consistency.
1206 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1207 datadir sysconfdir sharedstatedir localstatedir includedir \
1208 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1209 libdir localedir mandir
1211 eval ac_val=\$$ac_var
1212 # Remove trailing slashes.
1213 case $ac_val in
1214 */ )
1215 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1216 eval $ac_var=\$ac_val;;
1217 esac
1218 # Be sure to have absolute directory names.
1219 case $ac_val in
1220 [\\/$]* | ?:[\\/]* ) continue;;
1221 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1222 esac
1223 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1224 done
1226 # There might be people who depend on the old broken behavior: `$host'
1227 # used to hold the argument of --host etc.
1228 # FIXME: To remove some day.
1229 build=$build_alias
1230 host=$host_alias
1231 target=$target_alias
1233 # FIXME: To remove some day.
1234 if test "x$host_alias" != x; then
1235 if test "x$build_alias" = x; then
1236 cross_compiling=maybe
1237 elif test "x$build_alias" != "x$host_alias"; then
1238 cross_compiling=yes
1242 ac_tool_prefix=
1243 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1245 test "$silent" = yes && exec 6>/dev/null
1248 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1249 ac_ls_di=`ls -di .` &&
1250 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1251 as_fn_error $? "working directory cannot be determined"
1252 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1253 as_fn_error $? "pwd does not report name of working directory"
1256 # Find the source files, if location was not specified.
1257 if test -z "$srcdir"; then
1258 ac_srcdir_defaulted=yes
1259 # Try the directory containing this script, then the parent directory.
1260 ac_confdir=`$as_dirname -- "$as_myself" ||
1261 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1262 X"$as_myself" : 'X\(//\)[^/]' \| \
1263 X"$as_myself" : 'X\(//\)$' \| \
1264 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1265 $as_echo X"$as_myself" |
1266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1267 s//\1/
1270 /^X\(\/\/\)[^/].*/{
1271 s//\1/
1274 /^X\(\/\/\)$/{
1275 s//\1/
1278 /^X\(\/\).*/{
1279 s//\1/
1282 s/.*/./; q'`
1283 srcdir=$ac_confdir
1284 if test ! -r "$srcdir/$ac_unique_file"; then
1285 srcdir=..
1287 else
1288 ac_srcdir_defaulted=no
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1291 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1292 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1294 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1295 ac_abs_confdir=`(
1296 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1297 pwd)`
1298 # When building in place, set srcdir=.
1299 if test "$ac_abs_confdir" = "$ac_pwd"; then
1300 srcdir=.
1302 # Remove unnecessary trailing slashes from srcdir.
1303 # Double slashes in file names in object file debugging info
1304 # mess up M-x gdb in Emacs.
1305 case $srcdir in
1306 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1307 esac
1308 for ac_var in $ac_precious_vars; do
1309 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1310 eval ac_env_${ac_var}_value=\$${ac_var}
1311 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1312 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1313 done
1316 # Report the --help message.
1318 if test "$ac_init_help" = "long"; then
1319 # Omit some internal or obsolete options to make the list less imposing.
1320 # This message is too long to be a string in the A/UX 3.1 sh.
1321 cat <<_ACEOF
1322 \`configure' configures this package to adapt to many kinds of systems.
1324 Usage: $0 [OPTION]... [VAR=VALUE]...
1326 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1327 VAR=VALUE. See below for descriptions of some of the useful variables.
1329 Defaults for the options are specified in brackets.
1331 Configuration:
1332 -h, --help display this help and exit
1333 --help=short display options specific to this package
1334 --help=recursive display the short help of all the included packages
1335 -V, --version display version information and exit
1336 -q, --quiet, --silent do not print \`checking ...' messages
1337 --cache-file=FILE cache test results in FILE [disabled]
1338 -C, --config-cache alias for \`--cache-file=config.cache'
1339 -n, --no-create do not create output files
1340 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1342 Installation directories:
1343 --prefix=PREFIX install architecture-independent files in PREFIX
1344 [$ac_default_prefix]
1345 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1346 [PREFIX]
1348 By default, \`make install' will install all the files in
1349 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1350 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1351 for instance \`--prefix=\$HOME'.
1353 For better control, use the options below.
1355 Fine tuning of the installation directories:
1356 --bindir=DIR user executables [EPREFIX/bin]
1357 --sbindir=DIR system admin executables [EPREFIX/sbin]
1358 --libexecdir=DIR program executables [EPREFIX/libexec]
1359 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1360 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1361 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1362 --libdir=DIR object code libraries [EPREFIX/lib]
1363 --includedir=DIR C header files [PREFIX/include]
1364 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1365 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1366 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1367 --infodir=DIR info documentation [DATAROOTDIR/info]
1368 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1369 --mandir=DIR man documentation [DATAROOTDIR/man]
1370 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1371 --htmldir=DIR html documentation [DOCDIR]
1372 --dvidir=DIR dvi documentation [DOCDIR]
1373 --pdfdir=DIR pdf documentation [DOCDIR]
1374 --psdir=DIR ps documentation [DOCDIR]
1375 _ACEOF
1377 cat <<\_ACEOF
1378 _ACEOF
1381 if test -n "$ac_init_help"; then
1383 cat <<\_ACEOF
1385 Optional Packages:
1386 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1387 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1388 --with-config-dir=VERSION
1389 Location of generated target config files
1391 Some influential environment variables:
1392 CC C compiler command
1393 CFLAGS C compiler flags
1394 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1395 nonstandard directory <lib dir>
1396 LIBS libraries to pass to the linker, e.g. -l<library>
1397 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1398 you have headers in a nonstandard directory <include dir>
1400 Use these variables to override the choices made by `configure' or to help
1401 it to find libraries and programs with nonstandard names/locations.
1403 Report bugs to the package provider.
1404 _ACEOF
1405 ac_status=$?
1408 if test "$ac_init_help" = "recursive"; then
1409 # If there are subdirs, report their specific --help.
1410 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1411 test -d "$ac_dir" ||
1412 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1413 continue
1414 ac_builddir=.
1416 case "$ac_dir" in
1417 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1419 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1420 # A ".." for each directory in $ac_dir_suffix.
1421 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1422 case $ac_top_builddir_sub in
1423 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1424 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1425 esac ;;
1426 esac
1427 ac_abs_top_builddir=$ac_pwd
1428 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1429 # for backward compatibility:
1430 ac_top_builddir=$ac_top_build_prefix
1432 case $srcdir in
1433 .) # We are building in place.
1434 ac_srcdir=.
1435 ac_top_srcdir=$ac_top_builddir_sub
1436 ac_abs_top_srcdir=$ac_pwd ;;
1437 [\\/]* | ?:[\\/]* ) # Absolute name.
1438 ac_srcdir=$srcdir$ac_dir_suffix;
1439 ac_top_srcdir=$srcdir
1440 ac_abs_top_srcdir=$srcdir ;;
1441 *) # Relative name.
1442 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1443 ac_top_srcdir=$ac_top_build_prefix$srcdir
1444 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1445 esac
1446 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1448 cd "$ac_dir" || { ac_status=$?; continue; }
1449 # Check for guested configure.
1450 if test -f "$ac_srcdir/configure.gnu"; then
1451 echo &&
1452 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1453 elif test -f "$ac_srcdir/configure"; then
1454 echo &&
1455 $SHELL "$ac_srcdir/configure" --help=recursive
1456 else
1457 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1458 fi || ac_status=$?
1459 cd "$ac_pwd" || { ac_status=$?; break; }
1460 done
1463 test -n "$ac_init_help" && exit $ac_status
1464 if $ac_init_version; then
1465 cat <<\_ACEOF
1466 configure
1467 generated by GNU Autoconf 2.69
1469 Copyright (C) 2012 Free Software Foundation, Inc.
1470 This configure script is free software; the Free Software Foundation
1471 gives unlimited permission to copy, distribute and modify it.
1472 _ACEOF
1473 exit
1476 ## ------------------------ ##
1477 ## Autoconf initialization. ##
1478 ## ------------------------ ##
1480 # ac_fn_c_try_compile LINENO
1481 # --------------------------
1482 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1483 ac_fn_c_try_compile ()
1485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1486 rm -f conftest.$ac_objext
1487 if { { ac_try="$ac_compile"
1488 case "(($ac_try" in
1489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1490 *) ac_try_echo=$ac_try;;
1491 esac
1492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1493 $as_echo "$ac_try_echo"; } >&5
1494 (eval "$ac_compile") 2>conftest.err
1495 ac_status=$?
1496 if test -s conftest.err; then
1497 grep -v '^ *+' conftest.err >conftest.er1
1498 cat conftest.er1 >&5
1499 mv -f conftest.er1 conftest.err
1501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1502 test $ac_status = 0; } && {
1503 test -z "$ac_c_werror_flag" ||
1504 test ! -s conftest.err
1505 } && test -s conftest.$ac_objext; then :
1506 ac_retval=0
1507 else
1508 $as_echo "$as_me: failed program was:" >&5
1509 sed 's/^/| /' conftest.$ac_ext >&5
1511 ac_retval=1
1513 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1514 as_fn_set_status $ac_retval
1516 } # ac_fn_c_try_compile
1517 cat >config.log <<_ACEOF
1518 This file contains any messages produced by compilers while
1519 running configure, to aid debugging if configure makes a mistake.
1521 It was created by $as_me, which was
1522 generated by GNU Autoconf 2.69. Invocation command line was
1524 $ $0 $@
1526 _ACEOF
1527 exec 5>>config.log
1529 cat <<_ASUNAME
1530 ## --------- ##
1531 ## Platform. ##
1532 ## --------- ##
1534 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1535 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1536 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1537 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1538 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1540 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1541 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1543 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1544 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1545 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1546 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1547 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1548 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1549 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1551 _ASUNAME
1553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1554 for as_dir in $PATH
1556 IFS=$as_save_IFS
1557 test -z "$as_dir" && as_dir=.
1558 $as_echo "PATH: $as_dir"
1559 done
1560 IFS=$as_save_IFS
1562 } >&5
1564 cat >&5 <<_ACEOF
1567 ## ----------- ##
1568 ## Core tests. ##
1569 ## ----------- ##
1571 _ACEOF
1574 # Keep a trace of the command line.
1575 # Strip out --no-create and --no-recursion so they do not pile up.
1576 # Strip out --silent because we don't want to record it for future runs.
1577 # Also quote any args containing shell meta-characters.
1578 # Make two passes to allow for proper duplicate-argument suppression.
1579 ac_configure_args=
1580 ac_configure_args0=
1581 ac_configure_args1=
1582 ac_must_keep_next=false
1583 for ac_pass in 1 2
1585 for ac_arg
1587 case $ac_arg in
1588 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1589 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1590 | -silent | --silent | --silen | --sile | --sil)
1591 continue ;;
1592 *\'*)
1593 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1594 esac
1595 case $ac_pass in
1596 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1598 as_fn_append ac_configure_args1 " '$ac_arg'"
1599 if test $ac_must_keep_next = true; then
1600 ac_must_keep_next=false # Got value, back to normal.
1601 else
1602 case $ac_arg in
1603 *=* | --config-cache | -C | -disable-* | --disable-* \
1604 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1605 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1606 | -with-* | --with-* | -without-* | --without-* | --x)
1607 case "$ac_configure_args0 " in
1608 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1609 esac
1611 -* ) ac_must_keep_next=true ;;
1612 esac
1614 as_fn_append ac_configure_args " '$ac_arg'"
1616 esac
1617 done
1618 done
1619 { ac_configure_args0=; unset ac_configure_args0;}
1620 { ac_configure_args1=; unset ac_configure_args1;}
1622 # When interrupted or exit'd, cleanup temporary files, and complete
1623 # config.log. We remove comments because anyway the quotes in there
1624 # would cause problems or look ugly.
1625 # WARNING: Use '\'' to represent an apostrophe within the trap.
1626 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1627 trap 'exit_status=$?
1628 # Save into config.log some information that might help in debugging.
1630 echo
1632 $as_echo "## ---------------- ##
1633 ## Cache variables. ##
1634 ## ---------------- ##"
1635 echo
1636 # The following way of writing the cache mishandles newlines in values,
1638 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1639 eval ac_val=\$$ac_var
1640 case $ac_val in #(
1641 *${as_nl}*)
1642 case $ac_var in #(
1643 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1644 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1645 esac
1646 case $ac_var in #(
1647 _ | IFS | as_nl) ;; #(
1648 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1649 *) { eval $ac_var=; unset $ac_var;} ;;
1650 esac ;;
1651 esac
1652 done
1653 (set) 2>&1 |
1654 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1655 *${as_nl}ac_space=\ *)
1656 sed -n \
1657 "s/'\''/'\''\\\\'\'''\''/g;
1658 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1659 ;; #(
1661 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1663 esac |
1664 sort
1666 echo
1668 $as_echo "## ----------------- ##
1669 ## Output variables. ##
1670 ## ----------------- ##"
1671 echo
1672 for ac_var in $ac_subst_vars
1674 eval ac_val=\$$ac_var
1675 case $ac_val in
1676 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1677 esac
1678 $as_echo "$ac_var='\''$ac_val'\''"
1679 done | sort
1680 echo
1682 if test -n "$ac_subst_files"; then
1683 $as_echo "## ------------------- ##
1684 ## File substitutions. ##
1685 ## ------------------- ##"
1686 echo
1687 for ac_var in $ac_subst_files
1689 eval ac_val=\$$ac_var
1690 case $ac_val in
1691 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1692 esac
1693 $as_echo "$ac_var='\''$ac_val'\''"
1694 done | sort
1695 echo
1698 if test -s confdefs.h; then
1699 $as_echo "## ----------- ##
1700 ## confdefs.h. ##
1701 ## ----------- ##"
1702 echo
1703 cat confdefs.h
1704 echo
1706 test "$ac_signal" != 0 &&
1707 $as_echo "$as_me: caught signal $ac_signal"
1708 $as_echo "$as_me: exit $exit_status"
1709 } >&5
1710 rm -f core *.core core.conftest.* &&
1711 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1712 exit $exit_status
1714 for ac_signal in 1 2 13 15; do
1715 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1716 done
1717 ac_signal=0
1719 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1720 rm -f -r conftest* confdefs.h
1722 $as_echo "/* confdefs.h */" > confdefs.h
1724 # Predefined preprocessor variables.
1726 cat >>confdefs.h <<_ACEOF
1727 #define PACKAGE_NAME "$PACKAGE_NAME"
1728 _ACEOF
1730 cat >>confdefs.h <<_ACEOF
1731 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1732 _ACEOF
1734 cat >>confdefs.h <<_ACEOF
1735 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1736 _ACEOF
1738 cat >>confdefs.h <<_ACEOF
1739 #define PACKAGE_STRING "$PACKAGE_STRING"
1740 _ACEOF
1742 cat >>confdefs.h <<_ACEOF
1743 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1744 _ACEOF
1746 cat >>confdefs.h <<_ACEOF
1747 #define PACKAGE_URL "$PACKAGE_URL"
1748 _ACEOF
1751 # Let the site file select an alternate cache file if it wants to.
1752 # Prefer an explicitly selected file to automatically selected ones.
1753 ac_site_file1=NONE
1754 ac_site_file2=NONE
1755 if test -n "$CONFIG_SITE"; then
1756 # We do not want a PATH search for config.site.
1757 case $CONFIG_SITE in #((
1758 -*) ac_site_file1=./$CONFIG_SITE;;
1759 */*) ac_site_file1=$CONFIG_SITE;;
1760 *) ac_site_file1=./$CONFIG_SITE;;
1761 esac
1762 elif test "x$prefix" != xNONE; then
1763 ac_site_file1=$prefix/share/config.site
1764 ac_site_file2=$prefix/etc/config.site
1765 else
1766 ac_site_file1=$ac_default_prefix/share/config.site
1767 ac_site_file2=$ac_default_prefix/etc/config.site
1769 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1771 test "x$ac_site_file" = xNONE && continue
1772 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1774 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1775 sed 's/^/| /' "$ac_site_file" >&5
1776 . "$ac_site_file" \
1777 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1779 as_fn_error $? "failed to load site script $ac_site_file
1780 See \`config.log' for more details" "$LINENO" 5; }
1782 done
1784 if test -r "$cache_file"; then
1785 # Some versions of bash will fail to source /dev/null (special files
1786 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1787 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1789 $as_echo "$as_me: loading cache $cache_file" >&6;}
1790 case $cache_file in
1791 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1792 *) . "./$cache_file";;
1793 esac
1795 else
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1797 $as_echo "$as_me: creating cache $cache_file" >&6;}
1798 >$cache_file
1801 # Check that the precious variables saved in the cache have kept the same
1802 # value.
1803 ac_cache_corrupted=false
1804 for ac_var in $ac_precious_vars; do
1805 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1806 eval ac_new_set=\$ac_env_${ac_var}_set
1807 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1808 eval ac_new_val=\$ac_env_${ac_var}_value
1809 case $ac_old_set,$ac_new_set in
1810 set,)
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1812 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1813 ac_cache_corrupted=: ;;
1814 ,set)
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1816 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1817 ac_cache_corrupted=: ;;
1818 ,);;
1820 if test "x$ac_old_val" != "x$ac_new_val"; then
1821 # differences in whitespace do not lead to failure.
1822 ac_old_val_w=`echo x $ac_old_val`
1823 ac_new_val_w=`echo x $ac_new_val`
1824 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1826 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1827 ac_cache_corrupted=:
1828 else
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1830 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1831 eval $ac_var=\$ac_old_val
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1834 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1836 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1837 fi;;
1838 esac
1839 # Pass precious variables to config.status.
1840 if test "$ac_new_set" = set; then
1841 case $ac_new_val in
1842 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1843 *) ac_arg=$ac_var=$ac_new_val ;;
1844 esac
1845 case " $ac_configure_args " in
1846 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1847 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1848 esac
1850 done
1851 if $ac_cache_corrupted; then
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1855 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1856 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1858 ## -------------------- ##
1859 ## Main body of script. ##
1860 ## -------------------- ##
1862 ac_ext=c
1863 ac_cpp='$CPP $CPPFLAGS'
1864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1870 ac_aux_dir=
1871 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1872 if test -f "$ac_dir/install-sh"; then
1873 ac_aux_dir=$ac_dir
1874 ac_install_sh="$ac_aux_dir/install-sh -c"
1875 break
1876 elif test -f "$ac_dir/install.sh"; then
1877 ac_aux_dir=$ac_dir
1878 ac_install_sh="$ac_aux_dir/install.sh -c"
1879 break
1880 elif test -f "$ac_dir/shtool"; then
1881 ac_aux_dir=$ac_dir
1882 ac_install_sh="$ac_aux_dir/shtool install -c"
1883 break
1885 done
1886 if test -z "$ac_aux_dir"; then
1887 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1890 # These three variables are undocumented and unsupported,
1891 # and are intended to be withdrawn in a future Autoconf release.
1892 # They can cause serious problems if a builder's source tree is in a directory
1893 # whose full name contains unusual characters.
1894 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1895 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1896 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1900 AROS_BUILDDIR=`${PWDCMD-pwd}`
1901 AROS_BUILDDIR_UNIX=${PWD}
1903 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1904 SRCDIR=${srcpwd}
1906 NOLINKFLAGS="-nostdlib -nostartfiles"
1907 LDFLAGS=$NOLINKFLAGS
1908 # The first step is to find the binaries.
1909 ac_ext=c
1910 ac_cpp='$CPP $CPPFLAGS'
1911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1914 if test -n "$ac_tool_prefix"; then
1915 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1916 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1918 $as_echo_n "checking for $ac_word... " >&6; }
1919 if ${ac_cv_prog_CC+:} false; then :
1920 $as_echo_n "(cached) " >&6
1921 else
1922 if test -n "$CC"; then
1923 ac_cv_prog_CC="$CC" # Let the user override the test.
1924 else
1925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1926 for as_dir in $PATH
1928 IFS=$as_save_IFS
1929 test -z "$as_dir" && as_dir=.
1930 for ac_exec_ext in '' $ac_executable_extensions; do
1931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1932 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1934 break 2
1936 done
1937 done
1938 IFS=$as_save_IFS
1942 CC=$ac_cv_prog_CC
1943 if test -n "$CC"; then
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1945 $as_echo "$CC" >&6; }
1946 else
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1948 $as_echo "no" >&6; }
1953 if test -z "$ac_cv_prog_CC"; then
1954 ac_ct_CC=$CC
1955 # Extract the first word of "gcc", so it can be a program name with args.
1956 set dummy gcc; ac_word=$2
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1958 $as_echo_n "checking for $ac_word... " >&6; }
1959 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1960 $as_echo_n "(cached) " >&6
1961 else
1962 if test -n "$ac_ct_CC"; then
1963 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1964 else
1965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1966 for as_dir in $PATH
1968 IFS=$as_save_IFS
1969 test -z "$as_dir" && as_dir=.
1970 for ac_exec_ext in '' $ac_executable_extensions; do
1971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1972 ac_cv_prog_ac_ct_CC="gcc"
1973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1974 break 2
1976 done
1977 done
1978 IFS=$as_save_IFS
1982 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1983 if test -n "$ac_ct_CC"; then
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1985 $as_echo "$ac_ct_CC" >&6; }
1986 else
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1988 $as_echo "no" >&6; }
1991 if test "x$ac_ct_CC" = x; then
1992 CC=""
1993 else
1994 case $cross_compiling:$ac_tool_warned in
1995 yes:)
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1998 ac_tool_warned=yes ;;
1999 esac
2000 CC=$ac_ct_CC
2002 else
2003 CC="$ac_cv_prog_CC"
2006 if test -z "$CC"; then
2007 if test -n "$ac_tool_prefix"; then
2008 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2009 set dummy ${ac_tool_prefix}cc; ac_word=$2
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2011 $as_echo_n "checking for $ac_word... " >&6; }
2012 if ${ac_cv_prog_CC+:} false; then :
2013 $as_echo_n "(cached) " >&6
2014 else
2015 if test -n "$CC"; then
2016 ac_cv_prog_CC="$CC" # Let the user override the test.
2017 else
2018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2019 for as_dir in $PATH
2021 IFS=$as_save_IFS
2022 test -z "$as_dir" && as_dir=.
2023 for ac_exec_ext in '' $ac_executable_extensions; do
2024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2025 ac_cv_prog_CC="${ac_tool_prefix}cc"
2026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2027 break 2
2029 done
2030 done
2031 IFS=$as_save_IFS
2035 CC=$ac_cv_prog_CC
2036 if test -n "$CC"; then
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2038 $as_echo "$CC" >&6; }
2039 else
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2041 $as_echo "no" >&6; }
2047 if test -z "$CC"; then
2048 # Extract the first word of "cc", so it can be a program name with args.
2049 set dummy cc; ac_word=$2
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2051 $as_echo_n "checking for $ac_word... " >&6; }
2052 if ${ac_cv_prog_CC+:} false; then :
2053 $as_echo_n "(cached) " >&6
2054 else
2055 if test -n "$CC"; then
2056 ac_cv_prog_CC="$CC" # Let the user override the test.
2057 else
2058 ac_prog_rejected=no
2059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2060 for as_dir in $PATH
2062 IFS=$as_save_IFS
2063 test -z "$as_dir" && as_dir=.
2064 for ac_exec_ext in '' $ac_executable_extensions; do
2065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2066 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2067 ac_prog_rejected=yes
2068 continue
2070 ac_cv_prog_CC="cc"
2071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2072 break 2
2074 done
2075 done
2076 IFS=$as_save_IFS
2078 if test $ac_prog_rejected = yes; then
2079 # We found a bogon in the path, so make sure we never use it.
2080 set dummy $ac_cv_prog_CC
2081 shift
2082 if test $# != 0; then
2083 # We chose a different compiler from the bogus one.
2084 # However, it has the same basename, so the bogon will be chosen
2085 # first if we set CC to just the basename; use the full file name.
2086 shift
2087 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2092 CC=$ac_cv_prog_CC
2093 if test -n "$CC"; then
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2095 $as_echo "$CC" >&6; }
2096 else
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2098 $as_echo "no" >&6; }
2103 if test -z "$CC"; then
2104 if test -n "$ac_tool_prefix"; then
2105 for ac_prog in cl.exe
2107 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2108 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2110 $as_echo_n "checking for $ac_word... " >&6; }
2111 if ${ac_cv_prog_CC+:} false; then :
2112 $as_echo_n "(cached) " >&6
2113 else
2114 if test -n "$CC"; then
2115 ac_cv_prog_CC="$CC" # Let the user override the test.
2116 else
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118 for as_dir in $PATH
2120 IFS=$as_save_IFS
2121 test -z "$as_dir" && as_dir=.
2122 for ac_exec_ext in '' $ac_executable_extensions; do
2123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2124 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2126 break 2
2128 done
2129 done
2130 IFS=$as_save_IFS
2134 CC=$ac_cv_prog_CC
2135 if test -n "$CC"; then
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2137 $as_echo "$CC" >&6; }
2138 else
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2140 $as_echo "no" >&6; }
2144 test -n "$CC" && break
2145 done
2147 if test -z "$CC"; then
2148 ac_ct_CC=$CC
2149 for ac_prog in cl.exe
2151 # Extract the first word of "$ac_prog", so it can be a program name with args.
2152 set dummy $ac_prog; ac_word=$2
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2154 $as_echo_n "checking for $ac_word... " >&6; }
2155 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2156 $as_echo_n "(cached) " >&6
2157 else
2158 if test -n "$ac_ct_CC"; then
2159 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2160 else
2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2162 for as_dir in $PATH
2164 IFS=$as_save_IFS
2165 test -z "$as_dir" && as_dir=.
2166 for ac_exec_ext in '' $ac_executable_extensions; do
2167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2168 ac_cv_prog_ac_ct_CC="$ac_prog"
2169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2170 break 2
2172 done
2173 done
2174 IFS=$as_save_IFS
2178 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2179 if test -n "$ac_ct_CC"; then
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2181 $as_echo "$ac_ct_CC" >&6; }
2182 else
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2184 $as_echo "no" >&6; }
2188 test -n "$ac_ct_CC" && break
2189 done
2191 if test "x$ac_ct_CC" = x; then
2192 CC=""
2193 else
2194 case $cross_compiling:$ac_tool_warned in
2195 yes:)
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2198 ac_tool_warned=yes ;;
2199 esac
2200 CC=$ac_ct_CC
2207 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2209 as_fn_error $? "no acceptable C compiler found in \$PATH
2210 See \`config.log' for more details" "$LINENO" 5; }
2212 # Provide some information about the compiler.
2213 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2214 set X $ac_compile
2215 ac_compiler=$2
2216 for ac_option in --version -v -V -qversion; do
2217 { { ac_try="$ac_compiler $ac_option >&5"
2218 case "(($ac_try" in
2219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2220 *) ac_try_echo=$ac_try;;
2221 esac
2222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2223 $as_echo "$ac_try_echo"; } >&5
2224 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2225 ac_status=$?
2226 if test -s conftest.err; then
2227 sed '10a\
2228 ... rest of stderr output deleted ...
2229 10q' conftest.err >conftest.er1
2230 cat conftest.er1 >&5
2232 rm -f conftest.er1 conftest.err
2233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2234 test $ac_status = 0; }
2235 done
2237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2238 /* end confdefs.h. */
2241 main ()
2245 return 0;
2247 _ACEOF
2248 ac_clean_files_save=$ac_clean_files
2249 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2250 # Try to create an executable without -o first, disregard a.out.
2251 # It will help us diagnose broken compilers, and finding out an intuition
2252 # of exeext.
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2254 $as_echo_n "checking whether the C compiler works... " >&6; }
2255 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2257 # The possible output files:
2258 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2260 ac_rmfiles=
2261 for ac_file in $ac_files
2263 case $ac_file in
2264 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2265 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2266 esac
2267 done
2268 rm -f $ac_rmfiles
2270 if { { ac_try="$ac_link_default"
2271 case "(($ac_try" in
2272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2273 *) ac_try_echo=$ac_try;;
2274 esac
2275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2276 $as_echo "$ac_try_echo"; } >&5
2277 (eval "$ac_link_default") 2>&5
2278 ac_status=$?
2279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2280 test $ac_status = 0; }; then :
2281 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2282 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2283 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2284 # so that the user can short-circuit this test for compilers unknown to
2285 # Autoconf.
2286 for ac_file in $ac_files ''
2288 test -f "$ac_file" || continue
2289 case $ac_file in
2290 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2292 [ab].out )
2293 # We found the default executable, but exeext='' is most
2294 # certainly right.
2295 break;;
2296 *.* )
2297 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2298 then :; else
2299 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2301 # We set ac_cv_exeext here because the later test for it is not
2302 # safe: cross compilers may not add the suffix if given an `-o'
2303 # argument, so we may need to know it at that point already.
2304 # Even if this section looks crufty: it has the advantage of
2305 # actually working.
2306 break;;
2308 break;;
2309 esac
2310 done
2311 test "$ac_cv_exeext" = no && ac_cv_exeext=
2313 else
2314 ac_file=''
2316 if test -z "$ac_file"; then :
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2318 $as_echo "no" >&6; }
2319 $as_echo "$as_me: failed program was:" >&5
2320 sed 's/^/| /' conftest.$ac_ext >&5
2322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2324 as_fn_error 77 "C compiler cannot create executables
2325 See \`config.log' for more details" "$LINENO" 5; }
2326 else
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2328 $as_echo "yes" >&6; }
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2331 $as_echo_n "checking for C compiler default output file name... " >&6; }
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2333 $as_echo "$ac_file" >&6; }
2334 ac_exeext=$ac_cv_exeext
2336 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2337 ac_clean_files=$ac_clean_files_save
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2339 $as_echo_n "checking for suffix of executables... " >&6; }
2340 if { { ac_try="$ac_link"
2341 case "(($ac_try" in
2342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2343 *) ac_try_echo=$ac_try;;
2344 esac
2345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2346 $as_echo "$ac_try_echo"; } >&5
2347 (eval "$ac_link") 2>&5
2348 ac_status=$?
2349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2350 test $ac_status = 0; }; then :
2351 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2352 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2353 # work properly (i.e., refer to `conftest.exe'), while it won't with
2354 # `rm'.
2355 for ac_file in conftest.exe conftest conftest.*; do
2356 test -f "$ac_file" || continue
2357 case $ac_file in
2358 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2359 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2360 break;;
2361 * ) break;;
2362 esac
2363 done
2364 else
2365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2367 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2368 See \`config.log' for more details" "$LINENO" 5; }
2370 rm -f conftest conftest$ac_cv_exeext
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2372 $as_echo "$ac_cv_exeext" >&6; }
2374 rm -f conftest.$ac_ext
2375 EXEEXT=$ac_cv_exeext
2376 ac_exeext=$EXEEXT
2377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h. */
2379 #include <stdio.h>
2381 main ()
2383 FILE *f = fopen ("conftest.out", "w");
2384 return ferror (f) || fclose (f) != 0;
2387 return 0;
2389 _ACEOF
2390 ac_clean_files="$ac_clean_files conftest.out"
2391 # Check that the compiler produces executables we can run. If not, either
2392 # the compiler is broken, or we cross compile.
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2394 $as_echo_n "checking whether we are cross compiling... " >&6; }
2395 if test "$cross_compiling" != yes; then
2396 { { ac_try="$ac_link"
2397 case "(($ac_try" in
2398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2399 *) ac_try_echo=$ac_try;;
2400 esac
2401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2402 $as_echo "$ac_try_echo"; } >&5
2403 (eval "$ac_link") 2>&5
2404 ac_status=$?
2405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2406 test $ac_status = 0; }
2407 if { ac_try='./conftest$ac_cv_exeext'
2408 { { case "(($ac_try" in
2409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2410 *) ac_try_echo=$ac_try;;
2411 esac
2412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2413 $as_echo "$ac_try_echo"; } >&5
2414 (eval "$ac_try") 2>&5
2415 ac_status=$?
2416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2417 test $ac_status = 0; }; }; then
2418 cross_compiling=no
2419 else
2420 if test "$cross_compiling" = maybe; then
2421 cross_compiling=yes
2422 else
2423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2425 as_fn_error $? "cannot run C compiled programs.
2426 If you meant to cross compile, use \`--host'.
2427 See \`config.log' for more details" "$LINENO" 5; }
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2432 $as_echo "$cross_compiling" >&6; }
2434 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2435 ac_clean_files=$ac_clean_files_save
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2437 $as_echo_n "checking for suffix of object files... " >&6; }
2438 if ${ac_cv_objext+:} false; then :
2439 $as_echo_n "(cached) " >&6
2440 else
2441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h. */
2445 main ()
2449 return 0;
2451 _ACEOF
2452 rm -f conftest.o conftest.obj
2453 if { { ac_try="$ac_compile"
2454 case "(($ac_try" in
2455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2456 *) ac_try_echo=$ac_try;;
2457 esac
2458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2459 $as_echo "$ac_try_echo"; } >&5
2460 (eval "$ac_compile") 2>&5
2461 ac_status=$?
2462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2463 test $ac_status = 0; }; then :
2464 for ac_file in conftest.o conftest.obj conftest.*; do
2465 test -f "$ac_file" || continue;
2466 case $ac_file in
2467 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2468 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2469 break;;
2470 esac
2471 done
2472 else
2473 $as_echo "$as_me: failed program was:" >&5
2474 sed 's/^/| /' conftest.$ac_ext >&5
2476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2478 as_fn_error $? "cannot compute suffix of object files: cannot compile
2479 See \`config.log' for more details" "$LINENO" 5; }
2481 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2484 $as_echo "$ac_cv_objext" >&6; }
2485 OBJEXT=$ac_cv_objext
2486 ac_objext=$OBJEXT
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2488 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2489 if ${ac_cv_c_compiler_gnu+:} false; then :
2490 $as_echo_n "(cached) " >&6
2491 else
2492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2493 /* end confdefs.h. */
2496 main ()
2498 #ifndef __GNUC__
2499 choke me
2500 #endif
2503 return 0;
2505 _ACEOF
2506 if ac_fn_c_try_compile "$LINENO"; then :
2507 ac_compiler_gnu=yes
2508 else
2509 ac_compiler_gnu=no
2511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2512 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2516 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2517 if test $ac_compiler_gnu = yes; then
2518 GCC=yes
2519 else
2520 GCC=
2522 ac_test_CFLAGS=${CFLAGS+set}
2523 ac_save_CFLAGS=$CFLAGS
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2525 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2526 if ${ac_cv_prog_cc_g+:} false; then :
2527 $as_echo_n "(cached) " >&6
2528 else
2529 ac_save_c_werror_flag=$ac_c_werror_flag
2530 ac_c_werror_flag=yes
2531 ac_cv_prog_cc_g=no
2532 CFLAGS="-g"
2533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2534 /* end confdefs.h. */
2537 main ()
2541 return 0;
2543 _ACEOF
2544 if ac_fn_c_try_compile "$LINENO"; then :
2545 ac_cv_prog_cc_g=yes
2546 else
2547 CFLAGS=""
2548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2549 /* end confdefs.h. */
2552 main ()
2556 return 0;
2558 _ACEOF
2559 if ac_fn_c_try_compile "$LINENO"; then :
2561 else
2562 ac_c_werror_flag=$ac_save_c_werror_flag
2563 CFLAGS="-g"
2564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2565 /* end confdefs.h. */
2568 main ()
2572 return 0;
2574 _ACEOF
2575 if ac_fn_c_try_compile "$LINENO"; then :
2576 ac_cv_prog_cc_g=yes
2578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2583 ac_c_werror_flag=$ac_save_c_werror_flag
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2586 $as_echo "$ac_cv_prog_cc_g" >&6; }
2587 if test "$ac_test_CFLAGS" = set; then
2588 CFLAGS=$ac_save_CFLAGS
2589 elif test $ac_cv_prog_cc_g = yes; then
2590 if test "$GCC" = yes; then
2591 CFLAGS="-g -O2"
2592 else
2593 CFLAGS="-g"
2595 else
2596 if test "$GCC" = yes; then
2597 CFLAGS="-O2"
2598 else
2599 CFLAGS=
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2603 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2604 if ${ac_cv_prog_cc_c89+:} false; then :
2605 $as_echo_n "(cached) " >&6
2606 else
2607 ac_cv_prog_cc_c89=no
2608 ac_save_CC=$CC
2609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2610 /* end confdefs.h. */
2611 #include <stdarg.h>
2612 #include <stdio.h>
2613 struct stat;
2614 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2615 struct buf { int x; };
2616 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2617 static char *e (p, i)
2618 char **p;
2619 int i;
2621 return p[i];
2623 static char *f (char * (*g) (char **, int), char **p, ...)
2625 char *s;
2626 va_list v;
2627 va_start (v,p);
2628 s = g (p, va_arg (v,int));
2629 va_end (v);
2630 return s;
2633 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2634 function prototypes and stuff, but not '\xHH' hex character constants.
2635 These don't provoke an error unfortunately, instead are silently treated
2636 as 'x'. The following induces an error, until -std is added to get
2637 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2638 array size at least. It's necessary to write '\x00'==0 to get something
2639 that's true only with -std. */
2640 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2642 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2643 inside strings and character constants. */
2644 #define FOO(x) 'x'
2645 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2647 int test (int i, double x);
2648 struct s1 {int (*f) (int a);};
2649 struct s2 {int (*f) (double a);};
2650 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2651 int argc;
2652 char **argv;
2654 main ()
2656 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2658 return 0;
2660 _ACEOF
2661 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2662 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2664 CC="$ac_save_CC $ac_arg"
2665 if ac_fn_c_try_compile "$LINENO"; then :
2666 ac_cv_prog_cc_c89=$ac_arg
2668 rm -f core conftest.err conftest.$ac_objext
2669 test "x$ac_cv_prog_cc_c89" != "xno" && break
2670 done
2671 rm -f conftest.$ac_ext
2672 CC=$ac_save_CC
2675 # AC_CACHE_VAL
2676 case "x$ac_cv_prog_cc_c89" in
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2679 $as_echo "none needed" >&6; } ;;
2680 xno)
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2682 $as_echo "unsupported" >&6; } ;;
2684 CC="$CC $ac_cv_prog_cc_c89"
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2686 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2687 esac
2688 if test "x$ac_cv_prog_cc_c89" != xno; then :
2692 ac_ext=c
2693 ac_cpp='$CPP $CPPFLAGS'
2694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2700 $as_echo_n "checking target config location... " >&6; }
2702 # Check whether --with-config-dir was given.
2703 if test "${with_config_dir+set}" = set; then :
2704 withval=$with_config_dir; targetcfg_dir="$withval"
2705 else
2706 targetcfg_dir=""
2709 if test "$targetcfg_dir" = ""; then
2710 as_fn_error $? "missing config directory!" "$LINENO" 5
2711 else
2712 aros_targetcfg_dir="$targetcfg_dir"
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2715 $as_echo "$aros_targetcfg_dir" >&6; }
2717 #-----------------------------------------------------------------------------
2719 # Check if the target compiler supports some features:
2720 # -fexceptions
2721 # -fpermissive
2722 # -ffast-math
2723 # -fno-builtin-floor
2724 # -flto
2725 # -fwhole-program
2726 # -floop-block
2727 # -floop-interchange
2728 # -floop-strip-mine
2729 # -fpeel-loops
2730 # -fstrict-aliasing
2731 # -funroll-loops
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2734 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2735 CFLAGS=-fexceptions
2737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2738 /* end confdefs.h. */
2741 main ()
2745 return 0;
2747 _ACEOF
2748 if ac_fn_c_try_compile "$LINENO"; then :
2749 aros_exceptions="yes"
2750 else
2751 aros_exceptions="no"
2753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2755 $as_echo "$aros_exceptions" >&6; }
2756 if test "x-$aros_exceptions" = "x-yes" ; then
2757 aros_cflags_exceptions=-fexceptions
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpermissive" >&5
2761 $as_echo_n "checking whether ${CC} accepts -fpermissive... " >&6; }
2762 CFLAGS=-fpermissive
2763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2764 /* end confdefs.h. */
2767 main ()
2771 return 0;
2773 _ACEOF
2774 if ac_fn_c_try_compile "$LINENO"; then :
2775 aros_permissive="yes"
2776 else
2777 aros_permissive="no"
2779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
2781 $as_echo "$aros_permissive" >&6; }
2782 if test "x-$aros_permissive" = "x-yes" ; then
2783 aros_cflags_permissive=-fpermissive
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2787 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2788 CFLAGS=-ffast-math
2789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2790 /* end confdefs.h. */
2793 main ()
2797 return 0;
2799 _ACEOF
2800 if ac_fn_c_try_compile "$LINENO"; then :
2801 aros_fast_math="yes"
2802 else
2803 aros_fast_math="no"
2805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2807 $as_echo "$aros_fast_math" >&6; }
2808 if test "x-$aros_fast_math" = "x-yes" ; then
2809 aros_cflags_fast_math=-ffast-math
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
2813 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
2814 CFLAGS=-fno-builtin-floor
2815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2816 /* end confdefs.h. */
2819 main ()
2823 return 0;
2825 _ACEOF
2826 if ac_fn_c_try_compile "$LINENO"; then :
2827 aros_no_builtin_floor="yes"
2828 else
2829 aros_no_builtin_floor="no"
2831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
2833 $as_echo "$aros_no_builtin_floor" >&6; }
2834 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
2835 aros_cflags_no_builtin_floor=-fno-builtin-floor
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2839 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2840 CFLAGS=-flto
2841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2842 /* end confdefs.h. */
2845 main ()
2849 return 0;
2851 _ACEOF
2852 if ac_fn_c_try_compile "$LINENO"; then :
2853 aros_lto="yes"
2854 else
2855 aros_lto="no"
2857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2859 $as_echo "$aros_lto" >&6; }
2860 if test "x-$aros_lto" = "x-yes" ; then
2861 aros_cflags_lto=-flto
2862 aros_cflags_nolto=-fno-lto
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2865 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2866 CFLAGS=-fwhole-program
2867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2868 /* end confdefs.h. */
2871 main ()
2875 return 0;
2877 _ACEOF
2878 if ac_fn_c_try_compile "$LINENO"; then :
2879 aros_whole_program="yes"
2880 else
2881 aros_whole_program="no"
2883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2885 $as_echo "$aros_whole_program" >&6; }
2886 if test "x-$aros_whole_program" = "x-yes" ; then
2887 aros_cflags_whole_program=-fwhole-program
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2891 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2892 CFLAGS=-floop-block
2893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2894 /* end confdefs.h. */
2897 main ()
2901 return 0;
2903 _ACEOF
2904 if ac_fn_c_try_compile "$LINENO"; then :
2905 aros_loop_block="yes"
2906 else
2907 aros_loop_block="no"
2909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2911 $as_echo "$aros_loop_block" >&6; }
2912 if test "x-$aros_loop_block" = "x-yes" ; then
2913 aros_cflags_loop_block=-floop-block
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2917 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2918 CFLAGS=-floop-interchange
2919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2920 /* end confdefs.h. */
2923 main ()
2927 return 0;
2929 _ACEOF
2930 if ac_fn_c_try_compile "$LINENO"; then :
2931 aros_loop_interchange="yes"
2932 else
2933 aros_loop_interchange="no"
2935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2937 $as_echo "$aros_loop_interchange" >&6; }
2938 if test "x-$aros_loop_interchange" = "x-yes" ; then
2939 aros_cflags_loop_interchange=-floop-interchange
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2943 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2944 CFLAGS=-floop-strip-mine
2945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2946 /* end confdefs.h. */
2949 main ()
2953 return 0;
2955 _ACEOF
2956 if ac_fn_c_try_compile "$LINENO"; then :
2957 aros_loop_strip_mine="yes"
2958 else
2959 aros_loop_strip_mine="no"
2961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2963 $as_echo "$aros_loop_strip_mine" >&6; }
2964 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2965 aros_cflags_loop_strip_mine=-floop-strip-mine
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
2970 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
2971 CFLAGS=-fpeel-loops
2972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2973 /* end confdefs.h. */
2976 main ()
2980 return 0;
2982 _ACEOF
2983 if ac_fn_c_try_compile "$LINENO"; then :
2984 aros_peel_loops="yes"
2985 else
2986 aros_peel_loops="no"
2988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
2990 $as_echo "$aros_peel_loops" >&6; }
2991 if test "x-$aros_peel_loops" = "x-yes" ; then
2992 aros_cflags_peel_loops=-fpeel-loops
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
2996 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
2997 CFLAGS=-funroll-loops
2998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2999 /* end confdefs.h. */
3002 main ()
3006 return 0;
3008 _ACEOF
3009 if ac_fn_c_try_compile "$LINENO"; then :
3010 aros_unroll_loops="yes"
3011 else
3012 aros_unroll_loops="no"
3014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3016 $as_echo "$aros_unroll_loops" >&6; }
3017 if test "x-$aros_unroll_loops" = "x-yes" ; then
3018 aros_cflags_unroll_loops=-funroll-loops
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3022 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3023 CFLAGS=-fstrict-aliasing
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h. */
3028 main ()
3032 return 0;
3034 _ACEOF
3035 if ac_fn_c_try_compile "$LINENO"; then :
3036 aros_strict_aliasing="yes"
3037 else
3038 aros_strict_aliasing="no"
3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3042 $as_echo "$aros_strict_aliasing" >&6; }
3043 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3044 aros_cflags_strictaliasing=-fstrict-aliasing
3045 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3049 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3050 CFLAGS="-iquote."
3051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3052 /* end confdefs.h. */
3055 main ()
3059 return 0;
3061 _ACEOF
3062 if ac_fn_c_try_compile "$LINENO"; then :
3063 has_iquote="yes"
3064 else
3065 has_iquote="no"
3067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3069 $as_echo "$has_iquote" >&6; }
3070 if test "x-$has_iquote" = "x-yes" ; then
3071 aros_cflags_iquote=-iquote
3072 aros_cflags_iquote_end=
3073 else
3074 aros_cflags_iquote=-I
3075 aros_cflags_iquote_end=-I-
3078 #-----------------------------------------------------------------------------
3080 # Check if the target compiler supports some options:
3081 # -mno-red-zone
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mno-red-zone" >&5
3084 $as_echo_n "checking whether ${CC} accepts -mno-red-zone... " >&6; }
3085 CFLAGS=-mno-red-zone
3086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3087 /* end confdefs.h. */
3090 main ()
3094 return 0;
3096 _ACEOF
3097 if ac_fn_c_try_compile "$LINENO"; then :
3098 aros_no_red_zone="yes"
3099 else
3100 aros_no_red_zone="no"
3102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3104 $as_echo "$aros_no_red_zone" >&6; }
3105 if test "x-$aros_no_red_zone" = "x-yes" ; then
3106 aros_cflags_no_red_zone=-mno-red-zone
3109 #-----------------------------------------------------------------------------
3111 # Check if the target compiler supports some options used for de-linting:
3112 # -Werror
3113 # -Wunused-command-line-argument
3114 # -Wunknown-warning-option
3115 # -Wunused-but-set-variable
3116 # -Wstrict-aliasing
3117 # -Warray-bounds
3118 # -Wenum-compare
3119 # -Wstrict-prototypes
3120 # -Wstrict-overflow
3121 # -Wformat-security
3122 # -Wmisleading-indentation
3123 # -Wnonnull-compare
3124 # -Wunused
3125 # -Wunused-label
3126 # -Wunused-value
3127 # -Wunused-variable
3128 # -Wunused-function
3129 # -Wunused-parameter
3130 # -Wuninitialized
3131 # -Wmaybe-uninitialized
3132 # -Wimplicit-function-declaration
3133 # -Wformat
3134 # -Wparentheses
3135 # -Wchar-subscripts
3136 # -Wendif-labels
3137 # -Wformat-contains-nul
3138 # -Wimplicit-int
3139 # -Waggressive-loop-optimizations
3140 # -Wcpp
3141 # -Wswitch
3142 # -Wdiscarded-qualifiers
3143 # -Wsequence-point
3144 # -Wunknown-pragmas
3145 # -Wdiscarded-array-qualifiers
3146 # -Wint-conversion
3147 # -Wint-to-pointer-cast
3148 # -Wpointer-to-int-cast
3149 # -Wunused-const-variable
3150 # -Wwrite-strings
3151 # -Wcomment
3152 # -Wincompatible-pointer-types
3153 # -Wbool-compare
3154 # -Wlogical-not-parentheses
3155 # -Wpointer-sign
3156 # -Wshift-overflow
3157 # -Wframe-address
3158 # -Wdeprecated-declarations
3159 # -Wsign-compare
3160 # -Wattributes
3161 # -Woverflow
3162 # -Wunused-local-typedefs
3163 # -Wmissing-braces
3164 # -Wconversion-null
3165 # -Wnarrowing
3166 # -Wvolatile-register-var
3167 # -Wsizeof-pointer-memaccess
3168 # -Wreturn-type
3169 # -Wformat-zero-length
3170 # -Wlto-type-mismatch
3171 # -Wtautological-compare
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
3174 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
3175 CFLAGS=-Werror
3176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h. */
3180 main ()
3184 return 0;
3186 _ACEOF
3187 if ac_fn_c_try_compile "$LINENO"; then :
3188 aros_error="yes"
3189 else
3190 aros_error="no"
3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
3194 $as_echo "$aros_error" >&6; }
3195 if test "x-$aros_error" = "x-yes" ; then
3196 aros_warnflags_error=-Werror
3197 aros_nowarnflags_error=-Wno-error
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3201 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3202 CFLAGS=-Wunused-command-line-argument
3203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3204 /* end confdefs.h. */
3207 main ()
3211 return 0;
3213 _ACEOF
3214 if ac_fn_c_try_compile "$LINENO"; then :
3215 aros_unused_command_line_argument="yes"
3216 else
3217 aros_unused_command_line_argument="no"
3219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3221 $as_echo "$aros_unused_command_line_argument" >&6; }
3222 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3223 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3224 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3228 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3229 CFLAGS=-Wunknown-warning-option
3230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3231 /* end confdefs.h. */
3234 main ()
3238 return 0;
3240 _ACEOF
3241 if ac_fn_c_try_compile "$LINENO"; then :
3242 aros_unknown_warning_option="yes"
3243 else
3244 aros_unknown_warning_option="no"
3246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3248 $as_echo "$aros_unknown_warning_option" >&6; }
3249 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3250 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3251 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3255 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3256 CFLAGS=-Wunused-but-set-variable
3257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3258 /* end confdefs.h. */
3261 main ()
3265 return 0;
3267 _ACEOF
3268 if ac_fn_c_try_compile "$LINENO"; then :
3269 aros_unused_but_set_variable="yes"
3270 else
3271 aros_unused_but_set_variable="no"
3273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3275 $as_echo "$aros_unused_but_set_variable" >&6; }
3276 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3277 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3278 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3282 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3283 CFLAGS=-Wstrict-aliasing
3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3288 main ()
3292 return 0;
3294 _ACEOF
3295 if ac_fn_c_try_compile "$LINENO"; then :
3296 aros_strict_aliasing="yes"
3297 else
3298 aros_strict_aliasing="no"
3300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3302 $as_echo "$aros_strict_aliasing" >&6; }
3303 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3304 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3305 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3309 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3310 CFLAGS=-Warray-bounds
3311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3312 /* end confdefs.h. */
3315 main ()
3319 return 0;
3321 _ACEOF
3322 if ac_fn_c_try_compile "$LINENO"; then :
3323 aros_array_bounds="yes"
3324 else
3325 aros_array_bounds="no"
3327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3329 $as_echo "$aros_array_bounds" >&6; }
3330 if test "x-$aros_array_bounds" = "x-yes" ; then
3331 aros_warnflags_array_bounds=-Warray-bounds
3332 aros_nowarnflags_array_bounds=-Wno-array-bounds
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3336 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3337 CFLAGS=-Wenum-compare
3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3342 main ()
3346 return 0;
3348 _ACEOF
3349 if ac_fn_c_try_compile "$LINENO"; then :
3350 aros_enum_compare="yes"
3351 else
3352 aros_enum_compare="no"
3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3356 $as_echo "$aros_enum_compare" >&6; }
3357 if test "x-$aros_enum_compare" = "x-yes" ; then
3358 aros_warnflags_enum_compare=-Wenum-compare
3359 aros_nowarnflags_enum_compare=-Wno-enum-compare
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3363 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3364 CFLAGS=-Wstrict-prototypes
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3369 main ()
3373 return 0;
3375 _ACEOF
3376 if ac_fn_c_try_compile "$LINENO"; then :
3377 aros_strict_prototypes="yes"
3378 else
3379 aros_strict_prototypes="no"
3381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3383 $as_echo "$aros_strict_prototypes" >&6; }
3384 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3385 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3386 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3390 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3391 CFLAGS=-Wstrict-overflow
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_strict_overflow="yes"
3405 else
3406 aros_strict_overflow="no"
3408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3410 $as_echo "$aros_strict_overflow" >&6; }
3411 if test "x-$aros_strict_overflow" = "x-yes" ; then
3412 aros_warnflags_strict_overflow=-Wstrict-overflow
3413 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3417 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3418 CFLAGS=-Wformat-security
3419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3420 /* end confdefs.h. */
3423 main ()
3427 return 0;
3429 _ACEOF
3430 if ac_fn_c_try_compile "$LINENO"; then :
3431 aros_format_security="yes"
3432 else
3433 aros_format_security="no"
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3437 $as_echo "$aros_format_security" >&6; }
3438 if test "x-$aros_format_security" = "x-yes" ; then
3439 aros_warnflags_format_security=-Wformat-security
3440 aros_nowarnflags_format_security=-Wno-format-security
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3444 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3445 CFLAGS=-Wmisleading-indentation
3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447 /* end confdefs.h. */
3450 main ()
3454 return 0;
3456 _ACEOF
3457 if ac_fn_c_try_compile "$LINENO"; then :
3458 aros_misleading_indentation="yes"
3459 else
3460 aros_misleading_indentation="no"
3462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3464 $as_echo "$aros_misleading_indentation" >&6; }
3465 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3466 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3467 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3471 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3472 CFLAGS=-Wnonnull-compare
3473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474 /* end confdefs.h. */
3477 main ()
3481 return 0;
3483 _ACEOF
3484 if ac_fn_c_try_compile "$LINENO"; then :
3485 aros_nonnull_compare="yes"
3486 else
3487 aros_nonnull_compare="no"
3489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3491 $as_echo "$aros_nonnull_compare" >&6; }
3492 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3493 aros_warnflags_nonnull_compare=-Wnonnull-compare
3494 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3498 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3499 CFLAGS=-Wunused
3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3501 /* end confdefs.h. */
3504 main ()
3508 return 0;
3510 _ACEOF
3511 if ac_fn_c_try_compile "$LINENO"; then :
3512 aros_unused="yes"
3513 else
3514 aros_unused="no"
3516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3518 $as_echo "$aros_unused" >&6; }
3519 if test "x-$aros_unused" = "x-yes" ; then
3520 aros_warnflags_unused=-Wunused
3521 aros_nowarnflags_unused=-Wno-unused
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
3525 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
3526 CFLAGS=-Wunused-label
3527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 /* end confdefs.h. */
3531 main ()
3535 return 0;
3537 _ACEOF
3538 if ac_fn_c_try_compile "$LINENO"; then :
3539 aros_unused_label="yes"
3540 else
3541 aros_unused_label="no"
3543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
3545 $as_echo "$aros_unused_label" >&6; }
3546 if test "x-$aros_unused_label" = "x-yes" ; then
3547 aros_warnflags_unused_label=-Wunused-label
3548 aros_nowarnflags_unused_label=-Wno-unused-label
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3552 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3553 CFLAGS=-Wunused-value
3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3558 main ()
3562 return 0;
3564 _ACEOF
3565 if ac_fn_c_try_compile "$LINENO"; then :
3566 aros_unused_value="yes"
3567 else
3568 aros_unused_value="no"
3570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3572 $as_echo "$aros_unused_value" >&6; }
3573 if test "x-$aros_unused_value" = "x-yes" ; then
3574 aros_warnflags_unused_value=-Wunused-value
3575 aros_nowarnflags_unused_value=-Wno-unused-value
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3579 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3580 CFLAGS=-Wunused-variable
3581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582 /* end confdefs.h. */
3585 main ()
3589 return 0;
3591 _ACEOF
3592 if ac_fn_c_try_compile "$LINENO"; then :
3593 aros_unused_variable="yes"
3594 else
3595 aros_unused_variable="no"
3597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3599 $as_echo "$aros_unused_variable" >&6; }
3600 if test "x-$aros_unused_variable" = "x-yes" ; then
3601 aros_warnflags_unused_variable=-Wunused-variable
3602 aros_nowarnflags_unused_variable=-Wno-unused-variable
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3606 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3607 CFLAGS=-Wunused-function
3608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3609 /* end confdefs.h. */
3612 main ()
3616 return 0;
3618 _ACEOF
3619 if ac_fn_c_try_compile "$LINENO"; then :
3620 aros_unused_function="yes"
3621 else
3622 aros_unused_function="no"
3624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3626 $as_echo "$aros_unused_function" >&6; }
3627 if test "x-$aros_unused_function" = "x-yes" ; then
3628 aros_warnflags_unused_function=-Wunused-function
3629 aros_nowarnflags_unused_function=-Wno-unused-function
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3633 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3634 CFLAGS=-Wunused-parameter
3635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3636 /* end confdefs.h. */
3639 main ()
3643 return 0;
3645 _ACEOF
3646 if ac_fn_c_try_compile "$LINENO"; then :
3647 aros_unused_parameter="yes"
3648 else
3649 aros_unused_parameter="no"
3651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3653 $as_echo "$aros_unused_parameter" >&6; }
3654 if test "x-$aros_unused_parameter" = "x-yes" ; then
3655 aros_warnflags_unused_parameter=-Wunused-parameter
3656 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3660 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3661 CFLAGS=-Wuninitialized
3662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3663 /* end confdefs.h. */
3666 main ()
3670 return 0;
3672 _ACEOF
3673 if ac_fn_c_try_compile "$LINENO"; then :
3674 aros_uninitialized="yes"
3675 else
3676 aros_uninitialized="no"
3678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3680 $as_echo "$aros_uninitialized" >&6; }
3681 if test "x-$aros_uninitialized" = "x-yes" ; then
3682 aros_warnflags_uninitialized=-Wuninitialized
3683 aros_nowarnflags_uninitialized=-Wno-uninitialized
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3687 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3688 CFLAGS=-Wmaybe-uninitialized
3689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690 /* end confdefs.h. */
3693 main ()
3697 return 0;
3699 _ACEOF
3700 if ac_fn_c_try_compile "$LINENO"; then :
3701 aros_maybe_uninitialized="yes"
3702 else
3703 aros_maybe_uninitialized="no"
3705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3707 $as_echo "$aros_maybe_uninitialized" >&6; }
3708 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3709 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
3710 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
3711 else
3712 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
3713 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3717 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3718 CFLAGS=-Wimplicit-function-declaration
3719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720 /* end confdefs.h. */
3723 main ()
3727 return 0;
3729 _ACEOF
3730 if ac_fn_c_try_compile "$LINENO"; then :
3731 aros_implicit_function_declaration="yes"
3732 else
3733 aros_implicit_function_declaration="no"
3735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3737 $as_echo "$aros_implicit_function_declaration" >&6; }
3738 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3739 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
3740 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3744 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3745 CFLAGS=-Wformat
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h. */
3750 main ()
3754 return 0;
3756 _ACEOF
3757 if ac_fn_c_try_compile "$LINENO"; then :
3758 aros_format="yes"
3759 else
3760 aros_format="no"
3762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3764 $as_echo "$aros_format" >&6; }
3765 if test "x-$aros_format" = "x-yes" ; then
3766 aros_warnflags_format=-Wformat
3767 aros_nowarnflags_format=-Wno-format
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3771 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3772 CFLAGS=-Wparentheses
3773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3774 /* end confdefs.h. */
3777 main ()
3781 return 0;
3783 _ACEOF
3784 if ac_fn_c_try_compile "$LINENO"; then :
3785 aros_parentheses="yes"
3786 else
3787 aros_parentheses="no"
3789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3791 $as_echo "$aros_parentheses" >&6; }
3792 if test "x-$aros_parentheses" = "x-yes" ; then
3793 aros_warnflags_parentheses=-Wparentheses
3794 aros_nowarnflags_parentheses=-Wno-parentheses
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3798 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3799 CFLAGS=-Wchar-subscripts
3800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3801 /* end confdefs.h. */
3804 main ()
3808 return 0;
3810 _ACEOF
3811 if ac_fn_c_try_compile "$LINENO"; then :
3812 aros_char_subscripts="yes"
3813 else
3814 aros_char_subscripts="no"
3816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3818 $as_echo "$aros_char_subscripts" >&6; }
3819 if test "x-$aros_char_subscripts" = "x-yes" ; then
3820 aros_warnflags_char_subscripts=-Wchar-subscripts
3821 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3825 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3826 CFLAGS=-Wendif-labels
3827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3828 /* end confdefs.h. */
3831 main ()
3835 return 0;
3837 _ACEOF
3838 if ac_fn_c_try_compile "$LINENO"; then :
3839 aros_endif_labels="yes"
3840 else
3841 aros_endif_labels="no"
3843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3845 $as_echo "$aros_endif_labels" >&6; }
3846 if test "x-$aros_endif_labels" = "x-yes" ; then
3847 aros_warnflags_endif_labels=-Wendif-labels
3848 aros_nowarnflags_endif_labels=-Wno-endif-labels
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3852 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3853 CFLAGS=-Wformat-contains-nul
3854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3855 /* end confdefs.h. */
3858 main ()
3862 return 0;
3864 _ACEOF
3865 if ac_fn_c_try_compile "$LINENO"; then :
3866 aros_format_contains_nul="yes"
3867 else
3868 aros_format_contains_nul="no"
3870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3872 $as_echo "$aros_format_contains_nul" >&6; }
3873 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3874 aros_warnflags_format_contains_nul=-Wformat-contains-nul
3875 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3879 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3880 CFLAGS=-Wimplicit-int
3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3885 main ()
3889 return 0;
3891 _ACEOF
3892 if ac_fn_c_try_compile "$LINENO"; then :
3893 aros_implicit_int="yes"
3894 else
3895 aros_implicit_int="no"
3897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3899 $as_echo "$aros_implicit_int" >&6; }
3900 if test "x-$aros_implicit_int" = "x-yes" ; then
3901 aros_warnflags_implicit_int=-Wimplicit-int
3902 aros_nowarnflags_implicit_int=-Wno-implicit-int
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3906 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3907 CFLAGS=-Waggressive-loop-optimizations
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3912 main ()
3916 return 0;
3918 _ACEOF
3919 if ac_fn_c_try_compile "$LINENO"; then :
3920 aros_aggressive_loop_optimizations="yes"
3921 else
3922 aros_aggressive_loop_optimizations="no"
3924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3926 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3927 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3928 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
3929 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3933 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3934 CFLAGS=-Wcpp
3935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3936 /* end confdefs.h. */
3939 main ()
3943 return 0;
3945 _ACEOF
3946 if ac_fn_c_try_compile "$LINENO"; then :
3947 aros_cpp="yes"
3948 else
3949 aros_cpp="no"
3951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3953 $as_echo "$aros_cpp" >&6; }
3954 if test "x-$aros_cpp" = "x-yes" ; then
3955 aros_warnflags_cpp=-Wcpp
3956 aros_nowarnflags_cpp=-Wno-cpp
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3960 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3961 CFLAGS=-Wswitch
3962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3963 /* end confdefs.h. */
3966 main ()
3970 return 0;
3972 _ACEOF
3973 if ac_fn_c_try_compile "$LINENO"; then :
3974 aros_switch="yes"
3975 else
3976 aros_switch="no"
3978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3980 $as_echo "$aros_switch" >&6; }
3981 if test "x-$aros_switch" = "x-yes" ; then
3982 aros_warnflags_switch=-Wswitch
3983 aros_nowarnflags_switch=-Wno-switch
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3987 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3988 CFLAGS=-Wdiscarded-qualifiers
3989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3990 /* end confdefs.h. */
3993 main ()
3997 return 0;
3999 _ACEOF
4000 if ac_fn_c_try_compile "$LINENO"; then :
4001 aros_discarded_qualifiers="yes"
4002 else
4003 aros_discarded_qualifiers="no"
4005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
4007 $as_echo "$aros_discarded_qualifiers" >&6; }
4008 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
4009 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
4010 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
4014 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
4015 CFLAGS=-Wsequence-point
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_sequence_point="yes"
4029 else
4030 aros_sequence_point="no"
4032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
4034 $as_echo "$aros_sequence_point" >&6; }
4035 if test "x-$aros_sequence_point" = "x-yes" ; then
4036 aros_warnflags_sequence_point=-Wsequence-point
4037 aros_nowarnflags_sequence_point=-Wno-sequence-point
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
4041 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
4042 CFLAGS=-Wunknown-pragmas
4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4047 main ()
4051 return 0;
4053 _ACEOF
4054 if ac_fn_c_try_compile "$LINENO"; then :
4055 aros_unknown_pragmas="yes"
4056 else
4057 aros_unknown_pragmas="no"
4059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
4061 $as_echo "$aros_unknown_pragmas" >&6; }
4062 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
4063 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
4064 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
4068 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
4069 CFLAGS=-Wdiscarded-array-qualifiers
4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4074 main ()
4078 return 0;
4080 _ACEOF
4081 if ac_fn_c_try_compile "$LINENO"; then :
4082 aros_discarded_array_qualifiers="yes"
4083 else
4084 aros_discarded_array_qualifiers="no"
4086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
4088 $as_echo "$aros_discarded_array_qualifiers" >&6; }
4089 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
4090 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
4091 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4095 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4096 CFLAGS=-Wint-conversion
4097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098 /* end confdefs.h. */
4101 main ()
4105 return 0;
4107 _ACEOF
4108 if ac_fn_c_try_compile "$LINENO"; then :
4109 aros_int_conversion="yes"
4110 else
4111 aros_int_conversion="no"
4113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4115 $as_echo "$aros_int_conversion" >&6; }
4116 if test "x-$aros_int_conversion" = "x-yes" ; then
4117 aros_warnflags_int_conversion=-Wint-conversion
4118 aros_nowarnflags_int_conversion=-Wno-int-conversion
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
4122 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
4123 CFLAGS=-Wint-to-pointer-cast
4124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4128 main ()
4132 return 0;
4134 _ACEOF
4135 if ac_fn_c_try_compile "$LINENO"; then :
4136 aros_int_to_pointer_cast="yes"
4137 else
4138 aros_int_to_pointer_cast="no"
4140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
4142 $as_echo "$aros_int_to_pointer_cast" >&6; }
4143 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
4144 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
4145 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
4149 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
4150 CFLAGS=-Wpointer-to-int-cast
4151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h. */
4155 main ()
4159 return 0;
4161 _ACEOF
4162 if ac_fn_c_try_compile "$LINENO"; then :
4163 aros_pointer_to_int_cast="yes"
4164 else
4165 aros_pointer_to_int_cast="no"
4167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
4169 $as_echo "$aros_pointer_to_int_cast" >&6; }
4170 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
4171 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
4172 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
4176 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
4177 CFLAGS=-Wunused-const-variable
4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h. */
4182 main ()
4186 return 0;
4188 _ACEOF
4189 if ac_fn_c_try_compile "$LINENO"; then :
4190 aros_unused_const_variable="yes"
4191 else
4192 aros_unused_const_variable="no"
4194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
4196 $as_echo "$aros_unused_const_variable" >&6; }
4197 if test "x-$aros_unused_const_variable" = "x-yes" ; then
4198 aros_warnflags_unused_const_variable=-Wunused-const-variable
4199 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
4203 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
4204 CFLAGS=-Wwrite-strings
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4209 main ()
4213 return 0;
4215 _ACEOF
4216 if ac_fn_c_try_compile "$LINENO"; then :
4217 aros_write_strings="yes"
4218 else
4219 aros_write_strings="no"
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4223 $as_echo "$aros_write_strings" >&6; }
4224 if test "x-$aros_write_strings" = "x-yes" ; then
4225 aros_warnflags_write_strings=-Wwrite-strings
4226 aros_nowarnflags_write_strings=-Wno-write-strings
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4230 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4231 CFLAGS=-Wcomment
4232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4233 /* end confdefs.h. */
4236 main ()
4240 return 0;
4242 _ACEOF
4243 if ac_fn_c_try_compile "$LINENO"; then :
4244 aros_comment="yes"
4245 else
4246 aros_comment="no"
4248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4250 $as_echo "$aros_comment" >&6; }
4251 if test "x-$aros_comment" = "x-yes" ; then
4252 aros_warnflags_comment=-Wcomment
4253 aros_nowarnflags_comment=-Wno-comment
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4257 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4258 CFLAGS=-Wincompatible-pointer-types
4259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4260 /* end confdefs.h. */
4263 main ()
4267 return 0;
4269 _ACEOF
4270 if ac_fn_c_try_compile "$LINENO"; then :
4271 aros_incompatible_pointer_types="yes"
4272 else
4273 aros_incompatible_pointer_types="no"
4275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4277 $as_echo "$aros_incompatible_pointer_types" >&6; }
4278 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4279 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4280 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4284 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4285 CFLAGS=-Wbool-compare
4286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4287 /* end confdefs.h. */
4290 main ()
4294 return 0;
4296 _ACEOF
4297 if ac_fn_c_try_compile "$LINENO"; then :
4298 aros_bool_compare="yes"
4299 else
4300 aros_bool_compare="no"
4302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4304 $as_echo "$aros_bool_compare" >&6; }
4305 if test "x-$aros_bool_compare" = "x-yes" ; then
4306 aros_warnflags_bool_compare=-Wbool-compare
4307 aros_nowarnflags_bool_compare=-Wno-bool-compare
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4311 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4312 CFLAGS=-Wlogical-not-parentheses
4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4317 main ()
4321 return 0;
4323 _ACEOF
4324 if ac_fn_c_try_compile "$LINENO"; then :
4325 aros_logical_not_parentheses="yes"
4326 else
4327 aros_logical_not_parentheses="no"
4329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4331 $as_echo "$aros_logical_not_parentheses" >&6; }
4332 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4333 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4334 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4338 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4339 CFLAGS=-Wpointer-sign
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4344 main ()
4348 return 0;
4350 _ACEOF
4351 if ac_fn_c_try_compile "$LINENO"; then :
4352 aros_pointer_sign="yes"
4353 else
4354 aros_pointer_sign="no"
4356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4358 $as_echo "$aros_pointer_sign" >&6; }
4359 if test "x-$aros_pointer_sign" = "x-yes" ; then
4360 aros_warnflags_pointer_sign=-Wpointer-sign
4361 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4365 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4366 CFLAGS=-Wshift-overflow
4367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4368 /* end confdefs.h. */
4371 main ()
4375 return 0;
4377 _ACEOF
4378 if ac_fn_c_try_compile "$LINENO"; then :
4379 aros_shift_overflow="yes"
4380 else
4381 aros_shift_overflow="no"
4383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4385 $as_echo "$aros_shift_overflow" >&6; }
4386 if test "x-$aros_shift_overflow" = "x-yes" ; then
4387 aros_warnflags_shift_overflow=-Wshift-overflow
4388 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4392 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4393 CFLAGS=-Wframe-address
4394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4395 /* end confdefs.h. */
4398 main ()
4402 return 0;
4404 _ACEOF
4405 if ac_fn_c_try_compile "$LINENO"; then :
4406 aros_frame_address="yes"
4407 else
4408 aros_frame_address="no"
4410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4412 $as_echo "$aros_frame_address" >&6; }
4413 if test "x-$aros_frame_address" = "x-yes" ; then
4414 aros_warnflags_frame_address=-Wframe-address
4415 aros_nowarnflags_frame_address=-Wno-frame-address
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4419 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4420 CFLAGS=-Wdeprecated-declarations
4421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4422 /* end confdefs.h. */
4425 main ()
4429 return 0;
4431 _ACEOF
4432 if ac_fn_c_try_compile "$LINENO"; then :
4433 aros_deprecated_declarations="yes"
4434 else
4435 aros_deprecated_declarations="no"
4437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4439 $as_echo "$aros_deprecated_declarations" >&6; }
4440 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4441 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4442 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4446 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4447 CFLAGS=-Wsign-compare
4448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4449 /* end confdefs.h. */
4452 main ()
4456 return 0;
4458 _ACEOF
4459 if ac_fn_c_try_compile "$LINENO"; then :
4460 aros_sign_compare="yes"
4461 else
4462 aros_sign_compare="no"
4464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4466 $as_echo "$aros_sign_compare" >&6; }
4467 if test "x-$aros_sign_compare" = "x-yes" ; then
4468 aros_warnflags_sign_compare=-Wsign-compare
4469 aros_nowarnflags_sign_compare=-Wno-sign-compare
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4473 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4474 CFLAGS=-Wattributes
4475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h. */
4479 main ()
4483 return 0;
4485 _ACEOF
4486 if ac_fn_c_try_compile "$LINENO"; then :
4487 aros_attributes="yes"
4488 else
4489 aros_attributes="no"
4491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4493 $as_echo "$aros_attributes" >&6; }
4494 if test "x-$aros_attributes" = "x-yes" ; then
4495 aros_warnflags_attributes=-Wattributes
4496 aros_nowarnflags_attributes=-Wno-attributes
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4500 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4501 CFLAGS=-Woverflow
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4506 main ()
4510 return 0;
4512 _ACEOF
4513 if ac_fn_c_try_compile "$LINENO"; then :
4514 aros_overflow="yes"
4515 else
4516 aros_overflow="no"
4518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4520 $as_echo "$aros_overflow" >&6; }
4521 if test "x-$aros_overflow" = "x-yes" ; then
4522 aros_warnflags_overflow=-Woverflow
4523 aros_nowarnflags_overflow=-Wno-overflow
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4527 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4528 CFLAGS=-Wunused-local-typedefs
4529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4530 /* end confdefs.h. */
4533 main ()
4537 return 0;
4539 _ACEOF
4540 if ac_fn_c_try_compile "$LINENO"; then :
4541 aros_unused_local_typedefs="yes"
4542 else
4543 aros_unused_local_typedefs="no"
4545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4547 $as_echo "$aros_unused_local_typedefs" >&6; }
4548 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4549 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4550 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4554 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4555 CFLAGS=-Wmissing-braces
4556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4557 /* end confdefs.h. */
4560 main ()
4564 return 0;
4566 _ACEOF
4567 if ac_fn_c_try_compile "$LINENO"; then :
4568 aros_missing_braces="yes"
4569 else
4570 aros_missing_braces="no"
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4574 $as_echo "$aros_missing_braces" >&6; }
4575 if test "x-$aros_missing_braces" = "x-yes" ; then
4576 aros_warnflags_missing_braces=-Wmissing-braces
4577 aros_nowarnflags_missing_braces=-Wno-missing-braces
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4581 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4582 CFLAGS=-Wconversion-null
4583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4584 /* end confdefs.h. */
4587 main ()
4591 return 0;
4593 _ACEOF
4594 if ac_fn_c_try_compile "$LINENO"; then :
4595 aros_conversion_null="yes"
4596 else
4597 aros_conversion_null="no"
4599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4601 $as_echo "$aros_conversion_null" >&6; }
4602 if test "x-$aros_conversion_null" = "x-yes" ; then
4603 aros_warnflags_conversion_null=-Wconversion-null
4604 aros_nowarnflags_conversion_null=-Wno-conversion-null
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4608 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4609 CFLAGS=-Wnarrowing
4610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4611 /* end confdefs.h. */
4614 main ()
4618 return 0;
4620 _ACEOF
4621 if ac_fn_c_try_compile "$LINENO"; then :
4622 aros_narrowing="yes"
4623 else
4624 aros_narrowing="no"
4626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4628 $as_echo "$aros_narrowing" >&6; }
4629 if test "x-$aros_narrowing" = "x-yes" ; then
4630 aros_warnflags_narrowing=-Wnarrowing
4631 aros_nowarnflags_narrowing=-Wno-narrowing
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4635 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4636 CFLAGS=-Wvolatile-register-var
4637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4638 /* end confdefs.h. */
4641 main ()
4645 return 0;
4647 _ACEOF
4648 if ac_fn_c_try_compile "$LINENO"; then :
4649 aros_volatile_register_var="yes"
4650 else
4651 aros_volatile_register_var="no"
4653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4655 $as_echo "$aros_volatile_register_var" >&6; }
4656 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4657 aros_warnflags_volatile_register_var=-Wvolatile-register-var
4658 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4662 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4663 CFLAGS=-Wsizeof-pointer-memaccess
4664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h. */
4668 main ()
4672 return 0;
4674 _ACEOF
4675 if ac_fn_c_try_compile "$LINENO"; then :
4676 aros_sizeof_pointer_memaccess="yes"
4677 else
4678 aros_sizeof_pointer_memaccess="no"
4680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4682 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4683 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4684 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
4685 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4689 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4690 CFLAGS=-Wreturn-type
4691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4692 /* end confdefs.h. */
4695 main ()
4699 return 0;
4701 _ACEOF
4702 if ac_fn_c_try_compile "$LINENO"; then :
4703 aros_return_type="yes"
4704 else
4705 aros_return_type="no"
4707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4709 $as_echo "$aros_return_type" >&6; }
4710 if test "x-$aros_return_type" = "x-yes" ; then
4711 aros_warnflags_return_type=-Wreturn-type
4712 aros_nowarnflags_return_type=-Wno-return-type
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
4716 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
4717 CFLAGS=-Wformat-zero-length
4718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4719 /* end confdefs.h. */
4722 main ()
4726 return 0;
4728 _ACEOF
4729 if ac_fn_c_try_compile "$LINENO"; then :
4730 aros_format_zero_length="yes"
4731 else
4732 aros_format_zero_length="no"
4734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
4736 $as_echo "$aros_format_zero_length" >&6; }
4737 if test "x-$aros_format_zero_length" = "x-yes" ; then
4738 aros_warnflags_format_zero_length=-Wformat-zero-length
4739 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
4743 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
4744 CFLAGS=-Wlto-type-mismatch
4745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4746 /* end confdefs.h. */
4749 main ()
4753 return 0;
4755 _ACEOF
4756 if ac_fn_c_try_compile "$LINENO"; then :
4757 aros_lto_type_mismatch="yes"
4758 else
4759 aros_lto_type_mismatch="no"
4761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
4763 $as_echo "$aros_lto_type_mismatch" >&6; }
4764 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
4765 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
4766 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
4770 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
4771 CFLAGS=-Wtautological-compare
4772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4776 main ()
4780 return 0;
4782 _ACEOF
4783 if ac_fn_c_try_compile "$LINENO"; then :
4784 aros_tautological_compare="yes"
4785 else
4786 aros_tautological_compare="no"
4788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
4790 $as_echo "$aros_tautological_compare" >&6; }
4791 if test "x-$aros_tautological_compare" = "x-yes" ; then
4792 aros_warnflags_tautological_compare=-Wtautological-compare
4793 aros_nowarnflags_tautological_compare=-Wno-tautological-compare
4797 # export the feature flags...
4819 # export the feature options...
4824 # ...and warning flags...
4947 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
4950 cat >confcache <<\_ACEOF
4951 # This file is a shell script that caches the results of configure
4952 # tests run on this system so they can be shared between configure
4953 # scripts and configure runs, see configure's option --config-cache.
4954 # It is not useful on other systems. If it contains results you don't
4955 # want to keep, you may remove or edit it.
4957 # config.status only pays attention to the cache file if you give it
4958 # the --recheck option to rerun configure.
4960 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4961 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4962 # following values.
4964 _ACEOF
4966 # The following way of writing the cache mishandles newlines in values,
4967 # but we know of no workaround that is simple, portable, and efficient.
4968 # So, we kill variables containing newlines.
4969 # Ultrix sh set writes to stderr and can't be redirected directly,
4970 # and sets the high bit in the cache file unless we assign to the vars.
4972 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4973 eval ac_val=\$$ac_var
4974 case $ac_val in #(
4975 *${as_nl}*)
4976 case $ac_var in #(
4977 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4978 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4979 esac
4980 case $ac_var in #(
4981 _ | IFS | as_nl) ;; #(
4982 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4983 *) { eval $ac_var=; unset $ac_var;} ;;
4984 esac ;;
4985 esac
4986 done
4988 (set) 2>&1 |
4989 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4990 *${as_nl}ac_space=\ *)
4991 # `set' does not quote correctly, so add quotes: double-quote
4992 # substitution turns \\\\ into \\, and sed turns \\ into \.
4993 sed -n \
4994 "s/'/'\\\\''/g;
4995 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4996 ;; #(
4998 # `set' quotes correctly as required by POSIX, so do not add quotes.
4999 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5001 esac |
5002 sort
5004 sed '
5005 /^ac_cv_env_/b end
5006 t clear
5007 :clear
5008 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5009 t end
5010 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5011 :end' >>confcache
5012 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5013 if test -w "$cache_file"; then
5014 if test "x$cache_file" != "x/dev/null"; then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5016 $as_echo "$as_me: updating cache $cache_file" >&6;}
5017 if test ! -f "$cache_file" || test -h "$cache_file"; then
5018 cat confcache >"$cache_file"
5019 else
5020 case $cache_file in #(
5021 */* | ?:*)
5022 mv -f confcache "$cache_file"$$ &&
5023 mv -f "$cache_file"$$ "$cache_file" ;; #(
5025 mv -f confcache "$cache_file" ;;
5026 esac
5029 else
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5031 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5034 rm -f confcache
5036 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5037 # Let make expand exec_prefix.
5038 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5040 # Transform confdefs.h into DEFS.
5041 # Protect against shell expansion while executing Makefile rules.
5042 # Protect against Makefile macro expansion.
5044 # If the first sed substitution is executed (which looks for macros that
5045 # take arguments), then branch to the quote section. Otherwise,
5046 # look for a macro that doesn't take arguments.
5047 ac_script='
5048 :mline
5049 /\\$/{
5051 s,\\\n,,
5052 b mline
5054 t clear
5055 :clear
5056 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5057 t quote
5058 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5059 t quote
5060 b any
5061 :quote
5062 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5063 s/\[/\\&/g
5064 s/\]/\\&/g
5065 s/\$/$$/g
5067 :any
5070 s/^\n//
5071 s/\n/ /g
5075 DEFS=`sed -n "$ac_script" confdefs.h`
5078 ac_libobjs=
5079 ac_ltlibobjs=
5081 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5082 # 1. Remove the extension, and $U if already installed.
5083 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5084 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5085 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5086 # will be set to the directory where LIBOBJS objects are built.
5087 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5088 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5089 done
5090 LIBOBJS=$ac_libobjs
5092 LTLIBOBJS=$ac_ltlibobjs
5096 : "${CONFIG_STATUS=./config.status}"
5097 ac_write_fail=0
5098 ac_clean_files_save=$ac_clean_files
5099 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5101 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5102 as_write_fail=0
5103 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5104 #! $SHELL
5105 # Generated by $as_me.
5106 # Run this file to recreate the current configuration.
5107 # Compiler output produced by configure, useful for debugging
5108 # configure, is in config.log if it exists.
5110 debug=false
5111 ac_cs_recheck=false
5112 ac_cs_silent=false
5114 SHELL=\${CONFIG_SHELL-$SHELL}
5115 export SHELL
5116 _ASEOF
5117 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5118 ## -------------------- ##
5119 ## M4sh Initialization. ##
5120 ## -------------------- ##
5122 # Be more Bourne compatible
5123 DUALCASE=1; export DUALCASE # for MKS sh
5124 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5125 emulate sh
5126 NULLCMD=:
5127 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5128 # is contrary to our usage. Disable this feature.
5129 alias -g '${1+"$@"}'='"$@"'
5130 setopt NO_GLOB_SUBST
5131 else
5132 case `(set -o) 2>/dev/null` in #(
5133 *posix*) :
5134 set -o posix ;; #(
5135 *) :
5137 esac
5141 as_nl='
5143 export as_nl
5144 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5145 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5146 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5147 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5148 # Prefer a ksh shell builtin over an external printf program on Solaris,
5149 # but without wasting forks for bash or zsh.
5150 if test -z "$BASH_VERSION$ZSH_VERSION" \
5151 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5152 as_echo='print -r --'
5153 as_echo_n='print -rn --'
5154 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5155 as_echo='printf %s\n'
5156 as_echo_n='printf %s'
5157 else
5158 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5159 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5160 as_echo_n='/usr/ucb/echo -n'
5161 else
5162 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5163 as_echo_n_body='eval
5164 arg=$1;
5165 case $arg in #(
5166 *"$as_nl"*)
5167 expr "X$arg" : "X\\(.*\\)$as_nl";
5168 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5169 esac;
5170 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5172 export as_echo_n_body
5173 as_echo_n='sh -c $as_echo_n_body as_echo'
5175 export as_echo_body
5176 as_echo='sh -c $as_echo_body as_echo'
5179 # The user is always right.
5180 if test "${PATH_SEPARATOR+set}" != set; then
5181 PATH_SEPARATOR=:
5182 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5183 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5184 PATH_SEPARATOR=';'
5189 # IFS
5190 # We need space, tab and new line, in precisely that order. Quoting is
5191 # there to prevent editors from complaining about space-tab.
5192 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5193 # splitting by setting IFS to empty value.)
5194 IFS=" "" $as_nl"
5196 # Find who we are. Look in the path if we contain no directory separator.
5197 as_myself=
5198 case $0 in #((
5199 *[\\/]* ) as_myself=$0 ;;
5200 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5201 for as_dir in $PATH
5203 IFS=$as_save_IFS
5204 test -z "$as_dir" && as_dir=.
5205 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5206 done
5207 IFS=$as_save_IFS
5210 esac
5211 # We did not find ourselves, most probably we were run as `sh COMMAND'
5212 # in which case we are not to be found in the path.
5213 if test "x$as_myself" = x; then
5214 as_myself=$0
5216 if test ! -f "$as_myself"; then
5217 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5218 exit 1
5221 # Unset variables that we do not need and which cause bugs (e.g. in
5222 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5223 # suppresses any "Segmentation fault" message there. '((' could
5224 # trigger a bug in pdksh 5.2.14.
5225 for as_var in BASH_ENV ENV MAIL MAILPATH
5226 do eval test x\${$as_var+set} = xset \
5227 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5228 done
5229 PS1='$ '
5230 PS2='> '
5231 PS4='+ '
5233 # NLS nuisances.
5234 LC_ALL=C
5235 export LC_ALL
5236 LANGUAGE=C
5237 export LANGUAGE
5239 # CDPATH.
5240 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5243 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5244 # ----------------------------------------
5245 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5246 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5247 # script with STATUS, using 1 if that was 0.
5248 as_fn_error ()
5250 as_status=$1; test $as_status -eq 0 && as_status=1
5251 if test "$4"; then
5252 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5253 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5255 $as_echo "$as_me: error: $2" >&2
5256 as_fn_exit $as_status
5257 } # as_fn_error
5260 # as_fn_set_status STATUS
5261 # -----------------------
5262 # Set $? to STATUS, without forking.
5263 as_fn_set_status ()
5265 return $1
5266 } # as_fn_set_status
5268 # as_fn_exit STATUS
5269 # -----------------
5270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5271 as_fn_exit ()
5273 set +e
5274 as_fn_set_status $1
5275 exit $1
5276 } # as_fn_exit
5278 # as_fn_unset VAR
5279 # ---------------
5280 # Portably unset VAR.
5281 as_fn_unset ()
5283 { eval $1=; unset $1;}
5285 as_unset=as_fn_unset
5286 # as_fn_append VAR VALUE
5287 # ----------------------
5288 # Append the text in VALUE to the end of the definition contained in VAR. Take
5289 # advantage of any shell optimizations that allow amortized linear growth over
5290 # repeated appends, instead of the typical quadratic growth present in naive
5291 # implementations.
5292 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5293 eval 'as_fn_append ()
5295 eval $1+=\$2
5297 else
5298 as_fn_append ()
5300 eval $1=\$$1\$2
5302 fi # as_fn_append
5304 # as_fn_arith ARG...
5305 # ------------------
5306 # Perform arithmetic evaluation on the ARGs, and store the result in the
5307 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5308 # must be portable across $(()) and expr.
5309 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5310 eval 'as_fn_arith ()
5312 as_val=$(( $* ))
5314 else
5315 as_fn_arith ()
5317 as_val=`expr "$@" || test $? -eq 1`
5319 fi # as_fn_arith
5322 if expr a : '\(a\)' >/dev/null 2>&1 &&
5323 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5324 as_expr=expr
5325 else
5326 as_expr=false
5329 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5330 as_basename=basename
5331 else
5332 as_basename=false
5335 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5336 as_dirname=dirname
5337 else
5338 as_dirname=false
5341 as_me=`$as_basename -- "$0" ||
5342 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5343 X"$0" : 'X\(//\)$' \| \
5344 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5345 $as_echo X/"$0" |
5346 sed '/^.*\/\([^/][^/]*\)\/*$/{
5347 s//\1/
5350 /^X\/\(\/\/\)$/{
5351 s//\1/
5354 /^X\/\(\/\).*/{
5355 s//\1/
5358 s/.*/./; q'`
5360 # Avoid depending upon Character Ranges.
5361 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5362 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5363 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5364 as_cr_digits='0123456789'
5365 as_cr_alnum=$as_cr_Letters$as_cr_digits
5367 ECHO_C= ECHO_N= ECHO_T=
5368 case `echo -n x` in #(((((
5369 -n*)
5370 case `echo 'xy\c'` in
5371 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5372 xy) ECHO_C='\c';;
5373 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5374 ECHO_T=' ';;
5375 esac;;
5377 ECHO_N='-n';;
5378 esac
5380 rm -f conf$$ conf$$.exe conf$$.file
5381 if test -d conf$$.dir; then
5382 rm -f conf$$.dir/conf$$.file
5383 else
5384 rm -f conf$$.dir
5385 mkdir conf$$.dir 2>/dev/null
5387 if (echo >conf$$.file) 2>/dev/null; then
5388 if ln -s conf$$.file conf$$ 2>/dev/null; then
5389 as_ln_s='ln -s'
5390 # ... but there are two gotchas:
5391 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5392 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5393 # In both cases, we have to default to `cp -pR'.
5394 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5395 as_ln_s='cp -pR'
5396 elif ln conf$$.file conf$$ 2>/dev/null; then
5397 as_ln_s=ln
5398 else
5399 as_ln_s='cp -pR'
5401 else
5402 as_ln_s='cp -pR'
5404 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5405 rmdir conf$$.dir 2>/dev/null
5408 # as_fn_mkdir_p
5409 # -------------
5410 # Create "$as_dir" as a directory, including parents if necessary.
5411 as_fn_mkdir_p ()
5414 case $as_dir in #(
5415 -*) as_dir=./$as_dir;;
5416 esac
5417 test -d "$as_dir" || eval $as_mkdir_p || {
5418 as_dirs=
5419 while :; do
5420 case $as_dir in #(
5421 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5422 *) as_qdir=$as_dir;;
5423 esac
5424 as_dirs="'$as_qdir' $as_dirs"
5425 as_dir=`$as_dirname -- "$as_dir" ||
5426 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5427 X"$as_dir" : 'X\(//\)[^/]' \| \
5428 X"$as_dir" : 'X\(//\)$' \| \
5429 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5430 $as_echo X"$as_dir" |
5431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5432 s//\1/
5435 /^X\(\/\/\)[^/].*/{
5436 s//\1/
5439 /^X\(\/\/\)$/{
5440 s//\1/
5443 /^X\(\/\).*/{
5444 s//\1/
5447 s/.*/./; q'`
5448 test -d "$as_dir" && break
5449 done
5450 test -z "$as_dirs" || eval "mkdir $as_dirs"
5451 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5454 } # as_fn_mkdir_p
5455 if mkdir -p . 2>/dev/null; then
5456 as_mkdir_p='mkdir -p "$as_dir"'
5457 else
5458 test -d ./-p && rmdir ./-p
5459 as_mkdir_p=false
5463 # as_fn_executable_p FILE
5464 # -----------------------
5465 # Test if FILE is an executable regular file.
5466 as_fn_executable_p ()
5468 test -f "$1" && test -x "$1"
5469 } # as_fn_executable_p
5470 as_test_x='test -x'
5471 as_executable_p=as_fn_executable_p
5473 # Sed expression to map a string onto a valid CPP name.
5474 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5476 # Sed expression to map a string onto a valid variable name.
5477 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5480 exec 6>&1
5481 ## ----------------------------------- ##
5482 ## Main body of $CONFIG_STATUS script. ##
5483 ## ----------------------------------- ##
5484 _ASEOF
5485 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5488 # Save the log message, to keep $0 and so on meaningful, and to
5489 # report actual input values of CONFIG_FILES etc. instead of their
5490 # values after options handling.
5491 ac_log="
5492 This file was extended by $as_me, which was
5493 generated by GNU Autoconf 2.69. Invocation command line was
5495 CONFIG_FILES = $CONFIG_FILES
5496 CONFIG_HEADERS = $CONFIG_HEADERS
5497 CONFIG_LINKS = $CONFIG_LINKS
5498 CONFIG_COMMANDS = $CONFIG_COMMANDS
5499 $ $0 $@
5501 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5504 _ACEOF
5506 case $ac_config_files in *"
5507 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5508 esac
5512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5513 # Files that config.status was made for.
5514 config_files="$ac_config_files"
5516 _ACEOF
5518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5519 ac_cs_usage="\
5520 \`$as_me' instantiates files and other configuration actions
5521 from templates according to the current configuration. Unless the files
5522 and actions are specified as TAGs, all are instantiated by default.
5524 Usage: $0 [OPTION]... [TAG]...
5526 -h, --help print this help, then exit
5527 -V, --version print version number and configuration settings, then exit
5528 --config print configuration, then exit
5529 -q, --quiet, --silent
5530 do not print progress messages
5531 -d, --debug don't remove temporary files
5532 --recheck update $as_me by reconfiguring in the same conditions
5533 --file=FILE[:TEMPLATE]
5534 instantiate the configuration file FILE
5536 Configuration files:
5537 $config_files
5539 Report bugs to the package provider."
5541 _ACEOF
5542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5543 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5544 ac_cs_version="\\
5545 config.status
5546 configured by $0, generated by GNU Autoconf 2.69,
5547 with options \\"\$ac_cs_config\\"
5549 Copyright (C) 2012 Free Software Foundation, Inc.
5550 This config.status script is free software; the Free Software Foundation
5551 gives unlimited permission to copy, distribute and modify it."
5553 ac_pwd='$ac_pwd'
5554 srcdir='$srcdir'
5555 test -n "\$AWK" || AWK=awk
5556 _ACEOF
5558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5559 # The default lists apply if the user does not specify any file.
5560 ac_need_defaults=:
5561 while test $# != 0
5563 case $1 in
5564 --*=?*)
5565 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5566 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5567 ac_shift=:
5569 --*=)
5570 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5571 ac_optarg=
5572 ac_shift=:
5575 ac_option=$1
5576 ac_optarg=$2
5577 ac_shift=shift
5579 esac
5581 case $ac_option in
5582 # Handling of the options.
5583 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5584 ac_cs_recheck=: ;;
5585 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5586 $as_echo "$ac_cs_version"; exit ;;
5587 --config | --confi | --conf | --con | --co | --c )
5588 $as_echo "$ac_cs_config"; exit ;;
5589 --debug | --debu | --deb | --de | --d | -d )
5590 debug=: ;;
5591 --file | --fil | --fi | --f )
5592 $ac_shift
5593 case $ac_optarg in
5594 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5595 '') as_fn_error $? "missing file argument" ;;
5596 esac
5597 as_fn_append CONFIG_FILES " '$ac_optarg'"
5598 ac_need_defaults=false;;
5599 --he | --h | --help | --hel | -h )
5600 $as_echo "$ac_cs_usage"; exit ;;
5601 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5602 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5603 ac_cs_silent=: ;;
5605 # This is an error.
5606 -*) as_fn_error $? "unrecognized option: \`$1'
5607 Try \`$0 --help' for more information." ;;
5609 *) as_fn_append ac_config_targets " $1"
5610 ac_need_defaults=false ;;
5612 esac
5613 shift
5614 done
5616 ac_configure_extra_args=
5618 if $ac_cs_silent; then
5619 exec 6>/dev/null
5620 ac_configure_extra_args="$ac_configure_extra_args --silent"
5623 _ACEOF
5624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5625 if \$ac_cs_recheck; then
5626 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5627 shift
5628 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5629 CONFIG_SHELL='$SHELL'
5630 export CONFIG_SHELL
5631 exec "\$@"
5634 _ACEOF
5635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5636 exec 5>>config.log
5638 echo
5639 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5640 ## Running $as_me. ##
5641 _ASBOX
5642 $as_echo "$ac_log"
5643 } >&5
5645 _ACEOF
5646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5647 _ACEOF
5649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5651 # Handling of arguments.
5652 for ac_config_target in $ac_config_targets
5654 case $ac_config_target in
5655 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5657 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5658 esac
5659 done
5662 # If the user did not use the arguments to specify the items to instantiate,
5663 # then the envvar interface is used. Set only those that are not.
5664 # We use the long form for the default assignment because of an extremely
5665 # bizarre bug on SunOS 4.1.3.
5666 if $ac_need_defaults; then
5667 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5670 # Have a temporary directory for convenience. Make it in the build tree
5671 # simply because there is no reason against having it here, and in addition,
5672 # creating and moving files from /tmp can sometimes cause problems.
5673 # Hook for its removal unless debugging.
5674 # Note that there is a small window in which the directory will not be cleaned:
5675 # after its creation but before its name has been assigned to `$tmp'.
5676 $debug ||
5678 tmp= ac_tmp=
5679 trap 'exit_status=$?
5680 : "${ac_tmp:=$tmp}"
5681 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5683 trap 'as_fn_exit 1' 1 2 13 15
5685 # Create a (secure) tmp directory for tmp files.
5688 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5689 test -d "$tmp"
5690 } ||
5692 tmp=./conf$$-$RANDOM
5693 (umask 077 && mkdir "$tmp")
5694 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5695 ac_tmp=$tmp
5697 # Set up the scripts for CONFIG_FILES section.
5698 # No need to generate them if there are no CONFIG_FILES.
5699 # This happens for instance with `./config.status config.h'.
5700 if test -n "$CONFIG_FILES"; then
5703 ac_cr=`echo X | tr X '\015'`
5704 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5705 # But we know of no other shell where ac_cr would be empty at this
5706 # point, so we can use a bashism as a fallback.
5707 if test "x$ac_cr" = x; then
5708 eval ac_cr=\$\'\\r\'
5710 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5711 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5712 ac_cs_awk_cr='\\r'
5713 else
5714 ac_cs_awk_cr=$ac_cr
5717 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5718 _ACEOF
5722 echo "cat >conf$$subs.awk <<_ACEOF" &&
5723 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5724 echo "_ACEOF"
5725 } >conf$$subs.sh ||
5726 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5727 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5728 ac_delim='%!_!# '
5729 for ac_last_try in false false false false false :; do
5730 . ./conf$$subs.sh ||
5731 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5733 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5734 if test $ac_delim_n = $ac_delim_num; then
5735 break
5736 elif $ac_last_try; then
5737 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5738 else
5739 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5741 done
5742 rm -f conf$$subs.sh
5744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5745 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5746 _ACEOF
5747 sed -n '
5749 s/^/S["/; s/!.*/"]=/
5752 s/^[^!]*!//
5753 :repl
5754 t repl
5755 s/'"$ac_delim"'$//
5756 t delim
5759 s/\(.\{148\}\)..*/\1/
5760 t more1
5761 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5764 b repl
5765 :more1
5766 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5769 s/.\{148\}//
5770 t nl
5771 :delim
5773 s/\(.\{148\}\)..*/\1/
5774 t more2
5775 s/["\\]/\\&/g; s/^/"/; s/$/"/
5778 :more2
5779 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5782 s/.\{148\}//
5783 t delim
5784 ' <conf$$subs.awk | sed '
5785 /^[^""]/{
5787 s/\n//
5789 ' >>$CONFIG_STATUS || ac_write_fail=1
5790 rm -f conf$$subs.awk
5791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5792 _ACAWK
5793 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5794 for (key in S) S_is_set[key] = 1
5795 FS = "\a"
5799 line = $ 0
5800 nfields = split(line, field, "@")
5801 substed = 0
5802 len = length(field[1])
5803 for (i = 2; i < nfields; i++) {
5804 key = field[i]
5805 keylen = length(key)
5806 if (S_is_set[key]) {
5807 value = S[key]
5808 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5809 len += length(value) + length(field[++i])
5810 substed = 1
5811 } else
5812 len += 1 + keylen
5815 print line
5818 _ACAWK
5819 _ACEOF
5820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5821 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5822 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5823 else
5825 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5826 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5827 _ACEOF
5829 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5830 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5831 # trailing colons and then remove the whole line if VPATH becomes empty
5832 # (actually we leave an empty line to preserve line numbers).
5833 if test "x$srcdir" = x.; then
5834 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5836 s///
5837 s/^/:/
5838 s/[ ]*$/:/
5839 s/:\$(srcdir):/:/g
5840 s/:\${srcdir}:/:/g
5841 s/:@srcdir@:/:/g
5842 s/^:*//
5843 s/:*$//
5845 s/\(=[ ]*\).*/\1/
5847 s/\n//
5848 s/^[^=]*=[ ]*$//
5852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5853 fi # test -n "$CONFIG_FILES"
5856 eval set X " :F $CONFIG_FILES "
5857 shift
5858 for ac_tag
5860 case $ac_tag in
5861 :[FHLC]) ac_mode=$ac_tag; continue;;
5862 esac
5863 case $ac_mode$ac_tag in
5864 :[FHL]*:*);;
5865 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5866 :[FH]-) ac_tag=-:-;;
5867 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5868 esac
5869 ac_save_IFS=$IFS
5870 IFS=:
5871 set x $ac_tag
5872 IFS=$ac_save_IFS
5873 shift
5874 ac_file=$1
5875 shift
5877 case $ac_mode in
5878 :L) ac_source=$1;;
5879 :[FH])
5880 ac_file_inputs=
5881 for ac_f
5883 case $ac_f in
5884 -) ac_f="$ac_tmp/stdin";;
5885 *) # Look for the file first in the build tree, then in the source tree
5886 # (if the path is not absolute). The absolute path cannot be DOS-style,
5887 # because $ac_f cannot contain `:'.
5888 test -f "$ac_f" ||
5889 case $ac_f in
5890 [\\/$]*) false;;
5891 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5892 esac ||
5893 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5894 esac
5895 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5896 as_fn_append ac_file_inputs " '$ac_f'"
5897 done
5899 # Let's still pretend it is `configure' which instantiates (i.e., don't
5900 # use $as_me), people would be surprised to read:
5901 # /* config.h. Generated by config.status. */
5902 configure_input='Generated from '`
5903 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5904 `' by configure.'
5905 if test x"$ac_file" != x-; then
5906 configure_input="$ac_file. $configure_input"
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5908 $as_echo "$as_me: creating $ac_file" >&6;}
5910 # Neutralize special characters interpreted by sed in replacement strings.
5911 case $configure_input in #(
5912 *\&* | *\|* | *\\* )
5913 ac_sed_conf_input=`$as_echo "$configure_input" |
5914 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5915 *) ac_sed_conf_input=$configure_input;;
5916 esac
5918 case $ac_tag in
5919 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5920 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5921 esac
5923 esac
5925 ac_dir=`$as_dirname -- "$ac_file" ||
5926 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5927 X"$ac_file" : 'X\(//\)[^/]' \| \
5928 X"$ac_file" : 'X\(//\)$' \| \
5929 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5930 $as_echo X"$ac_file" |
5931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5932 s//\1/
5935 /^X\(\/\/\)[^/].*/{
5936 s//\1/
5939 /^X\(\/\/\)$/{
5940 s//\1/
5943 /^X\(\/\).*/{
5944 s//\1/
5947 s/.*/./; q'`
5948 as_dir="$ac_dir"; as_fn_mkdir_p
5949 ac_builddir=.
5951 case "$ac_dir" in
5952 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5954 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5955 # A ".." for each directory in $ac_dir_suffix.
5956 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5957 case $ac_top_builddir_sub in
5958 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5959 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5960 esac ;;
5961 esac
5962 ac_abs_top_builddir=$ac_pwd
5963 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5964 # for backward compatibility:
5965 ac_top_builddir=$ac_top_build_prefix
5967 case $srcdir in
5968 .) # We are building in place.
5969 ac_srcdir=.
5970 ac_top_srcdir=$ac_top_builddir_sub
5971 ac_abs_top_srcdir=$ac_pwd ;;
5972 [\\/]* | ?:[\\/]* ) # Absolute name.
5973 ac_srcdir=$srcdir$ac_dir_suffix;
5974 ac_top_srcdir=$srcdir
5975 ac_abs_top_srcdir=$srcdir ;;
5976 *) # Relative name.
5977 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5978 ac_top_srcdir=$ac_top_build_prefix$srcdir
5979 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5980 esac
5981 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5984 case $ac_mode in
5987 # CONFIG_FILE
5990 _ACEOF
5992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5993 # If the template does not know about datarootdir, expand it.
5994 # FIXME: This hack should be removed a few years after 2.60.
5995 ac_datarootdir_hack=; ac_datarootdir_seen=
5996 ac_sed_dataroot='
5997 /datarootdir/ {
6001 /@datadir@/p
6002 /@docdir@/p
6003 /@infodir@/p
6004 /@localedir@/p
6005 /@mandir@/p'
6006 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6007 *datarootdir*) ac_datarootdir_seen=yes;;
6008 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6010 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6011 _ACEOF
6012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6013 ac_datarootdir_hack='
6014 s&@datadir@&$datadir&g
6015 s&@docdir@&$docdir&g
6016 s&@infodir@&$infodir&g
6017 s&@localedir@&$localedir&g
6018 s&@mandir@&$mandir&g
6019 s&\\\${datarootdir}&$datarootdir&g' ;;
6020 esac
6021 _ACEOF
6023 # Neutralize VPATH when `$srcdir' = `.'.
6024 # Shell code in configure.ac might set extrasub.
6025 # FIXME: do we really want to maintain this feature?
6026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6027 ac_sed_extra="$ac_vpsub
6028 $extrasub
6029 _ACEOF
6030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6032 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6033 s|@configure_input@|$ac_sed_conf_input|;t t
6034 s&@top_builddir@&$ac_top_builddir_sub&;t t
6035 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6036 s&@srcdir@&$ac_srcdir&;t t
6037 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6038 s&@top_srcdir@&$ac_top_srcdir&;t t
6039 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6040 s&@builddir@&$ac_builddir&;t t
6041 s&@abs_builddir@&$ac_abs_builddir&;t t
6042 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6043 $ac_datarootdir_hack
6045 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6046 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6048 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6049 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6050 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6051 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6053 which seems to be undefined. Please make sure it is defined" >&5
6054 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6055 which seems to be undefined. Please make sure it is defined" >&2;}
6057 rm -f "$ac_tmp/stdin"
6058 case $ac_file in
6059 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6060 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6061 esac \
6062 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6067 esac
6069 done # for ac_tag
6072 as_fn_exit 0
6073 _ACEOF
6074 ac_clean_files=$ac_clean_files_save
6076 test $ac_write_fail = 0 ||
6077 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6080 # configure is writing to config.log, and then calls config.status.
6081 # config.status does its own redirection, appending to config.log.
6082 # Unfortunately, on DOS this fails, as config.log is still kept open
6083 # by configure, so config.status won't be able to write to it; its
6084 # output is simply discarded. So we exec the FD to /dev/null,
6085 # effectively closing config.log, so it can be properly (re)opened and
6086 # appended to by config.status. When coming back to configure, we
6087 # need to make the FD available again.
6088 if test "$no_create" != yes; then
6089 ac_cs_success=:
6090 ac_config_status_args=
6091 test "$silent" = yes &&
6092 ac_config_status_args="$ac_config_status_args --quiet"
6093 exec 5>/dev/null
6094 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6095 exec 5>>config.log
6096 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6097 # would make configure fail if this is the last instruction.
6098 $ac_cs_success || as_fn_exit 1
6100 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6102 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}