check if the compiler supports -funroll-loops
[AROS.git] / config / features
blobe9da7c2aee435e092afee3abeb0d75148faf438b
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_lto_type_mismatch
588 aros_warnflags_lto_type_mismatch
589 aros_nowarnflags_format_zero_length
590 aros_warnflags_format_zero_length
591 aros_nowarnflags_return_type
592 aros_warnflags_return_type
593 aros_nowarnflags_sizeof_pointer_memaccess
594 aros_warnflags_sizeof_pointer_memaccess
595 aros_nowarnflags_volatile_register_var
596 aros_warnflags_volatile_register_var
597 aros_nowarnflags_narrowing
598 aros_warnflags_narrowing
599 aros_nowarnflags_conversion_null
600 aros_warnflags_conversion_null
601 aros_nowarnflags_missing_braces
602 aros_warnflags_missing_braces
603 aros_nowarnflags_unused_local_typedefs
604 aros_warnflags_unused_local_typedefs
605 aros_nowarnflags_overflow
606 aros_warnflags_overflow
607 aros_nowarnflags_attributes
608 aros_warnflags_attributes
609 aros_nowarnflags_sign_compare
610 aros_warnflags_sign_compare
611 aros_nowarnflags_deprecated_declarations
612 aros_warnflags_deprecated_declarations
613 aros_nowarnflags_frame_address
614 aros_warnflags_frame_address
615 aros_nowarnflags_shift_overflow
616 aros_warnflags_shift_overflow
617 aros_nowarnflags_pointer_sign
618 aros_warnflags_pointer_sign
619 aros_nowarnflags_logical_not_parentheses
620 aros_warnflags_logical_not_parentheses
621 aros_nowarnflags_bool_compare
622 aros_warnflags_bool_compare
623 aros_nowarnflags_incompatible_pointer_types
624 aros_warnflags_incompatible_pointer_types
625 aros_nowarnflags_comment
626 aros_warnflags_comment
627 aros_nowarnflags_write_strings
628 aros_warnflags_write_strings
629 aros_nowarnflags_unused_const_variable
630 aros_warnflags_unused_const_variable
631 aros_nowarnflags_pointer_to_int_cast
632 aros_warnflags_pointer_to_int_cast
633 aros_nowarnflags_int_to_pointer_cast
634 aros_warnflags_int_to_pointer_cast
635 aros_nowarnflags_int_conversion
636 aros_warnflags_int_conversion
637 aros_nowarnflags_discarded_array_qualifiers
638 aros_warnflags_discarded_array_qualifiers
639 aros_nowarnflags_unknown_pragmas
640 aros_warnflags_unknown_pragmas
641 aros_nowarnflags_sequence_point
642 aros_warnflags_sequence_point
643 aros_nowarnflags_discarded_qualifiers
644 aros_warnflags_discarded_qualifiers
645 aros_nowarnflags_switch
646 aros_warnflags_switch
647 aros_nowarnflags_cpp
648 aros_warnflags_cpp
649 aros_nowarnflags_aggressive_loop_optimizations
650 aros_warnflags_aggressive_loop_optimizations
651 aros_nowarnflags_implicit_int
652 aros_warnflags_implicit_int
653 aros_nowarnflags_format_contains_nul
654 aros_warnflags_format_contains_nul
655 aros_nowarnflags_endif_labels
656 aros_warnflags_endif_labels
657 aros_nowarnflags_char_subscripts
658 aros_warnflags_char_subscripts
659 aros_nowarnflags_parentheses
660 aros_warnflags_parentheses
661 aros_nowarnflags_format
662 aros_warnflags_format
663 aros_nowarnflags_implicit_function_declaration
664 aros_warnflags_implicit_function_declaration
665 aros_nowarnflags_maybe_uninitialized
666 aros_warnflags_maybe_uninitialized
667 aros_nowarnflags_uninitialized
668 aros_warnflags_uninitialized
669 aros_nowarnflags_unused_parameter
670 aros_warnflags_unused_parameter
671 aros_nowarnflags_unused_function
672 aros_warnflags_unused_function
673 aros_nowarnflags_unused_variable
674 aros_warnflags_unused_variable
675 aros_nowarnflags_unused_value
676 aros_warnflags_unused_value
677 aros_nowarnflags_unused
678 aros_warnflags_unused
679 aros_nowarnflags_nonnull_compare
680 aros_warnflags_nonnull_compare
681 aros_nowarnflags_misleading_indentation
682 aros_warnflags_misleading_indentation
683 aros_nowarnflags_format_security
684 aros_warnflags_format_security
685 aros_nowarnflags_strict_overflow
686 aros_warnflags_strict_overflow
687 aros_nowarnflags_strict_prototypes
688 aros_warnflags_strict_prototypes
689 aros_nowarnflags_enum_compare
690 aros_warnflags_enum_compare
691 aros_nowarnflags_array_bounds
692 aros_warnflags_array_bounds
693 aros_nowarnflags_strict_aliasing
694 aros_warnflags_strict_aliasing
695 aros_nowarnflags_unused_but_set_variable
696 aros_warnflags_unused_but_set_variable
697 aros_nowarnflags_unknown_warning_option
698 aros_warnflags_unknown_warning_option
699 aros_nowarnflags_unused_command_line_argument
700 aros_warnflags_unused_command_line_argument
701 aros_cflags_no_red_zone
702 aros_cflags_iquote_end
703 aros_cflags_iquote
704 aros_cflags_nostrictaliasing
705 aros_cflags_strictaliasing
706 aros_cflags_unroll_loops
707 aros_cflags_peel_loops
708 aros_cflags_loop_strip_mine
709 aros_cflags_loop_interchange
710 aros_cflags_loop_block
711 aros_cflags_whole_program
712 aros_cflags_nolto
713 aros_cflags_lto
714 aros_cflags_fast_math
715 OBJEXT
716 EXEEXT
717 ac_ct_CC
718 CPPFLAGS
719 LDFLAGS
720 CFLAGS
722 target_alias
723 host_alias
724 build_alias
725 LIBS
726 ECHO_T
727 ECHO_N
728 ECHO_C
729 DEFS
730 mandir
731 localedir
732 libdir
733 psdir
734 pdfdir
735 dvidir
736 htmldir
737 infodir
738 docdir
739 oldincludedir
740 includedir
741 localstatedir
742 sharedstatedir
743 sysconfdir
744 datadir
745 datarootdir
746 libexecdir
747 sbindir
748 bindir
749 program_transform_name
750 prefix
751 exec_prefix
752 PACKAGE_URL
753 PACKAGE_BUGREPORT
754 PACKAGE_STRING
755 PACKAGE_VERSION
756 PACKAGE_TARNAME
757 PACKAGE_NAME
758 PATH_SEPARATOR
759 SHELL'
760 ac_subst_files=''
761 ac_user_opts='
762 enable_option_checking
763 with_config_dir
765 ac_precious_vars='build_alias
766 host_alias
767 target_alias
769 CFLAGS
770 LDFLAGS
771 LIBS
772 CPPFLAGS'
775 # Initialize some variables set by options.
776 ac_init_help=
777 ac_init_version=false
778 ac_unrecognized_opts=
779 ac_unrecognized_sep=
780 # The variables have the same names as the options, with
781 # dashes changed to underlines.
782 cache_file=/dev/null
783 exec_prefix=NONE
784 no_create=
785 no_recursion=
786 prefix=NONE
787 program_prefix=NONE
788 program_suffix=NONE
789 program_transform_name=s,x,x,
790 silent=
791 site=
792 srcdir=
793 verbose=
794 x_includes=NONE
795 x_libraries=NONE
797 # Installation directory options.
798 # These are left unexpanded so users can "make install exec_prefix=/foo"
799 # and all the variables that are supposed to be based on exec_prefix
800 # by default will actually change.
801 # Use braces instead of parens because sh, perl, etc. also accept them.
802 # (The list follows the same order as the GNU Coding Standards.)
803 bindir='${exec_prefix}/bin'
804 sbindir='${exec_prefix}/sbin'
805 libexecdir='${exec_prefix}/libexec'
806 datarootdir='${prefix}/share'
807 datadir='${datarootdir}'
808 sysconfdir='${prefix}/etc'
809 sharedstatedir='${prefix}/com'
810 localstatedir='${prefix}/var'
811 includedir='${prefix}/include'
812 oldincludedir='/usr/include'
813 docdir='${datarootdir}/doc/${PACKAGE}'
814 infodir='${datarootdir}/info'
815 htmldir='${docdir}'
816 dvidir='${docdir}'
817 pdfdir='${docdir}'
818 psdir='${docdir}'
819 libdir='${exec_prefix}/lib'
820 localedir='${datarootdir}/locale'
821 mandir='${datarootdir}/man'
823 ac_prev=
824 ac_dashdash=
825 for ac_option
827 # If the previous option needs an argument, assign it.
828 if test -n "$ac_prev"; then
829 eval $ac_prev=\$ac_option
830 ac_prev=
831 continue
834 case $ac_option in
835 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
836 *=) ac_optarg= ;;
837 *) ac_optarg=yes ;;
838 esac
840 # Accept the important Cygnus configure options, so we can diagnose typos.
842 case $ac_dashdash$ac_option in
844 ac_dashdash=yes ;;
846 -bindir | --bindir | --bindi | --bind | --bin | --bi)
847 ac_prev=bindir ;;
848 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
849 bindir=$ac_optarg ;;
851 -build | --build | --buil | --bui | --bu)
852 ac_prev=build_alias ;;
853 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
854 build_alias=$ac_optarg ;;
856 -cache-file | --cache-file | --cache-fil | --cache-fi \
857 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
858 ac_prev=cache_file ;;
859 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
860 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
861 cache_file=$ac_optarg ;;
863 --config-cache | -C)
864 cache_file=config.cache ;;
866 -datadir | --datadir | --datadi | --datad)
867 ac_prev=datadir ;;
868 -datadir=* | --datadir=* | --datadi=* | --datad=*)
869 datadir=$ac_optarg ;;
871 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
872 | --dataroo | --dataro | --datar)
873 ac_prev=datarootdir ;;
874 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
875 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
876 datarootdir=$ac_optarg ;;
878 -disable-* | --disable-*)
879 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
880 # Reject names that are not valid shell variable names.
881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
882 as_fn_error $? "invalid feature name: $ac_useropt"
883 ac_useropt_orig=$ac_useropt
884 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
885 case $ac_user_opts in
887 "enable_$ac_useropt"
888 "*) ;;
889 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
890 ac_unrecognized_sep=', ';;
891 esac
892 eval enable_$ac_useropt=no ;;
894 -docdir | --docdir | --docdi | --doc | --do)
895 ac_prev=docdir ;;
896 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
897 docdir=$ac_optarg ;;
899 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
900 ac_prev=dvidir ;;
901 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
902 dvidir=$ac_optarg ;;
904 -enable-* | --enable-*)
905 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
906 # Reject names that are not valid shell variable names.
907 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
908 as_fn_error $? "invalid feature name: $ac_useropt"
909 ac_useropt_orig=$ac_useropt
910 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
911 case $ac_user_opts in
913 "enable_$ac_useropt"
914 "*) ;;
915 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
916 ac_unrecognized_sep=', ';;
917 esac
918 eval enable_$ac_useropt=\$ac_optarg ;;
920 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
921 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
922 | --exec | --exe | --ex)
923 ac_prev=exec_prefix ;;
924 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
925 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
926 | --exec=* | --exe=* | --ex=*)
927 exec_prefix=$ac_optarg ;;
929 -gas | --gas | --ga | --g)
930 # Obsolete; use --with-gas.
931 with_gas=yes ;;
933 -help | --help | --hel | --he | -h)
934 ac_init_help=long ;;
935 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
936 ac_init_help=recursive ;;
937 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
938 ac_init_help=short ;;
940 -host | --host | --hos | --ho)
941 ac_prev=host_alias ;;
942 -host=* | --host=* | --hos=* | --ho=*)
943 host_alias=$ac_optarg ;;
945 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
946 ac_prev=htmldir ;;
947 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
948 | --ht=*)
949 htmldir=$ac_optarg ;;
951 -includedir | --includedir | --includedi | --included | --include \
952 | --includ | --inclu | --incl | --inc)
953 ac_prev=includedir ;;
954 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
955 | --includ=* | --inclu=* | --incl=* | --inc=*)
956 includedir=$ac_optarg ;;
958 -infodir | --infodir | --infodi | --infod | --info | --inf)
959 ac_prev=infodir ;;
960 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
961 infodir=$ac_optarg ;;
963 -libdir | --libdir | --libdi | --libd)
964 ac_prev=libdir ;;
965 -libdir=* | --libdir=* | --libdi=* | --libd=*)
966 libdir=$ac_optarg ;;
968 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
969 | --libexe | --libex | --libe)
970 ac_prev=libexecdir ;;
971 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
972 | --libexe=* | --libex=* | --libe=*)
973 libexecdir=$ac_optarg ;;
975 -localedir | --localedir | --localedi | --localed | --locale)
976 ac_prev=localedir ;;
977 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
978 localedir=$ac_optarg ;;
980 -localstatedir | --localstatedir | --localstatedi | --localstated \
981 | --localstate | --localstat | --localsta | --localst | --locals)
982 ac_prev=localstatedir ;;
983 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
984 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
985 localstatedir=$ac_optarg ;;
987 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
988 ac_prev=mandir ;;
989 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
990 mandir=$ac_optarg ;;
992 -nfp | --nfp | --nf)
993 # Obsolete; use --without-fp.
994 with_fp=no ;;
996 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
997 | --no-cr | --no-c | -n)
998 no_create=yes ;;
1000 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1001 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1002 no_recursion=yes ;;
1004 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1005 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1006 | --oldin | --oldi | --old | --ol | --o)
1007 ac_prev=oldincludedir ;;
1008 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1009 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1010 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1011 oldincludedir=$ac_optarg ;;
1013 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1014 ac_prev=prefix ;;
1015 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1016 prefix=$ac_optarg ;;
1018 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1019 | --program-pre | --program-pr | --program-p)
1020 ac_prev=program_prefix ;;
1021 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1022 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1023 program_prefix=$ac_optarg ;;
1025 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1026 | --program-suf | --program-su | --program-s)
1027 ac_prev=program_suffix ;;
1028 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1029 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1030 program_suffix=$ac_optarg ;;
1032 -program-transform-name | --program-transform-name \
1033 | --program-transform-nam | --program-transform-na \
1034 | --program-transform-n | --program-transform- \
1035 | --program-transform | --program-transfor \
1036 | --program-transfo | --program-transf \
1037 | --program-trans | --program-tran \
1038 | --progr-tra | --program-tr | --program-t)
1039 ac_prev=program_transform_name ;;
1040 -program-transform-name=* | --program-transform-name=* \
1041 | --program-transform-nam=* | --program-transform-na=* \
1042 | --program-transform-n=* | --program-transform-=* \
1043 | --program-transform=* | --program-transfor=* \
1044 | --program-transfo=* | --program-transf=* \
1045 | --program-trans=* | --program-tran=* \
1046 | --progr-tra=* | --program-tr=* | --program-t=*)
1047 program_transform_name=$ac_optarg ;;
1049 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1050 ac_prev=pdfdir ;;
1051 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1052 pdfdir=$ac_optarg ;;
1054 -psdir | --psdir | --psdi | --psd | --ps)
1055 ac_prev=psdir ;;
1056 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1057 psdir=$ac_optarg ;;
1059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060 | -silent | --silent | --silen | --sile | --sil)
1061 silent=yes ;;
1063 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1064 ac_prev=sbindir ;;
1065 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1066 | --sbi=* | --sb=*)
1067 sbindir=$ac_optarg ;;
1069 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1070 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1071 | --sharedst | --shareds | --shared | --share | --shar \
1072 | --sha | --sh)
1073 ac_prev=sharedstatedir ;;
1074 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1075 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1076 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1077 | --sha=* | --sh=*)
1078 sharedstatedir=$ac_optarg ;;
1080 -site | --site | --sit)
1081 ac_prev=site ;;
1082 -site=* | --site=* | --sit=*)
1083 site=$ac_optarg ;;
1085 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1086 ac_prev=srcdir ;;
1087 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1088 srcdir=$ac_optarg ;;
1090 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1091 | --syscon | --sysco | --sysc | --sys | --sy)
1092 ac_prev=sysconfdir ;;
1093 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1094 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1095 sysconfdir=$ac_optarg ;;
1097 -target | --target | --targe | --targ | --tar | --ta | --t)
1098 ac_prev=target_alias ;;
1099 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1100 target_alias=$ac_optarg ;;
1102 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1103 verbose=yes ;;
1105 -version | --version | --versio | --versi | --vers | -V)
1106 ac_init_version=: ;;
1108 -with-* | --with-*)
1109 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1112 as_fn_error $? "invalid package name: $ac_useropt"
1113 ac_useropt_orig=$ac_useropt
1114 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1115 case $ac_user_opts in
1117 "with_$ac_useropt"
1118 "*) ;;
1119 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1120 ac_unrecognized_sep=', ';;
1121 esac
1122 eval with_$ac_useropt=\$ac_optarg ;;
1124 -without-* | --without-*)
1125 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1126 # Reject names that are not valid shell variable names.
1127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1128 as_fn_error $? "invalid package name: $ac_useropt"
1129 ac_useropt_orig=$ac_useropt
1130 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131 case $ac_user_opts in
1133 "with_$ac_useropt"
1134 "*) ;;
1135 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1136 ac_unrecognized_sep=', ';;
1137 esac
1138 eval with_$ac_useropt=no ;;
1140 --x)
1141 # Obsolete; use --with-x.
1142 with_x=yes ;;
1144 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1145 | --x-incl | --x-inc | --x-in | --x-i)
1146 ac_prev=x_includes ;;
1147 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1148 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1149 x_includes=$ac_optarg ;;
1151 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1152 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1153 ac_prev=x_libraries ;;
1154 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1155 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1156 x_libraries=$ac_optarg ;;
1158 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1159 Try \`$0 --help' for more information"
1162 *=*)
1163 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1164 # Reject names that are not valid shell variable names.
1165 case $ac_envvar in #(
1166 '' | [0-9]* | *[!_$as_cr_alnum]* )
1167 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1168 esac
1169 eval $ac_envvar=\$ac_optarg
1170 export $ac_envvar ;;
1173 # FIXME: should be removed in autoconf 3.0.
1174 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1175 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1176 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1177 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1180 esac
1181 done
1183 if test -n "$ac_prev"; then
1184 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1185 as_fn_error $? "missing argument to $ac_option"
1188 if test -n "$ac_unrecognized_opts"; then
1189 case $enable_option_checking in
1190 no) ;;
1191 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1192 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1193 esac
1196 # Check all directory arguments for consistency.
1197 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1198 datadir sysconfdir sharedstatedir localstatedir includedir \
1199 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1200 libdir localedir mandir
1202 eval ac_val=\$$ac_var
1203 # Remove trailing slashes.
1204 case $ac_val in
1205 */ )
1206 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1207 eval $ac_var=\$ac_val;;
1208 esac
1209 # Be sure to have absolute directory names.
1210 case $ac_val in
1211 [\\/$]* | ?:[\\/]* ) continue;;
1212 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1213 esac
1214 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1215 done
1217 # There might be people who depend on the old broken behavior: `$host'
1218 # used to hold the argument of --host etc.
1219 # FIXME: To remove some day.
1220 build=$build_alias
1221 host=$host_alias
1222 target=$target_alias
1224 # FIXME: To remove some day.
1225 if test "x$host_alias" != x; then
1226 if test "x$build_alias" = x; then
1227 cross_compiling=maybe
1228 elif test "x$build_alias" != "x$host_alias"; then
1229 cross_compiling=yes
1233 ac_tool_prefix=
1234 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1236 test "$silent" = yes && exec 6>/dev/null
1239 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1240 ac_ls_di=`ls -di .` &&
1241 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1242 as_fn_error $? "working directory cannot be determined"
1243 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1244 as_fn_error $? "pwd does not report name of working directory"
1247 # Find the source files, if location was not specified.
1248 if test -z "$srcdir"; then
1249 ac_srcdir_defaulted=yes
1250 # Try the directory containing this script, then the parent directory.
1251 ac_confdir=`$as_dirname -- "$as_myself" ||
1252 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1253 X"$as_myself" : 'X\(//\)[^/]' \| \
1254 X"$as_myself" : 'X\(//\)$' \| \
1255 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1256 $as_echo X"$as_myself" |
1257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1258 s//\1/
1261 /^X\(\/\/\)[^/].*/{
1262 s//\1/
1265 /^X\(\/\/\)$/{
1266 s//\1/
1269 /^X\(\/\).*/{
1270 s//\1/
1273 s/.*/./; q'`
1274 srcdir=$ac_confdir
1275 if test ! -r "$srcdir/$ac_unique_file"; then
1276 srcdir=..
1278 else
1279 ac_srcdir_defaulted=no
1281 if test ! -r "$srcdir/$ac_unique_file"; then
1282 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1283 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1285 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1286 ac_abs_confdir=`(
1287 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1288 pwd)`
1289 # When building in place, set srcdir=.
1290 if test "$ac_abs_confdir" = "$ac_pwd"; then
1291 srcdir=.
1293 # Remove unnecessary trailing slashes from srcdir.
1294 # Double slashes in file names in object file debugging info
1295 # mess up M-x gdb in Emacs.
1296 case $srcdir in
1297 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1298 esac
1299 for ac_var in $ac_precious_vars; do
1300 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1301 eval ac_env_${ac_var}_value=\$${ac_var}
1302 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1303 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1304 done
1307 # Report the --help message.
1309 if test "$ac_init_help" = "long"; then
1310 # Omit some internal or obsolete options to make the list less imposing.
1311 # This message is too long to be a string in the A/UX 3.1 sh.
1312 cat <<_ACEOF
1313 \`configure' configures this package to adapt to many kinds of systems.
1315 Usage: $0 [OPTION]... [VAR=VALUE]...
1317 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1318 VAR=VALUE. See below for descriptions of some of the useful variables.
1320 Defaults for the options are specified in brackets.
1322 Configuration:
1323 -h, --help display this help and exit
1324 --help=short display options specific to this package
1325 --help=recursive display the short help of all the included packages
1326 -V, --version display version information and exit
1327 -q, --quiet, --silent do not print \`checking ...' messages
1328 --cache-file=FILE cache test results in FILE [disabled]
1329 -C, --config-cache alias for \`--cache-file=config.cache'
1330 -n, --no-create do not create output files
1331 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1333 Installation directories:
1334 --prefix=PREFIX install architecture-independent files in PREFIX
1335 [$ac_default_prefix]
1336 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1337 [PREFIX]
1339 By default, \`make install' will install all the files in
1340 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1341 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1342 for instance \`--prefix=\$HOME'.
1344 For better control, use the options below.
1346 Fine tuning of the installation directories:
1347 --bindir=DIR user executables [EPREFIX/bin]
1348 --sbindir=DIR system admin executables [EPREFIX/sbin]
1349 --libexecdir=DIR program executables [EPREFIX/libexec]
1350 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1351 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1352 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1353 --libdir=DIR object code libraries [EPREFIX/lib]
1354 --includedir=DIR C header files [PREFIX/include]
1355 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1356 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1357 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1358 --infodir=DIR info documentation [DATAROOTDIR/info]
1359 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1360 --mandir=DIR man documentation [DATAROOTDIR/man]
1361 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1362 --htmldir=DIR html documentation [DOCDIR]
1363 --dvidir=DIR dvi documentation [DOCDIR]
1364 --pdfdir=DIR pdf documentation [DOCDIR]
1365 --psdir=DIR ps documentation [DOCDIR]
1366 _ACEOF
1368 cat <<\_ACEOF
1369 _ACEOF
1372 if test -n "$ac_init_help"; then
1374 cat <<\_ACEOF
1376 Optional Packages:
1377 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1378 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1379 --with-config-dir=VERSION
1380 Location of generated target config files
1382 Some influential environment variables:
1383 CC C compiler command
1384 CFLAGS C compiler flags
1385 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1386 nonstandard directory <lib dir>
1387 LIBS libraries to pass to the linker, e.g. -l<library>
1388 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1389 you have headers in a nonstandard directory <include dir>
1391 Use these variables to override the choices made by `configure' or to help
1392 it to find libraries and programs with nonstandard names/locations.
1394 Report bugs to the package provider.
1395 _ACEOF
1396 ac_status=$?
1399 if test "$ac_init_help" = "recursive"; then
1400 # If there are subdirs, report their specific --help.
1401 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1402 test -d "$ac_dir" ||
1403 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1404 continue
1405 ac_builddir=.
1407 case "$ac_dir" in
1408 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1410 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1411 # A ".." for each directory in $ac_dir_suffix.
1412 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1413 case $ac_top_builddir_sub in
1414 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1415 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1416 esac ;;
1417 esac
1418 ac_abs_top_builddir=$ac_pwd
1419 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1420 # for backward compatibility:
1421 ac_top_builddir=$ac_top_build_prefix
1423 case $srcdir in
1424 .) # We are building in place.
1425 ac_srcdir=.
1426 ac_top_srcdir=$ac_top_builddir_sub
1427 ac_abs_top_srcdir=$ac_pwd ;;
1428 [\\/]* | ?:[\\/]* ) # Absolute name.
1429 ac_srcdir=$srcdir$ac_dir_suffix;
1430 ac_top_srcdir=$srcdir
1431 ac_abs_top_srcdir=$srcdir ;;
1432 *) # Relative name.
1433 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1434 ac_top_srcdir=$ac_top_build_prefix$srcdir
1435 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1436 esac
1437 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1439 cd "$ac_dir" || { ac_status=$?; continue; }
1440 # Check for guested configure.
1441 if test -f "$ac_srcdir/configure.gnu"; then
1442 echo &&
1443 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1444 elif test -f "$ac_srcdir/configure"; then
1445 echo &&
1446 $SHELL "$ac_srcdir/configure" --help=recursive
1447 else
1448 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1449 fi || ac_status=$?
1450 cd "$ac_pwd" || { ac_status=$?; break; }
1451 done
1454 test -n "$ac_init_help" && exit $ac_status
1455 if $ac_init_version; then
1456 cat <<\_ACEOF
1457 configure
1458 generated by GNU Autoconf 2.69
1460 Copyright (C) 2012 Free Software Foundation, Inc.
1461 This configure script is free software; the Free Software Foundation
1462 gives unlimited permission to copy, distribute and modify it.
1463 _ACEOF
1464 exit
1467 ## ------------------------ ##
1468 ## Autoconf initialization. ##
1469 ## ------------------------ ##
1471 # ac_fn_c_try_compile LINENO
1472 # --------------------------
1473 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1474 ac_fn_c_try_compile ()
1476 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1477 rm -f conftest.$ac_objext
1478 if { { ac_try="$ac_compile"
1479 case "(($ac_try" in
1480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1481 *) ac_try_echo=$ac_try;;
1482 esac
1483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1484 $as_echo "$ac_try_echo"; } >&5
1485 (eval "$ac_compile") 2>conftest.err
1486 ac_status=$?
1487 if test -s conftest.err; then
1488 grep -v '^ *+' conftest.err >conftest.er1
1489 cat conftest.er1 >&5
1490 mv -f conftest.er1 conftest.err
1492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1493 test $ac_status = 0; } && {
1494 test -z "$ac_c_werror_flag" ||
1495 test ! -s conftest.err
1496 } && test -s conftest.$ac_objext; then :
1497 ac_retval=0
1498 else
1499 $as_echo "$as_me: failed program was:" >&5
1500 sed 's/^/| /' conftest.$ac_ext >&5
1502 ac_retval=1
1504 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1505 as_fn_set_status $ac_retval
1507 } # ac_fn_c_try_compile
1508 cat >config.log <<_ACEOF
1509 This file contains any messages produced by compilers while
1510 running configure, to aid debugging if configure makes a mistake.
1512 It was created by $as_me, which was
1513 generated by GNU Autoconf 2.69. Invocation command line was
1515 $ $0 $@
1517 _ACEOF
1518 exec 5>>config.log
1520 cat <<_ASUNAME
1521 ## --------- ##
1522 ## Platform. ##
1523 ## --------- ##
1525 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1526 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1527 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1528 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1529 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1531 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1532 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1534 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1535 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1536 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1537 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1538 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1539 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1540 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1542 _ASUNAME
1544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1545 for as_dir in $PATH
1547 IFS=$as_save_IFS
1548 test -z "$as_dir" && as_dir=.
1549 $as_echo "PATH: $as_dir"
1550 done
1551 IFS=$as_save_IFS
1553 } >&5
1555 cat >&5 <<_ACEOF
1558 ## ----------- ##
1559 ## Core tests. ##
1560 ## ----------- ##
1562 _ACEOF
1565 # Keep a trace of the command line.
1566 # Strip out --no-create and --no-recursion so they do not pile up.
1567 # Strip out --silent because we don't want to record it for future runs.
1568 # Also quote any args containing shell meta-characters.
1569 # Make two passes to allow for proper duplicate-argument suppression.
1570 ac_configure_args=
1571 ac_configure_args0=
1572 ac_configure_args1=
1573 ac_must_keep_next=false
1574 for ac_pass in 1 2
1576 for ac_arg
1578 case $ac_arg in
1579 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1580 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1581 | -silent | --silent | --silen | --sile | --sil)
1582 continue ;;
1583 *\'*)
1584 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1585 esac
1586 case $ac_pass in
1587 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1589 as_fn_append ac_configure_args1 " '$ac_arg'"
1590 if test $ac_must_keep_next = true; then
1591 ac_must_keep_next=false # Got value, back to normal.
1592 else
1593 case $ac_arg in
1594 *=* | --config-cache | -C | -disable-* | --disable-* \
1595 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1596 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1597 | -with-* | --with-* | -without-* | --without-* | --x)
1598 case "$ac_configure_args0 " in
1599 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1600 esac
1602 -* ) ac_must_keep_next=true ;;
1603 esac
1605 as_fn_append ac_configure_args " '$ac_arg'"
1607 esac
1608 done
1609 done
1610 { ac_configure_args0=; unset ac_configure_args0;}
1611 { ac_configure_args1=; unset ac_configure_args1;}
1613 # When interrupted or exit'd, cleanup temporary files, and complete
1614 # config.log. We remove comments because anyway the quotes in there
1615 # would cause problems or look ugly.
1616 # WARNING: Use '\'' to represent an apostrophe within the trap.
1617 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1618 trap 'exit_status=$?
1619 # Save into config.log some information that might help in debugging.
1621 echo
1623 $as_echo "## ---------------- ##
1624 ## Cache variables. ##
1625 ## ---------------- ##"
1626 echo
1627 # The following way of writing the cache mishandles newlines in values,
1629 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1630 eval ac_val=\$$ac_var
1631 case $ac_val in #(
1632 *${as_nl}*)
1633 case $ac_var in #(
1634 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1635 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1636 esac
1637 case $ac_var in #(
1638 _ | IFS | as_nl) ;; #(
1639 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1640 *) { eval $ac_var=; unset $ac_var;} ;;
1641 esac ;;
1642 esac
1643 done
1644 (set) 2>&1 |
1645 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1646 *${as_nl}ac_space=\ *)
1647 sed -n \
1648 "s/'\''/'\''\\\\'\'''\''/g;
1649 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1650 ;; #(
1652 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1654 esac |
1655 sort
1657 echo
1659 $as_echo "## ----------------- ##
1660 ## Output variables. ##
1661 ## ----------------- ##"
1662 echo
1663 for ac_var in $ac_subst_vars
1665 eval ac_val=\$$ac_var
1666 case $ac_val in
1667 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1668 esac
1669 $as_echo "$ac_var='\''$ac_val'\''"
1670 done | sort
1671 echo
1673 if test -n "$ac_subst_files"; then
1674 $as_echo "## ------------------- ##
1675 ## File substitutions. ##
1676 ## ------------------- ##"
1677 echo
1678 for ac_var in $ac_subst_files
1680 eval ac_val=\$$ac_var
1681 case $ac_val in
1682 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1683 esac
1684 $as_echo "$ac_var='\''$ac_val'\''"
1685 done | sort
1686 echo
1689 if test -s confdefs.h; then
1690 $as_echo "## ----------- ##
1691 ## confdefs.h. ##
1692 ## ----------- ##"
1693 echo
1694 cat confdefs.h
1695 echo
1697 test "$ac_signal" != 0 &&
1698 $as_echo "$as_me: caught signal $ac_signal"
1699 $as_echo "$as_me: exit $exit_status"
1700 } >&5
1701 rm -f core *.core core.conftest.* &&
1702 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1703 exit $exit_status
1705 for ac_signal in 1 2 13 15; do
1706 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1707 done
1708 ac_signal=0
1710 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1711 rm -f -r conftest* confdefs.h
1713 $as_echo "/* confdefs.h */" > confdefs.h
1715 # Predefined preprocessor variables.
1717 cat >>confdefs.h <<_ACEOF
1718 #define PACKAGE_NAME "$PACKAGE_NAME"
1719 _ACEOF
1721 cat >>confdefs.h <<_ACEOF
1722 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1723 _ACEOF
1725 cat >>confdefs.h <<_ACEOF
1726 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1727 _ACEOF
1729 cat >>confdefs.h <<_ACEOF
1730 #define PACKAGE_STRING "$PACKAGE_STRING"
1731 _ACEOF
1733 cat >>confdefs.h <<_ACEOF
1734 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1735 _ACEOF
1737 cat >>confdefs.h <<_ACEOF
1738 #define PACKAGE_URL "$PACKAGE_URL"
1739 _ACEOF
1742 # Let the site file select an alternate cache file if it wants to.
1743 # Prefer an explicitly selected file to automatically selected ones.
1744 ac_site_file1=NONE
1745 ac_site_file2=NONE
1746 if test -n "$CONFIG_SITE"; then
1747 # We do not want a PATH search for config.site.
1748 case $CONFIG_SITE in #((
1749 -*) ac_site_file1=./$CONFIG_SITE;;
1750 */*) ac_site_file1=$CONFIG_SITE;;
1751 *) ac_site_file1=./$CONFIG_SITE;;
1752 esac
1753 elif test "x$prefix" != xNONE; then
1754 ac_site_file1=$prefix/share/config.site
1755 ac_site_file2=$prefix/etc/config.site
1756 else
1757 ac_site_file1=$ac_default_prefix/share/config.site
1758 ac_site_file2=$ac_default_prefix/etc/config.site
1760 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1762 test "x$ac_site_file" = xNONE && continue
1763 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1765 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1766 sed 's/^/| /' "$ac_site_file" >&5
1767 . "$ac_site_file" \
1768 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1770 as_fn_error $? "failed to load site script $ac_site_file
1771 See \`config.log' for more details" "$LINENO" 5; }
1773 done
1775 if test -r "$cache_file"; then
1776 # Some versions of bash will fail to source /dev/null (special files
1777 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1778 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1780 $as_echo "$as_me: loading cache $cache_file" >&6;}
1781 case $cache_file in
1782 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1783 *) . "./$cache_file";;
1784 esac
1786 else
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1788 $as_echo "$as_me: creating cache $cache_file" >&6;}
1789 >$cache_file
1792 # Check that the precious variables saved in the cache have kept the same
1793 # value.
1794 ac_cache_corrupted=false
1795 for ac_var in $ac_precious_vars; do
1796 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1797 eval ac_new_set=\$ac_env_${ac_var}_set
1798 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1799 eval ac_new_val=\$ac_env_${ac_var}_value
1800 case $ac_old_set,$ac_new_set in
1801 set,)
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1803 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1804 ac_cache_corrupted=: ;;
1805 ,set)
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1807 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1808 ac_cache_corrupted=: ;;
1809 ,);;
1811 if test "x$ac_old_val" != "x$ac_new_val"; then
1812 # differences in whitespace do not lead to failure.
1813 ac_old_val_w=`echo x $ac_old_val`
1814 ac_new_val_w=`echo x $ac_new_val`
1815 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1817 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1818 ac_cache_corrupted=:
1819 else
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1821 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1822 eval $ac_var=\$ac_old_val
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1825 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1827 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1828 fi;;
1829 esac
1830 # Pass precious variables to config.status.
1831 if test "$ac_new_set" = set; then
1832 case $ac_new_val in
1833 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1834 *) ac_arg=$ac_var=$ac_new_val ;;
1835 esac
1836 case " $ac_configure_args " in
1837 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1838 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1839 esac
1841 done
1842 if $ac_cache_corrupted; then
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1846 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1847 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1849 ## -------------------- ##
1850 ## Main body of script. ##
1851 ## -------------------- ##
1853 ac_ext=c
1854 ac_cpp='$CPP $CPPFLAGS'
1855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1861 ac_aux_dir=
1862 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1863 if test -f "$ac_dir/install-sh"; then
1864 ac_aux_dir=$ac_dir
1865 ac_install_sh="$ac_aux_dir/install-sh -c"
1866 break
1867 elif test -f "$ac_dir/install.sh"; then
1868 ac_aux_dir=$ac_dir
1869 ac_install_sh="$ac_aux_dir/install.sh -c"
1870 break
1871 elif test -f "$ac_dir/shtool"; then
1872 ac_aux_dir=$ac_dir
1873 ac_install_sh="$ac_aux_dir/shtool install -c"
1874 break
1876 done
1877 if test -z "$ac_aux_dir"; then
1878 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1881 # These three variables are undocumented and unsupported,
1882 # and are intended to be withdrawn in a future Autoconf release.
1883 # They can cause serious problems if a builder's source tree is in a directory
1884 # whose full name contains unusual characters.
1885 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1886 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1887 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1891 AROS_BUILDDIR=`${PWDCMD-pwd}`
1892 AROS_BUILDDIR_UNIX=${PWD}
1894 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1895 SRCDIR=${srcpwd}
1897 NOLINKFLAGS="-nostdlib -nostartfiles"
1898 LDFLAGS=$NOLINKFLAGS
1899 # The first step is to find the binaries.
1900 ac_ext=c
1901 ac_cpp='$CPP $CPPFLAGS'
1902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1905 if test -n "$ac_tool_prefix"; then
1906 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1907 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1909 $as_echo_n "checking for $ac_word... " >&6; }
1910 if ${ac_cv_prog_CC+:} false; then :
1911 $as_echo_n "(cached) " >&6
1912 else
1913 if test -n "$CC"; then
1914 ac_cv_prog_CC="$CC" # Let the user override the test.
1915 else
1916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1917 for as_dir in $PATH
1919 IFS=$as_save_IFS
1920 test -z "$as_dir" && as_dir=.
1921 for ac_exec_ext in '' $ac_executable_extensions; do
1922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1923 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1925 break 2
1927 done
1928 done
1929 IFS=$as_save_IFS
1933 CC=$ac_cv_prog_CC
1934 if test -n "$CC"; then
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1936 $as_echo "$CC" >&6; }
1937 else
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1939 $as_echo "no" >&6; }
1944 if test -z "$ac_cv_prog_CC"; then
1945 ac_ct_CC=$CC
1946 # Extract the first word of "gcc", so it can be a program name with args.
1947 set dummy gcc; ac_word=$2
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1949 $as_echo_n "checking for $ac_word... " >&6; }
1950 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1951 $as_echo_n "(cached) " >&6
1952 else
1953 if test -n "$ac_ct_CC"; then
1954 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1955 else
1956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1957 for as_dir in $PATH
1959 IFS=$as_save_IFS
1960 test -z "$as_dir" && as_dir=.
1961 for ac_exec_ext in '' $ac_executable_extensions; do
1962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1963 ac_cv_prog_ac_ct_CC="gcc"
1964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1965 break 2
1967 done
1968 done
1969 IFS=$as_save_IFS
1973 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1974 if test -n "$ac_ct_CC"; then
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1976 $as_echo "$ac_ct_CC" >&6; }
1977 else
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1979 $as_echo "no" >&6; }
1982 if test "x$ac_ct_CC" = x; then
1983 CC=""
1984 else
1985 case $cross_compiling:$ac_tool_warned in
1986 yes:)
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1989 ac_tool_warned=yes ;;
1990 esac
1991 CC=$ac_ct_CC
1993 else
1994 CC="$ac_cv_prog_CC"
1997 if test -z "$CC"; then
1998 if test -n "$ac_tool_prefix"; then
1999 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2000 set dummy ${ac_tool_prefix}cc; ac_word=$2
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2002 $as_echo_n "checking for $ac_word... " >&6; }
2003 if ${ac_cv_prog_CC+:} false; then :
2004 $as_echo_n "(cached) " >&6
2005 else
2006 if test -n "$CC"; then
2007 ac_cv_prog_CC="$CC" # Let the user override the test.
2008 else
2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 for as_dir in $PATH
2012 IFS=$as_save_IFS
2013 test -z "$as_dir" && as_dir=.
2014 for ac_exec_ext in '' $ac_executable_extensions; do
2015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2016 ac_cv_prog_CC="${ac_tool_prefix}cc"
2017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2018 break 2
2020 done
2021 done
2022 IFS=$as_save_IFS
2026 CC=$ac_cv_prog_CC
2027 if test -n "$CC"; then
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2029 $as_echo "$CC" >&6; }
2030 else
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2032 $as_echo "no" >&6; }
2038 if test -z "$CC"; then
2039 # Extract the first word of "cc", so it can be a program name with args.
2040 set dummy cc; ac_word=$2
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2042 $as_echo_n "checking for $ac_word... " >&6; }
2043 if ${ac_cv_prog_CC+:} false; then :
2044 $as_echo_n "(cached) " >&6
2045 else
2046 if test -n "$CC"; then
2047 ac_cv_prog_CC="$CC" # Let the user override the test.
2048 else
2049 ac_prog_rejected=no
2050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2051 for as_dir in $PATH
2053 IFS=$as_save_IFS
2054 test -z "$as_dir" && as_dir=.
2055 for ac_exec_ext in '' $ac_executable_extensions; do
2056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2057 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2058 ac_prog_rejected=yes
2059 continue
2061 ac_cv_prog_CC="cc"
2062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2063 break 2
2065 done
2066 done
2067 IFS=$as_save_IFS
2069 if test $ac_prog_rejected = yes; then
2070 # We found a bogon in the path, so make sure we never use it.
2071 set dummy $ac_cv_prog_CC
2072 shift
2073 if test $# != 0; then
2074 # We chose a different compiler from the bogus one.
2075 # However, it has the same basename, so the bogon will be chosen
2076 # first if we set CC to just the basename; use the full file name.
2077 shift
2078 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2083 CC=$ac_cv_prog_CC
2084 if test -n "$CC"; then
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2086 $as_echo "$CC" >&6; }
2087 else
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2089 $as_echo "no" >&6; }
2094 if test -z "$CC"; then
2095 if test -n "$ac_tool_prefix"; then
2096 for ac_prog in cl.exe
2098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2101 $as_echo_n "checking for $ac_word... " >&6; }
2102 if ${ac_cv_prog_CC+:} false; then :
2103 $as_echo_n "(cached) " >&6
2104 else
2105 if test -n "$CC"; then
2106 ac_cv_prog_CC="$CC" # Let the user override the test.
2107 else
2108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2109 for as_dir in $PATH
2111 IFS=$as_save_IFS
2112 test -z "$as_dir" && as_dir=.
2113 for ac_exec_ext in '' $ac_executable_extensions; do
2114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2115 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2117 break 2
2119 done
2120 done
2121 IFS=$as_save_IFS
2125 CC=$ac_cv_prog_CC
2126 if test -n "$CC"; then
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2128 $as_echo "$CC" >&6; }
2129 else
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2131 $as_echo "no" >&6; }
2135 test -n "$CC" && break
2136 done
2138 if test -z "$CC"; then
2139 ac_ct_CC=$CC
2140 for ac_prog in cl.exe
2142 # Extract the first word of "$ac_prog", so it can be a program name with args.
2143 set dummy $ac_prog; ac_word=$2
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2145 $as_echo_n "checking for $ac_word... " >&6; }
2146 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2147 $as_echo_n "(cached) " >&6
2148 else
2149 if test -n "$ac_ct_CC"; then
2150 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2151 else
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 for as_dir in $PATH
2155 IFS=$as_save_IFS
2156 test -z "$as_dir" && as_dir=.
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2159 ac_cv_prog_ac_ct_CC="$ac_prog"
2160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 break 2
2163 done
2164 done
2165 IFS=$as_save_IFS
2169 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2170 if test -n "$ac_ct_CC"; then
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2172 $as_echo "$ac_ct_CC" >&6; }
2173 else
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2175 $as_echo "no" >&6; }
2179 test -n "$ac_ct_CC" && break
2180 done
2182 if test "x$ac_ct_CC" = x; then
2183 CC=""
2184 else
2185 case $cross_compiling:$ac_tool_warned in
2186 yes:)
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2189 ac_tool_warned=yes ;;
2190 esac
2191 CC=$ac_ct_CC
2198 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2200 as_fn_error $? "no acceptable C compiler found in \$PATH
2201 See \`config.log' for more details" "$LINENO" 5; }
2203 # Provide some information about the compiler.
2204 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2205 set X $ac_compile
2206 ac_compiler=$2
2207 for ac_option in --version -v -V -qversion; do
2208 { { ac_try="$ac_compiler $ac_option >&5"
2209 case "(($ac_try" in
2210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2211 *) ac_try_echo=$ac_try;;
2212 esac
2213 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2214 $as_echo "$ac_try_echo"; } >&5
2215 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2216 ac_status=$?
2217 if test -s conftest.err; then
2218 sed '10a\
2219 ... rest of stderr output deleted ...
2220 10q' conftest.err >conftest.er1
2221 cat conftest.er1 >&5
2223 rm -f conftest.er1 conftest.err
2224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2225 test $ac_status = 0; }
2226 done
2228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2229 /* end confdefs.h. */
2232 main ()
2236 return 0;
2238 _ACEOF
2239 ac_clean_files_save=$ac_clean_files
2240 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2241 # Try to create an executable without -o first, disregard a.out.
2242 # It will help us diagnose broken compilers, and finding out an intuition
2243 # of exeext.
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2245 $as_echo_n "checking whether the C compiler works... " >&6; }
2246 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2248 # The possible output files:
2249 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2251 ac_rmfiles=
2252 for ac_file in $ac_files
2254 case $ac_file in
2255 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2256 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2257 esac
2258 done
2259 rm -f $ac_rmfiles
2261 if { { ac_try="$ac_link_default"
2262 case "(($ac_try" in
2263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2264 *) ac_try_echo=$ac_try;;
2265 esac
2266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2267 $as_echo "$ac_try_echo"; } >&5
2268 (eval "$ac_link_default") 2>&5
2269 ac_status=$?
2270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2271 test $ac_status = 0; }; then :
2272 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2273 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2274 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2275 # so that the user can short-circuit this test for compilers unknown to
2276 # Autoconf.
2277 for ac_file in $ac_files ''
2279 test -f "$ac_file" || continue
2280 case $ac_file in
2281 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2283 [ab].out )
2284 # We found the default executable, but exeext='' is most
2285 # certainly right.
2286 break;;
2287 *.* )
2288 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2289 then :; else
2290 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2292 # We set ac_cv_exeext here because the later test for it is not
2293 # safe: cross compilers may not add the suffix if given an `-o'
2294 # argument, so we may need to know it at that point already.
2295 # Even if this section looks crufty: it has the advantage of
2296 # actually working.
2297 break;;
2299 break;;
2300 esac
2301 done
2302 test "$ac_cv_exeext" = no && ac_cv_exeext=
2304 else
2305 ac_file=''
2307 if test -z "$ac_file"; then :
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2309 $as_echo "no" >&6; }
2310 $as_echo "$as_me: failed program was:" >&5
2311 sed 's/^/| /' conftest.$ac_ext >&5
2313 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2315 as_fn_error 77 "C compiler cannot create executables
2316 See \`config.log' for more details" "$LINENO" 5; }
2317 else
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2319 $as_echo "yes" >&6; }
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2322 $as_echo_n "checking for C compiler default output file name... " >&6; }
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2324 $as_echo "$ac_file" >&6; }
2325 ac_exeext=$ac_cv_exeext
2327 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2328 ac_clean_files=$ac_clean_files_save
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2330 $as_echo_n "checking for suffix of executables... " >&6; }
2331 if { { ac_try="$ac_link"
2332 case "(($ac_try" in
2333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2334 *) ac_try_echo=$ac_try;;
2335 esac
2336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2337 $as_echo "$ac_try_echo"; } >&5
2338 (eval "$ac_link") 2>&5
2339 ac_status=$?
2340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2341 test $ac_status = 0; }; then :
2342 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2343 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2344 # work properly (i.e., refer to `conftest.exe'), while it won't with
2345 # `rm'.
2346 for ac_file in conftest.exe conftest conftest.*; do
2347 test -f "$ac_file" || continue
2348 case $ac_file in
2349 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2350 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2351 break;;
2352 * ) break;;
2353 esac
2354 done
2355 else
2356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2358 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2359 See \`config.log' for more details" "$LINENO" 5; }
2361 rm -f conftest conftest$ac_cv_exeext
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2363 $as_echo "$ac_cv_exeext" >&6; }
2365 rm -f conftest.$ac_ext
2366 EXEEXT=$ac_cv_exeext
2367 ac_exeext=$EXEEXT
2368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2369 /* end confdefs.h. */
2370 #include <stdio.h>
2372 main ()
2374 FILE *f = fopen ("conftest.out", "w");
2375 return ferror (f) || fclose (f) != 0;
2378 return 0;
2380 _ACEOF
2381 ac_clean_files="$ac_clean_files conftest.out"
2382 # Check that the compiler produces executables we can run. If not, either
2383 # the compiler is broken, or we cross compile.
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2385 $as_echo_n "checking whether we are cross compiling... " >&6; }
2386 if test "$cross_compiling" != yes; then
2387 { { ac_try="$ac_link"
2388 case "(($ac_try" in
2389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2390 *) ac_try_echo=$ac_try;;
2391 esac
2392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2393 $as_echo "$ac_try_echo"; } >&5
2394 (eval "$ac_link") 2>&5
2395 ac_status=$?
2396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2397 test $ac_status = 0; }
2398 if { ac_try='./conftest$ac_cv_exeext'
2399 { { case "(($ac_try" in
2400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2401 *) ac_try_echo=$ac_try;;
2402 esac
2403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2404 $as_echo "$ac_try_echo"; } >&5
2405 (eval "$ac_try") 2>&5
2406 ac_status=$?
2407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2408 test $ac_status = 0; }; }; then
2409 cross_compiling=no
2410 else
2411 if test "$cross_compiling" = maybe; then
2412 cross_compiling=yes
2413 else
2414 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2416 as_fn_error $? "cannot run C compiled programs.
2417 If you meant to cross compile, use \`--host'.
2418 See \`config.log' for more details" "$LINENO" 5; }
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2423 $as_echo "$cross_compiling" >&6; }
2425 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2426 ac_clean_files=$ac_clean_files_save
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2428 $as_echo_n "checking for suffix of object files... " >&6; }
2429 if ${ac_cv_objext+:} false; then :
2430 $as_echo_n "(cached) " >&6
2431 else
2432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2433 /* end confdefs.h. */
2436 main ()
2440 return 0;
2442 _ACEOF
2443 rm -f conftest.o conftest.obj
2444 if { { ac_try="$ac_compile"
2445 case "(($ac_try" in
2446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2447 *) ac_try_echo=$ac_try;;
2448 esac
2449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2450 $as_echo "$ac_try_echo"; } >&5
2451 (eval "$ac_compile") 2>&5
2452 ac_status=$?
2453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2454 test $ac_status = 0; }; then :
2455 for ac_file in conftest.o conftest.obj conftest.*; do
2456 test -f "$ac_file" || continue;
2457 case $ac_file in
2458 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2459 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2460 break;;
2461 esac
2462 done
2463 else
2464 $as_echo "$as_me: failed program was:" >&5
2465 sed 's/^/| /' conftest.$ac_ext >&5
2467 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2469 as_fn_error $? "cannot compute suffix of object files: cannot compile
2470 See \`config.log' for more details" "$LINENO" 5; }
2472 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2475 $as_echo "$ac_cv_objext" >&6; }
2476 OBJEXT=$ac_cv_objext
2477 ac_objext=$OBJEXT
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2479 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2480 if ${ac_cv_c_compiler_gnu+:} false; then :
2481 $as_echo_n "(cached) " >&6
2482 else
2483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2484 /* end confdefs.h. */
2487 main ()
2489 #ifndef __GNUC__
2490 choke me
2491 #endif
2494 return 0;
2496 _ACEOF
2497 if ac_fn_c_try_compile "$LINENO"; then :
2498 ac_compiler_gnu=yes
2499 else
2500 ac_compiler_gnu=no
2502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2503 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2507 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2508 if test $ac_compiler_gnu = yes; then
2509 GCC=yes
2510 else
2511 GCC=
2513 ac_test_CFLAGS=${CFLAGS+set}
2514 ac_save_CFLAGS=$CFLAGS
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2516 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2517 if ${ac_cv_prog_cc_g+:} false; then :
2518 $as_echo_n "(cached) " >&6
2519 else
2520 ac_save_c_werror_flag=$ac_c_werror_flag
2521 ac_c_werror_flag=yes
2522 ac_cv_prog_cc_g=no
2523 CFLAGS="-g"
2524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2525 /* end confdefs.h. */
2528 main ()
2532 return 0;
2534 _ACEOF
2535 if ac_fn_c_try_compile "$LINENO"; then :
2536 ac_cv_prog_cc_g=yes
2537 else
2538 CFLAGS=""
2539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2540 /* end confdefs.h. */
2543 main ()
2547 return 0;
2549 _ACEOF
2550 if ac_fn_c_try_compile "$LINENO"; then :
2552 else
2553 ac_c_werror_flag=$ac_save_c_werror_flag
2554 CFLAGS="-g"
2555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2556 /* end confdefs.h. */
2559 main ()
2563 return 0;
2565 _ACEOF
2566 if ac_fn_c_try_compile "$LINENO"; then :
2567 ac_cv_prog_cc_g=yes
2569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2574 ac_c_werror_flag=$ac_save_c_werror_flag
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2577 $as_echo "$ac_cv_prog_cc_g" >&6; }
2578 if test "$ac_test_CFLAGS" = set; then
2579 CFLAGS=$ac_save_CFLAGS
2580 elif test $ac_cv_prog_cc_g = yes; then
2581 if test "$GCC" = yes; then
2582 CFLAGS="-g -O2"
2583 else
2584 CFLAGS="-g"
2586 else
2587 if test "$GCC" = yes; then
2588 CFLAGS="-O2"
2589 else
2590 CFLAGS=
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2594 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2595 if ${ac_cv_prog_cc_c89+:} false; then :
2596 $as_echo_n "(cached) " >&6
2597 else
2598 ac_cv_prog_cc_c89=no
2599 ac_save_CC=$CC
2600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2601 /* end confdefs.h. */
2602 #include <stdarg.h>
2603 #include <stdio.h>
2604 struct stat;
2605 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2606 struct buf { int x; };
2607 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2608 static char *e (p, i)
2609 char **p;
2610 int i;
2612 return p[i];
2614 static char *f (char * (*g) (char **, int), char **p, ...)
2616 char *s;
2617 va_list v;
2618 va_start (v,p);
2619 s = g (p, va_arg (v,int));
2620 va_end (v);
2621 return s;
2624 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2625 function prototypes and stuff, but not '\xHH' hex character constants.
2626 These don't provoke an error unfortunately, instead are silently treated
2627 as 'x'. The following induces an error, until -std is added to get
2628 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2629 array size at least. It's necessary to write '\x00'==0 to get something
2630 that's true only with -std. */
2631 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2633 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2634 inside strings and character constants. */
2635 #define FOO(x) 'x'
2636 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2638 int test (int i, double x);
2639 struct s1 {int (*f) (int a);};
2640 struct s2 {int (*f) (double a);};
2641 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2642 int argc;
2643 char **argv;
2645 main ()
2647 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2649 return 0;
2651 _ACEOF
2652 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2653 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2655 CC="$ac_save_CC $ac_arg"
2656 if ac_fn_c_try_compile "$LINENO"; then :
2657 ac_cv_prog_cc_c89=$ac_arg
2659 rm -f core conftest.err conftest.$ac_objext
2660 test "x$ac_cv_prog_cc_c89" != "xno" && break
2661 done
2662 rm -f conftest.$ac_ext
2663 CC=$ac_save_CC
2666 # AC_CACHE_VAL
2667 case "x$ac_cv_prog_cc_c89" in
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2670 $as_echo "none needed" >&6; } ;;
2671 xno)
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2673 $as_echo "unsupported" >&6; } ;;
2675 CC="$CC $ac_cv_prog_cc_c89"
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2677 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2678 esac
2679 if test "x$ac_cv_prog_cc_c89" != xno; then :
2683 ac_ext=c
2684 ac_cpp='$CPP $CPPFLAGS'
2685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2691 $as_echo_n "checking target config location... " >&6; }
2693 # Check whether --with-config-dir was given.
2694 if test "${with_config_dir+set}" = set; then :
2695 withval=$with_config_dir; targetcfg_dir="$withval"
2696 else
2697 targetcfg_dir=""
2700 if test "$targetcfg_dir" = ""; then
2701 as_fn_error $? "missing config directory!" "$LINENO" 5
2702 else
2703 aros_targetcfg_dir="$targetcfg_dir"
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2706 $as_echo "$aros_targetcfg_dir" >&6; }
2708 #-----------------------------------------------------------------------------
2710 # Check if the target compiler supports some features:
2711 # -ffast-math
2712 # -flto
2713 # -fwhole-program
2714 # -floop-block
2715 # -floop-interchange
2716 # -floop-strip-mine
2717 # -fpeel-loops
2718 # -fstrict-aliasing
2719 # -funroll-loops
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2722 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2723 CFLAGS=-ffast-math
2725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2726 /* end confdefs.h. */
2729 main ()
2733 return 0;
2735 _ACEOF
2736 if ac_fn_c_try_compile "$LINENO"; then :
2737 aros_fast_math="yes"
2738 else
2739 aros_fast_math="no"
2741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2743 $as_echo "$aros_fast_math" >&6; }
2744 if test "x-$aros_fast_math" = "x-yes" ; then
2745 aros_cflags_fast_math=-ffast-math
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2749 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2750 CFLAGS=-flto
2751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2752 /* end confdefs.h. */
2755 main ()
2759 return 0;
2761 _ACEOF
2762 if ac_fn_c_try_compile "$LINENO"; then :
2763 aros_lto="yes"
2764 else
2765 aros_lto="no"
2767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2769 $as_echo "$aros_lto" >&6; }
2770 if test "x-$aros_lto" = "x-yes" ; then
2771 aros_cflags_lto=-flto
2772 aros_cflags_nolto=-fno-lto
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2775 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2776 CFLAGS=-fwhole-program
2777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2778 /* end confdefs.h. */
2781 main ()
2785 return 0;
2787 _ACEOF
2788 if ac_fn_c_try_compile "$LINENO"; then :
2789 aros_whole_program="yes"
2790 else
2791 aros_whole_program="no"
2793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2795 $as_echo "$aros_whole_program" >&6; }
2796 if test "x-$aros_whole_program" = "x-yes" ; then
2797 aros_cflags_whole_program=-fwhole-program
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2801 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2802 CFLAGS=-floop-block
2803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2804 /* end confdefs.h. */
2807 main ()
2811 return 0;
2813 _ACEOF
2814 if ac_fn_c_try_compile "$LINENO"; then :
2815 aros_loop_block="yes"
2816 else
2817 aros_loop_block="no"
2819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2821 $as_echo "$aros_loop_block" >&6; }
2822 if test "x-$aros_loop_block" = "x-yes" ; then
2823 aros_cflags_loop_block=-floop-block
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2827 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2828 CFLAGS=-floop-interchange
2829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2830 /* end confdefs.h. */
2833 main ()
2837 return 0;
2839 _ACEOF
2840 if ac_fn_c_try_compile "$LINENO"; then :
2841 aros_loop_interchange="yes"
2842 else
2843 aros_loop_interchange="no"
2845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2847 $as_echo "$aros_loop_interchange" >&6; }
2848 if test "x-$aros_loop_interchange" = "x-yes" ; then
2849 aros_cflags_loop_interchange=-floop-interchange
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2853 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2854 CFLAGS=-floop-strip-mine
2855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2856 /* end confdefs.h. */
2859 main ()
2863 return 0;
2865 _ACEOF
2866 if ac_fn_c_try_compile "$LINENO"; then :
2867 aros_loop_strip_mine="yes"
2868 else
2869 aros_loop_strip_mine="no"
2871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2873 $as_echo "$aros_loop_strip_mine" >&6; }
2874 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2875 aros_cflags_loop_strip_mine=-floop-strip-mine
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
2880 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
2881 CFLAGS=-fpeel-loops
2882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2886 main ()
2890 return 0;
2892 _ACEOF
2893 if ac_fn_c_try_compile "$LINENO"; then :
2894 aros_peel_loops="yes"
2895 else
2896 aros_peel_loops="no"
2898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
2900 $as_echo "$aros_peel_loops" >&6; }
2901 if test "x-$aros_peel_loops" = "x-yes" ; then
2902 aros_cflags_peel_loops=-fpeel-loops
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
2906 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
2907 CFLAGS=-funroll-loops
2908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2909 /* end confdefs.h. */
2912 main ()
2916 return 0;
2918 _ACEOF
2919 if ac_fn_c_try_compile "$LINENO"; then :
2920 aros_unroll_loops="yes"
2921 else
2922 aros_unroll_loops="no"
2924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
2926 $as_echo "$aros_unroll_loops" >&6; }
2927 if test "x-$aros_unroll_loops" = "x-yes" ; then
2928 aros_cflags_unroll_loops=-funroll-loops
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
2932 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
2933 CFLAGS=-fstrict-aliasing
2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2938 main ()
2942 return 0;
2944 _ACEOF
2945 if ac_fn_c_try_compile "$LINENO"; then :
2946 aros_strict_aliasing="yes"
2947 else
2948 aros_strict_aliasing="no"
2950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
2952 $as_echo "$aros_strict_aliasing" >&6; }
2953 if test "x-$aros_strict_aliasing" = "x-yes" ; then
2954 aros_cflags_strictaliasing=-fstrict-aliasing
2955 aros_cflags_nostrictaliasing=-fno-strict-aliasing
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
2959 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
2960 CFLAGS="-iquote."
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 has_iquote="yes"
2974 else
2975 has_iquote="no"
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
2979 $as_echo "$has_iquote" >&6; }
2980 if test "x-$has_iquote" = "x-yes" ; then
2981 aros_cflags_iquote=-iquote
2982 aros_cflags_iquote_end=
2983 else
2984 aros_cflags_iquote=-I
2985 aros_cflags_iquote_end=-I-
2988 #-----------------------------------------------------------------------------
2990 # Check if the target compiler supports some options:
2991 # -mno-red-zone
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mno-red-zone" >&5
2994 $as_echo_n "checking whether ${CC} accepts -mno-red-zone... " >&6; }
2995 CFLAGS=-mno-red-zone
2996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2997 /* end confdefs.h. */
3000 main ()
3004 return 0;
3006 _ACEOF
3007 if ac_fn_c_try_compile "$LINENO"; then :
3008 aros_no_red_zone="yes"
3009 else
3010 aros_no_red_zone="no"
3012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3014 $as_echo "$aros_no_red_zone" >&6; }
3015 if test "x-$aros_no_red_zone" = "x-yes" ; then
3016 aros_cflags_no_red_zone=-mno-red-zone
3019 #-----------------------------------------------------------------------------
3021 # Check if the target compiler supports some options used for de-linting:
3022 # -Wunused-command-line-argument
3023 # -Wunknown-warning-option
3024 # -Wunused-but-set-variable
3025 # -Wstrict-aliasing
3026 # -Warray-bounds
3027 # -Wenum-compare
3028 # -Wstrict-prototypes
3029 # -Wstrict-overflow
3030 # -Wformat-security
3031 # -Wmisleading-indentation
3032 # -Wnonnull-compare
3033 # -Wunused
3034 # -Wunused-value
3035 # -Wunused-variable
3036 # -Wunused-function
3037 # -Wunused-parameter
3038 # -Wuninitialized
3039 # -Wmaybe-uninitialized
3040 # -Wimplicit-function-declaration
3041 # -Wformat
3042 # -Wparentheses
3043 # -Wchar-subscripts
3044 # -Wendif-labels
3045 # -Wformat-contains-nul
3046 # -Wimplicit-int
3047 # -Waggressive-loop-optimizations
3048 # -Wcpp
3049 # -Wswitch
3050 # -Wdiscarded-qualifiers
3051 # -Wsequence-point
3052 # -Wunknown-pragmas
3053 # -Wdiscarded-array-qualifiers
3054 # -Wint-conversion
3055 # -Wint-to-pointer-cast
3056 # -Wpointer-to-int-cast
3057 # -Wunused-const-variable
3058 # -Wwrite-strings
3059 # -Wcomment
3060 # -Wincompatible-pointer-types
3061 # -Wbool-compare
3062 # -Wlogical-not-parentheses
3063 # -Wpointer-sign
3064 # -Wshift-overflow
3065 # -Wframe-address
3066 # -Wdeprecated-declarations
3067 # -Wsign-compare
3068 # -Wattributes
3069 # -Woverflow
3070 # -Wunused-local-typedefs
3071 # -Wmissing-braces
3072 # -Wconversion-null
3073 # -Wnarrowing
3074 # -Wvolatile-register-var
3075 # -Wsizeof-pointer-memaccess
3076 # -Wreturn-type
3077 # -Wformat-zero-length
3078 # -Wlto-type-mismatch
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3081 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3082 CFLAGS=-Wunused-command-line-argument
3083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3084 /* end confdefs.h. */
3087 main ()
3091 return 0;
3093 _ACEOF
3094 if ac_fn_c_try_compile "$LINENO"; then :
3095 aros_unused_command_line_argument="yes"
3096 else
3097 aros_unused_command_line_argument="no"
3099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3101 $as_echo "$aros_unused_command_line_argument" >&6; }
3102 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3103 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3104 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3108 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3109 CFLAGS=-Wunknown-warning-option
3110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h. */
3114 main ()
3118 return 0;
3120 _ACEOF
3121 if ac_fn_c_try_compile "$LINENO"; then :
3122 aros_unknown_warning_option="yes"
3123 else
3124 aros_unknown_warning_option="no"
3126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3128 $as_echo "$aros_unknown_warning_option" >&6; }
3129 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3130 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3131 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3135 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3136 CFLAGS=-Wunused-but-set-variable
3137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3138 /* end confdefs.h. */
3141 main ()
3145 return 0;
3147 _ACEOF
3148 if ac_fn_c_try_compile "$LINENO"; then :
3149 aros_unused_but_set_variable="yes"
3150 else
3151 aros_unused_but_set_variable="no"
3153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3155 $as_echo "$aros_unused_but_set_variable" >&6; }
3156 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3157 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3158 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3162 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3163 CFLAGS=-Wstrict-aliasing
3164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3165 /* end confdefs.h. */
3168 main ()
3172 return 0;
3174 _ACEOF
3175 if ac_fn_c_try_compile "$LINENO"; then :
3176 aros_strict_aliasing="yes"
3177 else
3178 aros_strict_aliasing="no"
3180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3182 $as_echo "$aros_strict_aliasing" >&6; }
3183 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3184 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3185 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3189 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3190 CFLAGS=-Warray-bounds
3191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h. */
3195 main ()
3199 return 0;
3201 _ACEOF
3202 if ac_fn_c_try_compile "$LINENO"; then :
3203 aros_array_bounds="yes"
3204 else
3205 aros_array_bounds="no"
3207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3209 $as_echo "$aros_array_bounds" >&6; }
3210 if test "x-$aros_array_bounds" = "x-yes" ; then
3211 aros_warnflags_array_bounds=-Warray-bounds
3212 aros_nowarnflags_array_bounds=-Wno-array-bounds
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3216 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3217 CFLAGS=-Wenum-compare
3218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3219 /* end confdefs.h. */
3222 main ()
3226 return 0;
3228 _ACEOF
3229 if ac_fn_c_try_compile "$LINENO"; then :
3230 aros_enum_compare="yes"
3231 else
3232 aros_enum_compare="no"
3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3236 $as_echo "$aros_enum_compare" >&6; }
3237 if test "x-$aros_enum_compare" = "x-yes" ; then
3238 aros_warnflags_enum_compare=-Wenum-compare
3239 aros_nowarnflags_enum_compare=-Wno-enum-compare
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3243 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3244 CFLAGS=-Wstrict-prototypes
3245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3246 /* end confdefs.h. */
3249 main ()
3253 return 0;
3255 _ACEOF
3256 if ac_fn_c_try_compile "$LINENO"; then :
3257 aros_strict_prototypes="yes"
3258 else
3259 aros_strict_prototypes="no"
3261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3263 $as_echo "$aros_strict_prototypes" >&6; }
3264 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3265 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3266 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3270 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3271 CFLAGS=-Wstrict-overflow
3272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3276 main ()
3280 return 0;
3282 _ACEOF
3283 if ac_fn_c_try_compile "$LINENO"; then :
3284 aros_strict_overflow="yes"
3285 else
3286 aros_strict_overflow="no"
3288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3290 $as_echo "$aros_strict_overflow" >&6; }
3291 if test "x-$aros_strict_overflow" = "x-yes" ; then
3292 aros_warnflags_strict_overflow=-Wstrict-overflow
3293 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3297 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3298 CFLAGS=-Wformat-security
3299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3300 /* end confdefs.h. */
3303 main ()
3307 return 0;
3309 _ACEOF
3310 if ac_fn_c_try_compile "$LINENO"; then :
3311 aros_format_security="yes"
3312 else
3313 aros_format_security="no"
3315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3317 $as_echo "$aros_format_security" >&6; }
3318 if test "x-$aros_format_security" = "x-yes" ; then
3319 aros_warnflags_format_security=-Wformat-security
3320 aros_nowarnflags_format_security=-Wno-format-security
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3324 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3325 CFLAGS=-Wmisleading-indentation
3326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3327 /* end confdefs.h. */
3330 main ()
3334 return 0;
3336 _ACEOF
3337 if ac_fn_c_try_compile "$LINENO"; then :
3338 aros_misleading_indentation="yes"
3339 else
3340 aros_misleading_indentation="no"
3342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3344 $as_echo "$aros_misleading_indentation" >&6; }
3345 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3346 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3347 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3351 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3352 CFLAGS=-Wnonnull-compare
3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h. */
3357 main ()
3361 return 0;
3363 _ACEOF
3364 if ac_fn_c_try_compile "$LINENO"; then :
3365 aros_nonnull_compare="yes"
3366 else
3367 aros_nonnull_compare="no"
3369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3371 $as_echo "$aros_nonnull_compare" >&6; }
3372 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3373 aros_warnflags_nonnull_compare=-Wnonnull-compare
3374 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3378 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3379 CFLAGS=-Wunused
3380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3384 main ()
3388 return 0;
3390 _ACEOF
3391 if ac_fn_c_try_compile "$LINENO"; then :
3392 aros_unused="yes"
3393 else
3394 aros_unused="no"
3396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3398 $as_echo "$aros_unused" >&6; }
3399 if test "x-$aros_unused" = "x-yes" ; then
3400 aros_warnflags_unused=-Wunused
3401 aros_nowarnflags_unused=-Wno-unused
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3405 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3406 CFLAGS=-Wunused-value
3407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3408 /* end confdefs.h. */
3411 main ()
3415 return 0;
3417 _ACEOF
3418 if ac_fn_c_try_compile "$LINENO"; then :
3419 aros_unused_value="yes"
3420 else
3421 aros_unused_value="no"
3423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3425 $as_echo "$aros_unused_value" >&6; }
3426 if test "x-$aros_unused_value" = "x-yes" ; then
3427 aros_warnflags_unused_value=-Wunused-value
3428 aros_nowarnflags_unused_value=-Wno-unused-value
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3432 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3433 CFLAGS=-Wunused-variable
3434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3438 main ()
3442 return 0;
3444 _ACEOF
3445 if ac_fn_c_try_compile "$LINENO"; then :
3446 aros_unused_variable="yes"
3447 else
3448 aros_unused_variable="no"
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3452 $as_echo "$aros_unused_variable" >&6; }
3453 if test "x-$aros_unused_variable" = "x-yes" ; then
3454 aros_warnflags_unused_variable=-Wunused-variable
3455 aros_nowarnflags_unused_variable=-Wno-unused-variable
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3459 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3460 CFLAGS=-Wunused-function
3461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3465 main ()
3469 return 0;
3471 _ACEOF
3472 if ac_fn_c_try_compile "$LINENO"; then :
3473 aros_unused_function="yes"
3474 else
3475 aros_unused_function="no"
3477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3479 $as_echo "$aros_unused_function" >&6; }
3480 if test "x-$aros_unused_function" = "x-yes" ; then
3481 aros_warnflags_unused_function=-Wunused-function
3482 aros_nowarnflags_unused_function=-Wno-unused-function
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3486 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3487 CFLAGS=-Wunused-parameter
3488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h. */
3492 main ()
3496 return 0;
3498 _ACEOF
3499 if ac_fn_c_try_compile "$LINENO"; then :
3500 aros_unused_parameter="yes"
3501 else
3502 aros_unused_parameter="no"
3504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3506 $as_echo "$aros_unused_parameter" >&6; }
3507 if test "x-$aros_unused_parameter" = "x-yes" ; then
3508 aros_warnflags_unused_parameter=-Wunused-parameter
3509 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3513 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3514 CFLAGS=-Wuninitialized
3515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3516 /* end confdefs.h. */
3519 main ()
3523 return 0;
3525 _ACEOF
3526 if ac_fn_c_try_compile "$LINENO"; then :
3527 aros_uninitialized="yes"
3528 else
3529 aros_uninitialized="no"
3531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3533 $as_echo "$aros_uninitialized" >&6; }
3534 if test "x-$aros_uninitialized" = "x-yes" ; then
3535 aros_warnflags_uninitialized=-Wuninitialized
3536 aros_nowarnflags_uninitialized=-Wno-uninitialized
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3540 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3541 CFLAGS=-Wmaybe-uninitialized
3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543 /* end confdefs.h. */
3546 main ()
3550 return 0;
3552 _ACEOF
3553 if ac_fn_c_try_compile "$LINENO"; then :
3554 aros_maybe_uninitialized="yes"
3555 else
3556 aros_maybe_uninitialized="no"
3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3560 $as_echo "$aros_maybe_uninitialized" >&6; }
3561 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3562 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
3563 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
3564 else
3565 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
3566 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3570 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3571 CFLAGS=-Wimplicit-function-declaration
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3576 main ()
3580 return 0;
3582 _ACEOF
3583 if ac_fn_c_try_compile "$LINENO"; then :
3584 aros_implicit_function_declaration="yes"
3585 else
3586 aros_implicit_function_declaration="no"
3588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3590 $as_echo "$aros_implicit_function_declaration" >&6; }
3591 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3592 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
3593 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3597 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3598 CFLAGS=-Wformat
3599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600 /* end confdefs.h. */
3603 main ()
3607 return 0;
3609 _ACEOF
3610 if ac_fn_c_try_compile "$LINENO"; then :
3611 aros_format="yes"
3612 else
3613 aros_format="no"
3615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3617 $as_echo "$aros_format" >&6; }
3618 if test "x-$aros_format" = "x-yes" ; then
3619 aros_warnflags_format=-Wformat
3620 aros_nowarnflags_format=-Wno-format
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3624 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3625 CFLAGS=-Wparentheses
3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h. */
3630 main ()
3634 return 0;
3636 _ACEOF
3637 if ac_fn_c_try_compile "$LINENO"; then :
3638 aros_parentheses="yes"
3639 else
3640 aros_parentheses="no"
3642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3644 $as_echo "$aros_parentheses" >&6; }
3645 if test "x-$aros_parentheses" = "x-yes" ; then
3646 aros_warnflags_parentheses=-Wparentheses
3647 aros_nowarnflags_parentheses=-Wno-parentheses
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3651 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3652 CFLAGS=-Wchar-subscripts
3653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3654 /* end confdefs.h. */
3657 main ()
3661 return 0;
3663 _ACEOF
3664 if ac_fn_c_try_compile "$LINENO"; then :
3665 aros_char_subscripts="yes"
3666 else
3667 aros_char_subscripts="no"
3669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3671 $as_echo "$aros_char_subscripts" >&6; }
3672 if test "x-$aros_char_subscripts" = "x-yes" ; then
3673 aros_warnflags_char_subscripts=-Wchar-subscripts
3674 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3678 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3679 CFLAGS=-Wendif-labels
3680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3681 /* end confdefs.h. */
3684 main ()
3688 return 0;
3690 _ACEOF
3691 if ac_fn_c_try_compile "$LINENO"; then :
3692 aros_endif_labels="yes"
3693 else
3694 aros_endif_labels="no"
3696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3698 $as_echo "$aros_endif_labels" >&6; }
3699 if test "x-$aros_endif_labels" = "x-yes" ; then
3700 aros_warnflags_endif_labels=-Wendif-labels
3701 aros_nowarnflags_endif_labels=-Wno-endif-labels
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3705 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3706 CFLAGS=-Wformat-contains-nul
3707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3708 /* end confdefs.h. */
3711 main ()
3715 return 0;
3717 _ACEOF
3718 if ac_fn_c_try_compile "$LINENO"; then :
3719 aros_format_contains_nul="yes"
3720 else
3721 aros_format_contains_nul="no"
3723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3725 $as_echo "$aros_format_contains_nul" >&6; }
3726 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3727 aros_warnflags_format_contains_nul=-Wformat-contains-nul
3728 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3732 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3733 CFLAGS=-Wimplicit-int
3734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3735 /* end confdefs.h. */
3738 main ()
3742 return 0;
3744 _ACEOF
3745 if ac_fn_c_try_compile "$LINENO"; then :
3746 aros_implicit_int="yes"
3747 else
3748 aros_implicit_int="no"
3750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3752 $as_echo "$aros_implicit_int" >&6; }
3753 if test "x-$aros_implicit_int" = "x-yes" ; then
3754 aros_warnflags_implicit_int=-Wimplicit-int
3755 aros_nowarnflags_implicit_int=-Wno-implicit-int
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3759 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3760 CFLAGS=-Waggressive-loop-optimizations
3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762 /* end confdefs.h. */
3765 main ()
3769 return 0;
3771 _ACEOF
3772 if ac_fn_c_try_compile "$LINENO"; then :
3773 aros_aggressive_loop_optimizations="yes"
3774 else
3775 aros_aggressive_loop_optimizations="no"
3777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3779 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3780 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3781 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
3782 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3786 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3787 CFLAGS=-Wcpp
3788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3792 main ()
3796 return 0;
3798 _ACEOF
3799 if ac_fn_c_try_compile "$LINENO"; then :
3800 aros_cpp="yes"
3801 else
3802 aros_cpp="no"
3804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3806 $as_echo "$aros_cpp" >&6; }
3807 if test "x-$aros_cpp" = "x-yes" ; then
3808 aros_warnflags_cpp=-Wcpp
3809 aros_nowarnflags_cpp=-Wno-cpp
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3813 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3814 CFLAGS=-Wswitch
3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3819 main ()
3823 return 0;
3825 _ACEOF
3826 if ac_fn_c_try_compile "$LINENO"; then :
3827 aros_switch="yes"
3828 else
3829 aros_switch="no"
3831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3833 $as_echo "$aros_switch" >&6; }
3834 if test "x-$aros_switch" = "x-yes" ; then
3835 aros_warnflags_switch=-Wswitch
3836 aros_nowarnflags_switch=-Wno-switch
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3840 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3841 CFLAGS=-Wdiscarded-qualifiers
3842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3843 /* end confdefs.h. */
3846 main ()
3850 return 0;
3852 _ACEOF
3853 if ac_fn_c_try_compile "$LINENO"; then :
3854 aros_discarded_qualifiers="yes"
3855 else
3856 aros_discarded_qualifiers="no"
3858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3860 $as_echo "$aros_discarded_qualifiers" >&6; }
3861 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3862 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
3863 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3867 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3868 CFLAGS=-Wsequence-point
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3873 main ()
3877 return 0;
3879 _ACEOF
3880 if ac_fn_c_try_compile "$LINENO"; then :
3881 aros_sequence_point="yes"
3882 else
3883 aros_sequence_point="no"
3885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3887 $as_echo "$aros_sequence_point" >&6; }
3888 if test "x-$aros_sequence_point" = "x-yes" ; then
3889 aros_warnflags_sequence_point=-Wsequence-point
3890 aros_nowarnflags_sequence_point=-Wno-sequence-point
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3894 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3895 CFLAGS=-Wunknown-pragmas
3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3900 main ()
3904 return 0;
3906 _ACEOF
3907 if ac_fn_c_try_compile "$LINENO"; then :
3908 aros_unknown_pragmas="yes"
3909 else
3910 aros_unknown_pragmas="no"
3912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3914 $as_echo "$aros_unknown_pragmas" >&6; }
3915 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3916 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
3917 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3921 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3922 CFLAGS=-Wdiscarded-array-qualifiers
3923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3924 /* end confdefs.h. */
3927 main ()
3931 return 0;
3933 _ACEOF
3934 if ac_fn_c_try_compile "$LINENO"; then :
3935 aros_discarded_array_qualifiers="yes"
3936 else
3937 aros_discarded_array_qualifiers="no"
3939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3941 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3942 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3943 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
3944 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3948 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3949 CFLAGS=-Wint-conversion
3950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h. */
3954 main ()
3958 return 0;
3960 _ACEOF
3961 if ac_fn_c_try_compile "$LINENO"; then :
3962 aros_int_conversion="yes"
3963 else
3964 aros_int_conversion="no"
3966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3968 $as_echo "$aros_int_conversion" >&6; }
3969 if test "x-$aros_int_conversion" = "x-yes" ; then
3970 aros_warnflags_int_conversion=-Wint-conversion
3971 aros_nowarnflags_int_conversion=-Wno-int-conversion
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3975 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3976 CFLAGS=-Wint-to-pointer-cast
3977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3978 /* end confdefs.h. */
3981 main ()
3985 return 0;
3987 _ACEOF
3988 if ac_fn_c_try_compile "$LINENO"; then :
3989 aros_int_to_pointer_cast="yes"
3990 else
3991 aros_int_to_pointer_cast="no"
3993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3995 $as_echo "$aros_int_to_pointer_cast" >&6; }
3996 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3997 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
3998 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
4002 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
4003 CFLAGS=-Wpointer-to-int-cast
4004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4005 /* end confdefs.h. */
4008 main ()
4012 return 0;
4014 _ACEOF
4015 if ac_fn_c_try_compile "$LINENO"; then :
4016 aros_pointer_to_int_cast="yes"
4017 else
4018 aros_pointer_to_int_cast="no"
4020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
4022 $as_echo "$aros_pointer_to_int_cast" >&6; }
4023 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
4024 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
4025 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
4029 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
4030 CFLAGS=-Wunused-const-variable
4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h. */
4035 main ()
4039 return 0;
4041 _ACEOF
4042 if ac_fn_c_try_compile "$LINENO"; then :
4043 aros_unused_const_variable="yes"
4044 else
4045 aros_unused_const_variable="no"
4047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
4049 $as_echo "$aros_unused_const_variable" >&6; }
4050 if test "x-$aros_unused_const_variable" = "x-yes" ; then
4051 aros_warnflags_unused_const_variable=-Wunused-const-variable
4052 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
4056 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
4057 CFLAGS=-Wwrite-strings
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4062 main ()
4066 return 0;
4068 _ACEOF
4069 if ac_fn_c_try_compile "$LINENO"; then :
4070 aros_write_strings="yes"
4071 else
4072 aros_write_strings="no"
4074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4076 $as_echo "$aros_write_strings" >&6; }
4077 if test "x-$aros_write_strings" = "x-yes" ; then
4078 aros_warnflags_write_strings=-Wwrite-strings
4079 aros_nowarnflags_write_strings=-Wno-write-strings
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4083 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4084 CFLAGS=-Wcomment
4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4089 main ()
4093 return 0;
4095 _ACEOF
4096 if ac_fn_c_try_compile "$LINENO"; then :
4097 aros_comment="yes"
4098 else
4099 aros_comment="no"
4101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4103 $as_echo "$aros_comment" >&6; }
4104 if test "x-$aros_comment" = "x-yes" ; then
4105 aros_warnflags_comment=-Wcomment
4106 aros_nowarnflags_comment=-Wno-comment
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4110 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4111 CFLAGS=-Wincompatible-pointer-types
4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4116 main ()
4120 return 0;
4122 _ACEOF
4123 if ac_fn_c_try_compile "$LINENO"; then :
4124 aros_incompatible_pointer_types="yes"
4125 else
4126 aros_incompatible_pointer_types="no"
4128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4130 $as_echo "$aros_incompatible_pointer_types" >&6; }
4131 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4132 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4133 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4137 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4138 CFLAGS=-Wbool-compare
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4143 main ()
4147 return 0;
4149 _ACEOF
4150 if ac_fn_c_try_compile "$LINENO"; then :
4151 aros_bool_compare="yes"
4152 else
4153 aros_bool_compare="no"
4155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4157 $as_echo "$aros_bool_compare" >&6; }
4158 if test "x-$aros_bool_compare" = "x-yes" ; then
4159 aros_warnflags_bool_compare=-Wbool-compare
4160 aros_nowarnflags_bool_compare=-Wno-bool-compare
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4164 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4165 CFLAGS=-Wlogical-not-parentheses
4166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4170 main ()
4174 return 0;
4176 _ACEOF
4177 if ac_fn_c_try_compile "$LINENO"; then :
4178 aros_logical_not_parentheses="yes"
4179 else
4180 aros_logical_not_parentheses="no"
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4184 $as_echo "$aros_logical_not_parentheses" >&6; }
4185 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4186 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4187 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4191 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4192 CFLAGS=-Wpointer-sign
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4197 main ()
4201 return 0;
4203 _ACEOF
4204 if ac_fn_c_try_compile "$LINENO"; then :
4205 aros_pointer_sign="yes"
4206 else
4207 aros_pointer_sign="no"
4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4211 $as_echo "$aros_pointer_sign" >&6; }
4212 if test "x-$aros_pointer_sign" = "x-yes" ; then
4213 aros_warnflags_pointer_sign=-Wpointer-sign
4214 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4218 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4219 CFLAGS=-Wshift-overflow
4220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4224 main ()
4228 return 0;
4230 _ACEOF
4231 if ac_fn_c_try_compile "$LINENO"; then :
4232 aros_shift_overflow="yes"
4233 else
4234 aros_shift_overflow="no"
4236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4238 $as_echo "$aros_shift_overflow" >&6; }
4239 if test "x-$aros_shift_overflow" = "x-yes" ; then
4240 aros_warnflags_shift_overflow=-Wshift-overflow
4241 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4245 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4246 CFLAGS=-Wframe-address
4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4251 main ()
4255 return 0;
4257 _ACEOF
4258 if ac_fn_c_try_compile "$LINENO"; then :
4259 aros_frame_address="yes"
4260 else
4261 aros_frame_address="no"
4263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4265 $as_echo "$aros_frame_address" >&6; }
4266 if test "x-$aros_frame_address" = "x-yes" ; then
4267 aros_warnflags_frame_address=-Wframe-address
4268 aros_nowarnflags_frame_address=-Wno-frame-address
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4272 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4273 CFLAGS=-Wdeprecated-declarations
4274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4278 main ()
4282 return 0;
4284 _ACEOF
4285 if ac_fn_c_try_compile "$LINENO"; then :
4286 aros_deprecated_declarations="yes"
4287 else
4288 aros_deprecated_declarations="no"
4290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4292 $as_echo "$aros_deprecated_declarations" >&6; }
4293 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4294 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4295 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4299 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4300 CFLAGS=-Wsign-compare
4301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4302 /* end confdefs.h. */
4305 main ()
4309 return 0;
4311 _ACEOF
4312 if ac_fn_c_try_compile "$LINENO"; then :
4313 aros_sign_compare="yes"
4314 else
4315 aros_sign_compare="no"
4317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4319 $as_echo "$aros_sign_compare" >&6; }
4320 if test "x-$aros_sign_compare" = "x-yes" ; then
4321 aros_warnflags_sign_compare=-Wsign-compare
4322 aros_nowarnflags_sign_compare=-Wno-sign-compare
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4326 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4327 CFLAGS=-Wattributes
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4332 main ()
4336 return 0;
4338 _ACEOF
4339 if ac_fn_c_try_compile "$LINENO"; then :
4340 aros_attributes="yes"
4341 else
4342 aros_attributes="no"
4344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4346 $as_echo "$aros_attributes" >&6; }
4347 if test "x-$aros_attributes" = "x-yes" ; then
4348 aros_warnflags_attributes=-Wattributes
4349 aros_nowarnflags_attributes=-Wno-attributes
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4353 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4354 CFLAGS=-Woverflow
4355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h. */
4359 main ()
4363 return 0;
4365 _ACEOF
4366 if ac_fn_c_try_compile "$LINENO"; then :
4367 aros_overflow="yes"
4368 else
4369 aros_overflow="no"
4371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4373 $as_echo "$aros_overflow" >&6; }
4374 if test "x-$aros_overflow" = "x-yes" ; then
4375 aros_warnflags_overflow=-Woverflow
4376 aros_nowarnflags_overflow=-Wno-overflow
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4380 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4381 CFLAGS=-Wunused-local-typedefs
4382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383 /* end confdefs.h. */
4386 main ()
4390 return 0;
4392 _ACEOF
4393 if ac_fn_c_try_compile "$LINENO"; then :
4394 aros_unused_local_typedefs="yes"
4395 else
4396 aros_unused_local_typedefs="no"
4398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4400 $as_echo "$aros_unused_local_typedefs" >&6; }
4401 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4402 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4403 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4407 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4408 CFLAGS=-Wmissing-braces
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4413 main ()
4417 return 0;
4419 _ACEOF
4420 if ac_fn_c_try_compile "$LINENO"; then :
4421 aros_missing_braces="yes"
4422 else
4423 aros_missing_braces="no"
4425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4427 $as_echo "$aros_missing_braces" >&6; }
4428 if test "x-$aros_missing_braces" = "x-yes" ; then
4429 aros_warnflags_missing_braces=-Wmissing-braces
4430 aros_nowarnflags_missing_braces=-Wno-missing-braces
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4434 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4435 CFLAGS=-Wconversion-null
4436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h. */
4440 main ()
4444 return 0;
4446 _ACEOF
4447 if ac_fn_c_try_compile "$LINENO"; then :
4448 aros_conversion_null="yes"
4449 else
4450 aros_conversion_null="no"
4452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4454 $as_echo "$aros_conversion_null" >&6; }
4455 if test "x-$aros_conversion_null" = "x-yes" ; then
4456 aros_warnflags_conversion_null=-Wconversion-null
4457 aros_nowarnflags_conversion_null=-Wno-conversion-null
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4461 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4462 CFLAGS=-Wnarrowing
4463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4464 /* end confdefs.h. */
4467 main ()
4471 return 0;
4473 _ACEOF
4474 if ac_fn_c_try_compile "$LINENO"; then :
4475 aros_narrowing="yes"
4476 else
4477 aros_narrowing="no"
4479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4481 $as_echo "$aros_narrowing" >&6; }
4482 if test "x-$aros_narrowing" = "x-yes" ; then
4483 aros_warnflags_narrowing=-Wnarrowing
4484 aros_nowarnflags_narrowing=-Wno-narrowing
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4488 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4489 CFLAGS=-Wvolatile-register-var
4490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4494 main ()
4498 return 0;
4500 _ACEOF
4501 if ac_fn_c_try_compile "$LINENO"; then :
4502 aros_volatile_register_var="yes"
4503 else
4504 aros_volatile_register_var="no"
4506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4508 $as_echo "$aros_volatile_register_var" >&6; }
4509 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4510 aros_warnflags_volatile_register_var=-Wvolatile-register-var
4511 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4515 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4516 CFLAGS=-Wsizeof-pointer-memaccess
4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4521 main ()
4525 return 0;
4527 _ACEOF
4528 if ac_fn_c_try_compile "$LINENO"; then :
4529 aros_sizeof_pointer_memaccess="yes"
4530 else
4531 aros_sizeof_pointer_memaccess="no"
4533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4535 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4536 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4537 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
4538 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4542 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4543 CFLAGS=-Wreturn-type
4544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4545 /* end confdefs.h. */
4548 main ()
4552 return 0;
4554 _ACEOF
4555 if ac_fn_c_try_compile "$LINENO"; then :
4556 aros_return_type="yes"
4557 else
4558 aros_return_type="no"
4560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4562 $as_echo "$aros_return_type" >&6; }
4563 if test "x-$aros_return_type" = "x-yes" ; then
4564 aros_warnflags_return_type=-Wreturn-type
4565 aros_nowarnflags_return_type=-Wno-return-type
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
4569 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
4570 CFLAGS=-Wformat-zero-length
4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4572 /* end confdefs.h. */
4575 main ()
4579 return 0;
4581 _ACEOF
4582 if ac_fn_c_try_compile "$LINENO"; then :
4583 aros_format_zero_length="yes"
4584 else
4585 aros_format_zero_length="no"
4587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
4589 $as_echo "$aros_format_zero_length" >&6; }
4590 if test "x-$aros_format_zero_length" = "x-yes" ; then
4591 aros_warnflags_format_zero_length=-Wformat-zero-length
4592 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
4596 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
4597 CFLAGS=-Wlto-type-mismatch
4598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4599 /* end confdefs.h. */
4602 main ()
4606 return 0;
4608 _ACEOF
4609 if ac_fn_c_try_compile "$LINENO"; then :
4610 aros_lto_type_mismatch="yes"
4611 else
4612 aros_lto_type_mismatch="no"
4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
4616 $as_echo "$aros_lto_type_mismatch" >&6; }
4617 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
4618 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
4619 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
4623 # export the feature flags...
4642 # export the feature options...
4647 # ...and warning flags...
4764 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
4767 cat >confcache <<\_ACEOF
4768 # This file is a shell script that caches the results of configure
4769 # tests run on this system so they can be shared between configure
4770 # scripts and configure runs, see configure's option --config-cache.
4771 # It is not useful on other systems. If it contains results you don't
4772 # want to keep, you may remove or edit it.
4774 # config.status only pays attention to the cache file if you give it
4775 # the --recheck option to rerun configure.
4777 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4778 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4779 # following values.
4781 _ACEOF
4783 # The following way of writing the cache mishandles newlines in values,
4784 # but we know of no workaround that is simple, portable, and efficient.
4785 # So, we kill variables containing newlines.
4786 # Ultrix sh set writes to stderr and can't be redirected directly,
4787 # and sets the high bit in the cache file unless we assign to the vars.
4789 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4790 eval ac_val=\$$ac_var
4791 case $ac_val in #(
4792 *${as_nl}*)
4793 case $ac_var in #(
4794 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4795 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4796 esac
4797 case $ac_var in #(
4798 _ | IFS | as_nl) ;; #(
4799 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4800 *) { eval $ac_var=; unset $ac_var;} ;;
4801 esac ;;
4802 esac
4803 done
4805 (set) 2>&1 |
4806 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4807 *${as_nl}ac_space=\ *)
4808 # `set' does not quote correctly, so add quotes: double-quote
4809 # substitution turns \\\\ into \\, and sed turns \\ into \.
4810 sed -n \
4811 "s/'/'\\\\''/g;
4812 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4813 ;; #(
4815 # `set' quotes correctly as required by POSIX, so do not add quotes.
4816 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4818 esac |
4819 sort
4821 sed '
4822 /^ac_cv_env_/b end
4823 t clear
4824 :clear
4825 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4826 t end
4827 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4828 :end' >>confcache
4829 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4830 if test -w "$cache_file"; then
4831 if test "x$cache_file" != "x/dev/null"; then
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4833 $as_echo "$as_me: updating cache $cache_file" >&6;}
4834 if test ! -f "$cache_file" || test -h "$cache_file"; then
4835 cat confcache >"$cache_file"
4836 else
4837 case $cache_file in #(
4838 */* | ?:*)
4839 mv -f confcache "$cache_file"$$ &&
4840 mv -f "$cache_file"$$ "$cache_file" ;; #(
4842 mv -f confcache "$cache_file" ;;
4843 esac
4846 else
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4848 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4851 rm -f confcache
4853 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4854 # Let make expand exec_prefix.
4855 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4857 # Transform confdefs.h into DEFS.
4858 # Protect against shell expansion while executing Makefile rules.
4859 # Protect against Makefile macro expansion.
4861 # If the first sed substitution is executed (which looks for macros that
4862 # take arguments), then branch to the quote section. Otherwise,
4863 # look for a macro that doesn't take arguments.
4864 ac_script='
4865 :mline
4866 /\\$/{
4868 s,\\\n,,
4869 b mline
4871 t clear
4872 :clear
4873 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4874 t quote
4875 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4876 t quote
4877 b any
4878 :quote
4879 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4880 s/\[/\\&/g
4881 s/\]/\\&/g
4882 s/\$/$$/g
4884 :any
4887 s/^\n//
4888 s/\n/ /g
4892 DEFS=`sed -n "$ac_script" confdefs.h`
4895 ac_libobjs=
4896 ac_ltlibobjs=
4898 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4899 # 1. Remove the extension, and $U if already installed.
4900 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4901 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4902 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4903 # will be set to the directory where LIBOBJS objects are built.
4904 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4905 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4906 done
4907 LIBOBJS=$ac_libobjs
4909 LTLIBOBJS=$ac_ltlibobjs
4913 : "${CONFIG_STATUS=./config.status}"
4914 ac_write_fail=0
4915 ac_clean_files_save=$ac_clean_files
4916 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4918 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4919 as_write_fail=0
4920 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4921 #! $SHELL
4922 # Generated by $as_me.
4923 # Run this file to recreate the current configuration.
4924 # Compiler output produced by configure, useful for debugging
4925 # configure, is in config.log if it exists.
4927 debug=false
4928 ac_cs_recheck=false
4929 ac_cs_silent=false
4931 SHELL=\${CONFIG_SHELL-$SHELL}
4932 export SHELL
4933 _ASEOF
4934 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4935 ## -------------------- ##
4936 ## M4sh Initialization. ##
4937 ## -------------------- ##
4939 # Be more Bourne compatible
4940 DUALCASE=1; export DUALCASE # for MKS sh
4941 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4942 emulate sh
4943 NULLCMD=:
4944 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4945 # is contrary to our usage. Disable this feature.
4946 alias -g '${1+"$@"}'='"$@"'
4947 setopt NO_GLOB_SUBST
4948 else
4949 case `(set -o) 2>/dev/null` in #(
4950 *posix*) :
4951 set -o posix ;; #(
4952 *) :
4954 esac
4958 as_nl='
4960 export as_nl
4961 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4962 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4963 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4964 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4965 # Prefer a ksh shell builtin over an external printf program on Solaris,
4966 # but without wasting forks for bash or zsh.
4967 if test -z "$BASH_VERSION$ZSH_VERSION" \
4968 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4969 as_echo='print -r --'
4970 as_echo_n='print -rn --'
4971 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4972 as_echo='printf %s\n'
4973 as_echo_n='printf %s'
4974 else
4975 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4976 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4977 as_echo_n='/usr/ucb/echo -n'
4978 else
4979 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4980 as_echo_n_body='eval
4981 arg=$1;
4982 case $arg in #(
4983 *"$as_nl"*)
4984 expr "X$arg" : "X\\(.*\\)$as_nl";
4985 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4986 esac;
4987 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4989 export as_echo_n_body
4990 as_echo_n='sh -c $as_echo_n_body as_echo'
4992 export as_echo_body
4993 as_echo='sh -c $as_echo_body as_echo'
4996 # The user is always right.
4997 if test "${PATH_SEPARATOR+set}" != set; then
4998 PATH_SEPARATOR=:
4999 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5000 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5001 PATH_SEPARATOR=';'
5006 # IFS
5007 # We need space, tab and new line, in precisely that order. Quoting is
5008 # there to prevent editors from complaining about space-tab.
5009 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5010 # splitting by setting IFS to empty value.)
5011 IFS=" "" $as_nl"
5013 # Find who we are. Look in the path if we contain no directory separator.
5014 as_myself=
5015 case $0 in #((
5016 *[\\/]* ) as_myself=$0 ;;
5017 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5018 for as_dir in $PATH
5020 IFS=$as_save_IFS
5021 test -z "$as_dir" && as_dir=.
5022 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5023 done
5024 IFS=$as_save_IFS
5027 esac
5028 # We did not find ourselves, most probably we were run as `sh COMMAND'
5029 # in which case we are not to be found in the path.
5030 if test "x$as_myself" = x; then
5031 as_myself=$0
5033 if test ! -f "$as_myself"; then
5034 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5035 exit 1
5038 # Unset variables that we do not need and which cause bugs (e.g. in
5039 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5040 # suppresses any "Segmentation fault" message there. '((' could
5041 # trigger a bug in pdksh 5.2.14.
5042 for as_var in BASH_ENV ENV MAIL MAILPATH
5043 do eval test x\${$as_var+set} = xset \
5044 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5045 done
5046 PS1='$ '
5047 PS2='> '
5048 PS4='+ '
5050 # NLS nuisances.
5051 LC_ALL=C
5052 export LC_ALL
5053 LANGUAGE=C
5054 export LANGUAGE
5056 # CDPATH.
5057 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5060 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5061 # ----------------------------------------
5062 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5063 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5064 # script with STATUS, using 1 if that was 0.
5065 as_fn_error ()
5067 as_status=$1; test $as_status -eq 0 && as_status=1
5068 if test "$4"; then
5069 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5070 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5072 $as_echo "$as_me: error: $2" >&2
5073 as_fn_exit $as_status
5074 } # as_fn_error
5077 # as_fn_set_status STATUS
5078 # -----------------------
5079 # Set $? to STATUS, without forking.
5080 as_fn_set_status ()
5082 return $1
5083 } # as_fn_set_status
5085 # as_fn_exit STATUS
5086 # -----------------
5087 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5088 as_fn_exit ()
5090 set +e
5091 as_fn_set_status $1
5092 exit $1
5093 } # as_fn_exit
5095 # as_fn_unset VAR
5096 # ---------------
5097 # Portably unset VAR.
5098 as_fn_unset ()
5100 { eval $1=; unset $1;}
5102 as_unset=as_fn_unset
5103 # as_fn_append VAR VALUE
5104 # ----------------------
5105 # Append the text in VALUE to the end of the definition contained in VAR. Take
5106 # advantage of any shell optimizations that allow amortized linear growth over
5107 # repeated appends, instead of the typical quadratic growth present in naive
5108 # implementations.
5109 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5110 eval 'as_fn_append ()
5112 eval $1+=\$2
5114 else
5115 as_fn_append ()
5117 eval $1=\$$1\$2
5119 fi # as_fn_append
5121 # as_fn_arith ARG...
5122 # ------------------
5123 # Perform arithmetic evaluation on the ARGs, and store the result in the
5124 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5125 # must be portable across $(()) and expr.
5126 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5127 eval 'as_fn_arith ()
5129 as_val=$(( $* ))
5131 else
5132 as_fn_arith ()
5134 as_val=`expr "$@" || test $? -eq 1`
5136 fi # as_fn_arith
5139 if expr a : '\(a\)' >/dev/null 2>&1 &&
5140 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5141 as_expr=expr
5142 else
5143 as_expr=false
5146 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5147 as_basename=basename
5148 else
5149 as_basename=false
5152 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5153 as_dirname=dirname
5154 else
5155 as_dirname=false
5158 as_me=`$as_basename -- "$0" ||
5159 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5160 X"$0" : 'X\(//\)$' \| \
5161 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5162 $as_echo X/"$0" |
5163 sed '/^.*\/\([^/][^/]*\)\/*$/{
5164 s//\1/
5167 /^X\/\(\/\/\)$/{
5168 s//\1/
5171 /^X\/\(\/\).*/{
5172 s//\1/
5175 s/.*/./; q'`
5177 # Avoid depending upon Character Ranges.
5178 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5179 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5180 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5181 as_cr_digits='0123456789'
5182 as_cr_alnum=$as_cr_Letters$as_cr_digits
5184 ECHO_C= ECHO_N= ECHO_T=
5185 case `echo -n x` in #(((((
5186 -n*)
5187 case `echo 'xy\c'` in
5188 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5189 xy) ECHO_C='\c';;
5190 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5191 ECHO_T=' ';;
5192 esac;;
5194 ECHO_N='-n';;
5195 esac
5197 rm -f conf$$ conf$$.exe conf$$.file
5198 if test -d conf$$.dir; then
5199 rm -f conf$$.dir/conf$$.file
5200 else
5201 rm -f conf$$.dir
5202 mkdir conf$$.dir 2>/dev/null
5204 if (echo >conf$$.file) 2>/dev/null; then
5205 if ln -s conf$$.file conf$$ 2>/dev/null; then
5206 as_ln_s='ln -s'
5207 # ... but there are two gotchas:
5208 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5209 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5210 # In both cases, we have to default to `cp -pR'.
5211 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5212 as_ln_s='cp -pR'
5213 elif ln conf$$.file conf$$ 2>/dev/null; then
5214 as_ln_s=ln
5215 else
5216 as_ln_s='cp -pR'
5218 else
5219 as_ln_s='cp -pR'
5221 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5222 rmdir conf$$.dir 2>/dev/null
5225 # as_fn_mkdir_p
5226 # -------------
5227 # Create "$as_dir" as a directory, including parents if necessary.
5228 as_fn_mkdir_p ()
5231 case $as_dir in #(
5232 -*) as_dir=./$as_dir;;
5233 esac
5234 test -d "$as_dir" || eval $as_mkdir_p || {
5235 as_dirs=
5236 while :; do
5237 case $as_dir in #(
5238 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5239 *) as_qdir=$as_dir;;
5240 esac
5241 as_dirs="'$as_qdir' $as_dirs"
5242 as_dir=`$as_dirname -- "$as_dir" ||
5243 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5244 X"$as_dir" : 'X\(//\)[^/]' \| \
5245 X"$as_dir" : 'X\(//\)$' \| \
5246 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5247 $as_echo X"$as_dir" |
5248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5249 s//\1/
5252 /^X\(\/\/\)[^/].*/{
5253 s//\1/
5256 /^X\(\/\/\)$/{
5257 s//\1/
5260 /^X\(\/\).*/{
5261 s//\1/
5264 s/.*/./; q'`
5265 test -d "$as_dir" && break
5266 done
5267 test -z "$as_dirs" || eval "mkdir $as_dirs"
5268 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5271 } # as_fn_mkdir_p
5272 if mkdir -p . 2>/dev/null; then
5273 as_mkdir_p='mkdir -p "$as_dir"'
5274 else
5275 test -d ./-p && rmdir ./-p
5276 as_mkdir_p=false
5280 # as_fn_executable_p FILE
5281 # -----------------------
5282 # Test if FILE is an executable regular file.
5283 as_fn_executable_p ()
5285 test -f "$1" && test -x "$1"
5286 } # as_fn_executable_p
5287 as_test_x='test -x'
5288 as_executable_p=as_fn_executable_p
5290 # Sed expression to map a string onto a valid CPP name.
5291 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5293 # Sed expression to map a string onto a valid variable name.
5294 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5297 exec 6>&1
5298 ## ----------------------------------- ##
5299 ## Main body of $CONFIG_STATUS script. ##
5300 ## ----------------------------------- ##
5301 _ASEOF
5302 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5305 # Save the log message, to keep $0 and so on meaningful, and to
5306 # report actual input values of CONFIG_FILES etc. instead of their
5307 # values after options handling.
5308 ac_log="
5309 This file was extended by $as_me, which was
5310 generated by GNU Autoconf 2.69. Invocation command line was
5312 CONFIG_FILES = $CONFIG_FILES
5313 CONFIG_HEADERS = $CONFIG_HEADERS
5314 CONFIG_LINKS = $CONFIG_LINKS
5315 CONFIG_COMMANDS = $CONFIG_COMMANDS
5316 $ $0 $@
5318 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5321 _ACEOF
5323 case $ac_config_files in *"
5324 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5325 esac
5329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5330 # Files that config.status was made for.
5331 config_files="$ac_config_files"
5333 _ACEOF
5335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5336 ac_cs_usage="\
5337 \`$as_me' instantiates files and other configuration actions
5338 from templates according to the current configuration. Unless the files
5339 and actions are specified as TAGs, all are instantiated by default.
5341 Usage: $0 [OPTION]... [TAG]...
5343 -h, --help print this help, then exit
5344 -V, --version print version number and configuration settings, then exit
5345 --config print configuration, then exit
5346 -q, --quiet, --silent
5347 do not print progress messages
5348 -d, --debug don't remove temporary files
5349 --recheck update $as_me by reconfiguring in the same conditions
5350 --file=FILE[:TEMPLATE]
5351 instantiate the configuration file FILE
5353 Configuration files:
5354 $config_files
5356 Report bugs to the package provider."
5358 _ACEOF
5359 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5360 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5361 ac_cs_version="\\
5362 config.status
5363 configured by $0, generated by GNU Autoconf 2.69,
5364 with options \\"\$ac_cs_config\\"
5366 Copyright (C) 2012 Free Software Foundation, Inc.
5367 This config.status script is free software; the Free Software Foundation
5368 gives unlimited permission to copy, distribute and modify it."
5370 ac_pwd='$ac_pwd'
5371 srcdir='$srcdir'
5372 test -n "\$AWK" || AWK=awk
5373 _ACEOF
5375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5376 # The default lists apply if the user does not specify any file.
5377 ac_need_defaults=:
5378 while test $# != 0
5380 case $1 in
5381 --*=?*)
5382 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5383 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5384 ac_shift=:
5386 --*=)
5387 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5388 ac_optarg=
5389 ac_shift=:
5392 ac_option=$1
5393 ac_optarg=$2
5394 ac_shift=shift
5396 esac
5398 case $ac_option in
5399 # Handling of the options.
5400 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5401 ac_cs_recheck=: ;;
5402 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5403 $as_echo "$ac_cs_version"; exit ;;
5404 --config | --confi | --conf | --con | --co | --c )
5405 $as_echo "$ac_cs_config"; exit ;;
5406 --debug | --debu | --deb | --de | --d | -d )
5407 debug=: ;;
5408 --file | --fil | --fi | --f )
5409 $ac_shift
5410 case $ac_optarg in
5411 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5412 '') as_fn_error $? "missing file argument" ;;
5413 esac
5414 as_fn_append CONFIG_FILES " '$ac_optarg'"
5415 ac_need_defaults=false;;
5416 --he | --h | --help | --hel | -h )
5417 $as_echo "$ac_cs_usage"; exit ;;
5418 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5419 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5420 ac_cs_silent=: ;;
5422 # This is an error.
5423 -*) as_fn_error $? "unrecognized option: \`$1'
5424 Try \`$0 --help' for more information." ;;
5426 *) as_fn_append ac_config_targets " $1"
5427 ac_need_defaults=false ;;
5429 esac
5430 shift
5431 done
5433 ac_configure_extra_args=
5435 if $ac_cs_silent; then
5436 exec 6>/dev/null
5437 ac_configure_extra_args="$ac_configure_extra_args --silent"
5440 _ACEOF
5441 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5442 if \$ac_cs_recheck; then
5443 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5444 shift
5445 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5446 CONFIG_SHELL='$SHELL'
5447 export CONFIG_SHELL
5448 exec "\$@"
5451 _ACEOF
5452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5453 exec 5>>config.log
5455 echo
5456 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5457 ## Running $as_me. ##
5458 _ASBOX
5459 $as_echo "$ac_log"
5460 } >&5
5462 _ACEOF
5463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5464 _ACEOF
5466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5468 # Handling of arguments.
5469 for ac_config_target in $ac_config_targets
5471 case $ac_config_target in
5472 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5474 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5475 esac
5476 done
5479 # If the user did not use the arguments to specify the items to instantiate,
5480 # then the envvar interface is used. Set only those that are not.
5481 # We use the long form for the default assignment because of an extremely
5482 # bizarre bug on SunOS 4.1.3.
5483 if $ac_need_defaults; then
5484 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5487 # Have a temporary directory for convenience. Make it in the build tree
5488 # simply because there is no reason against having it here, and in addition,
5489 # creating and moving files from /tmp can sometimes cause problems.
5490 # Hook for its removal unless debugging.
5491 # Note that there is a small window in which the directory will not be cleaned:
5492 # after its creation but before its name has been assigned to `$tmp'.
5493 $debug ||
5495 tmp= ac_tmp=
5496 trap 'exit_status=$?
5497 : "${ac_tmp:=$tmp}"
5498 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5500 trap 'as_fn_exit 1' 1 2 13 15
5502 # Create a (secure) tmp directory for tmp files.
5505 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5506 test -d "$tmp"
5507 } ||
5509 tmp=./conf$$-$RANDOM
5510 (umask 077 && mkdir "$tmp")
5511 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5512 ac_tmp=$tmp
5514 # Set up the scripts for CONFIG_FILES section.
5515 # No need to generate them if there are no CONFIG_FILES.
5516 # This happens for instance with `./config.status config.h'.
5517 if test -n "$CONFIG_FILES"; then
5520 ac_cr=`echo X | tr X '\015'`
5521 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5522 # But we know of no other shell where ac_cr would be empty at this
5523 # point, so we can use a bashism as a fallback.
5524 if test "x$ac_cr" = x; then
5525 eval ac_cr=\$\'\\r\'
5527 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5528 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5529 ac_cs_awk_cr='\\r'
5530 else
5531 ac_cs_awk_cr=$ac_cr
5534 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5535 _ACEOF
5539 echo "cat >conf$$subs.awk <<_ACEOF" &&
5540 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5541 echo "_ACEOF"
5542 } >conf$$subs.sh ||
5543 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5544 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5545 ac_delim='%!_!# '
5546 for ac_last_try in false false false false false :; do
5547 . ./conf$$subs.sh ||
5548 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5550 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5551 if test $ac_delim_n = $ac_delim_num; then
5552 break
5553 elif $ac_last_try; then
5554 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5555 else
5556 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5558 done
5559 rm -f conf$$subs.sh
5561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5562 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5563 _ACEOF
5564 sed -n '
5566 s/^/S["/; s/!.*/"]=/
5569 s/^[^!]*!//
5570 :repl
5571 t repl
5572 s/'"$ac_delim"'$//
5573 t delim
5576 s/\(.\{148\}\)..*/\1/
5577 t more1
5578 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5581 b repl
5582 :more1
5583 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5586 s/.\{148\}//
5587 t nl
5588 :delim
5590 s/\(.\{148\}\)..*/\1/
5591 t more2
5592 s/["\\]/\\&/g; s/^/"/; s/$/"/
5595 :more2
5596 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5599 s/.\{148\}//
5600 t delim
5601 ' <conf$$subs.awk | sed '
5602 /^[^""]/{
5604 s/\n//
5606 ' >>$CONFIG_STATUS || ac_write_fail=1
5607 rm -f conf$$subs.awk
5608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5609 _ACAWK
5610 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5611 for (key in S) S_is_set[key] = 1
5612 FS = "\a"
5616 line = $ 0
5617 nfields = split(line, field, "@")
5618 substed = 0
5619 len = length(field[1])
5620 for (i = 2; i < nfields; i++) {
5621 key = field[i]
5622 keylen = length(key)
5623 if (S_is_set[key]) {
5624 value = S[key]
5625 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5626 len += length(value) + length(field[++i])
5627 substed = 1
5628 } else
5629 len += 1 + keylen
5632 print line
5635 _ACAWK
5636 _ACEOF
5637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5638 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5639 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5640 else
5642 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5643 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5644 _ACEOF
5646 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5647 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5648 # trailing colons and then remove the whole line if VPATH becomes empty
5649 # (actually we leave an empty line to preserve line numbers).
5650 if test "x$srcdir" = x.; then
5651 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5653 s///
5654 s/^/:/
5655 s/[ ]*$/:/
5656 s/:\$(srcdir):/:/g
5657 s/:\${srcdir}:/:/g
5658 s/:@srcdir@:/:/g
5659 s/^:*//
5660 s/:*$//
5662 s/\(=[ ]*\).*/\1/
5664 s/\n//
5665 s/^[^=]*=[ ]*$//
5669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5670 fi # test -n "$CONFIG_FILES"
5673 eval set X " :F $CONFIG_FILES "
5674 shift
5675 for ac_tag
5677 case $ac_tag in
5678 :[FHLC]) ac_mode=$ac_tag; continue;;
5679 esac
5680 case $ac_mode$ac_tag in
5681 :[FHL]*:*);;
5682 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5683 :[FH]-) ac_tag=-:-;;
5684 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5685 esac
5686 ac_save_IFS=$IFS
5687 IFS=:
5688 set x $ac_tag
5689 IFS=$ac_save_IFS
5690 shift
5691 ac_file=$1
5692 shift
5694 case $ac_mode in
5695 :L) ac_source=$1;;
5696 :[FH])
5697 ac_file_inputs=
5698 for ac_f
5700 case $ac_f in
5701 -) ac_f="$ac_tmp/stdin";;
5702 *) # Look for the file first in the build tree, then in the source tree
5703 # (if the path is not absolute). The absolute path cannot be DOS-style,
5704 # because $ac_f cannot contain `:'.
5705 test -f "$ac_f" ||
5706 case $ac_f in
5707 [\\/$]*) false;;
5708 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5709 esac ||
5710 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5711 esac
5712 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5713 as_fn_append ac_file_inputs " '$ac_f'"
5714 done
5716 # Let's still pretend it is `configure' which instantiates (i.e., don't
5717 # use $as_me), people would be surprised to read:
5718 # /* config.h. Generated by config.status. */
5719 configure_input='Generated from '`
5720 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5721 `' by configure.'
5722 if test x"$ac_file" != x-; then
5723 configure_input="$ac_file. $configure_input"
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5725 $as_echo "$as_me: creating $ac_file" >&6;}
5727 # Neutralize special characters interpreted by sed in replacement strings.
5728 case $configure_input in #(
5729 *\&* | *\|* | *\\* )
5730 ac_sed_conf_input=`$as_echo "$configure_input" |
5731 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5732 *) ac_sed_conf_input=$configure_input;;
5733 esac
5735 case $ac_tag in
5736 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5737 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5738 esac
5740 esac
5742 ac_dir=`$as_dirname -- "$ac_file" ||
5743 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5744 X"$ac_file" : 'X\(//\)[^/]' \| \
5745 X"$ac_file" : 'X\(//\)$' \| \
5746 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5747 $as_echo X"$ac_file" |
5748 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5749 s//\1/
5752 /^X\(\/\/\)[^/].*/{
5753 s//\1/
5756 /^X\(\/\/\)$/{
5757 s//\1/
5760 /^X\(\/\).*/{
5761 s//\1/
5764 s/.*/./; q'`
5765 as_dir="$ac_dir"; as_fn_mkdir_p
5766 ac_builddir=.
5768 case "$ac_dir" in
5769 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5771 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5772 # A ".." for each directory in $ac_dir_suffix.
5773 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5774 case $ac_top_builddir_sub in
5775 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5776 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5777 esac ;;
5778 esac
5779 ac_abs_top_builddir=$ac_pwd
5780 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5781 # for backward compatibility:
5782 ac_top_builddir=$ac_top_build_prefix
5784 case $srcdir in
5785 .) # We are building in place.
5786 ac_srcdir=.
5787 ac_top_srcdir=$ac_top_builddir_sub
5788 ac_abs_top_srcdir=$ac_pwd ;;
5789 [\\/]* | ?:[\\/]* ) # Absolute name.
5790 ac_srcdir=$srcdir$ac_dir_suffix;
5791 ac_top_srcdir=$srcdir
5792 ac_abs_top_srcdir=$srcdir ;;
5793 *) # Relative name.
5794 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5795 ac_top_srcdir=$ac_top_build_prefix$srcdir
5796 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5797 esac
5798 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5801 case $ac_mode in
5804 # CONFIG_FILE
5807 _ACEOF
5809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5810 # If the template does not know about datarootdir, expand it.
5811 # FIXME: This hack should be removed a few years after 2.60.
5812 ac_datarootdir_hack=; ac_datarootdir_seen=
5813 ac_sed_dataroot='
5814 /datarootdir/ {
5818 /@datadir@/p
5819 /@docdir@/p
5820 /@infodir@/p
5821 /@localedir@/p
5822 /@mandir@/p'
5823 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5824 *datarootdir*) ac_datarootdir_seen=yes;;
5825 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5827 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5828 _ACEOF
5829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5830 ac_datarootdir_hack='
5831 s&@datadir@&$datadir&g
5832 s&@docdir@&$docdir&g
5833 s&@infodir@&$infodir&g
5834 s&@localedir@&$localedir&g
5835 s&@mandir@&$mandir&g
5836 s&\\\${datarootdir}&$datarootdir&g' ;;
5837 esac
5838 _ACEOF
5840 # Neutralize VPATH when `$srcdir' = `.'.
5841 # Shell code in configure.ac might set extrasub.
5842 # FIXME: do we really want to maintain this feature?
5843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5844 ac_sed_extra="$ac_vpsub
5845 $extrasub
5846 _ACEOF
5847 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5849 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5850 s|@configure_input@|$ac_sed_conf_input|;t t
5851 s&@top_builddir@&$ac_top_builddir_sub&;t t
5852 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5853 s&@srcdir@&$ac_srcdir&;t t
5854 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5855 s&@top_srcdir@&$ac_top_srcdir&;t t
5856 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5857 s&@builddir@&$ac_builddir&;t t
5858 s&@abs_builddir@&$ac_abs_builddir&;t t
5859 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5860 $ac_datarootdir_hack
5862 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5863 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5865 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5866 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5867 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5868 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5870 which seems to be undefined. Please make sure it is defined" >&5
5871 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5872 which seems to be undefined. Please make sure it is defined" >&2;}
5874 rm -f "$ac_tmp/stdin"
5875 case $ac_file in
5876 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5877 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5878 esac \
5879 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5884 esac
5886 done # for ac_tag
5889 as_fn_exit 0
5890 _ACEOF
5891 ac_clean_files=$ac_clean_files_save
5893 test $ac_write_fail = 0 ||
5894 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5897 # configure is writing to config.log, and then calls config.status.
5898 # config.status does its own redirection, appending to config.log.
5899 # Unfortunately, on DOS this fails, as config.log is still kept open
5900 # by configure, so config.status won't be able to write to it; its
5901 # output is simply discarded. So we exec the FD to /dev/null,
5902 # effectively closing config.log, so it can be properly (re)opened and
5903 # appended to by config.status. When coming back to configure, we
5904 # need to make the FD available again.
5905 if test "$no_create" != yes; then
5906 ac_cs_success=:
5907 ac_config_status_args=
5908 test "$silent" = yes &&
5909 ac_config_status_args="$ac_config_status_args --quiet"
5910 exec 5>/dev/null
5911 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5912 exec 5>>config.log
5913 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5914 # would make configure fail if this is the last instruction.
5915 $ac_cs_success || as_fn_exit 1
5917 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5919 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}