fix a typo in the features script
[AROS.git] / config / features
blobd5f432640b70b5c72e127a804a1651f6ec216aed
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_missing_field_initializers
588 aros_warnflags_missing_field_initializers
589 aros_nowarnflags_shift_negative_value
590 aros_warnflags_shift_negative_value
591 aros_nowarnflags_format_truncation
592 aros_warnflags_format_truncation
593 aros_nowarnflags_stringop_overflow
594 aros_warnflags_stringop_overflow
595 aros_nowarnflags_empty_body
596 aros_warnflags_empty_body
597 aros_nowarnflags_tautological_compare
598 aros_warnflags_tautological_compare
599 aros_nowarnflags_lto_type_mismatch
600 aros_warnflags_lto_type_mismatch
601 aros_nowarnflags_format_zero_length
602 aros_warnflags_format_zero_length
603 aros_nowarnflags_return_type
604 aros_warnflags_return_type
605 aros_nowarnflags_sizeof_pointer_memaccess
606 aros_warnflags_sizeof_pointer_memaccess
607 aros_nowarnflags_volatile_register_var
608 aros_warnflags_volatile_register_var
609 aros_nowarnflags_narrowing
610 aros_warnflags_narrowing
611 aros_nowarnflags_conversion_null
612 aros_warnflags_conversion_null
613 aros_nowarnflags_missing_braces
614 aros_warnflags_missing_braces
615 aros_nowarnflags_unused_local_typedefs
616 aros_warnflags_unused_local_typedefs
617 aros_nowarnflags_overflow
618 aros_warnflags_overflow
619 aros_nowarnflags_attributes
620 aros_warnflags_attributes
621 aros_nowarnflags_sign_compare
622 aros_warnflags_sign_compare
623 aros_nowarnflags_deprecated_declarations
624 aros_warnflags_deprecated_declarations
625 aros_nowarnflags_frame_address
626 aros_warnflags_frame_address
627 aros_nowarnflags_shift_overflow
628 aros_warnflags_shift_overflow
629 aros_nowarnflags_pointer_sign
630 aros_warnflags_pointer_sign
631 aros_nowarnflags_logical_not_parentheses
632 aros_warnflags_logical_not_parentheses
633 aros_nowarnflags_bool_compare
634 aros_warnflags_bool_compare
635 aros_nowarnflags_incompatible_pointer_types
636 aros_warnflags_incompatible_pointer_types
637 aros_nowarnflags_comment
638 aros_warnflags_comment
639 aros_nowarnflags_write_strings
640 aros_warnflags_write_strings
641 aros_nowarnflags_unused_const_variable
642 aros_warnflags_unused_const_variable
643 aros_nowarnflags_pointer_to_int_cast
644 aros_warnflags_pointer_to_int_cast
645 aros_nowarnflags_int_to_pointer_cast
646 aros_warnflags_int_to_pointer_cast
647 aros_nowarnflags_int_conversion
648 aros_warnflags_int_conversion
649 aros_nowarnflags_discarded_array_qualifiers
650 aros_warnflags_discarded_array_qualifiers
651 aros_nowarnflags_unknown_pragmas
652 aros_warnflags_unknown_pragmas
653 aros_nowarnflags_sequence_point
654 aros_warnflags_sequence_point
655 aros_nowarnflags_discarded_qualifiers
656 aros_warnflags_discarded_qualifiers
657 aros_nowarnflags_switch
658 aros_warnflags_switch
659 aros_nowarnflags_cpp
660 aros_warnflags_cpp
661 aros_nowarnflags_aggressive_loop_optimizations
662 aros_warnflags_aggressive_loop_optimizations
663 aros_nowarnflags_implicit_int
664 aros_warnflags_implicit_int
665 aros_nowarnflags_format_contains_nul
666 aros_warnflags_format_contains_nul
667 aros_nowarnflags_endif_labels
668 aros_warnflags_endif_labels
669 aros_nowarnflags_char_subscripts
670 aros_warnflags_char_subscripts
671 aros_nowarnflags_parentheses
672 aros_warnflags_parentheses
673 aros_nowarnflags_format
674 aros_warnflags_format
675 aros_nowarnflags_implicit_function_declaration
676 aros_warnflags_implicit_function_declaration
677 aros_nowarnflags_maybe_uninitialized
678 aros_warnflags_maybe_uninitialized
679 aros_nowarnflags_uninitialized
680 aros_warnflags_uninitialized
681 aros_nowarnflags_unused_parameter
682 aros_warnflags_unused_parameter
683 aros_nowarnflags_unused_function
684 aros_warnflags_unused_function
685 aros_nowarnflags_unused_variable
686 aros_warnflags_unused_variable
687 aros_nowarnflags_unused_value
688 aros_warnflags_unused_value
689 aros_nowarnflags_unused_label
690 aros_warnflags_unused_label
691 aros_nowarnflags_unused
692 aros_warnflags_unused
693 aros_nowarnflags_nonnull_compare
694 aros_warnflags_nonnull_compare
695 aros_nowarnflags_misleading_indentation
696 aros_warnflags_misleading_indentation
697 aros_nowarnflags_format_security
698 aros_warnflags_format_security
699 aros_nowarnflags_strict_overflow
700 aros_warnflags_strict_overflow
701 aros_nowarnflags_strict_prototypes
702 aros_warnflags_strict_prototypes
703 aros_nowarnflags_enum_compare
704 aros_warnflags_enum_compare
705 aros_nowarnflags_array_bounds
706 aros_warnflags_array_bounds
707 aros_nowarnflags_strict_aliasing
708 aros_warnflags_strict_aliasing
709 aros_nowarnflags_unused_but_set_variable
710 aros_warnflags_unused_but_set_variable
711 aros_nowarnflags_unknown_warning_option
712 aros_warnflags_unknown_warning_option
713 aros_nowarnflags_unused_command_line_argument
714 aros_warnflags_unused_command_line_argument
715 aros_nowarnflags_error
716 aros_warnflags_error
717 aros_cflags_no_red_zone
718 aros_cflags_iquote_end
719 aros_cflags_iquote
720 aros_cflags_noipacp
721 aros_cflags_ipacp
722 aros_cflags_noinlinesmallfunctions
723 aros_cflags_inlinesmallfunctions
724 aros_cflags_nostrictaliasing
725 aros_cflags_strictaliasing
726 aros_cflags_unroll_loops
727 aros_cflags_peel_loops
728 aros_cflags_loop_strip_mine
729 aros_cflags_loop_interchange
730 aros_cflags_loop_block
731 aros_cflags_whole_program
732 aros_cflags_nolto
733 aros_cflags_lto
734 aros_cflags_no_builtin_floor
735 aros_cflags_fast_math
736 aros_cflags_permissive
737 aros_cflags_exceptions
738 OBJEXT
739 EXEEXT
740 ac_ct_CC
741 CPPFLAGS
742 LDFLAGS
743 CFLAGS
745 target_alias
746 host_alias
747 build_alias
748 LIBS
749 ECHO_T
750 ECHO_N
751 ECHO_C
752 DEFS
753 mandir
754 localedir
755 libdir
756 psdir
757 pdfdir
758 dvidir
759 htmldir
760 infodir
761 docdir
762 oldincludedir
763 includedir
764 localstatedir
765 sharedstatedir
766 sysconfdir
767 datadir
768 datarootdir
769 libexecdir
770 sbindir
771 bindir
772 program_transform_name
773 prefix
774 exec_prefix
775 PACKAGE_URL
776 PACKAGE_BUGREPORT
777 PACKAGE_STRING
778 PACKAGE_VERSION
779 PACKAGE_TARNAME
780 PACKAGE_NAME
781 PATH_SEPARATOR
782 SHELL'
783 ac_subst_files=''
784 ac_user_opts='
785 enable_option_checking
786 with_config_dir
788 ac_precious_vars='build_alias
789 host_alias
790 target_alias
792 CFLAGS
793 LDFLAGS
794 LIBS
795 CPPFLAGS'
798 # Initialize some variables set by options.
799 ac_init_help=
800 ac_init_version=false
801 ac_unrecognized_opts=
802 ac_unrecognized_sep=
803 # The variables have the same names as the options, with
804 # dashes changed to underlines.
805 cache_file=/dev/null
806 exec_prefix=NONE
807 no_create=
808 no_recursion=
809 prefix=NONE
810 program_prefix=NONE
811 program_suffix=NONE
812 program_transform_name=s,x,x,
813 silent=
814 site=
815 srcdir=
816 verbose=
817 x_includes=NONE
818 x_libraries=NONE
820 # Installation directory options.
821 # These are left unexpanded so users can "make install exec_prefix=/foo"
822 # and all the variables that are supposed to be based on exec_prefix
823 # by default will actually change.
824 # Use braces instead of parens because sh, perl, etc. also accept them.
825 # (The list follows the same order as the GNU Coding Standards.)
826 bindir='${exec_prefix}/bin'
827 sbindir='${exec_prefix}/sbin'
828 libexecdir='${exec_prefix}/libexec'
829 datarootdir='${prefix}/share'
830 datadir='${datarootdir}'
831 sysconfdir='${prefix}/etc'
832 sharedstatedir='${prefix}/com'
833 localstatedir='${prefix}/var'
834 includedir='${prefix}/include'
835 oldincludedir='/usr/include'
836 docdir='${datarootdir}/doc/${PACKAGE}'
837 infodir='${datarootdir}/info'
838 htmldir='${docdir}'
839 dvidir='${docdir}'
840 pdfdir='${docdir}'
841 psdir='${docdir}'
842 libdir='${exec_prefix}/lib'
843 localedir='${datarootdir}/locale'
844 mandir='${datarootdir}/man'
846 ac_prev=
847 ac_dashdash=
848 for ac_option
850 # If the previous option needs an argument, assign it.
851 if test -n "$ac_prev"; then
852 eval $ac_prev=\$ac_option
853 ac_prev=
854 continue
857 case $ac_option in
858 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
859 *=) ac_optarg= ;;
860 *) ac_optarg=yes ;;
861 esac
863 # Accept the important Cygnus configure options, so we can diagnose typos.
865 case $ac_dashdash$ac_option in
867 ac_dashdash=yes ;;
869 -bindir | --bindir | --bindi | --bind | --bin | --bi)
870 ac_prev=bindir ;;
871 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
872 bindir=$ac_optarg ;;
874 -build | --build | --buil | --bui | --bu)
875 ac_prev=build_alias ;;
876 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
877 build_alias=$ac_optarg ;;
879 -cache-file | --cache-file | --cache-fil | --cache-fi \
880 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
881 ac_prev=cache_file ;;
882 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
883 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
884 cache_file=$ac_optarg ;;
886 --config-cache | -C)
887 cache_file=config.cache ;;
889 -datadir | --datadir | --datadi | --datad)
890 ac_prev=datadir ;;
891 -datadir=* | --datadir=* | --datadi=* | --datad=*)
892 datadir=$ac_optarg ;;
894 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
895 | --dataroo | --dataro | --datar)
896 ac_prev=datarootdir ;;
897 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
898 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
899 datarootdir=$ac_optarg ;;
901 -disable-* | --disable-*)
902 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
903 # Reject names that are not valid shell variable names.
904 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
905 as_fn_error $? "invalid feature name: $ac_useropt"
906 ac_useropt_orig=$ac_useropt
907 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
908 case $ac_user_opts in
910 "enable_$ac_useropt"
911 "*) ;;
912 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
913 ac_unrecognized_sep=', ';;
914 esac
915 eval enable_$ac_useropt=no ;;
917 -docdir | --docdir | --docdi | --doc | --do)
918 ac_prev=docdir ;;
919 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
920 docdir=$ac_optarg ;;
922 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
923 ac_prev=dvidir ;;
924 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
925 dvidir=$ac_optarg ;;
927 -enable-* | --enable-*)
928 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
929 # Reject names that are not valid shell variable names.
930 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
931 as_fn_error $? "invalid feature name: $ac_useropt"
932 ac_useropt_orig=$ac_useropt
933 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
934 case $ac_user_opts in
936 "enable_$ac_useropt"
937 "*) ;;
938 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
939 ac_unrecognized_sep=', ';;
940 esac
941 eval enable_$ac_useropt=\$ac_optarg ;;
943 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
944 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
945 | --exec | --exe | --ex)
946 ac_prev=exec_prefix ;;
947 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
948 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
949 | --exec=* | --exe=* | --ex=*)
950 exec_prefix=$ac_optarg ;;
952 -gas | --gas | --ga | --g)
953 # Obsolete; use --with-gas.
954 with_gas=yes ;;
956 -help | --help | --hel | --he | -h)
957 ac_init_help=long ;;
958 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
959 ac_init_help=recursive ;;
960 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
961 ac_init_help=short ;;
963 -host | --host | --hos | --ho)
964 ac_prev=host_alias ;;
965 -host=* | --host=* | --hos=* | --ho=*)
966 host_alias=$ac_optarg ;;
968 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
969 ac_prev=htmldir ;;
970 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
971 | --ht=*)
972 htmldir=$ac_optarg ;;
974 -includedir | --includedir | --includedi | --included | --include \
975 | --includ | --inclu | --incl | --inc)
976 ac_prev=includedir ;;
977 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
978 | --includ=* | --inclu=* | --incl=* | --inc=*)
979 includedir=$ac_optarg ;;
981 -infodir | --infodir | --infodi | --infod | --info | --inf)
982 ac_prev=infodir ;;
983 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
984 infodir=$ac_optarg ;;
986 -libdir | --libdir | --libdi | --libd)
987 ac_prev=libdir ;;
988 -libdir=* | --libdir=* | --libdi=* | --libd=*)
989 libdir=$ac_optarg ;;
991 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
992 | --libexe | --libex | --libe)
993 ac_prev=libexecdir ;;
994 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
995 | --libexe=* | --libex=* | --libe=*)
996 libexecdir=$ac_optarg ;;
998 -localedir | --localedir | --localedi | --localed | --locale)
999 ac_prev=localedir ;;
1000 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1001 localedir=$ac_optarg ;;
1003 -localstatedir | --localstatedir | --localstatedi | --localstated \
1004 | --localstate | --localstat | --localsta | --localst | --locals)
1005 ac_prev=localstatedir ;;
1006 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1007 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1008 localstatedir=$ac_optarg ;;
1010 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1011 ac_prev=mandir ;;
1012 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1013 mandir=$ac_optarg ;;
1015 -nfp | --nfp | --nf)
1016 # Obsolete; use --without-fp.
1017 with_fp=no ;;
1019 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1020 | --no-cr | --no-c | -n)
1021 no_create=yes ;;
1023 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1024 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1025 no_recursion=yes ;;
1027 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1028 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1029 | --oldin | --oldi | --old | --ol | --o)
1030 ac_prev=oldincludedir ;;
1031 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1032 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1033 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1034 oldincludedir=$ac_optarg ;;
1036 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1037 ac_prev=prefix ;;
1038 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1039 prefix=$ac_optarg ;;
1041 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1042 | --program-pre | --program-pr | --program-p)
1043 ac_prev=program_prefix ;;
1044 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1045 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1046 program_prefix=$ac_optarg ;;
1048 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1049 | --program-suf | --program-su | --program-s)
1050 ac_prev=program_suffix ;;
1051 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1052 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1053 program_suffix=$ac_optarg ;;
1055 -program-transform-name | --program-transform-name \
1056 | --program-transform-nam | --program-transform-na \
1057 | --program-transform-n | --program-transform- \
1058 | --program-transform | --program-transfor \
1059 | --program-transfo | --program-transf \
1060 | --program-trans | --program-tran \
1061 | --progr-tra | --program-tr | --program-t)
1062 ac_prev=program_transform_name ;;
1063 -program-transform-name=* | --program-transform-name=* \
1064 | --program-transform-nam=* | --program-transform-na=* \
1065 | --program-transform-n=* | --program-transform-=* \
1066 | --program-transform=* | --program-transfor=* \
1067 | --program-transfo=* | --program-transf=* \
1068 | --program-trans=* | --program-tran=* \
1069 | --progr-tra=* | --program-tr=* | --program-t=*)
1070 program_transform_name=$ac_optarg ;;
1072 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1073 ac_prev=pdfdir ;;
1074 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1075 pdfdir=$ac_optarg ;;
1077 -psdir | --psdir | --psdi | --psd | --ps)
1078 ac_prev=psdir ;;
1079 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1080 psdir=$ac_optarg ;;
1082 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1083 | -silent | --silent | --silen | --sile | --sil)
1084 silent=yes ;;
1086 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1087 ac_prev=sbindir ;;
1088 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1089 | --sbi=* | --sb=*)
1090 sbindir=$ac_optarg ;;
1092 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1093 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1094 | --sharedst | --shareds | --shared | --share | --shar \
1095 | --sha | --sh)
1096 ac_prev=sharedstatedir ;;
1097 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1098 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1099 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1100 | --sha=* | --sh=*)
1101 sharedstatedir=$ac_optarg ;;
1103 -site | --site | --sit)
1104 ac_prev=site ;;
1105 -site=* | --site=* | --sit=*)
1106 site=$ac_optarg ;;
1108 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1109 ac_prev=srcdir ;;
1110 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1111 srcdir=$ac_optarg ;;
1113 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1114 | --syscon | --sysco | --sysc | --sys | --sy)
1115 ac_prev=sysconfdir ;;
1116 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1117 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1118 sysconfdir=$ac_optarg ;;
1120 -target | --target | --targe | --targ | --tar | --ta | --t)
1121 ac_prev=target_alias ;;
1122 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1123 target_alias=$ac_optarg ;;
1125 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1126 verbose=yes ;;
1128 -version | --version | --versio | --versi | --vers | -V)
1129 ac_init_version=: ;;
1131 -with-* | --with-*)
1132 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1133 # Reject names that are not valid shell variable names.
1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1135 as_fn_error $? "invalid package name: $ac_useropt"
1136 ac_useropt_orig=$ac_useropt
1137 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138 case $ac_user_opts in
1140 "with_$ac_useropt"
1141 "*) ;;
1142 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1143 ac_unrecognized_sep=', ';;
1144 esac
1145 eval with_$ac_useropt=\$ac_optarg ;;
1147 -without-* | --without-*)
1148 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1149 # Reject names that are not valid shell variable names.
1150 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1151 as_fn_error $? "invalid package name: $ac_useropt"
1152 ac_useropt_orig=$ac_useropt
1153 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1154 case $ac_user_opts in
1156 "with_$ac_useropt"
1157 "*) ;;
1158 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1159 ac_unrecognized_sep=', ';;
1160 esac
1161 eval with_$ac_useropt=no ;;
1163 --x)
1164 # Obsolete; use --with-x.
1165 with_x=yes ;;
1167 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1168 | --x-incl | --x-inc | --x-in | --x-i)
1169 ac_prev=x_includes ;;
1170 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1171 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1172 x_includes=$ac_optarg ;;
1174 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1175 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1176 ac_prev=x_libraries ;;
1177 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1178 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1179 x_libraries=$ac_optarg ;;
1181 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1182 Try \`$0 --help' for more information"
1185 *=*)
1186 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1187 # Reject names that are not valid shell variable names.
1188 case $ac_envvar in #(
1189 '' | [0-9]* | *[!_$as_cr_alnum]* )
1190 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1191 esac
1192 eval $ac_envvar=\$ac_optarg
1193 export $ac_envvar ;;
1196 # FIXME: should be removed in autoconf 3.0.
1197 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1198 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1199 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1200 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1203 esac
1204 done
1206 if test -n "$ac_prev"; then
1207 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1208 as_fn_error $? "missing argument to $ac_option"
1211 if test -n "$ac_unrecognized_opts"; then
1212 case $enable_option_checking in
1213 no) ;;
1214 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1215 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1216 esac
1219 # Check all directory arguments for consistency.
1220 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1221 datadir sysconfdir sharedstatedir localstatedir includedir \
1222 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1223 libdir localedir mandir
1225 eval ac_val=\$$ac_var
1226 # Remove trailing slashes.
1227 case $ac_val in
1228 */ )
1229 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1230 eval $ac_var=\$ac_val;;
1231 esac
1232 # Be sure to have absolute directory names.
1233 case $ac_val in
1234 [\\/$]* | ?:[\\/]* ) continue;;
1235 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1236 esac
1237 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1238 done
1240 # There might be people who depend on the old broken behavior: `$host'
1241 # used to hold the argument of --host etc.
1242 # FIXME: To remove some day.
1243 build=$build_alias
1244 host=$host_alias
1245 target=$target_alias
1247 # FIXME: To remove some day.
1248 if test "x$host_alias" != x; then
1249 if test "x$build_alias" = x; then
1250 cross_compiling=maybe
1251 elif test "x$build_alias" != "x$host_alias"; then
1252 cross_compiling=yes
1256 ac_tool_prefix=
1257 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1259 test "$silent" = yes && exec 6>/dev/null
1262 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1263 ac_ls_di=`ls -di .` &&
1264 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1265 as_fn_error $? "working directory cannot be determined"
1266 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1267 as_fn_error $? "pwd does not report name of working directory"
1270 # Find the source files, if location was not specified.
1271 if test -z "$srcdir"; then
1272 ac_srcdir_defaulted=yes
1273 # Try the directory containing this script, then the parent directory.
1274 ac_confdir=`$as_dirname -- "$as_myself" ||
1275 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1276 X"$as_myself" : 'X\(//\)[^/]' \| \
1277 X"$as_myself" : 'X\(//\)$' \| \
1278 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1279 $as_echo X"$as_myself" |
1280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1281 s//\1/
1284 /^X\(\/\/\)[^/].*/{
1285 s//\1/
1288 /^X\(\/\/\)$/{
1289 s//\1/
1292 /^X\(\/\).*/{
1293 s//\1/
1296 s/.*/./; q'`
1297 srcdir=$ac_confdir
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1299 srcdir=..
1301 else
1302 ac_srcdir_defaulted=no
1304 if test ! -r "$srcdir/$ac_unique_file"; then
1305 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1306 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1308 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1309 ac_abs_confdir=`(
1310 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1311 pwd)`
1312 # When building in place, set srcdir=.
1313 if test "$ac_abs_confdir" = "$ac_pwd"; then
1314 srcdir=.
1316 # Remove unnecessary trailing slashes from srcdir.
1317 # Double slashes in file names in object file debugging info
1318 # mess up M-x gdb in Emacs.
1319 case $srcdir in
1320 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1321 esac
1322 for ac_var in $ac_precious_vars; do
1323 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1324 eval ac_env_${ac_var}_value=\$${ac_var}
1325 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1326 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1327 done
1330 # Report the --help message.
1332 if test "$ac_init_help" = "long"; then
1333 # Omit some internal or obsolete options to make the list less imposing.
1334 # This message is too long to be a string in the A/UX 3.1 sh.
1335 cat <<_ACEOF
1336 \`configure' configures this package to adapt to many kinds of systems.
1338 Usage: $0 [OPTION]... [VAR=VALUE]...
1340 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1341 VAR=VALUE. See below for descriptions of some of the useful variables.
1343 Defaults for the options are specified in brackets.
1345 Configuration:
1346 -h, --help display this help and exit
1347 --help=short display options specific to this package
1348 --help=recursive display the short help of all the included packages
1349 -V, --version display version information and exit
1350 -q, --quiet, --silent do not print \`checking ...' messages
1351 --cache-file=FILE cache test results in FILE [disabled]
1352 -C, --config-cache alias for \`--cache-file=config.cache'
1353 -n, --no-create do not create output files
1354 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1356 Installation directories:
1357 --prefix=PREFIX install architecture-independent files in PREFIX
1358 [$ac_default_prefix]
1359 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1360 [PREFIX]
1362 By default, \`make install' will install all the files in
1363 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1364 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1365 for instance \`--prefix=\$HOME'.
1367 For better control, use the options below.
1369 Fine tuning of the installation directories:
1370 --bindir=DIR user executables [EPREFIX/bin]
1371 --sbindir=DIR system admin executables [EPREFIX/sbin]
1372 --libexecdir=DIR program executables [EPREFIX/libexec]
1373 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1374 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1375 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1376 --libdir=DIR object code libraries [EPREFIX/lib]
1377 --includedir=DIR C header files [PREFIX/include]
1378 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1379 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1380 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1381 --infodir=DIR info documentation [DATAROOTDIR/info]
1382 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1383 --mandir=DIR man documentation [DATAROOTDIR/man]
1384 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1385 --htmldir=DIR html documentation [DOCDIR]
1386 --dvidir=DIR dvi documentation [DOCDIR]
1387 --pdfdir=DIR pdf documentation [DOCDIR]
1388 --psdir=DIR ps documentation [DOCDIR]
1389 _ACEOF
1391 cat <<\_ACEOF
1392 _ACEOF
1395 if test -n "$ac_init_help"; then
1397 cat <<\_ACEOF
1399 Optional Packages:
1400 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1401 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1402 --with-config-dir=VERSION
1403 Location of generated target config files
1405 Some influential environment variables:
1406 CC C compiler command
1407 CFLAGS C compiler flags
1408 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1409 nonstandard directory <lib dir>
1410 LIBS libraries to pass to the linker, e.g. -l<library>
1411 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1412 you have headers in a nonstandard directory <include dir>
1414 Use these variables to override the choices made by `configure' or to help
1415 it to find libraries and programs with nonstandard names/locations.
1417 Report bugs to the package provider.
1418 _ACEOF
1419 ac_status=$?
1422 if test "$ac_init_help" = "recursive"; then
1423 # If there are subdirs, report their specific --help.
1424 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1425 test -d "$ac_dir" ||
1426 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1427 continue
1428 ac_builddir=.
1430 case "$ac_dir" in
1431 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1433 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1434 # A ".." for each directory in $ac_dir_suffix.
1435 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1436 case $ac_top_builddir_sub in
1437 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1438 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1439 esac ;;
1440 esac
1441 ac_abs_top_builddir=$ac_pwd
1442 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1443 # for backward compatibility:
1444 ac_top_builddir=$ac_top_build_prefix
1446 case $srcdir in
1447 .) # We are building in place.
1448 ac_srcdir=.
1449 ac_top_srcdir=$ac_top_builddir_sub
1450 ac_abs_top_srcdir=$ac_pwd ;;
1451 [\\/]* | ?:[\\/]* ) # Absolute name.
1452 ac_srcdir=$srcdir$ac_dir_suffix;
1453 ac_top_srcdir=$srcdir
1454 ac_abs_top_srcdir=$srcdir ;;
1455 *) # Relative name.
1456 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1457 ac_top_srcdir=$ac_top_build_prefix$srcdir
1458 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1459 esac
1460 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1462 cd "$ac_dir" || { ac_status=$?; continue; }
1463 # Check for guested configure.
1464 if test -f "$ac_srcdir/configure.gnu"; then
1465 echo &&
1466 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1467 elif test -f "$ac_srcdir/configure"; then
1468 echo &&
1469 $SHELL "$ac_srcdir/configure" --help=recursive
1470 else
1471 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1472 fi || ac_status=$?
1473 cd "$ac_pwd" || { ac_status=$?; break; }
1474 done
1477 test -n "$ac_init_help" && exit $ac_status
1478 if $ac_init_version; then
1479 cat <<\_ACEOF
1480 configure
1481 generated by GNU Autoconf 2.69
1483 Copyright (C) 2012 Free Software Foundation, Inc.
1484 This configure script is free software; the Free Software Foundation
1485 gives unlimited permission to copy, distribute and modify it.
1486 _ACEOF
1487 exit
1490 ## ------------------------ ##
1491 ## Autoconf initialization. ##
1492 ## ------------------------ ##
1494 # ac_fn_c_try_compile LINENO
1495 # --------------------------
1496 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1497 ac_fn_c_try_compile ()
1499 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1500 rm -f conftest.$ac_objext
1501 if { { ac_try="$ac_compile"
1502 case "(($ac_try" in
1503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1504 *) ac_try_echo=$ac_try;;
1505 esac
1506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1507 $as_echo "$ac_try_echo"; } >&5
1508 (eval "$ac_compile") 2>conftest.err
1509 ac_status=$?
1510 if test -s conftest.err; then
1511 grep -v '^ *+' conftest.err >conftest.er1
1512 cat conftest.er1 >&5
1513 mv -f conftest.er1 conftest.err
1515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1516 test $ac_status = 0; } && {
1517 test -z "$ac_c_werror_flag" ||
1518 test ! -s conftest.err
1519 } && test -s conftest.$ac_objext; then :
1520 ac_retval=0
1521 else
1522 $as_echo "$as_me: failed program was:" >&5
1523 sed 's/^/| /' conftest.$ac_ext >&5
1525 ac_retval=1
1527 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1528 as_fn_set_status $ac_retval
1530 } # ac_fn_c_try_compile
1531 cat >config.log <<_ACEOF
1532 This file contains any messages produced by compilers while
1533 running configure, to aid debugging if configure makes a mistake.
1535 It was created by $as_me, which was
1536 generated by GNU Autoconf 2.69. Invocation command line was
1538 $ $0 $@
1540 _ACEOF
1541 exec 5>>config.log
1543 cat <<_ASUNAME
1544 ## --------- ##
1545 ## Platform. ##
1546 ## --------- ##
1548 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1549 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1550 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1551 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1552 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1554 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1555 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1557 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1558 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1559 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1560 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1561 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1562 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1563 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1565 _ASUNAME
1567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1568 for as_dir in $PATH
1570 IFS=$as_save_IFS
1571 test -z "$as_dir" && as_dir=.
1572 $as_echo "PATH: $as_dir"
1573 done
1574 IFS=$as_save_IFS
1576 } >&5
1578 cat >&5 <<_ACEOF
1581 ## ----------- ##
1582 ## Core tests. ##
1583 ## ----------- ##
1585 _ACEOF
1588 # Keep a trace of the command line.
1589 # Strip out --no-create and --no-recursion so they do not pile up.
1590 # Strip out --silent because we don't want to record it for future runs.
1591 # Also quote any args containing shell meta-characters.
1592 # Make two passes to allow for proper duplicate-argument suppression.
1593 ac_configure_args=
1594 ac_configure_args0=
1595 ac_configure_args1=
1596 ac_must_keep_next=false
1597 for ac_pass in 1 2
1599 for ac_arg
1601 case $ac_arg in
1602 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1603 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1604 | -silent | --silent | --silen | --sile | --sil)
1605 continue ;;
1606 *\'*)
1607 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1608 esac
1609 case $ac_pass in
1610 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1612 as_fn_append ac_configure_args1 " '$ac_arg'"
1613 if test $ac_must_keep_next = true; then
1614 ac_must_keep_next=false # Got value, back to normal.
1615 else
1616 case $ac_arg in
1617 *=* | --config-cache | -C | -disable-* | --disable-* \
1618 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1619 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1620 | -with-* | --with-* | -without-* | --without-* | --x)
1621 case "$ac_configure_args0 " in
1622 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1623 esac
1625 -* ) ac_must_keep_next=true ;;
1626 esac
1628 as_fn_append ac_configure_args " '$ac_arg'"
1630 esac
1631 done
1632 done
1633 { ac_configure_args0=; unset ac_configure_args0;}
1634 { ac_configure_args1=; unset ac_configure_args1;}
1636 # When interrupted or exit'd, cleanup temporary files, and complete
1637 # config.log. We remove comments because anyway the quotes in there
1638 # would cause problems or look ugly.
1639 # WARNING: Use '\'' to represent an apostrophe within the trap.
1640 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1641 trap 'exit_status=$?
1642 # Save into config.log some information that might help in debugging.
1644 echo
1646 $as_echo "## ---------------- ##
1647 ## Cache variables. ##
1648 ## ---------------- ##"
1649 echo
1650 # The following way of writing the cache mishandles newlines in values,
1652 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1653 eval ac_val=\$$ac_var
1654 case $ac_val in #(
1655 *${as_nl}*)
1656 case $ac_var in #(
1657 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1658 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1659 esac
1660 case $ac_var in #(
1661 _ | IFS | as_nl) ;; #(
1662 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1663 *) { eval $ac_var=; unset $ac_var;} ;;
1664 esac ;;
1665 esac
1666 done
1667 (set) 2>&1 |
1668 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1669 *${as_nl}ac_space=\ *)
1670 sed -n \
1671 "s/'\''/'\''\\\\'\'''\''/g;
1672 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1673 ;; #(
1675 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1677 esac |
1678 sort
1680 echo
1682 $as_echo "## ----------------- ##
1683 ## Output variables. ##
1684 ## ----------------- ##"
1685 echo
1686 for ac_var in $ac_subst_vars
1688 eval ac_val=\$$ac_var
1689 case $ac_val in
1690 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1691 esac
1692 $as_echo "$ac_var='\''$ac_val'\''"
1693 done | sort
1694 echo
1696 if test -n "$ac_subst_files"; then
1697 $as_echo "## ------------------- ##
1698 ## File substitutions. ##
1699 ## ------------------- ##"
1700 echo
1701 for ac_var in $ac_subst_files
1703 eval ac_val=\$$ac_var
1704 case $ac_val in
1705 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1706 esac
1707 $as_echo "$ac_var='\''$ac_val'\''"
1708 done | sort
1709 echo
1712 if test -s confdefs.h; then
1713 $as_echo "## ----------- ##
1714 ## confdefs.h. ##
1715 ## ----------- ##"
1716 echo
1717 cat confdefs.h
1718 echo
1720 test "$ac_signal" != 0 &&
1721 $as_echo "$as_me: caught signal $ac_signal"
1722 $as_echo "$as_me: exit $exit_status"
1723 } >&5
1724 rm -f core *.core core.conftest.* &&
1725 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1726 exit $exit_status
1728 for ac_signal in 1 2 13 15; do
1729 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1730 done
1731 ac_signal=0
1733 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1734 rm -f -r conftest* confdefs.h
1736 $as_echo "/* confdefs.h */" > confdefs.h
1738 # Predefined preprocessor variables.
1740 cat >>confdefs.h <<_ACEOF
1741 #define PACKAGE_NAME "$PACKAGE_NAME"
1742 _ACEOF
1744 cat >>confdefs.h <<_ACEOF
1745 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1746 _ACEOF
1748 cat >>confdefs.h <<_ACEOF
1749 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1750 _ACEOF
1752 cat >>confdefs.h <<_ACEOF
1753 #define PACKAGE_STRING "$PACKAGE_STRING"
1754 _ACEOF
1756 cat >>confdefs.h <<_ACEOF
1757 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1758 _ACEOF
1760 cat >>confdefs.h <<_ACEOF
1761 #define PACKAGE_URL "$PACKAGE_URL"
1762 _ACEOF
1765 # Let the site file select an alternate cache file if it wants to.
1766 # Prefer an explicitly selected file to automatically selected ones.
1767 ac_site_file1=NONE
1768 ac_site_file2=NONE
1769 if test -n "$CONFIG_SITE"; then
1770 # We do not want a PATH search for config.site.
1771 case $CONFIG_SITE in #((
1772 -*) ac_site_file1=./$CONFIG_SITE;;
1773 */*) ac_site_file1=$CONFIG_SITE;;
1774 *) ac_site_file1=./$CONFIG_SITE;;
1775 esac
1776 elif test "x$prefix" != xNONE; then
1777 ac_site_file1=$prefix/share/config.site
1778 ac_site_file2=$prefix/etc/config.site
1779 else
1780 ac_site_file1=$ac_default_prefix/share/config.site
1781 ac_site_file2=$ac_default_prefix/etc/config.site
1783 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1785 test "x$ac_site_file" = xNONE && continue
1786 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1788 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1789 sed 's/^/| /' "$ac_site_file" >&5
1790 . "$ac_site_file" \
1791 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1793 as_fn_error $? "failed to load site script $ac_site_file
1794 See \`config.log' for more details" "$LINENO" 5; }
1796 done
1798 if test -r "$cache_file"; then
1799 # Some versions of bash will fail to source /dev/null (special files
1800 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1801 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1803 $as_echo "$as_me: loading cache $cache_file" >&6;}
1804 case $cache_file in
1805 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1806 *) . "./$cache_file";;
1807 esac
1809 else
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1811 $as_echo "$as_me: creating cache $cache_file" >&6;}
1812 >$cache_file
1815 # Check that the precious variables saved in the cache have kept the same
1816 # value.
1817 ac_cache_corrupted=false
1818 for ac_var in $ac_precious_vars; do
1819 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1820 eval ac_new_set=\$ac_env_${ac_var}_set
1821 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1822 eval ac_new_val=\$ac_env_${ac_var}_value
1823 case $ac_old_set,$ac_new_set in
1824 set,)
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1826 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1827 ac_cache_corrupted=: ;;
1828 ,set)
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1830 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1831 ac_cache_corrupted=: ;;
1832 ,);;
1834 if test "x$ac_old_val" != "x$ac_new_val"; then
1835 # differences in whitespace do not lead to failure.
1836 ac_old_val_w=`echo x $ac_old_val`
1837 ac_new_val_w=`echo x $ac_new_val`
1838 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1840 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1841 ac_cache_corrupted=:
1842 else
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1844 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1845 eval $ac_var=\$ac_old_val
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1848 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1850 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1851 fi;;
1852 esac
1853 # Pass precious variables to config.status.
1854 if test "$ac_new_set" = set; then
1855 case $ac_new_val in
1856 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1857 *) ac_arg=$ac_var=$ac_new_val ;;
1858 esac
1859 case " $ac_configure_args " in
1860 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1861 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1862 esac
1864 done
1865 if $ac_cache_corrupted; then
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1869 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1870 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1872 ## -------------------- ##
1873 ## Main body of script. ##
1874 ## -------------------- ##
1876 ac_ext=c
1877 ac_cpp='$CPP $CPPFLAGS'
1878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1884 ac_aux_dir=
1885 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1886 if 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/install.sh"; then
1891 ac_aux_dir=$ac_dir
1892 ac_install_sh="$ac_aux_dir/install.sh -c"
1893 break
1894 elif test -f "$ac_dir/shtool"; then
1895 ac_aux_dir=$ac_dir
1896 ac_install_sh="$ac_aux_dir/shtool install -c"
1897 break
1899 done
1900 if test -z "$ac_aux_dir"; then
1901 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1904 # These three variables are undocumented and unsupported,
1905 # and are intended to be withdrawn in a future Autoconf release.
1906 # They can cause serious problems if a builder's source tree is in a directory
1907 # whose full name contains unusual characters.
1908 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1909 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1910 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1914 AROS_BUILDDIR=`${PWDCMD-pwd}`
1915 AROS_BUILDDIR_UNIX=${PWD}
1917 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1918 SRCDIR=${srcpwd}
1920 NOLINKFLAGS="-nostdlib -nostartfiles"
1921 LDFLAGS=$NOLINKFLAGS
1922 # The first step is to find the binaries.
1923 ac_ext=c
1924 ac_cpp='$CPP $CPPFLAGS'
1925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1928 if test -n "$ac_tool_prefix"; then
1929 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1930 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1932 $as_echo_n "checking for $ac_word... " >&6; }
1933 if ${ac_cv_prog_CC+:} false; then :
1934 $as_echo_n "(cached) " >&6
1935 else
1936 if test -n "$CC"; then
1937 ac_cv_prog_CC="$CC" # Let the user override the test.
1938 else
1939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1940 for as_dir in $PATH
1942 IFS=$as_save_IFS
1943 test -z "$as_dir" && as_dir=.
1944 for ac_exec_ext in '' $ac_executable_extensions; do
1945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1946 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1948 break 2
1950 done
1951 done
1952 IFS=$as_save_IFS
1956 CC=$ac_cv_prog_CC
1957 if test -n "$CC"; then
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1959 $as_echo "$CC" >&6; }
1960 else
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1962 $as_echo "no" >&6; }
1967 if test -z "$ac_cv_prog_CC"; then
1968 ac_ct_CC=$CC
1969 # Extract the first word of "gcc", so it can be a program name with args.
1970 set dummy gcc; ac_word=$2
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1972 $as_echo_n "checking for $ac_word... " >&6; }
1973 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1974 $as_echo_n "(cached) " >&6
1975 else
1976 if test -n "$ac_ct_CC"; then
1977 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1978 else
1979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1980 for as_dir in $PATH
1982 IFS=$as_save_IFS
1983 test -z "$as_dir" && as_dir=.
1984 for ac_exec_ext in '' $ac_executable_extensions; do
1985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1986 ac_cv_prog_ac_ct_CC="gcc"
1987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1988 break 2
1990 done
1991 done
1992 IFS=$as_save_IFS
1996 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1997 if test -n "$ac_ct_CC"; then
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1999 $as_echo "$ac_ct_CC" >&6; }
2000 else
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2002 $as_echo "no" >&6; }
2005 if test "x$ac_ct_CC" = x; then
2006 CC=""
2007 else
2008 case $cross_compiling:$ac_tool_warned in
2009 yes:)
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2012 ac_tool_warned=yes ;;
2013 esac
2014 CC=$ac_ct_CC
2016 else
2017 CC="$ac_cv_prog_CC"
2020 if test -z "$CC"; then
2021 if test -n "$ac_tool_prefix"; then
2022 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2023 set dummy ${ac_tool_prefix}cc; ac_word=$2
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2025 $as_echo_n "checking for $ac_word... " >&6; }
2026 if ${ac_cv_prog_CC+:} false; then :
2027 $as_echo_n "(cached) " >&6
2028 else
2029 if test -n "$CC"; then
2030 ac_cv_prog_CC="$CC" # Let the user override the test.
2031 else
2032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2033 for as_dir in $PATH
2035 IFS=$as_save_IFS
2036 test -z "$as_dir" && as_dir=.
2037 for ac_exec_ext in '' $ac_executable_extensions; do
2038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2039 ac_cv_prog_CC="${ac_tool_prefix}cc"
2040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2041 break 2
2043 done
2044 done
2045 IFS=$as_save_IFS
2049 CC=$ac_cv_prog_CC
2050 if test -n "$CC"; then
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2052 $as_echo "$CC" >&6; }
2053 else
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2055 $as_echo "no" >&6; }
2061 if test -z "$CC"; then
2062 # Extract the first word of "cc", so it can be a program name with args.
2063 set dummy cc; ac_word=$2
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2065 $as_echo_n "checking for $ac_word... " >&6; }
2066 if ${ac_cv_prog_CC+:} false; then :
2067 $as_echo_n "(cached) " >&6
2068 else
2069 if test -n "$CC"; then
2070 ac_cv_prog_CC="$CC" # Let the user override the test.
2071 else
2072 ac_prog_rejected=no
2073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074 for as_dir in $PATH
2076 IFS=$as_save_IFS
2077 test -z "$as_dir" && as_dir=.
2078 for ac_exec_ext in '' $ac_executable_extensions; do
2079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2080 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2081 ac_prog_rejected=yes
2082 continue
2084 ac_cv_prog_CC="cc"
2085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2086 break 2
2088 done
2089 done
2090 IFS=$as_save_IFS
2092 if test $ac_prog_rejected = yes; then
2093 # We found a bogon in the path, so make sure we never use it.
2094 set dummy $ac_cv_prog_CC
2095 shift
2096 if test $# != 0; then
2097 # We chose a different compiler from the bogus one.
2098 # However, it has the same basename, so the bogon will be chosen
2099 # first if we set CC to just the basename; use the full file name.
2100 shift
2101 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2106 CC=$ac_cv_prog_CC
2107 if test -n "$CC"; then
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2109 $as_echo "$CC" >&6; }
2110 else
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2112 $as_echo "no" >&6; }
2117 if test -z "$CC"; then
2118 if test -n "$ac_tool_prefix"; then
2119 for ac_prog in cl.exe
2121 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2122 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2124 $as_echo_n "checking for $ac_word... " >&6; }
2125 if ${ac_cv_prog_CC+:} false; then :
2126 $as_echo_n "(cached) " >&6
2127 else
2128 if test -n "$CC"; then
2129 ac_cv_prog_CC="$CC" # Let the user override the test.
2130 else
2131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132 for as_dir in $PATH
2134 IFS=$as_save_IFS
2135 test -z "$as_dir" && as_dir=.
2136 for ac_exec_ext in '' $ac_executable_extensions; do
2137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2138 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2140 break 2
2142 done
2143 done
2144 IFS=$as_save_IFS
2148 CC=$ac_cv_prog_CC
2149 if test -n "$CC"; then
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2151 $as_echo "$CC" >&6; }
2152 else
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2154 $as_echo "no" >&6; }
2158 test -n "$CC" && break
2159 done
2161 if test -z "$CC"; then
2162 ac_ct_CC=$CC
2163 for ac_prog in cl.exe
2165 # Extract the first word of "$ac_prog", so it can be a program name with args.
2166 set dummy $ac_prog; ac_word=$2
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2168 $as_echo_n "checking for $ac_word... " >&6; }
2169 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2170 $as_echo_n "(cached) " >&6
2171 else
2172 if test -n "$ac_ct_CC"; then
2173 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2174 else
2175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2176 for as_dir in $PATH
2178 IFS=$as_save_IFS
2179 test -z "$as_dir" && as_dir=.
2180 for ac_exec_ext in '' $ac_executable_extensions; do
2181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2182 ac_cv_prog_ac_ct_CC="$ac_prog"
2183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2184 break 2
2186 done
2187 done
2188 IFS=$as_save_IFS
2192 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2193 if test -n "$ac_ct_CC"; then
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2195 $as_echo "$ac_ct_CC" >&6; }
2196 else
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2198 $as_echo "no" >&6; }
2202 test -n "$ac_ct_CC" && break
2203 done
2205 if test "x$ac_ct_CC" = x; then
2206 CC=""
2207 else
2208 case $cross_compiling:$ac_tool_warned in
2209 yes:)
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2212 ac_tool_warned=yes ;;
2213 esac
2214 CC=$ac_ct_CC
2221 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2223 as_fn_error $? "no acceptable C compiler found in \$PATH
2224 See \`config.log' for more details" "$LINENO" 5; }
2226 # Provide some information about the compiler.
2227 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2228 set X $ac_compile
2229 ac_compiler=$2
2230 for ac_option in --version -v -V -qversion; do
2231 { { ac_try="$ac_compiler $ac_option >&5"
2232 case "(($ac_try" in
2233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2234 *) ac_try_echo=$ac_try;;
2235 esac
2236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2237 $as_echo "$ac_try_echo"; } >&5
2238 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2239 ac_status=$?
2240 if test -s conftest.err; then
2241 sed '10a\
2242 ... rest of stderr output deleted ...
2243 10q' conftest.err >conftest.er1
2244 cat conftest.er1 >&5
2246 rm -f conftest.er1 conftest.err
2247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2248 test $ac_status = 0; }
2249 done
2251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2252 /* end confdefs.h. */
2255 main ()
2259 return 0;
2261 _ACEOF
2262 ac_clean_files_save=$ac_clean_files
2263 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2264 # Try to create an executable without -o first, disregard a.out.
2265 # It will help us diagnose broken compilers, and finding out an intuition
2266 # of exeext.
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2268 $as_echo_n "checking whether the C compiler works... " >&6; }
2269 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2271 # The possible output files:
2272 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2274 ac_rmfiles=
2275 for ac_file in $ac_files
2277 case $ac_file in
2278 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2279 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2280 esac
2281 done
2282 rm -f $ac_rmfiles
2284 if { { ac_try="$ac_link_default"
2285 case "(($ac_try" in
2286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2287 *) ac_try_echo=$ac_try;;
2288 esac
2289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2290 $as_echo "$ac_try_echo"; } >&5
2291 (eval "$ac_link_default") 2>&5
2292 ac_status=$?
2293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2294 test $ac_status = 0; }; then :
2295 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2296 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2297 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2298 # so that the user can short-circuit this test for compilers unknown to
2299 # Autoconf.
2300 for ac_file in $ac_files ''
2302 test -f "$ac_file" || continue
2303 case $ac_file in
2304 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2306 [ab].out )
2307 # We found the default executable, but exeext='' is most
2308 # certainly right.
2309 break;;
2310 *.* )
2311 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2312 then :; else
2313 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2315 # We set ac_cv_exeext here because the later test for it is not
2316 # safe: cross compilers may not add the suffix if given an `-o'
2317 # argument, so we may need to know it at that point already.
2318 # Even if this section looks crufty: it has the advantage of
2319 # actually working.
2320 break;;
2322 break;;
2323 esac
2324 done
2325 test "$ac_cv_exeext" = no && ac_cv_exeext=
2327 else
2328 ac_file=''
2330 if test -z "$ac_file"; then :
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2332 $as_echo "no" >&6; }
2333 $as_echo "$as_me: failed program was:" >&5
2334 sed 's/^/| /' conftest.$ac_ext >&5
2336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2338 as_fn_error 77 "C compiler cannot create executables
2339 See \`config.log' for more details" "$LINENO" 5; }
2340 else
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2342 $as_echo "yes" >&6; }
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2345 $as_echo_n "checking for C compiler default output file name... " >&6; }
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2347 $as_echo "$ac_file" >&6; }
2348 ac_exeext=$ac_cv_exeext
2350 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2351 ac_clean_files=$ac_clean_files_save
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2353 $as_echo_n "checking for suffix of executables... " >&6; }
2354 if { { ac_try="$ac_link"
2355 case "(($ac_try" in
2356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2357 *) ac_try_echo=$ac_try;;
2358 esac
2359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2360 $as_echo "$ac_try_echo"; } >&5
2361 (eval "$ac_link") 2>&5
2362 ac_status=$?
2363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2364 test $ac_status = 0; }; then :
2365 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2366 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2367 # work properly (i.e., refer to `conftest.exe'), while it won't with
2368 # `rm'.
2369 for ac_file in conftest.exe conftest conftest.*; do
2370 test -f "$ac_file" || continue
2371 case $ac_file in
2372 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2373 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2374 break;;
2375 * ) break;;
2376 esac
2377 done
2378 else
2379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2381 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2382 See \`config.log' for more details" "$LINENO" 5; }
2384 rm -f conftest conftest$ac_cv_exeext
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2386 $as_echo "$ac_cv_exeext" >&6; }
2388 rm -f conftest.$ac_ext
2389 EXEEXT=$ac_cv_exeext
2390 ac_exeext=$EXEEXT
2391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2392 /* end confdefs.h. */
2393 #include <stdio.h>
2395 main ()
2397 FILE *f = fopen ("conftest.out", "w");
2398 return ferror (f) || fclose (f) != 0;
2401 return 0;
2403 _ACEOF
2404 ac_clean_files="$ac_clean_files conftest.out"
2405 # Check that the compiler produces executables we can run. If not, either
2406 # the compiler is broken, or we cross compile.
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2408 $as_echo_n "checking whether we are cross compiling... " >&6; }
2409 if test "$cross_compiling" != yes; then
2410 { { ac_try="$ac_link"
2411 case "(($ac_try" in
2412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2413 *) ac_try_echo=$ac_try;;
2414 esac
2415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2416 $as_echo "$ac_try_echo"; } >&5
2417 (eval "$ac_link") 2>&5
2418 ac_status=$?
2419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2420 test $ac_status = 0; }
2421 if { ac_try='./conftest$ac_cv_exeext'
2422 { { case "(($ac_try" in
2423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2424 *) ac_try_echo=$ac_try;;
2425 esac
2426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2427 $as_echo "$ac_try_echo"; } >&5
2428 (eval "$ac_try") 2>&5
2429 ac_status=$?
2430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2431 test $ac_status = 0; }; }; then
2432 cross_compiling=no
2433 else
2434 if test "$cross_compiling" = maybe; then
2435 cross_compiling=yes
2436 else
2437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2439 as_fn_error $? "cannot run C compiled programs.
2440 If you meant to cross compile, use \`--host'.
2441 See \`config.log' for more details" "$LINENO" 5; }
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2446 $as_echo "$cross_compiling" >&6; }
2448 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2449 ac_clean_files=$ac_clean_files_save
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2451 $as_echo_n "checking for suffix of object files... " >&6; }
2452 if ${ac_cv_objext+:} false; then :
2453 $as_echo_n "(cached) " >&6
2454 else
2455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2456 /* end confdefs.h. */
2459 main ()
2463 return 0;
2465 _ACEOF
2466 rm -f conftest.o conftest.obj
2467 if { { ac_try="$ac_compile"
2468 case "(($ac_try" in
2469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2470 *) ac_try_echo=$ac_try;;
2471 esac
2472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2473 $as_echo "$ac_try_echo"; } >&5
2474 (eval "$ac_compile") 2>&5
2475 ac_status=$?
2476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2477 test $ac_status = 0; }; then :
2478 for ac_file in conftest.o conftest.obj conftest.*; do
2479 test -f "$ac_file" || continue;
2480 case $ac_file in
2481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2482 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2483 break;;
2484 esac
2485 done
2486 else
2487 $as_echo "$as_me: failed program was:" >&5
2488 sed 's/^/| /' conftest.$ac_ext >&5
2490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2492 as_fn_error $? "cannot compute suffix of object files: cannot compile
2493 See \`config.log' for more details" "$LINENO" 5; }
2495 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2498 $as_echo "$ac_cv_objext" >&6; }
2499 OBJEXT=$ac_cv_objext
2500 ac_objext=$OBJEXT
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2502 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2503 if ${ac_cv_c_compiler_gnu+:} false; then :
2504 $as_echo_n "(cached) " >&6
2505 else
2506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2507 /* end confdefs.h. */
2510 main ()
2512 #ifndef __GNUC__
2513 choke me
2514 #endif
2517 return 0;
2519 _ACEOF
2520 if ac_fn_c_try_compile "$LINENO"; then :
2521 ac_compiler_gnu=yes
2522 else
2523 ac_compiler_gnu=no
2525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2526 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2530 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2531 if test $ac_compiler_gnu = yes; then
2532 GCC=yes
2533 else
2534 GCC=
2536 ac_test_CFLAGS=${CFLAGS+set}
2537 ac_save_CFLAGS=$CFLAGS
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2539 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2540 if ${ac_cv_prog_cc_g+:} false; then :
2541 $as_echo_n "(cached) " >&6
2542 else
2543 ac_save_c_werror_flag=$ac_c_werror_flag
2544 ac_c_werror_flag=yes
2545 ac_cv_prog_cc_g=no
2546 CFLAGS="-g"
2547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2548 /* end confdefs.h. */
2551 main ()
2555 return 0;
2557 _ACEOF
2558 if ac_fn_c_try_compile "$LINENO"; then :
2559 ac_cv_prog_cc_g=yes
2560 else
2561 CFLAGS=""
2562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2563 /* end confdefs.h. */
2566 main ()
2570 return 0;
2572 _ACEOF
2573 if ac_fn_c_try_compile "$LINENO"; then :
2575 else
2576 ac_c_werror_flag=$ac_save_c_werror_flag
2577 CFLAGS="-g"
2578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2579 /* end confdefs.h. */
2582 main ()
2586 return 0;
2588 _ACEOF
2589 if ac_fn_c_try_compile "$LINENO"; then :
2590 ac_cv_prog_cc_g=yes
2592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2597 ac_c_werror_flag=$ac_save_c_werror_flag
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2600 $as_echo "$ac_cv_prog_cc_g" >&6; }
2601 if test "$ac_test_CFLAGS" = set; then
2602 CFLAGS=$ac_save_CFLAGS
2603 elif test $ac_cv_prog_cc_g = yes; then
2604 if test "$GCC" = yes; then
2605 CFLAGS="-g -O2"
2606 else
2607 CFLAGS="-g"
2609 else
2610 if test "$GCC" = yes; then
2611 CFLAGS="-O2"
2612 else
2613 CFLAGS=
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2617 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2618 if ${ac_cv_prog_cc_c89+:} false; then :
2619 $as_echo_n "(cached) " >&6
2620 else
2621 ac_cv_prog_cc_c89=no
2622 ac_save_CC=$CC
2623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2624 /* end confdefs.h. */
2625 #include <stdarg.h>
2626 #include <stdio.h>
2627 struct stat;
2628 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2629 struct buf { int x; };
2630 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2631 static char *e (p, i)
2632 char **p;
2633 int i;
2635 return p[i];
2637 static char *f (char * (*g) (char **, int), char **p, ...)
2639 char *s;
2640 va_list v;
2641 va_start (v,p);
2642 s = g (p, va_arg (v,int));
2643 va_end (v);
2644 return s;
2647 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2648 function prototypes and stuff, but not '\xHH' hex character constants.
2649 These don't provoke an error unfortunately, instead are silently treated
2650 as 'x'. The following induces an error, until -std is added to get
2651 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2652 array size at least. It's necessary to write '\x00'==0 to get something
2653 that's true only with -std. */
2654 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2656 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2657 inside strings and character constants. */
2658 #define FOO(x) 'x'
2659 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2661 int test (int i, double x);
2662 struct s1 {int (*f) (int a);};
2663 struct s2 {int (*f) (double a);};
2664 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2665 int argc;
2666 char **argv;
2668 main ()
2670 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2672 return 0;
2674 _ACEOF
2675 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2676 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2678 CC="$ac_save_CC $ac_arg"
2679 if ac_fn_c_try_compile "$LINENO"; then :
2680 ac_cv_prog_cc_c89=$ac_arg
2682 rm -f core conftest.err conftest.$ac_objext
2683 test "x$ac_cv_prog_cc_c89" != "xno" && break
2684 done
2685 rm -f conftest.$ac_ext
2686 CC=$ac_save_CC
2689 # AC_CACHE_VAL
2690 case "x$ac_cv_prog_cc_c89" in
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2693 $as_echo "none needed" >&6; } ;;
2694 xno)
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2696 $as_echo "unsupported" >&6; } ;;
2698 CC="$CC $ac_cv_prog_cc_c89"
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2700 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2701 esac
2702 if test "x$ac_cv_prog_cc_c89" != xno; then :
2706 ac_ext=c
2707 ac_cpp='$CPP $CPPFLAGS'
2708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2714 $as_echo_n "checking target config location... " >&6; }
2716 # Check whether --with-config-dir was given.
2717 if test "${with_config_dir+set}" = set; then :
2718 withval=$with_config_dir; targetcfg_dir="$withval"
2719 else
2720 targetcfg_dir=""
2723 if test "$targetcfg_dir" = ""; then
2724 as_fn_error $? "missing config directory!" "$LINENO" 5
2725 else
2726 aros_targetcfg_dir="$targetcfg_dir"
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2729 $as_echo "$aros_targetcfg_dir" >&6; }
2731 #-----------------------------------------------------------------------------
2733 # Check if the target compiler supports some features:
2734 # -fexceptions
2735 # -fpermissive
2736 # -ffast-math
2737 # -fno-builtin-floor
2738 # -flto
2739 # -fwhole-program
2740 # -floop-block
2741 # -floop-interchange
2742 # -floop-strip-mine
2743 # -fpeel-loops
2744 # -fstrict-aliasing
2745 # -finline-small-functions
2746 # -fipa-cp
2747 # -funroll-loops
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2750 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2751 CFLAGS=-fexceptions
2753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2754 /* end confdefs.h. */
2757 main ()
2761 return 0;
2763 _ACEOF
2764 if ac_fn_c_try_compile "$LINENO"; then :
2765 aros_exceptions="yes"
2766 else
2767 aros_exceptions="no"
2769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2771 $as_echo "$aros_exceptions" >&6; }
2772 if test "x-$aros_exceptions" = "x-yes" ; then
2773 aros_cflags_exceptions=-fexceptions
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpermissive" >&5
2777 $as_echo_n "checking whether ${CC} accepts -fpermissive... " >&6; }
2778 CFLAGS=-fpermissive
2779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2780 /* end confdefs.h. */
2783 main ()
2787 return 0;
2789 _ACEOF
2790 if ac_fn_c_try_compile "$LINENO"; then :
2791 aros_permissive="yes"
2792 else
2793 aros_permissive="no"
2795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
2797 $as_echo "$aros_permissive" >&6; }
2798 if test "x-$aros_permissive" = "x-yes" ; then
2799 aros_cflags_permissive=-fpermissive
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2803 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2804 CFLAGS=-ffast-math
2805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2806 /* end confdefs.h. */
2809 main ()
2813 return 0;
2815 _ACEOF
2816 if ac_fn_c_try_compile "$LINENO"; then :
2817 aros_fast_math="yes"
2818 else
2819 aros_fast_math="no"
2821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2823 $as_echo "$aros_fast_math" >&6; }
2824 if test "x-$aros_fast_math" = "x-yes" ; then
2825 aros_cflags_fast_math=-ffast-math
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
2829 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
2830 CFLAGS=-fno-builtin-floor
2831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2832 /* end confdefs.h. */
2835 main ()
2839 return 0;
2841 _ACEOF
2842 if ac_fn_c_try_compile "$LINENO"; then :
2843 aros_no_builtin_floor="yes"
2844 else
2845 aros_no_builtin_floor="no"
2847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
2849 $as_echo "$aros_no_builtin_floor" >&6; }
2850 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
2851 aros_cflags_no_builtin_floor=-fno-builtin-floor
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2855 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2856 CFLAGS=-flto
2857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2858 /* end confdefs.h. */
2861 main ()
2865 return 0;
2867 _ACEOF
2868 if ac_fn_c_try_compile "$LINENO"; then :
2869 aros_lto="yes"
2870 else
2871 aros_lto="no"
2873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2875 $as_echo "$aros_lto" >&6; }
2876 if test "x-$aros_lto" = "x-yes" ; then
2877 aros_cflags_lto=-flto
2878 aros_cflags_nolto=-fno-lto
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2881 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2882 CFLAGS=-fwhole-program
2883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2884 /* end confdefs.h. */
2887 main ()
2891 return 0;
2893 _ACEOF
2894 if ac_fn_c_try_compile "$LINENO"; then :
2895 aros_whole_program="yes"
2896 else
2897 aros_whole_program="no"
2899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2901 $as_echo "$aros_whole_program" >&6; }
2902 if test "x-$aros_whole_program" = "x-yes" ; then
2903 aros_cflags_whole_program=-fwhole-program
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2907 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2908 CFLAGS=-floop-block
2909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2910 /* end confdefs.h. */
2913 main ()
2917 return 0;
2919 _ACEOF
2920 if ac_fn_c_try_compile "$LINENO"; then :
2921 aros_loop_block="yes"
2922 else
2923 aros_loop_block="no"
2925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2927 $as_echo "$aros_loop_block" >&6; }
2928 if test "x-$aros_loop_block" = "x-yes" ; then
2929 aros_cflags_loop_block=-floop-block
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2933 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2934 CFLAGS=-floop-interchange
2935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2936 /* end confdefs.h. */
2939 main ()
2943 return 0;
2945 _ACEOF
2946 if ac_fn_c_try_compile "$LINENO"; then :
2947 aros_loop_interchange="yes"
2948 else
2949 aros_loop_interchange="no"
2951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2953 $as_echo "$aros_loop_interchange" >&6; }
2954 if test "x-$aros_loop_interchange" = "x-yes" ; then
2955 aros_cflags_loop_interchange=-floop-interchange
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2959 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2960 CFLAGS=-floop-strip-mine
2961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2962 /* end confdefs.h. */
2965 main ()
2969 return 0;
2971 _ACEOF
2972 if ac_fn_c_try_compile "$LINENO"; then :
2973 aros_loop_strip_mine="yes"
2974 else
2975 aros_loop_strip_mine="no"
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2979 $as_echo "$aros_loop_strip_mine" >&6; }
2980 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2981 aros_cflags_loop_strip_mine=-floop-strip-mine
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
2986 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
2987 CFLAGS=-fpeel-loops
2988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2989 /* end confdefs.h. */
2992 main ()
2996 return 0;
2998 _ACEOF
2999 if ac_fn_c_try_compile "$LINENO"; then :
3000 aros_peel_loops="yes"
3001 else
3002 aros_peel_loops="no"
3004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
3006 $as_echo "$aros_peel_loops" >&6; }
3007 if test "x-$aros_peel_loops" = "x-yes" ; then
3008 aros_cflags_peel_loops=-fpeel-loops
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3012 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3013 CFLAGS=-funroll-loops
3014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3015 /* end confdefs.h. */
3018 main ()
3022 return 0;
3024 _ACEOF
3025 if ac_fn_c_try_compile "$LINENO"; then :
3026 aros_unroll_loops="yes"
3027 else
3028 aros_unroll_loops="no"
3030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3032 $as_echo "$aros_unroll_loops" >&6; }
3033 if test "x-$aros_unroll_loops" = "x-yes" ; then
3034 aros_cflags_unroll_loops=-funroll-loops
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3038 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3039 CFLAGS=-fstrict-aliasing
3040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041 /* end confdefs.h. */
3044 main ()
3048 return 0;
3050 _ACEOF
3051 if ac_fn_c_try_compile "$LINENO"; then :
3052 aros_strict_aliasing="yes"
3053 else
3054 aros_strict_aliasing="no"
3056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3058 $as_echo "$aros_strict_aliasing" >&6; }
3059 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3060 aros_cflags_strictaliasing=-fstrict-aliasing
3061 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3065 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3066 CFLAGS=-finline-small-functions
3067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3068 /* end confdefs.h. */
3071 main ()
3075 return 0;
3077 _ACEOF
3078 if ac_fn_c_try_compile "$LINENO"; then :
3079 aros_inline_small_functions="yes"
3080 else
3081 aros_inline_small_functions="no"
3083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3085 $as_echo "$aros_inline_small_functions" >&6; }
3086 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3087 aros_cflags_inlinesmallfunctions=-finline-small-functions
3088 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fipa-cp" >&5
3092 $as_echo_n "checking whether ${CC} accepts -fipa-cp... " >&6; }
3093 CFLAGS=-fipa-cp
3094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3095 /* end confdefs.h. */
3098 main ()
3102 return 0;
3104 _ACEOF
3105 if ac_fn_c_try_compile "$LINENO"; then :
3106 aros_ipa_cp="yes"
3107 else
3108 aros_ipa_cp="no"
3110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ipa_cp" >&5
3112 $as_echo "$aros_ipa_cp" >&6; }
3113 if test "x-$aros_ipa_cp" = "x-yes" ; then
3114 aros_cflags_ipacp=-fipa-cp
3115 aros_cflags_noipacp=-fno-ipa-cp
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3119 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3120 CFLAGS="-iquote."
3121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3122 /* end confdefs.h. */
3125 main ()
3129 return 0;
3131 _ACEOF
3132 if ac_fn_c_try_compile "$LINENO"; then :
3133 has_iquote="yes"
3134 else
3135 has_iquote="no"
3137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3139 $as_echo "$has_iquote" >&6; }
3140 if test "x-$has_iquote" = "x-yes" ; then
3141 aros_cflags_iquote=-iquote
3142 aros_cflags_iquote_end=
3143 else
3144 aros_cflags_iquote=-I
3145 aros_cflags_iquote_end=-I-
3148 #-----------------------------------------------------------------------------
3150 # Check if the target compiler supports some options:
3151 # -mno-red-zone
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mno-red-zone" >&5
3154 $as_echo_n "checking whether ${CC} accepts -mno-red-zone... " >&6; }
3155 CFLAGS=-mno-red-zone
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3160 main ()
3164 return 0;
3166 _ACEOF
3167 if ac_fn_c_try_compile "$LINENO"; then :
3168 aros_no_red_zone="yes"
3169 else
3170 aros_no_red_zone="no"
3172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3174 $as_echo "$aros_no_red_zone" >&6; }
3175 if test "x-$aros_no_red_zone" = "x-yes" ; then
3176 aros_cflags_no_red_zone=-mno-red-zone
3179 #-----------------------------------------------------------------------------
3181 # Check if the target compiler supports some options used for de-linting:
3182 # -Werror
3183 # -Wunused-command-line-argument
3184 # -Wunknown-warning-option
3185 # -Wunused-but-set-variable
3186 # -Wstrict-aliasing
3187 # -Warray-bounds
3188 # -Wenum-compare
3189 # -Wstrict-prototypes
3190 # -Wstrict-overflow
3191 # -Wformat-security
3192 # -Wmisleading-indentation
3193 # -Wnonnull-compare
3194 # -Wunused
3195 # -Wunused-label
3196 # -Wunused-value
3197 # -Wunused-variable
3198 # -Wunused-function
3199 # -Wunused-parameter
3200 # -Wuninitialized
3201 # -Wmaybe-uninitialized
3202 # -Wimplicit-function-declaration
3203 # -Wformat
3204 # -Wparentheses
3205 # -Wchar-subscripts
3206 # -Wendif-labels
3207 # -Wformat-contains-nul
3208 # -Wimplicit-int
3209 # -Waggressive-loop-optimizations
3210 # -Wcpp
3211 # -Wswitch
3212 # -Wdiscarded-qualifiers
3213 # -Wsequence-point
3214 # -Wunknown-pragmas
3215 # -Wdiscarded-array-qualifiers
3216 # -Wint-conversion
3217 # -Wint-to-pointer-cast
3218 # -Wpointer-to-int-cast
3219 # -Wunused-const-variable
3220 # -Wwrite-strings
3221 # -Wcomment
3222 # -Wincompatible-pointer-types
3223 # -Wbool-compare
3224 # -Wlogical-not-parentheses
3225 # -Wpointer-sign
3226 # -Wshift-overflow
3227 # -Wframe-address
3228 # -Wdeprecated-declarations
3229 # -Wsign-compare
3230 # -Wattributes
3231 # -Woverflow
3232 # -Wunused-local-typedefs
3233 # -Wmissing-braces
3234 # -Wconversion-null
3235 # -Wnarrowing
3236 # -Wvolatile-register-var
3237 # -Wsizeof-pointer-memaccess
3238 # -Wreturn-type
3239 # -Wformat-zero-length
3240 # -Wlto-type-mismatch
3241 # -Wtautological-compare
3242 # -Wempty-body
3243 # -Wstringop-overflow
3244 # -Wformat-truncation
3245 # -Wshift-negative-value
3246 # -Wmissing-field-initializers
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
3249 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
3250 CFLAGS=-Werror
3251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3252 /* end confdefs.h. */
3255 main ()
3259 return 0;
3261 _ACEOF
3262 if ac_fn_c_try_compile "$LINENO"; then :
3263 aros_error="yes"
3264 else
3265 aros_error="no"
3267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
3269 $as_echo "$aros_error" >&6; }
3270 if test "x-$aros_error" = "x-yes" ; then
3271 aros_warnflags_error=-Werror
3272 aros_nowarnflags_error=-Wno-error
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3276 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3277 CFLAGS=-Wunused-command-line-argument
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3282 main ()
3286 return 0;
3288 _ACEOF
3289 if ac_fn_c_try_compile "$LINENO"; then :
3290 aros_unused_command_line_argument="yes"
3291 else
3292 aros_unused_command_line_argument="no"
3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3296 $as_echo "$aros_unused_command_line_argument" >&6; }
3297 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3298 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3299 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3303 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3304 CFLAGS=-Wunknown-warning-option
3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h. */
3309 main ()
3313 return 0;
3315 _ACEOF
3316 if ac_fn_c_try_compile "$LINENO"; then :
3317 aros_unknown_warning_option="yes"
3318 else
3319 aros_unknown_warning_option="no"
3321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3323 $as_echo "$aros_unknown_warning_option" >&6; }
3324 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3325 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3326 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3330 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3331 CFLAGS=-Wunused-but-set-variable
3332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3333 /* end confdefs.h. */
3336 main ()
3340 return 0;
3342 _ACEOF
3343 if ac_fn_c_try_compile "$LINENO"; then :
3344 aros_unused_but_set_variable="yes"
3345 else
3346 aros_unused_but_set_variable="no"
3348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3350 $as_echo "$aros_unused_but_set_variable" >&6; }
3351 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3352 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3353 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3357 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3358 CFLAGS=-Wstrict-aliasing
3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360 /* end confdefs.h. */
3363 main ()
3367 return 0;
3369 _ACEOF
3370 if ac_fn_c_try_compile "$LINENO"; then :
3371 aros_strict_aliasing="yes"
3372 else
3373 aros_strict_aliasing="no"
3375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3377 $as_echo "$aros_strict_aliasing" >&6; }
3378 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3379 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3380 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3384 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3385 CFLAGS=-Warray-bounds
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3390 main ()
3394 return 0;
3396 _ACEOF
3397 if ac_fn_c_try_compile "$LINENO"; then :
3398 aros_array_bounds="yes"
3399 else
3400 aros_array_bounds="no"
3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3404 $as_echo "$aros_array_bounds" >&6; }
3405 if test "x-$aros_array_bounds" = "x-yes" ; then
3406 aros_warnflags_array_bounds=-Warray-bounds
3407 aros_nowarnflags_array_bounds=-Wno-array-bounds
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3411 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3412 CFLAGS=-Wenum-compare
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3417 main ()
3421 return 0;
3423 _ACEOF
3424 if ac_fn_c_try_compile "$LINENO"; then :
3425 aros_enum_compare="yes"
3426 else
3427 aros_enum_compare="no"
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3431 $as_echo "$aros_enum_compare" >&6; }
3432 if test "x-$aros_enum_compare" = "x-yes" ; then
3433 aros_warnflags_enum_compare=-Wenum-compare
3434 aros_nowarnflags_enum_compare=-Wno-enum-compare
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3438 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3439 CFLAGS=-Wstrict-prototypes
3440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3441 /* end confdefs.h. */
3444 main ()
3448 return 0;
3450 _ACEOF
3451 if ac_fn_c_try_compile "$LINENO"; then :
3452 aros_strict_prototypes="yes"
3453 else
3454 aros_strict_prototypes="no"
3456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3458 $as_echo "$aros_strict_prototypes" >&6; }
3459 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3460 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3461 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3465 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3466 CFLAGS=-Wstrict-overflow
3467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3468 /* end confdefs.h. */
3471 main ()
3475 return 0;
3477 _ACEOF
3478 if ac_fn_c_try_compile "$LINENO"; then :
3479 aros_strict_overflow="yes"
3480 else
3481 aros_strict_overflow="no"
3483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3485 $as_echo "$aros_strict_overflow" >&6; }
3486 if test "x-$aros_strict_overflow" = "x-yes" ; then
3487 aros_warnflags_strict_overflow=-Wstrict-overflow
3488 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3492 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3493 CFLAGS=-Wformat-security
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3498 main ()
3502 return 0;
3504 _ACEOF
3505 if ac_fn_c_try_compile "$LINENO"; then :
3506 aros_format_security="yes"
3507 else
3508 aros_format_security="no"
3510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3512 $as_echo "$aros_format_security" >&6; }
3513 if test "x-$aros_format_security" = "x-yes" ; then
3514 aros_warnflags_format_security=-Wformat-security
3515 aros_nowarnflags_format_security=-Wno-format-security
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3519 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3520 CFLAGS=-Wmisleading-indentation
3521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h. */
3525 main ()
3529 return 0;
3531 _ACEOF
3532 if ac_fn_c_try_compile "$LINENO"; then :
3533 aros_misleading_indentation="yes"
3534 else
3535 aros_misleading_indentation="no"
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3539 $as_echo "$aros_misleading_indentation" >&6; }
3540 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3541 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3542 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3546 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3547 CFLAGS=-Wnonnull-compare
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3552 main ()
3556 return 0;
3558 _ACEOF
3559 if ac_fn_c_try_compile "$LINENO"; then :
3560 aros_nonnull_compare="yes"
3561 else
3562 aros_nonnull_compare="no"
3564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3566 $as_echo "$aros_nonnull_compare" >&6; }
3567 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3568 aros_warnflags_nonnull_compare=-Wnonnull-compare
3569 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3573 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3574 CFLAGS=-Wunused
3575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576 /* end confdefs.h. */
3579 main ()
3583 return 0;
3585 _ACEOF
3586 if ac_fn_c_try_compile "$LINENO"; then :
3587 aros_unused="yes"
3588 else
3589 aros_unused="no"
3591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3593 $as_echo "$aros_unused" >&6; }
3594 if test "x-$aros_unused" = "x-yes" ; then
3595 aros_warnflags_unused=-Wunused
3596 aros_nowarnflags_unused=-Wno-unused
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
3600 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
3601 CFLAGS=-Wunused-label
3602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3603 /* end confdefs.h. */
3606 main ()
3610 return 0;
3612 _ACEOF
3613 if ac_fn_c_try_compile "$LINENO"; then :
3614 aros_unused_label="yes"
3615 else
3616 aros_unused_label="no"
3618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
3620 $as_echo "$aros_unused_label" >&6; }
3621 if test "x-$aros_unused_label" = "x-yes" ; then
3622 aros_warnflags_unused_label=-Wunused-label
3623 aros_nowarnflags_unused_label=-Wno-unused-label
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3627 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3628 CFLAGS=-Wunused-value
3629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3630 /* end confdefs.h. */
3633 main ()
3637 return 0;
3639 _ACEOF
3640 if ac_fn_c_try_compile "$LINENO"; then :
3641 aros_unused_value="yes"
3642 else
3643 aros_unused_value="no"
3645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3647 $as_echo "$aros_unused_value" >&6; }
3648 if test "x-$aros_unused_value" = "x-yes" ; then
3649 aros_warnflags_unused_value=-Wunused-value
3650 aros_nowarnflags_unused_value=-Wno-unused-value
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3654 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3655 CFLAGS=-Wunused-variable
3656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3657 /* end confdefs.h. */
3660 main ()
3664 return 0;
3666 _ACEOF
3667 if ac_fn_c_try_compile "$LINENO"; then :
3668 aros_unused_variable="yes"
3669 else
3670 aros_unused_variable="no"
3672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3674 $as_echo "$aros_unused_variable" >&6; }
3675 if test "x-$aros_unused_variable" = "x-yes" ; then
3676 aros_warnflags_unused_variable=-Wunused-variable
3677 aros_nowarnflags_unused_variable=-Wno-unused-variable
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3681 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3682 CFLAGS=-Wunused-function
3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684 /* end confdefs.h. */
3687 main ()
3691 return 0;
3693 _ACEOF
3694 if ac_fn_c_try_compile "$LINENO"; then :
3695 aros_unused_function="yes"
3696 else
3697 aros_unused_function="no"
3699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3701 $as_echo "$aros_unused_function" >&6; }
3702 if test "x-$aros_unused_function" = "x-yes" ; then
3703 aros_warnflags_unused_function=-Wunused-function
3704 aros_nowarnflags_unused_function=-Wno-unused-function
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3708 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3709 CFLAGS=-Wunused-parameter
3710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3711 /* end confdefs.h. */
3714 main ()
3718 return 0;
3720 _ACEOF
3721 if ac_fn_c_try_compile "$LINENO"; then :
3722 aros_unused_parameter="yes"
3723 else
3724 aros_unused_parameter="no"
3726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3728 $as_echo "$aros_unused_parameter" >&6; }
3729 if test "x-$aros_unused_parameter" = "x-yes" ; then
3730 aros_warnflags_unused_parameter=-Wunused-parameter
3731 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3735 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3736 CFLAGS=-Wuninitialized
3737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3738 /* end confdefs.h. */
3741 main ()
3745 return 0;
3747 _ACEOF
3748 if ac_fn_c_try_compile "$LINENO"; then :
3749 aros_uninitialized="yes"
3750 else
3751 aros_uninitialized="no"
3753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3755 $as_echo "$aros_uninitialized" >&6; }
3756 if test "x-$aros_uninitialized" = "x-yes" ; then
3757 aros_warnflags_uninitialized=-Wuninitialized
3758 aros_nowarnflags_uninitialized=-Wno-uninitialized
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3762 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3763 CFLAGS=-Wmaybe-uninitialized
3764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765 /* end confdefs.h. */
3768 main ()
3772 return 0;
3774 _ACEOF
3775 if ac_fn_c_try_compile "$LINENO"; then :
3776 aros_maybe_uninitialized="yes"
3777 else
3778 aros_maybe_uninitialized="no"
3780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3782 $as_echo "$aros_maybe_uninitialized" >&6; }
3783 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3784 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
3785 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
3786 else
3787 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
3788 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3792 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3793 CFLAGS=-Wimplicit-function-declaration
3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h. */
3798 main ()
3802 return 0;
3804 _ACEOF
3805 if ac_fn_c_try_compile "$LINENO"; then :
3806 aros_implicit_function_declaration="yes"
3807 else
3808 aros_implicit_function_declaration="no"
3810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3812 $as_echo "$aros_implicit_function_declaration" >&6; }
3813 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3814 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
3815 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3819 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3820 CFLAGS=-Wformat
3821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3822 /* end confdefs.h. */
3825 main ()
3829 return 0;
3831 _ACEOF
3832 if ac_fn_c_try_compile "$LINENO"; then :
3833 aros_format="yes"
3834 else
3835 aros_format="no"
3837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3839 $as_echo "$aros_format" >&6; }
3840 if test "x-$aros_format" = "x-yes" ; then
3841 aros_warnflags_format=-Wformat
3842 aros_nowarnflags_format=-Wno-format
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3846 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3847 CFLAGS=-Wparentheses
3848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3849 /* end confdefs.h. */
3852 main ()
3856 return 0;
3858 _ACEOF
3859 if ac_fn_c_try_compile "$LINENO"; then :
3860 aros_parentheses="yes"
3861 else
3862 aros_parentheses="no"
3864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3866 $as_echo "$aros_parentheses" >&6; }
3867 if test "x-$aros_parentheses" = "x-yes" ; then
3868 aros_warnflags_parentheses=-Wparentheses
3869 aros_nowarnflags_parentheses=-Wno-parentheses
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3873 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3874 CFLAGS=-Wchar-subscripts
3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h. */
3879 main ()
3883 return 0;
3885 _ACEOF
3886 if ac_fn_c_try_compile "$LINENO"; then :
3887 aros_char_subscripts="yes"
3888 else
3889 aros_char_subscripts="no"
3891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3893 $as_echo "$aros_char_subscripts" >&6; }
3894 if test "x-$aros_char_subscripts" = "x-yes" ; then
3895 aros_warnflags_char_subscripts=-Wchar-subscripts
3896 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3900 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3901 CFLAGS=-Wendif-labels
3902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h. */
3906 main ()
3910 return 0;
3912 _ACEOF
3913 if ac_fn_c_try_compile "$LINENO"; then :
3914 aros_endif_labels="yes"
3915 else
3916 aros_endif_labels="no"
3918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3920 $as_echo "$aros_endif_labels" >&6; }
3921 if test "x-$aros_endif_labels" = "x-yes" ; then
3922 aros_warnflags_endif_labels=-Wendif-labels
3923 aros_nowarnflags_endif_labels=-Wno-endif-labels
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3927 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3928 CFLAGS=-Wformat-contains-nul
3929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3930 /* end confdefs.h. */
3933 main ()
3937 return 0;
3939 _ACEOF
3940 if ac_fn_c_try_compile "$LINENO"; then :
3941 aros_format_contains_nul="yes"
3942 else
3943 aros_format_contains_nul="no"
3945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3947 $as_echo "$aros_format_contains_nul" >&6; }
3948 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3949 aros_warnflags_format_contains_nul=-Wformat-contains-nul
3950 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3954 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3955 CFLAGS=-Wimplicit-int
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3960 main ()
3964 return 0;
3966 _ACEOF
3967 if ac_fn_c_try_compile "$LINENO"; then :
3968 aros_implicit_int="yes"
3969 else
3970 aros_implicit_int="no"
3972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3974 $as_echo "$aros_implicit_int" >&6; }
3975 if test "x-$aros_implicit_int" = "x-yes" ; then
3976 aros_warnflags_implicit_int=-Wimplicit-int
3977 aros_nowarnflags_implicit_int=-Wno-implicit-int
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3981 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3982 CFLAGS=-Waggressive-loop-optimizations
3983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3984 /* end confdefs.h. */
3987 main ()
3991 return 0;
3993 _ACEOF
3994 if ac_fn_c_try_compile "$LINENO"; then :
3995 aros_aggressive_loop_optimizations="yes"
3996 else
3997 aros_aggressive_loop_optimizations="no"
3999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
4001 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
4002 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
4003 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
4004 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
4008 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
4009 CFLAGS=-Wcpp
4010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4011 /* end confdefs.h. */
4014 main ()
4018 return 0;
4020 _ACEOF
4021 if ac_fn_c_try_compile "$LINENO"; then :
4022 aros_cpp="yes"
4023 else
4024 aros_cpp="no"
4026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
4028 $as_echo "$aros_cpp" >&6; }
4029 if test "x-$aros_cpp" = "x-yes" ; then
4030 aros_warnflags_cpp=-Wcpp
4031 aros_nowarnflags_cpp=-Wno-cpp
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
4035 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
4036 CFLAGS=-Wswitch
4037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4041 main ()
4045 return 0;
4047 _ACEOF
4048 if ac_fn_c_try_compile "$LINENO"; then :
4049 aros_switch="yes"
4050 else
4051 aros_switch="no"
4053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
4055 $as_echo "$aros_switch" >&6; }
4056 if test "x-$aros_switch" = "x-yes" ; then
4057 aros_warnflags_switch=-Wswitch
4058 aros_nowarnflags_switch=-Wno-switch
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
4062 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
4063 CFLAGS=-Wdiscarded-qualifiers
4064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h. */
4068 main ()
4072 return 0;
4074 _ACEOF
4075 if ac_fn_c_try_compile "$LINENO"; then :
4076 aros_discarded_qualifiers="yes"
4077 else
4078 aros_discarded_qualifiers="no"
4080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
4082 $as_echo "$aros_discarded_qualifiers" >&6; }
4083 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
4084 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
4085 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
4089 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
4090 CFLAGS=-Wsequence-point
4091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4092 /* end confdefs.h. */
4095 main ()
4099 return 0;
4101 _ACEOF
4102 if ac_fn_c_try_compile "$LINENO"; then :
4103 aros_sequence_point="yes"
4104 else
4105 aros_sequence_point="no"
4107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
4109 $as_echo "$aros_sequence_point" >&6; }
4110 if test "x-$aros_sequence_point" = "x-yes" ; then
4111 aros_warnflags_sequence_point=-Wsequence-point
4112 aros_nowarnflags_sequence_point=-Wno-sequence-point
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
4116 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
4117 CFLAGS=-Wunknown-pragmas
4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4122 main ()
4126 return 0;
4128 _ACEOF
4129 if ac_fn_c_try_compile "$LINENO"; then :
4130 aros_unknown_pragmas="yes"
4131 else
4132 aros_unknown_pragmas="no"
4134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
4136 $as_echo "$aros_unknown_pragmas" >&6; }
4137 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
4138 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
4139 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
4143 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
4144 CFLAGS=-Wdiscarded-array-qualifiers
4145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4146 /* end confdefs.h. */
4149 main ()
4153 return 0;
4155 _ACEOF
4156 if ac_fn_c_try_compile "$LINENO"; then :
4157 aros_discarded_array_qualifiers="yes"
4158 else
4159 aros_discarded_array_qualifiers="no"
4161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
4163 $as_echo "$aros_discarded_array_qualifiers" >&6; }
4164 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
4165 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
4166 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4170 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4171 CFLAGS=-Wint-conversion
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4176 main ()
4180 return 0;
4182 _ACEOF
4183 if ac_fn_c_try_compile "$LINENO"; then :
4184 aros_int_conversion="yes"
4185 else
4186 aros_int_conversion="no"
4188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4190 $as_echo "$aros_int_conversion" >&6; }
4191 if test "x-$aros_int_conversion" = "x-yes" ; then
4192 aros_warnflags_int_conversion=-Wint-conversion
4193 aros_nowarnflags_int_conversion=-Wno-int-conversion
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
4197 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
4198 CFLAGS=-Wint-to-pointer-cast
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4203 main ()
4207 return 0;
4209 _ACEOF
4210 if ac_fn_c_try_compile "$LINENO"; then :
4211 aros_int_to_pointer_cast="yes"
4212 else
4213 aros_int_to_pointer_cast="no"
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
4217 $as_echo "$aros_int_to_pointer_cast" >&6; }
4218 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
4219 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
4220 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
4224 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
4225 CFLAGS=-Wpointer-to-int-cast
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4230 main ()
4234 return 0;
4236 _ACEOF
4237 if ac_fn_c_try_compile "$LINENO"; then :
4238 aros_pointer_to_int_cast="yes"
4239 else
4240 aros_pointer_to_int_cast="no"
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
4244 $as_echo "$aros_pointer_to_int_cast" >&6; }
4245 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
4246 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
4247 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
4251 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
4252 CFLAGS=-Wunused-const-variable
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4257 main ()
4261 return 0;
4263 _ACEOF
4264 if ac_fn_c_try_compile "$LINENO"; then :
4265 aros_unused_const_variable="yes"
4266 else
4267 aros_unused_const_variable="no"
4269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
4271 $as_echo "$aros_unused_const_variable" >&6; }
4272 if test "x-$aros_unused_const_variable" = "x-yes" ; then
4273 aros_warnflags_unused_const_variable=-Wunused-const-variable
4274 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
4278 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
4279 CFLAGS=-Wwrite-strings
4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4281 /* end confdefs.h. */
4284 main ()
4288 return 0;
4290 _ACEOF
4291 if ac_fn_c_try_compile "$LINENO"; then :
4292 aros_write_strings="yes"
4293 else
4294 aros_write_strings="no"
4296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4298 $as_echo "$aros_write_strings" >&6; }
4299 if test "x-$aros_write_strings" = "x-yes" ; then
4300 aros_warnflags_write_strings=-Wwrite-strings
4301 aros_nowarnflags_write_strings=-Wno-write-strings
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4305 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4306 CFLAGS=-Wcomment
4307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4308 /* end confdefs.h. */
4311 main ()
4315 return 0;
4317 _ACEOF
4318 if ac_fn_c_try_compile "$LINENO"; then :
4319 aros_comment="yes"
4320 else
4321 aros_comment="no"
4323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4325 $as_echo "$aros_comment" >&6; }
4326 if test "x-$aros_comment" = "x-yes" ; then
4327 aros_warnflags_comment=-Wcomment
4328 aros_nowarnflags_comment=-Wno-comment
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4332 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4333 CFLAGS=-Wincompatible-pointer-types
4334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4335 /* end confdefs.h. */
4338 main ()
4342 return 0;
4344 _ACEOF
4345 if ac_fn_c_try_compile "$LINENO"; then :
4346 aros_incompatible_pointer_types="yes"
4347 else
4348 aros_incompatible_pointer_types="no"
4350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4352 $as_echo "$aros_incompatible_pointer_types" >&6; }
4353 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4354 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4355 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4359 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4360 CFLAGS=-Wbool-compare
4361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4365 main ()
4369 return 0;
4371 _ACEOF
4372 if ac_fn_c_try_compile "$LINENO"; then :
4373 aros_bool_compare="yes"
4374 else
4375 aros_bool_compare="no"
4377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4379 $as_echo "$aros_bool_compare" >&6; }
4380 if test "x-$aros_bool_compare" = "x-yes" ; then
4381 aros_warnflags_bool_compare=-Wbool-compare
4382 aros_nowarnflags_bool_compare=-Wno-bool-compare
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4386 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4387 CFLAGS=-Wlogical-not-parentheses
4388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4389 /* end confdefs.h. */
4392 main ()
4396 return 0;
4398 _ACEOF
4399 if ac_fn_c_try_compile "$LINENO"; then :
4400 aros_logical_not_parentheses="yes"
4401 else
4402 aros_logical_not_parentheses="no"
4404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4406 $as_echo "$aros_logical_not_parentheses" >&6; }
4407 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4408 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4409 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4413 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4414 CFLAGS=-Wpointer-sign
4415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h. */
4419 main ()
4423 return 0;
4425 _ACEOF
4426 if ac_fn_c_try_compile "$LINENO"; then :
4427 aros_pointer_sign="yes"
4428 else
4429 aros_pointer_sign="no"
4431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4433 $as_echo "$aros_pointer_sign" >&6; }
4434 if test "x-$aros_pointer_sign" = "x-yes" ; then
4435 aros_warnflags_pointer_sign=-Wpointer-sign
4436 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4440 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4441 CFLAGS=-Wshift-overflow
4442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h. */
4446 main ()
4450 return 0;
4452 _ACEOF
4453 if ac_fn_c_try_compile "$LINENO"; then :
4454 aros_shift_overflow="yes"
4455 else
4456 aros_shift_overflow="no"
4458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4460 $as_echo "$aros_shift_overflow" >&6; }
4461 if test "x-$aros_shift_overflow" = "x-yes" ; then
4462 aros_warnflags_shift_overflow=-Wshift-overflow
4463 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4467 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4468 CFLAGS=-Wframe-address
4469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4470 /* end confdefs.h. */
4473 main ()
4477 return 0;
4479 _ACEOF
4480 if ac_fn_c_try_compile "$LINENO"; then :
4481 aros_frame_address="yes"
4482 else
4483 aros_frame_address="no"
4485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4487 $as_echo "$aros_frame_address" >&6; }
4488 if test "x-$aros_frame_address" = "x-yes" ; then
4489 aros_warnflags_frame_address=-Wframe-address
4490 aros_nowarnflags_frame_address=-Wno-frame-address
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4494 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4495 CFLAGS=-Wdeprecated-declarations
4496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4497 /* end confdefs.h. */
4500 main ()
4504 return 0;
4506 _ACEOF
4507 if ac_fn_c_try_compile "$LINENO"; then :
4508 aros_deprecated_declarations="yes"
4509 else
4510 aros_deprecated_declarations="no"
4512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4514 $as_echo "$aros_deprecated_declarations" >&6; }
4515 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4516 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4517 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4521 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4522 CFLAGS=-Wsign-compare
4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4527 main ()
4531 return 0;
4533 _ACEOF
4534 if ac_fn_c_try_compile "$LINENO"; then :
4535 aros_sign_compare="yes"
4536 else
4537 aros_sign_compare="no"
4539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4541 $as_echo "$aros_sign_compare" >&6; }
4542 if test "x-$aros_sign_compare" = "x-yes" ; then
4543 aros_warnflags_sign_compare=-Wsign-compare
4544 aros_nowarnflags_sign_compare=-Wno-sign-compare
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4548 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4549 CFLAGS=-Wattributes
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4554 main ()
4558 return 0;
4560 _ACEOF
4561 if ac_fn_c_try_compile "$LINENO"; then :
4562 aros_attributes="yes"
4563 else
4564 aros_attributes="no"
4566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4568 $as_echo "$aros_attributes" >&6; }
4569 if test "x-$aros_attributes" = "x-yes" ; then
4570 aros_warnflags_attributes=-Wattributes
4571 aros_nowarnflags_attributes=-Wno-attributes
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4575 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4576 CFLAGS=-Woverflow
4577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4578 /* end confdefs.h. */
4581 main ()
4585 return 0;
4587 _ACEOF
4588 if ac_fn_c_try_compile "$LINENO"; then :
4589 aros_overflow="yes"
4590 else
4591 aros_overflow="no"
4593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4595 $as_echo "$aros_overflow" >&6; }
4596 if test "x-$aros_overflow" = "x-yes" ; then
4597 aros_warnflags_overflow=-Woverflow
4598 aros_nowarnflags_overflow=-Wno-overflow
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4602 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4603 CFLAGS=-Wunused-local-typedefs
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4608 main ()
4612 return 0;
4614 _ACEOF
4615 if ac_fn_c_try_compile "$LINENO"; then :
4616 aros_unused_local_typedefs="yes"
4617 else
4618 aros_unused_local_typedefs="no"
4620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4622 $as_echo "$aros_unused_local_typedefs" >&6; }
4623 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4624 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4625 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4629 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4630 CFLAGS=-Wmissing-braces
4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4635 main ()
4639 return 0;
4641 _ACEOF
4642 if ac_fn_c_try_compile "$LINENO"; then :
4643 aros_missing_braces="yes"
4644 else
4645 aros_missing_braces="no"
4647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4649 $as_echo "$aros_missing_braces" >&6; }
4650 if test "x-$aros_missing_braces" = "x-yes" ; then
4651 aros_warnflags_missing_braces=-Wmissing-braces
4652 aros_nowarnflags_missing_braces=-Wno-missing-braces
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4656 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4657 CFLAGS=-Wconversion-null
4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4662 main ()
4666 return 0;
4668 _ACEOF
4669 if ac_fn_c_try_compile "$LINENO"; then :
4670 aros_conversion_null="yes"
4671 else
4672 aros_conversion_null="no"
4674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4676 $as_echo "$aros_conversion_null" >&6; }
4677 if test "x-$aros_conversion_null" = "x-yes" ; then
4678 aros_warnflags_conversion_null=-Wconversion-null
4679 aros_nowarnflags_conversion_null=-Wno-conversion-null
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4683 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4684 CFLAGS=-Wnarrowing
4685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4686 /* end confdefs.h. */
4689 main ()
4693 return 0;
4695 _ACEOF
4696 if ac_fn_c_try_compile "$LINENO"; then :
4697 aros_narrowing="yes"
4698 else
4699 aros_narrowing="no"
4701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4703 $as_echo "$aros_narrowing" >&6; }
4704 if test "x-$aros_narrowing" = "x-yes" ; then
4705 aros_warnflags_narrowing=-Wnarrowing
4706 aros_nowarnflags_narrowing=-Wno-narrowing
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4710 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4711 CFLAGS=-Wvolatile-register-var
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4716 main ()
4720 return 0;
4722 _ACEOF
4723 if ac_fn_c_try_compile "$LINENO"; then :
4724 aros_volatile_register_var="yes"
4725 else
4726 aros_volatile_register_var="no"
4728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4730 $as_echo "$aros_volatile_register_var" >&6; }
4731 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4732 aros_warnflags_volatile_register_var=-Wvolatile-register-var
4733 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4737 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4738 CFLAGS=-Wsizeof-pointer-memaccess
4739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4740 /* end confdefs.h. */
4743 main ()
4747 return 0;
4749 _ACEOF
4750 if ac_fn_c_try_compile "$LINENO"; then :
4751 aros_sizeof_pointer_memaccess="yes"
4752 else
4753 aros_sizeof_pointer_memaccess="no"
4755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4757 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4758 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4759 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
4760 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4764 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4765 CFLAGS=-Wreturn-type
4766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h. */
4770 main ()
4774 return 0;
4776 _ACEOF
4777 if ac_fn_c_try_compile "$LINENO"; then :
4778 aros_return_type="yes"
4779 else
4780 aros_return_type="no"
4782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4784 $as_echo "$aros_return_type" >&6; }
4785 if test "x-$aros_return_type" = "x-yes" ; then
4786 aros_warnflags_return_type=-Wreturn-type
4787 aros_nowarnflags_return_type=-Wno-return-type
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
4791 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
4792 CFLAGS=-Wformat-zero-length
4793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4794 /* end confdefs.h. */
4797 main ()
4801 return 0;
4803 _ACEOF
4804 if ac_fn_c_try_compile "$LINENO"; then :
4805 aros_format_zero_length="yes"
4806 else
4807 aros_format_zero_length="no"
4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
4811 $as_echo "$aros_format_zero_length" >&6; }
4812 if test "x-$aros_format_zero_length" = "x-yes" ; then
4813 aros_warnflags_format_zero_length=-Wformat-zero-length
4814 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
4818 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
4819 CFLAGS=-Wlto-type-mismatch
4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4824 main ()
4828 return 0;
4830 _ACEOF
4831 if ac_fn_c_try_compile "$LINENO"; then :
4832 aros_lto_type_mismatch="yes"
4833 else
4834 aros_lto_type_mismatch="no"
4836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
4838 $as_echo "$aros_lto_type_mismatch" >&6; }
4839 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
4840 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
4841 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
4845 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
4846 CFLAGS=-Wtautological-compare
4847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4848 /* end confdefs.h. */
4851 main ()
4855 return 0;
4857 _ACEOF
4858 if ac_fn_c_try_compile "$LINENO"; then :
4859 aros_tautological_compare="yes"
4860 else
4861 aros_tautological_compare="no"
4863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
4865 $as_echo "$aros_tautological_compare" >&6; }
4866 if test "x-$aros_tautological_compare" = "x-yes" ; then
4867 aros_warnflags_tautological_compare=-Wtautological-compare
4868 aros_nowarnflags_tautological_compare=-Wno-tautological-compare
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
4872 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
4873 CFLAGS=-Wempty-body
4874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4878 main ()
4882 return 0;
4884 _ACEOF
4885 if ac_fn_c_try_compile "$LINENO"; then :
4886 aros_empty_body="yes"
4887 else
4888 aros_empty_body="no"
4890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
4892 $as_echo "$aros_empty_body" >&6; }
4893 if test "x-$aros_empty_body" = "x-yes" ; then
4894 aros_warnflags_empty_body=-Wempty-body
4895 aros_nowarnflags_empty_body=-Wno-empty-body
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-overflow" >&5
4899 $as_echo_n "checking whether ${CC} accepts -Wstringop-overflow... " >&6; }
4900 CFLAGS=-Wstringop-overflow
4901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4902 /* end confdefs.h. */
4905 main ()
4909 return 0;
4911 _ACEOF
4912 if ac_fn_c_try_compile "$LINENO"; then :
4913 aros_stringop_overflow="yes"
4914 else
4915 aros_stringop_overflow="no"
4917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_overflow" >&5
4919 $as_echo "$aros_stringop_overflow" >&6; }
4920 if test "x-$aros_stringop_overflow" = "x-yes" ; then
4921 aros_warnflags_stringop_overflow=-Wstringop-overflow
4922 aros_nowarnflags_stringop_overflow=-Wno-stringop-overflow
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-truncation" >&5
4926 $as_echo_n "checking whether ${CC} accepts -Wformat-truncation... " >&6; }
4927 CFLAGS=-Wformat-truncation
4928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4929 /* end confdefs.h. */
4932 main ()
4936 return 0;
4938 _ACEOF
4939 if ac_fn_c_try_compile "$LINENO"; then :
4940 aros_format_truncation="yes"
4941 else
4942 aros_format_truncation="no"
4944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_truncation" >&5
4946 $as_echo "$aros_format_truncation" >&6; }
4947 if test "x-$aros_format_truncation" = "x-yes" ; then
4948 aros_warnflags_format_truncation=-Wformat-truncation
4949 aros_nowarnflags_format_truncation=-Wno-format-truncation
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-negative-value" >&5
4953 $as_echo_n "checking whether ${CC} accepts -Wshift-negative-value... " >&6; }
4954 CFLAGS=-Wshift-negative-value
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4959 main ()
4963 return 0;
4965 _ACEOF
4966 if ac_fn_c_try_compile "$LINENO"; then :
4967 aros_shift_negative_value="yes"
4968 else
4969 aros_shift_negative_value="no"
4971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_negative_value" >&5
4973 $as_echo "$aros_shift_negative_value" >&6; }
4974 if test "x-$aros_shift_negative_value" = "x-yes" ; then
4975 aros_warnflags_shift_negative_value=-Wshift-negative-value
4976 aros_nowarnflags_shift_negative_value=-Wno-shift-negative-value
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-field-initializers" >&5
4980 $as_echo_n "checking whether ${CC} accepts -Wmissing-field-initializers... " >&6; }
4981 CFLAGS=-Wmissing-field-initializers
4982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4983 /* end confdefs.h. */
4986 main ()
4990 return 0;
4992 _ACEOF
4993 if ac_fn_c_try_compile "$LINENO"; then :
4994 aros_missing_field_initializers="yes"
4995 else
4996 aros_missing_field_initializers="no"
4998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_field_initializers" >&5
5000 $as_echo "$aros_missing_field_initializers" >&6; }
5001 if test "x-$aros_missing_field_initializers" = "x-yes" ; then
5002 aros_warnflags_missing_field_initializers=-Wmissing-field-initializers
5003 aros_nowarnflags_smissing_field_initializers=-Wno-missing-field-initializers
5007 # export the feature flags...
5035 # export the feature options...
5040 # ...and warning flags...
5173 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
5176 cat >confcache <<\_ACEOF
5177 # This file is a shell script that caches the results of configure
5178 # tests run on this system so they can be shared between configure
5179 # scripts and configure runs, see configure's option --config-cache.
5180 # It is not useful on other systems. If it contains results you don't
5181 # want to keep, you may remove or edit it.
5183 # config.status only pays attention to the cache file if you give it
5184 # the --recheck option to rerun configure.
5186 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5187 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5188 # following values.
5190 _ACEOF
5192 # The following way of writing the cache mishandles newlines in values,
5193 # but we know of no workaround that is simple, portable, and efficient.
5194 # So, we kill variables containing newlines.
5195 # Ultrix sh set writes to stderr and can't be redirected directly,
5196 # and sets the high bit in the cache file unless we assign to the vars.
5198 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5199 eval ac_val=\$$ac_var
5200 case $ac_val in #(
5201 *${as_nl}*)
5202 case $ac_var in #(
5203 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5204 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5205 esac
5206 case $ac_var in #(
5207 _ | IFS | as_nl) ;; #(
5208 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5209 *) { eval $ac_var=; unset $ac_var;} ;;
5210 esac ;;
5211 esac
5212 done
5214 (set) 2>&1 |
5215 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5216 *${as_nl}ac_space=\ *)
5217 # `set' does not quote correctly, so add quotes: double-quote
5218 # substitution turns \\\\ into \\, and sed turns \\ into \.
5219 sed -n \
5220 "s/'/'\\\\''/g;
5221 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5222 ;; #(
5224 # `set' quotes correctly as required by POSIX, so do not add quotes.
5225 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5227 esac |
5228 sort
5230 sed '
5231 /^ac_cv_env_/b end
5232 t clear
5233 :clear
5234 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5235 t end
5236 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5237 :end' >>confcache
5238 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5239 if test -w "$cache_file"; then
5240 if test "x$cache_file" != "x/dev/null"; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5242 $as_echo "$as_me: updating cache $cache_file" >&6;}
5243 if test ! -f "$cache_file" || test -h "$cache_file"; then
5244 cat confcache >"$cache_file"
5245 else
5246 case $cache_file in #(
5247 */* | ?:*)
5248 mv -f confcache "$cache_file"$$ &&
5249 mv -f "$cache_file"$$ "$cache_file" ;; #(
5251 mv -f confcache "$cache_file" ;;
5252 esac
5255 else
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5257 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5260 rm -f confcache
5262 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5263 # Let make expand exec_prefix.
5264 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5266 # Transform confdefs.h into DEFS.
5267 # Protect against shell expansion while executing Makefile rules.
5268 # Protect against Makefile macro expansion.
5270 # If the first sed substitution is executed (which looks for macros that
5271 # take arguments), then branch to the quote section. Otherwise,
5272 # look for a macro that doesn't take arguments.
5273 ac_script='
5274 :mline
5275 /\\$/{
5277 s,\\\n,,
5278 b mline
5280 t clear
5281 :clear
5282 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5283 t quote
5284 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5285 t quote
5286 b any
5287 :quote
5288 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5289 s/\[/\\&/g
5290 s/\]/\\&/g
5291 s/\$/$$/g
5293 :any
5296 s/^\n//
5297 s/\n/ /g
5301 DEFS=`sed -n "$ac_script" confdefs.h`
5304 ac_libobjs=
5305 ac_ltlibobjs=
5307 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5308 # 1. Remove the extension, and $U if already installed.
5309 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5310 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5311 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5312 # will be set to the directory where LIBOBJS objects are built.
5313 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5314 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5315 done
5316 LIBOBJS=$ac_libobjs
5318 LTLIBOBJS=$ac_ltlibobjs
5322 : "${CONFIG_STATUS=./config.status}"
5323 ac_write_fail=0
5324 ac_clean_files_save=$ac_clean_files
5325 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5327 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5328 as_write_fail=0
5329 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5330 #! $SHELL
5331 # Generated by $as_me.
5332 # Run this file to recreate the current configuration.
5333 # Compiler output produced by configure, useful for debugging
5334 # configure, is in config.log if it exists.
5336 debug=false
5337 ac_cs_recheck=false
5338 ac_cs_silent=false
5340 SHELL=\${CONFIG_SHELL-$SHELL}
5341 export SHELL
5342 _ASEOF
5343 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5344 ## -------------------- ##
5345 ## M4sh Initialization. ##
5346 ## -------------------- ##
5348 # Be more Bourne compatible
5349 DUALCASE=1; export DUALCASE # for MKS sh
5350 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5351 emulate sh
5352 NULLCMD=:
5353 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5354 # is contrary to our usage. Disable this feature.
5355 alias -g '${1+"$@"}'='"$@"'
5356 setopt NO_GLOB_SUBST
5357 else
5358 case `(set -o) 2>/dev/null` in #(
5359 *posix*) :
5360 set -o posix ;; #(
5361 *) :
5363 esac
5367 as_nl='
5369 export as_nl
5370 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5371 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5372 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5373 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5374 # Prefer a ksh shell builtin over an external printf program on Solaris,
5375 # but without wasting forks for bash or zsh.
5376 if test -z "$BASH_VERSION$ZSH_VERSION" \
5377 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5378 as_echo='print -r --'
5379 as_echo_n='print -rn --'
5380 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5381 as_echo='printf %s\n'
5382 as_echo_n='printf %s'
5383 else
5384 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5385 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5386 as_echo_n='/usr/ucb/echo -n'
5387 else
5388 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5389 as_echo_n_body='eval
5390 arg=$1;
5391 case $arg in #(
5392 *"$as_nl"*)
5393 expr "X$arg" : "X\\(.*\\)$as_nl";
5394 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5395 esac;
5396 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5398 export as_echo_n_body
5399 as_echo_n='sh -c $as_echo_n_body as_echo'
5401 export as_echo_body
5402 as_echo='sh -c $as_echo_body as_echo'
5405 # The user is always right.
5406 if test "${PATH_SEPARATOR+set}" != set; then
5407 PATH_SEPARATOR=:
5408 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5409 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5410 PATH_SEPARATOR=';'
5415 # IFS
5416 # We need space, tab and new line, in precisely that order. Quoting is
5417 # there to prevent editors from complaining about space-tab.
5418 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5419 # splitting by setting IFS to empty value.)
5420 IFS=" "" $as_nl"
5422 # Find who we are. Look in the path if we contain no directory separator.
5423 as_myself=
5424 case $0 in #((
5425 *[\\/]* ) as_myself=$0 ;;
5426 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5427 for as_dir in $PATH
5429 IFS=$as_save_IFS
5430 test -z "$as_dir" && as_dir=.
5431 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5432 done
5433 IFS=$as_save_IFS
5436 esac
5437 # We did not find ourselves, most probably we were run as `sh COMMAND'
5438 # in which case we are not to be found in the path.
5439 if test "x$as_myself" = x; then
5440 as_myself=$0
5442 if test ! -f "$as_myself"; then
5443 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5444 exit 1
5447 # Unset variables that we do not need and which cause bugs (e.g. in
5448 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5449 # suppresses any "Segmentation fault" message there. '((' could
5450 # trigger a bug in pdksh 5.2.14.
5451 for as_var in BASH_ENV ENV MAIL MAILPATH
5452 do eval test x\${$as_var+set} = xset \
5453 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5454 done
5455 PS1='$ '
5456 PS2='> '
5457 PS4='+ '
5459 # NLS nuisances.
5460 LC_ALL=C
5461 export LC_ALL
5462 LANGUAGE=C
5463 export LANGUAGE
5465 # CDPATH.
5466 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5469 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5470 # ----------------------------------------
5471 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5472 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5473 # script with STATUS, using 1 if that was 0.
5474 as_fn_error ()
5476 as_status=$1; test $as_status -eq 0 && as_status=1
5477 if test "$4"; then
5478 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5479 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5481 $as_echo "$as_me: error: $2" >&2
5482 as_fn_exit $as_status
5483 } # as_fn_error
5486 # as_fn_set_status STATUS
5487 # -----------------------
5488 # Set $? to STATUS, without forking.
5489 as_fn_set_status ()
5491 return $1
5492 } # as_fn_set_status
5494 # as_fn_exit STATUS
5495 # -----------------
5496 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5497 as_fn_exit ()
5499 set +e
5500 as_fn_set_status $1
5501 exit $1
5502 } # as_fn_exit
5504 # as_fn_unset VAR
5505 # ---------------
5506 # Portably unset VAR.
5507 as_fn_unset ()
5509 { eval $1=; unset $1;}
5511 as_unset=as_fn_unset
5512 # as_fn_append VAR VALUE
5513 # ----------------------
5514 # Append the text in VALUE to the end of the definition contained in VAR. Take
5515 # advantage of any shell optimizations that allow amortized linear growth over
5516 # repeated appends, instead of the typical quadratic growth present in naive
5517 # implementations.
5518 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5519 eval 'as_fn_append ()
5521 eval $1+=\$2
5523 else
5524 as_fn_append ()
5526 eval $1=\$$1\$2
5528 fi # as_fn_append
5530 # as_fn_arith ARG...
5531 # ------------------
5532 # Perform arithmetic evaluation on the ARGs, and store the result in the
5533 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5534 # must be portable across $(()) and expr.
5535 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5536 eval 'as_fn_arith ()
5538 as_val=$(( $* ))
5540 else
5541 as_fn_arith ()
5543 as_val=`expr "$@" || test $? -eq 1`
5545 fi # as_fn_arith
5548 if expr a : '\(a\)' >/dev/null 2>&1 &&
5549 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5550 as_expr=expr
5551 else
5552 as_expr=false
5555 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5556 as_basename=basename
5557 else
5558 as_basename=false
5561 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5562 as_dirname=dirname
5563 else
5564 as_dirname=false
5567 as_me=`$as_basename -- "$0" ||
5568 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5569 X"$0" : 'X\(//\)$' \| \
5570 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5571 $as_echo X/"$0" |
5572 sed '/^.*\/\([^/][^/]*\)\/*$/{
5573 s//\1/
5576 /^X\/\(\/\/\)$/{
5577 s//\1/
5580 /^X\/\(\/\).*/{
5581 s//\1/
5584 s/.*/./; q'`
5586 # Avoid depending upon Character Ranges.
5587 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5588 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5589 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5590 as_cr_digits='0123456789'
5591 as_cr_alnum=$as_cr_Letters$as_cr_digits
5593 ECHO_C= ECHO_N= ECHO_T=
5594 case `echo -n x` in #(((((
5595 -n*)
5596 case `echo 'xy\c'` in
5597 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5598 xy) ECHO_C='\c';;
5599 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5600 ECHO_T=' ';;
5601 esac;;
5603 ECHO_N='-n';;
5604 esac
5606 rm -f conf$$ conf$$.exe conf$$.file
5607 if test -d conf$$.dir; then
5608 rm -f conf$$.dir/conf$$.file
5609 else
5610 rm -f conf$$.dir
5611 mkdir conf$$.dir 2>/dev/null
5613 if (echo >conf$$.file) 2>/dev/null; then
5614 if ln -s conf$$.file conf$$ 2>/dev/null; then
5615 as_ln_s='ln -s'
5616 # ... but there are two gotchas:
5617 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5618 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5619 # In both cases, we have to default to `cp -pR'.
5620 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5621 as_ln_s='cp -pR'
5622 elif ln conf$$.file conf$$ 2>/dev/null; then
5623 as_ln_s=ln
5624 else
5625 as_ln_s='cp -pR'
5627 else
5628 as_ln_s='cp -pR'
5630 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5631 rmdir conf$$.dir 2>/dev/null
5634 # as_fn_mkdir_p
5635 # -------------
5636 # Create "$as_dir" as a directory, including parents if necessary.
5637 as_fn_mkdir_p ()
5640 case $as_dir in #(
5641 -*) as_dir=./$as_dir;;
5642 esac
5643 test -d "$as_dir" || eval $as_mkdir_p || {
5644 as_dirs=
5645 while :; do
5646 case $as_dir in #(
5647 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5648 *) as_qdir=$as_dir;;
5649 esac
5650 as_dirs="'$as_qdir' $as_dirs"
5651 as_dir=`$as_dirname -- "$as_dir" ||
5652 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5653 X"$as_dir" : 'X\(//\)[^/]' \| \
5654 X"$as_dir" : 'X\(//\)$' \| \
5655 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5656 $as_echo X"$as_dir" |
5657 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5658 s//\1/
5661 /^X\(\/\/\)[^/].*/{
5662 s//\1/
5665 /^X\(\/\/\)$/{
5666 s//\1/
5669 /^X\(\/\).*/{
5670 s//\1/
5673 s/.*/./; q'`
5674 test -d "$as_dir" && break
5675 done
5676 test -z "$as_dirs" || eval "mkdir $as_dirs"
5677 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5680 } # as_fn_mkdir_p
5681 if mkdir -p . 2>/dev/null; then
5682 as_mkdir_p='mkdir -p "$as_dir"'
5683 else
5684 test -d ./-p && rmdir ./-p
5685 as_mkdir_p=false
5689 # as_fn_executable_p FILE
5690 # -----------------------
5691 # Test if FILE is an executable regular file.
5692 as_fn_executable_p ()
5694 test -f "$1" && test -x "$1"
5695 } # as_fn_executable_p
5696 as_test_x='test -x'
5697 as_executable_p=as_fn_executable_p
5699 # Sed expression to map a string onto a valid CPP name.
5700 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5702 # Sed expression to map a string onto a valid variable name.
5703 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5706 exec 6>&1
5707 ## ----------------------------------- ##
5708 ## Main body of $CONFIG_STATUS script. ##
5709 ## ----------------------------------- ##
5710 _ASEOF
5711 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5714 # Save the log message, to keep $0 and so on meaningful, and to
5715 # report actual input values of CONFIG_FILES etc. instead of their
5716 # values after options handling.
5717 ac_log="
5718 This file was extended by $as_me, which was
5719 generated by GNU Autoconf 2.69. Invocation command line was
5721 CONFIG_FILES = $CONFIG_FILES
5722 CONFIG_HEADERS = $CONFIG_HEADERS
5723 CONFIG_LINKS = $CONFIG_LINKS
5724 CONFIG_COMMANDS = $CONFIG_COMMANDS
5725 $ $0 $@
5727 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5730 _ACEOF
5732 case $ac_config_files in *"
5733 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5734 esac
5738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5739 # Files that config.status was made for.
5740 config_files="$ac_config_files"
5742 _ACEOF
5744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5745 ac_cs_usage="\
5746 \`$as_me' instantiates files and other configuration actions
5747 from templates according to the current configuration. Unless the files
5748 and actions are specified as TAGs, all are instantiated by default.
5750 Usage: $0 [OPTION]... [TAG]...
5752 -h, --help print this help, then exit
5753 -V, --version print version number and configuration settings, then exit
5754 --config print configuration, then exit
5755 -q, --quiet, --silent
5756 do not print progress messages
5757 -d, --debug don't remove temporary files
5758 --recheck update $as_me by reconfiguring in the same conditions
5759 --file=FILE[:TEMPLATE]
5760 instantiate the configuration file FILE
5762 Configuration files:
5763 $config_files
5765 Report bugs to the package provider."
5767 _ACEOF
5768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5769 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5770 ac_cs_version="\\
5771 config.status
5772 configured by $0, generated by GNU Autoconf 2.69,
5773 with options \\"\$ac_cs_config\\"
5775 Copyright (C) 2012 Free Software Foundation, Inc.
5776 This config.status script is free software; the Free Software Foundation
5777 gives unlimited permission to copy, distribute and modify it."
5779 ac_pwd='$ac_pwd'
5780 srcdir='$srcdir'
5781 test -n "\$AWK" || AWK=awk
5782 _ACEOF
5784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5785 # The default lists apply if the user does not specify any file.
5786 ac_need_defaults=:
5787 while test $# != 0
5789 case $1 in
5790 --*=?*)
5791 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5792 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5793 ac_shift=:
5795 --*=)
5796 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5797 ac_optarg=
5798 ac_shift=:
5801 ac_option=$1
5802 ac_optarg=$2
5803 ac_shift=shift
5805 esac
5807 case $ac_option in
5808 # Handling of the options.
5809 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5810 ac_cs_recheck=: ;;
5811 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5812 $as_echo "$ac_cs_version"; exit ;;
5813 --config | --confi | --conf | --con | --co | --c )
5814 $as_echo "$ac_cs_config"; exit ;;
5815 --debug | --debu | --deb | --de | --d | -d )
5816 debug=: ;;
5817 --file | --fil | --fi | --f )
5818 $ac_shift
5819 case $ac_optarg in
5820 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5821 '') as_fn_error $? "missing file argument" ;;
5822 esac
5823 as_fn_append CONFIG_FILES " '$ac_optarg'"
5824 ac_need_defaults=false;;
5825 --he | --h | --help | --hel | -h )
5826 $as_echo "$ac_cs_usage"; exit ;;
5827 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5828 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5829 ac_cs_silent=: ;;
5831 # This is an error.
5832 -*) as_fn_error $? "unrecognized option: \`$1'
5833 Try \`$0 --help' for more information." ;;
5835 *) as_fn_append ac_config_targets " $1"
5836 ac_need_defaults=false ;;
5838 esac
5839 shift
5840 done
5842 ac_configure_extra_args=
5844 if $ac_cs_silent; then
5845 exec 6>/dev/null
5846 ac_configure_extra_args="$ac_configure_extra_args --silent"
5849 _ACEOF
5850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5851 if \$ac_cs_recheck; then
5852 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5853 shift
5854 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5855 CONFIG_SHELL='$SHELL'
5856 export CONFIG_SHELL
5857 exec "\$@"
5860 _ACEOF
5861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5862 exec 5>>config.log
5864 echo
5865 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5866 ## Running $as_me. ##
5867 _ASBOX
5868 $as_echo "$ac_log"
5869 } >&5
5871 _ACEOF
5872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5873 _ACEOF
5875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5877 # Handling of arguments.
5878 for ac_config_target in $ac_config_targets
5880 case $ac_config_target in
5881 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5883 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5884 esac
5885 done
5888 # If the user did not use the arguments to specify the items to instantiate,
5889 # then the envvar interface is used. Set only those that are not.
5890 # We use the long form for the default assignment because of an extremely
5891 # bizarre bug on SunOS 4.1.3.
5892 if $ac_need_defaults; then
5893 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5896 # Have a temporary directory for convenience. Make it in the build tree
5897 # simply because there is no reason against having it here, and in addition,
5898 # creating and moving files from /tmp can sometimes cause problems.
5899 # Hook for its removal unless debugging.
5900 # Note that there is a small window in which the directory will not be cleaned:
5901 # after its creation but before its name has been assigned to `$tmp'.
5902 $debug ||
5904 tmp= ac_tmp=
5905 trap 'exit_status=$?
5906 : "${ac_tmp:=$tmp}"
5907 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5909 trap 'as_fn_exit 1' 1 2 13 15
5911 # Create a (secure) tmp directory for tmp files.
5914 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5915 test -d "$tmp"
5916 } ||
5918 tmp=./conf$$-$RANDOM
5919 (umask 077 && mkdir "$tmp")
5920 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5921 ac_tmp=$tmp
5923 # Set up the scripts for CONFIG_FILES section.
5924 # No need to generate them if there are no CONFIG_FILES.
5925 # This happens for instance with `./config.status config.h'.
5926 if test -n "$CONFIG_FILES"; then
5929 ac_cr=`echo X | tr X '\015'`
5930 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5931 # But we know of no other shell where ac_cr would be empty at this
5932 # point, so we can use a bashism as a fallback.
5933 if test "x$ac_cr" = x; then
5934 eval ac_cr=\$\'\\r\'
5936 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5937 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5938 ac_cs_awk_cr='\\r'
5939 else
5940 ac_cs_awk_cr=$ac_cr
5943 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5944 _ACEOF
5948 echo "cat >conf$$subs.awk <<_ACEOF" &&
5949 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5950 echo "_ACEOF"
5951 } >conf$$subs.sh ||
5952 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5953 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5954 ac_delim='%!_!# '
5955 for ac_last_try in false false false false false :; do
5956 . ./conf$$subs.sh ||
5957 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5959 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5960 if test $ac_delim_n = $ac_delim_num; then
5961 break
5962 elif $ac_last_try; then
5963 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5964 else
5965 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5967 done
5968 rm -f conf$$subs.sh
5970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5971 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5972 _ACEOF
5973 sed -n '
5975 s/^/S["/; s/!.*/"]=/
5978 s/^[^!]*!//
5979 :repl
5980 t repl
5981 s/'"$ac_delim"'$//
5982 t delim
5985 s/\(.\{148\}\)..*/\1/
5986 t more1
5987 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5990 b repl
5991 :more1
5992 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5995 s/.\{148\}//
5996 t nl
5997 :delim
5999 s/\(.\{148\}\)..*/\1/
6000 t more2
6001 s/["\\]/\\&/g; s/^/"/; s/$/"/
6004 :more2
6005 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6008 s/.\{148\}//
6009 t delim
6010 ' <conf$$subs.awk | sed '
6011 /^[^""]/{
6013 s/\n//
6015 ' >>$CONFIG_STATUS || ac_write_fail=1
6016 rm -f conf$$subs.awk
6017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6018 _ACAWK
6019 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6020 for (key in S) S_is_set[key] = 1
6021 FS = "\a"
6025 line = $ 0
6026 nfields = split(line, field, "@")
6027 substed = 0
6028 len = length(field[1])
6029 for (i = 2; i < nfields; i++) {
6030 key = field[i]
6031 keylen = length(key)
6032 if (S_is_set[key]) {
6033 value = S[key]
6034 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6035 len += length(value) + length(field[++i])
6036 substed = 1
6037 } else
6038 len += 1 + keylen
6041 print line
6044 _ACAWK
6045 _ACEOF
6046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6047 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6048 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6049 else
6051 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6052 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6053 _ACEOF
6055 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6056 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6057 # trailing colons and then remove the whole line if VPATH becomes empty
6058 # (actually we leave an empty line to preserve line numbers).
6059 if test "x$srcdir" = x.; then
6060 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6062 s///
6063 s/^/:/
6064 s/[ ]*$/:/
6065 s/:\$(srcdir):/:/g
6066 s/:\${srcdir}:/:/g
6067 s/:@srcdir@:/:/g
6068 s/^:*//
6069 s/:*$//
6071 s/\(=[ ]*\).*/\1/
6073 s/\n//
6074 s/^[^=]*=[ ]*$//
6078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6079 fi # test -n "$CONFIG_FILES"
6082 eval set X " :F $CONFIG_FILES "
6083 shift
6084 for ac_tag
6086 case $ac_tag in
6087 :[FHLC]) ac_mode=$ac_tag; continue;;
6088 esac
6089 case $ac_mode$ac_tag in
6090 :[FHL]*:*);;
6091 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6092 :[FH]-) ac_tag=-:-;;
6093 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6094 esac
6095 ac_save_IFS=$IFS
6096 IFS=:
6097 set x $ac_tag
6098 IFS=$ac_save_IFS
6099 shift
6100 ac_file=$1
6101 shift
6103 case $ac_mode in
6104 :L) ac_source=$1;;
6105 :[FH])
6106 ac_file_inputs=
6107 for ac_f
6109 case $ac_f in
6110 -) ac_f="$ac_tmp/stdin";;
6111 *) # Look for the file first in the build tree, then in the source tree
6112 # (if the path is not absolute). The absolute path cannot be DOS-style,
6113 # because $ac_f cannot contain `:'.
6114 test -f "$ac_f" ||
6115 case $ac_f in
6116 [\\/$]*) false;;
6117 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6118 esac ||
6119 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6120 esac
6121 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6122 as_fn_append ac_file_inputs " '$ac_f'"
6123 done
6125 # Let's still pretend it is `configure' which instantiates (i.e., don't
6126 # use $as_me), people would be surprised to read:
6127 # /* config.h. Generated by config.status. */
6128 configure_input='Generated from '`
6129 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6130 `' by configure.'
6131 if test x"$ac_file" != x-; then
6132 configure_input="$ac_file. $configure_input"
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6134 $as_echo "$as_me: creating $ac_file" >&6;}
6136 # Neutralize special characters interpreted by sed in replacement strings.
6137 case $configure_input in #(
6138 *\&* | *\|* | *\\* )
6139 ac_sed_conf_input=`$as_echo "$configure_input" |
6140 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6141 *) ac_sed_conf_input=$configure_input;;
6142 esac
6144 case $ac_tag in
6145 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6146 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6147 esac
6149 esac
6151 ac_dir=`$as_dirname -- "$ac_file" ||
6152 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6153 X"$ac_file" : 'X\(//\)[^/]' \| \
6154 X"$ac_file" : 'X\(//\)$' \| \
6155 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6156 $as_echo X"$ac_file" |
6157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6158 s//\1/
6161 /^X\(\/\/\)[^/].*/{
6162 s//\1/
6165 /^X\(\/\/\)$/{
6166 s//\1/
6169 /^X\(\/\).*/{
6170 s//\1/
6173 s/.*/./; q'`
6174 as_dir="$ac_dir"; as_fn_mkdir_p
6175 ac_builddir=.
6177 case "$ac_dir" in
6178 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6180 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6181 # A ".." for each directory in $ac_dir_suffix.
6182 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6183 case $ac_top_builddir_sub in
6184 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6185 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6186 esac ;;
6187 esac
6188 ac_abs_top_builddir=$ac_pwd
6189 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6190 # for backward compatibility:
6191 ac_top_builddir=$ac_top_build_prefix
6193 case $srcdir in
6194 .) # We are building in place.
6195 ac_srcdir=.
6196 ac_top_srcdir=$ac_top_builddir_sub
6197 ac_abs_top_srcdir=$ac_pwd ;;
6198 [\\/]* | ?:[\\/]* ) # Absolute name.
6199 ac_srcdir=$srcdir$ac_dir_suffix;
6200 ac_top_srcdir=$srcdir
6201 ac_abs_top_srcdir=$srcdir ;;
6202 *) # Relative name.
6203 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6204 ac_top_srcdir=$ac_top_build_prefix$srcdir
6205 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6206 esac
6207 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6210 case $ac_mode in
6213 # CONFIG_FILE
6216 _ACEOF
6218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6219 # If the template does not know about datarootdir, expand it.
6220 # FIXME: This hack should be removed a few years after 2.60.
6221 ac_datarootdir_hack=; ac_datarootdir_seen=
6222 ac_sed_dataroot='
6223 /datarootdir/ {
6227 /@datadir@/p
6228 /@docdir@/p
6229 /@infodir@/p
6230 /@localedir@/p
6231 /@mandir@/p'
6232 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6233 *datarootdir*) ac_datarootdir_seen=yes;;
6234 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6236 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6237 _ACEOF
6238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6239 ac_datarootdir_hack='
6240 s&@datadir@&$datadir&g
6241 s&@docdir@&$docdir&g
6242 s&@infodir@&$infodir&g
6243 s&@localedir@&$localedir&g
6244 s&@mandir@&$mandir&g
6245 s&\\\${datarootdir}&$datarootdir&g' ;;
6246 esac
6247 _ACEOF
6249 # Neutralize VPATH when `$srcdir' = `.'.
6250 # Shell code in configure.ac might set extrasub.
6251 # FIXME: do we really want to maintain this feature?
6252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6253 ac_sed_extra="$ac_vpsub
6254 $extrasub
6255 _ACEOF
6256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6258 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6259 s|@configure_input@|$ac_sed_conf_input|;t t
6260 s&@top_builddir@&$ac_top_builddir_sub&;t t
6261 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6262 s&@srcdir@&$ac_srcdir&;t t
6263 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6264 s&@top_srcdir@&$ac_top_srcdir&;t t
6265 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6266 s&@builddir@&$ac_builddir&;t t
6267 s&@abs_builddir@&$ac_abs_builddir&;t t
6268 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6269 $ac_datarootdir_hack
6271 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6272 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6274 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6275 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6276 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6277 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6279 which seems to be undefined. Please make sure it is defined" >&5
6280 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6281 which seems to be undefined. Please make sure it is defined" >&2;}
6283 rm -f "$ac_tmp/stdin"
6284 case $ac_file in
6285 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6286 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6287 esac \
6288 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6293 esac
6295 done # for ac_tag
6298 as_fn_exit 0
6299 _ACEOF
6300 ac_clean_files=$ac_clean_files_save
6302 test $ac_write_fail = 0 ||
6303 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6306 # configure is writing to config.log, and then calls config.status.
6307 # config.status does its own redirection, appending to config.log.
6308 # Unfortunately, on DOS this fails, as config.log is still kept open
6309 # by configure, so config.status won't be able to write to it; its
6310 # output is simply discarded. So we exec the FD to /dev/null,
6311 # effectively closing config.log, so it can be properly (re)opened and
6312 # appended to by config.status. When coming back to configure, we
6313 # need to make the FD available again.
6314 if test "$no_create" != yes; then
6315 ac_cs_success=:
6316 ac_config_status_args=
6317 test "$silent" = yes &&
6318 ac_config_status_args="$ac_config_status_args --quiet"
6319 exec 5>/dev/null
6320 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6321 exec 5>>config.log
6322 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6323 # would make configure fail if this is the last instruction.
6324 $ac_cs_success || as_fn_exit 1
6326 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6328 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}