export the kernel cpp flags
[AROS.git] / config / features
blob462be02670b665cd91b923b9d946440fe439edb0
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_format_truncation
588 aros_warnflags_format_truncation
589 aros_nowarnflags_stringop_overflow
590 aros_warnflags_stringop_overflow
591 aros_nowarnflags_empty_body
592 aros_warnflags_empty_body
593 aros_nowarnflags_tautological_compare
594 aros_warnflags_tautological_compare
595 aros_nowarnflags_lto_type_mismatch
596 aros_warnflags_lto_type_mismatch
597 aros_nowarnflags_format_zero_length
598 aros_warnflags_format_zero_length
599 aros_nowarnflags_return_type
600 aros_warnflags_return_type
601 aros_nowarnflags_sizeof_pointer_memaccess
602 aros_warnflags_sizeof_pointer_memaccess
603 aros_nowarnflags_volatile_register_var
604 aros_warnflags_volatile_register_var
605 aros_nowarnflags_narrowing
606 aros_warnflags_narrowing
607 aros_nowarnflags_conversion_null
608 aros_warnflags_conversion_null
609 aros_nowarnflags_missing_braces
610 aros_warnflags_missing_braces
611 aros_nowarnflags_unused_local_typedefs
612 aros_warnflags_unused_local_typedefs
613 aros_nowarnflags_overflow
614 aros_warnflags_overflow
615 aros_nowarnflags_attributes
616 aros_warnflags_attributes
617 aros_nowarnflags_sign_compare
618 aros_warnflags_sign_compare
619 aros_nowarnflags_deprecated_declarations
620 aros_warnflags_deprecated_declarations
621 aros_nowarnflags_frame_address
622 aros_warnflags_frame_address
623 aros_nowarnflags_shift_overflow
624 aros_warnflags_shift_overflow
625 aros_nowarnflags_pointer_sign
626 aros_warnflags_pointer_sign
627 aros_nowarnflags_logical_not_parentheses
628 aros_warnflags_logical_not_parentheses
629 aros_nowarnflags_bool_compare
630 aros_warnflags_bool_compare
631 aros_nowarnflags_incompatible_pointer_types
632 aros_warnflags_incompatible_pointer_types
633 aros_nowarnflags_comment
634 aros_warnflags_comment
635 aros_nowarnflags_write_strings
636 aros_warnflags_write_strings
637 aros_nowarnflags_unused_const_variable
638 aros_warnflags_unused_const_variable
639 aros_nowarnflags_pointer_to_int_cast
640 aros_warnflags_pointer_to_int_cast
641 aros_nowarnflags_int_to_pointer_cast
642 aros_warnflags_int_to_pointer_cast
643 aros_nowarnflags_int_conversion
644 aros_warnflags_int_conversion
645 aros_nowarnflags_discarded_array_qualifiers
646 aros_warnflags_discarded_array_qualifiers
647 aros_nowarnflags_unknown_pragmas
648 aros_warnflags_unknown_pragmas
649 aros_nowarnflags_sequence_point
650 aros_warnflags_sequence_point
651 aros_nowarnflags_discarded_qualifiers
652 aros_warnflags_discarded_qualifiers
653 aros_nowarnflags_switch
654 aros_warnflags_switch
655 aros_nowarnflags_cpp
656 aros_warnflags_cpp
657 aros_nowarnflags_aggressive_loop_optimizations
658 aros_warnflags_aggressive_loop_optimizations
659 aros_nowarnflags_implicit_int
660 aros_warnflags_implicit_int
661 aros_nowarnflags_format_contains_nul
662 aros_warnflags_format_contains_nul
663 aros_nowarnflags_endif_labels
664 aros_warnflags_endif_labels
665 aros_nowarnflags_char_subscripts
666 aros_warnflags_char_subscripts
667 aros_nowarnflags_parentheses
668 aros_warnflags_parentheses
669 aros_nowarnflags_format
670 aros_warnflags_format
671 aros_nowarnflags_implicit_function_declaration
672 aros_warnflags_implicit_function_declaration
673 aros_nowarnflags_maybe_uninitialized
674 aros_warnflags_maybe_uninitialized
675 aros_nowarnflags_uninitialized
676 aros_warnflags_uninitialized
677 aros_nowarnflags_unused_parameter
678 aros_warnflags_unused_parameter
679 aros_nowarnflags_unused_function
680 aros_warnflags_unused_function
681 aros_nowarnflags_unused_variable
682 aros_warnflags_unused_variable
683 aros_nowarnflags_unused_value
684 aros_warnflags_unused_value
685 aros_nowarnflags_unused_label
686 aros_warnflags_unused_label
687 aros_nowarnflags_unused
688 aros_warnflags_unused
689 aros_nowarnflags_nonnull_compare
690 aros_warnflags_nonnull_compare
691 aros_nowarnflags_misleading_indentation
692 aros_warnflags_misleading_indentation
693 aros_nowarnflags_format_security
694 aros_warnflags_format_security
695 aros_nowarnflags_strict_overflow
696 aros_warnflags_strict_overflow
697 aros_nowarnflags_strict_prototypes
698 aros_warnflags_strict_prototypes
699 aros_nowarnflags_enum_compare
700 aros_warnflags_enum_compare
701 aros_nowarnflags_array_bounds
702 aros_warnflags_array_bounds
703 aros_nowarnflags_strict_aliasing
704 aros_warnflags_strict_aliasing
705 aros_nowarnflags_unused_but_set_variable
706 aros_warnflags_unused_but_set_variable
707 aros_nowarnflags_unknown_warning_option
708 aros_warnflags_unknown_warning_option
709 aros_nowarnflags_unused_command_line_argument
710 aros_warnflags_unused_command_line_argument
711 aros_nowarnflags_error
712 aros_warnflags_error
713 aros_cflags_no_red_zone
714 aros_cflags_iquote_end
715 aros_cflags_iquote
716 aros_cflags_noipacp
717 aros_cflags_ipacp
718 aros_cflags_noinlinesmallfunctions
719 aros_cflags_inlinesmallfunctions
720 aros_cflags_nostrictaliasing
721 aros_cflags_strictaliasing
722 aros_cflags_unroll_loops
723 aros_cflags_peel_loops
724 aros_cflags_loop_strip_mine
725 aros_cflags_loop_interchange
726 aros_cflags_loop_block
727 aros_cflags_whole_program
728 aros_cflags_nolto
729 aros_cflags_lto
730 aros_cflags_no_builtin_floor
731 aros_cflags_fast_math
732 aros_cflags_permissive
733 aros_cflags_exceptions
734 OBJEXT
735 EXEEXT
736 ac_ct_CC
737 CPPFLAGS
738 LDFLAGS
739 CFLAGS
741 target_alias
742 host_alias
743 build_alias
744 LIBS
745 ECHO_T
746 ECHO_N
747 ECHO_C
748 DEFS
749 mandir
750 localedir
751 libdir
752 psdir
753 pdfdir
754 dvidir
755 htmldir
756 infodir
757 docdir
758 oldincludedir
759 includedir
760 localstatedir
761 sharedstatedir
762 sysconfdir
763 datadir
764 datarootdir
765 libexecdir
766 sbindir
767 bindir
768 program_transform_name
769 prefix
770 exec_prefix
771 PACKAGE_URL
772 PACKAGE_BUGREPORT
773 PACKAGE_STRING
774 PACKAGE_VERSION
775 PACKAGE_TARNAME
776 PACKAGE_NAME
777 PATH_SEPARATOR
778 SHELL'
779 ac_subst_files=''
780 ac_user_opts='
781 enable_option_checking
782 with_config_dir
784 ac_precious_vars='build_alias
785 host_alias
786 target_alias
788 CFLAGS
789 LDFLAGS
790 LIBS
791 CPPFLAGS'
794 # Initialize some variables set by options.
795 ac_init_help=
796 ac_init_version=false
797 ac_unrecognized_opts=
798 ac_unrecognized_sep=
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
801 cache_file=/dev/null
802 exec_prefix=NONE
803 no_create=
804 no_recursion=
805 prefix=NONE
806 program_prefix=NONE
807 program_suffix=NONE
808 program_transform_name=s,x,x,
809 silent=
810 site=
811 srcdir=
812 verbose=
813 x_includes=NONE
814 x_libraries=NONE
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir='${exec_prefix}/bin'
823 sbindir='${exec_prefix}/sbin'
824 libexecdir='${exec_prefix}/libexec'
825 datarootdir='${prefix}/share'
826 datadir='${datarootdir}'
827 sysconfdir='${prefix}/etc'
828 sharedstatedir='${prefix}/com'
829 localstatedir='${prefix}/var'
830 includedir='${prefix}/include'
831 oldincludedir='/usr/include'
832 docdir='${datarootdir}/doc/${PACKAGE}'
833 infodir='${datarootdir}/info'
834 htmldir='${docdir}'
835 dvidir='${docdir}'
836 pdfdir='${docdir}'
837 psdir='${docdir}'
838 libdir='${exec_prefix}/lib'
839 localedir='${datarootdir}/locale'
840 mandir='${datarootdir}/man'
842 ac_prev=
843 ac_dashdash=
844 for ac_option
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\$ac_option
849 ac_prev=
850 continue
853 case $ac_option in
854 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 *=) ac_optarg= ;;
856 *) ac_optarg=yes ;;
857 esac
859 # Accept the important Cygnus configure options, so we can diagnose typos.
861 case $ac_dashdash$ac_option in
863 ac_dashdash=yes ;;
865 -bindir | --bindir | --bindi | --bind | --bin | --bi)
866 ac_prev=bindir ;;
867 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
868 bindir=$ac_optarg ;;
870 -build | --build | --buil | --bui | --bu)
871 ac_prev=build_alias ;;
872 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
873 build_alias=$ac_optarg ;;
875 -cache-file | --cache-file | --cache-fil | --cache-fi \
876 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
877 ac_prev=cache_file ;;
878 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
879 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
880 cache_file=$ac_optarg ;;
882 --config-cache | -C)
883 cache_file=config.cache ;;
885 -datadir | --datadir | --datadi | --datad)
886 ac_prev=datadir ;;
887 -datadir=* | --datadir=* | --datadi=* | --datad=*)
888 datadir=$ac_optarg ;;
890 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
891 | --dataroo | --dataro | --datar)
892 ac_prev=datarootdir ;;
893 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
894 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
895 datarootdir=$ac_optarg ;;
897 -disable-* | --disable-*)
898 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
899 # Reject names that are not valid shell variable names.
900 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
901 as_fn_error $? "invalid feature name: $ac_useropt"
902 ac_useropt_orig=$ac_useropt
903 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
904 case $ac_user_opts in
906 "enable_$ac_useropt"
907 "*) ;;
908 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
909 ac_unrecognized_sep=', ';;
910 esac
911 eval enable_$ac_useropt=no ;;
913 -docdir | --docdir | --docdi | --doc | --do)
914 ac_prev=docdir ;;
915 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
916 docdir=$ac_optarg ;;
918 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
919 ac_prev=dvidir ;;
920 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
921 dvidir=$ac_optarg ;;
923 -enable-* | --enable-*)
924 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
925 # Reject names that are not valid shell variable names.
926 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
927 as_fn_error $? "invalid feature name: $ac_useropt"
928 ac_useropt_orig=$ac_useropt
929 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
930 case $ac_user_opts in
932 "enable_$ac_useropt"
933 "*) ;;
934 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
935 ac_unrecognized_sep=', ';;
936 esac
937 eval enable_$ac_useropt=\$ac_optarg ;;
939 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
940 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
941 | --exec | --exe | --ex)
942 ac_prev=exec_prefix ;;
943 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
944 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
945 | --exec=* | --exe=* | --ex=*)
946 exec_prefix=$ac_optarg ;;
948 -gas | --gas | --ga | --g)
949 # Obsolete; use --with-gas.
950 with_gas=yes ;;
952 -help | --help | --hel | --he | -h)
953 ac_init_help=long ;;
954 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
955 ac_init_help=recursive ;;
956 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
957 ac_init_help=short ;;
959 -host | --host | --hos | --ho)
960 ac_prev=host_alias ;;
961 -host=* | --host=* | --hos=* | --ho=*)
962 host_alias=$ac_optarg ;;
964 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
965 ac_prev=htmldir ;;
966 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
967 | --ht=*)
968 htmldir=$ac_optarg ;;
970 -includedir | --includedir | --includedi | --included | --include \
971 | --includ | --inclu | --incl | --inc)
972 ac_prev=includedir ;;
973 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
974 | --includ=* | --inclu=* | --incl=* | --inc=*)
975 includedir=$ac_optarg ;;
977 -infodir | --infodir | --infodi | --infod | --info | --inf)
978 ac_prev=infodir ;;
979 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
980 infodir=$ac_optarg ;;
982 -libdir | --libdir | --libdi | --libd)
983 ac_prev=libdir ;;
984 -libdir=* | --libdir=* | --libdi=* | --libd=*)
985 libdir=$ac_optarg ;;
987 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
988 | --libexe | --libex | --libe)
989 ac_prev=libexecdir ;;
990 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
991 | --libexe=* | --libex=* | --libe=*)
992 libexecdir=$ac_optarg ;;
994 -localedir | --localedir | --localedi | --localed | --locale)
995 ac_prev=localedir ;;
996 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
997 localedir=$ac_optarg ;;
999 -localstatedir | --localstatedir | --localstatedi | --localstated \
1000 | --localstate | --localstat | --localsta | --localst | --locals)
1001 ac_prev=localstatedir ;;
1002 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1003 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1004 localstatedir=$ac_optarg ;;
1006 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1007 ac_prev=mandir ;;
1008 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1009 mandir=$ac_optarg ;;
1011 -nfp | --nfp | --nf)
1012 # Obsolete; use --without-fp.
1013 with_fp=no ;;
1015 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1016 | --no-cr | --no-c | -n)
1017 no_create=yes ;;
1019 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1020 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1021 no_recursion=yes ;;
1023 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1024 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1025 | --oldin | --oldi | --old | --ol | --o)
1026 ac_prev=oldincludedir ;;
1027 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1028 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1029 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1030 oldincludedir=$ac_optarg ;;
1032 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1033 ac_prev=prefix ;;
1034 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1035 prefix=$ac_optarg ;;
1037 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1038 | --program-pre | --program-pr | --program-p)
1039 ac_prev=program_prefix ;;
1040 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1041 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1042 program_prefix=$ac_optarg ;;
1044 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1045 | --program-suf | --program-su | --program-s)
1046 ac_prev=program_suffix ;;
1047 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1048 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1049 program_suffix=$ac_optarg ;;
1051 -program-transform-name | --program-transform-name \
1052 | --program-transform-nam | --program-transform-na \
1053 | --program-transform-n | --program-transform- \
1054 | --program-transform | --program-transfor \
1055 | --program-transfo | --program-transf \
1056 | --program-trans | --program-tran \
1057 | --progr-tra | --program-tr | --program-t)
1058 ac_prev=program_transform_name ;;
1059 -program-transform-name=* | --program-transform-name=* \
1060 | --program-transform-nam=* | --program-transform-na=* \
1061 | --program-transform-n=* | --program-transform-=* \
1062 | --program-transform=* | --program-transfor=* \
1063 | --program-transfo=* | --program-transf=* \
1064 | --program-trans=* | --program-tran=* \
1065 | --progr-tra=* | --program-tr=* | --program-t=*)
1066 program_transform_name=$ac_optarg ;;
1068 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1069 ac_prev=pdfdir ;;
1070 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1071 pdfdir=$ac_optarg ;;
1073 -psdir | --psdir | --psdi | --psd | --ps)
1074 ac_prev=psdir ;;
1075 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1076 psdir=$ac_optarg ;;
1078 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1079 | -silent | --silent | --silen | --sile | --sil)
1080 silent=yes ;;
1082 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1083 ac_prev=sbindir ;;
1084 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1085 | --sbi=* | --sb=*)
1086 sbindir=$ac_optarg ;;
1088 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1089 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1090 | --sharedst | --shareds | --shared | --share | --shar \
1091 | --sha | --sh)
1092 ac_prev=sharedstatedir ;;
1093 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1094 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1095 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1096 | --sha=* | --sh=*)
1097 sharedstatedir=$ac_optarg ;;
1099 -site | --site | --sit)
1100 ac_prev=site ;;
1101 -site=* | --site=* | --sit=*)
1102 site=$ac_optarg ;;
1104 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1105 ac_prev=srcdir ;;
1106 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1107 srcdir=$ac_optarg ;;
1109 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1110 | --syscon | --sysco | --sysc | --sys | --sy)
1111 ac_prev=sysconfdir ;;
1112 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1113 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1114 sysconfdir=$ac_optarg ;;
1116 -target | --target | --targe | --targ | --tar | --ta | --t)
1117 ac_prev=target_alias ;;
1118 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1119 target_alias=$ac_optarg ;;
1121 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1122 verbose=yes ;;
1124 -version | --version | --versio | --versi | --vers | -V)
1125 ac_init_version=: ;;
1127 -with-* | --with-*)
1128 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1129 # Reject names that are not valid shell variable names.
1130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1131 as_fn_error $? "invalid package name: $ac_useropt"
1132 ac_useropt_orig=$ac_useropt
1133 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1134 case $ac_user_opts in
1136 "with_$ac_useropt"
1137 "*) ;;
1138 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1139 ac_unrecognized_sep=', ';;
1140 esac
1141 eval with_$ac_useropt=\$ac_optarg ;;
1143 -without-* | --without-*)
1144 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1147 as_fn_error $? "invalid package name: $ac_useropt"
1148 ac_useropt_orig=$ac_useropt
1149 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1150 case $ac_user_opts in
1152 "with_$ac_useropt"
1153 "*) ;;
1154 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1155 ac_unrecognized_sep=', ';;
1156 esac
1157 eval with_$ac_useropt=no ;;
1159 --x)
1160 # Obsolete; use --with-x.
1161 with_x=yes ;;
1163 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1164 | --x-incl | --x-inc | --x-in | --x-i)
1165 ac_prev=x_includes ;;
1166 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1167 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1168 x_includes=$ac_optarg ;;
1170 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1171 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1172 ac_prev=x_libraries ;;
1173 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1174 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1175 x_libraries=$ac_optarg ;;
1177 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1178 Try \`$0 --help' for more information"
1181 *=*)
1182 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1183 # Reject names that are not valid shell variable names.
1184 case $ac_envvar in #(
1185 '' | [0-9]* | *[!_$as_cr_alnum]* )
1186 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1187 esac
1188 eval $ac_envvar=\$ac_optarg
1189 export $ac_envvar ;;
1192 # FIXME: should be removed in autoconf 3.0.
1193 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1194 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1195 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1196 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1199 esac
1200 done
1202 if test -n "$ac_prev"; then
1203 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1204 as_fn_error $? "missing argument to $ac_option"
1207 if test -n "$ac_unrecognized_opts"; then
1208 case $enable_option_checking in
1209 no) ;;
1210 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1211 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1212 esac
1215 # Check all directory arguments for consistency.
1216 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1217 datadir sysconfdir sharedstatedir localstatedir includedir \
1218 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1219 libdir localedir mandir
1221 eval ac_val=\$$ac_var
1222 # Remove trailing slashes.
1223 case $ac_val in
1224 */ )
1225 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1226 eval $ac_var=\$ac_val;;
1227 esac
1228 # Be sure to have absolute directory names.
1229 case $ac_val in
1230 [\\/$]* | ?:[\\/]* ) continue;;
1231 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1232 esac
1233 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1234 done
1236 # There might be people who depend on the old broken behavior: `$host'
1237 # used to hold the argument of --host etc.
1238 # FIXME: To remove some day.
1239 build=$build_alias
1240 host=$host_alias
1241 target=$target_alias
1243 # FIXME: To remove some day.
1244 if test "x$host_alias" != x; then
1245 if test "x$build_alias" = x; then
1246 cross_compiling=maybe
1247 elif test "x$build_alias" != "x$host_alias"; then
1248 cross_compiling=yes
1252 ac_tool_prefix=
1253 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1255 test "$silent" = yes && exec 6>/dev/null
1258 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1259 ac_ls_di=`ls -di .` &&
1260 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1261 as_fn_error $? "working directory cannot be determined"
1262 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1263 as_fn_error $? "pwd does not report name of working directory"
1266 # Find the source files, if location was not specified.
1267 if test -z "$srcdir"; then
1268 ac_srcdir_defaulted=yes
1269 # Try the directory containing this script, then the parent directory.
1270 ac_confdir=`$as_dirname -- "$as_myself" ||
1271 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1272 X"$as_myself" : 'X\(//\)[^/]' \| \
1273 X"$as_myself" : 'X\(//\)$' \| \
1274 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1275 $as_echo X"$as_myself" |
1276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1277 s//\1/
1280 /^X\(\/\/\)[^/].*/{
1281 s//\1/
1284 /^X\(\/\/\)$/{
1285 s//\1/
1288 /^X\(\/\).*/{
1289 s//\1/
1292 s/.*/./; q'`
1293 srcdir=$ac_confdir
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1295 srcdir=..
1297 else
1298 ac_srcdir_defaulted=no
1300 if test ! -r "$srcdir/$ac_unique_file"; then
1301 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1302 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1304 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1305 ac_abs_confdir=`(
1306 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1307 pwd)`
1308 # When building in place, set srcdir=.
1309 if test "$ac_abs_confdir" = "$ac_pwd"; then
1310 srcdir=.
1312 # Remove unnecessary trailing slashes from srcdir.
1313 # Double slashes in file names in object file debugging info
1314 # mess up M-x gdb in Emacs.
1315 case $srcdir in
1316 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1317 esac
1318 for ac_var in $ac_precious_vars; do
1319 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1320 eval ac_env_${ac_var}_value=\$${ac_var}
1321 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1322 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1323 done
1326 # Report the --help message.
1328 if test "$ac_init_help" = "long"; then
1329 # Omit some internal or obsolete options to make the list less imposing.
1330 # This message is too long to be a string in the A/UX 3.1 sh.
1331 cat <<_ACEOF
1332 \`configure' configures this package to adapt to many kinds of systems.
1334 Usage: $0 [OPTION]... [VAR=VALUE]...
1336 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1337 VAR=VALUE. See below for descriptions of some of the useful variables.
1339 Defaults for the options are specified in brackets.
1341 Configuration:
1342 -h, --help display this help and exit
1343 --help=short display options specific to this package
1344 --help=recursive display the short help of all the included packages
1345 -V, --version display version information and exit
1346 -q, --quiet, --silent do not print \`checking ...' messages
1347 --cache-file=FILE cache test results in FILE [disabled]
1348 -C, --config-cache alias for \`--cache-file=config.cache'
1349 -n, --no-create do not create output files
1350 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1352 Installation directories:
1353 --prefix=PREFIX install architecture-independent files in PREFIX
1354 [$ac_default_prefix]
1355 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1356 [PREFIX]
1358 By default, \`make install' will install all the files in
1359 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1360 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1361 for instance \`--prefix=\$HOME'.
1363 For better control, use the options below.
1365 Fine tuning of the installation directories:
1366 --bindir=DIR user executables [EPREFIX/bin]
1367 --sbindir=DIR system admin executables [EPREFIX/sbin]
1368 --libexecdir=DIR program executables [EPREFIX/libexec]
1369 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1370 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1371 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1372 --libdir=DIR object code libraries [EPREFIX/lib]
1373 --includedir=DIR C header files [PREFIX/include]
1374 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1375 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1376 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1377 --infodir=DIR info documentation [DATAROOTDIR/info]
1378 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1379 --mandir=DIR man documentation [DATAROOTDIR/man]
1380 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1381 --htmldir=DIR html documentation [DOCDIR]
1382 --dvidir=DIR dvi documentation [DOCDIR]
1383 --pdfdir=DIR pdf documentation [DOCDIR]
1384 --psdir=DIR ps documentation [DOCDIR]
1385 _ACEOF
1387 cat <<\_ACEOF
1388 _ACEOF
1391 if test -n "$ac_init_help"; then
1393 cat <<\_ACEOF
1395 Optional Packages:
1396 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1397 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1398 --with-config-dir=VERSION
1399 Location of generated target config files
1401 Some influential environment variables:
1402 CC C compiler command
1403 CFLAGS C compiler flags
1404 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1405 nonstandard directory <lib dir>
1406 LIBS libraries to pass to the linker, e.g. -l<library>
1407 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1408 you have headers in a nonstandard directory <include dir>
1410 Use these variables to override the choices made by `configure' or to help
1411 it to find libraries and programs with nonstandard names/locations.
1413 Report bugs to the package provider.
1414 _ACEOF
1415 ac_status=$?
1418 if test "$ac_init_help" = "recursive"; then
1419 # If there are subdirs, report their specific --help.
1420 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1421 test -d "$ac_dir" ||
1422 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1423 continue
1424 ac_builddir=.
1426 case "$ac_dir" in
1427 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1429 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1430 # A ".." for each directory in $ac_dir_suffix.
1431 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1432 case $ac_top_builddir_sub in
1433 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1434 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1435 esac ;;
1436 esac
1437 ac_abs_top_builddir=$ac_pwd
1438 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1439 # for backward compatibility:
1440 ac_top_builddir=$ac_top_build_prefix
1442 case $srcdir in
1443 .) # We are building in place.
1444 ac_srcdir=.
1445 ac_top_srcdir=$ac_top_builddir_sub
1446 ac_abs_top_srcdir=$ac_pwd ;;
1447 [\\/]* | ?:[\\/]* ) # Absolute name.
1448 ac_srcdir=$srcdir$ac_dir_suffix;
1449 ac_top_srcdir=$srcdir
1450 ac_abs_top_srcdir=$srcdir ;;
1451 *) # Relative name.
1452 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1453 ac_top_srcdir=$ac_top_build_prefix$srcdir
1454 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1455 esac
1456 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1458 cd "$ac_dir" || { ac_status=$?; continue; }
1459 # Check for guested configure.
1460 if test -f "$ac_srcdir/configure.gnu"; then
1461 echo &&
1462 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1463 elif test -f "$ac_srcdir/configure"; then
1464 echo &&
1465 $SHELL "$ac_srcdir/configure" --help=recursive
1466 else
1467 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1468 fi || ac_status=$?
1469 cd "$ac_pwd" || { ac_status=$?; break; }
1470 done
1473 test -n "$ac_init_help" && exit $ac_status
1474 if $ac_init_version; then
1475 cat <<\_ACEOF
1476 configure
1477 generated by GNU Autoconf 2.69
1479 Copyright (C) 2012 Free Software Foundation, Inc.
1480 This configure script is free software; the Free Software Foundation
1481 gives unlimited permission to copy, distribute and modify it.
1482 _ACEOF
1483 exit
1486 ## ------------------------ ##
1487 ## Autoconf initialization. ##
1488 ## ------------------------ ##
1490 # ac_fn_c_try_compile LINENO
1491 # --------------------------
1492 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1493 ac_fn_c_try_compile ()
1495 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1496 rm -f conftest.$ac_objext
1497 if { { ac_try="$ac_compile"
1498 case "(($ac_try" in
1499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1500 *) ac_try_echo=$ac_try;;
1501 esac
1502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1503 $as_echo "$ac_try_echo"; } >&5
1504 (eval "$ac_compile") 2>conftest.err
1505 ac_status=$?
1506 if test -s conftest.err; then
1507 grep -v '^ *+' conftest.err >conftest.er1
1508 cat conftest.er1 >&5
1509 mv -f conftest.er1 conftest.err
1511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1512 test $ac_status = 0; } && {
1513 test -z "$ac_c_werror_flag" ||
1514 test ! -s conftest.err
1515 } && test -s conftest.$ac_objext; then :
1516 ac_retval=0
1517 else
1518 $as_echo "$as_me: failed program was:" >&5
1519 sed 's/^/| /' conftest.$ac_ext >&5
1521 ac_retval=1
1523 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1524 as_fn_set_status $ac_retval
1526 } # ac_fn_c_try_compile
1527 cat >config.log <<_ACEOF
1528 This file contains any messages produced by compilers while
1529 running configure, to aid debugging if configure makes a mistake.
1531 It was created by $as_me, which was
1532 generated by GNU Autoconf 2.69. Invocation command line was
1534 $ $0 $@
1536 _ACEOF
1537 exec 5>>config.log
1539 cat <<_ASUNAME
1540 ## --------- ##
1541 ## Platform. ##
1542 ## --------- ##
1544 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1545 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1546 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1547 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1548 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1550 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1551 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1553 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1554 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1555 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1556 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1557 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1558 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1559 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1561 _ASUNAME
1563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1564 for as_dir in $PATH
1566 IFS=$as_save_IFS
1567 test -z "$as_dir" && as_dir=.
1568 $as_echo "PATH: $as_dir"
1569 done
1570 IFS=$as_save_IFS
1572 } >&5
1574 cat >&5 <<_ACEOF
1577 ## ----------- ##
1578 ## Core tests. ##
1579 ## ----------- ##
1581 _ACEOF
1584 # Keep a trace of the command line.
1585 # Strip out --no-create and --no-recursion so they do not pile up.
1586 # Strip out --silent because we don't want to record it for future runs.
1587 # Also quote any args containing shell meta-characters.
1588 # Make two passes to allow for proper duplicate-argument suppression.
1589 ac_configure_args=
1590 ac_configure_args0=
1591 ac_configure_args1=
1592 ac_must_keep_next=false
1593 for ac_pass in 1 2
1595 for ac_arg
1597 case $ac_arg in
1598 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1599 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1600 | -silent | --silent | --silen | --sile | --sil)
1601 continue ;;
1602 *\'*)
1603 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1604 esac
1605 case $ac_pass in
1606 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1608 as_fn_append ac_configure_args1 " '$ac_arg'"
1609 if test $ac_must_keep_next = true; then
1610 ac_must_keep_next=false # Got value, back to normal.
1611 else
1612 case $ac_arg in
1613 *=* | --config-cache | -C | -disable-* | --disable-* \
1614 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1615 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1616 | -with-* | --with-* | -without-* | --without-* | --x)
1617 case "$ac_configure_args0 " in
1618 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1619 esac
1621 -* ) ac_must_keep_next=true ;;
1622 esac
1624 as_fn_append ac_configure_args " '$ac_arg'"
1626 esac
1627 done
1628 done
1629 { ac_configure_args0=; unset ac_configure_args0;}
1630 { ac_configure_args1=; unset ac_configure_args1;}
1632 # When interrupted or exit'd, cleanup temporary files, and complete
1633 # config.log. We remove comments because anyway the quotes in there
1634 # would cause problems or look ugly.
1635 # WARNING: Use '\'' to represent an apostrophe within the trap.
1636 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1637 trap 'exit_status=$?
1638 # Save into config.log some information that might help in debugging.
1640 echo
1642 $as_echo "## ---------------- ##
1643 ## Cache variables. ##
1644 ## ---------------- ##"
1645 echo
1646 # The following way of writing the cache mishandles newlines in values,
1648 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1649 eval ac_val=\$$ac_var
1650 case $ac_val in #(
1651 *${as_nl}*)
1652 case $ac_var in #(
1653 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1654 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1655 esac
1656 case $ac_var in #(
1657 _ | IFS | as_nl) ;; #(
1658 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1659 *) { eval $ac_var=; unset $ac_var;} ;;
1660 esac ;;
1661 esac
1662 done
1663 (set) 2>&1 |
1664 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1665 *${as_nl}ac_space=\ *)
1666 sed -n \
1667 "s/'\''/'\''\\\\'\'''\''/g;
1668 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1669 ;; #(
1671 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1673 esac |
1674 sort
1676 echo
1678 $as_echo "## ----------------- ##
1679 ## Output variables. ##
1680 ## ----------------- ##"
1681 echo
1682 for ac_var in $ac_subst_vars
1684 eval ac_val=\$$ac_var
1685 case $ac_val in
1686 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1687 esac
1688 $as_echo "$ac_var='\''$ac_val'\''"
1689 done | sort
1690 echo
1692 if test -n "$ac_subst_files"; then
1693 $as_echo "## ------------------- ##
1694 ## File substitutions. ##
1695 ## ------------------- ##"
1696 echo
1697 for ac_var in $ac_subst_files
1699 eval ac_val=\$$ac_var
1700 case $ac_val in
1701 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1702 esac
1703 $as_echo "$ac_var='\''$ac_val'\''"
1704 done | sort
1705 echo
1708 if test -s confdefs.h; then
1709 $as_echo "## ----------- ##
1710 ## confdefs.h. ##
1711 ## ----------- ##"
1712 echo
1713 cat confdefs.h
1714 echo
1716 test "$ac_signal" != 0 &&
1717 $as_echo "$as_me: caught signal $ac_signal"
1718 $as_echo "$as_me: exit $exit_status"
1719 } >&5
1720 rm -f core *.core core.conftest.* &&
1721 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1722 exit $exit_status
1724 for ac_signal in 1 2 13 15; do
1725 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1726 done
1727 ac_signal=0
1729 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1730 rm -f -r conftest* confdefs.h
1732 $as_echo "/* confdefs.h */" > confdefs.h
1734 # Predefined preprocessor variables.
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_NAME "$PACKAGE_NAME"
1738 _ACEOF
1740 cat >>confdefs.h <<_ACEOF
1741 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1742 _ACEOF
1744 cat >>confdefs.h <<_ACEOF
1745 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1746 _ACEOF
1748 cat >>confdefs.h <<_ACEOF
1749 #define PACKAGE_STRING "$PACKAGE_STRING"
1750 _ACEOF
1752 cat >>confdefs.h <<_ACEOF
1753 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1754 _ACEOF
1756 cat >>confdefs.h <<_ACEOF
1757 #define PACKAGE_URL "$PACKAGE_URL"
1758 _ACEOF
1761 # Let the site file select an alternate cache file if it wants to.
1762 # Prefer an explicitly selected file to automatically selected ones.
1763 ac_site_file1=NONE
1764 ac_site_file2=NONE
1765 if test -n "$CONFIG_SITE"; then
1766 # We do not want a PATH search for config.site.
1767 case $CONFIG_SITE in #((
1768 -*) ac_site_file1=./$CONFIG_SITE;;
1769 */*) ac_site_file1=$CONFIG_SITE;;
1770 *) ac_site_file1=./$CONFIG_SITE;;
1771 esac
1772 elif test "x$prefix" != xNONE; then
1773 ac_site_file1=$prefix/share/config.site
1774 ac_site_file2=$prefix/etc/config.site
1775 else
1776 ac_site_file1=$ac_default_prefix/share/config.site
1777 ac_site_file2=$ac_default_prefix/etc/config.site
1779 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1781 test "x$ac_site_file" = xNONE && continue
1782 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1784 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1785 sed 's/^/| /' "$ac_site_file" >&5
1786 . "$ac_site_file" \
1787 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1789 as_fn_error $? "failed to load site script $ac_site_file
1790 See \`config.log' for more details" "$LINENO" 5; }
1792 done
1794 if test -r "$cache_file"; then
1795 # Some versions of bash will fail to source /dev/null (special files
1796 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1797 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1799 $as_echo "$as_me: loading cache $cache_file" >&6;}
1800 case $cache_file in
1801 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1802 *) . "./$cache_file";;
1803 esac
1805 else
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1807 $as_echo "$as_me: creating cache $cache_file" >&6;}
1808 >$cache_file
1811 # Check that the precious variables saved in the cache have kept the same
1812 # value.
1813 ac_cache_corrupted=false
1814 for ac_var in $ac_precious_vars; do
1815 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1816 eval ac_new_set=\$ac_env_${ac_var}_set
1817 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1818 eval ac_new_val=\$ac_env_${ac_var}_value
1819 case $ac_old_set,$ac_new_set in
1820 set,)
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1822 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1823 ac_cache_corrupted=: ;;
1824 ,set)
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1826 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1827 ac_cache_corrupted=: ;;
1828 ,);;
1830 if test "x$ac_old_val" != "x$ac_new_val"; then
1831 # differences in whitespace do not lead to failure.
1832 ac_old_val_w=`echo x $ac_old_val`
1833 ac_new_val_w=`echo x $ac_new_val`
1834 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1836 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1837 ac_cache_corrupted=:
1838 else
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1840 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1841 eval $ac_var=\$ac_old_val
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1844 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1846 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1847 fi;;
1848 esac
1849 # Pass precious variables to config.status.
1850 if test "$ac_new_set" = set; then
1851 case $ac_new_val in
1852 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1853 *) ac_arg=$ac_var=$ac_new_val ;;
1854 esac
1855 case " $ac_configure_args " in
1856 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1857 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1858 esac
1860 done
1861 if $ac_cache_corrupted; then
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1865 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1866 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1868 ## -------------------- ##
1869 ## Main body of script. ##
1870 ## -------------------- ##
1872 ac_ext=c
1873 ac_cpp='$CPP $CPPFLAGS'
1874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1880 ac_aux_dir=
1881 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1882 if test -f "$ac_dir/install-sh"; then
1883 ac_aux_dir=$ac_dir
1884 ac_install_sh="$ac_aux_dir/install-sh -c"
1885 break
1886 elif test -f "$ac_dir/install.sh"; then
1887 ac_aux_dir=$ac_dir
1888 ac_install_sh="$ac_aux_dir/install.sh -c"
1889 break
1890 elif test -f "$ac_dir/shtool"; then
1891 ac_aux_dir=$ac_dir
1892 ac_install_sh="$ac_aux_dir/shtool install -c"
1893 break
1895 done
1896 if test -z "$ac_aux_dir"; then
1897 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1900 # These three variables are undocumented and unsupported,
1901 # and are intended to be withdrawn in a future Autoconf release.
1902 # They can cause serious problems if a builder's source tree is in a directory
1903 # whose full name contains unusual characters.
1904 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1905 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1906 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1910 AROS_BUILDDIR=`${PWDCMD-pwd}`
1911 AROS_BUILDDIR_UNIX=${PWD}
1913 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1914 SRCDIR=${srcpwd}
1916 NOLINKFLAGS="-nostdlib -nostartfiles"
1917 LDFLAGS=$NOLINKFLAGS
1918 # The first step is to find the binaries.
1919 ac_ext=c
1920 ac_cpp='$CPP $CPPFLAGS'
1921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1924 if test -n "$ac_tool_prefix"; then
1925 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1926 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1928 $as_echo_n "checking for $ac_word... " >&6; }
1929 if ${ac_cv_prog_CC+:} false; then :
1930 $as_echo_n "(cached) " >&6
1931 else
1932 if test -n "$CC"; then
1933 ac_cv_prog_CC="$CC" # Let the user override the test.
1934 else
1935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936 for as_dir in $PATH
1938 IFS=$as_save_IFS
1939 test -z "$as_dir" && as_dir=.
1940 for ac_exec_ext in '' $ac_executable_extensions; do
1941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1942 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1944 break 2
1946 done
1947 done
1948 IFS=$as_save_IFS
1952 CC=$ac_cv_prog_CC
1953 if test -n "$CC"; then
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1955 $as_echo "$CC" >&6; }
1956 else
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1958 $as_echo "no" >&6; }
1963 if test -z "$ac_cv_prog_CC"; then
1964 ac_ct_CC=$CC
1965 # Extract the first word of "gcc", so it can be a program name with args.
1966 set dummy gcc; ac_word=$2
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1968 $as_echo_n "checking for $ac_word... " >&6; }
1969 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1970 $as_echo_n "(cached) " >&6
1971 else
1972 if test -n "$ac_ct_CC"; then
1973 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1974 else
1975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1976 for as_dir in $PATH
1978 IFS=$as_save_IFS
1979 test -z "$as_dir" && as_dir=.
1980 for ac_exec_ext in '' $ac_executable_extensions; do
1981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1982 ac_cv_prog_ac_ct_CC="gcc"
1983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1984 break 2
1986 done
1987 done
1988 IFS=$as_save_IFS
1992 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1993 if test -n "$ac_ct_CC"; then
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1995 $as_echo "$ac_ct_CC" >&6; }
1996 else
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1998 $as_echo "no" >&6; }
2001 if test "x$ac_ct_CC" = x; then
2002 CC=""
2003 else
2004 case $cross_compiling:$ac_tool_warned in
2005 yes:)
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2008 ac_tool_warned=yes ;;
2009 esac
2010 CC=$ac_ct_CC
2012 else
2013 CC="$ac_cv_prog_CC"
2016 if test -z "$CC"; then
2017 if test -n "$ac_tool_prefix"; then
2018 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2019 set dummy ${ac_tool_prefix}cc; ac_word=$2
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2021 $as_echo_n "checking for $ac_word... " >&6; }
2022 if ${ac_cv_prog_CC+:} false; then :
2023 $as_echo_n "(cached) " >&6
2024 else
2025 if test -n "$CC"; then
2026 ac_cv_prog_CC="$CC" # Let the user override the test.
2027 else
2028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2029 for as_dir in $PATH
2031 IFS=$as_save_IFS
2032 test -z "$as_dir" && as_dir=.
2033 for ac_exec_ext in '' $ac_executable_extensions; do
2034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2035 ac_cv_prog_CC="${ac_tool_prefix}cc"
2036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2037 break 2
2039 done
2040 done
2041 IFS=$as_save_IFS
2045 CC=$ac_cv_prog_CC
2046 if test -n "$CC"; then
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2048 $as_echo "$CC" >&6; }
2049 else
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2051 $as_echo "no" >&6; }
2057 if test -z "$CC"; then
2058 # Extract the first word of "cc", so it can be a program name with args.
2059 set dummy cc; ac_word=$2
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2061 $as_echo_n "checking for $ac_word... " >&6; }
2062 if ${ac_cv_prog_CC+:} false; then :
2063 $as_echo_n "(cached) " >&6
2064 else
2065 if test -n "$CC"; then
2066 ac_cv_prog_CC="$CC" # Let the user override the test.
2067 else
2068 ac_prog_rejected=no
2069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2070 for as_dir in $PATH
2072 IFS=$as_save_IFS
2073 test -z "$as_dir" && as_dir=.
2074 for ac_exec_ext in '' $ac_executable_extensions; do
2075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2076 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2077 ac_prog_rejected=yes
2078 continue
2080 ac_cv_prog_CC="cc"
2081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2082 break 2
2084 done
2085 done
2086 IFS=$as_save_IFS
2088 if test $ac_prog_rejected = yes; then
2089 # We found a bogon in the path, so make sure we never use it.
2090 set dummy $ac_cv_prog_CC
2091 shift
2092 if test $# != 0; then
2093 # We chose a different compiler from the bogus one.
2094 # However, it has the same basename, so the bogon will be chosen
2095 # first if we set CC to just the basename; use the full file name.
2096 shift
2097 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2102 CC=$ac_cv_prog_CC
2103 if test -n "$CC"; then
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2105 $as_echo "$CC" >&6; }
2106 else
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2108 $as_echo "no" >&6; }
2113 if test -z "$CC"; then
2114 if test -n "$ac_tool_prefix"; then
2115 for ac_prog in cl.exe
2117 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2118 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2120 $as_echo_n "checking for $ac_word... " >&6; }
2121 if ${ac_cv_prog_CC+:} false; then :
2122 $as_echo_n "(cached) " >&6
2123 else
2124 if test -n "$CC"; then
2125 ac_cv_prog_CC="$CC" # Let the user override the test.
2126 else
2127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128 for as_dir in $PATH
2130 IFS=$as_save_IFS
2131 test -z "$as_dir" && as_dir=.
2132 for ac_exec_ext in '' $ac_executable_extensions; do
2133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2134 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2136 break 2
2138 done
2139 done
2140 IFS=$as_save_IFS
2144 CC=$ac_cv_prog_CC
2145 if test -n "$CC"; then
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2147 $as_echo "$CC" >&6; }
2148 else
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2150 $as_echo "no" >&6; }
2154 test -n "$CC" && break
2155 done
2157 if test -z "$CC"; then
2158 ac_ct_CC=$CC
2159 for ac_prog in cl.exe
2161 # Extract the first word of "$ac_prog", so it can be a program name with args.
2162 set dummy $ac_prog; ac_word=$2
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2164 $as_echo_n "checking for $ac_word... " >&6; }
2165 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2166 $as_echo_n "(cached) " >&6
2167 else
2168 if test -n "$ac_ct_CC"; then
2169 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2170 else
2171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2172 for as_dir in $PATH
2174 IFS=$as_save_IFS
2175 test -z "$as_dir" && as_dir=.
2176 for ac_exec_ext in '' $ac_executable_extensions; do
2177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2178 ac_cv_prog_ac_ct_CC="$ac_prog"
2179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 break 2
2182 done
2183 done
2184 IFS=$as_save_IFS
2188 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2189 if test -n "$ac_ct_CC"; then
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2191 $as_echo "$ac_ct_CC" >&6; }
2192 else
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2194 $as_echo "no" >&6; }
2198 test -n "$ac_ct_CC" && break
2199 done
2201 if test "x$ac_ct_CC" = x; then
2202 CC=""
2203 else
2204 case $cross_compiling:$ac_tool_warned in
2205 yes:)
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2208 ac_tool_warned=yes ;;
2209 esac
2210 CC=$ac_ct_CC
2217 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2219 as_fn_error $? "no acceptable C compiler found in \$PATH
2220 See \`config.log' for more details" "$LINENO" 5; }
2222 # Provide some information about the compiler.
2223 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2224 set X $ac_compile
2225 ac_compiler=$2
2226 for ac_option in --version -v -V -qversion; do
2227 { { ac_try="$ac_compiler $ac_option >&5"
2228 case "(($ac_try" in
2229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2230 *) ac_try_echo=$ac_try;;
2231 esac
2232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2233 $as_echo "$ac_try_echo"; } >&5
2234 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2235 ac_status=$?
2236 if test -s conftest.err; then
2237 sed '10a\
2238 ... rest of stderr output deleted ...
2239 10q' conftest.err >conftest.er1
2240 cat conftest.er1 >&5
2242 rm -f conftest.er1 conftest.err
2243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2244 test $ac_status = 0; }
2245 done
2247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2248 /* end confdefs.h. */
2251 main ()
2255 return 0;
2257 _ACEOF
2258 ac_clean_files_save=$ac_clean_files
2259 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2260 # Try to create an executable without -o first, disregard a.out.
2261 # It will help us diagnose broken compilers, and finding out an intuition
2262 # of exeext.
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2264 $as_echo_n "checking whether the C compiler works... " >&6; }
2265 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2267 # The possible output files:
2268 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2270 ac_rmfiles=
2271 for ac_file in $ac_files
2273 case $ac_file in
2274 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2275 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2276 esac
2277 done
2278 rm -f $ac_rmfiles
2280 if { { ac_try="$ac_link_default"
2281 case "(($ac_try" in
2282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2283 *) ac_try_echo=$ac_try;;
2284 esac
2285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2286 $as_echo "$ac_try_echo"; } >&5
2287 (eval "$ac_link_default") 2>&5
2288 ac_status=$?
2289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2290 test $ac_status = 0; }; then :
2291 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2292 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2293 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2294 # so that the user can short-circuit this test for compilers unknown to
2295 # Autoconf.
2296 for ac_file in $ac_files ''
2298 test -f "$ac_file" || continue
2299 case $ac_file in
2300 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2302 [ab].out )
2303 # We found the default executable, but exeext='' is most
2304 # certainly right.
2305 break;;
2306 *.* )
2307 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2308 then :; else
2309 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2311 # We set ac_cv_exeext here because the later test for it is not
2312 # safe: cross compilers may not add the suffix if given an `-o'
2313 # argument, so we may need to know it at that point already.
2314 # Even if this section looks crufty: it has the advantage of
2315 # actually working.
2316 break;;
2318 break;;
2319 esac
2320 done
2321 test "$ac_cv_exeext" = no && ac_cv_exeext=
2323 else
2324 ac_file=''
2326 if test -z "$ac_file"; then :
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2328 $as_echo "no" >&6; }
2329 $as_echo "$as_me: failed program was:" >&5
2330 sed 's/^/| /' conftest.$ac_ext >&5
2332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2334 as_fn_error 77 "C compiler cannot create executables
2335 See \`config.log' for more details" "$LINENO" 5; }
2336 else
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2338 $as_echo "yes" >&6; }
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2341 $as_echo_n "checking for C compiler default output file name... " >&6; }
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2343 $as_echo "$ac_file" >&6; }
2344 ac_exeext=$ac_cv_exeext
2346 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2347 ac_clean_files=$ac_clean_files_save
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2349 $as_echo_n "checking for suffix of executables... " >&6; }
2350 if { { ac_try="$ac_link"
2351 case "(($ac_try" in
2352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2353 *) ac_try_echo=$ac_try;;
2354 esac
2355 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2356 $as_echo "$ac_try_echo"; } >&5
2357 (eval "$ac_link") 2>&5
2358 ac_status=$?
2359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2360 test $ac_status = 0; }; then :
2361 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2362 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2363 # work properly (i.e., refer to `conftest.exe'), while it won't with
2364 # `rm'.
2365 for ac_file in conftest.exe conftest conftest.*; do
2366 test -f "$ac_file" || continue
2367 case $ac_file in
2368 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2369 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2370 break;;
2371 * ) break;;
2372 esac
2373 done
2374 else
2375 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2377 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2378 See \`config.log' for more details" "$LINENO" 5; }
2380 rm -f conftest conftest$ac_cv_exeext
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2382 $as_echo "$ac_cv_exeext" >&6; }
2384 rm -f conftest.$ac_ext
2385 EXEEXT=$ac_cv_exeext
2386 ac_exeext=$EXEEXT
2387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2388 /* end confdefs.h. */
2389 #include <stdio.h>
2391 main ()
2393 FILE *f = fopen ("conftest.out", "w");
2394 return ferror (f) || fclose (f) != 0;
2397 return 0;
2399 _ACEOF
2400 ac_clean_files="$ac_clean_files conftest.out"
2401 # Check that the compiler produces executables we can run. If not, either
2402 # the compiler is broken, or we cross compile.
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2404 $as_echo_n "checking whether we are cross compiling... " >&6; }
2405 if test "$cross_compiling" != yes; then
2406 { { ac_try="$ac_link"
2407 case "(($ac_try" in
2408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2409 *) ac_try_echo=$ac_try;;
2410 esac
2411 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2412 $as_echo "$ac_try_echo"; } >&5
2413 (eval "$ac_link") 2>&5
2414 ac_status=$?
2415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2416 test $ac_status = 0; }
2417 if { ac_try='./conftest$ac_cv_exeext'
2418 { { case "(($ac_try" in
2419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2420 *) ac_try_echo=$ac_try;;
2421 esac
2422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2423 $as_echo "$ac_try_echo"; } >&5
2424 (eval "$ac_try") 2>&5
2425 ac_status=$?
2426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2427 test $ac_status = 0; }; }; then
2428 cross_compiling=no
2429 else
2430 if test "$cross_compiling" = maybe; then
2431 cross_compiling=yes
2432 else
2433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2435 as_fn_error $? "cannot run C compiled programs.
2436 If you meant to cross compile, use \`--host'.
2437 See \`config.log' for more details" "$LINENO" 5; }
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2442 $as_echo "$cross_compiling" >&6; }
2444 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2445 ac_clean_files=$ac_clean_files_save
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2447 $as_echo_n "checking for suffix of object files... " >&6; }
2448 if ${ac_cv_objext+:} false; then :
2449 $as_echo_n "(cached) " >&6
2450 else
2451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2452 /* end confdefs.h. */
2455 main ()
2459 return 0;
2461 _ACEOF
2462 rm -f conftest.o conftest.obj
2463 if { { ac_try="$ac_compile"
2464 case "(($ac_try" in
2465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2466 *) ac_try_echo=$ac_try;;
2467 esac
2468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2469 $as_echo "$ac_try_echo"; } >&5
2470 (eval "$ac_compile") 2>&5
2471 ac_status=$?
2472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2473 test $ac_status = 0; }; then :
2474 for ac_file in conftest.o conftest.obj conftest.*; do
2475 test -f "$ac_file" || continue;
2476 case $ac_file in
2477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2478 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2479 break;;
2480 esac
2481 done
2482 else
2483 $as_echo "$as_me: failed program was:" >&5
2484 sed 's/^/| /' conftest.$ac_ext >&5
2486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2488 as_fn_error $? "cannot compute suffix of object files: cannot compile
2489 See \`config.log' for more details" "$LINENO" 5; }
2491 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2494 $as_echo "$ac_cv_objext" >&6; }
2495 OBJEXT=$ac_cv_objext
2496 ac_objext=$OBJEXT
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2498 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2499 if ${ac_cv_c_compiler_gnu+:} false; then :
2500 $as_echo_n "(cached) " >&6
2501 else
2502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2503 /* end confdefs.h. */
2506 main ()
2508 #ifndef __GNUC__
2509 choke me
2510 #endif
2513 return 0;
2515 _ACEOF
2516 if ac_fn_c_try_compile "$LINENO"; then :
2517 ac_compiler_gnu=yes
2518 else
2519 ac_compiler_gnu=no
2521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2522 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2526 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2527 if test $ac_compiler_gnu = yes; then
2528 GCC=yes
2529 else
2530 GCC=
2532 ac_test_CFLAGS=${CFLAGS+set}
2533 ac_save_CFLAGS=$CFLAGS
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2535 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2536 if ${ac_cv_prog_cc_g+:} false; then :
2537 $as_echo_n "(cached) " >&6
2538 else
2539 ac_save_c_werror_flag=$ac_c_werror_flag
2540 ac_c_werror_flag=yes
2541 ac_cv_prog_cc_g=no
2542 CFLAGS="-g"
2543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2544 /* end confdefs.h. */
2547 main ()
2551 return 0;
2553 _ACEOF
2554 if ac_fn_c_try_compile "$LINENO"; then :
2555 ac_cv_prog_cc_g=yes
2556 else
2557 CFLAGS=""
2558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2559 /* end confdefs.h. */
2562 main ()
2566 return 0;
2568 _ACEOF
2569 if ac_fn_c_try_compile "$LINENO"; then :
2571 else
2572 ac_c_werror_flag=$ac_save_c_werror_flag
2573 CFLAGS="-g"
2574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2575 /* end confdefs.h. */
2578 main ()
2582 return 0;
2584 _ACEOF
2585 if ac_fn_c_try_compile "$LINENO"; then :
2586 ac_cv_prog_cc_g=yes
2588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2593 ac_c_werror_flag=$ac_save_c_werror_flag
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2596 $as_echo "$ac_cv_prog_cc_g" >&6; }
2597 if test "$ac_test_CFLAGS" = set; then
2598 CFLAGS=$ac_save_CFLAGS
2599 elif test $ac_cv_prog_cc_g = yes; then
2600 if test "$GCC" = yes; then
2601 CFLAGS="-g -O2"
2602 else
2603 CFLAGS="-g"
2605 else
2606 if test "$GCC" = yes; then
2607 CFLAGS="-O2"
2608 else
2609 CFLAGS=
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2613 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2614 if ${ac_cv_prog_cc_c89+:} false; then :
2615 $as_echo_n "(cached) " >&6
2616 else
2617 ac_cv_prog_cc_c89=no
2618 ac_save_CC=$CC
2619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2620 /* end confdefs.h. */
2621 #include <stdarg.h>
2622 #include <stdio.h>
2623 struct stat;
2624 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2625 struct buf { int x; };
2626 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2627 static char *e (p, i)
2628 char **p;
2629 int i;
2631 return p[i];
2633 static char *f (char * (*g) (char **, int), char **p, ...)
2635 char *s;
2636 va_list v;
2637 va_start (v,p);
2638 s = g (p, va_arg (v,int));
2639 va_end (v);
2640 return s;
2643 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2644 function prototypes and stuff, but not '\xHH' hex character constants.
2645 These don't provoke an error unfortunately, instead are silently treated
2646 as 'x'. The following induces an error, until -std is added to get
2647 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2648 array size at least. It's necessary to write '\x00'==0 to get something
2649 that's true only with -std. */
2650 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2652 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2653 inside strings and character constants. */
2654 #define FOO(x) 'x'
2655 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2657 int test (int i, double x);
2658 struct s1 {int (*f) (int a);};
2659 struct s2 {int (*f) (double a);};
2660 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2661 int argc;
2662 char **argv;
2664 main ()
2666 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2668 return 0;
2670 _ACEOF
2671 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2672 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2674 CC="$ac_save_CC $ac_arg"
2675 if ac_fn_c_try_compile "$LINENO"; then :
2676 ac_cv_prog_cc_c89=$ac_arg
2678 rm -f core conftest.err conftest.$ac_objext
2679 test "x$ac_cv_prog_cc_c89" != "xno" && break
2680 done
2681 rm -f conftest.$ac_ext
2682 CC=$ac_save_CC
2685 # AC_CACHE_VAL
2686 case "x$ac_cv_prog_cc_c89" in
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2689 $as_echo "none needed" >&6; } ;;
2690 xno)
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2692 $as_echo "unsupported" >&6; } ;;
2694 CC="$CC $ac_cv_prog_cc_c89"
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2696 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2697 esac
2698 if test "x$ac_cv_prog_cc_c89" != xno; then :
2702 ac_ext=c
2703 ac_cpp='$CPP $CPPFLAGS'
2704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2710 $as_echo_n "checking target config location... " >&6; }
2712 # Check whether --with-config-dir was given.
2713 if test "${with_config_dir+set}" = set; then :
2714 withval=$with_config_dir; targetcfg_dir="$withval"
2715 else
2716 targetcfg_dir=""
2719 if test "$targetcfg_dir" = ""; then
2720 as_fn_error $? "missing config directory!" "$LINENO" 5
2721 else
2722 aros_targetcfg_dir="$targetcfg_dir"
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2725 $as_echo "$aros_targetcfg_dir" >&6; }
2727 #-----------------------------------------------------------------------------
2729 # Check if the target compiler supports some features:
2730 # -fexceptions
2731 # -fpermissive
2732 # -ffast-math
2733 # -fno-builtin-floor
2734 # -flto
2735 # -fwhole-program
2736 # -floop-block
2737 # -floop-interchange
2738 # -floop-strip-mine
2739 # -fpeel-loops
2740 # -fstrict-aliasing
2741 # -finline-small-functions
2742 # -fipa-cp
2743 # -funroll-loops
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2746 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2747 CFLAGS=-fexceptions
2749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2750 /* end confdefs.h. */
2753 main ()
2757 return 0;
2759 _ACEOF
2760 if ac_fn_c_try_compile "$LINENO"; then :
2761 aros_exceptions="yes"
2762 else
2763 aros_exceptions="no"
2765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2767 $as_echo "$aros_exceptions" >&6; }
2768 if test "x-$aros_exceptions" = "x-yes" ; then
2769 aros_cflags_exceptions=-fexceptions
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpermissive" >&5
2773 $as_echo_n "checking whether ${CC} accepts -fpermissive... " >&6; }
2774 CFLAGS=-fpermissive
2775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2776 /* end confdefs.h. */
2779 main ()
2783 return 0;
2785 _ACEOF
2786 if ac_fn_c_try_compile "$LINENO"; then :
2787 aros_permissive="yes"
2788 else
2789 aros_permissive="no"
2791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
2793 $as_echo "$aros_permissive" >&6; }
2794 if test "x-$aros_permissive" = "x-yes" ; then
2795 aros_cflags_permissive=-fpermissive
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2799 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2800 CFLAGS=-ffast-math
2801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2802 /* end confdefs.h. */
2805 main ()
2809 return 0;
2811 _ACEOF
2812 if ac_fn_c_try_compile "$LINENO"; then :
2813 aros_fast_math="yes"
2814 else
2815 aros_fast_math="no"
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2819 $as_echo "$aros_fast_math" >&6; }
2820 if test "x-$aros_fast_math" = "x-yes" ; then
2821 aros_cflags_fast_math=-ffast-math
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
2825 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
2826 CFLAGS=-fno-builtin-floor
2827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2828 /* end confdefs.h. */
2831 main ()
2835 return 0;
2837 _ACEOF
2838 if ac_fn_c_try_compile "$LINENO"; then :
2839 aros_no_builtin_floor="yes"
2840 else
2841 aros_no_builtin_floor="no"
2843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
2845 $as_echo "$aros_no_builtin_floor" >&6; }
2846 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
2847 aros_cflags_no_builtin_floor=-fno-builtin-floor
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2851 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2852 CFLAGS=-flto
2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2857 main ()
2861 return 0;
2863 _ACEOF
2864 if ac_fn_c_try_compile "$LINENO"; then :
2865 aros_lto="yes"
2866 else
2867 aros_lto="no"
2869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2871 $as_echo "$aros_lto" >&6; }
2872 if test "x-$aros_lto" = "x-yes" ; then
2873 aros_cflags_lto=-flto
2874 aros_cflags_nolto=-fno-lto
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2877 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2878 CFLAGS=-fwhole-program
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2883 main ()
2887 return 0;
2889 _ACEOF
2890 if ac_fn_c_try_compile "$LINENO"; then :
2891 aros_whole_program="yes"
2892 else
2893 aros_whole_program="no"
2895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2897 $as_echo "$aros_whole_program" >&6; }
2898 if test "x-$aros_whole_program" = "x-yes" ; then
2899 aros_cflags_whole_program=-fwhole-program
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2903 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2904 CFLAGS=-floop-block
2905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2906 /* end confdefs.h. */
2909 main ()
2913 return 0;
2915 _ACEOF
2916 if ac_fn_c_try_compile "$LINENO"; then :
2917 aros_loop_block="yes"
2918 else
2919 aros_loop_block="no"
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2923 $as_echo "$aros_loop_block" >&6; }
2924 if test "x-$aros_loop_block" = "x-yes" ; then
2925 aros_cflags_loop_block=-floop-block
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2929 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2930 CFLAGS=-floop-interchange
2931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2932 /* end confdefs.h. */
2935 main ()
2939 return 0;
2941 _ACEOF
2942 if ac_fn_c_try_compile "$LINENO"; then :
2943 aros_loop_interchange="yes"
2944 else
2945 aros_loop_interchange="no"
2947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2949 $as_echo "$aros_loop_interchange" >&6; }
2950 if test "x-$aros_loop_interchange" = "x-yes" ; then
2951 aros_cflags_loop_interchange=-floop-interchange
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2955 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2956 CFLAGS=-floop-strip-mine
2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2961 main ()
2965 return 0;
2967 _ACEOF
2968 if ac_fn_c_try_compile "$LINENO"; then :
2969 aros_loop_strip_mine="yes"
2970 else
2971 aros_loop_strip_mine="no"
2973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2975 $as_echo "$aros_loop_strip_mine" >&6; }
2976 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2977 aros_cflags_loop_strip_mine=-floop-strip-mine
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
2982 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
2983 CFLAGS=-fpeel-loops
2984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2985 /* end confdefs.h. */
2988 main ()
2992 return 0;
2994 _ACEOF
2995 if ac_fn_c_try_compile "$LINENO"; then :
2996 aros_peel_loops="yes"
2997 else
2998 aros_peel_loops="no"
3000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
3002 $as_echo "$aros_peel_loops" >&6; }
3003 if test "x-$aros_peel_loops" = "x-yes" ; then
3004 aros_cflags_peel_loops=-fpeel-loops
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3008 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3009 CFLAGS=-funroll-loops
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3014 main ()
3018 return 0;
3020 _ACEOF
3021 if ac_fn_c_try_compile "$LINENO"; then :
3022 aros_unroll_loops="yes"
3023 else
3024 aros_unroll_loops="no"
3026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3028 $as_echo "$aros_unroll_loops" >&6; }
3029 if test "x-$aros_unroll_loops" = "x-yes" ; then
3030 aros_cflags_unroll_loops=-funroll-loops
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3034 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3035 CFLAGS=-fstrict-aliasing
3036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3037 /* end confdefs.h. */
3040 main ()
3044 return 0;
3046 _ACEOF
3047 if ac_fn_c_try_compile "$LINENO"; then :
3048 aros_strict_aliasing="yes"
3049 else
3050 aros_strict_aliasing="no"
3052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3054 $as_echo "$aros_strict_aliasing" >&6; }
3055 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3056 aros_cflags_strictaliasing=-fstrict-aliasing
3057 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3061 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3062 CFLAGS=-finline-small-functions
3063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3064 /* end confdefs.h. */
3067 main ()
3071 return 0;
3073 _ACEOF
3074 if ac_fn_c_try_compile "$LINENO"; then :
3075 aros_inline_small_functions="yes"
3076 else
3077 aros_inline_small_functions="no"
3079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3081 $as_echo "$aros_inline_small_functions" >&6; }
3082 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3083 aros_cflags_inlinesmallfunctions=-finline-small-functions
3084 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fipa-cp" >&5
3088 $as_echo_n "checking whether ${CC} accepts -fipa-cp... " >&6; }
3089 CFLAGS=-fipa-cp
3090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3091 /* end confdefs.h. */
3094 main ()
3098 return 0;
3100 _ACEOF
3101 if ac_fn_c_try_compile "$LINENO"; then :
3102 aros_ipa_cp="yes"
3103 else
3104 aros_ipa_cp="no"
3106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ipa_cp" >&5
3108 $as_echo "$aros_ipa_cp" >&6; }
3109 if test "x-$aros_ipa_cp" = "x-yes" ; then
3110 aros_cflags_ipacp=-fipa-cp
3111 aros_cflags_noipacp=-fno-ipa-cp
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3115 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3116 CFLAGS="-iquote."
3117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3118 /* end confdefs.h. */
3121 main ()
3125 return 0;
3127 _ACEOF
3128 if ac_fn_c_try_compile "$LINENO"; then :
3129 has_iquote="yes"
3130 else
3131 has_iquote="no"
3133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3135 $as_echo "$has_iquote" >&6; }
3136 if test "x-$has_iquote" = "x-yes" ; then
3137 aros_cflags_iquote=-iquote
3138 aros_cflags_iquote_end=
3139 else
3140 aros_cflags_iquote=-I
3141 aros_cflags_iquote_end=-I-
3144 #-----------------------------------------------------------------------------
3146 # Check if the target compiler supports some options:
3147 # -mno-red-zone
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mno-red-zone" >&5
3150 $as_echo_n "checking whether ${CC} accepts -mno-red-zone... " >&6; }
3151 CFLAGS=-mno-red-zone
3152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3153 /* end confdefs.h. */
3156 main ()
3160 return 0;
3162 _ACEOF
3163 if ac_fn_c_try_compile "$LINENO"; then :
3164 aros_no_red_zone="yes"
3165 else
3166 aros_no_red_zone="no"
3168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3170 $as_echo "$aros_no_red_zone" >&6; }
3171 if test "x-$aros_no_red_zone" = "x-yes" ; then
3172 aros_cflags_no_red_zone=-mno-red-zone
3175 #-----------------------------------------------------------------------------
3177 # Check if the target compiler supports some options used for de-linting:
3178 # -Werror
3179 # -Wunused-command-line-argument
3180 # -Wunknown-warning-option
3181 # -Wunused-but-set-variable
3182 # -Wstrict-aliasing
3183 # -Warray-bounds
3184 # -Wenum-compare
3185 # -Wstrict-prototypes
3186 # -Wstrict-overflow
3187 # -Wformat-security
3188 # -Wmisleading-indentation
3189 # -Wnonnull-compare
3190 # -Wunused
3191 # -Wunused-label
3192 # -Wunused-value
3193 # -Wunused-variable
3194 # -Wunused-function
3195 # -Wunused-parameter
3196 # -Wuninitialized
3197 # -Wmaybe-uninitialized
3198 # -Wimplicit-function-declaration
3199 # -Wformat
3200 # -Wparentheses
3201 # -Wchar-subscripts
3202 # -Wendif-labels
3203 # -Wformat-contains-nul
3204 # -Wimplicit-int
3205 # -Waggressive-loop-optimizations
3206 # -Wcpp
3207 # -Wswitch
3208 # -Wdiscarded-qualifiers
3209 # -Wsequence-point
3210 # -Wunknown-pragmas
3211 # -Wdiscarded-array-qualifiers
3212 # -Wint-conversion
3213 # -Wint-to-pointer-cast
3214 # -Wpointer-to-int-cast
3215 # -Wunused-const-variable
3216 # -Wwrite-strings
3217 # -Wcomment
3218 # -Wincompatible-pointer-types
3219 # -Wbool-compare
3220 # -Wlogical-not-parentheses
3221 # -Wpointer-sign
3222 # -Wshift-overflow
3223 # -Wframe-address
3224 # -Wdeprecated-declarations
3225 # -Wsign-compare
3226 # -Wattributes
3227 # -Woverflow
3228 # -Wunused-local-typedefs
3229 # -Wmissing-braces
3230 # -Wconversion-null
3231 # -Wnarrowing
3232 # -Wvolatile-register-var
3233 # -Wsizeof-pointer-memaccess
3234 # -Wreturn-type
3235 # -Wformat-zero-length
3236 # -Wlto-type-mismatch
3237 # -Wtautological-compare
3238 # -Wempty-body
3239 # -Wstringop-overflow
3240 # -Wformat-truncation
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
3243 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
3244 CFLAGS=-Werror
3245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3246 /* end confdefs.h. */
3249 main ()
3253 return 0;
3255 _ACEOF
3256 if ac_fn_c_try_compile "$LINENO"; then :
3257 aros_error="yes"
3258 else
3259 aros_error="no"
3261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
3263 $as_echo "$aros_error" >&6; }
3264 if test "x-$aros_error" = "x-yes" ; then
3265 aros_warnflags_error=-Werror
3266 aros_nowarnflags_error=-Wno-error
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3270 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3271 CFLAGS=-Wunused-command-line-argument
3272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3276 main ()
3280 return 0;
3282 _ACEOF
3283 if ac_fn_c_try_compile "$LINENO"; then :
3284 aros_unused_command_line_argument="yes"
3285 else
3286 aros_unused_command_line_argument="no"
3288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3290 $as_echo "$aros_unused_command_line_argument" >&6; }
3291 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3292 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3293 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3297 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3298 CFLAGS=-Wunknown-warning-option
3299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3300 /* end confdefs.h. */
3303 main ()
3307 return 0;
3309 _ACEOF
3310 if ac_fn_c_try_compile "$LINENO"; then :
3311 aros_unknown_warning_option="yes"
3312 else
3313 aros_unknown_warning_option="no"
3315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3317 $as_echo "$aros_unknown_warning_option" >&6; }
3318 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3319 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3320 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3324 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3325 CFLAGS=-Wunused-but-set-variable
3326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3327 /* end confdefs.h. */
3330 main ()
3334 return 0;
3336 _ACEOF
3337 if ac_fn_c_try_compile "$LINENO"; then :
3338 aros_unused_but_set_variable="yes"
3339 else
3340 aros_unused_but_set_variable="no"
3342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3344 $as_echo "$aros_unused_but_set_variable" >&6; }
3345 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3346 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3347 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3351 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3352 CFLAGS=-Wstrict-aliasing
3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h. */
3357 main ()
3361 return 0;
3363 _ACEOF
3364 if ac_fn_c_try_compile "$LINENO"; then :
3365 aros_strict_aliasing="yes"
3366 else
3367 aros_strict_aliasing="no"
3369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3371 $as_echo "$aros_strict_aliasing" >&6; }
3372 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3373 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3374 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3378 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3379 CFLAGS=-Warray-bounds
3380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3384 main ()
3388 return 0;
3390 _ACEOF
3391 if ac_fn_c_try_compile "$LINENO"; then :
3392 aros_array_bounds="yes"
3393 else
3394 aros_array_bounds="no"
3396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3398 $as_echo "$aros_array_bounds" >&6; }
3399 if test "x-$aros_array_bounds" = "x-yes" ; then
3400 aros_warnflags_array_bounds=-Warray-bounds
3401 aros_nowarnflags_array_bounds=-Wno-array-bounds
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3405 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3406 CFLAGS=-Wenum-compare
3407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3408 /* end confdefs.h. */
3411 main ()
3415 return 0;
3417 _ACEOF
3418 if ac_fn_c_try_compile "$LINENO"; then :
3419 aros_enum_compare="yes"
3420 else
3421 aros_enum_compare="no"
3423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3425 $as_echo "$aros_enum_compare" >&6; }
3426 if test "x-$aros_enum_compare" = "x-yes" ; then
3427 aros_warnflags_enum_compare=-Wenum-compare
3428 aros_nowarnflags_enum_compare=-Wno-enum-compare
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3432 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3433 CFLAGS=-Wstrict-prototypes
3434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3438 main ()
3442 return 0;
3444 _ACEOF
3445 if ac_fn_c_try_compile "$LINENO"; then :
3446 aros_strict_prototypes="yes"
3447 else
3448 aros_strict_prototypes="no"
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3452 $as_echo "$aros_strict_prototypes" >&6; }
3453 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3454 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3455 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3459 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3460 CFLAGS=-Wstrict-overflow
3461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3465 main ()
3469 return 0;
3471 _ACEOF
3472 if ac_fn_c_try_compile "$LINENO"; then :
3473 aros_strict_overflow="yes"
3474 else
3475 aros_strict_overflow="no"
3477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3479 $as_echo "$aros_strict_overflow" >&6; }
3480 if test "x-$aros_strict_overflow" = "x-yes" ; then
3481 aros_warnflags_strict_overflow=-Wstrict-overflow
3482 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3486 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3487 CFLAGS=-Wformat-security
3488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h. */
3492 main ()
3496 return 0;
3498 _ACEOF
3499 if ac_fn_c_try_compile "$LINENO"; then :
3500 aros_format_security="yes"
3501 else
3502 aros_format_security="no"
3504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3506 $as_echo "$aros_format_security" >&6; }
3507 if test "x-$aros_format_security" = "x-yes" ; then
3508 aros_warnflags_format_security=-Wformat-security
3509 aros_nowarnflags_format_security=-Wno-format-security
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3513 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3514 CFLAGS=-Wmisleading-indentation
3515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3516 /* end confdefs.h. */
3519 main ()
3523 return 0;
3525 _ACEOF
3526 if ac_fn_c_try_compile "$LINENO"; then :
3527 aros_misleading_indentation="yes"
3528 else
3529 aros_misleading_indentation="no"
3531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3533 $as_echo "$aros_misleading_indentation" >&6; }
3534 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3535 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3536 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3540 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3541 CFLAGS=-Wnonnull-compare
3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543 /* end confdefs.h. */
3546 main ()
3550 return 0;
3552 _ACEOF
3553 if ac_fn_c_try_compile "$LINENO"; then :
3554 aros_nonnull_compare="yes"
3555 else
3556 aros_nonnull_compare="no"
3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3560 $as_echo "$aros_nonnull_compare" >&6; }
3561 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3562 aros_warnflags_nonnull_compare=-Wnonnull-compare
3563 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3567 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3568 CFLAGS=-Wunused
3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570 /* end confdefs.h. */
3573 main ()
3577 return 0;
3579 _ACEOF
3580 if ac_fn_c_try_compile "$LINENO"; then :
3581 aros_unused="yes"
3582 else
3583 aros_unused="no"
3585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3587 $as_echo "$aros_unused" >&6; }
3588 if test "x-$aros_unused" = "x-yes" ; then
3589 aros_warnflags_unused=-Wunused
3590 aros_nowarnflags_unused=-Wno-unused
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
3594 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
3595 CFLAGS=-Wunused-label
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h. */
3600 main ()
3604 return 0;
3606 _ACEOF
3607 if ac_fn_c_try_compile "$LINENO"; then :
3608 aros_unused_label="yes"
3609 else
3610 aros_unused_label="no"
3612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
3614 $as_echo "$aros_unused_label" >&6; }
3615 if test "x-$aros_unused_label" = "x-yes" ; then
3616 aros_warnflags_unused_label=-Wunused-label
3617 aros_nowarnflags_unused_label=-Wno-unused-label
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3621 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3622 CFLAGS=-Wunused-value
3623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3624 /* end confdefs.h. */
3627 main ()
3631 return 0;
3633 _ACEOF
3634 if ac_fn_c_try_compile "$LINENO"; then :
3635 aros_unused_value="yes"
3636 else
3637 aros_unused_value="no"
3639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3641 $as_echo "$aros_unused_value" >&6; }
3642 if test "x-$aros_unused_value" = "x-yes" ; then
3643 aros_warnflags_unused_value=-Wunused-value
3644 aros_nowarnflags_unused_value=-Wno-unused-value
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3648 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3649 CFLAGS=-Wunused-variable
3650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3651 /* end confdefs.h. */
3654 main ()
3658 return 0;
3660 _ACEOF
3661 if ac_fn_c_try_compile "$LINENO"; then :
3662 aros_unused_variable="yes"
3663 else
3664 aros_unused_variable="no"
3666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3668 $as_echo "$aros_unused_variable" >&6; }
3669 if test "x-$aros_unused_variable" = "x-yes" ; then
3670 aros_warnflags_unused_variable=-Wunused-variable
3671 aros_nowarnflags_unused_variable=-Wno-unused-variable
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3675 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3676 CFLAGS=-Wunused-function
3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h. */
3681 main ()
3685 return 0;
3687 _ACEOF
3688 if ac_fn_c_try_compile "$LINENO"; then :
3689 aros_unused_function="yes"
3690 else
3691 aros_unused_function="no"
3693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3695 $as_echo "$aros_unused_function" >&6; }
3696 if test "x-$aros_unused_function" = "x-yes" ; then
3697 aros_warnflags_unused_function=-Wunused-function
3698 aros_nowarnflags_unused_function=-Wno-unused-function
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3702 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3703 CFLAGS=-Wunused-parameter
3704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3705 /* end confdefs.h. */
3708 main ()
3712 return 0;
3714 _ACEOF
3715 if ac_fn_c_try_compile "$LINENO"; then :
3716 aros_unused_parameter="yes"
3717 else
3718 aros_unused_parameter="no"
3720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3722 $as_echo "$aros_unused_parameter" >&6; }
3723 if test "x-$aros_unused_parameter" = "x-yes" ; then
3724 aros_warnflags_unused_parameter=-Wunused-parameter
3725 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3729 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3730 CFLAGS=-Wuninitialized
3731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3732 /* end confdefs.h. */
3735 main ()
3739 return 0;
3741 _ACEOF
3742 if ac_fn_c_try_compile "$LINENO"; then :
3743 aros_uninitialized="yes"
3744 else
3745 aros_uninitialized="no"
3747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3749 $as_echo "$aros_uninitialized" >&6; }
3750 if test "x-$aros_uninitialized" = "x-yes" ; then
3751 aros_warnflags_uninitialized=-Wuninitialized
3752 aros_nowarnflags_uninitialized=-Wno-uninitialized
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3756 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3757 CFLAGS=-Wmaybe-uninitialized
3758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3759 /* end confdefs.h. */
3762 main ()
3766 return 0;
3768 _ACEOF
3769 if ac_fn_c_try_compile "$LINENO"; then :
3770 aros_maybe_uninitialized="yes"
3771 else
3772 aros_maybe_uninitialized="no"
3774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3776 $as_echo "$aros_maybe_uninitialized" >&6; }
3777 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3778 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
3779 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
3780 else
3781 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
3782 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3786 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3787 CFLAGS=-Wimplicit-function-declaration
3788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3792 main ()
3796 return 0;
3798 _ACEOF
3799 if ac_fn_c_try_compile "$LINENO"; then :
3800 aros_implicit_function_declaration="yes"
3801 else
3802 aros_implicit_function_declaration="no"
3804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3806 $as_echo "$aros_implicit_function_declaration" >&6; }
3807 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3808 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
3809 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3813 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3814 CFLAGS=-Wformat
3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3819 main ()
3823 return 0;
3825 _ACEOF
3826 if ac_fn_c_try_compile "$LINENO"; then :
3827 aros_format="yes"
3828 else
3829 aros_format="no"
3831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3833 $as_echo "$aros_format" >&6; }
3834 if test "x-$aros_format" = "x-yes" ; then
3835 aros_warnflags_format=-Wformat
3836 aros_nowarnflags_format=-Wno-format
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3840 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3841 CFLAGS=-Wparentheses
3842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3843 /* end confdefs.h. */
3846 main ()
3850 return 0;
3852 _ACEOF
3853 if ac_fn_c_try_compile "$LINENO"; then :
3854 aros_parentheses="yes"
3855 else
3856 aros_parentheses="no"
3858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3860 $as_echo "$aros_parentheses" >&6; }
3861 if test "x-$aros_parentheses" = "x-yes" ; then
3862 aros_warnflags_parentheses=-Wparentheses
3863 aros_nowarnflags_parentheses=-Wno-parentheses
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3867 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3868 CFLAGS=-Wchar-subscripts
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3873 main ()
3877 return 0;
3879 _ACEOF
3880 if ac_fn_c_try_compile "$LINENO"; then :
3881 aros_char_subscripts="yes"
3882 else
3883 aros_char_subscripts="no"
3885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3887 $as_echo "$aros_char_subscripts" >&6; }
3888 if test "x-$aros_char_subscripts" = "x-yes" ; then
3889 aros_warnflags_char_subscripts=-Wchar-subscripts
3890 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3894 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3895 CFLAGS=-Wendif-labels
3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3900 main ()
3904 return 0;
3906 _ACEOF
3907 if ac_fn_c_try_compile "$LINENO"; then :
3908 aros_endif_labels="yes"
3909 else
3910 aros_endif_labels="no"
3912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3914 $as_echo "$aros_endif_labels" >&6; }
3915 if test "x-$aros_endif_labels" = "x-yes" ; then
3916 aros_warnflags_endif_labels=-Wendif-labels
3917 aros_nowarnflags_endif_labels=-Wno-endif-labels
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3921 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3922 CFLAGS=-Wformat-contains-nul
3923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3924 /* end confdefs.h. */
3927 main ()
3931 return 0;
3933 _ACEOF
3934 if ac_fn_c_try_compile "$LINENO"; then :
3935 aros_format_contains_nul="yes"
3936 else
3937 aros_format_contains_nul="no"
3939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3941 $as_echo "$aros_format_contains_nul" >&6; }
3942 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3943 aros_warnflags_format_contains_nul=-Wformat-contains-nul
3944 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3948 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3949 CFLAGS=-Wimplicit-int
3950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h. */
3954 main ()
3958 return 0;
3960 _ACEOF
3961 if ac_fn_c_try_compile "$LINENO"; then :
3962 aros_implicit_int="yes"
3963 else
3964 aros_implicit_int="no"
3966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3968 $as_echo "$aros_implicit_int" >&6; }
3969 if test "x-$aros_implicit_int" = "x-yes" ; then
3970 aros_warnflags_implicit_int=-Wimplicit-int
3971 aros_nowarnflags_implicit_int=-Wno-implicit-int
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3975 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3976 CFLAGS=-Waggressive-loop-optimizations
3977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3978 /* end confdefs.h. */
3981 main ()
3985 return 0;
3987 _ACEOF
3988 if ac_fn_c_try_compile "$LINENO"; then :
3989 aros_aggressive_loop_optimizations="yes"
3990 else
3991 aros_aggressive_loop_optimizations="no"
3993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3995 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3996 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3997 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
3998 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
4002 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
4003 CFLAGS=-Wcpp
4004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4005 /* end confdefs.h. */
4008 main ()
4012 return 0;
4014 _ACEOF
4015 if ac_fn_c_try_compile "$LINENO"; then :
4016 aros_cpp="yes"
4017 else
4018 aros_cpp="no"
4020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
4022 $as_echo "$aros_cpp" >&6; }
4023 if test "x-$aros_cpp" = "x-yes" ; then
4024 aros_warnflags_cpp=-Wcpp
4025 aros_nowarnflags_cpp=-Wno-cpp
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
4029 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
4030 CFLAGS=-Wswitch
4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h. */
4035 main ()
4039 return 0;
4041 _ACEOF
4042 if ac_fn_c_try_compile "$LINENO"; then :
4043 aros_switch="yes"
4044 else
4045 aros_switch="no"
4047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
4049 $as_echo "$aros_switch" >&6; }
4050 if test "x-$aros_switch" = "x-yes" ; then
4051 aros_warnflags_switch=-Wswitch
4052 aros_nowarnflags_switch=-Wno-switch
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
4056 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
4057 CFLAGS=-Wdiscarded-qualifiers
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4062 main ()
4066 return 0;
4068 _ACEOF
4069 if ac_fn_c_try_compile "$LINENO"; then :
4070 aros_discarded_qualifiers="yes"
4071 else
4072 aros_discarded_qualifiers="no"
4074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
4076 $as_echo "$aros_discarded_qualifiers" >&6; }
4077 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
4078 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
4079 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
4083 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
4084 CFLAGS=-Wsequence-point
4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4089 main ()
4093 return 0;
4095 _ACEOF
4096 if ac_fn_c_try_compile "$LINENO"; then :
4097 aros_sequence_point="yes"
4098 else
4099 aros_sequence_point="no"
4101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
4103 $as_echo "$aros_sequence_point" >&6; }
4104 if test "x-$aros_sequence_point" = "x-yes" ; then
4105 aros_warnflags_sequence_point=-Wsequence-point
4106 aros_nowarnflags_sequence_point=-Wno-sequence-point
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
4110 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
4111 CFLAGS=-Wunknown-pragmas
4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4116 main ()
4120 return 0;
4122 _ACEOF
4123 if ac_fn_c_try_compile "$LINENO"; then :
4124 aros_unknown_pragmas="yes"
4125 else
4126 aros_unknown_pragmas="no"
4128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
4130 $as_echo "$aros_unknown_pragmas" >&6; }
4131 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
4132 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
4133 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
4137 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
4138 CFLAGS=-Wdiscarded-array-qualifiers
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4143 main ()
4147 return 0;
4149 _ACEOF
4150 if ac_fn_c_try_compile "$LINENO"; then :
4151 aros_discarded_array_qualifiers="yes"
4152 else
4153 aros_discarded_array_qualifiers="no"
4155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
4157 $as_echo "$aros_discarded_array_qualifiers" >&6; }
4158 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
4159 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
4160 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4164 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4165 CFLAGS=-Wint-conversion
4166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4170 main ()
4174 return 0;
4176 _ACEOF
4177 if ac_fn_c_try_compile "$LINENO"; then :
4178 aros_int_conversion="yes"
4179 else
4180 aros_int_conversion="no"
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4184 $as_echo "$aros_int_conversion" >&6; }
4185 if test "x-$aros_int_conversion" = "x-yes" ; then
4186 aros_warnflags_int_conversion=-Wint-conversion
4187 aros_nowarnflags_int_conversion=-Wno-int-conversion
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
4191 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
4192 CFLAGS=-Wint-to-pointer-cast
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4197 main ()
4201 return 0;
4203 _ACEOF
4204 if ac_fn_c_try_compile "$LINENO"; then :
4205 aros_int_to_pointer_cast="yes"
4206 else
4207 aros_int_to_pointer_cast="no"
4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
4211 $as_echo "$aros_int_to_pointer_cast" >&6; }
4212 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
4213 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
4214 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
4218 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
4219 CFLAGS=-Wpointer-to-int-cast
4220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4224 main ()
4228 return 0;
4230 _ACEOF
4231 if ac_fn_c_try_compile "$LINENO"; then :
4232 aros_pointer_to_int_cast="yes"
4233 else
4234 aros_pointer_to_int_cast="no"
4236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
4238 $as_echo "$aros_pointer_to_int_cast" >&6; }
4239 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
4240 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
4241 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
4245 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
4246 CFLAGS=-Wunused-const-variable
4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4251 main ()
4255 return 0;
4257 _ACEOF
4258 if ac_fn_c_try_compile "$LINENO"; then :
4259 aros_unused_const_variable="yes"
4260 else
4261 aros_unused_const_variable="no"
4263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
4265 $as_echo "$aros_unused_const_variable" >&6; }
4266 if test "x-$aros_unused_const_variable" = "x-yes" ; then
4267 aros_warnflags_unused_const_variable=-Wunused-const-variable
4268 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
4272 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
4273 CFLAGS=-Wwrite-strings
4274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4278 main ()
4282 return 0;
4284 _ACEOF
4285 if ac_fn_c_try_compile "$LINENO"; then :
4286 aros_write_strings="yes"
4287 else
4288 aros_write_strings="no"
4290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4292 $as_echo "$aros_write_strings" >&6; }
4293 if test "x-$aros_write_strings" = "x-yes" ; then
4294 aros_warnflags_write_strings=-Wwrite-strings
4295 aros_nowarnflags_write_strings=-Wno-write-strings
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4299 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4300 CFLAGS=-Wcomment
4301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4302 /* end confdefs.h. */
4305 main ()
4309 return 0;
4311 _ACEOF
4312 if ac_fn_c_try_compile "$LINENO"; then :
4313 aros_comment="yes"
4314 else
4315 aros_comment="no"
4317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4319 $as_echo "$aros_comment" >&6; }
4320 if test "x-$aros_comment" = "x-yes" ; then
4321 aros_warnflags_comment=-Wcomment
4322 aros_nowarnflags_comment=-Wno-comment
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4326 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4327 CFLAGS=-Wincompatible-pointer-types
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4332 main ()
4336 return 0;
4338 _ACEOF
4339 if ac_fn_c_try_compile "$LINENO"; then :
4340 aros_incompatible_pointer_types="yes"
4341 else
4342 aros_incompatible_pointer_types="no"
4344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4346 $as_echo "$aros_incompatible_pointer_types" >&6; }
4347 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4348 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4349 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4353 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4354 CFLAGS=-Wbool-compare
4355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h. */
4359 main ()
4363 return 0;
4365 _ACEOF
4366 if ac_fn_c_try_compile "$LINENO"; then :
4367 aros_bool_compare="yes"
4368 else
4369 aros_bool_compare="no"
4371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4373 $as_echo "$aros_bool_compare" >&6; }
4374 if test "x-$aros_bool_compare" = "x-yes" ; then
4375 aros_warnflags_bool_compare=-Wbool-compare
4376 aros_nowarnflags_bool_compare=-Wno-bool-compare
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4380 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4381 CFLAGS=-Wlogical-not-parentheses
4382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383 /* end confdefs.h. */
4386 main ()
4390 return 0;
4392 _ACEOF
4393 if ac_fn_c_try_compile "$LINENO"; then :
4394 aros_logical_not_parentheses="yes"
4395 else
4396 aros_logical_not_parentheses="no"
4398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4400 $as_echo "$aros_logical_not_parentheses" >&6; }
4401 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4402 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4403 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4407 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4408 CFLAGS=-Wpointer-sign
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4413 main ()
4417 return 0;
4419 _ACEOF
4420 if ac_fn_c_try_compile "$LINENO"; then :
4421 aros_pointer_sign="yes"
4422 else
4423 aros_pointer_sign="no"
4425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4427 $as_echo "$aros_pointer_sign" >&6; }
4428 if test "x-$aros_pointer_sign" = "x-yes" ; then
4429 aros_warnflags_pointer_sign=-Wpointer-sign
4430 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4434 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4435 CFLAGS=-Wshift-overflow
4436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h. */
4440 main ()
4444 return 0;
4446 _ACEOF
4447 if ac_fn_c_try_compile "$LINENO"; then :
4448 aros_shift_overflow="yes"
4449 else
4450 aros_shift_overflow="no"
4452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4454 $as_echo "$aros_shift_overflow" >&6; }
4455 if test "x-$aros_shift_overflow" = "x-yes" ; then
4456 aros_warnflags_shift_overflow=-Wshift-overflow
4457 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4461 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4462 CFLAGS=-Wframe-address
4463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4464 /* end confdefs.h. */
4467 main ()
4471 return 0;
4473 _ACEOF
4474 if ac_fn_c_try_compile "$LINENO"; then :
4475 aros_frame_address="yes"
4476 else
4477 aros_frame_address="no"
4479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4481 $as_echo "$aros_frame_address" >&6; }
4482 if test "x-$aros_frame_address" = "x-yes" ; then
4483 aros_warnflags_frame_address=-Wframe-address
4484 aros_nowarnflags_frame_address=-Wno-frame-address
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4488 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4489 CFLAGS=-Wdeprecated-declarations
4490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4494 main ()
4498 return 0;
4500 _ACEOF
4501 if ac_fn_c_try_compile "$LINENO"; then :
4502 aros_deprecated_declarations="yes"
4503 else
4504 aros_deprecated_declarations="no"
4506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4508 $as_echo "$aros_deprecated_declarations" >&6; }
4509 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4510 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4511 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4515 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4516 CFLAGS=-Wsign-compare
4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4521 main ()
4525 return 0;
4527 _ACEOF
4528 if ac_fn_c_try_compile "$LINENO"; then :
4529 aros_sign_compare="yes"
4530 else
4531 aros_sign_compare="no"
4533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4535 $as_echo "$aros_sign_compare" >&6; }
4536 if test "x-$aros_sign_compare" = "x-yes" ; then
4537 aros_warnflags_sign_compare=-Wsign-compare
4538 aros_nowarnflags_sign_compare=-Wno-sign-compare
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4542 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4543 CFLAGS=-Wattributes
4544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4545 /* end confdefs.h. */
4548 main ()
4552 return 0;
4554 _ACEOF
4555 if ac_fn_c_try_compile "$LINENO"; then :
4556 aros_attributes="yes"
4557 else
4558 aros_attributes="no"
4560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4562 $as_echo "$aros_attributes" >&6; }
4563 if test "x-$aros_attributes" = "x-yes" ; then
4564 aros_warnflags_attributes=-Wattributes
4565 aros_nowarnflags_attributes=-Wno-attributes
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4569 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4570 CFLAGS=-Woverflow
4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4572 /* end confdefs.h. */
4575 main ()
4579 return 0;
4581 _ACEOF
4582 if ac_fn_c_try_compile "$LINENO"; then :
4583 aros_overflow="yes"
4584 else
4585 aros_overflow="no"
4587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4589 $as_echo "$aros_overflow" >&6; }
4590 if test "x-$aros_overflow" = "x-yes" ; then
4591 aros_warnflags_overflow=-Woverflow
4592 aros_nowarnflags_overflow=-Wno-overflow
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4596 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4597 CFLAGS=-Wunused-local-typedefs
4598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4599 /* end confdefs.h. */
4602 main ()
4606 return 0;
4608 _ACEOF
4609 if ac_fn_c_try_compile "$LINENO"; then :
4610 aros_unused_local_typedefs="yes"
4611 else
4612 aros_unused_local_typedefs="no"
4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4616 $as_echo "$aros_unused_local_typedefs" >&6; }
4617 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4618 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4619 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4623 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4624 CFLAGS=-Wmissing-braces
4625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h. */
4629 main ()
4633 return 0;
4635 _ACEOF
4636 if ac_fn_c_try_compile "$LINENO"; then :
4637 aros_missing_braces="yes"
4638 else
4639 aros_missing_braces="no"
4641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4643 $as_echo "$aros_missing_braces" >&6; }
4644 if test "x-$aros_missing_braces" = "x-yes" ; then
4645 aros_warnflags_missing_braces=-Wmissing-braces
4646 aros_nowarnflags_missing_braces=-Wno-missing-braces
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4650 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4651 CFLAGS=-Wconversion-null
4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4656 main ()
4660 return 0;
4662 _ACEOF
4663 if ac_fn_c_try_compile "$LINENO"; then :
4664 aros_conversion_null="yes"
4665 else
4666 aros_conversion_null="no"
4668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4670 $as_echo "$aros_conversion_null" >&6; }
4671 if test "x-$aros_conversion_null" = "x-yes" ; then
4672 aros_warnflags_conversion_null=-Wconversion-null
4673 aros_nowarnflags_conversion_null=-Wno-conversion-null
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4677 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4678 CFLAGS=-Wnarrowing
4679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h. */
4683 main ()
4687 return 0;
4689 _ACEOF
4690 if ac_fn_c_try_compile "$LINENO"; then :
4691 aros_narrowing="yes"
4692 else
4693 aros_narrowing="no"
4695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4697 $as_echo "$aros_narrowing" >&6; }
4698 if test "x-$aros_narrowing" = "x-yes" ; then
4699 aros_warnflags_narrowing=-Wnarrowing
4700 aros_nowarnflags_narrowing=-Wno-narrowing
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4704 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4705 CFLAGS=-Wvolatile-register-var
4706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4707 /* end confdefs.h. */
4710 main ()
4714 return 0;
4716 _ACEOF
4717 if ac_fn_c_try_compile "$LINENO"; then :
4718 aros_volatile_register_var="yes"
4719 else
4720 aros_volatile_register_var="no"
4722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4724 $as_echo "$aros_volatile_register_var" >&6; }
4725 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4726 aros_warnflags_volatile_register_var=-Wvolatile-register-var
4727 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4731 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4732 CFLAGS=-Wsizeof-pointer-memaccess
4733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4734 /* end confdefs.h. */
4737 main ()
4741 return 0;
4743 _ACEOF
4744 if ac_fn_c_try_compile "$LINENO"; then :
4745 aros_sizeof_pointer_memaccess="yes"
4746 else
4747 aros_sizeof_pointer_memaccess="no"
4749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4751 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4752 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4753 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
4754 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4758 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4759 CFLAGS=-Wreturn-type
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4764 main ()
4768 return 0;
4770 _ACEOF
4771 if ac_fn_c_try_compile "$LINENO"; then :
4772 aros_return_type="yes"
4773 else
4774 aros_return_type="no"
4776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4778 $as_echo "$aros_return_type" >&6; }
4779 if test "x-$aros_return_type" = "x-yes" ; then
4780 aros_warnflags_return_type=-Wreturn-type
4781 aros_nowarnflags_return_type=-Wno-return-type
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
4785 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
4786 CFLAGS=-Wformat-zero-length
4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4791 main ()
4795 return 0;
4797 _ACEOF
4798 if ac_fn_c_try_compile "$LINENO"; then :
4799 aros_format_zero_length="yes"
4800 else
4801 aros_format_zero_length="no"
4803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
4805 $as_echo "$aros_format_zero_length" >&6; }
4806 if test "x-$aros_format_zero_length" = "x-yes" ; then
4807 aros_warnflags_format_zero_length=-Wformat-zero-length
4808 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
4812 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
4813 CFLAGS=-Wlto-type-mismatch
4814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4815 /* end confdefs.h. */
4818 main ()
4822 return 0;
4824 _ACEOF
4825 if ac_fn_c_try_compile "$LINENO"; then :
4826 aros_lto_type_mismatch="yes"
4827 else
4828 aros_lto_type_mismatch="no"
4830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
4832 $as_echo "$aros_lto_type_mismatch" >&6; }
4833 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
4834 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
4835 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
4839 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
4840 CFLAGS=-Wtautological-compare
4841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4842 /* end confdefs.h. */
4845 main ()
4849 return 0;
4851 _ACEOF
4852 if ac_fn_c_try_compile "$LINENO"; then :
4853 aros_tautological_compare="yes"
4854 else
4855 aros_tautological_compare="no"
4857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
4859 $as_echo "$aros_tautological_compare" >&6; }
4860 if test "x-$aros_tautological_compare" = "x-yes" ; then
4861 aros_warnflags_tautological_compare=-Wtautological-compare
4862 aros_nowarnflags_tautological_compare=-Wno-tautological-compare
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
4866 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
4867 CFLAGS=-Wempty-body
4868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4869 /* end confdefs.h. */
4872 main ()
4876 return 0;
4878 _ACEOF
4879 if ac_fn_c_try_compile "$LINENO"; then :
4880 aros_empty_body="yes"
4881 else
4882 aros_empty_body="no"
4884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
4886 $as_echo "$aros_empty_body" >&6; }
4887 if test "x-$aros_empty_body" = "x-yes" ; then
4888 aros_warnflags_empty_body=-Wempty-body
4889 aros_nowarnflags_empty_body=-Wno-empty-body
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-overflow" >&5
4893 $as_echo_n "checking whether ${CC} accepts -Wstringop-overflow... " >&6; }
4894 CFLAGS=-Wstringop-overflow
4895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4896 /* end confdefs.h. */
4899 main ()
4903 return 0;
4905 _ACEOF
4906 if ac_fn_c_try_compile "$LINENO"; then :
4907 aros_stringop_overflow="yes"
4908 else
4909 aros_stringop_overflow="no"
4911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_overflow" >&5
4913 $as_echo "$aros_stringop_overflow" >&6; }
4914 if test "x-$aros_stringop_overflow" = "x-yes" ; then
4915 aros_warnflags_stringop_overflow=-Wstringop-overflow
4916 aros_nowarnflags_stringop_overflow=-Wno-stringop-overflow
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-truncation" >&5
4920 $as_echo_n "checking whether ${CC} accepts -Wformat-truncation... " >&6; }
4921 CFLAGS=-Wformat-truncation
4922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4923 /* end confdefs.h. */
4926 main ()
4930 return 0;
4932 _ACEOF
4933 if ac_fn_c_try_compile "$LINENO"; then :
4934 aros_format_truncation="yes"
4935 else
4936 aros_format_truncation="no"
4938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_truncation" >&5
4940 $as_echo "$aros_format_truncation" >&6; }
4941 if test "x-$aros_format_truncation" = "x-yes" ; then
4942 aros_warnflags_format_truncation=-Wformat-truncation
4943 aros_nowarnflags_format_truncation=-Wno-format-truncation
4947 # export the feature flags...
4975 # export the feature options...
4980 # ...and warning flags...
5109 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
5112 cat >confcache <<\_ACEOF
5113 # This file is a shell script that caches the results of configure
5114 # tests run on this system so they can be shared between configure
5115 # scripts and configure runs, see configure's option --config-cache.
5116 # It is not useful on other systems. If it contains results you don't
5117 # want to keep, you may remove or edit it.
5119 # config.status only pays attention to the cache file if you give it
5120 # the --recheck option to rerun configure.
5122 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5123 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5124 # following values.
5126 _ACEOF
5128 # The following way of writing the cache mishandles newlines in values,
5129 # but we know of no workaround that is simple, portable, and efficient.
5130 # So, we kill variables containing newlines.
5131 # Ultrix sh set writes to stderr and can't be redirected directly,
5132 # and sets the high bit in the cache file unless we assign to the vars.
5134 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5135 eval ac_val=\$$ac_var
5136 case $ac_val in #(
5137 *${as_nl}*)
5138 case $ac_var in #(
5139 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5140 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5141 esac
5142 case $ac_var in #(
5143 _ | IFS | as_nl) ;; #(
5144 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5145 *) { eval $ac_var=; unset $ac_var;} ;;
5146 esac ;;
5147 esac
5148 done
5150 (set) 2>&1 |
5151 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5152 *${as_nl}ac_space=\ *)
5153 # `set' does not quote correctly, so add quotes: double-quote
5154 # substitution turns \\\\ into \\, and sed turns \\ into \.
5155 sed -n \
5156 "s/'/'\\\\''/g;
5157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5158 ;; #(
5160 # `set' quotes correctly as required by POSIX, so do not add quotes.
5161 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5163 esac |
5164 sort
5166 sed '
5167 /^ac_cv_env_/b end
5168 t clear
5169 :clear
5170 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5171 t end
5172 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5173 :end' >>confcache
5174 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5175 if test -w "$cache_file"; then
5176 if test "x$cache_file" != "x/dev/null"; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5178 $as_echo "$as_me: updating cache $cache_file" >&6;}
5179 if test ! -f "$cache_file" || test -h "$cache_file"; then
5180 cat confcache >"$cache_file"
5181 else
5182 case $cache_file in #(
5183 */* | ?:*)
5184 mv -f confcache "$cache_file"$$ &&
5185 mv -f "$cache_file"$$ "$cache_file" ;; #(
5187 mv -f confcache "$cache_file" ;;
5188 esac
5191 else
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5193 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5196 rm -f confcache
5198 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5199 # Let make expand exec_prefix.
5200 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5202 # Transform confdefs.h into DEFS.
5203 # Protect against shell expansion while executing Makefile rules.
5204 # Protect against Makefile macro expansion.
5206 # If the first sed substitution is executed (which looks for macros that
5207 # take arguments), then branch to the quote section. Otherwise,
5208 # look for a macro that doesn't take arguments.
5209 ac_script='
5210 :mline
5211 /\\$/{
5213 s,\\\n,,
5214 b mline
5216 t clear
5217 :clear
5218 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5219 t quote
5220 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5221 t quote
5222 b any
5223 :quote
5224 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5225 s/\[/\\&/g
5226 s/\]/\\&/g
5227 s/\$/$$/g
5229 :any
5232 s/^\n//
5233 s/\n/ /g
5237 DEFS=`sed -n "$ac_script" confdefs.h`
5240 ac_libobjs=
5241 ac_ltlibobjs=
5243 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5244 # 1. Remove the extension, and $U if already installed.
5245 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5246 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5247 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5248 # will be set to the directory where LIBOBJS objects are built.
5249 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5250 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5251 done
5252 LIBOBJS=$ac_libobjs
5254 LTLIBOBJS=$ac_ltlibobjs
5258 : "${CONFIG_STATUS=./config.status}"
5259 ac_write_fail=0
5260 ac_clean_files_save=$ac_clean_files
5261 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5263 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5264 as_write_fail=0
5265 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5266 #! $SHELL
5267 # Generated by $as_me.
5268 # Run this file to recreate the current configuration.
5269 # Compiler output produced by configure, useful for debugging
5270 # configure, is in config.log if it exists.
5272 debug=false
5273 ac_cs_recheck=false
5274 ac_cs_silent=false
5276 SHELL=\${CONFIG_SHELL-$SHELL}
5277 export SHELL
5278 _ASEOF
5279 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5280 ## -------------------- ##
5281 ## M4sh Initialization. ##
5282 ## -------------------- ##
5284 # Be more Bourne compatible
5285 DUALCASE=1; export DUALCASE # for MKS sh
5286 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5287 emulate sh
5288 NULLCMD=:
5289 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5290 # is contrary to our usage. Disable this feature.
5291 alias -g '${1+"$@"}'='"$@"'
5292 setopt NO_GLOB_SUBST
5293 else
5294 case `(set -o) 2>/dev/null` in #(
5295 *posix*) :
5296 set -o posix ;; #(
5297 *) :
5299 esac
5303 as_nl='
5305 export as_nl
5306 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5307 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5308 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5309 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5310 # Prefer a ksh shell builtin over an external printf program on Solaris,
5311 # but without wasting forks for bash or zsh.
5312 if test -z "$BASH_VERSION$ZSH_VERSION" \
5313 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5314 as_echo='print -r --'
5315 as_echo_n='print -rn --'
5316 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5317 as_echo='printf %s\n'
5318 as_echo_n='printf %s'
5319 else
5320 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5321 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5322 as_echo_n='/usr/ucb/echo -n'
5323 else
5324 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5325 as_echo_n_body='eval
5326 arg=$1;
5327 case $arg in #(
5328 *"$as_nl"*)
5329 expr "X$arg" : "X\\(.*\\)$as_nl";
5330 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5331 esac;
5332 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5334 export as_echo_n_body
5335 as_echo_n='sh -c $as_echo_n_body as_echo'
5337 export as_echo_body
5338 as_echo='sh -c $as_echo_body as_echo'
5341 # The user is always right.
5342 if test "${PATH_SEPARATOR+set}" != set; then
5343 PATH_SEPARATOR=:
5344 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5345 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5346 PATH_SEPARATOR=';'
5351 # IFS
5352 # We need space, tab and new line, in precisely that order. Quoting is
5353 # there to prevent editors from complaining about space-tab.
5354 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5355 # splitting by setting IFS to empty value.)
5356 IFS=" "" $as_nl"
5358 # Find who we are. Look in the path if we contain no directory separator.
5359 as_myself=
5360 case $0 in #((
5361 *[\\/]* ) as_myself=$0 ;;
5362 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH
5365 IFS=$as_save_IFS
5366 test -z "$as_dir" && as_dir=.
5367 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5368 done
5369 IFS=$as_save_IFS
5372 esac
5373 # We did not find ourselves, most probably we were run as `sh COMMAND'
5374 # in which case we are not to be found in the path.
5375 if test "x$as_myself" = x; then
5376 as_myself=$0
5378 if test ! -f "$as_myself"; then
5379 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5380 exit 1
5383 # Unset variables that we do not need and which cause bugs (e.g. in
5384 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5385 # suppresses any "Segmentation fault" message there. '((' could
5386 # trigger a bug in pdksh 5.2.14.
5387 for as_var in BASH_ENV ENV MAIL MAILPATH
5388 do eval test x\${$as_var+set} = xset \
5389 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5390 done
5391 PS1='$ '
5392 PS2='> '
5393 PS4='+ '
5395 # NLS nuisances.
5396 LC_ALL=C
5397 export LC_ALL
5398 LANGUAGE=C
5399 export LANGUAGE
5401 # CDPATH.
5402 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5406 # ----------------------------------------
5407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5409 # script with STATUS, using 1 if that was 0.
5410 as_fn_error ()
5412 as_status=$1; test $as_status -eq 0 && as_status=1
5413 if test "$4"; then
5414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5417 $as_echo "$as_me: error: $2" >&2
5418 as_fn_exit $as_status
5419 } # as_fn_error
5422 # as_fn_set_status STATUS
5423 # -----------------------
5424 # Set $? to STATUS, without forking.
5425 as_fn_set_status ()
5427 return $1
5428 } # as_fn_set_status
5430 # as_fn_exit STATUS
5431 # -----------------
5432 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5433 as_fn_exit ()
5435 set +e
5436 as_fn_set_status $1
5437 exit $1
5438 } # as_fn_exit
5440 # as_fn_unset VAR
5441 # ---------------
5442 # Portably unset VAR.
5443 as_fn_unset ()
5445 { eval $1=; unset $1;}
5447 as_unset=as_fn_unset
5448 # as_fn_append VAR VALUE
5449 # ----------------------
5450 # Append the text in VALUE to the end of the definition contained in VAR. Take
5451 # advantage of any shell optimizations that allow amortized linear growth over
5452 # repeated appends, instead of the typical quadratic growth present in naive
5453 # implementations.
5454 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5455 eval 'as_fn_append ()
5457 eval $1+=\$2
5459 else
5460 as_fn_append ()
5462 eval $1=\$$1\$2
5464 fi # as_fn_append
5466 # as_fn_arith ARG...
5467 # ------------------
5468 # Perform arithmetic evaluation on the ARGs, and store the result in the
5469 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5470 # must be portable across $(()) and expr.
5471 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5472 eval 'as_fn_arith ()
5474 as_val=$(( $* ))
5476 else
5477 as_fn_arith ()
5479 as_val=`expr "$@" || test $? -eq 1`
5481 fi # as_fn_arith
5484 if expr a : '\(a\)' >/dev/null 2>&1 &&
5485 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5486 as_expr=expr
5487 else
5488 as_expr=false
5491 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5492 as_basename=basename
5493 else
5494 as_basename=false
5497 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5498 as_dirname=dirname
5499 else
5500 as_dirname=false
5503 as_me=`$as_basename -- "$0" ||
5504 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5505 X"$0" : 'X\(//\)$' \| \
5506 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5507 $as_echo X/"$0" |
5508 sed '/^.*\/\([^/][^/]*\)\/*$/{
5509 s//\1/
5512 /^X\/\(\/\/\)$/{
5513 s//\1/
5516 /^X\/\(\/\).*/{
5517 s//\1/
5520 s/.*/./; q'`
5522 # Avoid depending upon Character Ranges.
5523 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5524 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5525 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5526 as_cr_digits='0123456789'
5527 as_cr_alnum=$as_cr_Letters$as_cr_digits
5529 ECHO_C= ECHO_N= ECHO_T=
5530 case `echo -n x` in #(((((
5531 -n*)
5532 case `echo 'xy\c'` in
5533 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5534 xy) ECHO_C='\c';;
5535 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5536 ECHO_T=' ';;
5537 esac;;
5539 ECHO_N='-n';;
5540 esac
5542 rm -f conf$$ conf$$.exe conf$$.file
5543 if test -d conf$$.dir; then
5544 rm -f conf$$.dir/conf$$.file
5545 else
5546 rm -f conf$$.dir
5547 mkdir conf$$.dir 2>/dev/null
5549 if (echo >conf$$.file) 2>/dev/null; then
5550 if ln -s conf$$.file conf$$ 2>/dev/null; then
5551 as_ln_s='ln -s'
5552 # ... but there are two gotchas:
5553 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5554 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5555 # In both cases, we have to default to `cp -pR'.
5556 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5557 as_ln_s='cp -pR'
5558 elif ln conf$$.file conf$$ 2>/dev/null; then
5559 as_ln_s=ln
5560 else
5561 as_ln_s='cp -pR'
5563 else
5564 as_ln_s='cp -pR'
5566 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5567 rmdir conf$$.dir 2>/dev/null
5570 # as_fn_mkdir_p
5571 # -------------
5572 # Create "$as_dir" as a directory, including parents if necessary.
5573 as_fn_mkdir_p ()
5576 case $as_dir in #(
5577 -*) as_dir=./$as_dir;;
5578 esac
5579 test -d "$as_dir" || eval $as_mkdir_p || {
5580 as_dirs=
5581 while :; do
5582 case $as_dir in #(
5583 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5584 *) as_qdir=$as_dir;;
5585 esac
5586 as_dirs="'$as_qdir' $as_dirs"
5587 as_dir=`$as_dirname -- "$as_dir" ||
5588 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5589 X"$as_dir" : 'X\(//\)[^/]' \| \
5590 X"$as_dir" : 'X\(//\)$' \| \
5591 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5592 $as_echo X"$as_dir" |
5593 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5594 s//\1/
5597 /^X\(\/\/\)[^/].*/{
5598 s//\1/
5601 /^X\(\/\/\)$/{
5602 s//\1/
5605 /^X\(\/\).*/{
5606 s//\1/
5609 s/.*/./; q'`
5610 test -d "$as_dir" && break
5611 done
5612 test -z "$as_dirs" || eval "mkdir $as_dirs"
5613 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5616 } # as_fn_mkdir_p
5617 if mkdir -p . 2>/dev/null; then
5618 as_mkdir_p='mkdir -p "$as_dir"'
5619 else
5620 test -d ./-p && rmdir ./-p
5621 as_mkdir_p=false
5625 # as_fn_executable_p FILE
5626 # -----------------------
5627 # Test if FILE is an executable regular file.
5628 as_fn_executable_p ()
5630 test -f "$1" && test -x "$1"
5631 } # as_fn_executable_p
5632 as_test_x='test -x'
5633 as_executable_p=as_fn_executable_p
5635 # Sed expression to map a string onto a valid CPP name.
5636 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5638 # Sed expression to map a string onto a valid variable name.
5639 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5642 exec 6>&1
5643 ## ----------------------------------- ##
5644 ## Main body of $CONFIG_STATUS script. ##
5645 ## ----------------------------------- ##
5646 _ASEOF
5647 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5650 # Save the log message, to keep $0 and so on meaningful, and to
5651 # report actual input values of CONFIG_FILES etc. instead of their
5652 # values after options handling.
5653 ac_log="
5654 This file was extended by $as_me, which was
5655 generated by GNU Autoconf 2.69. Invocation command line was
5657 CONFIG_FILES = $CONFIG_FILES
5658 CONFIG_HEADERS = $CONFIG_HEADERS
5659 CONFIG_LINKS = $CONFIG_LINKS
5660 CONFIG_COMMANDS = $CONFIG_COMMANDS
5661 $ $0 $@
5663 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5666 _ACEOF
5668 case $ac_config_files in *"
5669 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5670 esac
5674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5675 # Files that config.status was made for.
5676 config_files="$ac_config_files"
5678 _ACEOF
5680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5681 ac_cs_usage="\
5682 \`$as_me' instantiates files and other configuration actions
5683 from templates according to the current configuration. Unless the files
5684 and actions are specified as TAGs, all are instantiated by default.
5686 Usage: $0 [OPTION]... [TAG]...
5688 -h, --help print this help, then exit
5689 -V, --version print version number and configuration settings, then exit
5690 --config print configuration, then exit
5691 -q, --quiet, --silent
5692 do not print progress messages
5693 -d, --debug don't remove temporary files
5694 --recheck update $as_me by reconfiguring in the same conditions
5695 --file=FILE[:TEMPLATE]
5696 instantiate the configuration file FILE
5698 Configuration files:
5699 $config_files
5701 Report bugs to the package provider."
5703 _ACEOF
5704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5705 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5706 ac_cs_version="\\
5707 config.status
5708 configured by $0, generated by GNU Autoconf 2.69,
5709 with options \\"\$ac_cs_config\\"
5711 Copyright (C) 2012 Free Software Foundation, Inc.
5712 This config.status script is free software; the Free Software Foundation
5713 gives unlimited permission to copy, distribute and modify it."
5715 ac_pwd='$ac_pwd'
5716 srcdir='$srcdir'
5717 test -n "\$AWK" || AWK=awk
5718 _ACEOF
5720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5721 # The default lists apply if the user does not specify any file.
5722 ac_need_defaults=:
5723 while test $# != 0
5725 case $1 in
5726 --*=?*)
5727 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5728 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5729 ac_shift=:
5731 --*=)
5732 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5733 ac_optarg=
5734 ac_shift=:
5737 ac_option=$1
5738 ac_optarg=$2
5739 ac_shift=shift
5741 esac
5743 case $ac_option in
5744 # Handling of the options.
5745 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5746 ac_cs_recheck=: ;;
5747 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5748 $as_echo "$ac_cs_version"; exit ;;
5749 --config | --confi | --conf | --con | --co | --c )
5750 $as_echo "$ac_cs_config"; exit ;;
5751 --debug | --debu | --deb | --de | --d | -d )
5752 debug=: ;;
5753 --file | --fil | --fi | --f )
5754 $ac_shift
5755 case $ac_optarg in
5756 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5757 '') as_fn_error $? "missing file argument" ;;
5758 esac
5759 as_fn_append CONFIG_FILES " '$ac_optarg'"
5760 ac_need_defaults=false;;
5761 --he | --h | --help | --hel | -h )
5762 $as_echo "$ac_cs_usage"; exit ;;
5763 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5764 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5765 ac_cs_silent=: ;;
5767 # This is an error.
5768 -*) as_fn_error $? "unrecognized option: \`$1'
5769 Try \`$0 --help' for more information." ;;
5771 *) as_fn_append ac_config_targets " $1"
5772 ac_need_defaults=false ;;
5774 esac
5775 shift
5776 done
5778 ac_configure_extra_args=
5780 if $ac_cs_silent; then
5781 exec 6>/dev/null
5782 ac_configure_extra_args="$ac_configure_extra_args --silent"
5785 _ACEOF
5786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5787 if \$ac_cs_recheck; then
5788 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5789 shift
5790 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5791 CONFIG_SHELL='$SHELL'
5792 export CONFIG_SHELL
5793 exec "\$@"
5796 _ACEOF
5797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5798 exec 5>>config.log
5800 echo
5801 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5802 ## Running $as_me. ##
5803 _ASBOX
5804 $as_echo "$ac_log"
5805 } >&5
5807 _ACEOF
5808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5809 _ACEOF
5811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5813 # Handling of arguments.
5814 for ac_config_target in $ac_config_targets
5816 case $ac_config_target in
5817 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5819 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5820 esac
5821 done
5824 # If the user did not use the arguments to specify the items to instantiate,
5825 # then the envvar interface is used. Set only those that are not.
5826 # We use the long form for the default assignment because of an extremely
5827 # bizarre bug on SunOS 4.1.3.
5828 if $ac_need_defaults; then
5829 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5832 # Have a temporary directory for convenience. Make it in the build tree
5833 # simply because there is no reason against having it here, and in addition,
5834 # creating and moving files from /tmp can sometimes cause problems.
5835 # Hook for its removal unless debugging.
5836 # Note that there is a small window in which the directory will not be cleaned:
5837 # after its creation but before its name has been assigned to `$tmp'.
5838 $debug ||
5840 tmp= ac_tmp=
5841 trap 'exit_status=$?
5842 : "${ac_tmp:=$tmp}"
5843 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5845 trap 'as_fn_exit 1' 1 2 13 15
5847 # Create a (secure) tmp directory for tmp files.
5850 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5851 test -d "$tmp"
5852 } ||
5854 tmp=./conf$$-$RANDOM
5855 (umask 077 && mkdir "$tmp")
5856 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5857 ac_tmp=$tmp
5859 # Set up the scripts for CONFIG_FILES section.
5860 # No need to generate them if there are no CONFIG_FILES.
5861 # This happens for instance with `./config.status config.h'.
5862 if test -n "$CONFIG_FILES"; then
5865 ac_cr=`echo X | tr X '\015'`
5866 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5867 # But we know of no other shell where ac_cr would be empty at this
5868 # point, so we can use a bashism as a fallback.
5869 if test "x$ac_cr" = x; then
5870 eval ac_cr=\$\'\\r\'
5872 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5873 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5874 ac_cs_awk_cr='\\r'
5875 else
5876 ac_cs_awk_cr=$ac_cr
5879 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5880 _ACEOF
5884 echo "cat >conf$$subs.awk <<_ACEOF" &&
5885 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5886 echo "_ACEOF"
5887 } >conf$$subs.sh ||
5888 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5889 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5890 ac_delim='%!_!# '
5891 for ac_last_try in false false false false false :; do
5892 . ./conf$$subs.sh ||
5893 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5895 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5896 if test $ac_delim_n = $ac_delim_num; then
5897 break
5898 elif $ac_last_try; then
5899 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5900 else
5901 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5903 done
5904 rm -f conf$$subs.sh
5906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5907 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5908 _ACEOF
5909 sed -n '
5911 s/^/S["/; s/!.*/"]=/
5914 s/^[^!]*!//
5915 :repl
5916 t repl
5917 s/'"$ac_delim"'$//
5918 t delim
5921 s/\(.\{148\}\)..*/\1/
5922 t more1
5923 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5926 b repl
5927 :more1
5928 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5931 s/.\{148\}//
5932 t nl
5933 :delim
5935 s/\(.\{148\}\)..*/\1/
5936 t more2
5937 s/["\\]/\\&/g; s/^/"/; s/$/"/
5940 :more2
5941 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5944 s/.\{148\}//
5945 t delim
5946 ' <conf$$subs.awk | sed '
5947 /^[^""]/{
5949 s/\n//
5951 ' >>$CONFIG_STATUS || ac_write_fail=1
5952 rm -f conf$$subs.awk
5953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5954 _ACAWK
5955 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5956 for (key in S) S_is_set[key] = 1
5957 FS = "\a"
5961 line = $ 0
5962 nfields = split(line, field, "@")
5963 substed = 0
5964 len = length(field[1])
5965 for (i = 2; i < nfields; i++) {
5966 key = field[i]
5967 keylen = length(key)
5968 if (S_is_set[key]) {
5969 value = S[key]
5970 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5971 len += length(value) + length(field[++i])
5972 substed = 1
5973 } else
5974 len += 1 + keylen
5977 print line
5980 _ACAWK
5981 _ACEOF
5982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5983 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5984 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5985 else
5987 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5988 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5989 _ACEOF
5991 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5992 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5993 # trailing colons and then remove the whole line if VPATH becomes empty
5994 # (actually we leave an empty line to preserve line numbers).
5995 if test "x$srcdir" = x.; then
5996 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5998 s///
5999 s/^/:/
6000 s/[ ]*$/:/
6001 s/:\$(srcdir):/:/g
6002 s/:\${srcdir}:/:/g
6003 s/:@srcdir@:/:/g
6004 s/^:*//
6005 s/:*$//
6007 s/\(=[ ]*\).*/\1/
6009 s/\n//
6010 s/^[^=]*=[ ]*$//
6014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6015 fi # test -n "$CONFIG_FILES"
6018 eval set X " :F $CONFIG_FILES "
6019 shift
6020 for ac_tag
6022 case $ac_tag in
6023 :[FHLC]) ac_mode=$ac_tag; continue;;
6024 esac
6025 case $ac_mode$ac_tag in
6026 :[FHL]*:*);;
6027 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6028 :[FH]-) ac_tag=-:-;;
6029 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6030 esac
6031 ac_save_IFS=$IFS
6032 IFS=:
6033 set x $ac_tag
6034 IFS=$ac_save_IFS
6035 shift
6036 ac_file=$1
6037 shift
6039 case $ac_mode in
6040 :L) ac_source=$1;;
6041 :[FH])
6042 ac_file_inputs=
6043 for ac_f
6045 case $ac_f in
6046 -) ac_f="$ac_tmp/stdin";;
6047 *) # Look for the file first in the build tree, then in the source tree
6048 # (if the path is not absolute). The absolute path cannot be DOS-style,
6049 # because $ac_f cannot contain `:'.
6050 test -f "$ac_f" ||
6051 case $ac_f in
6052 [\\/$]*) false;;
6053 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6054 esac ||
6055 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6056 esac
6057 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6058 as_fn_append ac_file_inputs " '$ac_f'"
6059 done
6061 # Let's still pretend it is `configure' which instantiates (i.e., don't
6062 # use $as_me), people would be surprised to read:
6063 # /* config.h. Generated by config.status. */
6064 configure_input='Generated from '`
6065 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6066 `' by configure.'
6067 if test x"$ac_file" != x-; then
6068 configure_input="$ac_file. $configure_input"
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6070 $as_echo "$as_me: creating $ac_file" >&6;}
6072 # Neutralize special characters interpreted by sed in replacement strings.
6073 case $configure_input in #(
6074 *\&* | *\|* | *\\* )
6075 ac_sed_conf_input=`$as_echo "$configure_input" |
6076 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6077 *) ac_sed_conf_input=$configure_input;;
6078 esac
6080 case $ac_tag in
6081 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6082 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6083 esac
6085 esac
6087 ac_dir=`$as_dirname -- "$ac_file" ||
6088 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6089 X"$ac_file" : 'X\(//\)[^/]' \| \
6090 X"$ac_file" : 'X\(//\)$' \| \
6091 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6092 $as_echo X"$ac_file" |
6093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6094 s//\1/
6097 /^X\(\/\/\)[^/].*/{
6098 s//\1/
6101 /^X\(\/\/\)$/{
6102 s//\1/
6105 /^X\(\/\).*/{
6106 s//\1/
6109 s/.*/./; q'`
6110 as_dir="$ac_dir"; as_fn_mkdir_p
6111 ac_builddir=.
6113 case "$ac_dir" in
6114 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6116 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6117 # A ".." for each directory in $ac_dir_suffix.
6118 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6119 case $ac_top_builddir_sub in
6120 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6121 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6122 esac ;;
6123 esac
6124 ac_abs_top_builddir=$ac_pwd
6125 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6126 # for backward compatibility:
6127 ac_top_builddir=$ac_top_build_prefix
6129 case $srcdir in
6130 .) # We are building in place.
6131 ac_srcdir=.
6132 ac_top_srcdir=$ac_top_builddir_sub
6133 ac_abs_top_srcdir=$ac_pwd ;;
6134 [\\/]* | ?:[\\/]* ) # Absolute name.
6135 ac_srcdir=$srcdir$ac_dir_suffix;
6136 ac_top_srcdir=$srcdir
6137 ac_abs_top_srcdir=$srcdir ;;
6138 *) # Relative name.
6139 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6140 ac_top_srcdir=$ac_top_build_prefix$srcdir
6141 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6142 esac
6143 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6146 case $ac_mode in
6149 # CONFIG_FILE
6152 _ACEOF
6154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6155 # If the template does not know about datarootdir, expand it.
6156 # FIXME: This hack should be removed a few years after 2.60.
6157 ac_datarootdir_hack=; ac_datarootdir_seen=
6158 ac_sed_dataroot='
6159 /datarootdir/ {
6163 /@datadir@/p
6164 /@docdir@/p
6165 /@infodir@/p
6166 /@localedir@/p
6167 /@mandir@/p'
6168 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6169 *datarootdir*) ac_datarootdir_seen=yes;;
6170 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6172 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6173 _ACEOF
6174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6175 ac_datarootdir_hack='
6176 s&@datadir@&$datadir&g
6177 s&@docdir@&$docdir&g
6178 s&@infodir@&$infodir&g
6179 s&@localedir@&$localedir&g
6180 s&@mandir@&$mandir&g
6181 s&\\\${datarootdir}&$datarootdir&g' ;;
6182 esac
6183 _ACEOF
6185 # Neutralize VPATH when `$srcdir' = `.'.
6186 # Shell code in configure.ac might set extrasub.
6187 # FIXME: do we really want to maintain this feature?
6188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6189 ac_sed_extra="$ac_vpsub
6190 $extrasub
6191 _ACEOF
6192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6194 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6195 s|@configure_input@|$ac_sed_conf_input|;t t
6196 s&@top_builddir@&$ac_top_builddir_sub&;t t
6197 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6198 s&@srcdir@&$ac_srcdir&;t t
6199 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6200 s&@top_srcdir@&$ac_top_srcdir&;t t
6201 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6202 s&@builddir@&$ac_builddir&;t t
6203 s&@abs_builddir@&$ac_abs_builddir&;t t
6204 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6205 $ac_datarootdir_hack
6207 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6208 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6210 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6211 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6212 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6213 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6215 which seems to be undefined. Please make sure it is defined" >&5
6216 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6217 which seems to be undefined. Please make sure it is defined" >&2;}
6219 rm -f "$ac_tmp/stdin"
6220 case $ac_file in
6221 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6222 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6223 esac \
6224 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6229 esac
6231 done # for ac_tag
6234 as_fn_exit 0
6235 _ACEOF
6236 ac_clean_files=$ac_clean_files_save
6238 test $ac_write_fail = 0 ||
6239 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6242 # configure is writing to config.log, and then calls config.status.
6243 # config.status does its own redirection, appending to config.log.
6244 # Unfortunately, on DOS this fails, as config.log is still kept open
6245 # by configure, so config.status won't be able to write to it; its
6246 # output is simply discarded. So we exec the FD to /dev/null,
6247 # effectively closing config.log, so it can be properly (re)opened and
6248 # appended to by config.status. When coming back to configure, we
6249 # need to make the FD available again.
6250 if test "$no_create" != yes; then
6251 ac_cs_success=:
6252 ac_config_status_args=
6253 test "$silent" = yes &&
6254 ac_config_status_args="$ac_config_status_args --quiet"
6255 exec 5>/dev/null
6256 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6257 exec 5>>config.log
6258 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6259 # would make configure fail if this is the last instruction.
6260 $ac_cs_success || as_fn_exit 1
6262 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6264 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}