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 :
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+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
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
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 ||
:
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.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
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
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 :
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+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || 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 :
204 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
209 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
212 test -z "$as_dir" && as_dir
=.
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 :
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
237 if test "x$CONFIG_SHELL" != x
; then :
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.
245 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
247 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
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
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."
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."
275 SHELL
=${CONFIG_SHELL-/bin/sh}
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 ## --------------------- ##
286 # Portably unset VAR.
289 { eval $1=; unset $1;}
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 # Create "$as_dir" as a directory, including parents if necessary.
318 -*) as_dir
=.
/$as_dir;;
320 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
324 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
351 test -d "$as_dir" && break
353 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
354 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
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
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
373 eval 'as_fn_append ()
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 :
397 as_val
=`expr "$@" || test $? -eq 1`
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.
409 as_status
=$1; test $as_status -eq 0 && as_status
=1
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
418 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
425 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
437 as_me
=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
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. :-)
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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).
495 # Exit status is that of the last command.
499 ECHO_C
= ECHO_N
= ECHO_T
=
500 case `echo -n x` in #(((((
502 case `echo 'xy\c'` in
503 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
512 rm -f conf$$ conf$$.exe conf$$.
file
513 if test -d conf$$.dir
; then
514 rm -f conf$$.dir
/conf$$.
file
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
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 ||
528 elif ln conf$$.
file conf$$
2>/dev
/null
; then
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"'
542 test -d .
/-p && rmdir .
/-p
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
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`
567 ac_default_prefix
=/usr
/local
569 ac_config_libobj_dir
=.
576 # Identity of this package.
584 ac_unique_file
="../mmakefile"
585 ac_subst_vars
='LTLIBOBJS
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
649 aros_nowarnflags_aggressive_loop_optimizations
650 aros_warnflags_aggressive_loop_optimizations
651 aros_nowarnflags_implicit_int
652 aros_warnflags_implicit_int
653 aros_nowarnflags_format_contains_nul
654 aros_warnflags_format_contains_nul
655 aros_nowarnflags_endif_labels
656 aros_warnflags_endif_labels
657 aros_nowarnflags_char_subscripts
658 aros_warnflags_char_subscripts
659 aros_nowarnflags_parentheses
660 aros_warnflags_parentheses
661 aros_nowarnflags_format
662 aros_warnflags_format
663 aros_nowarnflags_implicit_function_declaration
664 aros_warnflags_implicit_function_declaration
665 aros_nowarnflags_maybe_uninitialized
666 aros_warnflags_maybe_uninitialized
667 aros_nowarnflags_uninitialized
668 aros_warnflags_uninitialized
669 aros_nowarnflags_unused_parameter
670 aros_warnflags_unused_parameter
671 aros_nowarnflags_unused_function
672 aros_warnflags_unused_function
673 aros_nowarnflags_unused_variable
674 aros_warnflags_unused_variable
675 aros_nowarnflags_unused_value
676 aros_warnflags_unused_value
677 aros_nowarnflags_unused
678 aros_warnflags_unused
679 aros_nowarnflags_nonnull_compare
680 aros_warnflags_nonnull_compare
681 aros_nowarnflags_misleading_indentation
682 aros_warnflags_misleading_indentation
683 aros_nowarnflags_format_security
684 aros_warnflags_format_security
685 aros_nowarnflags_strict_overflow
686 aros_warnflags_strict_overflow
687 aros_nowarnflags_strict_prototypes
688 aros_warnflags_strict_prototypes
689 aros_nowarnflags_enum_compare
690 aros_warnflags_enum_compare
691 aros_nowarnflags_array_bounds
692 aros_warnflags_array_bounds
693 aros_nowarnflags_strict_aliasing
694 aros_warnflags_strict_aliasing
695 aros_nowarnflags_unused_but_set_variable
696 aros_warnflags_unused_but_set_variable
697 aros_nowarnflags_unknown_warning_option
698 aros_warnflags_unknown_warning_option
699 aros_nowarnflags_unused_command_line_argument
700 aros_warnflags_unused_command_line_argument
701 aros_nowarnflags_error
703 aros_cflags_no_red_zone
704 aros_cflags_iquote_end
706 aros_cflags_nostrictaliasing
707 aros_cflags_strictaliasing
708 aros_cflags_unroll_loops
709 aros_cflags_peel_loops
710 aros_cflags_loop_strip_mine
711 aros_cflags_loop_interchange
712 aros_cflags_loop_block
713 aros_cflags_whole_program
716 aros_cflags_no_builtin_floor
717 aros_cflags_fast_math
718 aros_cflags_permissive
753 program_transform_name
766 enable_option_checking
769 ac_precious_vars
='build_alias
779 # Initialize some variables set by options.
781 ac_init_version
=false
782 ac_unrecognized_opts
=
784 # The variables have the same names as the options, with
785 # dashes changed to underlines.
793 program_transform_name
=s
,x
,x
,
801 # Installation directory options.
802 # These are left unexpanded so users can "make install exec_prefix=/foo"
803 # and all the variables that are supposed to be based on exec_prefix
804 # by default will actually change.
805 # Use braces instead of parens because sh, perl, etc. also accept them.
806 # (The list follows the same order as the GNU Coding Standards.)
807 bindir
='${exec_prefix}/bin'
808 sbindir
='${exec_prefix}/sbin'
809 libexecdir
='${exec_prefix}/libexec'
810 datarootdir
='${prefix}/share'
811 datadir
='${datarootdir}'
812 sysconfdir
='${prefix}/etc'
813 sharedstatedir
='${prefix}/com'
814 localstatedir
='${prefix}/var'
815 includedir
='${prefix}/include'
816 oldincludedir
='/usr/include'
817 docdir
='${datarootdir}/doc/${PACKAGE}'
818 infodir
='${datarootdir}/info'
823 libdir
='${exec_prefix}/lib'
824 localedir
='${datarootdir}/locale'
825 mandir
='${datarootdir}/man'
831 # If the previous option needs an argument, assign it.
832 if test -n "$ac_prev"; then
833 eval $ac_prev=\
$ac_option
839 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
844 # Accept the important Cygnus configure options, so we can diagnose typos.
846 case $ac_dashdash$ac_option in
850 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
852 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
855 -build |
--build |
--buil |
--bui |
--bu)
856 ac_prev
=build_alias
;;
857 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
858 build_alias
=$ac_optarg ;;
860 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
861 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
862 ac_prev
=cache_file
;;
863 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
864 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
865 cache_file
=$ac_optarg ;;
868 cache_file
=config.cache
;;
870 -datadir |
--datadir |
--datadi |
--datad)
872 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
873 datadir
=$ac_optarg ;;
875 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
876 |
--dataroo |
--dataro |
--datar)
877 ac_prev
=datarootdir
;;
878 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
879 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
880 datarootdir
=$ac_optarg ;;
882 -disable-* |
--disable-*)
883 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
886 as_fn_error $?
"invalid feature name: $ac_useropt"
887 ac_useropt_orig
=$ac_useropt
888 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
893 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
894 ac_unrecognized_sep
=', ';;
896 eval enable_
$ac_useropt=no
;;
898 -docdir |
--docdir |
--docdi |
--doc |
--do)
900 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
903 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
905 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
908 -enable-* |
--enable-*)
909 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
910 # Reject names that are not valid shell variable names.
911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
912 as_fn_error $?
"invalid feature name: $ac_useropt"
913 ac_useropt_orig
=$ac_useropt
914 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915 case $ac_user_opts in
919 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
920 ac_unrecognized_sep
=', ';;
922 eval enable_
$ac_useropt=\
$ac_optarg ;;
924 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
925 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
926 |
--exec |
--exe |
--ex)
927 ac_prev
=exec_prefix
;;
928 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
929 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
930 |
--exec=* |
--exe=* |
--ex=*)
931 exec_prefix
=$ac_optarg ;;
933 -gas |
--gas |
--ga |
--g)
934 # Obsolete; use --with-gas.
937 -help |
--help |
--hel |
--he |
-h)
939 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
940 ac_init_help
=recursive
;;
941 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
942 ac_init_help
=short
;;
944 -host |
--host |
--hos |
--ho)
945 ac_prev
=host_alias
;;
946 -host=* |
--host=* |
--hos=* |
--ho=*)
947 host_alias
=$ac_optarg ;;
949 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
951 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
953 htmldir
=$ac_optarg ;;
955 -includedir |
--includedir |
--includedi |
--included |
--include \
956 |
--includ |
--inclu |
--incl |
--inc)
957 ac_prev
=includedir
;;
958 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
959 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
960 includedir
=$ac_optarg ;;
962 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
964 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
965 infodir
=$ac_optarg ;;
967 -libdir |
--libdir |
--libdi |
--libd)
969 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
972 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
973 |
--libexe |
--libex |
--libe)
974 ac_prev
=libexecdir
;;
975 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
976 |
--libexe=* |
--libex=* |
--libe=*)
977 libexecdir
=$ac_optarg ;;
979 -localedir |
--localedir |
--localedi |
--localed |
--locale)
981 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
982 localedir
=$ac_optarg ;;
984 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
985 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
986 ac_prev
=localstatedir
;;
987 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
988 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
989 localstatedir
=$ac_optarg ;;
991 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
993 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
997 # Obsolete; use --without-fp.
1000 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1001 |
--no-cr |
--no-c |
-n)
1004 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1005 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1008 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1009 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1010 |
--oldin |
--oldi |
--old |
--ol |
--o)
1011 ac_prev
=oldincludedir
;;
1012 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1013 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1014 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1015 oldincludedir
=$ac_optarg ;;
1017 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1019 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1020 prefix
=$ac_optarg ;;
1022 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1023 |
--program-pre |
--program-pr |
--program-p)
1024 ac_prev
=program_prefix
;;
1025 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1026 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1027 program_prefix
=$ac_optarg ;;
1029 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1030 |
--program-suf |
--program-su |
--program-s)
1031 ac_prev
=program_suffix
;;
1032 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1033 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1034 program_suffix
=$ac_optarg ;;
1036 -program-transform-name |
--program-transform-name \
1037 |
--program-transform-nam |
--program-transform-na \
1038 |
--program-transform-n |
--program-transform- \
1039 |
--program-transform |
--program-transfor \
1040 |
--program-transfo |
--program-transf \
1041 |
--program-trans |
--program-tran \
1042 |
--progr-tra |
--program-tr |
--program-t)
1043 ac_prev
=program_transform_name
;;
1044 -program-transform-name=* |
--program-transform-name=* \
1045 |
--program-transform-nam=* |
--program-transform-na=* \
1046 |
--program-transform-n=* |
--program-transform-=* \
1047 |
--program-transform=* |
--program-transfor=* \
1048 |
--program-transfo=* |
--program-transf=* \
1049 |
--program-trans=* |
--program-tran=* \
1050 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1051 program_transform_name
=$ac_optarg ;;
1053 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1055 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1056 pdfdir
=$ac_optarg ;;
1058 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1060 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1063 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1064 |
-silent |
--silent |
--silen |
--sile |
--sil)
1067 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1069 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1071 sbindir
=$ac_optarg ;;
1073 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1074 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1075 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1077 ac_prev
=sharedstatedir
;;
1078 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1079 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1080 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1082 sharedstatedir
=$ac_optarg ;;
1084 -site |
--site |
--sit)
1086 -site=* |
--site=* |
--sit=*)
1089 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1091 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1092 srcdir
=$ac_optarg ;;
1094 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1095 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1096 ac_prev
=sysconfdir
;;
1097 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1098 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1099 sysconfdir
=$ac_optarg ;;
1101 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1102 ac_prev
=target_alias
;;
1103 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1104 target_alias
=$ac_optarg ;;
1106 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1109 -version |
--version |
--versio |
--versi |
--vers |
-V)
1110 ac_init_version
=: ;;
1113 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1116 as_fn_error $?
"invalid package name: $ac_useropt"
1117 ac_useropt_orig
=$ac_useropt
1118 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1123 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1124 ac_unrecognized_sep
=', ';;
1126 eval with_
$ac_useropt=\
$ac_optarg ;;
1128 -without-* |
--without-*)
1129 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1132 as_fn_error $?
"invalid package name: $ac_useropt"
1133 ac_useropt_orig
=$ac_useropt
1134 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135 case $ac_user_opts in
1139 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1140 ac_unrecognized_sep
=', ';;
1142 eval with_
$ac_useropt=no
;;
1145 # Obsolete; use --with-x.
1148 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1149 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1150 ac_prev
=x_includes
;;
1151 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1152 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1153 x_includes
=$ac_optarg ;;
1155 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1156 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1157 ac_prev
=x_libraries
;;
1158 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1159 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1160 x_libraries
=$ac_optarg ;;
1162 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1163 Try \`$0 --help' for more information"
1167 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1168 # Reject names that are not valid shell variable names.
1169 case $ac_envvar in #(
1170 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1171 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1173 eval $ac_envvar=\
$ac_optarg
1174 export $ac_envvar ;;
1177 # FIXME: should be removed in autoconf 3.0.
1178 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1179 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1180 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1181 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1187 if test -n "$ac_prev"; then
1188 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1189 as_fn_error $?
"missing argument to $ac_option"
1192 if test -n "$ac_unrecognized_opts"; then
1193 case $enable_option_checking in
1195 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1196 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1200 # Check all directory arguments for consistency.
1201 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1202 datadir sysconfdir sharedstatedir localstatedir includedir \
1203 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1204 libdir localedir mandir
1206 eval ac_val
=\$
$ac_var
1207 # Remove trailing slashes.
1210 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1211 eval $ac_var=\
$ac_val;;
1213 # Be sure to have absolute directory names.
1215 [\\/$
]* | ?
:[\\/]* ) continue;;
1216 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1218 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1221 # There might be people who depend on the old broken behavior: `$host'
1222 # used to hold the argument of --host etc.
1223 # FIXME: To remove some day.
1226 target
=$target_alias
1228 # FIXME: To remove some day.
1229 if test "x$host_alias" != x
; then
1230 if test "x$build_alias" = x
; then
1231 cross_compiling
=maybe
1232 elif test "x$build_alias" != "x$host_alias"; then
1238 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1240 test "$silent" = yes && exec 6>/dev
/null
1243 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1244 ac_ls_di
=`ls -di .` &&
1245 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1246 as_fn_error $?
"working directory cannot be determined"
1247 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1248 as_fn_error $?
"pwd does not report name of working directory"
1251 # Find the source files, if location was not specified.
1252 if test -z "$srcdir"; then
1253 ac_srcdir_defaulted
=yes
1254 # Try the directory containing this script, then the parent directory.
1255 ac_confdir
=`$as_dirname -- "$as_myself" ||
1256 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1257 X"$as_myself" : 'X\(//\)[^/]' \| \
1258 X"$as_myself" : 'X\(//\)$' \| \
1259 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1260 $as_echo X"$as_myself" |
1261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1279 if test ! -r "$srcdir/$ac_unique_file"; then
1283 ac_srcdir_defaulted
=no
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1286 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1287 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1289 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1291 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1293 # When building in place, set srcdir=.
1294 if test "$ac_abs_confdir" = "$ac_pwd"; then
1297 # Remove unnecessary trailing slashes from srcdir.
1298 # Double slashes in file names in object file debugging info
1299 # mess up M-x gdb in Emacs.
1301 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1303 for ac_var
in $ac_precious_vars; do
1304 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1305 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1306 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1307 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1311 # Report the --help message.
1313 if test "$ac_init_help" = "long"; then
1314 # Omit some internal or obsolete options to make the list less imposing.
1315 # This message is too long to be a string in the A/UX 3.1 sh.
1317 \`configure' configures this package to adapt to many kinds of systems.
1319 Usage: $0 [OPTION]... [VAR=VALUE]...
1321 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1322 VAR=VALUE. See below for descriptions of some of the useful variables.
1324 Defaults for the options are specified in brackets.
1327 -h, --help display this help and exit
1328 --help=short display options specific to this package
1329 --help=recursive display the short help of all the included packages
1330 -V, --version display version information and exit
1331 -q, --quiet, --silent do not print \`checking ...' messages
1332 --cache-file=FILE cache test results in FILE [disabled]
1333 -C, --config-cache alias for \`--cache-file=config.cache'
1334 -n, --no-create do not create output files
1335 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1337 Installation directories:
1338 --prefix=PREFIX install architecture-independent files in PREFIX
1339 [$ac_default_prefix]
1340 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1343 By default, \`make install' will install all the files in
1344 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1345 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1346 for instance \`--prefix=\$HOME'.
1348 For better control, use the options below.
1350 Fine tuning of the installation directories:
1351 --bindir=DIR user executables [EPREFIX/bin]
1352 --sbindir=DIR system admin executables [EPREFIX/sbin]
1353 --libexecdir=DIR program executables [EPREFIX/libexec]
1354 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1355 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1356 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1357 --libdir=DIR object code libraries [EPREFIX/lib]
1358 --includedir=DIR C header files [PREFIX/include]
1359 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1360 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1361 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1362 --infodir=DIR info documentation [DATAROOTDIR/info]
1363 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1364 --mandir=DIR man documentation [DATAROOTDIR/man]
1365 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1366 --htmldir=DIR html documentation [DOCDIR]
1367 --dvidir=DIR dvi documentation [DOCDIR]
1368 --pdfdir=DIR pdf documentation [DOCDIR]
1369 --psdir=DIR ps documentation [DOCDIR]
1376 if test -n "$ac_init_help"; then
1381 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1382 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1383 --with-config-dir=VERSION
1384 Location of generated target config files
1386 Some influential environment variables
:
1387 CC C compiler
command
1388 CFLAGS C compiler flags
1389 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1390 nonstandard directory
<lib dir
>
1391 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1392 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1393 you have headers
in a nonstandard directory
<include dir
>
1395 Use these variables to override the choices made by
`configure' or to help
1396 it to find libraries and programs with nonstandard names/locations.
1398 Report bugs to the package provider.
1403 if test "$ac_init_help" = "recursive"; then
1404 # If there are subdirs, report their specific --help.
1405 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1406 test -d "$ac_dir" ||
1407 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1412 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1414 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1415 # A ".." for each directory in $ac_dir_suffix.
1416 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1417 case $ac_top_builddir_sub in
1418 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1419 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1422 ac_abs_top_builddir=$ac_pwd
1423 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1424 # for backward compatibility:
1425 ac_top_builddir=$ac_top_build_prefix
1428 .) # We are building in place.
1430 ac_top_srcdir=$ac_top_builddir_sub
1431 ac_abs_top_srcdir=$ac_pwd ;;
1432 [\\/]* | ?:[\\/]* ) # Absolute name.
1433 ac_srcdir=$srcdir$ac_dir_suffix;
1434 ac_top_srcdir=$srcdir
1435 ac_abs_top_srcdir=$srcdir ;;
1437 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1438 ac_top_srcdir=$ac_top_build_prefix$srcdir
1439 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1441 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1443 cd "$ac_dir" || { ac_status=$?; continue; }
1444 # Check for guested configure.
1445 if test -f "$ac_srcdir/configure.gnu"; then
1447 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1448 elif test -f "$ac_srcdir/configure"; then
1450 $SHELL "$ac_srcdir/configure" --help=recursive
1452 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1454 cd "$ac_pwd" || { ac_status=$?; break; }
1458 test -n "$ac_init_help" && exit $ac_status
1459 if $ac_init_version; then
1462 generated by GNU Autoconf 2.69
1464 Copyright (C) 2012 Free Software Foundation, Inc.
1465 This configure script is free software; the Free Software Foundation
1466 gives unlimited permission to copy, distribute and modify it.
1471 ## ------------------------ ##
1472 ## Autoconf initialization. ##
1473 ## ------------------------ ##
1475 # ac_fn_c_try_compile LINENO
1476 # --------------------------
1477 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1478 ac_fn_c_try_compile ()
1480 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1481 rm -f conftest.$ac_objext
1482 if { { ac_try="$ac_compile"
1484 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1485 *) ac_try_echo
=$ac_try;;
1487 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1488 $as_echo "$ac_try_echo"; } >&5
1489 (eval "$ac_compile") 2>conftest.err
1491 if test -s conftest.err
; then
1492 grep -v '^ *+' conftest.err
>conftest.er1
1493 cat conftest.er1
>&5
1494 mv -f conftest.er1 conftest.err
1496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1497 test $ac_status = 0; } && {
1498 test -z "$ac_c_werror_flag" ||
1499 test ! -s conftest.err
1500 } && test -s conftest.
$ac_objext; then :
1503 $as_echo "$as_me: failed program was:" >&5
1504 sed 's/^/| /' conftest.
$ac_ext >&5
1508 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1509 as_fn_set_status
$ac_retval
1511 } # ac_fn_c_try_compile
1512 cat >config.log
<<_ACEOF
1513 This file contains any messages produced by compilers while
1514 running configure, to aid debugging if configure makes a mistake.
1516 It was created by $as_me, which was
1517 generated by GNU Autoconf 2.69. Invocation command line was
1529 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1530 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1531 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1532 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1533 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1535 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1536 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1538 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1539 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1540 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1541 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1542 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1543 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1544 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1552 test -z "$as_dir" && as_dir
=.
1553 $as_echo "PATH: $as_dir"
1569 # Keep a trace of the command line.
1570 # Strip out --no-create and --no-recursion so they do not pile up.
1571 # Strip out --silent because we don't want to record it for future runs.
1572 # Also quote any args containing shell meta-characters.
1573 # Make two passes to allow for proper duplicate-argument suppression.
1577 ac_must_keep_next
=false
1583 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1584 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1585 |
-silent |
--silent |
--silen |
--sile |
--sil)
1588 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1591 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1593 as_fn_append ac_configure_args1
" '$ac_arg'"
1594 if test $ac_must_keep_next = true
; then
1595 ac_must_keep_next
=false
# Got value, back to normal.
1598 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1599 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1600 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1601 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1602 case "$ac_configure_args0 " in
1603 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1606 -* ) ac_must_keep_next
=true
;;
1609 as_fn_append ac_configure_args
" '$ac_arg'"
1614 { ac_configure_args0
=; unset ac_configure_args0
;}
1615 { ac_configure_args1
=; unset ac_configure_args1
;}
1617 # When interrupted or exit'd, cleanup temporary files, and complete
1618 # config.log. We remove comments because anyway the quotes in there
1619 # would cause problems or look ugly.
1620 # WARNING: Use '\'' to represent an apostrophe within the trap.
1621 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1622 trap 'exit_status=$?
1623 # Save into config.log some information that might help in debugging.
1627 $as_echo "## ---------------- ##
1628 ## Cache variables. ##
1629 ## ---------------- ##"
1631 # The following way of writing the cache mishandles newlines in values,
1633 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1634 eval ac_val=\$$ac_var
1638 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1639 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1642 _ | IFS | as_nl) ;; #(
1643 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1644 *) { eval $ac_var=; unset $ac_var;} ;;
1649 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1650 *${as_nl}ac_space=\ *)
1652 "s/'\''/'\''\\\\'\'''\''/g;
1653 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1656 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1663 $as_echo "## ----------------- ##
1664 ## Output variables. ##
1665 ## ----------------- ##"
1667 for ac_var in $ac_subst_vars
1669 eval ac_val=\$$ac_var
1671 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1673 $as_echo "$ac_var='\''$ac_val'\''"
1677 if test -n "$ac_subst_files"; then
1678 $as_echo "## ------------------- ##
1679 ## File substitutions. ##
1680 ## ------------------- ##"
1682 for ac_var
in $ac_subst_files
1684 eval ac_val
=\$
$ac_var
1686 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1688 $as_echo "$ac_var='\''$ac_val'\''"
1693 if test -s confdefs.h; then
1694 $as_echo "## ----------- ##
1701 test "$ac_signal" != 0 &&
1702 $as_echo "$as_me: caught signal $ac_signal"
1703 $as_echo "$as_me: exit $exit_status"
1705 rm -f core *.core core.conftest.* &&
1706 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1709 for ac_signal
in 1 2 13 15; do
1710 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1714 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1715 rm -f -r conftest
* confdefs.h
1717 $as_echo "/* confdefs.h */" > confdefs.h
1719 # Predefined preprocessor variables.
1721 cat >>confdefs.h
<<_ACEOF
1722 #define PACKAGE_NAME "$PACKAGE_NAME"
1725 cat >>confdefs.h
<<_ACEOF
1726 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1729 cat >>confdefs.h
<<_ACEOF
1730 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1733 cat >>confdefs.h
<<_ACEOF
1734 #define PACKAGE_STRING "$PACKAGE_STRING"
1737 cat >>confdefs.h
<<_ACEOF
1738 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1741 cat >>confdefs.h
<<_ACEOF
1742 #define PACKAGE_URL "$PACKAGE_URL"
1746 # Let the site file select an alternate cache file if it wants to.
1747 # Prefer an explicitly selected file to automatically selected ones.
1750 if test -n "$CONFIG_SITE"; then
1751 # We do not want a PATH search for config.site.
1752 case $CONFIG_SITE in #((
1753 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1754 */*) ac_site_file1
=$CONFIG_SITE;;
1755 *) ac_site_file1
=.
/$CONFIG_SITE;;
1757 elif test "x$prefix" != xNONE
; then
1758 ac_site_file1
=$prefix/share
/config.site
1759 ac_site_file2
=$prefix/etc
/config.site
1761 ac_site_file1
=$ac_default_prefix/share
/config.site
1762 ac_site_file2
=$ac_default_prefix/etc
/config.site
1764 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1766 test "x$ac_site_file" = xNONE
&& continue
1767 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1769 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1770 sed 's/^/| /' "$ac_site_file" >&5
1772 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1774 as_fn_error $?
"failed to load site script $ac_site_file
1775 See \`config.log' for more details" "$LINENO" 5; }
1779 if test -r "$cache_file"; then
1780 # Some versions of bash will fail to source /dev/null (special files
1781 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1782 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1784 $as_echo "$as_me: loading cache $cache_file" >&6;}
1786 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1787 *) .
"./$cache_file";;
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1792 $as_echo "$as_me: creating cache $cache_file" >&6;}
1796 # Check that the precious variables saved in the cache have kept the same
1798 ac_cache_corrupted
=false
1799 for ac_var
in $ac_precious_vars; do
1800 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1801 eval ac_new_set
=\
$ac_env_${ac_var}_set
1802 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1803 eval ac_new_val
=\
$ac_env_${ac_var}_value
1804 case $ac_old_set,$ac_new_set in
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1807 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1808 ac_cache_corrupted
=: ;;
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1811 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1812 ac_cache_corrupted
=: ;;
1815 if test "x$ac_old_val" != "x$ac_new_val"; then
1816 # differences in whitespace do not lead to failure.
1817 ac_old_val_w
=`echo x $ac_old_val`
1818 ac_new_val_w
=`echo x $ac_new_val`
1819 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1821 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1822 ac_cache_corrupted
=:
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1825 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1826 eval $ac_var=\
$ac_old_val
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1829 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1831 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1834 # Pass precious variables to config.status.
1835 if test "$ac_new_set" = set; then
1837 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1838 *) ac_arg
=$ac_var=$ac_new_val ;;
1840 case " $ac_configure_args " in
1841 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1842 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1846 if $ac_cache_corrupted; then
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1850 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1851 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1853 ## -------------------- ##
1854 ## Main body of script. ##
1855 ## -------------------- ##
1858 ac_cpp
='$CPP $CPPFLAGS'
1859 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1860 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1861 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1866 for ac_dir
in ..
/scripts
/autoconf
"$srcdir"/..
/scripts
/autoconf
; do
1867 if test -f "$ac_dir/install-sh"; then
1869 ac_install_sh
="$ac_aux_dir/install-sh -c"
1871 elif test -f "$ac_dir/install.sh"; then
1873 ac_install_sh
="$ac_aux_dir/install.sh -c"
1875 elif test -f "$ac_dir/shtool"; then
1877 ac_install_sh
="$ac_aux_dir/shtool install -c"
1881 if test -z "$ac_aux_dir"; then
1882 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1885 # These three variables are undocumented and unsupported,
1886 # and are intended to be withdrawn in a future Autoconf release.
1887 # They can cause serious problems if a builder's source tree is in a directory
1888 # whose full name contains unusual characters.
1889 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1890 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1891 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1895 AROS_BUILDDIR
=`${PWDCMD-pwd}`
1896 AROS_BUILDDIR_UNIX
=${PWD}
1898 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1901 NOLINKFLAGS
="-nostdlib -nostartfiles"
1902 LDFLAGS
=$NOLINKFLAGS
1903 # The first step is to find the binaries.
1905 ac_cpp
='$CPP $CPPFLAGS'
1906 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1907 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1908 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1909 if test -n "$ac_tool_prefix"; then
1910 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1911 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1913 $as_echo_n "checking for $ac_word... " >&6; }
1914 if ${ac_cv_prog_CC+:} false
; then :
1915 $as_echo_n "(cached) " >&6
1917 if test -n "$CC"; then
1918 ac_cv_prog_CC
="$CC" # Let the user override the test.
1920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1924 test -z "$as_dir" && as_dir
=.
1925 for ac_exec_ext
in '' $ac_executable_extensions; do
1926 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1927 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1938 if test -n "$CC"; then
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1940 $as_echo "$CC" >&6; }
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1943 $as_echo "no" >&6; }
1948 if test -z "$ac_cv_prog_CC"; then
1950 # Extract the first word of "gcc", so it can be a program name with args.
1951 set dummy gcc
; ac_word
=$2
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1953 $as_echo_n "checking for $ac_word... " >&6; }
1954 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
1955 $as_echo_n "(cached) " >&6
1957 if test -n "$ac_ct_CC"; then
1958 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1964 test -z "$as_dir" && as_dir
=.
1965 for ac_exec_ext
in '' $ac_executable_extensions; do
1966 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1967 ac_cv_prog_ac_ct_CC
="gcc"
1968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1977 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1978 if test -n "$ac_ct_CC"; then
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1980 $as_echo "$ac_ct_CC" >&6; }
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1983 $as_echo "no" >&6; }
1986 if test "x$ac_ct_CC" = x
; then
1989 case $cross_compiling:$ac_tool_warned in
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1993 ac_tool_warned
=yes ;;
2001 if test -z "$CC"; then
2002 if test -n "$ac_tool_prefix"; then
2003 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2004 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2006 $as_echo_n "checking for $ac_word... " >&6; }
2007 if ${ac_cv_prog_CC+:} false
; then :
2008 $as_echo_n "(cached) " >&6
2010 if test -n "$CC"; then
2011 ac_cv_prog_CC
="$CC" # Let the user override the test.
2013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2017 test -z "$as_dir" && as_dir
=.
2018 for ac_exec_ext
in '' $ac_executable_extensions; do
2019 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2020 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2031 if test -n "$CC"; then
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2033 $as_echo "$CC" >&6; }
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2036 $as_echo "no" >&6; }
2042 if test -z "$CC"; then
2043 # Extract the first word of "cc", so it can be a program name with args.
2044 set dummy cc
; ac_word
=$2
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2046 $as_echo_n "checking for $ac_word... " >&6; }
2047 if ${ac_cv_prog_CC+:} false
; then :
2048 $as_echo_n "(cached) " >&6
2050 if test -n "$CC"; then
2051 ac_cv_prog_CC
="$CC" # Let the user override the test.
2054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2058 test -z "$as_dir" && as_dir
=.
2059 for ac_exec_ext
in '' $ac_executable_extensions; do
2060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2061 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2062 ac_prog_rejected
=yes
2066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2073 if test $ac_prog_rejected = yes; then
2074 # We found a bogon in the path, so make sure we never use it.
2075 set dummy
$ac_cv_prog_CC
2077 if test $# != 0; then
2078 # We chose a different compiler from the bogus one.
2079 # However, it has the same basename, so the bogon will be chosen
2080 # first if we set CC to just the basename; use the full file name.
2082 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2088 if test -n "$CC"; then
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2090 $as_echo "$CC" >&6; }
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2093 $as_echo "no" >&6; }
2098 if test -z "$CC"; then
2099 if test -n "$ac_tool_prefix"; then
2100 for ac_prog
in cl.exe
2102 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2103 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2105 $as_echo_n "checking for $ac_word... " >&6; }
2106 if ${ac_cv_prog_CC+:} false
; then :
2107 $as_echo_n "(cached) " >&6
2109 if test -n "$CC"; then
2110 ac_cv_prog_CC
="$CC" # Let the user override the test.
2112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2116 test -z "$as_dir" && as_dir
=.
2117 for ac_exec_ext
in '' $ac_executable_extensions; do
2118 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2119 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2130 if test -n "$CC"; then
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2132 $as_echo "$CC" >&6; }
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2135 $as_echo "no" >&6; }
2139 test -n "$CC" && break
2142 if test -z "$CC"; then
2144 for ac_prog
in cl.exe
2146 # Extract the first word of "$ac_prog", so it can be a program name with args.
2147 set dummy
$ac_prog; ac_word
=$2
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2149 $as_echo_n "checking for $ac_word... " >&6; }
2150 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2151 $as_echo_n "(cached) " >&6
2153 if test -n "$ac_ct_CC"; then
2154 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2160 test -z "$as_dir" && as_dir
=.
2161 for ac_exec_ext
in '' $ac_executable_extensions; do
2162 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2163 ac_cv_prog_ac_ct_CC
="$ac_prog"
2164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2173 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2174 if test -n "$ac_ct_CC"; then
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2176 $as_echo "$ac_ct_CC" >&6; }
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2179 $as_echo "no" >&6; }
2183 test -n "$ac_ct_CC" && break
2186 if test "x$ac_ct_CC" = x
; then
2189 case $cross_compiling:$ac_tool_warned in
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2193 ac_tool_warned
=yes ;;
2202 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2204 as_fn_error $?
"no acceptable C compiler found in \$PATH
2205 See \`config.log' for more details" "$LINENO" 5; }
2207 # Provide some information about the compiler.
2208 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2211 for ac_option
in --version -v -V -qversion; do
2212 { { ac_try
="$ac_compiler $ac_option >&5"
2214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2215 *) ac_try_echo=$ac_try;;
2217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2218 $as_echo "$ac_try_echo"; } >&5
2219 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2221 if test -s conftest.err; then
2223 ... rest of stderr output deleted ...
2224 10q' conftest.err >conftest.er1
2225 cat conftest.er1 >&5
2227 rm -f conftest.er1 conftest.err
2228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2229 test $ac_status = 0; }
2232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233 /* end confdefs.h. */
2243 ac_clean_files_save=$ac_clean_files
2244 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2245 # Try to create an executable without -o first, disregard a.out.
2246 # It will help us diagnose broken compilers, and finding out an intuition
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2249 $as_echo_n "checking whether the C compiler works... " >&6; }
2250 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2252 # The possible output files:
2253 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2256 for ac_file in $ac_files
2259 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2260 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2265 if { { ac_try="$ac_link_default"
2267 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2268 *) ac_try_echo
=$ac_try;;
2270 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2271 $as_echo "$ac_try_echo"; } >&5
2272 (eval "$ac_link_default") 2>&5
2274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2275 test $ac_status = 0; }; then :
2276 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2277 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2278 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2279 # so that the user can short-circuit this test for compilers unknown to
2281 for ac_file
in $ac_files ''
2283 test -f "$ac_file" ||
continue
2285 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2288 # We found the default executable, but exeext='' is most
2292 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2294 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2296 # We set ac_cv_exeext here because the later test for it is not
2297 # safe: cross compilers may not add the suffix if given an `-o'
2298 # argument, so we may need to know it at that point already.
2299 # Even if this section looks crufty: it has the advantage of
2306 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2311 if test -z "$ac_file"; then :
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2313 $as_echo "no" >&6; }
2314 $as_echo "$as_me: failed program was:" >&5
2315 sed 's/^/| /' conftest.
$ac_ext >&5
2317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2319 as_fn_error
77 "C compiler cannot create executables
2320 See \`config.log' for more details" "$LINENO" 5; }
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2323 $as_echo "yes" >&6; }
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2326 $as_echo_n "checking for C compiler default output file name... " >&6; }
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2328 $as_echo "$ac_file" >&6; }
2329 ac_exeext
=$ac_cv_exeext
2331 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2332 ac_clean_files
=$ac_clean_files_save
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2334 $as_echo_n "checking for suffix of executables... " >&6; }
2335 if { { ac_try
="$ac_link"
2337 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2338 *) ac_try_echo=$ac_try;;
2340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2341 $as_echo "$ac_try_echo"; } >&5
2342 (eval "$ac_link") 2>&5
2344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2345 test $ac_status = 0; }; then :
2346 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2347 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2348 # work properly (i.e., refer to `conftest.exe'), while it won't with
2350 for ac_file
in conftest.exe conftest conftest.
*; do
2351 test -f "$ac_file" ||
continue
2353 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2354 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2362 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2363 See \`config.log' for more details" "$LINENO" 5; }
2365 rm -f conftest conftest
$ac_cv_exeext
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2367 $as_echo "$ac_cv_exeext" >&6; }
2369 rm -f conftest.
$ac_ext
2370 EXEEXT
=$ac_cv_exeext
2372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2373 /* end confdefs.h. */
2378 FILE *f = fopen ("conftest.out", "w");
2379 return ferror (f) || fclose (f) != 0;
2385 ac_clean_files
="$ac_clean_files conftest.out"
2386 # Check that the compiler produces executables we can run. If not, either
2387 # the compiler is broken, or we cross compile.
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2389 $as_echo_n "checking whether we are cross compiling... " >&6; }
2390 if test "$cross_compiling" != yes; then
2391 { { ac_try
="$ac_link"
2393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2394 *) ac_try_echo=$ac_try;;
2396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2397 $as_echo "$ac_try_echo"; } >&5
2398 (eval "$ac_link") 2>&5
2400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2401 test $ac_status = 0; }
2402 if { ac_try='./conftest$ac_cv_exeext'
2403 { { case "(($ac_try" in
2404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2405 *) ac_try_echo
=$ac_try;;
2407 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2408 $as_echo "$ac_try_echo"; } >&5
2409 (eval "$ac_try") 2>&5
2411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2412 test $ac_status = 0; }; }; then
2415 if test "$cross_compiling" = maybe
; then
2418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2420 as_fn_error $?
"cannot run C compiled programs.
2421 If you meant to cross compile, use \`--host'.
2422 See \`config.log' for more details" "$LINENO" 5; }
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2427 $as_echo "$cross_compiling" >&6; }
2429 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2430 ac_clean_files
=$ac_clean_files_save
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2432 $as_echo_n "checking for suffix of object files... " >&6; }
2433 if ${ac_cv_objext+:} false
; then :
2434 $as_echo_n "(cached) " >&6
2436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2437 /* end confdefs.h. */
2447 rm -f conftest.o conftest.obj
2448 if { { ac_try
="$ac_compile"
2450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2451 *) ac_try_echo=$ac_try;;
2453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2454 $as_echo "$ac_try_echo"; } >&5
2455 (eval "$ac_compile") 2>&5
2457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2458 test $ac_status = 0; }; then :
2459 for ac_file in conftest.o conftest.obj conftest.*; do
2460 test -f "$ac_file" || continue;
2462 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2463 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2468 $as_echo "$as_me: failed program was:" >&5
2469 sed 's/^/| /' conftest.$ac_ext >&5
2471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2473 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2474 See \
`config.log' for more details" "$LINENO" 5; }
2476 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2479 $as_echo "$ac_cv_objext" >&6; }
2480 OBJEXT=$ac_cv_objext
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2483 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2484 if ${ac_cv_c_compiler_gnu+:} false; then :
2485 $as_echo_n "(cached) " >&6
2487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2488 /* end confdefs.h. */
2501 if ac_fn_c_try_compile "$LINENO"; then :
2506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2511 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2512 if test $ac_compiler_gnu = yes; then
2517 ac_test_CFLAGS=${CFLAGS+set}
2518 ac_save_CFLAGS=$CFLAGS
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2520 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2521 if ${ac_cv_prog_cc_g+:} false; then :
2522 $as_echo_n "(cached) " >&6
2524 ac_save_c_werror_flag=$ac_c_werror_flag
2525 ac_c_werror_flag=yes
2528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2529 /* end confdefs.h. */
2539 if ac_fn_c_try_compile "$LINENO"; then :
2543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2544 /* end confdefs.h. */
2554 if ac_fn_c_try_compile "$LINENO"; then :
2557 ac_c_werror_flag=$ac_save_c_werror_flag
2559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2560 /* end confdefs.h. */
2570 if ac_fn_c_try_compile "$LINENO"; then :
2573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2578 ac_c_werror_flag=$ac_save_c_werror_flag
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2581 $as_echo "$ac_cv_prog_cc_g" >&6; }
2582 if test "$ac_test_CFLAGS" = set; then
2583 CFLAGS=$ac_save_CFLAGS
2584 elif test $ac_cv_prog_cc_g = yes; then
2585 if test "$GCC" = yes; then
2591 if test "$GCC" = yes; then
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2598 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2599 if ${ac_cv_prog_cc_c89+:} false; then :
2600 $as_echo_n "(cached) " >&6
2602 ac_cv_prog_cc_c89=no
2604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2605 /* end confdefs.h. */
2609 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2610 struct buf { int x; };
2611 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2612 static char *e (p, i)
2618 static char *f (char * (*g) (char **, int), char **p, ...)
2623 s = g (p, va_arg (v,int));
2628 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2629 function prototypes and stuff, but not '\xHH' hex character constants.
2630 These don't provoke an error unfortunately, instead are silently treated
2631 as 'x'. The following induces an error, until -std is added to get
2632 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2633 array size at least. It's necessary to write '\x00'==0 to get something
2634 that's true only with -std. */
2635 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2637 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2638 inside strings and character constants. */
2640 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2642 int test (int i, double x);
2643 struct s1 {int (*f) (int a);};
2644 struct s2 {int (*f) (double a);};
2645 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2651 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2656 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2657 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2659 CC="$ac_save_CC $ac_arg"
2660 if ac_fn_c_try_compile "$LINENO"; then :
2661 ac_cv_prog_cc_c89=$ac_arg
2663 rm -f core conftest.err conftest.$ac_objext
2664 test "x$ac_cv_prog_cc_c89" != "xno" && break
2666 rm -f conftest.$ac_ext
2671 case "x$ac_cv_prog_cc_c89" in
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2674 $as_echo "none needed" >&6; } ;;
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2677 $as_echo "unsupported" >&6; } ;;
2679 CC="$CC $ac_cv_prog_cc_c89"
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2681 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2683 if test "x$ac_cv_prog_cc_c89" != xno; then :
2688 ac_cpp='$CPP $CPPFLAGS'
2689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2695 $as_echo_n "checking target config location... " >&6; }
2697 # Check whether --with-config-dir was given.
2698 if test "${with_config_dir+set}" = set; then :
2699 withval=$with_config_dir; targetcfg_dir="$withval"
2704 if test "$targetcfg_dir" = ""; then
2705 as_fn_error $? "missing config directory!" "$LINENO" 5
2707 aros_targetcfg_dir="$targetcfg_dir"
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2710 $as_echo "$aros_targetcfg_dir" >&6; }
2712 #-----------------------------------------------------------------------------
2714 # Check if the target compiler supports some features:
2717 # -fno-builtin-floor
2721 # -floop-interchange
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpermissive" >&5
2728 $as_echo_n "checking whether ${CC} accepts -fpermissive... " >&6; }
2731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2732 /* end confdefs.h. */
2742 if ac_fn_c_try_compile "$LINENO"; then :
2743 aros_permissive="yes"
2745 aros_permissive="no"
2747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
2749 $as_echo "$aros_permissive" >&6; }
2750 if test "x-$aros_permissive" = "x-yes" ; then
2751 aros_cflags_permissive=-fpermissive
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2755 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2758 /* end confdefs.h. */
2768 if ac_fn_c_try_compile "$LINENO"; then :
2769 aros_fast_math="yes"
2773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2775 $as_echo "$aros_fast_math" >&6; }
2776 if test "x-$aros_fast_math" = "x-yes" ; then
2777 aros_cflags_fast_math=-ffast-math
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
2781 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
2782 CFLAGS=-fno-builtin-floor
2783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2784 /* end confdefs.h. */
2794 if ac_fn_c_try_compile "$LINENO"; then :
2795 aros_no_builtin_floor="yes"
2797 aros_no_builtin_floor="no"
2799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
2801 $as_echo "$aros_no_builtin_floor" >&6; }
2802 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
2803 aros_cflags_no_builtin_floor=-fno-builtin-floor
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2807 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2810 /* end confdefs.h. */
2820 if ac_fn_c_try_compile "$LINENO"; then :
2825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2827 $as_echo "$aros_lto" >&6; }
2828 if test "x-$aros_lto" = "x-yes" ; then
2829 aros_cflags_lto=-flto
2830 aros_cflags_nolto=-fno-lto
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2833 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2834 CFLAGS=-fwhole-program
2835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2836 /* end confdefs.h. */
2846 if ac_fn_c_try_compile "$LINENO"; then :
2847 aros_whole_program="yes"
2849 aros_whole_program="no"
2851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2853 $as_echo "$aros_whole_program" >&6; }
2854 if test "x-$aros_whole_program" = "x-yes" ; then
2855 aros_cflags_whole_program=-fwhole-program
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2859 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2862 /* end confdefs.h. */
2872 if ac_fn_c_try_compile "$LINENO"; then :
2873 aros_loop_block="yes"
2875 aros_loop_block="no"
2877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2879 $as_echo "$aros_loop_block" >&6; }
2880 if test "x-$aros_loop_block" = "x-yes" ; then
2881 aros_cflags_loop_block=-floop-block
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2885 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2886 CFLAGS=-floop-interchange
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2898 if ac_fn_c_try_compile "$LINENO"; then :
2899 aros_loop_interchange="yes"
2901 aros_loop_interchange="no"
2903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2905 $as_echo "$aros_loop_interchange" >&6; }
2906 if test "x-$aros_loop_interchange" = "x-yes" ; then
2907 aros_cflags_loop_interchange=-floop-interchange
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2911 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2912 CFLAGS=-floop-strip-mine
2913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2914 /* end confdefs.h. */
2924 if ac_fn_c_try_compile "$LINENO"; then :
2925 aros_loop_strip_mine="yes"
2927 aros_loop_strip_mine="no"
2929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2931 $as_echo "$aros_loop_strip_mine" >&6; }
2932 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2933 aros_cflags_loop_strip_mine=-floop-strip-mine
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
2938 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
2940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2941 /* end confdefs.h. */
2951 if ac_fn_c_try_compile "$LINENO"; then :
2952 aros_peel_loops="yes"
2954 aros_peel_loops="no"
2956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
2958 $as_echo "$aros_peel_loops" >&6; }
2959 if test "x-$aros_peel_loops" = "x-yes" ; then
2960 aros_cflags_peel_loops=-fpeel-loops
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
2964 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
2965 CFLAGS=-funroll-loops
2966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2967 /* end confdefs.h. */
2977 if ac_fn_c_try_compile "$LINENO"; then :
2978 aros_unroll_loops="yes"
2980 aros_unroll_loops="no"
2982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
2984 $as_echo "$aros_unroll_loops" >&6; }
2985 if test "x-$aros_unroll_loops" = "x-yes" ; then
2986 aros_cflags_unroll_loops=-funroll-loops
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
2990 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
2991 CFLAGS=-fstrict-aliasing
2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2993 /* end confdefs.h. */
3003 if ac_fn_c_try_compile "$LINENO"; then :
3004 aros_strict_aliasing="yes"
3006 aros_strict_aliasing="no"
3008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3010 $as_echo "$aros_strict_aliasing" >&6; }
3011 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3012 aros_cflags_strictaliasing=-fstrict-aliasing
3013 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3017 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h. */
3030 if ac_fn_c_try_compile "$LINENO"; then :
3035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3037 $as_echo "$has_iquote" >&6; }
3038 if test "x-$has_iquote" = "x-yes" ; then
3039 aros_cflags_iquote=-iquote
3040 aros_cflags_iquote_end=
3042 aros_cflags_iquote=-I
3043 aros_cflags_iquote_end=-I-
3046 #-----------------------------------------------------------------------------
3048 # Check if the target compiler supports some options:
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mno-red-zone" >&5
3052 $as_echo_n "checking whether ${CC} accepts -mno-red-zone... " >&6; }
3053 CFLAGS=-mno-red-zone
3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3065 if ac_fn_c_try_compile "$LINENO"; then :
3066 aros_no_red_zone="yes"
3068 aros_no_red_zone="no"
3070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3072 $as_echo "$aros_no_red_zone" >&6; }
3073 if test "x-$aros_no_red_zone" = "x-yes" ; then
3074 aros_cflags_no_red_zone=-mno-red-zone
3077 #-----------------------------------------------------------------------------
3079 # Check if the target compiler supports some options used for de-linting:
3081 # -Wunused-command-line-argument
3082 # -Wunknown-warning-option
3083 # -Wunused-but-set-variable
3087 # -Wstrict-prototypes
3090 # -Wmisleading-indentation
3096 # -Wunused-parameter
3098 # -Wmaybe-uninitialized
3099 # -Wimplicit-function-declaration
3104 # -Wformat-contains-nul
3106 # -Waggressive-loop-optimizations
3109 # -Wdiscarded-qualifiers
3112 # -Wdiscarded-array-qualifiers
3114 # -Wint-to-pointer-cast
3115 # -Wpointer-to-int-cast
3116 # -Wunused-const-variable
3119 # -Wincompatible-pointer-types
3121 # -Wlogical-not-parentheses
3125 # -Wdeprecated-declarations
3129 # -Wunused-local-typedefs
3133 # -Wvolatile-register-var
3134 # -Wsizeof-pointer-memaccess
3136 # -Wformat-zero-length
3137 # -Wlto-type-mismatch
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
3140 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
3142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h. */
3153 if ac_fn_c_try_compile "$LINENO"; then :
3158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
3160 $as_echo "$aros_error" >&6; }
3161 if test "x-$aros_error" = "x-yes" ; then
3162 aros_warnflags_error=-Werror
3163 aros_nowarnflags_error=-Wno-error
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3167 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3168 CFLAGS=-Wunused-command-line-argument
3169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3170 /* end confdefs.h. */
3180 if ac_fn_c_try_compile "$LINENO"; then :
3181 aros_unused_command_line_argument="yes"
3183 aros_unused_command_line_argument="no"
3185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3187 $as_echo "$aros_unused_command_line_argument" >&6; }
3188 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3189 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3190 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3194 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3195 CFLAGS=-Wunknown-warning-option
3196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3197 /* end confdefs.h. */
3207 if ac_fn_c_try_compile "$LINENO"; then :
3208 aros_unknown_warning_option="yes"
3210 aros_unknown_warning_option="no"
3212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3214 $as_echo "$aros_unknown_warning_option" >&6; }
3215 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3216 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3217 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3221 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3222 CFLAGS=-Wunused-but-set-variable
3223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3224 /* end confdefs.h. */
3234 if ac_fn_c_try_compile "$LINENO"; then :
3235 aros_unused_but_set_variable="yes"
3237 aros_unused_but_set_variable="no"
3239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3241 $as_echo "$aros_unused_but_set_variable" >&6; }
3242 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3243 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3244 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3248 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3249 CFLAGS=-Wstrict-aliasing
3250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3251 /* end confdefs.h. */
3261 if ac_fn_c_try_compile "$LINENO"; then :
3262 aros_strict_aliasing="yes"
3264 aros_strict_aliasing="no"
3266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3268 $as_echo "$aros_strict_aliasing" >&6; }
3269 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3270 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3271 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3275 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3276 CFLAGS=-Warray-bounds
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3288 if ac_fn_c_try_compile "$LINENO"; then :
3289 aros_array_bounds="yes"
3291 aros_array_bounds="no"
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3295 $as_echo "$aros_array_bounds" >&6; }
3296 if test "x-$aros_array_bounds" = "x-yes" ; then
3297 aros_warnflags_array_bounds=-Warray-bounds
3298 aros_nowarnflags_array_bounds=-Wno-array-bounds
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3302 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3303 CFLAGS=-Wenum-compare
3304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3305 /* end confdefs.h. */
3315 if ac_fn_c_try_compile "$LINENO"; then :
3316 aros_enum_compare="yes"
3318 aros_enum_compare="no"
3320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3322 $as_echo "$aros_enum_compare" >&6; }
3323 if test "x-$aros_enum_compare" = "x-yes" ; then
3324 aros_warnflags_enum_compare=-Wenum-compare
3325 aros_nowarnflags_enum_compare=-Wno-enum-compare
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3329 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3330 CFLAGS=-Wstrict-prototypes
3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3332 /* end confdefs.h. */
3342 if ac_fn_c_try_compile "$LINENO"; then :
3343 aros_strict_prototypes="yes"
3345 aros_strict_prototypes="no"
3347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3349 $as_echo "$aros_strict_prototypes" >&6; }
3350 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3351 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3352 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3356 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3357 CFLAGS=-Wstrict-overflow
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3369 if ac_fn_c_try_compile "$LINENO"; then :
3370 aros_strict_overflow="yes"
3372 aros_strict_overflow="no"
3374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3376 $as_echo "$aros_strict_overflow" >&6; }
3377 if test "x-$aros_strict_overflow" = "x-yes" ; then
3378 aros_warnflags_strict_overflow=-Wstrict-overflow
3379 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3383 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3384 CFLAGS=-Wformat-security
3385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3386 /* end confdefs.h. */
3396 if ac_fn_c_try_compile "$LINENO"; then :
3397 aros_format_security="yes"
3399 aros_format_security="no"
3401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3403 $as_echo "$aros_format_security" >&6; }
3404 if test "x-$aros_format_security" = "x-yes" ; then
3405 aros_warnflags_format_security=-Wformat-security
3406 aros_nowarnflags_format_security=-Wno-format-security
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3410 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3411 CFLAGS=-Wmisleading-indentation
3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h. */
3423 if ac_fn_c_try_compile "$LINENO"; then :
3424 aros_misleading_indentation="yes"
3426 aros_misleading_indentation="no"
3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3430 $as_echo "$aros_misleading_indentation" >&6; }
3431 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3432 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3433 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3437 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3438 CFLAGS=-Wnonnull-compare
3439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3440 /* end confdefs.h. */
3450 if ac_fn_c_try_compile "$LINENO"; then :
3451 aros_nonnull_compare="yes"
3453 aros_nonnull_compare="no"
3455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3457 $as_echo "$aros_nonnull_compare" >&6; }
3458 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3459 aros_warnflags_nonnull_compare=-Wnonnull-compare
3460 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3464 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3467 /* end confdefs.h. */
3477 if ac_fn_c_try_compile "$LINENO"; then :
3482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3484 $as_echo "$aros_unused" >&6; }
3485 if test "x-$aros_unused" = "x-yes" ; then
3486 aros_warnflags_unused=-Wunused
3487 aros_nowarnflags_unused=-Wno-unused
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3491 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3492 CFLAGS=-Wunused-value
3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3494 /* end confdefs.h. */
3504 if ac_fn_c_try_compile "$LINENO"; then :
3505 aros_unused_value="yes"
3507 aros_unused_value="no"
3509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3511 $as_echo "$aros_unused_value" >&6; }
3512 if test "x-$aros_unused_value" = "x-yes" ; then
3513 aros_warnflags_unused_value=-Wunused-value
3514 aros_nowarnflags_unused_value=-Wno-unused-value
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3518 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3519 CFLAGS=-Wunused-variable
3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3531 if ac_fn_c_try_compile "$LINENO"; then :
3532 aros_unused_variable="yes"
3534 aros_unused_variable="no"
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3538 $as_echo "$aros_unused_variable" >&6; }
3539 if test "x-$aros_unused_variable" = "x-yes" ; then
3540 aros_warnflags_unused_variable=-Wunused-variable
3541 aros_nowarnflags_unused_variable=-Wno-unused-variable
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3545 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3546 CFLAGS=-Wunused-function
3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3548 /* end confdefs.h. */
3558 if ac_fn_c_try_compile "$LINENO"; then :
3559 aros_unused_function="yes"
3561 aros_unused_function="no"
3563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3565 $as_echo "$aros_unused_function" >&6; }
3566 if test "x-$aros_unused_function" = "x-yes" ; then
3567 aros_warnflags_unused_function=-Wunused-function
3568 aros_nowarnflags_unused_function=-Wno-unused-function
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3572 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3573 CFLAGS=-Wunused-parameter
3574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3575 /* end confdefs.h. */
3585 if ac_fn_c_try_compile "$LINENO"; then :
3586 aros_unused_parameter="yes"
3588 aros_unused_parameter="no"
3590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3592 $as_echo "$aros_unused_parameter" >&6; }
3593 if test "x-$aros_unused_parameter" = "x-yes" ; then
3594 aros_warnflags_unused_parameter=-Wunused-parameter
3595 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3599 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3600 CFLAGS=-Wuninitialized
3601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3602 /* end confdefs.h. */
3612 if ac_fn_c_try_compile "$LINENO"; then :
3613 aros_uninitialized="yes"
3615 aros_uninitialized="no"
3617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3619 $as_echo "$aros_uninitialized" >&6; }
3620 if test "x-$aros_uninitialized" = "x-yes" ; then
3621 aros_warnflags_uninitialized=-Wuninitialized
3622 aros_nowarnflags_uninitialized=-Wno-uninitialized
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3626 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3627 CFLAGS=-Wmaybe-uninitialized
3628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629 /* end confdefs.h. */
3639 if ac_fn_c_try_compile "$LINENO"; then :
3640 aros_maybe_uninitialized="yes"
3642 aros_maybe_uninitialized="no"
3644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3646 $as_echo "$aros_maybe_uninitialized" >&6; }
3647 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3648 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
3649 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
3651 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
3652 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3656 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3657 CFLAGS=-Wimplicit-function-declaration
3658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3659 /* end confdefs.h. */
3669 if ac_fn_c_try_compile "$LINENO"; then :
3670 aros_implicit_function_declaration="yes"
3672 aros_implicit_function_declaration="no"
3674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3676 $as_echo "$aros_implicit_function_declaration" >&6; }
3677 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3678 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
3679 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3683 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3696 if ac_fn_c_try_compile "$LINENO"; then :
3701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3703 $as_echo "$aros_format" >&6; }
3704 if test "x-$aros_format" = "x-yes" ; then
3705 aros_warnflags_format=-Wformat
3706 aros_nowarnflags_format=-Wno-format
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3710 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3711 CFLAGS=-Wparentheses
3712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3713 /* end confdefs.h. */
3723 if ac_fn_c_try_compile "$LINENO"; then :
3724 aros_parentheses="yes"
3726 aros_parentheses="no"
3728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3730 $as_echo "$aros_parentheses" >&6; }
3731 if test "x-$aros_parentheses" = "x-yes" ; then
3732 aros_warnflags_parentheses=-Wparentheses
3733 aros_nowarnflags_parentheses=-Wno-parentheses
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3737 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3738 CFLAGS=-Wchar-subscripts
3739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3740 /* end confdefs.h. */
3750 if ac_fn_c_try_compile "$LINENO"; then :
3751 aros_char_subscripts="yes"
3753 aros_char_subscripts="no"
3755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3757 $as_echo "$aros_char_subscripts" >&6; }
3758 if test "x-$aros_char_subscripts" = "x-yes" ; then
3759 aros_warnflags_char_subscripts=-Wchar-subscripts
3760 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3764 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3765 CFLAGS=-Wendif-labels
3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h. */
3777 if ac_fn_c_try_compile "$LINENO"; then :
3778 aros_endif_labels="yes"
3780 aros_endif_labels="no"
3782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3784 $as_echo "$aros_endif_labels" >&6; }
3785 if test "x-$aros_endif_labels" = "x-yes" ; then
3786 aros_warnflags_endif_labels=-Wendif-labels
3787 aros_nowarnflags_endif_labels=-Wno-endif-labels
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3791 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3792 CFLAGS=-Wformat-contains-nul
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3804 if ac_fn_c_try_compile "$LINENO"; then :
3805 aros_format_contains_nul="yes"
3807 aros_format_contains_nul="no"
3809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3811 $as_echo "$aros_format_contains_nul" >&6; }
3812 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3813 aros_warnflags_format_contains_nul=-Wformat-contains-nul
3814 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3818 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3819 CFLAGS=-Wimplicit-int
3820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3821 /* end confdefs.h. */
3831 if ac_fn_c_try_compile "$LINENO"; then :
3832 aros_implicit_int="yes"
3834 aros_implicit_int="no"
3836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3838 $as_echo "$aros_implicit_int" >&6; }
3839 if test "x-$aros_implicit_int" = "x-yes" ; then
3840 aros_warnflags_implicit_int=-Wimplicit-int
3841 aros_nowarnflags_implicit_int=-Wno-implicit-int
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3845 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3846 CFLAGS=-Waggressive-loop-optimizations
3847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3848 /* end confdefs.h. */
3858 if ac_fn_c_try_compile "$LINENO"; then :
3859 aros_aggressive_loop_optimizations="yes"
3861 aros_aggressive_loop_optimizations="no"
3863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3865 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3866 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3867 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
3868 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3872 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3875 /* end confdefs.h. */
3885 if ac_fn_c_try_compile "$LINENO"; then :
3890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3892 $as_echo "$aros_cpp" >&6; }
3893 if test "x-$aros_cpp" = "x-yes" ; then
3894 aros_warnflags_cpp=-Wcpp
3895 aros_nowarnflags_cpp=-Wno-cpp
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3899 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h. */
3912 if ac_fn_c_try_compile "$LINENO"; then :
3917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3919 $as_echo "$aros_switch" >&6; }
3920 if test "x-$aros_switch" = "x-yes" ; then
3921 aros_warnflags_switch=-Wswitch
3922 aros_nowarnflags_switch=-Wno-switch
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3926 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3927 CFLAGS=-Wdiscarded-qualifiers
3928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3929 /* end confdefs.h. */
3939 if ac_fn_c_try_compile "$LINENO"; then :
3940 aros_discarded_qualifiers="yes"
3942 aros_discarded_qualifiers="no"
3944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3946 $as_echo "$aros_discarded_qualifiers" >&6; }
3947 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3948 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
3949 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3953 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3954 CFLAGS=-Wsequence-point
3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h. */
3966 if ac_fn_c_try_compile "$LINENO"; then :
3967 aros_sequence_point="yes"
3969 aros_sequence_point="no"
3971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3973 $as_echo "$aros_sequence_point" >&6; }
3974 if test "x-$aros_sequence_point" = "x-yes" ; then
3975 aros_warnflags_sequence_point=-Wsequence-point
3976 aros_nowarnflags_sequence_point=-Wno-sequence-point
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3980 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3981 CFLAGS=-Wunknown-pragmas
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3993 if ac_fn_c_try_compile "$LINENO"; then :
3994 aros_unknown_pragmas="yes"
3996 aros_unknown_pragmas="no"
3998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
4000 $as_echo "$aros_unknown_pragmas" >&6; }
4001 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
4002 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
4003 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
4007 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
4008 CFLAGS=-Wdiscarded-array-qualifiers
4009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4010 /* end confdefs.h. */
4020 if ac_fn_c_try_compile "$LINENO"; then :
4021 aros_discarded_array_qualifiers="yes"
4023 aros_discarded_array_qualifiers="no"
4025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
4027 $as_echo "$aros_discarded_array_qualifiers" >&6; }
4028 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
4029 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
4030 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4034 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4035 CFLAGS=-Wint-conversion
4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4047 if ac_fn_c_try_compile "$LINENO"; then :
4048 aros_int_conversion="yes"
4050 aros_int_conversion="no"
4052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4054 $as_echo "$aros_int_conversion" >&6; }
4055 if test "x-$aros_int_conversion" = "x-yes" ; then
4056 aros_warnflags_int_conversion=-Wint-conversion
4057 aros_nowarnflags_int_conversion=-Wno-int-conversion
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
4061 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
4062 CFLAGS=-Wint-to-pointer-cast
4063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4064 /* end confdefs.h. */
4074 if ac_fn_c_try_compile "$LINENO"; then :
4075 aros_int_to_pointer_cast="yes"
4077 aros_int_to_pointer_cast="no"
4079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
4081 $as_echo "$aros_int_to_pointer_cast" >&6; }
4082 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
4083 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
4084 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
4088 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
4089 CFLAGS=-Wpointer-to-int-cast
4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4101 if ac_fn_c_try_compile "$LINENO"; then :
4102 aros_pointer_to_int_cast="yes"
4104 aros_pointer_to_int_cast="no"
4106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
4108 $as_echo "$aros_pointer_to_int_cast" >&6; }
4109 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
4110 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
4111 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
4115 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
4116 CFLAGS=-Wunused-const-variable
4117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4128 if ac_fn_c_try_compile "$LINENO"; then :
4129 aros_unused_const_variable="yes"
4131 aros_unused_const_variable="no"
4133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
4135 $as_echo "$aros_unused_const_variable" >&6; }
4136 if test "x-$aros_unused_const_variable" = "x-yes" ; then
4137 aros_warnflags_unused_const_variable=-Wunused-const-variable
4138 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
4142 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
4143 CFLAGS=-Wwrite-strings
4144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h. */
4155 if ac_fn_c_try_compile "$LINENO"; then :
4156 aros_write_strings="yes"
4158 aros_write_strings="no"
4160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4162 $as_echo "$aros_write_strings" >&6; }
4163 if test "x-$aros_write_strings" = "x-yes" ; then
4164 aros_warnflags_write_strings=-Wwrite-strings
4165 aros_nowarnflags_write_strings=-Wno-write-strings
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4169 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4172 /* end confdefs.h. */
4182 if ac_fn_c_try_compile "$LINENO"; then :
4187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4189 $as_echo "$aros_comment" >&6; }
4190 if test "x-$aros_comment" = "x-yes" ; then
4191 aros_warnflags_comment=-Wcomment
4192 aros_nowarnflags_comment=-Wno-comment
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4196 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4197 CFLAGS=-Wincompatible-pointer-types
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4209 if ac_fn_c_try_compile "$LINENO"; then :
4210 aros_incompatible_pointer_types="yes"
4212 aros_incompatible_pointer_types="no"
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4216 $as_echo "$aros_incompatible_pointer_types" >&6; }
4217 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4218 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4219 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4223 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4224 CFLAGS=-Wbool-compare
4225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4226 /* end confdefs.h. */
4236 if ac_fn_c_try_compile "$LINENO"; then :
4237 aros_bool_compare="yes"
4239 aros_bool_compare="no"
4241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4243 $as_echo "$aros_bool_compare" >&6; }
4244 if test "x-$aros_bool_compare" = "x-yes" ; then
4245 aros_warnflags_bool_compare=-Wbool-compare
4246 aros_nowarnflags_bool_compare=-Wno-bool-compare
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4250 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4251 CFLAGS=-Wlogical-not-parentheses
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4263 if ac_fn_c_try_compile "$LINENO"; then :
4264 aros_logical_not_parentheses="yes"
4266 aros_logical_not_parentheses="no"
4268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4270 $as_echo "$aros_logical_not_parentheses" >&6; }
4271 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4272 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4273 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4277 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4278 CFLAGS=-Wpointer-sign
4279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4280 /* end confdefs.h. */
4290 if ac_fn_c_try_compile "$LINENO"; then :
4291 aros_pointer_sign="yes"
4293 aros_pointer_sign="no"
4295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4297 $as_echo "$aros_pointer_sign" >&6; }
4298 if test "x-$aros_pointer_sign" = "x-yes" ; then
4299 aros_warnflags_pointer_sign=-Wpointer-sign
4300 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4304 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4305 CFLAGS=-Wshift-overflow
4306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4307 /* end confdefs.h. */
4317 if ac_fn_c_try_compile "$LINENO"; then :
4318 aros_shift_overflow="yes"
4320 aros_shift_overflow="no"
4322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4324 $as_echo "$aros_shift_overflow" >&6; }
4325 if test "x-$aros_shift_overflow" = "x-yes" ; then
4326 aros_warnflags_shift_overflow=-Wshift-overflow
4327 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4331 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4332 CFLAGS=-Wframe-address
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4344 if ac_fn_c_try_compile "$LINENO"; then :
4345 aros_frame_address="yes"
4347 aros_frame_address="no"
4349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4351 $as_echo "$aros_frame_address" >&6; }
4352 if test "x-$aros_frame_address" = "x-yes" ; then
4353 aros_warnflags_frame_address=-Wframe-address
4354 aros_nowarnflags_frame_address=-Wno-frame-address
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4358 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4359 CFLAGS=-Wdeprecated-declarations
4360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h. */
4371 if ac_fn_c_try_compile "$LINENO"; then :
4372 aros_deprecated_declarations="yes"
4374 aros_deprecated_declarations="no"
4376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4378 $as_echo "$aros_deprecated_declarations" >&6; }
4379 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4380 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4381 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4385 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4386 CFLAGS=-Wsign-compare
4387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4388 /* end confdefs.h. */
4398 if ac_fn_c_try_compile "$LINENO"; then :
4399 aros_sign_compare="yes"
4401 aros_sign_compare="no"
4403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4405 $as_echo "$aros_sign_compare" >&6; }
4406 if test "x-$aros_sign_compare" = "x-yes" ; then
4407 aros_warnflags_sign_compare=-Wsign-compare
4408 aros_nowarnflags_sign_compare=-Wno-sign-compare
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4412 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4415 /* end confdefs.h. */
4425 if ac_fn_c_try_compile "$LINENO"; then :
4426 aros_attributes="yes"
4428 aros_attributes="no"
4430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4432 $as_echo "$aros_attributes" >&6; }
4433 if test "x-$aros_attributes" = "x-yes" ; then
4434 aros_warnflags_attributes=-Wattributes
4435 aros_nowarnflags_attributes=-Wno-attributes
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4439 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4442 /* end confdefs.h. */
4452 if ac_fn_c_try_compile "$LINENO"; then :
4457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4459 $as_echo "$aros_overflow" >&6; }
4460 if test "x-$aros_overflow" = "x-yes" ; then
4461 aros_warnflags_overflow=-Woverflow
4462 aros_nowarnflags_overflow=-Wno-overflow
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4466 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4467 CFLAGS=-Wunused-local-typedefs
4468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4469 /* end confdefs.h. */
4479 if ac_fn_c_try_compile "$LINENO"; then :
4480 aros_unused_local_typedefs="yes"
4482 aros_unused_local_typedefs="no"
4484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4486 $as_echo "$aros_unused_local_typedefs" >&6; }
4487 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4488 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4489 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4493 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4494 CFLAGS=-Wmissing-braces
4495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4496 /* end confdefs.h. */
4506 if ac_fn_c_try_compile "$LINENO"; then :
4507 aros_missing_braces="yes"
4509 aros_missing_braces="no"
4511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4513 $as_echo "$aros_missing_braces" >&6; }
4514 if test "x-$aros_missing_braces" = "x-yes" ; then
4515 aros_warnflags_missing_braces=-Wmissing-braces
4516 aros_nowarnflags_missing_braces=-Wno-missing-braces
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4520 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4521 CFLAGS=-Wconversion-null
4522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4533 if ac_fn_c_try_compile "$LINENO"; then :
4534 aros_conversion_null="yes"
4536 aros_conversion_null="no"
4538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4540 $as_echo "$aros_conversion_null" >&6; }
4541 if test "x-$aros_conversion_null" = "x-yes" ; then
4542 aros_warnflags_conversion_null=-Wconversion-null
4543 aros_nowarnflags_conversion_null=-Wno-conversion-null
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4547 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4560 if ac_fn_c_try_compile "$LINENO"; then :
4561 aros_narrowing="yes"
4565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4567 $as_echo "$aros_narrowing" >&6; }
4568 if test "x-$aros_narrowing" = "x-yes" ; then
4569 aros_warnflags_narrowing=-Wnarrowing
4570 aros_nowarnflags_narrowing=-Wno-narrowing
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4574 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4575 CFLAGS=-Wvolatile-register-var
4576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4587 if ac_fn_c_try_compile "$LINENO"; then :
4588 aros_volatile_register_var="yes"
4590 aros_volatile_register_var="no"
4592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4594 $as_echo "$aros_volatile_register_var" >&6; }
4595 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4596 aros_warnflags_volatile_register_var=-Wvolatile-register-var
4597 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4601 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4602 CFLAGS=-Wsizeof-pointer-memaccess
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4614 if ac_fn_c_try_compile "$LINENO"; then :
4615 aros_sizeof_pointer_memaccess="yes"
4617 aros_sizeof_pointer_memaccess="no"
4619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4621 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4622 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4623 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
4624 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4628 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4629 CFLAGS=-Wreturn-type
4630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h. */
4641 if ac_fn_c_try_compile "$LINENO"; then :
4642 aros_return_type="yes"
4644 aros_return_type="no"
4646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4648 $as_echo "$aros_return_type" >&6; }
4649 if test "x-$aros_return_type" = "x-yes" ; then
4650 aros_warnflags_return_type=-Wreturn-type
4651 aros_nowarnflags_return_type=-Wno-return-type
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
4655 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
4656 CFLAGS=-Wformat-zero-length
4657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4658 /* end confdefs.h. */
4668 if ac_fn_c_try_compile "$LINENO"; then :
4669 aros_format_zero_length="yes"
4671 aros_format_zero_length="no"
4673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
4675 $as_echo "$aros_format_zero_length" >&6; }
4676 if test "x-$aros_format_zero_length" = "x-yes" ; then
4677 aros_warnflags_format_zero_length=-Wformat-zero-length
4678 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
4682 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
4683 CFLAGS=-Wlto-type-mismatch
4684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4685 /* end confdefs.h. */
4695 if ac_fn_c_try_compile "$LINENO"; then :
4696 aros_lto_type_mismatch="yes"
4698 aros_lto_type_mismatch="no"
4700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
4702 $as_echo "$aros_lto_type_mismatch" >&6; }
4703 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
4704 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
4705 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
4709 # export the feature flags...
4730 # export the feature options...
4735 # ...and warning flags...
4854 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
4857 cat >confcache <<\_ACEOF
4858 # This file is a shell script that caches the results of configure
4859 # tests run on this system so they can be shared between configure
4860 # scripts and configure runs, see configure's option --config-cache.
4861 # It is not useful on other systems. If it contains results you don't
4862 # want to keep, you may remove or edit it.
4864 # config.status only pays attention to the cache file if you give it
4865 # the --recheck option to rerun configure.
4867 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
4868 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4873 # The following way of writing the cache mishandles newlines in values,
4874 # but we know of no workaround that is simple, portable, and efficient.
4875 # So, we kill variables containing newlines.
4876 # Ultrix sh set writes to stderr and can't be redirected directly,
4877 # and sets the high bit in the cache file unless we assign to the vars.
4879 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4880 eval ac_val
=\$
$ac_var
4884 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4885 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4888 _ | IFS | as_nl
) ;; #(
4889 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4890 *) { eval $ac_var=; unset $ac_var;} ;;
4896 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4897 *${as_nl}ac_space
=\
*)
4898 # `set' does not quote correctly, so add quotes: double-quote
4899 # substitution turns \\\\ into \\, and sed turns \\ into \.
4902 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4905 # `set' quotes correctly as required by POSIX, so do not add quotes.
4906 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4915 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4917 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4919 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4920 if test -w "$cache_file"; then
4921 if test "x$cache_file" != "x/dev/null"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4923 $as_echo "$as_me: updating cache $cache_file" >&6;}
4924 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4925 cat confcache
>"$cache_file"
4927 case $cache_file in #(
4929 mv -f confcache
"$cache_file"$$
&&
4930 mv -f "$cache_file"$$
"$cache_file" ;; #(
4932 mv -f confcache
"$cache_file" ;;
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4938 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4943 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4944 # Let make expand exec_prefix.
4945 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4947 # Transform confdefs.h into DEFS.
4948 # Protect against shell expansion while executing Makefile rules.
4949 # Protect against Makefile macro expansion.
4951 # If the first sed substitution is executed (which looks for macros that
4952 # take arguments), then branch to the quote section. Otherwise,
4953 # look for a macro that doesn't take arguments.
4963 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4965 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4969 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4982 DEFS
=`sed -n "$ac_script" confdefs.h`
4988 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4989 # 1. Remove the extension, and $U if already installed.
4990 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4991 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4992 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4993 # will be set to the directory where LIBOBJS objects are built.
4994 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4995 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4999 LTLIBOBJS
=$ac_ltlibobjs
5003 : "${CONFIG_STATUS=./config.status}"
5005 ac_clean_files_save
=$ac_clean_files
5006 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5008 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5010 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5012 # Generated by $as_me.
5013 # Run this file to recreate the current configuration.
5014 # Compiler output produced by configure, useful for debugging
5015 # configure, is in config.log if it exists.
5021 SHELL=\${CONFIG_SHELL-$SHELL}
5024 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5025 ## -------------------- ##
5026 ## M4sh Initialization. ##
5027 ## -------------------- ##
5029 # Be more Bourne compatible
5030 DUALCASE
=1; export DUALCASE
# for MKS sh
5031 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5034 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5035 # is contrary to our usage. Disable this feature.
5036 alias -g '${1+"$@"}'='"$@"'
5037 setopt NO_GLOB_SUBST
5039 case `(set -o) 2>/dev/null` in #(
5051 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5052 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5053 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5054 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5055 # Prefer a ksh shell builtin over an external printf program on Solaris,
5056 # but without wasting forks for bash or zsh.
5057 if test -z "$BASH_VERSION$ZSH_VERSION" \
5058 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5059 as_echo='print
-r --'
5060 as_echo_n='print
-rn --'
5061 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5062 as_echo='printf %s
\n'
5063 as_echo_n='printf %s
'
5065 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5066 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5067 as_echo_n='/usr
/ucb
/echo -n'
5069 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5070 as_echo_n_body='eval
5074 expr "X$arg" : "X\\(.*\\)$as_nl";
5075 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5077 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5079 export as_echo_n_body
5080 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5083 as_echo='sh
-c $as_echo_body as_echo
'
5086 # The user is always right.
5087 if test "${PATH_SEPARATOR+set}" != set; then
5089 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5090 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5097 # We need space, tab and new line, in precisely that order. Quoting is
5098 # there to prevent editors from complaining about space-tab.
5099 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5100 # splitting by setting IFS to empty value.)
5103 # Find who we are. Look in the path if we contain no directory separator.
5106 *[\\/]* ) as_myself=$0 ;;
5107 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5111 test -z "$as_dir" && as_dir=.
5112 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5118 # We did not find ourselves, most probably we were run as `sh COMMAND'
5119 # in which case we are not to be found in the path.
5120 if test "x$as_myself" = x
; then
5123 if test ! -f "$as_myself"; then
5124 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5128 # Unset variables that we do not need and which cause bugs (e.g. in
5129 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5130 # suppresses any "Segmentation fault" message there. '((' could
5131 # trigger a bug in pdksh 5.2.14.
5132 for as_var
in BASH_ENV ENV MAIL MAILPATH
5133 do eval test x\
${$as_var+set} = xset \
5134 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5147 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5150 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5151 # ----------------------------------------
5152 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5153 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5154 # script with STATUS, using 1 if that was 0.
5157 as_status
=$1; test $as_status -eq 0 && as_status
=1
5159 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5160 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5162 $as_echo "$as_me: error: $2" >&2
5163 as_fn_exit
$as_status
5167 # as_fn_set_status STATUS
5168 # -----------------------
5169 # Set $? to STATUS, without forking.
5173 } # as_fn_set_status
5177 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5187 # Portably unset VAR.
5190 { eval $1=; unset $1;}
5192 as_unset
=as_fn_unset
5193 # as_fn_append VAR VALUE
5194 # ----------------------
5195 # Append the text in VALUE to the end of the definition contained in VAR. Take
5196 # advantage of any shell optimizations that allow amortized linear growth over
5197 # repeated appends, instead of the typical quadratic growth present in naive
5199 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5200 eval 'as_fn_append ()
5211 # as_fn_arith ARG...
5212 # ------------------
5213 # Perform arithmetic evaluation on the ARGs, and store the result in the
5214 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5215 # must be portable across $(()) and expr.
5216 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5217 eval 'as_fn_arith ()
5224 as_val
=`expr "$@" || test $? -eq 1`
5229 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5230 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5236 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5237 as_basename
=basename
5242 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5248 as_me
=`$as_basename -- "$0" ||
5249 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5250 X"$0" : 'X\(//\)$' \| \
5251 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5253 sed '/^.*\/\([^/][^/]*\)\/*$/{
5267 # Avoid depending upon Character Ranges.
5268 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5269 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5270 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5271 as_cr_digits
='0123456789'
5272 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5274 ECHO_C
= ECHO_N
= ECHO_T
=
5275 case `echo -n x` in #(((((
5277 case `echo 'xy\c'` in
5278 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5280 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5287 rm -f conf$$ conf$$.exe conf$$.
file
5288 if test -d conf$$.dir
; then
5289 rm -f conf$$.dir
/conf$$.
file
5292 mkdir conf$$.dir
2>/dev
/null
5294 if (echo >conf$$.
file) 2>/dev
/null
; then
5295 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5297 # ... but there are two gotchas:
5298 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5299 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5300 # In both cases, we have to default to `cp -pR'.
5301 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5303 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5311 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5312 rmdir conf$$.dir
2>/dev
/null
5317 # Create "$as_dir" as a directory, including parents if necessary.
5322 -*) as_dir
=.
/$as_dir;;
5324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5329 *) as_qdir
=$as_dir;;
5331 as_dirs
="'$as_qdir' $as_dirs"
5332 as_dir
=`$as_dirname -- "$as_dir" ||
5333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5334 X"$as_dir" : 'X\(//\)[^/]' \| \
5335 X"$as_dir" : 'X\(//\)$' \| \
5336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5337 $as_echo X"$as_dir" |
5338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5355 test -d "$as_dir" && break
5357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5362 if mkdir
-p .
2>/dev
/null
; then
5363 as_mkdir_p
='mkdir -p "$as_dir"'
5365 test -d .
/-p && rmdir .
/-p
5370 # as_fn_executable_p FILE
5371 # -----------------------
5372 # Test if FILE is an executable regular file.
5373 as_fn_executable_p
()
5375 test -f "$1" && test -x "$1"
5376 } # as_fn_executable_p
5378 as_executable_p
=as_fn_executable_p
5380 # Sed expression to map a string onto a valid CPP name.
5381 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5383 # Sed expression to map a string onto a valid variable name.
5384 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5388 ## ----------------------------------- ##
5389 ## Main body of $CONFIG_STATUS script. ##
5390 ## ----------------------------------- ##
5392 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5395 # Save the log message, to keep $0 and so on meaningful, and to
5396 # report actual input values of CONFIG_FILES etc. instead of their
5397 # values after options handling.
5399 This file was extended by $as_me, which was
5400 generated by GNU Autoconf 2.69. Invocation command line was
5402 CONFIG_FILES = $CONFIG_FILES
5403 CONFIG_HEADERS = $CONFIG_HEADERS
5404 CONFIG_LINKS = $CONFIG_LINKS
5405 CONFIG_COMMANDS = $CONFIG_COMMANDS
5408 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5413 case $ac_config_files in *"
5414 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5420 # Files that config.status was made for.
5421 config_files="$ac_config_files"
5425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5427 \`$as_me' instantiates files and other configuration actions
5428 from templates according to the current configuration. Unless the files
5429 and actions are specified as TAGs, all are instantiated by default.
5431 Usage: $0 [OPTION]... [TAG]...
5433 -h, --help print this help, then exit
5434 -V, --version print version number and configuration settings, then exit
5435 --config print configuration, then exit
5436 -q, --quiet, --silent
5437 do not print progress messages
5438 -d, --debug don't remove temporary files
5439 --recheck update $as_me by reconfiguring in the same conditions
5440 --file=FILE[:TEMPLATE]
5441 instantiate the configuration file FILE
5443 Configuration files:
5446 Report bugs to the package provider."
5449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5450 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5453 configured by $0, generated by GNU Autoconf 2.69,
5454 with options \\"\$ac_cs_config\\"
5456 Copyright (C) 2012 Free Software Foundation, Inc.
5457 This config.status script is free software; the Free Software Foundation
5458 gives unlimited permission to copy, distribute and modify it."
5462 test -n "\$AWK" || AWK=awk
5465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5466 # The default lists apply if the user does not specify any file.
5472 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5473 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5477 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5489 # Handling of the options.
5490 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5492 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5493 $as_echo "$ac_cs_version"; exit ;;
5494 --config |
--confi |
--conf |
--con |
--co |
--c )
5495 $as_echo "$ac_cs_config"; exit ;;
5496 --debug |
--debu |
--deb |
--de |
--d |
-d )
5498 --file |
--fil |
--fi |
--f )
5501 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5502 '') as_fn_error $?
"missing file argument" ;;
5504 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5505 ac_need_defaults
=false
;;
5506 --he |
--h |
--help |
--hel |
-h )
5507 $as_echo "$ac_cs_usage"; exit ;;
5508 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5509 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5513 -*) as_fn_error $?
"unrecognized option: \`$1'
5514 Try \`$0 --help' for more information." ;;
5516 *) as_fn_append ac_config_targets
" $1"
5517 ac_need_defaults
=false
;;
5523 ac_configure_extra_args
=
5525 if $ac_cs_silent; then
5527 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5532 if \$ac_cs_recheck; then
5533 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5535 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5536 CONFIG_SHELL='$SHELL'
5542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5546 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5547 ## Running $as_me. ##
5553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5558 # Handling of arguments.
5559 for ac_config_target
in $ac_config_targets
5561 case $ac_config_target in
5562 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5564 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5569 # If the user did not use the arguments to specify the items to instantiate,
5570 # then the envvar interface is used. Set only those that are not.
5571 # We use the long form for the default assignment because of an extremely
5572 # bizarre bug on SunOS 4.1.3.
5573 if $ac_need_defaults; then
5574 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5577 # Have a temporary directory for convenience. Make it in the build tree
5578 # simply because there is no reason against having it here, and in addition,
5579 # creating and moving files from /tmp can sometimes cause problems.
5580 # Hook for its removal unless debugging.
5581 # Note that there is a small window in which the directory will not be cleaned:
5582 # after its creation but before its name has been assigned to `$tmp'.
5586 trap 'exit_status=$?
5588 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5590 trap 'as_fn_exit 1' 1 2 13 15
5592 # Create a (secure) tmp directory for tmp files.
5595 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5599 tmp
=.
/conf$$
-$RANDOM
5600 (umask 077 && mkdir
"$tmp")
5601 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5604 # Set up the scripts for CONFIG_FILES section.
5605 # No need to generate them if there are no CONFIG_FILES.
5606 # This happens for instance with `./config.status config.h'.
5607 if test -n "$CONFIG_FILES"; then
5610 ac_cr
=`echo X | tr X '\015'`
5611 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5612 # But we know of no other shell where ac_cr would be empty at this
5613 # point, so we can use a bashism as a fallback.
5614 if test "x$ac_cr" = x
; then
5615 eval ac_cr
=\$
\'\\r
\'
5617 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5618 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5624 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5629 echo "cat >conf$$subs.awk <<_ACEOF" &&
5630 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5633 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5634 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5636 for ac_last_try in false false false false false :; do
5637 . ./conf$$subs.sh ||
5638 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5640 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5641 if test $ac_delim_n = $ac_delim_num; then
5643 elif $ac_last_try; then
5644 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5646 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5652 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5656 s/^/S["/; s
/!.
*/"]=/
5666 s/\(.\{148\}\)..*/\1/
5668 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5673 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5680 s/\(.\{148\}\)..*/\1/
5682 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5686 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5691 ' <conf$$subs.awk | sed '
5696 ' >>$CONFIG_STATUS || ac_write_fail=1
5697 rm -f conf$$subs.awk
5698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5700 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5701 for (key in S) S_is_set[key] = 1
5707 nfields = split(line, field, "@
")
5709 len = length(field[1])
5710 for (i = 2; i < nfields; i++) {
5712 keylen = length(key)
5713 if (S_is_set[key]) {
5715 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5716 len += length(value) + length(field[++i])
5727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5728 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5729 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5732 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5733 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5736 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5737 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5738 # trailing colons and then remove the whole line if VPATH becomes empty
5739 # (actually we leave an empty line to preserve line numbers).
5740 if test "x
$srcdir" = x.; then
5741 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5760 fi # test -n "$CONFIG_FILES"
5763 eval set X " :F
$CONFIG_FILES "
5768 :[FHLC]) ac_mode=$ac_tag; continue;;
5770 case $ac_mode$ac_tag in
5772 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5773 :[FH]-) ac_tag=-:-;;
5774 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5791 -) ac_f="$ac_tmp/stdin";;
5792 *) # Look for the file first in the build tree, then in the source tree
5793 # (if the path is not absolute). The absolute path cannot be DOS-style,
5794 # because $ac_f cannot contain `:'.
5798 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5800 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5802 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5803 as_fn_append ac_file_inputs " '$ac_f'"
5806 # Let's still pretend it is `configure' which instantiates (i.e., don't
5807 # use $as_me), people would be surprised to read:
5808 # /* config.h. Generated by config.status. */
5809 configure_input='Generated from '`
5810 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5812 if test x"$ac_file" != x-; then
5813 configure_input="$ac_file.
$configure_input"
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5815 $as_echo "$as_me: creating
$ac_file" >&6;}
5817 # Neutralize special characters interpreted by sed in replacement strings.
5818 case $configure_input in #(
5819 *\&* | *\|* | *\\* )
5820 ac_sed_conf_input=`$as_echo "$configure_input" |
5821 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5822 *) ac_sed_conf_input=$configure_input;;
5826 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5827 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5832 ac_dir=`$as_dirname -- "$ac_file" ||
5833 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5834 X"$ac_file" : 'X\(//\)[^/]' \| \
5835 X"$ac_file" : 'X\(//\)$' \| \
5836 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5837 $as_echo X"$ac_file" |
5838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5855 as_dir="$ac_dir"; as_fn_mkdir_p
5859 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5861 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5862 # A "..
" for each directory in $ac_dir_suffix.
5863 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5864 case $ac_top_builddir_sub in
5865 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5866 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5869 ac_abs_top_builddir=$ac_pwd
5870 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5871 # for backward compatibility:
5872 ac_top_builddir=$ac_top_build_prefix
5875 .) # We are building in place.
5877 ac_top_srcdir=$ac_top_builddir_sub
5878 ac_abs_top_srcdir=$ac_pwd ;;
5879 [\\/]* | ?:[\\/]* ) # Absolute name.
5880 ac_srcdir=$srcdir$ac_dir_suffix;
5881 ac_top_srcdir=$srcdir
5882 ac_abs_top_srcdir=$srcdir ;;
5884 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5885 ac_top_srcdir=$ac_top_build_prefix$srcdir
5886 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5888 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5900 # If the template does not know about datarootdir, expand it.
5901 # FIXME: This hack should be removed a few years after 2.60.
5902 ac_datarootdir_hack=; ac_datarootdir_seen=
5913 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5914 *datarootdir*) ac_datarootdir_seen=yes;;
5915 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5917 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5920 ac_datarootdir_hack='
5921 s&@datadir@&$datadir&g
5922 s&@docdir@&$docdir&g
5923 s&@infodir@&$infodir&g
5924 s&@localedir@&$localedir&g
5925 s&@mandir@&$mandir&g
5926 s&\\\${datarootdir}&$datarootdir&g' ;;
5930 # Neutralize VPATH when `$srcdir' = `.'.
5931 # Shell code in configure.ac might set extrasub.
5932 # FIXME: do we really want to maintain this feature?
5933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5934 ac_sed_extra="$ac_vpsub
5937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5939 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5940 s|@configure_input@|
$ac_sed_conf_input|
;t t
5941 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5942 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5943 s
&@srcdir@
&$ac_srcdir&;t t
5944 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5945 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5946 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5947 s
&@builddir@
&$ac_builddir&;t t
5948 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5949 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5950 $ac_datarootdir_hack
5952 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5953 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5955 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5956 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5957 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5958 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5960 which seems to be undefined. Please make sure it is defined" >&5
5961 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5962 which seems to be undefined. Please make sure it is defined" >&2;}
5964 rm -f "$ac_tmp/stdin"
5966 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5967 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5969 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5981 ac_clean_files=$ac_clean_files_save
5983 test $ac_write_fail = 0 ||
5984 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5987 # configure is writing to config.log, and then calls config.status.
5988 # config.status does its own redirection, appending to config.log.
5989 # Unfortunately, on DOS this fails, as config.log is still kept open
5990 # by configure, so config.status won't be able to
write to it
; its
5991 # output is simply discarded. So we exec the FD to /dev/null,
5992 # effectively closing config.log, so it can be properly (re)opened and
5993 # appended to by config.status. When coming back to configure, we
5994 # need to make the FD available again.
5995 if test "$no_create" != yes; then
5997 ac_config_status_args
=
5998 test "$silent" = yes &&
5999 ac_config_status_args
="$ac_config_status_args --quiet"
6001 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6003 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6004 # would make configure fail if this is the last instruction.
6005 $ac_cs_success || as_fn_exit
1
6007 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6009 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}