fix non-smp builds
[AROS.git] / config / features
blob467d32382d72f7edbd77320f3fb3f4d9c78df107
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
271 exit 1
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
289 { eval $1=; unset $1;}
291 as_unset=as_fn_unset
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
298 return $1
299 } # as_fn_set_status
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
342 /^X\(\/\/\)$/{
343 s//\1/
346 /^X\(\/\).*/{
347 s//\1/
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
357 } # as_fn_mkdir_p
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
375 eval $1+=\$2
377 else
378 as_fn_append ()
380 eval $1=\$$1\$2
382 fi # as_fn_append
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
392 as_val=$(( $* ))
394 else
395 as_fn_arith ()
397 as_val=`expr "$@" || test $? -eq 1`
399 fi # as_fn_arith
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
446 /^X\/\(\/\/\)$/{
447 s//\1/
450 /^X\/\(\/\).*/{
451 s//\1/
454 s/.*/./; q'`
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
477 :lineno
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
509 ECHO_N='-n';;
510 esac
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
533 else
534 as_ln_s='cp -pR'
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
559 # Name of the host.
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 # Initializations.
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
576 # Identity of this package.
577 PACKAGE_NAME=
578 PACKAGE_TARNAME=
579 PACKAGE_VERSION=
580 PACKAGE_STRING=
581 PACKAGE_BUGREPORT=
582 PACKAGE_URL=
584 ac_unique_file="../mmakefile"
585 ac_subst_vars='LTLIBOBJS
586 LIBOBJS
587 aros_nowarnflags_lto_type_mismatch
588 aros_warnflags_lto_type_mismatch
589 aros_nowarnflags_format_zero_length
590 aros_warnflags_format_zero_length
591 aros_nowarnflags_return_type
592 aros_warnflags_return_type
593 aros_nowarnflags_sizeof_pointer_memaccess
594 aros_warnflags_sizeof_pointer_memaccess
595 aros_nowarnflags_volatile_register_var
596 aros_warnflags_volatile_register_var
597 aros_nowarnflags_narrowing
598 aros_warnflags_narrowing
599 aros_nowarnflags_conversion_null
600 aros_warnflags_conversion_null
601 aros_nowarnflags_missing_braces
602 aros_warnflags_missing_braces
603 aros_nowarnflags_unused_local_typedefs
604 aros_warnflags_unused_local_typedefs
605 aros_nowarnflags_overflow
606 aros_warnflags_overflow
607 aros_nowarnflags_attributes
608 aros_warnflags_attributes
609 aros_nowarnflags_sign_compare
610 aros_warnflags_sign_compare
611 aros_nowarnflags_deprecated_declarations
612 aros_warnflags_deprecated_declarations
613 aros_nowarnflags_frame_address
614 aros_warnflags_frame_address
615 aros_nowarnflags_shift_overflow
616 aros_warnflags_shift_overflow
617 aros_nowarnflags_pointer_sign
618 aros_warnflags_pointer_sign
619 aros_nowarnflags_logical_not_parentheses
620 aros_warnflags_logical_not_parentheses
621 aros_nowarnflags_bool_compare
622 aros_warnflags_bool_compare
623 aros_nowarnflags_incompatible_pointer_types
624 aros_warnflags_incompatible_pointer_types
625 aros_nowarnflags_comment
626 aros_warnflags_comment
627 aros_nowarnflags_write_strings
628 aros_warnflags_write_strings
629 aros_nowarnflags_unused_const_variable
630 aros_warnflags_unused_const_variable
631 aros_nowarnflags_pointer_to_int_cast
632 aros_warnflags_pointer_to_int_cast
633 aros_nowarnflags_int_to_pointer_cast
634 aros_warnflags_int_to_pointer_cast
635 aros_nowarnflags_int_conversion
636 aros_warnflags_int_conversion
637 aros_nowarnflags_discarded_array_qualifiers
638 aros_warnflags_discarded_array_qualifiers
639 aros_nowarnflags_unknown_pragmas
640 aros_warnflags_unknown_pragmas
641 aros_nowarnflags_sequence_point
642 aros_warnflags_sequence_point
643 aros_nowarnflags_discarded_qualifiers
644 aros_warnflags_discarded_qualifiers
645 aros_nowarnflags_switch
646 aros_warnflags_switch
647 aros_nowarnflags_cpp
648 aros_warnflags_cpp
649 aros_nowarnflags_aggressive_loop_optimizations
650 aros_warnflags_aggressive_loop_optimizations
651 aros_nowarnflags_implicit_int
652 aros_warnflags_implicit_int
653 aros_nowarnflags_format_contains_nul
654 aros_warnflags_format_contains_nul
655 aros_nowarnflags_endif_labels
656 aros_warnflags_endif_labels
657 aros_nowarnflags_char_subscripts
658 aros_warnflags_char_subscripts
659 aros_nowarnflags_parentheses
660 aros_warnflags_parentheses
661 aros_nowarnflags_format
662 aros_warnflags_format
663 aros_nowarnflags_implicit_function_declaration
664 aros_warnflags_implicit_function_declaration
665 aros_nowarnflags_maybe_uninitialized
666 aros_warnflags_maybe_uninitialized
667 aros_nowarnflags_uninitialized
668 aros_warnflags_uninitialized
669 aros_nowarnflags_unused_parameter
670 aros_warnflags_unused_parameter
671 aros_nowarnflags_unused_function
672 aros_warnflags_unused_function
673 aros_nowarnflags_unused_variable
674 aros_warnflags_unused_variable
675 aros_nowarnflags_unused_value
676 aros_warnflags_unused_value
677 aros_nowarnflags_unused
678 aros_warnflags_unused
679 aros_nowarnflags_nonnull_compare
680 aros_warnflags_nonnull_compare
681 aros_nowarnflags_misleading_indentation
682 aros_warnflags_misleading_indentation
683 aros_nowarnflags_format_security
684 aros_warnflags_format_security
685 aros_nowarnflags_strict_overflow
686 aros_warnflags_strict_overflow
687 aros_nowarnflags_strict_prototypes
688 aros_warnflags_strict_prototypes
689 aros_nowarnflags_enum_compare
690 aros_warnflags_enum_compare
691 aros_nowarnflags_array_bounds
692 aros_warnflags_array_bounds
693 aros_nowarnflags_strict_aliasing
694 aros_warnflags_strict_aliasing
695 aros_nowarnflags_unused_but_set_variable
696 aros_warnflags_unused_but_set_variable
697 aros_nowarnflags_unknown_warning_option
698 aros_warnflags_unknown_warning_option
699 aros_nowarnflags_unused_command_line_argument
700 aros_warnflags_unused_command_line_argument
701 aros_cflags_iquote_end
702 aros_cflags_iquote
703 aros_cflags_nostrictaliasing
704 aros_cflags_strictaliasing
705 aros_cflags_peel_loops
706 aros_cflags_loop_strip_mine
707 aros_cflags_loop_interchange
708 aros_cflags_loop_block
709 aros_cflags_whole_program
710 aros_cflags_nolto
711 aros_cflags_lto
712 aros_cflags_fast_math
713 OBJEXT
714 EXEEXT
715 ac_ct_CC
716 CPPFLAGS
717 LDFLAGS
718 CFLAGS
720 target_alias
721 host_alias
722 build_alias
723 LIBS
724 ECHO_T
725 ECHO_N
726 ECHO_C
727 DEFS
728 mandir
729 localedir
730 libdir
731 psdir
732 pdfdir
733 dvidir
734 htmldir
735 infodir
736 docdir
737 oldincludedir
738 includedir
739 localstatedir
740 sharedstatedir
741 sysconfdir
742 datadir
743 datarootdir
744 libexecdir
745 sbindir
746 bindir
747 program_transform_name
748 prefix
749 exec_prefix
750 PACKAGE_URL
751 PACKAGE_BUGREPORT
752 PACKAGE_STRING
753 PACKAGE_VERSION
754 PACKAGE_TARNAME
755 PACKAGE_NAME
756 PATH_SEPARATOR
757 SHELL'
758 ac_subst_files=''
759 ac_user_opts='
760 enable_option_checking
761 with_config_dir
763 ac_precious_vars='build_alias
764 host_alias
765 target_alias
767 CFLAGS
768 LDFLAGS
769 LIBS
770 CPPFLAGS'
773 # Initialize some variables set by options.
774 ac_init_help=
775 ac_init_version=false
776 ac_unrecognized_opts=
777 ac_unrecognized_sep=
778 # The variables have the same names as the options, with
779 # dashes changed to underlines.
780 cache_file=/dev/null
781 exec_prefix=NONE
782 no_create=
783 no_recursion=
784 prefix=NONE
785 program_prefix=NONE
786 program_suffix=NONE
787 program_transform_name=s,x,x,
788 silent=
789 site=
790 srcdir=
791 verbose=
792 x_includes=NONE
793 x_libraries=NONE
795 # Installation directory options.
796 # These are left unexpanded so users can "make install exec_prefix=/foo"
797 # and all the variables that are supposed to be based on exec_prefix
798 # by default will actually change.
799 # Use braces instead of parens because sh, perl, etc. also accept them.
800 # (The list follows the same order as the GNU Coding Standards.)
801 bindir='${exec_prefix}/bin'
802 sbindir='${exec_prefix}/sbin'
803 libexecdir='${exec_prefix}/libexec'
804 datarootdir='${prefix}/share'
805 datadir='${datarootdir}'
806 sysconfdir='${prefix}/etc'
807 sharedstatedir='${prefix}/com'
808 localstatedir='${prefix}/var'
809 includedir='${prefix}/include'
810 oldincludedir='/usr/include'
811 docdir='${datarootdir}/doc/${PACKAGE}'
812 infodir='${datarootdir}/info'
813 htmldir='${docdir}'
814 dvidir='${docdir}'
815 pdfdir='${docdir}'
816 psdir='${docdir}'
817 libdir='${exec_prefix}/lib'
818 localedir='${datarootdir}/locale'
819 mandir='${datarootdir}/man'
821 ac_prev=
822 ac_dashdash=
823 for ac_option
825 # If the previous option needs an argument, assign it.
826 if test -n "$ac_prev"; then
827 eval $ac_prev=\$ac_option
828 ac_prev=
829 continue
832 case $ac_option in
833 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
834 *=) ac_optarg= ;;
835 *) ac_optarg=yes ;;
836 esac
838 # Accept the important Cygnus configure options, so we can diagnose typos.
840 case $ac_dashdash$ac_option in
842 ac_dashdash=yes ;;
844 -bindir | --bindir | --bindi | --bind | --bin | --bi)
845 ac_prev=bindir ;;
846 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
847 bindir=$ac_optarg ;;
849 -build | --build | --buil | --bui | --bu)
850 ac_prev=build_alias ;;
851 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
852 build_alias=$ac_optarg ;;
854 -cache-file | --cache-file | --cache-fil | --cache-fi \
855 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
856 ac_prev=cache_file ;;
857 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
858 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
859 cache_file=$ac_optarg ;;
861 --config-cache | -C)
862 cache_file=config.cache ;;
864 -datadir | --datadir | --datadi | --datad)
865 ac_prev=datadir ;;
866 -datadir=* | --datadir=* | --datadi=* | --datad=*)
867 datadir=$ac_optarg ;;
869 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
870 | --dataroo | --dataro | --datar)
871 ac_prev=datarootdir ;;
872 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
873 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
874 datarootdir=$ac_optarg ;;
876 -disable-* | --disable-*)
877 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
878 # Reject names that are not valid shell variable names.
879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
880 as_fn_error $? "invalid feature name: $ac_useropt"
881 ac_useropt_orig=$ac_useropt
882 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
883 case $ac_user_opts in
885 "enable_$ac_useropt"
886 "*) ;;
887 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
888 ac_unrecognized_sep=', ';;
889 esac
890 eval enable_$ac_useropt=no ;;
892 -docdir | --docdir | --docdi | --doc | --do)
893 ac_prev=docdir ;;
894 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
895 docdir=$ac_optarg ;;
897 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
898 ac_prev=dvidir ;;
899 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
900 dvidir=$ac_optarg ;;
902 -enable-* | --enable-*)
903 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
904 # Reject names that are not valid shell variable names.
905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
906 as_fn_error $? "invalid feature name: $ac_useropt"
907 ac_useropt_orig=$ac_useropt
908 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
909 case $ac_user_opts in
911 "enable_$ac_useropt"
912 "*) ;;
913 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
914 ac_unrecognized_sep=', ';;
915 esac
916 eval enable_$ac_useropt=\$ac_optarg ;;
918 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
919 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
920 | --exec | --exe | --ex)
921 ac_prev=exec_prefix ;;
922 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
923 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
924 | --exec=* | --exe=* | --ex=*)
925 exec_prefix=$ac_optarg ;;
927 -gas | --gas | --ga | --g)
928 # Obsolete; use --with-gas.
929 with_gas=yes ;;
931 -help | --help | --hel | --he | -h)
932 ac_init_help=long ;;
933 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
934 ac_init_help=recursive ;;
935 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
936 ac_init_help=short ;;
938 -host | --host | --hos | --ho)
939 ac_prev=host_alias ;;
940 -host=* | --host=* | --hos=* | --ho=*)
941 host_alias=$ac_optarg ;;
943 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
944 ac_prev=htmldir ;;
945 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
946 | --ht=*)
947 htmldir=$ac_optarg ;;
949 -includedir | --includedir | --includedi | --included | --include \
950 | --includ | --inclu | --incl | --inc)
951 ac_prev=includedir ;;
952 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
953 | --includ=* | --inclu=* | --incl=* | --inc=*)
954 includedir=$ac_optarg ;;
956 -infodir | --infodir | --infodi | --infod | --info | --inf)
957 ac_prev=infodir ;;
958 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
959 infodir=$ac_optarg ;;
961 -libdir | --libdir | --libdi | --libd)
962 ac_prev=libdir ;;
963 -libdir=* | --libdir=* | --libdi=* | --libd=*)
964 libdir=$ac_optarg ;;
966 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
967 | --libexe | --libex | --libe)
968 ac_prev=libexecdir ;;
969 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
970 | --libexe=* | --libex=* | --libe=*)
971 libexecdir=$ac_optarg ;;
973 -localedir | --localedir | --localedi | --localed | --locale)
974 ac_prev=localedir ;;
975 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
976 localedir=$ac_optarg ;;
978 -localstatedir | --localstatedir | --localstatedi | --localstated \
979 | --localstate | --localstat | --localsta | --localst | --locals)
980 ac_prev=localstatedir ;;
981 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
982 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
983 localstatedir=$ac_optarg ;;
985 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
986 ac_prev=mandir ;;
987 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
988 mandir=$ac_optarg ;;
990 -nfp | --nfp | --nf)
991 # Obsolete; use --without-fp.
992 with_fp=no ;;
994 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
995 | --no-cr | --no-c | -n)
996 no_create=yes ;;
998 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
999 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1000 no_recursion=yes ;;
1002 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1003 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1004 | --oldin | --oldi | --old | --ol | --o)
1005 ac_prev=oldincludedir ;;
1006 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1007 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1008 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1009 oldincludedir=$ac_optarg ;;
1011 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1012 ac_prev=prefix ;;
1013 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1014 prefix=$ac_optarg ;;
1016 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1017 | --program-pre | --program-pr | --program-p)
1018 ac_prev=program_prefix ;;
1019 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1020 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1021 program_prefix=$ac_optarg ;;
1023 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1024 | --program-suf | --program-su | --program-s)
1025 ac_prev=program_suffix ;;
1026 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1027 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1028 program_suffix=$ac_optarg ;;
1030 -program-transform-name | --program-transform-name \
1031 | --program-transform-nam | --program-transform-na \
1032 | --program-transform-n | --program-transform- \
1033 | --program-transform | --program-transfor \
1034 | --program-transfo | --program-transf \
1035 | --program-trans | --program-tran \
1036 | --progr-tra | --program-tr | --program-t)
1037 ac_prev=program_transform_name ;;
1038 -program-transform-name=* | --program-transform-name=* \
1039 | --program-transform-nam=* | --program-transform-na=* \
1040 | --program-transform-n=* | --program-transform-=* \
1041 | --program-transform=* | --program-transfor=* \
1042 | --program-transfo=* | --program-transf=* \
1043 | --program-trans=* | --program-tran=* \
1044 | --progr-tra=* | --program-tr=* | --program-t=*)
1045 program_transform_name=$ac_optarg ;;
1047 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1048 ac_prev=pdfdir ;;
1049 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1050 pdfdir=$ac_optarg ;;
1052 -psdir | --psdir | --psdi | --psd | --ps)
1053 ac_prev=psdir ;;
1054 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1055 psdir=$ac_optarg ;;
1057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1058 | -silent | --silent | --silen | --sile | --sil)
1059 silent=yes ;;
1061 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1062 ac_prev=sbindir ;;
1063 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1064 | --sbi=* | --sb=*)
1065 sbindir=$ac_optarg ;;
1067 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1068 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1069 | --sharedst | --shareds | --shared | --share | --shar \
1070 | --sha | --sh)
1071 ac_prev=sharedstatedir ;;
1072 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1073 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1074 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1075 | --sha=* | --sh=*)
1076 sharedstatedir=$ac_optarg ;;
1078 -site | --site | --sit)
1079 ac_prev=site ;;
1080 -site=* | --site=* | --sit=*)
1081 site=$ac_optarg ;;
1083 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1084 ac_prev=srcdir ;;
1085 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1086 srcdir=$ac_optarg ;;
1088 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1089 | --syscon | --sysco | --sysc | --sys | --sy)
1090 ac_prev=sysconfdir ;;
1091 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1092 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1093 sysconfdir=$ac_optarg ;;
1095 -target | --target | --targe | --targ | --tar | --ta | --t)
1096 ac_prev=target_alias ;;
1097 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1098 target_alias=$ac_optarg ;;
1100 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1101 verbose=yes ;;
1103 -version | --version | --versio | --versi | --vers | -V)
1104 ac_init_version=: ;;
1106 -with-* | --with-*)
1107 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1108 # Reject names that are not valid shell variable names.
1109 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1110 as_fn_error $? "invalid package name: $ac_useropt"
1111 ac_useropt_orig=$ac_useropt
1112 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1113 case $ac_user_opts in
1115 "with_$ac_useropt"
1116 "*) ;;
1117 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1118 ac_unrecognized_sep=', ';;
1119 esac
1120 eval with_$ac_useropt=\$ac_optarg ;;
1122 -without-* | --without-*)
1123 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1124 # Reject names that are not valid shell variable names.
1125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1126 as_fn_error $? "invalid package name: $ac_useropt"
1127 ac_useropt_orig=$ac_useropt
1128 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1129 case $ac_user_opts in
1131 "with_$ac_useropt"
1132 "*) ;;
1133 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1134 ac_unrecognized_sep=', ';;
1135 esac
1136 eval with_$ac_useropt=no ;;
1138 --x)
1139 # Obsolete; use --with-x.
1140 with_x=yes ;;
1142 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1143 | --x-incl | --x-inc | --x-in | --x-i)
1144 ac_prev=x_includes ;;
1145 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1146 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1147 x_includes=$ac_optarg ;;
1149 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1150 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1151 ac_prev=x_libraries ;;
1152 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1153 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1154 x_libraries=$ac_optarg ;;
1156 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1157 Try \`$0 --help' for more information"
1160 *=*)
1161 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1162 # Reject names that are not valid shell variable names.
1163 case $ac_envvar in #(
1164 '' | [0-9]* | *[!_$as_cr_alnum]* )
1165 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1166 esac
1167 eval $ac_envvar=\$ac_optarg
1168 export $ac_envvar ;;
1171 # FIXME: should be removed in autoconf 3.0.
1172 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1173 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1174 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1175 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1178 esac
1179 done
1181 if test -n "$ac_prev"; then
1182 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1183 as_fn_error $? "missing argument to $ac_option"
1186 if test -n "$ac_unrecognized_opts"; then
1187 case $enable_option_checking in
1188 no) ;;
1189 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1190 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1191 esac
1194 # Check all directory arguments for consistency.
1195 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1196 datadir sysconfdir sharedstatedir localstatedir includedir \
1197 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1198 libdir localedir mandir
1200 eval ac_val=\$$ac_var
1201 # Remove trailing slashes.
1202 case $ac_val in
1203 */ )
1204 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1205 eval $ac_var=\$ac_val;;
1206 esac
1207 # Be sure to have absolute directory names.
1208 case $ac_val in
1209 [\\/$]* | ?:[\\/]* ) continue;;
1210 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1211 esac
1212 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1213 done
1215 # There might be people who depend on the old broken behavior: `$host'
1216 # used to hold the argument of --host etc.
1217 # FIXME: To remove some day.
1218 build=$build_alias
1219 host=$host_alias
1220 target=$target_alias
1222 # FIXME: To remove some day.
1223 if test "x$host_alias" != x; then
1224 if test "x$build_alias" = x; then
1225 cross_compiling=maybe
1226 elif test "x$build_alias" != "x$host_alias"; then
1227 cross_compiling=yes
1231 ac_tool_prefix=
1232 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1234 test "$silent" = yes && exec 6>/dev/null
1237 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1238 ac_ls_di=`ls -di .` &&
1239 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1240 as_fn_error $? "working directory cannot be determined"
1241 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1242 as_fn_error $? "pwd does not report name of working directory"
1245 # Find the source files, if location was not specified.
1246 if test -z "$srcdir"; then
1247 ac_srcdir_defaulted=yes
1248 # Try the directory containing this script, then the parent directory.
1249 ac_confdir=`$as_dirname -- "$as_myself" ||
1250 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1251 X"$as_myself" : 'X\(//\)[^/]' \| \
1252 X"$as_myself" : 'X\(//\)$' \| \
1253 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1254 $as_echo X"$as_myself" |
1255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1256 s//\1/
1259 /^X\(\/\/\)[^/].*/{
1260 s//\1/
1263 /^X\(\/\/\)$/{
1264 s//\1/
1267 /^X\(\/\).*/{
1268 s//\1/
1271 s/.*/./; q'`
1272 srcdir=$ac_confdir
1273 if test ! -r "$srcdir/$ac_unique_file"; then
1274 srcdir=..
1276 else
1277 ac_srcdir_defaulted=no
1279 if test ! -r "$srcdir/$ac_unique_file"; then
1280 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1281 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1283 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1284 ac_abs_confdir=`(
1285 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1286 pwd)`
1287 # When building in place, set srcdir=.
1288 if test "$ac_abs_confdir" = "$ac_pwd"; then
1289 srcdir=.
1291 # Remove unnecessary trailing slashes from srcdir.
1292 # Double slashes in file names in object file debugging info
1293 # mess up M-x gdb in Emacs.
1294 case $srcdir in
1295 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1296 esac
1297 for ac_var in $ac_precious_vars; do
1298 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1299 eval ac_env_${ac_var}_value=\$${ac_var}
1300 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1301 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1302 done
1305 # Report the --help message.
1307 if test "$ac_init_help" = "long"; then
1308 # Omit some internal or obsolete options to make the list less imposing.
1309 # This message is too long to be a string in the A/UX 3.1 sh.
1310 cat <<_ACEOF
1311 \`configure' configures this package to adapt to many kinds of systems.
1313 Usage: $0 [OPTION]... [VAR=VALUE]...
1315 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1316 VAR=VALUE. See below for descriptions of some of the useful variables.
1318 Defaults for the options are specified in brackets.
1320 Configuration:
1321 -h, --help display this help and exit
1322 --help=short display options specific to this package
1323 --help=recursive display the short help of all the included packages
1324 -V, --version display version information and exit
1325 -q, --quiet, --silent do not print \`checking ...' messages
1326 --cache-file=FILE cache test results in FILE [disabled]
1327 -C, --config-cache alias for \`--cache-file=config.cache'
1328 -n, --no-create do not create output files
1329 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1331 Installation directories:
1332 --prefix=PREFIX install architecture-independent files in PREFIX
1333 [$ac_default_prefix]
1334 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1335 [PREFIX]
1337 By default, \`make install' will install all the files in
1338 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1339 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1340 for instance \`--prefix=\$HOME'.
1342 For better control, use the options below.
1344 Fine tuning of the installation directories:
1345 --bindir=DIR user executables [EPREFIX/bin]
1346 --sbindir=DIR system admin executables [EPREFIX/sbin]
1347 --libexecdir=DIR program executables [EPREFIX/libexec]
1348 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1349 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1350 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1351 --libdir=DIR object code libraries [EPREFIX/lib]
1352 --includedir=DIR C header files [PREFIX/include]
1353 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1354 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1355 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1356 --infodir=DIR info documentation [DATAROOTDIR/info]
1357 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1358 --mandir=DIR man documentation [DATAROOTDIR/man]
1359 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1360 --htmldir=DIR html documentation [DOCDIR]
1361 --dvidir=DIR dvi documentation [DOCDIR]
1362 --pdfdir=DIR pdf documentation [DOCDIR]
1363 --psdir=DIR ps documentation [DOCDIR]
1364 _ACEOF
1366 cat <<\_ACEOF
1367 _ACEOF
1370 if test -n "$ac_init_help"; then
1372 cat <<\_ACEOF
1374 Optional Packages:
1375 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1376 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1377 --with-config-dir=VERSION
1378 Location of generated target config files
1380 Some influential environment variables:
1381 CC C compiler command
1382 CFLAGS C compiler flags
1383 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1384 nonstandard directory <lib dir>
1385 LIBS libraries to pass to the linker, e.g. -l<library>
1386 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1387 you have headers in a nonstandard directory <include dir>
1389 Use these variables to override the choices made by `configure' or to help
1390 it to find libraries and programs with nonstandard names/locations.
1392 Report bugs to the package provider.
1393 _ACEOF
1394 ac_status=$?
1397 if test "$ac_init_help" = "recursive"; then
1398 # If there are subdirs, report their specific --help.
1399 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1400 test -d "$ac_dir" ||
1401 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1402 continue
1403 ac_builddir=.
1405 case "$ac_dir" in
1406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1409 # A ".." for each directory in $ac_dir_suffix.
1410 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1411 case $ac_top_builddir_sub in
1412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1414 esac ;;
1415 esac
1416 ac_abs_top_builddir=$ac_pwd
1417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1418 # for backward compatibility:
1419 ac_top_builddir=$ac_top_build_prefix
1421 case $srcdir in
1422 .) # We are building in place.
1423 ac_srcdir=.
1424 ac_top_srcdir=$ac_top_builddir_sub
1425 ac_abs_top_srcdir=$ac_pwd ;;
1426 [\\/]* | ?:[\\/]* ) # Absolute name.
1427 ac_srcdir=$srcdir$ac_dir_suffix;
1428 ac_top_srcdir=$srcdir
1429 ac_abs_top_srcdir=$srcdir ;;
1430 *) # Relative name.
1431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1432 ac_top_srcdir=$ac_top_build_prefix$srcdir
1433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1434 esac
1435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1437 cd "$ac_dir" || { ac_status=$?; continue; }
1438 # Check for guested configure.
1439 if test -f "$ac_srcdir/configure.gnu"; then
1440 echo &&
1441 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1442 elif test -f "$ac_srcdir/configure"; then
1443 echo &&
1444 $SHELL "$ac_srcdir/configure" --help=recursive
1445 else
1446 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1447 fi || ac_status=$?
1448 cd "$ac_pwd" || { ac_status=$?; break; }
1449 done
1452 test -n "$ac_init_help" && exit $ac_status
1453 if $ac_init_version; then
1454 cat <<\_ACEOF
1455 configure
1456 generated by GNU Autoconf 2.69
1458 Copyright (C) 2012 Free Software Foundation, Inc.
1459 This configure script is free software; the Free Software Foundation
1460 gives unlimited permission to copy, distribute and modify it.
1461 _ACEOF
1462 exit
1465 ## ------------------------ ##
1466 ## Autoconf initialization. ##
1467 ## ------------------------ ##
1469 # ac_fn_c_try_compile LINENO
1470 # --------------------------
1471 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1472 ac_fn_c_try_compile ()
1474 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1475 rm -f conftest.$ac_objext
1476 if { { ac_try="$ac_compile"
1477 case "(($ac_try" in
1478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1479 *) ac_try_echo=$ac_try;;
1480 esac
1481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1482 $as_echo "$ac_try_echo"; } >&5
1483 (eval "$ac_compile") 2>conftest.err
1484 ac_status=$?
1485 if test -s conftest.err; then
1486 grep -v '^ *+' conftest.err >conftest.er1
1487 cat conftest.er1 >&5
1488 mv -f conftest.er1 conftest.err
1490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1491 test $ac_status = 0; } && {
1492 test -z "$ac_c_werror_flag" ||
1493 test ! -s conftest.err
1494 } && test -s conftest.$ac_objext; then :
1495 ac_retval=0
1496 else
1497 $as_echo "$as_me: failed program was:" >&5
1498 sed 's/^/| /' conftest.$ac_ext >&5
1500 ac_retval=1
1502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1503 as_fn_set_status $ac_retval
1505 } # ac_fn_c_try_compile
1506 cat >config.log <<_ACEOF
1507 This file contains any messages produced by compilers while
1508 running configure, to aid debugging if configure makes a mistake.
1510 It was created by $as_me, which was
1511 generated by GNU Autoconf 2.69. Invocation command line was
1513 $ $0 $@
1515 _ACEOF
1516 exec 5>>config.log
1518 cat <<_ASUNAME
1519 ## --------- ##
1520 ## Platform. ##
1521 ## --------- ##
1523 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1524 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1525 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1526 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1527 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1529 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1530 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1532 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1533 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1534 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1535 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1536 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1537 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1538 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1540 _ASUNAME
1542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1543 for as_dir in $PATH
1545 IFS=$as_save_IFS
1546 test -z "$as_dir" && as_dir=.
1547 $as_echo "PATH: $as_dir"
1548 done
1549 IFS=$as_save_IFS
1551 } >&5
1553 cat >&5 <<_ACEOF
1556 ## ----------- ##
1557 ## Core tests. ##
1558 ## ----------- ##
1560 _ACEOF
1563 # Keep a trace of the command line.
1564 # Strip out --no-create and --no-recursion so they do not pile up.
1565 # Strip out --silent because we don't want to record it for future runs.
1566 # Also quote any args containing shell meta-characters.
1567 # Make two passes to allow for proper duplicate-argument suppression.
1568 ac_configure_args=
1569 ac_configure_args0=
1570 ac_configure_args1=
1571 ac_must_keep_next=false
1572 for ac_pass in 1 2
1574 for ac_arg
1576 case $ac_arg in
1577 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1578 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1579 | -silent | --silent | --silen | --sile | --sil)
1580 continue ;;
1581 *\'*)
1582 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1583 esac
1584 case $ac_pass in
1585 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1587 as_fn_append ac_configure_args1 " '$ac_arg'"
1588 if test $ac_must_keep_next = true; then
1589 ac_must_keep_next=false # Got value, back to normal.
1590 else
1591 case $ac_arg in
1592 *=* | --config-cache | -C | -disable-* | --disable-* \
1593 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1594 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1595 | -with-* | --with-* | -without-* | --without-* | --x)
1596 case "$ac_configure_args0 " in
1597 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1598 esac
1600 -* ) ac_must_keep_next=true ;;
1601 esac
1603 as_fn_append ac_configure_args " '$ac_arg'"
1605 esac
1606 done
1607 done
1608 { ac_configure_args0=; unset ac_configure_args0;}
1609 { ac_configure_args1=; unset ac_configure_args1;}
1611 # When interrupted or exit'd, cleanup temporary files, and complete
1612 # config.log. We remove comments because anyway the quotes in there
1613 # would cause problems or look ugly.
1614 # WARNING: Use '\'' to represent an apostrophe within the trap.
1615 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1616 trap 'exit_status=$?
1617 # Save into config.log some information that might help in debugging.
1619 echo
1621 $as_echo "## ---------------- ##
1622 ## Cache variables. ##
1623 ## ---------------- ##"
1624 echo
1625 # The following way of writing the cache mishandles newlines in values,
1627 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1628 eval ac_val=\$$ac_var
1629 case $ac_val in #(
1630 *${as_nl}*)
1631 case $ac_var in #(
1632 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1633 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1634 esac
1635 case $ac_var in #(
1636 _ | IFS | as_nl) ;; #(
1637 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1638 *) { eval $ac_var=; unset $ac_var;} ;;
1639 esac ;;
1640 esac
1641 done
1642 (set) 2>&1 |
1643 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1644 *${as_nl}ac_space=\ *)
1645 sed -n \
1646 "s/'\''/'\''\\\\'\'''\''/g;
1647 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1648 ;; #(
1650 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1652 esac |
1653 sort
1655 echo
1657 $as_echo "## ----------------- ##
1658 ## Output variables. ##
1659 ## ----------------- ##"
1660 echo
1661 for ac_var in $ac_subst_vars
1663 eval ac_val=\$$ac_var
1664 case $ac_val in
1665 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1666 esac
1667 $as_echo "$ac_var='\''$ac_val'\''"
1668 done | sort
1669 echo
1671 if test -n "$ac_subst_files"; then
1672 $as_echo "## ------------------- ##
1673 ## File substitutions. ##
1674 ## ------------------- ##"
1675 echo
1676 for ac_var in $ac_subst_files
1678 eval ac_val=\$$ac_var
1679 case $ac_val in
1680 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1681 esac
1682 $as_echo "$ac_var='\''$ac_val'\''"
1683 done | sort
1684 echo
1687 if test -s confdefs.h; then
1688 $as_echo "## ----------- ##
1689 ## confdefs.h. ##
1690 ## ----------- ##"
1691 echo
1692 cat confdefs.h
1693 echo
1695 test "$ac_signal" != 0 &&
1696 $as_echo "$as_me: caught signal $ac_signal"
1697 $as_echo "$as_me: exit $exit_status"
1698 } >&5
1699 rm -f core *.core core.conftest.* &&
1700 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1701 exit $exit_status
1703 for ac_signal in 1 2 13 15; do
1704 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1705 done
1706 ac_signal=0
1708 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1709 rm -f -r conftest* confdefs.h
1711 $as_echo "/* confdefs.h */" > confdefs.h
1713 # Predefined preprocessor variables.
1715 cat >>confdefs.h <<_ACEOF
1716 #define PACKAGE_NAME "$PACKAGE_NAME"
1717 _ACEOF
1719 cat >>confdefs.h <<_ACEOF
1720 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1721 _ACEOF
1723 cat >>confdefs.h <<_ACEOF
1724 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1725 _ACEOF
1727 cat >>confdefs.h <<_ACEOF
1728 #define PACKAGE_STRING "$PACKAGE_STRING"
1729 _ACEOF
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1733 _ACEOF
1735 cat >>confdefs.h <<_ACEOF
1736 #define PACKAGE_URL "$PACKAGE_URL"
1737 _ACEOF
1740 # Let the site file select an alternate cache file if it wants to.
1741 # Prefer an explicitly selected file to automatically selected ones.
1742 ac_site_file1=NONE
1743 ac_site_file2=NONE
1744 if test -n "$CONFIG_SITE"; then
1745 # We do not want a PATH search for config.site.
1746 case $CONFIG_SITE in #((
1747 -*) ac_site_file1=./$CONFIG_SITE;;
1748 */*) ac_site_file1=$CONFIG_SITE;;
1749 *) ac_site_file1=./$CONFIG_SITE;;
1750 esac
1751 elif test "x$prefix" != xNONE; then
1752 ac_site_file1=$prefix/share/config.site
1753 ac_site_file2=$prefix/etc/config.site
1754 else
1755 ac_site_file1=$ac_default_prefix/share/config.site
1756 ac_site_file2=$ac_default_prefix/etc/config.site
1758 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1760 test "x$ac_site_file" = xNONE && continue
1761 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1763 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1764 sed 's/^/| /' "$ac_site_file" >&5
1765 . "$ac_site_file" \
1766 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1768 as_fn_error $? "failed to load site script $ac_site_file
1769 See \`config.log' for more details" "$LINENO" 5; }
1771 done
1773 if test -r "$cache_file"; then
1774 # Some versions of bash will fail to source /dev/null (special files
1775 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1776 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1778 $as_echo "$as_me: loading cache $cache_file" >&6;}
1779 case $cache_file in
1780 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1781 *) . "./$cache_file";;
1782 esac
1784 else
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1786 $as_echo "$as_me: creating cache $cache_file" >&6;}
1787 >$cache_file
1790 # Check that the precious variables saved in the cache have kept the same
1791 # value.
1792 ac_cache_corrupted=false
1793 for ac_var in $ac_precious_vars; do
1794 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1795 eval ac_new_set=\$ac_env_${ac_var}_set
1796 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1797 eval ac_new_val=\$ac_env_${ac_var}_value
1798 case $ac_old_set,$ac_new_set in
1799 set,)
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1801 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1802 ac_cache_corrupted=: ;;
1803 ,set)
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1805 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1806 ac_cache_corrupted=: ;;
1807 ,);;
1809 if test "x$ac_old_val" != "x$ac_new_val"; then
1810 # differences in whitespace do not lead to failure.
1811 ac_old_val_w=`echo x $ac_old_val`
1812 ac_new_val_w=`echo x $ac_new_val`
1813 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1815 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1816 ac_cache_corrupted=:
1817 else
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1819 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1820 eval $ac_var=\$ac_old_val
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1823 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1825 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1826 fi;;
1827 esac
1828 # Pass precious variables to config.status.
1829 if test "$ac_new_set" = set; then
1830 case $ac_new_val in
1831 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1832 *) ac_arg=$ac_var=$ac_new_val ;;
1833 esac
1834 case " $ac_configure_args " in
1835 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1836 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1837 esac
1839 done
1840 if $ac_cache_corrupted; then
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1844 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1845 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1847 ## -------------------- ##
1848 ## Main body of script. ##
1849 ## -------------------- ##
1851 ac_ext=c
1852 ac_cpp='$CPP $CPPFLAGS'
1853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1859 ac_aux_dir=
1860 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1861 if test -f "$ac_dir/install-sh"; then
1862 ac_aux_dir=$ac_dir
1863 ac_install_sh="$ac_aux_dir/install-sh -c"
1864 break
1865 elif test -f "$ac_dir/install.sh"; then
1866 ac_aux_dir=$ac_dir
1867 ac_install_sh="$ac_aux_dir/install.sh -c"
1868 break
1869 elif test -f "$ac_dir/shtool"; then
1870 ac_aux_dir=$ac_dir
1871 ac_install_sh="$ac_aux_dir/shtool install -c"
1872 break
1874 done
1875 if test -z "$ac_aux_dir"; then
1876 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1879 # These three variables are undocumented and unsupported,
1880 # and are intended to be withdrawn in a future Autoconf release.
1881 # They can cause serious problems if a builder's source tree is in a directory
1882 # whose full name contains unusual characters.
1883 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1884 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1885 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1889 AROS_BUILDDIR=`${PWDCMD-pwd}`
1890 AROS_BUILDDIR_UNIX=${PWD}
1892 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1893 SRCDIR=${srcpwd}
1895 NOLINKFLAGS="-nostdlib -nostartfiles"
1896 LDFLAGS=$NOLINKFLAGS
1897 # The first step is to find the binaries.
1898 ac_ext=c
1899 ac_cpp='$CPP $CPPFLAGS'
1900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1903 if test -n "$ac_tool_prefix"; then
1904 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1905 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1907 $as_echo_n "checking for $ac_word... " >&6; }
1908 if ${ac_cv_prog_CC+:} false; then :
1909 $as_echo_n "(cached) " >&6
1910 else
1911 if test -n "$CC"; then
1912 ac_cv_prog_CC="$CC" # Let the user override the test.
1913 else
1914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1915 for as_dir in $PATH
1917 IFS=$as_save_IFS
1918 test -z "$as_dir" && as_dir=.
1919 for ac_exec_ext in '' $ac_executable_extensions; do
1920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1921 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1923 break 2
1925 done
1926 done
1927 IFS=$as_save_IFS
1931 CC=$ac_cv_prog_CC
1932 if test -n "$CC"; then
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1934 $as_echo "$CC" >&6; }
1935 else
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1937 $as_echo "no" >&6; }
1942 if test -z "$ac_cv_prog_CC"; then
1943 ac_ct_CC=$CC
1944 # Extract the first word of "gcc", so it can be a program name with args.
1945 set dummy gcc; ac_word=$2
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1947 $as_echo_n "checking for $ac_word... " >&6; }
1948 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1949 $as_echo_n "(cached) " >&6
1950 else
1951 if test -n "$ac_ct_CC"; then
1952 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1953 else
1954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1955 for as_dir in $PATH
1957 IFS=$as_save_IFS
1958 test -z "$as_dir" && as_dir=.
1959 for ac_exec_ext in '' $ac_executable_extensions; do
1960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1961 ac_cv_prog_ac_ct_CC="gcc"
1962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1963 break 2
1965 done
1966 done
1967 IFS=$as_save_IFS
1971 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1972 if test -n "$ac_ct_CC"; then
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1974 $as_echo "$ac_ct_CC" >&6; }
1975 else
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1977 $as_echo "no" >&6; }
1980 if test "x$ac_ct_CC" = x; then
1981 CC=""
1982 else
1983 case $cross_compiling:$ac_tool_warned in
1984 yes:)
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1987 ac_tool_warned=yes ;;
1988 esac
1989 CC=$ac_ct_CC
1991 else
1992 CC="$ac_cv_prog_CC"
1995 if test -z "$CC"; then
1996 if test -n "$ac_tool_prefix"; then
1997 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1998 set dummy ${ac_tool_prefix}cc; ac_word=$2
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2000 $as_echo_n "checking for $ac_word... " >&6; }
2001 if ${ac_cv_prog_CC+:} false; then :
2002 $as_echo_n "(cached) " >&6
2003 else
2004 if test -n "$CC"; then
2005 ac_cv_prog_CC="$CC" # Let the user override the test.
2006 else
2007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2008 for as_dir in $PATH
2010 IFS=$as_save_IFS
2011 test -z "$as_dir" && as_dir=.
2012 for ac_exec_ext in '' $ac_executable_extensions; do
2013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2014 ac_cv_prog_CC="${ac_tool_prefix}cc"
2015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2016 break 2
2018 done
2019 done
2020 IFS=$as_save_IFS
2024 CC=$ac_cv_prog_CC
2025 if test -n "$CC"; then
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2027 $as_echo "$CC" >&6; }
2028 else
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2030 $as_echo "no" >&6; }
2036 if test -z "$CC"; then
2037 # Extract the first word of "cc", so it can be a program name with args.
2038 set dummy cc; ac_word=$2
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2040 $as_echo_n "checking for $ac_word... " >&6; }
2041 if ${ac_cv_prog_CC+:} false; then :
2042 $as_echo_n "(cached) " >&6
2043 else
2044 if test -n "$CC"; then
2045 ac_cv_prog_CC="$CC" # Let the user override the test.
2046 else
2047 ac_prog_rejected=no
2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2049 for as_dir in $PATH
2051 IFS=$as_save_IFS
2052 test -z "$as_dir" && as_dir=.
2053 for ac_exec_ext in '' $ac_executable_extensions; do
2054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2055 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2056 ac_prog_rejected=yes
2057 continue
2059 ac_cv_prog_CC="cc"
2060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2061 break 2
2063 done
2064 done
2065 IFS=$as_save_IFS
2067 if test $ac_prog_rejected = yes; then
2068 # We found a bogon in the path, so make sure we never use it.
2069 set dummy $ac_cv_prog_CC
2070 shift
2071 if test $# != 0; then
2072 # We chose a different compiler from the bogus one.
2073 # However, it has the same basename, so the bogon will be chosen
2074 # first if we set CC to just the basename; use the full file name.
2075 shift
2076 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2081 CC=$ac_cv_prog_CC
2082 if test -n "$CC"; then
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2084 $as_echo "$CC" >&6; }
2085 else
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2087 $as_echo "no" >&6; }
2092 if test -z "$CC"; then
2093 if test -n "$ac_tool_prefix"; then
2094 for ac_prog in cl.exe
2096 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2097 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2099 $as_echo_n "checking for $ac_word... " >&6; }
2100 if ${ac_cv_prog_CC+:} false; then :
2101 $as_echo_n "(cached) " >&6
2102 else
2103 if test -n "$CC"; then
2104 ac_cv_prog_CC="$CC" # Let the user override the test.
2105 else
2106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2107 for as_dir in $PATH
2109 IFS=$as_save_IFS
2110 test -z "$as_dir" && as_dir=.
2111 for ac_exec_ext in '' $ac_executable_extensions; do
2112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2113 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2115 break 2
2117 done
2118 done
2119 IFS=$as_save_IFS
2123 CC=$ac_cv_prog_CC
2124 if test -n "$CC"; then
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2126 $as_echo "$CC" >&6; }
2127 else
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2129 $as_echo "no" >&6; }
2133 test -n "$CC" && break
2134 done
2136 if test -z "$CC"; then
2137 ac_ct_CC=$CC
2138 for ac_prog in cl.exe
2140 # Extract the first word of "$ac_prog", so it can be a program name with args.
2141 set dummy $ac_prog; ac_word=$2
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2143 $as_echo_n "checking for $ac_word... " >&6; }
2144 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2145 $as_echo_n "(cached) " >&6
2146 else
2147 if test -n "$ac_ct_CC"; then
2148 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2149 else
2150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2151 for as_dir in $PATH
2153 IFS=$as_save_IFS
2154 test -z "$as_dir" && as_dir=.
2155 for ac_exec_ext in '' $ac_executable_extensions; do
2156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2157 ac_cv_prog_ac_ct_CC="$ac_prog"
2158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2159 break 2
2161 done
2162 done
2163 IFS=$as_save_IFS
2167 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2168 if test -n "$ac_ct_CC"; then
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2170 $as_echo "$ac_ct_CC" >&6; }
2171 else
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2173 $as_echo "no" >&6; }
2177 test -n "$ac_ct_CC" && break
2178 done
2180 if test "x$ac_ct_CC" = x; then
2181 CC=""
2182 else
2183 case $cross_compiling:$ac_tool_warned in
2184 yes:)
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2187 ac_tool_warned=yes ;;
2188 esac
2189 CC=$ac_ct_CC
2196 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2198 as_fn_error $? "no acceptable C compiler found in \$PATH
2199 See \`config.log' for more details" "$LINENO" 5; }
2201 # Provide some information about the compiler.
2202 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2203 set X $ac_compile
2204 ac_compiler=$2
2205 for ac_option in --version -v -V -qversion; do
2206 { { ac_try="$ac_compiler $ac_option >&5"
2207 case "(($ac_try" in
2208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2209 *) ac_try_echo=$ac_try;;
2210 esac
2211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2212 $as_echo "$ac_try_echo"; } >&5
2213 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2214 ac_status=$?
2215 if test -s conftest.err; then
2216 sed '10a\
2217 ... rest of stderr output deleted ...
2218 10q' conftest.err >conftest.er1
2219 cat conftest.er1 >&5
2221 rm -f conftest.er1 conftest.err
2222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2223 test $ac_status = 0; }
2224 done
2226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2227 /* end confdefs.h. */
2230 main ()
2234 return 0;
2236 _ACEOF
2237 ac_clean_files_save=$ac_clean_files
2238 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2239 # Try to create an executable without -o first, disregard a.out.
2240 # It will help us diagnose broken compilers, and finding out an intuition
2241 # of exeext.
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2243 $as_echo_n "checking whether the C compiler works... " >&6; }
2244 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2246 # The possible output files:
2247 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2249 ac_rmfiles=
2250 for ac_file in $ac_files
2252 case $ac_file in
2253 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2254 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2255 esac
2256 done
2257 rm -f $ac_rmfiles
2259 if { { ac_try="$ac_link_default"
2260 case "(($ac_try" in
2261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2262 *) ac_try_echo=$ac_try;;
2263 esac
2264 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2265 $as_echo "$ac_try_echo"; } >&5
2266 (eval "$ac_link_default") 2>&5
2267 ac_status=$?
2268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2269 test $ac_status = 0; }; then :
2270 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2271 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2272 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2273 # so that the user can short-circuit this test for compilers unknown to
2274 # Autoconf.
2275 for ac_file in $ac_files ''
2277 test -f "$ac_file" || continue
2278 case $ac_file in
2279 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2281 [ab].out )
2282 # We found the default executable, but exeext='' is most
2283 # certainly right.
2284 break;;
2285 *.* )
2286 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2287 then :; else
2288 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2290 # We set ac_cv_exeext here because the later test for it is not
2291 # safe: cross compilers may not add the suffix if given an `-o'
2292 # argument, so we may need to know it at that point already.
2293 # Even if this section looks crufty: it has the advantage of
2294 # actually working.
2295 break;;
2297 break;;
2298 esac
2299 done
2300 test "$ac_cv_exeext" = no && ac_cv_exeext=
2302 else
2303 ac_file=''
2305 if test -z "$ac_file"; then :
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2307 $as_echo "no" >&6; }
2308 $as_echo "$as_me: failed program was:" >&5
2309 sed 's/^/| /' conftest.$ac_ext >&5
2311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2313 as_fn_error 77 "C compiler cannot create executables
2314 See \`config.log' for more details" "$LINENO" 5; }
2315 else
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2317 $as_echo "yes" >&6; }
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2320 $as_echo_n "checking for C compiler default output file name... " >&6; }
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2322 $as_echo "$ac_file" >&6; }
2323 ac_exeext=$ac_cv_exeext
2325 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2326 ac_clean_files=$ac_clean_files_save
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2328 $as_echo_n "checking for suffix of executables... " >&6; }
2329 if { { ac_try="$ac_link"
2330 case "(($ac_try" in
2331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2332 *) ac_try_echo=$ac_try;;
2333 esac
2334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2335 $as_echo "$ac_try_echo"; } >&5
2336 (eval "$ac_link") 2>&5
2337 ac_status=$?
2338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2339 test $ac_status = 0; }; then :
2340 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2341 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2342 # work properly (i.e., refer to `conftest.exe'), while it won't with
2343 # `rm'.
2344 for ac_file in conftest.exe conftest conftest.*; do
2345 test -f "$ac_file" || continue
2346 case $ac_file in
2347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2348 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2349 break;;
2350 * ) break;;
2351 esac
2352 done
2353 else
2354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2356 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2357 See \`config.log' for more details" "$LINENO" 5; }
2359 rm -f conftest conftest$ac_cv_exeext
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2361 $as_echo "$ac_cv_exeext" >&6; }
2363 rm -f conftest.$ac_ext
2364 EXEEXT=$ac_cv_exeext
2365 ac_exeext=$EXEEXT
2366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2367 /* end confdefs.h. */
2368 #include <stdio.h>
2370 main ()
2372 FILE *f = fopen ("conftest.out", "w");
2373 return ferror (f) || fclose (f) != 0;
2376 return 0;
2378 _ACEOF
2379 ac_clean_files="$ac_clean_files conftest.out"
2380 # Check that the compiler produces executables we can run. If not, either
2381 # the compiler is broken, or we cross compile.
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2383 $as_echo_n "checking whether we are cross compiling... " >&6; }
2384 if test "$cross_compiling" != yes; then
2385 { { ac_try="$ac_link"
2386 case "(($ac_try" in
2387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2388 *) ac_try_echo=$ac_try;;
2389 esac
2390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2391 $as_echo "$ac_try_echo"; } >&5
2392 (eval "$ac_link") 2>&5
2393 ac_status=$?
2394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2395 test $ac_status = 0; }
2396 if { ac_try='./conftest$ac_cv_exeext'
2397 { { case "(($ac_try" in
2398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2399 *) ac_try_echo=$ac_try;;
2400 esac
2401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2402 $as_echo "$ac_try_echo"; } >&5
2403 (eval "$ac_try") 2>&5
2404 ac_status=$?
2405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2406 test $ac_status = 0; }; }; then
2407 cross_compiling=no
2408 else
2409 if test "$cross_compiling" = maybe; then
2410 cross_compiling=yes
2411 else
2412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2414 as_fn_error $? "cannot run C compiled programs.
2415 If you meant to cross compile, use \`--host'.
2416 See \`config.log' for more details" "$LINENO" 5; }
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2421 $as_echo "$cross_compiling" >&6; }
2423 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2424 ac_clean_files=$ac_clean_files_save
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2426 $as_echo_n "checking for suffix of object files... " >&6; }
2427 if ${ac_cv_objext+:} false; then :
2428 $as_echo_n "(cached) " >&6
2429 else
2430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2431 /* end confdefs.h. */
2434 main ()
2438 return 0;
2440 _ACEOF
2441 rm -f conftest.o conftest.obj
2442 if { { ac_try="$ac_compile"
2443 case "(($ac_try" in
2444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2445 *) ac_try_echo=$ac_try;;
2446 esac
2447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2448 $as_echo "$ac_try_echo"; } >&5
2449 (eval "$ac_compile") 2>&5
2450 ac_status=$?
2451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2452 test $ac_status = 0; }; then :
2453 for ac_file in conftest.o conftest.obj conftest.*; do
2454 test -f "$ac_file" || continue;
2455 case $ac_file in
2456 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2457 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2458 break;;
2459 esac
2460 done
2461 else
2462 $as_echo "$as_me: failed program was:" >&5
2463 sed 's/^/| /' conftest.$ac_ext >&5
2465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2467 as_fn_error $? "cannot compute suffix of object files: cannot compile
2468 See \`config.log' for more details" "$LINENO" 5; }
2470 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2473 $as_echo "$ac_cv_objext" >&6; }
2474 OBJEXT=$ac_cv_objext
2475 ac_objext=$OBJEXT
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2477 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2478 if ${ac_cv_c_compiler_gnu+:} false; then :
2479 $as_echo_n "(cached) " >&6
2480 else
2481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2482 /* end confdefs.h. */
2485 main ()
2487 #ifndef __GNUC__
2488 choke me
2489 #endif
2492 return 0;
2494 _ACEOF
2495 if ac_fn_c_try_compile "$LINENO"; then :
2496 ac_compiler_gnu=yes
2497 else
2498 ac_compiler_gnu=no
2500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2501 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2505 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2506 if test $ac_compiler_gnu = yes; then
2507 GCC=yes
2508 else
2509 GCC=
2511 ac_test_CFLAGS=${CFLAGS+set}
2512 ac_save_CFLAGS=$CFLAGS
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2514 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2515 if ${ac_cv_prog_cc_g+:} false; then :
2516 $as_echo_n "(cached) " >&6
2517 else
2518 ac_save_c_werror_flag=$ac_c_werror_flag
2519 ac_c_werror_flag=yes
2520 ac_cv_prog_cc_g=no
2521 CFLAGS="-g"
2522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2523 /* end confdefs.h. */
2526 main ()
2530 return 0;
2532 _ACEOF
2533 if ac_fn_c_try_compile "$LINENO"; then :
2534 ac_cv_prog_cc_g=yes
2535 else
2536 CFLAGS=""
2537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2538 /* end confdefs.h. */
2541 main ()
2545 return 0;
2547 _ACEOF
2548 if ac_fn_c_try_compile "$LINENO"; then :
2550 else
2551 ac_c_werror_flag=$ac_save_c_werror_flag
2552 CFLAGS="-g"
2553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2554 /* end confdefs.h. */
2557 main ()
2561 return 0;
2563 _ACEOF
2564 if ac_fn_c_try_compile "$LINENO"; then :
2565 ac_cv_prog_cc_g=yes
2567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2572 ac_c_werror_flag=$ac_save_c_werror_flag
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2575 $as_echo "$ac_cv_prog_cc_g" >&6; }
2576 if test "$ac_test_CFLAGS" = set; then
2577 CFLAGS=$ac_save_CFLAGS
2578 elif test $ac_cv_prog_cc_g = yes; then
2579 if test "$GCC" = yes; then
2580 CFLAGS="-g -O2"
2581 else
2582 CFLAGS="-g"
2584 else
2585 if test "$GCC" = yes; then
2586 CFLAGS="-O2"
2587 else
2588 CFLAGS=
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2592 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2593 if ${ac_cv_prog_cc_c89+:} false; then :
2594 $as_echo_n "(cached) " >&6
2595 else
2596 ac_cv_prog_cc_c89=no
2597 ac_save_CC=$CC
2598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2599 /* end confdefs.h. */
2600 #include <stdarg.h>
2601 #include <stdio.h>
2602 struct stat;
2603 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2604 struct buf { int x; };
2605 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2606 static char *e (p, i)
2607 char **p;
2608 int i;
2610 return p[i];
2612 static char *f (char * (*g) (char **, int), char **p, ...)
2614 char *s;
2615 va_list v;
2616 va_start (v,p);
2617 s = g (p, va_arg (v,int));
2618 va_end (v);
2619 return s;
2622 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2623 function prototypes and stuff, but not '\xHH' hex character constants.
2624 These don't provoke an error unfortunately, instead are silently treated
2625 as 'x'. The following induces an error, until -std is added to get
2626 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2627 array size at least. It's necessary to write '\x00'==0 to get something
2628 that's true only with -std. */
2629 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2631 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2632 inside strings and character constants. */
2633 #define FOO(x) 'x'
2634 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2636 int test (int i, double x);
2637 struct s1 {int (*f) (int a);};
2638 struct s2 {int (*f) (double a);};
2639 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2640 int argc;
2641 char **argv;
2643 main ()
2645 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2647 return 0;
2649 _ACEOF
2650 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2651 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2653 CC="$ac_save_CC $ac_arg"
2654 if ac_fn_c_try_compile "$LINENO"; then :
2655 ac_cv_prog_cc_c89=$ac_arg
2657 rm -f core conftest.err conftest.$ac_objext
2658 test "x$ac_cv_prog_cc_c89" != "xno" && break
2659 done
2660 rm -f conftest.$ac_ext
2661 CC=$ac_save_CC
2664 # AC_CACHE_VAL
2665 case "x$ac_cv_prog_cc_c89" in
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2668 $as_echo "none needed" >&6; } ;;
2669 xno)
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2671 $as_echo "unsupported" >&6; } ;;
2673 CC="$CC $ac_cv_prog_cc_c89"
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2675 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2676 esac
2677 if test "x$ac_cv_prog_cc_c89" != xno; then :
2681 ac_ext=c
2682 ac_cpp='$CPP $CPPFLAGS'
2683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2689 $as_echo_n "checking target config location... " >&6; }
2691 # Check whether --with-config-dir was given.
2692 if test "${with_config_dir+set}" = set; then :
2693 withval=$with_config_dir; targetcfg_dir="$withval"
2694 else
2695 targetcfg_dir=""
2698 if test "$targetcfg_dir" = ""; then
2699 as_fn_error $? "missing config directory!" "$LINENO" 5
2700 else
2701 aros_targetcfg_dir="$targetcfg_dir"
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2704 $as_echo "$aros_targetcfg_dir" >&6; }
2706 #-----------------------------------------------------------------------------
2708 # Check if the target compiler supports some features:
2709 # -ffast-math
2710 # -flto
2711 # -fwhole-program
2712 # -floop-block
2713 # -floop-interchange
2714 # -floop-strip-mine
2715 # -fpeel-loops
2716 # -fstrict-aliasing
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2719 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2720 CFLAGS=-ffast-math
2722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2723 /* end confdefs.h. */
2726 main ()
2730 return 0;
2732 _ACEOF
2733 if ac_fn_c_try_compile "$LINENO"; then :
2734 aros_fast_math="yes"
2735 else
2736 aros_fast_math="no"
2738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2740 $as_echo "$aros_fast_math" >&6; }
2741 if test "x-$aros_fast_math" = "x-yes" ; then
2742 aros_cflags_fast_math=-ffast-math
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2746 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2747 CFLAGS=-flto
2748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2749 /* end confdefs.h. */
2752 main ()
2756 return 0;
2758 _ACEOF
2759 if ac_fn_c_try_compile "$LINENO"; then :
2760 aros_lto="yes"
2761 else
2762 aros_lto="no"
2764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2766 $as_echo "$aros_lto" >&6; }
2767 if test "x-$aros_lto" = "x-yes" ; then
2768 aros_cflags_lto=-flto
2769 aros_cflags_nolto=-fno-lto
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2772 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2773 CFLAGS=-fwhole-program
2774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2775 /* end confdefs.h. */
2778 main ()
2782 return 0;
2784 _ACEOF
2785 if ac_fn_c_try_compile "$LINENO"; then :
2786 aros_whole_program="yes"
2787 else
2788 aros_whole_program="no"
2790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2792 $as_echo "$aros_whole_program" >&6; }
2793 if test "x-$aros_whole_program" = "x-yes" ; then
2794 aros_cflags_whole_program=-fwhole-program
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2798 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2799 CFLAGS=-floop-block
2800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2801 /* end confdefs.h. */
2804 main ()
2808 return 0;
2810 _ACEOF
2811 if ac_fn_c_try_compile "$LINENO"; then :
2812 aros_loop_block="yes"
2813 else
2814 aros_loop_block="no"
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2818 $as_echo "$aros_loop_block" >&6; }
2819 if test "x-$aros_loop_block" = "x-yes" ; then
2820 aros_cflags_loop_block=-floop-block
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2824 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2825 CFLAGS=-floop-interchange
2826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2827 /* end confdefs.h. */
2830 main ()
2834 return 0;
2836 _ACEOF
2837 if ac_fn_c_try_compile "$LINENO"; then :
2838 aros_loop_interchange="yes"
2839 else
2840 aros_loop_interchange="no"
2842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2844 $as_echo "$aros_loop_interchange" >&6; }
2845 if test "x-$aros_loop_interchange" = "x-yes" ; then
2846 aros_cflags_loop_interchange=-floop-interchange
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2850 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2851 CFLAGS=-floop-strip-mine
2852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2853 /* end confdefs.h. */
2856 main ()
2860 return 0;
2862 _ACEOF
2863 if ac_fn_c_try_compile "$LINENO"; then :
2864 aros_loop_strip_mine="yes"
2865 else
2866 aros_loop_strip_mine="no"
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2870 $as_echo "$aros_loop_strip_mine" >&6; }
2871 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2872 aros_cflags_loop_strip_mine=-floop-strip-mine
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
2877 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
2878 CFLAGS=-fpeel-loops
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2883 main ()
2887 return 0;
2889 _ACEOF
2890 if ac_fn_c_try_compile "$LINENO"; then :
2891 aros_peel_loops="yes"
2892 else
2893 aros_peel_loops="no"
2895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
2897 $as_echo "$aros_peel_loops" >&6; }
2898 if test "x-$aros_peel_loops" = "x-yes" ; then
2899 aros_cflags_peel_loops=-fpeel-loops
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
2903 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
2904 CFLAGS=-fstrict-aliasing
2905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2906 /* end confdefs.h. */
2909 main ()
2913 return 0;
2915 _ACEOF
2916 if ac_fn_c_try_compile "$LINENO"; then :
2917 aros_strict_aliasing="yes"
2918 else
2919 aros_strict_aliasing="no"
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
2923 $as_echo "$aros_strict_aliasing" >&6; }
2924 if test "x-$aros_strict_aliasing" = "x-yes" ; then
2925 aros_cflags_strictaliasing=-fstrict-aliasing
2926 aros_cflags_nostrictaliasing=-fno-strict-aliasing
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
2930 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
2931 CFLAGS="-iquote."
2932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2933 /* end confdefs.h. */
2936 main ()
2940 return 0;
2942 _ACEOF
2943 if ac_fn_c_try_compile "$LINENO"; then :
2944 has_iquote="yes"
2945 else
2946 has_iquote="no"
2948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
2950 $as_echo "$has_iquote" >&6; }
2951 if test "x-$has_iquote" = "x-yes" ; then
2952 aros_cflags_iquote=-iquote
2953 aros_cflags_iquote_end=
2954 else
2955 aros_cflags_iquote=-I
2956 aros_cflags_iquote_end=-I-
2959 #-----------------------------------------------------------------------------
2961 # Check if the target compiler supports some options used for de-linting:
2962 # -Wunused-command-line-argument
2963 # -Wunknown-warning-option
2964 # -Wunused-but-set-variable
2965 # -Wstrict-aliasing
2966 # -Warray-bounds
2967 # -Wenum-compare
2968 # -Wstrict-prototypes
2969 # -Wstrict-overflow
2970 # -Wformat-security
2971 # -Wmisleading-indentation
2972 # -Wnonnull-compare
2973 # -Wunused
2974 # -Wunused-value
2975 # -Wunused-variable
2976 # -Wunused-function
2977 # -Wunused-parameter
2978 # -Wuninitialized
2979 # -Wmaybe-uninitialized
2980 # -Wimplicit-function-declaration
2981 # -Wformat
2982 # -Wparentheses
2983 # -Wchar-subscripts
2984 # -Wendif-labels
2985 # -Wformat-contains-nul
2986 # -Wimplicit-int
2987 # -Waggressive-loop-optimizations
2988 # -Wcpp
2989 # -Wswitch
2990 # -Wdiscarded-qualifiers
2991 # -Wsequence-point
2992 # -Wunknown-pragmas
2993 # -Wdiscarded-array-qualifiers
2994 # -Wint-conversion
2995 # -Wint-to-pointer-cast
2996 # -Wpointer-to-int-cast
2997 # -Wunused-const-variable
2998 # -Wwrite-strings
2999 # -Wcomment
3000 # -Wincompatible-pointer-types
3001 # -Wbool-compare
3002 # -Wlogical-not-parentheses
3003 # -Wpointer-sign
3004 # -Wshift-overflow
3005 # -Wframe-address
3006 # -Wdeprecated-declarations
3007 # -Wsign-compare
3008 # -Wattributes
3009 # -Woverflow
3010 # -Wunused-local-typedefs
3011 # -Wmissing-braces
3012 # -Wconversion-null
3013 # -Wnarrowing
3014 # -Wvolatile-register-var
3015 # -Wsizeof-pointer-memaccess
3016 # -Wreturn-type
3017 # -Wformat-zero-length
3018 # -Wlto-type-mismatch
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3021 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3022 CFLAGS=-Wunused-command-line-argument
3023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3024 /* end confdefs.h. */
3027 main ()
3031 return 0;
3033 _ACEOF
3034 if ac_fn_c_try_compile "$LINENO"; then :
3035 aros_unused_command_line_argument="yes"
3036 else
3037 aros_unused_command_line_argument="no"
3039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3041 $as_echo "$aros_unused_command_line_argument" >&6; }
3042 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3043 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3044 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3048 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3049 CFLAGS=-Wunknown-warning-option
3050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3051 /* end confdefs.h. */
3054 main ()
3058 return 0;
3060 _ACEOF
3061 if ac_fn_c_try_compile "$LINENO"; then :
3062 aros_unknown_warning_option="yes"
3063 else
3064 aros_unknown_warning_option="no"
3066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3068 $as_echo "$aros_unknown_warning_option" >&6; }
3069 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3070 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3071 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3075 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3076 CFLAGS=-Wunused-but-set-variable
3077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3078 /* end confdefs.h. */
3081 main ()
3085 return 0;
3087 _ACEOF
3088 if ac_fn_c_try_compile "$LINENO"; then :
3089 aros_unused_but_set_variable="yes"
3090 else
3091 aros_unused_but_set_variable="no"
3093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3095 $as_echo "$aros_unused_but_set_variable" >&6; }
3096 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3097 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3098 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3102 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3103 CFLAGS=-Wstrict-aliasing
3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3108 main ()
3112 return 0;
3114 _ACEOF
3115 if ac_fn_c_try_compile "$LINENO"; then :
3116 aros_strict_aliasing="yes"
3117 else
3118 aros_strict_aliasing="no"
3120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3122 $as_echo "$aros_strict_aliasing" >&6; }
3123 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3124 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3125 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3129 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3130 CFLAGS=-Warray-bounds
3131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3132 /* end confdefs.h. */
3135 main ()
3139 return 0;
3141 _ACEOF
3142 if ac_fn_c_try_compile "$LINENO"; then :
3143 aros_array_bounds="yes"
3144 else
3145 aros_array_bounds="no"
3147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3149 $as_echo "$aros_array_bounds" >&6; }
3150 if test "x-$aros_array_bounds" = "x-yes" ; then
3151 aros_warnflags_array_bounds=-Warray-bounds
3152 aros_nowarnflags_array_bounds=-Wno-array-bounds
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3156 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3157 CFLAGS=-Wenum-compare
3158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h. */
3162 main ()
3166 return 0;
3168 _ACEOF
3169 if ac_fn_c_try_compile "$LINENO"; then :
3170 aros_enum_compare="yes"
3171 else
3172 aros_enum_compare="no"
3174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3176 $as_echo "$aros_enum_compare" >&6; }
3177 if test "x-$aros_enum_compare" = "x-yes" ; then
3178 aros_warnflags_enum_compare=-Wenum-compare
3179 aros_nowarnflags_enum_compare=-Wno-enum-compare
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3183 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3184 CFLAGS=-Wstrict-prototypes
3185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3186 /* end confdefs.h. */
3189 main ()
3193 return 0;
3195 _ACEOF
3196 if ac_fn_c_try_compile "$LINENO"; then :
3197 aros_strict_prototypes="yes"
3198 else
3199 aros_strict_prototypes="no"
3201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3203 $as_echo "$aros_strict_prototypes" >&6; }
3204 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3205 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3206 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3210 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3211 CFLAGS=-Wstrict-overflow
3212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3213 /* end confdefs.h. */
3216 main ()
3220 return 0;
3222 _ACEOF
3223 if ac_fn_c_try_compile "$LINENO"; then :
3224 aros_strict_overflow="yes"
3225 else
3226 aros_strict_overflow="no"
3228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3230 $as_echo "$aros_strict_overflow" >&6; }
3231 if test "x-$aros_strict_overflow" = "x-yes" ; then
3232 aros_warnflags_strict_overflow=-Wstrict-overflow
3233 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3237 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3238 CFLAGS=-Wformat-security
3239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3240 /* end confdefs.h. */
3243 main ()
3247 return 0;
3249 _ACEOF
3250 if ac_fn_c_try_compile "$LINENO"; then :
3251 aros_format_security="yes"
3252 else
3253 aros_format_security="no"
3255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3257 $as_echo "$aros_format_security" >&6; }
3258 if test "x-$aros_format_security" = "x-yes" ; then
3259 aros_warnflags_format_security=-Wformat-security
3260 aros_nowarnflags_format_security=-Wno-format-security
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3264 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3265 CFLAGS=-Wmisleading-indentation
3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267 /* end confdefs.h. */
3270 main ()
3274 return 0;
3276 _ACEOF
3277 if ac_fn_c_try_compile "$LINENO"; then :
3278 aros_misleading_indentation="yes"
3279 else
3280 aros_misleading_indentation="no"
3282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3284 $as_echo "$aros_misleading_indentation" >&6; }
3285 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3286 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3287 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3291 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3292 CFLAGS=-Wnonnull-compare
3293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3294 /* end confdefs.h. */
3297 main ()
3301 return 0;
3303 _ACEOF
3304 if ac_fn_c_try_compile "$LINENO"; then :
3305 aros_nonnull_compare="yes"
3306 else
3307 aros_nonnull_compare="no"
3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3311 $as_echo "$aros_nonnull_compare" >&6; }
3312 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3313 aros_warnflags_nonnull_compare=-Wnonnull-compare
3314 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3318 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3319 CFLAGS=-Wunused
3320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3321 /* end confdefs.h. */
3324 main ()
3328 return 0;
3330 _ACEOF
3331 if ac_fn_c_try_compile "$LINENO"; then :
3332 aros_unused="yes"
3333 else
3334 aros_unused="no"
3336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3338 $as_echo "$aros_unused" >&6; }
3339 if test "x-$aros_unused" = "x-yes" ; then
3340 aros_warnflags_unused=-Wunused
3341 aros_nowarnflags_unused=-Wno-unused
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3345 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3346 CFLAGS=-Wunused-value
3347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3348 /* end confdefs.h. */
3351 main ()
3355 return 0;
3357 _ACEOF
3358 if ac_fn_c_try_compile "$LINENO"; then :
3359 aros_unused_value="yes"
3360 else
3361 aros_unused_value="no"
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3365 $as_echo "$aros_unused_value" >&6; }
3366 if test "x-$aros_unused_value" = "x-yes" ; then
3367 aros_warnflags_unused_value=-Wunused-value
3368 aros_nowarnflags_unused_value=-Wno-unused-value
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3372 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3373 CFLAGS=-Wunused-variable
3374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375 /* end confdefs.h. */
3378 main ()
3382 return 0;
3384 _ACEOF
3385 if ac_fn_c_try_compile "$LINENO"; then :
3386 aros_unused_variable="yes"
3387 else
3388 aros_unused_variable="no"
3390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3392 $as_echo "$aros_unused_variable" >&6; }
3393 if test "x-$aros_unused_variable" = "x-yes" ; then
3394 aros_warnflags_unused_variable=-Wunused-variable
3395 aros_nowarnflags_unused_variable=-Wno-unused-variable
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3399 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3400 CFLAGS=-Wunused-function
3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h. */
3405 main ()
3409 return 0;
3411 _ACEOF
3412 if ac_fn_c_try_compile "$LINENO"; then :
3413 aros_unused_function="yes"
3414 else
3415 aros_unused_function="no"
3417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3419 $as_echo "$aros_unused_function" >&6; }
3420 if test "x-$aros_unused_function" = "x-yes" ; then
3421 aros_warnflags_unused_function=-Wunused-function
3422 aros_nowarnflags_unused_function=-Wno-unused-function
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3426 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3427 CFLAGS=-Wunused-parameter
3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h. */
3432 main ()
3436 return 0;
3438 _ACEOF
3439 if ac_fn_c_try_compile "$LINENO"; then :
3440 aros_unused_parameter="yes"
3441 else
3442 aros_unused_parameter="no"
3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3446 $as_echo "$aros_unused_parameter" >&6; }
3447 if test "x-$aros_unused_parameter" = "x-yes" ; then
3448 aros_warnflags_unused_parameter=-Wunused-parameter
3449 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3453 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3454 CFLAGS=-Wuninitialized
3455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456 /* end confdefs.h. */
3459 main ()
3463 return 0;
3465 _ACEOF
3466 if ac_fn_c_try_compile "$LINENO"; then :
3467 aros_uninitialized="yes"
3468 else
3469 aros_uninitialized="no"
3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3473 $as_echo "$aros_uninitialized" >&6; }
3474 if test "x-$aros_uninitialized" = "x-yes" ; then
3475 aros_warnflags_uninitialized=-Wuninitialized
3476 aros_nowarnflags_uninitialized=-Wno-uninitialized
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3480 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3481 CFLAGS=-Wmaybe-uninitialized
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3486 main ()
3490 return 0;
3492 _ACEOF
3493 if ac_fn_c_try_compile "$LINENO"; then :
3494 aros_maybe_uninitialized="yes"
3495 else
3496 aros_maybe_uninitialized="no"
3498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3500 $as_echo "$aros_maybe_uninitialized" >&6; }
3501 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3502 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
3503 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
3504 else
3505 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
3506 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3510 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3511 CFLAGS=-Wimplicit-function-declaration
3512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3513 /* end confdefs.h. */
3516 main ()
3520 return 0;
3522 _ACEOF
3523 if ac_fn_c_try_compile "$LINENO"; then :
3524 aros_implicit_function_declaration="yes"
3525 else
3526 aros_implicit_function_declaration="no"
3528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3530 $as_echo "$aros_implicit_function_declaration" >&6; }
3531 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3532 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
3533 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3537 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3538 CFLAGS=-Wformat
3539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3540 /* end confdefs.h. */
3543 main ()
3547 return 0;
3549 _ACEOF
3550 if ac_fn_c_try_compile "$LINENO"; then :
3551 aros_format="yes"
3552 else
3553 aros_format="no"
3555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3557 $as_echo "$aros_format" >&6; }
3558 if test "x-$aros_format" = "x-yes" ; then
3559 aros_warnflags_format=-Wformat
3560 aros_nowarnflags_format=-Wno-format
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3564 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3565 CFLAGS=-Wparentheses
3566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3567 /* end confdefs.h. */
3570 main ()
3574 return 0;
3576 _ACEOF
3577 if ac_fn_c_try_compile "$LINENO"; then :
3578 aros_parentheses="yes"
3579 else
3580 aros_parentheses="no"
3582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3584 $as_echo "$aros_parentheses" >&6; }
3585 if test "x-$aros_parentheses" = "x-yes" ; then
3586 aros_warnflags_parentheses=-Wparentheses
3587 aros_nowarnflags_parentheses=-Wno-parentheses
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3591 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3592 CFLAGS=-Wchar-subscripts
3593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3594 /* end confdefs.h. */
3597 main ()
3601 return 0;
3603 _ACEOF
3604 if ac_fn_c_try_compile "$LINENO"; then :
3605 aros_char_subscripts="yes"
3606 else
3607 aros_char_subscripts="no"
3609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3611 $as_echo "$aros_char_subscripts" >&6; }
3612 if test "x-$aros_char_subscripts" = "x-yes" ; then
3613 aros_warnflags_char_subscripts=-Wchar-subscripts
3614 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3618 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3619 CFLAGS=-Wendif-labels
3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */
3624 main ()
3628 return 0;
3630 _ACEOF
3631 if ac_fn_c_try_compile "$LINENO"; then :
3632 aros_endif_labels="yes"
3633 else
3634 aros_endif_labels="no"
3636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3638 $as_echo "$aros_endif_labels" >&6; }
3639 if test "x-$aros_endif_labels" = "x-yes" ; then
3640 aros_warnflags_endif_labels=-Wendif-labels
3641 aros_nowarnflags_endif_labels=-Wno-endif-labels
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3645 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3646 CFLAGS=-Wformat-contains-nul
3647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3648 /* end confdefs.h. */
3651 main ()
3655 return 0;
3657 _ACEOF
3658 if ac_fn_c_try_compile "$LINENO"; then :
3659 aros_format_contains_nul="yes"
3660 else
3661 aros_format_contains_nul="no"
3663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3665 $as_echo "$aros_format_contains_nul" >&6; }
3666 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3667 aros_warnflags_format_contains_nul=-Wformat-contains-nul
3668 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3672 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3673 CFLAGS=-Wimplicit-int
3674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3675 /* end confdefs.h. */
3678 main ()
3682 return 0;
3684 _ACEOF
3685 if ac_fn_c_try_compile "$LINENO"; then :
3686 aros_implicit_int="yes"
3687 else
3688 aros_implicit_int="no"
3690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3692 $as_echo "$aros_implicit_int" >&6; }
3693 if test "x-$aros_implicit_int" = "x-yes" ; then
3694 aros_warnflags_implicit_int=-Wimplicit-int
3695 aros_nowarnflags_implicit_int=-Wno-implicit-int
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3699 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3700 CFLAGS=-Waggressive-loop-optimizations
3701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3705 main ()
3709 return 0;
3711 _ACEOF
3712 if ac_fn_c_try_compile "$LINENO"; then :
3713 aros_aggressive_loop_optimizations="yes"
3714 else
3715 aros_aggressive_loop_optimizations="no"
3717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3719 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3720 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3721 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
3722 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3726 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3727 CFLAGS=-Wcpp
3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3729 /* end confdefs.h. */
3732 main ()
3736 return 0;
3738 _ACEOF
3739 if ac_fn_c_try_compile "$LINENO"; then :
3740 aros_cpp="yes"
3741 else
3742 aros_cpp="no"
3744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3746 $as_echo "$aros_cpp" >&6; }
3747 if test "x-$aros_cpp" = "x-yes" ; then
3748 aros_warnflags_cpp=-Wcpp
3749 aros_nowarnflags_cpp=-Wno-cpp
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3753 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3754 CFLAGS=-Wswitch
3755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3756 /* end confdefs.h. */
3759 main ()
3763 return 0;
3765 _ACEOF
3766 if ac_fn_c_try_compile "$LINENO"; then :
3767 aros_switch="yes"
3768 else
3769 aros_switch="no"
3771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3773 $as_echo "$aros_switch" >&6; }
3774 if test "x-$aros_switch" = "x-yes" ; then
3775 aros_warnflags_switch=-Wswitch
3776 aros_nowarnflags_switch=-Wno-switch
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3780 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3781 CFLAGS=-Wdiscarded-qualifiers
3782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3783 /* end confdefs.h. */
3786 main ()
3790 return 0;
3792 _ACEOF
3793 if ac_fn_c_try_compile "$LINENO"; then :
3794 aros_discarded_qualifiers="yes"
3795 else
3796 aros_discarded_qualifiers="no"
3798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3800 $as_echo "$aros_discarded_qualifiers" >&6; }
3801 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3802 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
3803 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3807 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3808 CFLAGS=-Wsequence-point
3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h. */
3813 main ()
3817 return 0;
3819 _ACEOF
3820 if ac_fn_c_try_compile "$LINENO"; then :
3821 aros_sequence_point="yes"
3822 else
3823 aros_sequence_point="no"
3825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3827 $as_echo "$aros_sequence_point" >&6; }
3828 if test "x-$aros_sequence_point" = "x-yes" ; then
3829 aros_warnflags_sequence_point=-Wsequence-point
3830 aros_nowarnflags_sequence_point=-Wno-sequence-point
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3834 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3835 CFLAGS=-Wunknown-pragmas
3836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3837 /* end confdefs.h. */
3840 main ()
3844 return 0;
3846 _ACEOF
3847 if ac_fn_c_try_compile "$LINENO"; then :
3848 aros_unknown_pragmas="yes"
3849 else
3850 aros_unknown_pragmas="no"
3852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3854 $as_echo "$aros_unknown_pragmas" >&6; }
3855 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3856 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
3857 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3861 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3862 CFLAGS=-Wdiscarded-array-qualifiers
3863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3867 main ()
3871 return 0;
3873 _ACEOF
3874 if ac_fn_c_try_compile "$LINENO"; then :
3875 aros_discarded_array_qualifiers="yes"
3876 else
3877 aros_discarded_array_qualifiers="no"
3879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3881 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3882 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3883 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
3884 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3888 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3889 CFLAGS=-Wint-conversion
3890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h. */
3894 main ()
3898 return 0;
3900 _ACEOF
3901 if ac_fn_c_try_compile "$LINENO"; then :
3902 aros_int_conversion="yes"
3903 else
3904 aros_int_conversion="no"
3906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3908 $as_echo "$aros_int_conversion" >&6; }
3909 if test "x-$aros_int_conversion" = "x-yes" ; then
3910 aros_warnflags_int_conversion=-Wint-conversion
3911 aros_nowarnflags_int_conversion=-Wno-int-conversion
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3915 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3916 CFLAGS=-Wint-to-pointer-cast
3917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3921 main ()
3925 return 0;
3927 _ACEOF
3928 if ac_fn_c_try_compile "$LINENO"; then :
3929 aros_int_to_pointer_cast="yes"
3930 else
3931 aros_int_to_pointer_cast="no"
3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3935 $as_echo "$aros_int_to_pointer_cast" >&6; }
3936 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3937 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
3938 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
3942 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
3943 CFLAGS=-Wpointer-to-int-cast
3944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3945 /* end confdefs.h. */
3948 main ()
3952 return 0;
3954 _ACEOF
3955 if ac_fn_c_try_compile "$LINENO"; then :
3956 aros_pointer_to_int_cast="yes"
3957 else
3958 aros_pointer_to_int_cast="no"
3960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
3962 $as_echo "$aros_pointer_to_int_cast" >&6; }
3963 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
3964 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
3965 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
3969 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
3970 CFLAGS=-Wunused-const-variable
3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h. */
3975 main ()
3979 return 0;
3981 _ACEOF
3982 if ac_fn_c_try_compile "$LINENO"; then :
3983 aros_unused_const_variable="yes"
3984 else
3985 aros_unused_const_variable="no"
3987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
3989 $as_echo "$aros_unused_const_variable" >&6; }
3990 if test "x-$aros_unused_const_variable" = "x-yes" ; then
3991 aros_warnflags_unused_const_variable=-Wunused-const-variable
3992 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
3996 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
3997 CFLAGS=-Wwrite-strings
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4002 main ()
4006 return 0;
4008 _ACEOF
4009 if ac_fn_c_try_compile "$LINENO"; then :
4010 aros_write_strings="yes"
4011 else
4012 aros_write_strings="no"
4014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4016 $as_echo "$aros_write_strings" >&6; }
4017 if test "x-$aros_write_strings" = "x-yes" ; then
4018 aros_warnflags_write_strings=-Wwrite-strings
4019 aros_nowarnflags_write_strings=-Wno-write-strings
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4023 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4024 CFLAGS=-Wcomment
4025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4026 /* end confdefs.h. */
4029 main ()
4033 return 0;
4035 _ACEOF
4036 if ac_fn_c_try_compile "$LINENO"; then :
4037 aros_comment="yes"
4038 else
4039 aros_comment="no"
4041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4043 $as_echo "$aros_comment" >&6; }
4044 if test "x-$aros_comment" = "x-yes" ; then
4045 aros_warnflags_comment=-Wcomment
4046 aros_nowarnflags_comment=-Wno-comment
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4050 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4051 CFLAGS=-Wincompatible-pointer-types
4052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4053 /* end confdefs.h. */
4056 main ()
4060 return 0;
4062 _ACEOF
4063 if ac_fn_c_try_compile "$LINENO"; then :
4064 aros_incompatible_pointer_types="yes"
4065 else
4066 aros_incompatible_pointer_types="no"
4068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4070 $as_echo "$aros_incompatible_pointer_types" >&6; }
4071 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4072 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4073 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4077 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4078 CFLAGS=-Wbool-compare
4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4083 main ()
4087 return 0;
4089 _ACEOF
4090 if ac_fn_c_try_compile "$LINENO"; then :
4091 aros_bool_compare="yes"
4092 else
4093 aros_bool_compare="no"
4095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4097 $as_echo "$aros_bool_compare" >&6; }
4098 if test "x-$aros_bool_compare" = "x-yes" ; then
4099 aros_warnflags_bool_compare=-Wbool-compare
4100 aros_nowarnflags_bool_compare=-Wno-bool-compare
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4104 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4105 CFLAGS=-Wlogical-not-parentheses
4106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4110 main ()
4114 return 0;
4116 _ACEOF
4117 if ac_fn_c_try_compile "$LINENO"; then :
4118 aros_logical_not_parentheses="yes"
4119 else
4120 aros_logical_not_parentheses="no"
4122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4124 $as_echo "$aros_logical_not_parentheses" >&6; }
4125 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4126 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4127 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4131 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4132 CFLAGS=-Wpointer-sign
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4137 main ()
4141 return 0;
4143 _ACEOF
4144 if ac_fn_c_try_compile "$LINENO"; then :
4145 aros_pointer_sign="yes"
4146 else
4147 aros_pointer_sign="no"
4149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4151 $as_echo "$aros_pointer_sign" >&6; }
4152 if test "x-$aros_pointer_sign" = "x-yes" ; then
4153 aros_warnflags_pointer_sign=-Wpointer-sign
4154 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4158 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4159 CFLAGS=-Wshift-overflow
4160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4164 main ()
4168 return 0;
4170 _ACEOF
4171 if ac_fn_c_try_compile "$LINENO"; then :
4172 aros_shift_overflow="yes"
4173 else
4174 aros_shift_overflow="no"
4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4178 $as_echo "$aros_shift_overflow" >&6; }
4179 if test "x-$aros_shift_overflow" = "x-yes" ; then
4180 aros_warnflags_shift_overflow=-Wshift-overflow
4181 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4185 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4186 CFLAGS=-Wframe-address
4187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4191 main ()
4195 return 0;
4197 _ACEOF
4198 if ac_fn_c_try_compile "$LINENO"; then :
4199 aros_frame_address="yes"
4200 else
4201 aros_frame_address="no"
4203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4205 $as_echo "$aros_frame_address" >&6; }
4206 if test "x-$aros_frame_address" = "x-yes" ; then
4207 aros_warnflags_frame_address=-Wframe-address
4208 aros_nowarnflags_frame_address=-Wno-frame-address
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4212 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4213 CFLAGS=-Wdeprecated-declarations
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4218 main ()
4222 return 0;
4224 _ACEOF
4225 if ac_fn_c_try_compile "$LINENO"; then :
4226 aros_deprecated_declarations="yes"
4227 else
4228 aros_deprecated_declarations="no"
4230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4232 $as_echo "$aros_deprecated_declarations" >&6; }
4233 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4234 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4235 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4239 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4240 CFLAGS=-Wsign-compare
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4245 main ()
4249 return 0;
4251 _ACEOF
4252 if ac_fn_c_try_compile "$LINENO"; then :
4253 aros_sign_compare="yes"
4254 else
4255 aros_sign_compare="no"
4257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4259 $as_echo "$aros_sign_compare" >&6; }
4260 if test "x-$aros_sign_compare" = "x-yes" ; then
4261 aros_warnflags_sign_compare=-Wsign-compare
4262 aros_nowarnflags_sign_compare=-Wno-sign-compare
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4266 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4267 CFLAGS=-Wattributes
4268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h. */
4272 main ()
4276 return 0;
4278 _ACEOF
4279 if ac_fn_c_try_compile "$LINENO"; then :
4280 aros_attributes="yes"
4281 else
4282 aros_attributes="no"
4284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4286 $as_echo "$aros_attributes" >&6; }
4287 if test "x-$aros_attributes" = "x-yes" ; then
4288 aros_warnflags_attributes=-Wattributes
4289 aros_nowarnflags_attributes=-Wno-attributes
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4293 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4294 CFLAGS=-Woverflow
4295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4296 /* end confdefs.h. */
4299 main ()
4303 return 0;
4305 _ACEOF
4306 if ac_fn_c_try_compile "$LINENO"; then :
4307 aros_overflow="yes"
4308 else
4309 aros_overflow="no"
4311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4313 $as_echo "$aros_overflow" >&6; }
4314 if test "x-$aros_overflow" = "x-yes" ; then
4315 aros_warnflags_overflow=-Woverflow
4316 aros_nowarnflags_overflow=-Wno-overflow
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4320 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4321 CFLAGS=-Wunused-local-typedefs
4322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4323 /* end confdefs.h. */
4326 main ()
4330 return 0;
4332 _ACEOF
4333 if ac_fn_c_try_compile "$LINENO"; then :
4334 aros_unused_local_typedefs="yes"
4335 else
4336 aros_unused_local_typedefs="no"
4338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4340 $as_echo "$aros_unused_local_typedefs" >&6; }
4341 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4342 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4343 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4347 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4348 CFLAGS=-Wmissing-braces
4349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4350 /* end confdefs.h. */
4353 main ()
4357 return 0;
4359 _ACEOF
4360 if ac_fn_c_try_compile "$LINENO"; then :
4361 aros_missing_braces="yes"
4362 else
4363 aros_missing_braces="no"
4365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4367 $as_echo "$aros_missing_braces" >&6; }
4368 if test "x-$aros_missing_braces" = "x-yes" ; then
4369 aros_warnflags_missing_braces=-Wmissing-braces
4370 aros_nowarnflags_missing_braces=-Wno-missing-braces
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4374 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4375 CFLAGS=-Wconversion-null
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4380 main ()
4384 return 0;
4386 _ACEOF
4387 if ac_fn_c_try_compile "$LINENO"; then :
4388 aros_conversion_null="yes"
4389 else
4390 aros_conversion_null="no"
4392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4394 $as_echo "$aros_conversion_null" >&6; }
4395 if test "x-$aros_conversion_null" = "x-yes" ; then
4396 aros_warnflags_conversion_null=-Wconversion-null
4397 aros_nowarnflags_conversion_null=-Wno-conversion-null
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4401 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4402 CFLAGS=-Wnarrowing
4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4407 main ()
4411 return 0;
4413 _ACEOF
4414 if ac_fn_c_try_compile "$LINENO"; then :
4415 aros_narrowing="yes"
4416 else
4417 aros_narrowing="no"
4419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4421 $as_echo "$aros_narrowing" >&6; }
4422 if test "x-$aros_narrowing" = "x-yes" ; then
4423 aros_warnflags_narrowing=-Wnarrowing
4424 aros_nowarnflags_narrowing=-Wno-narrowing
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4428 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4429 CFLAGS=-Wvolatile-register-var
4430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h. */
4434 main ()
4438 return 0;
4440 _ACEOF
4441 if ac_fn_c_try_compile "$LINENO"; then :
4442 aros_volatile_register_var="yes"
4443 else
4444 aros_volatile_register_var="no"
4446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4448 $as_echo "$aros_volatile_register_var" >&6; }
4449 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4450 aros_warnflags_volatile_register_var=-Wvolatile-register-var
4451 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4455 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4456 CFLAGS=-Wsizeof-pointer-memaccess
4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4458 /* end confdefs.h. */
4461 main ()
4465 return 0;
4467 _ACEOF
4468 if ac_fn_c_try_compile "$LINENO"; then :
4469 aros_sizeof_pointer_memaccess="yes"
4470 else
4471 aros_sizeof_pointer_memaccess="no"
4473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4475 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4476 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4477 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
4478 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4482 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4483 CFLAGS=-Wreturn-type
4484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4485 /* end confdefs.h. */
4488 main ()
4492 return 0;
4494 _ACEOF
4495 if ac_fn_c_try_compile "$LINENO"; then :
4496 aros_return_type="yes"
4497 else
4498 aros_return_type="no"
4500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4502 $as_echo "$aros_return_type" >&6; }
4503 if test "x-$aros_return_type" = "x-yes" ; then
4504 aros_warnflags_return_type=-Wreturn-type
4505 aros_nowarnflags_return_type=-Wno-return-type
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
4509 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
4510 CFLAGS=-Wformat-zero-length
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4515 main ()
4519 return 0;
4521 _ACEOF
4522 if ac_fn_c_try_compile "$LINENO"; then :
4523 aros_format_zero_length="yes"
4524 else
4525 aros_format_zero_length="no"
4527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
4529 $as_echo "$aros_format_zero_length" >&6; }
4530 if test "x-$aros_format_zero_length" = "x-yes" ; then
4531 aros_warnflags_format_zero_length=-Wformat-zero-length
4532 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
4536 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
4537 CFLAGS=-Wlto-type-mismatch
4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4542 main ()
4546 return 0;
4548 _ACEOF
4549 if ac_fn_c_try_compile "$LINENO"; then :
4550 aros_lto_type_mismatch="yes"
4551 else
4552 aros_lto_type_mismatch="no"
4554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
4556 $as_echo "$aros_lto_type_mismatch" >&6; }
4557 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
4558 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
4559 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
4563 # export the feature flags...
4581 # ...and warning flags...
4698 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
4701 cat >confcache <<\_ACEOF
4702 # This file is a shell script that caches the results of configure
4703 # tests run on this system so they can be shared between configure
4704 # scripts and configure runs, see configure's option --config-cache.
4705 # It is not useful on other systems. If it contains results you don't
4706 # want to keep, you may remove or edit it.
4708 # config.status only pays attention to the cache file if you give it
4709 # the --recheck option to rerun configure.
4711 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4712 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4713 # following values.
4715 _ACEOF
4717 # The following way of writing the cache mishandles newlines in values,
4718 # but we know of no workaround that is simple, portable, and efficient.
4719 # So, we kill variables containing newlines.
4720 # Ultrix sh set writes to stderr and can't be redirected directly,
4721 # and sets the high bit in the cache file unless we assign to the vars.
4723 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4724 eval ac_val=\$$ac_var
4725 case $ac_val in #(
4726 *${as_nl}*)
4727 case $ac_var in #(
4728 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4729 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4730 esac
4731 case $ac_var in #(
4732 _ | IFS | as_nl) ;; #(
4733 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4734 *) { eval $ac_var=; unset $ac_var;} ;;
4735 esac ;;
4736 esac
4737 done
4739 (set) 2>&1 |
4740 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4741 *${as_nl}ac_space=\ *)
4742 # `set' does not quote correctly, so add quotes: double-quote
4743 # substitution turns \\\\ into \\, and sed turns \\ into \.
4744 sed -n \
4745 "s/'/'\\\\''/g;
4746 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4747 ;; #(
4749 # `set' quotes correctly as required by POSIX, so do not add quotes.
4750 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4752 esac |
4753 sort
4755 sed '
4756 /^ac_cv_env_/b end
4757 t clear
4758 :clear
4759 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4760 t end
4761 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4762 :end' >>confcache
4763 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4764 if test -w "$cache_file"; then
4765 if test "x$cache_file" != "x/dev/null"; then
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4767 $as_echo "$as_me: updating cache $cache_file" >&6;}
4768 if test ! -f "$cache_file" || test -h "$cache_file"; then
4769 cat confcache >"$cache_file"
4770 else
4771 case $cache_file in #(
4772 */* | ?:*)
4773 mv -f confcache "$cache_file"$$ &&
4774 mv -f "$cache_file"$$ "$cache_file" ;; #(
4776 mv -f confcache "$cache_file" ;;
4777 esac
4780 else
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4782 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4785 rm -f confcache
4787 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4788 # Let make expand exec_prefix.
4789 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4791 # Transform confdefs.h into DEFS.
4792 # Protect against shell expansion while executing Makefile rules.
4793 # Protect against Makefile macro expansion.
4795 # If the first sed substitution is executed (which looks for macros that
4796 # take arguments), then branch to the quote section. Otherwise,
4797 # look for a macro that doesn't take arguments.
4798 ac_script='
4799 :mline
4800 /\\$/{
4802 s,\\\n,,
4803 b mline
4805 t clear
4806 :clear
4807 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4808 t quote
4809 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4810 t quote
4811 b any
4812 :quote
4813 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4814 s/\[/\\&/g
4815 s/\]/\\&/g
4816 s/\$/$$/g
4818 :any
4821 s/^\n//
4822 s/\n/ /g
4826 DEFS=`sed -n "$ac_script" confdefs.h`
4829 ac_libobjs=
4830 ac_ltlibobjs=
4832 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4833 # 1. Remove the extension, and $U if already installed.
4834 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4835 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4836 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4837 # will be set to the directory where LIBOBJS objects are built.
4838 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4839 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4840 done
4841 LIBOBJS=$ac_libobjs
4843 LTLIBOBJS=$ac_ltlibobjs
4847 : "${CONFIG_STATUS=./config.status}"
4848 ac_write_fail=0
4849 ac_clean_files_save=$ac_clean_files
4850 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4852 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4853 as_write_fail=0
4854 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4855 #! $SHELL
4856 # Generated by $as_me.
4857 # Run this file to recreate the current configuration.
4858 # Compiler output produced by configure, useful for debugging
4859 # configure, is in config.log if it exists.
4861 debug=false
4862 ac_cs_recheck=false
4863 ac_cs_silent=false
4865 SHELL=\${CONFIG_SHELL-$SHELL}
4866 export SHELL
4867 _ASEOF
4868 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4869 ## -------------------- ##
4870 ## M4sh Initialization. ##
4871 ## -------------------- ##
4873 # Be more Bourne compatible
4874 DUALCASE=1; export DUALCASE # for MKS sh
4875 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4876 emulate sh
4877 NULLCMD=:
4878 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4879 # is contrary to our usage. Disable this feature.
4880 alias -g '${1+"$@"}'='"$@"'
4881 setopt NO_GLOB_SUBST
4882 else
4883 case `(set -o) 2>/dev/null` in #(
4884 *posix*) :
4885 set -o posix ;; #(
4886 *) :
4888 esac
4892 as_nl='
4894 export as_nl
4895 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4896 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4897 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4898 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4899 # Prefer a ksh shell builtin over an external printf program on Solaris,
4900 # but without wasting forks for bash or zsh.
4901 if test -z "$BASH_VERSION$ZSH_VERSION" \
4902 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4903 as_echo='print -r --'
4904 as_echo_n='print -rn --'
4905 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4906 as_echo='printf %s\n'
4907 as_echo_n='printf %s'
4908 else
4909 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4910 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4911 as_echo_n='/usr/ucb/echo -n'
4912 else
4913 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4914 as_echo_n_body='eval
4915 arg=$1;
4916 case $arg in #(
4917 *"$as_nl"*)
4918 expr "X$arg" : "X\\(.*\\)$as_nl";
4919 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4920 esac;
4921 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4923 export as_echo_n_body
4924 as_echo_n='sh -c $as_echo_n_body as_echo'
4926 export as_echo_body
4927 as_echo='sh -c $as_echo_body as_echo'
4930 # The user is always right.
4931 if test "${PATH_SEPARATOR+set}" != set; then
4932 PATH_SEPARATOR=:
4933 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4934 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4935 PATH_SEPARATOR=';'
4940 # IFS
4941 # We need space, tab and new line, in precisely that order. Quoting is
4942 # there to prevent editors from complaining about space-tab.
4943 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4944 # splitting by setting IFS to empty value.)
4945 IFS=" "" $as_nl"
4947 # Find who we are. Look in the path if we contain no directory separator.
4948 as_myself=
4949 case $0 in #((
4950 *[\\/]* ) as_myself=$0 ;;
4951 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4952 for as_dir in $PATH
4954 IFS=$as_save_IFS
4955 test -z "$as_dir" && as_dir=.
4956 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4957 done
4958 IFS=$as_save_IFS
4961 esac
4962 # We did not find ourselves, most probably we were run as `sh COMMAND'
4963 # in which case we are not to be found in the path.
4964 if test "x$as_myself" = x; then
4965 as_myself=$0
4967 if test ! -f "$as_myself"; then
4968 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4969 exit 1
4972 # Unset variables that we do not need and which cause bugs (e.g. in
4973 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4974 # suppresses any "Segmentation fault" message there. '((' could
4975 # trigger a bug in pdksh 5.2.14.
4976 for as_var in BASH_ENV ENV MAIL MAILPATH
4977 do eval test x\${$as_var+set} = xset \
4978 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4979 done
4980 PS1='$ '
4981 PS2='> '
4982 PS4='+ '
4984 # NLS nuisances.
4985 LC_ALL=C
4986 export LC_ALL
4987 LANGUAGE=C
4988 export LANGUAGE
4990 # CDPATH.
4991 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4994 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4995 # ----------------------------------------
4996 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4997 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4998 # script with STATUS, using 1 if that was 0.
4999 as_fn_error ()
5001 as_status=$1; test $as_status -eq 0 && as_status=1
5002 if test "$4"; then
5003 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5004 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5006 $as_echo "$as_me: error: $2" >&2
5007 as_fn_exit $as_status
5008 } # as_fn_error
5011 # as_fn_set_status STATUS
5012 # -----------------------
5013 # Set $? to STATUS, without forking.
5014 as_fn_set_status ()
5016 return $1
5017 } # as_fn_set_status
5019 # as_fn_exit STATUS
5020 # -----------------
5021 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5022 as_fn_exit ()
5024 set +e
5025 as_fn_set_status $1
5026 exit $1
5027 } # as_fn_exit
5029 # as_fn_unset VAR
5030 # ---------------
5031 # Portably unset VAR.
5032 as_fn_unset ()
5034 { eval $1=; unset $1;}
5036 as_unset=as_fn_unset
5037 # as_fn_append VAR VALUE
5038 # ----------------------
5039 # Append the text in VALUE to the end of the definition contained in VAR. Take
5040 # advantage of any shell optimizations that allow amortized linear growth over
5041 # repeated appends, instead of the typical quadratic growth present in naive
5042 # implementations.
5043 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5044 eval 'as_fn_append ()
5046 eval $1+=\$2
5048 else
5049 as_fn_append ()
5051 eval $1=\$$1\$2
5053 fi # as_fn_append
5055 # as_fn_arith ARG...
5056 # ------------------
5057 # Perform arithmetic evaluation on the ARGs, and store the result in the
5058 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5059 # must be portable across $(()) and expr.
5060 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5061 eval 'as_fn_arith ()
5063 as_val=$(( $* ))
5065 else
5066 as_fn_arith ()
5068 as_val=`expr "$@" || test $? -eq 1`
5070 fi # as_fn_arith
5073 if expr a : '\(a\)' >/dev/null 2>&1 &&
5074 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5075 as_expr=expr
5076 else
5077 as_expr=false
5080 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5081 as_basename=basename
5082 else
5083 as_basename=false
5086 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5087 as_dirname=dirname
5088 else
5089 as_dirname=false
5092 as_me=`$as_basename -- "$0" ||
5093 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5094 X"$0" : 'X\(//\)$' \| \
5095 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5096 $as_echo X/"$0" |
5097 sed '/^.*\/\([^/][^/]*\)\/*$/{
5098 s//\1/
5101 /^X\/\(\/\/\)$/{
5102 s//\1/
5105 /^X\/\(\/\).*/{
5106 s//\1/
5109 s/.*/./; q'`
5111 # Avoid depending upon Character Ranges.
5112 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5113 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5114 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5115 as_cr_digits='0123456789'
5116 as_cr_alnum=$as_cr_Letters$as_cr_digits
5118 ECHO_C= ECHO_N= ECHO_T=
5119 case `echo -n x` in #(((((
5120 -n*)
5121 case `echo 'xy\c'` in
5122 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5123 xy) ECHO_C='\c';;
5124 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5125 ECHO_T=' ';;
5126 esac;;
5128 ECHO_N='-n';;
5129 esac
5131 rm -f conf$$ conf$$.exe conf$$.file
5132 if test -d conf$$.dir; then
5133 rm -f conf$$.dir/conf$$.file
5134 else
5135 rm -f conf$$.dir
5136 mkdir conf$$.dir 2>/dev/null
5138 if (echo >conf$$.file) 2>/dev/null; then
5139 if ln -s conf$$.file conf$$ 2>/dev/null; then
5140 as_ln_s='ln -s'
5141 # ... but there are two gotchas:
5142 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5143 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5144 # In both cases, we have to default to `cp -pR'.
5145 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5146 as_ln_s='cp -pR'
5147 elif ln conf$$.file conf$$ 2>/dev/null; then
5148 as_ln_s=ln
5149 else
5150 as_ln_s='cp -pR'
5152 else
5153 as_ln_s='cp -pR'
5155 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5156 rmdir conf$$.dir 2>/dev/null
5159 # as_fn_mkdir_p
5160 # -------------
5161 # Create "$as_dir" as a directory, including parents if necessary.
5162 as_fn_mkdir_p ()
5165 case $as_dir in #(
5166 -*) as_dir=./$as_dir;;
5167 esac
5168 test -d "$as_dir" || eval $as_mkdir_p || {
5169 as_dirs=
5170 while :; do
5171 case $as_dir in #(
5172 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5173 *) as_qdir=$as_dir;;
5174 esac
5175 as_dirs="'$as_qdir' $as_dirs"
5176 as_dir=`$as_dirname -- "$as_dir" ||
5177 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5178 X"$as_dir" : 'X\(//\)[^/]' \| \
5179 X"$as_dir" : 'X\(//\)$' \| \
5180 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5181 $as_echo X"$as_dir" |
5182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5183 s//\1/
5186 /^X\(\/\/\)[^/].*/{
5187 s//\1/
5190 /^X\(\/\/\)$/{
5191 s//\1/
5194 /^X\(\/\).*/{
5195 s//\1/
5198 s/.*/./; q'`
5199 test -d "$as_dir" && break
5200 done
5201 test -z "$as_dirs" || eval "mkdir $as_dirs"
5202 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5205 } # as_fn_mkdir_p
5206 if mkdir -p . 2>/dev/null; then
5207 as_mkdir_p='mkdir -p "$as_dir"'
5208 else
5209 test -d ./-p && rmdir ./-p
5210 as_mkdir_p=false
5214 # as_fn_executable_p FILE
5215 # -----------------------
5216 # Test if FILE is an executable regular file.
5217 as_fn_executable_p ()
5219 test -f "$1" && test -x "$1"
5220 } # as_fn_executable_p
5221 as_test_x='test -x'
5222 as_executable_p=as_fn_executable_p
5224 # Sed expression to map a string onto a valid CPP name.
5225 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5227 # Sed expression to map a string onto a valid variable name.
5228 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5231 exec 6>&1
5232 ## ----------------------------------- ##
5233 ## Main body of $CONFIG_STATUS script. ##
5234 ## ----------------------------------- ##
5235 _ASEOF
5236 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5239 # Save the log message, to keep $0 and so on meaningful, and to
5240 # report actual input values of CONFIG_FILES etc. instead of their
5241 # values after options handling.
5242 ac_log="
5243 This file was extended by $as_me, which was
5244 generated by GNU Autoconf 2.69. Invocation command line was
5246 CONFIG_FILES = $CONFIG_FILES
5247 CONFIG_HEADERS = $CONFIG_HEADERS
5248 CONFIG_LINKS = $CONFIG_LINKS
5249 CONFIG_COMMANDS = $CONFIG_COMMANDS
5250 $ $0 $@
5252 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5255 _ACEOF
5257 case $ac_config_files in *"
5258 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5259 esac
5263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5264 # Files that config.status was made for.
5265 config_files="$ac_config_files"
5267 _ACEOF
5269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5270 ac_cs_usage="\
5271 \`$as_me' instantiates files and other configuration actions
5272 from templates according to the current configuration. Unless the files
5273 and actions are specified as TAGs, all are instantiated by default.
5275 Usage: $0 [OPTION]... [TAG]...
5277 -h, --help print this help, then exit
5278 -V, --version print version number and configuration settings, then exit
5279 --config print configuration, then exit
5280 -q, --quiet, --silent
5281 do not print progress messages
5282 -d, --debug don't remove temporary files
5283 --recheck update $as_me by reconfiguring in the same conditions
5284 --file=FILE[:TEMPLATE]
5285 instantiate the configuration file FILE
5287 Configuration files:
5288 $config_files
5290 Report bugs to the package provider."
5292 _ACEOF
5293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5294 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5295 ac_cs_version="\\
5296 config.status
5297 configured by $0, generated by GNU Autoconf 2.69,
5298 with options \\"\$ac_cs_config\\"
5300 Copyright (C) 2012 Free Software Foundation, Inc.
5301 This config.status script is free software; the Free Software Foundation
5302 gives unlimited permission to copy, distribute and modify it."
5304 ac_pwd='$ac_pwd'
5305 srcdir='$srcdir'
5306 test -n "\$AWK" || AWK=awk
5307 _ACEOF
5309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5310 # The default lists apply if the user does not specify any file.
5311 ac_need_defaults=:
5312 while test $# != 0
5314 case $1 in
5315 --*=?*)
5316 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5317 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5318 ac_shift=:
5320 --*=)
5321 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5322 ac_optarg=
5323 ac_shift=:
5326 ac_option=$1
5327 ac_optarg=$2
5328 ac_shift=shift
5330 esac
5332 case $ac_option in
5333 # Handling of the options.
5334 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5335 ac_cs_recheck=: ;;
5336 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5337 $as_echo "$ac_cs_version"; exit ;;
5338 --config | --confi | --conf | --con | --co | --c )
5339 $as_echo "$ac_cs_config"; exit ;;
5340 --debug | --debu | --deb | --de | --d | -d )
5341 debug=: ;;
5342 --file | --fil | --fi | --f )
5343 $ac_shift
5344 case $ac_optarg in
5345 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5346 '') as_fn_error $? "missing file argument" ;;
5347 esac
5348 as_fn_append CONFIG_FILES " '$ac_optarg'"
5349 ac_need_defaults=false;;
5350 --he | --h | --help | --hel | -h )
5351 $as_echo "$ac_cs_usage"; exit ;;
5352 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5353 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5354 ac_cs_silent=: ;;
5356 # This is an error.
5357 -*) as_fn_error $? "unrecognized option: \`$1'
5358 Try \`$0 --help' for more information." ;;
5360 *) as_fn_append ac_config_targets " $1"
5361 ac_need_defaults=false ;;
5363 esac
5364 shift
5365 done
5367 ac_configure_extra_args=
5369 if $ac_cs_silent; then
5370 exec 6>/dev/null
5371 ac_configure_extra_args="$ac_configure_extra_args --silent"
5374 _ACEOF
5375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5376 if \$ac_cs_recheck; then
5377 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5378 shift
5379 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5380 CONFIG_SHELL='$SHELL'
5381 export CONFIG_SHELL
5382 exec "\$@"
5385 _ACEOF
5386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5387 exec 5>>config.log
5389 echo
5390 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5391 ## Running $as_me. ##
5392 _ASBOX
5393 $as_echo "$ac_log"
5394 } >&5
5396 _ACEOF
5397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5398 _ACEOF
5400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5402 # Handling of arguments.
5403 for ac_config_target in $ac_config_targets
5405 case $ac_config_target in
5406 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5408 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5409 esac
5410 done
5413 # If the user did not use the arguments to specify the items to instantiate,
5414 # then the envvar interface is used. Set only those that are not.
5415 # We use the long form for the default assignment because of an extremely
5416 # bizarre bug on SunOS 4.1.3.
5417 if $ac_need_defaults; then
5418 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5421 # Have a temporary directory for convenience. Make it in the build tree
5422 # simply because there is no reason against having it here, and in addition,
5423 # creating and moving files from /tmp can sometimes cause problems.
5424 # Hook for its removal unless debugging.
5425 # Note that there is a small window in which the directory will not be cleaned:
5426 # after its creation but before its name has been assigned to `$tmp'.
5427 $debug ||
5429 tmp= ac_tmp=
5430 trap 'exit_status=$?
5431 : "${ac_tmp:=$tmp}"
5432 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5434 trap 'as_fn_exit 1' 1 2 13 15
5436 # Create a (secure) tmp directory for tmp files.
5439 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5440 test -d "$tmp"
5441 } ||
5443 tmp=./conf$$-$RANDOM
5444 (umask 077 && mkdir "$tmp")
5445 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5446 ac_tmp=$tmp
5448 # Set up the scripts for CONFIG_FILES section.
5449 # No need to generate them if there are no CONFIG_FILES.
5450 # This happens for instance with `./config.status config.h'.
5451 if test -n "$CONFIG_FILES"; then
5454 ac_cr=`echo X | tr X '\015'`
5455 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5456 # But we know of no other shell where ac_cr would be empty at this
5457 # point, so we can use a bashism as a fallback.
5458 if test "x$ac_cr" = x; then
5459 eval ac_cr=\$\'\\r\'
5461 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5462 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5463 ac_cs_awk_cr='\\r'
5464 else
5465 ac_cs_awk_cr=$ac_cr
5468 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5469 _ACEOF
5473 echo "cat >conf$$subs.awk <<_ACEOF" &&
5474 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5475 echo "_ACEOF"
5476 } >conf$$subs.sh ||
5477 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5478 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5479 ac_delim='%!_!# '
5480 for ac_last_try in false false false false false :; do
5481 . ./conf$$subs.sh ||
5482 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5484 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5485 if test $ac_delim_n = $ac_delim_num; then
5486 break
5487 elif $ac_last_try; then
5488 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5489 else
5490 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5492 done
5493 rm -f conf$$subs.sh
5495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5496 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5497 _ACEOF
5498 sed -n '
5500 s/^/S["/; s/!.*/"]=/
5503 s/^[^!]*!//
5504 :repl
5505 t repl
5506 s/'"$ac_delim"'$//
5507 t delim
5510 s/\(.\{148\}\)..*/\1/
5511 t more1
5512 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5515 b repl
5516 :more1
5517 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5520 s/.\{148\}//
5521 t nl
5522 :delim
5524 s/\(.\{148\}\)..*/\1/
5525 t more2
5526 s/["\\]/\\&/g; s/^/"/; s/$/"/
5529 :more2
5530 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5533 s/.\{148\}//
5534 t delim
5535 ' <conf$$subs.awk | sed '
5536 /^[^""]/{
5538 s/\n//
5540 ' >>$CONFIG_STATUS || ac_write_fail=1
5541 rm -f conf$$subs.awk
5542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5543 _ACAWK
5544 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5545 for (key in S) S_is_set[key] = 1
5546 FS = "\a"
5550 line = $ 0
5551 nfields = split(line, field, "@")
5552 substed = 0
5553 len = length(field[1])
5554 for (i = 2; i < nfields; i++) {
5555 key = field[i]
5556 keylen = length(key)
5557 if (S_is_set[key]) {
5558 value = S[key]
5559 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5560 len += length(value) + length(field[++i])
5561 substed = 1
5562 } else
5563 len += 1 + keylen
5566 print line
5569 _ACAWK
5570 _ACEOF
5571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5572 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5573 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5574 else
5576 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5577 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5578 _ACEOF
5580 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5581 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5582 # trailing colons and then remove the whole line if VPATH becomes empty
5583 # (actually we leave an empty line to preserve line numbers).
5584 if test "x$srcdir" = x.; then
5585 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5587 s///
5588 s/^/:/
5589 s/[ ]*$/:/
5590 s/:\$(srcdir):/:/g
5591 s/:\${srcdir}:/:/g
5592 s/:@srcdir@:/:/g
5593 s/^:*//
5594 s/:*$//
5596 s/\(=[ ]*\).*/\1/
5598 s/\n//
5599 s/^[^=]*=[ ]*$//
5603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5604 fi # test -n "$CONFIG_FILES"
5607 eval set X " :F $CONFIG_FILES "
5608 shift
5609 for ac_tag
5611 case $ac_tag in
5612 :[FHLC]) ac_mode=$ac_tag; continue;;
5613 esac
5614 case $ac_mode$ac_tag in
5615 :[FHL]*:*);;
5616 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5617 :[FH]-) ac_tag=-:-;;
5618 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5619 esac
5620 ac_save_IFS=$IFS
5621 IFS=:
5622 set x $ac_tag
5623 IFS=$ac_save_IFS
5624 shift
5625 ac_file=$1
5626 shift
5628 case $ac_mode in
5629 :L) ac_source=$1;;
5630 :[FH])
5631 ac_file_inputs=
5632 for ac_f
5634 case $ac_f in
5635 -) ac_f="$ac_tmp/stdin";;
5636 *) # Look for the file first in the build tree, then in the source tree
5637 # (if the path is not absolute). The absolute path cannot be DOS-style,
5638 # because $ac_f cannot contain `:'.
5639 test -f "$ac_f" ||
5640 case $ac_f in
5641 [\\/$]*) false;;
5642 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5643 esac ||
5644 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5645 esac
5646 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5647 as_fn_append ac_file_inputs " '$ac_f'"
5648 done
5650 # Let's still pretend it is `configure' which instantiates (i.e., don't
5651 # use $as_me), people would be surprised to read:
5652 # /* config.h. Generated by config.status. */
5653 configure_input='Generated from '`
5654 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5655 `' by configure.'
5656 if test x"$ac_file" != x-; then
5657 configure_input="$ac_file. $configure_input"
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5659 $as_echo "$as_me: creating $ac_file" >&6;}
5661 # Neutralize special characters interpreted by sed in replacement strings.
5662 case $configure_input in #(
5663 *\&* | *\|* | *\\* )
5664 ac_sed_conf_input=`$as_echo "$configure_input" |
5665 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5666 *) ac_sed_conf_input=$configure_input;;
5667 esac
5669 case $ac_tag in
5670 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5671 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5672 esac
5674 esac
5676 ac_dir=`$as_dirname -- "$ac_file" ||
5677 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5678 X"$ac_file" : 'X\(//\)[^/]' \| \
5679 X"$ac_file" : 'X\(//\)$' \| \
5680 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5681 $as_echo X"$ac_file" |
5682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5683 s//\1/
5686 /^X\(\/\/\)[^/].*/{
5687 s//\1/
5690 /^X\(\/\/\)$/{
5691 s//\1/
5694 /^X\(\/\).*/{
5695 s//\1/
5698 s/.*/./; q'`
5699 as_dir="$ac_dir"; as_fn_mkdir_p
5700 ac_builddir=.
5702 case "$ac_dir" in
5703 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5705 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5706 # A ".." for each directory in $ac_dir_suffix.
5707 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5708 case $ac_top_builddir_sub in
5709 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5710 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5711 esac ;;
5712 esac
5713 ac_abs_top_builddir=$ac_pwd
5714 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5715 # for backward compatibility:
5716 ac_top_builddir=$ac_top_build_prefix
5718 case $srcdir in
5719 .) # We are building in place.
5720 ac_srcdir=.
5721 ac_top_srcdir=$ac_top_builddir_sub
5722 ac_abs_top_srcdir=$ac_pwd ;;
5723 [\\/]* | ?:[\\/]* ) # Absolute name.
5724 ac_srcdir=$srcdir$ac_dir_suffix;
5725 ac_top_srcdir=$srcdir
5726 ac_abs_top_srcdir=$srcdir ;;
5727 *) # Relative name.
5728 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5729 ac_top_srcdir=$ac_top_build_prefix$srcdir
5730 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5731 esac
5732 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5735 case $ac_mode in
5738 # CONFIG_FILE
5741 _ACEOF
5743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5744 # If the template does not know about datarootdir, expand it.
5745 # FIXME: This hack should be removed a few years after 2.60.
5746 ac_datarootdir_hack=; ac_datarootdir_seen=
5747 ac_sed_dataroot='
5748 /datarootdir/ {
5752 /@datadir@/p
5753 /@docdir@/p
5754 /@infodir@/p
5755 /@localedir@/p
5756 /@mandir@/p'
5757 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5758 *datarootdir*) ac_datarootdir_seen=yes;;
5759 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5761 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5762 _ACEOF
5763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5764 ac_datarootdir_hack='
5765 s&@datadir@&$datadir&g
5766 s&@docdir@&$docdir&g
5767 s&@infodir@&$infodir&g
5768 s&@localedir@&$localedir&g
5769 s&@mandir@&$mandir&g
5770 s&\\\${datarootdir}&$datarootdir&g' ;;
5771 esac
5772 _ACEOF
5774 # Neutralize VPATH when `$srcdir' = `.'.
5775 # Shell code in configure.ac might set extrasub.
5776 # FIXME: do we really want to maintain this feature?
5777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5778 ac_sed_extra="$ac_vpsub
5779 $extrasub
5780 _ACEOF
5781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5783 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5784 s|@configure_input@|$ac_sed_conf_input|;t t
5785 s&@top_builddir@&$ac_top_builddir_sub&;t t
5786 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5787 s&@srcdir@&$ac_srcdir&;t t
5788 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5789 s&@top_srcdir@&$ac_top_srcdir&;t t
5790 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5791 s&@builddir@&$ac_builddir&;t t
5792 s&@abs_builddir@&$ac_abs_builddir&;t t
5793 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5794 $ac_datarootdir_hack
5796 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5797 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5799 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5800 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5801 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5802 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5804 which seems to be undefined. Please make sure it is defined" >&5
5805 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5806 which seems to be undefined. Please make sure it is defined" >&2;}
5808 rm -f "$ac_tmp/stdin"
5809 case $ac_file in
5810 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5811 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5812 esac \
5813 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5818 esac
5820 done # for ac_tag
5823 as_fn_exit 0
5824 _ACEOF
5825 ac_clean_files=$ac_clean_files_save
5827 test $ac_write_fail = 0 ||
5828 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5831 # configure is writing to config.log, and then calls config.status.
5832 # config.status does its own redirection, appending to config.log.
5833 # Unfortunately, on DOS this fails, as config.log is still kept open
5834 # by configure, so config.status won't be able to write to it; its
5835 # output is simply discarded. So we exec the FD to /dev/null,
5836 # effectively closing config.log, so it can be properly (re)opened and
5837 # appended to by config.status. When coming back to configure, we
5838 # need to make the FD available again.
5839 if test "$no_create" != yes; then
5840 ac_cs_success=:
5841 ac_config_status_args=
5842 test "$silent" = yes &&
5843 ac_config_status_args="$ac_config_status_args --quiet"
5844 exec 5>/dev/null
5845 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5846 exec 5>>config.log
5847 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5848 # would make configure fail if this is the last instruction.
5849 $ac_cs_success || as_fn_exit 1
5851 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5853 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}