query -Werror. export the WARN_ flags.
[AROS.git] / config / features
blob07c7d488a0366c919d91b2e2554e996cc7f2dbda
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_nowarnflags_error
702 aros_warnflags_error
703 aros_cflags_no_red_zone
704 aros_cflags_iquote_end
705 aros_cflags_iquote
706 aros_cflags_nostrictaliasing
707 aros_cflags_strictaliasing
708 aros_cflags_unroll_loops
709 aros_cflags_peel_loops
710 aros_cflags_loop_strip_mine
711 aros_cflags_loop_interchange
712 aros_cflags_loop_block
713 aros_cflags_whole_program
714 aros_cflags_nolto
715 aros_cflags_lto
716 aros_cflags_no_builtin_floor
717 aros_cflags_fast_math
718 aros_cflags_permissive
719 OBJEXT
720 EXEEXT
721 ac_ct_CC
722 CPPFLAGS
723 LDFLAGS
724 CFLAGS
726 target_alias
727 host_alias
728 build_alias
729 LIBS
730 ECHO_T
731 ECHO_N
732 ECHO_C
733 DEFS
734 mandir
735 localedir
736 libdir
737 psdir
738 pdfdir
739 dvidir
740 htmldir
741 infodir
742 docdir
743 oldincludedir
744 includedir
745 localstatedir
746 sharedstatedir
747 sysconfdir
748 datadir
749 datarootdir
750 libexecdir
751 sbindir
752 bindir
753 program_transform_name
754 prefix
755 exec_prefix
756 PACKAGE_URL
757 PACKAGE_BUGREPORT
758 PACKAGE_STRING
759 PACKAGE_VERSION
760 PACKAGE_TARNAME
761 PACKAGE_NAME
762 PATH_SEPARATOR
763 SHELL'
764 ac_subst_files=''
765 ac_user_opts='
766 enable_option_checking
767 with_config_dir
769 ac_precious_vars='build_alias
770 host_alias
771 target_alias
773 CFLAGS
774 LDFLAGS
775 LIBS
776 CPPFLAGS'
779 # Initialize some variables set by options.
780 ac_init_help=
781 ac_init_version=false
782 ac_unrecognized_opts=
783 ac_unrecognized_sep=
784 # The variables have the same names as the options, with
785 # dashes changed to underlines.
786 cache_file=/dev/null
787 exec_prefix=NONE
788 no_create=
789 no_recursion=
790 prefix=NONE
791 program_prefix=NONE
792 program_suffix=NONE
793 program_transform_name=s,x,x,
794 silent=
795 site=
796 srcdir=
797 verbose=
798 x_includes=NONE
799 x_libraries=NONE
801 # Installation directory options.
802 # These are left unexpanded so users can "make install exec_prefix=/foo"
803 # and all the variables that are supposed to be based on exec_prefix
804 # by default will actually change.
805 # Use braces instead of parens because sh, perl, etc. also accept them.
806 # (The list follows the same order as the GNU Coding Standards.)
807 bindir='${exec_prefix}/bin'
808 sbindir='${exec_prefix}/sbin'
809 libexecdir='${exec_prefix}/libexec'
810 datarootdir='${prefix}/share'
811 datadir='${datarootdir}'
812 sysconfdir='${prefix}/etc'
813 sharedstatedir='${prefix}/com'
814 localstatedir='${prefix}/var'
815 includedir='${prefix}/include'
816 oldincludedir='/usr/include'
817 docdir='${datarootdir}/doc/${PACKAGE}'
818 infodir='${datarootdir}/info'
819 htmldir='${docdir}'
820 dvidir='${docdir}'
821 pdfdir='${docdir}'
822 psdir='${docdir}'
823 libdir='${exec_prefix}/lib'
824 localedir='${datarootdir}/locale'
825 mandir='${datarootdir}/man'
827 ac_prev=
828 ac_dashdash=
829 for ac_option
831 # If the previous option needs an argument, assign it.
832 if test -n "$ac_prev"; then
833 eval $ac_prev=\$ac_option
834 ac_prev=
835 continue
838 case $ac_option in
839 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
840 *=) ac_optarg= ;;
841 *) ac_optarg=yes ;;
842 esac
844 # Accept the important Cygnus configure options, so we can diagnose typos.
846 case $ac_dashdash$ac_option in
848 ac_dashdash=yes ;;
850 -bindir | --bindir | --bindi | --bind | --bin | --bi)
851 ac_prev=bindir ;;
852 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
853 bindir=$ac_optarg ;;
855 -build | --build | --buil | --bui | --bu)
856 ac_prev=build_alias ;;
857 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
858 build_alias=$ac_optarg ;;
860 -cache-file | --cache-file | --cache-fil | --cache-fi \
861 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
862 ac_prev=cache_file ;;
863 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
864 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
865 cache_file=$ac_optarg ;;
867 --config-cache | -C)
868 cache_file=config.cache ;;
870 -datadir | --datadir | --datadi | --datad)
871 ac_prev=datadir ;;
872 -datadir=* | --datadir=* | --datadi=* | --datad=*)
873 datadir=$ac_optarg ;;
875 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
876 | --dataroo | --dataro | --datar)
877 ac_prev=datarootdir ;;
878 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
879 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
880 datarootdir=$ac_optarg ;;
882 -disable-* | --disable-*)
883 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
886 as_fn_error $? "invalid feature name: $ac_useropt"
887 ac_useropt_orig=$ac_useropt
888 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
891 "enable_$ac_useropt"
892 "*) ;;
893 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
894 ac_unrecognized_sep=', ';;
895 esac
896 eval enable_$ac_useropt=no ;;
898 -docdir | --docdir | --docdi | --doc | --do)
899 ac_prev=docdir ;;
900 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
901 docdir=$ac_optarg ;;
903 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
904 ac_prev=dvidir ;;
905 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
906 dvidir=$ac_optarg ;;
908 -enable-* | --enable-*)
909 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
910 # Reject names that are not valid shell variable names.
911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
912 as_fn_error $? "invalid feature name: $ac_useropt"
913 ac_useropt_orig=$ac_useropt
914 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915 case $ac_user_opts in
917 "enable_$ac_useropt"
918 "*) ;;
919 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
920 ac_unrecognized_sep=', ';;
921 esac
922 eval enable_$ac_useropt=\$ac_optarg ;;
924 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926 | --exec | --exe | --ex)
927 ac_prev=exec_prefix ;;
928 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930 | --exec=* | --exe=* | --ex=*)
931 exec_prefix=$ac_optarg ;;
933 -gas | --gas | --ga | --g)
934 # Obsolete; use --with-gas.
935 with_gas=yes ;;
937 -help | --help | --hel | --he | -h)
938 ac_init_help=long ;;
939 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940 ac_init_help=recursive ;;
941 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942 ac_init_help=short ;;
944 -host | --host | --hos | --ho)
945 ac_prev=host_alias ;;
946 -host=* | --host=* | --hos=* | --ho=*)
947 host_alias=$ac_optarg ;;
949 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
950 ac_prev=htmldir ;;
951 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
952 | --ht=*)
953 htmldir=$ac_optarg ;;
955 -includedir | --includedir | --includedi | --included | --include \
956 | --includ | --inclu | --incl | --inc)
957 ac_prev=includedir ;;
958 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959 | --includ=* | --inclu=* | --incl=* | --inc=*)
960 includedir=$ac_optarg ;;
962 -infodir | --infodir | --infodi | --infod | --info | --inf)
963 ac_prev=infodir ;;
964 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965 infodir=$ac_optarg ;;
967 -libdir | --libdir | --libdi | --libd)
968 ac_prev=libdir ;;
969 -libdir=* | --libdir=* | --libdi=* | --libd=*)
970 libdir=$ac_optarg ;;
972 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973 | --libexe | --libex | --libe)
974 ac_prev=libexecdir ;;
975 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976 | --libexe=* | --libex=* | --libe=*)
977 libexecdir=$ac_optarg ;;
979 -localedir | --localedir | --localedi | --localed | --locale)
980 ac_prev=localedir ;;
981 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982 localedir=$ac_optarg ;;
984 -localstatedir | --localstatedir | --localstatedi | --localstated \
985 | --localstate | --localstat | --localsta | --localst | --locals)
986 ac_prev=localstatedir ;;
987 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989 localstatedir=$ac_optarg ;;
991 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
992 ac_prev=mandir ;;
993 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
994 mandir=$ac_optarg ;;
996 -nfp | --nfp | --nf)
997 # Obsolete; use --without-fp.
998 with_fp=no ;;
1000 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001 | --no-cr | --no-c | -n)
1002 no_create=yes ;;
1004 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006 no_recursion=yes ;;
1008 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010 | --oldin | --oldi | --old | --ol | --o)
1011 ac_prev=oldincludedir ;;
1012 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015 oldincludedir=$ac_optarg ;;
1017 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1018 ac_prev=prefix ;;
1019 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020 prefix=$ac_optarg ;;
1022 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023 | --program-pre | --program-pr | --program-p)
1024 ac_prev=program_prefix ;;
1025 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027 program_prefix=$ac_optarg ;;
1029 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030 | --program-suf | --program-su | --program-s)
1031 ac_prev=program_suffix ;;
1032 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034 program_suffix=$ac_optarg ;;
1036 -program-transform-name | --program-transform-name \
1037 | --program-transform-nam | --program-transform-na \
1038 | --program-transform-n | --program-transform- \
1039 | --program-transform | --program-transfor \
1040 | --program-transfo | --program-transf \
1041 | --program-trans | --program-tran \
1042 | --progr-tra | --program-tr | --program-t)
1043 ac_prev=program_transform_name ;;
1044 -program-transform-name=* | --program-transform-name=* \
1045 | --program-transform-nam=* | --program-transform-na=* \
1046 | --program-transform-n=* | --program-transform-=* \
1047 | --program-transform=* | --program-transfor=* \
1048 | --program-transfo=* | --program-transf=* \
1049 | --program-trans=* | --program-tran=* \
1050 | --progr-tra=* | --program-tr=* | --program-t=*)
1051 program_transform_name=$ac_optarg ;;
1053 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1054 ac_prev=pdfdir ;;
1055 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056 pdfdir=$ac_optarg ;;
1058 -psdir | --psdir | --psdi | --psd | --ps)
1059 ac_prev=psdir ;;
1060 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061 psdir=$ac_optarg ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1065 silent=yes ;;
1067 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1068 ac_prev=sbindir ;;
1069 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1070 | --sbi=* | --sb=*)
1071 sbindir=$ac_optarg ;;
1073 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075 | --sharedst | --shareds | --shared | --share | --shar \
1076 | --sha | --sh)
1077 ac_prev=sharedstatedir ;;
1078 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1081 | --sha=* | --sh=*)
1082 sharedstatedir=$ac_optarg ;;
1084 -site | --site | --sit)
1085 ac_prev=site ;;
1086 -site=* | --site=* | --sit=*)
1087 site=$ac_optarg ;;
1089 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1090 ac_prev=srcdir ;;
1091 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092 srcdir=$ac_optarg ;;
1094 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095 | --syscon | --sysco | --sysc | --sys | --sy)
1096 ac_prev=sysconfdir ;;
1097 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099 sysconfdir=$ac_optarg ;;
1101 -target | --target | --targe | --targ | --tar | --ta | --t)
1102 ac_prev=target_alias ;;
1103 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104 target_alias=$ac_optarg ;;
1106 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107 verbose=yes ;;
1109 -version | --version | --versio | --versi | --vers | -V)
1110 ac_init_version=: ;;
1112 -with-* | --with-*)
1113 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116 as_fn_error $? "invalid package name: $ac_useropt"
1117 ac_useropt_orig=$ac_useropt
1118 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1121 "with_$ac_useropt"
1122 "*) ;;
1123 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1124 ac_unrecognized_sep=', ';;
1125 esac
1126 eval with_$ac_useropt=\$ac_optarg ;;
1128 -without-* | --without-*)
1129 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1132 as_fn_error $? "invalid package name: $ac_useropt"
1133 ac_useropt_orig=$ac_useropt
1134 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135 case $ac_user_opts in
1137 "with_$ac_useropt"
1138 "*) ;;
1139 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1140 ac_unrecognized_sep=', ';;
1141 esac
1142 eval with_$ac_useropt=no ;;
1144 --x)
1145 # Obsolete; use --with-x.
1146 with_x=yes ;;
1148 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1149 | --x-incl | --x-inc | --x-in | --x-i)
1150 ac_prev=x_includes ;;
1151 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1152 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1153 x_includes=$ac_optarg ;;
1155 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1156 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1157 ac_prev=x_libraries ;;
1158 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1159 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1160 x_libraries=$ac_optarg ;;
1162 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1163 Try \`$0 --help' for more information"
1166 *=*)
1167 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1168 # Reject names that are not valid shell variable names.
1169 case $ac_envvar in #(
1170 '' | [0-9]* | *[!_$as_cr_alnum]* )
1171 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1172 esac
1173 eval $ac_envvar=\$ac_optarg
1174 export $ac_envvar ;;
1177 # FIXME: should be removed in autoconf 3.0.
1178 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1179 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1180 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1181 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1184 esac
1185 done
1187 if test -n "$ac_prev"; then
1188 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1189 as_fn_error $? "missing argument to $ac_option"
1192 if test -n "$ac_unrecognized_opts"; then
1193 case $enable_option_checking in
1194 no) ;;
1195 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1196 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1197 esac
1200 # Check all directory arguments for consistency.
1201 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1202 datadir sysconfdir sharedstatedir localstatedir includedir \
1203 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1204 libdir localedir mandir
1206 eval ac_val=\$$ac_var
1207 # Remove trailing slashes.
1208 case $ac_val in
1209 */ )
1210 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1211 eval $ac_var=\$ac_val;;
1212 esac
1213 # Be sure to have absolute directory names.
1214 case $ac_val in
1215 [\\/$]* | ?:[\\/]* ) continue;;
1216 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1217 esac
1218 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1219 done
1221 # There might be people who depend on the old broken behavior: `$host'
1222 # used to hold the argument of --host etc.
1223 # FIXME: To remove some day.
1224 build=$build_alias
1225 host=$host_alias
1226 target=$target_alias
1228 # FIXME: To remove some day.
1229 if test "x$host_alias" != x; then
1230 if test "x$build_alias" = x; then
1231 cross_compiling=maybe
1232 elif test "x$build_alias" != "x$host_alias"; then
1233 cross_compiling=yes
1237 ac_tool_prefix=
1238 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1240 test "$silent" = yes && exec 6>/dev/null
1243 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1244 ac_ls_di=`ls -di .` &&
1245 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1246 as_fn_error $? "working directory cannot be determined"
1247 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1248 as_fn_error $? "pwd does not report name of working directory"
1251 # Find the source files, if location was not specified.
1252 if test -z "$srcdir"; then
1253 ac_srcdir_defaulted=yes
1254 # Try the directory containing this script, then the parent directory.
1255 ac_confdir=`$as_dirname -- "$as_myself" ||
1256 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1257 X"$as_myself" : 'X\(//\)[^/]' \| \
1258 X"$as_myself" : 'X\(//\)$' \| \
1259 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1260 $as_echo X"$as_myself" |
1261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1262 s//\1/
1265 /^X\(\/\/\)[^/].*/{
1266 s//\1/
1269 /^X\(\/\/\)$/{
1270 s//\1/
1273 /^X\(\/\).*/{
1274 s//\1/
1277 s/.*/./; q'`
1278 srcdir=$ac_confdir
1279 if test ! -r "$srcdir/$ac_unique_file"; then
1280 srcdir=..
1282 else
1283 ac_srcdir_defaulted=no
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1286 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1287 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1289 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1290 ac_abs_confdir=`(
1291 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1292 pwd)`
1293 # When building in place, set srcdir=.
1294 if test "$ac_abs_confdir" = "$ac_pwd"; then
1295 srcdir=.
1297 # Remove unnecessary trailing slashes from srcdir.
1298 # Double slashes in file names in object file debugging info
1299 # mess up M-x gdb in Emacs.
1300 case $srcdir in
1301 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1302 esac
1303 for ac_var in $ac_precious_vars; do
1304 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1305 eval ac_env_${ac_var}_value=\$${ac_var}
1306 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1307 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1308 done
1311 # Report the --help message.
1313 if test "$ac_init_help" = "long"; then
1314 # Omit some internal or obsolete options to make the list less imposing.
1315 # This message is too long to be a string in the A/UX 3.1 sh.
1316 cat <<_ACEOF
1317 \`configure' configures this package to adapt to many kinds of systems.
1319 Usage: $0 [OPTION]... [VAR=VALUE]...
1321 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1322 VAR=VALUE. See below for descriptions of some of the useful variables.
1324 Defaults for the options are specified in brackets.
1326 Configuration:
1327 -h, --help display this help and exit
1328 --help=short display options specific to this package
1329 --help=recursive display the short help of all the included packages
1330 -V, --version display version information and exit
1331 -q, --quiet, --silent do not print \`checking ...' messages
1332 --cache-file=FILE cache test results in FILE [disabled]
1333 -C, --config-cache alias for \`--cache-file=config.cache'
1334 -n, --no-create do not create output files
1335 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1337 Installation directories:
1338 --prefix=PREFIX install architecture-independent files in PREFIX
1339 [$ac_default_prefix]
1340 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1341 [PREFIX]
1343 By default, \`make install' will install all the files in
1344 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1345 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1346 for instance \`--prefix=\$HOME'.
1348 For better control, use the options below.
1350 Fine tuning of the installation directories:
1351 --bindir=DIR user executables [EPREFIX/bin]
1352 --sbindir=DIR system admin executables [EPREFIX/sbin]
1353 --libexecdir=DIR program executables [EPREFIX/libexec]
1354 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1355 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1356 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1357 --libdir=DIR object code libraries [EPREFIX/lib]
1358 --includedir=DIR C header files [PREFIX/include]
1359 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1360 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1361 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1362 --infodir=DIR info documentation [DATAROOTDIR/info]
1363 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1364 --mandir=DIR man documentation [DATAROOTDIR/man]
1365 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1366 --htmldir=DIR html documentation [DOCDIR]
1367 --dvidir=DIR dvi documentation [DOCDIR]
1368 --pdfdir=DIR pdf documentation [DOCDIR]
1369 --psdir=DIR ps documentation [DOCDIR]
1370 _ACEOF
1372 cat <<\_ACEOF
1373 _ACEOF
1376 if test -n "$ac_init_help"; then
1378 cat <<\_ACEOF
1380 Optional Packages:
1381 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1382 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1383 --with-config-dir=VERSION
1384 Location of generated target config files
1386 Some influential environment variables:
1387 CC C compiler command
1388 CFLAGS C compiler flags
1389 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1390 nonstandard directory <lib dir>
1391 LIBS libraries to pass to the linker, e.g. -l<library>
1392 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1393 you have headers in a nonstandard directory <include dir>
1395 Use these variables to override the choices made by `configure' or to help
1396 it to find libraries and programs with nonstandard names/locations.
1398 Report bugs to the package provider.
1399 _ACEOF
1400 ac_status=$?
1403 if test "$ac_init_help" = "recursive"; then
1404 # If there are subdirs, report their specific --help.
1405 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1406 test -d "$ac_dir" ||
1407 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1408 continue
1409 ac_builddir=.
1411 case "$ac_dir" in
1412 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1414 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1415 # A ".." for each directory in $ac_dir_suffix.
1416 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1417 case $ac_top_builddir_sub in
1418 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1419 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1420 esac ;;
1421 esac
1422 ac_abs_top_builddir=$ac_pwd
1423 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1424 # for backward compatibility:
1425 ac_top_builddir=$ac_top_build_prefix
1427 case $srcdir in
1428 .) # We are building in place.
1429 ac_srcdir=.
1430 ac_top_srcdir=$ac_top_builddir_sub
1431 ac_abs_top_srcdir=$ac_pwd ;;
1432 [\\/]* | ?:[\\/]* ) # Absolute name.
1433 ac_srcdir=$srcdir$ac_dir_suffix;
1434 ac_top_srcdir=$srcdir
1435 ac_abs_top_srcdir=$srcdir ;;
1436 *) # Relative name.
1437 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1438 ac_top_srcdir=$ac_top_build_prefix$srcdir
1439 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1440 esac
1441 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1443 cd "$ac_dir" || { ac_status=$?; continue; }
1444 # Check for guested configure.
1445 if test -f "$ac_srcdir/configure.gnu"; then
1446 echo &&
1447 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1448 elif test -f "$ac_srcdir/configure"; then
1449 echo &&
1450 $SHELL "$ac_srcdir/configure" --help=recursive
1451 else
1452 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1453 fi || ac_status=$?
1454 cd "$ac_pwd" || { ac_status=$?; break; }
1455 done
1458 test -n "$ac_init_help" && exit $ac_status
1459 if $ac_init_version; then
1460 cat <<\_ACEOF
1461 configure
1462 generated by GNU Autoconf 2.69
1464 Copyright (C) 2012 Free Software Foundation, Inc.
1465 This configure script is free software; the Free Software Foundation
1466 gives unlimited permission to copy, distribute and modify it.
1467 _ACEOF
1468 exit
1471 ## ------------------------ ##
1472 ## Autoconf initialization. ##
1473 ## ------------------------ ##
1475 # ac_fn_c_try_compile LINENO
1476 # --------------------------
1477 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1478 ac_fn_c_try_compile ()
1480 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1481 rm -f conftest.$ac_objext
1482 if { { ac_try="$ac_compile"
1483 case "(($ac_try" in
1484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1485 *) ac_try_echo=$ac_try;;
1486 esac
1487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1488 $as_echo "$ac_try_echo"; } >&5
1489 (eval "$ac_compile") 2>conftest.err
1490 ac_status=$?
1491 if test -s conftest.err; then
1492 grep -v '^ *+' conftest.err >conftest.er1
1493 cat conftest.er1 >&5
1494 mv -f conftest.er1 conftest.err
1496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1497 test $ac_status = 0; } && {
1498 test -z "$ac_c_werror_flag" ||
1499 test ! -s conftest.err
1500 } && test -s conftest.$ac_objext; then :
1501 ac_retval=0
1502 else
1503 $as_echo "$as_me: failed program was:" >&5
1504 sed 's/^/| /' conftest.$ac_ext >&5
1506 ac_retval=1
1508 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1509 as_fn_set_status $ac_retval
1511 } # ac_fn_c_try_compile
1512 cat >config.log <<_ACEOF
1513 This file contains any messages produced by compilers while
1514 running configure, to aid debugging if configure makes a mistake.
1516 It was created by $as_me, which was
1517 generated by GNU Autoconf 2.69. Invocation command line was
1519 $ $0 $@
1521 _ACEOF
1522 exec 5>>config.log
1524 cat <<_ASUNAME
1525 ## --------- ##
1526 ## Platform. ##
1527 ## --------- ##
1529 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1530 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1531 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1532 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1533 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1535 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1536 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1538 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1539 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1540 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1541 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1542 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1543 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1544 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1546 _ASUNAME
1548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1549 for as_dir in $PATH
1551 IFS=$as_save_IFS
1552 test -z "$as_dir" && as_dir=.
1553 $as_echo "PATH: $as_dir"
1554 done
1555 IFS=$as_save_IFS
1557 } >&5
1559 cat >&5 <<_ACEOF
1562 ## ----------- ##
1563 ## Core tests. ##
1564 ## ----------- ##
1566 _ACEOF
1569 # Keep a trace of the command line.
1570 # Strip out --no-create and --no-recursion so they do not pile up.
1571 # Strip out --silent because we don't want to record it for future runs.
1572 # Also quote any args containing shell meta-characters.
1573 # Make two passes to allow for proper duplicate-argument suppression.
1574 ac_configure_args=
1575 ac_configure_args0=
1576 ac_configure_args1=
1577 ac_must_keep_next=false
1578 for ac_pass in 1 2
1580 for ac_arg
1582 case $ac_arg in
1583 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1584 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1585 | -silent | --silent | --silen | --sile | --sil)
1586 continue ;;
1587 *\'*)
1588 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1589 esac
1590 case $ac_pass in
1591 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1593 as_fn_append ac_configure_args1 " '$ac_arg'"
1594 if test $ac_must_keep_next = true; then
1595 ac_must_keep_next=false # Got value, back to normal.
1596 else
1597 case $ac_arg in
1598 *=* | --config-cache | -C | -disable-* | --disable-* \
1599 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1600 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1601 | -with-* | --with-* | -without-* | --without-* | --x)
1602 case "$ac_configure_args0 " in
1603 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1604 esac
1606 -* ) ac_must_keep_next=true ;;
1607 esac
1609 as_fn_append ac_configure_args " '$ac_arg'"
1611 esac
1612 done
1613 done
1614 { ac_configure_args0=; unset ac_configure_args0;}
1615 { ac_configure_args1=; unset ac_configure_args1;}
1617 # When interrupted or exit'd, cleanup temporary files, and complete
1618 # config.log. We remove comments because anyway the quotes in there
1619 # would cause problems or look ugly.
1620 # WARNING: Use '\'' to represent an apostrophe within the trap.
1621 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1622 trap 'exit_status=$?
1623 # Save into config.log some information that might help in debugging.
1625 echo
1627 $as_echo "## ---------------- ##
1628 ## Cache variables. ##
1629 ## ---------------- ##"
1630 echo
1631 # The following way of writing the cache mishandles newlines in values,
1633 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1634 eval ac_val=\$$ac_var
1635 case $ac_val in #(
1636 *${as_nl}*)
1637 case $ac_var in #(
1638 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1639 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1640 esac
1641 case $ac_var in #(
1642 _ | IFS | as_nl) ;; #(
1643 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1644 *) { eval $ac_var=; unset $ac_var;} ;;
1645 esac ;;
1646 esac
1647 done
1648 (set) 2>&1 |
1649 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1650 *${as_nl}ac_space=\ *)
1651 sed -n \
1652 "s/'\''/'\''\\\\'\'''\''/g;
1653 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1654 ;; #(
1656 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1658 esac |
1659 sort
1661 echo
1663 $as_echo "## ----------------- ##
1664 ## Output variables. ##
1665 ## ----------------- ##"
1666 echo
1667 for ac_var in $ac_subst_vars
1669 eval ac_val=\$$ac_var
1670 case $ac_val in
1671 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1672 esac
1673 $as_echo "$ac_var='\''$ac_val'\''"
1674 done | sort
1675 echo
1677 if test -n "$ac_subst_files"; then
1678 $as_echo "## ------------------- ##
1679 ## File substitutions. ##
1680 ## ------------------- ##"
1681 echo
1682 for ac_var in $ac_subst_files
1684 eval ac_val=\$$ac_var
1685 case $ac_val in
1686 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1687 esac
1688 $as_echo "$ac_var='\''$ac_val'\''"
1689 done | sort
1690 echo
1693 if test -s confdefs.h; then
1694 $as_echo "## ----------- ##
1695 ## confdefs.h. ##
1696 ## ----------- ##"
1697 echo
1698 cat confdefs.h
1699 echo
1701 test "$ac_signal" != 0 &&
1702 $as_echo "$as_me: caught signal $ac_signal"
1703 $as_echo "$as_me: exit $exit_status"
1704 } >&5
1705 rm -f core *.core core.conftest.* &&
1706 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1707 exit $exit_status
1709 for ac_signal in 1 2 13 15; do
1710 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1711 done
1712 ac_signal=0
1714 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1715 rm -f -r conftest* confdefs.h
1717 $as_echo "/* confdefs.h */" > confdefs.h
1719 # Predefined preprocessor variables.
1721 cat >>confdefs.h <<_ACEOF
1722 #define PACKAGE_NAME "$PACKAGE_NAME"
1723 _ACEOF
1725 cat >>confdefs.h <<_ACEOF
1726 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1727 _ACEOF
1729 cat >>confdefs.h <<_ACEOF
1730 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1731 _ACEOF
1733 cat >>confdefs.h <<_ACEOF
1734 #define PACKAGE_STRING "$PACKAGE_STRING"
1735 _ACEOF
1737 cat >>confdefs.h <<_ACEOF
1738 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1739 _ACEOF
1741 cat >>confdefs.h <<_ACEOF
1742 #define PACKAGE_URL "$PACKAGE_URL"
1743 _ACEOF
1746 # Let the site file select an alternate cache file if it wants to.
1747 # Prefer an explicitly selected file to automatically selected ones.
1748 ac_site_file1=NONE
1749 ac_site_file2=NONE
1750 if test -n "$CONFIG_SITE"; then
1751 # We do not want a PATH search for config.site.
1752 case $CONFIG_SITE in #((
1753 -*) ac_site_file1=./$CONFIG_SITE;;
1754 */*) ac_site_file1=$CONFIG_SITE;;
1755 *) ac_site_file1=./$CONFIG_SITE;;
1756 esac
1757 elif test "x$prefix" != xNONE; then
1758 ac_site_file1=$prefix/share/config.site
1759 ac_site_file2=$prefix/etc/config.site
1760 else
1761 ac_site_file1=$ac_default_prefix/share/config.site
1762 ac_site_file2=$ac_default_prefix/etc/config.site
1764 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1766 test "x$ac_site_file" = xNONE && continue
1767 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1769 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1770 sed 's/^/| /' "$ac_site_file" >&5
1771 . "$ac_site_file" \
1772 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1774 as_fn_error $? "failed to load site script $ac_site_file
1775 See \`config.log' for more details" "$LINENO" 5; }
1777 done
1779 if test -r "$cache_file"; then
1780 # Some versions of bash will fail to source /dev/null (special files
1781 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1782 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1784 $as_echo "$as_me: loading cache $cache_file" >&6;}
1785 case $cache_file in
1786 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1787 *) . "./$cache_file";;
1788 esac
1790 else
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1792 $as_echo "$as_me: creating cache $cache_file" >&6;}
1793 >$cache_file
1796 # Check that the precious variables saved in the cache have kept the same
1797 # value.
1798 ac_cache_corrupted=false
1799 for ac_var in $ac_precious_vars; do
1800 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1801 eval ac_new_set=\$ac_env_${ac_var}_set
1802 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1803 eval ac_new_val=\$ac_env_${ac_var}_value
1804 case $ac_old_set,$ac_new_set in
1805 set,)
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1807 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1808 ac_cache_corrupted=: ;;
1809 ,set)
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1811 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1812 ac_cache_corrupted=: ;;
1813 ,);;
1815 if test "x$ac_old_val" != "x$ac_new_val"; then
1816 # differences in whitespace do not lead to failure.
1817 ac_old_val_w=`echo x $ac_old_val`
1818 ac_new_val_w=`echo x $ac_new_val`
1819 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1821 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1822 ac_cache_corrupted=:
1823 else
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1825 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1826 eval $ac_var=\$ac_old_val
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1829 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1831 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1832 fi;;
1833 esac
1834 # Pass precious variables to config.status.
1835 if test "$ac_new_set" = set; then
1836 case $ac_new_val in
1837 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1838 *) ac_arg=$ac_var=$ac_new_val ;;
1839 esac
1840 case " $ac_configure_args " in
1841 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1842 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1843 esac
1845 done
1846 if $ac_cache_corrupted; then
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1850 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1851 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1853 ## -------------------- ##
1854 ## Main body of script. ##
1855 ## -------------------- ##
1857 ac_ext=c
1858 ac_cpp='$CPP $CPPFLAGS'
1859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1865 ac_aux_dir=
1866 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1867 if 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/install.sh"; then
1872 ac_aux_dir=$ac_dir
1873 ac_install_sh="$ac_aux_dir/install.sh -c"
1874 break
1875 elif test -f "$ac_dir/shtool"; then
1876 ac_aux_dir=$ac_dir
1877 ac_install_sh="$ac_aux_dir/shtool install -c"
1878 break
1880 done
1881 if test -z "$ac_aux_dir"; then
1882 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1885 # These three variables are undocumented and unsupported,
1886 # and are intended to be withdrawn in a future Autoconf release.
1887 # They can cause serious problems if a builder's source tree is in a directory
1888 # whose full name contains unusual characters.
1889 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1890 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1891 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1895 AROS_BUILDDIR=`${PWDCMD-pwd}`
1896 AROS_BUILDDIR_UNIX=${PWD}
1898 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1899 SRCDIR=${srcpwd}
1901 NOLINKFLAGS="-nostdlib -nostartfiles"
1902 LDFLAGS=$NOLINKFLAGS
1903 # The first step is to find the binaries.
1904 ac_ext=c
1905 ac_cpp='$CPP $CPPFLAGS'
1906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1909 if test -n "$ac_tool_prefix"; then
1910 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1911 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1913 $as_echo_n "checking for $ac_word... " >&6; }
1914 if ${ac_cv_prog_CC+:} false; then :
1915 $as_echo_n "(cached) " >&6
1916 else
1917 if test -n "$CC"; then
1918 ac_cv_prog_CC="$CC" # Let the user override the test.
1919 else
1920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1921 for as_dir in $PATH
1923 IFS=$as_save_IFS
1924 test -z "$as_dir" && as_dir=.
1925 for ac_exec_ext in '' $ac_executable_extensions; do
1926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1927 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1929 break 2
1931 done
1932 done
1933 IFS=$as_save_IFS
1937 CC=$ac_cv_prog_CC
1938 if test -n "$CC"; then
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1940 $as_echo "$CC" >&6; }
1941 else
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1943 $as_echo "no" >&6; }
1948 if test -z "$ac_cv_prog_CC"; then
1949 ac_ct_CC=$CC
1950 # Extract the first word of "gcc", so it can be a program name with args.
1951 set dummy gcc; ac_word=$2
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1953 $as_echo_n "checking for $ac_word... " >&6; }
1954 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1955 $as_echo_n "(cached) " >&6
1956 else
1957 if test -n "$ac_ct_CC"; then
1958 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1959 else
1960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1961 for as_dir in $PATH
1963 IFS=$as_save_IFS
1964 test -z "$as_dir" && as_dir=.
1965 for ac_exec_ext in '' $ac_executable_extensions; do
1966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1967 ac_cv_prog_ac_ct_CC="gcc"
1968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1969 break 2
1971 done
1972 done
1973 IFS=$as_save_IFS
1977 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1978 if test -n "$ac_ct_CC"; then
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1980 $as_echo "$ac_ct_CC" >&6; }
1981 else
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1983 $as_echo "no" >&6; }
1986 if test "x$ac_ct_CC" = x; then
1987 CC=""
1988 else
1989 case $cross_compiling:$ac_tool_warned in
1990 yes:)
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1993 ac_tool_warned=yes ;;
1994 esac
1995 CC=$ac_ct_CC
1997 else
1998 CC="$ac_cv_prog_CC"
2001 if test -z "$CC"; then
2002 if test -n "$ac_tool_prefix"; then
2003 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2004 set dummy ${ac_tool_prefix}cc; ac_word=$2
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2006 $as_echo_n "checking for $ac_word... " >&6; }
2007 if ${ac_cv_prog_CC+:} false; then :
2008 $as_echo_n "(cached) " >&6
2009 else
2010 if test -n "$CC"; then
2011 ac_cv_prog_CC="$CC" # Let the user override the test.
2012 else
2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2014 for as_dir in $PATH
2016 IFS=$as_save_IFS
2017 test -z "$as_dir" && as_dir=.
2018 for ac_exec_ext in '' $ac_executable_extensions; do
2019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2020 ac_cv_prog_CC="${ac_tool_prefix}cc"
2021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2022 break 2
2024 done
2025 done
2026 IFS=$as_save_IFS
2030 CC=$ac_cv_prog_CC
2031 if test -n "$CC"; then
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2033 $as_echo "$CC" >&6; }
2034 else
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2036 $as_echo "no" >&6; }
2042 if test -z "$CC"; then
2043 # Extract the first word of "cc", so it can be a program name with args.
2044 set dummy cc; ac_word=$2
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2046 $as_echo_n "checking for $ac_word... " >&6; }
2047 if ${ac_cv_prog_CC+:} false; then :
2048 $as_echo_n "(cached) " >&6
2049 else
2050 if test -n "$CC"; then
2051 ac_cv_prog_CC="$CC" # Let the user override the test.
2052 else
2053 ac_prog_rejected=no
2054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055 for as_dir in $PATH
2057 IFS=$as_save_IFS
2058 test -z "$as_dir" && as_dir=.
2059 for ac_exec_ext in '' $ac_executable_extensions; do
2060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2061 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2062 ac_prog_rejected=yes
2063 continue
2065 ac_cv_prog_CC="cc"
2066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2067 break 2
2069 done
2070 done
2071 IFS=$as_save_IFS
2073 if test $ac_prog_rejected = yes; then
2074 # We found a bogon in the path, so make sure we never use it.
2075 set dummy $ac_cv_prog_CC
2076 shift
2077 if test $# != 0; then
2078 # We chose a different compiler from the bogus one.
2079 # However, it has the same basename, so the bogon will be chosen
2080 # first if we set CC to just the basename; use the full file name.
2081 shift
2082 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2087 CC=$ac_cv_prog_CC
2088 if test -n "$CC"; then
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2090 $as_echo "$CC" >&6; }
2091 else
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2093 $as_echo "no" >&6; }
2098 if test -z "$CC"; then
2099 if test -n "$ac_tool_prefix"; then
2100 for ac_prog in cl.exe
2102 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2103 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2105 $as_echo_n "checking for $ac_word... " >&6; }
2106 if ${ac_cv_prog_CC+:} false; then :
2107 $as_echo_n "(cached) " >&6
2108 else
2109 if test -n "$CC"; then
2110 ac_cv_prog_CC="$CC" # Let the user override the test.
2111 else
2112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2113 for as_dir in $PATH
2115 IFS=$as_save_IFS
2116 test -z "$as_dir" && as_dir=.
2117 for ac_exec_ext in '' $ac_executable_extensions; do
2118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2119 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2121 break 2
2123 done
2124 done
2125 IFS=$as_save_IFS
2129 CC=$ac_cv_prog_CC
2130 if test -n "$CC"; then
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2132 $as_echo "$CC" >&6; }
2133 else
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2135 $as_echo "no" >&6; }
2139 test -n "$CC" && break
2140 done
2142 if test -z "$CC"; then
2143 ac_ct_CC=$CC
2144 for ac_prog in cl.exe
2146 # Extract the first word of "$ac_prog", so it can be a program name with args.
2147 set dummy $ac_prog; ac_word=$2
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2149 $as_echo_n "checking for $ac_word... " >&6; }
2150 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2151 $as_echo_n "(cached) " >&6
2152 else
2153 if test -n "$ac_ct_CC"; then
2154 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2155 else
2156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2157 for as_dir in $PATH
2159 IFS=$as_save_IFS
2160 test -z "$as_dir" && as_dir=.
2161 for ac_exec_ext in '' $ac_executable_extensions; do
2162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2163 ac_cv_prog_ac_ct_CC="$ac_prog"
2164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2165 break 2
2167 done
2168 done
2169 IFS=$as_save_IFS
2173 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2174 if test -n "$ac_ct_CC"; then
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2176 $as_echo "$ac_ct_CC" >&6; }
2177 else
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2179 $as_echo "no" >&6; }
2183 test -n "$ac_ct_CC" && break
2184 done
2186 if test "x$ac_ct_CC" = x; then
2187 CC=""
2188 else
2189 case $cross_compiling:$ac_tool_warned in
2190 yes:)
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2193 ac_tool_warned=yes ;;
2194 esac
2195 CC=$ac_ct_CC
2202 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2204 as_fn_error $? "no acceptable C compiler found in \$PATH
2205 See \`config.log' for more details" "$LINENO" 5; }
2207 # Provide some information about the compiler.
2208 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2209 set X $ac_compile
2210 ac_compiler=$2
2211 for ac_option in --version -v -V -qversion; do
2212 { { ac_try="$ac_compiler $ac_option >&5"
2213 case "(($ac_try" in
2214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2215 *) ac_try_echo=$ac_try;;
2216 esac
2217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2218 $as_echo "$ac_try_echo"; } >&5
2219 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2220 ac_status=$?
2221 if test -s conftest.err; then
2222 sed '10a\
2223 ... rest of stderr output deleted ...
2224 10q' conftest.err >conftest.er1
2225 cat conftest.er1 >&5
2227 rm -f conftest.er1 conftest.err
2228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2229 test $ac_status = 0; }
2230 done
2232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233 /* end confdefs.h. */
2236 main ()
2240 return 0;
2242 _ACEOF
2243 ac_clean_files_save=$ac_clean_files
2244 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2245 # Try to create an executable without -o first, disregard a.out.
2246 # It will help us diagnose broken compilers, and finding out an intuition
2247 # of exeext.
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2249 $as_echo_n "checking whether the C compiler works... " >&6; }
2250 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2252 # The possible output files:
2253 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2255 ac_rmfiles=
2256 for ac_file in $ac_files
2258 case $ac_file in
2259 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2260 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2261 esac
2262 done
2263 rm -f $ac_rmfiles
2265 if { { ac_try="$ac_link_default"
2266 case "(($ac_try" in
2267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2268 *) ac_try_echo=$ac_try;;
2269 esac
2270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2271 $as_echo "$ac_try_echo"; } >&5
2272 (eval "$ac_link_default") 2>&5
2273 ac_status=$?
2274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2275 test $ac_status = 0; }; then :
2276 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2277 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2278 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2279 # so that the user can short-circuit this test for compilers unknown to
2280 # Autoconf.
2281 for ac_file in $ac_files ''
2283 test -f "$ac_file" || continue
2284 case $ac_file in
2285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2287 [ab].out )
2288 # We found the default executable, but exeext='' is most
2289 # certainly right.
2290 break;;
2291 *.* )
2292 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2293 then :; else
2294 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2296 # We set ac_cv_exeext here because the later test for it is not
2297 # safe: cross compilers may not add the suffix if given an `-o'
2298 # argument, so we may need to know it at that point already.
2299 # Even if this section looks crufty: it has the advantage of
2300 # actually working.
2301 break;;
2303 break;;
2304 esac
2305 done
2306 test "$ac_cv_exeext" = no && ac_cv_exeext=
2308 else
2309 ac_file=''
2311 if test -z "$ac_file"; then :
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2313 $as_echo "no" >&6; }
2314 $as_echo "$as_me: failed program was:" >&5
2315 sed 's/^/| /' conftest.$ac_ext >&5
2317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2319 as_fn_error 77 "C compiler cannot create executables
2320 See \`config.log' for more details" "$LINENO" 5; }
2321 else
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2323 $as_echo "yes" >&6; }
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2326 $as_echo_n "checking for C compiler default output file name... " >&6; }
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2328 $as_echo "$ac_file" >&6; }
2329 ac_exeext=$ac_cv_exeext
2331 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2332 ac_clean_files=$ac_clean_files_save
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2334 $as_echo_n "checking for suffix of executables... " >&6; }
2335 if { { ac_try="$ac_link"
2336 case "(($ac_try" in
2337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2338 *) ac_try_echo=$ac_try;;
2339 esac
2340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2341 $as_echo "$ac_try_echo"; } >&5
2342 (eval "$ac_link") 2>&5
2343 ac_status=$?
2344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2345 test $ac_status = 0; }; then :
2346 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2347 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2348 # work properly (i.e., refer to `conftest.exe'), while it won't with
2349 # `rm'.
2350 for ac_file in conftest.exe conftest conftest.*; do
2351 test -f "$ac_file" || continue
2352 case $ac_file in
2353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2354 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2355 break;;
2356 * ) break;;
2357 esac
2358 done
2359 else
2360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2362 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2363 See \`config.log' for more details" "$LINENO" 5; }
2365 rm -f conftest conftest$ac_cv_exeext
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2367 $as_echo "$ac_cv_exeext" >&6; }
2369 rm -f conftest.$ac_ext
2370 EXEEXT=$ac_cv_exeext
2371 ac_exeext=$EXEEXT
2372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2373 /* end confdefs.h. */
2374 #include <stdio.h>
2376 main ()
2378 FILE *f = fopen ("conftest.out", "w");
2379 return ferror (f) || fclose (f) != 0;
2382 return 0;
2384 _ACEOF
2385 ac_clean_files="$ac_clean_files conftest.out"
2386 # Check that the compiler produces executables we can run. If not, either
2387 # the compiler is broken, or we cross compile.
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2389 $as_echo_n "checking whether we are cross compiling... " >&6; }
2390 if test "$cross_compiling" != yes; then
2391 { { ac_try="$ac_link"
2392 case "(($ac_try" in
2393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2394 *) ac_try_echo=$ac_try;;
2395 esac
2396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2397 $as_echo "$ac_try_echo"; } >&5
2398 (eval "$ac_link") 2>&5
2399 ac_status=$?
2400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2401 test $ac_status = 0; }
2402 if { ac_try='./conftest$ac_cv_exeext'
2403 { { case "(($ac_try" in
2404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2405 *) ac_try_echo=$ac_try;;
2406 esac
2407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2408 $as_echo "$ac_try_echo"; } >&5
2409 (eval "$ac_try") 2>&5
2410 ac_status=$?
2411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2412 test $ac_status = 0; }; }; then
2413 cross_compiling=no
2414 else
2415 if test "$cross_compiling" = maybe; then
2416 cross_compiling=yes
2417 else
2418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2420 as_fn_error $? "cannot run C compiled programs.
2421 If you meant to cross compile, use \`--host'.
2422 See \`config.log' for more details" "$LINENO" 5; }
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2427 $as_echo "$cross_compiling" >&6; }
2429 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2430 ac_clean_files=$ac_clean_files_save
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2432 $as_echo_n "checking for suffix of object files... " >&6; }
2433 if ${ac_cv_objext+:} false; then :
2434 $as_echo_n "(cached) " >&6
2435 else
2436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2437 /* end confdefs.h. */
2440 main ()
2444 return 0;
2446 _ACEOF
2447 rm -f conftest.o conftest.obj
2448 if { { ac_try="$ac_compile"
2449 case "(($ac_try" in
2450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2451 *) ac_try_echo=$ac_try;;
2452 esac
2453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2454 $as_echo "$ac_try_echo"; } >&5
2455 (eval "$ac_compile") 2>&5
2456 ac_status=$?
2457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2458 test $ac_status = 0; }; then :
2459 for ac_file in conftest.o conftest.obj conftest.*; do
2460 test -f "$ac_file" || continue;
2461 case $ac_file in
2462 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2463 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2464 break;;
2465 esac
2466 done
2467 else
2468 $as_echo "$as_me: failed program was:" >&5
2469 sed 's/^/| /' conftest.$ac_ext >&5
2471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2473 as_fn_error $? "cannot compute suffix of object files: cannot compile
2474 See \`config.log' for more details" "$LINENO" 5; }
2476 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2479 $as_echo "$ac_cv_objext" >&6; }
2480 OBJEXT=$ac_cv_objext
2481 ac_objext=$OBJEXT
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2483 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2484 if ${ac_cv_c_compiler_gnu+:} false; then :
2485 $as_echo_n "(cached) " >&6
2486 else
2487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2488 /* end confdefs.h. */
2491 main ()
2493 #ifndef __GNUC__
2494 choke me
2495 #endif
2498 return 0;
2500 _ACEOF
2501 if ac_fn_c_try_compile "$LINENO"; then :
2502 ac_compiler_gnu=yes
2503 else
2504 ac_compiler_gnu=no
2506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2511 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2512 if test $ac_compiler_gnu = yes; then
2513 GCC=yes
2514 else
2515 GCC=
2517 ac_test_CFLAGS=${CFLAGS+set}
2518 ac_save_CFLAGS=$CFLAGS
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2520 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2521 if ${ac_cv_prog_cc_g+:} false; then :
2522 $as_echo_n "(cached) " >&6
2523 else
2524 ac_save_c_werror_flag=$ac_c_werror_flag
2525 ac_c_werror_flag=yes
2526 ac_cv_prog_cc_g=no
2527 CFLAGS="-g"
2528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2529 /* end confdefs.h. */
2532 main ()
2536 return 0;
2538 _ACEOF
2539 if ac_fn_c_try_compile "$LINENO"; then :
2540 ac_cv_prog_cc_g=yes
2541 else
2542 CFLAGS=""
2543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2544 /* end confdefs.h. */
2547 main ()
2551 return 0;
2553 _ACEOF
2554 if ac_fn_c_try_compile "$LINENO"; then :
2556 else
2557 ac_c_werror_flag=$ac_save_c_werror_flag
2558 CFLAGS="-g"
2559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2560 /* end confdefs.h. */
2563 main ()
2567 return 0;
2569 _ACEOF
2570 if ac_fn_c_try_compile "$LINENO"; then :
2571 ac_cv_prog_cc_g=yes
2573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2578 ac_c_werror_flag=$ac_save_c_werror_flag
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2581 $as_echo "$ac_cv_prog_cc_g" >&6; }
2582 if test "$ac_test_CFLAGS" = set; then
2583 CFLAGS=$ac_save_CFLAGS
2584 elif test $ac_cv_prog_cc_g = yes; then
2585 if test "$GCC" = yes; then
2586 CFLAGS="-g -O2"
2587 else
2588 CFLAGS="-g"
2590 else
2591 if test "$GCC" = yes; then
2592 CFLAGS="-O2"
2593 else
2594 CFLAGS=
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2598 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2599 if ${ac_cv_prog_cc_c89+:} false; then :
2600 $as_echo_n "(cached) " >&6
2601 else
2602 ac_cv_prog_cc_c89=no
2603 ac_save_CC=$CC
2604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2605 /* end confdefs.h. */
2606 #include <stdarg.h>
2607 #include <stdio.h>
2608 struct stat;
2609 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2610 struct buf { int x; };
2611 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2612 static char *e (p, i)
2613 char **p;
2614 int i;
2616 return p[i];
2618 static char *f (char * (*g) (char **, int), char **p, ...)
2620 char *s;
2621 va_list v;
2622 va_start (v,p);
2623 s = g (p, va_arg (v,int));
2624 va_end (v);
2625 return s;
2628 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2629 function prototypes and stuff, but not '\xHH' hex character constants.
2630 These don't provoke an error unfortunately, instead are silently treated
2631 as 'x'. The following induces an error, until -std is added to get
2632 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2633 array size at least. It's necessary to write '\x00'==0 to get something
2634 that's true only with -std. */
2635 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2637 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2638 inside strings and character constants. */
2639 #define FOO(x) 'x'
2640 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2642 int test (int i, double x);
2643 struct s1 {int (*f) (int a);};
2644 struct s2 {int (*f) (double a);};
2645 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2646 int argc;
2647 char **argv;
2649 main ()
2651 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2653 return 0;
2655 _ACEOF
2656 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2657 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2659 CC="$ac_save_CC $ac_arg"
2660 if ac_fn_c_try_compile "$LINENO"; then :
2661 ac_cv_prog_cc_c89=$ac_arg
2663 rm -f core conftest.err conftest.$ac_objext
2664 test "x$ac_cv_prog_cc_c89" != "xno" && break
2665 done
2666 rm -f conftest.$ac_ext
2667 CC=$ac_save_CC
2670 # AC_CACHE_VAL
2671 case "x$ac_cv_prog_cc_c89" in
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2674 $as_echo "none needed" >&6; } ;;
2675 xno)
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2677 $as_echo "unsupported" >&6; } ;;
2679 CC="$CC $ac_cv_prog_cc_c89"
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2681 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2682 esac
2683 if test "x$ac_cv_prog_cc_c89" != xno; then :
2687 ac_ext=c
2688 ac_cpp='$CPP $CPPFLAGS'
2689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2695 $as_echo_n "checking target config location... " >&6; }
2697 # Check whether --with-config-dir was given.
2698 if test "${with_config_dir+set}" = set; then :
2699 withval=$with_config_dir; targetcfg_dir="$withval"
2700 else
2701 targetcfg_dir=""
2704 if test "$targetcfg_dir" = ""; then
2705 as_fn_error $? "missing config directory!" "$LINENO" 5
2706 else
2707 aros_targetcfg_dir="$targetcfg_dir"
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2710 $as_echo "$aros_targetcfg_dir" >&6; }
2712 #-----------------------------------------------------------------------------
2714 # Check if the target compiler supports some features:
2715 # -fpermissive
2716 # -ffast-math
2717 # -fno-builtin-floor
2718 # -flto
2719 # -fwhole-program
2720 # -floop-block
2721 # -floop-interchange
2722 # -floop-strip-mine
2723 # -fpeel-loops
2724 # -fstrict-aliasing
2725 # -funroll-loops
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpermissive" >&5
2728 $as_echo_n "checking whether ${CC} accepts -fpermissive... " >&6; }
2729 CFLAGS=-fpermissive
2731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2732 /* end confdefs.h. */
2735 main ()
2739 return 0;
2741 _ACEOF
2742 if ac_fn_c_try_compile "$LINENO"; then :
2743 aros_permissive="yes"
2744 else
2745 aros_permissive="no"
2747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
2749 $as_echo "$aros_permissive" >&6; }
2750 if test "x-$aros_permissive" = "x-yes" ; then
2751 aros_cflags_permissive=-fpermissive
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2755 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2756 CFLAGS=-ffast-math
2757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2758 /* end confdefs.h. */
2761 main ()
2765 return 0;
2767 _ACEOF
2768 if ac_fn_c_try_compile "$LINENO"; then :
2769 aros_fast_math="yes"
2770 else
2771 aros_fast_math="no"
2773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2775 $as_echo "$aros_fast_math" >&6; }
2776 if test "x-$aros_fast_math" = "x-yes" ; then
2777 aros_cflags_fast_math=-ffast-math
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
2781 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
2782 CFLAGS=-fno-builtin-floor
2783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2784 /* end confdefs.h. */
2787 main ()
2791 return 0;
2793 _ACEOF
2794 if ac_fn_c_try_compile "$LINENO"; then :
2795 aros_no_builtin_floor="yes"
2796 else
2797 aros_no_builtin_floor="no"
2799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
2801 $as_echo "$aros_no_builtin_floor" >&6; }
2802 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
2803 aros_cflags_no_builtin_floor=-fno-builtin-floor
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2807 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2808 CFLAGS=-flto
2809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2810 /* end confdefs.h. */
2813 main ()
2817 return 0;
2819 _ACEOF
2820 if ac_fn_c_try_compile "$LINENO"; then :
2821 aros_lto="yes"
2822 else
2823 aros_lto="no"
2825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2827 $as_echo "$aros_lto" >&6; }
2828 if test "x-$aros_lto" = "x-yes" ; then
2829 aros_cflags_lto=-flto
2830 aros_cflags_nolto=-fno-lto
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2833 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2834 CFLAGS=-fwhole-program
2835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2836 /* end confdefs.h. */
2839 main ()
2843 return 0;
2845 _ACEOF
2846 if ac_fn_c_try_compile "$LINENO"; then :
2847 aros_whole_program="yes"
2848 else
2849 aros_whole_program="no"
2851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2853 $as_echo "$aros_whole_program" >&6; }
2854 if test "x-$aros_whole_program" = "x-yes" ; then
2855 aros_cflags_whole_program=-fwhole-program
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2859 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2860 CFLAGS=-floop-block
2861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2862 /* end confdefs.h. */
2865 main ()
2869 return 0;
2871 _ACEOF
2872 if ac_fn_c_try_compile "$LINENO"; then :
2873 aros_loop_block="yes"
2874 else
2875 aros_loop_block="no"
2877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2879 $as_echo "$aros_loop_block" >&6; }
2880 if test "x-$aros_loop_block" = "x-yes" ; then
2881 aros_cflags_loop_block=-floop-block
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2885 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2886 CFLAGS=-floop-interchange
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2891 main ()
2895 return 0;
2897 _ACEOF
2898 if ac_fn_c_try_compile "$LINENO"; then :
2899 aros_loop_interchange="yes"
2900 else
2901 aros_loop_interchange="no"
2903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2905 $as_echo "$aros_loop_interchange" >&6; }
2906 if test "x-$aros_loop_interchange" = "x-yes" ; then
2907 aros_cflags_loop_interchange=-floop-interchange
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2911 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2912 CFLAGS=-floop-strip-mine
2913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2914 /* end confdefs.h. */
2917 main ()
2921 return 0;
2923 _ACEOF
2924 if ac_fn_c_try_compile "$LINENO"; then :
2925 aros_loop_strip_mine="yes"
2926 else
2927 aros_loop_strip_mine="no"
2929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2931 $as_echo "$aros_loop_strip_mine" >&6; }
2932 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2933 aros_cflags_loop_strip_mine=-floop-strip-mine
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
2938 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
2939 CFLAGS=-fpeel-loops
2940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2941 /* end confdefs.h. */
2944 main ()
2948 return 0;
2950 _ACEOF
2951 if ac_fn_c_try_compile "$LINENO"; then :
2952 aros_peel_loops="yes"
2953 else
2954 aros_peel_loops="no"
2956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
2958 $as_echo "$aros_peel_loops" >&6; }
2959 if test "x-$aros_peel_loops" = "x-yes" ; then
2960 aros_cflags_peel_loops=-fpeel-loops
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
2964 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
2965 CFLAGS=-funroll-loops
2966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2967 /* end confdefs.h. */
2970 main ()
2974 return 0;
2976 _ACEOF
2977 if ac_fn_c_try_compile "$LINENO"; then :
2978 aros_unroll_loops="yes"
2979 else
2980 aros_unroll_loops="no"
2982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
2984 $as_echo "$aros_unroll_loops" >&6; }
2985 if test "x-$aros_unroll_loops" = "x-yes" ; then
2986 aros_cflags_unroll_loops=-funroll-loops
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
2990 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
2991 CFLAGS=-fstrict-aliasing
2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2993 /* end confdefs.h. */
2996 main ()
3000 return 0;
3002 _ACEOF
3003 if ac_fn_c_try_compile "$LINENO"; then :
3004 aros_strict_aliasing="yes"
3005 else
3006 aros_strict_aliasing="no"
3008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3010 $as_echo "$aros_strict_aliasing" >&6; }
3011 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3012 aros_cflags_strictaliasing=-fstrict-aliasing
3013 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3017 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3018 CFLAGS="-iquote."
3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h. */
3023 main ()
3027 return 0;
3029 _ACEOF
3030 if ac_fn_c_try_compile "$LINENO"; then :
3031 has_iquote="yes"
3032 else
3033 has_iquote="no"
3035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3037 $as_echo "$has_iquote" >&6; }
3038 if test "x-$has_iquote" = "x-yes" ; then
3039 aros_cflags_iquote=-iquote
3040 aros_cflags_iquote_end=
3041 else
3042 aros_cflags_iquote=-I
3043 aros_cflags_iquote_end=-I-
3046 #-----------------------------------------------------------------------------
3048 # Check if the target compiler supports some options:
3049 # -mno-red-zone
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mno-red-zone" >&5
3052 $as_echo_n "checking whether ${CC} accepts -mno-red-zone... " >&6; }
3053 CFLAGS=-mno-red-zone
3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3058 main ()
3062 return 0;
3064 _ACEOF
3065 if ac_fn_c_try_compile "$LINENO"; then :
3066 aros_no_red_zone="yes"
3067 else
3068 aros_no_red_zone="no"
3070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3072 $as_echo "$aros_no_red_zone" >&6; }
3073 if test "x-$aros_no_red_zone" = "x-yes" ; then
3074 aros_cflags_no_red_zone=-mno-red-zone
3077 #-----------------------------------------------------------------------------
3079 # Check if the target compiler supports some options used for de-linting:
3080 # -Werror
3081 # -Wunused-command-line-argument
3082 # -Wunknown-warning-option
3083 # -Wunused-but-set-variable
3084 # -Wstrict-aliasing
3085 # -Warray-bounds
3086 # -Wenum-compare
3087 # -Wstrict-prototypes
3088 # -Wstrict-overflow
3089 # -Wformat-security
3090 # -Wmisleading-indentation
3091 # -Wnonnull-compare
3092 # -Wunused
3093 # -Wunused-value
3094 # -Wunused-variable
3095 # -Wunused-function
3096 # -Wunused-parameter
3097 # -Wuninitialized
3098 # -Wmaybe-uninitialized
3099 # -Wimplicit-function-declaration
3100 # -Wformat
3101 # -Wparentheses
3102 # -Wchar-subscripts
3103 # -Wendif-labels
3104 # -Wformat-contains-nul
3105 # -Wimplicit-int
3106 # -Waggressive-loop-optimizations
3107 # -Wcpp
3108 # -Wswitch
3109 # -Wdiscarded-qualifiers
3110 # -Wsequence-point
3111 # -Wunknown-pragmas
3112 # -Wdiscarded-array-qualifiers
3113 # -Wint-conversion
3114 # -Wint-to-pointer-cast
3115 # -Wpointer-to-int-cast
3116 # -Wunused-const-variable
3117 # -Wwrite-strings
3118 # -Wcomment
3119 # -Wincompatible-pointer-types
3120 # -Wbool-compare
3121 # -Wlogical-not-parentheses
3122 # -Wpointer-sign
3123 # -Wshift-overflow
3124 # -Wframe-address
3125 # -Wdeprecated-declarations
3126 # -Wsign-compare
3127 # -Wattributes
3128 # -Woverflow
3129 # -Wunused-local-typedefs
3130 # -Wmissing-braces
3131 # -Wconversion-null
3132 # -Wnarrowing
3133 # -Wvolatile-register-var
3134 # -Wsizeof-pointer-memaccess
3135 # -Wreturn-type
3136 # -Wformat-zero-length
3137 # -Wlto-type-mismatch
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
3140 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
3141 CFLAGS=-Werror
3142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h. */
3146 main ()
3150 return 0;
3152 _ACEOF
3153 if ac_fn_c_try_compile "$LINENO"; then :
3154 aros_error="yes"
3155 else
3156 aros_error="no"
3158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
3160 $as_echo "$aros_error" >&6; }
3161 if test "x-$aros_error" = "x-yes" ; then
3162 aros_warnflags_error=-Werror
3163 aros_nowarnflags_error=-Wno-error
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3167 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3168 CFLAGS=-Wunused-command-line-argument
3169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3170 /* end confdefs.h. */
3173 main ()
3177 return 0;
3179 _ACEOF
3180 if ac_fn_c_try_compile "$LINENO"; then :
3181 aros_unused_command_line_argument="yes"
3182 else
3183 aros_unused_command_line_argument="no"
3185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3187 $as_echo "$aros_unused_command_line_argument" >&6; }
3188 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3189 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3190 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3194 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3195 CFLAGS=-Wunknown-warning-option
3196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3197 /* end confdefs.h. */
3200 main ()
3204 return 0;
3206 _ACEOF
3207 if ac_fn_c_try_compile "$LINENO"; then :
3208 aros_unknown_warning_option="yes"
3209 else
3210 aros_unknown_warning_option="no"
3212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3214 $as_echo "$aros_unknown_warning_option" >&6; }
3215 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3216 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3217 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3221 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3222 CFLAGS=-Wunused-but-set-variable
3223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3224 /* end confdefs.h. */
3227 main ()
3231 return 0;
3233 _ACEOF
3234 if ac_fn_c_try_compile "$LINENO"; then :
3235 aros_unused_but_set_variable="yes"
3236 else
3237 aros_unused_but_set_variable="no"
3239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3241 $as_echo "$aros_unused_but_set_variable" >&6; }
3242 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3243 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3244 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3248 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3249 CFLAGS=-Wstrict-aliasing
3250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3251 /* end confdefs.h. */
3254 main ()
3258 return 0;
3260 _ACEOF
3261 if ac_fn_c_try_compile "$LINENO"; then :
3262 aros_strict_aliasing="yes"
3263 else
3264 aros_strict_aliasing="no"
3266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3268 $as_echo "$aros_strict_aliasing" >&6; }
3269 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3270 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3271 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3275 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3276 CFLAGS=-Warray-bounds
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3281 main ()
3285 return 0;
3287 _ACEOF
3288 if ac_fn_c_try_compile "$LINENO"; then :
3289 aros_array_bounds="yes"
3290 else
3291 aros_array_bounds="no"
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3295 $as_echo "$aros_array_bounds" >&6; }
3296 if test "x-$aros_array_bounds" = "x-yes" ; then
3297 aros_warnflags_array_bounds=-Warray-bounds
3298 aros_nowarnflags_array_bounds=-Wno-array-bounds
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3302 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3303 CFLAGS=-Wenum-compare
3304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3305 /* end confdefs.h. */
3308 main ()
3312 return 0;
3314 _ACEOF
3315 if ac_fn_c_try_compile "$LINENO"; then :
3316 aros_enum_compare="yes"
3317 else
3318 aros_enum_compare="no"
3320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3322 $as_echo "$aros_enum_compare" >&6; }
3323 if test "x-$aros_enum_compare" = "x-yes" ; then
3324 aros_warnflags_enum_compare=-Wenum-compare
3325 aros_nowarnflags_enum_compare=-Wno-enum-compare
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3329 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3330 CFLAGS=-Wstrict-prototypes
3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3332 /* end confdefs.h. */
3335 main ()
3339 return 0;
3341 _ACEOF
3342 if ac_fn_c_try_compile "$LINENO"; then :
3343 aros_strict_prototypes="yes"
3344 else
3345 aros_strict_prototypes="no"
3347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3349 $as_echo "$aros_strict_prototypes" >&6; }
3350 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3351 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3352 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3356 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3357 CFLAGS=-Wstrict-overflow
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3362 main ()
3366 return 0;
3368 _ACEOF
3369 if ac_fn_c_try_compile "$LINENO"; then :
3370 aros_strict_overflow="yes"
3371 else
3372 aros_strict_overflow="no"
3374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3376 $as_echo "$aros_strict_overflow" >&6; }
3377 if test "x-$aros_strict_overflow" = "x-yes" ; then
3378 aros_warnflags_strict_overflow=-Wstrict-overflow
3379 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3383 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3384 CFLAGS=-Wformat-security
3385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3386 /* end confdefs.h. */
3389 main ()
3393 return 0;
3395 _ACEOF
3396 if ac_fn_c_try_compile "$LINENO"; then :
3397 aros_format_security="yes"
3398 else
3399 aros_format_security="no"
3401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3403 $as_echo "$aros_format_security" >&6; }
3404 if test "x-$aros_format_security" = "x-yes" ; then
3405 aros_warnflags_format_security=-Wformat-security
3406 aros_nowarnflags_format_security=-Wno-format-security
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3410 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3411 CFLAGS=-Wmisleading-indentation
3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h. */
3416 main ()
3420 return 0;
3422 _ACEOF
3423 if ac_fn_c_try_compile "$LINENO"; then :
3424 aros_misleading_indentation="yes"
3425 else
3426 aros_misleading_indentation="no"
3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3430 $as_echo "$aros_misleading_indentation" >&6; }
3431 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3432 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3433 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3437 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3438 CFLAGS=-Wnonnull-compare
3439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3440 /* end confdefs.h. */
3443 main ()
3447 return 0;
3449 _ACEOF
3450 if ac_fn_c_try_compile "$LINENO"; then :
3451 aros_nonnull_compare="yes"
3452 else
3453 aros_nonnull_compare="no"
3455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3457 $as_echo "$aros_nonnull_compare" >&6; }
3458 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3459 aros_warnflags_nonnull_compare=-Wnonnull-compare
3460 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3464 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3465 CFLAGS=-Wunused
3466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3467 /* end confdefs.h. */
3470 main ()
3474 return 0;
3476 _ACEOF
3477 if ac_fn_c_try_compile "$LINENO"; then :
3478 aros_unused="yes"
3479 else
3480 aros_unused="no"
3482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3484 $as_echo "$aros_unused" >&6; }
3485 if test "x-$aros_unused" = "x-yes" ; then
3486 aros_warnflags_unused=-Wunused
3487 aros_nowarnflags_unused=-Wno-unused
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3491 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3492 CFLAGS=-Wunused-value
3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3494 /* end confdefs.h. */
3497 main ()
3501 return 0;
3503 _ACEOF
3504 if ac_fn_c_try_compile "$LINENO"; then :
3505 aros_unused_value="yes"
3506 else
3507 aros_unused_value="no"
3509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3511 $as_echo "$aros_unused_value" >&6; }
3512 if test "x-$aros_unused_value" = "x-yes" ; then
3513 aros_warnflags_unused_value=-Wunused-value
3514 aros_nowarnflags_unused_value=-Wno-unused-value
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3518 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3519 CFLAGS=-Wunused-variable
3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3524 main ()
3528 return 0;
3530 _ACEOF
3531 if ac_fn_c_try_compile "$LINENO"; then :
3532 aros_unused_variable="yes"
3533 else
3534 aros_unused_variable="no"
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3538 $as_echo "$aros_unused_variable" >&6; }
3539 if test "x-$aros_unused_variable" = "x-yes" ; then
3540 aros_warnflags_unused_variable=-Wunused-variable
3541 aros_nowarnflags_unused_variable=-Wno-unused-variable
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3545 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3546 CFLAGS=-Wunused-function
3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3548 /* end confdefs.h. */
3551 main ()
3555 return 0;
3557 _ACEOF
3558 if ac_fn_c_try_compile "$LINENO"; then :
3559 aros_unused_function="yes"
3560 else
3561 aros_unused_function="no"
3563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3565 $as_echo "$aros_unused_function" >&6; }
3566 if test "x-$aros_unused_function" = "x-yes" ; then
3567 aros_warnflags_unused_function=-Wunused-function
3568 aros_nowarnflags_unused_function=-Wno-unused-function
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3572 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3573 CFLAGS=-Wunused-parameter
3574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3575 /* end confdefs.h. */
3578 main ()
3582 return 0;
3584 _ACEOF
3585 if ac_fn_c_try_compile "$LINENO"; then :
3586 aros_unused_parameter="yes"
3587 else
3588 aros_unused_parameter="no"
3590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3592 $as_echo "$aros_unused_parameter" >&6; }
3593 if test "x-$aros_unused_parameter" = "x-yes" ; then
3594 aros_warnflags_unused_parameter=-Wunused-parameter
3595 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3599 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3600 CFLAGS=-Wuninitialized
3601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3602 /* end confdefs.h. */
3605 main ()
3609 return 0;
3611 _ACEOF
3612 if ac_fn_c_try_compile "$LINENO"; then :
3613 aros_uninitialized="yes"
3614 else
3615 aros_uninitialized="no"
3617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3619 $as_echo "$aros_uninitialized" >&6; }
3620 if test "x-$aros_uninitialized" = "x-yes" ; then
3621 aros_warnflags_uninitialized=-Wuninitialized
3622 aros_nowarnflags_uninitialized=-Wno-uninitialized
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3626 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3627 CFLAGS=-Wmaybe-uninitialized
3628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629 /* end confdefs.h. */
3632 main ()
3636 return 0;
3638 _ACEOF
3639 if ac_fn_c_try_compile "$LINENO"; then :
3640 aros_maybe_uninitialized="yes"
3641 else
3642 aros_maybe_uninitialized="no"
3644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3646 $as_echo "$aros_maybe_uninitialized" >&6; }
3647 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3648 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
3649 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
3650 else
3651 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
3652 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3656 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3657 CFLAGS=-Wimplicit-function-declaration
3658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3659 /* end confdefs.h. */
3662 main ()
3666 return 0;
3668 _ACEOF
3669 if ac_fn_c_try_compile "$LINENO"; then :
3670 aros_implicit_function_declaration="yes"
3671 else
3672 aros_implicit_function_declaration="no"
3674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3676 $as_echo "$aros_implicit_function_declaration" >&6; }
3677 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3678 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
3679 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3683 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3684 CFLAGS=-Wformat
3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3689 main ()
3693 return 0;
3695 _ACEOF
3696 if ac_fn_c_try_compile "$LINENO"; then :
3697 aros_format="yes"
3698 else
3699 aros_format="no"
3701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3703 $as_echo "$aros_format" >&6; }
3704 if test "x-$aros_format" = "x-yes" ; then
3705 aros_warnflags_format=-Wformat
3706 aros_nowarnflags_format=-Wno-format
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3710 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3711 CFLAGS=-Wparentheses
3712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3713 /* end confdefs.h. */
3716 main ()
3720 return 0;
3722 _ACEOF
3723 if ac_fn_c_try_compile "$LINENO"; then :
3724 aros_parentheses="yes"
3725 else
3726 aros_parentheses="no"
3728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3730 $as_echo "$aros_parentheses" >&6; }
3731 if test "x-$aros_parentheses" = "x-yes" ; then
3732 aros_warnflags_parentheses=-Wparentheses
3733 aros_nowarnflags_parentheses=-Wno-parentheses
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3737 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3738 CFLAGS=-Wchar-subscripts
3739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3740 /* end confdefs.h. */
3743 main ()
3747 return 0;
3749 _ACEOF
3750 if ac_fn_c_try_compile "$LINENO"; then :
3751 aros_char_subscripts="yes"
3752 else
3753 aros_char_subscripts="no"
3755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3757 $as_echo "$aros_char_subscripts" >&6; }
3758 if test "x-$aros_char_subscripts" = "x-yes" ; then
3759 aros_warnflags_char_subscripts=-Wchar-subscripts
3760 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3764 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3765 CFLAGS=-Wendif-labels
3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h. */
3770 main ()
3774 return 0;
3776 _ACEOF
3777 if ac_fn_c_try_compile "$LINENO"; then :
3778 aros_endif_labels="yes"
3779 else
3780 aros_endif_labels="no"
3782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3784 $as_echo "$aros_endif_labels" >&6; }
3785 if test "x-$aros_endif_labels" = "x-yes" ; then
3786 aros_warnflags_endif_labels=-Wendif-labels
3787 aros_nowarnflags_endif_labels=-Wno-endif-labels
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3791 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3792 CFLAGS=-Wformat-contains-nul
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3797 main ()
3801 return 0;
3803 _ACEOF
3804 if ac_fn_c_try_compile "$LINENO"; then :
3805 aros_format_contains_nul="yes"
3806 else
3807 aros_format_contains_nul="no"
3809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3811 $as_echo "$aros_format_contains_nul" >&6; }
3812 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3813 aros_warnflags_format_contains_nul=-Wformat-contains-nul
3814 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3818 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3819 CFLAGS=-Wimplicit-int
3820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3821 /* end confdefs.h. */
3824 main ()
3828 return 0;
3830 _ACEOF
3831 if ac_fn_c_try_compile "$LINENO"; then :
3832 aros_implicit_int="yes"
3833 else
3834 aros_implicit_int="no"
3836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3838 $as_echo "$aros_implicit_int" >&6; }
3839 if test "x-$aros_implicit_int" = "x-yes" ; then
3840 aros_warnflags_implicit_int=-Wimplicit-int
3841 aros_nowarnflags_implicit_int=-Wno-implicit-int
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3845 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3846 CFLAGS=-Waggressive-loop-optimizations
3847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3848 /* end confdefs.h. */
3851 main ()
3855 return 0;
3857 _ACEOF
3858 if ac_fn_c_try_compile "$LINENO"; then :
3859 aros_aggressive_loop_optimizations="yes"
3860 else
3861 aros_aggressive_loop_optimizations="no"
3863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3865 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3866 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3867 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
3868 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3872 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3873 CFLAGS=-Wcpp
3874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3875 /* end confdefs.h. */
3878 main ()
3882 return 0;
3884 _ACEOF
3885 if ac_fn_c_try_compile "$LINENO"; then :
3886 aros_cpp="yes"
3887 else
3888 aros_cpp="no"
3890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3892 $as_echo "$aros_cpp" >&6; }
3893 if test "x-$aros_cpp" = "x-yes" ; then
3894 aros_warnflags_cpp=-Wcpp
3895 aros_nowarnflags_cpp=-Wno-cpp
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3899 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3900 CFLAGS=-Wswitch
3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h. */
3905 main ()
3909 return 0;
3911 _ACEOF
3912 if ac_fn_c_try_compile "$LINENO"; then :
3913 aros_switch="yes"
3914 else
3915 aros_switch="no"
3917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3919 $as_echo "$aros_switch" >&6; }
3920 if test "x-$aros_switch" = "x-yes" ; then
3921 aros_warnflags_switch=-Wswitch
3922 aros_nowarnflags_switch=-Wno-switch
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3926 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3927 CFLAGS=-Wdiscarded-qualifiers
3928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3929 /* end confdefs.h. */
3932 main ()
3936 return 0;
3938 _ACEOF
3939 if ac_fn_c_try_compile "$LINENO"; then :
3940 aros_discarded_qualifiers="yes"
3941 else
3942 aros_discarded_qualifiers="no"
3944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3946 $as_echo "$aros_discarded_qualifiers" >&6; }
3947 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3948 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
3949 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3953 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3954 CFLAGS=-Wsequence-point
3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h. */
3959 main ()
3963 return 0;
3965 _ACEOF
3966 if ac_fn_c_try_compile "$LINENO"; then :
3967 aros_sequence_point="yes"
3968 else
3969 aros_sequence_point="no"
3971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3973 $as_echo "$aros_sequence_point" >&6; }
3974 if test "x-$aros_sequence_point" = "x-yes" ; then
3975 aros_warnflags_sequence_point=-Wsequence-point
3976 aros_nowarnflags_sequence_point=-Wno-sequence-point
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3980 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3981 CFLAGS=-Wunknown-pragmas
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3986 main ()
3990 return 0;
3992 _ACEOF
3993 if ac_fn_c_try_compile "$LINENO"; then :
3994 aros_unknown_pragmas="yes"
3995 else
3996 aros_unknown_pragmas="no"
3998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
4000 $as_echo "$aros_unknown_pragmas" >&6; }
4001 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
4002 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
4003 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
4007 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
4008 CFLAGS=-Wdiscarded-array-qualifiers
4009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4010 /* end confdefs.h. */
4013 main ()
4017 return 0;
4019 _ACEOF
4020 if ac_fn_c_try_compile "$LINENO"; then :
4021 aros_discarded_array_qualifiers="yes"
4022 else
4023 aros_discarded_array_qualifiers="no"
4025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
4027 $as_echo "$aros_discarded_array_qualifiers" >&6; }
4028 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
4029 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
4030 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4034 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4035 CFLAGS=-Wint-conversion
4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4040 main ()
4044 return 0;
4046 _ACEOF
4047 if ac_fn_c_try_compile "$LINENO"; then :
4048 aros_int_conversion="yes"
4049 else
4050 aros_int_conversion="no"
4052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4054 $as_echo "$aros_int_conversion" >&6; }
4055 if test "x-$aros_int_conversion" = "x-yes" ; then
4056 aros_warnflags_int_conversion=-Wint-conversion
4057 aros_nowarnflags_int_conversion=-Wno-int-conversion
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
4061 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
4062 CFLAGS=-Wint-to-pointer-cast
4063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4064 /* end confdefs.h. */
4067 main ()
4071 return 0;
4073 _ACEOF
4074 if ac_fn_c_try_compile "$LINENO"; then :
4075 aros_int_to_pointer_cast="yes"
4076 else
4077 aros_int_to_pointer_cast="no"
4079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
4081 $as_echo "$aros_int_to_pointer_cast" >&6; }
4082 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
4083 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
4084 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
4088 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
4089 CFLAGS=-Wpointer-to-int-cast
4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4094 main ()
4098 return 0;
4100 _ACEOF
4101 if ac_fn_c_try_compile "$LINENO"; then :
4102 aros_pointer_to_int_cast="yes"
4103 else
4104 aros_pointer_to_int_cast="no"
4106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
4108 $as_echo "$aros_pointer_to_int_cast" >&6; }
4109 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
4110 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
4111 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
4115 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
4116 CFLAGS=-Wunused-const-variable
4117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4121 main ()
4125 return 0;
4127 _ACEOF
4128 if ac_fn_c_try_compile "$LINENO"; then :
4129 aros_unused_const_variable="yes"
4130 else
4131 aros_unused_const_variable="no"
4133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
4135 $as_echo "$aros_unused_const_variable" >&6; }
4136 if test "x-$aros_unused_const_variable" = "x-yes" ; then
4137 aros_warnflags_unused_const_variable=-Wunused-const-variable
4138 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
4142 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
4143 CFLAGS=-Wwrite-strings
4144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h. */
4148 main ()
4152 return 0;
4154 _ACEOF
4155 if ac_fn_c_try_compile "$LINENO"; then :
4156 aros_write_strings="yes"
4157 else
4158 aros_write_strings="no"
4160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4162 $as_echo "$aros_write_strings" >&6; }
4163 if test "x-$aros_write_strings" = "x-yes" ; then
4164 aros_warnflags_write_strings=-Wwrite-strings
4165 aros_nowarnflags_write_strings=-Wno-write-strings
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4169 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4170 CFLAGS=-Wcomment
4171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4172 /* end confdefs.h. */
4175 main ()
4179 return 0;
4181 _ACEOF
4182 if ac_fn_c_try_compile "$LINENO"; then :
4183 aros_comment="yes"
4184 else
4185 aros_comment="no"
4187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4189 $as_echo "$aros_comment" >&6; }
4190 if test "x-$aros_comment" = "x-yes" ; then
4191 aros_warnflags_comment=-Wcomment
4192 aros_nowarnflags_comment=-Wno-comment
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4196 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4197 CFLAGS=-Wincompatible-pointer-types
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4202 main ()
4206 return 0;
4208 _ACEOF
4209 if ac_fn_c_try_compile "$LINENO"; then :
4210 aros_incompatible_pointer_types="yes"
4211 else
4212 aros_incompatible_pointer_types="no"
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4216 $as_echo "$aros_incompatible_pointer_types" >&6; }
4217 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4218 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4219 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4223 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4224 CFLAGS=-Wbool-compare
4225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4226 /* end confdefs.h. */
4229 main ()
4233 return 0;
4235 _ACEOF
4236 if ac_fn_c_try_compile "$LINENO"; then :
4237 aros_bool_compare="yes"
4238 else
4239 aros_bool_compare="no"
4241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4243 $as_echo "$aros_bool_compare" >&6; }
4244 if test "x-$aros_bool_compare" = "x-yes" ; then
4245 aros_warnflags_bool_compare=-Wbool-compare
4246 aros_nowarnflags_bool_compare=-Wno-bool-compare
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4250 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4251 CFLAGS=-Wlogical-not-parentheses
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4256 main ()
4260 return 0;
4262 _ACEOF
4263 if ac_fn_c_try_compile "$LINENO"; then :
4264 aros_logical_not_parentheses="yes"
4265 else
4266 aros_logical_not_parentheses="no"
4268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4270 $as_echo "$aros_logical_not_parentheses" >&6; }
4271 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4272 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4273 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4277 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4278 CFLAGS=-Wpointer-sign
4279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4280 /* end confdefs.h. */
4283 main ()
4287 return 0;
4289 _ACEOF
4290 if ac_fn_c_try_compile "$LINENO"; then :
4291 aros_pointer_sign="yes"
4292 else
4293 aros_pointer_sign="no"
4295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4297 $as_echo "$aros_pointer_sign" >&6; }
4298 if test "x-$aros_pointer_sign" = "x-yes" ; then
4299 aros_warnflags_pointer_sign=-Wpointer-sign
4300 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4304 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4305 CFLAGS=-Wshift-overflow
4306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4307 /* end confdefs.h. */
4310 main ()
4314 return 0;
4316 _ACEOF
4317 if ac_fn_c_try_compile "$LINENO"; then :
4318 aros_shift_overflow="yes"
4319 else
4320 aros_shift_overflow="no"
4322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4324 $as_echo "$aros_shift_overflow" >&6; }
4325 if test "x-$aros_shift_overflow" = "x-yes" ; then
4326 aros_warnflags_shift_overflow=-Wshift-overflow
4327 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4331 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4332 CFLAGS=-Wframe-address
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4337 main ()
4341 return 0;
4343 _ACEOF
4344 if ac_fn_c_try_compile "$LINENO"; then :
4345 aros_frame_address="yes"
4346 else
4347 aros_frame_address="no"
4349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4351 $as_echo "$aros_frame_address" >&6; }
4352 if test "x-$aros_frame_address" = "x-yes" ; then
4353 aros_warnflags_frame_address=-Wframe-address
4354 aros_nowarnflags_frame_address=-Wno-frame-address
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4358 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4359 CFLAGS=-Wdeprecated-declarations
4360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h. */
4364 main ()
4368 return 0;
4370 _ACEOF
4371 if ac_fn_c_try_compile "$LINENO"; then :
4372 aros_deprecated_declarations="yes"
4373 else
4374 aros_deprecated_declarations="no"
4376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4378 $as_echo "$aros_deprecated_declarations" >&6; }
4379 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4380 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4381 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4385 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4386 CFLAGS=-Wsign-compare
4387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4388 /* end confdefs.h. */
4391 main ()
4395 return 0;
4397 _ACEOF
4398 if ac_fn_c_try_compile "$LINENO"; then :
4399 aros_sign_compare="yes"
4400 else
4401 aros_sign_compare="no"
4403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4405 $as_echo "$aros_sign_compare" >&6; }
4406 if test "x-$aros_sign_compare" = "x-yes" ; then
4407 aros_warnflags_sign_compare=-Wsign-compare
4408 aros_nowarnflags_sign_compare=-Wno-sign-compare
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4412 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4413 CFLAGS=-Wattributes
4414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4415 /* end confdefs.h. */
4418 main ()
4422 return 0;
4424 _ACEOF
4425 if ac_fn_c_try_compile "$LINENO"; then :
4426 aros_attributes="yes"
4427 else
4428 aros_attributes="no"
4430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4432 $as_echo "$aros_attributes" >&6; }
4433 if test "x-$aros_attributes" = "x-yes" ; then
4434 aros_warnflags_attributes=-Wattributes
4435 aros_nowarnflags_attributes=-Wno-attributes
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4439 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4440 CFLAGS=-Woverflow
4441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4442 /* end confdefs.h. */
4445 main ()
4449 return 0;
4451 _ACEOF
4452 if ac_fn_c_try_compile "$LINENO"; then :
4453 aros_overflow="yes"
4454 else
4455 aros_overflow="no"
4457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4459 $as_echo "$aros_overflow" >&6; }
4460 if test "x-$aros_overflow" = "x-yes" ; then
4461 aros_warnflags_overflow=-Woverflow
4462 aros_nowarnflags_overflow=-Wno-overflow
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4466 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4467 CFLAGS=-Wunused-local-typedefs
4468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4469 /* end confdefs.h. */
4472 main ()
4476 return 0;
4478 _ACEOF
4479 if ac_fn_c_try_compile "$LINENO"; then :
4480 aros_unused_local_typedefs="yes"
4481 else
4482 aros_unused_local_typedefs="no"
4484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4486 $as_echo "$aros_unused_local_typedefs" >&6; }
4487 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4488 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4489 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4493 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4494 CFLAGS=-Wmissing-braces
4495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4496 /* end confdefs.h. */
4499 main ()
4503 return 0;
4505 _ACEOF
4506 if ac_fn_c_try_compile "$LINENO"; then :
4507 aros_missing_braces="yes"
4508 else
4509 aros_missing_braces="no"
4511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4513 $as_echo "$aros_missing_braces" >&6; }
4514 if test "x-$aros_missing_braces" = "x-yes" ; then
4515 aros_warnflags_missing_braces=-Wmissing-braces
4516 aros_nowarnflags_missing_braces=-Wno-missing-braces
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4520 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4521 CFLAGS=-Wconversion-null
4522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4526 main ()
4530 return 0;
4532 _ACEOF
4533 if ac_fn_c_try_compile "$LINENO"; then :
4534 aros_conversion_null="yes"
4535 else
4536 aros_conversion_null="no"
4538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4540 $as_echo "$aros_conversion_null" >&6; }
4541 if test "x-$aros_conversion_null" = "x-yes" ; then
4542 aros_warnflags_conversion_null=-Wconversion-null
4543 aros_nowarnflags_conversion_null=-Wno-conversion-null
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4547 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4548 CFLAGS=-Wnarrowing
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4553 main ()
4557 return 0;
4559 _ACEOF
4560 if ac_fn_c_try_compile "$LINENO"; then :
4561 aros_narrowing="yes"
4562 else
4563 aros_narrowing="no"
4565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4567 $as_echo "$aros_narrowing" >&6; }
4568 if test "x-$aros_narrowing" = "x-yes" ; then
4569 aros_warnflags_narrowing=-Wnarrowing
4570 aros_nowarnflags_narrowing=-Wno-narrowing
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4574 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4575 CFLAGS=-Wvolatile-register-var
4576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4580 main ()
4584 return 0;
4586 _ACEOF
4587 if ac_fn_c_try_compile "$LINENO"; then :
4588 aros_volatile_register_var="yes"
4589 else
4590 aros_volatile_register_var="no"
4592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4594 $as_echo "$aros_volatile_register_var" >&6; }
4595 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4596 aros_warnflags_volatile_register_var=-Wvolatile-register-var
4597 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4601 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4602 CFLAGS=-Wsizeof-pointer-memaccess
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4607 main ()
4611 return 0;
4613 _ACEOF
4614 if ac_fn_c_try_compile "$LINENO"; then :
4615 aros_sizeof_pointer_memaccess="yes"
4616 else
4617 aros_sizeof_pointer_memaccess="no"
4619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4621 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4622 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4623 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
4624 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4628 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4629 CFLAGS=-Wreturn-type
4630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h. */
4634 main ()
4638 return 0;
4640 _ACEOF
4641 if ac_fn_c_try_compile "$LINENO"; then :
4642 aros_return_type="yes"
4643 else
4644 aros_return_type="no"
4646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4648 $as_echo "$aros_return_type" >&6; }
4649 if test "x-$aros_return_type" = "x-yes" ; then
4650 aros_warnflags_return_type=-Wreturn-type
4651 aros_nowarnflags_return_type=-Wno-return-type
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
4655 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
4656 CFLAGS=-Wformat-zero-length
4657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4658 /* end confdefs.h. */
4661 main ()
4665 return 0;
4667 _ACEOF
4668 if ac_fn_c_try_compile "$LINENO"; then :
4669 aros_format_zero_length="yes"
4670 else
4671 aros_format_zero_length="no"
4673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
4675 $as_echo "$aros_format_zero_length" >&6; }
4676 if test "x-$aros_format_zero_length" = "x-yes" ; then
4677 aros_warnflags_format_zero_length=-Wformat-zero-length
4678 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
4682 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
4683 CFLAGS=-Wlto-type-mismatch
4684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4685 /* end confdefs.h. */
4688 main ()
4692 return 0;
4694 _ACEOF
4695 if ac_fn_c_try_compile "$LINENO"; then :
4696 aros_lto_type_mismatch="yes"
4697 else
4698 aros_lto_type_mismatch="no"
4700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
4702 $as_echo "$aros_lto_type_mismatch" >&6; }
4703 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
4704 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
4705 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
4709 # export the feature flags...
4730 # export the feature options...
4735 # ...and warning flags...
4854 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
4857 cat >confcache <<\_ACEOF
4858 # This file is a shell script that caches the results of configure
4859 # tests run on this system so they can be shared between configure
4860 # scripts and configure runs, see configure's option --config-cache.
4861 # It is not useful on other systems. If it contains results you don't
4862 # want to keep, you may remove or edit it.
4864 # config.status only pays attention to the cache file if you give it
4865 # the --recheck option to rerun configure.
4867 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4868 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4869 # following values.
4871 _ACEOF
4873 # The following way of writing the cache mishandles newlines in values,
4874 # but we know of no workaround that is simple, portable, and efficient.
4875 # So, we kill variables containing newlines.
4876 # Ultrix sh set writes to stderr and can't be redirected directly,
4877 # and sets the high bit in the cache file unless we assign to the vars.
4879 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4880 eval ac_val=\$$ac_var
4881 case $ac_val in #(
4882 *${as_nl}*)
4883 case $ac_var in #(
4884 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4885 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4886 esac
4887 case $ac_var in #(
4888 _ | IFS | as_nl) ;; #(
4889 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4890 *) { eval $ac_var=; unset $ac_var;} ;;
4891 esac ;;
4892 esac
4893 done
4895 (set) 2>&1 |
4896 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4897 *${as_nl}ac_space=\ *)
4898 # `set' does not quote correctly, so add quotes: double-quote
4899 # substitution turns \\\\ into \\, and sed turns \\ into \.
4900 sed -n \
4901 "s/'/'\\\\''/g;
4902 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4903 ;; #(
4905 # `set' quotes correctly as required by POSIX, so do not add quotes.
4906 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4908 esac |
4909 sort
4911 sed '
4912 /^ac_cv_env_/b end
4913 t clear
4914 :clear
4915 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4916 t end
4917 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4918 :end' >>confcache
4919 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4920 if test -w "$cache_file"; then
4921 if test "x$cache_file" != "x/dev/null"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4923 $as_echo "$as_me: updating cache $cache_file" >&6;}
4924 if test ! -f "$cache_file" || test -h "$cache_file"; then
4925 cat confcache >"$cache_file"
4926 else
4927 case $cache_file in #(
4928 */* | ?:*)
4929 mv -f confcache "$cache_file"$$ &&
4930 mv -f "$cache_file"$$ "$cache_file" ;; #(
4932 mv -f confcache "$cache_file" ;;
4933 esac
4936 else
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4938 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4941 rm -f confcache
4943 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4944 # Let make expand exec_prefix.
4945 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4947 # Transform confdefs.h into DEFS.
4948 # Protect against shell expansion while executing Makefile rules.
4949 # Protect against Makefile macro expansion.
4951 # If the first sed substitution is executed (which looks for macros that
4952 # take arguments), then branch to the quote section. Otherwise,
4953 # look for a macro that doesn't take arguments.
4954 ac_script='
4955 :mline
4956 /\\$/{
4958 s,\\\n,,
4959 b mline
4961 t clear
4962 :clear
4963 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4964 t quote
4965 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4966 t quote
4967 b any
4968 :quote
4969 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4970 s/\[/\\&/g
4971 s/\]/\\&/g
4972 s/\$/$$/g
4974 :any
4977 s/^\n//
4978 s/\n/ /g
4982 DEFS=`sed -n "$ac_script" confdefs.h`
4985 ac_libobjs=
4986 ac_ltlibobjs=
4988 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4989 # 1. Remove the extension, and $U if already installed.
4990 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4991 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4992 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4993 # will be set to the directory where LIBOBJS objects are built.
4994 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4995 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4996 done
4997 LIBOBJS=$ac_libobjs
4999 LTLIBOBJS=$ac_ltlibobjs
5003 : "${CONFIG_STATUS=./config.status}"
5004 ac_write_fail=0
5005 ac_clean_files_save=$ac_clean_files
5006 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5008 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5009 as_write_fail=0
5010 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5011 #! $SHELL
5012 # Generated by $as_me.
5013 # Run this file to recreate the current configuration.
5014 # Compiler output produced by configure, useful for debugging
5015 # configure, is in config.log if it exists.
5017 debug=false
5018 ac_cs_recheck=false
5019 ac_cs_silent=false
5021 SHELL=\${CONFIG_SHELL-$SHELL}
5022 export SHELL
5023 _ASEOF
5024 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5025 ## -------------------- ##
5026 ## M4sh Initialization. ##
5027 ## -------------------- ##
5029 # Be more Bourne compatible
5030 DUALCASE=1; export DUALCASE # for MKS sh
5031 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5032 emulate sh
5033 NULLCMD=:
5034 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5035 # is contrary to our usage. Disable this feature.
5036 alias -g '${1+"$@"}'='"$@"'
5037 setopt NO_GLOB_SUBST
5038 else
5039 case `(set -o) 2>/dev/null` in #(
5040 *posix*) :
5041 set -o posix ;; #(
5042 *) :
5044 esac
5048 as_nl='
5050 export as_nl
5051 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5052 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5053 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5054 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5055 # Prefer a ksh shell builtin over an external printf program on Solaris,
5056 # but without wasting forks for bash or zsh.
5057 if test -z "$BASH_VERSION$ZSH_VERSION" \
5058 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5059 as_echo='print -r --'
5060 as_echo_n='print -rn --'
5061 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5062 as_echo='printf %s\n'
5063 as_echo_n='printf %s'
5064 else
5065 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5066 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5067 as_echo_n='/usr/ucb/echo -n'
5068 else
5069 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5070 as_echo_n_body='eval
5071 arg=$1;
5072 case $arg in #(
5073 *"$as_nl"*)
5074 expr "X$arg" : "X\\(.*\\)$as_nl";
5075 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5076 esac;
5077 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5079 export as_echo_n_body
5080 as_echo_n='sh -c $as_echo_n_body as_echo'
5082 export as_echo_body
5083 as_echo='sh -c $as_echo_body as_echo'
5086 # The user is always right.
5087 if test "${PATH_SEPARATOR+set}" != set; then
5088 PATH_SEPARATOR=:
5089 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5090 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5091 PATH_SEPARATOR=';'
5096 # IFS
5097 # We need space, tab and new line, in precisely that order. Quoting is
5098 # there to prevent editors from complaining about space-tab.
5099 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5100 # splitting by setting IFS to empty value.)
5101 IFS=" "" $as_nl"
5103 # Find who we are. Look in the path if we contain no directory separator.
5104 as_myself=
5105 case $0 in #((
5106 *[\\/]* ) as_myself=$0 ;;
5107 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5108 for as_dir in $PATH
5110 IFS=$as_save_IFS
5111 test -z "$as_dir" && as_dir=.
5112 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5113 done
5114 IFS=$as_save_IFS
5117 esac
5118 # We did not find ourselves, most probably we were run as `sh COMMAND'
5119 # in which case we are not to be found in the path.
5120 if test "x$as_myself" = x; then
5121 as_myself=$0
5123 if test ! -f "$as_myself"; then
5124 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5125 exit 1
5128 # Unset variables that we do not need and which cause bugs (e.g. in
5129 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5130 # suppresses any "Segmentation fault" message there. '((' could
5131 # trigger a bug in pdksh 5.2.14.
5132 for as_var in BASH_ENV ENV MAIL MAILPATH
5133 do eval test x\${$as_var+set} = xset \
5134 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5135 done
5136 PS1='$ '
5137 PS2='> '
5138 PS4='+ '
5140 # NLS nuisances.
5141 LC_ALL=C
5142 export LC_ALL
5143 LANGUAGE=C
5144 export LANGUAGE
5146 # CDPATH.
5147 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5150 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5151 # ----------------------------------------
5152 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5153 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5154 # script with STATUS, using 1 if that was 0.
5155 as_fn_error ()
5157 as_status=$1; test $as_status -eq 0 && as_status=1
5158 if test "$4"; then
5159 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5160 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5162 $as_echo "$as_me: error: $2" >&2
5163 as_fn_exit $as_status
5164 } # as_fn_error
5167 # as_fn_set_status STATUS
5168 # -----------------------
5169 # Set $? to STATUS, without forking.
5170 as_fn_set_status ()
5172 return $1
5173 } # as_fn_set_status
5175 # as_fn_exit STATUS
5176 # -----------------
5177 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5178 as_fn_exit ()
5180 set +e
5181 as_fn_set_status $1
5182 exit $1
5183 } # as_fn_exit
5185 # as_fn_unset VAR
5186 # ---------------
5187 # Portably unset VAR.
5188 as_fn_unset ()
5190 { eval $1=; unset $1;}
5192 as_unset=as_fn_unset
5193 # as_fn_append VAR VALUE
5194 # ----------------------
5195 # Append the text in VALUE to the end of the definition contained in VAR. Take
5196 # advantage of any shell optimizations that allow amortized linear growth over
5197 # repeated appends, instead of the typical quadratic growth present in naive
5198 # implementations.
5199 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5200 eval 'as_fn_append ()
5202 eval $1+=\$2
5204 else
5205 as_fn_append ()
5207 eval $1=\$$1\$2
5209 fi # as_fn_append
5211 # as_fn_arith ARG...
5212 # ------------------
5213 # Perform arithmetic evaluation on the ARGs, and store the result in the
5214 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5215 # must be portable across $(()) and expr.
5216 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5217 eval 'as_fn_arith ()
5219 as_val=$(( $* ))
5221 else
5222 as_fn_arith ()
5224 as_val=`expr "$@" || test $? -eq 1`
5226 fi # as_fn_arith
5229 if expr a : '\(a\)' >/dev/null 2>&1 &&
5230 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5231 as_expr=expr
5232 else
5233 as_expr=false
5236 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5237 as_basename=basename
5238 else
5239 as_basename=false
5242 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5243 as_dirname=dirname
5244 else
5245 as_dirname=false
5248 as_me=`$as_basename -- "$0" ||
5249 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5250 X"$0" : 'X\(//\)$' \| \
5251 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5252 $as_echo X/"$0" |
5253 sed '/^.*\/\([^/][^/]*\)\/*$/{
5254 s//\1/
5257 /^X\/\(\/\/\)$/{
5258 s//\1/
5261 /^X\/\(\/\).*/{
5262 s//\1/
5265 s/.*/./; q'`
5267 # Avoid depending upon Character Ranges.
5268 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5269 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5270 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5271 as_cr_digits='0123456789'
5272 as_cr_alnum=$as_cr_Letters$as_cr_digits
5274 ECHO_C= ECHO_N= ECHO_T=
5275 case `echo -n x` in #(((((
5276 -n*)
5277 case `echo 'xy\c'` in
5278 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5279 xy) ECHO_C='\c';;
5280 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5281 ECHO_T=' ';;
5282 esac;;
5284 ECHO_N='-n';;
5285 esac
5287 rm -f conf$$ conf$$.exe conf$$.file
5288 if test -d conf$$.dir; then
5289 rm -f conf$$.dir/conf$$.file
5290 else
5291 rm -f conf$$.dir
5292 mkdir conf$$.dir 2>/dev/null
5294 if (echo >conf$$.file) 2>/dev/null; then
5295 if ln -s conf$$.file conf$$ 2>/dev/null; then
5296 as_ln_s='ln -s'
5297 # ... but there are two gotchas:
5298 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5299 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5300 # In both cases, we have to default to `cp -pR'.
5301 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5302 as_ln_s='cp -pR'
5303 elif ln conf$$.file conf$$ 2>/dev/null; then
5304 as_ln_s=ln
5305 else
5306 as_ln_s='cp -pR'
5308 else
5309 as_ln_s='cp -pR'
5311 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5312 rmdir conf$$.dir 2>/dev/null
5315 # as_fn_mkdir_p
5316 # -------------
5317 # Create "$as_dir" as a directory, including parents if necessary.
5318 as_fn_mkdir_p ()
5321 case $as_dir in #(
5322 -*) as_dir=./$as_dir;;
5323 esac
5324 test -d "$as_dir" || eval $as_mkdir_p || {
5325 as_dirs=
5326 while :; do
5327 case $as_dir in #(
5328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5329 *) as_qdir=$as_dir;;
5330 esac
5331 as_dirs="'$as_qdir' $as_dirs"
5332 as_dir=`$as_dirname -- "$as_dir" ||
5333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5334 X"$as_dir" : 'X\(//\)[^/]' \| \
5335 X"$as_dir" : 'X\(//\)$' \| \
5336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5337 $as_echo X"$as_dir" |
5338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5339 s//\1/
5342 /^X\(\/\/\)[^/].*/{
5343 s//\1/
5346 /^X\(\/\/\)$/{
5347 s//\1/
5350 /^X\(\/\).*/{
5351 s//\1/
5354 s/.*/./; q'`
5355 test -d "$as_dir" && break
5356 done
5357 test -z "$as_dirs" || eval "mkdir $as_dirs"
5358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5361 } # as_fn_mkdir_p
5362 if mkdir -p . 2>/dev/null; then
5363 as_mkdir_p='mkdir -p "$as_dir"'
5364 else
5365 test -d ./-p && rmdir ./-p
5366 as_mkdir_p=false
5370 # as_fn_executable_p FILE
5371 # -----------------------
5372 # Test if FILE is an executable regular file.
5373 as_fn_executable_p ()
5375 test -f "$1" && test -x "$1"
5376 } # as_fn_executable_p
5377 as_test_x='test -x'
5378 as_executable_p=as_fn_executable_p
5380 # Sed expression to map a string onto a valid CPP name.
5381 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5383 # Sed expression to map a string onto a valid variable name.
5384 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5387 exec 6>&1
5388 ## ----------------------------------- ##
5389 ## Main body of $CONFIG_STATUS script. ##
5390 ## ----------------------------------- ##
5391 _ASEOF
5392 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5395 # Save the log message, to keep $0 and so on meaningful, and to
5396 # report actual input values of CONFIG_FILES etc. instead of their
5397 # values after options handling.
5398 ac_log="
5399 This file was extended by $as_me, which was
5400 generated by GNU Autoconf 2.69. Invocation command line was
5402 CONFIG_FILES = $CONFIG_FILES
5403 CONFIG_HEADERS = $CONFIG_HEADERS
5404 CONFIG_LINKS = $CONFIG_LINKS
5405 CONFIG_COMMANDS = $CONFIG_COMMANDS
5406 $ $0 $@
5408 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5411 _ACEOF
5413 case $ac_config_files in *"
5414 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5415 esac
5419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5420 # Files that config.status was made for.
5421 config_files="$ac_config_files"
5423 _ACEOF
5425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5426 ac_cs_usage="\
5427 \`$as_me' instantiates files and other configuration actions
5428 from templates according to the current configuration. Unless the files
5429 and actions are specified as TAGs, all are instantiated by default.
5431 Usage: $0 [OPTION]... [TAG]...
5433 -h, --help print this help, then exit
5434 -V, --version print version number and configuration settings, then exit
5435 --config print configuration, then exit
5436 -q, --quiet, --silent
5437 do not print progress messages
5438 -d, --debug don't remove temporary files
5439 --recheck update $as_me by reconfiguring in the same conditions
5440 --file=FILE[:TEMPLATE]
5441 instantiate the configuration file FILE
5443 Configuration files:
5444 $config_files
5446 Report bugs to the package provider."
5448 _ACEOF
5449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5450 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5451 ac_cs_version="\\
5452 config.status
5453 configured by $0, generated by GNU Autoconf 2.69,
5454 with options \\"\$ac_cs_config\\"
5456 Copyright (C) 2012 Free Software Foundation, Inc.
5457 This config.status script is free software; the Free Software Foundation
5458 gives unlimited permission to copy, distribute and modify it."
5460 ac_pwd='$ac_pwd'
5461 srcdir='$srcdir'
5462 test -n "\$AWK" || AWK=awk
5463 _ACEOF
5465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5466 # The default lists apply if the user does not specify any file.
5467 ac_need_defaults=:
5468 while test $# != 0
5470 case $1 in
5471 --*=?*)
5472 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5473 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5474 ac_shift=:
5476 --*=)
5477 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5478 ac_optarg=
5479 ac_shift=:
5482 ac_option=$1
5483 ac_optarg=$2
5484 ac_shift=shift
5486 esac
5488 case $ac_option in
5489 # Handling of the options.
5490 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5491 ac_cs_recheck=: ;;
5492 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5493 $as_echo "$ac_cs_version"; exit ;;
5494 --config | --confi | --conf | --con | --co | --c )
5495 $as_echo "$ac_cs_config"; exit ;;
5496 --debug | --debu | --deb | --de | --d | -d )
5497 debug=: ;;
5498 --file | --fil | --fi | --f )
5499 $ac_shift
5500 case $ac_optarg in
5501 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5502 '') as_fn_error $? "missing file argument" ;;
5503 esac
5504 as_fn_append CONFIG_FILES " '$ac_optarg'"
5505 ac_need_defaults=false;;
5506 --he | --h | --help | --hel | -h )
5507 $as_echo "$ac_cs_usage"; exit ;;
5508 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5509 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5510 ac_cs_silent=: ;;
5512 # This is an error.
5513 -*) as_fn_error $? "unrecognized option: \`$1'
5514 Try \`$0 --help' for more information." ;;
5516 *) as_fn_append ac_config_targets " $1"
5517 ac_need_defaults=false ;;
5519 esac
5520 shift
5521 done
5523 ac_configure_extra_args=
5525 if $ac_cs_silent; then
5526 exec 6>/dev/null
5527 ac_configure_extra_args="$ac_configure_extra_args --silent"
5530 _ACEOF
5531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5532 if \$ac_cs_recheck; then
5533 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5534 shift
5535 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5536 CONFIG_SHELL='$SHELL'
5537 export CONFIG_SHELL
5538 exec "\$@"
5541 _ACEOF
5542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5543 exec 5>>config.log
5545 echo
5546 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5547 ## Running $as_me. ##
5548 _ASBOX
5549 $as_echo "$ac_log"
5550 } >&5
5552 _ACEOF
5553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5554 _ACEOF
5556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5558 # Handling of arguments.
5559 for ac_config_target in $ac_config_targets
5561 case $ac_config_target in
5562 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5564 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5565 esac
5566 done
5569 # If the user did not use the arguments to specify the items to instantiate,
5570 # then the envvar interface is used. Set only those that are not.
5571 # We use the long form for the default assignment because of an extremely
5572 # bizarre bug on SunOS 4.1.3.
5573 if $ac_need_defaults; then
5574 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5577 # Have a temporary directory for convenience. Make it in the build tree
5578 # simply because there is no reason against having it here, and in addition,
5579 # creating and moving files from /tmp can sometimes cause problems.
5580 # Hook for its removal unless debugging.
5581 # Note that there is a small window in which the directory will not be cleaned:
5582 # after its creation but before its name has been assigned to `$tmp'.
5583 $debug ||
5585 tmp= ac_tmp=
5586 trap 'exit_status=$?
5587 : "${ac_tmp:=$tmp}"
5588 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5590 trap 'as_fn_exit 1' 1 2 13 15
5592 # Create a (secure) tmp directory for tmp files.
5595 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5596 test -d "$tmp"
5597 } ||
5599 tmp=./conf$$-$RANDOM
5600 (umask 077 && mkdir "$tmp")
5601 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5602 ac_tmp=$tmp
5604 # Set up the scripts for CONFIG_FILES section.
5605 # No need to generate them if there are no CONFIG_FILES.
5606 # This happens for instance with `./config.status config.h'.
5607 if test -n "$CONFIG_FILES"; then
5610 ac_cr=`echo X | tr X '\015'`
5611 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5612 # But we know of no other shell where ac_cr would be empty at this
5613 # point, so we can use a bashism as a fallback.
5614 if test "x$ac_cr" = x; then
5615 eval ac_cr=\$\'\\r\'
5617 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5618 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5619 ac_cs_awk_cr='\\r'
5620 else
5621 ac_cs_awk_cr=$ac_cr
5624 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5625 _ACEOF
5629 echo "cat >conf$$subs.awk <<_ACEOF" &&
5630 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5631 echo "_ACEOF"
5632 } >conf$$subs.sh ||
5633 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5634 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5635 ac_delim='%!_!# '
5636 for ac_last_try in false false false false false :; do
5637 . ./conf$$subs.sh ||
5638 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5640 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5641 if test $ac_delim_n = $ac_delim_num; then
5642 break
5643 elif $ac_last_try; then
5644 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5645 else
5646 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5648 done
5649 rm -f conf$$subs.sh
5651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5652 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5653 _ACEOF
5654 sed -n '
5656 s/^/S["/; s/!.*/"]=/
5659 s/^[^!]*!//
5660 :repl
5661 t repl
5662 s/'"$ac_delim"'$//
5663 t delim
5666 s/\(.\{148\}\)..*/\1/
5667 t more1
5668 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5671 b repl
5672 :more1
5673 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5676 s/.\{148\}//
5677 t nl
5678 :delim
5680 s/\(.\{148\}\)..*/\1/
5681 t more2
5682 s/["\\]/\\&/g; s/^/"/; s/$/"/
5685 :more2
5686 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5689 s/.\{148\}//
5690 t delim
5691 ' <conf$$subs.awk | sed '
5692 /^[^""]/{
5694 s/\n//
5696 ' >>$CONFIG_STATUS || ac_write_fail=1
5697 rm -f conf$$subs.awk
5698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5699 _ACAWK
5700 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5701 for (key in S) S_is_set[key] = 1
5702 FS = "\a"
5706 line = $ 0
5707 nfields = split(line, field, "@")
5708 substed = 0
5709 len = length(field[1])
5710 for (i = 2; i < nfields; i++) {
5711 key = field[i]
5712 keylen = length(key)
5713 if (S_is_set[key]) {
5714 value = S[key]
5715 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5716 len += length(value) + length(field[++i])
5717 substed = 1
5718 } else
5719 len += 1 + keylen
5722 print line
5725 _ACAWK
5726 _ACEOF
5727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5728 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5729 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5730 else
5732 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5733 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5734 _ACEOF
5736 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5737 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5738 # trailing colons and then remove the whole line if VPATH becomes empty
5739 # (actually we leave an empty line to preserve line numbers).
5740 if test "x$srcdir" = x.; then
5741 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5743 s///
5744 s/^/:/
5745 s/[ ]*$/:/
5746 s/:\$(srcdir):/:/g
5747 s/:\${srcdir}:/:/g
5748 s/:@srcdir@:/:/g
5749 s/^:*//
5750 s/:*$//
5752 s/\(=[ ]*\).*/\1/
5754 s/\n//
5755 s/^[^=]*=[ ]*$//
5759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5760 fi # test -n "$CONFIG_FILES"
5763 eval set X " :F $CONFIG_FILES "
5764 shift
5765 for ac_tag
5767 case $ac_tag in
5768 :[FHLC]) ac_mode=$ac_tag; continue;;
5769 esac
5770 case $ac_mode$ac_tag in
5771 :[FHL]*:*);;
5772 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5773 :[FH]-) ac_tag=-:-;;
5774 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5775 esac
5776 ac_save_IFS=$IFS
5777 IFS=:
5778 set x $ac_tag
5779 IFS=$ac_save_IFS
5780 shift
5781 ac_file=$1
5782 shift
5784 case $ac_mode in
5785 :L) ac_source=$1;;
5786 :[FH])
5787 ac_file_inputs=
5788 for ac_f
5790 case $ac_f in
5791 -) ac_f="$ac_tmp/stdin";;
5792 *) # Look for the file first in the build tree, then in the source tree
5793 # (if the path is not absolute). The absolute path cannot be DOS-style,
5794 # because $ac_f cannot contain `:'.
5795 test -f "$ac_f" ||
5796 case $ac_f in
5797 [\\/$]*) false;;
5798 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5799 esac ||
5800 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5801 esac
5802 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5803 as_fn_append ac_file_inputs " '$ac_f'"
5804 done
5806 # Let's still pretend it is `configure' which instantiates (i.e., don't
5807 # use $as_me), people would be surprised to read:
5808 # /* config.h. Generated by config.status. */
5809 configure_input='Generated from '`
5810 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5811 `' by configure.'
5812 if test x"$ac_file" != x-; then
5813 configure_input="$ac_file. $configure_input"
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5815 $as_echo "$as_me: creating $ac_file" >&6;}
5817 # Neutralize special characters interpreted by sed in replacement strings.
5818 case $configure_input in #(
5819 *\&* | *\|* | *\\* )
5820 ac_sed_conf_input=`$as_echo "$configure_input" |
5821 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5822 *) ac_sed_conf_input=$configure_input;;
5823 esac
5825 case $ac_tag in
5826 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5827 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5828 esac
5830 esac
5832 ac_dir=`$as_dirname -- "$ac_file" ||
5833 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5834 X"$ac_file" : 'X\(//\)[^/]' \| \
5835 X"$ac_file" : 'X\(//\)$' \| \
5836 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5837 $as_echo X"$ac_file" |
5838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5839 s//\1/
5842 /^X\(\/\/\)[^/].*/{
5843 s//\1/
5846 /^X\(\/\/\)$/{
5847 s//\1/
5850 /^X\(\/\).*/{
5851 s//\1/
5854 s/.*/./; q'`
5855 as_dir="$ac_dir"; as_fn_mkdir_p
5856 ac_builddir=.
5858 case "$ac_dir" in
5859 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5861 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5862 # A ".." for each directory in $ac_dir_suffix.
5863 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5864 case $ac_top_builddir_sub in
5865 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5866 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5867 esac ;;
5868 esac
5869 ac_abs_top_builddir=$ac_pwd
5870 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5871 # for backward compatibility:
5872 ac_top_builddir=$ac_top_build_prefix
5874 case $srcdir in
5875 .) # We are building in place.
5876 ac_srcdir=.
5877 ac_top_srcdir=$ac_top_builddir_sub
5878 ac_abs_top_srcdir=$ac_pwd ;;
5879 [\\/]* | ?:[\\/]* ) # Absolute name.
5880 ac_srcdir=$srcdir$ac_dir_suffix;
5881 ac_top_srcdir=$srcdir
5882 ac_abs_top_srcdir=$srcdir ;;
5883 *) # Relative name.
5884 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5885 ac_top_srcdir=$ac_top_build_prefix$srcdir
5886 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5887 esac
5888 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5891 case $ac_mode in
5894 # CONFIG_FILE
5897 _ACEOF
5899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5900 # If the template does not know about datarootdir, expand it.
5901 # FIXME: This hack should be removed a few years after 2.60.
5902 ac_datarootdir_hack=; ac_datarootdir_seen=
5903 ac_sed_dataroot='
5904 /datarootdir/ {
5908 /@datadir@/p
5909 /@docdir@/p
5910 /@infodir@/p
5911 /@localedir@/p
5912 /@mandir@/p'
5913 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5914 *datarootdir*) ac_datarootdir_seen=yes;;
5915 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5917 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5918 _ACEOF
5919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5920 ac_datarootdir_hack='
5921 s&@datadir@&$datadir&g
5922 s&@docdir@&$docdir&g
5923 s&@infodir@&$infodir&g
5924 s&@localedir@&$localedir&g
5925 s&@mandir@&$mandir&g
5926 s&\\\${datarootdir}&$datarootdir&g' ;;
5927 esac
5928 _ACEOF
5930 # Neutralize VPATH when `$srcdir' = `.'.
5931 # Shell code in configure.ac might set extrasub.
5932 # FIXME: do we really want to maintain this feature?
5933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5934 ac_sed_extra="$ac_vpsub
5935 $extrasub
5936 _ACEOF
5937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5939 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5940 s|@configure_input@|$ac_sed_conf_input|;t t
5941 s&@top_builddir@&$ac_top_builddir_sub&;t t
5942 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5943 s&@srcdir@&$ac_srcdir&;t t
5944 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5945 s&@top_srcdir@&$ac_top_srcdir&;t t
5946 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5947 s&@builddir@&$ac_builddir&;t t
5948 s&@abs_builddir@&$ac_abs_builddir&;t t
5949 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5950 $ac_datarootdir_hack
5952 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5953 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5955 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5956 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5957 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5958 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5960 which seems to be undefined. Please make sure it is defined" >&5
5961 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5962 which seems to be undefined. Please make sure it is defined" >&2;}
5964 rm -f "$ac_tmp/stdin"
5965 case $ac_file in
5966 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5967 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5968 esac \
5969 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5974 esac
5976 done # for ac_tag
5979 as_fn_exit 0
5980 _ACEOF
5981 ac_clean_files=$ac_clean_files_save
5983 test $ac_write_fail = 0 ||
5984 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5987 # configure is writing to config.log, and then calls config.status.
5988 # config.status does its own redirection, appending to config.log.
5989 # Unfortunately, on DOS this fails, as config.log is still kept open
5990 # by configure, so config.status won't be able to write to it; its
5991 # output is simply discarded. So we exec the FD to /dev/null,
5992 # effectively closing config.log, so it can be properly (re)opened and
5993 # appended to by config.status. When coming back to configure, we
5994 # need to make the FD available again.
5995 if test "$no_create" != yes; then
5996 ac_cs_success=:
5997 ac_config_status_args=
5998 test "$silent" = yes &&
5999 ac_config_status_args="$ac_config_status_args --quiet"
6000 exec 5>/dev/null
6001 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6002 exec 5>>config.log
6003 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6004 # would make configure fail if this is the last instruction.
6005 $ac_cs_success || as_fn_exit 1
6007 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6009 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}